2008-10-30 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-30  Dan Williams  <dcbw@redhat.com>
2
3         * libnm-util/libnm-util.ver
4           libnm-util/nm-setting-8021x.c
5           libnm-util/nm-setting-8021x.h
6                 - Make properties private and add accessor functions
7
8         * src/supplicant-manager/nm-supplicant-config.c
9           system-settings/plugins/ifcfg-suse/parser.c
10                 - Use 802.1x setting accessors
11
12 2008-10-30  Dan Williams  <dcbw@redhat.com>
13
14         * libnm-util/libnm-util.ver
15           libnm-util/nm-setting-wireless-security.c
16           libnm-util/nm-setting-wireless-security.h
17                 - Make properties private and add accessor functions
18
19         * libnm-util/nm-setting-wireless.c
20           src/NetworkManagerAP.c
21           src/nm-device-wifi.c
22           src/supplicant-manager/nm-supplicant-config.c
23           system-settings/plugins/ifcfg-fedora/reader.c
24           system-settings/plugins/ifcfg-suse/parser.c
25                 - Use wireless security accessors
26
27 2008-10-30  Dan Williams  <dcbw@redhat.com>
28
29         * src/nm-device-ethernet.c
30           src/nm-device-wifi.c
31           src/nm-device.c
32           src/ppp-manager/nm-ppp-manager.c
33                 - Harmonize return checking of ioctl
34
35         * system-settings/plugins/ifcfg-fedora/reader.c
36                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
37
38 2008-10-30  Dan Williams  <dcbw@redhat.com>
39
40         * src/ppp-manager/nm-ppp-manager.c
41                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
42                         ppp_generic module to create it (bgo #533064)
43
44 2008-10-30  Dan Williams  <dcbw@redhat.com>
45
46         Patch from Alexander Sack <asac@canonical.com>
47
48         Fix "ppp connections don't honour ip4 connection settings"
49
50         * src/nm-device-ethernet.c
51                 - (real_act_stage4_get_ip4_config): merge ip4config settings
52                         with results from ppp manager
53
54         * src/nm-serial-device.c
55                 - (real_act_stage4_get_ip4_config): merge ip4config settings
56                         with results from ppp manager
57
58 2008-10-29  Dan Williams  <dcbw@redhat.com>
59
60         * libnm-util/libnm-util.ver
61           libnm-util/nm-setting-ip4-config.c
62           libnm-util/nm-setting-ip4-config.h
63                 - Make properties private and add accessor functions
64
65         * callouts/nm-dispatcher-action.c
66           libnm-glib/libnm-glib-test.c
67           libnm-util/nm-utils.c
68           src/NetworkManagerPolicy.c
69           src/NetworkManagerSystem.c
70           src/NetworkManagerUtils.c
71           src/dhcp-manager/nm-dhcp-dhclient.c
72           src/dhcp-manager/nm-dhcp-manager.c
73           src/dnsmasq-manager/nm-dnsmasq-manager.c
74           src/nm-device-wifi.c
75           src/nm-device.c
76           src/nm-hso-gsm-device.c
77           src/nm-ip4-config.c
78           src/nm-ip4-config.h
79           src/ppp-manager/nm-ppp-manager.c
80           src/vpn-manager/nm-vpn-connection.c
81           system-settings/plugins/ifcfg-fedora/reader.c
82           system-settings/plugins/ifcfg-suse/parser.c
83           system-settings/plugins/ifcfg-suse/plugin.c
84           system-settings/plugins/ifupdown/parser.c
85           test/nm-tool.c
86           vpn-daemons/vpnc/properties/nm-vpnc.c
87                 - Use IP4 accessor functions
88
89 2008-10-29  Tambet Ingo  <tambet@gmail.com>
90
91         Half of it by Dan Williams <dcbw@redhat.com>
92
93         * libnm-util/libnm-util.ver
94         libnm-util/nm-setting-vpn.c
95         libnm-util/nm-setting-vpn.h
96                 - Make properties private and add accessor functions.
97
98         * src/vpn-manager/nm-vpn-connection.c
99         src/vpn-manager/nm-vpn-manager.c
100         system-settings/plugins/keyfile/reader.c
101         vpn-daemons/openvpn/properties/auth-helpers.c
102         vpn-daemons/openvpn/properties/import-export.c
103         vpn-daemons/openvpn/properties/nm-openvpn.c
104         vpn-daemons/openvpn/src/nm-openvpn-service.c
105         vpn-daemons/pptp/auth-dialog/main.c
106         vpn-daemons/pptp/properties/advanced-dialog.c
107         vpn-daemons/pptp/properties/nm-pptp.c
108         vpn-daemons/pptp/src/nm-pptp-service.c
109         vpn-daemons/vpnc/properties/nm-vpnc.c
110         vpn-daemons/vpnc/src/nm-vpnc-service.c
111                 - Use VPN setting accessors.
112
113 2008-10-28  Dan Williams  <dcbw@redhat.com>
114
115         Patch from Tambet Ingo <tambet@gmail.com>
116
117         * libnm-util/libnm-util.ver
118           libnm-util/nm-setting-wireless.c
119           libnm-util/nm-setting-wireless.h
120                 - Make properties private and add accessor functions
121
122         * src/NetworkManagerAP.c
123           src/nm-device-wifi.c
124           src/nm-manager.c
125           src/supplicant-manager/nm-supplicant-config.c
126           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
127           system-settings/plugins/ifcfg-fedora/reader.c
128           system-settings/plugins/ifcfg-suse/parser.c
129           system-settings/plugins/ifupdown/parser.c
130                 - Use wireless setting accessors
131
132 2008-10-27  Dan Williams  <dcbw@redhat.com>
133
134         Patch from Tambet Ingo <tambet@gmail.com>
135
136         * libnm-util/libnm-util.ver
137           libnm-util/nm-setting-ppp.c
138           libnm-util/nm-setting-ppp.h
139                 - Make properties private and add accessor functions
140
141         * src/ppp-manager/nm-ppp-manager.c
142                 - Use ppp setting accessors
143
144 2008-10-27  Dan Williams  <dcbw@redhat.com>
145
146         Patch from Tambet Ingo <tambet@gmail.com>
147
148         * libnm-util/nm-setting.h
149           libnm-util/nm-setting.c
150                 - Make properties private and add accessor functions
151
152         * libnm-util/nm-connection.c
153           libnm-util/nm-setting-8021x.c
154           libnm-util/nm-setting-cdma.c
155           libnm-util/nm-setting-connection.c
156           libnm-util/nm-setting-gsm.c
157           libnm-util/nm-setting-ip4-config.c
158           libnm-util/nm-setting-ip6-config.c
159           libnm-util/nm-setting-ppp.c
160           libnm-util/nm-setting-pppoe.c
161           libnm-util/nm-setting-serial.c
162           libnm-util/nm-setting-template.c
163           libnm-util/nm-setting-vpn.c
164           libnm-util/nm-setting-wired.c
165           libnm-util/nm-setting-wireless-security.c
166           libnm-util/nm-setting-wireless.c
167           system-settings/plugins/keyfile/reader.c
168           system-settings/plugins/keyfile/writer.c
169                 - Use setting accessors
170
171 2008-10-27  Dan Williams  <dcbw@redhat.com>
172
173         * libnm-util/libnm-util.ver
174           libnm-util/nm-setting-connection.c
175           libnm-util/nm-setting-connection.h
176                 - Add a 'read-only' property that indicates the connection cannot be
177                         modified
178
179         * system-settings/plugins/ifcfg-fedora/reader.c
180           system-settings/plugins/ifcfg-suse/parser.c
181           system-settings/plugins/ifupdown/parser.c
182                 - These plugins are read-only at the moment
183
184         * system-settings/plugins/keyfile/reader.c
185           system-settings/plugins/keyfile/writer.c
186                 - Read-only shouldn't get saved out to files or read in from them
187
188 2008-10-27  Tambet Ingo  <tambet@gmail.com>
189
190         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
191         correct speed reporting for fast devices (kernel >= 2.6.27).
192
193 2008-10-26  Dan Williams  <dcbw@redhat.com>
194
195         Attempt to compensate for modems that don't enable full AT parsing before
196         the PIN has been entered.
197
198         * src/nm-gsm-device.c
199                 - (init_modem): accept different init strings
200                 - (init_done): try different init strings on failure
201                 - (check_pin_done): on PIN success, do full modem init
202
203 2008-10-26  Dan Williams  <dcbw@redhat.com>
204
205         Patch from Tambet Ingo <tambet@gmail.com>
206
207         * libnm-util/libnm-util.ver
208           libnm-util/nm-setting-connection.c
209           libnm-util/nm-setting-connection.h
210                 - Make properties private and add accessor functions
211
212         * src/NetworkManagerPolicy.c
213           src/nm-cdma-device.c
214           src/nm-device-ethernet.c
215           src/nm-device-interface.c
216           src/nm-device-wifi.c
217           src/nm-gsm-device.c
218           src/nm-manager.c
219           src/ppp-manager/nm-ppp-manager.c
220           src/vpn-manager/nm-vpn-connection.c
221           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
222           system-settings/plugins/ifcfg-fedora/plugin.c
223           system-settings/plugins/ifcfg-fedora/reader.c
224           system-settings/plugins/ifcfg-suse/parser.c
225           system-settings/plugins/ifupdown/parser.c
226           system-settings/plugins/keyfile/nm-keyfile-connection.c
227           system-settings/plugins/keyfile/plugin.c
228           system-settings/plugins/keyfile/writer.c
229           system-settings/src/main.c
230                 - Use those accessors
231
232 2008-10-26  Dan Williams  <dcbw@redhat.com>
233
234         Patch from Tambet Ingo <tambet@gmail.com>
235
236         * libnm-util/libnm-util.ver
237           libnm-util/nm-setting-gsm.c
238           libnm-util/nm-setting-gsm.h
239                 - Make properties private and add accessor functions
240
241         * src/nm-gsm-device.c
242           src/nm-hso-gsm-device.c
243           src/ppp-manager/nm-ppp-manager.c
244                 - Use those accessors
245
246 2008-10-26  Dan Williams  <dcbw@redhat.com>
247
248         Patch from Tambet Ingo <tambet@gmail.com>
249
250         * libnm-util/libnm-util.ver
251           libnm-util/nm-setting-cdma.c
252           libnm-util/nm-setting-cdma.h
253                 - Make properties private and add accessor functions
254
255         * src/nm-cdma-device.c
256           src/ppp-manager/nm-ppp-manager.c
257                 - Use those accessors
258
259 2008-10-26  Dan Williams  <dcbw@redhat.com>
260
261         Patch from Tambet Ingo <tambet@gmail.com>
262
263         * libnm-util/libnm-util.ver
264           libnm-util/nm-setting-pppoe.c
265           libnm-util/nm-setting-pppoe.h
266                 - Make properties private and add accessor functions
267
268         * src/nm-device-ethernet.c
269           src/ppp-manager/nm-ppp-manager.c
270                 - Use those accessors
271
272 2008-10-26  Dan Williams  <dcbw@redhat.com>
273
274         Patch from Tambet Ingo <tambet@gmail.com>
275
276         * libnm-util/libnm-util.ver
277           libnm-util/nm-setting-wired.c
278           libnm-util/nm-setting-wired.h
279                 - Make properties private and add accessor functions
280
281         * src/nm-device-ethernet.c
282           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
283           system-settings/plugins/ifcfg-suse/parser.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-serial.c
293           libnm-util/nm-setting-serial.h
294           src/nm-serial-device.c
295                 - Make properties private and use accessors instead
296
297 2008-10-26  Dan Williams  <dcbw@redhat.com>
298
299         * src/supplicant-manager/nm-supplicant-interface.c
300           src/supplicant-manager/nm-supplicant-interface.h
301           src/supplicant-manager/nm-supplicant-manager.c
302           src/supplicant-manager/nm-supplicant-manager.h
303                 - Add state-to-string conversion functions
304
305         * src/nm-device-wifi.c
306           src/nm-device-ethernet.c
307                 - Normalize state info logging and use strings instead of numbers
308
309 2008-10-26  Dan Williams  <dcbw@redhat.com>
310
311         * src/NetworkManagerPolicy.c
312                 - (update_routing_and_dns): ignore host routes when determining whether
313                         a VPN connection should own the default route (bgo #552594)
314
315 2008-10-24  Dan Williams  <dcbw@redhat.com>
316
317         * src/nm-gsm-device.c
318                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
319
320 2008-10-23  Dan Williams  <dcbw@redhat.com>
321
322         * src/ppp-manager/nm-ppp-manager.c
323                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
324                         add really important stuff to the command line to ensure that NM
325                         overrides /etc/ppp/options (bgo #556781)
326
327 2008-10-22  Dan Williams  <dcbw@redhat.com>
328
329         * src/NetworkManagerSystem.c
330           src/nm-device.c
331                 - Use the device's IP interface where appropriate (Per Hallsmark)
332
333 2008-10-22  Dan Williams  <dcbw@redhat.com>
334
335         * src/nm-gsm-device.c
336                 - (schedule_automatic_registration_again): use a short timeout here
337                         instead of an idle handler to avoid using too much CPU polling for
338                         something we should be waiting a bit for anyway
339
340 2008-10-22  Dan Williams  <dcbw@redhat.com>
341
342         * include/NetworkManager.h
343           introspection/nm-device.xml
344                 - Add device state change reason for carrier changes
345
346         * src/nm-device-ethernet.c
347                 - (set_carrier): use the carrier change reason when changing device
348                         state in response to carrier changes
349
350 2008-10-21  Dan Williams  <dcbw@redhat.com>
351
352         * src/NetworkManagerPolicy.c
353                 - (update_etc_hosts): don't leak errors, and ensure that
354                         g_file_set_contents() gets a valid error placeholder (rh #461933)
355
356 2008-10-21  Dan Williams  <dcbw@redhat.com>
357
358         * src/nm-manager.c
359                 - (free_get_settings_info): don't use the DBusGProxy which could be
360                         disposed of by the time the function is called
361                 - (internal_new_connection_cb): save connection scope
362                 - (connection_get_settings_cb): don't replace a connection unless it's
363                         actually different from the existing one; fixes an issue where
364                         killing the settings service wouldn't deactivate an active connection
365                         provided by that settings service, because it was using a connection
366                         that had already been replaced in the system or user hash
367
368 2008-10-21  Dan Williams  <dcbw@redhat.com>
369
370         * src/NetworkManager.c
371                 - (main): keep the DHCP manager around since it's a singleton; fixes
372                         a use-after-free exposed by r4196 since the DHCP manager singleton
373                         variable isn't cleared when the DHCP manager object is finalized
374
375 2008-10-20  Dan Williams  <dcbw@redhat.com>
376
377         * libnm-util/nm-setting-wireless-security.c
378                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
379
380 2008-10-20  Dan Williams  <dcbw@redhat.com>
381
382         * src/supplicant-manager/nm-supplicant-config.c
383                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
384
385 2008-10-20  Dan Williams  <dcbw@redhat.com>
386
387         * src/dhcp-manager/nm-dhcp-manager.c
388                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
389                         manager object already refs it once
390                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
391                         also get cleaned up by nm_dhcp_device_destroy() to prevent
392                         double-frees
393
394 2008-10-20  Dan Williams  <dcbw@redhat.com>
395
396         * src/nm-manager.c
397                 - (initial_get_connections): use private dbus manager, don't keep
398                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
399                         manager object.
400
401 2008-10-18  Dan Williams  <dcbw@redhat.com>
402
403         * libnm-glib/nm-settings.c
404           libnm-glib/nm-settings.h
405                 - Rename the "get_secrets" virtual function "service_get_secrets" to
406                         clarify when it's used; NMExportedConnetion is a base-class for both
407                         the client and service side, which is sort of confusing, and
408                         get_secrets only makes sense on the service side.
409
410         * libnm-glib/nm-dbus-connection.c
411                 - (get_secrets): remove, unused, and clients need to do extra work to
412                         get secrets anyway since the call can block on the remote side
413
414         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
415           system-settings/plugins/keyfile/nm-keyfile-connection.c
416                 - Fix up for get_secrets -> service_get_secrets
417
418 2008-10-16  Dan Williams  <dcbw@redhat.com>
419
420         * src/nm-device-wifi.c
421                 - (constructor): correctly determine encryption capabilities
422
423 2008-10-15  Dan Williams  <dcbw@redhat.com>
424
425         * src/nm-device-wifi.c
426                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
427                         (Johannes Berg)
428
429 2008-10-15  Dan Williams  <dcbw@redhat.com>
430
431         * src/NetworkManagerSystem.c
432                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
433                         if the ip4_dest is in a smaller subnet contained within a subnet
434                         the machine is currently on, the destination is in the same subnet
435                 - (nm_system_device_set_ip4_route): move subnet checks to callers
436                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
437                         subnet as the parent device, and if so, don't add the direct
438                         host route via the parent device's gateway (bgo #481620)
439                 - (nm_system_apply_ip4_config): check whether the route to be added
440                         is contained within a subnet the device is already on
441
442 2008-10-11  Dan Williams  <dcbw@redhat.com>
443
444         * include/NetworkManager.h
445           introspection/nm-device.xml
446           include/NetworkManagerVPN.h
447                 - Add a few more state reasons for the device deactivated state
448
449         * src/nm-device-interface.c
450           src/nm-device-interface.h
451                 - (nm_device_interface_deactivate): add a 'reason' argument
452
453         * src/nm-device.c
454           src/nm-device.h
455                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
456                 - (nm_device_state_changed): pass the state change reason to
457                         nm_device_take_down()
458                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
459                         to the state change function
460
461         * src/nm-manager.c
462           src/nm-manager.h
463                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
464                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
465                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
466                         something reasonable along to VPN deactivation
467
468         * src/vpn-manager/nm-vpn-manager.c
469           src/vpn-manager/nm-vpn-manager.h
470                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
471                         pass that along to nm_vpn_connection_disconnect()
472
473 2008-10-11  Dan Williams  <dcbw@redhat.com>
474
475         * src/nm-device-wifi.c
476                 - (can_scan): remove old madwifi hack for not scanning while connected
477
478 2008-10-11  Dan Williams  <dcbw@redhat.com>
479
480         Add support for VPN subnet gateways (bgo #549196)
481
482         * include/NetworkManager.h
483                 - Add key for internal VPN subnet gateway
484
485         * src/vpn-manager/nm-vpn-connection.c
486                 - (ip_address_to_string): return a const from a static buffer so we
487                         don't leak a lot of strings
488                 - (print_vpn_config): print internal VPN gateway as well
489                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
490                         VPN service too
491                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
492
493         * src/NetworkManagerSystem.c
494           src/NetworkManagerSystem.h
495                 - (nm_system_device_replace_default_ip4_route): split into two, one for
496                         VPN connections and one for normal devices
497                 - (replace_default_ip4_route): break out route stuff into its own function
498                 - (nm_system_replace_default_ip4_route_vpn,
499                    nm_system_replace_default_ip4_route): simplify by having two cases,
500                         one for VPNs and one for normal devices
501
502         * src/NetworkManagerPolicy.c
503                 - (update_routing_and_dns): simplify, use split default route replacement
504                         functions
505
506 2008-10-10  Dan Williams  <dcbw@redhat.com>
507
508         Rework default route handling to consolidate decisions in the policy,
509         and to take active VPN connections into account when changing the default
510         route (bgo #545912)
511
512         * src/NetworkManager.c
513                 - (main): pass the vpn_manager to the policy so it knows about active
514                         VPN connections; clean up the named manager which wasn't done before
515
516         * src/NetworkManagerPolicy.c
517           src/NetworkManagerPolicy.h
518                 - (nm_policy_new): get a clue about the vpn_manager
519                 - (update_default_route): remove, fold into update_routing_and_dns()
520                 - (update_routing_and_dns): handle active VPN connections too; an
521                         active VPN connection becomes the default route if it does not have
522                         server-specified or user-specified custom routes.  Otherwise, the
523                         best active device gets the default route
524                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
525                    nm_policy_destroy): track VPN connection activation and deactivation
526                         and update the default route when appropriate
527
528         * src/NetworkManagerSystem.c
529           src/NetworkManagerSystem.h
530                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
531                         in the VPN connection itself
532                 - (nm_system_vpn_device_set_from_ip4_config,
533                    nm_system_device_set_from_ip4_config): merge together to make
534                         nm_system_apply_ip4_config()
535                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
536                         via the parent device
537                 - (nm_system_apply_ip4_config): simplify
538                 - (add_ip4_route_to_gateway): new function; add a direct route to the
539                         gateway if needed
540                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
541                         route stuff out into add_ip4_route_to_gateway() for clarity
542
543         * src/nm-device.c
544                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
545
546         * src/vpn-manager/nm-vpn-connection.c
547           src/vpn-manager/nm-vpn-connection.h
548                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
549                    nm_vpn_connection_get_parent_device): add
550                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
551                         device explicit
552                 - (connection_state_changed): update the named manager now that
553                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
554                         useful on errors
555
556         * src/vpn-manager/nm-vpn-manager.c
557           src/vpn-manager/nm-vpn-manager.h
558                 - Add a 'connection-activated' signal
559                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
560                         policy to find out about active VPN connections
561
562 2008-10-10  Tambet Ingo  <tambet@gmail.com>
563
564         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
565         a daemon to prevent NM logging spew on console on startup and shutdown (due
566         to dependency loop between NM and syslog).
567
568 2008-10-10  Alexander Sack  <asac@ubuntu.com>
569
570         Implement managed mode. We bind devices configured in /etc/network/interfaces
571         to their connections by updating wired/wireless setting with the
572         mac address of the device.
573
574         * system-settings/plugins/ifupdown/plugin.c
575                 - (get_net_address_for_udi): implement function to retrieve MAC
576                         address of udi from hal in GByteArray format
577                 - (bind_device_to_connection): bind mac address of device to
578                         wired/wireless system connection
579                 - (hal_device_added_cb): call bind_device_to_connection for
580                         system connections with a matching interface.name
581                 - (hal_device_added_cb): ensure that all code paths
582                         properly free the "iface" string.
583
584 2008-10-10  Alexander Sack  <asac@ubuntu.com>
585
586         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
587         mode of the ifupdown system config plugin.
588
589         * system-settings/plugins/ifupdown/plugin.c
590                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
591                         private unmanage_well_known state field accordingly
592
593 2008-10-10  Alexander Sack  <asac@ubuntu.com>
594
595         Implement unmanaged mode that will prevent all devices in the
596         well_known_udis set from being touched by NetworkManager
597
598         * system-settings/plugins/ifupdown/plugin.c
599                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
600                         unmanage_well_known field used to turn on/off unmanaged
601                         mode
602                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
603                         signal when well_known_udis get added/removed
604                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
605                         if we are in unmanaged mode
606
607 2008-10-10  Alexander Sack  <asac@ubuntu.com>
608
609         Add support to track network devices that have a configuration
610         with a matching interface.name in /etc/network/interfaces
611
612         * system-settings/plugins/ifupdown/plugin.c
613                 - (typedef struct SCPluginIfupdownPrivate): add hash table
614                         to track |well_known_udis|
615                 - (get_iface_for_udi): helper function to get interface.name
616                         for a udi
617                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
618                         that add and remove devices to and from the well_known_udis
619                         set depending on whether their |interface.name| matches
620                         any interface definition in /etc/network/interfaces
621                 - (SCPluginIfupdown_init): connect callbacks from above with
622                         hal_mgr and setup well_known_udis hashtable
623                 - (GObject__dispose): destroy well_known_udis hashtable
624                 - (hal_device_added_cb2): implement wrapper callback with GFunc
625                         signature. user_data is supposed to be a triple (hal_mgr,
626                         config and devtype)
627                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
628                         startup and call hal_device_added_cb2
629
630 2008-10-10  Alexander Sack  <asac@ubuntu.com>
631
632         Remove implementation for not used NMSystemConfigInterface callback functions
633         in ifupdown plugin
634
635         * system-settings/plugins/ifupdown/plugin.c
636                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
637                 - (SCPluginIfupdown_connection_added): removed
638
639 2008-10-08  Dan Williams  <dcbw@redhat.com>
640
641         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
642
643         * src/NetworkManagerUtils.c
644                 - (nm_utils_call_dispatcher): add a 'hostname' action
645
646         * src/NetworkManagerPolicy.c
647                 - (set_system_hostname): dispatch hostname changes
648
649         * callouts/nm-dispatcher-action.c
650                 - (nm_dispatcher_action): handle 'hostname' actions
651
652 2008-10-08  Dan Williams  <dcbw@redhat.com>
653
654         * src/NetworkManagerSystem.c
655                 - (find_route): ref the route so it doesn't get destroyed when the cache
656                         is cleared
657                 - (nm_system_device_set_priority): unref the route here after it's done
658                         being used
659
660 2008-10-08  Dan Williams  <dcbw@redhat.com>
661
662         * src/nm-serial-device.c
663                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
664
665 2008-10-08  Tambet Ingo  <tambet@gmail.com>
666
667         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
668         connection with new settings before saving it.
669
670 2008-10-06  Dan Williams  <dcbw@redhat.com>
671
672         * src/nm-ip4-config.c
673           src/nm-ip4-config.h
674                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
675
676         * src/nm-device-interface.c
677                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
678                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
679                         by using '/' for the object path
680
681         * src/nm-device.c
682                 - (src/nm-device.c): marshal missing/unexported ip4-config through
683                         dbus as '/' since dbus-glib can't handle NULL objects nor can
684                         dbus handle NULL object paths
685
686 2008-10-03  Alexander Sack  <asac@ubuntu.com>
687
688         Implement system hostname support for debian/ubuntu
689
690         * system-settings/plugins/ifupdown/plugin.c
691                 - (GObject__get_property): extend announced capabilities; add
692                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
693                 - (GObject__set_property,write_system_hostname): implement
694                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
695                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
696                    update_system_hostname, get_hostname):
697                         implement hostname property that watches and
698                         parses /etc/hostname
699
700 2008-10-03  Alexander Sack  <asac@ubuntu.com>
701
702         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
703           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
704           system-settings/plugins/ifcfg-fedora/Makefile.am
705           system-settings/src/nm-inotify-helper.c
706           system-settings/src/nm-inotify-helper.h
707           src/Makefile.am
708                 - Move ifcfg-fedora inotify helpers to the system settings service so
709                         they are available to all plugins
710
711 2008-10-03  Alexander Sack  <asac@ubuntu.com>
712
713         Implement support for wep-tx-keyidx in ifupdown system
714         config plugin.
715
716         * system-settings/plugins/ifupdown/parser.c
717                 - (update_wireless_security_setting_from_if_block): introduce
718                         free_type_mapping func table; rename a few local
719                         variables to improve readability; add wpa security mapping
720                         for wep-tx-keyidx property
721                 - (string_to_gpointerint): new function used for the auto_type_mapping
722                         of new wep-tx-keyidx property
723                 - (slist_free_all): free func used for mapped slist types
724
725 2008-10-03  Alexander Sack  <asac@ubuntu.com>
726
727         * system-settings/src/main.c:
728                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
729                         always used as the hash key; fixes a crash when removing wired
730                         devices
731
732 2008-10-02  Dan Williams  <dcbw@redhat.com>
733
734         * src/nm-gsm-device.c
735                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
736                         pass the required GSM secret along via user_data rather than keeping
737                         it around in the private data where it sometimes didn't get cleared
738                 - (real_get_ppp_name): implement using the GSM username
739
740 2008-10-02  Dan Williams  <dcbw@redhat.com>
741
742         * src/ppp-manager/nm-ppp-manager.c
743           src/ppp-manager/nm-ppp-manager.h
744                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
745                         the settings daemon for completely new ones
746                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
747                         local PPP peer name; allow PPP debuging by launching NM with
748                         the environment variable NM_PPP_DEBUG defined
749                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
750                         create_pppd_cmd_line()
751
752         * src/nm-serial-device.c
753           src/nm-serial-device.h
754                 - New 'get_ppp_name' function for subclasses to implement to return the
755                         local PPP peer name
756                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
757                         and pass that name to the PPP manager
758
759         * src/nm-device-ethernet.c
760                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
761                         the local peer name
762
763         * src/nm-cdma-device.c
764                 - (real_get_ppp_name): implement using the CDMA username
765
766 2008-10-02  Dan Williams  <dcbw@redhat.com>
767
768         Patch from Alexander Sack <asac ubuntu com>
769
770         * system-settings/plugins/ifupdown/parser.c
771                 - Implement more graceful ip4 config parsing for cases where
772                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
773                   by using default values
774
775 2008-10-02  Dan Williams  <dcbw@redhat.com>
776
777         * src/NetworkManagerPolicy.c
778                 - (device_state_changed): when marking a connection invalid, clear its
779                         secrets too so that fresh secrets get requested the next time
780
781 2008-10-01  Dan Williams  <dcbw@redhat.com>
782
783         * system-settings/src/dbus-settings.c
784                 - (nm_sysconfig_settings_init): cache system hostname on startup as
785                         a fallback if no plugin provides a hostname
786                 - (get_property): fall back to cached hostname if no plugin provides
787                         a hostname
788
789 2008-10-01  Dan Williams  <dcbw@redhat.com>
790
791         Fix setting value comparison issue that caused some settings to look the
792         same when they were really different (rh #464417)
793
794         * libnm-util/nm-param-spec-specialized.c
795                 - (type_is_fixed_size): return fundamental size of the fixed type too
796                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
797                         in the comparison so that the _entire_ fixed type collection gets
798                         compared rather than just the first 'len1' bytes
799
800 2008-09-30  Dan Williams  <dcbw@redhat.com>
801
802         * src/NetworkManagerPolicy.c
803                 - (lookup_thread_worker): don't store the idle handler ID becuase the
804                         idle handler could have already run and freed the LookupThread
805                         structure
806
807 2008-09-30  Tambet Ingo  <tambet@gmail.com>
808
809         * src/nm-device.c (nm_device_get_priority): Implement.
810         (nm_device_set_ip4_config): Send the device priority to system ip4 
811         config setter.
812
813         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
814         Add priority argument and if it's >= 0, set the priority of the network
815         route added automatically by netlink (or kernel?).
816         (nm_system_device_set_priority): Implement.
817
818         * src/NetworkManagerPolicy.c (get_best_device): Use 
819         nm_device_get_priority() instead of home-grown version. Revert the
820         meaning, best priority is the lowest one.
821
822 2008-09-29  Dan Williams  <dcbw@redhat.com>
823
824         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
825         when it returns EAGAIN (rh #362421)
826
827         * src/nm-device-wifi.c
828                 - (wireless_get_range): try GIWRANGE a few times until the card responds
829                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
830
831 2008-09-28  Dan Williams  <dcbw@redhat.com>
832
833         * src/nm-serial-device.c
834           src/nm-serial-device.h
835                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
836                         cleaned at the right times when subclasses close the serial port too
837                 - (nm_serial_device_send_command): use a default send delay; don't
838                         spin forever on EAGAIN
839                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
840                         remove, no longer used
841                 - (find_response): return the matched response if any
842                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
843                         while doing so
844                 - (wait_for_reply_done): pass the matched response to the callback
845                 - (wait_for_reply_got_data): save the matched response; simplify timeout
846                         handling
847                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
848                         const since they never get modified
849                 - (cleanup_device): split out common cleanup stuff to a new function
850                 - (real_deactivate_quickly, finalize): use cleanup_device()
851
852         * src/nm-gsm-device.c
853                 - (modem_get_reply): remove, unused
854                 - (set_apn): give the card a bit more time to respond
855                 - (manual_registration_again, schedule_manual_registration_again,
856                    manual_registration_response, manual_registration): handle manual
857                         registration timeouts better by retrying registration a few times
858                         because cards are a bit slow after CFUN=1
859                 - (automatic_registration_get_network, get_network_response): use
860                         modem_wait_for_reply() because it interacts better with the serial
861                         buffer and does more intelligent matching; need to wait for 'OK'
862                         rather than just matching terminators
863                 - (schedule_automatic_registration_again,
864                    automatic_registration_response, automatic_registration): retry
865                         registration a few times on timeout or "searching" because cards
866                         take a bit to find a network after being powered up with CFUN=1
867                 - (power_up_response, power_up, init_full_done, enter_pin,
868                    check_pin_done): power up the card with CFUN=1 before trying to
869                         register with the network
870                 - (init_modem_full, init_modem): use more standard 3G init strings
871
872         * src/nm-hso-gsm-device.c
873                 - (modem_get_reply): remove, unused
874                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
875                         modem_wait_for_reply() to match actual responses instead of single
876                         termination characters; it doesn't leave stuff in the serial buffer
877                         that might confuse later calls
878                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
879                         to ensure that the call is really disconnected and not leave extra
880                         stuff in the serial buffer
881
882         * src/nm-cdma-device.c
883                 - (power_up_response, power_up, init_done): try Sierra-style modem
884                         power up before attempting to connect
885
886 2008-09-27  Dan Williams  <dcbw@redhat.com>
887
888         * libnm-util/nm-setting-gsm.c
889                 - (verify): verify GSM network ID
890
891 2008-09-25  Dan Williams  <dcbw@redhat.com>
892
893         * libnm-util/nm-setting-gsm.c
894           libnm-util/nm-setting-gsm.h
895                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
896                         technology terms (bgo #551361)
897
898 2008-09-25  Dan Williams  <dcbw@redhat.com>
899
900         Fix bgo #549401 (inspired by patch from Alexander Sack)
901
902         * src/nm-device-ethernet.c
903                 - (finish_supplicant_task): clean up scheduled tasks and free memory
904                 - (remove_supplicant_interface_error_handler): remove the supplicant
905                         error idle callback too
906                 - (supplicant_interface_release): rename from supplicant_interface_clean
907                         to match nm-device-wifi.c; clean up supplicant interface-related
908                         state tasks when the supplicant interface is disposed of
909                 - (schedule_state_handler): add scheduled tasks to a list so they can
910                         be cleaned up later
911                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
912                    supplicant_iface_connection_state_cb_handler): use
913                         finish_supplicant_task() to clean up each completed task
914                 - (supplicant_iface_connection_error_cb_handler,
915                    supplicant_connection_timeout_cb): clear source id when the task is
916                         complete
917                 - (supplicant_iface_connection_error_cb): save scheduled task id for
918                         later cleanup
919                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
920                         tasks
921
922         * src/nm-device-wifi.c
923                 - (finish_supplicant_task): clean up scheduled tasks and free memory
924                 - (remove_supplicant_interface_error_handler): remove the supplicant
925                         error idle callback too
926                 - (supplicant_interface_release): clean up supplicant interface-related
927                         state tasks when the supplicant interface is disposed of
928                 - (schedule_state_handler): add scheduled tasks to a list so they can
929                         be cleaned up later
930                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
931                    supplicant_iface_connection_state_cb_handler): use
932                         finish_supplicant_task() to clean up each completed task
933                 - (supplicant_iface_connection_error_cb_handler): clear source id when
934                         the task is complete
935                 - (supplicant_iface_connection_error_cb): save scheduled task id for
936                         later cleanup
937                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
938
939 2008-09-24  Tambet Ingo  <tambet@gmail.com>
940
941         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
942         method and get/set hostname property.
943
944 2008-09-24  Tambet Ingo  <tambet@gmail.com>
945
946         * src/supplicant-manager/nm-supplicant-interface.c
947         (nm_supplicant_interface_disconnect): Don't increment the reference 
948         count when disconnecting. The problem is on shutdown, when the replies
949         to these commands do not arrive before NM exits, resulting on never
950         calling supplicant interface's dispose(), which removes the interface
951         from supplicant.
952
953 2008-09-24  Tambet Ingo  <tambet@gmail.com>
954
955         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
956         all the public function arguments.
957
958 2008-09-22  Tambet Ingo  <tambet@gmail.com>
959
960         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
961         "Failure" signal from VPN plugins, store the failure reason, and
962         use it when the state is changed to failure.
963
964         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
965         description.
966
967         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
968         reason to the end of the list to not break the API.
969         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
970         so it can be shared by plugins and daemon.
971
972 2008-09-18  Dan Williams  <dcbw@redhat.com>
973
974         Patch from Alexander Sack <asac@ubuntu.com>
975
976         * configure.in
977           system-settings/plugins/Makefile.am
978           system-settings/plugins/ifupdown/Makefile.am
979           system-settings/plugins/ifupdown/interface_parser.c
980           system-settings/plugins/ifupdown/interface_parser.h
981           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
982           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
983           system-settings/plugins/ifupdown/parser.c
984           system-settings/plugins/ifupdown/parser.h
985           system-settings/plugins/ifupdown/plugin.c
986           system-settings/plugins/ifupdown/plugin.h
987                 - Implement a Debian/Ubuntu legacy network configuration plugin
988                         (gnome.org #551941)
989
990 2008-09-18  Dan Williams  <dcbw@redhat.com>
991
992         Implement support for honoring configured and automatic hostnames, and for
993         setting the configured hostname.
994
995         * introspection/nm-ip4-config.xml
996           src/nm-ip4-config.c
997           src/nm-ip4-config.h
998           src/dhcp-manager/nm-dhcp-manager.c
999                 - Remove useless hostname property; it's not really part of the IPv4
1000                         config
1001
1002         * introspection/nm-settings-system.xml
1003           libnm-glib/nm-dbus-settings-system.c
1004           libnm-glib/nm-dbus-settings-system.h
1005                 - Add SetHostname() call to system settings D-Bus interface
1006                 - Add Hostname property to system settings D-Bus interface
1007                 - (nm_dbus_settings_system_save_hostname,
1008                    nm_dbus_settings_system_get_hostname): implement
1009
1010         * src/nm-device.c
1011           src/nm-device.h
1012                 - (nm_device_get_dhcp4_config): implement
1013
1014         * src/nm-manager.c
1015           src/nm-manager.h
1016                 - Fetch and track system settings service hostname changes, and proxy
1017                         the changes via a GObject property of the manager
1018
1019         * system-settings/src/nm-system-config-interface.c
1020           system-settings/src/nm-system-config-interface.h
1021                 - Replace nm_system_config_interface_supports_add() with a capabilities
1022                         bitfield
1023
1024         * system-settings/src/nm-system-config-error.c
1025           system-settings/src/nm-system-config-error.h
1026                 - Add additional errors
1027
1028         * system-settings/src/dbus-settings.c
1029           system-settings/src/dbus-settings.h
1030                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1031                         property; first plugin returning a hostname wins
1032                 - (impl_settings_add_connection): use plugin capabilities instead of
1033                         nm_system_config_interface_supports_add()
1034                 - (impl_settings_save_hostname): implement hostname saving
1035
1036         * src/NetworkManagerPolicy.c
1037                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1038                    lookup_thread_die): implement an asynchronous hostname lookup thread
1039                         which given an IPv4 address tries to look up the hostname for that
1040                         address with reverse DNS
1041                 - (get_best_device): split out best device code from
1042                         update_routing_and_dns()
1043                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1044                         to preserve the 127.0.0.1 reverse mapping that so many things require
1045                 - (set_system_hostname): set a given hostname
1046                 - (update_system_hostname): implement hostname policy; a configured
1047                         hostname (from the system settings service) is used if available,
1048                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1049                         If there was no automatically determined hostname, reverse DNS of
1050                         the best device's IP address will be used, and as a last resort the
1051                         hostname 'localhost.localdomain' is set.
1052                 - (update_routing_and_dns): use get_best_device(); update the system
1053                         hostname when the network config changes
1054                 - (hostname_changed): update system hostname if the system settings
1055                         service signals a hostname change
1056                 - (nm_policy_new): list for system settings service hostname changes
1057                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1058                         gets told to die
1059
1060         * system-settings/plugins/keyfile/plugin.c
1061           system-settings/plugins/ifcfg-suse/plugin.c
1062                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1063                         capabilities properties
1064
1065         * system-settings/plugins/ifcfg-fedora/shvar.c
1066                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1067                         writes out /etc/sysconfig/network now
1068
1069         * system-settings/plugins/ifcfg-fedora/plugin.c
1070                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1071                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1072                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1073                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1074                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1075                         hostname get/set and capabilities get
1076
1077 2008-09-18  Dan Williams  <dcbw@redhat.com>
1078
1079         * libnm-util/nm-setting-wireless.c
1080                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1081                         group ciphers if the wireless-security setting explicitly specified
1082                         them, effectively making the default be "all ciphers"  (idea from
1083                         Alexander Sack)
1084
1085 2008-09-15  Dan Williams  <dcbw@redhat.com>
1086
1087         Patch from Alexander Sack <asac@ubuntu.com>
1088
1089         * src/named-manager/nm-named-manager.c
1090                 - (dispatch_resolvconf): respect resolvconf exit code
1091
1092 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1093
1094         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1095         again. Add some debugging.
1096
1097 2008-09-11  Dan Williams  <dcbw@redhat.com>
1098
1099         * system-settings/plugins/keyfile/plugin.c
1100                 - (update_connection_settings): update connection manually, since
1101                         nm_exported_connection_update() does authentication
1102                 - (dir_changed): update_connection_settings() doesn't need to return
1103                         an error
1104
1105 2008-09-09  Dan Williams  <dcbw@redhat.com>
1106
1107         * libnm-glib/nm-vpn-plugin-ui-interface.c
1108           libnm-glib/nm-vpn-plugin-ui-interface.h
1109           libnm-glib/libnm_glib_vpn.ver
1110                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1111                         should clean up resources related to the connection (like keyring
1112                         secrets)
1113                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1114                         should save user-scope secrets (like to the keyring)
1115
1116 2008-09-08  Dan Williams  <dcbw@redhat.com>
1117
1118         Patch from Alexander Sack <asac@ubuntu.com>
1119
1120         * libnm-util/crypto_gnutls.c
1121           libnm-util/crypto_nss.c
1122                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1123
1124         * libnm-util/nm-utils.c
1125           libnm-util/nm-utils.h
1126           libnm-util/libnm-util.ver
1127                 - (nm_utils_init): initialize libnm-util
1128                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1129
1130         * libnm-util/nm-setting-8021x.c
1131                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1132
1133 2008-09-05  Dan Williams  <dcbw@redhat.com>
1134
1135         Patch from Roy Marples <roy@marples.name> and others
1136
1137         * configure.in
1138           src/named-manager/nm-named-manager.c
1139                 - Add support for resolvconf; use --with-resolvconf at configure time
1140                         to enable it
1141
1142 2008-09-05  Dan Williams  <dcbw@redhat.com>
1143
1144         * libnm-util/crypto_nss.c
1145           libnm-util/crypto_gnutls.c
1146           libnm-util/crypto.h
1147                 - (crypto_init): return error when init fails
1148
1149 2008-09-05  Dan Williams  <dcbw@redhat.com>
1150
1151         * libnm-glib/nm-device-wifi.c
1152                 - (access_point_removed_proxy): clean up the active access point too
1153                         just in case the active ap changed signal didn't come through yet
1154                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1155
1156 2008-09-05  Dan Williams  <dcbw@redhat.com>
1157
1158         * libnm-glib/nm-client.c
1159                 - (constructor): get initial state after we know whether NM is running
1160                         or not
1161
1162 2008-09-05  Dan Williams  <dcbw@redhat.com>
1163
1164         * libnm-glib/nm-ip4-config.c
1165           libnm-glib/nm-dhcp4-config.c
1166                 - (finalize): clean up the DBusGProxy
1167
1168 2008-09-04  Dan Williams  <dcbw@redhat.com>
1169
1170         * src/nm-ip4-config.c
1171           src/nm-ip4-config.h
1172                 - (nm_ip4_config_new): don't export over D-Bus here
1173                 - (nm_ip4_config_export): new function; export the config over D-Bus
1174                 - (nm_ip4_config_is_exported): new function
1175
1176         * src/nm-device.c
1177                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1178                         objects by balancing the IP4Config constructor; the device holds
1179                         a reference to the IP4Config already
1180                 - (nm_device_set_ip4_config): export the IP4Config when needed
1181
1182 2008-09-04  Dan Williams  <dcbw@redhat.com>
1183
1184         * src/supplicant-manager/nm-supplicant-settings-verify.c
1185                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1186
1187 2008-09-04  Dan Williams  <dcbw@redhat.com>
1188
1189         * libnm-util/nm-setting-vpn.c
1190           libnm-util/nm-setting-vpn.h
1191                 - Split VPN secrets from VPN data so that settings services can actually
1192                         figure out that they are secrets and store them accordingly
1193
1194         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1195           system-settings/plugins/keyfile/reader.c
1196           system-settings/plugins/keyfile/reader.h
1197           system-settings/plugins/keyfile/writer.c
1198                 - Store VPN secrets separately from VPN data so that they can be fetched
1199                         on demand
1200                 - Implement the get_secrets() call so that (a) secrets don't leak out
1201                         to unprivileged callers, and (b) secrets can be sent to privileged
1202                         callers when needed
1203
1204         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1205                 - Handle split VPN secrets
1206
1207 2008-08-27  Dan Williams  <dcbw@redhat.com>
1208
1209         * system-settings/plugins/ifcfg-fedora/reader.c
1210                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1211
1212 2008-08-27  Dan Williams  <dcbw@redhat.com>
1213
1214         Ensure zombie children get cleaned up.  To get notifications when children
1215         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1216         that requires calling waitpid() yourself if you've removed the child watch
1217         handler before the process has actually died, which NM needs to do in a few
1218         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1219         cleans up after the child when required.  Should fix problems trying to
1220         activate mobile broadband connections after a previous failure.
1221
1222         * src/dhcp-manager/nm-dhcp-dhclient.c
1223           src/dhcp-manager/nm-dhcp-dhcpcd.c
1224                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1225
1226         * src/dhcp-manager/nm-dhcp-manager.c
1227                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1228                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1229                         block on child quitting, since the non-blocking functionality was
1230                         never actually used
1231
1232         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1233                 - (dm_watch_cb): child is already reaped here
1234                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1235
1236         * src/nm-device.c
1237                 - (aipd_cleanup): block until child is dead
1238
1239         * src/named-manager/nm-named-manager.c
1240                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1241                         event bothering to watch the child
1242
1243         * src/ppp-manager/nm-ppp-manager.c
1244                 - (ppp_watch_cb): child is already reaped here
1245                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1246
1247         * src/vpn-manager/nm-vpn-service.c
1248                 - (vpn_service_watch_cb): child is already reaped here
1249                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1250                         status of the child is actually tracked
1251                 - (ensure_killed, finalize): block until child is dead
1252
1253 2008-08-26  Dan Williams  <dcbw@redhat.com>
1254
1255         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1256                 - (update): Update filename of the connection if the connection id
1257                         was changed
1258
1259         * system-settings/plugins/keyfile/plugin.c
1260                 - (dir_changed): first pass at handling connection renames correctly
1261
1262         * system-settings/plugins/keyfile/writer.c
1263           system-settings/plugins/keyfile/writer.h
1264                 - (write_connection): replace '/' with '*' when writing out the filename
1265                         from the connection id
1266
1267 2008-08-26  Dan Williams  <dcbw@redhat.com>
1268
1269         Add connection UUIDs, since connection names can be changed, and since
1270         old-style connection IDs could change over the life of the connection.  The
1271         UUID should be assigned at connection creation time, be stable for a given
1272         connection, and should be unique among all connections for a given settings
1273         service.
1274
1275         * configure.in
1276           libnm-util/Makefile.am
1277                 - Require libuuid
1278
1279         * introspection/nm-exported-connection.xml
1280                 - Remove "GetID" method
1281
1282         * libnm-glib/nm-dbus-connection.c
1283           libnm-glib/nm-settings.c
1284           libnm-glib/nm-settings.h
1285                 - Remove id-related stuff
1286
1287         * libnm-util/nm-utils.c
1288           libnm-util/nm-utils.h
1289           libnm-util/libnm-util.ver
1290                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1291                         utility functions to generate UUIDs
1292
1293         * libnm-util/nm-setting-connection.c
1294           libnm-util/nm-setting-connection.h
1295                 - Add 'uuid' member to the connection setting
1296                 - (verify): require valid 'uuid' for a valid connection
1297
1298         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1299           system-settings/plugins/ifcfg-fedora/reader.c
1300           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1301           system-settings/plugins/ifcfg-suse/parser.c
1302           system-settings/plugins/keyfile/nm-keyfile-connection.c
1303           system-settings/src/main.c
1304                 - Remove id-related stuff
1305                 - Give connections UUIDs where needed
1306
1307 2008-08-25  Dan Williams  <dcbw@redhat.com>
1308
1309         * libnm-util/crypto_gnutls.c
1310           libnm-util/crypto_nss.c
1311                 - (crypto_init, crypto_deinit): refcount init/deinit
1312                 - (crypto_md5_hash): allow NULL salt
1313
1314 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1315
1316         * libnm-glib/Makefile.am
1317           libnm-util/Makefile.am
1318           libnm-glib/libnm_glib.ver
1319           libnm-glib/libnm_glib_vpn.ver
1320           libnm-util/libnm-util.ver
1321                 - Use linker version scripts to control the list of exported 
1322                 symbols. List each exported symbol explicitely.
1323         * libnm-util/Makefile.am
1324                 - Fix compilation of the test-crypto binary. The crypto
1325                 functions are no longer part of the libnm-util API. Add 
1326                 crypto_*.c to test_crypto_SOURCES and link against the correct
1327                 crypto libraries.
1328
1329 2008-08-19  Dan Williams  <dcbw@redhat.com>
1330
1331         * configure.in
1332           test/Makefile.am
1333                 - Don't build test/test-common
1334                 - Remove unused stuff
1335
1336         * test/nm-set-fallback
1337           test/nmtestdevices.c
1338           test/test-common/.cvsignore
1339           test/test-common/Makefile.am
1340           test/test-common/test-common.c
1341           test/test-common/test-common.h
1342                 - delete
1343
1344 2008-08-18  Dan Williams  <dcbw@redhat.com>
1345
1346         * libnm-util/nm-utils.c
1347           libnm-util/nm-utils.h
1348                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1349                         export anything that needs to be converted with this function
1350
1351         * src/dhcp-manager/nm-dhcp-manager.c
1352                 - (garray_to_string): convert a byte array to a UTF-8 string with
1353                         minimal validation; the DHCP client sends it in ASCII anyway
1354                 - (get_option, copy_option): use garray_to_string()
1355
1356 2008-08-18  Dan Williams  <dcbw@redhat.com>
1357
1358         * include/NetworkManager.h
1359           introspection/nm-device.xml
1360                 - Add a "missing firmware" device state reason
1361
1362         * src/NetworkManagerSystem.c
1363           src/NetworkManagerSystem.h
1364                 - (nm_system_device_set_up_down): add a no_firmware argument
1365                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1366                         IFF_UP is ENOENT, that almost always means missing firmware
1367
1368         * src/backends/NetworkManagerGeneric.c
1369           src/nm-device-ethernet.c
1370           src/nm-device-private.h
1371           src/nm-device-wifi.c
1372           src/nm-device.c
1373           src/nm-device.h
1374           src/nm-hso-gsm-device.c
1375           src/vpn-manager/nm-vpn-connection.c
1376                 - Pass no_firmware along; check it where appropriate
1377
1378 2008-08-18  Dan Williams  <dcbw@redhat.com>
1379
1380         Patch from Robert Buchholz <rbu@gentoo.org>
1381
1382         * autogen.sh
1383           configure.in
1384                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1385                         1003.1-1988, allowing for file names longer than 99 characters
1386
1387 2008-08-17  Dan Williams  <dcbw@redhat.com>
1388
1389         * include/NetworkManager.h
1390           introspection/nm-device.xml
1391           src/nm-gsm-device.c
1392                 - Finer-grained GSM registration failure error codes
1393
1394 2008-08-17  Dan Williams  <dcbw@redhat.com>
1395
1396         * callouts/Makefile.am
1397           src/Makefile.am
1398                 - Move dispatcher directory creation to callouts/Makefile.am
1399
1400         * system-settings/plugins/keyfile/Makefile.am
1401                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1402
1403 2008-08-15  Dan Williams  <dcbw@redhat.com>
1404
1405         Do connection sharing in a cleaner manner; all required iptables rules
1406         are now stored in the activation request and pertain only to the device
1407         which is being shared to other computers. (rh #458625)
1408
1409         * src/nm-activation-request.c
1410           src/nm-activation-request.h
1411                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1412                         the activation request which will get torn down automatically when
1413                         the activation request dies
1414                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1415                         is started, and tear them down when sharing is stopped
1416
1417         * src/nm-device.c
1418                 - (start_sharing): start up sharing by doing the required iptables magic
1419                 - (share_init): poke the right bits of the kernel and load the right
1420                         modules for NAT
1421                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1422                         connection if it's a 'shared' connection
1423
1424         * src/NetworkManagerPolicy.c
1425                 - Remove all sharing stuff; done in the device code itself
1426
1427 2008-08-15  Dan Williams  <dcbw@redhat.com>
1428
1429         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1430                 - (create_dm_cmd_line): send the right router address
1431
1432 2008-08-15  Dan Williams  <dcbw@redhat.com>
1433
1434         * src/ppp-manager/nm-ppp-manager.c
1435                 - (pppd_timed_out): ensure timeouts fail the connection
1436
1437 2008-08-14  Dan Williams  <dcbw@redhat.com>
1438
1439         * src/nm-properties-changed-signal.c
1440           src/nm-properties-changed-signal.h
1441                 - Add a property spec flag for "don't export this property" in
1442                         property changed signals
1443
1444         * src/nm-hso-gsm-device.c
1445           src/nm-gsm-device.c
1446           src/nm-cdma-device.c
1447                 - Don't export monitor interface or netdev interface properties
1448
1449 2008-08-14  Dan Williams  <dcbw@redhat.com>
1450
1451         * src/NetworkManagerPolicy.c
1452                 - (update_routing_and_dns): 'hso' devices can be default even if they
1453                         don't have a gateway
1454
1455 2008-08-14  Dan Williams  <dcbw@redhat.com>
1456
1457         * src/nm-device.c
1458                 - (nm_device_deactivate_quickly): tear down activation request after
1459                         calling device-specific deactivation
1460
1461         * src/nm-hso-gsm-device.c
1462                 - (real_deactivate_quickly): terminate connection when deactivating
1463
1464 2008-08-14  Dan Williams  <dcbw@redhat.com>
1465
1466         * src/nm-activation-request.h
1467                 - Add HSO secrets caller
1468
1469         * src/nm-gsm-device.c
1470           src/nm-gsm-device.h
1471                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1472                         something to the callback function
1473                 - (set_apn, set_apn_done): call class dial function, not a static one
1474                 - (nm_gsm_device_class_init): add a class 'dial' function
1475
1476         * src/nm-hal-manager.c
1477                 - (get_hso_netdev): find the hso-driven hardware's net device
1478                 - (modem_device_creator): recognize hso-driven hardware and create the
1479                         right type of device object for it
1480
1481         * src/Makefile.am
1482           src/nm-hso-gsm-device.c
1483           src/nm-hso-gsm-device.h
1484                 - Implement support for devices driven by the 'hso' driver as a subclass
1485                         of NMGsmDevice
1486
1487 2008-08-14  Dan Williams  <dcbw@redhat.com>
1488
1489         * src/NetworkManagerSystem.c
1490                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1491                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1492                         success if the operation really was successful
1493
1494 2008-08-14  Dan Williams  <dcbw@redhat.com>
1495
1496         * src/nm-netlink-monitor.c
1497           src/nm-netlink-monitor.h
1498           src/nm-device-ethernet.c
1499                 - (nm_netlink_monitor_request_status): return an error on failure
1500                 - (constructor): don't segfault on missing error
1501
1502 2008-08-13  Dan Williams  <dcbw@redhat.com>
1503
1504         * callouts/nm-dispatcher-action.c
1505                 - Add IP4 config info to script environment
1506
1507 2008-08-12  Dan Williams  <dcbw@redhat.com>
1508
1509         * src/nm-device.c
1510                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1511                         that want to use DHCP hostnames should use dispatcher scripts
1512                         for that
1513
1514         * src/NetworkManagerSystem.h
1515           src/backends/NetworkManagerArch.c
1516           src/backends/NetworkManagerDebian.c
1517           src/backends/NetworkManagerFrugalware.c
1518           src/backends/NetworkManagerGeneric.c
1519           src/backends/NetworkManagerGeneric.h
1520           src/backends/NetworkManagerGentoo.c
1521           src/backends/NetworkManagerMandriva.c
1522           src/backends/NetworkManagerPaldo.c
1523           src/backends/NetworkManagerRedHat.c
1524           src/backends/NetworkManagerSlackware.c
1525           src/backends/NetworkManagerSuSE.c
1526                 - Remove nm_system_set_hostname(), no longer used
1527           
1528         * src/backends/Makefile.am
1529           src/backends/shvar.c
1530           src/backends/shvar.h
1531                 - Remove shvar.*; no longer used
1532
1533 2008-08-12  Dan Williams  <dcbw@redhat.com>
1534
1535         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1536         hostname is updated at runtime.  Distros or users who want hostname updates
1537         can use dispatcher scripts to update the hostname if they need it.
1538
1539 2008-08-12  Dan Williams  <dcbw@redhat.com>
1540
1541         * introspection/nm-settings-system.xml
1542           system-settings/src/dbus-settings.c
1543           system-settings/src/dbus-settings.h
1544                 - Add a 'Hostname' property (rw) which represents the configured
1545                         hostname and domain of the system, if any
1546
1547         * system-settings/src/nm-system-config-error.c
1548           system-settings/src/nm-system-config-error.h
1549           system-settings/src/nm-system-config-interface.c
1550           system-settings/src/nm-system-config-interface.h
1551                 - Add a 'hostname' property to the plugin interface
1552                 - Add a method to send updated hostname to plugins to save in their
1553                         backing configuration store
1554
1555         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1556           system-settings/plugins/keyfile/plugin.c
1557           system-settings/plugins/keyfile/writer.c
1558           system-settings/plugins/keyfile/writer.h
1559           system-settings/plugins/ifcfg-suse/plugin.c
1560                 - Add minimal hostname support
1561
1562         * system-settings/plugins/ifcfg-fedora/plugin.c
1563                 - Add support for updating system hostname in /etc/sysconfig/network
1564
1565 2008-08-12  Dan Williams  <dcbw@redhat.com>
1566
1567         * system-settings/plugins/ifcfg-fedora/shvar.c
1568           system-settings/plugins/ifcfg-fedora/shvar.c
1569                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1570
1571 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1572
1573         * Makefile.am: Fix distcheck.
1574
1575 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1576
1577         * libnm-glib/*.c. Document some more.
1578
1579 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1580
1581         Start documenting libnm-glib public API using gtk-doc.
1582
1583         * libnm-glib/nm-serial-device.c: 
1584         * libnm-glib/nm-object.c: 
1585         * libnm-glib/nm-gsm-device.c: 
1586         * libnm-glib/nm-device.c: 
1587         * libnm-glib/nm-device-wifi.c: 
1588         * libnm-glib/nm-device-ethernet.c: 
1589         * libnm-glib/nm-client.c: 
1590         * libnm-glib/nm-cdma-device.c: Document the public API.
1591
1592         * docs/libnm-glib/libnm-glib.types: Implement.
1593
1594         * docs/libnm-glib/Makefile.am: Implement.
1595
1596         * autogen.sh: 
1597         * configure.in: 
1598         * Makefile.am: Add gtk-doc support.
1599
1600 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1601
1602         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1603
1604         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1605         the composite result of all the IP4 configurations and call a distro
1606         specific update_resolv_conf().
1607         (update_resolv_conf): Implement one for directly writing to 
1608         /etc/resolv.conf and one for opensuse to call netconfig.
1609
1610 2008-08-11  Dan Williams  <dcbw@redhat.com>
1611
1612         * src/ppp-manager/nm-ppp-manager.c
1613                 - (impl_ppp_manager_need_secrets): pass interface as required
1614
1615 2008-08-11  Dan Williams  <dcbw@redhat.com>
1616
1617         Merge the vpn-properties setting with the vpn setting since it was pointless
1618         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1619         of string:string (instead of string:variant) so that system settings plugins
1620         can have an easier time dealing with the arbitrary key/value pairs.
1621
1622 2008-08-11  Dan Williams  <dcbw@redhat.com>
1623
1624         * libnm-util/nm-utils.c
1625                 - (nm_utils_register_value_transformations): add value transform for
1626                         a hash table of string:string
1627
1628 2008-08-10  Dan Williams  <dcbw@redhat.com>
1629
1630         * libnm-glib/nm-vpn-plugin.c
1631                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1632                         an idle handler so the Connect reply gets delivered before the
1633                         stop StateChanged signal
1634
1635 2008-08-10  Dan Williams  <dcbw@redhat.com>
1636
1637         * src/nm-ip4-config.c
1638                 - (get_property): use common ip4 address/route conversion functions
1639                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1640                         copy the new route here, not take ownership
1641
1642 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1643
1644         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1645         Update the IP4 setting's method name.
1646
1647 2008-08-07  Dan Williams  <dcbw@redhat.com>
1648
1649         * introspection/nm-ip4-config.xml
1650           libnm-glib/libnm-glib-test.c
1651           libnm-glib/nm-ip4-config.c
1652           libnm-glib/nm-ip4-config.h
1653           src/NetworkManagerSystem.h
1654           src/backends/NetworkManagerArch.c
1655           src/backends/NetworkManagerDebian.c
1656           src/backends/NetworkManagerFrugalware.c
1657           src/backends/NetworkManagerGeneric.c
1658           src/backends/NetworkManagerGeneric.h
1659           src/backends/NetworkManagerGentoo.c
1660           src/backends/NetworkManagerMandriva.c
1661           src/backends/NetworkManagerPaldo.c
1662           src/backends/NetworkManagerRedHat.c
1663           src/backends/NetworkManagerSlackware.c
1664           src/backends/NetworkManagerSuSE.c
1665           src/dhcp-manager/nm-dhcp-manager.c
1666           src/nm-device.c
1667           src/nm-ip4-config.c
1668           src/nm-ip4-config.h
1669                 - Remove NIS logic; should be done from dispatcher scripts instead
1670
1671 2008-08-07  Dan Williams  <dcbw@redhat.com>
1672
1673         * src/dhcp-manager/nm-dhcp-manager.c
1674                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1675                         mis-handling of DHCP responses that returned more than one router
1676                         (found by Grant Williamson)
1677
1678 2008-08-07  Dan Williams  <dcbw@redhat.com>
1679
1680         * callouts/nm-dispatcher-action.c
1681                 - (nm_dispatcher_action): grab device path and create the device; pass
1682                         the device's DHCP4 config to script caller
1683                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1684                         scripts
1685
1686         * libnm-glib/nm-dhcp4-config.c
1687           libnm-glib/nm-dhcp4-config.h
1688                 - (nm_dhcp4_config_get_options): expose
1689                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1690
1691 2008-08-07  Dan Williams  <dcbw@redhat.com>
1692
1693         * include/NetworkManager.h
1694                 - Add the DHCP4Config D-Bus interface
1695
1696         * libnm-glib/Makefile.am
1697           libnm-glib/nm-dhcp4-config.c
1698           libnm-glib/nm-dhcp4-config.h
1699                 - Handle DHCP4 config objects exported by NM over D-Bus
1700
1701         * libnm-glib/nm-device.c
1702           libnm-glib/nm-device.h
1703                 - Add a 'dhcp4-config' property
1704
1705         * libnm-glib/libnm-glib-test.c
1706                 - Print out DHCP4 config for devices
1707                 - Fix some crashes when no connections are active
1708
1709         * src/nm-device-interface.c
1710           src/nm-device.c
1711           src/nm-dhcp4-config.c
1712           src/nm-dhcp4-config.h
1713                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1714                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1715                         doesn't let us do when the property type is G_TYPE_OBJECT
1716
1717 2008-08-07  Dan Williams  <dcbw@redhat.com>
1718
1719         * src/NetworkManager.c
1720           src/NetworkManagerSystem.h
1721           src/backends/NetworkManagerArch.c
1722           src/backends/NetworkManagerDebian.c
1723           src/backends/NetworkManagerFrugalware.c
1724           src/backends/NetworkManagerGeneric.c
1725           src/backends/NetworkManagerGeneric.h
1726           src/backends/NetworkManagerGentoo.c
1727           src/backends/NetworkManagerMandriva.c
1728           src/backends/NetworkManagerPaldo.c
1729           src/backends/NetworkManagerRedHat.c
1730           src/backends/NetworkManagerSlackware.c
1731           src/backends/NetworkManagerSuSE.c
1732                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1733
1734 2008-08-06  Dan Williams  <dcbw@redhat.com>
1735
1736         * libnm-glib/nm-ip4-config.c
1737           libnm-glib/nm-ip4-config.h
1738                 - Add 'routes' property
1739
1740         * libnm-util/nm-setting-vpn.c
1741           libnm-util/nm-setting-vpn.h
1742                 - Remove 'routes' property
1743
1744         * libnm-util/nm-setting-ip4-config.c
1745           libnm-util/nm-setting-ip4-config.h
1746                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1747                 - Add 'ignore-auto-routes' property
1748                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1749                         accomodate route metrics
1750                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1751
1752         * libnm-util/nm-utils.c
1753           libnm-util/nm-utils.h
1754                 - Add helpers for marshalling IP4 routes
1755
1756         * src/NetworkManagerUtils.c
1757                 - (nm_utils_merge_ip4_config): handle property renames and new route
1758                         structure
1759
1760         * src/NetworkManagerSystem.c
1761                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1762                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1763
1764         * src/dhcp-manager/nm-dhcp-manager.c
1765                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1766
1767         * system-settings/plugins/ifcfg-fedora/reader.c
1768           system-settings/plugins/ifcfg-fedora/writer.c
1769                 - Handle routes separately from addresses now that routes have a different
1770                         format
1771
1772         * introspection/nm-ip4-config.xml
1773           src/nm-ip4-config.c
1774           src/nm-ip4-config.h
1775                 - Rename internal routing functions
1776                 - 'static-routes' renamed to 'routes'
1777
1778 2008-08-04  Dan Williams  <dcbw@redhat.com>
1779
1780         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1781
1782         * src/NetworkManager.c
1783           src/nm-manager.c
1784           src/nm-manager.h
1785                 - More explicitly make the NMManager a singleton
1786
1787 2008-08-04  Dan Williams  <dcbw@redhat.com>
1788
1789         * libnm-util/nm-connection.c
1790           libnm-util/nm-connection.h
1791                 - (nm_connection_verify): return error on missing 'connection' setting
1792                         (found by Sjoerd Simons)
1793
1794 2008-08-04  Dan Williams  <dcbw@redhat.com>
1795
1796         Handle multiple concurrent PPP connections.
1797
1798         * src/ppp-manager/nm-ppp-manager.c
1799           src/ppp-manager/nm-ppp-manager.h
1800                 - (constructor): only PPP Manager request bus name once; each
1801                         NMPPPManager object gets a unique object path
1802                 - (nm_ppp_manager_class_init, get_property, set_property,
1803                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1804                         at construct time
1805                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1806                         remove timeout until PPP manager gets an IP4 config
1807                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1808                         the plugin can call back to this specific PPP manager instance
1809
1810         * src/nm-device-ethernet.c
1811           src/nm-serial-device.c
1812                 - Pass parent device in nm_ppp_manager_new()
1813
1814         * src/nm-gsm-device.c
1815           src/nm-cdma-device.c
1816                 - (device_state_changed): don't close serial device on NEED_AUTH
1817                         state changed, that's not a failure case like the rest are
1818
1819         * src/ppp-manager/nm-pppd-plugin.c
1820                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1821                         binds one interface to any pppd process, thus the correct index
1822                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1823                         problems; try harder to get a peer address in spite of pppd
1824                 - (plugin_init): use 'ipparam' as the object path back to our specific
1825                         PPP manager instance
1826
1827 2008-08-04  Dan Williams  <dcbw@redhat.com>
1828
1829         * src/ppp-manager/nm-ppp-manager.c
1830                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1831                         since the GSM and CDMA settings now implement need_secrets, we can
1832                         rely on them to do the right thing.  Where secrets are not required,
1833                         just pass empty strings back to the pppd plugin.
1834                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1835                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1836                         on successful IP4 config receipt
1837
1838 2008-08-04  Dan Williams  <dcbw@redhat.com>
1839
1840         * libnm-util/nm-setting-cdma.c
1841           libnm-util/nm-setting-gsm.c
1842                 - (verify): validate username & password if they exist
1843                 - (need_secrets): if username given, require a password too
1844
1845 2008-08-04  Dan Williams  <dcbw@redhat.com>
1846
1847         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1848                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1849                         manpage says about --listen-address without --interface
1850                         (bgo #546033)
1851
1852 2008-08-01  Dan Williams  <dcbw@redhat.com>
1853
1854         * libnm-glib/nm-device.c
1855                 - (proxy_get_string): util function for querying a HAL property
1856                 - (get_ancestor_device): split out from get_product_and_vendor()
1857                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1858                         from PCI devices by querying subsys properties
1859                 - (nm_device_update_description): simplify
1860
1861 2008-08-01  Dan Williams  <dcbw@redhat.com>
1862
1863         * libnm-util/nm-setting-ip4-config.c
1864           libnm-util/nm-setting-ip4-config.h
1865                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1866                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1867                         settings, and they don't necessarily use DHCP.
1868
1869         * src/NetworkManagerPolicy.c
1870           src/nm-device.c
1871           system-settings/plugins/ifcfg-fedora/reader.c
1872           system-settings/plugins/ifcfg-suse/parser.c
1873                 - Fixup for method changes
1874
1875 2008-07-31  Dan Williams  <dcbw@redhat.com>
1876
1877         * src/nm-activation-request.c
1878           src/vpn-manager/nm-vpn-connection.c
1879                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1880                         itself should be attached to the activation request or the VPN
1881                         connection, not the NMConnection object, since the call is not
1882                         expected to live as long as the NMConnection itself
1883
1884 2008-07-31  Dan Williams  <dcbw@redhat.com>
1885
1886         * src/nm-device-wifi.c
1887                 - (real_act_stage2_config): fix issue where association would continue
1888                         even though secrets were needed; 'goto out' was in wrong scope and
1889                         result of handle_auth_or_fail() should have been dumped directly to
1890                         'ret' to ensure that the association was postponed until secrets
1891                         are available
1892
1893 2008-07-31  Dan Williams  <dcbw@redhat.com>
1894
1895         * system-settings/plugins/ifcfg-fedora/plugin.c
1896           system-settings/plugins/ifcfg-fedora/reader.c
1897                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1898                         valid NM connection
1899
1900 2008-07-29  Dan Williams  <dcbw@redhat.com>
1901
1902         * src/nm-gsm-device.c
1903                 - (automatic_registration_response, automatic_registration): recognize
1904                         denied registration and reorder responses
1905
1906 2008-07-29  Dan Williams  <dcbw@redhat.com>
1907
1908         * src/nm-serial-device.c
1909                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1910                         time(2) is used for current time, which returns seconds, we shouldn't
1911                         be multiplying by 1000.
1912
1913 2008-07-28  Dan Williams  <dcbw@redhat.com>
1914
1915         Patch from Fabrice Bellet <fabrice@bellet.info>
1916
1917         * src/NetworkManagerSystem.c
1918                 - (route_in_same_subnet): mask addresses and compare them so that the
1919                         function actually does what it says it's going to do (rh #456685)
1920
1921 2008-07-27  Dan Williams  <dcbw@redhat.com>
1922
1923         * libnm-util/nm-setting-ip6-config.c
1924                 - (set_property): add missing break that caused routes to be overwritten
1925                         with addresses
1926
1927         * libnm-util/nm-setting-ip6-config.c
1928                 - (verify): validate routes and return GError everywhere on invalid setting
1929                 - (finalize): don't leak routes
1930                 - (set_property): add missing break that caused routes to be overwritten
1931                         with addresses
1932
1933 2008-07-27  Dan Williams  <dcbw@redhat.com>
1934
1935         * libnm-util/*
1936                 - Relicense to LGPLv2+
1937
1938 2008-07-27  Dan Williams  <dcbw@redhat.com>
1939
1940         * system-settings/plugins/ifcfg-fedora/reader.c
1941                 - (make_ip4_setting): fix parsing automatic configs
1942
1943 2008-07-27  Dan Williams  <dcbw@redhat.com>
1944
1945         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1946           src/nm-device.c
1947           src/ppp-manager/nm-ppp-manager.c
1948                 - Ensure child process gets reaped.  The child watch function may be
1949                         removed from the mainloop before the child gets killed, so we have
1950                         to make sure the child is reaped when it's told to die intentionally
1951
1952 2008-07-27  Dan Williams  <dcbw@redhat.com>
1953
1954         Patch from Roy Marples <roy@marples.name>
1955
1956         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1957                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1958
1959 2008-07-27  Dan Williams  <dcbw@redhat.com>
1960
1961         * src/nm-gsm-device.c
1962                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1963                         Huawei devices turn echo back on after CPIN (rh #456770)
1964
1965 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1966
1967         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1968         format argument to g_set_error() call.
1969
1970         * src/backends/interface_parser.[ch]: Remove.
1971
1972         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1973
1974 2008-07-21  Dan Williams  <dcbw@redhat.com>
1975
1976         * src/ppp-manager/nm-ppp-manager.c
1977                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1978                         to prevent pppd from picking up some random local address from an
1979                         interface that doesn't have anything to do with the one we're
1980                         interested in (rh #455348)
1981
1982 2008-07-17  Dan Williams  <dcbw@redhat.com>
1983
1984         * libnm-util/nm-utils.c
1985                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1986                         by locale
1987                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1988                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1989
1990 2008-07-17  Dan Williams  <dcbw@redhat.com>
1991
1992         * introspection/Makefile.am
1993           introspection/nm-device.xml
1994           introspection/nm-dhcp4-config.xml
1995                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1996                         itself
1997         * src/nm-device-interface.c
1998           src/nm-device-interface.h
1999                 - Add the DHCP4Config property
2000
2001         * src/nm-device.c
2002                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2003                         D-Bus clients when it changes
2004
2005         * src/nm-dhcp4-config.c
2006           src/nm-dhcp4-config.h
2007                 - Simple object to store DHCP4 options, export them over D-Bus, and
2008                         notify when they change
2009
2010         * src/dhcp-manager/nm-dhcp-manager.c
2011           src/dhcp-manager/nm-dhcp-manager.h
2012                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2013                         filter server-returned DHCP options into an NMDHCP4Config object
2014
2015 2008-07-16  Dan Williams  <dcbw@redhat.com>
2016
2017         * introspection/nm-device.xml
2018                 - Add device state reasons
2019
2020 2008-07-16  Dan Williams  <dcbw@redhat.com>
2021
2022         Patch from Roy Marples <roy@marples.name>
2023
2024         * configure.in
2025                 - Add --with-dhcp-client option
2026
2027         * src/dhcp-manager/Makefile.am
2028                 - pass DHCP_CLIENT_PATH on compile line
2029
2030         * src/dhcp-manager/nm-dhcp-manager.c
2031           src/dhcp-manager/nm-dhcp-manager.h
2032                 - Genericize for both dhcpcd and dhclient
2033
2034         * src/dhcp-manager/nm-dhcp-dhclient.c
2035                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2036
2037         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2038                 - Implement support for dhcpcd too
2039
2040 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2041
2042         * system-settings/src/nm-system-config-interface.c 
2043         (nm_system_config_interface_supports_add): Implement.
2044         (nm_system_config_interface_add_connection): Return a boolean to notify
2045         of errors.
2046
2047         * system-settings/src/nm-polkit-helpers.c: 
2048         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2049         a separate file.
2050
2051         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2052         Return an error when none of the plugins support add or if addition
2053         failed for some reason.
2054
2055         * system-settings/src/nm-system-config-error.h: 
2056         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2057         here from nm-polkit-helpers.[ch].
2058
2059         * system-settings/src/Makefile.am: Build new files.
2060
2061         * system-settings/plugins/keyfile/reader.c 
2062         (read_array_of_array_of_uint): Make it more general so that it would
2063         work for routes as well.
2064
2065         * system-settings/plugins/keyfile/writer.c
2066         (write_array_of_array_of_uint): Ditto.
2067         Fix the netmask/prefix writing.
2068
2069         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2070         boolean to notify errors.
2071
2072         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2073         Return more specific error.
2074         (delete): Ditto.
2075
2076 2008-07-11  Dan Williams  <dcbw@redhat.com>
2077
2078         Modify the NMDevice::state-changed signal to include the previous state
2079         and reason. Enables the applet to provide more information why device
2080         activation failed.
2081
2082 2008-07-09  Dan Williams  <dcbw@redhat.com>
2083
2084         * callouts/Makefile.am
2085           callouts/nm-avahi-autoipd-action.c
2086           callouts/nm-avahi-autoipd.conf
2087                 - avahi-autoipd callout to send options back to NM
2088
2089         * src/autoip.c
2090           src/autoip.h
2091                 - remove
2092
2093         * src/nm-device.c
2094           src/nm-device-private.h
2095           src/nm-manager.c
2096                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2097                         old custom stuff
2098
2099 2008-07-07  Dan Williams  <dcbw@redhat.com>
2100
2101         * system-settings/plugins/ifcfg-fedora/reader.c
2102                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2103                         handle PREFIX too; clean up
2104
2105 2008-07-07  Dan Williams  <dcbw@redhat.com>
2106
2107         Convert to using IPv4 prefixes instead of netmasks.
2108
2109 2008-07-03  Dan Williams  <dcbw@redhat.com>
2110
2111         * libnm-util/nm-setting-ip4-config.c
2112           libnm-util/nm-setting-ip4-config.h
2113                 - Add properties for DHCP Client Identifier and DHCP Hostname
2114
2115         * src/dhcp-manager/nm-dhcp-manager.c
2116           src/dhcp-manager/nm-dhcp-manager.h
2117                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2118                         setting as an argument to pass on to the dhclient config file
2119                         creation function
2120                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2121                         DHCP is torn down
2122                 - (dhclient_run): punt config file handling to create_dhclient_config()
2123                 - (create_dhclient_config): create an interface-specific dhclient
2124                         config file since there may need to be interface-specific options
2125                         passed to dhclient
2126                 - (merge_dhclient_config): merge normal distro dhclient config file and
2127                         add options from the connection
2128                 - (nm_dhcp_device_new): generate the interface specific dhclient
2129                         config file path once
2130                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2131                         dhclient config file path
2132
2133         * src/nm-device.c
2134                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2135                         DHCP manager when starting DHCP
2136
2137 2008-07-02  Dan Williams  <dcbw@redhat.com>
2138
2139         * libnm-util/nm-setting-8021x.c
2140                 - (verify): allow forcing the PEAP label to 0
2141
2142 2008-07-02  Dan Williams  <dcbw@redhat.com>
2143
2144         * introspection/nm-active-connection.xml
2145           introspection/nm-vpn-connection.xml
2146           libnm-glib/nm-active-connection.c
2147           src/nm-activation-request.c
2148           src/nm-active-connection.h
2149           src/vpn-manager/nm-vpn-connection.c
2150                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2151                         and libnm-glib API since sharing didn't get implemented that way
2152
2153 2008-07-02  Dan Williams  <dcbw@redhat.com>
2154
2155         * src/nm-device-wifi.c
2156                 - (can_scan): don't scan when a shared connection is activated since
2157                         that makes drivers mad (causing disconnects); also NM doesn't need
2158                         to hedge against disconnects by keeping up-to-date network topology
2159                         because the connection originates from the local machine, and thus
2160                         there should be no disconnects
2161
2162 2008-07-01  Dan Williams  <dcbw@redhat.com>
2163
2164         Fix mobile broadband username/password issues.  NM was never requesting
2165         mobile broadband secrets, nor was it passing back the username and password
2166         if it had them.
2167
2168         * marshallers/nm-marshal.list
2169                 - Add some new types for activation request objects
2170
2171         * src/nm-activation-request.c
2172           src/nm-activation-request.h
2173                 - (get_secrets_cb): pass the caller type in the signal
2174                 - (nm_act_request_request_connection_secrets): take a caller type, so
2175                         that GetSecrets() reply handlers know who asked for the secrets in
2176                         the first place; use secret hints too so the settings service can
2177                         figure out exactly what NM wants (ie, PIN or the PPP password)
2178
2179         * src/ppp-manager/nm-ppp-manager.c
2180           src/ppp-manager/nm-ppp-manager.h
2181                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2182                         detect needed secrets when the secret could be blank, like GSM/CDMA
2183                         passwords.  So always ask for secrets, and send a hint as to what
2184                         secret we really want.
2185                 - (nm_ppp_manager_update_secrets): make function more generic by making
2186                         the device specific class figure out the username and password, and
2187                         accept an error argument to return back over D-Bus
2188
2189         * src/nm-device-wifi.c
2190                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2191                         nm_act_request_request_connection_secrets()
2192                 - (real_connection_secrets_updated): update for 'caller' changes
2193
2194         * src/nm-device.c
2195           src/nm-device.h
2196                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2197                         for 'caller' changes
2198
2199         * src/nm-device-ethernet.c
2200                 - (real_connection_secrets_updated): update for 'caller' changes and
2201                         move logic for getting PPPoE username and password here before
2202                         calling nm_ppp_manager_update_secrets()
2203                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2204                         nm_act_request_request_connection_secrets()
2205
2206         * src/nm-cdma-device.c
2207                 - (real_connection_secrets_updated): pass username and password back
2208                         to the PPP manager when required
2209
2210         * src/nm-gsm-device.c
2211                 - (enter_pin): send the required secret name to the settings service
2212                 - (real_connection_secrets_updated): pass username and password back
2213                         to the PPP manager when required
2214
2215 2008-06-30  Dan Williams  <dcbw@redhat.com>
2216
2217         * src/nm-device-wifi.c
2218                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2219
2220 2008-06-30  Dan Williams  <dcbw@redhat.com>
2221
2222         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2223         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2224         priv->supplicant.iface.  When either condition is false, the device should
2225         transition back to UNAVAILABLE because it cannot be used.
2226
2227         * src/nm-device-wifi.c
2228                 - (constructor): cleanup; connect to supplicant manager here since the
2229                         supplicant manager is always around
2230                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2231                         ensure the supplicant manager is in the IDLE state
2232                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2233                         cancel any pending scans too
2234                 - (real_bring_up): don't set up the supplicnat interface here, because
2235                         we need the supplicant interface at times when the device may not
2236                         be "up"
2237                 - (real_take_down): just remove the periodic source
2238                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2239                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2240                         do anything if there's no supplicant interface
2241                 - (cleanup_association_attempt): cleanup
2242                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2243                         the interface enters the READY state; transition to UNAVAILABLE
2244                         state when the interface goes down because the device can't be used
2245                         without a supplicant interface
2246                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2247                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2248                         acquire the supplicant interface and transition to DISCONNECTED
2249                         if the radio isn't killed
2250                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2251                 - (state_changed_cb): release any existing supplicant interface; if the
2252                         radio is enabled then try to acquire a new supplicant interface;
2253                         if the radio is enabled and a supplicant interface has been acquired,
2254                         we can transition to DISCONNECTED
2255                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2256                         don't enable the radio, because HAL probably lied to us about the
2257                         killswitch being off.  If bringing the hardware up worked, then
2258                         try to grab a supplicant interface, and if that was successful,
2259                         transition to DISCONNECTED
2260
2261 2008-06-30  Dan Williams  <dcbw@redhat.com>
2262
2263         * src/supplicant-manager/nm-supplicant-interface.c
2264                 - (request_scan_results, nm_supplicant_interface_dispose,
2265                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2266                         the id of the timeout, not a GSource
2267
2268 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2269
2270         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2271         bunch of typoes introduced by "Patch from David Cantrell 
2272         <dcantrell@redhat.com> and me".
2273
2274 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2275
2276         * src/nm-serial-device.c: 
2277         * src/nm-gsm-device.c: 
2278         * src/nm-cdma-device.c: Move the pending call handling to a common location
2279         in serial device. Handle setting device state to failed in one place as well.
2280
2281 2008-06-29  Dan Williams <dcbw@redhat.com>
2282
2283         * src/nm-hal-manager.c
2284                 - Rework killswitch handling to query killswitch status immediately
2285                         when the first killswitch is added, so that rfkill state is
2286                         known as early as possible
2287                 - Also treat failure of GetPower() as rfkill when the dbus method
2288                         call times out (but not when the HAL callout returns an error)
2289
2290 2008-06-26  Dan Williams <dcbw@redhat.com>
2291
2292         Patch from David Cantrell <dcantrell@redhat.com> and me
2293
2294         * include/nm-dbus-glib-types.h
2295                 - Add IP6 address types
2296
2297         * libnm-util/Makefile.am
2298           libnm-util/nm-setting-ip6-config.c
2299           libnm-util/nm-setting-ip6-config.h
2300                 - Add IP6 settings object
2301
2302         * libnm-util/nm-connection.c
2303                 - (register_default_settings): register ip6 settings object
2304
2305         * libnm-util/nm-utils.c
2306           libnm-util/nm-utils.h
2307                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2308                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2309                         ip6 address conversion functions
2310         
2311 2008-06-26  Dan Williams <dcbw@redhat.com>
2312
2313         Patch from David Cantrell <dcantrell@redhat.com>
2314         
2315         * Use inet_ntop() and inet_pton() everwhere and check for errors
2316
2317 2008-06-26  Dan Williams <dcbw@redhat.com>
2318
2319         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2320
2321 2008-06-26  Dan Williams <dcbw@redhat.com>
2322
2323         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2324
2325         * src/nm-device-wifi.c
2326                 - (link_timeout_cb): don't ignore disconnects due to scanning
2327                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2328                         a longer timeout when scanning; avoids case where supplicant can't
2329                         find the AP and just keeps scanning forever but isn't connected
2330
2331 2008-06-26  Dan Williams <dcbw@redhat.com>
2332
2333         Patch from Michael Biebl <biebl@debian.org>
2334
2335         * Clean up build system stuff
2336
2337 2008-06-23  Christian Persch  <chpe@gnome.org>
2338
2339         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2340         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2341         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2342         (impl_get_object):
2343         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2344         (impl_get_object):
2345         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2346         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2347         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2348         (impl_get_object):
2349         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2350         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2351         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2352         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2353         * vpn-daemons/pptp/properties/vpnui_opt.c:
2354         (vpnui_opt_connect_signals):
2355         * vpn-daemons/pptp/properties/vpnui_opt.h:
2356         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2357         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2358         deprecated gtk type macros. Bug #539325.
2359
2360 2008-06-20  Dan Williams  <dcbw@redhat.com>
2361
2362         * libnm-glib/nm-vpn-plugin-ui-interface.c
2363           libnm-glib/nm-vpn-plugin-ui-interface.h
2364                 - 'validity-changed' -> 'changed' to work better with the connection
2365                         editor.  Plugin UI widgets should emit 'changed' whenever their
2366                         UI values change in a meaningful way.
2367                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2368                         update_connection member now returns validity of the UI widget
2369
2370 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2371
2372         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2373
2374 2008-06-17  Dan Williams  <dcbw@redhat.com>
2375
2376         * libnm-glib/nm-vpn-plugin-ui-interface.c
2377           libnm-glib/nm-vpn-plugin-ui-interface.h
2378                 - Add "desc" property for longer descriptions of the VPN plugin
2379
2380 2008-06-16  Dan Williams  <dcbw@redhat.com>
2381
2382         * configure.in
2383           libnm-glib/libnm_glib_vpn.pc.in
2384                 - add a .pc file for libnm_glib_vpn
2385
2386         * libnm-glib/nm-vpn-plugin-ui-interface.c
2387           libnm-glib/nm-vpn-plugin-ui-interface.h
2388                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2389                         rework it substantially
2390
2391 2008-06-12  Dan Williams  <dcbw@redhat.com>
2392
2393         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2394         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2395         returns a descriptive GError when verification fails.
2396
2397 2008-06-11  Dan Williams  <dcbw@redhat.com>
2398
2399         Patch from Tambet Ingo <tambet@gmail.com>
2400
2401         * libnm-util/nm-setting-gsm.c
2402                 - (verify): validate APN
2403
2404         * src/nm-gsm-device.c
2405                 - (manual_registration_done): start setting APN if needed
2406                 - (set_apn, set_apn_done): set the APN
2407                 - (do_dial): use the APN when dialing
2408
2409 2008-06-11  Dan Williams  <dcbw@redhat.com>
2410
2411         * src/NetworkManagerSystem.c
2412                 - (nm_system_device_set_ip4_route,
2413                    nm_system_device_replace_default_ip4_route): check for the right
2414                         return value from rtnl_route_add() to know when to add a gateway
2415                         route (from Tambet)
2416
2417 2008-06-11  Dan Williams  <dcbw@redhat.com>
2418
2419         * src/NetworkManagerPolicy.c
2420                 - do_ipt_cmd -> do_cmd
2421                 - (sharing_init): use do_cmd() instead of system()
2422
2423 2008-06-10  Dan Williams  <dcbw@redhat.com>
2424
2425         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2426         and use "wifi" everwhere instead.
2427
2428 2008-06-10  Dan Williams  <dcbw@redhat.com>
2429
2430         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2431
2432 2008-06-10  Dan Williams  <dcbw@redhat.com>
2433
2434         Patch from Tambet Ingo <tambet@gmail.com>
2435
2436         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2437                 changes.
2438
2439         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2440                 a signal to emit these changes over dbus.
2441
2442         * src/Makefile.am: Genereate nm-serial-device-glue.
2443
2444         * libnm-glib/nm-serial-device.[ch]: Implement.
2445
2446         * libnm-glib/nm-cdma-device.[ch]
2447           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2448
2449         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2450
2451         * introspection/nm-device-serial.xml: Implement.
2452
2453         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2454
2455         * introspection/Makefile.am: Add nm-device-serial.xml.
2456
2457         * include/NetworkManager.h: Add a DBus interface for serial device.
2458
2459 2008-06-10  Dan Williams  <dcbw@redhat.com>
2460
2461         * configure.in
2462                 - Add TARGET_* define to config.h to distinguish distros
2463
2464         * src/dhcp-manager/nm-dhcp-manager.c
2465                 - (dhclient_run): use distro-specific path for dhclient config file
2466
2467 2008-06-09  Dan Williams  <dcbw@redhat.com>
2468
2469         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2470           src/dnsmasq-manager/nm-dnsmasq-manager.h
2471                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2472                         calculate the addresses passed to dnsmasq instead of hard-coding
2473                         them
2474
2475         * src/nm-device.c
2476                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2477                         IP addresses for shared connections to guard against shared
2478                         connection address collisions
2479                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2480                         error conditions
2481                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2482                         the dnsmasq manager
2483
2484 2008-06-09  Dan Williams  <dcbw@redhat.com>
2485
2486         * src/NetworkManagerPolicy.c
2487                 - (update_routing_and_dns): set the default connection _after_ unsetting
2488                         default on all non-default connections so that two connections can
2489                         never be default at the same time
2490                 - (device_state_changed): start and stop connection sharing when
2491                         needed
2492                 - (active_connection_default_changed): restart or stop sharing when
2493                         the default connection changes to keep shared connections always
2494                         NAT-ed through the default connection
2495                 - (check_sharing): handle activation/deactivation of shared connections
2496                 - (sharing_restart): atom-bomb approach to connection sharing until we
2497                         can use libnl; reinit all sharing when the default connection or
2498                         shared connections change
2499                 - (sharing_init, sharing_stop): evil functions that init and deinit
2500                         iptables
2501
2502 2008-06-09  Dan Williams  <dcbw@redhat.com>
2503
2504         * src/nm-activation-request.c
2505           src/nm-activation-request.h
2506                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2507                    nm_act_request_get_device): new functions to facilitate connection
2508                         sharing
2509
2510 2008-06-09  Dan Williams  <dcbw@redhat.com>
2511
2512         * src/nm-device.c
2513                 - (clear_act_request): unset the 'default' property of the activation
2514                         request when clearing it to ensure the property changed signal gets
2515                         delivered and handled
2516
2517 2008-06-09  Dan Williams  <dcbw@redhat.com>
2518
2519         * libnm-glib/nm-device-802-11-wireless.c
2520                 - (access_point_removed_proxy): actually unref the AP after removing
2521                         it from the device's AP list.  Fixes refcounting bug for APs that
2522                         caused them to get mixed up in the applet's menu.
2523
2524 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2525
2526         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2527         (nm_dhcp_device_destroy): Destroy the device options hash table.
2528
2529 2008-06-06  Dan Williams <dcbw@redhat.com>
2530
2531         * system-settings/src/nm-polkit-helpers.c
2532                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2533                         unref the context if the initialization fails; also avoid spew when
2534                         the error isn't set
2535
2536 2008-06-06  Dan Williams <dcbw@redhat.com>
2537
2538         Patch from Tambet Ingo  <tambet@gmail.com>
2539
2540         * src/NetworkManagerSystem.c
2541           src/NetworkManagerSystem.h
2542                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2543                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2544                 - (nm_system_device_set_ip4_route): clean up
2545                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2546
2547         * src/nm-device.c
2548                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2549
2550         * src/vpn-manager/nm-vpn-connection.c
2551                 - (ip_address_to_string): new function
2552                 - (print_vpn_config): use ip_address_to_string
2553                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2554                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2555
2556         * include/NetworkManagerVPN.h
2557                 - Add 'routes' key
2558
2559 2008-06-05  Dan Williams <dcbw@redhat.com>
2560
2561         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2562
2563         * test/nm-tool.c
2564                 - Show which device is the default device
2565
2566 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2567
2568         Fix memory leaks.
2569
2570         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2571         Free data returned from dbus method call.
2572
2573         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2574         dbus_g_method_get_sender() returns a duplicated string, free it 
2575         when done.
2576         (check_polkit_privileges): Looks like policykit sometimes returns
2577         error and non-null return value, don't leak errors in that case.
2578
2579         * system-settings/src/main.c (find_plugin): Don't leak existing 
2580         plugin names.
2581         (load_stuff): Don't leak device list and list items.
2582         (have_connection_for_device): Don't leak connection list.
2583
2584         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2585         Free the data received from g_keyfile_get_*.
2586
2587         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2588         the key when the security object is updated.
2589
2590         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2591         Free data returned from dbus method call.
2592         (iface_state_cb): Ditto.
2593         (add_network_cb): Ditto.
2594         (nm_supplicant_interface_add_cb): Don't make another copy of already
2595         duplicated object path.
2596         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2597         when done.
2598
2599         * src/supplicant-manager/nm-supplicant-config.c 
2600         (ADD_STRING_LIST_VAL): Fix a memory leak.
2601
2602         * src/nm-manager.c (free_get_settings_info): Free the allocated
2603         memory slice.
2604         (list_connections_cb): Free data returned from dbus method call.
2605         (system_settings_get_unmanaged_devices_cb): Ditto.
2606
2607         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2608
2609         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2610         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2611         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2612         of the GList.
2613
2614         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2615         arguments after the object is created.
2616
2617 2008-06-04  Dan Williams <dcbw@redhat.com>
2618
2619         * libnm-util/Makefile.am
2620                 - Don't distribute nm-param-spec-specialized.h
2621
2622 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2623
2624         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2625
2626         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2627         NMIP4Address, update the getters and setters.
2628
2629         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2630         Use the updated NMIP4Config routes api.
2631
2632         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2633         static routes as well.
2634
2635         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2636         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2637         routes api.
2638
2639 2008-05-30  Dan Williams <dcbw@redhat.com>
2640
2641         * src/named-manager/nm-named-manager.c
2642           src/named-manager/nm-named-manager.h
2643                 - Remove stale/obsolete bits for controlling bind over DBus
2644
2645 2008-05-29  Dan Williams <dcbw@redhat.com>
2646
2647         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2648           src/dnsmasq-manager/nm-dnsmasq-manager.h
2649                 - (nm_dnsmasq_manager_new): move iface argument here
2650                 - (constructor): remove, not needed
2651                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2652                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2653
2654         * src/nm-device.c
2655                 - (real_act_stage4_get_ip4_config,
2656                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2657                         changes
2658
2659 2008-05-29  Dan Williams <dcbw@redhat.com>
2660
2661         * src/nm-device.c
2662                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2663                         something happens to dnsmasq
2664                 - (nm_device_new_ip4_shared_config): new function; create a new
2665                         ip4-config for shared connections.  Shared connections always use a
2666                         fixed static IP address.
2667                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2668                         autoip connections by actually using the returned ip4-config and
2669                         not leaking it
2670                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2671                         connections
2672                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2673                         if its active
2674
2675 2008-05-29  Dan Williams <dcbw@redhat.com>
2676
2677         * src/nm-device-802-11-wireless.c
2678                 - (real_get_best_auto_connection): auto-activate 'shared' method
2679                         connections too
2680
2681 2008-05-29  Dan Williams <dcbw@redhat.com>
2682
2683         * libnm-util/nm-setting-ip4-config.c
2684           libnm-util/nm-setting-ip4-config.h
2685                 - Add a 'shared' method to indicate that this connection should be
2686                         brought up with a DHCP and proxy DNS server to facilitate
2687                         connection sharing.
2688                 - (verify): 'shared' method doesn't allow DNS or searches either
2689
2690 2008-05-29  Dan Williams <dcbw@redhat.com>
2691
2692         * configure.in
2693           src/Makefile.am
2694           src/dnsmasq-manager/Makefile.am
2695           src/dnsmasq-manager/nm-dnsmasq-manager.c
2696           src/dnsmasq-manager/nm-dnsmasq-manager.h
2697                 - Add a dnsmasq daemon manager to facilitate connection sharing
2698
2699 2008-05-29  Dan Williams <dcbw@redhat.com>
2700
2701         * src/nm-device-private.h
2702                 - Remove unused prototypes and clean up
2703
2704         * src/nm-device.c
2705                 - Remove anything related to system_config_data, which is no longer used
2706                 - (nm_device_new_ip4_autoip_config): make static
2707
2708 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2709
2710         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2711         (file_changed): Fix a bug where suse system settings plugin didn't
2712         update the connections automatically when the files changed.
2713
2714 2008-05-28  Dan Williams  <dcbw@redhat.com>
2715
2716         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2717
2718 2008-05-28  Dan Williams  <dcbw@redhat.com>
2719
2720         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2721
2722         * src/NetworkManagerSystem.c
2723                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2724                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2725                         was causing -EINVAL errors since the libnl code actually does flush
2726                         the routes on VPN interfaces now
2727
2728         * src/backends/NetworkManagerArch.c
2729           src/backends/NetworkManagerDebian.c
2730           src/backends/NetworkManagerFrugalware.c
2731           src/backends/NetworkManagerGeneric.c
2732           src/backends/NetworkManagerGentoo.c
2733           src/backends/NetworkManagerMandriva.c
2734           src/backends/NetworkManagerPaldo.c
2735           src/backends/NetworkManagerRedHat.c
2736           src/backends/NetworkManagerSlackware.c
2737           src/backends/NetworkManagerSuSE.c
2738                 - (nm_system_device_flush_ip4_routes,
2739                    nm_system_device_flush_ip4_routes_with_iface): remove
2740
2741 2008-05-28  Dan Williams  <dcbw@redhat.com>
2742
2743         * libnm-util/nm-setting-wireless.c
2744           libnm-util/nm-setting-wireless.h
2745                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2746                         'adhoc-create' property, which when TRUE indicates that NM should
2747                         create this connection as an adhoc wifi network if it's not found
2748                         as an adhoc network during scanning.  Can be used to auto-create
2749                         adhoc networks when used in combination with autoconnect.
2750
2751 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2752
2753         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2754
2755         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2756         checked, it doesn't work on some devices.
2757
2758 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2759
2760         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2761         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2762
2763         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2764         Use inet_aton() everywhere to improve error detection.
2765         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2766         provided.
2767
2768 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2769
2770         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2771         Fix a typo.
2772
2773 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2774
2775         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2776         reference counting issue.
2777
2778 2008-05-23  Dan Williams  <dcbw@redhat.com>
2779
2780         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2781
2782         * src/backends/NetworkManagerGeneric.c
2783                 - (nm_generic_enable_loopback): use libnl
2784
2785 2008-05-23  Dan Williams  <dcbw@redhat.com>
2786
2787         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2788
2789         * src/NetworkManagerSystem.h
2790           src/backends/NetworkManagerArch.c
2791           src/backends/NetworkManagerDebian.c
2792           src/backends/NetworkManagerFrugalware.c
2793           src/backends/NetworkManagerGentoo.c
2794           src/backends/NetworkManagerMandriva.c
2795           src/backends/NetworkManagerPaldo.c
2796           src/backends/NetworkManagerRedHat.c
2797           src/backends/NetworkManagerSlackware.c
2798           src/backends/NetworkManagerSuSE.c
2799                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2800                    nm_system_flush_arp_cache): remove, unused
2801
2802         * src/backends/NetworkManagerGeneric.c
2803           src/backends/NetworkManagerGeneric.h
2804                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2805                    nm_generic_flush_arp_cache): remove, unused
2806
2807 2008-05-23  Dan Williams  <dcbw@redhat.com>
2808
2809         * system-settings/plugins/ifcfg-fedora/reader.c
2810                 - (make_ip4_setting): honor PEERDNS setting
2811
2812 2008-05-23  Dan Williams  <dcbw@redhat.com>
2813
2814         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2815
2816         * src/NetworkManagerSystem.c
2817                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2818                         libnl
2819
2820         * src/backends/NetworkManagerArch.c
2821           src/backends/NetworkManagerDebian.c
2822           src/backends/NetworkManagerFrugalware.c
2823           src/backends/NetworkManagerGentoo.c
2824           src/backends/NetworkManagerMandriva.c
2825           src/backends/NetworkManagerPaldo.c
2826           src/backends/NetworkManagerRedHat.c
2827           src/backends/NetworkManagerSlackware.c
2828           src/backends/NetworkManagerSuSE.c
2829                 - (nm_system_device_flush_ip4_addresses,
2830                    nm_system_device_flush_ip4_addresses_with_iface): remove
2831
2832         * src/backends/NetworkManagerGeneric.c
2833                 - (nm_generic_device_flush_ip4_addresses,
2834                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2835
2836 2008-05-23  Dan Williams  <dcbw@redhat.com>
2837
2838         * src/supplicant-manager/nm-supplicant-settings-verify.c
2839                 - Switch 'bssid' from bytes to keyword type
2840                 - (validate_type_keyword): allow NULL keyword lists
2841
2842         * src/supplicant-manager/nm-supplicant-config.c
2843                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2844                         a byte array to string form, which is what the supplicant expects
2845
2846 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2847
2848         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2849         information received from DHCP.
2850
2851         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2852         to make it possible to ignore the DNS information (both servers and 
2853         searches) returned by DHCP server.
2854
2855         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2856         name servers and searches if "ignore_dhcp_dns" is set.
2857
2858         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2859         (nm_ip4_config_reset_searches): Implement.
2860
2861 2008-05-22  Dan Williams  <dcbw@redhat.com>
2862
2863         Remove anything mDNS related.  This is better done from a distro-specific
2864         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2865         avahi, since avahi can handle interface changes just fine using netlink.
2866
2867         * configure.in
2868                 - Remove --with-mdns-provider
2869
2870         * src/NetworkManagerPolicy.c
2871                 - (global_state_changed): don't restart the mdns provider
2872
2873         * src/NetworkManagerSystem.h
2874           src/backends/NetworkManagerArch.c
2875           src/backends/NetworkManagerDebian.c
2876           src/backends/NetworkManagerFrugalware.c
2877           src/backends/NetworkManagerGentoo.c
2878           src/backends/NetworkManagerMandriva.c
2879           src/backends/NetworkManagerPaldo.c
2880           src/backends/NetworkManagerRedHat.c
2881           src/backends/NetworkManagerSlackware.c
2882           src/backends/NetworkManagerSuSE.c
2883                 - (nm_system_restart_mdns_responder): remove
2884
2885         * src/backends/NetworkManagerGeneric.c
2886           src/backends/NetworkManagerGeneric.h
2887                 - (nm_generic_restart_mdns_responder): remove
2888
2889 2008-05-22  Dan Williams  <dcbw@redhat.com>
2890
2891         * configure.in
2892                 - clean up crypto options; just use --with-crypto=nss or
2893                         --with-crypto=gnutls
2894
2895 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2896
2897         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2898         anymore, do it right away.
2899
2900 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2901
2902         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2903         serial device open when we're not connecting or connected.
2904
2905         * src/nm-cdma-device.c (device_state_changed): Ditto.
2906
2907 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2908
2909         Don't remove all devices on waking up, sync with HAL.
2910
2911         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2912         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2913         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2914
2915 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2916
2917         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2918         If the default gateway is unreachable, add a route to gateway and try
2919         again.
2920
2921 2008-05-20  Dan Williams  <dcbw@redhat.com>
2922
2923         * system-settings/plugins/ifcfg-fedora/reader.c
2924                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2925
2926 2008-05-19  Dan Williams  <dcbw@redhat.com>
2927
2928         * system-settings/plugins/ifcfg-fedora/reader.c
2929                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2930                         if the ifcfg doesn't specify one (rh #446527)
2931
2932 2008-05-19  Dan Williams  <dcbw@redhat.com>
2933
2934         Make the system settings service exit when the bus goes away.  Since it's
2935         a bus-activated service, it's lifetime is limited to the bus that activated
2936         it (rh #444976).
2937
2938         * system-settings/src/Makefile.am
2939           system-settings/src/nm-system-config-hal-manager-private.h
2940                 - Remove nm-system-config-hal-manager-private.h
2941
2942         * system-settings/src/nm-system-config-hal-manager.c
2943                 - (nm_system_config_hal_manager_reinit_dbus,
2944                    nm_system_config_hal_manager_deinit_dbus): remove
2945
2946         * system-settings/src/main.c
2947                 - (dbus_reconnect): remove
2948                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2949                 - (destroy_cb): just quit when the bus goes away
2950                 - (start_dbus_service, dbus_init): simplify
2951                 - (main): destroy the wired devices hash table after destroying
2952                         the HAL manager so we don't have to disconnect signals from the
2953                         HAL manager
2954
2955 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2956
2957         Move crypto functions from nm-applet to libnm-util.
2958
2959         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2960         (nm_setting_802_1x_set_client_cert)
2961         (nm_setting_802_1x_set_phase2_ca_cert)
2962         (nm_setting_802_1x_set_phase2_client_cert)
2963         (nm_setting_802_1x_set_private_key)
2964         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2965         file (or private key and it's password), read the certificate data.
2966
2967         * libnm-util/crypto_nss.c: 
2968         * libnm-util/crypto_gnutls.c: 
2969         * libnm-util/crypto.[ch]: Move here from nm-applet.
2970
2971         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2972
2973         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2974         Imlement WPA-EAP configuration reading from sysconfig.
2975
2976 2008-05-16  Dan Williams  <dcbw@redhat.com>
2977
2978         * src/nm-device-802-11-wireless.c
2979                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2980                         wireless
2981
2982 2008-05-14  Dan Williams  <dcbw@redhat.com>
2983
2984         Fix Linus' bug in rh #134886
2985
2986         * src/nm-device-802-3-ethernet.c
2987                 - (constructor): request initial carrier state
2988
2989         * src/nm-netlink-monitor.c
2990                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2991                         signals after refilling the link cache.  Because the refill is a 
2992                         synchronous operation, the normal message hander won't get called
2993                         since libnl has already consumed the messages.
2994                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2995
2996 2008-05-14  Dan Williams  <dcbw@redhat.com>
2997
2998         * src/NetworkManagerSystem.c
2999                 - (nm_system_device_is_up_with_iface): clean up
3000
3001 2008-05-13  Dan Williams  <dcbw@redhat.com>
3002
3003         Fix refcounting issues over sleep/wake when a VPN connection was active that
3004         caused NM to try registering an object path for a device upon wake that was
3005         the same as an already registered object path.
3006
3007         * src/nm-device.c
3008                 - (nm_device_take_down): properly handle cases where the device is
3009                         no longer active but was just active, and therefore must be
3010                         deactivated.  When a device moves to unmanaged mode, this function
3011                         previously would not deactivate the device, because the state was
3012                         already unmanaged by the time this function was called.
3013
3014         * src/vpn-manager/nm-vpn-connection.c
3015                 - (device_state_changed): properly handle multiple devices states in
3016                         which the device is now deactivated.  Code previously didn't handle
3017                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3018                         UNMANAGED states.
3019
3020 2008-05-13  Dan Williams  <dcbw@redhat.com>
3021
3022         * src/nm-device-private.h
3023           src/nm-device.c
3024                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3025
3026         * src/nm-device-802-11-wireless.c
3027                 - (nm_device_802_11_wireless_set_enabled): take devices up
3028                         and down as appropriate for the rfkill state
3029
3030 2008-05-13  Dan Williams  <dcbw@redhat.com>
3031
3032         * marshallers/nm-marshal.list
3033                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3034
3035         * system-settings/plugins/ifcfg-fedora/Makefile.am
3036           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3037           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3038                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3039                         events.  Solely for use watching ifcfg files to pick up changes
3040                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3041
3042         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3043                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3044                         file contents change
3045                 - (finalize): clean up inotify watches
3046                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3047                         and the connection ifcfg for changes on their hardlinks
3048                 - (files_changed_cb): proxy the changed signal back out to listeners
3049
3050         * system-settings/plugins/ifcfg-fedora/plugin.c
3051                 - (dir_changed): 
3052                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3053                         changes
3054                 - (read_one_connection): connect to change signals on the new connection
3055                 - (dir_changed, connection_changed_handler,
3056                    handle_connection_remove_or_new): break out connection change
3057                         handling and connection new/remove handling so it can be used from
3058                         both the GFileMonitor callback and the NMIfcfgConnection changed
3059                         signals
3060
3061         * system-settings/plugins/ifcfg-fedora/reader.c
3062           system-settings/plugins/ifcfg-fedora/reader.h
3063                 - (connection_from_file): return the keyfile path the connection would use
3064
3065 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3066
3067         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3068         single PolKitContext which is shared by all. PolKitContext::unref leaks
3069         just about everything, including all open file descriptiors and results
3070         in 99% cpu usage when data arrives to any of the fds that don't belong
3071         to any context anymore.
3072
3073 2008-05-12  Dan Williams  <dcbw@redhat.com>
3074
3075         * gfilemonitor/glocaldirectorymonitor.c
3076           gfilemonitor/glocaldirectorymonitor.h
3077                 - (g_local_directory_monitor_constructor): actually subscribe to the
3078                         watch
3079                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3080
3081         * gfilemonitor/glocalfilemonitor.c
3082           gfilemonitor/glocalfilemonitor.h
3083                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3084                 - (_g_local_file_monitor_new): ensure that inotify is started up
3085
3086 2008-05-11  Dan Williams  <dcbw@redhat.com>
3087
3088         * configure.in
3089                 - record PolicyKit version
3090
3091         * system-settings/src/nm-polkit-helpers.c
3092                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3093                         with PolicyKit <= 0.6
3094
3095 2008-05-11  Dan Williams  <dcbw@redhat.com>
3096
3097         Update Fedora system-settings plugin to support latest API and use
3098         GFileMonitor rather than home-rolled inotify code.
3099
3100         * system-settings/plugins/ifcfg-fedora/Makefile.am
3101           system-settings/plugins/ifcfg-fedora/common.h
3102           system-settings/plugins/ifcfg-fedora/plugin.c
3103                 - Update to latest system settings plugin API; use GIO instead of
3104                         custom inotify code; use NMIfcfgConnection objects instead of
3105                         ConnectionData structures tacked onto NMConnection objects
3106
3107         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3108           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3109                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3110                         connections
3111
3112         * system-settings/plugins/ifcfg-fedora/reader.c
3113           system-settings/plugins/ifcfg-fedora/reader.h
3114                 - Move ifcfg parsing bits here from parser.c
3115
3116         * system-settings/plugins/ifcfg-fedora/parser.c
3117           system-settings/plugins/ifcfg-fedora/parser.h
3118                 - Remove; most code moved to reader.c
3119
3120 2008-05-11  Dan Williams  <dcbw@redhat.com>
3121
3122         * configure.in
3123           Makefile.am
3124           gfilemonitor/*
3125                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3126                         implementation, so that the same change monitoring code can be used
3127                         on systems without glib-2.14 (like Fedora 8)
3128
3129         * system-settings/plugins/keyfile/Makefile.am
3130           system-settings/plugins/keyfile/plugin.c
3131           system-settings/plugins/ifcfg-suse/Makefile.am
3132           system-settings/plugins/ifcfg-suse/plugin.c
3133                 - Use private gfilemonitor code if GIO is not present
3134
3135 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3136
3137         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3138         NMExportedConnection's 'update' and 'delete' and return error with
3139         descriptive message.
3140
3141 2008-05-08  Dan Williams  <dcbw@redhat.com>
3142
3143         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3144
3145         * src/nm-gsm-device.c
3146           src/nm-cdma-device.c
3147                 - (real_get_best_auto_connection): implement; allow autoconnection
3148                         to GSM & CDMA devices
3149
3150 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3151
3152         Use PolicyKit to authorize the system settings' AddConnection method
3153         and the system settings connections' Update and Delete methods.
3154         
3155         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3156         (impl_exported_connection_delete, nm_exported_connection_update)
3157         (nm_exported_connection_delete): Return boolean and fill GError
3158         to notify the callers of the reasons why it might have failed.
3159
3160         * libnm-glib/nm-dbus-settings-system.c
3161         (nm_dbus_settings_system_add_connection): Return the error from dbus
3162         call so that the callers can see why it failed.
3163
3164         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3165         signatures.
3166
3167         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3168
3169         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3170         abstract base class that checks PolicyKit permissions.
3171
3172         * system-settings/src/dbus-settings.c:
3173         (impl_settings_add_connection): Check the policy before carring out
3174         the request.
3175
3176         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3177         Inherit from NMSysconfigConnection, check the policies before
3178         allowing updating or removing.
3179
3180         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3181         Inherit from NMSysconfigConnection.
3182
3183         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3184         "Delete" methods with async flag so that the implementations can get
3185         access to DBusGMethodInvocation.
3186
3187         * system-settings/src/dbus-settings.c 
3188         (settings_add_connection_check_privileges): Implement.
3189         (impl_settings_add_connection): Check the privileges before adding a new
3190         connection. Improve error reporting.
3191
3192         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3193         async so that the implementation can access DBusGMethodInvocation.
3194
3195         * configure.in: Check for PolicyKit.
3196
3197         * policy/org.freedesktop.network-manager-settings.system.policy: 
3198         New file.
3199
3200         * policy/Makefile.am: Install the policy file.
3201
3202         * configure.in: Add 'policy' subdir.
3203
3204 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3205
3206         Rewrite the suse system settings plugin.
3207
3208         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3209
3210         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3211
3212         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3213
3214         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3215
3216         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3217
3218         * system-settings/src/main.c (load_plugins): Improve error reporting.
3219
3220         * system-settings/src/sha1.[ch] Add.
3221
3222         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3223
3224 2008-05-07  Dan Williams  <dcbw@redhat.com>
3225
3226         * system-settings/plugins/keyfile/reader.c
3227                 - (read_one_setting_value): handle IP address items separately
3228                 - (read_array_of_uint): read IPv4 DNS option as a string array
3229                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3230                         array
3231
3232         * system-settings/plugins/keyfile/writer.c
3233                 - (write_setting_value): handle IP address items separately
3234                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3235                         not an array of uint, so that it's user-editable
3236                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3237                         arrays, so they are user-editable
3238
3239 2008-05-07  Dan Williams  <dcbw@redhat.com>
3240
3241         * system-settings/plugins/keyfile/Makefile.am
3242                 - Change location of the keyfile plugin settings to
3243                         /etc/NetworkManager/system-connections
3244
3245 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3246
3247         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3248
3249         * system-settings/plugins/keyfile/plugin.c: Work with
3250         NMKeyfileConnections.
3251
3252         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3253         Plugins are supposed to return NMExportedConnections now and handle the
3254         updated(), removed(), and GetSecrets().
3255         Store the internal list of connections in hash table to make it easier
3256         to find duplicates.
3257
3258 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3259
3260         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3261         for multiple IP addresses.
3262
3263 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3264
3265         Patch from André Lemos.
3266
3267         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3268         corruption.
3269
3270 2008-05-06  Dan Williams  <dcbw@redhat.com>
3271
3272         * src/dhcp-manager/nm-dhcp-manager.c
3273                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3274                         NMIP4Config to support multiple IP addresses
3275
3276         * src/NetworkManagerUtils.c
3277                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3278
3279         * src/nm-ip4-config.c
3280           src/nm-ip4-config.h
3281                 - Store a list of IPv4 address/netmask/gateway tuples
3282                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3283                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3284                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3285                    nm_ip4_config_set_address): remove
3286                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3287                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3288                         new functions; handle multiple IPv4 addresses
3289
3290         * src/nm-device.c
3291           src/ppp-manager/nm-ppp-manager.c
3292           src/vpn-manager/nm-vpn-connection.c
3293           src/NetworkManagerPolicy.c
3294           test/nm-tool.c
3295           libnm-glib/libnm-glib-test.c
3296                 - update for changes to NMIP4Config for multiple IPv4 addresses
3297
3298         * src/NetworkManagerSystem.c
3299                 - (nm_system_device_set_ip4_route): don't add the route if any address
3300                         is on the same subnet as the destination
3301                 - (check_one_address): ignore the exact match, just match family and
3302                         interface index
3303                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3304                         an interface
3305                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3306                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3307
3308         * introspection/nm-ip4-config.xml
3309                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3310                 - Add 'addresses' property which is an array of (uuu) tuples of
3311                         address/netmask/gateway
3312
3313         * libnm-util/nm-setting-ip4-config.c
3314                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3315
3316         * libnm-glib/nm-ip4-config.c
3317           libnm-glib/nm-ip4-config.h
3318                 - Handle D-Bus interface changes to support multiple IP addresses
3319
3320 2008-05-06  Dan Williams  <dcbw@redhat.com>
3321
3322         * libnm-util/nm-utils.c
3323           libnm-util/nm-utils.h
3324                 - (nm_utils_ip4_addresses_from_gvalue,
3325                    nm_utils_ip4_addresses_to_gvalue): new functions
3326
3327 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3328
3329         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3330         the returned connection paths.
3331
3332 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3333
3334         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3335         "PropertiesChanged" signal signature.
3336
3337         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3338         defined in nm-dbus-glib-types.h.
3339         Don't register the connection on dbus, we're a proxy class to 
3340         communicate with an already registered connection over dbus.
3341
3342 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3343
3344         Implement new subclasses of NMSettings and NMExportedConnection to make
3345         it easier for the applet to access and modify system settings.
3346
3347         * libnm-glib/nm-dbus-connection.[ch]:
3348         * libnm-glib/nm-dbus-settings.[ch]:
3349         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3350
3351         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3352         bindings and glue.
3353
3354         * include/NetworkManager.h: Define the system settings DBus interface.
3355
3356 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3357
3358         Implement additional C API for exported connections to make them identical
3359         with the DBus API. Change the (list_connections) virtual function to be
3360         more usable from C - instead of requiring implementers to return a GPtrArray
3361         of dbus paths, return a list of connections.
3362
3363         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3364         (nm_settings_list_connections):
3365         (nm_exported_connection_new):
3366         (nm_exported_connection_update):
3367         (nm_exported_connection_delete): Implement.
3368
3369         (impl_settings_list_connections):
3370         (impl_exported_connection_update):
3371         (impl_exported_connection_delete): Use the new public functions to make 
3372         sure the C and dbus interfaces stay in sync.
3373
3374         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3375         connections.
3376
3377 2008-05-02  Dan Williams  <dcbw@redhat.com>
3378
3379         * system-settings/plugins/ifcfg-fedora/plugin.c
3380                 - (dispose): use right unref call on the DBusGConnection
3381
3382 2008-05-02  Dan Williams  <dcbw@redhat.com>
3383
3384         * src/nm-serial-device.c
3385                 - (find_terminator): don't compare the whole line, just the size of the
3386                         terminator, since some modems put stuff after the terminator, like
3387                         "CONNECT 9600"
3388
3389 2008-05-01  Dan Williams  <dcbw@redhat.com>
3390
3391         Patch from Michael Biebl <biebl@debian.org>
3392
3393         * callouts/Makefile.am
3394           callouts/org.freedesktop.nm_dispatcher.service.in
3395           system-settings/src/Makefile.am
3396           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3397                 - use the right install location for dbus-activated stuff
3398
3399 2008-04-30  Dan Williams  <dcbw@redhat.com>
3400
3401         * src/nm-gsm-device.c
3402                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3403                         PIN or PUK
3404
3405 2008-04-30  Dan Williams  <dcbw@redhat.com>
3406
3407         * src/nm-manager.c
3408                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3409
3410 2008-04-30  Dan Williams  <dcbw@redhat.com>
3411
3412         * src/nm-device-802-3-ethernet.c
3413           src/nm-device-802-11-wireless.c
3414                 - (real_is_up): return true instead of chaining up to unimplemented
3415                         parent method
3416
3417 2008-04-30  Dan Williams  <dcbw@redhat.com>
3418
3419         * src/NetworkManagerSystem.c
3420           src/NetworkManagerSystem.h
3421                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3422                         functions to check device flags for IFF_UP
3423
3424         * src/nm-serial-device.c
3425                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3426                         implement is_up
3427
3428         * src/nm-device-802-3-ethernet.c
3429           src/nm-device-802-11-wireless.c
3430                 - (real_hw_is_up): call nm_system_device_is_up()
3431
3432         * src/nm-device.c
3433                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3434                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3435                         does not implement
3436
3437 2008-04-29  Dan Williams  <dcbw@redhat.com>
3438
3439         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3440
3441         * marshallers/nm-marshal.list
3442                 - Add marshaller
3443
3444         * src/NetworkManager.c
3445                 - (main): let the NMManager handle the NMHalManager
3446
3447         * src/nm-hal-manager.c
3448           src/nm-hal-manager.h
3449                 - convert to a GObject, and emit singals when stuff changes.  Let the
3450                         NMManager handle the signals, instead of the NMHalManager calling
3451                         into the NMManager.  
3452
3453         * src/nm-manager.c
3454           src/nm-manager.h
3455                 - (remove_one_device): consolidate device removals here
3456                 - (dispose): use remove_one_device()
3457                 - (nm_manager_get_device_by_udi): make static
3458                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3459                         manager for devices at startup or wakeup time
3460                 - (nm_manager_new): create and monitor the HAL manager
3461                 - (hal_manager_udi_added_cb): new function; do what
3462                         nm_manager_add_device() used to do when signalled by the hal manager
3463                 - (hal_manager_udi_removed_cb): new function; do what
3464                         nm_manager_remove_device() used to do when signalled by the hal
3465                         manager
3466                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3467                         hal manager
3468                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3469                         in our device list that aren't known to HAL
3470                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3471                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3472                         commits ago
3473                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3474                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3475                    nm_manager_wireless_hardware_enabled,
3476                    nm_manager_set_wireless_hardware_enabled): remove, unused
3477
3478 2008-04-28  Dan Williams  <dcbw@redhat.com>
3479
3480         Fix the device up/down ambiguities.  Up/down state used to be a
3481         conglomeration of hardware state (IFF_UP) and any device-specific things
3482         (supplicant, periodic timers, etc) that the device used to indicate
3483         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3484         reason, then the device specific stuff wouldn't get run, and the device
3485         would be stuck.
3486
3487         * src/nm-device.c
3488           src/nm-device.h
3489                 - Create hw_is_up, hw_bring_up, and hw_take_down
3490                 - Rename bring_down -> take_down
3491                 - (real_hw_is_up): check interface flags for IFF_UP
3492                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3493                 - (nm_device_is_up): make static; only used locally
3494                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3495                         if the device is already up; if the device isn't up, bring it up
3496                 - (nm_device_hw_take_down): just take down hardware
3497                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3498                 - (nm_device_take_down): always deactivate device when called; always
3499                         try to take hardware down too
3500                 - (nm_device_state_changed): take device down when entering unmanaged
3501                         state from a higher state
3502
3503         * src/nm-device-802-11-wireless.c
3504                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3505                         check IFF_UP really
3506                 - (real_take_down, supplicant_iface_state_cb_handler, 
3507                    supplicant_iface_connection_state_cb_handler,
3508                    supplicant_mgr_state_cb_handler): fix some messages
3509
3510         * src/nm-device-802-3-ethernet.c
3511                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3512                         check IFF_UP really
3513
3514 2008-04-28  Dan Williams  <dcbw@redhat.com>
3515
3516         * src/nm-manager.c
3517           src/nm-manager.h
3518                 - (nm_manager_error_get_type): add new error
3519                 - (nm_manager_remove_device): don't bother taking down the device here,
3520                         the state change from unmanaging the device will do it
3521                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3522                         uses it; when going to sleep, just unmanage the device instead of
3523                         taking it down, because stuff will cleaned up correctly when the
3524                         device gets unmanaged
3525
3526 2008-04-28  Dan Williams  <dcbw@redhat.com>
3527
3528         * src/nm-hal-manager.c
3529                 - (add_initial_devices): convert to a GSourceFunc prototype
3530                 - (nm_manager_state_changed): when coming out of sleep, punt the
3531                         device re-addition to an idle handler to let D-Bus events go out
3532                         first, fixing a potential dbus-glib assert if the old device was
3533                         not yet disposed (due to references held while emitting the D-Bus
3534                         signals) but the new device was found, because the mainloop didn't
3535                         run between signal emission and add_initial_devices()
3536
3537 2008-04-27  Dan Williams  <dcbw@redhat.com>
3538
3539         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3540
3541         * initscript/paldo/NetworkManager.in
3542           initscript/SUSE/networkmanager.in
3543                 - Remove last bits of dhcdbd
3544
3545 2008-04-27  Dan Williams  <dcbw@redhat.com>
3546
3547         * src/nm-device-802-11-wireless.c
3548                 - (link_timeout_cb): don't ask for secrets when disconnected during
3549                         association/authentication phase, drivers are still just too crappy
3550
3551 2008-04-27  Dan Williams  <dcbw@redhat.com>
3552
3553         * Makefile.am
3554           configure.in
3555           dispatcher-daemon/Makefile.am
3556           dispatcher-daemon/NetworkManagerDispatcher.c
3557           initscript/Arch/Makefile.am
3558           initscript/Arch/networkmanager-dispatcher.in
3559           initscript/Gentoo/Makefile.am
3560           initscript/Gentoo/NetworkManagerDispatcher.in
3561           initscript/Mandriva/Makefile.am
3562           initscript/Mandriva/networkmanagerdispatcher.in
3563           initscript/RedHat/Makefile.am
3564           initscript/RedHat/NetworkManagerDispatcher.in
3565           initscript/SUSE/Makefile.am
3566           initscript/SUSE/networkmanager-dispatcher.in
3567           initscript/Slackware/Makefile.am
3568           initscript/Slackware/rc.networkmanager-dispatcher.in
3569           initscript/paldo/Makefile.am
3570           initscript/paldo/NetworkManagerDispatcher.in
3571           man/Makefile.am
3572           man/NetworkManagerDispatcher.8.in
3573                 - Remove the dispatcher daemon
3574
3575 2008-04-27  Dan Williams  <dcbw@redhat.com>
3576
3577         * callouts/Makefile.am
3578           callouts/nm-dispatcher-action.c
3579           callouts/nm-dispatcher-action.h
3580           callouts/nm-dispatcher.conf
3581           callouts/nm-dispatcher.xml
3582           callouts/org.freedesktop.nm_dispatcher.service
3583                 - Re-implement the dispatcher as a system-bus activated service that
3584                         NM calls on-demand, rather than an always running daemon
3585
3586         * src/Makefile.am
3587                 - Add callouts dir to includes to pick up dispatcher defines
3588
3589         * src/nm-device.c
3590                 - (nm_device_state_changed): call dispatcher on device activated/
3591                         deactivated
3592
3593         * src/vpn-manager/nm-vpn-connection.c
3594                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3595                         go up and down
3596
3597         * src/NetworkManagerUtils.c
3598           src/NetworkManagerUtils.h
3599                 - (nm_utils_call_dispatcher): helper to call dispatcher
3600
3601 2008-04-27  Dan Williams  <dcbw@redhat.com>
3602
3603         * src/NetworkManagerUtils.c
3604           src/NetworkManagerUtils.h
3605                 - remove unneeded includes
3606                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3607                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3608                    nm_timeval_cmp, nm_timeval_add): remove, unused
3609                 - clean up formatting
3610                 - (nm_spawn_process): de-uglify
3611
3612         * src/nm-device-802-11-wireless.c
3613                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3614
3615 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3616
3617         * initscript/Gentoo/NetworkManager.in:
3618                 Fix for starting the daemon.
3619
3620 2008-04-25  Dan Williams  <dcbw@redhat.com>
3621
3622         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3623
3624         * src/NetworkManagerSystem.c
3625                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3626
3627 2008-04-25  Dan Williams  <dcbw@redhat.com>
3628
3629         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3630
3631         * src/NetworkManagerSystem.c
3632                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3633                         implementation of nm_system_device_replace_default_route()
3634
3635         * src/NetworkManagerPolicy.c
3636                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3637
3638         * src/backends/NetworkManagerArch.c
3639           src/backends/NetworkManagerDebian.c
3640           src/backends/NetworkManagerFrugalware.c
3641           src/backends/NetworkManagerGeneric.c
3642           src/backends/NetworkManagerGeneric.h
3643           src/backends/NetworkManagerGentoo.c
3644           src/backends/NetworkManagerMandriva.c
3645           src/backends/NetworkManagerPaldo.c
3646           src/backends/NetworkManagerRedHat.c
3647           src/backends/NetworkManagerSlackware.c
3648           src/backends/NetworkManagerSuSE.c
3649                 - (nm_system_device_replace_default_route): remove
3650
3651 2008-04-25  Dan Williams  <dcbw@redhat.com>
3652
3653         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3654
3655         * src/NetworkManagerSystem.c
3656                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3657                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3658                         replace nm_system_device_add_route_via_device_with_iface() in the
3659                         backends
3660
3661         * src/backends/NetworkManagerArch.c
3662           src/backends/NetworkManagerDebian.c
3663           src/backends/NetworkManagerFrugalware.c
3664           src/backends/NetworkManagerGeneric.c
3665           src/backends/NetworkManagerGeneric.h
3666           src/backends/NetworkManagerGentoo.c
3667           src/backends/NetworkManagerMandriva.c
3668           src/backends/NetworkManagerPaldo.c
3669           src/backends/NetworkManagerRedHat.c
3670           src/backends/NetworkManagerSlackware.c
3671           src/backends/NetworkManagerSuSE.c
3672                 - Remove nm_system_device_add_route_via_device_with_iface()
3673
3674 2008-04-25  Dan Williams  <dcbw@redhat.com>
3675
3676         * system-settings/plugins/ifcfg-fedora/parser.c
3677                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3678
3679 2008-04-24  Dan Williams  <dcbw@redhat.com>
3680
3681         * dispatcher-daemon/NetworkManagerDispatcher.c
3682                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3683
3684 2008-04-24  Dan Williams  <dcbw@redhat.com>
3685
3686         * initscript/RedHat/NetworkManager.in
3687           initscript/RedHat/NetworkManagerDispatcher.in
3688                 - Be active at runlevel 2
3689                 - Adjust priorities earlier
3690
3691 2008-04-22  Dan Williams  <dcbw@redhat.com>
3692
3693         * src/NetworkManagerPolicy.c
3694                 - (update_routing_and_dns): when checking for a gateway, look at the
3695                         composite IP4 config, not the connection's ip4-config setting, which
3696                         doesn't include DHCP-returned information
3697
3698 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3699
3700         Implement GKeyFile system settings plugin.
3701         Implement writing system settings (currently supported only by GKeyFile plugin).
3702
3703         * system-settings/src/main.c: 
3704         * system-settings/src/dbus-settings.c: Move the communication with plugins
3705         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3706         plugins for adding/updating/removing connections.
3707
3708         * system-settings/src/nm-system-config-interface.c
3709         (nm_system_config_interface_add_connection): Implement
3710         (nm_system_config_interface_update_connection): Implement.
3711         (nm_system_config_interface_remove_connection): Implement.
3712
3713         * system-settings/plugins/keyfile/Makefile.am:
3714         * system-settings/plugins/keyfile/plugin.[ch]:
3715         * system-settings/plugins/keyfile/writer.[ch]:
3716         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3717
3718         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3719
3720         * configure.in: Generate GKeyFile Makefile.
3721
3722         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3723         corruption, need to duplicate the returned string.
3724         (impl_exported_connection_update): Implement.
3725         (impl_exported_connection_delete): Implement.
3726
3727         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3728
3729         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3730
3731 2008-04-22  Dan Williams  <dcbw@redhat.com>
3732
3733         Patch from Charles R. Anderson (cra@wpi.edu)
3734
3735         * src/NetworkManagerPolicy.c
3736                 - (update_routing_and_dns): don't select devices without a gateway
3737                         as having the default route (rh #437338)
3738
3739 2008-04-21  Dan Williams  <dcbw@redhat.com>
3740
3741         * src/nm-activation-request.c
3742           src/nm-activation-request.h
3743                 - (dispose): ensure to disconnect from the device's state-changed signal
3744                         when appropriate so the signal doesn't get handled by an already
3745                         disposed NMActRequest
3746                 - (device_state_changed): update is_default here too just to make sure
3747                         default is only True when the child device is activated
3748                 - (nm_act_request_set_default): new function
3749
3750         * src/NetworkManagerPolicy.c
3751                 - (update_routing_and_dns): set 'default' on the active connection which
3752                         has the default route and DNS
3753
3754 2008-04-21  Dan Williams  <dcbw@redhat.com>
3755
3756         * src/NetworkManagerPolicy.c
3757                 - (device_state_changed): update routing and DNS when a device goes
3758                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3759
3760 2008-04-21  Dan Williams  <dcbw@redhat.com>
3761
3762         * include/NetworkManager.h
3763                 - Add NMActiveConnectionState enum
3764
3765         * introspection/nm-active-connection.xml
3766           introspection/nm-vpn-connection.xml
3767                 - Add 'State' property for overall active connection state
3768                 - Add 'Default' property, when True means this active connection
3769                         has the default route
3770                 - Add PropertyChanged signals so changes actually go out over the bus
3771
3772         * src/nm-active-connection.h
3773                 - Add defines for State & Default properties
3774
3775         * src/nm-activation-request.c
3776                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3777                         signal to determine active connection state
3778
3779         * src/vpn-manager/nm-vpn-connection.c
3780           src/vpn-manager/nm-vpn-connection.h
3781           src/vpn-manager/nm-vpn-manager.c
3782           src/vpn-manager/nm-vpn-service.c
3783                 - Rename old 'state' to 'vpn-state'
3784                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3785                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3786                         'vpn-state-changed' signal
3787
3788         * libnm-glib/nm-active-connection.c
3789           libnm-glib/nm-active-connection.h
3790                 - Add new 'state' and 'default' properties and accessors
3791
3792         * libnm-glib/nm-vpn-connection.c
3793           libnm-glib/nm-vpn-connection.h
3794                 - Rename old 'state' property to 'vpn-state'
3795                 - Add new 'state' and 'default' properties and accessors
3796
3797 2008-04-21  Dan Williams  <dcbw@redhat.com>
3798
3799         * src/nm-ip4-config.c
3800                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3801                         not specified (rh #443474)
3802
3803 2008-04-20  Dan Williams  <dcbw@redhat.com>
3804
3805         * src/NetworkManagerUtils.c
3806           src/NetworkManagerUtils.h
3807                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3808                         NMSettingIP4Config to an NMIP4Config object
3809
3810         * src/nm-device.c
3811                 - (merge_ip4_config): move to NetworkManagerUtils.c
3812
3813         * src/vpn-manager/nm-vpn-connection.c
3814                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3815                         too
3816
3817 2008-04-18  Dan Williams  <dcbw@redhat.com>
3818
3819         * libnm-util/nm-setting-ppp.c
3820           libnm-util/nm-setting-ppp.h
3821                 - Add 'no-vj-comp' option for TCP header compression
3822                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3823                         uint32
3824
3825 2008-04-18  Dan Williams  <dcbw@redhat.com>
3826
3827         * libnm-util/nm-setting-ppp.c
3828           libnm-util/nm-setting-ppp.h
3829           src/ppp-manager/nm-ppp-manager.c
3830                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3831
3832 2008-04-18  Dan Williams  <dcbw@redhat.com>
3833
3834         * libnm-util/nm-setting-ppp.c
3835           libnm-util/nm-setting-ppp.h
3836           src/ppp-manager/nm-ppp-manager.c
3837                 - Remove the 'usepeerdns' option and always request DNS servers from
3838                         the PPP server; the connection chooses to use/override/ignore the
3839                         DNS servers returned from the PPP server
3840
3841 2008-04-18  Dan Williams  <dcbw@redhat.com>
3842
3843         * libnm-util/nm-setting-ppp.c
3844           libnm-util/nm-setting-ppp.h
3845           src/ppp-manager/nm-ppp-manager.c
3846                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3847                         it seems to have been an erroneous addition to the PPTP plugin in
3848                         the first place (from which the ppp-manager is derived)
3849
3850 2008-04-17  Dan Williams  <dcbw@redhat.com>
3851
3852         * libnm-util/nm-setting-pppoe.c
3853                 - (verify): require a PPP setting too
3854
3855         * src/ppp-manager/nm-ppp-manager.c
3856                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3857                         segfaulting
3858
3859 2008-04-17  Dan Williams  <dcbw@redhat.com>
3860
3861         * src/nm-device.c
3862                 - (nm_device_state_changed): do deactivation and and promotion to
3863                         unavailable here, so that the device gets cleaned up before the
3864                         manager runs and starts emitting signals; do the
3865                         FAILED->DISCONNECTED transition from an idle handler rather than
3866                         immediately to guard against recursion
3867                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3868                         FAILED->DISCONNECTED handler if it's scheduled
3869
3870 2008-04-17  Dan Williams  <dcbw@redhat.com>
3871
3872         * src/nm-device-802-11-wireless.c
3873                 - (state_changed_cb): clear AP list when device transitions to
3874                         unavailable or unmanaged
3875                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3876                         since this is already done in device_cleanup()
3877                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3878                         isn't available or managed
3879                 - (device_cleanup): use remove_all_aps()
3880                 - (remove_all_aps): consolidate code removing all APs
3881
3882 2008-04-17  Dan Williams  <dcbw@redhat.com>
3883
3884         * src/nm-serial-device.c
3885           src/nm-serial-device.h
3886                 - (wait_for_reply_got_data): break input into lines, and search each
3887                         line for responses _and_ terminator strings; also make sure that
3888                         the read loop doesn't continue after the timeout is supposed to fire
3889                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3890
3891         * src/nm-gsm-device.c
3892           src/nm-cdma-device.c
3893                 - Send terminators to nm_serial_device_wait_for_reply()
3894
3895 2008-04-16  Dan Williams  <dcbw@redhat.com>
3896
3897         Patch from 陈鑫 <znscnchen@gmail.com>
3898
3899         * src/ppp-manager/nm-pppd-plugin.c
3900                 - (get_credentials): return correct value for success; handle case where
3901                         pppd just does some checking but doesn't want a password
3902                 - (plugin_init): make CHAP work too
3903
3904 2008-04-16  Dan Williams  <dcbw@redhat.com>
3905
3906         Patch from 陈鑫 <znscnchen@gmail.com>
3907
3908         * src/ppp-manager/nm-ppp-manager.c
3909                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3910
3911 2008-04-16  Dan Williams  <dcbw@redhat.com>
3912
3913         Patch from 陈鑫 <znscnchen@gmail.com>
3914
3915         * src/nm-device-802-3-ethernet.c
3916                 - (real_deactivate_quickly): clear the IP interface name on
3917                         deactivation, otherwise the wrong interface might get used later
3918                         for routing and IP management
3919
3920 2008-04-15  Dan Williams  <dcbw@redhat.com>
3921
3922         * libnm-glib/nm-device.c
3923                 - (get_product_and_vendor): handle serial devices correctly
3924                 - (nm_device_update_description): pass device to get_product_and_vendor()
3925
3926 2008-04-15  Dan Williams  <dcbw@redhat.com>
3927
3928         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3929
3930         * src/NetworkManagerSystem.h
3931           src/backends/NetworkManagerArch.c
3932           src/backends/NetworkManagerDebian.c
3933           src/backends/NetworkManagerFrugalware.c
3934           src/backends/NetworkManagerGeneric.c
3935           src/backends/NetworkManagerGeneric.h
3936           src/backends/NetworkManagerGentoo.c
3937           src/backends/NetworkManagerMandriva.c
3938           src/backends/NetworkManagerPaldo.c
3939           src/backends/NetworkManagerRedHat.c
3940           src/backends/NetworkManagerSlackware.c
3941           src/backends/NetworkManagerSuSE.c
3942           src/nm-device.c
3943                 - (nm_generic_device_add_ip6_link_address,
3944                    nm_system_device_add_ip6_link_address): remove
3945
3946 2008-04-15  Dan Williams  <dcbw@redhat.com>
3947
3948         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3949
3950         * src/backends/NetworkManagerArch.c
3951           src/backends/NetworkManagerDebian.c
3952           src/backends/NetworkManagerFrugalware.c
3953           src/backends/NetworkManagerGeneric.c
3954           src/backends/NetworkManagerGeneric.h
3955           src/backends/NetworkManagerGentoo.c
3956           src/backends/NetworkManagerMandriva.c
3957           src/backends/NetworkManagerPaldo.c
3958           src/backends/NetworkManagerRedHat.c
3959           src/backends/NetworkManagerSlackware.c
3960           src/backends/NetworkManagerSuSE.c
3961           src/NetworkManagerSystem.h
3962                 - flush_routes -> flush_ip4_routes
3963                 - flush_addresses -> flush_ip4_addresses
3964
3965         * src/NetworkManagerSystem.c
3966           src/nm-device.c
3967           src/vpn-manager/nm-vpn-connection.c
3968                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3969
3970 2008-04-15  Dan Williams  <dcbw@redhat.com>
3971
3972         Remove exposure of wireless-tools mode types in the API.
3973
3974         * include/NetworkManager.h
3975                 - Define NM80211Mode enum
3976
3977         * introspection/generic-types.xml
3978                 - Describe NM_802_11_MODE enum
3979                 - Remove IW_MODE_* enum
3980
3981         * introspection/nm-access-point.xml
3982           libnm-glib/nm-access-point.c
3983           libnm-glib/nm-access-point.h
3984                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3985
3986         * introspection/nm-device-802-11-wireless.xml
3987           libnm-glib/nm-device-802-11-wireless.c
3988           libnm-glib/nm-device-802-11-wireless.h
3989                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3990
3991         * libnm-util/nm-setting-wireless.c
3992           src/NetworkManagerAP.c
3993           src/NetworkManagerAP.h
3994           src/nm-device-802-11-wireless.c
3995           src/nm-device-802-11-wireless.h
3996           test/nm-tool.c
3997                 - Use NM80211Mode not IW_MODE_*
3998
3999 2008-04-15  Dan Williams  <dcbw@redhat.com>
4000
4001         Enhance nm-online based on a patch from Bill Nottingham.
4002
4003         * test/nm-online.c
4004                 - Add a '-q' option
4005                 - Add help messages and option summary
4006                 - Add long-format options
4007                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4008
4009 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4010
4011         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4012
4013         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4014
4015 2008-04-15  Dan Williams  <dcbw@redhat.com>
4016
4017         * nm-setting-ip4-config.c
4018                 - (ip4_addresses_from_gvalue): handle NULL address array
4019
4020         * nm-setting-8021x.c
4021                 - (verify_tls, verify_ttls): warn on failed verification
4022
4023 2008-04-10  Dan Williams  <dcbw@redhat.com>
4024
4025         * src/nm-gsm-device.c
4026                 - (automatic_registration): accept "+CREG: 0,0"
4027                 - (automatic_registration_response): fail on "+CREG: 0,0"
4028
4029 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4030
4031         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4032
4033 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4034
4035         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4036         Make it compile again by commenting out broken code that at first didn't work and
4037         now didn't compile either.
4038
4039 2008-04-08  Dan Williams  <dcbw@redhat.com>
4040
4041         * libnm-glib/nm-object-cache.c
4042           libnm-glib/nm-settings.c
4043           src/dhcp-manager/nm-dhcp-manager.c
4044           system-settings/plugins/ifcfg-fedora/plugin.c
4045           system-settings/plugins/ifcfg-suse/plugin.c
4046           system-settings/src/nm-system-config-hal-manager.c
4047           libnm-util/nm-utils.c
4048                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4049                         not threadsafe anyway
4050
4051 2008-04-08  Dan Williams  <dcbw@redhat.com>
4052
4053         * system-settings/src/main.c
4054                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4055                         callbacks take a device type too
4056
4057 2008-04-08  Dan Williams  <dcbw@redhat.com>
4058
4059         The system settings service will now create a new default DHCP connection
4060         for wired devices that have no existing applicable connection.
4061
4062         * system-settings/src/nm-system-config-hal-manager.c
4063           system-settings/src/nm-system-config-hal-manager.h
4064                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4065
4066         * system-settings/src/dbus-settings.c
4067           system-settings/src/dbus-settings.h
4068                 - (nm_sysconfig_settings_get_connections): new function
4069                 - (nm_sysconfig_settings_is_device_managed): new function
4070
4071         * system-settings/src/main.c
4072                 - (load_stuff): check for wired devices that need a default connection
4073                 - (get_details_for_udi): get interface and MAC address from HAL
4074                 - (add_default_dhcp_connection): add a default connection for a wired
4075                         device if needed
4076                 - (device_added_cb, device_removed_cb): do the right thing with
4077                         wired devices and their default connections on HAL device events
4078
4079 2008-04-07  Dan Williams  <dcbw@redhat.com>
4080
4081         * libnm-glib/nm-device.c
4082           libnm-glib/nm-device.h
4083                 - Proxy the 'managed' property
4084
4085 2008-04-07  Dan Williams  <dcbw@redhat.com>
4086
4087         * src/nm-gsm-device.c
4088           src/nm-cdma-device.c
4089                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4090                         handler to transition to DISCONNECTED
4091
4092 2008-04-07  Dan Williams  <dcbw@redhat.com>
4093
4094         Patch from Bill Nottingham
4095
4096         * dispatcher-daemon/NetworkManagerDispatcher.c
4097                 - ignore backup/packaging crufy (rh #440143)
4098
4099 2008-04-07  Dan Williams  <dcbw@redhat.com>
4100
4101         * include/NetworkManager.h
4102                 - Remove the DOWN and CANCELLED device states
4103                 - Add UNMANAGED and UNAVAILABLE device states
4104                 - Document the device states
4105
4106         * introspection/nm-device.xml
4107           src/nm-device-interface.c
4108           src/nm-device-interface.h
4109                 - Add the 'managed' property
4110
4111         * test/nm-tool.c
4112                 - (detail_device): print out device state
4113
4114         * src/NetworkManagerSystem.h
4115           src/backends/NetworkManagerArch.c
4116           src/backends/NetworkManagerDebian.c
4117           src/backends/NetworkManagerFrugalware.c
4118           src/backends/NetworkManagerGentoo.c
4119           src/backends/NetworkManagerMandriva.c
4120           src/backends/NetworkManagerPaldo.c
4121           src/backends/NetworkManagerRedHat.c
4122           src/backends/NetworkManagerSlackware.c
4123           src/backends/NetworkManagerSuSE.c
4124                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4125                    nm_system_device_free_system_config): remove; they were unused and
4126                         their functionality should be re-implemented in each distro's
4127                         system settings service plugin 
4128
4129         * src/nm-gsm-device.c
4130           src/nm-gsm-device.h
4131           src/nm-cdma-device.c
4132           src/nm-cdma-device.h
4133                 - (*_new): take the 'managed' argument
4134
4135         * src/nm-device.c
4136                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4137                 - (nm_device_init): start in unmanaged state, not disconnected
4138                 - (constructor): don't start device until the system settings service
4139                         has had a chance to figure out if the device is managed or not
4140                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4141                         don't set device state here, let callers handle that as appropriate
4142                 - (nm_device_dispose): don't touch the device if it's not managed
4143                 - (set_property, get_property, nm_device_class_init): implement the
4144                         'managed' property
4145                 - (nm_device_state_changed): bring the device up if its now managed,
4146                         and deactivate it if it used to be active
4147                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4148                         with the managed state
4149
4150         * src/nm-hal-manager.c
4151                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4152                         take initial managed state and pass it along to device constructors
4153                 - (create_device_and_add_to_list): get managed state and pass to
4154                         type creators
4155
4156         * src/nm-device-802-11-wireless.c
4157                 - (real_can_activate): fold in most of
4158                         nm_device_802_11_wireless_can_activate()
4159                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4160                 - (link_timeout_cb): instead of deactivating, change device state and
4161                         let the device state handler to it
4162                 - (real_update_hw_address): clean up
4163                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4164                         handler to transition to DISCONNECTED if the device isn't rfkilled
4165
4166         * src/nm-device-802-3-ethernet.c
4167                 - (set_carrier): move above callers and get rid of prototype
4168                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4169                         idle handler to transition to DISCONNECTED if the device has a
4170                         carrier
4171                 - (real_update_hw_address): clean up
4172                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4173                         deactivation directly as deactivation doesn't change state anymore
4174
4175         * src/NetworkManagerPolicy.c
4176                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4177                         the NMManager and wireless devices work that out themselves now
4178                 - (device_state_changed): change to a switch and update for new device
4179                         states
4180                 - (device_carrier_changed): remove; device handles this now through
4181                         state changes
4182                 - (device_added): don't care about carrier any more; the initial
4183                         activation check will happen when the device transitions to
4184                         DISCONNECTED
4185
4186         * src/nm-manager.c
4187                 - (dispose): clear unmanaged devices
4188                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4189                         the managed property on each device when needed
4190                 - (system_settings_properties_changed_cb): handle signals from the
4191                         system settings service
4192                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4193                         getting the unmanaged device list method call
4194                 - (query_unmanaged_devices): ask the system settings service for its
4195                         list of unmanaged devices
4196                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4197                         devices
4198                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4199                         devices directly and let them handle the necessary state transitions
4200                 - (manager_device_state_changed): update for new device states
4201                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4202                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4203                 - (nm_manager_activate_connection): return error if the device is
4204                         unmanaged
4205                 - (nm_manager_sleep): handle new device states correctly; don't change
4206                         the state of unavailable/unmanaged devices
4207
4208         * libnm-glib/nm-device-802-11-wireless.c
4209                 - (state_changed_cb): update for new device states
4210
4211 2008-04-07  Dan Williams  <dcbw@redhat.com>
4212
4213         * marshallers/nm-marshal.list
4214                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4215
4216 2008-04-07  Dan Williams  <dcbw@redhat.com>
4217
4218         * system-settings/src/main.c
4219                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4220                         plugins to the dbus settings object
4221                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4222                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4223                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4224                 - (main): switch default logging to syslog with a 'debug' option to
4225                         output to console; start up the HAL manager
4226
4227 2008-04-07  Dan Williams  <dcbw@redhat.com>
4228
4229         * introspection/nm-settings-system.xml
4230           introspection/Makefile.am
4231                 - Define the unmanaged devices interface for the system settings service
4232
4233         * system-settings/src/nm-system-config-hal-manager.c
4234           system-settings/src/nm-system-config-hal-manager.h
4235           system-settings/src/nm-system-config-hal-manager-private.h
4236           system-settings/src/Makefile.am
4237                 - Add a lightweight HAL manager object for tracking network devices for
4238                         the purpose of determining unmanaged devices and which devices need
4239                         the default DHCP connections
4240
4241         * system-settings/src/nm-system-config-interface.c
4242           system-settings/src/nm-system-config-interface.h
4243                 - (nm_system_config_interface_init): add the HAL manager as an argument
4244                 - (nm_system_config_interface_get_unmanaged_devices): implement
4245                 - Define 'unmanaged-devices-changed' signal
4246
4247         * system-settings/src/dbus-settings.c
4248           system-settings/src/dbus-settings.h
4249                 - Implement the unmanaged devices interface; some cleanups
4250
4251         * system-settings/plugins/ifcfg-suse/plugin.c
4252                 - Fixup for plugin interface changes
4253
4254         * system-settings/plugins/ifcfg-fedora/plugin.c
4255                 - (get_ether_device_udi): new function; find the device that has
4256                         a specified MAC address and return its UDI
4257                 - (get_udi_for_connection): new function; try to find the specific
4258                         device a connection is locked to, if any
4259                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4260                         response to HAL events
4261                 - (get_unmanaged_devices): new function; return unmanaged device list
4262                 - (build_one_connection): set the connection's locked device, if any
4263                 - (write_auto_wired_connection): remove
4264                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4265                 - (handle_connection_changed): alert listeners that the unmanaged device
4266                         list has changed
4267                 - (init): fixup for plugin interface changes, implement unmanaged devices
4268
4269         * system-settings/plugins/ifcfg-fedora/parser.c
4270           system-settings/plugins/ifcfg-fedora/parser.h
4271                 - (connection_data_free): clean up connection UDI
4272
4273 2008-04-07  Dan Williams  <dcbw@redhat.com>
4274
4275         * system-settings/plugins/ifcfg-fedora/parser.c
4276                 - (make_ip4_setting): fix parsing of DNS servers
4277
4278 2008-04-05  Dan Williams  <dcbw@redhat.com>
4279
4280         * Makefile.am
4281           configure.in
4282           marshallers/Makefile.am
4283           marshallers/nm-marshal-main.c
4284           marshallers/nm-marshal.list
4285                 - Consolidate marshallers
4286
4287         * libnm-glib/nm-marshal-main.c
4288           libnm-glib/nm-marshal.list
4289           src/marshallers/Makefile.am
4290           src/marshallers/nm-marshal-main.c
4291           src/marshallers/nm-marshal.list
4292                 - Remove
4293
4294         * libnm-glib/Makefile.am
4295           src/Makefile.am
4296           src/dhcp-manager/Makefile.am
4297           src/ppp-manager/Makefile.am
4298           src/supplicant-manager/Makefile.am
4299           src/vpn-manager/Makefile.am
4300                 - Use consolidated marshallers
4301
4302 2008-04-04  Dan Williams  <dcbw@redhat.com>
4303
4304         * src/nm-hal-manager.c
4305           src/nm-hal-manager.h
4306                 - (hal_init): don't look for hardware here
4307                 - (nm_hal_manager_start): new function; look for hardware here instead,
4308                         which can be done at a later time than hal_init()
4309
4310         * src/NetworkManager.c
4311                 - (main): start HAL manager after entering the main loop
4312
4313 2008-04-03  Dan Williams  <dcbw@redhat.com>
4314
4315         * libnm-glib/nm-settings.c
4316           libnm-glib/nm-settings.h
4317             - (nm_exported_connection_get_id): new function
4318                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4319
4320 2008-04-02  Dan Williams  <dcbw@redhat.com>
4321
4322         * src/nm-device-interface.c
4323           src/nm-device-interface.h
4324           src/nm-device.c
4325           src/nm-device.h
4326                 - Rename check_connection_conflicts() to check_connection_compatible()
4327
4328         * src/nm-device-802-11-wireless.c
4329                 - (real_check_connection_conflicts): remove
4330                 - (real_check_connection_compatible): implement; match MAC address
4331
4332         * src/nm-device-802-3-ethernet.c
4333                 - (real_check_connection_conflicts): remove
4334                 - (real_check_connection_compatible): implement; match MAC address
4335                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4336
4337         * src/nm-manager.c
4338                 - (check_connection_allowed): remove; unused until PolicyKit integration
4339                 - (internal_activate_device): check whether the connection is compatible
4340                         with the device before trying to activate it
4341
4342 2008-04-02  Dan Williams  <dcbw@redhat.com>
4343
4344         * system-settings/plugins/ifcfg-fedora/parser.c
4345                 - (read_mac_address): new function; read in MAC address and stuff it
4346                         into the connection
4347                 - (add_one_wep_key): remove debug spew
4348                 - (make_wireless_security_setting): validate the default TX key; don't
4349                         add the wireless-security setting if the connection doesn't need
4350                         security; don't leak the keys shvarFile on error cases
4351                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4352                         address
4353
4354 2008-04-02  Dan Williams  <dcbw@redhat.com>
4355
4356         * libnm-util/nm-setting-connection.c
4357           libnm-util/nm-setting-connection.h
4358                 - (set_property, get_property, nm_setting_connection_class_init): remove
4359                         the 'lockdown' property; it's functionality will be replaced by
4360                         PolicyKit instead
4361
4362 2008-04-01  Dan Williams  <dcbw@redhat.com>
4363
4364         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4365
4366         * configure.in
4367           initscript/Makefile.am
4368           initscript/Mandriva/Makefile.am
4369           initscript/Mandriva/networkmanager.in
4370           initscript/Mandriva/networkmanagerdispatcher.in
4371           src/backends/Makefile.am
4372           src/backends/NetworkManagerMandriva.c
4373           system-settings/plugins/Makefile.am
4374                 - Add Mandriva support
4375
4376 2008-03-31  Dan Williams  <dcbw@redhat.com>
4377
4378         * src/vpn-manager/nm-vpn-service.c
4379                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4380                         errors can be passed back to the caller; also no longer scheduled
4381                         as an idle handler, but called directly; and bump up VPN service
4382                         spawn timeout, 2s is really short
4383                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4384                         but call it directly so that errors are reported on return from
4385                         ActivateConnection() and don't get lost.  If scheduled as an idle
4386                         handler, clients don't have the time to query NM for the new VPN
4387                         connection's properties before the VPN connection is torn down again
4388                         if the service couldn't be launched, and therefore launch errors
4389                         get lost.
4390
4391 2008-03-31  Dan Williams  <dcbw@redhat.com>
4392
4393         * src/vpn-manager/nm-vpn-connection.c
4394                 - (device_state_changed): send correct state on device failure too
4395                 - (plugin_state_changed): failed state means unexpected disconnection,
4396                         thus if the service goes away while the VPN connection is activated
4397                         that's a failure too
4398
4399 2008-03-31  Dan Williams  <dcbw@redhat.com>
4400
4401         * src/vpn-manager/nm-vpn-manager.c
4402           src/vpn-manager/nm-vpn-manager.h
4403                 - Make VPNManager errors more available; add a service-start-failed error
4404
4405 2008-03-31  Dan Williams  <dcbw@redhat.com>
4406
4407         * libnm-glib/nm-client.c
4408           libnm-glib/nm-client.h
4409                 - (activate_cb): pass the new active connection to callback; fix
4410                         message when no callback is specified
4411
4412 2008-03-30  Dan Williams  <dcbw@redhat.com>
4413
4414         * libnm-util/nm-setting-wireless-security.c
4415                 - (need_secrets): only require key0 if the transmit key index is also
4416                         0
4417                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4418
4419 2008-03-29  Dan Williams  <dcbw@redhat.com>
4420
4421         * libnm-util/nm-setting-8021x.c
4422           libnm-util/nm-setting-ip4-config.c
4423           libnm-util/nm-setting-vpn-properties.c
4424           libnm-util/nm-setting-vpn.c
4425           libnm-util/nm-setting-wireless-security.c
4426           libnm-util/nm-setting-wireless.c
4427           libnm-util/nm-utils.c
4428           src/dhcp-manager/nm-dhcp-manager.c
4429           src/nm-activation-request.c
4430           src/nm-ip4-config.c
4431           src/nm-manager.c
4432           src/nm-properties-changed-signal.c
4433           src/ppp-manager/nm-pppd-plugin.c
4434           src/supplicant-manager/nm-supplicant-interface.c
4435           src/vpn-manager/nm-vpn-connection.c
4436                 - consistently use nm-dbus-glib-types.h
4437
4438 2008-03-29  Dan Williams  <dcbw@redhat.com>
4439
4440         * src/vpn-manager/nm-vpn-connection.c
4441                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4442                         not string
4443
4444         * src/nm-activation-request.c
4445                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4446                         not string
4447
4448 2008-03-29  Dan Williams  <dcbw@redhat.com>
4449
4450         * libnm-glib/nm-device-802-11-wireless.c
4451                 - (access_point_added_proxy): create new APs if not found
4452
4453 2008-03-29  Dan Williams  <dcbw@redhat.com>
4454
4455         * libnm-glib/nm-client.c
4456                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4457                         before freeing them
4458
4459 2008-03-29  Dan Williams  <dcbw@redhat.com>
4460
4461         * system-settings/plugins/ifcfg-fedora/parser.c
4462                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4463                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4464
4465 2008-03-29  Dan Williams  <dcbw@redhat.com>
4466
4467         * system-settings/plugins/ifcfg-fedora/parser.c
4468                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4469
4470 2008-03-27  Dan Williams  <dcbw@redhat.com>
4471
4472         * nm-object.c
4473                 - (nm_object_queue_notify): don't notify multiple times for the same
4474                         property
4475
4476         * nm-object-private.h
4477                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4478                         if it has zero elements
4479
4480         * nm-ip4-config.c
4481                 - (finalize): use g_ptr_array_foreach() when freeing domains
4482                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4483
4484         * nm-active-connection.c
4485                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4486
4487         * nm-device-802-11-wireless.c
4488           nm-device-802-11-wireless.h
4489                 - (nm_device_802_11_wireless_get_access_points): return const; use
4490                         handle_ptr_array_return()
4491
4492         * nm-types.c
4493                 - (nm_object_array_demarshal): always create an array, even of length
4494                         zero, to distinguish between "NM returned no items" and "haven't
4495                         asked NM yet"
4496
4497         * nm-client.c
4498                 - (dispose): free active connections too
4499                 - (proxy_name_owner_changed): free active connections too when NM goes
4500                         away
4501                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4502                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4503
4504 2008-03-26  Dan Williams  <dcbw@redhat.com>
4505
4506         Rework VPN connection handling for a more consistent D-Bus API.  The
4507         VPNManager object has been removed, and active VPN connections are now the
4508         same as any other active connection.  The Manager object's ActivateConnection
4509         and DeactivateConnection methods are used to start and stop a VPN connection,
4510         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4511         When activating a VPN connection, pass the path of the active connection
4512         to which the VPN connection is tied in the 'specific_object' argument.
4513
4514         Consequently, the libnm-glib API has been reworked to match this arrangement,
4515         with the VPNManager object removed, and the NMVPNConnection objects now
4516         being subclasses of NMActiveConnection.
4517
4518 2008-03-25  Dan Williams  <dcbw@redhat.com>
4519
4520         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4521
4522         * initscript/Arch/networkmanager.in
4523           initscript/Arch/networkmanager-dispatcher.in
4524                 - Updates for Arch Linux (gnome.org #523701)
4525
4526 2008-03-25  Dan Williams  <dcbw@redhat.com>
4527
4528         * libnm-glib/nm-ip4-config.c
4529           libnm-glib/nm-active-connection.c
4530           libnm-glib/nm-access-point.c
4531                 - Use nm_object_queue_notify() instead of g_object_notify()
4532
4533         * libnm-glib/nm-device.c
4534                 - (demarshal_ip4_config): distinguish between successful but missing
4535                         ip4-config request, and unsuccessful and missing ip4-config request
4536                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4537                         path
4538                 - Use nm_object_queue_notify() instead of g_object_notify()
4539
4540         * libnm-glib/nm-device-802-11-wireless.c
4541                 - (demarshal_active_ap): distinguish between successfull but missing
4542                         active-ap request, and unsuccessful and missing active-ap request
4543                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4544                         code
4545                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4546                         for the NMClient to notify the device that wireless is disabled,
4547                         and therefore to clear the AP list and active AP
4548                 - Use nm_object_queue_notify() instead of g_object_notify()
4549
4550         * libnm-glib/nm-client.c
4551                 - (poke_wireless_devices_with_rf_status): new function
4552                 - (update_wireless_status): notify wireless devices of the rfkill status
4553                         so they can clean up if needed
4554                 - Use nm_object_queue_notify() instead of g_object_notify()
4555
4556 2008-03-25  Dan Williams  <dcbw@redhat.com>
4557
4558         * libnm-glib/nm-object.c
4559           libnm-glib/nm-object-private.h
4560                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4561                         signals to an idle handler
4562                 - (nm_object_get_property): add a timeout to the D-Bus method call
4563
4564 2008-03-25  Dan Williams  <dcbw@redhat.com>
4565
4566         * introspection/nm-device-cdma.xml
4567           introspection/nm-device-gsm.xml
4568           introspection/Makefile.am
4569           introspection/all.xml
4570                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4571
4572         * src/nm-gsm-device.h
4573           src/nm-gsm-device.c
4574           src/nm-cdma-device.h
4575           src/nm-cdma-device.c
4576           src/Makefile.am
4577                 - Implement PropertiesChanged signals
4578
4579         * libnm-glib/nm-cdma-device.c
4580           libnm-glib/nm-cdma-device.c
4581                 - Attach to PropertiesChanged signals
4582
4583 2008-03-24  Dan Williams  <dcbw@redhat.com>
4584
4585         * libnm-glib/nm-client.c
4586                 - (client_device_added_proxy): add new devices to the internal device
4587                         list so they appear to clients
4588
4589 2008-03-24  Dan Williams  <dcbw@redhat.com>
4590
4591         Massive fixup of libnm-glib to:
4592         a) have all objects (with the exception of VPN) cache their properties and
4593                 update them asynchronously on PropertiesChanged signals from NM
4594         b) return internal const data for most attributes/properties instead of
4595                 allocated values that the caller must free
4596         c) cache wrapped objects such that a given D-Bus path will always map to the
4597                 same GObject returned by libnm-glib
4598         d) remove a few signals and move them to GObject property notifications
4599         e) match recent NM D-Bus API changes for activation/deactivation
4600         f) remove some private functions from libnm-glib headers
4601
4602 2008-03-20  Dan Williams  <dcbw@redhat.com>
4603
4604         * src/nm-manager.c
4605                 - (nm_manager_update_state, manager_device_state_changed,
4606                    nm_manager_activate_device, connection_added_default_handler,
4607                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4608                         queue PropertyChanged singals when the active connections change
4609
4610 2008-03-20  Dan Williams  <dcbw@redhat.com>
4611
4612         * introspection/nm-manager.xml
4613           introspection/nm-manager-client.xml
4614                 - (ActivateConnection): return the object path of the active connection
4615                         on success
4616                 - (GetActiveConnections): remove
4617                 - (DeactivateConnection): new function; deactivate a currently active
4618                         connection
4619                 - Add an ActiveConnections property which returns an array of
4620                         active connection object paths
4621
4622         * introspection/nm-device.xml
4623                 - (Deactivate): remove
4624
4625         * introspection/all.xml
4626                 - Add ActiveConnection introspection
4627
4628         * introspection/nm-active-connection.xml
4629                 - Add the ActiveConnection object
4630
4631         * include/NetworkManager.h
4632                 - Add the Connection.Active D-Bus interface
4633
4634         * src/nm-device-interface.c
4635                 - (impl_device_deactivate): remove
4636
4637         * src/nm-activation-request.c
4638           src/nm-activation-request.c
4639           src/Makefile.am
4640                 - Implement the Connection.Active D-Bus interface
4641
4642         * src/nm-manager.c
4643                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4644                 - (nm_manager_activate_device): return the active connection path
4645                 - (connection_added_default_handler, impl_manager_activate_connection):
4646                         return the active connection to the caller
4647                 - (add_one_connection_element, impl_manager_get_active_connections):
4648                         remove
4649                 - (impl_manager_deactivate_connection): new function; deactivate an
4650                         active connection
4651
4652         * libnm-glib/nm-device.c
4653           libnm-glib/nm-device.h
4654                 - Remove Deactivate() function
4655
4656 2008-03-19  Dan Williams  <dcbw@redhat.com>
4657
4658         * introspection/nm-manager.xml
4659           introspection/nm-manager-client.xml
4660                 - Rename the ActivateDevice method to ActivateConnection to better
4661                         reflect it's usage; it's arguments get reordered a bit too
4662                 - Convert GetActiveConnections method return from a struct to a dict
4663
4664         * include/NetworkManager.h
4665                 - Define the dict keys for return value of GetActiveConnections
4666
4667         * src/nm-manager.c
4668                 - impl_manager_activate_device -> impl_manager_activate_connection
4669                 - (add_one_connection_element): return a populated hash table, not
4670                         a structure
4671
4672         * libnm-glib/nm-client.c
4673           libnm-glib/nm-client.h
4674                 - nm_client_activate_device -> nm_client_activate_connection
4675                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4676                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4677                         instead of the custom structures.  Each element of the returned list
4678                         must be freed with nm_client_free_active_connections_element()
4679
4680 2008-03-18  Dan Williams  <dcbw@redhat.com>
4681
4682         * system-settings/plugins/ifcfg-fedora/parser.c
4683           system-settings/plugins/ifcfg-fedora/parser.h
4684           system-settings/plugins/ifcfg-fedora/plugin.c
4685                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4686                         profiles.  DNS servers and searches must now be stored in the ifcfg
4687                         files themselves
4688
4689 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4690
4691         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4692         print out username and password, it's supposed to be a secret.
4693
4694         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4695         request and set the device state accordingly.
4696
4697 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4698
4699         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4700
4701         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4702
4703 2008-03-18  Dan Williams  <dcbw@redhat.com>
4704
4705         * src/vpn-manager/nm-vpn-connection.c
4706                 - (get_secrets_cb): handle new GetSecrets return format
4707
4708 2008-03-18  Dan Williams  <dcbw@redhat.com>
4709
4710         Adapt system settings service for split 802.1x.
4711
4712         * system-settings/src/nm-system-config-interface.h
4713                 - clarify return value of get_secrets()
4714
4715         * system-settings/src/dbus-settings.c
4716                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4717                 - (check_for_secrets): check if there actually secrets returned by a
4718                         plugin
4719                 - (exported_connection_get_secrets): just return the plugin-returned
4720                         hash of settings' secrets if it looks valid
4721
4722         * system-settings/plugins/ifcfg-fedora/plugin.c
4723                 - (get_secrets): add split secrets with correct format to reply hash
4724
4725         * system-settings/plugins/ifcfg-fedora/parser.c
4726           system-settings/plugins/ifcfg-fedora/parser.h
4727                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4728                    connection_data_free, connection_data_add): keep secrets for
4729                         different settings in different hashes
4730
4731 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4732
4733         Clean up activating device deactivation.
4734
4735         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4736         should be done whether the device activation gets cancelled or the device
4737         is just getting deactivated.
4738         (nm_device_activation_cancel): Remove.
4739         (nm_device_deactivate_quickly): Handle the case where device is activating.
4740
4741         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4742         It does the exact same thing as real_deactivate_quickly().
4743
4744 2008-03-17  Dan Williams  <dcbw@redhat.com>
4745
4746         Split the 802.1x bits out of the wireless-security setting so they are
4747         generalized enough for wired 802.1x to use too.
4748
4749         * introspection/nm-exported-connection.xml
4750                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4751                         of just a hash of the secrets for one setting
4752
4753         * libnm-util/nm-setting-wireless-security.c
4754           libnm-util/nm-setting-wireless-security.h
4755                 - Remove 802.1x-specific stuff
4756                 - Added leap-username and leap-password properties for old-school LEAP
4757
4758         * src/nm-device.c
4759           src/nm-device.h
4760                 - (connection_secrets_updated_cb): take a list of updated settings names,
4761                         not just one
4762
4763         * src/supplicant-manager/nm-supplicant-config.c
4764           src/supplicant-manager/nm-supplicant-config.h
4765                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4766                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4767                         to nm_supplicant_config_add_setting_8021x()
4768                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4769                         the supplicant config
4770
4771         * src/nm-device-802-11-wireless.c
4772                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4773                 - (real_connection_secrets_updated): take a list of updated settings
4774                         names, not just one
4775
4776         * src/nm-device-802-3-ethernet.c
4777           src/nm-cdma-device.c
4778           src/nm-gsm-device.c
4779                 - (real_connection_secrets_updated_cb): take a list of updated settings
4780                         names, not just one
4781
4782         * src/nm-activation-request.c
4783           src/nm-activation-request.h
4784                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4785                         now passes a list of updated settings names, not just one
4786                 - (update_one_setting): new function; handle one updated setting
4787                 - (get_secrets_cb): handle multiple settings returned from the
4788                         settings service; have to be careful of ordering here as there are
4789                         some dependencies between settings (ex. wireless-security and 802.1x
4790                         in some cases)
4791
4792         * src/marshallers/nm-marshal.list
4793                 - new marshaller for connection-secrets-updated signal
4794
4795         * libnm-util/nm-setting-8021x.c
4796                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4797                         methods
4798                 - (verify): a valid 'eap' property is now required
4799
4800         * libnm-util/nm-connection.c
4801                 - (register_default_settings): add priorities to settings; there are
4802                         some dependencies between settings, and during the need_secrets
4803                         calls this priority needs to be respected.  For example, only the
4804                         wireless-security setting knows whether or not the connection is
4805                         going to use 802.1x or now, so it must be asked for secrets before
4806                         any existing 802.1x setting is
4807                 - (nm_connection_lookup_setting_type): expose
4808
4809         * libnm-util/nm-setting-wireless.c
4810                 - (verify): should verify even if all_settings is NULL; otherwise won't
4811                         catch the case where there is missing security
4812
4813         * libnm-util/nm-setting-wireless-security.c
4814                 - Remove everything to do with 802.1x
4815                 - Add old-school LEAP specific properties for username and password
4816                 - (need_secrets): rework LEAP secrets checking
4817                 - (verify): rework for LEAP and 802.1x verification
4818
4819 2008-03-17  Dan Williams  <dcbw@redhat.com>
4820
4821         * src/NetworkManagerPolicy.c
4822                 - (auto_activate_device): always remove the current activation check
4823                         from the pending activation list, otherwise when the policy gets
4824                         destroyed on NM exit it will attempt to free the already freed
4825                         activation check
4826
4827 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4828
4829         * src/backends/NetworkManagerSlackware.c 
4830         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4831
4832         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4833
4834 2008-03-14  Dan Williams  <dcbw@redhat.com>
4835
4836         * src/nm-manager.c
4837                 - (nm_device_interface_get_iface): g_object_get() will return an
4838                         allocated value, so this function must not return const
4839                 - (nm_device_interface_activate): free returned iface
4840
4841 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4842
4843         * libnm-util/Makefile.am: Add new files to build.
4844
4845         * libnm-util/nm-connection.c: Register NMSetting8021x.
4846
4847         * libnm-util/nm-setting-8021x.c
4848         * libnm-util/nm-setting-8021x.h: Implement.
4849
4850 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4851
4852         * libnm-util/Makefile.am: Add new files to build.
4853
4854         * libnm-util/nm-connection.c: Register NMSetting8021x.
4855
4856         * libnm-util/nm-setting-8021x.c
4857         * libnm-util/nm-setting-8021x.h: Implement.
4858
4859 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4860
4861         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4862         data.
4863
4864 2008-03-14  Dan Williams  <dcbw@redhat.com>
4865
4866         * include/wireless-helper.h
4867           include/Makefile.am
4868                 - One place for all the junk needed for #including wireless.h
4869
4870         * test/nm-tool.c
4871           src/NetworkManagerAP.c
4872           src/wpa.c
4873           src/Makefile.am
4874           libnm-util/nm-utils.c
4875           libnm-util/nm-setting-wireless.c
4876           libnm-glib/nm-device-802-11-wireless.c
4877           libnm-glib/nm-access-point.c
4878           libnm-glib/libnm-glib-test.c
4879                 - include wireless-helper.h, not iwlib.h
4880
4881         * configure.in
4882                 - Don't need libiw really, just need to check for wireless.h
4883
4884         * src/kernel-types.h
4885                 - Remove; used types moved into wpa.c
4886
4887         * src/nm-device-802-11-wireless.c
4888                 - (nm_device_802_11_wireless_update_signal_strength,
4889                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4890                    nm_device_802_11_wireless_set_mode,
4891                    nm_device_802_11_wireless_get_frequency,
4892                    nm_device_802_11_wireless_get_ssid,
4893                    nm_device_802_11_wireless_set_ssid,
4894                    nm_device_802_11_wireless_get_bitrate,
4895                    nm_device_802_11_wireless_get_bssid,
4896                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4897                         instead of iwlib functions
4898
4899 2008-03-14  Dan Williams  <dcbw@redhat.com>
4900
4901         * src/ppp-manager/nm-ppp-manager.c
4902                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4903                         should only take the DBusGMethodInvocation argument, not user/pass
4904                         too.  With dbus-glib, async functions only take 2 C arguments since
4905                         the real dbus method arguments get passed back with
4906                         dbus_g_method_return()
4907
4908 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4909
4910         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4911         Adapt the changes of NMSettingIP4Config.
4912
4913 2008-03-13  Dan Williams  <dcbw@redhat.com>
4914
4915         * src/NetworkManagerUtils.c
4916           src/NetworkManagerUtils.h
4917                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4918
4919         * src/NetworkManagerAP.c
4920           src/nm-device-802-11-wireless.c
4921           src/nm-device-802-3-ethernet.c
4922                 - s/iw_ether_ntop/nm_ether_ntop/g
4923
4924 2008-03-13  Dan Williams  <dcbw@redhat.com>
4925
4926         * src/NetworkManagerPolicy.c
4927                 - (update_routing_and_dns): never set the default route through an
4928                         IPv4LL addressed device
4929
4930 2008-03-13  Dan Williams  <dcbw@redhat.com>
4931
4932         * NetworkManagerUtils.c
4933           NetworkManagerUtils.h
4934                 - Remove NMSock stuff
4935                 - Remove the completion stuff
4936
4937         * nm-device.c
4938           nm-device.h
4939           NetworkManager.c
4940           NetworkManagerSystem.c
4941           autoip.c
4942           nm-device-802-11-wireless.c
4943           nm-device-802-3-ethernet.c
4944                 - Remove NMSock and completion stuff
4945                 - Remove nm_ioctl_info()
4946
4947 2008-03-12  Dan Williams  <dcbw@redhat.com>
4948
4949         * src/nm-device.c
4950                 - (merge_ip4_config): avoid duplicates
4951
4952 2008-03-12  Dan Williams  <dcbw@redhat.com>
4953
4954         * libnm-util/nm-setting-ip4-config.c
4955           libnm-util/nm-setting-ip4-config.h
4956                 - Remove 'manual' and 'autoip' properties
4957                 - Add 'method' property
4958                 - (verify): fix verification with 'method'
4959                 - (finalize): free 'method'
4960                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4961                         up for 'method'
4962
4963         * src/nm-device.c
4964                 - (real_act_stage3_ip_config_start): check IP4Config method
4965                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4966                         the future
4967                 - (merge_ip4_config): IP settings are valid with DHCP too
4968                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4969                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4970
4971         * src/nm-device-802-11-wireless.c
4972                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4973                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4974                         only on demand
4975
4976         * system-settings/plugins/ifcfg-fedora/parser.c
4977           system-settings/plugins/ifcfg-suse/parser.c
4978                 - (make_ip4_setting): fix up for 'method'
4979
4980 2008-03-12  Dan Williams  <dcbw@redhat.com>
4981
4982         * system-settings/plugins/ifcfg-fedora/parser.c
4983           system-settings/plugins/ifcfg-fedora/parser.h
4984                 - (get_ifcfg_name): ignore more file suffixes
4985                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4986
4987 2008-03-12  Dan Williams  <dcbw@redhat.com>
4988
4989         * configure.in
4990                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4991
4992 2008-03-12  Dan Williams  <dcbw@redhat.com>
4993
4994         * system-settings/plugins/ifcfg-fedora/plugin.c
4995                 - (write_auto_wired_connection): new function; write out an auto
4996                         wired connection file since the applet isn't doing it any more
4997                 - (reload_all_connections): write out the auto wired connection file
4998                         if there aren't any wired connections already
4999                 - (init): don't leak a GError
5000
5001 2008-03-12  Dan Williams  <dcbw@redhat.com>
5002
5003         * src/nm-device-interface.c
5004                 - (nm_device_interface_activate): print the ID of the connection
5005                         that's about to be activated
5006
5007 2008-03-12  Dan Williams  <dcbw@redhat.com>
5008
5009         Harmonize the 802.11 bitrate API
5010
5011         * introspection/nm-access-point.xml
5012                 - 'Rate' -> 'MaxBitrate'; clarify units
5013
5014         * introspection/nm-device-802-11-wireless.xml
5015                 - Clarify units of 'Bitrate'
5016
5017         * src/NetworkManagerAP.c
5018           src/NetworkManagerAP.h
5019                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5020                         property to 'max-bitrate'
5021                 - (foreach_property_cb): convert rate to Kb/s
5022
5023         * src/nm-device-802-11-wireless.c
5024                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5025
5026         * libnm-glib/nm-access-point.c
5027           libnm-glib/nm-access-point.h
5028                 - 'rate' -> 'max-bitrate'
5029
5030         * test/nm-tool.c
5031           libnm-glib/libnm-glib-test.c
5032                 - Fix up for these changes
5033
5034 2008-03-12  Dan Williams  <dcbw@redhat.com>
5035
5036         * src/nm-device.c
5037                 - (nm_device_set_ip4_config): don't send property notifications when
5038                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5039                         which dbus-glib can't parse because the value is NULL, which isn't
5040                         a legal object path.  Setting the IP4 config to NULL is only
5041                         valid when deactivating a device anyway, so the device state change
5042                         will alert listeners that the ip4 config is invalid.
5043
5044 2008-03-12  Dan Williams  <dcbw@redhat.com>
5045
5046         * src/nm-properties-changed-signal.c
5047                 - (add_to_string): better handling of NULL objects
5048
5049 2008-03-12  Dan Williams  <dcbw@redhat.com>
5050
5051         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5052         convert the libnm-glib NMDevice8023Ethernet to cached properties
5053
5054         * introspection/nm-device-802-3-ethernet.xml
5055                 - New 'Carrier' property
5056                 - New 'PropertiesChanged' signal
5057
5058         * introspection/nm-device.xml
5059                 - Remove 'Carrier' property
5060                 - Remove 'CarrierChanged' signal
5061
5062         * src/nm-device-interface.c
5063           src/nm-device-interface.h
5064                 - (nm_device_interface_init): remove 'carrier' property and
5065                         'carrier-changed' signal
5066
5067         * src/nm-device.c
5068           src/nm-device.h
5069                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5070                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5071                         the link here; wired device will handle that
5072                 - (handle_dhcp_lease_change): don't bother updating link here
5073                 - (get_property, nm_device_class_init): remove carrier property
5074
5075         * src/nm-device-802-11-wireless.c
5076                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5077                         real_update_link(); wireless devices don't use carrier at all
5078                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5079                    supplicant_iface_connection_state_cb_handler,
5080                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5081
5082         * src/nm-device-802-3-ethernet.c
5083           src/nm-device-802-3-ethernet.h
5084                 - (nm_device_802_3_ethernet_carrier_on,
5085                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5086                         instead of nm_device_set_carrier()
5087                 - (device_state_changed): update link from sysfs on activation;
5088                         replaces real_update_link()
5089                 - (real_update_link): remove, replaced by device_state_changed()
5090                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5091                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5092                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5093                         new get_carrier function
5094                 - (get_property): add 'carrier' property
5095                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5096                         hook into property-changed signal helper
5097
5098         * src/NetworkManagerPolicy.c
5099                 - (device_carrier_changed): will only ever be called with a wired device
5100                 - (device_added): only hook up to carrier-changed for wired devices
5101
5102         * libnm-glib/nm-device.c
5103           libnm-glib/nm-device.h
5104                 - (constructor, nm_device_class_init): remove carrier-changed signal
5105                 - (device_carrier_changed_proxy): remove; unused
5106                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5107
5108         * libnm-glib/nm-device-802-3-ethernet.c
5109           libnm-glib/nm-device-802-3-ethernet.h
5110                 - Convert to cached properties like AP and Wireless objects
5111                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5112                         instead of a 'char *', return value should not be freed
5113                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5114                 - (constructor): hook into properties-changed helper
5115                 - (set_property, get_property): new functions
5116                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5117
5118         * test/nm-tool.c
5119                 - (detail_device): strdup the wired hardware address too since it's
5120                         cached now
5121
5122         * libnm-glib/libnm-glib-test.c
5123                 - (dump_wired): strdup the wired hardware address too since it's
5124                         cached now
5125
5126 2008-03-12  Dan Williams  <dcbw@redhat.com>
5127
5128         * libnm-util/nm-setting-ip4-config.c
5129           libnm-util/nm-setting-ip4-config.h
5130                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5131                         the 'autoip' property from the spec
5132
5133 2008-03-11  Dan Williams  <dcbw@redhat.com>
5134
5135         * src/backends/NetworkManagerGeneric.c
5136           src/backends/NetworkManagerGeneric.h
5137                 - (nm_generic_device_get_use_dhcp): remove
5138
5139 2008-03-11  Dan Williams  <dcbw@redhat.com>
5140
5141         * src/nm-device.c
5142                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5143                         already in nm_device_set_ip4_config()
5144                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5145                         due to a DHCP rebind fails
5146                 - (nm_device_set_ip4_config): send property notifications when the
5147                         ip4 config changes
5148                 - (get_property): only report IP4Config property during valid states
5149
5150         * src/NetworkManagerPolicy.c
5151                 - (update_routing_and_dns): ignore devices that don't have an ip4
5152                         config; add parameter 'force_update' to allow callers to specify
5153                         that changes should be made even if the default device doesn't change
5154                 - (device_ip4_config_changed): update DNS and routing when the device's
5155                         IP4Config changes, like for DHCP updates
5156                 - (device_added): listen for ip4-config property changes
5157
5158 2008-03-11  Dan Williams  <dcbw@redhat.com>
5159
5160         Fix address handling as a result of DHCP rebind/renew/reboot.
5161
5162         * src/NetworkManagerSystem.c
5163                 - (check_one_address): delete an address if it doesn't match a given
5164                         one for the same interface
5165                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5166                         be smarter about flushing addresses (only flush ones that don't
5167                         match the one we're about to apply)
5168
5169         * src/backends/NetworkManagerDebian.c
5170           src/backends/NetworkManagerSuSE.c
5171           src/backends/NetworkManagerArch.c
5172           src/backends/NetworkManagerSlackware.c
5173           src/backends/NetworkManagerRedHat.c
5174           src/backends/NetworkManagerPaldo.c
5175           src/backends/NetworkManagerFrugalware.c
5176           src/backends/NetworkManagerGentoo.c
5177                 - (nm_system_delete_default_route): remove
5178
5179         * src/backends/NetworkManagerGeneric.c
5180           src/backends/NetworkManagerGeneric.h
5181                 - (nm_generic_enable_loopback): fix the loopback device label
5182                 - (nm_generic_delete_default_route): remove; no longer used
5183
5184 2008-03-11  Dan Williams  <dcbw@redhat.com>
5185
5186         * src/nm-device-interface.h
5187                 - Delimit property name words with '-', otherwise g_object_notify()
5188                         doesn't work the way we expect
5189
5190 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5191
5192         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5193
5194 2008-03-11  Dan Williams  <dcbw@redhat.com>
5195
5196         * src/NetworkManagerPolicy.c
5197                 - (update_routing_and_dns): don't change anything if the default device
5198                         hasn't changed; print something out when switching the default route
5199                         and DNS
5200
5201 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5202
5203         Implement PPPoE.
5204
5205         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5206         setting. Use "nic-$eth".
5207
5208         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5209         the device is activating here to fix a race condition.
5210
5211         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5212
5213         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5214         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5215         (nm_ppp_manager_start): Take activation request instead of connection, we might
5216         need it for asking secrets.
5217         (nm_ppp_manager_update_secrets): Implement.
5218
5219         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5220         ppp manager start. It might be needed for asking secrets.
5221
5222         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5223         (ppp_state_changed): Handle pppd daemon disappearing.
5224         (pppoe_stage2_config): Send activation request to ppp manager start.
5225
5226         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5227
5228         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5229         username and password.
5230         
5231 2008-03-10  Dan Williams  <dcbw@redhat.com>
5232
5233         * src/nm-device.c
5234                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5235                         response to a DHCP lease change
5236                 - (dhcp_state_changed): handle DHCP lease changes while activated
5237                 - (nm_device_set_ip4_config): remove a previously set named config
5238                         when setting an ip4 config
5239
5240 2008-03-10  Dan Williams  <dcbw@redhat.com>
5241
5242         * src/nm-serial-device.c
5243                 - (nm_serial_device_send_command): report errno on error
5244                 - (get_reply_got_data): limit the size of the overall buffer
5245                 - (wait_for_reply_info_destroy): destroy result string
5246                 - (wait_for_reply_got_data): append received data to an overall buffer
5247                         until timeout, filled buffer, or error instead of keeping a per-call
5248                         buffer.  Some devices send data slowly enough that this function
5249                         gets called multiple times for the same command stream.
5250                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5251                         wait_for_reply_got_data() here
5252
5253 2008-03-10  Dan Williams  <dcbw@redhat.com>
5254
5255         * src/nm-cdma-device.c
5256                 - (do_dial, init_modem): handle errors from
5257                         nm_serial_device_send_command_string()
5258
5259         * src/nm-gsm-device.c
5260                 - (do_dial, manual_registration, automatic_registration_get_network,
5261                    automatic_registration, enter_pin, check_pin, init_modem): handle
5262                         errors from nm_serial_device_send_command_string()
5263
5264 2008-03-10  Dan Williams  <dcbw@redhat.com>
5265
5266         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5267
5268         * src/named-manager/nm-named-manager.c
5269                 - (compute_searches): prefer searches before domains
5270                 - (compute_domain): new function
5271                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5272                 - (merge_one_ip4_config): if there are no searches in the source config,
5273                         merge domains of the source config into the target config
5274                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5275
5276 2008-03-10  Dan Williams  <dcbw@redhat.com>
5277
5278         * src/nm-serial-device.c
5279                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5280                 - (wait_for_reply_got_data): try to handle slower serial devices where
5281                         the reply is broken up into multiple reads by concatenating replies
5282                         together until either an error is received or the search string is
5283                         found
5284
5285 2008-03-10  Dan Williams  <dcbw@redhat.com>
5286
5287         * src/nm-device.c
5288                 - (nm_device_bring_down): deactivate the device if it's activating too,
5289                         not just if it's already activated.  This makes sure that everything
5290                         from an association attempt is cleaned up (like DHCP for example)
5291
5292 2008-03-10  Dan Williams  <dcbw@redhat.com>
5293
5294         * src/nm-serial-device.c
5295                 - (config_fd): report error from TCSETA
5296                 - (nm_serial_device_open): fail when config_fd() fails
5297
5298 2008-03-10  Dan Williams  <dcbw@redhat.com>
5299
5300         * src/nm-ip4-config.c
5301                 - (nm_ip4_config_init): allocate searches list
5302                 - (finalize): free searches list
5303
5304 2008-03-09  Dan Williams  <dcbw@redhat.com>
5305
5306         Patch from Bas Zoetekouw <bas@debian.org>
5307
5308         * src/dhcp-manager/nm-dhcp-manager.c
5309                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5310
5311 2008-03-09  Dan Williams  <dcbw@redhat.com>
5312
5313         Patch from Bas Zoetekouw <bas@debian.org>
5314
5315         * src/nm-ip4-config.c
5316           src/nm-ip4-config.h
5317                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5318                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5319                         domains.  'searches' is the correct way to store multiple search
5320                         domains, whereas 'domains' is really just supposed to store one
5321                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5322                         search domains to the client.
5323                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5324
5325 2008-03-09  Dan Williams  <dcbw@redhat.com>
5326
5327         * src/dhcp-manager/nm-dhcp-manager.c
5328                 - (dhclient_run): send interface-specific config files to dhclient
5329
5330 2008-03-07  Dan Williams  <dcbw@redhat.com>
5331
5332         * system-settings/plugins/ifcfg-fedora/parser.c
5333                 - (is_wireless_device): new function; test a device for wireless
5334                         extensions
5335                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5336                         test the device for wireless extensions to determine the type
5337
5338 2008-03-07  Dan Williams  <dcbw@redhat.com>
5339
5340         Change manager's StateChange signal to StateChanged for consistency.
5341
5342         * introspection/nm-manager.xml
5343                 - Add 'StateChanged' signal
5344                 - Move 'StateChange' down to the deprecated section
5345
5346         * src/nm-hal-manager.c
5347                 - (nm_hal_manager_new): connect to 'state-changed' instead
5348
5349         * src/NetworkManagerPolicy.c
5350                 - (nm_policy_new): connect to 'state-changed' instead
5351
5352         * src/nm-manager.c
5353           src/nm-manager.h
5354                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5355                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5356                         of 'state-change'
5357
5358         * libnm-glib/nm-client.c
5359           libnm-glib/nm-client.h
5360                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5361                         track and proxy 'state-changed' instead of 'state-change'
5362
5363 2008-03-07  Dan Williams  <dcbw@redhat.com>
5364
5365         First pass of multiple active device support.  Expect bugs.
5366
5367         * src/nm-ip4-config.c
5368           src/nm-ip4-config.h
5369                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5370                         there are better ways to do this in the named manager
5371
5372         * src/nm-device.c
5373           src/nm-device.h
5374                 - (nm_device_can_activate): return whether the device can activate a
5375                         connection right now; taking into account things like carrier state
5376                         and rfkill state
5377                 - (nm_device_get_best_auto_connection): renamed from
5378                         nm_device_get_best_connection
5379                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5380                         device subclasses themselves, so that each device can override the
5381                         MTU from it's NMSetting subclass if needed
5382                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5383                         in NetworkManagerSystem.c, not here
5384
5385         * src/named-manager/nm-named-manager.c
5386           src/named-manager/nm-named-manager.h
5387                 - (nm_named_manager_name_owner_changed,
5388                    nm_named_manager_dbus_connection_changed): fix for changes to
5389                         rewrite_resolv_conf()
5390                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5391                         from parameter list
5392                 - (merge_one_ip4_config): new function; merge ip4 configs together
5393                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5394                         ip4 configs; the VPN config takes precedence, then the best
5395                         device config, then the rest of the configs
5396                 - (get_domain_for_config): take the NMNamedManager as an argument
5397                         to check whether the config is the VPN config
5398                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5399                         attribute from ip4 configs
5400                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5401                 - (remove_ip4_config_from_named): fix for changes to
5402                         get_domain_for_config()
5403                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5404                         based on its type; callers must pass in the type now
5405                 - (get_last_default_domain): remove, unused
5406                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5407
5408         * src/nm-device-802-11-wireless.c
5409                 - (real_can_activate): new function
5410                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5411                 - (real_act_stage4_get_ip4_config): handle MTU override
5412
5413         * src/nm-device-802-3-ethernet.c
5414                 - (real_can_activate): new function
5415                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5416                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5417
5418         * src/vpn-manager/nm-vpn-connection.c
5419                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5420                         attribute on the ip4 config
5421
5422         * src/NetworkManagerPolicy.c
5423                 - (nm_policy_auto_get_best_device): remove
5424                 - (nm_policy_device_change_check): remove
5425                 - (update_default_route): new function; set the default route via
5426                         the specified device
5427                 - (get_device_priority): new function; return the priority number of
5428                         a device type WRT which one should have the default route.  Order is
5429                         (highest to lowest)  wired, wireless, GSM, CDMA.
5430                 - (update_routing_and_dns): new function; determine which device should
5431                         have the default route, then update the routing table and DNS
5432                 - (maybe_auto_activate_device): new function; if a device is now
5433                         available for activation, find out what connection it would like to
5434                         activate and do it
5435                 - (schedule_activate_check): new function; if a device can be activated
5436                         now, schedule the activation.  Each device may have only one
5437                         pending activation at a given time.
5438                 - (device_state_changed): if activation was canceled, try again,
5439                         possibly with another connection; if the device was activated,
5440                         update routing and DNS; if the device was deactivated, try again
5441                         with another connection
5442                 - (device_carrier_changed): if there is no carrier, deactivate the
5443                         device; otherwise schedule an activation check for the device
5444                 - (wireless_networks_changed): schedule an activation check for the
5445                         device
5446                 - (device_added): keep track of the signal handler IDs so they can
5447                         be removed when the device goes away
5448                 - (device_removed): remove any signal handlers that might be attached
5449                         to the device; update routing and DNS
5450                 - (schedule_activate_all): new function
5451                 - (connections_added, connection_added, connection_updated): when
5452                         connections change, schedule all devices for an activation check
5453                 - (connection_removed): when a device is deactivated because its
5454                         connection was removed, schedule another activation check for it
5455                 - (nm_policy_destroy): destroy pending activations and disconnect
5456                         all device signal handlers
5457
5458         * src/nm-manager.c
5459                 - (nm_manager_activate_device): if the device was already actived,
5460                         deactivate it
5461                 - (deactivate_old_device): remove
5462                 - (connection_added_default_handler, impl_manager_activate_device):
5463                         don't deactivate other devices when activating this one
5464
5465         * src/backends/NetworkManagerGentoo.c
5466           src/backends/NetworkManagerFrugalware.c
5467           src/backends/NetworkManagerPaldo.c
5468           src/backends/NetworkManagerRedHat.c
5469           src/backends/NetworkManagerSlackware.c
5470           src/backends/NetworkManagerArch.c
5471           src/backends/NetworkManagerSuSE.c
5472           src/backends/NetworkManagerDebian.c
5473                 - (nm_system_get_mtu): remove; MTU should be provided through the
5474                         distro's system settings service plugin instead
5475                 - (nm_system_device_add_default_route_via_device): remove
5476                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5477                 - (nm_system_device_replace_default_route): new function; call
5478                         generic implementation
5479
5480         * src/backends/NetworkManagerGeneric.c
5481           src/backends/NetworkManagerGeneric.h
5482                 - (nm_generic_device_add_default_route_via_device,
5483                    nm_generic_device_add_default_route_via_device_with_iface): remove
5484                 - (nm_generic_device_replace_default_route): replace the default route
5485                         with the given route via some gateway
5486
5487         * src/NetworkManagerSystem.c
5488           src/NetworkManagerSystem.h
5489                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5490                         to routing and DNS; but set the MTU here
5491                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5492                         ip_iface of the active device; use the standard MTU setting function
5493                 - (nm_system_set_mtu): remove
5494                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5495
5496 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5497
5498         Rework the interaction between ppp manager and pppd plugin. Register a well
5499         known DBUS service in manager and let the plugin call it's methods instead
5500         of listening plugin's signals.
5501
5502         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5503         of emitting signals.
5504
5505         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5506
5507         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5508
5509         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5510         nm_ppp_manager_start().
5511
5512         * introspection/nm-ppp-manager.xml: New file.
5513
5514         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5515         the case correctly where driver is trying to send -1 for the speed, which gets
5516         casted to u16 and thus is always > 0.
5517
5518 2008-03-07  Dan Williams  <dcbw@redhat.com>
5519
5520         * src/nm-hal-manager.c
5521                 - (nm_get_device_driver_name): use net.originating_device first, fall
5522                         back to physical device.  HAL has deprecated physical_device.
5523
5524         * libnm-glib/nm-device.c
5525                 - (get_product_and_vendor): use net.originating_device first, fall
5526                         back to physical device.  HAL has deprecated physical_device.
5527                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5528
5529 2008-03-07  Dan Williams  <dcbw@redhat.com>
5530
5531         * src/nm-netlink.c
5532                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5533                         last commit; fix that
5534                 - (get_link_cache): print error string
5535
5536 2008-03-07  Dan Williams  <dcbw@redhat.com>
5537
5538         * src/nm-netlink.c
5539                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5540                         don't need this hack any more (Benoit Boissinot)
5541
5542 2008-03-06  Dan Williams  <dcbw@redhat.com>
5543
5544         * autogen.sh
5545                 - Die gnome-common, die
5546
5547 2008-03-04  Dan Williams  <dcbw@redhat.com>
5548
5549         Patch from Michael Biebl <biebl@debian.org>
5550
5551         * NetworkManager.pc.in
5552                 - doesn't actually depend on dbus-1
5553
5554         * libnm-util/nm-utils.h
5555                 - remove unused #include <dbus/dbus.h>
5556
5557         * libnm-glib/libnm_glib.pc.in
5558                 - depends on glib and dbus-glib
5559
5560 2008-03-02  Dan Williams  <dcbw@redhat.com>
5561
5562         * src/NetworkManagerPolicy.c
5563                 - s/device_state_changed_idle_id/update_state_id/
5564
5565 2008-03-02  Dan Williams  <dcbw@redhat.com>
5566
5567         * src/nm-device.c
5568           src/nm-device.h
5569           src/nm-device-802-11-wireless.c
5570           src/nm-device-802-3-ethernet.c
5571           src/NetworkManagerPolicy.c
5572                 - s/link_active/carrier
5573                 - nm_device_set_active_link() -> nm_device_set_carrier()
5574                 - nm_device_has_active_link() -> nm_device_get_carrier()
5575
5576 2008-03-02  Dan Williams  <dcbw@redhat.com>
5577
5578         * system-settings/plugins/ifcfg-fedora/parser.c
5579                 - (make_wireless_setting): fail connection creation on missing SSID
5580
5581 2008-02-29  Dan Williams  <dcbw@redhat.com>
5582
5583         * src/NetworkManagerPolicy.c
5584                 - (nm_policy_device_change_check): ensure that a previously active
5585                         device with a system connection has a link before denying a switch
5586                         to a user connection
5587
5588 2008-02-29  Dan Williams  <dcbw@redhat.com>
5589
5590         * src/nm-device-802-11-wireless.c
5591                 - (link_timeout_cb): try again if scanning; deactivate the device when
5592                         activated if the link dies
5593                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5594                         15 seconds
5595
5596 2008-02-29  Dan Williams  <dcbw@redhat.com>
5597
5598         * src/nm-device-802-11-wireless.c
5599           src/nm-device-802-11-wireless.h
5600                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5601                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5602                 - (device_cleanup): reset the scan interval lower when the device
5603                         deactivates
5604                 - (can_scan): base decision mostly off device state, not supplicant
5605                         interface state since the supplicant interface state isn't a
5606                         great indicator of whether the device is active or not
5607                 - (request_wireless_scan): clean up; schedule the next scan here
5608                 - (schedule_scan): only back the scan interval off if a new scan
5609                         actually gets scheduled; and make scan intervals tighter when the
5610                         device is disconnected
5611                 - (supplicant_iface_state_cb_handler): fold in the bits of
5612                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5613                         interval to minimum
5614                 - (activation_success_handler): reset scan interval to something
5615                         reasonable 
5616
5617 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5618
5619         reviewed by: Steev <steev@steev.net>
5620
5621         * configure.in:
5622         * src/backends/NetworkManagerGentoo.c:
5623         (nm_system_restart_mdns_responder):
5624                 Howl is no longer a supported mDNS provider
5625
5626 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5627
5628         Get rid of a bunch of unused distro specific functions.
5629
5630 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5631
5632         Implement suse plugin for system settings daemon.
5633
5634         * system-settings/plugins/ifcfg-suse/*: Implement.
5635
5636         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5637         suse.
5638
5639         * configure.in: Check (without failing) for gio.
5640         Create ifcfg-suse plugin's Makefile.
5641
5642 2008-02-20  Dan Williams  <dcbw@redhat.com>
5643
5644         * libnm-util/nm-connection.c
5645           libnm-util/nm-connection.h
5646                 - (nm_connection_compare): accept compare flags and pass them to the
5647                         setting compare function
5648
5649         * libnm-util/nm-setting.c
5650           libnm-util/nm-setting.h
5651                 - (nm_setting_compare): accept compare flags; ignore properties that are
5652                         marked fuzzy
5653
5654         * libnm-util/nm-setting-connection.c
5655           libnm-util/nm-setting-wireless.c
5656           libnm-util/nm-setting-ppp.c
5657           libnm-util/nm-setting-wired.c
5658                 - Mark some setting properties as ignorable when doing a fuzzy compare
5659
5660         * src/nm-device.c
5661                 - (device_activation_precheck): use exact compare
5662
5663 2008-02-20  Dan Williams  <dcbw@redhat.com>
5664
5665         * src/NetworkManagerPolicy.c
5666                 - (nm_policy_device_change_check): get scope off the connection, not
5667                         using the manager helper
5668
5669         * src/nm-manager.c
5670           src/nm-manager.h
5671                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5672                 - (connection_get_settings_cb): set scope and path on connection, not
5673                         using GObject data items
5674                 - (get_connection_for_proxy): don't need to return path, since that
5675                         can be gotten from the connection
5676                 - (get_connection_for_proxy): get path off the connection, not from
5677                         parameters
5678                 - (connection_removed_cb, connection_updated_cb): don't need to get
5679                         path from get_connection_for_proxy(); get scope off the connection
5680                         instead of using GObject data items
5681                 - (connection_added_default_handler, add_one_connection_element): use
5682                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5683                 - (nm_manager_get_connection_dbus_path): remove
5684                 - (nm_manager_get_connection_scope): remove
5685
5686 2008-02-20  Dan Williams  <dcbw@redhat.com>
5687
5688         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5689                 on confusing names
5690
5691         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5692                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5693                 NMExportedConnection
5694
5695         * Internally rename NMConnectionType -> NMConnectionScope
5696
5697         * Provide default implementations of the 'get_id' and 'get_settings' methods
5698                 of NMExportedConnection
5699
5700 2008-02-15  Dan Williams  <dcbw@redhat.com>
5701
5702         * src/nm-device-802-11-wireless.c
5703                 - (device_cleanup): release the AP list here too so that the AP list
5704                         doesn't survive across suspend/resume and up/down.  There is some
5705                         room for optimization, for example blow the list away when the card
5706                         brought back up, but only if the device has only been down for a
5707                         minute or more.
5708
5709 2008-02-15  Dan Williams  <dcbw@redhat.com>
5710
5711         * src/nm-hal-manager.c
5712                 - (modem_device_creator): recognize new HAL modem capabilities
5713
5714 2008-02-12  Dan Williams  <dcbw@redhat.com>
5715
5716         * system-settings/plugins/ifcfg-fedora/plugin.c
5717                 - (watch_path): handle IN_DELETE_SELF too
5718                 - (handle_connection_changed): notify when removing a connection
5719                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5720                         case of a file moving out of the profile directory
5721
5722 2008-02-12  Dan Williams  <dcbw@redhat.com>
5723
5724         * system-settings/plugins/ifcfg-fedora/parser.c
5725                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5726
5727 2008-02-12  Dan Williams  <dcbw@redhat.com>
5728
5729         * libnm-util/nm-utils.c
5730                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5731                         just any empty array
5732
5733 2008-02-12  Dan Williams  <dcbw@redhat.com>
5734
5735         * system-settings/src/nm-system-config-interface.c
5736           system-settings/src/nm-system-config-interface.h
5737                 - (load_connections): get_connections() should now return an allocated
5738                         GSList that the system settings service will free
5739
5740         * system-settings/plugins/ifcfg-fedora/plugin.c
5741           system-settings/plugins/ifcfg-fedora/parser.h
5742           system-settings/plugins/ifcfg-fedora/parser.c
5743                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5744                         in the profile directory, handle resolv.conf file changes
5745
5746 2008-02-10  Dan Williams  <dcbw@redhat.com>
5747
5748         * src/nm-device-802-3-ethernet.c
5749                 - (real_bring_up): save the supplicant interface state signal id
5750                 - (real_bring_down): disconnect from the supplicant interface state
5751                         signal
5752
5753 2008-02-07  Dan Williams  <dcbw@redhat.com>
5754
5755         * initscript/RedHat/NetworkManager.in
5756           initscript/RedHat/NetworkManagerDispatcher.in
5757                 - Add new-style LSB init headers
5758
5759 2008-02-07  Dan Williams  <dcbw@redhat.com>
5760
5761         * system-settings/src/dbus-settings.c
5762           system-settings/src/dbus-settings.h
5763                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5764                         table of secrets
5765                 - (connection_settings_get_secrets): consolidate error returns into
5766                         one place; use the new get_secrets() plugin interface function to
5767                         get secrets from the plugin itself rather than using GObject data
5768                         magic
5769
5770         * system-settings/src/main.c
5771                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5772                    load_connections): keep a private list of the plugin-returned
5773                         connections, don't use the plugin's GSList
5774
5775         * system-settings/plugins/ifcfg-fedora/plugin.c
5776                 - (watch_path): watch the path, not the filename (duh)
5777                 - (reload_all_connections): use the direct hash/equal functions; the
5778                         ones for int aren't appropriate here
5779                 - (get_secrets, system_config_interface_init): implement the
5780                         get_secrets() function
5781                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5782                         now in the connection's ConnectionData instead of being a GObject
5783                         data property
5784                 - (handle_profile_item_changed): ifcfg file path is now in the
5785                         connection's ConnectionData instead of being a GObject data property;
5786                         be sure to copy secrets over from the new connection to the existing
5787                         connection when updating the connection's settings
5788                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5789                         file descriptor
5790
5791         * system-settings/plugins/ifcfg-fedora/parser.c
5792           system-settings/plugins/ifcfg-fedora/parser.h
5793                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5794                    connection_data_copy_secrets, connection_data_free,
5795                    connection_data_add): new functions; connection data manipulation
5796                 - (make_wireless_security_setting): stuff secrets into the
5797                         connection data, not as GObject data items; make sure to close
5798                         the keys ifcfg file
5799                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5800                         connection data to the connection
5801
5802 2008-02-07  Dan Williams  <dcbw@redhat.com>
5803
5804         * system-settings/src/nm-system-config-interface.c
5805           system-settings/src/nm-system-config-interface.h
5806                 - Add a get_secrets() interface function to retrieve secrets for a
5807                         specific setting of a specific connection.  Document the interface
5808                         a bit more too.
5809
5810 2008-02-07  Dan Williams  <dcbw@redhat.com>
5811
5812         * src/nm-device-802-11-wireless.c
5813                 - (handle_auth_or_fail): new function; consolidate device activation
5814                         failure check after a certain number of failures getting secrets
5815                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5816                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5817                         the connection if secrets were requested more than a few times
5818                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5819                         tries here; otherwise they are cleared before the IP configure
5820                         timeout, which happens with open system WEP when key is wrong
5821                 - (activation_success_handler): clear wireless secrets tries here too
5822
5823 2008-02-07  Dan Williams  <dcbw@redhat.com>
5824
5825         * src/NetworkManagerPolicy.c
5826                 - (connection_updated): clear invalid tag when connection gets updated
5827                         to allow that connection to be tried again
5828                 - (nm_policy_new): save signal ids so they can be disconnected when
5829                         the policy is destroyed
5830                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5831                         and disconnect all signals from the manager object so that none
5832                         of the policy functions gets called after the policy is destroyed
5833
5834 2008-02-06  Dan Williams  <dcbw@redhat.com>
5835
5836         * src/nm-manager.c
5837                 - (finalize): remove devices a bit earlier; clean up system settings
5838                         poke
5839                 - (nm_manager_name_owner_changed): clean up system settings poke when
5840                         the service appears, and try to restart it if it fails
5841                 - (poke_system_settings_daemon_cb): try to get the system settings
5842                         service started through D-Bus service activation
5843                 - (initial_get_connections): start the system settings daemon if it's
5844                         not already running
5845
5846 2008-02-05  Dan Williams  <dcbw@redhat.com>
5847
5848         * src/supplicant-manager/nm-supplicant-config.c
5849                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5850                         broadcast networks too
5851
5852 2008-02-04  Dan Williams  <dcbw@redhat.com>
5853
5854         * system-settings/plugins/ifcfg-fedora/parser.c
5855                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5856                         need key_mgmt set too
5857                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5858                         .bak files; ensure that an error is set whenever NULL gets returned
5859
5860 2008-02-04  Dan Williams  <dcbw@redhat.com>
5861
5862         * system-settings/src/Makefile.am
5863                 - Install D-Bus service activation file for the system settings
5864                         service
5865
5866         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5867                 - D-Bus service activation file for system settings service
5868
5869 2008-02-04  Dan Williams  <dcbw@redhat.com>
5870
5871         * system-settings/src/main.c
5872                 - (parse_config_file): parse a config file
5873                 - (main): accept --config option and read plugins from config file
5874
5875 2008-02-04  Dan Williams  <dcbw@redhat.com>
5876
5877         * system-settings/plugins/ifcfg-fedora/plugin.c
5878                 - Change reported name to 'ifcfg-fedora'
5879                 - Use IFCFG_PLUGIN_NAME
5880
5881         * system-settings/plugins/ifcfg-fedora/plugin.c
5882                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5883
5884 2008-02-04  Dan Williams  <dcbw@redhat.com>
5885
5886         * system-settings/plugins/ifcfg-fedora/parser.c
5887                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5888                 - (make_connection_setting): use get_ifcfg_name()
5889                 - (make_wireless_security_setting): handle shadow key files
5890                 - (get_one_wep_key): treat empty string as NULL
5891
5892 2008-02-04  Dan Williams  <dcbw@redhat.com>
5893
5894         * src/supplicant-manager/nm-supplicant-manager.c
5895                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5896                         glib automatically reschedule
5897                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5898                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5899                         the supplicant
5900
5901 2008-02-01  Dan Williams  <dcbw@redhat.com>
5902
5903         * src/NetworkManagerPolicy.c
5904                 - (device_state_changed): schedule a change check when a device gets
5905                         deactivated so something happens if you disconnect GSM/CDMA
5906
5907 2008-01-31  Dan Williams  <dcbw@redhat.com>
5908
5909         * src/nm-device-802-11-wireless.h
5910           src/nm-device-802-11-wireless.c
5911                 - (ap_list_get_ap_by_ssid, is_associated,
5912                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5913                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5914                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5915                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5916                         function
5917
5918 2008-01-30  Dan Williams  <dcbw@redhat.com>
5919
5920         * system-settings/plugins/ifcfg
5921         * system-settings/plugins/ifcfg-fedora
5922                 - Move the ifcfg plugin to ifcfg-fedora
5923
5924 2008-01-24  Dan Williams  <dcbw@redhat.com>
5925
5926         * libnm-glib/nm-device-802-11-wireless.c
5927                 - (get_access_point): move the "/" check here; check for invalid path
5928                         too
5929                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5930                         to get_access_point()
5931                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5932                         to send signals for non-existent access points
5933
5934 2008-01-24  Dan Williams  <dcbw@redhat.com>
5935
5936         * libnm-glib/nm-device-802-11-wireless.c
5937                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5938
5939 2008-01-23  Dan Williams  <dcbw@redhat.com>
5940
5941         * libnm-glib/libnm_glib.c
5942                 - (libnm_glib_init): make thread joinable
5943                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5944
5945 2008-01-23  Dan Williams  <dcbw@redhat.com>
5946
5947         * test/libnm_glib_test.c
5948                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5949                 - (main): set up signal handlers; call libnm_glib_shutdown
5950
5951 2008-01-21  Dan Williams  <dcbw@redhat.com>
5952
5953         * include/NetworkManager.h
5954                 - Add CDMA mobile broadband card device type
5955
5956         * src/nm-hal-manager.c
5957                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5958                         must now be tagged with 'cdma' or 'gsm' capability
5959
5960         * src/nm-cdma-device.c
5961           src/nm-cdma-device.h
5962           src/Makefile.am
5963                 - Add the CDMA mobile broadband card device class
5964
5965         * libnm-util/nm-connection.c
5966                 - (register_default_settings): add NMSettingCdma
5967
5968         * libnm-util/nm-setting-cdma.c
5969           libnm-util/nm-setting-cdma.h
5970           libnm-util/Makefile.am
5971                 - Add the CDMA mobile broadband card setting class
5972
5973         * libnm-glib/nm-cdma-device.c
5974           libnm-glib/nm-cdma-device.h
5975           libnm-glib/Makefile.am
5976                 - Add the CDMA mobile broadband card GLib proxy class
5977
5978         * libnm-glib/nm-client.c
5979                 - (get_device): handle CDMA devices too
5980
5981 2008-01-21  Dan Williams  <dcbw@redhat.com>
5982
5983         * src/ppp-manager/nm-ppp-manager.c
5984                 - (ip4_config_get): set peer address too
5985
5986         * src/ppp-manager/nm-pppd-plugin.c
5987                 - (nm_ip_up): try harder to get the peer's address
5988
5989         * src/NetworkManagerSystem.c
5990                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5991                         address, use that too.  Otherwise, some PPP connections won't work.
5992
5993 2008-01-19  Dan Williams  <dcbw@redhat.com>
5994
5995         * src/NetworkManagerPolicy.c
5996                 - (nm_policy_device_change_check): system connections override user
5997                         connections; don't activate a user connection if there's a currently
5998                         active system connection, and new, better system connections always
5999                         interrupt user connections
6000
6001 2008-01-19  Dan Williams  <dcbw@redhat.com>
6002
6003         * src/nm-manager.h
6004                 - (nm_manager_get_connection_type): new function
6005
6006 2008-01-19  Dan Williams  <dcbw@redhat.com>
6007
6008         * src/nm-device-802-11-wireless.c
6009                 - (real_get_best_connection): collapse find_best_connection() into this
6010                         function
6011
6012 2008-01-19  Dan Williams  <dcbw@redhat.com>
6013
6014         * src/nm-device-802-3-ethernet.c
6015                 - (real_get_best_connection): collapse find_best_connection() into this
6016                         function
6017
6018 2008-01-18  Dan Williams  <dcbw@redhat.com>
6019
6020         * src/nm-device-802-3-ethernet.c
6021                 - (find_best_connection): check MAC address too
6022                 - (real_get_best_connection): let autoconnect=True connections activate
6023                         for devices that don't have carrier detection
6024
6025         * src/nm-device-802-11-wireless.c
6026                 - (find_best_connection): check MAC address too
6027
6028 2008-01-18  Dan Williams  <dcbw@redhat.com>
6029
6030         * system-settings/plugins/ifcfg/parser.c
6031                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6032
6033 2008-01-17  Dan Williams  <dcbw@redhat.com>
6034
6035         * src/nm-device-802-3-ethernet.c
6036                 - (nm_device_802_3_ethernet_carrier_on,
6037                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6038                         carrier events that might come in for devices that don't support
6039                         carrier detect
6040
6041 2008-01-17  Dan Williams  <dcbw@redhat.com>
6042
6043         * src/nm-device-interface.c
6044                 - (nm_device_interface_check_connection_conflicts): need to actually
6045                         get the interface, not cast to the object
6046
6047         * src/nm-device.c
6048                 - (nm_device_check_connection_conflicts): need to get the device class,
6049                         not cast the device to the device class
6050
6051 2008-01-17  Dan Williams  <dcbw@redhat.com>
6052
6053         * src/nm-device-802-11-wireless.c
6054                 - (real_check_connection_conflicts): ignore connections that aren't
6055                         wireless connections
6056
6057 2008-01-17  Dan Williams  <dcbw@redhat.com>
6058
6059         * src/NetworkManagerPolicy.c
6060                 - (nm_policy_device_change_check): clear change check idle here
6061                 - (device_change_check_done): remove
6062                 - (schedule_change_check): simplify
6063
6064 2008-01-17  Dan Williams  <dcbw@redhat.com>
6065
6066         * src/nm-manager.c
6067                 - (check_connection_allowed): take an NMDeviceInterface instead of
6068                         an NMDevice object as an argument
6069                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6070                         check_connection_allowed()
6071
6072 2008-01-13  Dan Williams  <dcbw@redhat.com>
6073
6074         * libnm-glib/nm-device-802-11-wireless.c
6075                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6076
6077 2008-01-12  Dan Williams  <dcbw@redhat.com>
6078
6079         * src/nm-device-802-11-wireless.c
6080                 - (activation_success_handler): if a match was found in the scan list
6081                         and that match is a hidden AP, update that AP's SSID
6082
6083 2008-01-11  Dan Williams  <dcbw@redhat.com>
6084
6085         * src/NetworkManagerAP.c
6086                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6087
6088         * src/nm-device-802-11-wireless.c
6089                 - (get_active_ap): do two passes over the scan list if the caller
6090                         requests that hidden APs get matched too; during the second pass
6091                         when matching hidden APs, ignore the SSID since hidden APs in the
6092                         scan list don't have an SSID yet
6093                 - (periodic_update): move some checks to
6094                         nm_device_802_11_periodic_update() because not all callers need them
6095                 - (nm_device_802_11_periodic_update): move some checks here from
6096                         perodic_update()
6097                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6098                         matching on incoming scan results, because the fake AP's flags
6099                         might be slightly different (yet still compatible) with the incoming
6100                         scan result's flags and they might actually be the same AP; update
6101                         the rate on merged APs too
6102                 - (activation_success_handler): update the frequency of the fake AP
6103                         on successful connection; match hidden APs too since if the
6104                         current AP is fake, there might already be a scan result in the
6105                         scan list for the desired AP, just without it's SSID filled in yet
6106
6107 2008-01-10  Dan Williams  <dcbw@redhat.com>
6108
6109         * src/NetworkManagerAP.c
6110                 - (foreach_property_cb): catch more hidden SSID formats
6111
6112 2008-01-10  Dan Williams  <dcbw@redhat.com>
6113
6114         Fix gnome.org #464215.  Requires the kernel patch titled
6115         "Introduce WEXT scan capabilities" but will handle the patch not being
6116         present, you'll just continue to have problems with hidden SSIDs when
6117         using mac80211-based drivers.
6118
6119         * src/supplicant-manager/nm-supplicant-config.h
6120           src/supplicant-manager/nm-supplicant-config.c
6121                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6122                         whether the driver supports SSID scans or not.  If it does, and if
6123                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6124
6125         * src/nm-device-802-11-wireless.c
6126                 - (constructor): check whether or not the driver supports SSID scans
6127                 - (build_supplicant_config): pass driver SSID scan capability when
6128                         building the wireless bits of the supplicant config
6129
6130 2008-01-09  Dan Williams  <dcbw@redhat.com>
6131
6132         * src/nm-device.c
6133           src/nm-device.h
6134                 - (device_activation_precheck, check_connection_complete): remove this
6135                         virtual function; incomplete connections should be invalid by
6136                         definition, complete-ness should be checked in the setting's
6137                         verify function
6138
6139         * src/nm-serial-device.c
6140           src/nm-gsm-device.c
6141                 - (real_check_connection_complete): remove
6142
6143         * libnm-util/nm-setting-serial.c
6144                 - (verify): new function; ensure there is a PPP setting too
6145
6146         * libnm-util/nm-setting-gsm.c
6147                 - (verify): ensure there is a serial setting too
6148
6149 2008-01-06  Dan Williams  <dcbw@redhat.com>
6150
6151         * src/dhcp-manager/nm-dhcp-manager.c
6152                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6153                         (gnome.org #332953)
6154
6155 2008-01-04  Dan Williams  <dcbw@redhat.com>
6156
6157         * src/named-manager/nm-named-manager.c
6158                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6159                         nameservers if the secondary config doesn't have any
6160                         (gnome.org #346833)
6161
6162 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6163
6164         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6165         with G_PARAM_CONSTRUCT so that they get the default values.
6166
6167         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6168         the monitoring device and prints out the output for now. Or more precicely, doesn't
6169         do absolutely anything right now since the montoring device argument is never set.
6170
6171         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6172         requires it's own knob to turn it on.
6173         (config_fd): Add NMSettingSerial to the arguments list.
6174         (nm_serial_device_open): Ditto.
6175         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6176         (nm_serial_device_get_io_channel): Implement.
6177
6178         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6179         a new reference every time (and forgetting to release it sometimes) is a pain and
6180         it's not like NMManager could work without dbus.
6181         (nm_manager_add_device): Register the added device on dbus here.
6182
6183         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6184         device.
6185
6186         * src/nm-device.c (constructor): Don't export the device here, instead export
6187         it when it's added to the NMManager's device list.
6188
6189 2007-12-31  Dan Williams  <dcbw@redhat.com>
6190
6191         * src/nm-device-interface.c
6192           src/nm-device-interface.h
6193                 - (nm_device_interface_check_connection_conflicts): new function
6194
6195         * src/nm-device.c
6196           src/nm-device.h
6197                 - (nm_device_check_connection_conflicts): new function
6198                 - (device_activation_precheck): don't require subclasses to implement
6199                         check_connection_complete()
6200                 - check_connection() -> check_connection_complete()
6201
6202         * src/nm-device-802-11-wireless.c
6203                 - (real_check_connection): remove; unused
6204                 - (real_check_connection_conflicts): implement, handle lockdown for
6205                         system connections
6206
6207         * src/nm-device-802-3-ethernet.c
6208                 - (real_check_connection): remove; unused
6209
6210         * src/nm-manager.c
6211                 - (check_connection_allowed): new function
6212                 - (nm_manager_activate_device): ensure the connection being requested
6213                         is allowed to be activated
6214
6215         * src/nm-serial-device.c
6216           src/nm-gsm-device.c
6217                 - real_check_connection() -> real_check_connection_complete()
6218
6219 2007-12-27  Dan Williams  <dcbw@redhat.com>
6220
6221         * src/nm-device-interface.c
6222           src/nm-device-interface.h
6223                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6224                         normalize and expand errors
6225                 - (nm_device_interface_init): register errors so they can be marshalled
6226                         through dbus-glib
6227                 - (nm_device_interface_activate): ensure that failure of activation
6228                         returns an error
6229
6230         * src/nm-device.c
6231           src/nm-device.h
6232                 - (device_activation_precheck): implementations of check_connection()
6233                         now take a GError and must fill it in if the check fails.  Return
6234                         more descriptive error if the requested connection is already
6235                         activating
6236                 - (nm_device_activate): actually try to return descriptive errors on
6237                         failures
6238
6239         * src/nm-device-802-11-wireless.c
6240           src/nm-device-802-3-ethernet.c
6241           src/nm-serial-device.c
6242           src/nm-gsm-device.c
6243                 - (real_check_connection): return more descriptive errors on failure
6244
6245         * src/NetworkManagerPolicy.c
6246                 - (nm_policy_device_change_check): print activation errors in the logs
6247
6248         * src/nm-manager.c
6249                 - (nm_manager_error_quark, nm_manager_error_get_type,
6250                    nm_manager_class_init): new errors
6251                 - (nm_manager_activate_device): handle errors
6252                 - (nm_manager_error_new): removed
6253                 - (wait_for_connection_expired, connection_added_default_handler,
6254                    impl_manager_activate_device): better error handling
6255
6256 2007-12-27  Dan Williams  <dcbw@redhat.com>
6257
6258         Fixes gnome.org #466954
6259
6260         * src/supplicant-manager/nm-supplicant-settings-verify.c
6261                 - Allow 'frequency' network property
6262
6263         * src/supplicant-manager/nm-supplicant-config.c
6264           src/supplicant-manager/nm-supplicant-config.h
6265                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6266                         for callers to specify the frequency an Ad-Hoc network should operate
6267                         on.  Some drivers require this to successfully create an Ad-Hoc
6268                         network.
6269
6270         * src/nm-device-802-11-wireless.c
6271                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6272                         guint32 value in MHz
6273                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6274                         iw_freq_to_uint32()
6275                 - (find_supported_frequency): new function; find a free supported
6276                         frequency for a user-created Ad-Hoc network
6277                 - (build_supplicant_config): if no frequency was specified for a user-
6278                         created Ad-Hoc network, find a free one to use
6279                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6280                         a specific object as user-created
6281
6282 2007-12-27  Dan Williams  <dcbw@redhat.com>
6283
6284         * libnm-util/nm-utils.c
6285           libnm-util/nm-utils.h
6286                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6287                         for adhoc networks
6288
6289 2007-12-24  Dan Williams  <dcbw@redhat.com>
6290
6291         * libnm-util/nm-setting-wireless.c
6292                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6293                         185, 187, 188, 192, and 196
6294
6295 2007-12-24  Dan Williams  <dcbw@redhat.com>
6296
6297         * src/nm-device-802-11-wireless.c
6298                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6299                         a channel # instead of a frequency
6300
6301 2007-12-24  Dan Williams  <dcbw@redhat.com>
6302
6303         * src/NetworkManagerAP.c
6304           src/NetworkManagerAP.h
6305                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6306                 - (freq_to_channel): handle split band tables
6307                 - (channel_to_freq): handle split band tables, take a band argument
6308
6309 2007-12-24  Dan Williams  <dcbw@redhat.com>
6310
6311         * libnm-util/nm-setting-connection.h
6312           libnm-util/nm-setting-connection.c
6313                 - Add 'lockdown' member
6314
6315 2007-12-22  Dan Williams  <dcbw@redhat.com>
6316
6317         * libnm-util/nm-setting-wireless.c
6318                 - (nm_setting_wireless_class_init): add missing 'rate' property
6319                         specification
6320
6321 2007-12-18  Dan Williams  <dcbw@redhat.com>
6322
6323         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6324
6325         * src/nm-netlink-monitor.c
6326           src/nm-netlink-monitor.h
6327                 - Remove handrolled netlink, use libnl instead
6328
6329         * src/nm-device-802-3-ethernet.c
6330                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6331                    nm_device_802_3_ethernet_carrier_on): use new names
6332
6333 2007-12-17  Dan Williams  <dcbw@redhat.com>
6334
6335         * configure.in
6336                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6337                         and fixes memory leaks)
6338
6339         * src/nm-netlink.c
6340                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6341                         automatically handle the netlink PID
6342
6343 2007-12-17  Dan Williams  <dcbw@redhat.com>
6344
6345         Patch from Michael Biebl <biebl@debian.org>
6346
6347         * configure.in
6348           src/ppp-manager/Makefile.am
6349                 - fix up install dir of pppd plugin
6350                 - clean up configure.in a bit
6351
6352 2007-12-12  Dan Williams  <dcbw@redhat.com>
6353
6354         * system-settings/src/nm-system-settings.conf
6355                 - Allow non-root clients (like the applet) to read settings
6356
6357 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6358
6359         * Replace all occurences of 'UMTS' with 'GSM'.
6360
6361 2007-12-07  Dan Williams  <dcbw@redhat.com>
6362
6363         * src/nm-serial-device.c
6364                 - (real_is_up): serial devices are always "up"
6365
6366 2007-12-07  Dan Williams  <dcbw@redhat.com>
6367
6368         * src/nm-netlink.c
6369           src/NetworkManagerSystem.c
6370                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6371                         twice (gnome.org #491047)
6372                 - Make more robust against allocation-related failures should they occur
6373
6374 2007-12-07  Dan Williams  <dcbw@redhat.com>
6375
6376         Noticed by Christian Persch <chpe@gnome.org>
6377
6378         Always chain up to parent object in dispose and finalize handlers.
6379                 (gnome.org #433112)
6380
6381 2007-12-07  Dan Williams  <dcbw@redhat.com>
6382
6383         * src/nm-device-802-11-wireless.c
6384                 - Wrap #include of linux/mii.h to fix redefined structures due to
6385                         incorrect kernel headers (gnome.org #350061)
6386
6387 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6388
6389         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6390         before doing anything else.
6391         (init_modem): Move modem initialization here.
6392
6393         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6394         (nm_serial_device_flash): Implement.
6395
6396         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6397         changes signal is "StateChanged" and not "Status".
6398         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6399
6400 2007-12-06  Dan Williams  <dcbw@redhat.com>
6401
6402         * src/supplicant-manager/nm-supplicant-config.c
6403                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6404                         to only send some options when they make sense; also send phase2
6405                         option to the supplicant (possible fix for rh #399631)
6406
6407 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6408
6409         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6410         arguments: This whole file shouldn't really know anything about NMDevices, it
6411         should deal only with device interfaces. Devices might have different ifaces for
6412         different stuff and this place shouldn't know anything about it.
6413
6414         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6415         (global_state_changed): Implement. In the current NM it's not really important,
6416         but will be required in the case of multiple active devices. (Or even better,
6417         if stuff like that gets moved out from NM).
6418
6419         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6420         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6421         instead.
6422
6423         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6424         devices like serial devices (ttyS0 and ppp0 for example).
6425         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6426         set.
6427         (nm_device_set_ip_iface): Implement.
6428         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6429         after setting ip4_config from here ...
6430         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6431         than this function should call nm_system_device_set_from_ip4_config() because no
6432         other code has enough information on which arguments to use. So instead, other code
6433         could just set the new ip4 config using this function and everyone is happy.
6434
6435         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6436         if we happen to get deactivated while something is pending.
6437         (automatic_registration): Handle the response that indicates pending network
6438         registration and wait until the pending registration is done.
6439         (real_deactivate_quickly): If there's a pending operation, cancel it.
6440
6441         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6442         (real_deactivate_quickly): ... and remove it when it's down.
6443         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6444         it if needed.
6445         (nm_serial_device_wait_for_reply): Ditto.
6446
6447 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6448
6449         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6450         (get_network_done): Remove newline, nm_info() does it already.
6451         (real_act_stage1_prepare): Turn the modem echo off.
6452
6453         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6454         device, set the route to the device interface. This is a hack.
6455
6456         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6457         return, no need for a new-line.
6458         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6459         Change the device iface here (ugh).
6460         (real_act_stage4_get_ip4_config): Implement.
6461         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6462         Restore the device iface.
6463
6464         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6465         device is not wired or wireless (eg, automatically upped) device.
6466
6467         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6468         it isn't.
6469         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6470
6471         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6472         before calling it's is_device_fn().
6473
6474 2007-12-05  Dan Williams  <dcbw@redhat.com>
6475
6476         * libnm-util/nm-utils.c
6477                 - (nm_utils_register_value_transformations,
6478                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6479                         GHashTables of GValues too
6480
6481 2007-12-04  Dan Williams  <dcbw@redhat.com>
6482
6483         * initscript/RedHat/NetworkManager.in
6484                 - No longer start named; it's D-Bus interface is going away
6485
6486 2007-12-04  Dan Williams  <dcbw@redhat.com>
6487
6488         Patch from Michael Biebl <biebl@debian.org>
6489
6490         * system-settings/plugins/ifcfg/Makefile.am
6491           system-settings/src/main.c
6492           system-settings/src/Makefile.am
6493                 - Put system settings plugins in NM plugins dir
6494
6495         * src/ppp-manager/Makefile.am
6496           src/ppp-manager/nm-ppp-manager.c
6497                 - Move pppd plugin to NM plugins dir
6498
6499 2007-12-04  Dan Williams  <dcbw@redhat.com>
6500
6501         * libnm-util/nm-setting-vpn-properties.h
6502                 - Clarify usage of the 'data' member of the setting
6503
6504         * libnm-util/nm-setting-vpn-properties.c
6505                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6506                 - (set_property): just remove all the settings; don't recreate the has
6507                 - (update_one_secret): don't need to create the hash table here since
6508                         it should always be present
6509
6510 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6511
6512         Implement PIN and PUK requesting.
6513
6514         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6515         (enter_pin): Handle PIN and PUK requests.
6516         (real_act_stage1_prepare): Clear the secret type.
6517         (real_connection_secrets_updated): Implement this class method to get
6518         notified when new secrets arrive.
6519         (nm_umts_device_class_init): Add private data back to the umts device class
6520         to store the required secret type.
6521
6522 2007-12-01  Dan Williams  <dcbw@redhat.com>
6523
6524         * system-settings/plugins/ifcfg/parser.c
6525                 - (parser_parse_file): don't try to verify NULL connections
6526
6527 2007-12-01  Dan Williams  <dcbw@redhat.com>
6528
6529         * system-settings/src/main.c
6530                 - (load_connections, add_connection_to_settings): actually export
6531                         plugin-provided connections over D-Bus so NM can get them
6532
6533 2007-12-01  Dan Williams  <dcbw@redhat.com>
6534
6535         * system-settings/plugins/ifcfg/parser.c
6536           system-settings/plugins/ifcfg/parser.h
6537           system-settings/plugins/ifcfg/plugin.c
6538                 - Hook up more inotify bits (untested)
6539
6540 2007-11-29  Dan Williams  <dcbw@redhat.com>
6541
6542         * system-settings/src/nm-system-config-interface.h
6543           system-settings/src/nm-system-config-interface.c
6544                 - (nm_system_config_interface_init,
6545                    nm_system_config_interface_get_connections): add
6546
6547         * system-settings/src/main.c
6548                 - (load_plugins, load_connections, main): use a GSList for plugins
6549                         to ensure priority ordering
6550
6551         * system-settings/plugins/ifcfg/parser.c
6552                 - (ifcfg_error_quark): move to plugin.c, and rename
6553
6554         * system-settings/plugins/ifcfg/plugin.h
6555           system-settings/plugins/ifcfg/plugin.c
6556                 - (ifcfg_plugin_error_quark): move here from parser.c
6557                 - rework connection loading and initialization
6558                 - Add preliminary inotify support for network profile config file
6559
6560 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6561
6562         Merge the beginnings of the new GSM card support.
6563
6564         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6565         ppp watch source before killing pppd - If this happens from g_object_unref()
6566         then the ppp manager is already destroyed by the time the watch callback runs.
6567
6568         * src/nm-hal-manager.c: Add a device_type_name string to the device
6569         creators, so that we can print a nice human readable string when a
6570         device is added.
6571
6572         * src/nm-umts-device.c (automatic_registration_get_network): Query
6573         for the activated network, not much is done with the result thought.
6574
6575         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6576         (ppp_ip4_config): Change the device state to activated here for now.
6577         (real_check_connection): Make sure the connection includes ppp setting.
6578
6579         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6580
6581         * libnm-glib/Makefile.am: Add the new files to build.
6582
6583         * libnm-glib/nm-umts-device.c: 
6584         * libnm-glib/nm-umts-device.h: Implement.
6585
6586 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6587
6588         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6589         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6590
6591         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6592         the timeout source - this function is only called when the timeout source has
6593         been removed.
6594         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6595         to be big enough to contain the terminating zero element as well.
6596         The timeout argument is meant to be in seconds now.
6597         (real_deactivate_quickly): Implement.
6598
6599         * src/NetworkManager.conf: Allow root to own 
6600         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6601
6602         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6603         (not unsigned ints).
6604
6605         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6606         small issue with parity bounds - capital letters have lower ascii codes
6607         than lower case letters.
6608
6609         * libnm-util/nm-connection.c (register_default_settings): Register serial
6610         and umts settings.
6611
6612 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6613
6614         Remove the "index" property from devices as not all device types have this.
6615
6616         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6617
6618         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6619         (wired_device_creator): Get the device interface from hal to create the device.
6620         (wireless_device_creator): Ditto.
6621
6622         * src/nm-device.c (nm_device_init): Remove the index member.
6623         (constructor): Remove the checks for index property, make interface property
6624         a require constructor property.
6625         Use the HAL udi for DBus path for devices.
6626         (nm_device_get_index): Remove.
6627         (set_property): Remove index handling.
6628         (get_property): Ditto.
6629         (nm_device_get_dbus_path): Remove.
6630
6631         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6632         property.
6633
6634         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6635         Access the device index through it's interface.
6636         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6637         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6638         index argument. Add interface argument.
6639
6640         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6641         the useless test_dev argument. Remove index argument. Add interface arugment.
6642
6643         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6644         device index through interface.
6645         (nm_system_set_mtu): Ditto.
6646
6647         * introspection/nm-device.xml: Remove the "Index" property.
6648
6649 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6650
6651         * src/nm-serial-device.c: 
6652         * src/nm-serial-device.c: 
6653         * src/nm-umts-device.c:
6654         * src/nm-umts-device.h: Implement.
6655
6656         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6657         allocated by libhal.
6658         (modem_device_creator): Implement.
6659         (register_built_in_creators): Register the modem creator.
6660
6661         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6662         Remove the unused test_dev argument.
6663
6664         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6665
6666         * src/Makefile.am: Add new files to build.
6667         Link in ppp-manager.
6668
6669         * libnm-util/nm-setting-umts.c: 
6670         * libnm-util/nm-setting-umts.h: 
6671         * libnm-util/nm-setting-serial.c: 
6672         * libnm-util/nm-setting-serial.h: Implement.
6673
6674         * libnm-util/Makefile.am: Add new files to build.
6675
6676 2007-11-28  Dan Williams  <dcbw@redhat.com>
6677
6678         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6679
6680         Support DHCP-provided static routes.
6681
6682         * src/nm-ip4-config.h
6683           src/nm-ip4-config.c
6684                 - Add get/set functions for static routes
6685
6686         * src/dhcp-manager/nm-dhcp-manager.c
6687                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6688                         DHCP response
6689
6690         * src/NetworkManagerSystem.c
6691                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6692                         interface when applying the IP4Config
6693
6694 2007-11-28  Dan Williams  <dcbw@redhat.com>
6695
6696         * src/nm-device-802-11-wireless.c
6697                 - (real_act_stage1_prepare): mark APs created for hidden networks
6698                         as non-broadcasting
6699
6700 2007-11-27  Dan Williams  <dcbw@redhat.com>
6701
6702         * system-settings/src/nm-system-config-interface.h
6703                 - Note how to store secrets on NMSetting objects
6704
6705         * system-settings/src/dbus-settings.c
6706                 - (connection_settings_get_secrets): implement
6707
6708 2007-11-27  Dan Williams  <dcbw@redhat.com>
6709
6710         * system-settings/plugins/ifcfg/Makefile.am
6711           system-settings/plugins/ifcfg/parser.c
6712           system-settings/plugins/ifcfg/parser.h
6713           system-settings/plugins/ifcfg/plugin.c
6714                 - Parse wireless connections too
6715
6716         * system-settings/src/dbus-settings.c
6717           system-settings/src/dbus-settings.h
6718           system-settings/src/main.c
6719                 - Handle connection update/removal if the plugin supports it
6720
6721 2007-11-27  Dan Williams  <dcbw@redhat.com>
6722
6723         * src/nm-dbus-manager.h
6724           src/nm-hal-manager.c
6725                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6726                         do it for them
6727
6728         * src/Makefile.am
6729           src/NetworkManagerDbusUtils.c
6730           src/NetworkManagerDbusUtils.h
6731                 - Remove these two source files; they are unused
6732
6733 2007-11-27  Dan Williams  <dcbw@redhat.com>
6734
6735         * src/vpn-manager/nm-vpn-manager.c
6736                 - (impl_vpn_manager_connect): fix system settings check (found by
6737                         James M. Leddy)
6738
6739 2007-11-26  Dan Williams  <dcbw@redhat.com>
6740
6741         * Fix warnings so everything compiles with --enable-more-warnings
6742
6743 2007-11-25  Dan Williams  <dcbw@redhat.com>
6744
6745         * system-settings/*
6746                 - Rework structure and code to use GModule-loaded plugins and a plugin
6747                         interface that plugins export to the system settings service
6748
6749 2007-11-21  Dan Williams  <dcbw@redhat.com>
6750
6751         * system-settings/*
6752                 - Add Soren's system settings service.  Needs work for distros other
6753                         than Fedora; the backends from NM should mostly migrate to here
6754                         and be converted to GObjects
6755
6756 2007-11-21  Dan Williams  <dcbw@redhat.com>
6757
6758         * libnm-util/nm-setting-vpn-properties.c
6759                 - (set_property): must deep-copy the given settings hash, otherwise
6760                         double-free errors occur when the setting is disposed of
6761
6762 2007-11-21  Dan Williams  <dcbw@redhat.com>
6763
6764         * src/vpn-manager/nm-vpn-act-request.h
6765           src/vpn-manager/nm-vpn-act-request.c
6766                 - Remove; unused
6767
6768 2007-11-20  Dan Williams  <dcbw@redhat.com>
6769
6770         * libnm-util/nm-utils.c
6771                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6772                    nm_utils_convert_ip4_addr_struct_array_to_string,
6773                    nm_utils_register_value_transformations): print out the readable
6774                         values of more types of properties of NMSettings subclasses
6775
6776 2007-11-20  Dan Williams  <dcbw@redhat.com>
6777
6778         * libnm-util/nm-setting-ip4-config.c
6779                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6780                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6781                         marshal GValueArrays inside collections, so switch to types that it
6782                         can actually marshal/demarshal
6783
6784 2007-11-16  Dan Williams  <dcbw@redhat.com>
6785
6786         * libnm-util/nm-setting-wireless-security.c
6787                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6788                         minimal verification of EAP methods too
6789                 - (verify): verify phase1 eap methods too
6790
6791 2007-11-15  Dan Williams  <dcbw@redhat.com>
6792
6793         * libnm-glib/nm-device.h
6794           libnm-glib/nm-device.c
6795                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6796                         const char *
6797
6798 2007-11-15  Dan Williams  <dcbw@redhat.com>
6799
6800         * libnm-glib/nm-device.c
6801                 - (get_product_and_vendor): don't try to free things that should be
6802                         freed
6803
6804 2007-11-15  Dan Williams  <dcbw@redhat.com>
6805
6806         * src/NetworkManagerUtils.c
6807                 - (nm_ethernet_address_is_valid): unbreak previous fix
6808
6809 2007-11-15  Dan Williams  <dcbw@redhat.com>
6810
6811         * src/supplicant-manager/nm-supplicant-config.c
6812                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6813                         options
6814
6815 2007-11-15  Dan Williams  <dcbw@redhat.com>
6816
6817         * src/NetworkManagerUtils.c
6818                 - (nm_ethernet_address_is_valid): fix style, clarify
6819                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6820
6821         * src/nm-device-802-11-wireless.c
6822                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6823                 - (nm_device_802_11_wireless_get_ssid,
6824                    nm_device_802_11_wireless_get_bssid,
6825                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6826                         before calling the ioctl; fixes valgrind-reported jump depends on
6827                         uninitialized value errors
6828
6829 2007-11-15  Dan Williams  <dcbw@redhat.com>
6830
6831         * libnm-util/nm-setting.c
6832                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6833                         unecessary to serialize 'name'
6834
6835         * src/nm-activation-request.c
6836                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6837                         the GetSecrets call
6838
6839 2007-11-15  Dan Williams  <dcbw@redhat.com>
6840
6841         * libnm-util/nm-setting-connection.h
6842           libnm-util/nm-setting-connection.c
6843                 - Rename the 'name' property to 'id', because it conflicted with the
6844                         NMSetting superclass' 'name' property.
6845
6846         * libnm-util/nm-setting.c
6847                 - (nm_setting_to_hash): serialize the 'name' property
6848                 - (one_property_cb): ignore 'name' on deserialization of a connection
6849
6850         * src/nm-device-802-11-wireless.c
6851           src/vpn-manager/nm-vpn-connection.c
6852           src/NetworkManagerPolicy.c
6853                 - Fix up for NMSettingConnection 'name'->'id' changes
6854
6855 2007-11-13  Dan Williams  <dcbw@redhat.com>
6856
6857         * libnm-glib/nm-device-802-11-wireless.h
6858           libnm-glib/nm-device-802-11-wireless.c
6859                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6860
6861         * test/nm-tool.c
6862           libnm-glib/libnm-glib-test.c
6863                 - Fixes for above change
6864
6865 2007-11-12  Dan Williams  <dcbw@redhat.com>
6866
6867         * src/supplicant-manager/nm-supplicant-settings-verify.c
6868                 - Allow fragment_size option
6869
6870         * src/supplicant-manager/nm-supplicant-settings-verify.c
6871                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6872                         EAP fragment size than the default to help some TLS connections
6873
6874 2007-11-12  Dan Williams  <dcbw@redhat.com>
6875
6876         Make certs actually work.  The private key is now a secret, and should be
6877         decrypted when requested by NM.  The private key and phase2 private key
6878         passwords are no longer interesting to NM because they should be used by
6879         the settings service to decrypt the private key itself before passing it
6880         to NM, and hence have been removed as fields.
6881
6882         * libnm-util/nm-setting-wireless-security.h
6883           libnm-util/nm-setting-wireless-security.c
6884                 - Remove private-key-passwd and phase2-private-key-passwd from
6885                         properties
6886                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6887                    need_secrets): use property #defines instead strings to keep things
6888                         consistent
6889                 - (need_secrets_tls): if a client certificate is present but no
6890                         private key, request the private key
6891                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6892                         remove private key password stuff, mark private keys as secret
6893
6894         * src/supplicant-manager/nm-supplicant-settings-verify.c
6895                 - Remove private_key_passwd and private_key2_passwd from opt_table
6896
6897 2007-11-09  Dan Williams  <dcbw@redhat.com>
6898
6899         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6900         Since the vpn-properties are managed and known by the VPN daemons themselves,
6901         libnm-util doesn't know what's secret and what's in the setting's 'data'
6902         member.
6903
6904         * libnm-util/nm-setting.h
6905           libnm-util/nm-setting.c
6906                 - Add the ability for subclasses to override update_one_secret
6907
6908         * libnm-util/nm-setting-vpn-properties.c
6909                 - Override update_one_secret and just copy the values into the
6910                         internal table
6911
6912 2007-11-09  Dan Williams  <dcbw@redhat.com>
6913
6914         * libnm-glib/nm-settings.h
6915           libnm-glib/nm-settings.c
6916                 - (nm_settings_new_error): remove
6917                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6918                         clients should use g_set_error() with NM_SETTINGS_ERROR
6919
6920 2007-11-09  Dan Williams  <dcbw@redhat.com>
6921
6922         * src/supplicant-manager/nm-supplicant-config.c
6923                 - (nm_supplicant_config_add_setting_wireless_security): private key
6924                         passwords are never sent to wpa_supplicant, because the supplicant
6925                         should never be reading random files from the disk.  Clients like
6926                         the applet are required to decrypt the private keys and send NM
6927                         the decrypted blobs.
6928
6929 2007-11-08  Dan Williams  <dcbw@redhat.com>
6930
6931         * libnm-util/nm-setting-wireless-security.h
6932           libnm-util/nm-setting-wireless-security.c
6933                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6934                         members to 802-11-wireless-security structure.  This should be used
6935                         to indicate that the values in private-key and phase2-private-key
6936                         are already decrypted by the user agent, and that no
6937                         private-key-passwd or phase2-private-key-passwd should be expected.
6938                         It is not meant to be a stored configuration value, but meant to
6939                         be set when the conneciton is sent to NM over dbus.
6940
6941 2007-11-08  Dan Williams  <dcbw@redhat.com>
6942
6943         * libnm-util/nm-connection.h
6944           libnm-util/nm-connection.c
6945                 - (nm_connection_need_secrets): add argument to return hints
6946
6947         * src/nm-device-802-11-wireless.c
6948                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6949                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6950                         nm_connection_need_secrets() change
6951
6952 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6953
6954         Rework NMSetting structures: Move each setting to it's own file.
6955         Convert to GObject. Remove home grown setting types and use GTypes.
6956         Use GObject property introspection for hash conversion, enumerating
6957         properties, etc.
6958
6959         * libnm-util/nm-setting-connection.[ch]
6960         * libnm-util/nm-setting-ip4-config.[ch]
6961         * libnm-util/nm-setting-ppp.[ch]
6962         * libnm-util/nm-setting-vpn.[ch]
6963         * libnm-util/nm-setting-vpn-properties.[ch]
6964         * libnm-util/nm-setting-wired.[ch]
6965         * libnm-util/nm-setting-wireless.[ch]
6966         * libnm-util/nm-setting-wireless-security.[ch]
6967
6968         New files, each containing a setting.
6969
6970         * libnm-util/nm-setting-template.[ch]: A template for creating new
6971         settings. To use it, just replace 'template' with the new setting
6972         name, and you're half-way done.
6973
6974         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6975         introspection instead of internal types and tables.
6976
6977         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6978
6979         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6980         GValue types defined by dbus-glib for composed types like collections,
6981         structures and maps.
6982
6983         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6984         a setting from connection takes the setting type now. Also, since
6985         the settings are in multiple files, include relevant settings.
6986
6987 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6988
6989         * configure.in:
6990         * src/backends/NetworkManagerGentoo.c:
6991         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6992         providers in Gentoo.
6993
6994 2007-10-31  Dan Williams  <dcbw@redhat.com>
6995
6996         * libnm-util/nm-connection.c
6997                 - (gvalue_to_string): handle UINT32 arrays
6998
6999 2007-10-31  Dan Williams  <dcbw@redhat.com>
7000
7001         * libnm-glib/nm-device.h
7002           libnm-glib/nm-device.c
7003                 - (nm_device_get_description): remove
7004                 - (nm_device_get_product, nm_device_get_vendor): add
7005                 - (nm_device_update_description): new function (private); walk HAL
7006                         devices to get product and vendor IDs for a specific device
7007
7008 2007-10-31  Dan Williams  <dcbw@redhat.com>
7009
7010         * src/nm-device-802-11-wireless.c
7011                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7012
7013 2007-10-29  Dan Williams  <dcbw@redhat.com>
7014
7015         * src/nm-hal-manager.c
7016                 - (device_added, device_new_capability): ignore device additions while
7017                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7018                         kernel module is unloaded and reloaded and recognized by NM again.
7019
7020 2007-10-26  Dan Williams  <dcbw@redhat.com>
7021
7022         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7023
7024         * src/NetworkManagerAP.c
7025           src/NetworkManagerAP.h
7026           libnm-glib/nm-access-point.c
7027           libnm-glib/nm-access-point.h
7028                 - Make 'rate' property a guint32 to better match with WEXT and
7029                         wpa_supplicant and to allow representation of higher bitrates
7030
7031         * src/nm-device-802-11-wireless.c
7032           introspection/nm-device-802-11-wireless.xml
7033           libnm-glib/nm-device-802-11-wireless.c
7034           libnm-glib/nm-device-802-11-wireless.h
7035                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7036
7037         * src/nm-device-802-3-ethernet.c
7038           src/nm-device-802-3-ethernet.h
7039           introspection/nm-device-802-3-ethernet.xml
7040           libnm-glib/nm-device-802-3-ethernet.c
7041           libnm-glib/nm-device-802-3-ethernet.h
7042                 - Make 'speed' property a guint32 to match other speed/rate types
7043                 - Make nm_device_802_3_ethernet_get_speed() static
7044
7045         * test/nm-tool.c
7046                 - Update for the changes above
7047
7048 2007-10-26  Dan Williams  <dcbw@redhat.com>
7049
7050         * src/named-manager/nm-named-manager.c
7051                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7052                     not calling fclose() twice on some error conditions
7053
7054 2007-10-26  Dan Williams  <dcbw@redhat.com>
7055
7056         * src/nm-activation-request.c
7057                 - (dispose): clean up indentation; get the right DBusGProxy object to
7058                         cancel the GetSecrets pending call on.  Need to use the Secrets
7059                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7060                         pending call doesn't get canceled, and pressing Cancel in the
7061                         applet's password dialog could cause get_secrets_cb() to be called
7062                         after the activation request has already been destroyed
7063
7064 2007-10-24  Dan Williams  <dcbw@redhat.com>
7065
7066         * src/supplicant-manager/nm-supplicant-config.c
7067                 - (nm_supplicant_config_add_blob): pass blob data and length for
7068                         verification
7069                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7070
7071 2007-10-24  Dan Williams  <dcbw@redhat.com>
7072
7073         * src/supplicant-manager/nm-supplicant-settings-verify.c
7074                 - (opt_table): max length for certificates should be 65536
7075
7076 2007-10-24  Dan Williams  <dcbw@redhat.com>
7077
7078         * src/supplicant-manager/nm-supplicant-interface.c
7079                 - (blob_free): correctly free blob data after use
7080                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7081
7082 2007-10-24  Dan Williams  <dcbw@redhat.com>
7083
7084         * libnm-util/nm-setting.c
7085                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7086                         EAP method need secrets
7087
7088 2007-10-24  Dan Williams  <dcbw@redhat.com>
7089
7090         * src/backends/NetworkManagerRedHat.c
7091                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7092
7093 2007-10-23  Dan Williams  <dcbw@redhat.com>
7094
7095         * libnm-util/nm-setting.c
7096           libnm-util/nm-setting.c
7097                 - (nm_setting_compare): implement
7098                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7099                    compare_one_hash_gvalue): compare the contents of a setting
7100
7101         * libnm-util/nm-connection.c
7102                 - (nm_connection_compare): implement
7103
7104 2007-10-23  Dan Williams  <dcbw@redhat.com>
7105
7106         * src/nm-activation-request.c
7107                 - (get_secrets_cb): handle getting a setting back that is more than
7108                         just secrets (ie, user changed auth or EAP method or something)
7109
7110 2007-10-23  Dan Williams  <dcbw@redhat.com>
7111
7112         * libnm-util/nm-setting.c
7113           libnm-util/nm-setting.h
7114                 - (nm_setting_verify): new function; verify one setting
7115                 - (nm_settings_verify_all): rename from nm_settings_verify()
7116                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7117                         all_settings
7118
7119         * libnm-util/nm-connection.c
7120                 - (nm_connection_replace_settings, nm_connection_verify,
7121                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7122
7123 2007-10-23  Dan Williams  <dcbw@redhat.com>
7124
7125         * src/nm-device-802-11-wireless.c
7126                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7127                         desired behavior
7128
7129 2007-10-23  Dan Williams  <dcbw@redhat.com>
7130
7131         * src/supplicant-manager/nm-supplicant-settings-verify.c
7132                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7133                         nm-settings.c
7134
7135 2007-10-23  Dan Williams  <dcbw@redhat.com>
7136
7137         * src/nm-device-802-11-wireless.c
7138                 - (real_act_stage2_config): after the first association failure,
7139                         if the connection still needs secrets ask the user for them
7140                         explicitly.  After the fourth association failure due to bad
7141                         secrets, fail the connection entirely.  Handles the GetSecrets
7142                         loop that NM gets into when the provided secrets don't match up
7143                         with the connection details.
7144
7145 2007-10-23  Dan Williams  <dcbw@redhat.com>
7146
7147         * src/supplicant-manager/nm-supplicant-config.c
7148                 - (nm_supplicant_config_add_setting_wireless_security): only add
7149                         WPA-specific options when WPA is in use
7150
7151 2007-10-23  Dan Williams  <dcbw@redhat.com>
7152
7153         * src/supplicant-manager/nm-supplicant-config.c
7154                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7155                         secret doesn't need to be unhexified
7156
7157 2007-10-23  Dan Williams  <dcbw@redhat.com>
7158
7159         * libnm-util/nm-setting.c
7160                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7161                         before trying to do something with it
7162
7163 2007-10-23  Dan Williams  <dcbw@redhat.com>
7164
7165         * src/nm-device-802-11-wireless.c
7166                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7167
7168 2007-10-23  Dan Williams  <dcbw@redhat.com>
7169
7170         * src/nm-device-802-11-wireless.c
7171                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7172                         non-SSID-broadcasting APs
7173
7174 2007-10-23  Dan Williams  <dcbw@redhat.com>
7175
7176         * src/NetworkManagerAP.c
7177                 - (match_cipher, security_compatible): remove
7178                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7179                         libnm-util instead
7180
7181 2007-10-23  Dan Williams  <dcbw@redhat.com>
7182
7183         * libnm-util/nm-utils.c
7184           libnm-util/nm-utils.h
7185                 - (nm_utils_ap_security_compatible): common function for checking
7186                         whether a specific AP is compatible with an NMConnection
7187
7188 2007-10-23  Dan Williams  <dcbw@redhat.com>
7189
7190         * libnm-util/nm-setting.c
7191                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7192                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7193                    need_secrets_password, setting_wireless_security_verify): fix
7194                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7195                         secrets logic for each supported EAP method
7196
7197 2007-10-23  Dan Williams  <dcbw@redhat.com>
7198
7199         * src/supplicant-manager/nm-supplicant-config.c
7200                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7201                         config option name, should be "private_key2_passwd"
7202
7203 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7204
7205         Implement support for static IP addresses, additional/overridden DNS and
7206         DNS domain search lists.
7207
7208         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7209         (ip4_addresses_to_gvalue): Implement.
7210         (convert_array_to_byte_array): Implement.
7211         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7212         NM_S_TYPE_IP4_ADDRESSES.
7213         (nm_setting_hash): Ditto.
7214         (default_setting_clear_secrets): Add a default case for the switch: IP address
7215         shouldn't be secret, ever.
7216         (setting_ip4_config_verify): Update, requires addresses in case of manual
7217         configurations.
7218         (setting_ip4_config_destroy): Free stuff.
7219
7220         * src/nm-device.c (merge_ip4_config): Implement.
7221         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7222
7223 2007-10-22  Dan Williams  <dcbw@redhat.com>
7224
7225         * libnm-util/nm-setting.c
7226                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7227                         pairwise cipher options for Dynamic WEP
7228
7229 2007-10-21  Dan Williams  <dcbw@redhat.com>
7230
7231         * src/NetworkManagerAP.c
7232           src/NetworkManagerAP.h
7233                 - Rename 'articifical' -> 'fake' since that's what they are until
7234                         noticed in scans
7235                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7236                         from the attributes in an NMConnection object
7237                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7238                         WPA Enterprise
7239                 - (nm_ap_match_in_list): find a matching AP in a scan list
7240
7241         * src/nm-device-802-11-wireless.c
7242                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7243                         AP when searching the scan list; match on frequency and mode too
7244                 - (nm_device_802_11_wireless_get_frequency): implement
7245                 - (merge_scanned_ap): replace duplicate matching logic with
7246                         nm_ap_match_in_list()
7247                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7248                         the user is trying to connect to a hidden network that is not yet
7249                         known from the scan list
7250                 - (activation_success_handler): now that the card knows the AP's BSSID,
7251                         there may already be a scanned AP in the scan list that is what
7252                         we really wanted to connect to, but didn't know at the time.  Use
7253                         that instead of the 'fake' AP created at activation start and get
7254                         rid of the 'fake' AP 
7255                 - (cull_scan_list): don't remove fake APs
7256
7257 2007-10-21  Dan Williams  <dcbw@redhat.com>
7258
7259         * src/nm-activation-request.h
7260           src/nm-activation-request.c
7261                 - (nm_act_request_set_specific_object): new function; allow setting the
7262                         specific object if one isn't set yet
7263
7264 2007-10-20  Dan Williams  <dcbw@redhat.com>
7265
7266         * src/supplicant-manager/nm-supplicant-config.h
7267           src/supplicant-manager/nm-supplicant-config.c
7268                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7269                         table to store blobs
7270                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7271                         blob hash table
7272                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7273                 - (nm_supplicant_config_add_setting_wireless_security): handle
7274                         options that use certificates (ie, blobs)
7275
7276         * src/nm-device-802-11-wireless.c
7277                 - (build_supplicant_config): pass a UID (just use the connection path)
7278                         to the supplicant config as now required
7279
7280         * src/supplicant-manager/nm-supplicant-interface.c
7281                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7282                         there are any blobs to send to wpa_supplicant, send those first
7283                         before sending the network configuration
7284
7285 2007-10-19  Dan Williams  <dcbw@redhat.com>
7286
7287         Split the GetSecrets() call off to a separate D-Bus interface so that it
7288         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7289         should be able to call GetSecrets().
7290
7291         * include/NetworkManager.h
7292                 - Define the connection secrets D-Bus interface
7293
7294         * src/vpn-manager/nm-vpn-connection.c
7295                 - (clear_need_auth): get the right proxy object for the connection
7296                         secrets interface
7297                 - (get_connection_secrets): use the connection secrets proxy; send
7298                         empty hints in get secrets request
7299
7300         * src/nm-activation-request.c
7301                 - (nm_act_request_request_connection_secrets): use the connection
7302                         secrets proxy; send empty hints in get secrets request
7303
7304         * src/nm-manager.c
7305           src/nm-manager.h
7306                 - (connection_get_settings_cb): set the connection secrets proxy on
7307                         the connection object too
7308                 - (internal_new_connection_cb): create the connection secrets proxy
7309
7310         * introspection/nm-settings-connection.xml
7311                 - Define Connection.Secrets interface and move GetSecrets there
7312                 - Add a 'hints' argument to GetSecrets
7313
7314         * libnm-glib/nm-settings.c
7315           libnm-glib/nm-settings.h
7316                 - (impl_connection_settings_get_secrets): add 'hints' argument
7317
7318 2007-10-19  Dan Williams  <dcbw@redhat.com>
7319
7320         * src/nm-device.c
7321                 - (constructor): add message about what path a device is exported as
7322                         to help in debugging rh #339011
7323
7324 2007-10-17  Dan Williams  <dcbw@redhat.com>
7325
7326         * libnm-util/nm-utils.h
7327           libnm-util/nm-utils.c
7328                 - (nm_utils_security_valid): common function to help find the intersection
7329                         of capabilities of devices and (optionally) access points
7330
7331 2007-10-17  Dan Williams  <dcbw@redhat.com>
7332
7333         * src/nm-device-802-11-wireless.c
7334                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7335                         don't get erroneously cleared
7336
7337 2007-10-17  Dan Williams  <dcbw@redhat.com>
7338
7339         * src/nm-manager.h
7340           src/nm-manager.c
7341           src/nm-hal-manager.c
7342                 - (device_removed, finalize, nm_manager_remove_device,
7343                    nm_manager_sleep): add a 'deactivate' argument to 
7344                    nm_manager_remove_device() to fully deactivate devices when necessary
7345                    (ie, always except when waking up)
7346
7347 2007-10-16  Dan Williams  <dcbw@redhat.com>
7348
7349         * libnm-util/nm-setting.c
7350                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7351                         also isn't valid phase2 autheap method
7352
7353 2007-10-16  Dan Williams  <dcbw@redhat.com>
7354
7355         * libnm-glib/nm-client.c
7356                 - (update_wireless_status): consolidate updates of wireless status
7357                 - (constructor): use update_wireless_status()
7358                 - (manager_running): set wireless status off when NM goes away; requery
7359                         the wireless status when NM comes back
7360
7361 2007-10-16  Dan Williams  <dcbw@redhat.com>
7362
7363         * libnm-glib/nm-client.c
7364                 - (nm_client_activate_device): actually use the fixed-up specific
7365                         object path
7366
7367 2007-10-16  Dan Williams  <dcbw@redhat.com>
7368
7369         * src/nm-hal-manager.c
7370                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7371                         killswitch error messages once
7372
7373 2007-10-16  Dan Williams  <dcbw@redhat.com>
7374
7375         * src/nm-manager.c
7376                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7377                         if it's disabled in hardware; don't touch network devices while
7378                         NM is asleep
7379
7380 2007-10-16  Dan Williams  <dcbw@redhat.com>
7381
7382         * libnm-util/nm-client.c
7383                 - (nm_client_activate_device): convert NULL specific_object to "/",
7384                         which is used in place of NULL
7385
7386         * src/nm-manager.c
7387                 - (impl_manager_activate_device): convert "/" specific_object back into
7388                         NULL
7389
7390 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7391
7392         Implement a generic NMSetting creator from setting name.
7393         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7394         add a virtual function 'populate_fn'.
7395
7396         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7397         (register_default_creators): Register setting creators instead of functions
7398         that create and then populate.
7399         (parse_one_setting): Use the common setting creator and then setting specific
7400         poplulation function.
7401
7402         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7403         they all looked exactly the same.
7404         Add a 'populate_fn' virtual function to NMSetting.
7405         Use default virtual functions in case they are not overriden.
7406         (nm_setting_populate_from_hash): Implement.
7407
7408         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7409         name, use a defined string.
7410         (real_act_stage4_get_ip4_config): Ditto.
7411
7412 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7413
7414         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7415         HAL is int, not uint.
7416
7417 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7418
7419         Implement killswitch polling through HAL.
7420
7421         * src/nm-manager.c: Add wireless hardware status property. Add 
7422         'properties-changed' signal for changes in wireless and wireless hardware
7423         state changes.
7424
7425         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7426         and update NMManager's wireless hardware state when it has changed.
7427         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7428         already does that.
7429
7430         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7431         values of wireless state and wireless hardware state. Listen for the
7432         'properties-changed' signals, update the cached values and emit notify.
7433
7434         * include/NetworkManager.h: Fix a typo in a comment.
7435
7436 2007-10-14  Dan Williams  <dcbw@redhat.com>
7437
7438         * libnm-util/nm-setting.c
7439                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7440
7441 2007-10-13  Dan Williams  <dcbw@redhat.com>
7442
7443         * libnm-util/nm-setting.h
7444           libnm-util/nm-setting.c
7445           src/supplicant-manager/nm-supplicant-config.c
7446                 - Make the 'proto' field of the 802-11-wireless-security field a
7447                         string list
7448
7449 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7450
7451         Rework the "properties-changed" signal listening implementation.
7452         Add a generic implementation to NMObject class that listens for
7453         the signal and calls property setters of the target NMObject.
7454
7455         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7456
7457         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7458         code to the end of file so that all the static functions are available
7459         without extra declarations.
7460         Remove the "properties-changed" signal handling and use the framework from
7461         NMObject.
7462         Implement property setters for properties that change with 
7463         "properties-changed" signal.
7464
7465         * libnm-glib/nm-access-point.c: Ditto.
7466
7467 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7468
7469         Rework the "properties-changed" signal implementation.
7470         In classes that need to use it, just emit "GObject::notify" and the new
7471         framework takes care of the rest to make the signal available on dbus.
7472         The framework queues the notifications and tries to send as many together
7473         in one signal as possible.
7474
7475         * src/nm-properties-changed-signal.c:
7476         * src/nm-properties-changed-signal.h: Implement.
7477
7478         * src/Makefile.am: Add new files to build.
7479
7480         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7481         signal.
7482
7483         * src/nm-device-802-11-wireless.c: Ditto.
7484
7485 2007-10-10  Dan Williams  <dcbw@redhat.com>
7486
7487         * src/nm-manager.c
7488                 - (wait_for_connection_expired): ensure info is valid
7489                 - (connection_added_default_handler): Should only remove pending
7490                         connection info when the manager has the connection that it's
7491                         waiting for.  Fixes segfault in wait_for_connection_info().  
7492
7493 2007-10-10  Dan Williams  <dcbw@redhat.com>
7494
7495         * libnm-util/nm-setting.c
7496           libnm-util/nm-setting.h
7497                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7498                         can use if they choose.  Should be filled in by the settings service
7499                         on-the-fly with the currently logged in user's username
7500
7501 2007-10-10  Dan Williams  <dcbw@redhat.com>
7502
7503         * src/nm-device-802-11-wireless.c
7504                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7505                         as such, because even if the manager fills in the SSID, NM still
7506                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7507                         its SSID
7508
7509 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7510
7511         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7512         code that used NM's own version of dbus signal handling and custom dictionary
7513         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7514         and we get to maintain over 2000 lines less code.
7515
7516         * libnm-util/dbus-dict-helpers.c:
7517         * libnm-util/dbus-dict-helpers.h: Remove.
7518
7519         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7520
7521         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7522
7523         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7524         handlers.
7525
7526         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7527
7528         * configure.in: Remove test/libnm-util/Makefile creation.
7529
7530         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7531
7532         * test/libnm-util/: Remove the whole directory.
7533
7534 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7535
7536         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7537         device_state_changed_idle_id variable or it would contain some random value and the
7538         schedule_change_check calls would not do anything.
7539
7540 2007-10-09  Dan Williams  <dcbw@redhat.com>
7541
7542         * src/nm-device-802-11-wireless.c
7543                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7544                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7545                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7546                         merging of non-SSID-broadcasting APs
7547
7548 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7549
7550         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7551         "guint8 *" since it's usually used with GByteArray->data.
7552         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7553
7554 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7555
7556         * src/NetworkManagerUtils.c
7557         (nm_utils_is_empty_ssid):
7558         (nm_utils_escape_ssid):
7559         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7560         lot of places, so they belong to libnm-utils instead.
7561
7562         Now with 100% less compiler warnings:
7563
7564         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7565         (nm_dbus_unescape_object_path): Ditto.
7566         (nm_utils_ssid_to_utf8): Ditto.
7567         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7568         (nm_utils_escape_ssid): Ditto.
7569         (nm_utils_same_ssid): Ditto.
7570
7571         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7572         (add_one_connection_element): Remove an unused variable.
7573         (impl_manager_get_active_connections): Ditto.
7574
7575         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7576         variable.
7577
7578         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7579         from the previous commit.
7580
7581         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7582         (real_act_stage1_prepare): Ditto.
7583         (activation_success_handler): Ditto.
7584         (get_property): Ditto.
7585
7586         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7587         variable.
7588
7589         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7590         it's always set.
7591
7592         * src/supplicant-manager/nm-supplicant-config.c 
7593         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7594         to expected "char *".
7595         (nm_supplicant_config_add_setting_wireless): Ditto.
7596         (nm_supplicant_config_remove_option): Remove, not used.
7597
7598         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7599         not double.
7600         (test_wireless_enabled): Ifdef out unused function.
7601         (device_deactivate): Ditto.
7602         (device_state_changed): Ditto.
7603         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7604         (nm_utils_escape_ssid): Ditto.
7605
7606         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7607         (nm_utils_is_empty_ssid): Ditto.
7608
7609         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7610         unused variable.
7611
7612         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7613         (setting_vpn_properties_update_secrets): Ditto.
7614         (int_to_gvalue): Ifdef out for now, not used.
7615         (byte_to_gvalue): Ditto.
7616
7617         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7618         Unused, remove.
7619
7620 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7621
7622         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7623         about dbus manager, not named manager.
7624         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7625
7626         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7627         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7628         However, the same signal is emitted when we destroy it and there's 
7629         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7630
7631         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7632         releasing the DBusGConnection, since proxy needs a conneciton.
7633         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7634
7635 2007-10-08  Dan Williams  <dcbw@redhat.com>
7636
7637         * src/NetworkManager.c
7638                 - (main): error on unknown command-line options
7639
7640 2007-10-08  Dan Williams  <dcbw@redhat.com>
7641
7642         Reimplement the invalid connection list.  Don't try to re-activate a
7643         connection that just failed or was canceled.
7644
7645         * src/nm-device.c
7646                 - (connection_secrets_failed_cb): fail device activation, don't just
7647                         deactivate the device.  Listeners have to know about the failure.
7648
7649         * src/NetworkManagerPolicy.c
7650                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7651                         the connection list given to a device's get_best_connection()
7652                         method
7653                 - (device_state_changed): tag failed connections as invalid; clear the
7654                         tag from successful connections
7655
7656 2007-10-08  Dan Williams  <dcbw@redhat.com>
7657
7658         Fix problems with interrupted activation.  Previously, choosing an AP
7659         from the menu, then choosing another one before the first connection was
7660         successful wouldn't deactivate the device before starting the new connection
7661         on that same device.
7662
7663         * src/NetworkManagerPolicy.c
7664                 - (deactivate_old_device, device_state_changed, state_changed,
7665                    nm_policy_new): wrong place to deactivate old devices
7666
7667         * src/nm-manager.c
7668                 - (pending_connection_info_destroy, finalize,
7669                    wait_for_connection_expired): decouple destruction of the pending
7670                         connection info from the manager device
7671                 - (connection_added_default_handler): deactivate any active or
7672                         activating device before starting a new activation
7673                 - (impl_manager_activate_device): deactivate any active or activating
7674                         device before starting a new activation; be sure not to leak
7675                         pending connection info if a new activation request arrives but
7676                         there's already a pending one in-process
7677
7678 2007-10-08  Dan Williams  <dcbw@redhat.com>
7679
7680         * src/NetworkManagerAP.h
7681           src/NetworkManagerAP.c
7682                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7683                         should handle default SSIDs and whether or not to autoconnect
7684                         to them
7685
7686 2007-10-08  Dan Williams  <dcbw@redhat.com>
7687
7688         * src/NetworkManagerPolicy.c
7689                 - (nm_policy_device_change_check): print out connection name where
7690                         possible
7691
7692 2007-10-08  Dan Williams  <dcbw@redhat.com>
7693
7694         * src/nm-device-802-11-wireless.c
7695           src/nm-device-802-11-wireless.h
7696                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7697                         'hidden-ap-found' signal (for internal use only) that allows the
7698                         NMManager to fill in the AP's SSID if a connection has that AP's
7699                         BSSID in its seen-bssids list
7700
7701         * src/nm-manager.c
7702                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7703                         wireless device's hidden-ap-found signal and fill in the APs SSID
7704                         if possible
7705
7706 2007-10-07  Dan Williams  <dcbw@redhat.com>
7707
7708         * src/nm-manager.c
7709           src/nm-manager.h
7710                 - Add a 'connections-added' signal to batch together updates of large
7711                         numbers of connections, like when reading from a settings service
7712                         the first time.  Otherwise, the policy would just activate the first
7713                         suitable connection it saw rather than waiting for the full list
7714                         to arrive.
7715                 - (nm_manager_class_init): register new signal
7716                 - (get_type_for_proxy, connection_get_settings_cb,
7717                    get_connection_for_proxy): centralize places where a proxy's setting
7718                         service is determined
7719                 - (free_get_settings_info): if the call being freed is the last call
7720                         in a pending call group, fire off the connections-added signal
7721                 - (internal_new_connection_cb): add call to a pending call group if
7722                         requested
7723                 - (list_connections_cb): always create a call group here, because this
7724                         call results in a batch of new connections
7725                 - (initial_get_connections): start getting system connections first
7726                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7727                         removed signal when destroying connections
7728
7729         * src/NetworkManagerPolicy.c
7730                 - (nm_policy_new, connections_added): handle connections-added signal
7731                         from the manager
7732
7733 2007-10-06  Dan Williams  <dcbw@redhat.com>
7734
7735         * src/nm-device-802-11-wireless.c
7736                 - (constructor): fix leaked socket
7737
7738 2007-10-06  Dan Williams  <dcbw@redhat.com>
7739
7740         * src/NetworkManagerPolicy.c
7741                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7742                         connection in the list returned by nm_manager_get_connections() is
7743                         reffed, but they weren't getting unreffed before returning
7744
7745 2007-10-06  Dan Williams  <dcbw@redhat.com>
7746
7747         * src/nm-manager.c
7748                 - (connections_to_slist): sort connections first on autoconnect, then
7749                         on timestamp
7750
7751 2007-10-06  Dan Williams  <dcbw@redhat.com>
7752
7753         * libnm-util/nm-connection.c
7754                 - (gvalue_to_string): handle UINT64
7755
7756 2007-10-06  Dan Williams  <dcbw@redhat.com>
7757
7758         * src/NetworkManagerPolicy.c
7759                 - (connection_updated, nm_policy_new): recheck state when a connection
7760                         gets updated
7761
7762 2007-10-06  Dan Williams  <dcbw@redhat.com>
7763
7764         * src/nm-manager.c
7765           src/nm-manager.h
7766                 - (nm_manager_get_connection_dbus_path): make static
7767                 - (nm_manager_update_connections): remove; unused
7768                 - Add a connection-updated signal
7769                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7770                         handle connection object updates
7771
7772 2007-10-06  Dan Williams  <dcbw@redhat.com>
7773
7774         * src/NetworkManagerPolicy.c
7775                 - (connection_removed): deactivate removed connections
7776
7777 2007-10-06  Dan Williams  <dcbw@redhat.com>
7778
7779         * libnm-util/nm-connection.c
7780           libnm-util/nm-connection.h
7781                 - (nm_connection_replace_settings): new function
7782
7783 2007-10-06  Dan Williams  <dcbw@redhat.com>
7784
7785         * libnm-glib/nm-device-802-11-wireless.c
7786                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7787                         on error when getting the active access point over D-Bus from NM
7788
7789 2007-10-05  Dan Williams  <dcbw@redhat.com>
7790
7791         * libnm-util/nm-setting.c
7792                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7793                         to the NMSettingWireless table; it's now a string array not an array
7794                         of byte arrays
7795
7796 2007-10-05  Dan Williams  <dcbw@redhat.com>
7797
7798         * libnm-glib/nm-device-802-11-wireless.c
7799                 - Cache properties and update cached properties on D-Bus signals from NM
7800
7801 2007-10-05  Dan Williams  <dcbw@redhat.com>
7802
7803         * src/nm-device-802-11-wireless.c
7804                 - (set_current_ap): consolidate current_ap handling code into one place
7805                         to ensure that PropertiesChanged signals are emitted in all cases
7806                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7807                    nm_device_802_11_wireless_dispose): use set_current_ap()
7808
7809 2007-10-05  Dan Williams  <dcbw@redhat.com>
7810
7811         * libnm-glib/nm-access-point.c
7812           libnm-glib/nm-access-point.h
7813                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7814                         because the value is cached internally now.  Callers should not
7815                         free the internal value.
7816                 - Make signal name defines private
7817
7818         * test/nm-tool.c
7819           libnm-glib/libnm-glib-test.c
7820                 - Don't free value returned from nm_access_point_get_hw_address()
7821
7822 2007-10-04  Dan Williams  <dcbw@redhat.com>
7823
7824         * introspection/nm-device-802-11-wireless.xml
7825           src/nm-device-802-11-wireless.h
7826           src/nm-device-802-11-wireless.c
7827                 - Add a PropertiesChanged signal for wireless device
7828                 - Store currently associated access point
7829                 - (periodic_update): generalize; update rate here too and emit the
7830                         correct PropertiesChanged signal when stuff changes
7831                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7832                    real_activation_cancel_handler): clear current_ap when device is
7833                         deactivated
7834                 - (link_to_specific_ap, get_ap_blacklisted,
7835                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7836                         code
7837                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7838                         outside this file
7839                 - (real_set_hw_address): emit property changed signal if the card's
7840                         MAC address changes
7841                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7842                         the card is supposed to be connecting to
7843                 - (activation_success_handler): send out property updates on successful
7844                         activation
7845                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7846                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7847                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7848                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7849                         is now boxed; add PropertiesChanged signal
7850
7851 2007-10-04  Dan Williams  <dcbw@redhat.com>
7852
7853         * libnm-util/nm-connection.c
7854           libnm-util/nm-connection.h
7855                 - (nm_connection_verify): new function
7856
7857 2007-10-04  Dan Williams  <dcbw@redhat.com>
7858
7859         * libnm-util/nm-setting.c
7860                 - (nm_settings_verify): use #defines when possible rather than strings
7861                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7862                 - (setting_vpn_verify): tighter validity check on 'service_type'
7863
7864 2007-10-04  Dan Williams  <dcbw@redhat.com>
7865
7866         * libnm-glib/nm-settings.c
7867                 - (nm_connection_settings_class_init): provide correct type for argument
7868                         to the Updated signal so that dbus-glib knows how to marshal it
7869
7870 2007-10-03  Dan Williams  <dcbw@redhat.com>
7871
7872         * src/nm-device-802-3-ethernet.c
7873                 - (real_get_best_connection): don't create automatic connections
7874                         internally; clients should provide a setting that applies to
7875                         the device with 'autoconnect: True'.  Problem was that these
7876                         internally auto-created connections don't have a proxy or service
7877                         name becuase they weren't created by a settings daemon, and therefore
7878                         clients have no idea what to do with them.
7879
7880 2007-10-03  Dan Williams  <dcbw@redhat.com>
7881
7882         * src/nm-device-802-11-wireless.c
7883           src/nm-device-802-11-wireless.h
7884           introspection/nm-device-802-11-wireless.xml
7885                 - GetActiveNetworks -> GetAccessPoints
7886                 - ActiveNetwork -> ActiveAccessPoint
7887                 - NetworkAdded -> AccessPointAdded
7888                 - NetowrkRemoved -> AccessPointRemoved
7889
7890         * libnm-glib/nm-device-802-11-wireless.c
7891           libnm-glib/nm-device-802-11-wireless.h
7892                 - network-added signal -> access-point-added
7893                 - network-removed signal -> access-point-removed
7894                 - nm_device_802_11_wireless_get_active_network() ->
7895                         nm_device_802_11_wireless_get_active_access_point()
7896                 - nm_device_802_11_wireless_get_network_by_path() ->
7897                         nm_device_802_11_wireless_get_access_point_by_path()
7898                 - nm_device_802_11_wireless_get_networks() ->
7899                         nm_device_802_11_wireless_get_access_points()
7900
7901         * libnm-glib/libnm-glib-test.c
7902           test/nm-tool.c
7903           src/NetworkManagerPolicy.c
7904                 - Fixups for Network -> AccessPoint
7905
7906 2007-10-03  Dan Williams  <dcbw@redhat.com>
7907
7908         Add a GetActiveConnections() method on the Manager object.
7909
7910         * src/nm-manager.c
7911           src/nm-manager.h
7912           introspection/nm-manager.xml
7913                 - (connection_get_settings_cb): keep connection type around too
7914                 - (impl_manager_get_active_connections, add_one_connection_element):
7915                         implement; returns all active connections and what devices they
7916                         apply to
7917
7918         * libnm-glib/nm-client.c
7919           libnm-glib/nm-client.h
7920           introspection/nm-manager-client.xml
7921                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7922                         by the caller; free here to avoid memory leak
7923                 - (nm_client_get_active_connections): implement; return the list of
7924                         active connections
7925                 - (nm_client_free_active_connection_element): implement; free an element
7926                         of the GSList returned by nm_client_get_active_connections()
7927
7928 2007-10-03  Dan Williams  <dcbw@redhat.com>
7929
7930         * src/nm-device-802-11-wireless.c
7931                 - (nm_device_802_11_wireless_update_bssid): remove
7932                 - (get_active_ap): new function; find the AP in the scan list which
7933                         matches the current BSSID and SSID of the wireless device
7934                 - (nm_device_802_11_periodic_update): get current AP using
7935                         get_active_ap() and print AP roam messages
7936
7937 2007-10-01  Dan Williams  <dcbw@redhat.com>
7938
7939         * libnm-util/nm-setting.h
7940                 - Add a 'timestamp' option to NMSettingConnection
7941                 - Add a UINT64 type
7942
7943         * libnm-util/nm-setting.c
7944                 - (uint64_to_gvalue): new function
7945                 - (nm_setting_populate_from_hash, nm_setting_hash,
7946                    default_setting_clear_secrets): handle UINT64 type
7947                 - con_table: add 'timestamp' member
7948
7949 2007-10-01  Dan Williams  <dcbw@redhat.com>
7950
7951         * src/nm-manager.c
7952                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7953                         value when the connection can be activated immediately
7954
7955 2007-10-01  Dan Williams  <dcbw@redhat.com>
7956
7957         * libnm-glib/nm-device.c
7958                 - (nm_device_class_init): actually tell glib about the carrier-changed
7959                         signal
7960
7961 2007-10-01  Dan Williams  <dcbw@redhat.com>
7962
7963         * configure.in
7964           src/marshallers/Makefile.am
7965           src/marshallers/nm-marshal.list
7966           src/marshallers/nm-marshal-main.c
7967                 - Consolidate glib marshallers into one place
7968
7969         * src/dhcp-manager/Makefile.am
7970           src/dhcp-manager/nm-dhcp-manager.c
7971           src/supplicant-manager/Makefile.am
7972           src/supplicant-manager/nm-supplicant-manager.c
7973           src/supplicant-manager/nm-supplicant-interface.c
7974           src/ppp-manager/Makefile.am
7975           src/ppp-manager/nm-ppp-manager.c
7976           src/vpn-manager/Makefile.am
7977           src/vpn-manager/nm-vpn-connection.c
7978           src/Makefile.am
7979                 - Use consolidated marshallers
7980
7981         * src/dhcp-manager/nm-dhcp-marshal.list
7982           src/dhcp-manager/nm-dhcp-marshal-main.c
7983           src/supplicant-manager/nm-supplicant-marshal-main.c
7984           src/supplicant-manager/nm-supplicant-marshal.list
7985           src/nm-marshal-main.c
7986           src/nm-marshal.list
7987           src/ppp-manager/nm-ppp-marshal-main.c
7988           src/ppp-manager/nm-ppp-marshal.list
7989           src/vpn-manager/nm-vpn-marshal-main.c
7990           src/vpn-manager/nm-vpn-marshal.list
7991                 - Remove
7992
7993 2007-10-01  Dan Williams  <dcbw@redhat.com>
7994
7995         * include/NetworkManagerVPN.h
7996                 - define VPN connection state change reason codes
7997
7998         * src/vpn-manager/Makefile.am
7999           src/vpn-manager/nm-vpn-marshal.list
8000           src/vpn-manager/nm-vpn-marshal-main.c
8001                 - Add marshallers for StateChanged signal
8002
8003         * introspection/nm-vpn-connection.xml
8004                 - New Banner property
8005                 - StateChanged signal now includes a 'reason' argument
8006
8007         * src/vpn-manager/nm-vpn-connection.c
8008           src/vpn-manager/nm-vpn-connection.h
8009                 - Add a "Banner" property that contains the returned VPN server login
8010                         banner (if any); valid only in the ACTIVATED state
8011                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8012                         a 'reason' argument and emits that reason along with the
8013                         state-changed signal
8014                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8015                 - (nm_vpn_connection_ip4_config_get): save banner for later
8016                 - (nm_vpn_connection_get_banner, get_property,
8017                    nm_vpn_connection_class_init): implement Banner property
8018
8019         * src/vpn-manager/nm-vpn-service.c
8020                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8021                         connection list because elements may get added/removed from it
8022                         while iterating over the list
8023                 - (connection_state_changed): signal now includes the 'reason' argument
8024
8025         * libnm-glib/nm-vpn-connection.c
8026           libnm-glib/nm-vpn-connection.h
8027                 - (nm_vpn_connection_get_banner): new function
8028                 - (state_changed_proxy): handle reason argument
8029
8030 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8031
8032         * src/nm-manager.c:
8033         * src/nm-manager.h:
8034         Implement device activation through NMManager.
8035         Implement "pending device activation" here - If the connection isn't found,
8036         we try to wait for up to 5 seconds for the connection to be provided.
8037         Add NMConnectionType argument to "connection-added" and "connection-removed"
8038         signals.
8039         (nm_manager_get): Remove. Finally.
8040
8041         * src/nm-activation-request.c: 
8042         * src/nm-activation-request.h: 
8043         Remove all the deferred activation code.
8044
8045         * src/nm-device.c: Remove all the deferred activation code. Once the device
8046         activation is started, it's started. Update the activation virtual function
8047         signature.
8048
8049         * src/nm-device-interface.c:
8050         * src/nm-device-interface.h:
8051         Device activation now takes only NMActRequest argument.
8052         Don't expose device activation directly on dbus, it's supposed to go through
8053         NMManager now.
8054
8055         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8056         a bit more compact.
8057         Use the new device activation methods through NMManager.
8058
8059         * introspection/nm-manager-client.xml: 
8060         * introspection/nm-manager.xml: 
8061         * libnm-glib/nm-client.c:
8062         * libnm-glib/nm-client.h:
8063         Add device activation method.
8064         
8065         * libnm-glib/nm-device.c: 
8066         * libnm-glib/nm-device.h: 
8067         * introspection/nm-device.xml: 
8068         Remove device activation method. It's done through NMManager now.
8069
8070         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8071         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8072
8073 2007-09-28  Dan Williams  <dcbw@redhat.com>
8074
8075         * libnm-glib/nm-vpn-connection.c
8076                 - (nm_vpn_connection_get_state): try to update state if the current
8077                         state is UNKNOWN
8078
8079 2007-09-27  Dan Williams  <dcbw@redhat.com>
8080
8081         Patch from Bill Nottingham
8082
8083         * src/supplicant-manager/nm-supplicant-config.c
8084                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8085                         data to the supplicant
8086
8087 2007-09-27  Dan Williams  <dcbw@redhat.com>
8088
8089         * src/NetworkManagerSystem.c
8090                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8091                         and all address manipulation here should be happening on the
8092                         _VPN_ device, not the active device
8093
8094 2007-09-26  Dan Williams  <dcbw@redhat.com>
8095
8096         * src/nm-manager.c
8097           src/nm-manager.h
8098           src/nm-activation-request.c
8099           src/nm-activation-request.h
8100                 - Move the GetSecrets stuff out of the NMManager instance because it
8101                         doesn't really need to be there and complicates things
8102
8103         * src/nm-device.c
8104                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8105                         connection-secrets-failed signal and deactivate the device if
8106                         the GetSecrets call fails
8107
8108         * src/nm-device-802-11-wireless.c
8109                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8110                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8111                         secrets and give correct hints about whether new secrets should be
8112                         asked for by the client or not
8113
8114 2007-09-26  Dan Williams  <dcbw@redhat.com>
8115
8116         * src/vpn-manager/nm-vpn-connection.c
8117                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8118                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8119                         to the secrets-updated signal of the NMConnection since updating
8120                         the secrets is done within the scope of the NMVPNConnection object
8121                         already
8122                 - (get_connection_secrets): fix an uninialized variable usage error
8123
8124 2007-09-26  Dan Williams  <dcbw@redhat.com>
8125
8126         * libnm-util/nm-setting.c
8127                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8128                         actually get updated when the user enters them
8129
8130 2007-09-26  Dan Williams  <dcbw@redhat.com>
8131
8132         * libnm-glib/nm-vpn-plugin.c
8133                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8134
8135 2007-09-26  Dan Williams  <dcbw@redhat.com>
8136
8137         * include/NetworkManagerVPN.h
8138                 - Add a NEED_AUTH state
8139
8140         * src/vpn-manager/nm-vpn-connection.c
8141                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8142                         the connection needs secrets, and if so, then ask the settings
8143                         service to fill in the secrets.  Then start the connection.
8144
8145 2007-09-26  Dan Williams  <dcbw@redhat.com>
8146
8147         * src/vpn-manager/nm-vpn-manager.c
8148                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8149
8150 2007-09-26  Dan Williams  <dcbw@redhat.com>
8151
8152         * introspection/nm-vpn-plugin.xml
8153           libnm-glib/nm-vpn-plugin.c
8154           libnm-glib/nm-vpn-plugin.h
8155                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8156                         the name of the NMSetting in an NMConnection that may require
8157                         secrets specific to that VPN plugin
8158
8159 2007-09-26  Dan Williams  <dcbw@redhat.com>
8160
8161         * src/nm-manager.c
8162           src/nm-manager.h
8163                 - (nm_manager_get_connection_secrets): make static, unused outside
8164                         the file
8165                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8166
8167 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8168
8169         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8170         method.
8171         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8172         unreference the connection.
8173
8174         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8175         passing properties hash and routes string list, pass NMConnection (in hashed form).
8176
8177         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8178         as GSList, no need to copy stuff around anymore.
8179         (nm_vpn_connection_activate): Update the plugin activation method.
8180
8181         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8182         routes argument to GSList.
8183
8184 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8185
8186         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8187         state and try to get the secrets.
8188
8189         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8190         connections from NMManager and let the device to choose the best from the list.
8191         Since the connection list is sorted by system ones first and user ones later,
8192         the devices still prefer system connections like they did before.
8193         (deactivate_old_device): Implement. When a device starts activation, we have a
8194         policy (for now at least) to deactivate any other device that might be either
8195         active or still activating.
8196
8197         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8198         It's set on construction, there will be no other way to access it.
8199
8200         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8201         device events and drive the device, not the other way around.
8202
8203         * src/nm-device-802-3-ethernet.c: Ditto.
8204
8205         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8206         sent along, pass it on to virtual functions.
8207
8208         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8209         for now, but should really be public instead of nm_device_get_iface() since iface
8210         is a property of the DeviceInterface, not Device.
8211         (impl_device_activate): Don't touch NMManager!
8212
8213 2007-09-26  Jürg Billeter  <j@bitron.ch>
8214
8215         * initscript/paldo/NetworkManager.in:
8216         * initscript/paldo/NetworkManagerDispatcher.in:
8217         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8218         (nm_system_flush_loopback_routes): update paldo backend
8219
8220 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8221
8222         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8223         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8224         which means none of the devices get brought down properly, which in turn leaves
8225         DHCP client running.
8226
8227         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8228         (supplicant_connection_timeout_cb): Ditto.
8229
8230 2007-09-25  Dan Williams  <dcbw@redhat.com>
8231
8232         * src/nm-device.c
8233                 - (device_activation_go): small hack to work around race when
8234                         activating deferred connections; should solve this in a better way
8235
8236 2007-09-25  Dan Williams  <dcbw@redhat.com>
8237
8238         * introspection/nm-device.xml
8239           libnm-glib/nm-device.c
8240           libnm-glib/nm-device.h
8241                 - Add 'Carrier' property to exported NMDevice objects
8242
8243         * src/nm-device-interface.h
8244           src/nm-device-interface.c
8245           src/nm-device.c
8246                 - Add a 'carrier' property to internal NMDevice objects
8247
8248 2007-09-25  Dan Williams  <dcbw@redhat.com>
8249
8250         * src/nm-device-802-11-wireless.c
8251                 - (ap_auth_enforced): also return the encryption status of the AP so
8252                         that callers can differentiate easily between unencrypted APs
8253                         and encrypted ones, in addition to whether the AP has an
8254                         authenticator
8255                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8256                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8257                         previously would request secrets from unencrypted APs at times
8258
8259 2007-09-25  Dan Williams  <dcbw@redhat.com>
8260
8261         * src/nm-manager.c
8262                 - (nm_manager_update_state): new function; updates state and emits
8263                         appropriate signals ensuring a state-change signal for the same state
8264                         never gets emitted twice in a row.
8265                 - (manager_device_state_changed): handle more device state to get a
8266                         better picture of the overall NM state
8267
8268 2007-09-25  Dan Williams  <dcbw@redhat.com>
8269
8270         * libnm-glib/nm-settings.c
8271           libnm-glib/nm-settings.h
8272                 - (new_error -> nm_settings_new_error): make public so that subclasses
8273                         can use the same error domain.  Also pass a valid error code to
8274                         g_error_new_literal() so that libdbus doesn't assert when converting
8275                         the GError into a DBusError
8276                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8277                    impl_connection_settings_get_settings,
8278                    impl_connection_settings_get_secrets): use new error creator
8279                         function
8280
8281 2007-09-25  Dan Williams  <dcbw@redhat.com>
8282
8283         * src/NetworkManager.c
8284                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8285
8286 2007-09-25  Dan Williams  <dcbw@redhat.com>
8287
8288         * src/supplicant-manager/nm-supplicant-manager.c
8289                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8290                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8291                    nm_supplicant_manager_startup): when the supplicant isn't running,
8292                         try to start it periodically via system bus activation.  Fixes
8293                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8294                         for the supplicant to come back
8295
8296 2007-09-25  Dan Williams  <dcbw@redhat.com>
8297
8298         Ensure that old activation requests are forgotten about; previously
8299         hitting Cancel in the password dialog would deactivate whatever device
8300         that password was requested for, even if that wasn't the currently
8301         activating connection.
8302
8303         * src/nm-manager.c
8304           src/nm-manager.h
8305                 - (nm_manager_get_connection_secrets): track the pending call
8306                         object so it can be canceled later if needed
8307                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8308                         GetSecrets call for a particular connection
8309
8310         * src/nm-activation-request.c
8311                 - (dispose): cancel any outstanding GetSecrets calls on the
8312                         connection
8313
8314 2007-09-25  Dan Williams  <dcbw@redhat.com>
8315
8316         * src/NetworkManagerPolicy.c
8317                 - (nm_policy_device_change_check): handle devices that have a
8318                         deferred activation.  These devices are not really active _yet_,
8319                         but need to be treated as such here.  Don't interrupt them
8320                         automatically.
8321
8322         * src/nm-device-interface.c
8323                 - (impl_device_activate): handle devices that have a deferred activation
8324                         like activating or active devices.  When multiple active devices
8325                         get committed, the device shouldn't be deactivated until the
8326                         connection details are available to avoid DoS and such.  Currently,
8327                         any active, activating, or deferred activation device is deactivated
8328                         here before starting the new activation request.
8329
8330 2007-09-25  Dan Williams  <dcbw@redhat.com>
8331
8332         Properly re-query secrets from the settings daemon when stuff fails.
8333
8334         * src/nm-device-802-11-wireless.c
8335                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8336                         between Shared Key and Open System auth modes
8337                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8338                    real_act_stage4_ip_config_timeout): clear existing secrets and
8339                         request new ones when something fails due to a suspected wrong key
8340                 - (real_act_stage2_config): fix for new request_new argument to
8341                         nm_manager_get_connection_secrets()
8342
8343         * src/nm-manager.c
8344           src/nm-manager.h
8345                 - (nm_manager_get_connection_secrets): return error status; pass
8346                         new request_new argument on to the settings daemon
8347
8348         * introspection/nm-settings-connection.xml
8349                 - New 'request_new' argument to the GetSecrets call that hints to the
8350                         settings daemon to ask the user for completely new secrets
8351
8352         * libnm-glib/nm-settings.c
8353           libnm-glib/nm-settings.h
8354                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8355                         argument
8356
8357 2007-09-25  Dan Williams  <dcbw@redhat.com>
8358
8359         * libnm-util/nm-connection.c
8360           libnm-util/nm-connection.h
8361                 - (nm_connection_clear_secrets): new function; clear secrets out of
8362                         each NMSetting in an NMConnection
8363
8364         * libnm-util/nm-setting.h
8365           libnm-util/nm-setting.c
8366                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8367                         secrets out of an NMSetting
8368                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8369                    nm_setting_wired_new, nm_setting_wireless_new,
8370                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8371                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8372                         to default handler default_setting_clear_secrets()
8373
8374 2007-09-25  Dan Williams  <dcbw@redhat.com>
8375
8376         * src/nm-activation-request.c
8377           src/nm-activation-request.h
8378                 - (nm_act_request_is_deferred): new function
8379
8380 2007-09-24  Dan Williams  <dcbw@redhat.com>
8381
8382         * src/nm-device-802-11-wireless.c
8383                 - (activation_success_handler): update signal strength immediately
8384                         after activation
8385
8386 2007-09-24  Dan Williams  <dcbw@redhat.com>
8387
8388         * libnm-util/nm-setting.c
8389                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8390
8391 2007-09-24  Dan Williams  <dcbw@redhat.com>
8392
8393         * src/NetworkManagerPolicy.c
8394                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8395                         device by deactivating it because it doesn't have a "best connection".
8396                         Since autoconnect=False connections aren't automatically chosen,
8397                         NM would interrupt activation of such a connection because it
8398                         would never be "best" due to autoconnect=False.
8399
8400 2007-09-24  Dan Williams  <dcbw@redhat.com>
8401
8402         * src/nm-manager.c
8403                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8404                         actually has some time to enter a key before the GetSecrets call
8405                         times out
8406
8407 2007-09-24  Dan Williams  <dcbw@redhat.com>
8408
8409         * introspection/nm-manager.xml
8410           src/nm-manager.c
8411                 - (impl_manager_legacy_state): fix 'state' method call return value
8412
8413 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8414
8415         * test/Makefile.am: Install nm-tool
8416
8417 2007-09-24  Dan Williams  <dcbw@redhat.com>
8418
8419         Patch from Ross Burton <ross@burtonini.com>
8420
8421         * test/nm-tool.c
8422           callouts/nm-dhcp-client-action.c
8423           src/nm-netlink.c
8424           src/vpn-manager/nm-vpn-connection.c
8425           libnm-glib/libnm-glib-test.c
8426                 - warning fixes
8427
8428 2007-09-24  Dan Williams  <dcbw@redhat.com>
8429
8430         * libnm-util/nm-utils.h
8431           libnm-util/nm-utils.c
8432                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8433                         remove, unused
8434
8435 2007-09-23  Dan Williams  <dcbw@redhat.com>
8436
8437         * vpn-daemons/vpnc/properties/nm-vpnc.c
8438                 - Update for new VPN properties API bits; instead of passing around
8439                         a lot of random things, everything goes into the NMConnection
8440                         object.
8441
8442 2007-09-23  Dan Williams  <dcbw@redhat.com>
8443
8444         * libnm-util/nm-setting.c
8445                 - Correctly dispose of settings objects if creating them from a hash
8446                         table fails
8447
8448 2007-09-23  Dan Williams  <dcbw@redhat.com>
8449
8450         * libnm-util/nm-setting.c
8451                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8452                         the hash table in a standard manner.  Clients of libnm-util should
8453                         only call g_hash_table_remove_all(), never destroy the hash table
8454                         and recreate it.
8455
8456 2007-09-22  Dan Williams  <dcbw@redhat.com>
8457
8458         * src/nm-device-802-11-wireless.c
8459                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8460                         real reason to do it so often, and reduces wakeups for clients.
8461
8462 2007-09-21  Dan Williams  <dcbw@redhat.com>
8463
8464         * src/nm-device-802-11-wireless.c
8465                 - (build_supplicant_config): wpa_supplicant requires the option
8466                         key_mgmt=NONE for unencrypted networks
8467                 - (real_act_stage2_config): clarify log message on activation
8468
8469 2007-09-21  Dan Williams  <dcbw@redhat.com>
8470
8471         * test/nm-supplicant-test.c
8472           test/Makefile.am
8473                 - Remove supplicant test binary; no longer applicable
8474
8475 2007-09-21  Dan Williams  <dcbw@redhat.com>
8476
8477         * src/supplicant-manager/nm-supplicant-manager.c
8478                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8479                         activate it on the system bus
8480
8481 2007-09-20  Dan Williams  <dcbw@redhat.com>
8482
8483         * initscript/RedHat/NetworkManager.in
8484                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8485
8486 2007-09-20  Dan Williams  <dcbw@redhat.com>
8487
8488         * src/nm-device.c
8489                 - (nm_device_is_activating): work around a race between auto-activation
8490                         and the user activating the same device that is being auto-activated
8491
8492 2007-09-20  Dan Williams  <dcbw@redhat.com>
8493
8494         * src/nm-device-interface.c
8495                 - (impl_device_activate): until multiple active device support lands,
8496                         ensure only one device can be active at a time
8497
8498 2007-09-20  Dan Williams  <dcbw@redhat.com>
8499
8500         * src/supplicant-manager/nm-supplicant-config.c
8501           src/supplicant-manager/nm-supplicant-config.h
8502                 - (nm_supplicant_config_add_option): hide secrets from system logs
8503
8504 2007-09-20  Dan Williams  <dcbw@redhat.com>
8505
8506         * src/NetworkManagerPolicy.c
8507                 - (nm_policy_device_change_check): re-enable the wireless device change
8508                         checking code; insted of checking for SSIDs, check for the same
8509                         connection instead
8510
8511 2007-09-20  Dan Williams  <dcbw@redhat.com>
8512
8513         * src/nm-device-802-11-wireless.c
8514                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8515                         composite link state when determining when to start the disconnection
8516                         timer; that link state is already based on the supplicant interface's
8517                         status which is exactly what's already being examined, plus the link
8518                         state is a conglomeration of various things that we don't want here
8519
8520 2007-09-20  Dan Williams  <dcbw@redhat.com>
8521
8522         * libnm-glib/nm-access-point.c
8523                 - (handle_property_changed): strength is a UCHAR
8524
8525 2007-09-20  Dan Williams  <dcbw@redhat.com>
8526
8527         * src/supplicant-manager/nm-supplicant-config.c
8528                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8529                         string list keywords too since that's what wpa_supplicant wants
8530
8531 2007-09-20  Dan Williams  <dcbw@redhat.com>
8532
8533         * libnm-util/nm-setting.c
8534                 - (convert_strv_to_slist): dupe the values in the list because since
8535                         the list is a boxed value, it'll get destroyed when it's container
8536                         (like a hash table or whatever) gets destroyed
8537
8538 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8539
8540         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8541         GSList.
8542
8543         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8544
8545         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8546         just use (g_object_set_data_full).
8547
8548         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8549         that NMSettingVPN->routes is a GSList, convert it to char **.
8550         (nm_vpn_connection_ip4_config_get): Free routes when done.
8551         (nm_vpn_connection_activate): Ditto.
8552
8553         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8554         (real_act_stage2_config): Use defined setting names.
8555
8556 2007-09-20  Dan Williams  <dcbw@redhat.com>
8557
8558         * src/nm-device-802-11-wireless.c
8559           src/nm-manager.c
8560           src/nm-manager.h
8561                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8562                         so that the device can be deactivated if secrets are wrong
8563
8564 2007-09-20  Dan Williams  <dcbw@redhat.com>
8565
8566         * introspection/nm-settings-connection.xml
8567           libnm-glib/nm-settings.c
8568           libnm-glib/nm-settings.h
8569                 - Make GetSecrets asynchronous on the server side
8570
8571 2007-09-20  Dan Williams  <dcbw@redhat.com>
8572
8573         * src/nm-manager.h
8574           src/nm-device.c
8575                 - (nm_device_activate): actually check if a given connection
8576                         exists before assuming it doesn't
8577
8578 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8579
8580         * libnm-util/nm-connection.c (register_default_creators): Use defined
8581         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8582
8583         * libnm-util/nm-setting.c: Define property name strings, use them.
8584         Implement NMSettingVPN and NMSettingVPNProperties settings.
8585         Implement NM_S_TYPE_GVALUE_HASH.
8586         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8587         (setting_connection_verify): Rename 'devtype' property to 'type'.
8588
8589         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8590         properties.
8591
8592         * src/vpn-manager/nm-vpn-service.c: Ditto.
8593
8594         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8595
8596         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8597         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8598
8599         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8600         names. NMSettingConnection->devtype got renamed to 'type'.
8601
8602         * src/nm-device-802-3-ethernet.c (find_best_connection):
8603         (real_get_best_connection): Ditto.
8604
8605         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8606
8607         * libnm-glib/nm-vpn-manager.[ch]: Update.
8608
8609 2007-09-19  Dan Williams  <dcbw@redhat.com>
8610
8611         * src/NetworkManagerAP.c
8612           src/NetworkManagerAP.h
8613           introspection/nm-access-point.xml
8614                 - Change strength-changed signal into a properties-changed signal
8615                         for all properties, not just strength.  Export that signal over dbus
8616                         so listeners don't have to poll NM for changes.
8617                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8618                         get exported over D-Bus, so break up the logic and let other bits
8619                         decided when to export the AP
8620                 - (nm_ap_new_from_ap): remove, unused
8621
8622         * src/nm-device-802-11-wireless.c
8623                 - (merge_scanned_ap): only export APs that are actually on the device
8624                         list, not every AP created internally
8625
8626         * libnm-glib/nm-access-point.c
8627           libnm-glib/nm-access-point.h
8628                 - Cache properties internally and only hit DBus when needed.  Get
8629                         property updates from NM signals
8630
8631 2007-09-16  Dan Williams  <dcbw@redhat.com>
8632
8633         * libnm-util/nm-connection.c
8634           libnm-util/nm-connection.h
8635                 - (nm_connection_for_each_setting_value): new function; iterate over
8636                         each setting's value and call a user-provided function with details
8637                         about that value
8638
8639         * libnm-util/nm-setting.c
8640           libnm-util/nm-setting.h
8641                 - (nm_setting_enumerate_values): new function; enumerate the values
8642                         of a specific NMSetting subclass for a user-provided function with
8643                         details about that value
8644                 - Change wep_tx_keyidx to a uint32
8645                 - Create settings value tables for each setting defining their type,
8646                         key name, offset into the NMSetting subclass' structure, and whether
8647                         they are required and/or a secret
8648                 - (nm_setting_populate_from_hash): generic function to populate an
8649                         NMSetting from a GHash table, make all settings use it
8650                 - (nm_setting_hash): generic function to derive a GHashTable from
8651                         an NMSetting object, make all settings use it
8652
8653 2007-09-14  Dan Williams  <dcbw@redhat.com>
8654
8655         Remove unused stuff in libnm-util
8656
8657         * configure.in
8658           libnm-util/Makefile.am
8659           libnm-util/cipher-private.h
8660           libnm-util/cipher-wep-ascii.c
8661           libnm-util/cipher-wep-ascii.h
8662           libnm-util/cipher-wep-hex.c
8663           libnm-util/cipher-wep-hex.h
8664           libnm-util/cipher-wep-passphrase.c
8665           libnm-util/cipher-wep-passphrase.h
8666           libnm-util/cipher-wpa-psk-hex.c
8667           libnm-util/cipher-wpa-psk-hex.h
8668           libnm-util/cipher-wpa-psk-passphrase.c
8669           libnm-util/cipher-wpa-psk-passphrase.h
8670           libnm-util/cipher.c
8671           libnm-util/cipher.h
8672           libnm-util/dbus-helpers.c
8673           libnm-util/dbus-helpers.h
8674           libnm-util/gnome-keyring-md5.c
8675           libnm-util/gnome-keyring-md5.h
8676           libnm-util/sha1.c
8677           libnm-util/sha1.h
8678           src/nm-device-802-11-wireless.c
8679           test/libnm-util/Makefile.am
8680           test/libnm-util/test-ciphers.c
8681           test/libnm-util/test-dbus-helpers.c
8682           test/libnm-util/test-inputs.h
8683                 - Removed
8684
8685 2007-09-14  Dan Williams  <dcbw@redhat.com>
8686
8687         * libnm-util/dbus-method-dispatcher.c
8688           libnm-util/dbus-method-dispatcher.h
8689                 - Remove, unused
8690
8691 2007-09-14  Dan Williams  <dcbw@redhat.com>
8692
8693         Implement deferred activation support in the device class.
8694
8695         * src/nm-device-interface.c
8696           src/nm-device-interface.h
8697                 - (nm_device_interface_activate): take more arguments to support
8698                         deferred activation; callers must pass one of (connection) OR
8699                         (service_name, connection_path)
8700                 - (impl_device_activate): connection validation is punted to the device
8701                         to be able to handle deferred activation.  Yes, this means errors
8702                         don't get returned from the Activate() dbus call, and yes, that
8703                         should be fixed somehow later.
8704
8705         * src/nm-device.c
8706           src/nm-device.h
8707                 - (clear_act_request): clear additional deferred activation stuff too
8708                 - (deferred_activation_timeout_cb): new function; clean up when
8709                         deferred activation times out.
8710                 - (deferred_activation_start_cb): new function; when the connection
8711                         finally becomes available, start device activation
8712                 - (nm_device_activate): attach to the right signals of the activation
8713                         request if we need to defer activation until the connection is valid
8714
8715         * src/NetworkManagerPolicy.c
8716                 - (nm_policy_device_change_check): update for additional arguments
8717                         required for nm_device_interface_activate().  Pass NULL for these
8718                         though because this function already knows exactly which
8719                         NMConnection to use
8720
8721 2007-09-14  Dan Williams  <dcbw@redhat.com>
8722
8723         Implement deferred activation handling in the NMActRequest class.  When a
8724         client wants to activate a device but must create the NMConnection details
8725         on the fly, there likely hasn't been enough time yet for NM to receive the
8726         new connection signal and grab all the connection details.  So the
8727         activation is deferred (and bounded by a timer) for a while, and if the
8728         connection appears within the window, it is activated.
8729
8730         * src/nm-activation-request.c
8731           src/nm-activation-request.h
8732                 - (nm_act_request_class_init): two new signals to support deferred
8733                         activation, to allow the listener to handle both timeout and success
8734                 - (nm_act_request_new_deferred): new function, starts the deferred
8735                         activation timeout handler and listens to the NMManager for
8736                         new-connection signals to notice when the connection comes in
8737
8738 2007-09-14  Dan Williams  <dcbw@redhat.com>
8739
8740         * src/nm-manager.h
8741           src/nm-manager.c
8742                 - (nm_manager_get_connection_service_name,
8743                    nm_manager_get_connection_dbus_path): get details about a connection
8744                         known internally by the NMManager
8745                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8746                         because NMConnection is now a GObject subclass
8747                 - Use constant for the gobject data tag used on NMConnection objects for
8748                         storing the associated DBusGProxy
8749
8750 2007-09-14  Dan Williams  <dcbw@redhat.com>
8751
8752         * utils/Makefile.am
8753           utils/nm-utils.c
8754           utils/nm-utils.h
8755           src/supplicant-manager/Makefile.am
8756           src/dhcp-manager/Makefile.am
8757           src/backends/Makefile.am
8758           src/named-manager/Makefile.am
8759           src/ppp-manager/Makefile.am
8760           src/vpn-manager/Makefile.am
8761           test/libnm-util/Makefile.am
8762           test/test-common/Makefile.am
8763                 - Remove utils/; it was unused
8764
8765 2007-09-13  Dan Williams  <dcbw@redhat.com>
8766
8767         * libnm-glib/nm-vpn-manager.h
8768           libnm-glib/nm-vpn-manager.c
8769                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8770
8771 2007-09-13  Dan Williams  <dcbw@redhat.com>
8772
8773         * src/nm-device-802-3-ethernet.c
8774                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8775                         netlink monitor carrier signals on dispose, not bring down.  The
8776                         carrier signals should be handled over the entire lifetime of the
8777                         device anyway, not created/destroyed on up or down.
8778
8779 2007-09-13  Dan Williams  <dcbw@redhat.com>
8780
8781         * libnm-glib/nm-device.c
8782           libnm-glib/nm-device.h
8783                 - (nm_device_activate): take a connection object path rather than an
8784                         NMConnection because NMConnection isn't exported over D-Bus and
8785                         therefore it dbus-glib can't automatically get an object path from it
8786
8787 2007-09-13  Dan Williams  <dcbw@redhat.com>
8788
8789         * libnm-util/nm-setting.c
8790                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8791
8792 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8793
8794         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8795
8796 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8797
8798         * src/vpn-manager/nm-vpn-connection.[ch]: 
8799         * src/vpn-manager/nm-vpn-manager.[ch]:
8800         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8801         dbus-glib, GObjects, signals etc.
8802
8803         * libnm-glib/nm-vpn-manager.[ch]: 
8804         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8805         so much, rewrite these too.
8806
8807         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8808         the new introspection files.
8809
8810         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8811
8812         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8813         the header with the same name from libnm-utils.
8814
8815         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8816
8817         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8818
8819         * introspection/nm-vpn-plugin.xml: Implement.
8820
8821         * introspection/nm-vpn-connection.xml: Implement.
8822
8823         * introspection/nm-vpn-manager.xml: Implement.
8824
8825         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8826         the named manager argument, it can just as easily get it as the caller.
8827         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8828
8829         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8830
8831         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8832
8833         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8834         libnm-utils.
8835
8836         * libnm-util/nm-connection.c: Ditto.
8837
8838         * src/NetworkManagerMain.h: Remove, it's finally empty.
8839
8840         * configure.in: Remove utils/ from build.
8841
8842         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8843         of hard-coded strings.
8844
8845         * utils/: Move it over to libnm-util.
8846
8847         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8848
8849         * dispatcher-daemon/Makefile.am: Ditto.
8850
8851         * src/Makefile.am: Ditto.
8852
8853 2007-09-12  Dan Williams  <dcbw@redhat.com>
8854
8855         Wireless connections can be made with config data from the applet now.
8856         
8857         Yay.
8858
8859         * src/supplicant-manager/nm-supplicant-config.h
8860           src/supplicant-manager/nm-supplicant-config.c
8861                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8862                 - (nm_supplicant_config_add_setting_wireless,
8863                    nm_supplicant_config_add_setting_wireless_security): new functions;
8864                         add key/value pairs from the settings objects to the supplicant
8865                         config
8866
8867         * src/nm-device-802-11-wireless.c
8868                 - (cull_scan_list): fix check to not prune currently associated AP
8869                 - (build_supplicant_config, real_act_stage2_config): call the functions
8870                         of the NMSupplicantConfig that parse settings objects rather than
8871                         doing it manually here
8872
8873 2007-09-12  Dan Williams  <dcbw@redhat.com>
8874
8875         * src/supplicant-manager/nm-supplicant-interface.c
8876           src/supplicant-manager/nm-supplicant-marshal.list
8877                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8878                         "connection-error" signal arguments should be STRING not CHAR
8879
8880 2007-09-12  Dan Williams  <dcbw@redhat.com>
8881
8882         * src/NetworkManagerUtils.c
8883           src/NetworkManagerUtils.h
8884                 - (nm_utils_hexstr2bin): new function
8885
8886 2007-09-11  Dan Williams  <dcbw@redhat.com>
8887
8888         * src/nm-manager.c
8889                 - (connection_get_settings_cb): emit connection-added signal
8890                 - (connection_removed_cb): uncomment bits for system settings service,
8891                         send connection-removed when appropriate
8892                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8893                         the stack by trying to g_object_set_data() on something that's
8894                         not a GObject; handle case where settings service returns
8895                         empty settings hash table
8896
8897 2007-09-11  Dan Williams  <dcbw@redhat.com>
8898
8899         * src/NetworkManagerPolicy.c
8900                 - (connection_added, connection_removed): trigger device change checks
8901                         on connection changes
8902
8903 2007-09-11  Dan Williams  <dcbw@redhat.com>
8904
8905         * src/nm-activation-request.c
8906                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8907
8908 2007-09-11  Dan Williams  <dcbw@redhat.com>
8909
8910         * src/nm-device-802-11-wireless.c
8911                 - (real_connection_secrets_updated): fix erroneous check
8912
8913 2007-09-11  Dan Williams  <dcbw@redhat.com>
8914
8915         * introspection/nm-device.xml
8916           libnm-glib/nm-device.c
8917           libnm-glib/nm-device.c
8918                 - Fix Activate call argument borkage; Activate takes 3 arguments
8919
8920 2007-09-11  Dan Williams  <dcbw@redhat.com>
8921
8922         * libnm-glib/nm-access-point.c
8923           libnm-glib/nm-access-point.c
8924                 - (nm_access_point_get_frequency): now returns guint32 to match
8925                         property change on 2007-09-10
8926
8927 2007-09-11  Dan Williams  <dcbw@redhat.com>
8928
8929         * src/nm-device-802-11-wireless.c
8930                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8931                         somewhere defines 'index' and I missed this one when I fixed the
8932                         shadow declaration errors earlier
8933
8934 2007-09-11  Dan Williams  <dcbw@redhat.com>
8935
8936         * libnm-util/nm-connection.c
8937                 - (nm_connection_update_secrets, need_secrets_check): move
8938                         802-11-wireless-security need_secrets checks to the setting object
8939                         itself, where it belongs
8940
8941         * libnm-util/nm-setting.c
8942           libnm-util/nm-setting.h
8943                 - (nm_setting_need_secrets): new function
8944                 - (setting_wireless_security_verify,
8945                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8946                 - (setting_wireless_security_need_secrets): mostly copy code over
8947                         from nm-connection.c
8948
8949 2007-09-11  Dan Williams  <dcbw@redhat.com>
8950
8951         * libnm-util/nm-setting.c
8952           libnm-util/nm-setting.h
8953                 - (nm_setting_update_secrets): new function; add a virtual function that
8954                         subclasses can implement to update their secrets
8955                 - (setting_wireless_security_update_secrets): implement that function
8956                         for the 802-11-wireless-security subclass
8957
8958         * libnm-util/nm-connection.c
8959           libnm-util/nm-connection.h
8960                 - (nm_connection_update_secrets): update secrets for a Setting and
8961                         emit a signal on success
8962
8963         * src/nm-manager.c
8964           src/nm-manager.h
8965           src/nm-marshal.list
8966                 - (connection_get_settings_cb): enable system settings bits
8967                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8968                         to request secrets from the settings dbus service and to
8969                         push those secrets to the NMConnection itself
8970
8971         * src/nm-activation-request.c
8972           src/nm-activation-request.h
8973                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8974                         currently being activated, and proxy that signal to other listeners.
8975                         Goes through the activation request because the activation request
8976                         is the thing that manages the lifetime of the NMConnection that's
8977                         being activated.
8978
8979         * src/nm-device-802-11-wireless.c
8980                 - (real_connection_secrets_updated): implement the connection secrets
8981                         updated notification and restart activation when secrets are
8982                         received
8983                 - (real_act_stage2_config): request secrets from the settings dbus
8984                         service if secrets are needed
8985
8986         * src/nm-device.c
8987           src/nm-device.h
8988                 - (clear_act_request, nm_device_activation_cancel,
8989                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8990                         where the activation request is cleared
8991                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8992                         updated secrets signal of activation request and add a function
8993                         that subclasses can override to handle it easily
8994
8995 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8996
8997         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8998         removal of NetworkManagerAPList.
8999
9000 2007-09-10  Dan Williams  <dcbw@redhat.com>
9001
9002         * src/NetworkManagerAP.c
9003           src/NetworkManagerAP.h
9004           introspection/nm-access-point.xml
9005                 - Change 'freq' property to a guint32 instead of a double since we
9006                         weren't using the floating point bits anyway
9007
9008 2007-09-10  Dan Williams  <dcbw@redhat.com>
9009
9010         * NetworkManagerAP.c
9011           NetworkManagerAP.h
9012           NetworkManagerPolicy.c
9013           NetworkManagerSystem.c
9014           NetworkManagerUtils.c
9015           NetworkManagerUtils.h
9016           nm-device-802-11-wireless.c
9017           nm-device-802-3-ethernet.c
9018           nm-hal-manager.c
9019           nm-manager.c
9020           vpn-manager/nm-dbus-vpn.c
9021                 - Warning fixes; casts and removal of unused variables
9022
9023 2007-09-10  Dan Williams  <dcbw@redhat.com>
9024
9025         * include/NetworkManager.h
9026                 - Kill NMNetworkType; AP types don't matter any more
9027
9028         * src/NetworkManagerAPList.c
9029           src/NetworkManagerAPList.h
9030           src/Makefile.am
9031                 - Kill; NMAccessPointList has outlived it's usefulness
9032
9033         * src/NetworkManagerAP.c
9034           src/NetworkManagerAP.h
9035                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9036                         functions; check if an NMConnection object is compatible with the
9037                         settings of this AP
9038                 - (freq_to_channel, channel_to_freq): utility functions for
9039                         channel <-> frequency conversion
9040
9041         * src/nm-device.c
9042           src/nm-device.h
9043                 - (nm_device_get_best_connection): pass the specific object around
9044                          (which might be the object path of a specific AP to connect to).
9045                          The get_best_connection() call should populate this on return
9046                          if needed (wireless does).
9047
9048         * src/nm-device-802-3-ethernet.c
9049                 - (real_get_best_connection): handle specific_object argument
9050
9051         * src/NetworkManager.c
9052           src/NetworkManagerMain.h
9053                 - Remove unused includes
9054
9055         * src/nm-device-802-11-wireless.c
9056           src/nm-device-802-11-wireless.h
9057                 - Convert the ap_list into a GSList from an NMAccessPointList
9058                 - No need for caching the 'activation_ap' since this is now determined
9059                         from the specific_object of the activation request, which is
9060                         populated from the get_best_connection() call or from a user request
9061                 - (nm_device_802_11_wireless_update_bssid): fix warning
9062                 - (get_wireless_capabilities): fix error message format arguments
9063                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9064                 - (find_best_connection, real_get_best_connection): implement
9065                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9066                         move here from NetworkManagerAPList
9067                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9068                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9069                         already verified earlier
9070                 - (real_act_stage2_config): use nm_connection_need_secrets()
9071
9072         * src/NetworkManagerPolicy.c
9073                 - (nm_policy_auto_get_best_device): handle specific objects
9074                 - (create_connection): remove; automatic connection creation functionality
9075                         is handled by the Connection objects
9076                 - (nm_policy_device_change_check): handle specific_object
9077
9078         * libnm-util/nm-connection.c
9079                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9080
9081 2007-09-10  Dan Williams  <dcbw@redhat.com>
9082
9083         * src/nm-manager.c
9084                 - (query_connections): fix uninitialized variable problem that caused
9085                         segfault
9086                 - (nm_manager_add_device): take devices down on startup so that we can
9087                         be assured that nm_device_is_up() won't short-circuit the init
9088                         process.  Hack until the is_up check gets split into two pieces
9089                         that aren't behaviorally confusing.
9090
9091 2007-09-09  Dan Williams  <dcbw@redhat.com>
9092
9093         * introspection/nm-device.xml
9094                 - The 'Activate' method now takes 3 arguments, a service name for the
9095                 settings service (user or system), the object path of the connection
9096                 to activate, and the specific object to activate, if any
9097
9098         * src/nm-device-interface.c
9099                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9100                 Add error bits
9101                 - (impl_device_activate): adapt to new Activate arguments; validate
9102                 the service name and get the Connection object from the NMManager
9103                 before starting to activate the device with the specified connection
9104
9105         * src/nm-device-802-3-ethernet.c
9106                 - (real_get_best_connection): find the best connection, or create a
9107                 default one if no existing connections can be used
9108
9109         * src/NetworkManagerPolicy.c
9110                 - (nm_policy_auto_get_best_device): Get the device's best connection
9111                 and only pick the device if it has one
9112                 - (nm_policy_device_change_check): disable wireless bits for now until
9113                 wireless get_best_connection() can be implemented (replacing "best_ap");
9114                 don't create a default connection here as the device subclass will do
9115                 that if needed
9116
9117         * src/nm-manager.h
9118           src/nm-manager.c
9119                 - (nm_manager_get): make NMManager a singleton and expose the getter
9120                 internally
9121                 - Rework internal NMManager connection handling to use the same
9122                 routines for both the system and user settings services.  Most calls
9123                 take a new NMConnectionType argument specifying either system or user
9124                 connections
9125                 - (nm_manager_get_connection_by_object_path): new function; get a
9126                 connection keyed on its object path
9127
9128         * src/NetworkManager.c
9129                 - (main): use nm_manager_get()
9130
9131 2007-09-09  Dan Williams  <dcbw@redhat.com>
9132
9133         * src/nm-device.h
9134           src/nm-device.c
9135                 - (nm_device_get_best_connection): new function; get best connection
9136                         for the device at that time
9137
9138 2007-09-09  Dan Williams  <dcbw@redhat.com>
9139
9140         * src/nm-device-interface.h
9141                 - Add NMDeviceInterfaceError with an UnknownConnection error
9142
9143 2007-09-09  Dan Williams  <dcbw@redhat.com>
9144
9145         Stupid mistake on my part; object path and interface for settings service
9146         and connection objects can be the same, only the service name must be
9147         different for the system and user settings services.
9148
9149         * include/NetworkManager.h
9150           src/nm-manager.c
9151           introspection/nm-settings-connection.xml
9152           introspection/nm-settings.xml
9153           libnm-glib/nm-settings.c
9154                 - (nm_connection_settings_init, query_user_connections,
9155                    new_connection_cb): Unify NetworkManagerSettings and Connection
9156                    interface name and object path
9157
9158 2007-09-06  Dan Williams  <dcbw@redhat.com>
9159
9160         * libnm-glib/nm-object.c
9161                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9162                    nm_object_get_int_property, nm_object_get_uint_property,
9163                    nm_object_get_boolean_property, nm_object_get_byte_property,
9164                    nm_object_get_double_property, nm_object_get_byte_array_property):
9165                         clear GValues after copying their contents, fixes memory leaks
9166                         after every property access because dbus-glib copies the values
9167                         from the DBusMessage into the GValue already.
9168
9169 2007-09-06  Dan Williams  <dcbw@redhat.com>
9170
9171         * introspection/nm-access-point.xml
9172                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9173                         them to be.  There's some magic property name parsing going on in
9174                         dbus-glib that breaks up property names based on studly-caps and
9175                         puts - between words.
9176
9177         * libnm-glib/nm-access-point.c
9178                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9179                         Fix property names
9180
9181 2007-09-06  Dan Williams  <dcbw@redhat.com>
9182
9183         * src/nm-manager.c
9184                 - (nm_manager_user_connections_destroy): clear the user connections hash
9185                         table, don't destroy it
9186                 - (finalize): only destroy the hash table on NMManager finalization
9187
9188 2007-09-02  Dan Williams  <dcbw@redhat.com>
9189
9190         * include/NetworkManager.h
9191           libnm-glib/nm-settings.c
9192                 - defines for the user settings daemon D-Bus bits
9193
9194         * src/NetworkManager.c
9195                 - Remove stuff that referred to the old NetworkManagerInfo service
9196
9197         * src/vpn-manager/nm-dbus-vpn.h
9198                 - Move old NMI defines to the only place they are used still
9199
9200         * libnm-util/nm-connection.c
9201           libnm-util/nm-connection.h
9202           src/nm-activation-request.c
9203                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9204
9205         * src/nm-manager.c
9206           src/nm-manager.h
9207                 - Get connections and their settings from the user settings daemon
9208                         at the appropriate times
9209
9210 2007-09-02  Dan Williams  <dcbw@redhat.com>
9211
9212         * libnm-util/nm-setting.c
9213                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9214                 - (setting_wireless_hash): set the right value on the item
9215
9216 2007-09-02  Dan Williams  <dcbw@redhat.com>
9217
9218         * test/Makefile.am
9219           test/nminfotest.c
9220                 - Remove, no longer useful
9221
9222 2007-08-30  Dan Williams  <dcbw@redhat.com>
9223
9224         * src/Makefile.am
9225           src/NetworkManagerDbus.c
9226           src/NetworkManagerDbus.h
9227           src/vpn-manager/nm-dbus-vpn.c
9228                 - Remove, no longer necessary.  Move last bits to the only place its
9229                 used, in nm-dbus-vpn.c
9230
9231         * src/NetworkManagerAPList.c
9232           src/nm-device.c
9233           src/NetworkManager.c
9234           src/nm-device-802-11-wireless.c
9235           src/vpn-manager/nm-vpn-manager.c
9236           src/vpn-manager/nm-vpn-service.c
9237           src/NetworkManagerPolicy.c
9238           src/nm-manager.c
9239                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9240                 that was message_is_error()
9241
9242 2007-08-30  Dan Williams  <dcbw@redhat.com>
9243
9244         * libnm-util/sha1.c
9245                 - Include config.h to get defines for endiannes (gnome.org #420216)
9246
9247 2007-08-30  Dan Williams  <dcbw@redhat.com>
9248
9249         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9250
9251         * src/ppp-manager/Makefile.am
9252                 - use -fPIC (gnome.org #471825)
9253
9254 2007-08-29  Dan Williams  <dcbw@redhat.com>
9255
9256         * include/NetworkManager.h
9257                 - Keep NMConnection object path in sync
9258
9259         * libnm-glib/nm-settings.c
9260           libnm-glib/nm-settings.h
9261                 - Break D-Bus object registration out of the init function, because
9262                 every object that's exported over D-Bus needs to use the _same_
9263                 DBusConnection.  Otherwise, each object would get a different object
9264                 path tree and wouldn't be callable.
9265
9266 2007-08-29  Dan Williams  <dcbw@redhat.com>
9267
9268         * libnm-util/nm-setting.h
9269           libnm-util/nm-setting.c
9270           libnm-util/nm-connection.c
9271           src/NetworkManagerPolicy.c
9272                 - 'info' settings object should be 'connection' says the spec
9273                 at NetworkManagerConfigurationSpecification
9274
9275 2007-08-29  Dan Williams  <dcbw@redhat.com>
9276
9277         * libnm-glib/nm-settings.c
9278           libnm-glib/nm-settings.h
9279                 - make the dbus path a property of the object, and autogenerate it.
9280                 It can't be composed of the 'id' field becuase that's not available
9281                 yet during the GObject creation in nm_connection_settings_init()
9282
9283 2007-08-29  Dan Williams  <dcbw@redhat.com>
9284
9285         * introspection/nm-settings-connection.xml
9286           introspection/nm-settings.xml
9287                 - Service name -> NetworkManagerUserSettings because two services
9288                 can't share part of the same path.  I'm not really sure how we'll use
9289                 the same code with the system-settings daemon...
9290
9291 2007-08-28  Dan Williams  <dcbw@redhat.com>
9292
9293         * src/nm-device-interface.c
9294           src/nm-device-interface.h
9295                 - Kill one more bit of NMData
9296
9297 2007-08-28  Dan Williams  <dcbw@redhat.com>
9298
9299         * src/NetworkManagerSystem.h
9300           src/nm-device.c
9301           src/nm-device.h
9302           src/nm-hal-manager.c
9303           src/NetworkManager.c
9304           src/nm-device-802-11-wireless.c
9305           src/nm-hal-manager.h
9306           src/nm-device-802-3-ethernet.c
9307           src/vpn-manager/nm-vpn-service.h
9308           src/vpn-manager/nm-vpn-manager.c
9309           src/vpn-manager/nm-vpn-manager.h
9310           src/vpn-manager/nm-vpn-service.c
9311           src/nm-device-802-11-wireless.h
9312           src/NetworkManagerMain.h
9313           src/nm-device-802-3-ethernet.h
9314           src/backends/NetworkManagerGentoo.c
9315           src/backends/NetworkManagerPaldo.c
9316           src/backends/NetworkManagerFrugalware.c
9317           src/backends/NetworkManagerRedHat.c
9318           src/backends/NetworkManagerSlackware.c
9319           src/backends/NetworkManagerGeneric.c
9320           src/backends/NetworkManagerArch.c
9321           src/backends/NetworkManagerSuSE.c
9322           src/backends/NetworkManagerGeneric.h
9323           src/backends/NetworkManagerDebian.c
9324                 - Kill NMData
9325
9326 2007-08-28  Dan Williams  <dcbw@redhat.com>
9327
9328         * src/NetworkManagerMain.h
9329           src/nm-device-802-11-wireless.c
9330           src/NetworkManager.c
9331                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9332                 for now we should set the 'invalid' property on individual APs, and when
9333                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9334                 that ESS
9335
9336 2007-08-28  Dan Williams  <dcbw@redhat.com>
9337
9338         * src/NetworkManagerAP.c
9339           src/NetworkManagerAP.h
9340                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9341                         'autoconnect' property instead
9342
9343         * src/NetworkManager.c
9344           src/NetworkManagerMain.h
9345           src/NetworkManagerPolicy.c
9346           src/NetworkManagerPolicy.h
9347                 - Remove the 'allowed_ap_list', which should be replaced by 
9348                         NMConnection/NMSettings instead, since _those_ are the allowed
9349                         things that NM can connect to
9350
9351         * src/nm-device-802-11-wireless.c
9352                 - Remove both allowed_ap_list usage and 'fallback' checking
9353
9354 2007-08-28  Dan Williams  <dcbw@redhat.com>
9355
9356         * src/nm-device.c
9357           src/named-manager/nm-named-manager.c
9358           src/named-manager/nm-named-manager.h
9359           src/NetworkManager.c
9360           src/vpn-manager/nm-vpn-manager.c
9361           src/NetworkManagerMain.h
9362           src/NetworkManagerSystem.c
9363                 - Remove the named-manager object from NMData structure in preparation
9364                 for NMData's timely death.  Make the NMNamedManager the singleton that
9365                 it really is
9366
9367 2007-08-28  Dan Williams  <dcbw@redhat.com>
9368
9369         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9370         each AP's capabilities, and by NMConnection/NMSettings objects for user
9371         defined connections.
9372
9373         * include/NetworkManager.h
9374                 - Redefine 802.11 security properties.  There are now device capabilities
9375                         and AP flags and AP security flags.  It was way to unclear before.
9376
9377         * src/Makefile.am
9378           src/nm-ap-security-leap.h
9379           src/nm-ap-security-leap.c
9380           src/nm-ap-security-wpa-eap.c
9381           src/nm-ap-security-wpa-eap.h
9382           src/nm-ap-security-private.h
9383           src/nm-ap-security-wpa-psk.c
9384           src/nm-ap-security-wpa-psk.h
9385           src/nm-ap-security-wep.c
9386           src/nm-ap-security-wep.h
9387           src/nm-ap-security.c
9388           src/nm-ap-security.h
9389                 - Removed, to be replaced with NMConnection/NMSettings objects
9390
9391         * src/nm-dbus-nmi.c
9392           src/nm-dbus-nmi.h
9393                 - Removed, to be replaced by code that talks to the new info daemon
9394                         interface and gets NMConnection/NMSettings objects
9395
9396         * src/backends/NetworkManagerSuSE.c
9397                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9398                         info-daemon that does the same thing but talks the new info-daemon
9399                         D-Bus interface
9400
9401         * src/NetworkManagerAP.h
9402           src/NetworkManagerAP.c
9403           src/NetworkManagerAPList.c
9404           libnm-glib/libnm-glib-test.c
9405                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9406                         WPA/RSN
9407
9408         * libnm-glib/nm-access-point.c
9409           libnm-glib/nm-access-point.h
9410           introspection/nm-access-point.xml
9411           test/nm-tool.c
9412                 - Adjust to new flags for AP security
9413
9414         * utils/nm-utils.c
9415           utils/nm-utils.h
9416           src/vpn-manager/nm-dbus-vpn.c
9417                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9418                         stuff which is the only place it's used
9419
9420         * src/nm-device-interface.c
9421           src/nm-device-interface.h
9422           introspection/nm-device.xml
9423           src/nm-activation-request.c
9424           src/nm-activation-request.h
9425           src/nm-device.c
9426                 - Add a new 'specific_object' argument that hints to NM what actual
9427                         AP or other device-specific thing the connection should apply to.
9428                         NMConnection objects can apply to more than one actual device/AP.
9429
9430         * libnm-util/nm-connection.c
9431         * libnm-util/nm-connection.h
9432                 - Add 'have_secrets" call stubs
9433
9434         * libnm-util/cipher.h
9435                 - Move NM_AUTH_TYPE_* defines here for now
9436
9437         * src/nm-device-802-11-wireless.c
9438                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9439                         NMSettings objects
9440
9441         * src/NetworkManagerDbus.c
9442         * src/NetworkManagerPolicy.c
9443                 - Remove usage of update_allowed_networks, should be pushing data in
9444                         a different manner
9445
9446 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9447
9448         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9449         dbus-glib frees it when the call is done.
9450
9451 2007-08-26  Dan Williams  <dcbw@redhat.com>
9452
9453         * introspection/nm-device.xml
9454                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9455
9456 2007-08-26  Dan Williams  <dcbw@redhat.com>
9457
9458         * src/nm-device-802-3-ethernet.c
9459                 - (constructor): move connection of interface-connected/disconnected
9460                         signals here from real_bring_up().  Should be listening to netlink
9461                         for carrier events no matter what the initial state of the device
9462                         is.
9463
9464 2007-08-26  Dan Williams  <dcbw@redhat.com>
9465
9466         * src/nm-netlink-monitor.c
9467                 - (nm_netlink_monitor_class_init): fix marshalling types for
9468                         interface-connected/interface-disconnected
9469                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9470                         check
9471
9472 2007-08-26  Dan Williams  <dcbw@redhat.com>
9473
9474         Convert to using interface indexes as the primary method of identifying
9475         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9476         be renamed at any time.  Device object paths now refer to the device
9477         index rather than the name, and you can map those two manually if you like
9478         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9479         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9480         to use interface indexes rather than names.
9481
9482 2007-08-26  Dan Williams  <dcbw@redhat.com>
9483
9484         * src/nm-netlink-monitor.h
9485                 - Remove one last bit of wireless-event signal
9486
9487 2007-08-26  Dan Williams  <dcbw@redhat.com>
9488
9489         * src/nm-netlink-monitor.c
9490                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9491                         don't need the 'wireless-event' signal anymore since that's all
9492                         handled by wpa_supplicant
9493
9494 2007-08-25  Dan Williams  <dcbw@redhat.com>
9495
9496         It's 2007. Remove support for drivers that don't support wireless scanning.
9497
9498         * test/nm-tool.c
9499           include/NetworkManager.h
9500           src/NetworkManagerUtils.c
9501           src/NetworkManagerPolicy.c
9502           src/nm-device-802-11-wireless.c
9503                 - Remove special handling for non-scanning devices and mark them
9504                         as unsupported/unhandled
9505
9506 2007-08-20  Dan Williams  <dcbw@redhat.com>
9507
9508         * src/nm-device-802-11-wireless.c
9509           src/nm-device-802-3-ethernet.c
9510                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9511                         because when the card is pulled or the module removed, the device
9512                         is already !IFF_UP and then device-specific cleanup (removing
9513                         the supplicant interface, periodic checks, etc) never gets done
9514
9515 2007-08-20  Dan Williams  <dcbw@redhat.com>
9516
9517         * src/nm-manager.c
9518                 - (nm_manager_remove_device): bring device down before disconnecting
9519                         signal handlers, so that the 'state' signal will get broadcast when
9520                         the device enters the DOWN state
9521                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9522                         of states that cause the NMManager to recheck its state
9523
9524 2007-08-20  Dan Williams  <dcbw@redhat.com>
9525
9526         * src/supplicant-manager/nm-supplicant-interface.c
9527                 - (interface_disconnect_done): don't try to dispose of the net proxy
9528                         when it may already have been disposed of
9529
9530 2007-08-20  Dan Williams  <dcbw@redhat.com>
9531
9532         * src/nm-device-802-11-wireless.c
9533                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9534                         the SSID isn't available; this can happen when the card is pulled
9535                         or the module unloaded, during the post-removal deactivation
9536                         paths, when the ioctl returns ENODEV
9537
9538 2007-08-20  Dan Williams  <dcbw@redhat.com>
9539
9540         * src/nm-device-802-11-wireless.c
9541                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9542                         frequency, and mode match.  Applets are now responsible for grouping
9543                         access points
9544
9545 2007-08-20  Dan Williams  <dcbw@redhat.com>
9546
9547         * src/NetworkManagerAP.c
9548         * src/NetworkManagerAP.h
9549                 - (nm_ap_print_self): new function
9550
9551         * src/NetworkManagerAPList.c
9552                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9553                         to do it all here
9554         
9555 2007-08-17  Dan Williams  <dcbw@redhat.com>
9556
9557         * src/nm-device-802-3-ethernet.c
9558                 - (real_bring_down): don't try to dispose of stuff that might not
9559                         exist
9560
9561 2007-08-17  Dan Williams  <dcbw@redhat.com>
9562
9563         * src/NetworkManagerAP.c
9564                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9565                         applet.  This ensures that the case between the seen-bssids and
9566                         the bssids reported by the driver match.
9567
9568 2007-08-17  Dan Williams  <dcbw@redhat.com>
9569
9570         * src/nm-device-802-11-wireless.c
9571                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9572                         we dispose of the interface proxy in NM
9573
9574 2007-08-16  Dan Williams  <dcbw@redhat.com>
9575
9576         * libnm-glib/nm-client.c
9577                 - (nm_client_init): create VPN connections hash table with key free
9578                         function
9579                 - (proxy_vpn_connection_added): VPN connections hash table key should
9580                         be a duplicated value, not the same memory address as the VPN
9581                         connection name.  This is because the VPN connection name could
9582                         potentially be freed and set to something else during the lifetime
9583                         of the NMVPNConnection object.
9584
9585 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9586
9587         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9588         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9589         with the file descriptors. Send a child setup function to change the pppd
9590         progress group.
9591
9592 2007-08-15  Dan Williams  <dcbw@redhat.com>
9593
9594         * src/supplicant-manager/nm-supplicant-interface.c
9595                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9596                         an interface
9597                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9598                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9599                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9600                         the interface internally
9601
9602 2007-08-15  Dan Williams  <dcbw@redhat.com>
9603
9604         * src/nm-device-802-11-wireless.c
9605                 - (real_bring_down): move most of this function into device_cleanup()
9606                         so that it can be called from elsewhere
9607                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9608                         and stuff on dispose.  These would normally get cleaned up when
9609                         the device is marked down and deactivated, but when the device is
9610                         hot-unplugged, it's already down and real_down() never gets run
9611
9612 2007-08-15  Dan Williams  <dcbw@redhat.com>
9613
9614         * src/nm-dbus-nmi.c
9615                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9616                         caused a reference leak on device for which NM requested a key
9617
9618 2007-08-15  Dan Williams  <dcbw@redhat.com>
9619
9620         * libnm-glib/nm-client.c
9621                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9622
9623 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9624
9625         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9626         nothing is using it at the moment, but it'll be all useful and stuff later on.
9627
9628         * libnm-util/nm-setting.h: Define NMSettingPPP.
9629
9630         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9631
9632         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9633
9634         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9635
9636         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9637
9638         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9639
9640 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9641
9642         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9643
9644         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9645         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9646         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9647         name and different arguments and it won't compile anymore. To fix this, we now have
9648         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9649         that is new API + compatibility API and used by the daemon. The other, 
9650         nm-manager-client.xml is only the new API without compatibility bits and is used
9651         by libnm-glib to make it compile.
9652
9653         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9654
9655         * src/nm-manager.c (impl_manager_legacy_sleep)
9656         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9657         interface functions for 0.6 branch.
9658
9659 2007-08-14  Dan Williams  <dcbw@redhat.com>
9660
9661         * src/NetworkManagerAP.c
9662                 - (nm_ap_new_from_properties): fix mistaken check of return value
9663                         from memcmp (should expect 0)
9664
9665 2007-08-14  Dan Williams  <dcbw@redhat.com>
9666
9667         (force-commit to fix wrong comment and partial commit of r2685; this
9668          commit actually applies to r2685)
9669
9670         * src/NetworkManagerUtils.c
9671                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9672                         ignores trailing nulls in the SSID to work around mismatches in
9673                         expectations between WEXT and what the info-daemon passes back.  The
9674                         info-daemon would pass back the correct length, but due to the
9675                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9676                         the device would always have an SSID + 1 depending on what versions
9677                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9678                         visible by just quitting the applet and relaunching, which caused
9679                         NM to reassociated to the same network over again when reloading
9680                         the save networks.
9681
9682         * src/NetworkManagerPolicy.c
9683           src/NetworkManagerUtils.h
9684           src/nm-device-802-11-wireless.c
9685                 - Update for new parameter to nm_utils_same_ssid()
9686
9687 2007-08-14  Dan Williams  <dcbw@redhat.com>
9688
9689         * src/NetworkManagerAP.c
9690                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9691                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9692                         setting the BSSID to all 0s.  That confused the heck out of NM,
9693                         plus it's useless and probably out-of-spec.
9694
9695 2007-08-14  Dan Williams  <dcbw@redhat.com>
9696
9697         * callouts/Makefile.am
9698           src/dhcp-manager/nm-dhcp-manager.c
9699           src/dhcp-manager/nm-dhcp-manager.h
9700           src/dhcp-manager/Makefile.am
9701                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9702
9703 2007-08-14  Dan Williams  <dcbw@redhat.com>
9704
9705         * src/dhcp-manager/nm-dhcp-manager.c
9706                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9707                         it's really needed, get rid of unused xtra_args parameter
9708
9709 2007-08-14  Dan Williams  <dcbw@redhat.com>
9710
9711         * include/NetworkManagerVPN.h
9712           src/vpn-manager/nm-dbus-vpn.c
9713           src/vpn-manager/nm-dbus-vpn.h
9714           src/vpn-manager/nm-vpn-act-request.c
9715           src/vpn-manager/nm-vpn-act-request.h
9716           src/vpn-manager/nm-vpn-service.c
9717           src/vpn-manager/nm-vpn-service.h
9718           libnm-glib/nm-vpn-connection.c
9719           libnm-glib/nm-vpn-connection.h
9720           libnm-glib/nm-client.h
9721                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9722                         NMVPNServiceState to clarify what they apply to
9723                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9724                         NMVPNActStage -> NMVPNConnectionState for the same reason
9725
9726         * libnm-glib/nm-client.c
9727                 - Constant + type renames from above
9728                 - Properly handle NameOwnerChanged/manager_running signals
9729                         for NM service; only emit when state really changes
9730                 - Use hash tables correctly so that the key (which was previously owned
9731                         by the D-Bus message) now has the same lifetime as the value, since
9732                         the key is now taken from the the NMVPNConnection itself.  This
9733                         really fixes the double-VPN names in the applet
9734
9735 2007-08-13  Dan Williams  <dcbw@redhat.com>
9736
9737         Patch from Michael Biebl <biebl@debian.org>
9738
9739         * po/POTFILES.in
9740           po/POTFILES.skip
9741                 - Update for vpn-properties move
9742
9743 2007-08-13  Dan Williams  <dcbw@redhat.com>
9744
9745         * libnm-glib/nm-client.c
9746                 - Convert internal VPN connection tracking from a list to a hash table
9747                         to easily avoid duplicates
9748                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9749                         must be freed by the caller, like nm_client_get_devices()
9750                 - (nm_client_remove_vpn_connection): don't let the removal signal
9751                         leak through for NMVPNConnection objects that aren't actually
9752                         tracked.
9753                 - (manager_running): throw away VPN connection list when NM goes away,
9754                         like with the device list
9755
9756 2007-08-13  Dan Williams  <dcbw@redhat.com>
9757
9758         * src/dhcp-manager/nm-dhcp-manager.c
9759                 - Stop any dhclient instance that might be already running for a
9760                         particular interface before starting an NM spawned dhclient.  Fixes
9761                         dhclient processes left over if NM crashes, stuff like that.
9762
9763 2007-08-13  Dan Williams  <dcbw@redhat.com>
9764
9765         * src/NetworkManagerAP.c
9766                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9767                         when the AP wasn't broadcasting it's SSID
9768
9769 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9770
9771         * include/NetworkManager.h: added DBus path for connection settings.
9772
9773         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9774         nm_connection_settings_signal_updated,
9775         nm_connection_settings_signal_removed): new functions to wrap the
9776         objects' signals.
9777         (nm_connection_settings_init): register GObject with DBus.
9778         (nm_connection_settings_get_dbus_object_path): new function.
9779
9780         * libnm-glib/Makefile.am: added libnmutil to link flags.
9781
9782 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9783
9784         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9785
9786         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9787         libnm_glib directory got merged with libnm-glib/.
9788
9789         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9790
9791         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9792         Rename the library from libnm-glib to libnm_glib to maintain the library API
9793         compatibility with 0.6 branch.
9794
9795         * Makefile.am: Remove gnome/ SUBDIR.
9796
9797         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9798
9799         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9800
9801         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9802
9803         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9804         anymore.
9805         Remove checks for wpa_supplicant binary, it's used over dbus.
9806         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9807
9808         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9809         Link the binaries with libnm_glib.la.
9810
9811 2007-08-12  Dan Williams  <dcbw@redhat.com>
9812
9813         * src/NetworkManagerPolicy.c
9814                 - (nm_policy_device_change_check): fix policy to deactivate old device
9815                         before activating new one, at least until the multiple active
9816                         device support lands
9817
9818 2007-08-12  Dan Williams  <dcbw@redhat.com>
9819
9820         * src/NetworkManagerPolicy.c
9821                 - (nm_policy_new): hook up to connection-added / connection-removed
9822                         signals instead of connections-changed
9823
9824 2007-08-12  Dan Williams  <dcbw@redhat.com>
9825
9826         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9827         Robert Frank <rfrank@redhat.com>
9828
9829         * src/dhcp-manager/nm-dhcp-manager.c
9830           src/dhcp-manager/nm-dhcp-manager.c
9831           src/nm-device.c
9832                 - Spawn and communicate with dhclient directly, through means of a
9833                 custom dhclient callout script.  Process callout D-Bus signals
9834                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9835                 sent via gobject signals rather than being driven by the dhcp manager
9836                 directly.
9837
9838 2007-08-12  Dan Williams  <dcbw@redhat.com>
9839
9840         * callouts/nm-dhcp-client-action.c
9841                 - (build_message): ignore non-DHCP-related environment variables
9842
9843 2007-08-12  Dan Williams  <dcbw@redhat.com>
9844
9845         * Makefile.am
9846           configure.in
9847           callouts/Makefile.am
9848           callouts/nm-dhcp-client-action.c
9849           callouts/nm-dhcp-client.conf
9850                 - Add dhclient-executed callout that takes the place of dhclient-script
9851                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9852                 NM then listens for
9853
9854 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9855
9856         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9857
9858         * libnm-glib/nm-client.h:
9859         * libnm-glib/nm-object.h:
9860         * libnm-glib/nm-vpn-connection.h:
9861         * libnm-glib/nm-settings.h:
9862         * libnm-glib/nm-device.h:
9863         * libnm-glib/nm-ip4-config.h:
9864         * libnm-glib/nm-access-point.h:
9865         * libnm-glib/nm-device-802-3-ethernet.h:
9866         * libnm-util/nm-setting.h: 
9867         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9868
9869         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9870
9871         * libnm-glib/nm-access-point.c: Strength has type char.
9872
9873         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9874         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9875
9876         * introspection/nm-access-point.xml: Strength property is char, not int.
9877
9878         * src/NetworkManagerAP.c (set_property): Set strength from char.
9879         (get_property): Handle hidden APs (with empty SSID).
9880         Get strength value from char.
9881         (nm_ap_class_init): Strength property has char type.
9882
9883 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9884
9885         * introspection/Makefile.am:
9886         * introspection/nm-settings.xml:
9887         * introspection/nm-settings-connection.xml: added Settings interfaces.
9888
9889         * libnm-glib/nm-settings.[ch]:
9890         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9891         containing the DBus implementation.
9892
9893 2007-07-26  Dan Williams  <dcbw@redhat.com>
9894
9895         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9896
9897         * src/NetworkManagerSystem.c
9898                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9899                         same subnet (#437396)
9900
9901 2007-07-26  Dan Williams  <dcbw@redhat.com>
9902
9903         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9904
9905         * gnome/vpn-properties/nm-vpn-properties.c
9906                 - Fix translatable strings (#445865)
9907
9908 2007-07-26  Dan Williams  <dcbw@redhat.com>
9909
9910         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9911
9912         * configure.in
9913                 - Remove useless junk (#412530)
9914
9915 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9916
9917         Patch from Robert Buchholz <rbu@gentoo.org>:
9918
9919         * configure.in:
9920         * Makefile.am:
9921         * introspection/Makefile.am:
9922         Make make distcheck work again.
9923
9924 2007-06-27  Dan Williams  <dcbw@redhat.com>
9925
9926         * Make SSIDs GByteArrays everywhere
9927         * Rename "essid" -> "ssid" everywhere that's appropriate
9928         * Refcount activation_ap member of the 802.11 wireless device class
9929
9930 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9931
9932         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9933
9934 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9935
9936         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9937         that we got a new AP when we just update existing AP properties.
9938
9939 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9940
9941         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9942
9943         * nm-utils.[ch]: Remove.
9944
9945         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9946         objects for easy property access and dbus connection handling.
9947
9948         * libnm-glib/nm-client.c: Derive from NMObject.
9949
9950         * libnm-glib/nm-device.c: Ditto.
9951
9952         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9953
9954         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9955
9956         * libnm-glib/nm-ip4-config.c: Ditto.
9957
9958         * libnm-glib/nm-access-point.c: Ditto.
9959
9960         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9961         comparision. Currently used by the device activation code to determine if the new
9962         activation is the same as the old one.
9963
9964         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9965         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9966         able to ask password for the AP.
9967
9968         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9969         up if the device is already connected, tear down it's connection (if it isn't the
9970         same as new one) and start the activation.
9971
9972         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9973
9974         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9975         the issue where all APs are always listed as encrypted.
9976
9977         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9978         their own registered paths.
9979
9980         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9981         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9982
9983 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9984
9985         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9986         (0 & 0 == 0, doh)
9987
9988         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9989         because the handling code will cause the next state change and signal listeners
9990         get the signals in wrong order.
9991
9992         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9993         correctly in case of pending activation.
9994
9995         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9996         Convert the essid byte array to string correctly, including the terminating NULL.
9997
9998         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9999         mode with correct types.
10000
10001         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10002         constructed info to dbus call instead of the activation request.
10003
10004 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10005
10006         Patch from Christian Persch <chpe@gnome.org>
10007
10008         * libnm-glib/Makefile.am:
10009         * dispatcher-daemon/Makefile.am:
10010         Use the correct variables, the correct paths, and correct ordering. (446315)
10011
10012 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10013
10014         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10015         argument. The activation request is easy to retrieve.
10016
10017         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10018         just to be a convenient location for devices to store random stuff.
10019
10020 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10021
10022         Patch from Alex Smith <alex@alex-smith.me.uk>
10023
10024         * src/backends/NetworkManagerFrugalware.c:
10025         Update the FrugalWare backend to fix a few segfaults. (#392642)
10026
10027 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10028
10029         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10030
10031         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10032         setting.
10033         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10034
10035 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10036
10037         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10038         automagically.
10039         Implement NMSettingIP4Config.
10040         Finish NMSettingWired by adding all known members.
10041         (setting_wired_verify): Implement.
10042         Finish NMSettingWireless by adding all known members.
10043         (setting_wireless_verify): Implement.
10044
10045         * libnm-util/nm-connection.c: Register "ipv4" setting.
10046         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10047         dump function, we can introspect the GHashTable which is used for sending connections
10048         over dbus.
10049
10050         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10051         Take GByteArray for essid, it's really not a string.
10052
10053         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10054         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10055         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10056         means overriding the values we got from DHCP.
10057         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10058         (nm_device_deactivate_quickly): Ditto.
10059
10060         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10061         for debugging.
10062
10063 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10064
10065         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10066         NMConnection.
10067
10068         * libnm-glib/nm-device-802-11-wireless.c:
10069         (nm_device_802_3_ethernet_activate): Remove.
10070
10071         * libnm-glib/nm-device-802-3-ethernet.c
10072         (nm_device_802_3_ethernet_activate): Remove.
10073
10074         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10075
10076         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10077         NMConnection.
10078
10079         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10080         activation has started.
10081         Implement the new activation using NMConnection.
10082
10083         * src/nm-activation-request.c: Store a generic connection object instead
10084         of a wireless-specific AP.
10085
10086         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10087         on device type, create a device specific connection object suitable for
10088         device activation.
10089
10090         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10091         specific check to validate the connection and on success start the
10092         activation.
10093
10094         * src/nm-device-interface.h: Add a activate virtual function to the
10095         interface definition.
10096
10097         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10098         (impl_device_activate): Implement.
10099
10100         * introspection/nm-device.xml: Add a generic device activation interface
10101         that accepts an abstract NMConnection structure that has device-specific
10102         information in it.
10103
10104         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10105         activation interface.
10106
10107         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10108         activation interface.
10109
10110         * libnm-util/nm-connection.c: 
10111         * libnm-util/nm-connection.h: 
10112         * libnm-util/nm-setting.c:
10113         * libnm-util/nm-setting.h: Add.
10114
10115         * libnm-util/Makefile.am: Build the added files.
10116
10117         * src/nm-dbus-manager.c
10118         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10119         DbusConnection argument from 'name-owner-changed' signal. The manager
10120         is already passed as a first argument to the signal and the connection
10121         is easy enough to get from it.
10122
10123         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10124         Update the signature of the function.
10125
10126         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10127         Ditto.
10128
10129         * src/NetworkManager.c: Ditto.
10130
10131         * src/named-manager/nm-named-manager.c
10132         (nm_named_manager_name_owner_changed): Ditto.
10133
10134         * src/supplicant-manager/nm-supplicant-manager.c
10135         (nm_supplicant_manager_name_owner_changed): Ditto.
10136
10137         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10138
10139         * src/dhcp-manager/nm-dhcp-manager.c
10140         (nm_dhcp_manager_name_owner_changed): Ditto.
10141
10142         * src/nm-hal-manager.c: Add a list of device detectors and creators
10143         to make it easier to add new devices. Each device type has it's own
10144         entry in the table so adding new device types is only a matter of
10145         implementing a couple of functions, one for device detection and the
10146         other for device creation.
10147
10148 2007-04-25  Dan Williams  <dcbw@redhat.com>
10149
10150         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10151                 (gnome.org #432401)
10152
10153 2007-03-30  Dan Williams  <dcbw@redhat.com>
10154
10155         * src/NetworkManagerSystem.c
10156                 - (nm_system_device_set_ip4_route): clean up and fix argument
10157                         to nm_dev_sock_open()
10158
10159 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10160
10161         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10162         data to correct types instead of always using string.
10163
10164         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10165         _not_ have NM_802_11_CAP_PROTO_NONE.
10166         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10167         is not set.
10168
10169 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10170
10171         * libnm-glib/Makefile.am: Fix the build issue.
10172
10173 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10174
10175         * libnm-glib/nm-vpn-connection.h: 
10176         * libnm-glib/nm-vpn-connection.c: Implement.
10177
10178         * libnm-glib/nm-client.c: Add VPN support.
10179
10180         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10181         handler for VPN.
10182
10183         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10184         on DBUS again.
10185
10186 2007-03-26  Dan Williams  <dcbw@redhat.com>
10187
10188         * src/NetworkManagerAPList.c
10189         * src/nm-device-802-11-wireless.c
10190         * src/NetworkManagerAP.c:
10191                 - Store last seen as glong instead of GTimeVal.
10192                 - Fix the upper bound of capabilities, it's a bitfield.
10193
10194 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10195
10196         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10197
10198         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10199         "manager-running" signal that notifies the appearance/disappearance of NM.
10200         (nm_client_sleep): Implement.
10201
10202         * libnm-glib/nm-device.c:
10203         * libnm-glib/nm-device-802-11-wireless.c: 
10204         * libnm-glib/nm-device-802-3-ethernet.c: 
10205
10206         Don't inherit from DBusGProxy, add a proxy to private
10207         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10208         for anything but their own dbus interface. DBusGProxy objects support only one
10209         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10210         interface. The nice side effect of this change is that we do not create a new
10211         DBusGProxy object for each property access.
10212
10213 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10214
10215         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10216         with zeroes before passing them to functions - the functions never do that and
10217         reading the values back may produce wrong values.
10218         (real_bring_up): Store the signal handler id ...
10219         (real_bring_down): ... So that it can be removed here.
10220         Disconnect the supplicant interface here as well.
10221         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10222         from the access point instead of old $device/Networks/$essid.
10223
10224         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10225         device state is connected (instead of just having link/carrier).
10226
10227         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10228         already easily accessible through the device.
10229
10230         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10231         store it within the object.
10232         (nm_ap_get_dbus_path): Export it to public as well.
10233
10234         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10235         of the singleton.
10236
10237 2007-03-12  Dan Williams  <dcbw@redhat.com>
10238
10239         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10240         for non-carrier-detect capable devices, and useless for carrier-detect
10241         devices since we get notifications from netlink about carrier status anyway.
10242
10243         * src/nm-device-802-3-ethernet.c
10244                 - remove 'link_source_id' member from private data
10245                 - (probe_link): remove and collapse into real_update_link()
10246                 - (nm_device_802_3_periodic_update): remove
10247                 - (real_is_up): check for sup_iface rather than link_source_id
10248                 - (real_bring_up): return gboolean for success/fail; require that
10249                         sup_iface be valid for device bringup to succeed
10250                 - (real_bring_down): zero out link signal ids
10251
10252         * src/nm-device.c
10253                 - (nm_device_activate_stage2_device_config): fail activation if device
10254                         bringup fails
10255                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10256                         fails
10257                 - (nm_device_bring_up): return success/fail
10258
10259         * src/nm-device.h
10260                 - bring_up now returns success/fail
10261
10262         * src/nm-device-802-11-wireless.c
10263                 - (real_bring_up): return success from bringup
10264
10265 2007-03-07  Dan Williams  <dcbw@redhat.com>
10266
10267         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10268         * src/nm-ap-security-wpa-psk.c
10269                 - (real_write_supplicant_config): work with PSKs that may contain
10270                         zeros in the binary format rather than treating it as a string
10271
10272 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10273
10274         * libnm-glib/nm-device-802-11-wireless.c
10275         (nm_device_802_11_wireless_get_capabilities): Implement.
10276
10277         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10278
10279         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10280
10281         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10282         reply only if it's not NULL. Not sure why this started happening right now.
10283
10284         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10285         code paths for when devices get removed on shutdown or when a device is just
10286         removed.
10287         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10288         gets freed so any signal from a device (disconnected for instance) would invoke
10289         NMState update which would crash.
10290         (nm_manager_remove_device): Bring the device down when it gets removed.
10291
10292         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10293         the unused dev_type.
10294
10295         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10296         reference to the added device, NMManager will own it (if it wants).
10297
10298         * test/nm-tool.c: Rewrite using libnm-glib.
10299
10300         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10301         We get signalled when it changes.
10302
10303         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10304         when it changes.
10305
10306         * libnm-glib/nm-device.c: Cache the device state property.
10307
10308         * libnm-glib/nm-access-point.c: Cache the strength property.
10309
10310         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10311         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10312         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10313         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10314         the device is down, activating, or activated (in case of A/B/G cards).
10315         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10316         it's all done through supplicant now.
10317
10318         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10319         counting issues with pending calls which caused leaks and crashes when
10320         interface was removed (now that the interface actually gets removed).
10321
10322         * src/nm-call-store.c: Make a copy of data before running a foreach
10323         with user callback on it - The most common usage pattern is to cancel
10324         (and thus remove) all pending calls with foreach which would modify
10325         the hash table we're iterating over.
10326
10327         * src/nm-manager.c: When a device is added, make sure it is "up". When
10328         it's removed or disabled due to disabling wireless or networking, bring
10329         it down.
10330
10331         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10332
10333         * src/nm-device-802-11-wireless.c: 
10334         * src/nm-device-802-3-ethernet.c: 
10335         * src/nm-device.c:
10336                 - Remove "init" virtual function, all gobjects have a place for that
10337                   already (constructor).
10338                 - Replace "start" virtual function with "bring_up", devices can be
10339                   brought up and down more than just on startup now.
10340                 - Add "is_up" virtual function.
10341                 - Implement one way to bring a device down instead of previous 4 different
10342                   ways, each of witch did something different.
10343
10344         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10345         all it needs is the device interface.
10346
10347         Get rid of NMData.dev_list (3 members to go).
10348         Get rif of NMData in a lot of places.
10349
10350         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10351
10352 2007-02-23  Dan Williams  <dcbw@redhat.com>
10353
10354         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10355
10356         * src/NetworkManagerAP.c
10357                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10358                         OR-ing rather than AND-ing
10359
10360 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10361
10362         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10363         "network-removed" signals.
10364
10365         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10366
10367         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10368         when receiving the signal from dbus.
10369
10370         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10371         property.
10372
10373         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10374         deactivation of the previously activated device working again.
10375
10376         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10377         and setter.
10378
10379         * src/nm-device.c (nm_device_is_activated): Remove.
10380         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10381
10382         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10383         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10384         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10385         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10386         Remove NMNetworkStatus and NMActStage enums.
10387
10388 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10389
10390         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10391         Handle device state changes and disconnect VPN if it's device deactivates.
10392
10393         * src/nm-dbus-nm.c: 
10394         * src/nm-dbus-nm.h: 
10395         * src/nm-dbus-device.c: 
10396         * src/nm-dbus-device.c: 
10397         * src/nm-dbus-net.c: 
10398         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10399
10400         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10401
10402         * src/nm-device.c (nm_device_get_by_udi):
10403         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10404         implemented in the correct location (NMManager).
10405         Rip out all the test_device stuff.
10406
10407         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10408         failure handlers, it's all done by NMDevice already.
10409
10410         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10411         Remove the iochannel hack to route the unix signals to the main thread since
10412         we're not threaded anymore.
10413
10414         * src/NetworkManagerAP.c: Implement HWAddress property.
10415
10416         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10417         automatically with dbus-glib.
10418
10419         * src/nm-netlink-monitor.c: 
10420         * src/nm-netlink-monitor.h:
10421                 - Move it low in the class hierarchy, don't reference any NM types.
10422                 - Remove private data from the header.
10423                 - Use type safe checks in public API methods.
10424                 - Make it a singleton so we don't have to pass the single reference around.
10425
10426 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10427
10428         * introspection/nm-ip4-config.xml: Implement.
10429
10430         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10431
10432         * libnm-glib/nm-ip4-config.c:
10433         * libnm-glib/nm-ip4-config.c: Implement.
10434
10435         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10436         securities. APs reference security.
10437
10438         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10439         be exported over DBUS.
10440
10441         * src/nm-device-802-3-ethernet.c: Ditto.
10442
10443         * src/NetworkManagerAP.c:
10444         * src/NetworkManagerAP.h:
10445                 - Convert to GObject, export over DBUS.
10446
10447         * src/nm-ip4-config.h:
10448         * src/nm-ip4-config.h:
10449                 - Convert to GObject, export over DBUS.
10450
10451 2007-02-12  Dan Williams  <dcbw@redhat.com>
10452
10453         Patch from Helmut Schaa <hschaa@suse.de>
10454
10455         * vpn-daemons/pptp/configure.in
10456           vpn-daemons/pptp/Makefile.am
10457           vpn-daemons/openvpn/configure.in
10458           vpn-daemons/openvpn/Makefile.am
10459           vpn-daemons/vpnc/configure.in
10460           vpn-daemons/vpnc/Makefile.am
10461                 - Add --without-gnome switch which disables building gnome bits
10462
10463 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10464
10465         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10466
10467         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10468
10469         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10470         'HwAddress'.
10471
10472         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10473
10474         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10475
10476         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10477
10478         * src/:
10479                 - Remove old low-level dbus interface implementations and replace them
10480                   with dbus-glib one.
10481
10482         * configure.in:
10483                 - Require dbus-glib >= 0.72.
10484                 - Plug in new sources to build.
10485
10486         * libnm-glib/:
10487                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10488                   to make it more convenient to use from GObject based programs.
10489
10490         * introspection/:
10491                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10492
10493 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10494
10495         * src/nm-device-802-11-wireless.c:
10496                 - Add "network-added" and "network-removed" signals.
10497                 - Use gobject boilerplate macros to define the GObject.
10498                 - Implement wireless device activation.
10499                 - Remove activation_failure_handler and activation_success_handler
10500                   and instead listen on state-changed signals and run the same code
10501                   from there.
10502
10503         * src/nm-device.c:
10504                 - Implment NMDeviceInterface::deactivate.
10505                 - Remove activation_failure_handler and activation_success_handler
10506                   virtual methods. Each device which is interested in these events
10507                   can just listen on it's state changed signals.
10508
10509         * src/NetworkManagerPolicy.c:
10510                 - Move a bit more NMData usage to NMManager.
10511                 - Remove activation scheduling bits.
10512                 - Add listeners for wireless device's "network-added" and
10513                   "network-removed" signals.
10514                 - Listen device changed signals and deactivate currently activated
10515                   device when another device start activating (for now).
10516                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10517                   for calling this, the policy code knows exactly when this should happen,
10518                   by listening on events from NMManager and NMDevices.
10519
10520         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10521         Implement.
10522
10523         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10524         method on the specific device instead of going to through policy code
10525         and determining the device type by passed in AP's existance.
10526
10527         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10528         abstract NMDevice deactivation.
10529
10530 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10531
10532         * src/NetworkManager.c:
10533                 - Set up all the shiny new managers.
10534
10535         * src/NetworkManagerPolicy.c:
10536                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10537                   classes to call into policy code, make the policy code kind of like
10538                   a supervisor that monitors what's going on and drives the whole NM.
10539
10540         * src/nm-hal-manager.c: 
10541         * src/nm-hal-manager.h:
10542                 - Collect all libhal code scattered around NM to this one class.
10543                 - Listen libhal and NMManager events and add/remove devices to
10544                   NMManager.
10545
10546         * src/nm-manager.c:
10547         * src/nm-manager.h:
10548                 - Implment a replacement for NMData. NMData is now officially
10549                 deprecated.
10550
10551 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10552
10553         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10554         * src/supplicant-manager/nm-supplicant-interface.h
10555         * src/supplicant-manager/nm-supplicant-interface.c
10556         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10557         argument to boolean from enum.
10558
10559         Make NMDevice abstract class, remove almost all references to it's
10560         subclasses (the last place gets removed with new policy manager). Add
10561         NMDeviceInterface (which NMDevice implements) so that when we have
10562         NMDevice exported over DBUS, there's a common NMDevice interface which
10563         all instances have, plus there's a device specific interface for each
10564         specific type.
10565         Remove functions (nm_device_is_802_3_ethernet) and
10566         (nm_device_is_802_11_wireless). There are already standard GObject macros
10567         for type safe checks.
10568         Use the updated supplican manager API.
10569
10570         * src/nm-device-interface.h: 
10571         * src/nm-device-interface.c: 
10572         * src/nm-call-store.h: 
10573         * src/nm-call-store.c: Implement.
10574
10575         * src/supplicant-manager/nm-supplicant-interface.c:
10576         * src/supplicant-manager/nm-supplicant-interface.h:
10577         * src/supplicant-manager/nm-supplicant-manager.c:
10578         * src/supplicant-manager/nm-supplicant-manager.h:
10579                 - Remove all private data type references from public header files.
10580                 - Remove all references to other NM classes, this class is just a
10581                   proxy between wpa_supplicant and NM so it doesn't have to know
10582                   any internals.
10583                 - Convert to dbus-glib bindings.
10584                 - Type safe checks for public methods' arguments.
10585                 - Store pending DBUS call ids to NMCallStore.
10586
10587         * src/supplicant-manager/nm-supplicant-config.c:
10588                 - Store config values in a GHashTable instead of GSList.
10589
10590         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10591
10592         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10593         singleton now.
10594
10595         * src/nm-device.c: Use the new DHCP manager API.
10596
10597         * src/nm-activation-request.c:
10598         * src/nm-activation-request.h:
10599                 - Remove all dhcp related properties and methods.
10600
10601         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10602
10603         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10604
10605         * src/dhcp-manager/nm-dhcp-manager.c:
10606         * src/dhcp-manager/nm-dhcp-manager.h:
10607                 - Convert it to GObject since we need to signal state changes.
10608                 - Remove all references to other NM classes, this class is one
10609                   of the lowest classes in our hierarchy.
10610                 - One less class to use NMActRequest.
10611                 - Make it singleton, one less user of NMData.
10612                 - Remove a couple of sleep() calls.
10613                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10614                   One less class to use the NM's custom tailored signal handlig.
10615
10616         * Makefile.am: Generate marshallers, add them to build.
10617
10618 2007-02-02  Dan Williams  <dcbw@redhat.com>
10619
10620         * configure.in
10621           gnome/Makefile.am
10622           nm-applet.desktop
10623           Makefile.am
10624                 - Remove last bits referencing gnome applet
10625
10626 2007-02-02  Dan Williams  <dcbw@redhat.com>
10627
10628         * src/vpn-manager/nm-vpn-service.c
10629                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10630                         and NBNS server addresses
10631
10632 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10633
10634         * src/nm-dbus-manager.c:
10635         * src/nm-dbus-manager.h:
10636                 - Convert all internal DBUS code to use dbus-glib bindings.
10637                 - Remove GObject properties, we don't need them here.
10638                 - Don't explicitly set things to NULL after freeing, glib is
10639                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10640                 - Make public API argument checks type safe.
10641                 - Remove unnecessary (and wrong) cast to GObject for the first
10642                   argument to g_signal_* calls - The first argument is a gpointer.
10643                 - Export DBusGConnection to other cool classes that (are going to)
10644                   use dbus-glib.
10645
10646 2007-01-26  Dan Williams  <dcbw@redhat.com>
10647
10648         * libnm-util/dbus-dict-helpers.c
10649           libnm-util/dbus-dict-helpers.h
10650                 - Coordinate style with wpa_supplicant version to minimize diff
10651                 - Add uint32 array support
10652                 - (nmu_dbus_dict_append_uint32_array): new function
10653                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10654                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10655                         version; allow adding string array elements individually
10656
10657         * test/libnm-util/test-dbus-dict-helpers.c
10658                 - Test uint32 arrays
10659
10660 2007-01-27  Jürg Billeter  <j@bitron.ch>
10661
10662         * src/backends/NetworkManagerPaldo.c
10663                 - (nm_system_update_dns): clear nscd hosts cache
10664
10665 2007-01-04  Dan Williams  <dcbw@redhat.com>
10666
10667         Threading removal related cleanups:
10668
10669         - Use the glib default main context.  Remove the device main context
10670                 member from NMDevice, and the main_context member from NMData.  Change
10671                 all the idle and timeout scheduler functions to use plain
10672                 g_idle_add() and g_timeout_add().
10673
10674         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10675                 takes an argument; fix that up too.
10676
10677         - Remove all locking, which is useless since we no longer use threads.  For
10678                 example, nm_get_device_by_iface_locked() has been removed.  The global
10679                 device list lock, the AP List lock, and all static locks in
10680                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10681                 in NetworkManagerUtils.c have also been removed.
10682
10683         - Other cleanups in spacing and code style
10684
10685 2007-01-01  Dan Williams  <dcbw@redhat.com>
10686
10687         Found by Bill Moss:
10688
10689         * src/supplicant-manager/nm-supplicant-interface.c
10690                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10691                         the supplicant interface wasn't already disconnected.  Always
10692                         call removeNetwork and disconnect unless the supplicant interface
10693                         is in the DISCONNECTED or INACTIVE state.
10694
10695 2006-12-28  Dan Williams  <dcbw@redhat.com>
10696
10697         Use a single thread for everything.  With the move to wpa_supplicant
10698         and communication over D-Bus, there's no reason for multiple threads.
10699         Almost all of the blocking code has been removed, with one exception in
10700         the DHCP manager and a few in the VPN manager.  This commit removes the
10701         per-device worker thread and fixes activation cancellation in the absence
10702         of threads.  Further removal of thread-related code would be removing
10703         any locking code (like the device list lock) and simplification of logic
10704         around areas of code or data structures that are currently locked.
10705
10706         * autoip.c
10707           dhcp-manager/nm-dhcp-manager.c 
10708           nm-device-802-11-wireless.c
10709           nm-device-802-3-ethernet.c
10710           nm-device.c
10711           nm-device.h
10712                 - Remove usage of multiple threads
10713
10714 2006-12-19  Dan Williams  <dcbw@redhat.com>
10715
10716         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10717         plus a few other patches from wpa_supplicant bugzilla.
10718
10719         * src/Makefile.am
10720           src/NetworkManagerPolicy.c
10721           src/NetworkManagerUtils.c
10722           src/NetworkManagerUtils.h
10723           src/nm-ap-security-leap.c
10724           src/nm-ap-security-wep.c
10725           src/nm-ap-security-wpa-eap.c
10726           src/nm-ap-security-wpa-psk.c
10727           src/nm-ap-security.c
10728           src/nm-ap-security.h
10729           src/nm-device-802-11-wireless.c
10730           src/nm-device-802-11-wireless.h
10731           src/supplicant-manager/nm-supplicant-config.c
10732           src/supplicant-manager/nm-supplicant-config.h
10733           src/supplicant-manager/nm-supplicant-interface.c
10734           src/supplicant-manager/nm-supplicant-interface.h
10735           src/supplicant-manager/nm-supplicant-marshal.list
10736           src/supplicant-manager/nm-supplicant-settings-verify.c
10737           src/supplicant-manager/nm-supplicant-settings-verify.h
10738                 - Move all connection management and association handling to
10739                         wpa_supplicant over dbus, rather than spawning a private copy
10740
10741 2006-12-19  Dan Williams  <dcbw@redhat.com>
10742
10743         * src/NetworkManagerPolicy.c
10744                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10745                         better locking of the device change check handler ID.  Incorrect
10746                         locking was causing lost device change requests
10747
10748 2006-12-18  Dan Williams  <dcbw@redhat.com>
10749
10750         * libnm-util/dbus-dict-helpers.c
10751                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10752                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10753                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10754
10755 2006-12-18  Dan Williams  <dcbw@redhat.com>
10756
10757         * gnome/libnm_glib/libnm_glib.c
10758                 - Change dbus_connection_close() -> dbus_connection_unref()
10759
10760 2006-12-11  Dan Williams  <dcbw@redhat.com>
10761
10762         * src/supplicant-manager/nm-supplicant-interface.c
10763                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10764                         wpa_supplicant interface state
10765                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10766                         state before transitioning to READY state
10767
10768 2006-12-04  Dan Williams  <dcbw@redhat.com>
10769
10770         * src/nm-device-802-11-wireless.c
10771                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10772                         odd length of ESSID returned from ieee80211 stack-based drivers
10773
10774 2006-12-04  Dan Williams  <dcbw@redhat.com>
10775
10776         * src/nm-device-802-11-wireless.c
10777                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10778                         IE handling blocks that cause mis-parsing of the IE
10779
10780 2006-12-04  Dan Williams  <dcbw@redhat.com>
10781
10782         * src/nm-device-802-11-wireless.c
10783                 - (init_supplicant_interface): new function; pull supplicant interface
10784                         setup code out into standalone function since it must be called from
10785                         two different places
10786                 - (real_init): sup_mgr is now in private object data; get and track
10787                         the supplicant manager object over the NMDevice subclass' lifetime
10788                         and register a signal handler for its state signals; only try to
10789                         initialize the supplicant interface if the supplicant manager is in
10790                         the IDLE state (and therefore is ready for requests)
10791                 - (request_wireless_scan): reschedule the scan request if (a) there is
10792                         no supplicant interface yet (meaning wpa_supplicant isn't running
10793                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10794                         for requests yet
10795                 - (supplicant_iface_connection_state_cb): new function; stub for
10796                         handling supplicant interface connection state signals
10797                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10798                         comes and goes
10799                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10800                         supplicant manager object that's being tracked starting with this
10801                         commit
10802
10803 2006-12-04  Dan Williams  <dcbw@redhat.com>
10804
10805         * src/supplicant-manager/nm-supplicant-interface.c
10806                 - (nm_supplicant_interface_set_property): track signal handler ID
10807                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10808
10809 2006-12-04  Dan Williams  <dcbw@redhat.com>
10810
10811         * src/supplicant-manager/nm-supplicant-interface.[ch]
10812                 - (nm_supplicant_interface_get_state): new function
10813
10814 2006-12-04  Dan Williams  <dcbw@redhat.com>
10815
10816         * src/supplicant-manager/nm-supplicant-interface.c
10817                 - (bssid_properties_cb): don't treat DBus errors as valid
10818                         scanned AP messages
10819
10820 2006-12-04  Dan Williams  <dcbw@redhat.com>
10821
10822         * src/supplicant-manager/nm-supplicant-interface.[ch]
10823                 - (nm_supplicant_interface_get_connection_state): new function
10824                 - define new supplicant connection states
10825                 - send a signal when the supplicant connection state changes
10826
10827 2006-12-03  Dan Williams  <dcbw@redhat.com>
10828
10829         * src/supplicant-manager/Makefile.am
10830           src/supplicant-manager/nm-supplicant-connection.h
10831           src/supplicant-manager/nm-supplicant-connection.c
10832           src/supplicant-manager/nm-supplicant-config.h
10833           src/supplicant-manager/nm-supplicant-config.c
10834           src/supplicant-manager/nm-supplicant-types.h
10835           src/supplicant-manager/nm-supplicant-interface.h
10836           src/supplicant-manager/nm-supplicant-interface.c
10837                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10838
10839 2006-12-03  Dan Williams  <dcbw@redhat.com>
10840
10841         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10842
10843         * po/POTFILES.in
10844           po/POTFILES.skip
10845                 - Move VPN-related translatables to .skip
10846
10847         * vpn-daemons/pptp/po/POTFILES.in
10848                 - Update with new translatables
10849
10850 2006-12-02  Dan Williams  <dcbw@redhat.com>
10851
10852         Patch from Christian Persch <chpe@gnome.org>
10853
10854         * gnome/applet/Makefile.am
10855           gnome/applet/applet-dbus-devices.c
10856           gnome/applet/applet-notifications.c
10857           gnome/applet/applet.c
10858           gnome/applet/applet.h
10859           gnome/applet/main.c
10860                 - Be a GtkStatusIcon on GTK+ >= 2.10
10861
10862 2006-12-02  Dan Williams  <dcbw@redhat.com>
10863
10864         * gnome/applet/applet.c
10865                 - (nma_update_info): fix two unecessary allocations
10866
10867 2006-12-02  Dan Williams  <dcbw@redhat.com>
10868
10869         Patch from Michael Biebl <biebl@teco.edu>
10870         * configure.in
10871           man/NetworkManager.1.in
10872           man/NetworkManagerDispatcher.1.in
10873           man/NetworkManager.8.in
10874           man/NetworkManagerDispatcher.8.in
10875                 - Add .SH NAME stanzas
10876                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10877
10878 2006-12-02  Dan Williams  <dcbw@redhat.com>
10879
10880         Patch from Christian Persch <chpe@gnome.org>
10881
10882         * configure.in
10883                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10884
10885 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10886
10887         Patch by Timo Hoenig <thoenig@suse.de>:
10888         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10889         DBUS-1.0.
10890
10891         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10892         we can't use the one from the main source directory.
10893
10894 2006-11-27  Dan Williams  <dcbw@redhat.com>
10895
10896         Patch from Christian Persch <chpe@gnome.org>
10897
10898         * gnome/applet/applet-dbus-devices.c
10899                 - (hal_info_product_cb): fix memleak; free duped string.
10900                         Gnome.org #379908
10901
10902 2006-11-27  Dan Williams  <dcbw@redhat.com>
10903
10904         Patch from Christian Persch <chpe@gnome.org>
10905
10906         * gnome/applet/menu-items.c
10907                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10908                         as gtk_progress_set_percentage is deprecated.  Should
10909                         work as far back as GTK+ 2.4.  Gnome.org #379780
10910
10911 2006-11-26  Dan Williams  <dcbw@redhat.com>
10912
10913         Scan using wpa_supplicant over DBus.
10914
10915         * src/nm-device-802-11-wireless.c
10916                 - remove wireless extensions netlink event handler bits
10917                         (wireless_event_helper, nm_device_802_11_wireless_event)
10918                 - remove wireless extensions scan event handler bits
10919                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10920                         hex2byte, hex2num, request_and_convert_scan_results,
10921                         free_process_scan_cb_data, scan_results_timeout,
10922                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10923                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10924                         and request scans from the supplicant interface rather than directly
10925                 - Move functionality of convert_scan_results() to cull_scan_list() and
10926                         supplicant_iface_scanned_ap_cb()
10927                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10928                         at the scan interval when the current scan has finished
10929                 - (supplicant_iface_state_cb): start scanning when the supplicant
10930                         interface enters the READY state, and stop scanning when it
10931                         enters the DOWN state
10932                 - (cull_scan_list): weed out old access points from the scan list
10933                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10934                         point into an NMAccessPoint and merge it into the device's scan list
10935
10936         * src/supplicant-manager/nm-supplicant-interface.c
10937           src/supplicant-manager/nm-supplicant-interface.h
10938                 - Add a new signal "scan-result" which is issued when the supplicant
10939                         notifies NM that a scan has completed
10940                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10941                         point found in the scan.  Called once for each access point that
10942                         the supplicant interface object receives from the supplicant as a
10943                         result of the "scanResults" method call
10944                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10945                         for the initial scan results
10946                 - (scan_request_cb): new function; send listeners the result
10947                         (success, error) of a wireless scan request
10948                 - (nm_supplicant_interface_request_scan): new function; ask the
10949                         supplicant to perform an immediate wireless scan
10950
10951 2006-11-25  Dan Williams  <dcbw@redhat.com>
10952
10953         * src/supplicant-manager/Makefile.am
10954                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10955                         add HAL cflags/includes and named-manager includes directory
10956
10957         * src/supplicant-manager/nm-supplicant-interface.h
10958                 - New state STARTING to handle transition from INIT to READY where
10959                         the addInterface pending call is still outstanding
10960
10961         * src/supplicant-manager/nm-supplicant-interface.c
10962                 - track pending calls differently since we may have more than one
10963                         going on at any given time
10964                 - request scan results from wpa_supplicant; but don't do it more often
10965                         than every 4 seconds.  Drivers that do background scanning
10966                         (like the 'ipw' drivers) send a continuous stream of scan completion
10967                         notifications, so we don't want to hammer the supplicant or dbus
10968                         with requests for all scan results every time we get a completion
10969                         notification.
10970
10971 2006-11-25  Dan Williams  <dcbw@redhat.com>
10972
10973         * src/supplicant-manager/nm-supplicant-types.h
10974                 - new file; move all supplicant manager object typedefs here for
10975                         #include sanity
10976
10977         * src/supplicant-manager/nm-supplicant-interface.c
10978           src/supplicant-manager/nm-supplicant-interface.h
10979                 - new file; an object that interfaces an NMDevice object to the
10980                         supplicant and handles signals from the supplicant.  This object
10981                         does all necessary DBus communication with wpa_supplicant.
10982
10983         * src/supplicant-manager/nm-supplicant-manager.c
10984           src/supplicant-manager/nm-supplicant-manager.h
10985                 - Actually do something.  Track the state of the wpa_supplicant service
10986                         and deal with its comings & goings.  Handle life events of
10987                         supplicant interfaces too.
10988                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10989
10990         * src/supplicant-manager/nm-supplicant-connection.h
10991                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10992
10993         * src/supplicant-manager/Makefile.am
10994                 - Add new files to build, and add libnm-util to includes
10995
10996         * src/nm-marshal.list
10997                 - New marshaler type: VOID:UINT,UINT
10998
10999         * src/nm-device-802-3-ethernet.c
11000                 - (real_init): grab a supplicant interface
11001                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11002                 - (supplicant_iface_state_cb): new function, stub for handling
11003                         supplicant interface state changes
11004
11005         * src/nm-device-802-11-wireless.c
11006                 - (real_init): grab a supplicant interface
11007                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11008                 - (supplicant_iface_state_cb): new function, stub for handling
11009                         supplicant interface state changes
11010
11011         * src/NetworkManager.c
11012                 - (main): create and keep the supplicant manager around for the lifetime
11013                         of NetworkManager
11014
11015         * src/Makefile.am
11016                 - Link to the supplicant manager sub-library and use the supplicant
11017                         manager includes
11018
11019 2006-11-25  Dan Williams  <dcbw@redhat.com>
11020
11021         Rework DBus manager signal handling to be more flexible.  Previously,
11022         only one signal handler could be registered for a particular interface.
11023         The DBus manager now reference counts DBus bus matches and allows multiple
11024         clients to register signal handlers for the same interface and sender.
11025
11026         * src/NetworkManager.c
11027                 - (main): track NMI signal handler ID and remove it when we quit
11028
11029         * src/NetworkManagerMain.h
11030                 - Keep track of NMI signal handler ID
11031
11032         * src/nm-dbus-manager.c
11033           src/nm-dbus-manager.h
11034                 - rework signal handling; each signal handler references one signal
11035                         match, but a signal match may be referenced by one or more
11036                         signal handlers.  Matches are refcounted and are destroyed when the
11037                         last signal handler that references the match is removed.  This is
11038                         necessary because two signal handlers may end up requiring the same
11039                         dbus bus match, so the match must live until the last signal handler
11040                         is destroyed (for example, with the wpa_supplicant network interface
11041                         dbus interface).
11042
11043         * src/dhcp-manager/nm-dhcp-manager.c
11044                 - (nm_dhcp_manager_new): track DHCP signal handler id
11045                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11046
11047         * src/vpn-manager/nm-vpn-service.c
11048                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11049                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11050
11051 2006-11-25  Dan Williams  <dcbw@redhat.com>
11052
11053         Suggested by Helmut Schaa <hschaa@suse.de>
11054
11055         * src/vpn-daemons/nm-vpn-service.c
11056                 - (supplicant_child_setup): new function
11057                 - (supplicant_exec): make child process use a new process group id
11058
11059         * src/nm-device-802-11-wireless.c
11060                 - (nm_vpn_service_child_setup): new function
11061                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11062                         process group id
11063
11064 2006-11-19  Dan Williams  <dcbw@redhat.com>
11065
11066         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11067         * gnome/vpn-properties/nm-vpn-properties.c
11068                 - clean up after renamed VPN connection
11069
11070 2006-11-19  Dan Williams  <dcbw@redhat.com>
11071
11072         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11073         * gnome/applet/applet-dbus-vpn.c
11074                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11075
11076         * gnome/vpn-properties/nm-vpn-properties.c
11077                 - (init_app): sort VPN connections
11078
11079 2006-11-09  Dan Williams  <dcbw@redhat.com>
11080
11081         * src/NetworkManagerAPList.c
11082                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11083                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11084                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11085                 broke hidden SSID matching.  Found by Bill Moss.
11086
11087 2006-10-25  Dan Williams  <dcbw@redhat.com>
11088
11089         * src/nm-dbus-nm.c
11090                 - (nm_dbus_nm_set_active_device): return an empty success message on
11091                         success, rather than falling through to the error case.
11092
11093 2006-10-25  Dan Williams  <dcbw@redhat.com>
11094
11095         * src/NetworkManagerUtils.c
11096                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11097                         "SCAN" command
11098
11099 2006-10-24  Dan Williams  <dcbw@redhat.com>
11100
11101         Reduce the number of times the Gnome applet wakes up, especially when
11102         it's doing absolutely nothing and is hidden.  Initial patch by
11103         Chris Aillon.
11104
11105         * gnome/applet/applet-dbus.c
11106                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11107                         kill the redraw timeout.  When NM starts up, start the redraw
11108                         timeout.  Also, if we get kicked off the bus for some reason,
11109                         start the reconnection timeout if one's not already running.
11110                 - (nma_dbus_init): better handling of error conditions, don't leak
11111                         a half-initialized dbus connection
11112                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11113                         the applet's data, just call nm_dbus_init_helper()
11114                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11115                         timeout that calls nma_dbus_connection_watcher()
11116                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11117                         reconnection timeout, and don't start the reconnection timeout
11118                         unconditionally anymore
11119
11120         * gnome/applet/applet-dbus.h
11121                 - Expose nma_start_dbus_connection_watch()
11122
11123         * gnome/applet/applet.c
11124                 - (nma_update_state): no longer static, called from applet-dbus.c for
11125                         immediate UI updates on certain events
11126                 - (nma_set_running): new function; take over setting applet->running,
11127                         when not running (ie, NM is not active), don't activate the redraw
11128                         timeout because we're not showing the applet anyway.  When we are
11129                         running (ie, NM is active), and only when we're running, start the
11130                         redraw timeout.
11131                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11132                         kill any reconnection timeout
11133                 - (nma_get_instance): move one-off dbus initialization code here since
11134                         nm_dbus_init_helper() gets called more than once, possibly by the
11135                         reconnection timeout function too.  And, when we start up, if we
11136                         can't get a connection to the bus, start the reconnection timeout.
11137                         But don't start the redraw timeout yet, only do that when we get
11138                         NM's state and find out if it's running or not.
11139
11140         * gnome/applet/applet.h
11141                 - Add the reconnection GSource ID
11142                 - Add prototypes for nma_set_running() and the no-longer-static
11143                         nma_update_state()
11144
11145 2006-10-24  Dan Williams  <dcbw@redhat.com>
11146
11147         * src/vpn-daemons/nm-dbus-vpnc.c
11148                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11149                         pending call tracker
11150                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11151                         pending call tracker; register one-vpn-connection update pending
11152                         call in pending call tracker
11153                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11154                         update pending call in pending call tracker
11155                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11156                         update pending call in pending call tracker; don't block waiting
11157                         for call to return
11158
11159 2006-10-19  Robert Love  <rml@novell.com>
11160
11161         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11162           refresh the cache.
11163
11164 2006-10-14  Dan Williams  <dcbw@redhat.com>
11165
11166         * src/dhcp-manager/nm-dhcp-manager.c
11167                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11168                 the dbus connection and the device object path rather than
11169                 constructing it inside both functions.  Saves a bit of memory
11170                 and clarifies a failure path.
11171                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11172                 and allocate device path here rather than each of the two
11173                 functions above.
11174
11175 2006-10-13  Dan Williams  <dcbw@redhat.com>
11176
11177         * src/NetworkManager.c
11178                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11179                 this somehow droppout in the refactor
11180
11181 2006-10-13  Dan Williams  <dcbw@redhat.com>
11182
11183         * Huge DBus refactor:
11184                 - Create a "DBus Manager" object which manages the connection and
11185                 sends signals on NameOwnerChanged and connection/disconnection events,
11186                 handles reconnection to the bus if NM gets kicked off, and abstracts
11187                 signal handling
11188                 - Remove DBusConnection members from places where they are no
11189                 longer needed due to the refactor, like the dbus-connection
11190                 property of the named manager, and from NMData
11191                 - Reformats a bunch of the code to gnome style
11192                 (8-space tabs, braces on same line as statement, 80-col width).
11193                 Consider it open season to reformat any bits to gnome style.
11194                 style that aren't already.
11195
11196 2006-10-13  Dan Williams  <dcbw@redhat.com>
11197
11198         * src/supplicant-manager/Makefile.am
11199                 - Add new files
11200
11201         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11202                 - Make it a minimal GObject
11203
11204         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11205                 - Verify settings destined for wpa_supplicant
11206
11207         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11208                 - Minimal GObject to track wpa_supplicant controlled device
11209                 connections
11210
11211 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11212
11213         * gnome/applet/applet.c: (nma_update_info),
11214         (nma_act_stage_to_pixbuf), (nma_update_state):
11215         Mark missing strings for translation. Fixes bug #343306.
11216
11217 2006-10-01  Dan Williams  <dcbw@redhat.com>
11218
11219         * src/vpn-manager/nm-vpn-manager.c
11220                 - (nm_vpn_manager_load_services): split and clean up
11221                 for readability and correctness.  Restrict VPN service
11222                 files to ending in ".name", as was meant from the
11223                 beginning (but not coded in).  Better error reporting.
11224
11225 2006-10-01  Dan Williams  <dcbw@redhat.com>
11226
11227         * utils/nm-utils.h
11228                 - Clean up formatting of debug/info/warning log messages
11229
11230 2006-09-27  Robert Love  <rml@novell.com>
11231
11232         Patch by Tambet Ingo <tambet@ximian.com>:
11233         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11234           actually work.
11235
11236 2006-09-07  Dan Williams <dcbw@redhat.com>
11237
11238         * test/Makefile.am
11239           test/libnm-util/Makefile.am
11240           test/nm-supplicant-test.c
11241                 - Add test program emulating the way NM drives wpa_supplicant
11242                 to help debug supplicant issues
11243
11244 2006-08-24  Dan Williams <dcbw@redhat.com>
11245
11246         * configure.in
11247           src/Makefile.am
11248           src/supplicant-manager/Makefile.am
11249           src/supplicant-manager/nm-supplicant-manager.c
11250           src/supplicant-manager/nm-supplicant-manager.h
11251                 - Add skeleton bits of the wpa_supplicant manager
11252
11253 2006-08-24  Dan Williams <dcbw@redhat.com>
11254
11255         Patch from Ed Catmur:
11256         * src/NetworkManagerUtils.c
11257                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11258                 if netmask is 0 (Gnome #352634)
11259
11260 2006-08-17  Robert Love  <rml@novell.com>
11261
11262         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11263           package is now DBUS-enabled and listens for the NM signals.
11264
11265 2006-08-14  Dan Williams  <dcbw@redhat.com>
11266
11267         * Patch from Christian Persch <chpe gnome org>
11268         * configure.in
11269           po/LINGUAS
11270           vpn-daemons/openvpn/po/LINGUAS
11271           vpn-daemons/openvpn/configure.in
11272           vpn-daemons/pptp/po/LINGUAS
11273           vpn-daemons/pptp/configure.in
11274           vpn-daemons/vpnc/po/LINGUAS
11275           vpn-daemons/vpnc/configure.in
11276                 - Convert to LINGUAS method so translators don't have to modify
11277                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11278                 0.35 or higher
11279
11280 2006-08-14  Dan Williams  <dcbw@redhat.com>
11281
11282         Patch from Alex Smith <alex.extreme2@gmail.com>
11283         * configure.in
11284           src/backends/Makefile.am
11285           src/backends/NetworkManagerFrugalware.c
11286                 - Add support for Frugalware
11287
11288 2006-08-13  Dan Williams  <dcbw@redhat.com>
11289
11290         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11291         * src/nm-device-802-11-wireless.c
11292                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11293                 Gnome #346875
11294
11295 2006-08-13  Dan Williams  <dcbw@redhat.com>
11296
11297         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11298         * src/nm-ap-security.c
11299           src/nm-ap-security.h
11300                 - Add authentication_required bits for subclasses to specify whether
11301                 or not real authentication is required for connections, i.e. whether
11302                 the AP rejects us when an encryption key is wrong or not.
11303
11304         * src/nm-ap-security-wep.c
11305           src/nm-ap-security-wpa-eap.c
11306           src/nm-ap-security-wpa-psk.c
11307           src/nm-ap-security-leap.c
11308                 - Implement authentication_required appropriately for each method
11309
11310         * src/nm-device-802-11-wireless.c
11311                 - Be smarter about when to request a key; for example, using a wrong key
11312                 in WEP shared key mode previously just timed out and did not request
11313                 a new key
11314
11315 2006-08-13  Dan Williams  <dcbw@redhat.com>
11316
11317         * gnome/libnm_glib/libnm_glib.c
11318                 - dbus_connection_disconnect() -> dbus_connection_close() for
11319                 dbus >= 0.90
11320
11321 2006-08-07  Dan Williams  <dcbw@redhat.com>
11322
11323         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11324         * src/NetworkManagerSystem.c
11325                 - Respect specified MTU.  Gnome #344967
11326
11327 2006-08-07  Dan Williams  <dcbw@redhat.com>
11328
11329         * src/vpn-manager/nm-vpn-service.c
11330                 - Simplify print_vpn_config() arguments
11331
11332         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11333         * src/vpn-manager/Makefile.am
11334           src/vpn-manager/nm-vpn-service.c
11335                 - Add new API for passing VPN config options as a dict. Gnome #344967
11336
11337 2006-08-06  Dan Williams  <dcbw@redhat.com>
11338
11339         * gnome/applet/applet-dbus-devices.c
11340           gnome/applet/applet-dbus-vpn.c
11341           gnome/applet/applet-dbus.c
11342           gnome/applet/applet-dbus.h
11343           src/nm-dbus-nmi.c
11344           utils/nm-utils.c
11345           utils/nm-utils.h
11346                 - Make pending call tracking code generic,
11347                 so we can use it in NM as well as the applet
11348
11349 2006-08-06  Dan Williams  <dcbw@redhat.com>
11350
11351         * src/nm-activation-request.c
11352                 - Refcount pending call objects
11353
11354 2006-08-06  Dan Williams  <dcbw@redhat.com>
11355
11356         Patch from Christan Chiesa <christanc@gmail.com>
11357         * configure.in
11358                 - Tell sha1.c to use bigendian mode on PPC
11359
11360 2006-08-04  Robert Love  <rml@novell.com>
11361
11362         Glib Memory Slices!
11363         * configure.in: Require glib 2.10 or later.
11364         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11365           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11366           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11367           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11368           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11369           Memory Slices are the greatest thing since bread slices.
11370         * src/NetworkManagerAP.c: Also, fix memory leak.
11371
11372 2006-08-01  Robert Love  <rml@novell.com>
11373
11374         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11375
11376 2006-07-31  Robert Love  <rml@novell.com>
11377
11378         * src/backends/interface_parser.c: Declarations must begin the block.
11379
11380 2006-07-24  Dan Williams  <dcbw@redhat.com>
11381
11382         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11383         * src/backends/Makefile.am
11384           src/backends/NetworkManagerArch.c
11385           src/backends/NetworkManagerDebian.c
11386           src/backends/NetworkManagerGeneric.c
11387           src/backends/NetworkManagerGeneric.h
11388           src/backends/NetworkManagerGentoo.c
11389           src/backends/NetworkManagerPaldo.c
11390           src/backends/NetworkManagerRedHat.c
11391           src/backends/NetworkManagerSlackware.c
11392           src/backends/NetworkManagerSuSE.c
11393                 - Genericize common backend functions
11394
11395 2006-07-18  Robert Love  <rml@novell.com>
11396
11397         * configure.in: Add "--with-notify" option to allow disabling of
11398           libnotify support.
11399
11400 2006-07-13  Dan Williams  <dcbw@redhat.com>
11401
11402         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11403         * gnome/applet/applet.glade
11404           gnome/applet/Makefile.am
11405           gnome/applet/nm-gconf-wso.c
11406           gnome/applet/nm-gconf-wso-leap.c
11407           gnome/applet/nm-gconf-wso-leap.h
11408           gnome/applet/wireless-security-manager.c
11409           gnome/applet/wso-leap.c
11410           gnome/applet/wso-leap.h
11411           include/NetworkManager.h
11412           libnm-util/dbus-helpers.c
11413           libnm-util/dbus-helpers.h
11414           src/Makefile.am
11415           src/NetworkManagerAP.c
11416           src/nm-ap-security.c
11417           src/nm-ap-security-leap.c
11418           src/nm-ap-security-leap.h
11419                 - Add LEAP authentication support
11420
11421 2006-07-13  Dan Williams  <dcbw@redhat.com>
11422
11423         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11424         * configure.in
11425           src/backends/NetworkManagerArch.c
11426           src/backends/NetworkManagerDebian.c
11427           src/backends/NetworkManagerGentoo.c
11428           src/backends/NetworkManagerPaldo.c
11429           src/backends/NetworkManagerRedHat.c
11430           src/backends/NetworkManagerSlackware.c
11431           src/backends/NetworkManagerSuSE.c
11432                 - Convert hardcoding of 'ip' path to configure-time
11433                         detected one
11434
11435 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11436
11437         * configure.in: added ru to ALL_LINGUAS
11438
11439 2006-07-10  Dan Williams  <dcbw@redhat.com>
11440
11441         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11442         * src/nm-device.c
11443                 - (real_act_stage3_ip_config_start): don't infinite loop when
11444                         dhcdbd isn't running (Gnome #346845)
11445
11446 2006-07-09  Dan Williams  <dcbw@redhat.com>
11447
11448         * gnome/applet/applet.c
11449                 - (nma_destroy): don't pass NULL to notify_notification_close
11450                         (RH #197917)
11451
11452 2006-07-09  Dan Williams  <dcbw@redhat.com>
11453
11454         * gnome/applet/applet.c
11455                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11456
11457 2006-07-04  Tor Krill  <tor@krill.nu>
11458
11459         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11460         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11461         (nm_system_restart_mdns_responder), (ArchReadConfig),
11462         (nm_system_device_get_system_config):
11463                 - Explicitly check for DHCP configuration
11464                 - Check if daemons are running before starting them
11465
11466 2006-06-25  Dan Williams  <dcbw@redhat.com>
11467
11468         * libnm-util/dbus-dict-helpers.[ch]
11469           test/libnm-util/test-dbus-dict-helpers.c
11470                 - Add string array support
11471
11472 2006-06-24  Dan Williams  <dcbw@redhat.com>
11473
11474         * src/dhcp-manager/nm-dhcp-manager.c
11475                 - (nm_dhcp_manager_process_signal): clean up spacing
11476
11477 2006-06-21  Dan Williams  <dcbw@redhat.com>
11478
11479         * src/nm-dbus-device.c
11480                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11481                         through dbus
11482
11483 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11484
11485         * configure.in: Added 'lv' to ALL_LINGUAS
11486
11487 2006-06-19  Dan Williams  <dcbw@redhat.com>
11488
11489         * src/NetworkManagerAP.c
11490                 - Clarify usage of user_created
11491
11492         * src/nm-ap-security-wep.c
11493           src/nm-ap-security-wpa-eap.c
11494           src/nm-ap-security-wpa-psk.c
11495           src/nm-ap-security.c
11496           src/nm-ap-security.h
11497                 - s/user_created/adhoc, because we really do mean adhoc
11498
11499         Patch from Bernard Blackham <bernard@blackham.com.au>
11500         * src/nm-device-802-11-wireless.c         
11501                 - (supplicant_send_network_config): instead of user_created,
11502                         use adhoc, and do AP_SCAN 2 for adhoc networks
11503
11504 2006-06-18  Robert Love  <rml@novell.com>
11505
11506         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11507           we have a value to set.  Gconf generates a warning if `val' is NULL.
11508         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11509           unless we actually received a valid private key file passphrase or
11510           password.  Otherwise, we don't know to later ask the applet to pull
11511           the key from the keyring.
11512
11513 2006-06-17  Dan Williams  <dcbw@redhat.com>
11514
11515         * libnm-util/dbus-dict-helpers.[ch]
11516           test/libnm-util/test-dbus-dict-helpers.c
11517                 - Fixes for zero-length byte arrays
11518                 - Replace return values of 0 with FALSE for clarity
11519                 - Test zero-length byte arrays
11520
11521 2006-06-17  Dan Williams  <dcbw@redhat.com>
11522
11523         * libnm-util/dbus-dict-helpers.[ch]
11524           test/libnm-util/test-dbus-dict-helpers.c
11525                 - Add helpers for byte arrays
11526                 - Rework bits of the testcase
11527
11528 2006-06-16  Dan Williams  <dcbw@redhat.com>
11529
11530         * libnm-util/Makefile.am
11531         * libnm-util/dbus-dict-helpers.[ch]
11532                 - Add some helpers to take the pain out of using dict types in
11533                         dbus.
11534
11535         * test/libnm-util/Makefile.am
11536         * test/libnm-util/test-dbus-dict-helpers.c
11537                 - Test cases for the dict helper functions
11538
11539 2006-06-15  Robert Love  <rml@novell.com>
11540
11541         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11542           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11543           if there is no key to pass.
11544         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11545           receiving a non-NULL key.
11546
11547 2006-06-14  Robert Love  <rml@novell.com>
11548
11549         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11550           copy the strings.
11551
11552
11553 2006-06-14  Dan Williams  <dcbw@redhat.com>
11554
11555         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11556         * src/nm-device-802-11-wireless.c
11557                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11558                         or ones where the driver is unknown
11559                 - (supplicant_exec): don't wait for supplicant startup here
11560                 - (supplicant_interface_init): finer grained polling for supplicant
11561                         startup
11562
11563 2006-06-13  Robert Love  <rml@novell.com>
11564
11565         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11566           if it is currently set to TRUE.  Otherwise, we will reset the value
11567           when we connect normally.
11568         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11569           the old BSSID is valid, too.  The recently added ESSID check may not be
11570           sufficient (we can remove it?).  What we really want to catch is the
11571           case of going from all-zeros to the BSSID of some other network, which
11572           happens on failure.
11573
11574 2006-06-09  Dan Williams  <dcbw@redhat.com>
11575
11576         * src/NetworkManagerSystem.[ch]
11577                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11578                         it was unused and pointless
11579                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11580                         fix for set_up_down_with_iface change
11581
11582         * src/vpn-manager/nm-vpn-connection.c
11583                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11584
11585         * src/backends/NetworkManagerPaldo.c
11586           src/backends/NetworkManagerRedHat.c
11587           src/backends/NetworkManagerSuSE.c
11588           src/backends/NetworkManagerArch.c
11589           src/backends/NetworkManagerDebian.c
11590           src/backends/NetworkManagerGentoo.c
11591                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11592                         appropriate
11593                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11594                         where appropriate
11595
11596 2006-06-09  Dan Williams  <dcbw@redhat.com>
11597
11598         Patch from Peter Jones:
11599         * src/nm-device-802-11-wireless.c
11600                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11601                         SSID hasn't changed from what we expect before automatically
11602                         updating the saved BSSID from a new AP
11603
11604 2006-06-08  Robert Love  <rml@novell.com>
11605
11606         Add 'fallback' support.  NetworkManager will attempt to brute-force
11607         connect to networks marked as fallback if there are no better wireless
11608         connections available.  This is useful as a method of last resort, to
11609         work around driver problems, and for use with hidden networks.
11610         * gnome/applet/applet-dbus-devices.c,
11611           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11612         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11613           pass it on via DBUS.
11614         * gnome/applet/applet.c: No fallback by default.
11615         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11616           Update other-network-dialog to add UI checkbox toggling fallback.
11617         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11618           propery from AP object.  Add "fallback" property to AP object.
11619         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11620         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11621         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11622           separate function.  Add get_best_fallback_ap() for returning an AP
11623           on which to attempt fallback.
11624         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11625         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11626
11627 2006-06-07  Robert Love  <rml@novell.com>
11628
11629         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11630           checked that the return type was GCONF_VALUE_STRING, not the correct
11631           GCONF_VALUE_BOOL, and thus it never worked.
11632         * src/NetworkManagerAPList.c: Before concluding that two networks are
11633           identical based on their BSSID, make sure that the BSSID in question
11634           is actually valid.  Specifically, an empty or all zero BSSID does not
11635           cut it.
11636         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11637           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11638           similar invariant clean up.
11639
11640 2006-06-02  Robert Love  <rml@novell.com>
11641
11642         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11643
11644 2006-05-28  Dan Williams  <dcbw@redhat.com>
11645
11646         * gnome/applet/applet.glade
11647           gnome/vpn-properties/nm-vpn-properties.glade
11648                 - Set window icons on dialogs  (Gnome.org #333420)
11649
11650 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11651
11652         * gnome/vpn-properties/nm-vpn-properties.glade:
11653         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11654         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11655         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11656                 - Make the VPN properties pages prettier and more HIG
11657                   compliant. Gnome Bug #336913.
11658
11659 2006-05-28  Dan Williams  <dcbw@redhat.com>
11660
11661         Patch from Christian Persch <chpe@gnome.org>
11662         * gnome/vpn-properties/nm-vpn-properties.c
11663         * gnome/vpn-properties/nm-vpn-properties.glade
11664                 - HIG-ification love  (Gnome.org #336846)
11665
11666 2006-05-28  Dan Williams  <dcbw@redhat.com>
11667
11668         Patch from Christian Persch <chpe@gnome.org>
11669         * configure.in
11670           gnome/vpn-properties/nm-vpn-properties.c
11671                 - (main): Fix option parsing.  Gnome.org #336847
11672
11673 2006-05-28  Dan Williams  <dcbw@redhat.com>
11674
11675         * gnome/vpn-properties/nm-vpn-properties.c
11676                 - (find_vpn_ui_by_service_name): protect against NULL service names
11677                 - (update_edit_del_sensitivity): protect against NULL service names
11678                         Gnome.org #341306
11679
11680 2006-05-28  Dan Williams  <dcbw@redhat.com>
11681
11682         Patch from Chris Fuller <crf@grandecom.net>:
11683         * src/nm-device-802-11-wireless.c
11684                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11685                         don't dispose of wireless-specific stuff unless it is actually
11686                         initialized.  Gnome.org #341263
11687
11688 2006-05-28  Dan Williams  <dcbw@redhat.com>
11689
11690         * src/NetworkManagerPolicy.c
11691                 - (nm_policy_device_change_check): don't switch devices if the "best"
11692                         AP is essentially the same as the current activation request, but
11693                         the current activation request isn't done activating yet.  Fixes
11694                         multiple requests for keyring password on startup for Gnome applet.
11695                         Gnome.org #341297
11696
11697 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11698
11699         * src/NetworkManager.c: use GOptions instead of getopt
11700         * configure.in: bump glib required version to >= 2.6 for GOption
11701           support
11702
11703 2006-05-25  Robert Love  <rml@novell.com>
11704
11705         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11706           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11707           instead of dumping ifdef's throughout the code.
11708         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11709           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11710           use nm_ioctl_info() in lieu.
11711
11712 2006-05-25  Robert Love  <rml@novell.com>
11713
11714         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11715         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11716           not using gcrypt.  Otherwise, we get a linker error.
11717
11718 2006-05-25  Robert Love  <rml@novell.com>
11719
11720         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11721         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11722           configure flag to disable building of the GNOME-based applet.
11723
11724 2006-05-25  Robert Love  <rml@novell.com>
11725
11726         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11727           parameter from link, because it shadows a global variable with some
11728           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11729           should never have exported to the entire system a common four letter
11730           word.  But we here at NetworkManager are team players.  Fixes
11731           GNOME bug #336532.
11732
11733 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11734
11735         * configure.in: Added mk.po, Macedonian translation.
11736
11737 2006-05-24  Robert Love  <rml@novell.com>
11738
11739         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11740           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11741           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11742
11743 2006-05-24  Robert Love  <rml@novell.com>
11744
11745         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11746           libnm-util/Makefile.am, src/Makefile.am,
11747           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11748           vpn-daemons/openvpn/properties/Makefile.am,
11749           vpn-daemons/pptp/auth-dialog/Makefile.am,
11750           vpn-daemons/pptp/properties/Makefile.am,
11751           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11752           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11753           user passed for --datadir, if anything, when setting the GNOME locale
11754           directory.  It should be a function of the specified datadir and not
11755           the prefix.
11756
11757 2006-05-24  Robert Love  <rml@novell.com>
11758
11759         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11760           src/NetworkManager.c: Take care to call bindtextdomain with the
11761           location of msgid files.
11762         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11763           files.
11764
11765 2006-05-22  Robert Love  <rml@novell.com>
11766
11767         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11768           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11769           99% of the time there is a real problem with wireless, and a
11770           seemingly successful connection via Zeroconf just confuses the user.
11771           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11772
11773 2006-05-22  Robert Love  <rml@novell.com>
11774
11775         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11776           autofs on interface up if NIS is configured.  On interface down, do
11777           nothing.
11778
11779 2006-05-22  Robert Love  <rml@novell.com>
11780
11781         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11782           to avoid calling g_object_unref() on stale pointers on error in
11783           nma_icons_free().  This happens because we short-circuit loaded the
11784           icons on the first failure but then free all icons.  Normally we have
11785           no issue because the icons were zero'ed out malloc, but we have stale
11786           pointer data after nma_icon_theme_changed().
11787         * gnome/applet/main.c: Return error code if nma_new() failed.
11788
11789 2060-05-21  Dan Williams  <dcbw@redhat.com>
11790
11791         * initscript/NetworkManager.in
11792                 - Ensure both dhcdbd and named are started before NM
11793
11794 2006-05-21  Dan Williams  <dcbw@redhat.com>
11795
11796         * configure.in
11797                 - Bump version to 0.7 to signify we are in 0.7 development
11798
11799 2006-05-21  Dan Williams  <dcbw@redhat.com>
11800
11801         Patch from Adam Schreiber <sadam@clemson.edu>
11802         * gnome/vpn-properties/nm-vpn-properties.c
11803                 - (main): correct Gnome program name  (gnome.org #342498)
11804
11805 2006-05-21  Dan Williams  <dcbw@redhat.com>
11806
11807         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11808
11809         * src/NetworkManagerDbus.[ch]
11810                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11811                         clarify that function's argument should be an escaped dbus object
11812                         path, and look for path segment end before returning a match
11813         * src/nm-dbus-nm.c:
11814                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11815
11816 2006-05-17  Robert Love  <rml@novell.com>
11817
11818         Functionality to differentiate Ad-Hoc networks from infrastructure
11819         networks in the applet, by displaying a special icon:
11820         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11821         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11822         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11823           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11824           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11825           networks, encrypted or not.
11826         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11827           accessor functions to get and set the mode of a given network,
11828           wireless_network_get_mode() and wireless_network_set_mode().
11829
11830 2006-05-17  Robert Love  <rml@novell.com>
11831
11832         Functionality to automatically add BSSIDs to the allowed-MAC list as
11833         one roams from access point to access point on a given network:
11834         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11835           helper function to compare two ether_addr structures and return TRUE
11836           if they contain the same MAC address.
11837         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11838           prototype.
11839         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11840           stored with the current AP.  If the BSSID has indeed changed, we
11841           send it out to the applet, allowing the allowed-MAC list to grow
11842           automatically in response to roaming.
11843
11844 2006-05-16  Robert Love  <rml@novell.com>
11845
11846         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11847           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11848
11849 2006-05-13  Dan Williams  <dcbw@redhat.com>
11850
11851         * src/nm-device-802-3-ethernet.c
11852                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11853                         carrier detect (Debian bug #366373)
11854
11855 2006-05-11  Dan Williams  <dcbw@redhat.com>
11856
11857         Patch from Michael Biebl <biebl@teco.edu>
11858         * src/backends/NetworkManagerDebian.c
11859                 - Debian backend fixups
11860
11861 2006-05-10  Robert Love  <rml@novell.com>
11862
11863         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11864
11865 2006-05-09  Robert Love  <rml@novell.com>
11866
11867         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11868           private certificate passphrase, if any, in the GNOME Keyring.
11869         * libnm-utils/dbus-helpers.c: Update.
11870
11871 2006-05-05  Dan Williams  <dcbw@redhat.com>
11872
11873         * src/nm-device-802-11-wireless.c
11874                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11875                         nm_device_802_11_wireless_disable_encryption() since that's all
11876                         we use it for anymore; we don't ever set WEP keys ourselves.
11877                 - (real_deactivate_quickly): reset SSID and encryption keys
11878                 - (real_deactivate): move SSID and encryption key reset to
11879                         real_deactivate_quickly(), which gets run before us anyway
11880
11881 2006-05-05  Robert Love  <rml@novell.com>
11882
11883         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11884           root has a wacky default of its own (or, more common, a user has a
11885           bad umask and uses su/sudo to restart NetworkManager).  Anything
11886           other than 0022 does not do what we want with, for example,
11887           resolv.conf.  This problem is amplified by our judicious use of
11888           fopen(), which uses mode 0666 -- implying that the only way to get
11889           the permissions we want is with a umask of 0022.
11890
11891 2006-05-05  Dan Williams  <dcbw@redhat.com>
11892
11893         * gnome/libnm_glib/libnm_glib.c
11894                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11895                         to reconnect; instead wait a bit more with each reconnect attempt
11896                         up to a max of one minute.
11897
11898 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11899
11900         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11901           the WirelessNetwork structure using the proper function instead of
11902           just casting it directly to (const char *) (gnome.org #336991)
11903
11904 2006-05-03  Robert Love  <rml@novell.com>
11905
11906         * src/backends/NetworkManagerSuSE.c: Respect the variable
11907           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11908           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11909           to dynamically update /etc/resolv.conf.
11910
11911 2006-05-02  Peter Jones  <pjones@redhat.com>
11912
11913         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11914
11915 2006-05-02  Robert Love  <rml@novell.com>
11916
11917         Patch by Timo Hoenig;
11918         * tests/nm-online.c: Print pretty status indicator as timeout winds
11919           down.  Also fix possible race between DBUS startup and failure
11920           return.
11921
11922 2006-05-01  Robert Love  <rml@novell.com>
11923
11924         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11925           empty, too.
11926
11927 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11928
11929         * src/nm-device.c (discover_device_type): Actually use the hal
11930         device type instead of ioctl poking
11931
11932 2006-04-26  Robert Love  <rml@novell.com>
11933
11934         * tests/nm-online.c: New file.  Simple utility that returns exit status
11935           noting whether the connection is offline or online.  If offline on
11936           start, it waits 30 seconds (or a command-line given value) for an
11937           online signal.  If it times out, it again returns offline.  This is
11938           useful for scripts that want to wait for network connections.
11939
11940 2006-04-25  Robert Love  <rml@novell.com>
11941
11942         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11943           key mode (the authentication algorithm), e.g. open or shared, when we
11944           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11945           only shared was broken.  If the user specified a shared key, set it
11946           explicitly, otherwise let wpa_supplicant go with the default.
11947
11948 2006-04-24  Dan Williams  <dcbw@redhat.com>
11949
11950         * src/nm-device-802-11-wireless.c
11951                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11952
11953 2006-04-24  Dan Williams  <dcbw@redhat.com>
11954
11955         Commit the async scanning patch
11956
11957         * src/nm-device-802-11-wireless.c
11958                 - get rid of scan_mutex
11959                 - (wireless_event_helper): act on wireless scan events
11960                 - (real_start): schedule a pending scan
11961                 - (link_to_specific_ap): fake the link to the AP during a scan
11962                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11963                         strength during scans
11964                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11965                         nm_device_set_bitrate): unused with new scanning code, disable
11966                 - (nm_device_wireless_schedule_scan): removed
11967                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11968                 - (request_and_convert_scan_results): new function; retrieve scan
11969                         results from the driver and schedule the processing function
11970                 - (scan_results_timeout): timeout triggered when card doesn't send
11971                         a scan results wireless event during a certain interval
11972                 - (schedule_scan_results_timeout): new function; schedule the scan
11973                         results timeout
11974                 - (cancel_scan_results_timeout): new function; cancel the scan
11975                         results timeout
11976                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11977                         to do the scanning.  Otherwise, just request a scan but don't
11978                         grab results here; instead schedule a timeout for scan results and
11979                         let netlink notify us of scan completion events
11980                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11981                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11982                 - (supplicant_status_cb): ignore disconnect events while scanning
11983                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11984                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11985                         timeouts
11986                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11987
11988 2006-04-24  Dan Williams  <dcbw@redhat.com>
11989
11990         * gnome/applet/applet-dbus.c
11991                 - Disable the pending call debug stuff, seems under control now
11992
11993 2006-04-20  Robert Love  <rml@novell.com>
11994
11995         Fix bug where hidden ESSID's would not show up in the applet, even
11996         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11997         because nm_policy_device_list_update_from_allowed_list() would merge
11998         the data, putting a name to the hidden networks, but never notify NMI
11999         of the changes.  Simple fix is to invoke the function
12000         nm_dbus_signal_wireless_network_change() if we make a mapping.
12001         * src/NetworkManagerAPList.c: Call the function
12002           nm_dbus_signal_wireless_network_change() if we made a successful
12003           BSSID to ESSID mapping, notifying the applet of the "new" network.
12004         * src/NetworkManagerAPList.h: Update the prototypes for both
12005           nm_ap_list_copy_essids_by_address() and
12006           nm_ap_list_copy_one_essid_by_address().
12007
12008 2006-04-20  Robert Love  <rml@novell.com>
12009
12010         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12011           not set.  Just return zero.
12012
12013 2006-04-20  Robert Love  <rml@novell.com>
12014
12015         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12016           only one copy of nm-vpn-properties is running at a time via the 'ol
12017           X selection trick.  This prevents the user from opening two "VPN
12018           Connections" windows from within the applet, which leads to mass
12019           hysteria.
12020         * clipboard.c: New file, implementing simple X selection logic.
12021         * clipboard.h: New file.
12022         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12023
12024 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12025
12026         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12027         * configure.in
12028           initscript/Gentoo/Makefile.am
12029           initscript/Gentoo/NetworkManagerDispatcher.in
12030                 - New script
12031         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12032           Gentopia
12033
12034 2006-04-16  Dan Williams  <dcbw@redhat.com>
12035
12036         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12037         * configure.in
12038           initscript/Slackware/Makefile.am
12039           initscript/Slackware/rc.networkmanager-dispatcher.in
12040           initscript/Slackware/rc.networkmanager.in
12041                 - Update slackware initscripts
12042
12043 2006-04-10  Robert Love  <rml@novell.com>
12044
12045         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12046           the "delete_event" signal on the druid's parent window and handle it
12047           our way, lest using the WM to close the druid results in a series of
12048           bloody and ultimately lethal errors.
12049
12050 2006-04-10  Robert Love  <rml@novell.com>
12051
12052         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12053           'Back' too or else the 'Forward' option is initially disabled despite
12054           valid input.
12055
12056 2006-04-06  Robert Love  <rml@novell.com>
12057
12058         Fix bad but simple bug where an active modem connection did not update
12059         NM's connection state, breaking any app that did online/offline:
12060         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12061           represented whether a dial up connection is active, or not.
12062         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12063           to modem activation and deactivation.
12064         * src/NetworkManagerDbus.c: When asked our state, do not return
12065           disconnected if the modem is active.
12066
12067 2006-04-04  Robert Love  <rml@novell.com>
12068
12069         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12070           applet.  It just confuses the crap out of people and does not make a
12071           lot of sense, as the daemon still runs.
12072
12073 2006-04-02  Tor Krill  <tor@krill.nu>
12074
12075         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12076           in start of service.
12077         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12078           get Archlinux backend up to date.
12079
12080 2006-03-29  Robert Love  <rml@novell.com>
12081
12082         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12083         to add support for per-route MSS and improve support for per-interface
12084         MTU:
12085         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12086           optionally take an MSS parameter and set it for the given route.
12087           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12088           NMIP4Config's stored MSS, if any.
12089         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12090           the interface's MTU and the route's MSS, respectively.  Add functions
12091           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12092           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12093           MSS.
12094         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12095           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12096           nm_ip4_config_set_mss.
12097         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12098           VPN daemon.
12099         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12100           Change the retval of nm_system_get_mtu to guint32.
12101         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12102           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12103           servers can specify MTU's, we should set it here if the MTU was not
12104           provided.
12105
12106 2006-03-27  Jürg Billeter  <j@bitron.ch>
12107
12108         * configure.in:
12109         * initscript/Makefile.am:
12110         * initscript/paldo/Makefile.am:
12111         * initscript/paldo/NetworkManager.in:
12112         * initscript/paldo/NetworkManagerDispatcher.in:
12113         * src/backends/Makefile.am:
12114         * src/backends/NetworkManagerPaldo.c:
12115                 - Add paldo support
12116
12117 2006-03-27  Dan Williams  <dcbw@redhat.com>
12118
12119         Patch from Christian Persch <chpe@gnome.org>
12120         * gnome/applet/applet.glade
12121                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12122
12123 2006-03-27  Dan Williams  <dcbw@redhat.com>
12124
12125         Patch from Diffe <diffie@blazebox.homeip.net>
12126         * src/backends/NetworkManagerSlackware.c
12127                 - Don't restart howl, since it's been replaced by Avahi
12128                         in most distributions
12129
12130 2006-03-27  Dan Williams  <dcbw@redhat.com>
12131
12132         Patch from Tor Krill <bugzilla@krill.nu>
12133         * configure.in
12134           initscript/Makefile.am
12135           src/backends/Makefile.am
12136           src/backends/NetworkManagerArch.c
12137           initscript/Arch/Makefile.am
12138           initscript/Arch/networkmanager-dispatcher.in
12139           initscript/Arch/networkmanager.in
12140                 - Add Arch Linux support, fixes gnome.org #335147
12141
12142 2006-03-27  Dan Williams  <dcbw@redhat.com>
12143
12144         Patch from Diffe <diffie@blazebox.homeip.net>
12145      * initscript/Slackware/rc.networkmanager
12146         - update, fixed gnome.org #333368
12147
12148 2006-03-27  Robert Love  <rml@novell.com>
12149
12150         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12151           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12152
12153 2006-03-27  Robert Love  <rml@novell.com>
12154
12155         Patch by Jürg Billeter <j@bitron.ch>:
12156         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12157           systems.
12158         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12159           as we prefer glibc over kernel headers, if possible.
12160
12161 2006-03-27  Robert Love  <rml@novell.com>
12162
12163         Patch by Jon Escombe <list@dresco.co.uk>:
12164         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12165         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12166           fail, don't bail out.  We don't expect all of the various WPA-EAP
12167           values to be present.
12168         * src/nm-ap-security.c: We need to match all capabilities for each
12169           encryption type, not any one of them.
12170
12171 2006-03-27  Robert Love  <rml@novell.com>
12172
12173         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12174           restart, not reload, ypbind.  Unfortunately there is no superior
12175           solution.
12176
12177 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12178
12179         * gnome/applet/applet-notifications.c:
12180         When displaying a notification, make sure to get rid of the
12181         previous notification so as to not have competing bubbles,
12182         and stop leaking the old one.
12183
12184         * gnome/applet/applet.c:
12185         * gnome/applet/applet.h:
12186         Add a new 'notification' member to the applet, and zero it out
12187         and free it appropriately.
12188
12189 2006-03-23  Robert Love  <rml@novell.com>
12190
12191         Patch by j <j@bootlab.org>:
12192         * gnome/applet/applet.glade: Don't set the invisible_char property,
12193           which simply overrides the GTK default.  By and by, this behavior
12194           ought to be fixed in Glade.
12195
12196 2006-03-22  Robert Love  <rml@novell.com>
12197
12198         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12199
12200 2006-03-22  Robert Love  <rml@novell.com>
12201
12202         Bug fix by Timo Hoenig <thoenig@suse.de>:
12203         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12204           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12205           and the applet going AWOL.
12206
12207 2006-03-22  Robert Love  <rml@novell.com>
12208
12209         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12210           preprocessor define and use it instead of open-coded the DHCP
12211           timeout, which is currently 25 seconds, everywhere.
12212
12213 2006-03-22  Robert Love  <rml@novell.com>
12214
12215         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12216         key exchange via WPA, ostensibly providing good security without
12217         requiring hardware that supports full WPA.  Also, add UI elements to
12218         allow the user to select the pairwise & group cipher for WPA Enterprise
12219         networks, too:
12220         * gnome/applet/applet.glade: Update glade file.
12221         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12222           key type, too, to and from gconf.
12223         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12224           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12225           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12226           the capabilities match.
12227         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12228           prototype.
12229         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12230           serialize from UI to DBUS.
12231         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12232           one element.
12233         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12234           nmu_security_serialize_wpa_eap_with_cipher(), and
12235           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12236           serialize/deserialize the key type via DBUS as the new third DBUS
12237           parameter.
12238         * libnm-util/dbus-helpers.h: Update prototypes.
12239         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12240           too.  If the key type is WEP104, do Dynamic WEP, which means
12241           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12242           pairwise and group ciphers (fixes a FIXME).
12243
12244 2006-03-21  Robert Love  <rml@novell.com>
12245
12246         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12247           nm_system_get_mtu(), which returns a user-provided or system-mandated
12248           MTU value for a given device, if any, or zero if no such value
12249           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12250           if we have a provided value.
12251         * src/nm-device.c: Set the MTU of devices.
12252         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12253         * src/backends/NetworkManagerDebian.c,
12254           src/backends/NetworkManagerGentoo.c,
12255           src/backends/NetworkManagerRedHat.c,
12256           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12257
12258 2006-03-21  Robert Love  <rml@novell.com>
12259
12260         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12261           configuration file.
12262
12263 2006-03-17  Robert Love  <rml@novell.com>
12264
12265         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12266           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12267           it, in case it is not running in the first place.  We just want its
12268           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12269
12270 2006-03-15  Robert Love  <rml@novell.com>
12271
12272         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12273           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12274           label "WEP 40/128-bit" is inconsistent because the physical key size
12275           is 40 or 104-bits, to which a 24-bit initialisation vector is
12276           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12277           to read "40/104" or "64/128".  I do not care much which, but most
12278           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12279           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12280           WEP passphrase support only handles 128-bit keys, and any future
12281           64-bit passphrase support will require a new option (no way to auto-
12282           detect the target key size), explicitly label our passphrase support
12283           "WEP 128-bit Passphrase".
12284
12285 2006-03-15  Robert Love  <rml@novell.com>
12286
12287         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12288           the system init scripts (or some other mechanism) starting it (or a
12289           compatible DBUS service) before NetworkManager runs.  This means that
12290           distributions might need to update their init scripts.  This fixes
12291           possible races and is quite a bit cleaner.
12292         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12293           starting the NetworkManager daemon.
12294
12295
12296 2006-03-14  Robert Love  <rml@novell.com>
12297
12298         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12299           before adding anything.
12300
12301 2006-03-13  Robert Love  <rml@novell.com>
12302
12303         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12304           widgets, too, if they exist, in case the user hit the back button.
12305           Fixes a bug where the details page contains the widgets of multiple
12306           VPN modules (Novell bug #157048).
12307
12308 2006-03-13  Robert Love  <rml@novell.com>
12309
12310         Patch by Timo Hoenig <thoenig@suse.de>:
12311         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12312           daemon survive DBUS restarts, too.
12313
12314 2006-03-10  Robert Love  <rml@novell.com>
12315
12316         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12317           passphrase or key.
12318         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12319           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12320           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12321           in response to "toggled" signal on new toggle.
12322
12323 2006-03-10  Robert Love  <rml@novell.com>
12324
12325         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12326           serialization if strings are NULL, lest DBUS get angry.
12327
12328 2006-03-10  Robert Love  <rml@novell.com>
12329
12330         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12331
12332 2006-03-09  Robert Love  <rml@novell.com>
12333
12334         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12335           configurations.
12336
12337 2006-03-09  Dan Williams  <dcbw@redhat.com>
12338
12339         Track pending call requests in the applet, and report how many are
12340         outstanding, and how long each completed one takes.
12341         
12342         * gnome/applet/applet-dbus-devices.c
12343           gnome/applet/applet-dbus-vpn.c
12344                 - Track pending calls
12345
12346         * gnome/applet/applet-dbus.[ch]
12347                 - Remove some unused enums
12348                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12349                         new functions to track dbus pending calls and spit out some
12350                         statistics about them
12351
12352 2006-03-09  Robert Love  <rml@novell.com>
12353
12354         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12355           nm_ap_set_timestamp() take the second and micro-second parameters as
12356           direct arguments, which avoids both a dynamic memory allocation and a
12357           structure-to-structure copy!  Add a new interface, the aptly named
12358           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12359           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12360           the return from nm_ap_get_timestamp().  New users should use the new
12361           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12362           the extreme benefit to performance.
12363         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12364           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12365
12366 2006-03-08  Robert Love  <rml@novell.com>
12367
12368         * gnome/applet/applet.glade: Hide the password entry text with
12369           asterisks.
12370
12371 2006-03-08  Robert Love  <rml@novell.com>
12372
12373         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12374           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12375           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12376           a second argument, NMData.
12377         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12378         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12379           config files as trusted.
12380
12381 2006-03-06  Robert Love  <rml@novell.com>
12382
12383         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12384         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12385           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12386           Rivera, detect if the applet was auto-started.  If so, ask the user
12387           if he or she would like to stop automatically running the applet on
12388           login.  If so, disable autostart.
12389
12390 2006-03-06  Robert Love  <rml@novell.com>
12391
12392         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12393           directory in CFLAGS so developers can actually use NetworkManager.h.
12394
12395 2006-03-06  Robert Love  <rml@novell.com>
12396
12397         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12398           open-coded integer constants.  Add state_to_string() to map a given
12399           state to a textual description, and provide that when notifying of
12400           state change.
12401         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12402           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12403           this header directly, but it is currently not installed on most
12404           systems.
12405
12406 2006-03-05  Dan Williams  <dcbw@redhat.com>
12407
12408         Process netlink messages in device subclasses rather than in
12409         NetworkManager.c.  Also add support for recognizing Wireless Events.
12410         
12411         * configure.in
12412                 - Find GLIB_GENMARSHAL
12413
12414         * src/Makefile.am
12415                 - Since we're marshalling custom types for wireless event signals,
12416                         we get to create our own marshallers using GLIB_GENMARSHAL
12417
12418         * src/NetworkManager.c
12419                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12420                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12421                         cut down somewhat.  We no longer process signals here.
12422                 - (nm_data_new): create the netlink monitor here, and remove a
12423                         useless call to nm_policy_schedule_device_change_check()
12424                 - (nm_data_free): get rid of the netlink monitor here
12425                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12426                 - (main): don't create the netlink monitor here, let nm_data_new
12427                         do that.  Call nm_policy_schedule_device_change_check() right
12428                         before we jump to the mainloop to figure out which device
12429                         to use first
12430
12431         * src/NetworkManagerSystem.[ch]
12432                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12433                         convert back and forth from interface names to interface
12434                         indexes
12435
12436         * src/nm-device-802-11-wireless.c
12437                 - (real_init): connect to wireless-event signals from the netlink
12438                         monitor object
12439                 - (nm_device_802_11_wireless_event): new function, schedule handler
12440                         for wireless event signals from the netlink monitor object.  We
12441                         want the handler to run in the device's context
12442                 - (wireless_event_helper): handle wireless-event signals from netlink
12443                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12444                         signal handler
12445
12446         * src/nm-device-802-11-wireless.h
12447                 - remove unused prototype for nm_device_802_11_wireless_new
12448
12449         * src/nm-device-802-3-ethernet.c
12450                 - (real_init): new function; set up signal handlers for link events
12451                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12452                         handler for netlink link activated events on device's main loop
12453                 - (link_activated_helper): when we get a link activated event, set
12454                         the device's link to be active
12455                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12456                         handler for netlink link deactivated events on device's main loop
12457                 - (link_deactivated_helper): when we get a link deactivated event, set
12458                         the device's link to be inactive
12459                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12460                         dispose
12461
12462         * src/nm-device-802-3-ethernet.h
12463                 - remove unused prototype for nm_device_802_3_ethernet_new
12464
12465         * src/nm-device.[ch]
12466                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12467                         but locks the device list
12468                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12469
12470         * src/nm-netlink-monitor.[ch]
12471                 - (nm_netlink_monitor_class_install_signals): New signal
12472                         "wireless-event"
12473                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12474                         at the device list
12475                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12476
12477         * src/nm-marshal-main.c
12478                 - Include generated nm-marshal.c and nm-marshal.h
12479
12480         * src/nm-marshal.list
12481                 - List of custom marshal functions
12482
12483 2006-03-05  Dan Williams  <dcbw@redhat.com>
12484
12485         * gnome/applet/applet-notifications.h
12486                 - Protect prototype of nma_send_event_notification() because it
12487                         includes libnotify-specific types
12488                 - Include libnotify/libnotify.h too, since we technically need it
12489
12490         * gnome/applet/applet.c
12491                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12492                 - (nma_show_vpn_login_banner_dialog): add some error checking
12493
12494 2006-03-04  Dan Williams  <dcbw@redhat.com>
12495
12496         Clean up activation cancellation.  Should be a lot faster now.  Observed
12497         an issue with wireless devices between stage 2 and 3 of activation, where
12498         activation would be cancelled, but the device thread wouldn't notice until
12499         the supplicant association timed out.  Reorganize activation such that
12500         a cancellation handler gets immediately scheduled in the device's thread,
12501         and devices have a chance to perform any custom cleanup too.
12502
12503         * src/nm-device.[ch]
12504                 - (activation_cancel_handler): new device-type-specific function
12505                         for cleaning up device-type-specific stuff on cancellation
12506                 - (cancel_activation): removed
12507                 - (nm_device_activation_cancel): subsume functionality of
12508                         real_cancel_activation, but instead of doing anything, punt
12509                         operation to a handler that's run in device-thread context
12510                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12511                         a warning message
12512                 - (activation_handle_cancel_helper): cancellation handler run in
12513                         device-thread context, calls device-type-specific cancelation,
12514                         then tears down the activation request
12515                 - (real_activation_cancel_handler): generic cancellation handler,
12516                         deals with cancelling any in-process DHCP request
12517                 - (nm_device_activate_stage1_device_prepare,
12518                    nm_device_activate_stage2_device_config,
12519                    nm_device_activate_stage3_ip_config_start,
12520                    nm_device_activate_stage4_ip_config_get,
12521                    nm_device_activate_stage4_ip_config_timeout,
12522                    nm_device_activate_stage5_ip_commit): don't call
12523                         nm_device_schedule_activation_handle_cancel() any more, since
12524                         cancellation will have been already scheduled for us by
12525                         nm_device_activation_cancel().  Just exit the function and
12526                         assume that the cancel handler will be called next.
12527
12528         * src/nm-device-802-3-ethernet.c
12529                 - (real_act_stage2_config): remove; didn't do anything anyway
12530
12531         * src/nm-device-802-11-wireless.c
12532                 - (supplicant_status_cb): ensure we don't do anything if the activation
12533                         got cancelled
12534                 - (real_activation_cancel_handler): implement; cancel user key request
12535                         on activation cancellation
12536
12537 2006-03-04  Dan Williams  <dcbw@redhat.com>
12538
12539         * src/nm-device-802-11-wireless.c
12540                 - (supplicant_send_network_config): assume that drivers that don't
12541                         support WPA pretty much suck, and can't handle NM scanning
12542                         along with wpa_supplicant.
12543
12544 2006-03-03  Robert Love  <rml@novell.com>
12545
12546         * configure.in: Bump version to 0.6.0.
12547         * NEWS: Update.
12548
12549 2006-03-03  Robert Love  <rml@novell.com>
12550
12551         * configure.in: Require DBUS 0.60 or later.
12552
12553 2006-03-03  Dan Williams  <dcbw@redhat.com>
12554
12555         Fix a crash if an "Other wireless network" was chosen, failed, then
12556         chosen again from the applet's menu.  If the other network wasn't
12557         noticed in a scan, it wouldn't have any capabilities, but would still
12558         be listed because the user forced the network.  To fix this, we set
12559         sensible capabilities on the forced network, which will get overwritten
12560         with the correct ones if the network shows up later in a scan.
12561         
12562         * src/nm-ap-security.h
12563                 - Add a new "get_default_capabilities_func" member to the
12564                         NMAPSecurity class
12565
12566         * src/nm-ap-security.c
12567                 - (nm_ap_security_get_default_capabilities): new function
12568
12569         * src/nm-ap-security.c
12570           src/nm-ap-security-wep.c
12571           src/nm-ap-security-wpa-psk.c
12572           src/nm-ap-security-wpa-eap.c
12573                 - Implement get_default_capabilities_func() for all, which
12574                         uses the information contained in a specific NMAPSecurity
12575                         object to determine default AP capabilites necessary
12576                         to support that object
12577
12578         As a secondary measure, we now prune artificial access points that fail
12579         to be activated right away.  The thing failed, and we have no scan data for
12580         it, so it's pretty much useless since security information is only saved
12581         in the applets when a connection is successful.
12582
12583         * src/NetworkManagerAPList.c
12584                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12585                         not artificial.  If we see it, it's no longer a figment of the
12586                         user's imagination :)
12587
12588         * src/NetworkManagerPolicy.c
12589                 - (nm_policy_activation_failed): send along the failed AP if we
12590                         have it
12591
12592         * src/nm-device-802-11-wireless.c
12593                 - (real_activation_failure_handler): remove artificial APs from
12594                         the device list, because activation failed
12595
12596 2006-03-02  Robert Love  <rml@novell.com>
12597
12598         Add support for retrieving both the per-device speed and the
12599         per-network maximum supported rate.  Then change the getProperties
12600         DBUS API for both networks and devices to report this informaiton.
12601         Finally, display the information via both nm-applet and nm-tool:
12602         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12603           and set it.
12604         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12605           Information' dialog.
12606         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12607         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12608           network_device_get_speed() and network_device_set_speed() for
12609           retrieving and setting, respectively, a network device's current
12610           speed.
12611         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12612         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12613           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12614           not matter (yet) what the units are, because we only feed it its own
12615           output.  Implement SIOCGIRATE and set the per-network maximum
12616           supported rate during scanning.
12617         * src/nm-device-802-11-wireless.h: Export the function
12618           nm_device_802_11_wireless_get_bitrate().
12619         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12620           function nm_device_802_3_ethernet_get_speed() for returning an
12621           802.3's current speed, in Mb/s.
12622         * test/nm-tool.c: Display the per-device current speed, if available,
12623           and the per-network maximum rate.
12624
12625 2006-03-02  Dan Williams  <dcbw@redhat.com>
12626
12627         * src/nm-device-802-11-wireless.c
12628                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12629                         card when it gets initialized.  Since devices don't get added to
12630                         the scan list until they are initialized, this function wasn't
12631                         setting the intitial scan interval correctly, and was leaving
12632                         it at 0.  This caused cards to get many scan requests in a short
12633                         amount of time when they were initialized
12634
12635 2006-03-02  Robert Love  <rml@novell.com>
12636
12637         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12638           active device.  But do not do what we used to do and override the
12639           state, which caused the dreaded icon race of '05.
12640
12641 2006-03-02  Robert Love  <rml@novell.com>
12642
12643         Commit Dan's update of my previous commit:
12644         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12645           set_mode() function itself does the check.  But do only set the
12646           frequency if in Ad-Hoc mode.
12647
12648 2006-03-02  Robert Love  <rml@novell.com>
12649
12650         Patch by Brian Magnuson <magnuson@rcn.com>:
12651         * src/nm-device-802-11-wireless.c: During scanning, only set the
12652           wireless mode to infrastructure if it is not currently in
12653           infrastructure mode.  For some driver, setting the mode is a costly
12654           operation, apparently.
12655
12656 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12657
12658         * Makefile.am: use the correct dir for autostart mechanism.
12659
12660 2006-02-28  Dan Williams  <dcbw@redhat.com>
12661
12662         Patch from Brian Magnuson <magnuson@rcn.com>
12663         * gnome/applet/applet.c
12664                 - (nma_show_vpn_failure_dialog): fix errors left over from
12665                         libnotify support changes
12666
12667 2006-02-28  Dan Williams  <dcbw@redhat.com>
12668
12669         * src/vpn-manager/nm-vpn-act-request.[ch]
12670                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12671                         just one value
12672                 - (nm_vpn_act_request_is_failed): new function; return whether or
12673                         not the vpn activation request has failed
12674
12675         * src/vpn-manager/nm-vpn-manager.c 
12676                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12677                         daemon to kill the connection when the activation request fails.
12678                         Fixes issue where NM would get confused if the VPN activation
12679                         request timed out, and would not allow further VPN connections
12680                         on that service.
12681
12682 2006-02-28  Dan Williams  <dcbw@redhat.com>
12683
12684         * gnome/applet/applet.c
12685                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12686                         overlapping connection requests, disable all VPN menu items
12687                         but the active VPN connection
12688
12689 2006-02-28  Dan Williams  <dcbw@redhat.com>
12690
12691         * src/vpn-manager/nm-vpn-connection.c
12692                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12693                         called g_object_unref() on the connection's parent device
12694                         when it should have been ref-ed instead.  Fixes crash with
12695                         repeated vpn connect requests
12696
12697 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12698
12699         * gnome/applet/applet.glade:
12700         Mark a few strings non-translatable, since they shouldn't be.
12701
12702 2006-02-28  Dan Williams  <dcbw@redhat.com>
12703
12704         * src/vpn-manager/nm-vpn-service.c
12705                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12706                         already running, don't blindly ask it to connect, but wait until
12707                         it's in the STOPPED state first.  Fixes an assertion when user
12708                         starts a second vpn connection without stopping the first.
12709                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12710                         dbus service exists before continuing with the connection
12711                         process, and reduce latency while waiting for it to become
12712                         available
12713                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12714                         waiting for the vpn service daemon to become available
12715                 - General log message cleanups; show progress via "Stage x of 4"
12716                         rather than not telling anyone how many stages there are
12717
12718 2006-02-28  Robert Love  <rml@novell.com>
12719
12720         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12721         * src/backends/NetworkManagerSuSE.c: Implement the interface
12722           nm_system_should_modify_resolv_conf() for SUSE.
12723         * src/backends/NetworkManagerDebian.c,
12724           src/backends/NetworkManagerGentoo.c,
12725           src/backends/NetworkManagerRedHat.c,
12726           src/backends/NetworkManagerSlackware.c: Add stub.
12727         * src/named-manager/Makefile.am: Grab includes from src.
12728         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12729           automatic updating of resolv.conf.  This is useful for testing,
12730           broken static configurations, and administrator lock-down.
12731
12732 2006-02-28  Dan Williams  <dcbw@redhat.com>
12733
12734         * src/nm-device-802-11-wireless.c
12735                 - Move all the wpa_supplicant-related management stuff into its
12736                         own struct, just for oranization's sake
12737                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12738                         to a GIOChannel/GSource
12739                 - (supplicant_log_stdout): new function; grab output from the
12740                         wpa_supplicant stdout pipe and write it to our logs.
12741
12742 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12743
12744         * src/nm-device-802-11-wireless.c:
12745         Err, fix thinko in my previous commit.
12746
12747 2006-02-28  Robert Love  <rml@novell.com>
12748
12749         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12750
12751 2006-02-28  Robert Love  <rml@novell.com>
12752
12753         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12754           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12755           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12756           deserializers are responsible for freeing the returned DBUS strings.
12757
12758 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12759
12760         * src/nm-device-802-11-wireless.c:
12761         The scan list is being pruned prematurely.  We should prune after
12762         the device has gone MIA for three scans, not one.  Split out the
12763         interval to realtime seconds function to better serve this.
12764
12765 2006-02-27  Robert Love  <rml@novell.com>
12766
12767         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12768           Open the pid file O_TRUNC, so if it already exists we truncate it to
12769           zero length.  Also, be more verbose about warnings generated during
12770           writing out the pid file.  Finally, always write out the pid file if
12771           in daemon mode.  Use "--pid-file" to override the default.
12772
12773 2006-02-27  Robert Love  <rml@novell.com>
12774
12775         Patch by R. Vinay <rvinay@novell.com>:
12776         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12777           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12778           Novell bug #153628).
12779           
12780 2006-02-27  Robert Love  <rml@novell.com>
12781
12782         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12783           entry so user can hit <ENTER> after entering passphrase (Novell bug
12784           #153738).
12785
12786 2006-02-27  Dan Williams  <dcbw@redhat.com>
12787
12788         * gnome/applet/*
12789                 - Mass search/replace of:
12790                         nmwa -> nma
12791                         NMWirelessApplet -> NMApplet
12792                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12793                    (it ain't just for wireless anymore, ma!)
12794                 - Fix duplicate function name printing when using nm_warning
12795                 - wireless-applet.glade -> applet.glade
12796
12797 2006-02-27  Dan Williams  <dcbw@redhat.com>
12798
12799         * dispatcher-daemon/NetworkManagerDispatcher.c
12800                 - Accept --pid-file with a path to a pidfile, write it out on
12801                         startup, and delete it on shutdown
12802
12803         * src/NetworkManager.c
12804                 - Accept --pid-file with a path to a pidfile, write it out on
12805                         startup, and delete it on shutdown
12806                 - Move nm_print_usage() lower
12807
12808         * initscripts/RedHat/NetworkManager.in
12809                 - Use new --pid-file option
12810                 - Fix service stopping to wait a bit for NM to quit
12811
12812         * initscripts/RedHat/NetworkManagerDispatcher.in
12813                 - Use new --pid-file option
12814
12815 2006-02-26  Dan Williams  <dcbw@redhat.com>
12816
12817         * src/Makefile.am
12818                 - make and install nm-crash-logger
12819
12820         * src/nm-logging.[ch]
12821                 - New files; consolidate logging and crash handling
12822
12823         * src/nm-crash-logger.c
12824           src/gdb-cmd
12825                 - Standalong crashlogger for NM, grab a backtrace
12826                         using GDB
12827
12828         * src/NetworkManager.[ch]
12829                 - Remove signal handling and put it into nm-logging.c
12830
12831 2006-02-26  Dan Williams  <dcbw@redhat.com>
12832
12833         * configure.in
12834           gnome/applet/Makefile.am
12835                 - Conditionalize all the notify stuff
12836
12837         Merge most of Chris Aillon's notification patch:
12838         
12839         * gnome/applet/applet-notifications.[ch]
12840                 - New files; show a notification
12841         
12842         * gnome/applet/applet-dbus-devices.[ch]
12843                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12844                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12845                         new functions, do the right thing when a device change occurs
12846
12847         * gnome/applet/applet-dbus.c
12848                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12849                         signals, so we can handle them specially
12850
12851         * gnome/applet/applet.[ch]
12852                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12853                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12854                 - (nmwa_notify_state): remove
12855                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12856                         notification work is now done when the appropriate dbus signals
12857                         are received.
12858                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12859                         defer execution of the notification/dialog stuff.  That was an
12860                         artifact of the previous multi-threaded nature of the applet
12861                         and is now pointless.
12862                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12863                         no longer needed.  Function folded into applet-notifications.c
12864
12865         * src/NetworkManagerPolicy.c
12866                 - (nm_policy_activation_finish): send the AP along with the device
12867                         status change signal, if the connection is wireless.  Should
12868                         fix the race where applet would show a connection to "unknown"
12869
12870 2006-02-25  Robert Love  <rml@novell.com>
12871
12872         Add WPA Enterprise support:
12873         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12874           nm-gconf-wso-wpa-eap.h.
12875         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12876           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12877           serialization and deserialization.
12878         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12879           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12880           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12881         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12882           settings related to WPA Enterprise.
12883         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12884           instantiate WPA Enterprise wireless-security-option.
12885         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12886           Implement WPA Enterprise wireless-security-option object.
12887         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12888           defines.  Cleanup.
12889         * libnm-util/cipher-wpa-psk-hex.c,
12890           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12891         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12892           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12893           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12894           including the cipher to DBUS method, and
12895           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12896           to output.
12897         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12898           nm-ap-security-wpa-eap.h
12899         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12900           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12901         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12902           files.  Implement NMAPSecurityWPA_EAP object.
12903         * src/nm-ap-security-wpa-psk.c: Cleanup.
12904         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12905           an NMAPSecurityWPA_EAP object via the method
12906           nm_ap_security_wpa_eap_new_deserialize().
12907         * src/nm-dbus-nm.c: Cleanup.
12908         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12909           WPA Enterprise support.
12910
12911 2006-02-24  Robert Love  <rml@novell.com>
12912
12913         Patch from Timo Hoenig <thoenig@suse.de>:
12914         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12915
12916 2006-02-24  Robert Love  <rml@novell.com>
12917
12918         Patch from Dan Winship <danw@novell.com>:
12919         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12920           area to transparent.
12921
12922 2006-02-21  Dan Williams  <dcbw@redhat.com>
12923
12924         * gnome/applet/applet.[ch]
12925           gnome/applet/applet-dbus.c
12926                 - Implement notification support for VPN messages too
12927
12928 2006-02-21  Dan Williams  <dcbw@redhat.com>
12929
12930         * gnome/applet/applet-dbus-info.c
12931                 - Clean up warning messages to not double-print the function
12932
12933 2006-02-21  Dan Williams  <dcbw@redhat.com>
12934
12935         * gnome/applet/applet-compat.c
12936                 - (convert_one_entry): accept entries without a key_type and
12937                         convert them to unencrypted networks
12938
12939 2006-02-21  Dan Williams  <dcbw@redhat.com>
12940
12941         * gnome/libnm_glib/libnm_glib.c
12942                 - Use __func__ everywhere we can
12943                 - Code cleanups
12944                 - Use dbus pending calls rather than blocking
12945                 - Reduce busywaits for our thread to start and stop
12946                         (gnome.org #330562)
12947                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12948                         stomp on others using the default shared dbus connection.
12949                         Fixes #rh177546# and gnome.org #326572
12950
12951 2006-02-21  Dan Williams  <dcbw@redhat.com>
12952
12953         Patch from Rodney Dawes <dobey@novell.com>
12954         * configure.in
12955           gnome/applet/Makefile.am
12956           gnome/applet/applet.c
12957                 - Add libnotify support if '--enable-notify=yes' is passed
12958                   at configure time
12959
12960 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12961
12962         * configure.in (ALL_LINGUAS): ko added. (Korean)
12963
12964 2006-02-15  Robert Love  <rml@novell.com>
12965
12966         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12967           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12968           and WPA_SUPPLICANT_CONTROL_SOCKET.
12969         
12970 2006-02-15  Robert Love  <rml@novell.com>
12971
12972         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12973           information about what connection stage we are at, provide the total
12974           number of stages, e.g. "Stage 2 of 5", so users know how far along
12975           they are if they experience problems.
12976
12977 2006-02-15  Robert Love  <rml@novell.com>
12978
12979         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12980           define to $sysconfdir.
12981         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12982           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12983           type of VPN and then editing another results in a mangled dialog
12984           box containing the widgets from both VPNs (fixes Novell #150854).
12985           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12986
12987 2006-02-14  Robert Love  <rml@novell.com>
12988
12989         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12990           syslog's file descriptor.
12991
12992 2006-02-14  Robert Love  <rml@novell.com>
12993
12994         Fix bug around since the change to "deal with APs changing settings on
12995         us," checked in on the fifth of February in the year of the dog, 
12996         wherein connecting to non-broadcast encrypted networks always fails
12997         because nm_ap_get_encrypted() always returns FALSE, even when the user
12998         provided a key, because the newly-created fake AP does not have any
12999         capabilities set, which is a sypmtom of security settings not matching
13000         capabilities (Novell bug #150784):
13001         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13002           nm_ap_add_capabilities_from_security(), which sets the given AP's
13003           capabilities off the given security settings.  Also improve our
13004           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13005           NM_AUTH_CIPHER_AUTO.
13006         * src/nm-device-802-11-wireless.c: Call the function
13007           nm_ap_add_capabilities_from_security() to ensure that capabilities
13008           match newly updated security settings.
13009
13010 2006-02-14  Robert Love  <rml@novell.com>
13011
13012         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13013           error as a string, not an integer, if possible; do not print the
13014           function name twice; always give the interface, if possible; misc.
13015           cleanup.
13016
13017 2006-02-12  Dan Williams  <dcbw@redhat.com>
13018
13019         Patch from Tom Parker <palfrey@tevp.net>
13020         * src/NetworkManagerSystem.h
13021                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13022                         no longer used
13023
13024         * src/backends/NetworkManagerDebian.c
13025                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13026                         unused variables
13027
13028 2006-02-12  Dan Williams  <dcbw@redhat.com>
13029
13030         * vpn-daemons/openvpn/intltool-extract.in
13031           vpn-daemons/openvpn/intltool-merge.in
13032           vpn-daemons/openvpn/intltool-update.in
13033           vpn-daemons/pptp/intltool-extract.in
13034           vpn-daemons/pptp/intltool-merge.in
13035           vpn-daemons/pptp/intltool-update.in
13036                 - Remove from CVS, they should get created by intltoolize,
13037                         shouldn't they?
13038
13039 2006-02-12  Dan Williams  <dcbw@redhat.com>
13040
13041         * vpn-daemons/pptp/src/pppd/patchlevel.h
13042         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13043                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13044                         Makefile-defined VERSION
13045
13046 2006-02-09  Dan Williams  <dcbw@redhat.com>
13047
13048         Patch from: Vinay A R <rvinay@novell.com>
13049         * src/vpn-manager/nm-vpn-act-request.[ch]
13050                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13051                         IPSec VPNs require them for std gateway.
13052                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13053                         and 'user_routes_count'
13054                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13055                         defined routes  from NMVPNActRequest object, returns the string
13056                         array of routes.
13057
13058         * src/vpn-manager/nm-vpn-manager.[ch]
13059                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13060                         for 'user_routes' and 'user_routes_count'
13061         
13062         * src/vpn-manager/nm-dbus-vpn.c
13063                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13064                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13065         
13066         * src/vpn-manager/nm-vpn-service.c
13067                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13068                         the vpn daemon
13069
13070         Modifications by Dan:
13071         * src/vpn-manager/nm-vpn-service.c
13072                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13073                         arrays into dbus
13074
13075         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13076         * vpn-daemons/pptp/src/nm-pptp-service.c
13077         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13078                 - Grab user routes from dbus message
13079                 - Free all string arrays we got from dbus
13080
13081 2006-02-07  Robert Love  <rml@novell.com>
13082
13083         Patch by Stefan Seyfried <seife@suse.de>:
13084         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13085
13086 2006-02-06  Robert Love  <rml@novell.com>
13087
13088         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13089
13090 2006-02-06  Robert Love  <rml@novell.com>
13091
13092         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13093           test ">=" is never false.  If no newline is found, we loop forever.
13094           We can just check for ">" because the following if() will see the
13095           zero-th argument if the while() gets that far.
13096
13097 2006-02-05  Dan Williams  <dcbw@redhat.com>
13098
13099         Refine handling of non-broadcast networks.
13100
13101         * src/NetworkManagerAPList.c
13102                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13103                         property from scanned AP to the AP from the device list
13104
13105         * src/nm-device-802-11-wireless.c
13106                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13107                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13108                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13109                         networks since those don't have APs.
13110                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13111                         AP as non-SSID-broadcasting
13112                 - (process_scan_results): don't handle non-SSID-broadcasting here
13113
13114 2006-02-05  Dan Williams  <dcbw@redhat.com>
13115
13116         * src/nm-device-802-11-wireless.c
13117                 - (get_supplicant_timeout): new function; return
13118                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13119                         14 channels.  These are likely a/b/g cards, like Atheros, and
13120                         slow as hell to scan.
13121                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13122                         get_supplicant_timeout()
13123
13124 2006-02-05  Dan Williams  <dcbw@redhat.com>
13125
13126         * src/dhcp-manager/nm-dhcp-manager.c
13127                 - Loose a commit race with Robert; make sure size check
13128                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13129
13130 2006-02-05  Robert Love  <rml@novell.com>
13131
13132         Patch by Christoph Brill <chrisbrill@gmx.net>:
13133         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13134           with DHCP_SERVICE_NAME.
13135
13136 2006-02-05  Dan Williams  <dcbw@redhat.com>
13137
13138         Remove anything having to do with device_setup_func from the
13139         AP security objects, since it's no longer used.
13140
13141         * src/nm-ap-security.h
13142                 - Kill device_setup_func and nm_ap_security_device_setup()
13143
13144         * src/nm-ap-security-wep.c
13145           src/nm-ap-security-wpa-psk.c
13146                 - (real_device_setup): remove
13147
13148         * src/nm-ap-security.c
13149                 - (real_device_setup): remove
13150                 - (nm_ap_security_device_setup): remove
13151
13152         * src/nm-device-802-11-wireless.[ch]
13153                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13154                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13155                         and done by wpa_supplicant now anyway
13156
13157 2006-02-05  Dan Williams  <dcbw@redhat.com>
13158
13159         * src/nm-device-802-11-wireless.c
13160                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13161                         settings on us.  Previously NM would loop asking for the
13162                         key but getting the same one back.  Now, if the NMI-supplied
13163                         cipher doesn't overlap with the scanned AP capabilities,
13164                         we request a completely new key from the user.
13165
13166 2006-02-05  Dan Williams  <dcbw@redhat.com>
13167
13168         * src/NetworkManagerUtils.c
13169                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13170                         Handle newline killing better
13171
13172 2006-02-05  Dan Williams  <dcbw@redhat.com>
13173
13174         * gnome/applet/nm-gconf-wso.c
13175                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13176                         of unencrypted access point security info.
13177
13178 2006-02-03  Robert Love  <rml@novell.com>
13179
13180         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13181           user's encryption key, so we print the err_msg_cmd not the command,
13182           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13183           sense.
13184
13185 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13186
13187         * initscript/RedHat/NetworkManagerDispatcher.in:
13188         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13189         Patch from Dan Walsh <dwalsh@redhat.com>
13190
13191 2006-02-03  Robert Love  <rml@novell.com>
13192
13193         * dispatcher-daemon/NetworkManagerDispatcher.c,
13194           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13195           but use the sysconfdir.
13196
13197 2006-02-03  Robert Love  <rml@novell.com>
13198
13199         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13200           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13201           'char *'.
13202         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13203           nm_ip4_config_get_hostname() and
13204           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13205         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13206           leak g_strdup() result.
13207
13208 2006-02-03  Robert Love  <rml@novell.com>
13209
13210         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13211           broadcast == TRUE.  Also, copy broadcast and artificial properties
13212           from source network to destination in nm_ap_copy().
13213         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13214           since we now default new networks to non-hidden.
13215
13216 2006-02-03  Dan Williams  <dcbw@redhat.com>
13217
13218         * gnome/applet/main.c
13219                 - (main): change the NEVER->ALWAYS so we start at the
13220                         beginning of the session, if being session-managed
13221
13222 2006-02-03  Dan Williams  <dcbw@redhat.com>
13223
13224         * gnome/applet/main.c
13225                 - (main): in a variation on Robert's patch, change
13226                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13227                         he wants.
13228
13229 2006-02-02  Robert Love  <rml@novell.com>
13230
13231         * src/Makefile.am: If we aren't going to create the run directory at,
13232           uh, run-time, create it during install.  Then users just doing
13233           'make install' are cool, too.  While we are here, create the
13234           dispatcher.d directory, too.
13235         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13236           the exact run directory.
13237         * Makefile.am: Install nm-applet.desktop.
13238
13239 2006-02-02  Robert Love  <rml@novell.com>
13240
13241         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13242           structure, which denotes whether or not the AP is hidden.  This is a
13243           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13244           can show up in the scan list.  Add nm_ap_get_broadcast() and
13245           nm_ap_set_broadcast() accessor interfaces.
13246         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13247           nm_ap_set_broadcast().
13248         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13249           "getProperties" method, which denotes whether or not the given
13250           network is hidden.
13251         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13252           an artificial network.  Set broadcast to TRUE when scanning returns
13253           an ESSID and FALSE when not.
13254         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13255           from "getProperties" method on a network.  Possible TODO is to
13256           somehow display this.
13257         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13258
13259 2006-02-02  Dan Williams  <dcbw@redhat.com>
13260
13261         * src/nm-device-802-11-wireless.c
13262                 - (supplicant_interface_init): don't try to create
13263                         /var/run/NetworkManager, since that should be done by
13264                         the distro package.  Causes problems for stuff like SELinux
13265
13266 2006-02-02  Robert Love  <rml@novell.com>
13267
13268         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13269         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13270           Check for and handle empty string for iface.
13271
13272 2006-02-01  Robert Love  <rml@novell.com>
13273
13274         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13275           manpage.
13276
13277 2006-01-31  Dan Williams  <dcbw@redhat.com>
13278
13279         * nm-applet.desktop
13280                 - Add --sm-disable to Exec arguments, presuming that when
13281                         using autostart, we don't want session management
13282
13283 2006-01-31  Robert Love  <rml@novell.com>
13284
13285         * src/NetworkManagerAP.c: Add two new manufacturer default network
13286           names: linksys-a and linksys-g.  These are found (at least) on the
13287           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13288           own ESSID.
13289
13290 2006-01-31  Robert Love  <rml@novell.com>
13291
13292         * src/NetworkManagerAP.c: Optimize the function
13293           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13294           machine code.  This is the first in a series of code tweaks aiming to
13295           generate better machine code and make NetworkManager all the better.
13296           Just kidding.  Who has time to go through the assembly generated for
13297           every function?  I certainly don't.  I have a wife, a kid, a job,
13298           a mortgage, a mistress.  But this function was so bad, I was called
13299           to arms.  Like the book.
13300
13301 2006-01-31  Robert Love  <rml@novell.com>
13302
13303         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13304           AP is not broadcasting, to scan with probe request frames.  Required
13305           for non-broadcast networks.
13306
13307 2006-01-31  Robert Love  <rml@novell.com>
13308
13309         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13310           preprocessor define (still 20s).  Fix message text in nm_info()
13311           s/too too/took too/.
13312
13313 2006-01-30  Dan Williams  <dcbw@redhat.com>
13314
13315         * src/nm-device-802-11-wireless.c
13316                 - (supplicant_monitor_start): increase connect/auth timeout to
13317                         20 seconds from 10 seconds
13318
13319 2006-01-30  Dan Williams  <dcbw@redhat.com>
13320
13321         * src/Makefile.am
13322                 - Define LOCALSTATEDIR
13323
13324         * src/nm-device-802-11-wireless.c
13325                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13326                         socket where we want it to
13327
13328         * src/wpa_ctrl.[ch]
13329                 - (wpa_ctrl_open): accept location to put local control socket
13330
13331 2006-01-30  Robert Love  <rml@novell.com>
13332
13333         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13334           get_ip4_string() for "domain_name".
13335
13336 2006-01-30  Robert Love  <rml@novell.com>
13337
13338         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13339           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13340           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13341           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13342           support for "Automatic" pairwise and group cipher configuration by
13343           letting wpa_supplicant handle the details.  Add UI elements, new
13344           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13345           charm.  Note this does more than add a nice feature, it fixes a bug.
13346           Apparently, some people have AP's where the pairwise cipher does not
13347           match the group cipher.  Insane, but true.
13348
13349 2006-01-30  Dan Williams  <dcbw@redhat.com>
13350
13351         * gnome/applet/applet-dbus-devices.c
13352                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13353                         functions, grab device driver name from NetworkManager
13354                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13355
13356         * gnome/applet/applet.c
13357                 - (nmwa_update_info): show driver name in Connection Information
13358                         dialog
13359
13360         * gnome/applet/nm-device.[ch]
13361                 - (network_device_get_driver, network_device_set_driver): add
13362                         accessors for driver name
13363
13364         * gnome/applet/wireless-applet.glade
13365                 - Add line for driver name to Connection Information dialog
13366
13367         * src/nm-dbus-device.c
13368                 - (nm_dbus_device_get_driver): new function to return driver name
13369                 - (nm_dbus_device_methods): hook up driver name function to dbus
13370
13371         * test/nm-tool.c
13372                 - (get_driver_name): new function
13373                 - (detail_device): grab and show driver name
13374
13375 2006-01-30  Robert Love  <rml@novell.com>
13376
13377         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13378           does not parse the markup if it is not part of the format.
13379
13380 2006-01-30  Robert Love  <rml@novell.com>
13381
13382         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13383           FALSE, we have no security options for this dialog, so we throw up
13384           an error dialog instead of a broken passphrase dialog.  Fixes
13385           Novell #138404.
13386         * gnome/applet/wireless-security-manager.c,
13387           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13388           does not add any security options, not even NONE, print a warning
13389           and return FALSE.  This let's functions constructing a dialog bail
13390           out if the device's capabilities and the network's requirements have
13391           zero overlap.
13392
13393 2006-01-27  Robert Love  <rml@novell.com>
13394
13395         * configure.in: Require wpa_supplicant.  Detect location of binary and
13396           use it.  Override with "--with-wpa_supplicant=foo".
13397         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13398           path to wpa_supplicant but use the auto-detected or user-provided
13399           value from configure.
13400
13401 2006-01-27  Robert Love  <rml@novell.com>
13402
13403         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13404           but the DHCP server did not return a hostname, try to look up our
13405           name via DNS and set the system hostname to that.
13406
13407 2006-01-27  Dan Williams  <dcbw@redhat.com>
13408
13409         * src/backends/NetworkManagerRedHat.c
13410                 - Add NM_CONTROLLED system network script support for RH/Fedora
13411
13412 2006-01-27  Dan Williams  <dcbw@redhat.com>
13413
13414         * src/backends/NetworkManagerGentoo.c
13415                 - (nm_system_device_get_disabled): add missing function.
13416                         Gnome BZ #328780
13417
13418 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13419
13420         * configure.in: Added vi in ALL_LINGUAS line.
13421         
13422 2006-01-26  Robert Love  <rml@novell.com>
13423
13424         * src/Makefile.am, src/kernel-types.h: Now that two different source
13425           files are feeling the crack-addled leakage of kernel types such as
13426           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13427           types in user-space -- define a header and include it as needed.
13428         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13429         * src/nm-device-802-3-ethernet.h: Remove defines.
13430         * src/wpa.c: Remove defines and include kernel-types.h.
13431
13432 2006-01-26  Robert Love  <rml@novell.com>
13433
13434         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13435           work.
13436
13437 2006-01-26  Robert Love  <rml@novell.com>
13438
13439         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13440         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13441           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13442           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13443           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13444           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13445           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13446           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13447           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13448           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13449           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13450           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13451           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13452           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13453           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13454           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13455           Kill unused variables, labels, and static functions.  Don't pass
13456           string literals as the format string for printf-like functions.
13457
13458 2006-01-25  Dan Williams  <dcbw@redhat.com>
13459
13460         * gnome/applet/wireless-applet.glade
13461                 - Remove WPA2 Checkbox
13462
13463         * gnome/applet/wireless-security-manager.c
13464                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13465                         This means the Wireless Security menu now has two WPA options,
13466                         one for "WPA Personal" and one for "WPA2 Personal"
13467
13468         * gnome/applet/wso-wpa-psk.[ch]
13469                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13470                         'wpa2' argument to determine WPA version to use
13471                 - (append_dbus_params_func): pass stored WPA version to cipher
13472                         rather than using the (removed) checkbox
13473
13474 2006-01-24  Robert Love  <rml@novell.com>
13475
13476         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13477           before we g_strdup(), not the ultimate string.
13478
13479 2006-01-23  Dan Williams  <dcbw@redhat.com>
13480
13481         * src/NetworkManagerAP.[ch]
13482                 - (nm_ap_new_from_ap): copy original essid too
13483                 - (nm_ap_unref): free original essid
13484                 - (nm_ap_get_orig_essid): new function
13485                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13486                         but keep original essid around too
13487
13488         * src/nm-device-802-11-wireless.c
13489                 - (supplicant_send_network_config): send wpa_supplicant the
13490                         _original_ essid, and not as a string, but in hex.  Should
13491                         allow us to connect to more APs that use wierd character
13492                         encodings for their essids
13493
13494         * utils/nm-utils.[ch]
13495                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13496                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13497                         use the current locale as a hint for what encoding the essid
13498                         might be in.  Obviously not 100% accurate, but the idea here is
13499                         that if a user's locale is ex. ja_JP, they are more likely than
13500                         not to be in Japan, where access points will likely be in some
13501                         Japanese encoding.
13502
13503 2006-01-23  Dan Williams  <dcbw@redhat.com>
13504
13505         * libnm-util/cipher-private.h
13506           libnm-util/cipher.c
13507           libnm-util/cipher.h
13508                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13509
13510 2006-01-23  Robert Love  <rml@novell.com>
13511
13512         Patch by Timo Hoenig <thoenig@suse.de>:
13513         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13514           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13515           by DHCP and pass it to the backends, allowing distribution-specific
13516           behavior with respect to the DHCP-supplied hostname (if nothing else,
13517           some distributions might not want to set the hostname).
13518         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13519           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13520           Also update our NIS behavior.
13521         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13522           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13523           Add stub functions.
13524
13525 2006-01-23  Robert Love  <rml@novell.com>
13526
13527         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13528           gnome-session does autostart.  TODO: We need to install this to
13529           $prefix/share/autostart/.
13530
13531 2006-01-22  Dan Williams  <dcbw@redhat.com>
13532
13533         * src/NetworkManagerAP.[ch]
13534           src/nm-dbus-nmi.c
13535           src/nm-device-802-11-wireless.c         
13536                 - Make nm_ap_get_essid return "const char *"
13537
13538 2006-01-22  Dan Williams  <dcbw@redhat.com>
13539
13540         * src/NetworkManagerAP.[ch]
13541                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13542
13543         * src/NetworkManagerAPList.[ch]
13544                 - (nm_ap_list_diff): removed
13545                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13546                         deal with access points changing essids on us
13547
13548         * src/nm-device-802-11-wireless.c
13549                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13550                         src/NetworkManagerAPList.c
13551                 - (real_can_interrupt_activation): new function; allow interruption
13552                         of device activation if we are waiting for a network key
13553
13554         * src/NetworkManagerPolicy.c
13555                 - (nm_policy_device_change_check): allow interruption of currently
13556                         activating devices if the device allows it.  Previous behavior
13557                         would refuse to activate a just-plugged wired device if a
13558                         wireless device was waiting for a key.
13559
13560         * src/nm-device.[ch]
13561                 - (nm_device_can_interrupt_activation): new function; ask devices
13562                         whether their activation can be interrupted
13563
13564 2006-01-20  Robert Love  <rml@novell.com>
13565
13566         * Makefile.am, configure.in: Add new man subdirectory.
13567         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13568           man/Makefile.am: Add man pages for NetworkManager and its
13569           crime-solving bumbling buddy, NetworkManagerDispatcher.
13570         * man/.cvsignore: Add.
13571         * initscript/Debian/NetworkManager,
13572           initscript/Gentoo/NetworkManager.in,
13573           initscript/RedHat/NetworkManager.in,
13574           initscript/RedHat/NetworkManagerDispatcher.in,
13575           initscript/SUSE/networkmanager-dispatcher.in,
13576           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13577
13578 2006-01-20  Robert Love  <rml@novell.com>
13579
13580         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13581           instead of queuing.  This prevents the running of multiple NM
13582           daemons concurrently, which does not work whatsoever and results in
13583           neither daemon working correctly.  Also, we don't handle queuing and
13584           name-owner-changes, anyhow.
13585
13586 2006-01-20  Robert Love  <rml@novell.com>
13587
13588         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13589         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13590           to sbin, not bin.
13591
13592 2006-01-19  Robert Love  <rml@novell.com>
13593
13594         * configure.in: Require hal 0.5.0 or later.
13595
13596 2006-01-18  Robert Love  <rml@novell.com>
13597
13598         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13599           Allow backends to flag a device (in whatever distro-dependent way
13600           they so desire) as disabled.  NM will ignore any such device.
13601         * src/backends/NetworkManagerDebian.c,
13602           src/backends/NetworkManagerRedHat.c,
13603           src/backends/NetworkManagerSlackware.c: Add stub function
13604           nm_system_device_get_disabled() that always returns FALSE (enabled).
13605         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13606           SUSE-specific configuration structure.  Fill it in from the
13607           NM_CONTROLLED variable in the system networking scripts.  If this var
13608           exists and is "no", we ignore the device.
13609
13610 2006-01-17  Robert Love  <rml@novell.com>
13611
13612         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13613           identical for NM.  For a full discussion, see the thread at
13614           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13615
13616 2006-01-17  Dan Williams  <dcbw@redhat.com>
13617
13618         * src/nm-device.c
13619                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13620                         function.  Fixes crash when wired DHCP fails.
13621
13622 2006-01-16  Robert Love  <rml@novell.com>
13623
13624         * src/Makefile.am: Don't install NMLoadModules
13625         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13626           from src/ to test/ as no one uses it anymore.  Note that I would be
13627           fine with removing it altogether.
13628
13629 2006-01-16  Robert Love  <rml@novell.com>
13630
13631         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13632           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13633           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13634           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13635           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13636           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13637           declarations, ever.
13638         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13639           NM_STATE_DISCONNECTED is zero).
13640
13641 2006-01-16  Robert Love  <rml@novell.com>
13642
13643         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13644           uninitialized parameter and buffer overflow.  Novell #143496.
13645
13646 2006-01-16  Dan Williams  <dcbw@redhat.com>
13647
13648         Apply the PtP Address bits of a patch from Tim Niemueller
13649
13650         * src/nm-ip4-config.[ch]
13651                 - Add ip4_ptp_address member to object
13652                 - (nm_ip4_config_copy): copy ptp address too
13653                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13654                         new functions
13655                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13656                         rather than local tunnel ip address
13657
13658         * src/vpn-manager/nm-vpn-service.c
13659                 - (print_vpn_config): update for PtP address
13660                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13661                         DBusMessageIters in preparation for getting routes from the VPN
13662                         service daemons too
13663
13664         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13665                 - (send_config_info): update for PtP address, clean up code
13666                 - (main): update for PtP address, clean up code, fix typo
13667
13668         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13669                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13670
13671         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13672                 - (pptp_ip_up): update for PtP address
13673
13674         * vpn-daemons/pptp/src/nm-pptp-service.c
13675                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13676
13677         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13678                 - (print_vpn_config): update for PtP address
13679                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13680
13681 2006-01-16  Dan Williams  <dcbw@redhat.com>
13682
13683         * gnome/applet/applet.c
13684                 - (nmwa_add_networks_helper): don't indicate an active network
13685                         if NM is disconnected or asleep
13686
13687 2006-01-16  Dan Williams  <dcbw@redhat.com>
13688
13689         * src/NetworkManagerPolicy.c
13690                 - (nm_policy_device_change_check): switch devices if we lose the link
13691                         on an ethernet device. 
13692
13693 2006-01-16  Dan Williams  <dcbw@redhat.com>
13694
13695         * gnome/applet/wso-wpa-psk-hex.[ch]
13696                 - Renamed -> wso-wpa-psk.[ch]
13697
13698         * gnome/applet/wso-wpa-psk.[ch]
13699                 - New files
13700
13701         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13702                 - Removed, rolled into wso-wpa-psk.[ch]
13703
13704         * gnome/applet/Makefile.am
13705                 - Updated for above changes
13706
13707         * gnome/applet/wireless-applet.glade
13708                 - Consolidate WPA-PSK options into one notebook
13709                         widget, and make dialogs invisible by default
13710                         to fix screen oddities
13711
13712         * gnome/applet/wireless-security-manager.c
13713                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13714                         than both the old hex & passphrase ones
13715
13716 2006-01-16  Dan Williams  <dcbw@redhat.com>
13717
13718         * gnome/applet/other-network-dialog.c
13719                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13720
13721 2006-01-16  Dan Williams  <dcbw@redhat.com>
13722
13723         * gnome/applet/applet.c
13724                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13725                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13726                         prevention to realize window before trying to get server
13727                         time
13728
13729         * gnome/applet/other-network-dialog.c
13730                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13731                         prevention to realize window before trying to get server
13732                         time
13733
13734         * gnome/applet/passphrase-dialog.c
13735                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13736                         prevention to realize window before trying to get server
13737                         time
13738
13739 2006-01-16  Robert Love  <rml@novell.com>
13740
13741         Patch from Timo Hoenig  <thoenig@suse.de:
13742         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13743           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13744           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13745           libnm-util/dbus-helpers.h: add checks whether headers are used
13746           within a C++ build.
13747
13748 2006-01-16  Dan Williams  <dcbw@redhat.com>
13749
13750         * gnome/applet/wireless-security-option.c
13751                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13752
13753 2006-01-16  Dan Williams  <dcbw@redhat.com>
13754
13755         * libnm-util/cipher-wpa-psk-passphrase.c
13756                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13757                         be 8 - 63 characters inclusive
13758
13759 2006-01-16  Dan Williams  <dcbw@redhat.com>
13760
13761         * src/nm-dbus-nm.c
13762                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13763
13764 2006-01-13  Robert Love  <rml@novell.com>
13765
13766         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13767         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13768           modules that do not use an interface.
13769
13770 2006-01-13  Dan Williams  <dcbw@redhat.com>
13771
13772         * src/nm-device.c
13773           src/nm-device.h
13774                 - Allow subclasses to implement deactivate_quickly()
13775                 - (nm_device_deactivate_quickly): call subclass
13776                         deactivate_quickly() methods
13777                 - (nm_device_set_active_link): small cleanups, and don't
13778                         deactivate the device right away because we risk a deadlock
13779                         when called from device thread, waiting for the device
13780                         thread to cancel activation
13781
13782         * src/nm-device-802-11-wireless.c
13783                 - (real_deactivate_quickly): new function
13784                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13785                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13786                         so that we kill the supplicant when we sleep too
13787                 - (supplicant_interface_init): work around naive naming attempts of
13788                         wpa_ctrl when naming sockets
13789
13790 2006-01-13  Dan Williams  <dcbw@redhat.com>
13791
13792         * src/nm-device-802-11-wireless.c
13793                 - (supplicant_cleanup): delete old device control sockets too
13794                 - (supplicant_get_device_socket_path): new function to consolidate
13795                         locations that need a path to a device's control socket
13796
13797 2006-01-12  Robert Love  <rml@novell.com>
13798
13799         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13800           description so that the description is unique for each
13801           pair (device,provider).  Fixes Novell #142773.
13802
13803 2006-01-12  Dan Williams  <dcbw@redhat.com>
13804
13805         * src/nm-device-802-11-wireless.c
13806                 - (supplicant_exec): ensure GError is correctly initialized
13807                         Reported by Diego González (gnome.org #326708)
13808
13809 2006-01-11  Robert Love  <rml@novell.com>
13810
13811         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13812           define if_mii(), open code the same results, and do so without any
13813           type punning.
13814
13815 2006-01-11  Robert Love  <rml@novell.com>
13816
13817         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13818           that wso_foo_new() returned non-NULL.  Instead, only append the new
13819           wso to wsm->options if the wso is non-NULL.  The crux is that we
13820           assume that the relevant key types are implied by WEP and WPA as
13821           appropriate.  To be sure, they should be, but we should not expect
13822           drivers to not be oozing piles of wolf fecal matter.
13823
13824 2006-01-11  Robert Love  <rml@novell.com>
13825
13826         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13827         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13828           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13829           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13830           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13831           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13832           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13833         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13834           comparing values within DBL_EPSILON.  Also fix shadowed variable
13835           usage.
13836
13837 2006-01-11  Dan Williams  <dcbw@redhat.com>
13838
13839         Add options for WPA2 and WPA1+CCMP (AES).
13840
13841         * gnome/applet/wireless-applet.glade
13842                 - Add UI bits for WPA+CCMP
13843
13844         * gnome/applet/other-network-dialog.c
13845                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13846                         and don't allow creation of WPA2 Ad-Hoc networks since
13847                         wpa_supplicant doesn't support them
13848
13849         * gnome/applet/wireless-security-manager.c
13850                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13851                         on to the specific wireless security option being created
13852
13853         * gnome/applet/wireless-security-option.[ch]
13854                 - (wso_wpa_create_key_type_model): new utility function to create
13855                         the model required for WPA Key Type combo box
13856
13857         * gnome/applet/wso-private.h
13858           gnome/applet/wireless-security-option.h
13859                 - Move private function prototypes into wso-private.h
13860
13861         * gnome/applet/wso-wpa-psk-hex.[ch]
13862           gnome/applet/wso-wpa-psk-passphrase.[ch]
13863                 - (append_dbus_params_func): get WPA version from checkbox and pass
13864                         it to the dbus serialization helper
13865                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13866                         key type combo changes
13867                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13868                         model and options
13869
13870         * libnm-util/cipher-wpa-psk-hex.c
13871           libnm-util/cipher-wpa-psk-passphrase.c
13872                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13873                         new function; allow the cipher to be changed after object creation
13874
13875         * src/nm-ap-security-wpa-psk.c
13876                 - (set_description): Do WPA2 descriptions too
13877
13878         * src/nm-ap-security.c
13879                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13880
13881 2006-01-11  Robert Love  <rml@novell.com>
13882
13883         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13884           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13885           from the ifreq structure in lieu of an open coded solution.  Removes
13886           a life-threatening type-punning.
13887         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13888           types, ever, whatsoever, baby.
13889
13890 2006-01-11  Robert Love  <rml@novell.com>
13891
13892         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13893           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13894           assignments to applet->nm_state into a new nmwa_set_state() function
13895           for both cleanliness and to help debugging.
13896
13897 2006-01-10  Robert Love  <rml@novell.com>
13898
13899         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13900           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13901           seconds, exclusive.  That is, we want to sleep x seconds such that
13902           1 < x < 2.
13903
13904 2006-01-10  Robert Love  <rml@novell.com>
13905
13906         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13907           the attr fields according to the example in the email available at
13908           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13909           Conversely, we do have to free 'name', so we do so, fixing a leak.
13910
13911 2006-01-10  Robert Love  <rml@novell.com>
13912
13913         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13914           sure that we close the socket!
13915
13916 2006-01-10  Robert Love  <rml@novell.com>
13917
13918         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13919           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13920           src/nm-device.c: Fix a FIXME!  Reimplement the function
13921           nm_device_update_hw_address() in device subclass variants,
13922           nm_device_802_3_ethernet_set_address() and
13923           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13924           This fixes the existing bug where MAC addresses are all zeros.
13925
13926 2006-01-10  Robert Love  <rml@novell.com>
13927
13928         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13929           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13930           option to give users ability to globally disconnect and put NM to
13931           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13932           clean disconnect.
13933
13934 2006-01-09  Robert Love  <rml@novell.com>
13935
13936         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13937           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13938           User-space does not supply these types, so we have to define them
13939           ourselves.  The relevant kernel maintainer refused to accept a patch
13940           switching these headers to the proper C99 types.
13941
13942 2006-01-09  Dan Williams  <dcbw@redhat.com>
13943
13944         Apply Robert's 'tray icon redo' patch with fixes
13945         * gnome/applet/applet.c
13946           gnome/applet/applet.h
13947                 - Instead of using a menu bar + menu item, simulate menu
13948                         behavior using a popup menu.  Highlight the area around
13949                         the icon more like a menu too, by playing with the
13950                         applet's size requisition
13951
13952 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13953         * libnm-util/dbus-helpers.c
13954           libnm-util/dbus-helpers.h
13955                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13956                         to 'exception_namespace' (:namespace is a keyword in
13957                         C++)
13958
13959 2006-01-09  Dan Williams  <dcbw@redhat.com>
13960
13961         * src/NetworkManagerPolicy.c
13962                 - (nm_policy_device_change_check): don't autoswitch away from
13963                         Ad-Hoc networks, since there's really no concept of
13964                         "link"
13965
13966         * src/nm-dbus-nm.c
13967                 - (nm_dbus_nm_create_wireless_network): mark created networks
13968                         as Ad-Hoc networks
13969
13970         * src/nm-device-802-11-wireless.c
13971                 - (real_activation_success_handler): add user-created Ad-Hoc
13972                         networks to the device's scan list
13973
13974 2006-01-08  Dan Williams  <dcbw@redhat.com>
13975
13976         We now require a patch for wpa_supplicant to support Ad-Hoc
13977         networks:
13978           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13979
13980         * src/nm-device-802-11-wireless.c
13981                 - (supplicant_send_network_config): turn off wpa_supplicant's
13982                         scanning.  Fixes Ad-Hoc networks.
13983
13984 2006-01-08  Dan Williams  <dcbw@redhat.com>
13985
13986         * src/nm-ap-security.c
13987           src/nm-ap-security.h
13988                 - Add a user_created argument to the write_supplicant_config
13989                         functions
13990
13991         * src/nm-ap-security-wep.c
13992           src/nm-ap-security-wpa-psk.c
13993           src/nm-device-802-11-wireless.c
13994                 - Make Ad-Hoc mode somewhat work, at least write the
13995                         correct options to wpa_supplicant
13996
13997 2006-01-08  Dan Williams  <dcbw@redhat.com>
13998
13999         * src/nm-device-802-11-wireless.c
14000                 - Remove unused code from the old device activation path
14001
14002 2006-01-08  Dan Williams  <dcbw@redhat.com>
14003
14004         * libnm-util/dbus-helpers.c
14005                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14006                         dbus when key == NULL
14007
14008 2006-01-08  Dan Williams  <dcbw@redhat.com>
14009
14010         * gnome/applet/nm-gconf-wso-wpa-psk.c
14011                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14012                         correct arguments to nmu_security_deserialize_wpa_psk()
14013
14014         * src/nm-ap-security-wpa-psk.c
14015                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14016                         arguments to nmu_security_deserialize_wpa_psk()
14017
14018 2006-01-08  Dan Williams  <dcbw@redhat.com>
14019
14020         * gnome/applet/wso-wpa-psk-hex.c
14021           gnome/applet/wso-wpa-psk-passphrase.c
14022                 - Hook up the append_dbus_params_func() function
14023
14024 2006-01-08  Dan Williams  <dcbw@redhat.com>
14025
14026         * src/nm-device-802-11-wireless.c
14027                 - (get_wireless_capabilities): correctly detect driver WPA
14028                         capabilities
14029
14030 2006-01-08  Dan Williams  <dcbw@redhat.com>
14031
14032         * gnome/applet/Makefile.am
14033           gnome/applet/wso-wpa-psk-hex.c
14034           gnome/applet/wso-wpa-psk-hex.h
14035                 - New files, implement WPA-PSK Hex key input
14036
14037         * gnome/applet/wireless-applet.glade
14038                 - Change existing wpa-psk stuff to wpa-psk-hex
14039                 - Add new widgets for wpa-psk-passphrase
14040
14041         * gnome/applet/wireless-security-manager.c
14042                 - (wsm_set_capabilities): enable WPA options
14043
14044         * gnome/applet/wso-wpa-psk-passphrase.c
14045                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14046                         for WPA-PSK passphrase
14047
14048 2006-01-08  Dan Williams  <dcbw@redhat.com>
14049
14050         * include/NetworkManager.h
14051                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14052                         applet/info-daemons
14053
14054         * gnome/applet/passphrase-dialog.c
14055                 - Use the constant.  Fixes a bug where the arguments to
14056                         dbus_message_new_error() were incorrect
14057
14058         * src/nm-dbus-nmi.c
14059                 - Use the constant
14060
14061 2006-01-07  Dan Williams  <dcbw@redhat.com>
14062
14063         * src/nm-device-802-11-wireless.c
14064                 - Add a link timeout so we allow the supplicant time to
14065                         reassociate if it can, before we deactivate the card
14066                 - Fix up link status and link updating so things work better
14067
14068 2006-01-07  Dan Williams  <dcbw@redhat.com>
14069
14070         * src/nm-device-802-11-wireless.c
14071                 - Switch over to using wpa_supplicant
14072                 - Add a timeout of 10s for association of the supplicant
14073                 - Start the monitor callback of the supplicant
14074
14075 2006-01-07  Dan Williams  <dcbw@redhat.com>
14076
14077         * src/NetworkManagerUtils.c
14078                 - (nm_utils_supplicant_request,
14079                   nm_utils_supplicant_request_with_check):
14080                         pass correct buffer length to wpa_ctrl_request()
14081
14082 2006-01-07  Dan Williams  <dcbw@redhat.com>
14083
14084         * src/nm-device-private.h
14085           src/nm-device.c
14086                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14087                         this function available to subclasses
14088
14089 2006-01-06  Robert Love  <rml@novell.com>
14090
14091         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14092           user plugging in a network cable signals their preference for to
14093           switch, unless the user explicitly selected a wireless network and
14094           therefore signaled their preference for said wireless network over
14095           wired.  In other words, do exactly what makes sense.
14096
14097 2006-01-06  Robert Love  <rml@novell.com>
14098
14099         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14100           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14101           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14102           showing up in my greps.
14103
14104 2006-01-06  Robert Love  <rml@novell.com>
14105
14106         * gnome/applet/applet-dbus-devices.c,
14107           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14108           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14109           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14110           New Network' both failed in the non-encrypted case because we were
14111           not appending the security options to the DBUS message.  And
14112           'Connect to Other' was also failing in the encrypted case because
14113           we were not incrementing to the next DBUS parameter.  All fixed.
14114           Thanks to dcdw for some debugging help.
14115
14116 2006-01-06  Robert Love  <rml@novell.com>
14117
14118         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14119           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14120           hangup code and add per-device hangup.  Tie last commit into the
14121           GNOME applet.  TODO:  Save, understand, and respond to the state of
14122           each dialup device.
14123
14124 2006-01-06  Robert Love  <rml@novell.com>
14125
14126         Patch by Timo Hoenig <thoenig@suse.de>:
14127         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14128           hangup specific dialup devices.
14129         * src/backends/NetworkManagerDebian.c,
14130           src/backends/NetworkManagerGentoo.c,
14131           src/backends/NetworkManagerRedHat.c,
14132           src/backends/NetworkManagerSlackware.c: Add stub backend.
14133         * src/backends/NetworkManagerRedHat.c,
14134           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14135           hangup specific dialup devices.
14136
14137 2006-01-04  Robert Love  <rml@novell.com>
14138
14139         * gnome/applet/applet-dbus-devices.c,
14140           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14141           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14142           connections.
14143
14144 2006-01-04  Dan Williams  <dcbw@redhat.com>
14145
14146         First dump of wpa_supplicant-related code.  It's not hooked up to
14147         anything yet though.  Thanks to Kay Sievers for
14148         wpa_supplicant_wrapper.c, which formed the basis for this work,
14149         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14150
14151         * src/Makefile.am
14152           src/wpa_ctrl.[ch]
14153                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14154
14155         * src/NetworkManagerUtils.[ch]
14156                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14157                         Add convenience functions for talking to wpa_supplicant
14158
14159         * src/nm-ap-security.[ch]
14160           src/nm-ap-security-wep.c
14161           src/nm-ap-security-wpa-psk.[ch]
14162                 - Update and implement real_write_supplicant_config functions
14163                         in all security types
14164                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14165                         nm-ap-security-wpa-psk.c
14166
14167         * src/nm-device-802-11-wireless.c
14168                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14169                    wpa_supplicant_start, wpa_supplicant_interface_init,
14170                    wpa_supplicant_send_network_config): add functions to talk to
14171                         wpa_supplicant and write network config to it
14172
14173 2006-01-04  Robert Love  <rml@novell.com>
14174
14175         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14176           values so that distribution-backends can differentiate between the
14177           various types (modem, ISDN, et cetera) of dialup device that they
14178           support.
14179         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14180           needed.
14181
14182 2006-01-03  Dan Williams  <dcbw@redhat.com>
14183
14184         * src/NetworkManagerPolicy.c
14185           src/nm-device.[ch]
14186           src/nm-device-802-11-wireless.c
14187                 - Move wireless-specific activation failure and success code
14188                         into wireless device class
14189
14190 2006-01-03  Robert Love  <rml@novell.com>
14191
14192         Patch by Preggna S:
14193         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14194           IPsec does not require that a VPN client be bound to an interface,
14195           due to the use of the in-kernel IPSec bits.  So make the tunnel
14196           device optional.
14197
14198 2006-01-03  Dan Williams  <dcbw@redhat.com>
14199
14200         * src/NetworkManagerAP.c
14201                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14202                         the WPA IE specifies that WEP is supported
14203
14204         * src/nm-device-802-11-wireless.c
14205                 - (process_scan_results): don't mark an AP as supporting WEP
14206                         if there's already other encryption capability info
14207
14208 2006-01-03  Dan Williams  <dcbw@redhat.com>
14209
14210         * src/dhcp-manager/nm-dhcp-manager.c
14211                 - Recognize activation cancellation when waiting for DHCP
14212                         configuration from dhcdbd
14213                 - Ignore non-dhcdbd messages
14214
14215         * src/nm-device.c
14216                 - (real_act_stage3_ip_config_start): return to correct behavior
14217                         of letting the dhcp-manager notify us of failure or
14218                         success rather than incorrectly doing that ourselves
14219                 - (nm_device_activate_stage4_ip_config_get): deal with
14220                         activation cancellation a bit earlier
14221
14222 2006-01-03  Dan Williams  <dcbw@redhat.com>
14223
14224         * src/nm-device-802-11-wireless.c
14225           src/nm-device.[ch]
14226                 - Add hooks to subclasses for stage3_ip_config_start and
14227                         stage4_ip_config_timeout
14228
14229         * src/nm-device-802-3-ethernet.c
14230                 - (real_get_generic_capabilities): make devices NM-supported
14231                         by default
14232
14233 2006-01-03  Robert Love  <rml@novell.com>
14234
14235         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14236           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14237           latter cannot differentiate between error and the address -1; misc.
14238           clean up.
14239
14240 2006-01-03  Dan Williams  <dcbw@redhat.com>
14241
14242         * src/NetworkManager.c
14243                 - Move link-checking/probing into the device subclasses
14244                         themselves
14245
14246         * src/nm-device.[ch]
14247           src/nm-device-802-11-wireless.c
14248           src/nm-device-802-3-ethernet.c
14249                 - Do periodic link checking in device subclasses rather
14250                         than being triggered from NetworkManager.c
14251                 - discover_wireless_capabilities -> get_wireless_capabilities
14252                 - discover_generic_capabilities -> get_generic_capabilities
14253                 - Device subclass activation routines now return a value of type
14254                         NMActStageReturn to indicate what step to perform next
14255                 - Devices now override stage4_get_ip4_config if they choose
14256
14257 2006-01-01  Dan Williams  <dcbw@redhat.com>
14258
14259         * src/nm-device-802-11-wireless.c
14260                 - (real_init): don't chain up to parent init because we don't
14261                         need to do that anymore
14262
14263         * src/nm-device.c
14264                 - (discover_device_type): fix arguments to ioctl() to correctly
14265                         pass interface name
14266                 - (nm_device_new): consolidate generic device initialization into
14267                         nm_device_new()
14268                 - (real_init): remove, consolidated to nm_device_new()
14269                 - (nm_device_deactivate, real_deactivate): consolidate
14270
14271 2006-01-01  Dan Williams  <dcbw@redhat.com>
14272
14273         * src/nm-activation-request.c
14274                 - Change dhcp_state member of the NMActRequest structure
14275                         from guint8 to guint32
14276
14277         * src/dhcp-manager/nm-dhcp-manager.[ch]
14278                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14279                         than guint8 to match the dbus argument.  Turns out we were
14280                         overwriting memory since we were passing in only a guint8
14281
14282 2005-12-31  Dan Williams  <dcbw@redhat.com>
14283
14284         * refactor NMDevice into a GObject-based framework with separate
14285                 objects for wired and wireless.  The following files are no
14286                 longer used but should stick around for a bit so we don't
14287                 loose code through the cracks:
14288                         NetworkManagerDevice.c
14289                         NetworkManagerDevice.h
14290                         NetworkManagerWireless.c
14291                         NetworkManagerWireless.h
14292
14293         The intent here is to allow each device type to manage its own
14294         connection & activation life-cycle, ie to allow wireless devices
14295         to interface with wpa_supplicant, etc.  There's a fair bit of
14296         encapsulation breakage right now that should gradually get pulled
14297         back into each device, along with things like periodic property
14298         updates and link probing.
14299
14300 2005-12-29  Dan Williams  <dcbw@redhat.com>
14301
14302         * include/NetworkManager.h
14303                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14304                         between networks that don't have any encryption at all
14305
14306 2005-12-29  Dan Williams  <dcbw@redhat.com>
14307
14308         * test/test-common.c
14309           test/test-common.h
14310           test/Makefile.am
14311                 - Move to a test-common subdirectory
14312
14313         * test/libnm-util/test-ciphers.c
14314                 - Move test data to test-inputs.h
14315                 - Test WPA ciphers too
14316
14317         * test/libnm-util/test-dbus-helpers.c
14318                 - Test serialization/deserialization of ciphers
14319
14320 2005-12-29  Dan Williams  <dcbw@redhat.com>
14321
14322         * gnome/applet/applet-dbus-devices.c
14323                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14324                         in dbus calls to NM
14325                 - Set capabilities on WirelessNetwork objects
14326                 - Receive and save type-specific device capabilities too
14327
14328         * gnome/applet/applet-dbus-info.c
14329           gnome/applet/applet-dbus.c
14330                 - Passphrase dialog no longer a singleton; new instance gets created
14331                         on each request.  Updates to deal with that.
14332
14333         * gnome/applet/applet.c
14334                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14335                         than single 'encrypted' flag
14336                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14337                         menu items
14338                 - Passphrase dialog updates per above
14339
14340         * gnome/applet/menu-items.c
14341                 - (network_menu_item_update): use AP capabilities to determine
14342                         encryption
14343
14344         * gnome/applet/nm-device.[ch]
14345                 - Add accessors for type-specific device capabilities
14346
14347         * gnome/applet/other-network-dialog.c
14348                 - Rework to respect device capabilities.  i.e., if the device doesn't
14349                         support WPA, remove that option from the security dropdown
14350
14351         * gnome/applet/passphrase-dialog.c
14352                 - Massive rework so that a new instance is created each time
14353                         it's used, to support wireless network capabilities
14354
14355         * gnome/applet/wireless-network.[ch]
14356                 - Add accessors and members for wireless network capabilities
14357
14358         * gnome/applet/wireless-security-manager.[ch]
14359                 - (wsm_set_capabilities): called after creation to set which
14360                         security options get shown to the user
14361
14362 2005-12-29  Dan Williams  <dcbw@redhat.com>
14363
14364         * libnm-util/cipher-wpa-psk-passphrase.c
14365                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14366                         like other ciphers
14367
14368 2005-12-23  Dan Williams  <dcbw@redhat.com>
14369
14370         * gnome/applet/applet-dbus-info.c
14371                 - (nmi_dbus_get_key_for_network): if there's no entry in
14372                         GConf for a network, assume we want a new key
14373                 - (nmi_save_network_info): serialize wireless security info
14374                         into GConf so its saved
14375
14376         * src/nm-dbus-nm.c
14377                 - Fix warning as we may not be passed security info when
14378                         connecting to a wireless network
14379
14380 2005-12-23  Dan Williams  <dcbw@redhat.com>
14381
14382         * gnome/applet/applet-compat.c
14383                 - Fix bugs in GConf entry conversion
14384
14385         * gnome/applet/applet-dbus-info.c
14386                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14387                         list being zero-length
14388
14389         * libnm-util/cipher-*
14390           libnm-util/dbus-helpers.c
14391                 - All ciphers must now return hashed keys as UTF-8 valid
14392                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14393                         through dbus as strings too.
14394                 - Consolidate various functions that do bin->hex and hex->bin
14395                         conversion into cipher.c
14396
14397         * src/nm-ap-security-wep.c
14398           src/nm-ap-security-wpa-psk.c
14399                 - Handle NULL keys since we may not know keys right away
14400
14401         * src/nm-dbus-nmi.c
14402                 - (nm_dbus_get_network_data_cb): actually advance to the start
14403                         of the wireless security info before we try to deserialize it
14404
14405         * libnm-util/test-ciphers.c
14406                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14407
14408 2005-12-22  Dan Williams  <dcbw@redhat.com>
14409
14410         * gnome/applet/applet-compat.[ch]
14411                 - Convert old-format GConf and keyring entries
14412                         when the applet starts up.
14413
14414         * gnome/applet/applet.c
14415                 - (nmwa_get_instance): Call the conversion function
14416                         on startup before dbus is initialized
14417
14418 2005-12-22  Dan Williams  <dcbw@redhat.com>
14419
14420         * gnome/applet/applet-dbus-info.c
14421                 - Remove nmi_dbus_create_error_message() in favor of
14422                         nmu_create_dbus_error_message()
14423                 - (nmi_dbus_get_network_properties): Error message cleanups
14424                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14425                         gconf key rather than 'addresses', since they really are BSSIDs
14426                 - (nmi_dbus_get_network_properties): Dispose of the security
14427                         object when we're done with it
14428
14429 2005-12-21  Dan Williams  <dcbw@redhat.com>
14430
14431         * Consolidate the info-daemon's "updateNetworkInfo" and
14432                 "addNetworkAddress" calls into just "updateNetworkInfo"
14433
14434 2005-12-21  Dan Williams  <dcbw@redhat.com>
14435
14436         * Make connection after key retrieval work again
14437
14438 2005-12-21  Dan Williams  <dcbw@redhat.com>
14439
14440         * gnome/applet/nm-gconf-wso*
14441                 - Make the serialize functions return gboolean
14442                         rather than int
14443
14444         * gnome/applet/nm-gconf-wso.c
14445                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14446                         parent class handling so we don't segfault
14447
14448         * src/NetworkManagerAP.[ch]
14449                 - (nm_ap_get_capabilities): new function, return capabilities
14450                         now that something can use them
14451                 - (nm_ap_set_encrypted): assume that an access point supports
14452                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14453                         we even tell whether it just supports WEP40?
14454
14455         * src/NetworkManagerDevice.c
14456                 - (ap_need_key): resurrect and update for the New World Order
14457                 - (nm_device_wireless_get_activation_ap): if we're not given
14458                         security info to use, create some based on access point
14459                         capabilities
14460
14461         * src/nm-ap-security-wep.c
14462                 - (nm_ap_security_wep_new_from_ap): create a new object
14463                         based on a certain access point's capabilities
14464
14465         * src/nm-ap-security.c
14466                 - (nm_ap_security_new_from_ap): delegate creation of a new
14467                         object based on access point capabilities to a subclass
14468                 - (nm_ap_security_copy_properties): don't segfault if we
14469                         don't have a key yet
14470
14471         * src/nm-dbus-nm.c
14472                 - (nm_dbus_nm_set_active_device): provide more informative
14473                         output when errors occur.  Also construct security info
14474                         for a given access point if we weren't given any
14475
14476 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14477
14478         * configure.in: Added Lithuanian to ALL_LINGUAS.
14479
14480 2005-12-21  Dan Williams  <dcbw@redhat.com>
14481
14482         * test/libnm-util
14483                 - Add some testcases for WEP ciphers
14484
14485 2005-12-17  Dan Williams  <dcbw@redhat.com>
14486
14487         * Fix bugs
14488
14489 2005-12-17  Dan Williams  <dcbw@redhat.com>
14490
14491         * include/NetworkManager.h
14492                 - Finally kill NMEncKeyType
14493
14494         * gnome/applet/applet-dbus-info.c
14495                 - (nmi_save_network_info): convert to NMGConfWSO
14496
14497         * gnome/applet/nm-gconf-wso-*.c
14498                 - Implement gconf serialization functions
14499
14500         * src/NetworkManagerPolicy.c
14501                 - (nm_policy_activation_finish): fix up meaning of
14502                         automatic/user_requested
14503
14504 2005-12-17  Dan Williams  <dcbw@redhat.com>
14505
14506         * gnome/applet/*
14507                 - More applet cleanups
14508                 - Use the dbus-method-dispatcher
14509
14510         * libnm-util/dbus-method-dispatcher.[ch]
14511                 - Generalize the implementation from NM in
14512                         NetworkManagerUtils.c
14513
14514 2005-12-16  Dan Williams  <dcbw@redhat.com>
14515
14516         * gnome/applet/*
14517                 - Fix up the passphrase dialog to use all the
14518                         WirelessSecurityOption stuff (untested)
14519
14520 2005-12-16  Dan Williams  <dcbw@redhat.com>
14521
14522         * Move nm_gconf_get_*_helper() functions to separate files,
14523                 gconf-helpers.c & gconf-helpers.h
14524
14525         * New NMGConfWSO objects for managing the gconf side of things.
14526                 Eventually these should be merged with the
14527                 WirelessSecurityOption objects and a common base (that can
14528                 serialize/deserialize from dbus & gconf) should be
14529                 refactored out, but for now they are separate.
14530
14531 2005-12-16  Robert Love  <rml@novell.com>
14532
14533         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14534           binaries unless they exist (nm_spawn_process() emits a warning if
14535           asked to spawn a non-existant process).
14536
14537 2005-12-16  Dan Williams  <dcbw@redhat.com>
14538
14539         * gnome/applet/applet-dbus-info.c
14540                 - Clean up lots of gconf-related code
14541
14542 2005-12-16  Robert Love  <rml@novell.com>
14543
14544         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14545
14546 2005-12-16  Dan Williams  <dcbw@redhat.com>
14547
14548         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14549
14550         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14551                 bits still to be done)
14552
14553 2005-12-16  Dan Williams  <dcbw@redhat.com>
14554
14555         * Finally move info-daemon related stuff out of
14556                 NetworkManagerDbus.c to nm-dbus-nmi.c
14557
14558 2005-12-16  Dan Williams  <dcbw@redhat.com>
14559
14560         * Kill auth_method for access points, since that's now done
14561                 by NMAPSecurity objects
14562
14563         * Add a copy-constructor of sorts to NMAPSecurity
14564                 (how do you do this properly in glib???)
14565
14566 2005-12-15  Dan Williams  <dcbw@redhat.com>
14567
14568         * Exorcise encryption key hashing on APs
14569         * Use libnm-util's serialization/deserialization in both the
14570                 applet and NM
14571         * Random other stuff
14572
14573 2005-12-15  Robert Love  <rml@novell.com>
14574
14575         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14576           is being added to the icon naming spec, so let's use that (Tango CVS
14577           has the icon).  Because it is new, however, we fall back to the
14578           current "gnome-lockscreen" if the new icon is not around, thus
14579           behavior is the same.
14580         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14581           factory junk.
14582
14583 2005-12-15  Robert Love  <rml@novell.com>
14584
14585         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14586           well, help to give.  Couple other misc. bits.
14587
14588 2005-12-15  Dan Williams  <dcbw@redhat.com>
14589
14590         * libnm-util/dbus-helpers.[ch]
14591                 - Make this the one-stop-shop for serializing/deserializing
14592                         AP & connection security settings over dbus.  Both NM
14593                         and applets should use this to ensure consistent dbus
14594                         API going forwared.
14595
14596 2005-12-15  Robert Love  <rml@novell.com>
14597
14598         Patch by Timo Hoenig  <thoenig@suse.de>:
14599         * src/NetworkManagerDbus.c
14600                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14601                         if HAL jumps off the system bus.  Otherwise libdbus
14602                         (dbus_connection_dispatch) will try to run the filter
14603                         function of our libhal context which is already freed.
14604
14605 2005-12-15  Alexander Shopov  <ash@contact.bg>
14606
14607         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14608
14609 2005-12-14  Dan Williams  <dcbw@redhat.com>
14610
14611         * include/NetworkManager.h
14612           src/NetworkManagerWireless.c
14613                 - Rearrange 802.11 wireless-specific capabilities again
14614
14615         * src/Makefile.am
14616                 - Forgot to add wpa.c/wpa.h to the makefiles
14617
14618         * src/NetworkManagerAP.[ch]
14619                 - Implement access point capabilities and parse the
14620                         WPA/RSN IEs into the capability bitfield
14621                 - Switch the "encrypted" attribute to utilize the bitfield
14622                         and capabilities rather than being independent
14623
14624         * src/NetworkManagerDevice.c
14625                 - (nm_device_wireless_get_activation_ap): break it horribly
14626                         until we can push NMAPSecurity objects into access point
14627                         objects and through the activation chain
14628                 - Stuff WPA & RSN IEs into AP capabilities
14629
14630         * src/nm-dbus-nm.c
14631                 - Take a shot at actually making setActiveDevice work
14632
14633         * src/wpa.[ch]
14634                 - Make the API a bit saner
14635
14636 2005-12-14  Dan Williams  <dcbw@redhat.com>
14637
14638         * include/NetworkManager.h
14639                 - Add 802.11-specific capability for 802.1x key
14640                         management
14641
14642         * src/wpa.[ch]
14643                 - Pull in WPA IE and RSN IE parsing code from
14644                         wpa_supplicant so we can determine access point
14645                         capabilities
14646                 - Move WPA-related constants here from NetworkManagerAP.h
14647                         and NetworkManagerDevice.c
14648
14649         * src/NetworkManagerDevice.c
14650           src/NetworkManagerAP.[ch]
14651                 - Use WPA-related constants from wpa.h
14652
14653 2005-12-14  Dan Williams  <dcbw@redhat.com>
14654
14655         * include/NetworkManager.h
14656                 - Update and split 802.11 wireless-specific capabilities from
14657                         generic device capabilities
14658
14659         * src/NetworkManagerDevice.c
14660           src/NetworkManagerDevicePrivate.h
14661                 - (nm_device_wireless_discover_capabilities): Move 802.11
14662                         wireless-specific capability checks to
14663                         NetworkManagerWireless.c
14664                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14665                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14666
14667         * src/NetworkManagerWireless.[ch]
14668                 - (nm_802_11_wireless_discover_capabilities): Check extended
14669                         802.11 wireless-specific capabilities of the driver
14670
14671 2005-12-14  Robert Love  <rml@novell.com>
14672
14673         Patch from Stefan Scheler <sscheler@suse.de>:
14674         * src/NetworkManagerDevice.c: call backend code to activate and
14675           deactivate NIS.
14676         * src/NetworkManagerSystem.h: add new NIS interfaces.
14677         * src/backends/NetworkManagerDebian.c,
14678           src/backends/NetworkManagerGentoo.c,
14679           src/backends/NetworkManagerRedHat.c,
14680           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14681           support.
14682         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14683
14684 2005-12-14  Dan Williams  <dcbw@redhat.com>
14685
14686         * src/nm-ap-security*.[ch]
14687                 - Add AP security abstractions to NetworkManager
14688
14689         * src/nm-dbus-device.c
14690                 - Begin to parse new format dbus messages from the applet
14691                         and construct an AP security object from the message
14692
14693         * libnm-util/dbus-helpers.c
14694                 - Use message iters so we can append the key as a fixed
14695                         array of bytes, which actually works rather than
14696                         using dbus_message_append_args() as we were before
14697
14698 2005-12-14  Dan Williams  <dcbw@redhat.com>
14699
14700         * src/NetworkManagerDbus.c
14701           gnome/applet/applet-dbus.c
14702                 - Fix up dbus service replacement options.  The applet
14703                         should allow replacement, NM itself should not.
14704
14705 2005-12-13  Robert Love  <rml@novell.com>
14706
14707         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14708           Instead, fail silently if config is NULL by not asserting and not
14709           returning FALSE.  Also, make sure we always fclose() the file.
14710
14711 2005-12-13  Robert Love  <rml@novell.com>
14712
14713         Patch by Stefan Scheler <sscheler@suse.de>:
14714         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14715            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14716            via DHCP.  Still need the backends to commit the NIS domain name and
14717            and servers to yp.conf as needed.
14718
14719 2005-12-13  Robert Love  <rml@novell.com>
14720
14721         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14722           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14723
14724 2005-12-13  Robert Love  <rml@novell.com>
14725
14726         * src/named-manager/nm-named-manager.c: Don't unref the config until
14727           after we call rewrite_resolv_conf(), because get_last_default_domain()
14728           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14729           `config != NULL' failed" assertion failures and "Could not commit DNS
14730           changes" warnings.
14731
14732 2005-12-12  Dan Williams  <dcbw@redhat.com>
14733
14734         * libnm-util/dbus-helpers.[ch]
14735           libnm-util/Makefile.am
14736                 - new helper calls to consolidate locations where
14737                         NM's setDevice method is called
14738
14739         * gnome/applet/applet-dbus-devices.c
14740           gnome/applet/wireless-security-option.c
14741           gnome/applet/wso-*
14742                 - Implement dbus message param append function for
14743                         all wireless security options
14744
14745 2005-12-12  Robert Love  <rml@novell.com>
14746
14747         * libnm-util/cipher-wep-passphrase.c,
14748           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14749           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14750           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14751           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14752           When handling keys, we don't care what the sign is.  The compiler
14753           guarantees us that we get our 8-bits, which is all we care about.
14754         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14755
14756 2005-12-12  Dan Williams  <dcbw@redhat.com>
14757
14758         * gnome/applet/applet-dbus-devices.[ch]
14759           gnome/applet/applet.c
14760           gnome/applet/other-network-dialog.c
14761           gnome/applet/wireless-security-manager.[ch]
14762           gnome/applet/wireless-security-option.[ch]
14763           gnome/applet/wso-*
14764                 - Push the wireless security options further into the applet
14765
14766 2005-12-12  Robert Love  <rml@novell.com>
14767
14768         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14769           return any name servers.  That is perfectly valid.  (Novell #134369).
14770
14771 2005-12-11  Dan Williams  <dcbw@redhat.com>
14772
14773         * gnome/applet/wso-*
14774           gnome/applet/wireless-security-option.*
14775           gnome/applet/Makefile.am
14776                 - split each security option out so we can eventually
14777                         have each one build up their own dbus message
14778                         arguments to send to NM
14779
14780 2005-12-11  Dan Williams  <dcbw@redhat.com>
14781
14782         * Make validation of the key work correctly
14783
14784 2005-12-11  Dan Williams  <dcbw@redhat.com>
14785
14786         * Hook more bits of the Other Network Dialog up to the
14787                 wireless security manager stuff, and restructure
14788                 bits of the dialog so there's less code.
14789
14790 2005-12-10  Dan Williams  <dcbw@redhat.com>
14791
14792         * gnome/applet/Makefile.am
14793                 - Add libnm-util to includes
14794                 - Add libnm-util to link list
14795                 - Add wireless-security-common.* to compile list
14796
14797         * gnome/applet/other-network-dialog.c
14798                 - Convert to using the WirelessSecurityManager code and
14799                         widgets
14800
14801         * gnome/applet/passphrase-dialog.c
14802                 - Comment out references to stuff in the glade file that
14803                         cause runtime errors until it can be fixed up
14804                         to use the WirelessSecurityManager code
14805
14806         * gnome/applet/wireless-applet.glade
14807                 - Rename some widgets
14808                 - Add widgets for the WirelessSecurityManager code
14809                 - Remove passphrase-related stuff since that's now
14810                         handled by the WirelessSecurityManager code
14811
14812 2005-12-10  Dan Williams  <dcbw@redhat.com>
14813
14814         * gnome/applet/applet-dbus-devices.c
14815                 - Print out error message details for dbus pending call callbacks
14816                 - Move nmwa_dbus_update_devices() up
14817
14818         * gnome/applet/applet-dbus-vpn.c
14819                 - Print out error message details for dbus pending call callbacks
14820
14821 2005-12-10  Dan Williams  <dcbw@redhat.com>
14822
14823         * libnm-util/*
14824                 - More fixups
14825                 - Remove cipher-manager.* because we don't need it
14826                 - Forgot to add gnome-keyring-md5 files to compile list
14827
14828 2005-12-09  Dan Williams  <dcbw@redhat.com>
14829
14830         * libnm-util/*
14831           configure.in
14832           Makefile.am
14833                 - Add a utility library for clients of NetworkManager.  It's
14834                         only targetted at applets for the moment, and contains
14835                         a generalized 802.11 cipher framework for different
14836                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14837
14838 2005-12-09  Robert Love  <rml@novell.com>
14839
14840         * src/NetworkManagerDevice.c: handle error better in
14841           nm_device_set_mode().
14842
14843 2005-12-08  Robert Love  <rml@novell.com>
14844
14845         * include/NetworkManager.h: add WPA capabilities constants
14846         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14847           or WPA2 and add the capabilities bits as appropriate.
14848
14849 2005-12-08  Robert Love  <rml@novell.com>
14850
14851         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14852           NetworkManagerDispatcher.
14853         * configure.in, initscript/SUSE/.cvsignore,
14854           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14855           initscript.
14856
14857 2005-12-08  Robert Love  <rml@novell.com>
14858
14859         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14860
14861 2005-12-08  Robert Love  <rml@novell.com>
14862
14863         * src/NetworkManagerDevice.c: We want to fall back on and default to
14864           IW_MODE_AUTO, not -1, which is more in line with our previous
14865           behavior.  Otherwise, we try to set the wireless mode to -1 in
14866           nm_device_set_mode().
14867
14868 2005-12-07  Robert Love  <rml@novell.com>
14869
14870         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14871           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14872           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14873           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14874           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14875           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14876           zero.
14877
14878 2005-12-07  Robert Love  <rml@novell.com>
14879
14880         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14881           supplied IP is invalid, fall back to DHCP.
14882
14883 2005-12-07  Dan Williams  <dcbw@redhat.com>
14884
14885         * Convert NETWORK_MODE_* constants to IW_MODE_*
14886         * Make all the get_mode/set_mode functions take and return 'int'
14887         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14888
14889 2005-12-07  Robert Love  <rml@novell.com>
14890
14891         * src/NetworkManagerDevice.c: strncpy() buffer check.
14892         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14893
14894 2005-12-06  Dan Williams  <dcbw@redhat.com>
14895
14896         * gnome/applet/applet-dbus.c
14897                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14898
14899         * gnome/applet/applet-dbus-vpn.c
14900                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14901                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14902                         to TRUE here if stage was ACTIVATED
14903
14904 2005-12-06  Dan Williams  <dcbw@redhat.com>
14905
14906         * Change nm_device_is_* functions to better names:
14907                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14908                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14909
14910 2005-12-06  Dan Williams  <dcbw@redhat.com>
14911
14912         * Change naming of NMDeviceType to something more sensible:
14913                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14914                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14915                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14916
14917 2005-12-06  Dan Williams  <dcbw@redhat.com>
14918
14919         * Move NetworkManager.h -> include/NetworkManager.h
14920         * Split out VPN stuff into include/NetworkManagerVPN.h
14921         * Fix up makefiles to include new location
14922         * Fix up sources to include NetworkManagerVPN.h
14923
14924 2005-12-06  Dan Williams  <dcbw@redhat.com>
14925
14926         Various changes in the applet to move VPN connection "state" -> "stage",
14927         which it actually is.  I'd like to change the signal as well when we
14928         break compat in the near future.
14929
14930 2005-12-06  Dan Williams  <dcbw@redhat.com>
14931
14932         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14933         * initscript/Slackware/rc.networkmanager
14934                 - Cosmetic fix
14935
14936         * src/backends/NetworkManagerSlackware.c
14937                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14938                         interfaces
14939
14940 2005-12-05  Robert Love  <rml@novell.com>
14941
14942         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14943           to free, particularly here as it just barfs.
14944
14945 2005-12-05  Dan Williams  <dcbw@redhat.com>
14946
14947         * gnome/applet/applet-dbus.c
14948                 - Work with dbus 0.6 too
14949
14950 2005-12-03  Dan Williams  <dcbw@redhat.com>
14951
14952         * src/NetworkManagerUtils.[ch]
14953           src/nm-ip4-config.c
14954                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14955                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14956
14957 2005-12-01  Robert Love  <rml@novell.com>
14958
14959         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14960           need a NULL for the '...' parameter, too, to fill the so-called
14961           sentinel.
14962
14963 2005-12-01  Robert Love  <rml@novell.com>
14964
14965         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14966           interface is already gone, so don't call rtnl_link_change() to down
14967           it (which will segfault, anyhow).
14968
14969 2005-11-22  Robert Love  <rml@novell.com>
14970
14971         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14972           gateway is not set, just print a little note.  Configurations without
14973           gateways are valid.
14974
14975 2005-11-22  Robert Love  <rml@novell.com>
14976
14977         * README: update
14978
14979 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14980
14981         * configure.in: Added Finnish translation to ALL_LINGUAS
14982
14983 2005-11-14  Robert Love  <rml@novell.com>
14984
14985         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14986           Niemueller <tim@niemueller.de>.
14987
14988 2005-11-08  Dan Williams  <dcbw@redhat.com>
14989
14990         Patch from Bill Moss <bmoss@clemson.edu>
14991         * src/NetworkManagerDevice.c
14992                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14993                         of nm_policy_schedule_activation_finish() to prevent a
14994                         race condition that causes the link to be dropped
14995
14996 2005-11-08  Dan Williams  <dcbw@redhat.com>
14997
14998         Patch from Bill Moss <bmoss@clemson.edu>
14999         * src/NetworkManagerAPList.c
15000           src/NetworkManagerDevice.c
15001           src/NetworkManagerDbus.c
15002                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15003                         we get more readable ether/mac addresses
15004
15005 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15006
15007         * gnome/applet/main.c: Don't set the restart command.  This fixes
15008         the issue where the restart command was getting copies of all its
15009         arguments for each time the applet was restarted.
15010
15011 2005-11-02  Robert Love  <rml@novell.com>
15012
15013         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15014           if the widget state differs from our saved state.  This ensures we
15015           do not enter an endless loop of death and destruction.  Also, this
15016           guarantees us that we enforce the widget state.
15017
15018 2005-11-02  Robert Love  <rml@novell.com>
15019
15020         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15021         * gnome/applet/applet-dbus-devices.c: invoke the new function
15022           nmwa_enable_wireless_set_active() to ensure that the state of the
15023           'Enable Wireless' checkbox matches the daemon's state.  This is a
15024           concern because the daemon remembers the state.
15025
15026 2005-11-02  Robert Love  <rml@novell.com>
15027
15028         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15029           Enabled", as checkboxes should be actions/commands not positive
15030           statements, otherwise they are confusing in the unselected case.  See
15031           examples in GNOME HIG, Chapter 6.
15032
15033 2005-11-02  Robert Love  <rml@novell.com>
15034
15035         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15036           show a list of wireless networks or the wireless devices or the
15037           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15038           a bad bug: If wireless is disabled and the user picks a wireless
15039           network, NM will switch to the network, only to immediately switch
15040           back, as wireless is disabled.  This also reassures people that NM
15041           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15042
15043 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15044
15045         * gnome/applet/applet.c:
15046         * gnome/applet/applet.h:
15047         Partial backout of Dan's timeout animation patch.
15048         Timeout IDs cannot legally be 0, so revert the code in place to handle
15049         a timeout ID of 0 to denote the timeout isn't running.
15050
15051 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15052
15053         * src/NetworkManagerPolicy.c:
15054         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15055
15056 2005-10-28  Robert Love  <rml@novell.com>
15057
15058         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15059           "Import Saved Configuration..." to make it clear that importing is
15060           not the next step, but an option.  As an aside, a nice TODO would be
15061           to move Importing out of the vpn-specific dialog and into the main
15062           property editor, as Importing goes with Adding, but that will require
15063           some rearchitecting of the VPN stuff I suspect.
15064
15065 2005-10-27  Dan Williams  <dcbw@redhat.com>
15066
15067         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15068         we should replace most of the distro-specific backend code
15069         with libnl stuff.
15070
15071         Get it here:  http://people.suug.ch/~tgr/libnl/
15072
15073         * configure.in
15074           src/Makefile.am
15075                 - Add checks for libnl pkgconfig file
15076                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15077
15078         * src/NetworkManagerSystem.c
15079           src/nm-ip4-config.[ch]
15080                 - Use libnl rather than ioctl() for most things
15081                 - Remove unused functions
15082
15083 2005-10-27  Robert Love  <rml@novell.com>
15084
15085         * src/backends/NetworkManagerSuSE.c: fix warning message text
15086
15087 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15088
15089         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15090
15091 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15092
15093         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15094         project page <http://www.gnome.org/projects/NetworkManager/>
15095
15096 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15097
15098         * gnome/applet.c: Also use translator credits if we don't have
15099         the new GtkAboutDialog (older versions of GTK+)
15100
15101 2005-10-26  Robert Love  <rml@novell.com>
15102
15103         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15104           failure; correct usage text for "--no-daemon"
15105
15106 2005-10-25  Dan Williams  <dcbw@redhat.com>
15107
15108         * src/NetworkManagerDevice.c
15109                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15110                         no scan results
15111                 - (free_process_scan_cb_data): unref the device when freeing results
15112                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15113                         so we don't unref the device underneath ourselves
15114
15115 2005-10-25  Dan Williams  <dcbw@redhat.com>
15116
15117         * Back out 2005-10-24 commit from Tor Krill.  Patch
15118                 causes nameservers never to be removed from named.
15119
15120 2005-10-24  Dan Williams  <dcbw@redhat.com>
15121
15122         Clean up wireless scanning and wireless link probing.
15123
15124         * src/NetworkManagerDevice.c
15125                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15126                         just see if there's an activation request on the device, and check the
15127                         current link against the activation request access point's ESSID.
15128                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15129                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15130                         don't call process_scan_results() on zero-length data
15131                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15132                         15 seconds (from 10)
15133
15134 2005-10-24  Dan Williams  <dcbw@redhat.com>
15135
15136         Cleanup some applet stuff:
15137
15138         - Animation timeouts.  If NM died while the applet was animating,
15139                 the applet would not hide itself.  This is now fixed.
15140
15141         - Remove some dead code
15142
15143         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15144                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15145
15146         - Track animation timeout using a gboolean rather than the timeout's
15147                 ID, since timeout IDs can legally be 0.
15148
15149 2005-10-24  Dan Williams  <dcbw@redhat.com>
15150
15151         * src/backends/interface_parser.c
15152                 - Add void to function declarations that need it
15153                         to match patch from Engin AYDOGAN
15154
15155         * src/backends/interface_parser.h
15156                 - Remove unused prototype for ifparser_interfaces()
15157
15158         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15159         * src/backends/interface_parser.h:
15160                 - Compile fixes for gcc 4.0.2 (add void)
15161
15162 2005-10-24  Dan Williams  <dcbw@redhat.com>
15163
15164         Patch from Tor Krill <tor@krill.nu>
15165         * src/named-manager/nm-named-manager.c
15166                 - Write more than just the first nameserver to /etc/resolv.conf
15167                 - Write out valid /etc/resolv.conf on exit
15168
15169 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15170
15171         * gnome/applet/applet-dbus-vpn.c:
15172         Get rid of spurious newlines in debug console output
15173
15174 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15175
15176         * src/backends/NetworkManagerGentoo.c:
15177         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15178
15179 2005-10-20  Robert Love  <rml@novell.com>
15180
15181         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15182           direct comparison of floating point values, which is never correct.
15183           Also some misc. cleanup.
15184
15185 2005-10-19  Robert Love  <rml@novell.com>
15186
15187         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15188
15189 2005-10-19  Robert Love  <rml@novell.com>
15190
15191         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15192           sensitivity of the buttons.  Specificaly, do the right thing if
15193           there are no entries.
15194
15195 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15196
15197         * configure.in: Update check for adequate wireless-tools
15198         with an AC_TRY_COMPILE for the new symbols we use.
15199
15200 2005-10-19  Dan Williams  <dcbw@redhat.com>
15201
15202         * src/NetworkManagerDevice.c
15203                 - (process_scan_results): don't drop the last (or only)
15204                         access point we see
15205
15206 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15207
15208         * src/backends/NetworkManagerSlackware.c:
15209         Patch from Nico <lordllucifer@gmail.com>
15210                 - Update the Slackware backend.
15211
15212 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15213
15214         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15215         if we've got GLib 2.8.0
15216
15217 2005-10-18  Robert Love  <rml@novell.com>
15218
15219         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15220           function nm_schedule_state_change_signal_broadcast() when we
15221           deactivate a device, too.
15222
15223 2005-10-18  Robert Love  <rml@novell.com>
15224
15225         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15226           be used uninitialized.
15227
15228 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15229
15230         * test/libnm_glib_test.c: Test unregistering, too.
15231
15232 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15233
15234         * configure.in: Bump to 0.5.0
15235
15236 2005-10-17  Dan Williams  <dcbw@redhat.com>
15237
15238         * NetworkManager.h
15239                 - Remove WPA-related constants so they aren't part of the
15240                         upcoming release.
15241
15242 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15243
15244         * gnome/applet/applet.c:
15245         * gnome/applet/applet.h:
15246         Desensitize the 'Connection Information' menu item when there is
15247         no active connection.
15248
15249 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15250
15251         * gnome/libnm_glib/libnm_glib.c:
15252         Make libnm_glib_unregister_callback () actually unregister the callback
15253
15254 2005-10-17  Robert Love  <rml@novell.com>
15255
15256         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15257           two seconds -- tries is updated every 1/10 of a second, not every
15258           second..
15259
15260 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15261
15262         * gnome/applet/applet-dbus-info.c:
15263         Let D-BUS know that we haven't handled a message when we haven't.
15264
15265 2005-10-17  Robert Love  <rml@novell.com>
15266
15267         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15268           in order to remain 64-bit clean.
15269
15270 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15271
15272         * gnome/applet/applet-dbus-info.c:
15273         Find network encryption keys asynchronously
15274
15275 2005-10-17  Robert Love  <rml@novell.com>
15276
15277         * src/backends/NetworkManagerDebian.c,
15278           src/backends/NetworkManagerRedHat,
15279           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15280           comment delimiter.
15281
15282 2005-10-17  Robert Love  <rml@novell.com>
15283
15284         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15285           "/etc"
15286
15287 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15288
15289         * src/NetworkManagerDevice.c: (process_scan_results)
15290         Fix logic that checks to see whether we have an ESSID.
15291
15292 2005-10-15  Dan Williams  <dcbw@redhat.com>
15293
15294         Move scanning code into NetworkManager rather than use iwlib's
15295         iw_scan() function, so that we can figure out AP capabilities.
15296
15297         * NetworkManager.h
15298                 - Add AP capability bits
15299
15300         * src/NetworkManagerAP.[ch]
15301                 - Add capability field to NMAccessPoint structure
15302                 - Add WPA & RSN Information Element fields and accessor
15303                         functions to NMAccessPoint
15304
15305         * src/NetworkManagerDevice.c
15306                 - Remove usage of iw_scan
15307                 - Add scanning code to NetworkManager rather than use
15308                         iw_scan() from iwlib
15309
15310         * src/NetworkManagerUtils.[ch]
15311                 - (nm_dispose_scan_results): remove, unused
15312
15313 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15314
15315         * gnome/libnm_glib/libnm_glib.c:
15316         * gnome/libnm_glib/libnm_glib.h:
15317         Use guint instead of gint for callback IDs.
15318
15319 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15320
15321         * gnome/applet/applet.c:
15322         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15323         every 1000ms.  It will unconditionally call nmwa_update_state which
15324         kills the existing animation timeout and registers a new one with a
15325         callback to draw a new frame every 100ms.  There are 11 connecting
15326         icon frames, so the last 2 frames kept getting dropped.  Only reset
15327         the animation timeout if we aren't animating.
15328
15329 2005-10-11  Dan Williams  <dcbw@redhat.com>
15330
15331         * gnome/applet/applet-dbus-devices.c
15332                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15333                         We want to grab the product & vendor from net.physical_dev
15334                         rather than info.parent.
15335
15336 2005-10-11  Dan Williams  <dcbw@redhat.com>
15337
15338         * src/NetworkManagerDevice.c
15339                 - Use the driver's WE version for scanning rather than
15340                         the WE version NM was compiled with.  Fixes random
15341                         crashes in iw_scan () in iwlib.
15342
15343 2005-10-10  Dan Williams  <dcbw@redhat.com>
15344
15345         * Remove nm_system_load_device_modules() from backend files
15346                 and from NetworkManager.c
15347
15348 2005-10-10  Dan Williams  <dcbw@redhat.com>
15349
15350         * src/NetworkManagerPolicy.c
15351                 - Fix some bugs introduced by the capabilities patch
15352
15353 2005-10-10  Dan Williams  <dcbw@redhat.com>
15354
15355         * gnome/applet/applet-dbus-info.c
15356                 - (nmi_dbus_get_network_key): hide the menu when putting up
15357                         the keyring dialog.  (not sure if the code is right...)
15358
15359 2005-10-09  Dan Williams  <dcbw@redhat.com>
15360
15361         Patch from Bill Moss <bmoss@clemson.edu>
15362         * src/NetworkManagerDevice.c
15363                 - (nm_device_set_user_key_for_network): don't try to set auth
15364                         mode on the AP from the allowed list if it's NULL
15365
15366 2005-10-09  Dan Williams  <dcbw@redhat.com>
15367
15368         * Replace the "driver support level" stuff with capabilities.  The
15369                 capability field is a bitfield that is more flexible than the
15370                 old driver support level thing.  It's mostly so we can easily
15371                 figure out what supports WPA and what doesn't, but should be
15372                 quite useful later.
15373
15374 2005-10-09  Dan Williams  <dcbw@redhat.com>
15375
15376         * test/nmtest.c
15377                 - Removed
15378
15379         * test/nm-tool.c
15380           test/Makefile.am
15381                 - Added new "nm-tool" tool that gives quite a bit more
15382                         information
15383
15384 2005-10-07  Robert Love  <rml@novell.com>
15385
15386         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15387           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15388           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15389           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15390           appropriate
15391
15392 2005-10-07  Robert Love  <rml@novell.com>
15393
15394         * configure.in: Change our compile flags for the betterment of mankind.
15395           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15396           prototype is very bad on 64-bit platforms as types default to int but
15397           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15398           "-Wmissing-declarations" to warn if we define an exported function
15399           but fail to put it in a header.
15400
15401 2005-10-07  Robert Love  <rml@novell.com>
15402
15403         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15404           by the name nm_update_device_wireless_timeouts() and once tried,
15405           without success, to steal my pet turtle.
15406
15407 2005-10-07  Robert Love  <rml@novell.com>
15408
15409         * Cleanup prototypes: put some functions in header files and mark
15410           others as 'static' -- feel free to invert
15411         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15412           nm_vpn_manager_vpn_connection_list_copy()
15413         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15414           nm_vpn_service_get_dbus_connection()
15415         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15416           nm_vpn_manager_vpn_connection_list_copy()
15417         * src/vpn-manager/nm-vpn-service.c: make
15418           nm_vpn_service_act_request_failed() and
15419           nm_vpn_service_stage2_daemon_wait() static
15420         * src/vpn-manager/nm-vpn-service.h: add prototype for
15421           nm_vpn_service_get_dbus_connection()
15422
15423 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15424
15425         * gnome/applet/applet.c:
15426         * gnome/applet/applet.h:
15427         * gnome/applet/icons/Makefile.am:
15428         Convey information about the current connection stage in the
15429         icons themselves instead of creating a separate progress bar.
15430
15431 2005-10-04  Robert Love  <rml@novell.com>
15432
15433         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15434           convert an ether_addr structure's MAC into a string, because the
15435           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15436           versus 07:3B:04, while the former will not.
15437
15438 2005-10-04  Robert Love  <rml@novell.com>
15439
15440         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15441           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15442           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15443           default route in the 'Connection Information' dialog, send primary
15444           and secondary name servers in in "getProperties" DBUS method, add
15445           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15446           secondary domain name servers are crucial pieces of information
15447           that a user might need in debugging a network problem.
15448
15449 2005-10-04  Robert Love  <rml@novell.com>
15450
15451         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15452           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15453           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15454           default route in the 'Connection Information' dialog, send default
15455           route in "getProperties" DBUS method, add network_device_set_route(),
15456           and network_device_get_route().  The Gateway is a crucial piece of
15457           connection-related information that a user might need in debugging a
15458           network problem.
15459
15460 2005-10-03  Robert Love  <rml@novell.com>
15461
15462         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15463           NULL.
15464
15465 2005-10-02  Dan Williams  <dcbw@redhat.com>
15466
15467         * Shorten time taken to sleep by fastpathing bits of device deactivation
15468                 necessary for sleep.
15469
15470         * Fix issue where deactivating a device might deactivate the active
15471                 VPN connection, even if the VPN was not using the device.
15472
15473 2005-10-02  Dan Williams  <dcbw@redhat.com>
15474
15475         * gnome/applet/applet.c
15476                 - Adjust signal strength -> icon mapping values slightly
15477                         (so that 51% signal doesn't show a 75% icon) by adding
15478                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15479                         shows 50% icon, etc.
15480
15481 2005-09-29  Robert Love  <rml@novell.com>
15482
15483         * src/NetworkManager.c: removed unused variable.
15484
15485 2005-09-28  Dan Williams  <dcbw@redhat.com>
15486
15487         Support for named + DBus, using Red Hat DBus patches for named.  You
15488         can find those patches here, with "dbus" in the patch's filename:
15489
15490                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15491
15492         Don't forget the named dbus service file either.
15493
15494         Instead of writing a config file and spawing a named process, NM will
15495         use an already-running dbus-enabled named if it finds one.  NM will
15496         update named's forwarder configuration on the fly using dbus.
15497
15498         If there is no dbus-enabled named running, NM will automatically fall
15499         back to writing the most-recent DNS server information to /etc/resolv.conf
15500         and calling nm_system_update_dns() to kick the system's resolver.
15501
15502         Accordingly, all named-related configure-time options have been removed.
15503
15504 2005-09-26  Robert Love  <rml@novell.com>
15505
15506         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15507           ISDN support!
15508         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15509           bug in error path if "ASKPASSWORD" is "no".
15510
15511 2005-09-26  Robert Love  <rml@novell.com>
15512
15513         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15514           comment in /etc/resolv.conf -- ';' is not.
15515
15516 2005-09-19  Dan Williams  <dcbw@redhat.com>
15517
15518         * src/backends/NetworkManagerRedHat.c:
15519         * src/backends/NetworkManagerDebian.c:
15520         * src/backends/NetworkManagerSlackware.c:
15521         * src/backends/NetworkManagerGentoo.c:
15522         * src/backends/NetworkManagerSUSE.c:
15523         Fix invocations of "/sbin/ip address" to use short form instead
15524
15525 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15526
15527         * src/nm-dbus-device.c: Don't assert when getting
15528         addresses of a not yet connected interface.
15529
15530         * gnome/applet/applet.c: Free icons if loading fails.
15531         Use translator-credits so translators can make themselves known.
15532
15533 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15534
15535         * src/NetworkManagerAP.c:
15536         * src/NetworkManagerAP.h:
15537         * src/NetworkManagerDevice.c:
15538         Set a blacklist for certain common manufacturer default ESSIDs:
15539         APs with these ESSIDs are extremely likely to be completely
15540         different networks: connecting to one should not make NM
15541         auto-connect to every other AP with the same default ESSID.
15542
15543 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15544
15545         * gnome/applet/wireless-applet.glade:
15546         The passphrase entry should also activate the default
15547
15548         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15549
15550         * gnome/applet/applet-dbus-devices.c:
15551         * gnome/applet/applet.c:
15552         * gnome/applet/nm-device.c:
15553         * gnome/applet/nm-device.h:
15554         * src/NetworkManagerUtils.c:
15555         * src/NetworkManagerUtils.h:
15556         * src/nm-dbus-device.c:
15557         I've got a fever, and the only cure for it is less ioctl.
15558         Make NM push IP data rather than make the applet open a socket
15559         to the device.
15560
15561 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15562
15563         * gnome/applet/applet.c:
15564         * gnome/applet/applet-dbus-devices.c:
15565         * gnome/applet/applet-dbus-info.c:
15566         * gnome/applet/passphrase-dialog.c:
15567         * gnome/libnm_glib/libnm_glib.c:
15568         * gnome/vpn-properties/nm-vpn-properties.c:
15569         * src/autoip.c:
15570         * src/backends/NetworkManagerRedHat.c:
15571         * src/named-manager/nm-named-manager.c:
15572         * src/NetworkManagerAPList.c:
15573         * src/NetworkManager.c:
15574         * src/NetworkManagerDbus.c:
15575         * src/NetworkManagerDevice.c:
15576         * src/NetworkManagerPolicy.c:
15577         * src/NetworkManagerSystem.c:
15578         * src/nm-dbus-device.c:
15579         * src/nm-dbus-nm.c:
15580         * src/vpn-manager/nm-vpn-manager.c:
15581         * src/vpn-manager/nm-vpn-service.c:
15582         * test/libnm_glib_test.c:
15583         * test/nminfotest.c:
15584         * test/nmtestdevices.c:
15585         Fix a bunch of 'unused variable' compiler warnings
15586
15587         * NetworkManager.h:
15588         * gnome/applet/applet-dbus-info.c:
15589         * gnome/applet/applet-dbus-info.h:
15590         * gnome/applet/applet.c:
15591         * gnome/applet/applet.h:
15592         * src/NetworkManager.c:
15593         * src/NetworkManagerDbus.c:
15594         * src/NetworkManagerDbus.h:
15595         * src/NetworkManagerDevice.c:
15596         * src/NetworkManagerDevice.h:
15597         * src/NetworkManagerMain.h:
15598         * src/NetworkManagerWireless.c:
15599         * src/NetworkManagerWireless.h:
15600         * src/nm-dbus-nm.c:
15601         Make NetworkManager be smart about how frequently to scan
15602         based on its current state.  Remove the UI for choosing when
15603         to scan.  Scanning still may disabled completely by the user
15604         via the "Wireless Enabled" menu item.
15605
15606 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15607
15608         * gnome/applet/applet.c:
15609         Also overlay the vpn connecting icons onto the wired icon,
15610         when appropriate.
15611
15612         * gnome/vpn-properties/nm-vpn-properties.glade:
15613         Clean up a few strings to use better grammar and proper casing.
15614
15615 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15616
15617         * gnome/applet/vpn-connection.c:
15618         * gnome/applet/vpn-connection.h:
15619         Add nmwa_vpn_connection_is_activating ()
15620
15621         * gnome/applet/applet.c:
15622         * gnome/applet/applet.h:
15623         * gnome/applet/icons/nm-vpn-connecting*.png:
15624         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15625         the user know something's happening between clicking the VPN item and it
15626         actually being connected.
15627
15628 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15629
15630         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15631         failure case as well.
15632
15633 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15634
15635         * gnome/panel/eggtrayicon.[ch]:
15636         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15637
15638 2005-09-07  Dan Williams  <dcbw@redhat.com>
15639
15640         Patch from Bill Moss <bmoss@clemson.edu>
15641         * src/applet-dbus.c
15642                 - (nmwa_dbus_filter): strip whitespace from beginning
15643                         and end of VPN login banner
15644
15645 2005-09-07  Dan Williams  <dcbw@redhat.com>
15646
15647         * The great VPN Manager rewrite of 2005
15648
15649 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15650
15651         * gnome/applet/menu-items.c:
15652         * gnome/applet/nm-device.c:
15653         * gnome/applet/wireless-network.c:
15654         * gnome/libnm_glib/libnm_glib.c:
15655         * src/NetworkManagerDbusUtils.c:
15656         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15657         g_malloc0 doesn't return NULL
15658
15659 2005-09-06  Dan Williams  <dcbw@redhat.com>
15660
15661         Patch from Tomislav Vujec <tvujec@redhat.com>
15662         * src/NetworkManagerDevice.c
15663                 - (nm_get_device_by_udi): don't return a device when we
15664                         actually didn't find what we were looking for
15665
15666 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15667
15668         * gnome/applet/applet-dbus-devices.c:
15669         * gnome/applet/applet-dbus-devices.h:
15670         * gnome/applet/applet-dbus.c:
15671         * src/NetworkManagerDbus.c:
15672         * src/NetworkManagerDbus.h:
15673         * src/NetworkManagerDevice.c:
15674         * src/nm-dbus-device.c:
15675         Make NM push updates about active device strength when it changes,
15676         rather than having the applet poll every 2s.
15677
15678 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15679
15680         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15681         network_device_set_strength
15682
15683 2005-09-04  Dan Williams  <dcbw@redhat.com>
15684
15685         Patch from Bill Nottingham <notting@redhat.com>
15686         * src/NetworkManagerDevice.c
15687                 - (nm_device_activation_cancel): reset the quit_activation flag
15688
15689 2005-09-04  Dan Williams  <dcbw@redhat.com>
15690
15691         * src/nm-activation-request.c
15692                 - (nm_act_request_unref): actually free the structure,
15693                         which we didn't seem to be doing before
15694
15695 2005-09-04  Dan Williams  <dcbw@redhat.com>
15696
15697         Patch from John Palmieri <johnp@redhat.com>
15698         * gnome/applet/applet-dbus-devices.c
15699                 - Fix up unreffing of DBusMessage objects
15700
15701 2005-09-04  Dan Williams  <dcbw@redhat.com>
15702
15703         Patch from John Palmieri <johnp@redhat.com>
15704         * gnome/applet/nm-device.c
15705                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15706
15707 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15708
15709         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15710
15711 2005-09-02  Bill Nottingham  <notting@redhat.com>
15712
15713         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15714
15715 2005-09-01  Dan Williams  <dcbw@redhat.com>
15716
15717         * src/NetworkManager.c
15718                 - (nm_remove_device_from_list): rename to nm_remove_device
15719                 - (nm_hal_device_removed): call nm_remove_device()
15720
15721         * src/NetworkManagerDevice.c
15722                 - Change the NMWirelessScanCB member 'reschedule' which
15723                         wasn't used to 'force' to indicate that we need to
15724                         force a scan when adding a device
15725
15726         * src/nm-dbus-nm.c
15727                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15728                         from the device list
15729                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15730
15731 2005-09-01  Robert Love  <rml@novell.com>
15732
15733         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15734           and the check "!iface" in the error case is probably never true.
15735
15736 2005-09-01  Dan Williams  <dcbw@redhat.com>
15737
15738         Patch from Bill Nottingham <notting@redhat.com>
15739         * src/backends/NetworkManagerRedHat.c
15740                 - Add initial dialup support to Red Hat/Fedora backend
15741
15742 2005-09-01  Dan Williams  <dcbw@redhat.com>
15743
15744         * gnome/applet/applet-dbus-devices.c
15745                 - Sort both wireless networks and devices again, which got
15746                         broken when removing threading
15747
15748 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15749
15750         * gnome/applet/applet.c:
15751         Only show the "Stop/Start All Wireless Devices" menuitem
15752         if we actually have wireless devices.
15753
15754         * gnome/applet/applet-dbus-info.c:
15755         * gnome/applet/applet.c:
15756         * gnome/applet/other-network-dialog.c:
15757         * gnome/applet/vpn-password-dialog.c:
15758         Drop the gtk_dialog_run () calls in favor of connecting to
15759         "response" signals, needed now that the applet is not threaded.
15760
15761 2005-08-31  Dan Williams  <dcbw@redhat.com>
15762
15763         Patch from Bill Moss <bmoss@clemson.edu>
15764         * src/NetworkManagerDevice.c
15765                 - (nm_device_wireless_scan): fix scan timeout values
15766
15767 2005-08-30  Dan Williams  <dcbw@redhat.com>
15768
15769         * gnome/applet/wireless-applet.glade
15770                 - HIG-ify the Other Wireless Networks dialog a bit more
15771                 - Fix some potential segfaults in the info dialog
15772
15773 2005-08-30  Dan Williams  <dcbw@redhat.com>
15774
15775         * gnome/applet/applet-dbus-devices.c
15776                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15777
15778 2005-08-30  Dan Williams  <dcbw@redhat.com>
15779
15780         * gnome/applet/applet-dbus.[ch]
15781                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15782                         they weren't being used anyway
15783
15784 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15785
15786         * test/nmtestdevices.c: (print_usage), (main):
15787         Check the number of arguments, and fix a typo
15788
15789 2005-08-29  Dan Williams  <dcbw@redhat.com>
15790
15791         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15792         * gnome/applet/applet.c
15793                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15794
15795 2005-08-29  Dan Williams  <dcbw@redhat.com>
15796
15797         * gnome/applet/*
15798                 - Don't use threads any more.  Anything that blocks
15799                         (like gtk_dialog_run()) will  have to get fixed up which
15800                         should happen quickly.  We really only had threads to make
15801                         the animation smooth, and when everything got converted over
15802                         to DBus Pending Calls, the need for threads kind of went away
15803
15804 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15805
15806         * gnome/applet/applet.c: Draw VPN connections as radio items
15807         since we don't yet support multiple VPNs.
15808         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15809         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15810
15811 2005-08-29  Dan Williams  <dcbw@redhat.com>
15812
15813         Patch from j@bootlab.org
15814         - Make --without-named work
15815         - Make --with-dhcdbd work correctly
15816
15817 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15818
15819         * configure.in: Added "ca" to ALL_LINGUAS.
15820
15821 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15822
15823         * Fix up VPN state handling between the applet and NetworkManager,
15824                 so that the applet doesn't show a VPN as connected when one
15825                 really is not
15826                         - The applet no longer has a pointer to the active VPN's
15827                                 name, but tracks each VPNs state individually
15828                         - NM no longer has a "getActiveVPNConnection" method
15829                         - NM no longer broadcasts the "VPNConnectionChange" signal
15830                         - NM now broadcasts a "VPNConnectionStateChange" signal
15831                                 whenever the state of a VPN changes
15832
15833 2005-08-26  Dan Williams <dcbw@redhat.com>
15834
15835         * gnome/applet/applet-dbus-devices.c
15836           gnome/applet/applet-dbus-vpn.c
15837                 - Remove calls to dbus_pending_call_ref() because we already
15838                         "own" the pending call
15839                 - Remove calls to dbus_pending_call_get_completed() because
15840                         when we are in the callback, the pending call is completed
15841                         by definition
15842
15843 2005-08-22  Dan Williams <dcbw@redhat.com>
15844
15845         Patch by Bill Moss <bmoss@clemson.edu>
15846         * src/dhcp-manager/nm-dhcp-manager.c
15847                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15848                         some time to send out a RELEASE if they like
15849
15850 2005-08-22  Dan Williams <dcbw@redhat.com>
15851
15852         Noticed by Bill Moss <bmoss@clemson.edu>
15853         * src/NetworkManagerDbus.c
15854                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15855                         instead of just cancelling its activation
15856
15857         * src/NetworkManagerDevice.c
15858                 - (nm_device_deactivate): some small cleanups
15859                 - (nm_device_set_user_key_for_network): deactivate the device
15860                         instead of just cancelling its activation
15861
15862 2005-08-22  Dan Williams <dcbw@redhat.com>
15863
15864         Noticed by Bill Moss <bmoss@clemson.edu>
15865         * src/NetworkManagerDevice.c
15866                 - (nm_device_wireless_scan): fix scan timeout, we were
15867                         waiting way too long for scans to complete
15868
15869 2005-08-22  Dan Williams <dcbw@redhat.com>
15870
15871         Patch from j@bootlab.org:
15872         * src/backends/NetworkManagerDebian.c
15873                 - Make the Debian backend work for static IP again
15874
15875 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15876
15877         * gnome/applet/other-network-dialog.c:
15878         The "Create New Network" and "Connect to Other Network"
15879         dialogs share alot of code, but shouldn't share a window
15880         title.  Give them different ones.
15881
15882         * gnome/applet/wireless-applet.glade:
15883         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15884         Some more minor UI tweaks.
15885
15886 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15887
15888         * gnome/applet/other-network-dialog.c:
15889         * gnome/applet/wireless-applet.glade:
15890         Also need mnemonic widgets, and underline enabled.
15891
15892 2005-08-19  Dan Williams <dcbw@redhat.com>
15893
15894         * vpn-daemons/vpnc/nm-vpnc-service.c
15895                 - (vpnc_watch_cb): remove no-longer-relevant comment
15896                 - (write_config_option): new function, helper to write
15897                         config options to vpnc's stdin
15898                 - (nm_vpnc_config_write): use the new helper, make the
15899                         code shorter
15900
15901 2005-08-19  Christopher Aillon <caillon@redhat.com>
15902
15903         * gnome/applet/passphrase-dialog.c:
15904         * gnome/applet/wireless-applet.glade:
15905         Make the passphrase dialog response based, and treat
15906         responses other than OK (such as Esc, [X]) as a cancel.
15907
15908 2005-08-18  Christopher Aillon <caillon@redhat.com>
15909
15910         * initscript/Gentoo/NetworkManager:
15911         * initscript/RedHat/NetworkManager:
15912         * initscript/RedHat/NetworkManagerDispatcher:
15913         * initscript/SUSE/networkmanager:
15914         CVS remove these in place of .in replacements
15915
15916         * configure.in:
15917         * initscript/Gentoo/NetworkManager.in:
15918         * initscript/RedHat/NetworkManager.in:
15919         * initscript/RedHat/NetworkManagerDispatcher.in:
15920         * initscript/SUSE/networkmanager.in:
15921         These scripts now are generated so they work still when
15922         NM is built using a bindir other than /usr/bin
15923
15924 2005-08-18  Dan Williams <dcbw@redhat.com>
15925
15926         * gnome/applet/main.c
15927                 - Revert previous change for --no-session since
15928                         --sm-disable does the same thing
15929
15930 2005-08-18  Dan Williams <dcbw@redhat.com>
15931
15932         * gnome/applet/applet-dbus-info.c
15933                 - (nmi_dbus_create_error_message): new function
15934                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15935                         functions.  Also don't check for both device _and_ network before
15936                         asking for a user's key, because we may not have gotten all our
15937                         networks back from NM quite yet (due to the dbus pending calls
15938                         coming in later).  Fixes a hang in NM/nm-applet.
15939
15940         * src/NetworkManagerDbus.c
15941                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15942                         slightly more sane manner, even though we are still broken for
15943                         certain other error conditions.
15944                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15945                         to the info-daemon too
15946
15947         * src/NetworkManagerDevice.c
15948                 - Fix some debug messages to be info messages instead
15949
15950 2005-08-18  Dan Williams <dcbw@redhat.com>
15951
15952         * gnome/applet/main.c
15953                 - Add new "--no-session" parameter that disables applet
15954                         session management, ie for testing
15955
15956 2005-08-18  Christopher Aillon <caillon@redhat.com>
15957
15958         * gnome/applet/other-network-dialog.c:
15959         * gnome/applet/wireless-applet.glade: More mnemonics
15960
15961 2005-08-17  Robert Love  <rml@novell.com>
15962
15963         * initscript/SUSE/networkmanager: update
15964
15965 2005-08-17  Dan Williams  <dcbw@redhat.com>
15966
15967         * Tag NM_0_4_1_RELEASE
15968
15969 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15970
15971         * gnome/applet/applet.c: More translatable string cleanup
15972
15973
15974 2005-08-17  Dan Williams  <dcbw@redhat.com>
15975
15976         * gnome/applet/applet-dbus-info.c
15977                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15978                         from the dbus message, which tells us to unconditionally
15979                         ask the user for a new key.  Otherwise, we pull the key from
15980                         the keyring and return it.  If we fail to get the key from the
15981                         keyring, we ask the user for a new key.
15982                 - (nmi_dbus_get_network_key): new function to grab the key for
15983                         an essid from the keyring.
15984                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15985                         Also, don't return any key in the dbus message.
15986
15987         * src/NetworkManagerDbus.[ch]
15988                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15989                         indicate that we unconditionally want a new key.  This function
15990                         is now also used to get keys from the info-daemon which are
15991                         pre-stored, not just for asking the user for a new key.  The
15992                         "new_key" parameter indicates whether or not we wish to ask the
15993                         user for a new key.
15994                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15995                         info-daemon in the return message, so use NULL instead.  The
15996                         key will be filled in at connect time by calling
15997                         nm_dbus_get_user_key_for_network()
15998
15999         * src/NetworkManagerDevice.c
16000                 - (nm_device_wireless_configure): update for "new_key" param to
16001                         nm_dbus_get_user_key_for_network().  We initially set new_key
16002                         to FALSE to see if we have a stored key in the info-daemon, but
16003                         if the connection is unsuccessful at this stage we request a
16004                         new one
16005
16006 2005-08-17  Dan Williams  <dcbw@redhat.com>
16007
16008         * gnome/applet/icons/nm-no-connection.png
16009           gnome/applet/icons/nm-device-wired.png
16010                 - Use Diana's new RJ45 connector icons
16011
16012 2005-08-17  Dan Williams  <dcbw@redhat.com>
16013
16014         * src/NetworkManagerPolicy.c
16015                 - (nm_policy_device_change_check): clarify switching rules if
16016                         both new and old devices are valid; mainly, don't switch
16017                         away from user-requested wireless connection back to a wired
16018                         one
16019
16020 2005-08-17  Dan Williams  <dcbw@redhat.com>
16021
16022         * gnome/applet/Makefile.am
16023                 - Relocate the applet to /usr/bin since it is no longer
16024                         executed by anything, but directly by the user
16025
16026 2005-08-17  Dan Williams  <dcbw@redhat.com>
16027
16028         Patch from Bill Moss <bmoss@clemson.edu>
16029
16030         * gnome/applet/applet-dbus-info.[ch]
16031                 - (nmi_save_network_info): save timestamp for network if it
16032                         was a change requested by the user
16033                 - (nmi_dbus_update_network_info): get user_requested from dbus
16034                         message and pass to nmi_save_network_info()
16035
16036         * gnome/applet/applet.c
16037                 - (nmwa_update_network_timestamp): remove
16038                 - (nmwa_menu_item_activate): don't set timestamp on networks
16039                         here, only after a successful connect in nmi_save_network_info()
16040
16041         * src/NetworkManagerDbus.[ch]
16042                 - (nm_dbus_update_network_info): pass user_requested into the 
16043                         dbus message
16044
16045         * src/NetworkManagerPolicy.c
16046                 - (nm_policy_activation_finish): pass user_requested to
16047                         nm_dbus_update_network_info()
16048
16049 2005-08-16  Robert Love  <rml@novell.com>
16050
16051         * gnome/applet/applet.c: Better "Dial Up" menu item.
16052
16053 2005-08-16  Robert Love  <rml@novell.com>
16054
16055         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16056           "Connection Information" menu item.
16057
16058 2005-08-16  Dan Williams  <dcbw@redhat.com>
16059
16060         Patch from j@bootlab.org
16061         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16062
16063         * configure.in: allow specifying the path to dhcdbd
16064
16065 2005-08-16  Robert Love  <rml@novell.com>
16066
16067         Patch from j@bootlab.org
16068         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16069           src/backends/interface_parser.h: Debian dialup support.
16070
16071 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16072
16073         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16074         * gnome/applet/applet.c: Add some mnemonics for VPNC
16075
16076         * vpn-daemons/.cvsignore: fix this up a little bit
16077
16078 2005-08-16  Robert Love  <rml@novell.com>
16079
16080         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16081           support.
16082
16083 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16084
16085         * gnome/applet/applet.c: Split markup out of translatable strings
16086         and clean up logic a little bit.  (fixes #309012)
16087
16088 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16089
16090         * gnome/vpn-properties/nm-vpn-properties.c:
16091         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16092         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16093         Makeshift fix to remove newlines from translatable strings.
16094         Note that we now return an allocated string, so callers of
16095         get_confirmation_details () must now call g_free () on the
16096         result. (fixes #309033).
16097
16098 2005-08-12  Robert Love  <rml@novell.com>
16099
16100         * gnome/applet/applet-dbus.c: remove newlines from translatable
16101           strings--not needed here anyway. (fix b.g.o #309011)
16102         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16103
16104 2005-08-11  Robert Love  <rml@novell.com>
16105
16106         * gnome/applet/applet.c: mark string as translatable.
16107
16108 2005-08-11  Robert Love  <rml@novell.com>
16109
16110         * initscript/SUSE/networkmanager: update.
16111
16112 2005-08-11  Dan Williams  <dcbw@redhat.com>
16113
16114         * src/nm-dhcp-manager.c
16115                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16116                         an gateway returned from DHCP, try to use the address of the DHCP
16117                         server as the gateway instead.  Found by Ralf Ertzinger.
16118
16119 2005-08-10  Robert Love  <rml@novell.com>
16120
16121         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16122           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16123
16124 2005-08-10  Dan Williams  <dcbw@redhat.com>
16125
16126         Patch from Bill Moss <bmoss@clemson.edu>
16127         * Consolidate writes of access point information updates to the info daemon
16128                 so that we only do it when the connection to the access point was
16129                 successful.  Also consolidates updates to GConf in the Gnome applet.
16130
16131         * src/nm-netlink-monitor.c
16132                 - Silence compile warning when calling g_object_new()
16133
16134 2005-08-08  Dan Williams  <dcbw@redhat.com>
16135
16136         Patch from Steev <steev@steev.net>:
16137         * src/backends/NetworkManagerGentoo.c
16138                 - Stub new dialup backend functions
16139
16140 2005-08-08  Dan Williams  <dcbw@redhat.com>
16141
16142         Patch from Colin Slater:
16143         * src/backends/NetworkManagerGentoo.c
16144                 - (nm_system_update_dns): Fix exit status check for restarting
16145                         nscd
16146
16147 2005-08-05  Robert Love  <rml@novell.com>
16148
16149         * NetworkManager.h,
16150           gnome/applet/applet-dbus-devices.c,
16151           gnome/applet/applet-dbus-devices.h,
16152           gnome/applet/applet-dbus.c,
16153           gnome/applet/applet.c,
16154           gnome/applet/applet.h,
16155           src/NetworkManager.c,
16156           src/NetworkManagerMain.h,
16157           src/NetworkManagerSystem.h,
16158           src/backends/NetworkManagerRedHat.c,
16159           src/backends/NetworkManagerSuSE.c,
16160           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16161
16162 2005-08-05  Robert Love  <rml@novell.com>
16163
16164         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16165           machine's hostname to make adhoc creation idiot-proof.
16166
16167 2005-08-04  Robert Love  <rml@novell.com>
16168
16169         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16170           freed.
16171
16172 2005-08-04  Dan Williams  <dcbw@redhat.com>
16173
16174         * gnome/applet/applet-dbus-info.c
16175           gnome/applet/applet-dbus-info.h
16176                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16177                         to store key, key type, and auth method rather than just auth method
16178                 - (nmi_dbus_update_network_info): new function
16179                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16180
16181         * gnome/applet/passphrase-dialog.c
16182                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16183                         of saving the info ourselves
16184
16185         * gnome/libnm_glib/libnm_glib.c
16186                 - Remove the stupid version check for dbus
16187
16188         * src/NetworkManagerAP.c
16189           src/NetworkManagerAP.h
16190                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16191
16192         * src/NetworkManagerDbus.c
16193           src/NetworkManagerDbus.h
16194                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16195                         more than just the auth method
16196
16197         * src/NetworkManagerDevice.c
16198                 - Update network info at the appropriate times
16199
16200 2005-07-29  Ray Strode  <rstrode@redhat.com>
16201
16202         * src/NetworkManager.c (nm_info_handler): don't use input as format
16203         string (Spotted by Ian Jackson).
16204
16205 2005-07-27  Dan Williams  <dcbw@redhat.com>
16206
16207         * src/nm-dbus-nm.c
16208           src/nm-dbus-net.c
16209                 - Random cleanups of spacing
16210
16211         * gnome/applet/applet.h
16212           gnome/applet/other-network-dialog.c
16213           gnome/applet/passphrase-dialog.c
16214                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16215
16216         Patch from Bill Moss:
16217                 - Make Other Wireless Networks work again with encryption keys
16218
16219 2005-07-26  Dan Williams  <dcbw@redhat.com>
16220
16221         Patch from Steev <steev@steev.net>:
16222         * src/backends/NetworkManagerGentoo.c
16223           src/backends/Makefile.am
16224                 - Fix up Gentoo backend
16225
16226 2005-07-26  Robert Love  <rml@novell.com>
16227
16228         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16229
16230 2005-07-25  Robert Love  <rml@novell.com>
16231
16232         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16233           in the same group as the wireless networks, since they are all
16234           mutually exclusive.
16235
16236 2005-07-24  Ray Strode  <rstrode@redhat.com>
16237
16238         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16239         remove unneeded NULL arg from g_object_new().  Any
16240         warnings caused by not having the extra NULL are just a
16241         result of a bug in glib 2.7.0 - 2.7.2.
16242
16243 2005-07-22  Robert Love  <rml@novell.com>
16244
16245         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16246
16247 2005-07-22  Robert Love  <rml@novell.com>
16248
16249         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16250           parameters (gcc 4.0.2 warning fix).
16251
16252 2005-07-18  Robert Love  <rml@novell.com>
16253
16254         Suggested by Aaron Bockover (abockover@novell.com)
16255         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16256           s/Ascii/ASCII
16257         * gnome/applet/passphrase-dialog.c: ditto
16258         * gnome/applet/wireless-applet.glade: ditto
16259
16260 2005-07-13  Dan Williams  <dcbw@redhat.com>
16261
16262         Patch from Ray Strode <halfline@gmail.com>
16263         * vpn-daemons/vpnc/nm-vpnc-service.c
16264                 - Don't let vpnc daemonize, fixes some races with PID file reading
16265
16266 2005-07-13  Dan Williams  <dcbw@redhat.com>
16267
16268         Patch from Ray Strode <halfline@gmail.com>
16269         * Random cleanups for strict CFLAGS
16270
16271 2005-07-07  Dan Williams  <dcbw@redhat.com>
16272
16273         Patch from Derek Atkins <warlord@MIT.EDU>
16274         * src/nm-dbus-net.c:
16275                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16276
16277 2005-07-07  Dan Williams  <dcbw@redhat.com>
16278
16279         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16280         * src/backends/NetworkManagerGentoo.c
16281                 - Gentoo backend Static IP nameserver fixes
16282                 - General Gentoo backend goodness
16283
16284 2005-07-07  Dan Williams  <dcbw@redhat.com>
16285
16286         Patch from Bastien Nocera:
16287         * gnome/applet/applet.c
16288                 - Fix up error reporting when icons or glade files are missing
16289
16290 2005-07-07  Robert Love  <rml@novell.com>
16291
16292         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16293           are not any VPN connections above it.
16294
16295 2005-07-07  Robert Love  <rml@novell.com>
16296
16297         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16298
16299 2005-07-05  Robert Love  <rml@novell.com>
16300
16301         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16302           zero.
16303
16304 2005-07-05  Robert Love  <rml@novell.com>
16305
16306         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16307           on wired or unencrypted wireless.
16308
16309 2005-07-01  Robert Love  <rml@novell.com>
16310
16311         * src/NetworkManagerSystem.c: Print the error via strerror().
16312
16313 2005-06-30  Robert Love  <rml@novell.com>
16314
16315         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16316           then exit if the glade file is not found.  currently the application
16317           just hangs.
16318
16319 2005-06-30  Robert Love  <rml@novell.com>
16320
16321         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16322           explicitly up all interfaces on wake from sleep.
16323
16324 2005-06-30  Robert Love  <rml@novell.com>
16325
16326         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16327           with information about the currently active connection.
16328         * gnome/applet/applet.h: (ditto)
16329         * gnome/applet/wireless-applet.glade: (ditto), new file
16330
16331 2005-06-30  Robert Love  <rml@novell.com>
16332
16333         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16334         * src/nm-dbus-nm.c: print when we sleep and wake up.
16335         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16336         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16337           in /sbin unless D-BUS is, folks).
16338         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16339
16340 2005-06-27  Robert Love  <rml@novell.com>
16341
16342         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16343           case.
16344
16345 2005-06-27  Robert Love  <rml@novell.com>
16346
16347         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16348           items radios.
16349
16350 2005-06-26  Robert Love  <rml@novell.com>
16351
16352         * src/NetworkManagerDevice.c: be specific about which device in
16353           nm_info() message.
16354
16355 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16356
16357         * src/nm-netlink-monitor.c: correct spelling error.
16358
16359 2005-06-23  Robert Love  <rml@novell.com>
16360
16361         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16362         * gnome/applet/passphrase-dialog.c: more of that keyring!
16363
16364 2005-06-23  Robert Love  <rml@novell.com>
16365
16366         * configure.in: remove extraneous GNOMEKEYRING directives.
16367         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16368         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16369         * gnome/applet/passphrase-dialog.c: whitespace.
16370
16371 2005-06-23  Robert Love  <rml@novell.com>
16372
16373         * src/NetworkManagerDevice.c: division in assignment was flipped.
16374
16375 2005-06-23  David Zeuthen  <david@fubar.dk>
16376
16377         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16378         signal to the child to indicate that we got what we wanted when we
16379         see two new-lines right after each other.
16380         (nmwa_vpn_request_password): Pass a structure with several members
16381         instead of just the passwords
16382
16383 2005-06-23  Dan Williams <dcbw@redhat.com>
16384
16385         * src/NetworkManager.c
16386           src/NetworkManagerMain.h
16387                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16388                 - (nm_hal_init): new function, init libhal context then add devices
16389                 - (nm_hal_deinit): new function, clean up libhal context
16390                 - (nm_data_free): Move Hal cleanup here
16391                 - (main): check whether Hal is running, and if so, get a list of
16392                         network devices from it
16393
16394         * src/NetworkManagerDbus.c
16395                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16396                         and when it appears, get a list of network devices from it.  If
16397                         Hal goes away, clean up the libhal context
16398
16399 2005-06-22  Robert Love  <rml@novell.com>
16400
16401         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16402           permissions of scripts before executing.
16403
16404 2005-06-21  Robert Love  <rml@novell.com>
16405
16406         * initscript/SUSE/networkmanager: update.
16407         * src/backends/NetworkManagerSuSE.c: cleanup.
16408
16409 2005-06-21  Robert Love <rml@novell.com>
16410
16411         * gnome/applet/applet.c: use menu mnemonics.
16412         * gnome/applet/menu-items.c: (ditto)
16413
16414 2005-06-21  Robert Love  <rml@novell.com>
16415
16416         * applet/applet-dbus-devices.c: mark non-static functions static.
16417         * applet/applet-dbus-vpn.c: (ditto)
16418         * applet/applet.c: (ditto)
16419         * applet/nm-device.h: (ditto)
16420         * applet/other-network-dialog.c: (ditto)
16421         * applet/passphrase-dialog.c: (ditto)
16422         * NetworkManager.c: (ditto)
16423         * NetworkManagerDbus.c: (ditto)
16424         * NetworkManagerDevice.c: (ditto)
16425         * NetworkManagerPolicy.c: (ditto)
16426         * NetworkManagerUtils.c: (ditto)
16427         * NetworkManagerWireless.c: (ditto)
16428         * NetworkManagerWireless.h: (ditto)
16429         * nm-netlink-monitor.c: (ditto)
16430         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16431         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16432         * autoip.c: include autoip.h.
16433         * autoip.h: new file.  define get_autoip().
16434         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16435         * NetworkManagerDbus.h: remove duplicate definitions.
16436
16437 2005-06-20  Robert Love  <rml@novell.com>
16438
16439         * Makefile.am: Add missing intltool-foo.in generated files to
16440           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16441           with the start of stuff to cleanup on 'distclea'.
16442         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16443           stuff right and 'distcheck' works.
16444         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16445           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16446           Makefile.am for each.  And systray/Makefile needs to be redone.
16447
16448 2005-06-19  Dan Williams <dcbw@redhat.com>
16449
16450         * src/NetworkManagerDevice.c
16451         - (nm_device_wireless_process_scan_results): scan every 20s when
16452           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16453
16454 2005-06-19  Dan Williams <dcbw@redhat.com>
16455
16456         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16457
16458 2005-06-18  Ray Strode <rstrode@redhat.com>
16459
16460         * src/nm-netlink-monitor.c 
16461         (nm_netlink_monitor_event_handler): check for the presence
16462         of either error condition not both. 
16463         
16464         (nm_netlink_monitor_error_handler): emit error signal if
16465         error occurs.
16466
16467         (nm_netlink_monitor_event_handler),
16468         (nm_netlink_monitor_error_handler),
16469         (nm_netlink_monitor_disconnect_handler): if an 
16470         assertion fails disconnect the event handler to prevent 
16471         infinite loops.
16472
16473         * src/nm-netlink-monitor.h: add new error condition
16474         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16475
16476 2005-06-18  Ray Strode <rstrode@redhat.com>
16477
16478         * src/nm-netlink-monitor.c 
16479         (nm_netlink_monitor_event_handler): remove bogus < 0
16480         check on unsigned value and return early if the kernel
16481         didn't send any bytes.
16482
16483 2005-06-17  Robert Love  <rml@novell.com>
16484
16485         * initscript/SUSE/networkmanager: Change the Provides and default
16486         run levels
16487
16488 2005-06-16  Dan Williams <dcbw@redhat.com>
16489
16490         Patch from Robert Love:
16491         * gnome/applet/applet.c
16492                 - Beautify some applet menu item names
16493
16494 2005-06-17  David Zeuthen  <davidz@redhat.com>
16495
16496         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16497         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16498         Also add new methods can_export, import_file and export.
16499
16500         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16501         to the main UI
16502
16503         * gnome/vpn-properties/nm-vpn-properties.c:
16504         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16505         nm-vpn-ui-interface.h.
16506         (update_edit_del_sensitivity): Also update "Export" sensitivity
16507         (add_vpn_connection): Also add new SVC_NAME column
16508         (import_settings): New function
16509         (retrieve_data_from_selected_connection): New function
16510         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16511         this function
16512         (export_cb): New function
16513         (init_app): Also setup the "export" widget
16514         (main): Support the --import-service and --import-file commandline
16515         arguments
16516
16517         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16518         D-BUS 0.34
16519
16520 2005-06-16  Dan Williams <dcbw@redhat.com>
16521
16522         Patch from Robert Love:
16523         * gnome/applet/menu-items.c
16524                 - (network_menu_item_new): pass -1 as wireless network
16525                         menu items height size request rather than ascent / 2
16526
16527 2005-06-16  Dan Williams <dcbw@redhat.com>
16528
16529         * Clean up wording in Wireless Scan Methods menu items and constants
16530
16531 2005-06-16  Robert Love  <rml@novell.com>
16532
16533         * po/POTFILES.in
16534                 - remove gtkcell* files
16535
16536 2005-06-15  Dan Williams <dcbw@redhat.com>
16537
16538         Patch from Robert Love: make the applet stetic
16539
16540         * gnome/applet/Makefile.am
16541                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16542
16543         * gnome/applet/gtkcellview.h
16544           gnome/applet/gtkcellview.c
16545           gnome/applet/gtkcellrendererprogress.h
16546           gnome/applet/gtkcellrendererprogress.c
16547                 - Removed
16548
16549         * gnome/applet/menu-items.c
16550                 - Progress bars are 5:1 size ratio
16551                 - Use GTK progress bars rather than internal ones
16552
16553 2005-06-15  Dan Williams <dcbw@redhat.com>
16554
16555         Patch from Robert Love:
16556         * initscript/SUSE/networkmanager
16557                 - Fix typo
16558
16559 2005-06-15  Dan Williams <dcbw@redhat.com>
16560
16561         * src/backends/NetworkManagerSuSE.c
16562           src/backends/NetworkManagerRedHat.c
16563           src/backends/NetworkManagerDebian.c
16564                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16565
16566 2005-06-15  Dan Williams <dcbw@redhat.com>
16567
16568         * src/backends/NetworkManagerDebian.c
16569                 - Add nm_system_device_get_use_dhcp() to debian backend
16570
16571         Patch from Kay Sievers:
16572         * src/backends/NetworkManagerSuSE.c
16573                 - Update debian backend for static IP nameservers
16574
16575         * src/NetworkManagerDevice.c
16576                 - Actually set the device to use static IP or DHCP rather
16577                         than always DHCP
16578
16579 2005-06-15  Dan Williams <dcbw@redhat.com>
16580
16581         Patch from Thom May:
16582         * src/backends/NetworkManagerDebian.c
16583                 - Update debian backend for static IP nameservers
16584
16585 2005-06-15  Dan Williams <dcbw@redhat.com>
16586
16587         Patches from Robert Love:
16588         * gnome/applet/wireless-applet.glade
16589                 - Tighten up wording
16590
16591         * src/NetworkManagerDevice.c
16592                 - Remove misplaced ';'
16593
16594         * configure.in
16595           initscript/Makefile.am
16596           initscript/SUSE/Makefile.am
16597           initscript/SUSE/networkmanager
16598                 - Add SUSE initscript
16599
16600 2005-06-12  David Zeuthen  <davidz@redhat.com>
16601
16602         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16603
16604         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16605
16606         * gnome/vpn-properties/nm-vpn-properties.c: New file
16607
16608         * gnome/vpn-properties/Makefile.am: New file
16609
16610         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16611         array of passwords
16612
16613         * src/vpn-manager/nm-vpn-manager.c
16614         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16615         instead of just a single one
16616
16617         * src/vpn-manager/nm-dbus-vpn.c:
16618         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16619         here
16620         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16621
16622         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16623         Change the interface here to give a list of passwords. Also, don't
16624         require username, but do require service
16625
16626         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16627         the binary for the auth-dialog and use that instead of putting up a
16628         dialog asking for a single password
16629
16630         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16631         however do remember the service
16632
16633         * gnome/applet/main.c (main): Setup i18n
16634
16635         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16636         connection to '%s'" to the tooltip if we are connected using VPN
16637         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16638         key to determine whether we the auth-dialog needs to
16639         reprompt. Also cope with the fact that the auth-dialog now returns
16640         an array of passwords.
16641         (nmwa_menu_configure_vpn_item_activate): New handler for
16642         "Configure VPN..." menu item
16643         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16644         (is_vpn_available): New function to determine if we got any
16645         NM-compatible VPN software installed
16646         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16647         items only if we have NM-compatible VPN software installed
16648         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16649         logic for detecting when VPN connections are removed
16650
16651         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16652         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16653         since these are defined elsewhere
16654
16655         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16656         function used to keep track of whether the last attempt succeded
16657         (nmwa_dbus_filter): Update last_attempt according to whether the
16658         VPN connection could be established or not
16659
16660         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16661         Change prototype to take an array of passwords, not just a single
16662         password
16663
16664         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16665         update service, not user
16666         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16667         dbus_active_vpn_name is not NULL before using it
16668         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16669         string array instead of assuming a single password
16670
16671         * gnome/applet/applet-dbus-info.c:
16672         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16673         user name; don't read from gconf
16674
16675         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16676         VPN_NAME_FILES_DIR
16677
16678         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16679
16680         * configure.in: Add checks for gmodule-2.0.
16681         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16682         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16683         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16684         for details
16685
16686         * vpn-daemons/Makefile.am: Removed
16687
16688         * vpn-daemons/README: New file to describe extensions points for VPN
16689         software
16690
16691 2005-06-10  Dan Williams <dcbw@redhat.com>
16692
16693         * src/backends/NetworkManagerRedHat.c
16694                 - (get_current_profile_name): new function, grab current network profile name from
16695                         /etc/sysconfig/network
16696                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16697                         update an IP4 Config structure's settings from it
16698                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16699                         get DNS info from current network profile
16700
16701 2005-06-09  Dan Williams <dcbw@redhat.com>
16702
16703         Patch from Robert Love:
16704         * src/NetworkManagerDevice.c
16705           src/NetworkManagerUtils.c
16706                 - 64-bit build fixes
16707
16708 2005-06-09  Dan Williams <dcbw@redhat.com>
16709
16710         Patch from Kay Sievers and Robert Love:
16711         * configure.in
16712           src/backends/Makefile.am
16713           src/backends/NetworkManagerSuSE.c
16714                 - Add SuSE support
16715
16716 2005-06-09  Dan Williams <dcbw@redhat.com>
16717
16718         * NetworkManager.h
16719                 - Add NMWirelessScanMethod enum for scan methods
16720
16721         * gnome/applet/applet-dbus-devices.c
16722                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16723                 - (nmwa_dbus_update_scanning_enabled): remove
16724                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16725                         since it got removed
16726                 - (nmwa_dbus_enable_scanning): remove
16727
16728         * gnome/applet/applet-dbus-info.c
16729                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16730                         update the wireless scanning method from NMI
16731                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16732                         method value to NetworkManager
16733                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16734
16735         * gnome/applet/applet-dbus-info.h
16736                 - Add prototype for nmi_dbus_signal_update_scan_method
16737
16738         * gnome/applet/applet.c
16739                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16740                         Wireless Scanning menu based on current wireless scan method
16741                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16742                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16743                         and update our menu items to make sure the right one is checked
16744                 - (nmwa_set_scanning_enabled_cb): remove
16745                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16746                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16747                         Scanning menu item
16748                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16749                         from GConf
16750                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16751                         so we get notified of preference values too
16752                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16753
16754         * gnome/applet/applet.h
16755                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16756                 - Add wireless scan method member to applet data
16757                 - Remove pause_scanning_item, add Wireless Scanning submenu
16758
16759         * src/NetworkManager.c
16760                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16761                 - (main): grab scanning method from NMI if we can
16762
16763         * src/NetworkManagerDbus.c
16764                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16765                         nm_dbus_update_wireless_scan_method()
16766                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16767                         from NMI
16768                 - (nm_dbus_nmi_is_running): redundant function, removed
16769                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16770                         when NMI comes back
16771
16772         * src/NetworkManagerDevice.c
16773                 - (nm_device_is_activated): return TRUE if the device is activated
16774                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16775                         and we are activated
16776
16777         * src/nm-dbus-nm.c
16778                 - (nm_dbus_nm_set_scanning_enabled): removed
16779                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16780                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16781
16782 2005-06-09  Dan Williams <dcbw@redhat.com>
16783
16784         * NetworkManager.h
16785           src/vpn-manager/nm-vpn-service.c
16786                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16787
16788 2005-05-27  Dan Williams <dcbw@redhat.com>
16789
16790         * vpn-daemons/vpnc/nm-vpnc-service.c
16791                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16792                         Should fix the bug where the VPN connection terminates the first time.
16793
16794 2005-05-20  Dan Williams <dcbw@redhat.com>
16795
16796         * NetworkManager.h
16797                 - Differentiate VPN config signals between bad VPN config options
16798                         and bad IP config
16799
16800         * gnome/applet/applet-dbus-info.h
16801                 - Add prototypes for wireless network and vpn connection update functions
16802
16803         * gnome/applet/applet-dbus.c
16804                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16805
16806         * gnome/applet/applet.c
16807                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16808                         error signals
16809                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16810                         propogation to NetworkManager
16811                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16812                         notify propogation to NetworkManager
16813
16814         * src/NetworkManagerDbus.c
16815                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16816                         are updating so a network can be removed from it if necessary
16817
16818         * src/vpn-manager/nm-vpn-manager.c
16819                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16820
16821         * vpn-daemons/vpnc/nm-vpnc-service.c
16822                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16823                 - (nm_vpnc_dbus_signal_launch_failed): remove
16824                 - (nm_vpnc_dbus_signal_connect_failed): remove
16825                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16826                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16827                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16828                         for new generalized error signal function, remove config file stuff
16829                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16830                         we can write configuration options to it
16831                 - (nm_vpnc_config_file_generate): removed
16832                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16833                 - (nm_vpnc_config_options_validate): validate the config options we receive
16834                         from NetworkManager to block potential exploits
16835                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16836                         starting vpnc
16837                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16838                         to NetworkManager
16839
16840 2005-05-16  Dan Williams  <dcbw@redhat.com>
16841
16842         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16843                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16844                         is not "connect"
16845
16846 2005-05-16  Dan Williams  <dcbw@redhat.com>
16847
16848         Patch from Tomislav Vujec <tvujec@redhat.com>
16849         * gnome/applet/applet-dbus-info.c
16850                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16851                         GConf and pass them to NetworkManager.  New key is 'routes' under
16852                         the VPN connection, and should be a string list
16853
16854         * src/NetworkManagerSystem.c
16855                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16856                         set them on the device when we set the rest of the VPN config.  Ensure
16857                         they are in the correct format since they are passed directly to the
16858                         command line.
16859
16860         * src/backends/NetworkManagerRedHat.c
16861           src/backends/NetworkManagerDebian.c
16862                 - (nm_system_device_add_route_via_device_with_iface): new function
16863
16864         * src/vpn-manager/nm-dbus-vpn.c
16865                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16866
16867         * src/vpn-manager/nm-vpn-manager.c
16868                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16869                         them into the IP4 config functions
16870
16871 2005-05-15  Dan Williams  <dcbw@redhat.com>
16872
16873         From Filip Miletic:
16874         * po/sr.po
16875           po/sr@Latn.po
16876           configure.in
16877                 - Serbian translation added
16878
16879 2005-05-15  Dan Williams  <dcbw@redhat.com>
16880
16881         * dispatcher-daemon/NetworkManagerDispatcher.c
16882                 - (main): sync arguments with NetworkManager and the applet, now use
16883                         "--no-daemon" rather than "daemon=no"
16884                 - (nmd_print_usage): Fix script path in usage message
16885
16886 2005-05-15  Dan Williams  <dcbw@redhat.com>
16887
16888         * src/NetworkManagerDevice.[ch]
16889           src/NetworkManagerPolicy.c
16890           src/NetworkManager.c
16891           src/nm-dbus-nm.c
16892                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16893                         longer send the DeviceNoLongerActive signal unconditionally, but only
16894                         when the device is actually active.
16895
16896         * dispatcher-daemon/NetworkManagerDispatcher.c
16897                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16898                         and simplify the logic
16899                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16900                         we free it later on
16901
16902         * initscript/RedHat/Makefile.am
16903           initscript/RedHat/NetworkManagerDispatcher
16904                 - Add initscript for NetworkManagerDispatcher
16905
16906
16907         Patch from Bill Moss:
16908         * dispatcher-daemon/NetworkManagerDispatcher.c
16909                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16910
16911         * src/NetworkManagerDbus.c
16912                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16913                         and DeviceNowActive gets signaled, then the device has a new IP address
16914                         anyway.  There's no need for a separate signal.
16915
16916         * src/NetworkManagerDevice.c
16917                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16918
16919         * src/NetworkManagerPolicy.c
16920                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16921                         activates successfully.  This kind of went missing when I reworked the
16922                         activation code.
16923
16924 2005-05-15  Dan Williams  <dcbw@redhat.com>
16925
16926         * configure.in
16927                 - Check for dhcdbd and error if its not found
16928
16929         * src/dhcp-manager/Makefile.am
16930           src/dhcp-manager/nm-dhcp-manager.c
16931                 - Use path to dhcdbd that configure found
16932
16933 2005-05-14  Dan Williams  <dcbw@redhat.com>
16934
16935         * gnome/applet/nm-device.c
16936                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16937                         sort wireless networks alphabetically
16938
16939         * gnome/applet/applet-dbus-devices.c
16940                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16941                         before copying them over to the GUI
16942
16943 2005-05-14  Dan Williams  <dcbw@redhat.com>
16944
16945         * src/NetworkManager.c
16946                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16947                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16948                         the device list, as does nm_get_active_device() which is called from
16949                         nm_vpn_manager_deactivate_vpn_connection().
16950
16951 2005-05-14  Dan Williams  <dcbw@redhat.com>
16952
16953         * NetworkManager.h
16954                 - Add signals for VPN Launch and Connect failures
16955
16956         * gnome/applet/applet-dbus.c
16957                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16958
16959         * gnome/applet/applet.c
16960                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16961                         function to handle all VPN failure messages
16962                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16963                         function to hanlde all VPN failure  messages
16964                 - (show_warning_dialog): work around focus-stealing prevention
16965
16966         * gnome/applet/other-network-dialog.c
16967           gnome/applet/passphrase-dialog.c
16968                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16969                         problem where it never enabled for ASCII Key and Hex Key types
16970
16971         * gnome/applet/wireless-applet.glade
16972                 - Add window title to Other Wireless Network Dialog
16973
16974         * src/vpn-manager/nm-dbus-vpn.c
16975                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16976                         function to handle all VPN failure messages
16977
16978         * src/vpn-manager/nm-vpn-manager.c
16979                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16980
16981         * vpn-daemons/vpnc/nm-vpnc-service.c
16982                 - (nm_vpnc_dbus_signal_launch_failed): new function
16983                 - (nm_vpnc_dbus_signal_connect_failed): new function
16984                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16985                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16986                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16987                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16988
16989 2005-05-11  Dan Williams  <dcbw@redhat.com>
16990
16991         * vpn-daemons/vpnc/nm-vpnc-service.c
16992                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16993                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16994                         file exists before trying to write it out.
16995
16996 2005-05-10  Dan Williams  <dcbw@redhat.com>
16997
16998     * gnome/applet/applet-dbus-device.c
16999         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17000             prevented just entering ESSID and leaving key and key type up to
17001             NetworkManager (which should have them already cached)
17002
17003 2005-05-08  Dan Williams  <dcbw@redhat.com>
17004
17005         * src/NetworkManagerPolicy.c
17006                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17007                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17008                         fix a situation where NM is told to terminate and the device stops activation,
17009                         but the main thread isn't aware of that because it would never have run
17010                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17011                         had already quit.
17012
17013         * src/NetworkManagerDevice.c
17014                 - (nm_device_probe_wired_link_state): cosmetic fixes
17015                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17016                         we've failed to activate or been canceled.
17017                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17018
17019 2005-05-08  Dan Williams  <dcbw@redhat.com>
17020
17021         * src/NetworkManagerWireless.c
17022                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17023                         value of WEXT quality structures, and add a debug message when we cannot
17024                         determine any quality % at all
17025
17026 2005-05-08  Dan Williams  <dcbw@redhat.com>
17027
17028         * src/dhcp-manager/nm-dhcp-manager.c
17029                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17030                         it goes down.
17031
17032 2005-05-06  Dan Williams  <dcbw@redhat.com>
17033
17034         * gnome/applet/applet-dbus-device.c
17035           gnome/applet/applet-dbus-info.c
17036           gnome/applet/applet-dbus.c
17037           gnome/applet/applet.c
17038           gnome/applet/applet.h
17039                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17040
17041         * gnome/applet/applet-dbus.c
17042                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17043                         so we notice when wired device's carriers come back on.  Should
17044                         fix issue with wired devices being grayed out even if the cable
17045                         is in, for devices that support carrier detection.
17046
17047         * gnome/applet/applet.c
17048                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17049                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17050                         tooltip message
17051                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17052                         Fix situation where applet wouldn't respond to menu selections
17053
17054         * src/NetworkManager.c
17055           src/NetworkManagerDevice.c
17056           src/NetworkManagerDbus.c
17057           src/NetworkManagerDbus.h
17058                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17059
17060         * src/NetworkManagerDbus.c
17061                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17062                         Remove, no longer used or relevant
17063                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17064                 - (nm_dbus_schedule_device_status_change_signal): add
17065
17066         * src/NetworkManagerDevice.c
17067                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17068                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17069                         ie don't deactivate them unless explicitly told to by the user.  Also send
17070                         CARRIER_OFF / CARRIER_ON signals when link changes
17071                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17072                         Don't print error message when device is no longer around
17073                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17074                         not just during activation
17075
17076         * src/NetworkManagerPolicy.c
17077                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17078                         auto-device-selection.
17079                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17080
17081         * src/NetworkManagerSystem.c
17082                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17083                         is no longer present (Bill Moss)
17084
17085         * src/backends/shvar.c
17086                 - (svOpenFile): Open read-only to make SELinux happy
17087
17088         * src/backends/NetworkManagerRedHat.c
17089                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17090                         the path to the ifcfg-* files
17091
17092 2005-05-05  Dan Williams  <dcbw@redhat.com>
17093
17094         * Expose activation stages to NetworkManager clients, like the applet
17095         * Add Diana's progress icons to the applet, cued off NM activation stage
17096         * Use more descriptive tooltips, cued off NM activation stage
17097
17098 2005-05-05  Ray Strode  <rstrode@redhat.com>
17099
17100         * src/nm-netlink-monitor.c:
17101                 - Use clear_event_source instead of g_nullify_pointer() again.
17102
17103 2005-05-05  Dan Williams  <dcbw@redhat.com>
17104
17105         * gnome/applet/main.c
17106                 - Fix session management so the applet is actually managed now
17107
17108         * gnome/applet/passphrase-dialog.c
17109                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17110
17111 2005-05-05  Dan Williams  <dcbw@redhat.com>
17112
17113         Patch from Bill Moss:
17114         * gnome/libnm_glib/libnm_glib.c
17115                 - Fix for dbus-0.33
17116
17117 2005-05-05  Dan Williams  <dcbw@redhat.com>
17118
17119         Suggestion from Bill Moss:
17120         * src/NetworkManagerSystem.c
17121                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17122
17123
17124         * src/NetworkManager.c
17125                 - (nm_data_free): move destruction of the various managers after
17126                         release of device list, because deactivating and freeing a device
17127                         requires at least the named manager
17128                 - (nm_poll_and_update_wireless_link_state):
17129                   (nm_device_link_activated):
17130                   (nm_device_link_deactivated):
17131                         don't grab the device list lock when actually updating device
17132                         link status or strength, since nm_device_set_link_active()
17133                         needs to call nm_get_active_device(), which also locks the device list.
17134
17135         * src/NetworkManagerDevice.c
17136                 - (nm_device_set_link_active): if a device's link switches from off->on,
17137                         and it's wired, and the active device is wireless (or there is no
17138                         active device), activate the new device whose link just came on
17139                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17140                         my only calling the link to the current ap "failed" when more than 2
17141                         consecutive link checks have failed
17142
17143 2005-05-04  Dan Williams  <dcbw@redhat.com>
17144
17145         * src/NetworkManagerDevice.c
17146                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17147                         but let link_to_specific_ap() do the locking where it needs
17148
17149         Patch from Bill Moss:
17150         * src/NetworkManagerSystem.c
17151                 - Set MTU of VPN devices to 1412
17152
17153 2005-05-04  Dan Williams  <dcbw@redhat.com>
17154
17155         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17156
17157         * Fix some holes in device activation and retaining the currently connected
17158                 access point
17159
17160 2005-05-03  Dan Williams  <dcbw@redhat.com>
17161
17162         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17163           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17164           means you need dhcdbd, which you can get here (get the latest one):
17165
17166                 http://people.redhat.com/jvdias/dhcdbd/
17167
17168           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17169           interface as dhcdbd.
17170
17171         * Rewrite device activation to facilitate the new DHCP infrastructure and
17172           future improvements.  Its now "activation request" based, ie there is a single
17173           activation request composed of the device, access point, and other info which
17174           follows the entire activation process.  There are 5 stages of the activation
17175           process which correspond to:
17176
17177                 1) Device preparation
17178                 2) Device configuration (bring it up, set ESSID/Key/etc)
17179                 3) IP Config Start (fire off DHCP if we're using it)
17180                 4) IP Config Get (grab config from DHCP or static config files)
17181                 5) IP Config Commit (set device's IP address, DNS, etc)
17182
17183           Note that there is no longer a "scanning" step, since the access point must
17184           be known _before_ activation starts.  If the access point drops out or does
17185           not exist for some reason, the entire activation process fails and must be
17186           restarted for a different access point or device.
17187
17188         Patch from Bill Moss:
17189         * gnome/applet/applet.c
17190                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17191
17192 2005-04-27  Dan Williams  <dcbw@redhat.com>
17193
17194         * gnome/applet/applet-dbus-vpn.c
17195           gnome/applet/applet.c
17196           gnome/applet/applet.h
17197                 - Fix up active VPN handling so that we reliably know when a VPN
17198                         connection has been deactivated
17199
17200         * src/vpn-manager/nm-vpn-manager.c
17201                 - Remove duplicate VPNConnectionChange signal
17202
17203 2005-04-27  Dan Williams  <dcbw@redhat.com>
17204
17205         Patch from Peter Jones:
17206         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17207
17208         Patch from Bill Moss:
17209         * src/NetworkManagerSystem.c
17210                 - Fix checking of return value from ioctl()
17211
17212 2005-04-27  Dan Williams  <dcbw@redhat.com>
17213
17214         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17215         * Warn and exit if icons cannot be found
17216
17217 2005-04-27  Dan Williams  <dcbw@redhat.com>
17218
17219         Patch from Tom Parker:
17220         * Update debian backend
17221
17222 2005-04-27  Dan Williams  <dcbw@redhat.com>
17223
17224         * Merge the applet and the info-daemon, and move the converged
17225                 applet under gnome/applet
17226         * Move libnm_glib to gnome/libnm_glib
17227         * Convert most dbus calls between the applet, info-daemon, and NM
17228                 into async calls
17229         * Fix a few things valgrind noticed
17230         * Make NM broadcast state more reliably
17231
17232 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17233
17234         * configure.in: Added ne in ALL_LINGUAS
17235
17236 2005-04-15  Dan Williams  <dcbw@redhat.com>
17237
17238         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17239                 code for dbus 0.2x versions
17240
17241 2005-04-15  Dan Williams  <dcbw@redhat.com>
17242
17243         Patches from Tom Parker:
17244         - Fix memleaks
17245         - Join with worker thread rather than polling for its exit
17246
17247         Patch from Bill Moss:
17248         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17249
17250 2005-04-15  Dan Williams  <dcbw@redhat.com>
17251
17252         - Fixes to pass 'make distcheck'
17253
17254 2005-04-15  Dan Williams  <dcbw@redhat.com>
17255
17256         Initial VPN Support
17257                 - supports 'vpnc'
17258                 - reworks device IP configuration, backend files have changed and will need
17259                         to be updated for all distributions.  I will try to do what I can for
17260                         them, but I cannot test them.
17261
17262         - Move named directory to src/named-manager
17263         - Make backends directory self-contained
17264
17265 2005-04-06  Dan Williams  <dcbw@redhat.com>
17266
17267         Add debug code for socket/file descriptor leaks.  We register every socket
17268         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17269         list of sockets that we forgot to close on shutdown.  This also consolidates
17270         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17271
17272 2005-04-06  Dan Williams  <dcbw@redhat.com>
17273
17274         * dhcpcd/dhcpcd.c
17275                 - (dhcp_interface_free): fix a file descriptor leak that may have
17276                         caused network drivers to not unload due to refcounts > 0
17277
17278 2005-04-04  Dan Williams  <dcbw@redhat.com>
17279
17280         * panel-applet/NMWirelessAppletDbus.c
17281                 - (nmwa_dbus_call_nm_method): remove some commented code
17282
17283         * src/NetworkManagerAPList.[ch]
17284                 - (nm_ap_list_remove_ap_by_essid): new function
17285
17286         * src/NetworkManagerDevice.c
17287                 - (nm_device_wireless_force_use): remove access points from the ignore list
17288                         when the user forces them
17289
17290         * src/nm-dbus-device.c
17291                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17292
17293 2005-04-04  Dan Williams  <dcbw@redhat.com>
17294
17295         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17296
17297 2005-04-04  Dan Williams  <dcbw@redhat.com>
17298
17299         * src/NetworkManagerDevice.c:
17300                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17301                         of only erroring after the second consecutive scan times out.  Also
17302                         don't exit when the card requires more time than we can give it, just
17303                         log the event and continue.
17304
17305 2005-04-01  Steve Murphy  <murf@e-tools.com>
17306
17307         * configure.in: Added "rw" to ALL_LINGUAS.
17308
17309 2005-04-01  Dan Williams <dcbw@redhat.com>
17310
17311         Perform scans during device activation, if needed.  Both activation 
17312         and scans run in the same GMainContext.  Therefore, if an access point
17313         is not found by the time the device starts activation, it will not
17314         be available until after activation.  We now try to scan during
17315         activation (in nm_wa_test) every 15s so that all available access
17316         points are more likely to be found and available for the activation
17317         procedure.
17318
17319         Also change nm_wireless_link_state_handle() to only update the "best"
17320         AP if we are not forcing a device and if we are not about to change
17321         state.  This attempts to work around a race when forcing a device,
17322         where the forced AP would get cleared out too soon by the link state
17323         checking timeout in the main thread, and the activation attempt with
17324         that AP would fail.
17325
17326 2005-04-01  Dan Williams <dcbw@redhat.com>
17327
17328         * po/POTFILES.in
17329                 - Update with new translatables
17330
17331 2005-03-31  Dan Williams <dcbw@redhat.com>
17332
17333         * panel-applet/NMWirelessAppletDbus.c
17334                 - Fix device names now that hal has changed device parenting for
17335                         network devices.
17336
17337 2005-03-31  Dan Williams <dcbw@redhat.com>
17338
17339         Tighten up handling of wireless devices that don't support wireless
17340         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17341         hadn't been doing pseudo-scanning for a while either and would just
17342         spin waiting for an access point.  They are now manual devices where
17343         the user must choose the access point from the menu every time.  All
17344         "allowed" access points are listed in the applet's menu regardless
17345         of whether or not they can be seen by the card, since it can't scan
17346         anyway.
17347
17348         * src/NetworkManager.c
17349                 - (nm_wireless_link_state_handle): new function, but only update
17350                         the "best" ap for non-scanning devices when its not activating,
17351                         and when no device is being forced on the card
17352                 - (nm_link_state_monitor): split wireless link state handling out
17353                         into separate function
17354
17355         * src/NetworkManagerDevice.c
17356                 - (nm_device_copy_allowed_to_dev_list): new function
17357                 - (nm_device_new): populate non-scanning cards' AP lists with
17358                         access points from the "allowed" list
17359                 - (nm_device_new): don't start a scanning timeout for devices that
17360                         can't scan
17361                 - (nm_device_activation_schedule_finish): new parameter, should be
17362                         the AP that failed to be connected to, pass it on to the
17363                         activation finish function in NetworkManagerPolicy.c
17364                 - (nm_device_activate_wireless): don't ever try to get a new AP
17365                         for non-scanning devices, just fail.  The user must choose
17366                         a new access point manually.
17367                 - (nm_device_activate): grab the AP that failed connection and
17368                         pass it on
17369                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17370                         a link to it, user must manually choose a new one
17371                 - (nm_device_do_pseudo_scan): remove function
17372                 - (nm_device_wireless_process_scan_results): remove bits for non-
17373                         scanning cards since they never get here
17374                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17375                         and fake the scan list for test devices a bit earlier
17376
17377         * src/NetworkManagerPolicy.c
17378                 - (nm_policy_activation_finish): use the failed_ap that we get
17379                         passed rather than getting the best_ap from the card, which
17380                         may have changed since we were scheduled
17381                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17382                         update their scan list directly from the allowed list when
17383                         we get updates to the allowed list from NetworkManagerInfo
17384
17385         * src/NetworkManagerPolicy.h
17386                 - New member for failed access point in NMActivationResult
17387
17388   -------------------------------------
17389
17390         Driver Notification patch: notifies the user when their driver
17391                 sucks.  Gives them the option to ignore further insertions
17392                 of the card that has the sucky driver.
17393
17394         * NetworkManager.h
17395                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17396                         enum and replace it with NO_CARRIER_DETECT and
17397                         NO_WIRELESS_SCAN
17398
17399         * panel-applet/NMWirelessApplet.[ch]
17400                 - Merge essid.glade -> wireless-applet.glade
17401                 - Implement the "Your driver sucks" notification dialog
17402
17403         * panel-applet/NMWirelessAppletDbus.c
17404                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17405                 - Grab hardware address for each device from NM too
17406                 - Check whether the driver for each device sucks or not whenever
17407                         a new device is noticed
17408
17409         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17410                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17411
17412         * src/NetworkManager.c
17413                 - Fix a double-unref on device removal
17414
17415         * src/NetworkManagerUtils.c
17416                 - Set appropriate driver support level on a device that doesn't
17417                         support scanning or carrier detection
17418
17419         * src/nm-dbus-device.c
17420                 - New "getHWAddress" dbus method on devices
17421                 - getSupportsCarrierDetect -> getDriverSupportLevel
17422
17423 2005-03-31  Dan Williams <dcbw@redhat.com>
17424
17425         * src/NetworkManagerDevice.c
17426                 - (nm_device_wireless_scan): Fix leak of scan results in some
17427                         instances
17428
17429 2005-03-29  Dan Williams <dcbw@redhat.com>
17430
17431         * src/NetworkManager.c
17432                 - (nm_poll_and_update_wireless_link_state): make code less indented
17433
17434         Patch from Bill Moss:
17435         * src/NetworkManager.c
17436                 - (nm_device_update_link_state): Update signal strength on wireless
17437                         devices every time we update link state too.
17438
17439 2005-03-29  Dan Williams <dcbw@redhat.com>
17440
17441         * src/NetworkManagerDevice.c
17442                 - (nm_device_set_essid): Work around Orinoco cards which need
17443                         extra time after setting the ESSID
17444
17445 2005-03-29  Dan Williams <dcbw@redhat.com>
17446
17447         * src/NetworkManagerDevice.c
17448                 - Merge one more bit of Peter Jones' completion patch
17449
17450 2005-03-29  Dan Williams <dcbw@redhat.com>
17451
17452         * src/NetworkManagerDevice.c
17453                 - (nm_device_force_use): Fix possible segfault
17454
17455 2005-03-29  Dan Williams <dcbw@redhat.com>
17456
17457         * src/NetworkManagerDevice.c
17458                 - Use iw_get_ext() where we should rather than iw_set_ext()
17459
17460 2005-03-29  Dan Williams <dcbw@redhat.com>
17461
17462         * src/NetworkManagerDevice.c
17463                 - (nm_device_set_up_down): remove check for unsupported devices
17464                         that caused NM to not bring devices up when they were
17465                         added to the device list.
17466
17467 2005-03-28  Dan Williams <dcbw@redhat.com>
17468
17469         * src/NetworkManagerDevice.c
17470                 - (mdio_read): Fix two bugs that caused all devices to fail
17471                         the MII carrier detection support checks
17472
17473 2005-03-26  Dan Williams <dcbw@redhat.com>
17474
17475         * src/NetworkManagerDevice.c
17476                 - (nm_device_wireless_scan): Remove duplicated scanning code
17477
17478 2005-03-25  Dan Williams <dcbw@redhat.com>
17479
17480         * panel-applet/NMWirelessApplet.c
17481                 - (nmwa_about_cb): Add some more contributors
17482                 - (nmwa_update_state): show the applet when there's no connection
17483                 - Enable the "Stop/Resume all wireless devices" option in the
17484                         context menu
17485                 - New "no connection" icon
17486
17487         * src/NetworkManager.c
17488                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17489                         wireless is disabled or we're asleep
17490
17491         * src/NetworkManagerDHCP.c
17492                 - Remove trailing "\n" on debug messages
17493
17494         * src/NetworkManagerDbus.c
17495                 - (nm_dbus_network_status_from_data): new state "asleep"
17496
17497         * src/NetworkManagerDevice.c
17498                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17499                         latency and wait times for most operations
17500                 - (nm_device_wireless_scan): Don't scan when asleep
17501
17502         * src/NetworkManagerPolicy.c
17503                 - (nm_policy_get_best_device): return no device when asleep
17504                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17505                         for all wireless devices on update, not just active device
17506
17507         * src/NetworkManagerUtils.c
17508                 - Merge Peter Jones' "completion" patch
17509
17510         * src/nm-dbus-nm.c
17511                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17512                         we're told to disable them
17513                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17514
17515         * utils/nm-utils.h
17516                 - New variants of the warn/info/error/debug print functions that can take
17517                         variables rather than static strings
17518
17519 2005-03-24  Dan Williams <dcbw@redhat.com>
17520
17521         * src/NetworkManagerUtils.c
17522                 - (nm_get_device_driver_name): driver names are now on the parents of
17523                         "Network Interface" objects, so look for them there
17524
17525 2005-03-24  Dan Williams <dcbw@redhat.com>
17526
17527         * test/nmtest.c
17528                 - Escape some forgotten object paths before we shove them through dbus
17529
17530 2005-03-24  Dan Williams <dcbw@redhat.com>
17531
17532         * dhcpcd/dhcpcd.[ch]
17533           src/NetworkManagerDHCP.c
17534                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17535                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17536
17537         * src/NetworkManagerDbus.c
17538                 - spacing cleanups
17539
17540         * src/nm-dbus-dhcp.c
17541                 - Make the API suck less.  There is now only 1 type of each function,
17542                         ie only "getInteger" and no longer also "getIntegerv".  All types
17543                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17544                         that will never have more than 1 element.  This should simplify
17545                         things greatly.
17546
17547         * test/nm-dhcp-opt-test.c
17548                 - Make the tool not segfault
17549                 - adapt to new DHCP Options API
17550
17551 2005-03-22  Dan Williams <dcbw@redhat.com>
17552
17553         * src/NetworkManager.c
17554                 - (nm_wired_link_deactivated): actually ignore netlink events from
17555                         wireless devices.
17556
17557 2005-03-22  Dan Williams <dcbw@redhat.com>
17558
17559         * src/NetworkManager.c
17560                 - (nm_wired_link_activated): actually ignore netlink events from
17561                         wireless devices.
17562
17563 2005-03-17  Dan Williams <dcbw@redhat.com>
17564
17565         Patch from Tom Parker:
17566         * src/nm-netlink-monitor.c
17567                 - Include unistd.h
17568         * info-daemon/NetworkManagerInfoDbus.c
17569                 - (nmi_dbus_update_network_auth_method): free GConf values
17570
17571         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17572         * src/NetworkManagerDevice.c
17573                 - (nm_device_set_wireless_config): wait for successful
17574                         association longer for some cards (Atheros a/b/g)
17575
17576 2005-03-15  Ray Strode  <rstrode@redhat.com>
17577
17578         * src/NetworkManager.c:
17579         (sigterm_pipe_handler):
17580         remove bogus FIXME
17581
17582 2005-03-15  Ray Strode  <rstrode@redhat.com>
17583
17584         * src/NetworkManagerDbus.c:
17585         Fix some sign weirdness that gcc4 doesn't like,
17586         and add a header file so PPC can hopefully find
17587         SIGTRAP
17588
17589 2005-03-14  Ray Strode  <rstrode@redhat.com>
17590         
17591         Fourth (probably working) cut at porting to
17592         dbus 0.30 api and new hal. This cut adds
17593         some new logging macros to make debugging
17594         easier.
17595
17596         * dispatcher-daemon/NetworkManagerDispatcher.c:
17597         * info-daemon/NetworkmanagerInfo.c:
17598         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17599         * info-daemon/NetworkManagerInfoVPN.c:
17600         * src/NetworkManager.c:
17601         * src/NetworkManagerAP.c:
17602         * src/NetworkManagerAPList.c:
17603         * src/NetworkManagerDHCP.c:
17604         * src/NetworkManagerDbus.c:
17605         * src/NetworkManagerDevice.c:
17606         * src/NetworkManagerPolicy.c:
17607         * src/NetworkManagerSystem.c:
17608         * src/NetworkManagerUtils.c:
17609         * src/NetworkManagerWireless.c:
17610         * src/autoip.c:
17611         * src/nm-dbus-nm.c:
17612         * src/backends/NetworkManagerDebian.c:
17613         * src/backends/NetworkManagerGentoo.c:
17614         * src/backends/NetworkManagerRedHat.c:
17615         * src/backends/NetworkManagerSlackware.c:
17616         use new logging macros.
17617
17618         * dispatcher-daemon/NetworkManagerDispatcher.c:
17619         (nmd_dbus_filter): s/dbus_free/g_free/
17620
17621         * info-daemon/Makefile.am: link in utils library.
17622         * info-daemon/NetworkmanagerInfo.c: use new logging 
17623         macros.
17624         (nmi_dbus_get_network): don't assume enumerations
17625         are 32-bit.
17626         (nmi_dbus_nmi_message_handler): don't free what 
17627         doesn't belong to us.
17628
17629         * libnm_glib/libnm_glib.c:
17630         (libnm_glib_get_nm_status): 
17631         (libnm_glib_init): don't free what doesn't
17632         belong to us.
17633         (libnm_glib_dbus): strdup result, so it doesn't get
17634         lost when message is unref'd.
17635
17636         * panel-applet/NMWirelessAppletDbus.c:
17637         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17638
17639         * src/NetworkManager.c:
17640         (nm_monitor_wired_link_state): request initial status 
17641         dump of all cards when we start up, instead of relying
17642         on /sys/.../carrier.
17643         (nm_info_handler), (nm_set_up_log_handlers): 
17644         log handlers to specify what syslog priorites 
17645         the logging macros default to.
17646
17647         * src/NetworkManagerAPList.c: 
17648         (nm_ap_list_populate_from_nmi):
17649         s/dbus_free_string_array/g_strfreev/
17650
17651         * src/NetworkManagerDbus.c:
17652         (nm_dbus_get_network_object):
17653         validate d-bus message argument types.
17654         Advance message iterator after reading argument,
17655         prepend instead of append to GSList.
17656
17657         * src/NetworkManagerDevice.c:
17658         (nm_device_probe_wired_link_status):
17659         remove redundant /sys in /sys path. remove wrong
17660         contents == NULL means has carrier assumption.
17661
17662         * src/nm-netlink-monitor.c 
17663         (nm_netlink_monitor_request_status): implement
17664         function to ask kernel to dump interface link
17665         status over netlink socket.
17666
17667         * test/*.c: s/dbus_free/g_free/
17668
17669         * utils/nm-utils.h:
17670         (nm_print_backtrace): new macro to print backtrace.
17671         (nm_get_timestamp): new macro to get sub-second precise
17672         unix timestamp.
17673         (nm_info), (nm_debug), (nm_warning), (nm_error):
17674         new logging functions. nm_info just prints,
17675         nm_debug includes timestamp and function,
17676         nm_warning includes function, nm_error includes
17677         backtrace and sigtrap.
17678
17679 2005-03-11  Ray Strode  <rstrode@redhat.com>
17680
17681         Third (unfinished, partially working) cut at porting to 
17682         dbus 0.30 api and new hal.
17683
17684         * info-daemon/NetworkManagerInfoDbus.c:
17685                 don't free null arrays.
17686
17687         * panel-applet/NMWirelessAppletDbus.c: 
17688         * src/nm-dbus-device.c:
17689         * src/nm-dbus-net.c: 
17690         * src/NetworkManagerDbus.c: more 
17691         STRING -> OBJECT_PATH fun
17692         * src/NetworkManagerDevice.c:
17693         * src/NetworkManagerDevice.h:
17694         (rename nm_device_get_link_active): rename to 
17695         nm_device_has_active_link
17696         (nm_device_wireless_link_active): rename to
17697         nm_device_probe_wireless_link_state
17698         (nm_device_wired_link_active): rename to
17699         nm_device_probe_wired_link_state.  Rewrite to
17700         use carrier file since hal doesn't maintain
17701         link state anymore.
17702         (nm_device_update_link_active): rename to
17703         nm_device_update_link_state
17704         * src/NetworkManagerPolicy.c 
17705           (nm_policy_activation_finish): check for NULL
17706           MAC address.
17707
17708         * src/Makefile.am:
17709         * src/NetworkManagerMain.h: 
17710         * src/NetworkManager.c:
17711         * src/nm-netlink-monitor.c:
17712         * src/nm-netlink-monitor.h: New class to support
17713         monitoring wired ethernet link status, since HAL
17714         doesn't export that information anymore.
17715
17716 2005-03-09  Ray Strode  <rstrode@redhat.com>
17717
17718         Second (unfinished, unworking) cut at porting to 
17719         dbus 0.30 api.
17720
17721         * dispatcher-daemon/NetworkManagerDispatcher.c:
17722         * info-daemon/NetworkManagerInfoDbus.c:
17723         * panel-applet/NMWirelessAppletDbus.c:
17724         * src/NetworkManagerDbusUtils.c:
17725         * src/NetworkManagerDbusUtils.h:
17726         * src/nm-dbus-device.c:
17727         * src/nm-dbus-nm.c:
17728         * test/nmtest.c: support dbus "object path" type
17729
17730         * configure.in: 
17731         * Makefile.am:
17732         * info-daemon/Makefile.am:
17733         * libnm_glib/Makefile.am:
17734         * panel-applet/Makefile.am:
17735         * dispatcher-daemon/Makefile.am
17736         * src/Makefile.am:
17737         * test/Makefile.am:
17738         * utils/Makefile.am: 
17739         * utils/nm-utils.c: 
17740         * utils/nm-utils.h: new utils static lib
17741
17742 2005-03-07  Ray Strode  <rstrode@redhat.com>
17743
17744         * info-daemon/NetworkManagerInfoDbus.c:
17745         * libnm_glib/libnm_glib.c:
17746         * panel-applet/NMWirelessAppletDbus.c:
17747         * src/NetworkManager.c:
17748         * src/NetworkManagerDbus.c:
17749         * src/NetworkManagerDevice.c:
17750         * src/NetworkManagerUtils.c:
17751         * src/nm-dbus-device.c:
17752         * src/nm-dbus-dhcp.c:
17753         * src/nm-dbus-net.c:
17754         * src/nm-dbus-nm.c:
17755         * test/nminfotest.c:
17756         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17757
17758 2005-03-04  Dan Williams  <dcbw@redhat.com>
17759
17760         * configure.in
17761                 - Mark HEAD as 0.4
17762
17763 2005-03-04  Dan Williams  <dcbw@redhat.com>
17764
17765         Patch from Peter Jones:
17766         - Make stuff work with gcc 4.0
17767
17768 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17769
17770         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17771
17772 2005-02-27  Jim Huang  <jserv@kaffe.org>
17773
17774         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17775
17776 2005-02-27  Dan Williams  <dcbw@redhat.com>
17777
17778         Patch from Bill Moss:
17779         * panel-applet/NMWirelessAppletDbus.c
17780                 - Make sure strength for current access point is up-to-date when we
17781                         update the gui data model
17782
17783 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17784
17785         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17786
17787 2005-02-27  Dan Williams  <dcbw@redhat.com>
17788
17789         * src/backends/NetworkManagerRedHat.c
17790                 - (nm_system_init): Kill any dhclient processes lying around as well
17791                         as stopping 'nifd' if its already been started.  NetworkManager
17792                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17793
17794 2005-02-27  Dan Williams  <dcbw@redhat.com>
17795
17796         * panel-applet/NMWirelessApplet.c
17797                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17798                         dbus data model, not the GUI data model twice.
17799
17800 2005-02-27  Dan Williams  <dcbw@redhat.com>
17801
17802         * panel-applet/NMWirelessApplet.[ch]
17803           panel-applet/NMWirelessAppletDbus.[ch]
17804                 - Move to incremental network updates.  Instead of blowing away our list
17805                         of devices every time we get a signal from NetworkManager, we now
17806                         incrementally add/remove networks when NetworkManager notifies us that
17807                         a new network has appeared or disappered.  Strength updates now happen
17808                         on-the-fly for each access point as well.  There are now two copies of
17809                         data from NetworkManager: one for the dbus side, and one for the gui side.
17810                         When the dbus side data is modified, it is copied over to the gui side
17811                         so we don't have to hold the data_mutex for long periods of time (and
17812                         therefore block animation of the applet's icon).
17813                 - Clean up some memleaks too
17814
17815         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17816                 - Minor code beautification
17817
17818         * src/NetworkManagerAPList.c
17819                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17820                         completely new and whether or not an existing one's strength was updated.
17821                         Try to fix multiple access points and signal strength by using the highest
17822                         signal strength in each scan for any given ESSID.
17823
17824         * src/NetworkManagerDbus.[ch]
17825                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17826                         wireless networks; now we have only WirelessNetworkUpdate which includes
17827                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17828                 - Kill usage of DbusMessageIter
17829
17830         * src/NetworkManagerDevice.c
17831                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17832                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17833                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17834                         currently associated with from the network list.
17835                 - Update for new signals during scan, send out Appeared, Disappeared, or
17836                         StrengthChanged when necessary.
17837
17838 2005-02-25  Dan Williams  <dcbw@redhat.com>
17839
17840         * README
17841                 - Line break the README
17842
17843 2005-02-25  Dan Williams  <dcbw@redhat.com>
17844
17845         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17846                 - Remove usage of gtk_window_set_default_size()
17847
17848         * panel-applet/essid.glade
17849                 - Stick default size here
17850                 - Add in random crap that current glade wants to add in now
17851
17852 2005-02-25  Dan Williams  <dcbw@redhat.com>
17853
17854         * src/backends/NetworkManagerRedHat.c
17855                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17856                         and that we actually tell nscd to reload the hosts cache when it changes
17857
17858 2005-02-25  Dan Williams  <dcbw@redhat.com>
17859
17860         * info-daemon/NetworkManagerInfoDbus.c
17861                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17862
17863         * test/nminfotest.c
17864                 - Whack usage of DbusMessageIter
17865                 - Clean up DbusError and DbusMessage handling and freeing
17866                 - Remove unused unregister handler
17867
17868         * test/nmtest.c
17869                 - Whack usage of DbusMessageIter
17870
17871         * test/nmtestdevices.c
17872                 - Whack usage of DbusMessageIter
17873
17874 2005-02-25  Dan Williams  <dcbw@redhat.com>
17875
17876         * NetworkManager.h
17877                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17878                         signal
17879
17880 2005-02-25  Dan Williams  <dcbw@redhat.com>
17881
17882         * named/nm-named-manager.c
17883                 - Ensure that pid and watch variables for child named process get cleared out
17884                         when the child goes away.
17885
17886 2005-02-22  Dan Williams  <dcbw@redhat.com>
17887
17888         * src/NetworkManagerPolicy.c
17889                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17890                         and NULL out data->active_device so that we have to choose another one.
17891                         This may make NetworkManager keep attempting to connect to a wired network
17892                         if it fails, but if it keeps failing the wired network has more problems than
17893                         just NetworkManager.
17894
17895         * src/backends/NetworkManagerRedHat.c
17896                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17897                         is already running
17898
17899         * named/nm-named-manager.c
17900                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17901                         named so that the distro can flush whatever name service caching
17902                         daemon it uses
17903
17904 2005-02-21  Dan Williams  <dcbw@redhat.com>
17905
17906         * src/NetworkManagerDHCP.[ch]
17907                 - (nm_device_dhcp_remove_timeouts): new function
17908
17909         * src/NetworkManagerDevice.c
17910                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17911                         remove the DHCP timeouts.
17912
17913 2005-02-21  Dan Williams  <dcbw@redhat.com>
17914
17915         * panel-applet/NMWirelessApplet.[ch]
17916           panel-applet/menu-info.[ch]
17917                 - Give the panel applet some major love: menu items are no longer
17918                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17919                         This allows the applet to actually reflect theme changes correctly,
17920                         since themeing of subclassed items in GTK _sucks_.
17921
17922 2005-02-18  Dan Williams  <dcbw@redhat.com>
17923
17924         * libnm_glib/libnm_glib.[ch]
17925           test/libnm_glib_test.c
17926                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17927                         and its data, and doesn't have to free the callback data anymore
17928
17929 2005-02-18  Dan Williams  <dcbw@redhat.com>
17930
17931         * panel-applet/NMWirelessApplet.c
17932                 - Revert 2005-02-18 William Jon McCann fix for standard
17933                         copyright string until it passes 'make distcheck'.
17934                         With standard copyright string, xgettext complains
17935                         about "Non-ASCII string at ...".
17936
17937 2005-02-18  Dan Williams  <dcbw@redhat.com>
17938
17939         * panel-applet/essid.glade
17940           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17941                 - Correct spelling of "adaptor"->"adapter"
17942
17943 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17944
17945         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17946         (nmwa_about_cb): Use standard copyright string.  Update comment
17947         text to reflect that it is a notification area applet.  Remove
17948         leading newline in authors list.
17949         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17950         instead of on parent menu item activation.  Fixes #167550.
17951
17952 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17953
17954         * panel-applet/essid.glade: Capitalize items as per HIG.
17955           Fixes #167632
17956
17957 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17958
17959         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17960         files for GTK 2.4 or lower, since now public in GTK 2.6.
17961
17962         * panel-applet/essid.glade: Don't specify window size.
17963         
17964 2005-02-17  Dan Williams  <dcbw@redhat.com>
17965
17966         Caught by Bill Moss:
17967         * dhcpcd/client.c
17968                 - Time remaining for DHCP transaction calculation was incorrectly
17969                         inside a #ifdef DEBUG
17970
17971 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17972
17973         * configure.in: Added fr (French) to ALL_LINGUAS.
17974
17975 2005-02-14  Dan Williams  <dcbw@redhat.com>
17976
17977         * src/NetworkManagerDHCP.c
17978                 - (set_domain_searches): Fix free of invalid pointer
17979
17980 2005-02-14  Dan Williams  <dcbw@redhat.com>
17981
17982         Patch from Peter Jones:
17983         * dhcpcd/client.c
17984                 - Ensure we return RET_DHCP_CEASED everywhere we should
17985         * dhcpcd/udpipgen.c
17986                 - Use faster TOS for IP packets
17987                 - Don't set ip_id since we're UDP
17988
17989         Patch from Tomislav Vujec:
17990         * src/nm-dbus-dhcp.c
17991           test/nm-dhcp-opt-test.c
17992                 - Clean up warnings to enable cvs tree compilation.
17993
17994 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17995
17996         * configure.in
17997           po/hr.po
17998                 - Add the Croatian locale.
17999
18000 2005-02-14  Colin Walters  <walters@verbum.org>
18001
18002         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18003         list of domains to search.
18004         
18005         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18006
18007 2005-02-13  Dan Williams  <dcbw@redhat.com>
18008
18009         * dhcpcd/client.c
18010                 - Debug output cleanups of DHCP option printing and parsing.
18011
18012 2005-02-13  Dan Williams  <dcbw@redhat.com>
18013
18014         Patch from Dan Reed:  DHCP options D-BUS API
18015                 Exposes the DHCP options that a device receives to clients over D-BUS.
18016
18017         * configure.in
18018                 - A few cleanups
18019
18020         * dhcpcd/client.h
18021                 - Correct names, option length, and types for DHCP options
18022
18023         * dhcpcd/dhcpcd.[ch]
18024                 - Clarify function names that access DHCP options & data
18025
18026         * src/NetworkManagerDHCP.c
18027                 - Use new DHCP data access functions
18028
18029         * src/NetworkManagerDbus.c
18030                 - Message handler for DHCP functions
18031
18032         * src/nm-dbus-dhcp.[ch] (new)
18033                 - DHCP dbus methods
18034
18035         * test/nm-dhcp-opt-test.c
18036                 - Test DHCP D-BUS API and return all present DHCP options
18037
18038 2005-02-12  Dan Williams  <dcbw@redhat.com>
18039
18040         * test/Makefile.am
18041           test/nmclienttest.c
18042           test/nmtest.c
18043                 - Move nmclienttest.c -> nmtest.c
18044
18045 2005-02-12  Dan Williams  <dcbw@redhat.com>
18046
18047         * dhcpcd/buildmsg.c
18048                 - Pad DHCP packets until they are at least 300 bytes in size.
18049
18050 2005-02-11  Dan Williams  <dcbw@redhat.com>
18051
18052         * dhcpcd/client.c
18053                 - (dhcp_init): only print out client ID and class ID if they are specified
18054
18055         * src/NetworkManagerDbus.[ch]
18056           src/nm-dbus-nm.[ch]
18057           src/nm-dbus-device.[ch]
18058           src/nm-dbus-net.[ch]
18059                 - Move NM, Device, and Net functions to separate files and use the
18060                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18061                         method dispatching
18062
18063         * src/NetworkManagerDbusUtils.c
18064                 - Add new validate_method called before each dispatch (if present)
18065                         that can validate the method call
18066
18067         * src/NetworkManagerWireless.c
18068                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18069                         levels never to be evaluated
18070
18071         Patch from j@bootlab.org
18072         * src/NetworkManagerDevice.c
18073                 - Add typedef for "u64"
18074
18075         * src/backends/NetworkManagerDebian.c
18076                 - Copy in Dave Woodhouse's fixes for IPv6
18077
18078 2005-02-11  Dan Williams  <dcbw@redhat.com>
18079
18080         Patch from Dave Woodhouse for IPv6:
18081         * src/NetworkManagerUtils.c
18082                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18083                         and multicast addresses
18084
18085         * src/NetworkManagerDevice.c
18086                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18087                         after bringing up a card.
18088
18089 2005-02-10  Dan Williams  <dcbw@redhat.com>
18090
18091         Patch from Dave Woodhouse:
18092         * src/NetworkManagerSystem.h
18093           src/backends/NetworkManagerDebian.c
18094           src/backends/NetworkManagerGentoo.c
18095           src/backends/NetworkManagerSlackware.c
18096                 - New nm_system_device_add_ip6_link_address() function to add link-local
18097                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18098
18099         * src/backends/NetworkManagerRedHat.c
18100                 - (nm_system_device_add_ip6_link_address): implement
18101                 - (nm_system_device_flush_addresses): revert to previous behavior of
18102                         flushing all addresses
18103
18104 2005-02-10  Dan Williams  <dcbw@redhat.com>
18105
18106         Patch from Tom Parker:
18107         * src/NetworkManagerDevice.c
18108                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18109                         mii.h headers are broken, and instead use our own typedefs
18110
18111 2005-02-10  Dan Williams  <dcbw@redhat.com>
18112
18113         * dhcpcd/buildmsg.c
18114                 - (fill_host_and_class_id): only fill in client and class IDs if
18115                         they are set by callers.
18116
18117         * dhcpcd/client.c
18118                 - (class_id_setup): don't autogenerate a class ID, only use one
18119                         we're given, if any.
18120                 - (client_id_setup): don't autogenerate a client ID, only use one
18121                         we're given, if any.
18122
18123         * dhcpcd/dhcpcd.c
18124                 - (dhcp_interface_init): ensure that client options are correctly
18125                         NULL terminated
18126
18127         * src/NetworkManagerDHCP.c
18128                 - (nm_device_dhcp_request): pass hostname to dhcp library
18129
18130 2005-02-10  Dan Williams  <dcbw@redhat.com>
18131
18132         * dhcpcd/client.c
18133                 - #rh147661# Don't send kernel version in DHCP requests
18134
18135         * src/NetworkManagerSystem.h
18136           src/backends/NetworkManagerDebian.c
18137           src/backends/NetworkManagerGentoo.c
18138           src/backends/NetworkManagerRedHat.c
18139           src/backends/NetworkManagerSlackware.c
18140                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18141                         functions, they are no longer used anyway
18142
18143         * src/backends/NetworkManagerRedHat.c
18144                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18145                         addresses in an attempt to keep IPv6 local-scope addresses around
18146
18147 2005-02-10  Dan Williams  <dcbw@redhat.com>
18148
18149         * src/NetworkManager.c
18150                 - (nm_create_device_and_add_to_list): change the add message slightly
18151
18152         * src/NetworkManagerUtils.c
18153                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18154                         Return driver name to calling function
18155                 - (nm_get_driver_support_level): print out the driver a device is using
18156                         during the support check
18157
18158         Patch from Dave Woodhouse:
18159         * dhcpcd/udpipgen.c
18160                 - (in_cksum): copy last byte of odd-sized packets into a
18161                         'u_short' rather than a 'u_char', should fix wrong checksums
18162                         on big-endian platforms
18163
18164 2005-02-09  Dan Williams  <dcbw@redhat.com>
18165
18166         * Clean up usage of GSList objects and looping through their members
18167         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18168                 now.
18169         * Fix problem where even if scanning was turned off, card would still
18170                 cycle through frequencies.
18171
18172 2005-02-08  Dan Williams  <dcbw@redhat.com>
18173
18174         * panel-applet/NMWirelessApplet.c
18175                 - Fix for gtk 2.4
18176
18177 2005-02-08  Dan Williams  <dcbw@redhat.com>
18178
18179         Patch from Bill Moss
18180         * panel-applet/NMWirelessApplet.c
18181                 - Restore correct ESSID in tooltips
18182
18183 2005-02-07  Dan Williams  <dcbw@redhat.com>
18184
18185         * panel-applet/NMWirelessApplet.[ch]
18186                 - Add a context menu that contains:
18187                         Pause/Resume Wireless Scanning
18188                         Stop/Start All Wireless Devices
18189                         About...
18190                 - Grab active device strength off active device,
18191                         not its network
18192
18193         * panel-applet/NMWirelessAppletDbus.[ch]
18194                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18195                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18196                 - Update active device strength every 2 seconds, not every 1 second
18197
18198         * panel-applet/menu-info.c
18199                 - Only disable wired devices in the menu when they support carrier detection,
18200                         and don't currently have a link.  Non-carrier-detect devices will always
18201                         remain choosable
18202
18203         * src/Makefile.am
18204           src/NetworkManagerDbusUtils.[ch]
18205                 - Add new new dbus utils sources
18206
18207         * src/NetworkManager.c
18208                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18209                         with the boolean parameter
18210                 - Set scanning_enabled & wireless_enabled to TRUE
18211
18212         * src/NetworkManagerDbus.c
18213                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18214                 - Implement scanning & wireless enable/disable calls
18215                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18216
18217         * src/NetworkManagerDevice.c
18218                 - New link detection stuff again...
18219                         o  Create device's mainloop earlier (but don't run it earlier)
18220                         o  Hook up new carrier-detect support stuff
18221                         o  Add in the ethtool & mii support detection code
18222                 - Don't scan if scanning is disabled
18223
18224         * src/NetworkManagerPolicy.c
18225                 - Never automatically choose a device that doesn't support carrier detection
18226                 - Don't automatically choose a wireless device if wireless is disabled
18227
18228 2005-02-07  Dan Williams  <dcbw@redhat.com>
18229
18230         * libnm_glib/libnm_glib.c
18231                 - Small cleanup in element list iteration
18232
18233 2005-02-07  Dan Williams  <dcbw@redhat.com>
18234
18235         * src/NetworkManagerWireless.c
18236                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18237                         to be in line with the WEXT quality specification
18238
18239 2005-02-02  Dan Williams  <dcbw@redhat.com>
18240
18241         Patch from Nathan Fredrickson <nathan@silverorange.com>
18242         * Fix up compile for deprecation of libgnomeui
18243                 - Switch to <glib/gi18n.h> from <libintl.h>
18244                 - Remove <libgnomeui/libgnomeui.h> includes
18245                 - Use gtk_window_set_default_icon_from_file() rather than
18246                         gnome_window_set_default_icon_from_file()
18247
18248         * named/nm-named-manager.c
18249                 - (generate_named_conf): Fix return-nothing in non-void
18250                         function
18251
18252 2005-02-02  Dan Williams  <dcbw@redhat.com>
18253
18254         * Clean up unused variables and the like
18255
18256 2005-02-02  Dan Williams  <dcbw@redhat.com>
18257
18258         * src/NetworkManagerAPList.c
18259                 - (nm_ap_list_merge_scanned_ap): merge strength too
18260
18261         * src/NetworkManagerUtils.c
18262                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18263                         of locking issues by printing out prettier information than g_mutex_lock
18264                 - Print out names of mutexes registered with nm_register_mutex_desc()
18265                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18266                         us to seemingly block here for too long
18267
18268         * src/NetworkManager.c
18269           src/NetworkManagerAPList.c
18270           src/NetworkManagerDevice.c
18271                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18272                         so we get better debug information printed
18273
18274         * src/NetworkManagerDbus.c
18275                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18276                         since it sometimes has locking side effects
18277                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18278                         from 10s
18279                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18280                         we don't need a switch.  This gets called often enough that we can't block
18281                         until the scan mutex is acquired, because we'll block on device activation
18282                         and a few other things, which hangs main thread for too long.
18283
18284         * src/NetworkManagerPolicy.c
18285                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18286                         nm_device_need_ap_switch() will be called               
18287
18288 2005-02-02  Dan Williams  <dcbw@redhat.com>
18289
18290         * panel-applet/NMWirelessApplet.c
18291                 - Display name of wireless network we are connecting to or connected to
18292                         in the tooltip of the applet
18293
18294 2005-02-02  Dan Williams  <dcbw@redhat.com>
18295
18296         * src/NetworkManagerDHCP.c
18297                 - Hopefully fix double-default-route problem by cleaning up the default
18298                         route added by DHCP code right before the DHCP transaction begins
18299
18300 2005-02-02  Dan Williams  <dcbw@redhat.com>
18301
18302         * named/nm-named-manager.c
18303                 - Write out valid resolv.conf when we exit
18304
18305 2005-02-01  Dan Williams  <dcbw@redhat.com>
18306
18307         Patch from Colin Walters:
18308         * named/nm-named-manager.c
18309                 - Make multi-domain search options work
18310
18311 2005-01-31  Dan Williams  <dcbw@redhat.com>
18312
18313         * info-daemon/NetworkManagerInfoDbus.c
18314                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18315
18316         * src/NetworkManagerDevice.c
18317                 - (nm_device_new): Don't store the entire range struct, use only what we need
18318                         (which is currently avg_quality, max_quality, and frequencies).  Also
18319                         zero device structure when we've free'd it to maybe expose errors down
18320                         the line.
18321                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18322                         quality data from the card since quality will be useless during a scan.
18323                         Call updated wireless qual-to-percent function with values stored in
18324                         nm_device_new() earlier.
18325                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18326                         nm_device_get_bad_crypt_packets())
18327                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18328                         nm_device_new()
18329                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18330                         list if available.  Problem was this: when the WEP key is wrong, NM will
18331                         try OS then SK modes, and then get stuck in SK mode after that.  This
18332                         should reset it.
18333                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18334                         function
18335
18336         * src/NetworkManagerWireless.c
18337                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18338                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18339                         if that's all present, otherwise fall back to signal-to-noise ratios.
18340
18341 2005-01-29  Dan Williams  <dcbw@redhat.com>
18342
18343         * initscript/RedHat/NetworkManager
18344                 - Don't spit out sysctl stuff to console
18345
18346         * libnm_glib/libnm_glib.c
18347                 - (libnm_glib_init): call dbus_g_thread_init()
18348
18349         * panel-applet/NMWirelessAppletDbus.c
18350                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18351
18352         * src/NetworkManager.c
18353                 - (main): call dbus_g_thread_init()
18354
18355         * src/NetworkManagerAPList.c
18356                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18357                         so we can actually see what's there in a normal syslog
18358
18359         * src/NetworkManagerDevice.c
18360                 - (nm_device_activate_wireless): print out the "waiting for access point"
18361                         message only once, then say what access point we actually got after
18362                         the wait.
18363                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18364                         function, wait until the scan is done.  Scans may change the ESSID of
18365                         the card, making this function think we need to switch access points
18366                 - (nm_device_wireless_process_scan_results): for artificial access points
18367                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18368                         prevents collisions with the scanning code, which may change the card's
18369                         ESSID and cause the access point to get dropped from the device's AP
18370                         list.  Also increase the keep-around time to 2m from 60s since the max
18371                         scan interval could be 60s in some cases.
18372
18373         * src/NetworkManagerPolicy.c
18374                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18375                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18376                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18377                         between NM and NMI.
18378
18379 2005-01-27  Dan Williams  <dcbw@redhat.com>
18380
18381         * info-daemon/NetworkManagerInfoDbus.c
18382                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18383                         GConf, make a minimal entry for it (essid & timestamp)
18384
18385         * src/NetworkManagerAPList.c
18386                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18387                         NetworkManagerInfo isn't running
18388
18389         * src/NetworkManagerDbus.[ch]
18390                 - (nm_dbus_nmi_is_running): new function
18391
18392         * src/NetworkManagerDevice.c
18393                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18394                         address to garbage.
18395
18396         * src/NetworkManagerPolicy.c
18397                 - (nm_policy_activation_finish): On successful activation, make sure
18398                         the "best" AP has a MAC address, and don't tell NMI to add the
18399                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18400                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18401                         access point after refreshing our allowed list if it doesn't already
18402                         have a "best" access point.
18403
18404 2005-01-25  Dan Williams  <dcbw@redhat.com>
18405
18406         * panel-applet/NMWirelessAppletDbus.c
18407                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18408                         so we check for NM_DBUS_SERVICE rather than not for it
18409
18410         * libnm_glib/libnm_glib.c
18411                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18412                         ServiceOwnerChanged signal
18413
18414 2005-01-25  Dan Williams  <dcbw@redhat.com>
18415
18416         * configure.in
18417                 - Check DBUS version in configure, and set the C macros
18418                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18419
18420         * info-daemon/NetworkManagerInfoDbus.c
18421                 - Remove #if 0-d section of code that quit NMI if NM went away.
18422
18423         * panel-applet/NMWirelessAppletDbus.c
18424                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18425
18426         * src/NetworkManager.c
18427           src/NetworkManagerMain.h
18428           src/NetworkManagerDbus.c
18429                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18430                 - Make updating of our Allowed Wireless Network lists from NMI
18431                         an idle function in the main thread now, with a high priority.
18432
18433 2005-01-24  Dan Williams  <dcbw@redhat.com>
18434
18435         * panel-applet/gtkcellview.[ch]
18436           panel-applet/menu-info.c
18437                 - Fix GTK version checks to be <= rather than <
18438
18439         * test/Makefile.am
18440                 - Include the libtool archive of libnm_glib rather than
18441                         trying to pull in the .so
18442
18443 2005-01-24  Dan Williams  <dcbw@redhat.com>
18444
18445         * src/NetworkManagerDevice.c
18446           src/NetworkManagerDevicePrivate.h
18447                 - Block nm_device_new() until our device's worker thread has had a
18448                         chance to start up.  Fixes a race between main thread and worker
18449                         thread starting that caused activation requests to get lost.
18450
18451 2005-01-24  Dan Williams  <dcbw@redhat.com>
18452
18453         * initscript/RedHat/NetworkManager
18454                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18455                         to add the NM startup script at priority 50, which was
18456                         way too early
18457
18458 2005-01-24  Colin Walters  <walters@redhat.com>
18459
18460         * named/named.conf: Use any port for query source instead of
18461         restricting to port 53.
18462
18463 2005-01-24  Dan Williams  <dcbw@redhat.com>
18464
18465         * initscript/RedHat/NetworkManager
18466                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18467                         to add the NM startup script at priority 50, which was
18468                         way too early
18469
18470 2005-01-24  Dan Williams  <dcbw@redhat.com>
18471
18472         Patch from Tom Parker <palfrey@tevp.net>
18473         * Fix up compile warnings & errors in the wireless applet
18474
18475 2005-01-24  Dan Williams  <dcbw@redhat.com>
18476
18477         * panel-applet/NMWirelessApplet.c
18478                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18479
18480 2005-01-24  Dan Williams  <dcbw@redhat.com>
18481
18482         * panel-applet/gtkcellview.[ch]
18483                 - Only compile these files for GTK 2.4 or lower, since 
18484                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18485                         when choosing "Other Wireless Networks" from the panel
18486                         applet menu
18487
18488 2005-01-21  Dan Williams  <dcbw@redhat.com>
18489
18490         * src/NetworkManager.c
18491                 - Daemonize earlier so that glib doesn't get confused (?)
18492
18493 2005-01-21  Dan Williams  <dcbw@redhat.com>
18494
18495         * panel-applet/NMWirelessApplet.[ch]
18496           panel-applet/NMWirelessAppletDbus.c
18497           panel-applet/menu-info.c
18498           src/NetworkManagerDevice.c
18499                 - Disable wired devices in the menu when they have no link.
18500
18501 2005-01-21  Dan Williams  <dcbw@redhat.com>
18502
18503         * Cache last-known-good wireless authentication method in
18504                 NetworkManagerInfo, and use that method first during
18505                 wireless device activation.  Should speed up devices that
18506                 need Shared Key authentication method since Open System is
18507                 now the default.
18508
18509         * Remove the hack to not do full activation on wired connections
18510                 that are active when we launch, it causes too many problems
18511                 with name resolution and was a hack in the first place.
18512
18513         * Re-work wireless device activation again somewhat to have a
18514                 clearer chain of events and to use last-known-good
18515                 authentication method of the access point.  Also provide
18516                 better status throughout activation to ensure the applet
18517                 can tell the user exactly what's going on.
18518
18519         * Remove the "find wireless network" code and now simply attempt
18520                 to activate with that access point.  This reduces the delay
18521                 between selecting "Other wireless Network" and actually
18522                 connecting to that network.
18523
18524         * Correctly stop the device's worker thread when its removed.
18525
18526 2005-01-21  Dan Williams  <dcbw@redhat.com>
18527
18528         * dhcpcd/client.c
18529                 - Clean up some of the debug messages
18530
18531 2005-01-21  Dan Williams  <dcbw@redhat.com>
18532
18533         * Add new icons, more frames of animation
18534         * Remove some hacks to get the panel applet to display correct
18535                 status, an NM update will soon follow that will fix the
18536                 real issue.
18537
18538 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18539
18540         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18541         the first include for working i18n. Also, don't include it in .h files
18542         * panel-applet/NMWirelessApplet.h: Same
18543         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18544         * panel-applet/menu-info.c: Same
18545
18546 2005-01-18  Dan Williams <dcbw@redhat.com>
18547
18548         * dhcpcd/client.c
18549                 - Remove some debug messages
18550                 - Wrap others in #ifdef DEBUG/#endif
18551
18552         * src/NetworkManager.c
18553                 - Remove some debug messages
18554                 - Clarify some debug messages
18555                 - Remove code related to old single-thread wireless scanning
18556
18557         * src/NetworkManagerAP.[ch]
18558                 - New AP property "last_seen" to track how recently an AP was
18559                         found in a scan
18560                 - Start using 'const' more in function arguments
18561
18562         * src/NetworkManagerAPList.[ch]
18563                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18564                         of an AP found in an AP list from a source AP, or if not found
18565                         in the list add the source AP
18566                 - (nm_ap_list_combine): remove, no longer needed
18567
18568         * src/NetworkManagerDevice.c
18569                 - Each device now has a "worker" thread from start to end of its life.
18570                         Scanning for wireless devices now happens in that thread,
18571                         not in a single "wireless scanning thread" for all devices as
18572                         previously.  Activation consists of adding an idle handler to the
18573                         thread's main loop/context, which gets run at the next available
18574                         opportunity.
18575                 - Wireless scanning is also simplified, there is now only one list of
18576                         access points per wireless device, and APs older than 60s are
18577                         removed from the list.  Previously, we kept results for the last
18578                         3 scans and merged whole lists, which was complicated.
18579                 - Cleaned up activation debug messages.
18580                 - Wireless activation and access-point search routines now use Open System
18581                         authentication before trying Shared Key.
18582                 - Removed some code in nm_device_update_best_ap() that could cause cards
18583                         to loose their link to the access point.
18584                 - Scanning now uses a backoff algorithm, where the inverval becomes
18585                         progressively longer between scans when the list of scanned access
18586                         points doesn't change.  A change will revert to the shortest scan
18587                         interval (20s).
18588
18589         * src/NetworkManagerWireless.[ch]
18590                 - Remove code related to old single-thread wireless scanning
18591
18592 2005-01-18  Colin Walters  <walters@redhat.com>
18593
18594         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18595         of older nameservers.
18596
18597 2005-01-18  Colin Walters  <walters@redhat.com>
18598
18599         * named/nm-named-manager.c (generate_named_conf): Many fixes
18600         to config file generation.
18601         (safer_kill): Remove, was too much trouble for little gain.
18602         (nm_named_manager_start): Run named as NM_NAMED_USER.
18603
18604         * configure.in: Add option --with-named-user.
18605
18606 2005-01-14  Colin Walters  <walters@redhat.com>
18607
18608         Patch from ed@catmur.co.uk (Ed Catmur)
18609
18610         * named/nm-named-manager.c: Add "context" property.
18611         Use it to add child watch source in specific GMainContext.
18612
18613         * src/NetworkManager.c (nm_data_new): Initialize
18614         named with correct main context.  Start named only
18615         after forking.
18616
18617 2005-01-14  Colin Walters  <walters@redhat.com>
18618
18619         * named/nm-named-manager.c (generate_named_conf): Write config
18620         and pid files into NM_NAMED_DATA_DIR; this allows things to
18621         work better with FC3 named SELinux policy.  Also fix up silly
18622         format error.
18623
18624         * configure.in: Add --with-named-dir option.
18625
18626 2005-01-14  Colin Walters  <walters@redhat.com>
18627
18628         * configure.in: Make named support require passing --with-named.
18629
18630         * named/nm-named-manager.c: Support writing resolv.conf directly
18631         without running named.
18632
18633 2005-01-13  Dan Williams <dcbw@redhat.com>
18634
18635         * named/nm-named-manager.c
18636                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18637
18638         * src/NetworkManagerDevice.c
18639                 - Rework wireless link detection code to be more reliable
18640
18641 2005-01-12  Dan Williams <dcbw@redhat.com>
18642
18643         * initscripts/RedHat/NetworkManager
18644                 - Change initial level to "-" rather than "345" so that
18645                         we don't activate ourselves by default on install
18646
18647 2005-01-12  Dan Williams <dcbw@redhat.com>
18648
18649         * libnm_glib/
18650                 - Client library for applications using glib
18651
18652         * configure.in
18653           various Makefiles
18654                 - Split NM_CFLAGS and NM_LIBS into separate variables
18655                         like DBUS_*, HAL_* and GLIB_*
18656
18657         * src/NetworkManager.c
18658           src/NetworkManagerMain.h
18659                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18660                         broadcast a status changed signal over DBUS from the main thread.
18661                         Still unused anywhere for the moment.
18662
18663         Patch from j@bootlab.org
18664         * panel_applet/NMWirelessAppletDbus.c
18665           src/NetworkManagerDbus.c
18666                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18667                         for the "getMode" method call
18668
18669 2005-01-10  Dan Williams <dcbw@redhat.com>
18670
18671         * src/NetworkManagerDevice.c
18672                 - Minor fixups & corrections to "auto" frequency mode, make it
18673                         less chatty with syslog
18674
18675 2005-01-10  Dan Williams <dcbw@redhat.com>
18676
18677         * src/NetworkManagerDevice.c
18678                 - Implement "auto" frequency/channel support, since cards like Atheros
18679                         can't use other frequencies at all when you've told it to use a
18680                         specific one, even for scanning.
18681                 - Grab the scan mutex around places where we can't tolerate wireless
18682                         settings changing underneath us, like nm_device_wireless_network_exists()
18683                         and nm_device_activate_wireless()
18684
18685         * src/NetworkManagerWireless.c
18686                 - Back scan interval off to 20s instead of 14s
18687
18688 2005-01-09  Dan Williams <dcbw@redhat.com>
18689
18690         * src/NetworkManagerDevice.c
18691                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18692                         already set.  Stops some drivers like Atmel from continually
18693                         reloading the firmware, which they do upon every configuration
18694                         change.
18695
18696 2005-01-09  Dan Williams <dcbw@redhat.com>
18697
18698         * dhcpcd/client.c
18699                 - Use correct timeout value
18700
18701         * info-daemon/NetworkManagerInfoDbus.c
18702           src/NetworkManagerDbus.c
18703                 - Consolidate communication between NM and NMI by doing only 1 dbus
18704                         method call to get Wireless Network info from NMI instead of 6
18705
18706         * src/NetworkManager.c
18707                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18708                         when we didn't have an AP to use, we'd wait for one forever without
18709                         quitting
18710
18711         * src/NetworkManagerDevice.c
18712                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18713                         activation, dhcp might not have started yet but we don't quit activation
18714                         before starting it, so the quit signal gets lost
18715
18716 2005-01-07  Dan Williams <dcbw@redhat.com>
18717
18718         * dhcpcd/client.c
18719                 - Rework the DHCP client code to be much less chatty when
18720                         it receives non-DHCP UDP packets during the DHCP run
18721                         (reported by and preliminary patches from Bill Moss)
18722
18723         * Move wireless scanning to a separate thread.  This thread forwards the
18724                 results to the main thread when done where they are integrated into
18725                 the device's access point lists.  This keeps the main thread (which
18726                 does all the DBUS communication) from being blocked for long periods
18727                 of time by wireless scanning.
18728
18729         * Make state modification an idle routine in the main loop, and trigger
18730                 state changes rather than polling for them.
18731
18732         * src/backends/NetworkManagerGentoo.c
18733                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18734
18735         * src/NetworkManagerDevice.c
18736                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18737                         router advertisements, causing problems and infinite loop
18738                         during "best" device determination due to link going up/down
18739                         (reported by Bill Moss)
18740
18741         Apply patch from Peter Jones
18742         * src/NetworkManagerDevice.c
18743                 - Shortcut for link-checking for ipw2x00 cards
18744                 - Split out association check into separate routine
18745
18746 2004-01-05  Colin Walters  <walters@redhat.com>
18747
18748         * named/named.conf: Add PID_FILE.
18749
18750         * named/nm-named-manager.c: Always generate a pid
18751         file, since older BIND versions don't support
18752         "pid-file none".
18753
18754 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18755
18756         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18757
18758 2004-12-22  Dan Williams <dcbw@redhat.com>
18759
18760         * src/NetworkManagerDevice.c
18761                 - Silently fail when setting bitrate doesn't work
18762
18763
18764         Patches from j@bootlab.org:
18765         * src/backends/NetworkManagerDebian
18766                 - Update backend to match functionality in RedHat backend
18767         * src/NetworkManagerDevice.c
18768                 - Take down then bring up wired devices after connection so
18769                 they send out ipv6 router advertisements
18770
18771 2004-12-21  Colin Walters  <walters@verbum.org>
18772
18773         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18774         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18775
18776 2004-12-21  Colin Walters  <walters@redhat.com>
18777
18778         * configure.in: Correct named detection.
18779
18780 2004-12-21  Colin Walters  <walters@redhat.com>
18781
18782         * src/NetworkManager.c (nm_data_new): Initialize named.
18783         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18784         the mainloop when these signals are received.
18785         (nm_data_free): Unref named.
18786         (sigterm_handler, sigterm_pipe_handler): New functions for
18787         exiting mainloop.
18788         
18789         * src/NetworkManagerMain.h (NMData): Add signal handling and
18790         nameserver bits.
18791
18792         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18793         unref.
18794
18795         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18796         set nameservers from DHCP response data.
18797         (set_domain_search): Set domain search from DHCP response.
18798         (nm_device_dhcp_configure): Invoke them.
18799
18800         * src/NetworkManagerSystem.c
18801         (nm_system_device_update_resolv_conf): Delete.  Deleting
18802         code is totally sweet.
18803
18804         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18805
18806         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18807         implements an object which controls a nameserver.  Currently
18808         uses bind 9.
18809
18810         * configure.in: Check for named.
18811
18812         * Makefile.am (SUBDIRS): Add named dir.
18813
18814         * named/named.conf: New template config file.
18815
18816 2004-12-20  Colin Walters  <walters@redhat.com>
18817
18818         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18819         instead of '='.
18820
18821 2004-12-17  Dan Williams  <dcbw@redhat.com>
18822
18823         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18824                 link-local addresses instead of doing DHCP.
18825
18826         * In the panel applet, there's a new "Create new Wireless Network..." item
18827
18828         * The panel applet also sticks around now even if NetworkManager dies, but
18829                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18830                 a bug, I'll fix that later.
18831
18832         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18833                 lookups after a switch rather than actually doing them.
18834
18835         * Clean up some of those warnings in nm_ap_list_* functions
18836
18837         * Delay between scans changed to 15s instead of 10s
18838
18839 2004-12-15  Dan Williams  <dcbw@redhat.com>
18840
18841         Patch from Tom Parker
18842         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18843                 address
18844
18845         * Longer pause after setting ESSID on cards that support a larger number
18846                 of channels to give the card time to find the right channel
18847
18848         * Add system hook to restart mDNSResponder (or whatever the local implementation
18849                 of Multicast DNS is) when we activate interfaces
18850
18851 2004-12-15  Dan Williams  <dcbw@redhat.com>
18852
18853         * Rework the DHCP code again to revert to sending full ethernet frames
18854                 rather then relying on the kernel to do the right thing with our
18855                 packets.
18856
18857 2004-12-06  Dan Williams  <dcbw@redhat.com>
18858
18859         * dhcpcd/client.c
18860                 - Fix some minor errors in dhcp_handle_transaction() that caused
18861                         unexpected early timeouts of DHCP transactions
18862
18863         * dhcpcd/client.h
18864                 - DHCP retransmit time from 4s -> 5s
18865
18866 2004-12-05  Dan Williams  <dcbw@redhat.com>
18867
18868         * Major rework of the DHCP code, taking some cues from pump.  We don't
18869                 write raw Ethernet packets anymore, which simplifies the code quite
18870                 a bit.  The new code should be more robust, not hang in recvfrom()
18871                 as much, and generally work better.  This also means that we need
18872                 to force HAL/dbus to use a created GMainContext rather than the
18873                 default context, since having the DHCP renew/rebind thread using
18874                 its own GMainContext seemed to give dbus a fit.  There is also more
18875                 debugging information printed from the DHCP loop to help with future
18876                 problems.
18877
18878         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18879                 assume that the default gateway should be the DHCP server.
18880
18881         Patch from Matthew Schick <matt oss-institute org>
18882         * src/backends/NetworkManagerGentoo.c
18883                 - Fix compilation error due to missing "ip4_broadcast"
18884
18885 2004-12-03  Dan Williams  <dcbw@redhat.com>
18886
18887         * initscript/Makefile.am
18888         * initscript/Debian/NetworkManager
18889         * initscript/Gentoo/NetworkManager
18890         * initscript/RedHat/NetworkManager
18891         * initscript/NMLaunchHelper.c
18892                 - Remove NMLaunchHelper, if you need to wait until the network
18893                         comes up, use the dead code from CVS.
18894
18895 2004-12-01  Colin Walters  <walters@redhat.com>
18896         
18897         * configure.in: Suck in gcc warnings code from Rhythmbox,
18898         but use fewer default flags, and in particular add -Wno-unused,
18899         since the codebase has a lot of unused variables.
18900
18901         * test/nmtestdevices.c (create_device): 
18902         * test/nminfotest.c (get_network_string_property) 
18903         (get_networks_of_type): 
18904         * test/nmclienttest.c (main): 
18905         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18906         * initscript/NMLaunchHelper.c (get_nm_status): 
18907         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18908         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18909         Fix declarations after statements.
18910
18911 2004-12-01  Colin Walters  <walters@redhat.com>
18912
18913         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18914         (nmi_dbus_get_vpn_userpass): New method.
18915         (nmi_dbus_nmi_message_handler): Invoke it.
18916
18917         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18918
18919         * info-daemon/NetworkManagerInfoVPN.h,
18920         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18921         to requests for VPN passwords.
18922
18923         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18924
18925 2004-12-01  Colin Walters  <walters@redhat.com>
18926
18927         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18928         includes.
18929
18930 2004-12-01  Colin Walters  <walters@redhat.com>
18931
18932         * panel-applet/NMWirelessAppletDbus.c
18933         (nmwa_dbus_update_active_device_strength): Fix missing
18934         return value.
18935
18936 2004-12-01  Colin Walters  <walters@redhat.com>
18937
18938         * panel-applet/NMWirelessApplet.c: Add missing include.
18939
18940 2004-12-01  Colin Walters  <walters@redhat.com>
18941
18942         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18943         Remove useless CLAMP (); the value is unsigned, and the case tests
18944         qual->qual < 100, so the value must always be between 0 and 100.
18945
18946 2004-12-01  Colin Walters  <walters@redhat.com>
18947
18948         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18949
18950 2004-11-22  Colin Walters  <walters@verbum.org>
18951
18952         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18953         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18954         which is essentially a noop since nscd caches hosts on disk too.
18955         
18956 2004-11-22  Colin Walters  <walters@redhat.com>
18957
18958         * src/Makefile.am (NetworkManager_SOURCES): Add
18959         NetworkManagerDevicePrivate.h.
18960
18961 2004-11-22  Dan Williams <dcbw@redhat.com>
18962
18963         * src/NetworkManagerDevicePrivate.h
18964                 - Split out the NMDevice struct to a different file so that stuff like
18965                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18966
18967         * dhcpcd/client.c
18968                 - fprintf->syslog
18969                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18970                         need to cancel the dhcp request during the send and recv
18971
18972         * dhcpcd/client.h
18973                 - Move the DHCP option enum to dhcpcd.h
18974
18975         * src/NetworkManagerDHCP.c
18976                 - Split out the actual IP/netmask/etc setting code
18977                 - New Renew/Rebind functions
18978                 - New timer setup function for renew/rebind operations
18979
18980         * src/NetworkManagerDevice.c
18981                 - For device activation, if we are using DHCP then keep the activation thread
18982                         alive until device deactivation.  We need to renew/rebind the DHCP address
18983                         after the T1 (renew) and T2 (rebind) times have expired.
18984                 - Increase some timeouts after bringing wireless cards up/down
18985
18986 2004-11-17  Dan Williams <dcbw@redhat.com>
18987
18988         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18989                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18990                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18991                 show known access points that don't broadcast their ESSID in the menus without
18992                 any user intervention whatsoever.
18993
18994         * info-daemon/NetworkManagerInfoDbus.c
18995                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18996                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18997
18998         * src/NetworkManagerAP.[ch]
18999                 - Add a "user_addresses" data member to the NMAccessPoint structure
19000                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19001                         the user_addresses data member
19002
19003         * src/NetworkManagerAPList.c
19004                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19005                         the AP's reported address
19006                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19007
19008         * src/NetworkManagerDHCP.c
19009                 - Increase DHCP timeout from 25s -> 30s
19010
19011         * src/NetworkManagerDbus.[ch]
19012                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19013                         user addresses
19014
19015         * src/NetworkManagerDevice.c
19016                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19017                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19018                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19019                         So, we take the card down to clear it out.
19020                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19021                         too, since that's where the user_addresses are
19022
19023         * src/NetworkManagerPolicy.c
19024                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19025                         that wireless networks' user_addresses list upon successful activation
19026
19027 2004-11-16  Dan Williams <dcbw@redhat.com>
19028
19029         * src/NetworkManagerDevice.[ch]
19030                 - (nm_device_clear_activation_fail): new function
19031
19032         * src/NetworkManagerPolicy.c
19033                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19034                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19035
19036 2004-11-16  Dan Williams <dcbw@redhat.com>
19037
19038         * src/NetworkManagerDevice.c
19039                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19040                         leak the structure, better updating of now_scanning status
19041                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19042
19043 2004-11-15  Dan Williams <dcbw@redhat.com>
19044
19045         Major rework of link detection code.  We now use DHCP
19046         as part of the link detection which proves to be much more robust,
19047         and also supports Open System authentication for wireless networks.
19048
19049         We no longer use external DHCP client programs.  Instead, we use 
19050         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19051         which was written by:
19052                 Yoichi Hariguchi <yoichi@fore.com>
19053                 Sergei Viznyuk <sv@phystech.com>
19054                 http://www.phystech.com/download/
19055         It resides in the "dhcpcd" directory and was refactored into a general
19056         purpose DHCP client library by me.
19057
19058         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19059         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19060
19061 2004-11-15  Dan Williams <dcbw@redhat.com>
19062
19063         Patch from Tom Parker <palfrey@tevp.net>:
19064
19065         * src/NetworkManagerDevice.c
19066                 - Less output to console when no access
19067                         points are found during a scan
19068
19069 2004-11-15  Dan Williams <dcbw@redhat.com>
19070
19071         Patch from Tom Parker <palfrey@tevp.net>:
19072
19073         * src/backends/interface_parser.c
19074                 - Use g_strdup ()
19075                 - Check for inp == NULL
19076                 - use syslog ()
19077
19078 2004-11-13  Colin Walters  <walters@redhat.com>
19079
19080         Patch from Tom Parker <palfrey@tevp.net>:
19081
19082         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19083         
19084         * src/backends/NetworkManagerRedHat.c: Switch to
19085         including shvar.h instead of shvar.c.
19086
19087         * src/backends/NetworkManagerDebian.c: Don't include
19088         interface_parser.c in source file.
19089
19090         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19091         and interface_parser.[ch].
19092         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19093         Include shvar.c and shvar.h here.
19094         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19095         interface_parser.c and interface_parser.h here.
19096
19097 2004-11-12  Colin Walters  <walters@redhat.com>
19098
19099         * configure.in: Strip out TARGET_DISTRO and
19100         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19101         conditionals.
19102
19103         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19104         (libnmbackend_la_SOURCES): Use Automake conditionals
19105         to add distro-specific files.
19106
19107         * initscript/Makefile.am (SUBDIRS): Update to
19108         use conditionals.
19109
19110 2004-11-12  Colin Walters  <walters@redhat.com>
19111
19112         Patches from j bootlab org
19113
19114         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19115         Add interface_parser.[ch].
19116
19117         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19118         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19119
19120 2004-11-12  Colin Walters  <walters@redhat.com>
19121
19122         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19123         call to nmi_dbus_is_running too, not necessary anymore.
19124         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19125         pick up exit().
19126
19127 2004-11-11  Colin Walters  <walters@verbum.org>
19128
19129         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19130         Delete.
19131         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19132         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19133         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19134         This avoids a race condition that made it pretty easily
19135         possible to get two NetworkManagerInfo daemons running.
19136
19137 2004-11-11  Colin Walters  <walters@verbum.org>
19138         
19139         * src/NetworkManager.c (main): Use daemon(3).
19140
19141         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19142
19143         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19144
19145 2004-11-10 Dan Williams <dcbw@redhat.com>
19146
19147         Patches from j bootlab org
19148         * src/NetworkManagerDevice.c
19149                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19150                         whether the card has a link or not, some cards are slow
19151                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19152
19153         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19154                 - Disable the "Login" button on the passphrase dialog until the user
19155                         enters a valid passphrase or key
19156
19157         Patches from Tom Parker <palfrey tevp net>
19158         * src/backends/NetworkManagerDebian.c
19159                 - Add static IP support to the debian backend
19160
19161         * src/backends/interface_parser.[ch]
19162                 - Parse debian interface config files
19163
19164 2004-11-08 Dan Williams <dcbw@redhat.com>
19165
19166         * src/NetworkManagerDevice.c
19167                 - Some random fprintf->syslog conversions
19168                 - (nm_device_wireless_network_exists): double-check for network
19169                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19170
19171         * src/NetworkManagerWireless.[ch]
19172                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19173                         so that the binary->ascii conversion works (if unsigned, the bitshift
19174                         will fill with zeros, which is what's required).  Also mask bitshift
19175                         result with 0xF for futher assurance.
19176
19177 2004-11-06 Dan Williams <dcbw@redhat.com>
19178
19179         * src/NetworkManagerUtils.c
19180                 - (nm_get_wireless_driver_support_level): default to
19181                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19182                         flip this when changing from whitelist->blacklist of
19183                         wireless drivers
19184
19185 2004-11-05 Dan Williams <dcbw@redhat.com>
19186
19187         Patch from Robert Paskowitz:
19188         * src/backends/NetworkManagerGentoo.c
19189                 - Update static IP config code
19190
19191 2004-11-05 Dan Williams <dcbw@redhat.com>
19192
19193         * info-daemon/NetworkManagerInfoDbus.c
19194           src/NetworkManagerDbus.[ch]
19195           src/NetworkManagerDevice.c
19196                 - Keep track of the # of attempts to get the WEP key
19197                         from the user and pass that along to the info daemon
19198
19199 2004-11-05 Dan Williams <dcbw@redhat.com>
19200
19201         * src/NetworkManagerUtils.c
19202                 - Blacklist wireless cards rather than whitelisting them.
19203                 - Grab driver name from HAL rather than trying to find it
19204                         ourselves.
19205
19206 2004-11-03 Dan Williams <dcbw@redhat.com>
19207
19208         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19209                 - Disable OK button until valid data is entered
19210                         for encryption stuff too
19211
19212         * panel-applet/NMWirelessApplet.c
19213                 - Report card strength for current AP if the card
19214                         doesn't report strength data for scanned access
19215                         points
19216
19217         * src/NetworkManagerDevice.c
19218                 - Smooth out cards reported quality, Atmel card was
19219                         intermittently reporting no quality data but soon
19220                         recovers
19221
19222         * src/NetworkManagerWireless.c
19223                 - Better quality data percentage calculation.  Atmel
19224                         cards (mine at least) seem to report the quality
19225                         in percentage format already, so honor that
19226
19227         Patch from <j@bootlab.org>
19228         * NetworkManager.h
19229           info-daemon/NetworkManagerInfoPassphraseDialog.c
19230           info-daemon/passphrase.glade
19231           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19232           panel-applet/essid.glade
19233           src/NetworkManagerAP.c
19234           src/NetworkManagerDevice.c
19235           src/NetworkManagerWireless.[ch]
19236                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19237
19238 2004-11-03 Dan Williams <dcbw@redhat.com>
19239
19240         * src/NetworkManagerDevice.[ch]
19241                 - (nm_device_set_enc_key): Add parameter to set Authentication
19242                         Mode (Open System, Shared Key, or None).  We're still using
19243                         Shared Key for now though.
19244
19245 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19246
19247         * panel-applet/menu-info.c: change from bold text to light
19248         colored, may cause problems with some themes, i've tested a lot
19249         and they seem fine. 
19250
19251         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19252
19253 2004-11-01  Colin Walters  <walters@verbum.org>
19254
19255         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19256         (nm_wireless_128bit_key_from_passphrase): Add const.
19257
19258         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19259         (nm_ap_set_enc_key_source): Add const.
19260         
19261 2004-11-01  Colin Walters  <walters@verbum.org>
19262
19263         * .cvsignore: Update.
19264
19265 2004-10-29 Dan Williams <dcbw@redhat.com>
19266
19267         * src/NetworkManagerDevice.c
19268                 - (nm_device_wireless_network_exists): Actually use the encryption
19269                         key we got from the applet when attempting to find a wireless network
19270                 - Don't bring devices down so much since on some cards it triggers
19271                         firmware hotplugs each time
19272
19273         * src/NetworkManagerDbus.c
19274                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19275                         from the caller
19276
19277 2004-10-29 Dan Williams <dcbw@redhat.com>
19278
19279         * src/NetworkManager.c
19280                 - (nm_hal_device_property_modified): unlock a locked active
19281                         wireless device when a wired connection gets a link.
19282                         (Means you'll switch to wired whenever you plug in no
19283                         matter what).
19284
19285 2004-10-29 Dan Williams <dcbw@redhat.com>
19286
19287         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19288                 - New files, implement the "Other wireless network" dialog
19289
19290         * panel-applet/NMWirelessApplet.c
19291                 - Move "other wireless network" dialog to separate file
19292
19293         * panel-applet/NMWirelessAppletDbus.[ch]
19294                 - Take key and key_type paramaters for the set_device function
19295
19296         * panel-applet/essid.glade
19297                 - Add UI bits for encryption settings
19298
19299         * src/NetworkManagerDbus.c
19300                 - Retrieve key and key_type params for "setActiveDevice" method call
19301                         and pass them on
19302                 - unref AP returned from nm_device_get_best_ap() when needed
19303
19304         * src/NetworkManagerDevice.c
19305                 - (nm_device_get_best_ap): ref the ap before returning it
19306                 - unref AP returned from nm_device_get_best_ap() when needed
19307                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19308                         need to call nm_device_get_best_ap() here, it was pretty much
19309                         redundant anyway
19310                 - (AP_NEED_KEY): break second link check condition out into separate
19311                         function, and fix segfault when ap->enc_key_source was NULL
19312                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19313                         pass them along to nm_device_wireless_network_exists().  If the
19314                         network does exist, set the passed-in key+key_type on the AP
19315
19316         * src/NetworkManagerPolicy.c
19317                 - unref AP returned from nm_device_get_best_ap() when needed
19318
19319 2004-10-28 Dan Williams <dcbw@redhat.com>
19320
19321         * src/NetworkManagerUtils.c
19322                 - (nm_spawn_process): Fix a potential dereference of NULL
19323
19324         Patches from Peter Jones:
19325
19326         * src/NetworkManagerDevice.c
19327                 - (nm_device_test_wireless_extensions): Better check for
19328                         wireless devices
19329
19330         * src/NetworkManagerUtils.c
19331                 - (nm_spawn_process): Pass in valid stdout and stderr so
19332                         executed programs don't randomly SIGPIPE and fail
19333                 - (nm_get_wired_driver_support_level): quash hal warning
19334                         when checking for USB ethernet device
19335
19336 2004-10-27 Dan Williams <dcbw@redhat.com>
19337
19338         * info-daemon/NetworkManagerInfo.c
19339           info-daemon/NetworkManagerInfoDbus.c
19340           info-daemon/NetworkManagerInfoPassphraseDialog.c
19341           panel-applet/NMWirelessApplet.c
19342                 - Properly escape gconf keys
19343
19344         * src/NetworkManager.c
19345                 - remove unused variables
19346
19347         * src/NetworkManagerAP.c
19348                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19349                         refcount since it got set in nm_ap_new()
19350
19351         * src/NetworkManagerAPList.c
19352                 - (nm_ap_list_combine): Give up ownership of newly created
19353                         access points to the ap list, fixes memleak
19354
19355         * src/NetworkManagerDevice.c
19356                 - Remove cached_ap_list4 member since its not really needed
19357                 - (nm_device_wireless_network_exists): Try to get correct
19358                         encryption status of a found AP if its already in our
19359                         device list
19360                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19361                         memory allocs/deallocs a bit clearer and shorter-lived
19362
19363 2004-10-26 Ray Strode <rstrode@redhat.com>
19364
19365         * panel-applet/NMWirelessApplet.c:
19366           (custom_essid_item_selected):  kill some compiler
19367         warnings 
19368
19369 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19370
19371         * info-daemon/NetworkManagerInfoDbus.c
19372                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19373                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19374
19375 2004-10-23 Dan Williams <dcbw@redhat.com>
19376
19377         * info-daemon/NetworkManagerInfoDbus.c
19378                 - Trap the "DeviceActivationFailed" signal
19379
19380         * docs/NetworkManager DBUS API.txt
19381                 - Add "DeviceActivationFailed" signal
19382
19383         * panel-applet/NMWirelessAppletDbus.c
19384                 - Quash the "NetworkManager service not available" message
19385
19386         * src/NetworkManagerDbus.[ch]
19387                 - Add the "DeviceActivationFailed" signal
19388
19389         * src/NetworkManagerDevice.c
19390                 - Add support for activation_failed flag
19391                 - Fix deadlock where activation thread didn't clean itself up, making
19392                         main thread still believe it was alive forever (didn't reset activation
19393                         flags like activating, just_activated, etc when IP configuration
19394                         failed)
19395
19396         * src/NetworkManagerPolicy.c
19397                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19398                         for wireless networks, try to fall back to some other access point
19399
19400 2004-10-23 Dan Williams <dcbw@redhat.com>
19401
19402         * panel-applet/NMWirelessApplet.[ch]
19403                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19404                         to the applet object, so we can get tooltips
19405                 - Add tooltips (RH #136866)
19406
19407         * src/NetworkManagerDevice.c
19408                 - When trying to find a wireless network, try to connect with encryption
19409                         turned on first, so that we can more accurately detect whether or not
19410                         we need to use encryption for the actual association later on
19411
19412 2004-10-21 Dan Williams <dcbw@redhat.com>
19413
19414         * Add some support for telling NetworkManagerInfo to tell the user
19415                 that they are using a device that's not fully supported
19416
19417         * Fix some assertions in debug messages due to null access point args
19418
19419 2004-10-21 Dan Williams <dcbw@redhat.com>
19420
19421         * src/NetworkManagerDevice.c
19422                 - Don't try to activate/bring up/down unsupported
19423                         devices
19424
19425         * src/NetworkManagerUtils.c
19426                 - Fix case of PCI ID checks for driver support levels
19427
19428 2004-10-21 Dan Williams <dcbw@redhat.com>
19429
19430         * NetworkManager.h
19431                 - New file, now contains commonly used structures and bits
19432                         for the dbus API of NetworkManager
19433
19434         * Makefile.am
19435                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19436
19437         * src/NetworkManager.h
19438                 - Rename -> src/NetworkManagerMain.c
19439
19440         * Various fixups all around to use NetworkManager.h and new
19441                 src/NetworkManagerMain.h, remove redundant bits that got
19442                 moved into NetworkManager.h
19443
19444         * src/NetworkManagerDevice.[ch]
19445           src/NetworkManagerUtils.[ch]
19446           src/NetworkManagerPolicy.c
19447           src/NetworkManagerDbus.c
19448                 - Whitelist wireless drivers, and blacklist some wired
19449                         drivers.  Also blacklist cipsec and ethernet-over-usb
19450                         devices at this time (RH #135722, RH #135648)
19451                 - Don't leak unsupported devices out over dbus, or allow
19452                         them to be set as the active device.  Skip over them
19453                         during automatic device picking
19454
19455         * test/nmclienttest.c
19456                 - Clean up the dbus code a lot
19457
19458 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19459
19460         * configure.in: post release bump.
19461
19462 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19463
19464         * configure.in:
19465         * NEWS: Released NetworkManager-0.3.1
19466
19467 2004-10-18 Dan Williams <dcbw@redhat.com>
19468
19469         Patches from Thom May:
19470         * test/nmtestdevices.c
19471                 - Include <string.h>
19472         * src/backends/NetworkManagerDebian.c:
19473                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19474                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19475                         Move to using g_strdup_printf rather than arbitrary buffers
19476                 - (nm_system_device_setup_static_ip4_config) Implement function.
19477                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19478
19479 2004-10-17 Dan Williams <dcbw@redhat.com>
19480
19481         * info-daemon/NetworkManagerInfoDbus.c
19482                 - Display name of network in the "network not found" dialog
19483
19484         * panel-applet/NMWirelessAppletDbus.c
19485                 - (nmwa_dbus_call_nm_method): new function replaces all other
19486                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19487                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19488                         consolidated into nmwa_dbus_get_object_name()
19489
19490 2004-10-15 Dan Williams <dcbw@redhat.com>
19491
19492         * src/NetworkManagerDbus.c
19493           info-daemon/NetworkManagerInfoDbus.c
19494                 - Display an error dialog when the user tries to use an
19495                         "Other wireless network" that's not found.
19496
19497 2004-10-15 Dan Williams <dcbw@redhat.com>
19498
19499         * panel-applet/NMWirelessApplet.[ch]
19500                 - Fix up corner cases in applet state, making it
19501                         look more responsive.  Change state to "connecting" when
19502                         the user is forcing a device too.
19503
19504 2004-10-15 Dan Williams <dcbw@redhat.com>
19505
19506         * src/NetworkManagerAPList.c
19507                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19508
19509         * src/NetworkManagerDbus.c
19510                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19511
19512         * src/NetworkManagerDevice.c
19513                 - Disown APs after the device's AP list takes ownership
19514
19515 2004-10-15 Dan Williams <dcbw@redhat.com>
19516
19517         * panel-applet/NMWirelessApplet.c
19518                 - Update our applet state from the GUI thread
19519
19520         * panel-applet/NMWirelessAppletDbus.c
19521                 - Greatly simplify the locking to make the GUI thread
19522                         smoother.  Update a private copy of the device list
19523                         and active device and only when done talking to
19524                         NetworkManager turn it over to the GUI thread.
19525
19526 2004-10-15 Dan Williams <dcbw@redhat.com>
19527
19528         * src/NetworkManagerAP.[ch]
19529                 - Add "artificial" get/set functions, set for APs that
19530                         aren't discovered as part of a scan but instead
19531                         discovered by force-setting the ESSID
19532
19533         * src/NetworkManagerDevice.[ch]
19534                 - (nm_device_wireless_network_exists): pass back whether
19535                         or not the discovered AP was encrypted.  Also, try
19536                         falling back to encrypted mode on the card if unencrypted
19537                         association doesn't work
19538                 - (nm_device_find_and_use_essid): If the network requested
19539                         did in fact exists, but it wasn't in our scan list, add
19540                         an "artificial" entry for it.  Some Cisco cards don't
19541                         see non-ESSID-broadcasting APs in their scan but can still
19542                         associate with them if you know the ESSID, this works around
19543                         that behavior
19544                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19545                         to scan if the card is currently associated with that AP
19546
19547 2004-10-15 Dan Williams <dcbw@redhat.com>
19548
19549         ---- We have a website ----
19550         http://people.redhat.com/dcbw/NetworkManager
19551
19552         Patch from Robert Paskowitz:
19553         * src/NetworkManager.c
19554                 - (main): Make sure we are run as root
19555         * src/NetworkManagerDevice.c
19556                 - Fix type in ad-hoc setting function
19557
19558         Patch from Thom May:
19559         * src/backends/NetworkManagerDebian.c
19560                 - Make Debian backend compile again
19561
19562 2004-10-14 Dan Williams <dcbw@redhat.com>
19563
19564         * Tagged NetworkManager-0_3
19565
19566 2004-10-14 Dan Williams <dcbw@redhat.com>
19567
19568         Patch from Robert Paskowitz:
19569         * NEWS
19570           src/NetworkManagerDevice.[ch]
19571           src/backends/NetworkManagerDebian.c
19572           src/backends/NetworkManagerGentoo.c
19573           src/backends/NetworkManagerRedHat.c
19574           src/backends/NetworkManagerSlackware.c
19575                 - Add support for grabbing and using a broadcast address
19576                         from system config files
19577                 - Some Gentoo backend fixes for grabbing network config
19578                 - Fix LOG_WARN->LOG_WARNING
19579
19580 2004-10-14 Dan Williams <dcbw@redhat.com>
19581
19582         * NEWS: a few small fixes in the credits
19583
19584 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19585
19586         * NEWS: prep for release.
19587
19588 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19589
19590         * panel-applet/NMWirelessAppletDbus.c
19591         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19592
19593 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19594
19595         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19596         applet->state == APPLET_STATE_NO_NM animation.
19597
19598         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19599         set the text correctly.
19600
19601 2004-10-14 Dan Williams <dcbw@redhat.com>
19602
19603         * src/NetworkManager.c
19604                 - Only accept and manager 802.3 and 802.11 devices
19605
19606         * src/NetworkManagerDbus.[ch]
19607                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19608                         logic into NetworkManagerDevice.c
19609                 - (nm_dbus_network_status_from_data): new function
19610                 - (nm_dbus_signal_network_status_change): new function, unused for now
19611                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19612
19613         * src/NetworkManagerDevice.[ch]
19614                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19615                         a random ESSID.
19616
19617 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19618
19619         * info-daemon/NetworkManagerInfo.c 
19620                 - (main): Added session management
19621
19622 2004-10-14 Dan Williams <dcbw@redhat.com>
19623
19624         * panel-applet/NMWirelessAppletDbus.[ch]
19625                 - Expose network_device_[un]ref()
19626                 - Expose wireless_network_[un]ref()
19627                 - (wireless_network_new_with_essid): new function, create and return
19628                         a wireless network with a particular essid
19629
19630         * panel-applet/NMWirelessApplet.c
19631                 - Hook up the "other network" dialog to do something
19632
19633 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19634
19635         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19636         doesn't work yet, but it looks okay.
19637
19638         * panel-applet/icons/*png: Resize to 22x22 and install in the
19639         right place.
19640
19641 2004-10-13 Dan Williams <dcbw@redhat.com>
19642
19643         * panel-applet/NMWirelessApplet.c
19644                 - Add function to print out applet_state in a readable
19645                         manner
19646
19647         * src/NetworkManager.c
19648                 - (main): Don't segfault when nm_dbus_init() fails, we had
19649                         a left-over call to hal_shutdown() into which we passed NULL
19650
19651         * src/NetworkManagerAP.c
19652                 - (nm_ap_set_essid): Allow NULL essids
19653
19654         * src/NetworkManagerAPList.[ch]
19655                 - More use of nm_ap_list_[un]lock ()
19656                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19657                         network/essid, just return nothing.  Also skip over NULL
19658                         essid access points in the list when searching
19659                 - (nm_ap_list_get_ap_by_address): new function
19660                 - (nm_ap_list_update_network): set the access point's key source to
19661                         NULL when the key returned from NetworkManagerInfo is NULL or
19662                         of 0 length
19663                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19664                         copy timestamp over too
19665                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19666                         find the correct ESSID for a blank-essid access point by searching
19667                         through another list and matching access point MAC addresses
19668                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19669
19670         * src/NetworkManagerDbus.c
19671                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19672                         may specify.  This is mainly for access points that don't
19673                         broadcast their essid.  So if the user tells us to associate with
19674                         some random ESSID that's not in our access point list, we find
19675                         out if the access point does in fact exist (by attempting association
19676                         and then matching that access point's MAC address with the essid the
19677                         user gave us) and then we switch to it.
19678                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19679                         to the returned list of networks for the "getNetworks" method
19680
19681         * src/NetworkManagerDevice.[ch]
19682                 - Extra debugging info for link detection
19683                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19684                         based on MAC address
19685                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19686                 - (nm_device_wireless_network_exists): new function, find out whether
19687                         a random ESSID exists by attempting to associate with it
19688                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19689                         device list as long as they have an AP MAC address we can use.
19690                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19691                         devices too.  Lets the applet update more frequently.
19692
19693         * src/backends/NetworkManagerGentoo.c
19694                 - Patch from: Robert Paskowitz
19695                         - Update backend code for Gentoo
19696                         - Implement nm_system_device_update_config_info ()
19697
19698         * test/nmclienttest.c
19699                 - (set_network_device): new function, takes a command-line argument
19700                         and tells NetworkManager to use that wireless network
19701
19702 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19703
19704         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19705         if the notification icon crashes 5 times within 5 seconds of each respawn 
19706
19707 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19708
19709         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19710         g_print.
19711
19712 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19713
19714         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19715
19716         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19717         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19718         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19719         Change the name of the icons.
19720
19721         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19722         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19723         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19724         (nm_menu_wireless_expose_event): Really bad hack to get the style
19725         to draw in the right color.
19726
19727 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19728
19729         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19730         Notification if it crashes
19731
19732 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19733
19734         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19735         (nmwa_dbus_get_string): remove unused functions
19736
19737         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19738         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19739         remove unused functions
19740
19741         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19742
19743 2004-10-12 Dan Williams <dcbw@redhat.com>
19744
19745         * panel-applet/NMWirelessAppletDbus.c
19746                 - New functions:
19747                         wireless_network_new
19748                         wireless_network_copy
19749                         network_device_new
19750                         network_device_copy
19751
19752         * src/NetworkManagerDevice.[ch]
19753                 - New functions:
19754                         nm_device_set_mode_managed
19755                         nm_device_set_mode_adhoc
19756                 - Use these functions where appropriate
19757                 - When creating a new wireless device, force the card
19758                         to managed/Infrastructure mode as soon as possible
19759
19760 2004-10-12 Dan Williams <dcbw@redhat.com>
19761
19762         * src/NetworkManagerDevice.c
19763                 - Force wireless cards into Infrastructure mode before we use them
19764
19765 2004-10-12 Dan Williams <dcbw@redhat.com>
19766
19767         * TODO
19768                 - Remove bit about static IP address support
19769
19770         * src/NetworkManagerUtils.c
19771                 - (nm_spawn_process): Add some error reporting
19772
19773         * src/NetworkManagerDevice.c
19774                 - (nm_device_activation_configure_ip): hook up to the static config
19775                         routines in the backends
19776
19777         * src/backends/NetworkManagerRedHat.c
19778                 - (nm_system_device_update_config_info): use shvar.c routines to
19779                         parse the config file iformation, not our own
19780                 - (nm_system_device_setup_static_ip4_config): new function, based
19781                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19782                         with a static IP address and gateway
19783
19784         * src/backends/shvar.[ch]
19785                 - Parser (filched from initscripts package) for ifcfg-* files
19786
19787         * src/backends/NetworkManagerSystem.h
19788           src/backends/NetworkManagerGentoo.c
19789           src/backends/NetworkManagerDebian.c
19790           src/backends/NetworkManagerSlackware.c
19791                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19792
19793 2004-10-11 Dan Williams <dcbw@redhat.com>
19794
19795         * TODO
19796                 - Remove bit about more robust AP diffing since I just implemented it
19797
19798 2004-10-11 Dan Williams <dcbw@redhat.com>
19799
19800         * src/NetworkManagerAP.c
19801                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19802                         enough RAM to allocate new AP structures, but return NULL instead
19803
19804         * src/NetworkManagerAPList.[ch]
19805                 - (nm_ap_list_is_empty): new function
19806                 - (nm_ap_list_combine): new function, combine two access point lists
19807                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19808                         into another
19809
19810         * src/NetworkManagerDevice.[ch]
19811                 - Rename some functions to be clearer:
19812                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19813                         nm_device_just_activated     -> nm_device_is_just_activated
19814                         nm_device_activating         -> nm_device_is_activating
19815                         nm_device_now_scanning       -> nm_device_is_scanning
19816                 - Cache the last 4 scans so that the access point list is more stable.
19817                         We combine the lastest two scans and use that as the AP list,
19818                         and diff that combined list against the combination of the earliest
19819                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19820
19821 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19822
19823         * info-daemon/NWManagerInfo.h
19824                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19825
19826         * info-daemon/NWManagerInfoDbus.c
19827                 - (shutdown_callback): new function
19828                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19829                         if NetworkManager goes away.  Kill the timeout
19830                         if NetworkManager restarts before the 30 seconds
19831                         are up.
19832                 - (nmi_dbus_service_init): 
19833                         - call gtk_main_quit if NetworkManager is not running
19834                         - add filters to monitor dbus service creations and
19835                                 deletions
19836         
19837 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19838
19839         * panel-applet/NMWirelessApplet.c
19840                 - (nmwa_update_state): Hide notification icon if we are only
19841                         showing one wired card and no wireless interfaces 
19842                         (Red Hat Bug #134895)
19843
19844         * panel-applet/NMWirelessAppletDbus.c
19845                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19846
19847         * info-daemon/NWManagerInfo.c
19848                 - (main): Terminated the notification_icon_cmd array with a NULL
19849
19850 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19851
19852         * configure.in (ALL_LINGUAS): Added de (German).
19853
19854 2004-10-08 Dan Williams <dcbw@redaht.com>
19855
19856         * src/NetworkManagerDevice.c
19857                 - Be a bit more robust about link checking, ie make sure that
19858                         the WEP key we were given actually has some data in it
19859
19860 2004-10-08 Dan Williams <dcbw@redhat.com>
19861
19862         * info-daemon/NetworkManagerInfo.c (main):
19863                 - Initialize GError object to NULL
19864
19865 2004-10-08 Dan Williams <dcbw@redhat.com>
19866
19867         * panel-applet/NMWirelessAppletDbus.c
19868                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19869
19870 2004-10-08 Dan Williams <dcbw@redhat.com>
19871
19872         * info-daemon/NetworkManagerInfo.[ch]
19873           info-dameon/NetworkManagerInfoDbus.[ch]
19874           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19875                 - Preserve original label text in the passphrase dialog so that
19876                         it actually gets updated with the new network name the next
19877                         time around.  Previously, we were overwriting it so you'd get
19878                         the wrong network name to enter a key for
19879                 - Add a "Key Type" combo to the passphrase dialog, user selects
19880                         encryption key type now, type is stored in GConf too
19881                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19882
19883         * src/NetworkManagerAP.[ch]
19884                 - Remove all the encyption method magic.  It's now set by the user
19885                         and NetworkManager retrieves the type of encryption key from
19886                         NetworkManagerInfo
19887
19888         * src/NetworkManagerAPList.[ch]
19889           src/NetworkManagerDbus.[ch]
19890                 - Adjust to new way of setting encryption key and method
19891                 - Pull encryption method down from NMI along with key
19892
19893         * src/NetworkManagerDevice.[ch]
19894                 - Removed encryption method fallback magic as the method is now
19895                         determined by the user.  This greatly simplifies the connection
19896                         logic.
19897                 - More robust connection/link logic.  Besides removing the encryption
19898                         method fallback magic, check whether or not the card is receiving
19899                         invalidly encrypted packets, which usually indicates that we have
19900                         a bad WEP key set.
19901                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19902
19903         * test/nminfotest.c
19904                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19905
19906 2004-10-07 Dan Williams <dcbw@redhat.com>
19907
19908         * info-daemon/NetworkManagerInfo.conf
19909                 - Allow root user to run NMI too
19910
19911 2004-10-06 Dan Williams <dcbw@redhat.com>
19912
19913         * src/NetworkManagerDevice.[ch]
19914           src/NetworkManagerDbus.c
19915           doc/NetworkManager DBUS API.txt
19916                 - Add a new status tag "scanning", which is set when there
19917                         is no active network connection, but NetworkManager is
19918                         looking for an access point to associate with
19919
19920         * panel-applet/main.c
19921                 - Cast the applet appropriately for gtk_widget_show_all ()
19922
19923 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19924
19925         * panel-applet/eggtrayicon.[ch]:
19926         * panel-applet/main.c: Add missing file
19927
19928 2004-10-04 Dan Williams <dcbw@redhat.com>
19929
19930         * src/NetworkManagerDevice.[ch]
19931                 - Add a slightly more robust method of determining if the WEP key
19932                         is correct or not, by checking the WEP-discarded packet count
19933                         on the card
19934
19935         * info-daemon/NetworkManagerInfo.c
19936                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19937                         un-escape values we pull out rather than escaping them
19938
19939 2004-10-03  Marcel Telka  <marcel@telka.sk>
19940
19941         * configure.in (ALL_LINGUAS): Added sk.
19942
19943 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19944
19945         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19946         and feel.  We should be back to working, and have a good, clean
19947         look.
19948
19949 2004-09-30 Dan Williams <dcbw@redhat.com>
19950
19951         * info-daemon/NetworkManagerInfo.c
19952           info-daemon/NetworkManagerInfoDbus.c
19953           test/nminfotest.c
19954                 - Escape ESSIDs in gconf
19955
19956         * src/NetworkManagerDevice.c
19957                 - Fix pseudo-scanning to use netowrk list from info daemon
19958
19959 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19960
19961         * configure.in: Add a temporary --enable-notification-icon.  This
19962         will prolly go away.
19963
19964         * info-daemon/Makefile.am:
19965         * info-daemon/NetworkManagerInfo.c:
19966         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19967
19968         * panel-applet/Makefile.am:
19969         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19970         * panel-applet/NMWirelessApplet.h:
19971
19972 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19973
19974         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19975         before 'select custom ESSID'.
19976
19977         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19978         fully complete, but syncing in prep for merge.
19979
19980         * panel-applet/icons/*png: New images
19981
19982 2004-09-28 Dan Williams <dcbw@redhat.com>
19983
19984         * src/NetworkManager.c
19985           src/NetworkManagerDevice.c
19986           src/NetworkManagerPolicy.c
19987                 - Don't blow away an active wired connection on startup
19988
19989 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19990
19991         Changes from J5
19992         
19993         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19994
19995         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19996         syslog output
19997
19998 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19999
20000         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20001         have a wireless card.
20002
20003 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20004
20005         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20006         Also, get the right device strings.
20007
20008 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20009
20010         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20011         the logic to make this right.
20012
20013         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20014         devices so that wired networks are always first.
20015
20016 2004-09-22    <clarkbw@cvs.gnome.org>
20017
20018         * initscript/Debian/.cvsignore:
20019         * initscript/Slackware/.cvsignore:
20020         Added new cvsignores for Makefile, Makefile.in
20021         
20022         * test/.cvsignore:
20023         Added nmtestdevices
20024         
20025         * src/NetworkManagerDevice.c: 
20026         * src/NetworkManager.c: 
20027         Updated the wireless/wired HAL device strings from net.ethernet to
20028         net.80203 or net.80211 depending on wired or wireless respectively
20029         
20030         * examples/python/NetworkManager.py: 
20031         s/Quality/Strength/
20032
20033         * examples/python/systray/network_tray.py:
20034         Lots of little changes and fixes.  been rotting for a while so I
20035         figured I'd finally sync them all with CVS
20036
20037 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20038
20039         * configure.in: Add graphics
20040
20041         * panel-applet/Makefile.am: Add graphics
20042
20043         * panel-applet/icons/*: Add graphics
20044
20045         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20046         the icons fully lined up.
20047
20048         * panel-applet/menu-info.c: 
20049         * panel-applet/menu-info.h: Add another menu type.
20050
20051 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20052
20053         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20054
20055         * panel-applet/menu-item.[ch]: Wireless menu item.
20056
20057 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20058
20059         * info-daemon/NetworkManagerInfo.conf
20060                 - Created a more robust security policy for the DBus service
20061                         - everything is denied by default
20062                         - root can own and send to the service
20063                         - users logged in at the console can send to the service
20064
20065 2004-09-13  Dan Williams <dcbw@redhat.com>
20066
20067         * src/NetworkManagerDevice.c
20068                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20069                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20070                         the latter
20071
20072 2004-09-13  Dan Williams <dcbw@redhat.com>
20073
20074         * TODO: fix typo
20075
20076         * docs/NetworkManager DBUS API.txt
20077                 - Update for new signal strength changes
20078
20079         * panel-applet/NMWirelessApplet.c
20080                 - Make panel icon show strength of the current connection
20081                 - Cleanups and memleak fixes
20082
20083         * panel-applet/NMWirelessApplet.h
20084                 - Add data members for signal strength on devices and networks
20085
20086         * panel-applet/NMWirelessAppletDbus.c
20087                 - Free more DBusErrors
20088                 - Update for new signal strength changes
20089                 - Make devices and networks more like real objects, use ref/unref methods
20090                 - Actually unlock the mutex when updating the active device
20091
20092         * src/NetworkManagerAP.c
20093                 - Change AP functions and data members from "quality"->"strength"
20094
20095         * src/NetworkManagerDbus.c
20096                 - Kill "getMaxQuality" and "getQuality" methods
20097                 - Add "getStrength" methods for Networks and Devices
20098
20099         * src/NetworkManagerDevice.[ch]
20100                 - Add accessors for device strength
20101                 - Add functions to update strength for a device.  Note that not all drivers
20102                         actually support signal strength for scanned access points (Atmel drivers
20103                         being one)
20104                 - Calculate signal strength for each AP during scan
20105
20106         * src/NetworkManagerWireless.[ch]
20107                 - Add function to return signal strength % from a device and a raw quality struct
20108
20109         * test/nmclienttest.c
20110                 - Update for new signal strength changes
20111
20112 2004-09-11  Dan Williams <dcbw@redhat.com>
20113
20114         * src/NetworkManager.c
20115                 - Fix race condition between initscripts and NM on card insertion
20116                         which could cause a card to keep an IP address and routes around
20117                         even when it was not the active device
20118
20119         * src/NetworkManagerDbus.c
20120                 - Fix compile errors, free more DBusErrors
20121
20122 2004-09-11  Dan Williams <dcbw@redhat.com>
20123
20124         * docs/NetworkManager DBUS API.txt
20125                 - Add an explanation of NM's API
20126
20127         * src/NetworkManagerDbus.c
20128                 - Free some more DBusErrors if needed
20129
20130 2004-09-11  Dan Williams <dcbw@redhat.com>
20131
20132         * panel-applet/NMWirelessApplet.c
20133           panel-applet/NMWirelessAppletDbus.c
20134                 - Start using NetworkDevice/WirelessNetwork structures in more places
20135                 - Update for unified device/network forcing in NetworkManager
20136
20137         * src/NetworkManager.c
20138                 - some code consolidation
20139
20140         * src/NetworkManagerDbus.c
20141                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20142                         or two arguments:  the first is the NM ID of the device to switch to,
20143                         and the second (optional) argument is the ESSID of a wireless network
20144                         to use as well.
20145                 - Get rid of "setNetwork" method due to above change
20146
20147         * src/NetworkManagerDevice.c
20148                 - (nm_device_new): perform scan and update best AP on device creation
20149                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20150                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20151                         spin waiting for cancellation to finish before returning
20152
20153         * src/NetworkManagerPolicy.c
20154                 - Changes here clarify the situations in which a device switch occurs, and 
20155                         make sure to keep using a forced device and network if the user gives
20156                         us one
20157                 - Remove old unused code
20158
20159 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20160
20161         * configure.in: Added Danish (da) to ALL_LINGUAS.
20162
20163 2004-09-09  Dan Williams <dcbw@redhat.com>
20164
20165         * panel-applet/NMWirelessAppletDbus.c
20166                 - Pull fresh devices and networks from NM when wireless networks
20167                         change.  Provides faster feedback of a forced wireless network
20168
20169         * src/NetworkManagerDbus.c
20170                 - Return error when "getMaxQuality" is called on a wired device
20171                 - Make best_ap freezing actually work again, and signal cancellation
20172                         of activation if there's already a device activation when the user
20173                         freezes the best_ap
20174
20175         * src/NetworkManagerDevice.c
20176                 - Don't clear out the best_ap for wireless devices when the link goes
20177                         down, that's done elsewhere
20178                 - Kill any dhcp daemons when cancelling device activation since they
20179                         may be stuck waiting for a DHCP address, and since we're cancelling
20180                         activation we don't care about that anymore
20181
20182         * src/NetworkManagerPolicy.c
20183                 - Make sure to unref the device we ref earlier (we refed it to make sure
20184                         it stuck around during device activation and such)
20185                 - If we were going to change the best device, but its activating currently
20186                         (and therefore the change didn't occur due to the check earlier)
20187                         we mark the state changed to we come back to it later when device
20188                         activation has canceled and its no longer activating
20189
20190         * src/backends/NetworkManagerRedHat.c
20191                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20192
20193 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20194
20195         * info-daemon/passphrase.glade: 
20196         set passphrase input to activates_default : True
20197
20198         * examples/python/systray/network_tray.py
20199         (network_tray.sort_networks):
20200
20201         Added support for having wireless always scanning
20202
20203 2004-09-09  Dan Williams <dcbw@redhat.com>
20204
20205         NOTE: this commit changes the behavior of wireless devices in
20206         NetworkManager.  They are now up all the time, scanning all
20207         the time.  Only the active device has an IP address and routing
20208         information set up however.  Also, NetworkManager will no longer
20209         opportunistically switch wireless networks when a better one
20210         comes in range, it will remain associated with one wireless network
20211         until that one drops out.
20212
20213         * panel-applet/NMWirelessApplet.c
20214           panel-applet/NMWirelessAppletDbus.c
20215                 - List all wireless cards and their respective networks
20216
20217         * src/NMLoadModules
20218                 - Use full path to /sbin/ip
20219
20220         * src/NetworkManager.c
20221                 - Keep wireless devices up all the time so they can scan
20222
20223         * src/NetworkManagerDbus.c
20224                 - On a WirelessNetworkUpdate signal from NMI, don't update
20225                         the "best" AP
20226
20227         * src/NetworkManagerDevice.c
20228                 - (nm_device_set_link_active): clear out the best ap for
20229                         wireless devices when the link is set to FALSE
20230                 - Scan on all wireless cards, all the time
20231                 - (nm_device_activation_worker): split out the wireless card
20232                         link-waiting code to a separate function
20233                 - Keep wireless cards up even if device activation fails
20234                 - Don't update the "best" ap as much
20235
20236         * src/NetworkManagerPolicy.c
20237                 - Don't update the best ap when checking if its frozen,
20238                         let link checking clear out a frozen best ap for us
20239
20240         * src/NetworkManagerWireless.c
20241                 - Scan on all wireless cards, all the time
20242
20243 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20244
20245         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20246
20247 2004-09-09  Ankit Patel <ankit@redhat.com>
20248
20249         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20250
20251 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20252
20253         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20254
20255 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20256
20257         * examples/python/NetworkManager.py: 
20258         added CONNECTED, CONNECTING, and DISCONNECTED states
20259         added methods to return number of devices of a single type
20260
20261         * examples/python/systray/network_tray.py: 
20262         did some tweaks to get the menu looking near what it is supposed
20263         to look like.  Also did a Airo card hack to make it show the
20264         correct AP quality
20265
20266 2004-09-08  Dan Williams <dcbw@redhat.com>
20267
20268         * panel-applet/no-networkmanager.png
20269           panel-applet/Makefile.am
20270           panel-applet/NMWirelessApplet.c
20271                 - Add a "NetworkManager not running" icon and use it
20272                 - Use new consolidated GConf keys rather than Preferred/Trusted
20273
20274         * TODO: update
20275
20276         * info-daemon/NetworkManagerInfo.c
20277           info-daemon/NetworkManagerInfoDbus.[ch]
20278           info-daemon/NetworkManagerInfoPassphraseDialog.c
20279                 - There are now no longer two separate lists of wireless networks,
20280                         but one list where each network is "trusted" or not trusted
20281                 - Add a "getNetworkTrusted" dbus method
20282                 - "WirelessNetworkUpdate" signal now sent rather than
20283                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20284                 - Start freeing some dbus errors (not completed yet)
20285
20286         * info-daemon/passphrase.glade
20287                 - Remove the "don't show" hints for pager and taskbar
20288                 - Add a title since its going to be in the taskbar
20289
20290         * src/NetworkManager.[ch]
20291           src/NetworkManagerAPList.[ch]
20292                 - There are now no longer two separate lists of wireless networks,
20293                         but one list where each network is "trusted" or not trusted
20294
20295         * src/NetworkManagerAP.[ch]
20296                 - Add get/set "trusted" accessors and data bit
20297
20298         * src/NetworkManagerDbus.[ch]
20299                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20300                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20301
20302         * src/NetworkManagerDevice.[ch]
20303                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20304                 - (nm_device_new): Get device config from backend when initializing devices
20305                 - (nm_device_activation_worker): Split out device configuration on
20306                         activation to deal with static/dynamic IP differences, and try encryption
20307                         fallbacks on a device if the encryption method for the best AP is not good
20308                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20309                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20310
20311         * src/NetworkManagerWireless.c
20312                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20313
20314         * src/backends/NetworkManagerRedHat.c
20315           src/backends/NetworkManagerSystem.h
20316                 - (nm_system_device_update_config_info): Add function to get device configuration
20317                         from system data in ifcfg-* files
20318
20319         * src/backends/NetworkManagerDebian.c
20320           src/backends/NetworkManagerGentoo.c
20321           src/backends/NetworkManagerSlackware.c
20322                 - Add stub functions for getting device configuration
20323
20324 2004-09-07  Dan Williams <dcbw@redhat.com>
20325
20326         * src/backends/NetworkManagerRedhat.c
20327           src/backends/NetworkManagerSlackware.c
20328                 - Use full path to /sbin/ip everywhere
20329
20330 2004-09-07  Dan Williams <dcbw@redhat.com>
20331
20332         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20333
20334         * configure.in
20335           initscript/Makefile.am
20336           initscript/Slackware/Makfile.am
20337           initscript/Slackware/rc.networkmanager
20338           src/Makefile.am
20339           src/backends/NetworkManagerSlackware.c
20340                 - Add Slackware support
20341
20342 2004-09-07  Dan Williams <dcbw@redhat.com>
20343
20344         Patches below from:
20345                 <j@bootlab.org>
20346                 Mark Roach <mrroach@okmaybe.com>
20347                 Thom May <thom@debian.org>
20348
20349         * configure.in
20350           initscript/Debian/NetworkManager
20351           initscript/Debian/Makefile.am
20352                 - Initscript for Debian
20353
20354         * src/backends/NetworkManagerDebian.c
20355                 - Add missing system init function to allow compilation
20356                         on Debian
20357
20358 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20359
20360         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20361
20362 2004-09-03  Akagic Amila <bono@linux.org.ba>
20363
20364         * configure.in: Added 'bs' to ALL_LINGUAS.
20365
20366 2004-09-02  Colin Walters  <walters@verbum.org>
20367
20368         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20369         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20370         g_strdup_printf instead of arbitrarily sized buffers.
20371
20372 2004-09-01  Colin Walters  <walters@verbum.org>
20373
20374         * NetworkManager.pc.in: New file.
20375
20376         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20377
20378 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20379         
20380         * configure.in: Punjabi(pa) is added to po/.
20381
20382 2004-08-31  Dan Williams <dcbw@redhat.com>
20383
20384         * Remove 'debug' extern global from all files since we now
20385                 use syslog()
20386
20387         * src/NetworkManager.[ch]
20388                 - Break out routine that get the net.interface property from HAL,
20389                         removing that logic from nm_create_device_and_add_to_list()
20390                 - (nm_create_device_and_add_to_list): make this a bit more general so
20391                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20392                         the create of test devices.
20393                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20394                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20395                         which makes NetworkManager listen for dbus commands to create test
20396                         devices, which have no backing hardware.  Use when you're on a plane
20397                         for example, and/or forgot your wireless card at home.  Test devices
20398                         _cannot_ be created unless NM is started with --enable-test-devices.
20399
20400         * src/NetworkManagerDbus.[ch]
20401                 - New "getLinkActive" method for devices
20402                 - New "setLinkActive" method for devices (only works on test devices)
20403                 - New "createTestDevice" method on NetworkManager object to create a test
20404                         device of a specified type (ie wired, wireless).  UDI is created from
20405                         scratch, as is the interface name.  Only works when NM is started with
20406                         --enable-test-devices switch.
20407                 - New "removeTestDevice" method on NetworkManager object which removes a
20408                         test device.  Only works when NM is started with --enable-test-devices
20409
20410         * src/NetworkManagerDevice.[ch]
20411                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20412                         whether a device is a test device or not, and what its link status is.
20413                 - Deal with test devices in most functions.  For those that work directly on hardware
20414                         special-case test devices.
20415                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20416                         command-line.
20417                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20418                         checking to separate functions to facilitate test device link checking.
20419                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20420                         don't make a distinction between System Authentication and Encryption
20421                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20422                         on the card.  We don't deal with Shared Key auth yet.
20423                 - (nm_device_activation_worker): split the activation cancel check logic out into
20424                         a separate routine nm_device_activation_cancel_if_needed()
20425                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20426                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20427                         a list of fake access points that they can "see"
20428                 - (nm_device_is_test_device): return whether or not a device is a test device
20429
20430         * src/NetworkManagerPolicy.c
20431                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20432                         previously if you "locked"/forced NM to use a wireless device but then
20433                         selected a wireless network for NM to use, it would switch to a wired device.
20434                         So, if the active device is wireless and it has a "forced" best AP, use it
20435                         if the "forced" best AP is still valid
20436                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20437                         there were no usable network devices, or the last one was removed
20438
20439         * src/backends/NetworkManager*.c
20440                 - Deal with test devices, mostly just return success for operations like getting
20441                         a DHCP address
20442
20443         * test/nmtestdevices.c
20444                 - Test tool to create/remove/link-switch test devices
20445
20446 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20447
20448         * examples/python/NetworkManager.py: 
20449         added convience functions has_wired_device and has_wireless_device
20450
20451         * examples/python/systray/network_tray.py: 
20452         cleaned up a bunch of cruft, added support for listing wireless
20453         networks just like the real applet.  This is probably all I'm
20454         going to work on this applet from now on.
20455         TODO: add support for actually changing networks and devices
20456
20457         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20458         changed "nm.networks" into a dict from a list so I can store all
20459         the cool information about networks in there
20460
20461         * examples/python/systray/network_tray.py: 
20462         Added nice message when you try to run without running make first
20463
20464         * examples/python/NetworkManager.py: 
20465         Bug fixes to the code so we get all the device information
20466         that we need in get_device()
20467         
20468         * examples/python/NMTester.py: 
20469         Fixed _print_device_list to print_device_list
20470
20471 2004-08-29  Seth Nickell  <seth@gnome.org>
20472
20473         * configure.in:
20474
20475         Actually properly setup the Debian backend in configure.
20476         
20477 2004-08-29  Colin Walters  <walters@verbum.org>
20478
20479         * test/nminfotest.c: Include string.h and stdlib.h.
20480         (get_network_string_property, get_networks_of_type): Return NULL.
20481
20482         * test/nmclienttest.c (get_device_name, get_active_device): Return
20483         NULL.
20484
20485         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20486         use strlen, fgets always NULL-terminates the string.
20487
20488         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20489         dbus_message_get_member): Remove /* in comment.
20490
20491         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20492
20493         * src/NetworkManager.c (quit): Unused, delete.
20494         (nm_data_free): Cast arg to GFunc.
20495
20496         * panel-applet/NMWirelessAppletDbus.c: Need to include
20497         string.h, and dbus-glib-lowlevel.h (the latter is needed
20498         for dbus_connection_setup_with_g_main at present).
20499         (nmwa_dbus_update_wireless_network_list): Parenthesize
20500         assignment in conditional.
20501         (nmwa_dbus_worker): Return NULL.
20502
20503         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20504         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20505         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20506         (nmwa_populate_menu): Return NULL on failure, instead of just
20507         return;
20508
20509         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20510
20511         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20512         variables.
20513
20514         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20515         delete.
20516         
20517 2004-08-29  Colin Walters  <walters@verbum.org>
20518
20519         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20520         a GTimeVal instead of time_t.  This is easier to work with,
20521         since time_t may be a long or double, we don't know.
20522
20523         * src/NetworkManagerDbus.h: Update prototype.
20524         
20525         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20526         instead of time_t.
20527         (nm_ap_get_timestamp): Update to return GTimeVal.
20528         (nm_ap_set_timestamp): Update to take GTimeVal.
20529         
20530         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20531         to handle GTimeVal.
20532
20533         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20534         GTimeVal change.
20535         (nm_ap_list_print_members): Fix warnings in printf format.
20536
20537 2004-08-29  Colin Walters  <walters@verbum.org>
20538         
20539         * panel-applet/NMWirelessApplet.c: Include config.h.
20540
20541 2004-08-29  Colin Walters  <walters@verbum.org>
20542
20543         * configure.in: Generate config.h.
20544
20545         * configure.in: Dump dependency on OpenSSL; we can't
20546         use it since this package is GPL:
20547         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20548         Instead, check for libgcrypt, use it if available,
20549         otherwise use included MD5 code.
20550
20551         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20552         Suck in from gnome-keyring, munge a bit.
20553         
20554         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20555         gnome-keyring-md5.h gnome-keyring-md5.c.
20556         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20557
20558         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20559         libgcrypt or included gnome-keyring md5 bits.
20560         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20561
20562 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20563
20564         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20565
20566 2004-08-27  Bryan Clark  <bclark@redhat.com>
20567
20568         * examples/python/systray/Makefile: 
20569
20570         Updated the clean section
20571         
20572         * examples/python/systray/trayiconmodule.c: 
20573         * examples/python/systray/trayicon.override: 
20574         * examples/python/systray/network_tray.py: 
20575         * examples/python/systray/eggtrayicon.h: 
20576         * examples/python/systray/eggtrayicon.c: 
20577         * examples/python/systray/Makefile: 
20578         * examples/python/README: 
20579         * examples/python/NetworkManager.py: 
20580         * examples/python/NMTester.py: 
20581
20582         Initial commit of these python example files
20583
20584 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20585
20586         * panel-applet/NMWirelessApplet.c
20587                 - Make current device bold
20588                 - Show more user-friendly device name if we got one from hal
20589
20590         * panel-applet/NMWirelessAppletDbus.c
20591                 - Grab "info.product" key from hal for network devices
20592                 - Cache the current active device
20593
20594 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20595
20596         * configure.in: Added en_CA to ALL_LINGUAS.
20597
20598 2004-08-27  Christian Rose  <menthos@menthos.com>
20599
20600         * configure.in: Added "sv" to ALL_LINGUAS.
20601
20602 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20603
20604         * Tag NetworkManager-0.2
20605
20606 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20607
20608         * initscripts/Makefile.am
20609         * configure.in: Make pass distcheck
20610
20611         * po/ChangeLog: added
20612
20613 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20614
20615         * panel-applet/NMWirelessApplet.c
20616                 - Remove debugging code
20617                 - Enable device switching from menus
20618
20619         * panel-applet/NMWirelessAppletDbus.[ch]
20620                 - Method for asking NM to switch devices
20621
20622         * src/NetworkManagerDevice.c
20623                 - Set dev->activating earlier, avoids race between
20624                         the dbus signal of "DeviceActivating" and setting
20625                         dev->activating (which is what NM's "status" method call
20626                         looks at)
20627
20628 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20629
20630         * panel-applet/NMWirelessApplet.[ch]
20631                 - Rework menu code to add devices to menu, and to show
20632                         signal strength for each access point.  Code cleanups
20633                         too.
20634
20635         * panel-applet/NMWirelessAppletDbus.c
20636                 - Grab network devices from NetworkManager too
20637                 - Grab quality information from NM for wireless networks
20638
20639         * src/NetworkManagerDbus.[ch]
20640                 - Add dbus methods for getting the HAL UDI from a device and
20641                         for getting its base quality, if its wireless
20642                 - Consolidate some functions (wireless network notifications,
20643                         device notifications)
20644                 - Add method for requesting NM to use a particular device
20645
20646         * src/NetworkManager.c
20647                 - Change for function consolidations from NetworkManagerDbus.c
20648                 - Implement active device locking and user-requested devices
20649                         (ie, tell NM to use a particular device instead of the one
20650                         it autochose)
20651
20652         * src/NetworkManagerDevice.c
20653                 - Add method for getting the base quality of a device, if its
20654                         wireless
20655                 - Grab device base quailty info from iwlib during scans
20656
20657         * src/NetworkManagerPolicy.c
20658                 - Use a user-requested device rather than the auto-chosen device
20659                         if we are told to
20660
20661 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20662
20663         * Makefile.am: add po as a supdir
20664
20665         * autogen.sh: use gnome-autogen.sh
20666
20667         * initscript/Gentoo/.cvsignore:
20668         * initscript/RedHat/.cvsignore: Shut up cvs
20669
20670         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20671
20672         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20673         (nmwa_fill): Use gettext.
20674
20675         * configure.in: add gettext support
20676         * po/.cvsignore:
20677         * po/NetworkManager.pot:
20678         * po/POTFILES.in:
20679
20680 2004-08-26  Seth Nickell  <seth@gnome.org>
20681
20682         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20683         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20684         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20685         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20686         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20687         * panel-applet/NMWirelessApplet.h:
20688
20689         Use a menu bar instead of a button for the main clickable
20690         thingy.
20691         
20692 2004-08-25  Dan Williams <dcbw@redhat.com>
20693
20694         * src/NetworkManagerDevice.c
20695                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20696                         turning encryption off, because the Cisco driver doesn't associate
20697                         with WEP-enabled access points unless we are in "open"
20698
20699 2004-08-25  Dan Williams <dcbw@redhat.com>
20700
20701         * src/NetworkManagerWireless.c
20702                 - Don't try to defererence blank passphrases
20703
20704 2004-08-25  Dan Williams <dcbw@redhat.com>
20705
20706         * panel-applet/NMWirelessApplet.c
20707                 - Rebuild the menu whenever a user clicks
20708
20709 2004-08-25  Dan Williams <dcbw@redhat.com>
20710
20711         * panel-applet/NMWirelessApplet.c
20712                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20713                         when NM isn't around or when its not connected
20714
20715         * src/NetworkManagerDevice.c
20716                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20717                         canceled.
20718
20719 2004-08-25  Dan Williams <dcbw@redhat.com>
20720
20721         * panel-applet/NMWirelessAppletDbus.c
20722                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20723                         for getting encryption, and don't stop on "val" once we've gotten it
20724                         from NetworkManager.  Short form:  encryption should now show up.
20725
20726 2004-08-25  Dan Williams <dcbw@redhat.com>
20727
20728         * panel-applet/NMWirelessApplet.c
20729                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20730                         network to associate with
20731
20732 2004-08-25  Dan Williams <dcbw@redhat.com>
20733
20734         * panel-applet/*
20735                 - Rework the panel applet to do all DBUS communication in a separate
20736                         thread
20737
20738 2004-08-25  Dan Williams <dcbw@redhat.com>
20739
20740         * info-daemon/NetworkManagerInfo.[ch]
20741                 - Remove "get_next_priority" function
20742
20743         * info-daemon/NetworkManagerInfoDbus.[ch]
20744                 - Convert "priority" functions to "timestamp"
20745
20746 2004-08-25  Dan Williams <dcbw@redhat.com>
20747
20748         * src/NetworkManagerAP.[ch]
20749                 - Add a "enc_method_good" member and accessors to an Access Point
20750                         to signal when we've found the correct encryption method
20751                         for an access point
20752                 - Add a "timestamp" member and accessors, remove "priority" member
20753                         and accessors (use timestamps instead)
20754                 - Rename "wep_key"->"enc_key"
20755                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20756                         for a specified encryption method using the access points
20757                         source encryption key/passphrase
20758
20759         * src/NetworkManagerAPList.c
20760                 - When updating a network with dbus, grab timestamp now instead of
20761                         priority
20762
20763         * src/NetworkManagerDBus.[ch]
20764                 - Add signal for "DeviceActivating"
20765                 - Switch priority->timestamp
20766
20767         * src/NetworkManagerDevice.c
20768                 - Change references of "wep_key" -> "enc_key" or "key"
20769                 - Signal DeviceActivating when starting activation
20770                 - When activating a wireless device, if the access point we are connecting
20771                         to is encrypted, and we have a source key, try to generate a mangled
20772                         key and use that (ie, generate real WEP key from a passphrase)
20773                 - Rework device activation to fallback to other encryption methods if
20774                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20775                         first, then if that doesn't work fall back to direct hex key).
20776                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20777                         priority.  We now prefer the latest access point used, rather than using
20778                         a priority scheme
20779                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20780                         points we've just discovered, and merge in correct info from the global
20781                         access point lists
20782
20783 2004-08-25  Seth Nickell  <seth@gnome.org>
20784
20785         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20786         Debian support.
20787         
20788         * src/Makefile.am:
20789         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20790         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20791         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20792         (nm_system_delete_default_route),
20793         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20794         (nm_system_load_device_modules):
20795
20796 2004-08-24  Dan Willemsen <dan@willemsen.us>
20797
20798         * src/NetworkManager.c
20799           src/backends/NetworkManagerGentoo.c
20800           src/backends/NetworkManagerRedHat.c
20801           src/backends/NetworkManagerSystem.h
20802                 - Implement preliminary Gentoo support, adding a
20803                         nm_system_init function to the backend specification
20804
20805         * configure.in
20806                 - Distribution auto-detection, lowercase any user-fed
20807                         distribution names
20808
20809         * initscript/.cvsignore
20810           initscript/Makefile.am
20811           initscript/RedHat/Makefile.am
20812           initscript/RedHat/NetworkManager
20813           initscript/Gentoo/Makefile.am
20814           initscript/Gentoo/NetworkManager
20815                 - Refactored initscript code separately for each
20816                         distribution
20817
20818 2004-08-23  Dan Williams <dcbw@redhat.com>
20819
20820         * configure.in
20821           src/Makefile.am
20822           src/NetworkManagerDevice.c
20823           src/NetworkManager.c
20824           src/NetworkManagerUtils.[ch]
20825           src/backends/NetworkManagerSystem.h
20826           src/backends/NetworkManagerRedHat.c
20827           src/backends/NetworkManagerGentoo.c
20828                 - Refactor system-specific code into separate backends for
20829                         each distribution
20830
20831 2004-08-23  Dan Willemsen <dan@willemsen.us>
20832
20833         * dispatcher-daemon/NetworkManagerDispatcher.c
20834           info-daemon/NetworkManagerInfo.[ch]
20835           info-daemon/NetworkManagerInfoDbus.c
20836           info-daemon/NetworkManagerInfoPassphraseDialog.c
20837           src/NetworkManager.c
20838           src/NetworkManagerAP.c
20839           src/NetworkManagerAPList.c
20840           src/NetworkManagerDbus.c
20841           src/NetworkManagerDevice.c
20842           src/NetworkManagerPolicy.c
20843           src/NetworkManagerUtils.[ch]
20844           src/NetworkManagerWireless.c
20845                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20846
20847         * src/NetworkManager.c
20848                 - Fixed usage wording for --no-daemon
20849
20850 2004-08-23  Dan Williams <dcbw@redhat.com>
20851
20852         * panel-applet/NMWirelessApplet.c
20853                 - Update our state every second to get more responsive panel icon
20854                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20855                         was causing our marching ants status blips to never move when
20856                         looking for a wireless network
20857
20858         * src/NetworkManagerDevice.c
20859                 - (nm_device_activation_begin): return if activation has already begun
20860                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20861                         trusted/preferred network into the device's access point when the
20862                         scan list is processed
20863
20864 2004-08-23  Dan Williams <dcbw@redhat.com>
20865
20866         * initscript/NetworkManager
20867                 - Use NMLaunchHelper rather than sleeping
20868
20869         * initscript/NMLaunchHelper.c
20870           Makefile.am
20871                 - Add helper program that exits only when NM activates a device,
20872                         or 10 seconds have passed, whichever happens first.  This
20873                         stops the boot processes until we have a network connection,
20874                         which NM can't do because it daemonizes and brings the connection
20875                         up in the background.  Allows stuff like NFS to not die.
20876
20877 2004-08-20  Dan Williams <dcbw@redhat.com>
20878
20879         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20880                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20881                         for a network, set the essid as well since it may not exist yet
20882                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20883                         since WEP keys/passphrases are long and prone to entry-error
20884
20885         * panel-applet/Makefile.am
20886           panel-applet/wired.png
20887                 - Add (pulled from system-config-network temporarily)
20888
20889         * panel-applet/NMWirelessApplet.[ch]
20890                 - Show wired picture when a wired connection is used
20891                 - Rename wireless icon enums, adding WIRELESS
20892
20893         * src/NetworkManagerDevice.c
20894                 - (nm_device_activate_wireless): unset encryption before bringing
20895                         down the card and setting the essid
20896                 - (nm_device_activatin_worker): request a key from the user if the
20897                         AP we are connecting to is encrypted but we don't have a key
20898                         for it yet
20899                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20900                         strcmp() that prevented a user-entered key from actually getting
20901                         used
20902
20903 2004-08-16  Dan Williams <dcbw@redhat.com>
20904
20905         * initscript/NetworkManager
20906                 - Check for /sbin/ip
20907                 - Do sysctl magic that network service does
20908                 - sleep 4s after start to allow network time to come up [hack]
20909
20910         * src/Makefile.am
20911           src/NMLoadModules
20912                 - Load all network device kernel modules (hal doesn't know devices
20913                         are ethernet until the module is loaded, and therefore we don't know)
20914
20915         * src/NetworkManager.c
20916                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20917                         network devices, and bring up the loopback device explicitly
20918
20919         * src/NetworkManagerUtils.[ch]
20920                 - (nm_enable_loopback): new function
20921
20922 2004-08-13  Dan Williams <dcbw@redhat.com>
20923
20924         * configure.in
20925           panel-applet/Makefile.am
20926                 - Fix up cleanfiles and server_DATA/server_in_files
20927
20928         * README
20929                 - Update with some comments on theory of operation
20930
20931         * CONTRIBUTING
20932           Makefile.am
20933                 - Add CONTRIBUTING
20934
20935 2004-08-12  Dan Williams <dcbw@redhat.com>
20936
20937         * info-daemon/passphrase.glade
20938                 - Set window title to " "
20939
20940         * panel-applet/Makefile.am
20941           panel-applet/keyring.png
20942                 - Deliver to correct place
20943
20944         * panel-applet/NMWirelessApplet.[ch]
20945                 - Add comments
20946                 - Remove applet->have_active_device as its no longer used
20947                 - (nmwa_load_theme): load keyring.png too
20948                 - (error_dialog): remove
20949                 - (show_warning_dialog): subsume functionality of error dialog too
20950                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20951                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20952                         the networks menu
20953                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20954                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20955                         and when we get broadcasts of changed wireless access points only, not when the
20956                         user clicks on the button to display the menu (too long of a wait)
20957                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20958                         networks that are encrypted
20959                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20960                         menu item with g_object_set_data()
20961
20962         * panel-applet/NMWirelessAppletDbus.[ch]
20963                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20964                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20965                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20966                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20967                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20968                         activation/deactivation signals and rebuild the menu when they happen
20969
20970         * src/NetworkManager.c
20971                 - (main): use new nm_spawn_process() rather than system()
20972
20973         * src/NetworkManagerDbus.c
20974                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20975                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20976                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20977                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20978                         to freeze the best_ap.
20979
20980         * src/NetworkManagerDevice.[ch]
20981                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20982                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20983                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20984                         ap list
20985
20986         * src/NetworkManagerUtils.[ch]
20987                 - (nm_spawn_process): add replacement for system() usage
20988
20989 2004-08-11  Dan Williams <dcbw@redhat.com>
20990
20991         * panel-applet/NMWirelessApplet.[ch]
20992                 - Fix up copyright and credits to include Bastien and Eskil,
20993                         who created the gnome-applets wireless applet, from whose
20994                         skeleton this one was created
20995                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20996                         pixmap to draw is computed during nmwa_update_state()
20997                 - Applet now shows itself all the time due to panel packing issues
20998                         which caused the applet to previously never come back after hiding.
20999                         When a wired device is the active device, the applet shows "not connected"
21000
21001         * panel-applet/NMWirelessAppletDbus.[ch]
21002                 - Clean up error messages and show what function they are from
21003                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21004                 - Add new device type getters, and a status getter
21005
21006         * src/NetworkManagerDbus.c
21007                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21008                         network is actually in the device's ap list
21009                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21010
21011         * src/NetworkManagerDevice.c
21012                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21013                         card
21014
21015         * test/nmclienttest.c
21016                 - Report status of NetworkManager too
21017
21018 2004-08-11  Dan Williams <dcbw@redhat.com>
21019
21020         * info-daemon/NetworkManagerInfo.c:
21021                 - (main): clean up Seth's code style
21022
21023         * info-daemon/NetworkManagerInfoDbus.c:
21024                 - Use the more aptly-named path/service/interface constants from NetworkManager
21025                 - Don't return empty strings ("") as object paths ever, instead return errors
21026
21027         * panel-applet/NMWirelessApplet.c:
21028                 - Clean up Seth's code style
21029
21030         * src/NetworkManager.[ch]
21031                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21032                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21033
21034         * src/NetworkManagerAPList.[ch]
21035                 - Move Iter struct right above the iter functions to preserve opacity
21036                 - (nm_ap_list_remove_ap): implement
21037                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21038                         remove AP if NetworkManagerInfo doesn't know anything about it
21039                 - (nm_ap_list_diff): user NMAPList iterators
21040                 - (nm_ap_list_print_members): implement debugging function
21041
21042         * src/NetworkManagerDbus.[ch]
21043                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21044                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21045                         and move the actual key setting stuff into NetworkManagerDevice.c
21046                 - (nm_dbus_get_network_priority): return -1 now on errors
21047                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21048                         get lost, and force the active device to update its "best" ap when AP lists change
21049                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21050                         method call due to pending_device member removal
21051
21052         * src/NetworkManagerDevice.[ch]
21053                 - Move NMDevice structure to the top
21054                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21055                 - Remove Pending Action stuff from everywhere
21056                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21057                         activation for us.  This thread blocks until all conditions for activation have
21058                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21059                         then setup up the interface and runs dhclient.  We have to do this because there
21060                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21061                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21062                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21063                         can tell nm_device_activation_worker() that we've got a key
21064                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21065                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21066                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21067                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21068
21069         * src/NetworkManagerPolicy.c
21070                 - Remove anything to do with pending_device
21071                 - Adjust device activation to deal with activation-in-worker-thread
21072
21073         * src/NetworkManagerUtils.c
21074                 - Clean up locking debugging a bit
21075
21076         * src/NetworkManagerWireless.[ch]
21077                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21078                         was badly named and is better as a device function
21079
21080         * panel-applet/.cvsignore: add
21081
21082 2004-08-09  Seth Nickell  <seth@gnome.org>
21083
21084         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21085         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21086         (nmwa_new):
21087         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21088
21089         Don't load the menus until clicked on (also removes a call outside
21090         normal code paths at first load).
21091
21092         Hide applet when NM is not present.
21093         
21094         Improve printf debugging stuff.
21095         
21096 2004-08-09  Dan Williams <dcbw@redhat.com>
21097
21098         * dispatcher-daemon/NetworkManagerDispatcher.c:
21099                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21100                 - Use constants for NetworkManager interface, service, and path
21101
21102 2004-08-09  Dan Williams <dcbw@redhat.com>
21103
21104         * src/NetworkManagerDbus.c:
21105                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21106                         instead return an error message
21107                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21108                         on a wired device.  Also never return an empty object path, instead return an error message
21109
21110 2004-08-06  Seth Nickell  <seth@gnome.org>
21111
21112         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21113
21114         Check the error code when getting a connection.
21115         
21116         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21117
21118         Check if the NM service exists when initializing (rather than
21119         assuming it does not).
21120         
21121         * src/NetworkManagerDbus.c: (nm_dbus_init):
21122
21123         Don't acquire the well-known service name until we have
21124         registered object/path handlers and can actually receive
21125         calls.
21126         
21127 2004-08-06  Dan Williams <dcbw@redhat.com>
21128
21129         * panel-applet/*
21130                 - Add panel applet
21131
21132         * src/NetworkManagerPolicy.c
21133           src/NetworkManager.c
21134                 - Get access point lists from NetworkManagerInfo on-demand,
21135                         and look for ServiceCreate/ServiceDeleted signals to see when
21136                         we should query NMI for lists
21137         * src/NetworkManagerAPList.c
21138                 - Make sure to init the list's mutex
21139                 - Convert traversals of the list over to the list iter functions
21140
21141         * src/NetworkManagerDbus.[ch]
21142                 - Use more aptly-named path/service/interface constants
21143                 - Treat both active and pending devices the same for "getActiveDevice"
21144                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21145
21146         * src/NetworkManagerDevice.c
21147                 - Honor "ignored" network list when picking best ap to use
21148
21149 2004-08-06  Seth Nickell  <seth@gnome.org>
21150
21151         * aclocal.m4:
21152
21153         Autogenerated, remove from CVS.
21154         
21155         * autogen.sh:
21156
21157         Don't hardcode automake version.
21158         
21159         * configure.in:
21160         * info-daemon/Makefile.am:
21161         * info-daemon/NetworkManagerInfo.c: (main):
21162
21163         Use GnomeProgram et al. for doing session management.
21164         Use popt stuff for argument parsing rather than doing
21165         it manugally.
21166         
21167 2004-08-05  Dan Williams <dcbw@redhat.com>
21168
21169         * test/nminfotest.c
21170                 - Update to new NMI dbus API, check different network types
21171
21172         * info-daemon/NetworkManagerInfoDbus.c
21173                 - Update to new NM dbus API, ie network type sent in query message
21174
21175 2004-08-05  Dan Williams <dcbw@redhat.com>
21176
21177         * An assload of changes
21178
21179 2004-08-02  Dan Williams <dcbw@redhat.com>
21180
21181         * TODO
21182                 - new task: proper logging support
21183
21184         * info-daemon/NetworkManagerInfo.c
21185                 - Correct spelling of "canceled"
21186                 - Correct casting of objects for g_signal_connect()
21187
21188         * info-daemon/NetworkManagerInfoDbus.c
21189                 - Add defines for NetworkManager namespace and object path, and use them
21190                 - Add filter function to trap new signals from NetworkManager:
21191                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21192
21193         * info-daemon/passphrase.glade
21194                 - Change name of "ok" button to "Login to Network..."
21195                 - Mark invisible
21196
21197         * src/NetworkManager.c
21198                 - Code and debug message cleanups
21199                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21200                 - (nm_add_initial_devices) Check returned string array of devices
21201                         and don't try to add devices if array is NULL
21202                 - (main) Initialize libhal a bit later, make code a bit clearer
21203
21204         * src/NetworkManagerAP.[ch]
21205                 - New accessor and data member "matched": used to speed up AP list
21206                         diffing
21207                 - New accessor and data member "enc_method": will be used during key
21208                         fallback to cache which passphrase->key conversion actually works
21209                         so we don't have to do it every time
21210
21211         * src/NetworkManagerAPList.[ch]
21212                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21213                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21214                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21215                         dbus in response to those differences
21216
21217         * src/NetworkManagerDbus.[ch]
21218                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21219                         make an object path for that access point (NOTE that we don't yet check to
21220                         make sure that access point is actually in the device's AP list yet)
21221                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21222                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21223                         New: signal appearance/disappearance of wireless networks
21224                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21225                         key entry
21226
21227         * src/NetworkManagerDevice.[ch]
21228                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21229                 - (nm_device_ap_list_get) New: return the AP list (static function)
21230                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21231                         new one resulting from the scan with the old one
21232
21233         * src/NetworkManagerWireless.c
21234                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21235
21236         * test/nminfotest.c
21237                 - #define object paths and namespaces and use the #defines rather than static strings
21238                 - Test out user-key functionality of NetworkManagerInfo too
21239
21240 2004-07-29  Dan Williams <dcbw@redhat.com>
21241
21242         * info-daemon/NetworkManagerInfoDbus.c
21243           src/NetworkManagerDbus.c
21244                 - Update to current DBus (ie don't use decomposed paths when registering
21245                         object paths/fallbacks)
21246
21247 2004-07-27  Dan Williams <dcbw@redhat.com>
21248
21249         * Remove various Makefile.in files
21250
21251         * TODO
21252                 - Add some more items
21253
21254         * configure.in
21255                 - Add checks for OpenSSL/md5 headers and libs
21256
21257         * src/Makefile.am
21258                 - Use OpenSSL CFLAGS
21259
21260         * src/NetworkManagerAP.[ch]
21261                 - Remove 'stamp' functions, replace with 'invalid' functions
21262                         to support user cancelling WEP key entry
21263
21264         * src/NetworkManagerDbus.c
21265                 - Remove 'stamp' return functions
21266                 - Treat returned user key as a passphrase and convert to a WEP key,
21267                         but don't actually use the WEP key yet.  We use the returned user
21268                         key as a hexadecimal WEP key until we can figure out a UI for
21269                         passphrase-vs-hex key
21270
21271         * src/NetworkManagerWireless.[ch]
21272                 - Add passphrase-to-128bit-key function
21273
21274 2004-07-27  Dan Williams <dcbw@redhat.com>
21275
21276         * TODO
21277                 - Add a couple of items
21278
21279 2004-07-27  Dan Williams <dcbw@redhat.com>
21280
21281         * info-daemon/NetworkManagerInfo.c
21282                 - Update allowed network's GConf key when user enters a WEP key explicitly
21283
21284         * info-daemon/NetworkManagerDbus.c
21285                 - Fix some comments
21286                 - nmi_dbus_get_allowed_networks(): kill warning
21287
21288 2004-07-27  Dan Williams <dcbw@redhat.com>
21289
21290         * initscript/Makefile.in
21291                 - Remove
21292
21293         * initscript/Makefile.am
21294                 - Add correct rules to install the init.d initscript
21295
21296         * info-daemon/NetworkManagerInfoDbus.c
21297                 - Remove debug fprintf
21298
21299         * src/NetworkManagerDbus.[ch]
21300                 - Remove debug fprintfs
21301                 - Add macros for NetworkManagerInfo object path/namespace
21302                 - Use said macros instead of constant strings
21303
21304 2004-07-27  Dan Williams <dcbw@redhat.com>
21305
21306         * initscript/.cvsignore
21307                 - Add
21308
21309         * info-daemon/Makefile.am
21310                 - Install .glade files and keyring.png
21311                 - Fix stupid omission of a \ that caused half the flags not to be
21312                         passed to gcc
21313
21314         * info-daemon/NetworkManagerInfo.c
21315                 - gtk_signal_connect->g_signal_connect
21316                 - Alert NetworkManagerInfo to new glade file location
21317
21318 2004-07-27  Dan Williams <dcbw@redhat.com>
21319
21320         * test/nmclienttest.c
21321           test/nminfotest.c
21322                 - Add missing <dbus/dbus.h> headers
21323                 - Add GPL message at top
21324
21325 2004-07-27  Dan Williams <dcbw@redhat.com>
21326
21327         * src/NetworkManagerAPList.[ch]
21328           src/Makefile.am
21329                 - Add.  Deal with allowed network list additions, deletions, and updates
21330
21331         * dispatcher-daemon/NetworkManagerDispatcher.c
21332                 - Add missing <dbus/dbus.h> header
21333
21334         * info-daemon/NetworkManagerInfo.[ch]
21335                 - Add missing <dbus/dbus.h> header
21336                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21337                         network change
21338                 - Better error checking
21339
21340         * info-daemon/NetworkManagerInfoDbus.[ch]
21341                 - Add missing <dbus/dbus.h> header
21342                 - Convert to using dbus_message_append_args/dbus_message_get_args
21343                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21344                         that an allowed network changed.  We don't want to signal on individual
21345                         keys _inside_ an allowed network really, just want NM to query the info
21346                         daemon for updated info on all keys.
21347                 - Better error checking
21348
21349         * src/NetworkManager.[ch]
21350                 - Add missing <dbus/dbus.h> header
21351                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21352                 - Zero out NMData structure on free
21353                 - No longer use a thread for allowed_ap_list updating, instead its now done
21354                         through dbus queries against NetworkManagerInfo
21355                 - Populate allowed_ap_list initially before adding existing network devices
21356                         to the device list, so wireless devices can get their "best" AP
21357
21358         * src/NetworkManagerDbus.[ch]
21359                 - Convert to using dbus_message_append_args/dbus_message_get_args
21360                 - Better error checking
21361                 - Implement Allowed Network info functions to request allowed network
21362                         info from NetworkManagerInfo
21363                 - Implement the filter function to process signals from NetworkManagerInfo
21364                         about changing allowed networks
21365
21366         * src/NetworkManagerDevice.c
21367                 - Fix file descriptor leak in nm_device_update_ip4_address()
21368
21369 2004-07-27  Dan Williams <dcbw@redhat.com>
21370
21371         * .cvsignore
21372           src/.cvsignore
21373           test/.cvsignore
21374           dispatcher-daemon/.cvsignore
21375           info-daemon/.cvsignore
21376                 - Add .cvsignore files to reduce noise when diffing
21377
21378 2004-07-24  Dan Williams <dcbw@redhat.com>
21379
21380         * src/NetworkManager.[ch]
21381           src/NetworkManagerDbus.[ch]
21382           src/NetworkManagerDevice.[ch]
21383           src/NetworkManagerPolicy.c
21384           src/NetworkManagerWireless.[ch]
21385                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21386                 - Pass the NMData application data structure through all calls
21387                         that need it so we can get rid of nm_get_global_data()
21388                 - Change deallocation of the allowed_ap_list GSList in preparation
21389                         for not completely clearing it every time we get an update,
21390                         but instead getting incremental updates via GConf/dbus
21391
21392 2004-07-22  Dan Williams <dcbw@redhat.com>
21393
21394         * configure.in
21395                 - Add checks for GConf libs & headers & flags
21396
21397         * info-daemon/Makefile.am
21398                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21399
21400         * info-daemon/NetworkManagerInfo.[ch]
21401                 - Don't use gquarks for data storage, just use normal data storage
21402                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21403
21404         * info-daemon/NetworkManagerDbus.[ch]
21405                 - Add method call for getting allowed networks
21406                 - Add method calls for getting an allowed network's essid, priority, and key
21407                 - Hook the method calls up to GConf
21408                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21409                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21410                 
21411         * src/NetworkManagerDbus.[ch]
21412                 - Switch for enumeration of networks to using essid instead
21413
21414         * test/Makefile.am
21415           test/nminfotest.c
21416                 - Add test program for NetworkManagerInfo
21417
21418 2004-07-19  Dan Williams <dcbw@redhat.com>
21419
21420         * src/NetworkManagerDbus.c
21421                 - Switch from indexed device paths to names.  Less code, more efficient.
21422                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21423
21424 2004-07-19  Dan Williams <dcbw@redhat.com>
21425
21426         * dispatcher-daemon/NetworkManagerDispatcher.c
21427                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21428
21429 2004-07-19  Dan Williams <dcbw@redhat.com>
21430
21431         * Makefile.am
21432                 - Add info-daemon directory
21433
21434         * configure.in
21435                 - Check for glade libs and headers
21436                 - Add info-daemon directory
21437
21438         * src/NetworkManagerAP.c
21439                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21440                         copied over to the new AP.
21441
21442         * src/NetworkManagerDbus.c
21443           src/NetworkManagerDbus.h
21444                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21445                 - Remove nm_dbus_signal_need_key_for_network()
21446                 - Add disabled code for asynchronous user wep key callbacks
21447                 - Add functions for getting, setting, and cancelling user key operations
21448                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21449                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21450
21451         * src/NetworkManagerDevice.c
21452           src/NetworkManagerDevice.h
21453                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21454                         logic is in device activation now
21455                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21456                         key is wrong) trigger get-user-key pending action
21457                 - Implement get-user-key pending action stuff, tie to dbus messages
21458                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21459                 - Add nm_device_ap_list_get_ap_by_essid()
21460                 - Instead of copying "best" access points, ref them instead so that the key we set
21461                         sticks around
21462
21463         * src/NetworkManagerPolicy.c
21464                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21465                 - Don't cancel pending actions on a device if its the same device as last iteration
21466                 - Only promote pending_device->active_device if activation was successfull
21467
21468         * src/Makefile.am
21469                 - Rename nmclienttest->nmtest
21470
21471         * info-daemon/Makefile.am
21472           info-daemon/NetworkManagerInfo.c
21473           info-daemon/NetworkManagerInfo.h
21474           info-daemon/NetworkManagerInfoDbus.c
21475           info-daemon/NetworkManagerInfoDbus.h
21476           info-daemon/passphrase.glade
21477           info-daemon/NetworkManagerInfo.conf
21478           info-daemon/keyring.png
21479                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21480                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21481                         lists to NetworkManager by proxying user's GConf
21482           
21483
21484 2004-07-15  Dan Williams <dcbw@redhat.com>
21485
21486         * src/Makefile.am
21487                 - Turn on warnings
21488
21489         * src/NetworkManager.c
21490                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21491                         that doing the deactivation ourselves
21492                 - Cancel an pending actions on a device if its being removed
21493                 - Break up link state checking a bit, make non-active wireless cards
21494                         deactivated to save power
21495                 - Remove unused variables
21496
21497         * src/NetworkManager.h
21498                 - Add support for "pending" device
21499
21500         * src/NetworkManagerAP.h
21501           src/NetworkManagerAP.c
21502                 - Add support for determining whether and AP has encryption enabled or not
21503                 - AP address is now "struct ether_addr" rather than a string
21504
21505         * src/NetworkManagerDbus.h
21506           src/NetworkManagerDbus.c
21507                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21508                 - Changes for AP address from struct ether_addr->string
21509
21510         * src/NetworkManagerDevice.h
21511           src/NetworkManagerDevice.c
21512                 - Remove unused variables, fix warnings
21513                 - Add support for Pending Actions (things that block a device from being "active"
21514                         until they are completed).
21515                 - First pending action:  Get a WEP key from the user
21516                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21517                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21518                 - Update wireless link checking to try to determine if the AP we are associated
21519                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21520                         trigger the GetUserKey pending action on the device
21521                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21522                         up in that case, otherwise we can't scan or link-check on it
21523                 - Add IP address change notifications at appropriate points (still needs some work)
21524                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21525
21526         * src/NetworkManagerPolicy.h
21527           src/NetworkManagerPolicy.c
21528                 - Split out "best" access point determiniation into separate function
21529                 - Make device activation 2-stage:  first the device is pending, then
21530                         in the next iteration through it becomes "active" unless it has
21531                         pending actions
21532
21533         * src/NetworkManagerUtils.h
21534           src/NetworkManagerUtils.c
21535                 - Clean up unused variables and warnings
21536                 - Wrap our debug macros in {} to prevent possible confusion
21537
21538         * src/NetworkManagerWireless.c
21539                 - Forgot to return current best priority, which lead to last available AP always
21540                         being chosen no matter what its priority was.  Corrected.
21541
21542 2004-07-15  Dan Williams <dcbw@redhat.com>
21543
21544         * dispatcher-daemon/Makefile.am
21545                 - Turn on warnings
21546
21547         * dispatcher-daemon/NetworkManagerDispatcher.c
21548                 - Remove unused variables due to warnings
21549                 - Fix some comments
21550                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21551
21552 2004-07-06  Dan Williams <dcbw@redhat.com>
21553
21554         * src/NetworkManager.c
21555                 - Add IPv4 address update for active device during link state check
21556                 - Don't allow wireless cards to be powered up when they are not the
21557                         active device
21558
21559         * src/NetworkManagerDbus.c
21560           src/NetworkManagerDbus.h
21561                 - Add DBUS IPv4 address change signal
21562                 - Add DBUS IPv4 address get method for devices
21563
21564         * src/NetworkManagerDevice.c
21565                 - Make setting the WEP key actually work
21566                 - Move IP address get/set/update stuff here, per-device
21567                 - Power down/bring down wireless device when deactivated
21568                 - For scanning wireless devices, if first scan returned ENODATA, try again
21569
21570         * src/NetworkManagerPolicy.c
21571                 - Only set the WEP key for an allowed access point if there is one.
21572                         We were setting it to be blank if one wasn't specified.
21573
21574         * src/NetworkManagerUtils.h
21575           src/NetworkManagerUtils.c
21576                 - Move the IP address stuff to NetworkManagerDevice.c
21577
21578         * dispatcher-daemon/NetworkManagerDispatcher.c
21579                 - Add device IPv4 address change notification stuff
21580
21581 2004-07-05  Dan Williams <dcbw@redhat.com>
21582
21583         * dispatcher-daemon/NetworkManagerDispatcher.c
21584                 - A bit more descriptive state message
21585                 - Don't segfault when reading directory
21586
21587         * src/NetworkManager.h
21588                 - Remove NMData desired_ap member, its now
21589                         per-device rather than global
21590
21591         * src/NetworkManager.c
21592                 - Remove references to desired_ap
21593                 - Move the allowed AP list refresh stuff into a thread
21594
21595         * src/NetworkManagerDevice.c
21596           src/NetworkManagerDevice.h
21597                 - Each wireless device now has a "best ap"
21598                 - Make device activate/deactivate functions per-device
21599                 - Make wireless scanning per-device
21600                 - Add IPv4 address discover functions, stub IPv6 ones
21601                 - Move ethernet address validation functions to NetworkManagerUtils.c
21602                 - Add wireless access point accessor function
21603                 - Get/Set functions for "best ap"
21604
21605         * src/NetworkManagerPolicy.c
21606                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21607                 - Deal with per-device "best ap" rather than data->desired_apa
21608                 - Implement allowed access point worker thread
21609                 - Add nm_policy_essid_is_allowed() function
21610
21611         * src/NetworkManagerUtils.c
21612           src/NetworkManagerUtils.h
21613                 - Add nm_ethernet_address_is_valid() function
21614                 - Add IPv4/IPv6 address get functions
21615
21616         * src/NetworkManagerWireless.c
21617           src/NetworkManagerWireless.h
21618                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21619
21620 2004-06-29  Dan Williams <dcbw@redhat.com>
21621
21622         * dispatcher-daemon/NetworkManagerDispatcher.c
21623                 - Implement script callout functionality
21624
21625 2004-06-24  Dan Williams <dcbw@redhat.com>
21626
21627         * NetworkManager.c
21628             - Spacing cleanups
21629             - Flush device routes and ip addresses when added to the device list
21630
21631         * NetworkManagerDbus.c
21632             - Spacing cleanups
21633             - Add missing returns in the two signal functions
21634         
21635         * NetworkManagerPolicy.c
21636             - Spacing and variable cleanups
21637
21638 2004-06-24  Dan Williams <dcbw@redhat.com>
21639
21640         * Makefile.am
21641           Makefile.in
21642           configure.in
21643           dispatcher-daemon/Makefile.am
21644           dispatcher-daemon/Makefile.in
21645           dispatcher-daemon/NetworkManagerDispatcher.c
21646             - Add a daemon that receives signals from NetworkManager
21647                         and will (eventually) call scripts in /etc/somewhere
21648                         when devices go up or down.
21649         
21650         * NetworkManager.c
21651             - Spacing cleanups
21652             - Flush device routes and ip addresses when added to the device list
21653
21654         * NetworkManagerDbus.c
21655             - Spacing cleanups
21656             - Add missing returns in the two signal functions
21657         
21658         * NetworkManagerPolicy.c
21659             - Spacing and variable cleanups
21660             - Rename nm_policy_switch_interface->nm_policy_switch_device
21661             - nm_policy_switch_device():
21662                                 Use kill (pid) instead of system ("kill <pid>")
21663             - nm_state_modification_monitor():
21664                                 Add wireless essid to output of debug statements
21665                                 Correct typo in device compare to switch or not (should be !=)
21666                                 Don't sleep after sending "no longer active" signal, was useless
21667
21668 2004-06-24  Dan Williams <dcbw@redhat.com>
21669
21670         * Initial import