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-ip6-config.c
5           libnm-util/nm-setting-ip6-config.h
6           libnm-util/Makefile.am
7                 - Make properties private and add accessor functions
8                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
9
10         * libnm-util/nm-connection.c
11           libnm-util/nm-utils.c
12           libnm-util/nm-utils.h
13                 - Ignore IPv6 stuff for now
14
15 2008-10-30  Dan Williams  <dcbw@redhat.com>
16
17         * libnm-util/libnm-util.ver
18           libnm-util/nm-setting-8021x.c
19           libnm-util/nm-setting-8021x.h
20                 - Make properties private and add accessor functions
21
22         * src/supplicant-manager/nm-supplicant-config.c
23           system-settings/plugins/ifcfg-suse/parser.c
24                 - Use 802.1x setting accessors
25
26 2008-10-30  Dan Williams  <dcbw@redhat.com>
27
28         * libnm-util/libnm-util.ver
29           libnm-util/nm-setting-wireless-security.c
30           libnm-util/nm-setting-wireless-security.h
31                 - Make properties private and add accessor functions
32
33         * libnm-util/nm-setting-wireless.c
34           src/NetworkManagerAP.c
35           src/nm-device-wifi.c
36           src/supplicant-manager/nm-supplicant-config.c
37           system-settings/plugins/ifcfg-fedora/reader.c
38           system-settings/plugins/ifcfg-suse/parser.c
39                 - Use wireless security accessors
40
41 2008-10-30  Dan Williams  <dcbw@redhat.com>
42
43         * src/nm-device-ethernet.c
44           src/nm-device-wifi.c
45           src/nm-device.c
46           src/ppp-manager/nm-ppp-manager.c
47                 - Harmonize return checking of ioctl
48
49         * system-settings/plugins/ifcfg-fedora/reader.c
50                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
51
52 2008-10-30  Dan Williams  <dcbw@redhat.com>
53
54         * src/ppp-manager/nm-ppp-manager.c
55                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
56                         ppp_generic module to create it (bgo #533064)
57
58 2008-10-30  Dan Williams  <dcbw@redhat.com>
59
60         Patch from Alexander Sack <asac@canonical.com>
61
62         Fix "ppp connections don't honour ip4 connection settings"
63
64         * src/nm-device-ethernet.c
65                 - (real_act_stage4_get_ip4_config): merge ip4config settings
66                         with results from ppp manager
67
68         * src/nm-serial-device.c
69                 - (real_act_stage4_get_ip4_config): merge ip4config settings
70                         with results from ppp manager
71
72 2008-10-29  Dan Williams  <dcbw@redhat.com>
73
74         * libnm-util/libnm-util.ver
75           libnm-util/nm-setting-ip4-config.c
76           libnm-util/nm-setting-ip4-config.h
77                 - Make properties private and add accessor functions
78
79         * callouts/nm-dispatcher-action.c
80           libnm-glib/libnm-glib-test.c
81           libnm-util/nm-utils.c
82           src/NetworkManagerPolicy.c
83           src/NetworkManagerSystem.c
84           src/NetworkManagerUtils.c
85           src/dhcp-manager/nm-dhcp-dhclient.c
86           src/dhcp-manager/nm-dhcp-manager.c
87           src/dnsmasq-manager/nm-dnsmasq-manager.c
88           src/nm-device-wifi.c
89           src/nm-device.c
90           src/nm-hso-gsm-device.c
91           src/nm-ip4-config.c
92           src/nm-ip4-config.h
93           src/ppp-manager/nm-ppp-manager.c
94           src/vpn-manager/nm-vpn-connection.c
95           system-settings/plugins/ifcfg-fedora/reader.c
96           system-settings/plugins/ifcfg-suse/parser.c
97           system-settings/plugins/ifcfg-suse/plugin.c
98           system-settings/plugins/ifupdown/parser.c
99           test/nm-tool.c
100           vpn-daemons/vpnc/properties/nm-vpnc.c
101                 - Use IP4 accessor functions
102
103 2008-10-29  Tambet Ingo  <tambet@gmail.com>
104
105         Half of it by Dan Williams <dcbw@redhat.com>
106
107         * libnm-util/libnm-util.ver
108         libnm-util/nm-setting-vpn.c
109         libnm-util/nm-setting-vpn.h
110                 - Make properties private and add accessor functions.
111
112         * src/vpn-manager/nm-vpn-connection.c
113         src/vpn-manager/nm-vpn-manager.c
114         system-settings/plugins/keyfile/reader.c
115         vpn-daemons/openvpn/properties/auth-helpers.c
116         vpn-daemons/openvpn/properties/import-export.c
117         vpn-daemons/openvpn/properties/nm-openvpn.c
118         vpn-daemons/openvpn/src/nm-openvpn-service.c
119         vpn-daemons/pptp/auth-dialog/main.c
120         vpn-daemons/pptp/properties/advanced-dialog.c
121         vpn-daemons/pptp/properties/nm-pptp.c
122         vpn-daemons/pptp/src/nm-pptp-service.c
123         vpn-daemons/vpnc/properties/nm-vpnc.c
124         vpn-daemons/vpnc/src/nm-vpnc-service.c
125                 - Use VPN setting accessors.
126
127 2008-10-28  Dan Williams  <dcbw@redhat.com>
128
129         Patch from Tambet Ingo <tambet@gmail.com>
130
131         * libnm-util/libnm-util.ver
132           libnm-util/nm-setting-wireless.c
133           libnm-util/nm-setting-wireless.h
134                 - Make properties private and add accessor functions
135
136         * src/NetworkManagerAP.c
137           src/nm-device-wifi.c
138           src/nm-manager.c
139           src/supplicant-manager/nm-supplicant-config.c
140           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
141           system-settings/plugins/ifcfg-fedora/reader.c
142           system-settings/plugins/ifcfg-suse/parser.c
143           system-settings/plugins/ifupdown/parser.c
144                 - Use wireless setting accessors
145
146 2008-10-27  Dan Williams  <dcbw@redhat.com>
147
148         Patch from Tambet Ingo <tambet@gmail.com>
149
150         * libnm-util/libnm-util.ver
151           libnm-util/nm-setting-ppp.c
152           libnm-util/nm-setting-ppp.h
153                 - Make properties private and add accessor functions
154
155         * src/ppp-manager/nm-ppp-manager.c
156                 - Use ppp setting accessors
157
158 2008-10-27  Dan Williams  <dcbw@redhat.com>
159
160         Patch from Tambet Ingo <tambet@gmail.com>
161
162         * libnm-util/nm-setting.h
163           libnm-util/nm-setting.c
164                 - Make properties private and add accessor functions
165
166         * libnm-util/nm-connection.c
167           libnm-util/nm-setting-8021x.c
168           libnm-util/nm-setting-cdma.c
169           libnm-util/nm-setting-connection.c
170           libnm-util/nm-setting-gsm.c
171           libnm-util/nm-setting-ip4-config.c
172           libnm-util/nm-setting-ip6-config.c
173           libnm-util/nm-setting-ppp.c
174           libnm-util/nm-setting-pppoe.c
175           libnm-util/nm-setting-serial.c
176           libnm-util/nm-setting-template.c
177           libnm-util/nm-setting-vpn.c
178           libnm-util/nm-setting-wired.c
179           libnm-util/nm-setting-wireless-security.c
180           libnm-util/nm-setting-wireless.c
181           system-settings/plugins/keyfile/reader.c
182           system-settings/plugins/keyfile/writer.c
183                 - Use setting accessors
184
185 2008-10-27  Dan Williams  <dcbw@redhat.com>
186
187         * libnm-util/libnm-util.ver
188           libnm-util/nm-setting-connection.c
189           libnm-util/nm-setting-connection.h
190                 - Add a 'read-only' property that indicates the connection cannot be
191                         modified
192
193         * system-settings/plugins/ifcfg-fedora/reader.c
194           system-settings/plugins/ifcfg-suse/parser.c
195           system-settings/plugins/ifupdown/parser.c
196                 - These plugins are read-only at the moment
197
198         * system-settings/plugins/keyfile/reader.c
199           system-settings/plugins/keyfile/writer.c
200                 - Read-only shouldn't get saved out to files or read in from them
201
202 2008-10-27  Tambet Ingo  <tambet@gmail.com>
203
204         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
205         correct speed reporting for fast devices (kernel >= 2.6.27).
206
207 2008-10-26  Dan Williams  <dcbw@redhat.com>
208
209         Attempt to compensate for modems that don't enable full AT parsing before
210         the PIN has been entered.
211
212         * src/nm-gsm-device.c
213                 - (init_modem): accept different init strings
214                 - (init_done): try different init strings on failure
215                 - (check_pin_done): on PIN success, do full modem init
216
217 2008-10-26  Dan Williams  <dcbw@redhat.com>
218
219         Patch from Tambet Ingo <tambet@gmail.com>
220
221         * libnm-util/libnm-util.ver
222           libnm-util/nm-setting-connection.c
223           libnm-util/nm-setting-connection.h
224                 - Make properties private and add accessor functions
225
226         * src/NetworkManagerPolicy.c
227           src/nm-cdma-device.c
228           src/nm-device-ethernet.c
229           src/nm-device-interface.c
230           src/nm-device-wifi.c
231           src/nm-gsm-device.c
232           src/nm-manager.c
233           src/ppp-manager/nm-ppp-manager.c
234           src/vpn-manager/nm-vpn-connection.c
235           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
236           system-settings/plugins/ifcfg-fedora/plugin.c
237           system-settings/plugins/ifcfg-fedora/reader.c
238           system-settings/plugins/ifcfg-suse/parser.c
239           system-settings/plugins/ifupdown/parser.c
240           system-settings/plugins/keyfile/nm-keyfile-connection.c
241           system-settings/plugins/keyfile/plugin.c
242           system-settings/plugins/keyfile/writer.c
243           system-settings/src/main.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-gsm.c
252           libnm-util/nm-setting-gsm.h
253                 - Make properties private and add accessor functions
254
255         * src/nm-gsm-device.c
256           src/nm-hso-gsm-device.c
257           src/ppp-manager/nm-ppp-manager.c
258                 - Use those accessors
259
260 2008-10-26  Dan Williams  <dcbw@redhat.com>
261
262         Patch from Tambet Ingo <tambet@gmail.com>
263
264         * libnm-util/libnm-util.ver
265           libnm-util/nm-setting-cdma.c
266           libnm-util/nm-setting-cdma.h
267                 - Make properties private and add accessor functions
268
269         * src/nm-cdma-device.c
270           src/ppp-manager/nm-ppp-manager.c
271                 - Use those accessors
272
273 2008-10-26  Dan Williams  <dcbw@redhat.com>
274
275         Patch from Tambet Ingo <tambet@gmail.com>
276
277         * libnm-util/libnm-util.ver
278           libnm-util/nm-setting-pppoe.c
279           libnm-util/nm-setting-pppoe.h
280                 - Make properties private and add accessor functions
281
282         * src/nm-device-ethernet.c
283           src/ppp-manager/nm-ppp-manager.c
284                 - Use those accessors
285
286 2008-10-26  Dan Williams  <dcbw@redhat.com>
287
288         Patch from Tambet Ingo <tambet@gmail.com>
289
290         * libnm-util/libnm-util.ver
291           libnm-util/nm-setting-wired.c
292           libnm-util/nm-setting-wired.h
293                 - Make properties private and add accessor functions
294
295         * src/nm-device-ethernet.c
296           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
297           system-settings/plugins/ifcfg-suse/parser.c
298           system-settings/src/main.c
299                 - Use those accessors
300
301 2008-10-26  Dan Williams  <dcbw@redhat.com>
302
303         Patch from Tambet Ingo <tambet@gmail.com>
304
305         * libnm-util/libnm-util.ver
306           libnm-util/nm-setting-serial.c
307           libnm-util/nm-setting-serial.h
308           src/nm-serial-device.c
309                 - Make properties private and use accessors instead
310
311 2008-10-26  Dan Williams  <dcbw@redhat.com>
312
313         * src/supplicant-manager/nm-supplicant-interface.c
314           src/supplicant-manager/nm-supplicant-interface.h
315           src/supplicant-manager/nm-supplicant-manager.c
316           src/supplicant-manager/nm-supplicant-manager.h
317                 - Add state-to-string conversion functions
318
319         * src/nm-device-wifi.c
320           src/nm-device-ethernet.c
321                 - Normalize state info logging and use strings instead of numbers
322
323 2008-10-26  Dan Williams  <dcbw@redhat.com>
324
325         * src/NetworkManagerPolicy.c
326                 - (update_routing_and_dns): ignore host routes when determining whether
327                         a VPN connection should own the default route (bgo #552594)
328
329 2008-10-24  Dan Williams  <dcbw@redhat.com>
330
331         * src/nm-gsm-device.c
332                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
333
334 2008-10-23  Dan Williams  <dcbw@redhat.com>
335
336         * src/ppp-manager/nm-ppp-manager.c
337                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
338                         add really important stuff to the command line to ensure that NM
339                         overrides /etc/ppp/options (bgo #556781)
340
341 2008-10-22  Dan Williams  <dcbw@redhat.com>
342
343         * src/NetworkManagerSystem.c
344           src/nm-device.c
345                 - Use the device's IP interface where appropriate (Per Hallsmark)
346
347 2008-10-22  Dan Williams  <dcbw@redhat.com>
348
349         * src/nm-gsm-device.c
350                 - (schedule_automatic_registration_again): use a short timeout here
351                         instead of an idle handler to avoid using too much CPU polling for
352                         something we should be waiting a bit for anyway
353
354 2008-10-22  Dan Williams  <dcbw@redhat.com>
355
356         * include/NetworkManager.h
357           introspection/nm-device.xml
358                 - Add device state change reason for carrier changes
359
360         * src/nm-device-ethernet.c
361                 - (set_carrier): use the carrier change reason when changing device
362                         state in response to carrier changes
363
364 2008-10-21  Dan Williams  <dcbw@redhat.com>
365
366         * src/NetworkManagerPolicy.c
367                 - (update_etc_hosts): don't leak errors, and ensure that
368                         g_file_set_contents() gets a valid error placeholder (rh #461933)
369
370 2008-10-21  Dan Williams  <dcbw@redhat.com>
371
372         * src/nm-manager.c
373                 - (free_get_settings_info): don't use the DBusGProxy which could be
374                         disposed of by the time the function is called
375                 - (internal_new_connection_cb): save connection scope
376                 - (connection_get_settings_cb): don't replace a connection unless it's
377                         actually different from the existing one; fixes an issue where
378                         killing the settings service wouldn't deactivate an active connection
379                         provided by that settings service, because it was using a connection
380                         that had already been replaced in the system or user hash
381
382 2008-10-21  Dan Williams  <dcbw@redhat.com>
383
384         * src/NetworkManager.c
385                 - (main): keep the DHCP manager around since it's a singleton; fixes
386                         a use-after-free exposed by r4196 since the DHCP manager singleton
387                         variable isn't cleared when the DHCP manager object is finalized
388
389 2008-10-20  Dan Williams  <dcbw@redhat.com>
390
391         * libnm-util/nm-setting-wireless-security.c
392                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
393
394 2008-10-20  Dan Williams  <dcbw@redhat.com>
395
396         * src/supplicant-manager/nm-supplicant-config.c
397                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
398
399 2008-10-20  Dan Williams  <dcbw@redhat.com>
400
401         * src/dhcp-manager/nm-dhcp-manager.c
402                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
403                         manager object already refs it once
404                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
405                         also get cleaned up by nm_dhcp_device_destroy() to prevent
406                         double-frees
407
408 2008-10-20  Dan Williams  <dcbw@redhat.com>
409
410         * src/nm-manager.c
411                 - (initial_get_connections): use private dbus manager, don't keep
412                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
413                         manager object.
414
415 2008-10-18  Dan Williams  <dcbw@redhat.com>
416
417         * libnm-glib/nm-settings.c
418           libnm-glib/nm-settings.h
419                 - Rename the "get_secrets" virtual function "service_get_secrets" to
420                         clarify when it's used; NMExportedConnetion is a base-class for both
421                         the client and service side, which is sort of confusing, and
422                         get_secrets only makes sense on the service side.
423
424         * libnm-glib/nm-dbus-connection.c
425                 - (get_secrets): remove, unused, and clients need to do extra work to
426                         get secrets anyway since the call can block on the remote side
427
428         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
429           system-settings/plugins/keyfile/nm-keyfile-connection.c
430                 - Fix up for get_secrets -> service_get_secrets
431
432 2008-10-16  Dan Williams  <dcbw@redhat.com>
433
434         * src/nm-device-wifi.c
435                 - (constructor): correctly determine encryption capabilities
436
437 2008-10-15  Dan Williams  <dcbw@redhat.com>
438
439         * src/nm-device-wifi.c
440                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
441                         (Johannes Berg)
442
443 2008-10-15  Dan Williams  <dcbw@redhat.com>
444
445         * src/NetworkManagerSystem.c
446                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
447                         if the ip4_dest is in a smaller subnet contained within a subnet
448                         the machine is currently on, the destination is in the same subnet
449                 - (nm_system_device_set_ip4_route): move subnet checks to callers
450                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
451                         subnet as the parent device, and if so, don't add the direct
452                         host route via the parent device's gateway (bgo #481620)
453                 - (nm_system_apply_ip4_config): check whether the route to be added
454                         is contained within a subnet the device is already on
455
456 2008-10-11  Dan Williams  <dcbw@redhat.com>
457
458         * include/NetworkManager.h
459           introspection/nm-device.xml
460           include/NetworkManagerVPN.h
461                 - Add a few more state reasons for the device deactivated state
462
463         * src/nm-device-interface.c
464           src/nm-device-interface.h
465                 - (nm_device_interface_deactivate): add a 'reason' argument
466
467         * src/nm-device.c
468           src/nm-device.h
469                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
470                 - (nm_device_state_changed): pass the state change reason to
471                         nm_device_take_down()
472                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
473                         to the state change function
474
475         * src/nm-manager.c
476           src/nm-manager.h
477                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
478                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
479                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
480                         something reasonable along to VPN deactivation
481
482         * src/vpn-manager/nm-vpn-manager.c
483           src/vpn-manager/nm-vpn-manager.h
484                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
485                         pass that along to nm_vpn_connection_disconnect()
486
487 2008-10-11  Dan Williams  <dcbw@redhat.com>
488
489         * src/nm-device-wifi.c
490                 - (can_scan): remove old madwifi hack for not scanning while connected
491
492 2008-10-11  Dan Williams  <dcbw@redhat.com>
493
494         Add support for VPN subnet gateways (bgo #549196)
495
496         * include/NetworkManager.h
497                 - Add key for internal VPN subnet gateway
498
499         * src/vpn-manager/nm-vpn-connection.c
500                 - (ip_address_to_string): return a const from a static buffer so we
501                         don't leak a lot of strings
502                 - (print_vpn_config): print internal VPN gateway as well
503                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
504                         VPN service too
505                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
506
507         * src/NetworkManagerSystem.c
508           src/NetworkManagerSystem.h
509                 - (nm_system_device_replace_default_ip4_route): split into two, one for
510                         VPN connections and one for normal devices
511                 - (replace_default_ip4_route): break out route stuff into its own function
512                 - (nm_system_replace_default_ip4_route_vpn,
513                    nm_system_replace_default_ip4_route): simplify by having two cases,
514                         one for VPNs and one for normal devices
515
516         * src/NetworkManagerPolicy.c
517                 - (update_routing_and_dns): simplify, use split default route replacement
518                         functions
519
520 2008-10-10  Dan Williams  <dcbw@redhat.com>
521
522         Rework default route handling to consolidate decisions in the policy,
523         and to take active VPN connections into account when changing the default
524         route (bgo #545912)
525
526         * src/NetworkManager.c
527                 - (main): pass the vpn_manager to the policy so it knows about active
528                         VPN connections; clean up the named manager which wasn't done before
529
530         * src/NetworkManagerPolicy.c
531           src/NetworkManagerPolicy.h
532                 - (nm_policy_new): get a clue about the vpn_manager
533                 - (update_default_route): remove, fold into update_routing_and_dns()
534                 - (update_routing_and_dns): handle active VPN connections too; an
535                         active VPN connection becomes the default route if it does not have
536                         server-specified or user-specified custom routes.  Otherwise, the
537                         best active device gets the default route
538                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
539                    nm_policy_destroy): track VPN connection activation and deactivation
540                         and update the default route when appropriate
541
542         * src/NetworkManagerSystem.c
543           src/NetworkManagerSystem.h
544                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
545                         in the VPN connection itself
546                 - (nm_system_vpn_device_set_from_ip4_config,
547                    nm_system_device_set_from_ip4_config): merge together to make
548                         nm_system_apply_ip4_config()
549                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
550                         via the parent device
551                 - (nm_system_apply_ip4_config): simplify
552                 - (add_ip4_route_to_gateway): new function; add a direct route to the
553                         gateway if needed
554                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
555                         route stuff out into add_ip4_route_to_gateway() for clarity
556
557         * src/nm-device.c
558                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
559
560         * src/vpn-manager/nm-vpn-connection.c
561           src/vpn-manager/nm-vpn-connection.h
562                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
563                    nm_vpn_connection_get_parent_device): add
564                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
565                         device explicit
566                 - (connection_state_changed): update the named manager now that
567                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
568                         useful on errors
569
570         * src/vpn-manager/nm-vpn-manager.c
571           src/vpn-manager/nm-vpn-manager.h
572                 - Add a 'connection-activated' signal
573                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
574                         policy to find out about active VPN connections
575
576 2008-10-10  Tambet Ingo  <tambet@gmail.com>
577
578         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
579         a daemon to prevent NM logging spew on console on startup and shutdown (due
580         to dependency loop between NM and syslog).
581
582 2008-10-10  Alexander Sack  <asac@ubuntu.com>
583
584         Implement managed mode. We bind devices configured in /etc/network/interfaces
585         to their connections by updating wired/wireless setting with the
586         mac address of the device.
587
588         * system-settings/plugins/ifupdown/plugin.c
589                 - (get_net_address_for_udi): implement function to retrieve MAC
590                         address of udi from hal in GByteArray format
591                 - (bind_device_to_connection): bind mac address of device to
592                         wired/wireless system connection
593                 - (hal_device_added_cb): call bind_device_to_connection for
594                         system connections with a matching interface.name
595                 - (hal_device_added_cb): ensure that all code paths
596                         properly free the "iface" string.
597
598 2008-10-10  Alexander Sack  <asac@ubuntu.com>
599
600         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
601         mode of the ifupdown system config plugin.
602
603         * system-settings/plugins/ifupdown/plugin.c
604                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
605                         private unmanage_well_known state field accordingly
606
607 2008-10-10  Alexander Sack  <asac@ubuntu.com>
608
609         Implement unmanaged mode that will prevent all devices in the
610         well_known_udis set from being touched by NetworkManager
611
612         * system-settings/plugins/ifupdown/plugin.c
613                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
614                         unmanage_well_known field used to turn on/off unmanaged
615                         mode
616                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
617                         signal when well_known_udis get added/removed
618                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
619                         if we are in unmanaged mode
620
621 2008-10-10  Alexander Sack  <asac@ubuntu.com>
622
623         Add support to track network devices that have a configuration
624         with a matching interface.name in /etc/network/interfaces
625
626         * system-settings/plugins/ifupdown/plugin.c
627                 - (typedef struct SCPluginIfupdownPrivate): add hash table
628                         to track |well_known_udis|
629                 - (get_iface_for_udi): helper function to get interface.name
630                         for a udi
631                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
632                         that add and remove devices to and from the well_known_udis
633                         set depending on whether their |interface.name| matches
634                         any interface definition in /etc/network/interfaces
635                 - (SCPluginIfupdown_init): connect callbacks from above with
636                         hal_mgr and setup well_known_udis hashtable
637                 - (GObject__dispose): destroy well_known_udis hashtable
638                 - (hal_device_added_cb2): implement wrapper callback with GFunc
639                         signature. user_data is supposed to be a triple (hal_mgr,
640                         config and devtype)
641                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
642                         startup and call hal_device_added_cb2
643
644 2008-10-10  Alexander Sack  <asac@ubuntu.com>
645
646         Remove implementation for not used NMSystemConfigInterface callback functions
647         in ifupdown plugin
648
649         * system-settings/plugins/ifupdown/plugin.c
650                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
651                 - (SCPluginIfupdown_connection_added): removed
652
653 2008-10-08  Dan Williams  <dcbw@redhat.com>
654
655         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
656
657         * src/NetworkManagerUtils.c
658                 - (nm_utils_call_dispatcher): add a 'hostname' action
659
660         * src/NetworkManagerPolicy.c
661                 - (set_system_hostname): dispatch hostname changes
662
663         * callouts/nm-dispatcher-action.c
664                 - (nm_dispatcher_action): handle 'hostname' actions
665
666 2008-10-08  Dan Williams  <dcbw@redhat.com>
667
668         * src/NetworkManagerSystem.c
669                 - (find_route): ref the route so it doesn't get destroyed when the cache
670                         is cleared
671                 - (nm_system_device_set_priority): unref the route here after it's done
672                         being used
673
674 2008-10-08  Dan Williams  <dcbw@redhat.com>
675
676         * src/nm-serial-device.c
677                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
678
679 2008-10-08  Tambet Ingo  <tambet@gmail.com>
680
681         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
682         connection with new settings before saving it.
683
684 2008-10-06  Dan Williams  <dcbw@redhat.com>
685
686         * src/nm-ip4-config.c
687           src/nm-ip4-config.h
688                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
689
690         * src/nm-device-interface.c
691                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
692                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
693                         by using '/' for the object path
694
695         * src/nm-device.c
696                 - (src/nm-device.c): marshal missing/unexported ip4-config through
697                         dbus as '/' since dbus-glib can't handle NULL objects nor can
698                         dbus handle NULL object paths
699
700 2008-10-03  Alexander Sack  <asac@ubuntu.com>
701
702         Implement system hostname support for debian/ubuntu
703
704         * system-settings/plugins/ifupdown/plugin.c
705                 - (GObject__get_property): extend announced capabilities; add
706                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
707                 - (GObject__set_property,write_system_hostname): implement
708                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
709                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
710                    update_system_hostname, get_hostname):
711                         implement hostname property that watches and
712                         parses /etc/hostname
713
714 2008-10-03  Alexander Sack  <asac@ubuntu.com>
715
716         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
717           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
718           system-settings/plugins/ifcfg-fedora/Makefile.am
719           system-settings/src/nm-inotify-helper.c
720           system-settings/src/nm-inotify-helper.h
721           src/Makefile.am
722                 - Move ifcfg-fedora inotify helpers to the system settings service so
723                         they are available to all plugins
724
725 2008-10-03  Alexander Sack  <asac@ubuntu.com>
726
727         Implement support for wep-tx-keyidx in ifupdown system
728         config plugin.
729
730         * system-settings/plugins/ifupdown/parser.c
731                 - (update_wireless_security_setting_from_if_block): introduce
732                         free_type_mapping func table; rename a few local
733                         variables to improve readability; add wpa security mapping
734                         for wep-tx-keyidx property
735                 - (string_to_gpointerint): new function used for the auto_type_mapping
736                         of new wep-tx-keyidx property
737                 - (slist_free_all): free func used for mapped slist types
738
739 2008-10-03  Alexander Sack  <asac@ubuntu.com>
740
741         * system-settings/src/main.c:
742                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
743                         always used as the hash key; fixes a crash when removing wired
744                         devices
745
746 2008-10-02  Dan Williams  <dcbw@redhat.com>
747
748         * src/nm-gsm-device.c
749                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
750                         pass the required GSM secret along via user_data rather than keeping
751                         it around in the private data where it sometimes didn't get cleared
752                 - (real_get_ppp_name): implement using the GSM username
753
754 2008-10-02  Dan Williams  <dcbw@redhat.com>
755
756         * src/ppp-manager/nm-ppp-manager.c
757           src/ppp-manager/nm-ppp-manager.h
758                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
759                         the settings daemon for completely new ones
760                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
761                         local PPP peer name; allow PPP debuging by launching NM with
762                         the environment variable NM_PPP_DEBUG defined
763                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
764                         create_pppd_cmd_line()
765
766         * src/nm-serial-device.c
767           src/nm-serial-device.h
768                 - New 'get_ppp_name' function for subclasses to implement to return the
769                         local PPP peer name
770                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
771                         and pass that name to the PPP manager
772
773         * src/nm-device-ethernet.c
774                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
775                         the local peer name
776
777         * src/nm-cdma-device.c
778                 - (real_get_ppp_name): implement using the CDMA username
779
780 2008-10-02  Dan Williams  <dcbw@redhat.com>
781
782         Patch from Alexander Sack <asac ubuntu com>
783
784         * system-settings/plugins/ifupdown/parser.c
785                 - Implement more graceful ip4 config parsing for cases where
786                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
787                   by using default values
788
789 2008-10-02  Dan Williams  <dcbw@redhat.com>
790
791         * src/NetworkManagerPolicy.c
792                 - (device_state_changed): when marking a connection invalid, clear its
793                         secrets too so that fresh secrets get requested the next time
794
795 2008-10-01  Dan Williams  <dcbw@redhat.com>
796
797         * system-settings/src/dbus-settings.c
798                 - (nm_sysconfig_settings_init): cache system hostname on startup as
799                         a fallback if no plugin provides a hostname
800                 - (get_property): fall back to cached hostname if no plugin provides
801                         a hostname
802
803 2008-10-01  Dan Williams  <dcbw@redhat.com>
804
805         Fix setting value comparison issue that caused some settings to look the
806         same when they were really different (rh #464417)
807
808         * libnm-util/nm-param-spec-specialized.c
809                 - (type_is_fixed_size): return fundamental size of the fixed type too
810                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
811                         in the comparison so that the _entire_ fixed type collection gets
812                         compared rather than just the first 'len1' bytes
813
814 2008-09-30  Dan Williams  <dcbw@redhat.com>
815
816         * src/NetworkManagerPolicy.c
817                 - (lookup_thread_worker): don't store the idle handler ID becuase the
818                         idle handler could have already run and freed the LookupThread
819                         structure
820
821 2008-09-30  Tambet Ingo  <tambet@gmail.com>
822
823         * src/nm-device.c (nm_device_get_priority): Implement.
824         (nm_device_set_ip4_config): Send the device priority to system ip4 
825         config setter.
826
827         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
828         Add priority argument and if it's >= 0, set the priority of the network
829         route added automatically by netlink (or kernel?).
830         (nm_system_device_set_priority): Implement.
831
832         * src/NetworkManagerPolicy.c (get_best_device): Use 
833         nm_device_get_priority() instead of home-grown version. Revert the
834         meaning, best priority is the lowest one.
835
836 2008-09-29  Dan Williams  <dcbw@redhat.com>
837
838         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
839         when it returns EAGAIN (rh #362421)
840
841         * src/nm-device-wifi.c
842                 - (wireless_get_range): try GIWRANGE a few times until the card responds
843                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
844
845 2008-09-28  Dan Williams  <dcbw@redhat.com>
846
847         * src/nm-serial-device.c
848           src/nm-serial-device.h
849                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
850                         cleaned at the right times when subclasses close the serial port too
851                 - (nm_serial_device_send_command): use a default send delay; don't
852                         spin forever on EAGAIN
853                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
854                         remove, no longer used
855                 - (find_response): return the matched response if any
856                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
857                         while doing so
858                 - (wait_for_reply_done): pass the matched response to the callback
859                 - (wait_for_reply_got_data): save the matched response; simplify timeout
860                         handling
861                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
862                         const since they never get modified
863                 - (cleanup_device): split out common cleanup stuff to a new function
864                 - (real_deactivate_quickly, finalize): use cleanup_device()
865
866         * src/nm-gsm-device.c
867                 - (modem_get_reply): remove, unused
868                 - (set_apn): give the card a bit more time to respond
869                 - (manual_registration_again, schedule_manual_registration_again,
870                    manual_registration_response, manual_registration): handle manual
871                         registration timeouts better by retrying registration a few times
872                         because cards are a bit slow after CFUN=1
873                 - (automatic_registration_get_network, get_network_response): use
874                         modem_wait_for_reply() because it interacts better with the serial
875                         buffer and does more intelligent matching; need to wait for 'OK'
876                         rather than just matching terminators
877                 - (schedule_automatic_registration_again,
878                    automatic_registration_response, automatic_registration): retry
879                         registration a few times on timeout or "searching" because cards
880                         take a bit to find a network after being powered up with CFUN=1
881                 - (power_up_response, power_up, init_full_done, enter_pin,
882                    check_pin_done): power up the card with CFUN=1 before trying to
883                         register with the network
884                 - (init_modem_full, init_modem): use more standard 3G init strings
885
886         * src/nm-hso-gsm-device.c
887                 - (modem_get_reply): remove, unused
888                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
889                         modem_wait_for_reply() to match actual responses instead of single
890                         termination characters; it doesn't leave stuff in the serial buffer
891                         that might confuse later calls
892                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
893                         to ensure that the call is really disconnected and not leave extra
894                         stuff in the serial buffer
895
896         * src/nm-cdma-device.c
897                 - (power_up_response, power_up, init_done): try Sierra-style modem
898                         power up before attempting to connect
899
900 2008-09-27  Dan Williams  <dcbw@redhat.com>
901
902         * libnm-util/nm-setting-gsm.c
903                 - (verify): verify GSM network ID
904
905 2008-09-25  Dan Williams  <dcbw@redhat.com>
906
907         * libnm-util/nm-setting-gsm.c
908           libnm-util/nm-setting-gsm.h
909                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
910                         technology terms (bgo #551361)
911
912 2008-09-25  Dan Williams  <dcbw@redhat.com>
913
914         Fix bgo #549401 (inspired by patch from Alexander Sack)
915
916         * src/nm-device-ethernet.c
917                 - (finish_supplicant_task): clean up scheduled tasks and free memory
918                 - (remove_supplicant_interface_error_handler): remove the supplicant
919                         error idle callback too
920                 - (supplicant_interface_release): rename from supplicant_interface_clean
921                         to match nm-device-wifi.c; clean up supplicant interface-related
922                         state tasks when the supplicant interface is disposed of
923                 - (schedule_state_handler): add scheduled tasks to a list so they can
924                         be cleaned up later
925                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
926                    supplicant_iface_connection_state_cb_handler): use
927                         finish_supplicant_task() to clean up each completed task
928                 - (supplicant_iface_connection_error_cb_handler,
929                    supplicant_connection_timeout_cb): clear source id when the task is
930                         complete
931                 - (supplicant_iface_connection_error_cb): save scheduled task id for
932                         later cleanup
933                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
934                         tasks
935
936         * src/nm-device-wifi.c
937                 - (finish_supplicant_task): clean up scheduled tasks and free memory
938                 - (remove_supplicant_interface_error_handler): remove the supplicant
939                         error idle callback too
940                 - (supplicant_interface_release): clean up supplicant interface-related
941                         state tasks when the supplicant interface is disposed of
942                 - (schedule_state_handler): add scheduled tasks to a list so they can
943                         be cleaned up later
944                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
945                    supplicant_iface_connection_state_cb_handler): use
946                         finish_supplicant_task() to clean up each completed task
947                 - (supplicant_iface_connection_error_cb_handler): clear source id when
948                         the task is complete
949                 - (supplicant_iface_connection_error_cb): save scheduled task id for
950                         later cleanup
951                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
952
953 2008-09-24  Tambet Ingo  <tambet@gmail.com>
954
955         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
956         method and get/set hostname property.
957
958 2008-09-24  Tambet Ingo  <tambet@gmail.com>
959
960         * src/supplicant-manager/nm-supplicant-interface.c
961         (nm_supplicant_interface_disconnect): Don't increment the reference 
962         count when disconnecting. The problem is on shutdown, when the replies
963         to these commands do not arrive before NM exits, resulting on never
964         calling supplicant interface's dispose(), which removes the interface
965         from supplicant.
966
967 2008-09-24  Tambet Ingo  <tambet@gmail.com>
968
969         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
970         all the public function arguments.
971
972 2008-09-22  Tambet Ingo  <tambet@gmail.com>
973
974         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
975         "Failure" signal from VPN plugins, store the failure reason, and
976         use it when the state is changed to failure.
977
978         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
979         description.
980
981         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
982         reason to the end of the list to not break the API.
983         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
984         so it can be shared by plugins and daemon.
985
986 2008-09-18  Dan Williams  <dcbw@redhat.com>
987
988         Patch from Alexander Sack <asac@ubuntu.com>
989
990         * configure.in
991           system-settings/plugins/Makefile.am
992           system-settings/plugins/ifupdown/Makefile.am
993           system-settings/plugins/ifupdown/interface_parser.c
994           system-settings/plugins/ifupdown/interface_parser.h
995           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
996           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
997           system-settings/plugins/ifupdown/parser.c
998           system-settings/plugins/ifupdown/parser.h
999           system-settings/plugins/ifupdown/plugin.c
1000           system-settings/plugins/ifupdown/plugin.h
1001                 - Implement a Debian/Ubuntu legacy network configuration plugin
1002                         (gnome.org #551941)
1003
1004 2008-09-18  Dan Williams  <dcbw@redhat.com>
1005
1006         Implement support for honoring configured and automatic hostnames, and for
1007         setting the configured hostname.
1008
1009         * introspection/nm-ip4-config.xml
1010           src/nm-ip4-config.c
1011           src/nm-ip4-config.h
1012           src/dhcp-manager/nm-dhcp-manager.c
1013                 - Remove useless hostname property; it's not really part of the IPv4
1014                         config
1015
1016         * introspection/nm-settings-system.xml
1017           libnm-glib/nm-dbus-settings-system.c
1018           libnm-glib/nm-dbus-settings-system.h
1019                 - Add SetHostname() call to system settings D-Bus interface
1020                 - Add Hostname property to system settings D-Bus interface
1021                 - (nm_dbus_settings_system_save_hostname,
1022                    nm_dbus_settings_system_get_hostname): implement
1023
1024         * src/nm-device.c
1025           src/nm-device.h
1026                 - (nm_device_get_dhcp4_config): implement
1027
1028         * src/nm-manager.c
1029           src/nm-manager.h
1030                 - Fetch and track system settings service hostname changes, and proxy
1031                         the changes via a GObject property of the manager
1032
1033         * system-settings/src/nm-system-config-interface.c
1034           system-settings/src/nm-system-config-interface.h
1035                 - Replace nm_system_config_interface_supports_add() with a capabilities
1036                         bitfield
1037
1038         * system-settings/src/nm-system-config-error.c
1039           system-settings/src/nm-system-config-error.h
1040                 - Add additional errors
1041
1042         * system-settings/src/dbus-settings.c
1043           system-settings/src/dbus-settings.h
1044                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1045                         property; first plugin returning a hostname wins
1046                 - (impl_settings_add_connection): use plugin capabilities instead of
1047                         nm_system_config_interface_supports_add()
1048                 - (impl_settings_save_hostname): implement hostname saving
1049
1050         * src/NetworkManagerPolicy.c
1051                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1052                    lookup_thread_die): implement an asynchronous hostname lookup thread
1053                         which given an IPv4 address tries to look up the hostname for that
1054                         address with reverse DNS
1055                 - (get_best_device): split out best device code from
1056                         update_routing_and_dns()
1057                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1058                         to preserve the 127.0.0.1 reverse mapping that so many things require
1059                 - (set_system_hostname): set a given hostname
1060                 - (update_system_hostname): implement hostname policy; a configured
1061                         hostname (from the system settings service) is used if available,
1062                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1063                         If there was no automatically determined hostname, reverse DNS of
1064                         the best device's IP address will be used, and as a last resort the
1065                         hostname 'localhost.localdomain' is set.
1066                 - (update_routing_and_dns): use get_best_device(); update the system
1067                         hostname when the network config changes
1068                 - (hostname_changed): update system hostname if the system settings
1069                         service signals a hostname change
1070                 - (nm_policy_new): list for system settings service hostname changes
1071                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1072                         gets told to die
1073
1074         * system-settings/plugins/keyfile/plugin.c
1075           system-settings/plugins/ifcfg-suse/plugin.c
1076                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1077                         capabilities properties
1078
1079         * system-settings/plugins/ifcfg-fedora/shvar.c
1080                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1081                         writes out /etc/sysconfig/network now
1082
1083         * system-settings/plugins/ifcfg-fedora/plugin.c
1084                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1085                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1086                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1087                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1088                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1089                         hostname get/set and capabilities get
1090
1091 2008-09-18  Dan Williams  <dcbw@redhat.com>
1092
1093         * libnm-util/nm-setting-wireless.c
1094                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1095                         group ciphers if the wireless-security setting explicitly specified
1096                         them, effectively making the default be "all ciphers"  (idea from
1097                         Alexander Sack)
1098
1099 2008-09-15  Dan Williams  <dcbw@redhat.com>
1100
1101         Patch from Alexander Sack <asac@ubuntu.com>
1102
1103         * src/named-manager/nm-named-manager.c
1104                 - (dispatch_resolvconf): respect resolvconf exit code
1105
1106 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1107
1108         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1109         again. Add some debugging.
1110
1111 2008-09-11  Dan Williams  <dcbw@redhat.com>
1112
1113         * system-settings/plugins/keyfile/plugin.c
1114                 - (update_connection_settings): update connection manually, since
1115                         nm_exported_connection_update() does authentication
1116                 - (dir_changed): update_connection_settings() doesn't need to return
1117                         an error
1118
1119 2008-09-09  Dan Williams  <dcbw@redhat.com>
1120
1121         * libnm-glib/nm-vpn-plugin-ui-interface.c
1122           libnm-glib/nm-vpn-plugin-ui-interface.h
1123           libnm-glib/libnm_glib_vpn.ver
1124                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1125                         should clean up resources related to the connection (like keyring
1126                         secrets)
1127                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1128                         should save user-scope secrets (like to the keyring)
1129
1130 2008-09-08  Dan Williams  <dcbw@redhat.com>
1131
1132         Patch from Alexander Sack <asac@ubuntu.com>
1133
1134         * libnm-util/crypto_gnutls.c
1135           libnm-util/crypto_nss.c
1136                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1137
1138         * libnm-util/nm-utils.c
1139           libnm-util/nm-utils.h
1140           libnm-util/libnm-util.ver
1141                 - (nm_utils_init): initialize libnm-util
1142                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1143
1144         * libnm-util/nm-setting-8021x.c
1145                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1146
1147 2008-09-05  Dan Williams  <dcbw@redhat.com>
1148
1149         Patch from Roy Marples <roy@marples.name> and others
1150
1151         * configure.in
1152           src/named-manager/nm-named-manager.c
1153                 - Add support for resolvconf; use --with-resolvconf at configure time
1154                         to enable it
1155
1156 2008-09-05  Dan Williams  <dcbw@redhat.com>
1157
1158         * libnm-util/crypto_nss.c
1159           libnm-util/crypto_gnutls.c
1160           libnm-util/crypto.h
1161                 - (crypto_init): return error when init fails
1162
1163 2008-09-05  Dan Williams  <dcbw@redhat.com>
1164
1165         * libnm-glib/nm-device-wifi.c
1166                 - (access_point_removed_proxy): clean up the active access point too
1167                         just in case the active ap changed signal didn't come through yet
1168                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1169
1170 2008-09-05  Dan Williams  <dcbw@redhat.com>
1171
1172         * libnm-glib/nm-client.c
1173                 - (constructor): get initial state after we know whether NM is running
1174                         or not
1175
1176 2008-09-05  Dan Williams  <dcbw@redhat.com>
1177
1178         * libnm-glib/nm-ip4-config.c
1179           libnm-glib/nm-dhcp4-config.c
1180                 - (finalize): clean up the DBusGProxy
1181
1182 2008-09-04  Dan Williams  <dcbw@redhat.com>
1183
1184         * src/nm-ip4-config.c
1185           src/nm-ip4-config.h
1186                 - (nm_ip4_config_new): don't export over D-Bus here
1187                 - (nm_ip4_config_export): new function; export the config over D-Bus
1188                 - (nm_ip4_config_is_exported): new function
1189
1190         * src/nm-device.c
1191                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1192                         objects by balancing the IP4Config constructor; the device holds
1193                         a reference to the IP4Config already
1194                 - (nm_device_set_ip4_config): export the IP4Config when needed
1195
1196 2008-09-04  Dan Williams  <dcbw@redhat.com>
1197
1198         * src/supplicant-manager/nm-supplicant-settings-verify.c
1199                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1200
1201 2008-09-04  Dan Williams  <dcbw@redhat.com>
1202
1203         * libnm-util/nm-setting-vpn.c
1204           libnm-util/nm-setting-vpn.h
1205                 - Split VPN secrets from VPN data so that settings services can actually
1206                         figure out that they are secrets and store them accordingly
1207
1208         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1209           system-settings/plugins/keyfile/reader.c
1210           system-settings/plugins/keyfile/reader.h
1211           system-settings/plugins/keyfile/writer.c
1212                 - Store VPN secrets separately from VPN data so that they can be fetched
1213                         on demand
1214                 - Implement the get_secrets() call so that (a) secrets don't leak out
1215                         to unprivileged callers, and (b) secrets can be sent to privileged
1216                         callers when needed
1217
1218         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1219                 - Handle split VPN secrets
1220
1221 2008-08-27  Dan Williams  <dcbw@redhat.com>
1222
1223         * system-settings/plugins/ifcfg-fedora/reader.c
1224                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1225
1226 2008-08-27  Dan Williams  <dcbw@redhat.com>
1227
1228         Ensure zombie children get cleaned up.  To get notifications when children
1229         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1230         that requires calling waitpid() yourself if you've removed the child watch
1231         handler before the process has actually died, which NM needs to do in a few
1232         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1233         cleans up after the child when required.  Should fix problems trying to
1234         activate mobile broadband connections after a previous failure.
1235
1236         * src/dhcp-manager/nm-dhcp-dhclient.c
1237           src/dhcp-manager/nm-dhcp-dhcpcd.c
1238                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1239
1240         * src/dhcp-manager/nm-dhcp-manager.c
1241                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1242                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1243                         block on child quitting, since the non-blocking functionality was
1244                         never actually used
1245
1246         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1247                 - (dm_watch_cb): child is already reaped here
1248                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1249
1250         * src/nm-device.c
1251                 - (aipd_cleanup): block until child is dead
1252
1253         * src/named-manager/nm-named-manager.c
1254                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1255                         event bothering to watch the child
1256
1257         * src/ppp-manager/nm-ppp-manager.c
1258                 - (ppp_watch_cb): child is already reaped here
1259                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1260
1261         * src/vpn-manager/nm-vpn-service.c
1262                 - (vpn_service_watch_cb): child is already reaped here
1263                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1264                         status of the child is actually tracked
1265                 - (ensure_killed, finalize): block until child is dead
1266
1267 2008-08-26  Dan Williams  <dcbw@redhat.com>
1268
1269         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1270                 - (update): Update filename of the connection if the connection id
1271                         was changed
1272
1273         * system-settings/plugins/keyfile/plugin.c
1274                 - (dir_changed): first pass at handling connection renames correctly
1275
1276         * system-settings/plugins/keyfile/writer.c
1277           system-settings/plugins/keyfile/writer.h
1278                 - (write_connection): replace '/' with '*' when writing out the filename
1279                         from the connection id
1280
1281 2008-08-26  Dan Williams  <dcbw@redhat.com>
1282
1283         Add connection UUIDs, since connection names can be changed, and since
1284         old-style connection IDs could change over the life of the connection.  The
1285         UUID should be assigned at connection creation time, be stable for a given
1286         connection, and should be unique among all connections for a given settings
1287         service.
1288
1289         * configure.in
1290           libnm-util/Makefile.am
1291                 - Require libuuid
1292
1293         * introspection/nm-exported-connection.xml
1294                 - Remove "GetID" method
1295
1296         * libnm-glib/nm-dbus-connection.c
1297           libnm-glib/nm-settings.c
1298           libnm-glib/nm-settings.h
1299                 - Remove id-related stuff
1300
1301         * libnm-util/nm-utils.c
1302           libnm-util/nm-utils.h
1303           libnm-util/libnm-util.ver
1304                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1305                         utility functions to generate UUIDs
1306
1307         * libnm-util/nm-setting-connection.c
1308           libnm-util/nm-setting-connection.h
1309                 - Add 'uuid' member to the connection setting
1310                 - (verify): require valid 'uuid' for a valid connection
1311
1312         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1313           system-settings/plugins/ifcfg-fedora/reader.c
1314           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1315           system-settings/plugins/ifcfg-suse/parser.c
1316           system-settings/plugins/keyfile/nm-keyfile-connection.c
1317           system-settings/src/main.c
1318                 - Remove id-related stuff
1319                 - Give connections UUIDs where needed
1320
1321 2008-08-25  Dan Williams  <dcbw@redhat.com>
1322
1323         * libnm-util/crypto_gnutls.c
1324           libnm-util/crypto_nss.c
1325                 - (crypto_init, crypto_deinit): refcount init/deinit
1326                 - (crypto_md5_hash): allow NULL salt
1327
1328 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1329
1330         * libnm-glib/Makefile.am
1331           libnm-util/Makefile.am
1332           libnm-glib/libnm_glib.ver
1333           libnm-glib/libnm_glib_vpn.ver
1334           libnm-util/libnm-util.ver
1335                 - Use linker version scripts to control the list of exported 
1336                 symbols. List each exported symbol explicitely.
1337         * libnm-util/Makefile.am
1338                 - Fix compilation of the test-crypto binary. The crypto
1339                 functions are no longer part of the libnm-util API. Add 
1340                 crypto_*.c to test_crypto_SOURCES and link against the correct
1341                 crypto libraries.
1342
1343 2008-08-19  Dan Williams  <dcbw@redhat.com>
1344
1345         * configure.in
1346           test/Makefile.am
1347                 - Don't build test/test-common
1348                 - Remove unused stuff
1349
1350         * test/nm-set-fallback
1351           test/nmtestdevices.c
1352           test/test-common/.cvsignore
1353           test/test-common/Makefile.am
1354           test/test-common/test-common.c
1355           test/test-common/test-common.h
1356                 - delete
1357
1358 2008-08-18  Dan Williams  <dcbw@redhat.com>
1359
1360         * libnm-util/nm-utils.c
1361           libnm-util/nm-utils.h
1362                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1363                         export anything that needs to be converted with this function
1364
1365         * src/dhcp-manager/nm-dhcp-manager.c
1366                 - (garray_to_string): convert a byte array to a UTF-8 string with
1367                         minimal validation; the DHCP client sends it in ASCII anyway
1368                 - (get_option, copy_option): use garray_to_string()
1369
1370 2008-08-18  Dan Williams  <dcbw@redhat.com>
1371
1372         * include/NetworkManager.h
1373           introspection/nm-device.xml
1374                 - Add a "missing firmware" device state reason
1375
1376         * src/NetworkManagerSystem.c
1377           src/NetworkManagerSystem.h
1378                 - (nm_system_device_set_up_down): add a no_firmware argument
1379                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1380                         IFF_UP is ENOENT, that almost always means missing firmware
1381
1382         * src/backends/NetworkManagerGeneric.c
1383           src/nm-device-ethernet.c
1384           src/nm-device-private.h
1385           src/nm-device-wifi.c
1386           src/nm-device.c
1387           src/nm-device.h
1388           src/nm-hso-gsm-device.c
1389           src/vpn-manager/nm-vpn-connection.c
1390                 - Pass no_firmware along; check it where appropriate
1391
1392 2008-08-18  Dan Williams  <dcbw@redhat.com>
1393
1394         Patch from Robert Buchholz <rbu@gentoo.org>
1395
1396         * autogen.sh
1397           configure.in
1398                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1399                         1003.1-1988, allowing for file names longer than 99 characters
1400
1401 2008-08-17  Dan Williams  <dcbw@redhat.com>
1402
1403         * include/NetworkManager.h
1404           introspection/nm-device.xml
1405           src/nm-gsm-device.c
1406                 - Finer-grained GSM registration failure error codes
1407
1408 2008-08-17  Dan Williams  <dcbw@redhat.com>
1409
1410         * callouts/Makefile.am
1411           src/Makefile.am
1412                 - Move dispatcher directory creation to callouts/Makefile.am
1413
1414         * system-settings/plugins/keyfile/Makefile.am
1415                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1416
1417 2008-08-15  Dan Williams  <dcbw@redhat.com>
1418
1419         Do connection sharing in a cleaner manner; all required iptables rules
1420         are now stored in the activation request and pertain only to the device
1421         which is being shared to other computers. (rh #458625)
1422
1423         * src/nm-activation-request.c
1424           src/nm-activation-request.h
1425                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1426                         the activation request which will get torn down automatically when
1427                         the activation request dies
1428                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1429                         is started, and tear them down when sharing is stopped
1430
1431         * src/nm-device.c
1432                 - (start_sharing): start up sharing by doing the required iptables magic
1433                 - (share_init): poke the right bits of the kernel and load the right
1434                         modules for NAT
1435                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1436                         connection if it's a 'shared' connection
1437
1438         * src/NetworkManagerPolicy.c
1439                 - Remove all sharing stuff; done in the device code itself
1440
1441 2008-08-15  Dan Williams  <dcbw@redhat.com>
1442
1443         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1444                 - (create_dm_cmd_line): send the right router address
1445
1446 2008-08-15  Dan Williams  <dcbw@redhat.com>
1447
1448         * src/ppp-manager/nm-ppp-manager.c
1449                 - (pppd_timed_out): ensure timeouts fail the connection
1450
1451 2008-08-14  Dan Williams  <dcbw@redhat.com>
1452
1453         * src/nm-properties-changed-signal.c
1454           src/nm-properties-changed-signal.h
1455                 - Add a property spec flag for "don't export this property" in
1456                         property changed signals
1457
1458         * src/nm-hso-gsm-device.c
1459           src/nm-gsm-device.c
1460           src/nm-cdma-device.c
1461                 - Don't export monitor interface or netdev interface properties
1462
1463 2008-08-14  Dan Williams  <dcbw@redhat.com>
1464
1465         * src/NetworkManagerPolicy.c
1466                 - (update_routing_and_dns): 'hso' devices can be default even if they
1467                         don't have a gateway
1468
1469 2008-08-14  Dan Williams  <dcbw@redhat.com>
1470
1471         * src/nm-device.c
1472                 - (nm_device_deactivate_quickly): tear down activation request after
1473                         calling device-specific deactivation
1474
1475         * src/nm-hso-gsm-device.c
1476                 - (real_deactivate_quickly): terminate connection when deactivating
1477
1478 2008-08-14  Dan Williams  <dcbw@redhat.com>
1479
1480         * src/nm-activation-request.h
1481                 - Add HSO secrets caller
1482
1483         * src/nm-gsm-device.c
1484           src/nm-gsm-device.h
1485                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1486                         something to the callback function
1487                 - (set_apn, set_apn_done): call class dial function, not a static one
1488                 - (nm_gsm_device_class_init): add a class 'dial' function
1489
1490         * src/nm-hal-manager.c
1491                 - (get_hso_netdev): find the hso-driven hardware's net device
1492                 - (modem_device_creator): recognize hso-driven hardware and create the
1493                         right type of device object for it
1494
1495         * src/Makefile.am
1496           src/nm-hso-gsm-device.c
1497           src/nm-hso-gsm-device.h
1498                 - Implement support for devices driven by the 'hso' driver as a subclass
1499                         of NMGsmDevice
1500
1501 2008-08-14  Dan Williams  <dcbw@redhat.com>
1502
1503         * src/NetworkManagerSystem.c
1504                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1505                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1506                         success if the operation really was successful
1507
1508 2008-08-14  Dan Williams  <dcbw@redhat.com>
1509
1510         * src/nm-netlink-monitor.c
1511           src/nm-netlink-monitor.h
1512           src/nm-device-ethernet.c
1513                 - (nm_netlink_monitor_request_status): return an error on failure
1514                 - (constructor): don't segfault on missing error
1515
1516 2008-08-13  Dan Williams  <dcbw@redhat.com>
1517
1518         * callouts/nm-dispatcher-action.c
1519                 - Add IP4 config info to script environment
1520
1521 2008-08-12  Dan Williams  <dcbw@redhat.com>
1522
1523         * src/nm-device.c
1524                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1525                         that want to use DHCP hostnames should use dispatcher scripts
1526                         for that
1527
1528         * src/NetworkManagerSystem.h
1529           src/backends/NetworkManagerArch.c
1530           src/backends/NetworkManagerDebian.c
1531           src/backends/NetworkManagerFrugalware.c
1532           src/backends/NetworkManagerGeneric.c
1533           src/backends/NetworkManagerGeneric.h
1534           src/backends/NetworkManagerGentoo.c
1535           src/backends/NetworkManagerMandriva.c
1536           src/backends/NetworkManagerPaldo.c
1537           src/backends/NetworkManagerRedHat.c
1538           src/backends/NetworkManagerSlackware.c
1539           src/backends/NetworkManagerSuSE.c
1540                 - Remove nm_system_set_hostname(), no longer used
1541           
1542         * src/backends/Makefile.am
1543           src/backends/shvar.c
1544           src/backends/shvar.h
1545                 - Remove shvar.*; no longer used
1546
1547 2008-08-12  Dan Williams  <dcbw@redhat.com>
1548
1549         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1550         hostname is updated at runtime.  Distros or users who want hostname updates
1551         can use dispatcher scripts to update the hostname if they need it.
1552
1553 2008-08-12  Dan Williams  <dcbw@redhat.com>
1554
1555         * introspection/nm-settings-system.xml
1556           system-settings/src/dbus-settings.c
1557           system-settings/src/dbus-settings.h
1558                 - Add a 'Hostname' property (rw) which represents the configured
1559                         hostname and domain of the system, if any
1560
1561         * system-settings/src/nm-system-config-error.c
1562           system-settings/src/nm-system-config-error.h
1563           system-settings/src/nm-system-config-interface.c
1564           system-settings/src/nm-system-config-interface.h
1565                 - Add a 'hostname' property to the plugin interface
1566                 - Add a method to send updated hostname to plugins to save in their
1567                         backing configuration store
1568
1569         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1570           system-settings/plugins/keyfile/plugin.c
1571           system-settings/plugins/keyfile/writer.c
1572           system-settings/plugins/keyfile/writer.h
1573           system-settings/plugins/ifcfg-suse/plugin.c
1574                 - Add minimal hostname support
1575
1576         * system-settings/plugins/ifcfg-fedora/plugin.c
1577                 - Add support for updating system hostname in /etc/sysconfig/network
1578
1579 2008-08-12  Dan Williams  <dcbw@redhat.com>
1580
1581         * system-settings/plugins/ifcfg-fedora/shvar.c
1582           system-settings/plugins/ifcfg-fedora/shvar.c
1583                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1584
1585 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1586
1587         * Makefile.am: Fix distcheck.
1588
1589 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1590
1591         * libnm-glib/*.c. Document some more.
1592
1593 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1594
1595         Start documenting libnm-glib public API using gtk-doc.
1596
1597         * libnm-glib/nm-serial-device.c: 
1598         * libnm-glib/nm-object.c: 
1599         * libnm-glib/nm-gsm-device.c: 
1600         * libnm-glib/nm-device.c: 
1601         * libnm-glib/nm-device-wifi.c: 
1602         * libnm-glib/nm-device-ethernet.c: 
1603         * libnm-glib/nm-client.c: 
1604         * libnm-glib/nm-cdma-device.c: Document the public API.
1605
1606         * docs/libnm-glib/libnm-glib.types: Implement.
1607
1608         * docs/libnm-glib/Makefile.am: Implement.
1609
1610         * autogen.sh: 
1611         * configure.in: 
1612         * Makefile.am: Add gtk-doc support.
1613
1614 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1615
1616         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1617
1618         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1619         the composite result of all the IP4 configurations and call a distro
1620         specific update_resolv_conf().
1621         (update_resolv_conf): Implement one for directly writing to 
1622         /etc/resolv.conf and one for opensuse to call netconfig.
1623
1624 2008-08-11  Dan Williams  <dcbw@redhat.com>
1625
1626         * src/ppp-manager/nm-ppp-manager.c
1627                 - (impl_ppp_manager_need_secrets): pass interface as required
1628
1629 2008-08-11  Dan Williams  <dcbw@redhat.com>
1630
1631         Merge the vpn-properties setting with the vpn setting since it was pointless
1632         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1633         of string:string (instead of string:variant) so that system settings plugins
1634         can have an easier time dealing with the arbitrary key/value pairs.
1635
1636 2008-08-11  Dan Williams  <dcbw@redhat.com>
1637
1638         * libnm-util/nm-utils.c
1639                 - (nm_utils_register_value_transformations): add value transform for
1640                         a hash table of string:string
1641
1642 2008-08-10  Dan Williams  <dcbw@redhat.com>
1643
1644         * libnm-glib/nm-vpn-plugin.c
1645                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1646                         an idle handler so the Connect reply gets delivered before the
1647                         stop StateChanged signal
1648
1649 2008-08-10  Dan Williams  <dcbw@redhat.com>
1650
1651         * src/nm-ip4-config.c
1652                 - (get_property): use common ip4 address/route conversion functions
1653                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1654                         copy the new route here, not take ownership
1655
1656 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1657
1658         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1659         Update the IP4 setting's method name.
1660
1661 2008-08-07  Dan Williams  <dcbw@redhat.com>
1662
1663         * introspection/nm-ip4-config.xml
1664           libnm-glib/libnm-glib-test.c
1665           libnm-glib/nm-ip4-config.c
1666           libnm-glib/nm-ip4-config.h
1667           src/NetworkManagerSystem.h
1668           src/backends/NetworkManagerArch.c
1669           src/backends/NetworkManagerDebian.c
1670           src/backends/NetworkManagerFrugalware.c
1671           src/backends/NetworkManagerGeneric.c
1672           src/backends/NetworkManagerGeneric.h
1673           src/backends/NetworkManagerGentoo.c
1674           src/backends/NetworkManagerMandriva.c
1675           src/backends/NetworkManagerPaldo.c
1676           src/backends/NetworkManagerRedHat.c
1677           src/backends/NetworkManagerSlackware.c
1678           src/backends/NetworkManagerSuSE.c
1679           src/dhcp-manager/nm-dhcp-manager.c
1680           src/nm-device.c
1681           src/nm-ip4-config.c
1682           src/nm-ip4-config.h
1683                 - Remove NIS logic; should be done from dispatcher scripts instead
1684
1685 2008-08-07  Dan Williams  <dcbw@redhat.com>
1686
1687         * src/dhcp-manager/nm-dhcp-manager.c
1688                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1689                         mis-handling of DHCP responses that returned more than one router
1690                         (found by Grant Williamson)
1691
1692 2008-08-07  Dan Williams  <dcbw@redhat.com>
1693
1694         * callouts/nm-dispatcher-action.c
1695                 - (nm_dispatcher_action): grab device path and create the device; pass
1696                         the device's DHCP4 config to script caller
1697                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1698                         scripts
1699
1700         * libnm-glib/nm-dhcp4-config.c
1701           libnm-glib/nm-dhcp4-config.h
1702                 - (nm_dhcp4_config_get_options): expose
1703                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1704
1705 2008-08-07  Dan Williams  <dcbw@redhat.com>
1706
1707         * include/NetworkManager.h
1708                 - Add the DHCP4Config D-Bus interface
1709
1710         * libnm-glib/Makefile.am
1711           libnm-glib/nm-dhcp4-config.c
1712           libnm-glib/nm-dhcp4-config.h
1713                 - Handle DHCP4 config objects exported by NM over D-Bus
1714
1715         * libnm-glib/nm-device.c
1716           libnm-glib/nm-device.h
1717                 - Add a 'dhcp4-config' property
1718
1719         * libnm-glib/libnm-glib-test.c
1720                 - Print out DHCP4 config for devices
1721                 - Fix some crashes when no connections are active
1722
1723         * src/nm-device-interface.c
1724           src/nm-device.c
1725           src/nm-dhcp4-config.c
1726           src/nm-dhcp4-config.h
1727                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1728                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1729                         doesn't let us do when the property type is G_TYPE_OBJECT
1730
1731 2008-08-07  Dan Williams  <dcbw@redhat.com>
1732
1733         * src/NetworkManager.c
1734           src/NetworkManagerSystem.h
1735           src/backends/NetworkManagerArch.c
1736           src/backends/NetworkManagerDebian.c
1737           src/backends/NetworkManagerFrugalware.c
1738           src/backends/NetworkManagerGeneric.c
1739           src/backends/NetworkManagerGeneric.h
1740           src/backends/NetworkManagerGentoo.c
1741           src/backends/NetworkManagerMandriva.c
1742           src/backends/NetworkManagerPaldo.c
1743           src/backends/NetworkManagerRedHat.c
1744           src/backends/NetworkManagerSlackware.c
1745           src/backends/NetworkManagerSuSE.c
1746                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1747
1748 2008-08-06  Dan Williams  <dcbw@redhat.com>
1749
1750         * libnm-glib/nm-ip4-config.c
1751           libnm-glib/nm-ip4-config.h
1752                 - Add 'routes' property
1753
1754         * libnm-util/nm-setting-vpn.c
1755           libnm-util/nm-setting-vpn.h
1756                 - Remove 'routes' property
1757
1758         * libnm-util/nm-setting-ip4-config.c
1759           libnm-util/nm-setting-ip4-config.h
1760                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1761                 - Add 'ignore-auto-routes' property
1762                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1763                         accomodate route metrics
1764                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1765
1766         * libnm-util/nm-utils.c
1767           libnm-util/nm-utils.h
1768                 - Add helpers for marshalling IP4 routes
1769
1770         * src/NetworkManagerUtils.c
1771                 - (nm_utils_merge_ip4_config): handle property renames and new route
1772                         structure
1773
1774         * src/NetworkManagerSystem.c
1775                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1776                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1777
1778         * src/dhcp-manager/nm-dhcp-manager.c
1779                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1780
1781         * system-settings/plugins/ifcfg-fedora/reader.c
1782           system-settings/plugins/ifcfg-fedora/writer.c
1783                 - Handle routes separately from addresses now that routes have a different
1784                         format
1785
1786         * introspection/nm-ip4-config.xml
1787           src/nm-ip4-config.c
1788           src/nm-ip4-config.h
1789                 - Rename internal routing functions
1790                 - 'static-routes' renamed to 'routes'
1791
1792 2008-08-04  Dan Williams  <dcbw@redhat.com>
1793
1794         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1795
1796         * src/NetworkManager.c
1797           src/nm-manager.c
1798           src/nm-manager.h
1799                 - More explicitly make the NMManager a singleton
1800
1801 2008-08-04  Dan Williams  <dcbw@redhat.com>
1802
1803         * libnm-util/nm-connection.c
1804           libnm-util/nm-connection.h
1805                 - (nm_connection_verify): return error on missing 'connection' setting
1806                         (found by Sjoerd Simons)
1807
1808 2008-08-04  Dan Williams  <dcbw@redhat.com>
1809
1810         Handle multiple concurrent PPP connections.
1811
1812         * src/ppp-manager/nm-ppp-manager.c
1813           src/ppp-manager/nm-ppp-manager.h
1814                 - (constructor): only PPP Manager request bus name once; each
1815                         NMPPPManager object gets a unique object path
1816                 - (nm_ppp_manager_class_init, get_property, set_property,
1817                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1818                         at construct time
1819                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1820                         remove timeout until PPP manager gets an IP4 config
1821                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1822                         the plugin can call back to this specific PPP manager instance
1823
1824         * src/nm-device-ethernet.c
1825           src/nm-serial-device.c
1826                 - Pass parent device in nm_ppp_manager_new()
1827
1828         * src/nm-gsm-device.c
1829           src/nm-cdma-device.c
1830                 - (device_state_changed): don't close serial device on NEED_AUTH
1831                         state changed, that's not a failure case like the rest are
1832
1833         * src/ppp-manager/nm-pppd-plugin.c
1834                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1835                         binds one interface to any pppd process, thus the correct index
1836                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1837                         problems; try harder to get a peer address in spite of pppd
1838                 - (plugin_init): use 'ipparam' as the object path back to our specific
1839                         PPP manager instance
1840
1841 2008-08-04  Dan Williams  <dcbw@redhat.com>
1842
1843         * src/ppp-manager/nm-ppp-manager.c
1844                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1845                         since the GSM and CDMA settings now implement need_secrets, we can
1846                         rely on them to do the right thing.  Where secrets are not required,
1847                         just pass empty strings back to the pppd plugin.
1848                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1849                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1850                         on successful IP4 config receipt
1851
1852 2008-08-04  Dan Williams  <dcbw@redhat.com>
1853
1854         * libnm-util/nm-setting-cdma.c
1855           libnm-util/nm-setting-gsm.c
1856                 - (verify): validate username & password if they exist
1857                 - (need_secrets): if username given, require a password too
1858
1859 2008-08-04  Dan Williams  <dcbw@redhat.com>
1860
1861         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1862                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1863                         manpage says about --listen-address without --interface
1864                         (bgo #546033)
1865
1866 2008-08-01  Dan Williams  <dcbw@redhat.com>
1867
1868         * libnm-glib/nm-device.c
1869                 - (proxy_get_string): util function for querying a HAL property
1870                 - (get_ancestor_device): split out from get_product_and_vendor()
1871                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1872                         from PCI devices by querying subsys properties
1873                 - (nm_device_update_description): simplify
1874
1875 2008-08-01  Dan Williams  <dcbw@redhat.com>
1876
1877         * libnm-util/nm-setting-ip4-config.c
1878           libnm-util/nm-setting-ip4-config.h
1879                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1880                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1881                         settings, and they don't necessarily use DHCP.
1882
1883         * src/NetworkManagerPolicy.c
1884           src/nm-device.c
1885           system-settings/plugins/ifcfg-fedora/reader.c
1886           system-settings/plugins/ifcfg-suse/parser.c
1887                 - Fixup for method changes
1888
1889 2008-07-31  Dan Williams  <dcbw@redhat.com>
1890
1891         * src/nm-activation-request.c
1892           src/vpn-manager/nm-vpn-connection.c
1893                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1894                         itself should be attached to the activation request or the VPN
1895                         connection, not the NMConnection object, since the call is not
1896                         expected to live as long as the NMConnection itself
1897
1898 2008-07-31  Dan Williams  <dcbw@redhat.com>
1899
1900         * src/nm-device-wifi.c
1901                 - (real_act_stage2_config): fix issue where association would continue
1902                         even though secrets were needed; 'goto out' was in wrong scope and
1903                         result of handle_auth_or_fail() should have been dumped directly to
1904                         'ret' to ensure that the association was postponed until secrets
1905                         are available
1906
1907 2008-07-31  Dan Williams  <dcbw@redhat.com>
1908
1909         * system-settings/plugins/ifcfg-fedora/plugin.c
1910           system-settings/plugins/ifcfg-fedora/reader.c
1911                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1912                         valid NM connection
1913
1914 2008-07-29  Dan Williams  <dcbw@redhat.com>
1915
1916         * src/nm-gsm-device.c
1917                 - (automatic_registration_response, automatic_registration): recognize
1918                         denied registration and reorder responses
1919
1920 2008-07-29  Dan Williams  <dcbw@redhat.com>
1921
1922         * src/nm-serial-device.c
1923                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1924                         time(2) is used for current time, which returns seconds, we shouldn't
1925                         be multiplying by 1000.
1926
1927 2008-07-28  Dan Williams  <dcbw@redhat.com>
1928
1929         Patch from Fabrice Bellet <fabrice@bellet.info>
1930
1931         * src/NetworkManagerSystem.c
1932                 - (route_in_same_subnet): mask addresses and compare them so that the
1933                         function actually does what it says it's going to do (rh #456685)
1934
1935 2008-07-27  Dan Williams  <dcbw@redhat.com>
1936
1937         * libnm-util/nm-setting-ip6-config.c
1938                 - (set_property): add missing break that caused routes to be overwritten
1939                         with addresses
1940
1941         * libnm-util/nm-setting-ip6-config.c
1942                 - (verify): validate routes and return GError everywhere on invalid setting
1943                 - (finalize): don't leak routes
1944                 - (set_property): add missing break that caused routes to be overwritten
1945                         with addresses
1946
1947 2008-07-27  Dan Williams  <dcbw@redhat.com>
1948
1949         * libnm-util/*
1950                 - Relicense to LGPLv2+
1951
1952 2008-07-27  Dan Williams  <dcbw@redhat.com>
1953
1954         * system-settings/plugins/ifcfg-fedora/reader.c
1955                 - (make_ip4_setting): fix parsing automatic configs
1956
1957 2008-07-27  Dan Williams  <dcbw@redhat.com>
1958
1959         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1960           src/nm-device.c
1961           src/ppp-manager/nm-ppp-manager.c
1962                 - Ensure child process gets reaped.  The child watch function may be
1963                         removed from the mainloop before the child gets killed, so we have
1964                         to make sure the child is reaped when it's told to die intentionally
1965
1966 2008-07-27  Dan Williams  <dcbw@redhat.com>
1967
1968         Patch from Roy Marples <roy@marples.name>
1969
1970         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1971                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1972
1973 2008-07-27  Dan Williams  <dcbw@redhat.com>
1974
1975         * src/nm-gsm-device.c
1976                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1977                         Huawei devices turn echo back on after CPIN (rh #456770)
1978
1979 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1980
1981         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1982         format argument to g_set_error() call.
1983
1984         * src/backends/interface_parser.[ch]: Remove.
1985
1986         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1987
1988 2008-07-21  Dan Williams  <dcbw@redhat.com>
1989
1990         * src/ppp-manager/nm-ppp-manager.c
1991                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1992                         to prevent pppd from picking up some random local address from an
1993                         interface that doesn't have anything to do with the one we're
1994                         interested in (rh #455348)
1995
1996 2008-07-17  Dan Williams  <dcbw@redhat.com>
1997
1998         * libnm-util/nm-utils.c
1999                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2000                         by locale
2001                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2002                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2003
2004 2008-07-17  Dan Williams  <dcbw@redhat.com>
2005
2006         * introspection/Makefile.am
2007           introspection/nm-device.xml
2008           introspection/nm-dhcp4-config.xml
2009                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2010                         itself
2011         * src/nm-device-interface.c
2012           src/nm-device-interface.h
2013                 - Add the DHCP4Config property
2014
2015         * src/nm-device.c
2016                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2017                         D-Bus clients when it changes
2018
2019         * src/nm-dhcp4-config.c
2020           src/nm-dhcp4-config.h
2021                 - Simple object to store DHCP4 options, export them over D-Bus, and
2022                         notify when they change
2023
2024         * src/dhcp-manager/nm-dhcp-manager.c
2025           src/dhcp-manager/nm-dhcp-manager.h
2026                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2027                         filter server-returned DHCP options into an NMDHCP4Config object
2028
2029 2008-07-16  Dan Williams  <dcbw@redhat.com>
2030
2031         * introspection/nm-device.xml
2032                 - Add device state reasons
2033
2034 2008-07-16  Dan Williams  <dcbw@redhat.com>
2035
2036         Patch from Roy Marples <roy@marples.name>
2037
2038         * configure.in
2039                 - Add --with-dhcp-client option
2040
2041         * src/dhcp-manager/Makefile.am
2042                 - pass DHCP_CLIENT_PATH on compile line
2043
2044         * src/dhcp-manager/nm-dhcp-manager.c
2045           src/dhcp-manager/nm-dhcp-manager.h
2046                 - Genericize for both dhcpcd and dhclient
2047
2048         * src/dhcp-manager/nm-dhcp-dhclient.c
2049                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2050
2051         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2052                 - Implement support for dhcpcd too
2053
2054 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2055
2056         * system-settings/src/nm-system-config-interface.c 
2057         (nm_system_config_interface_supports_add): Implement.
2058         (nm_system_config_interface_add_connection): Return a boolean to notify
2059         of errors.
2060
2061         * system-settings/src/nm-polkit-helpers.c: 
2062         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2063         a separate file.
2064
2065         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2066         Return an error when none of the plugins support add or if addition
2067         failed for some reason.
2068
2069         * system-settings/src/nm-system-config-error.h: 
2070         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2071         here from nm-polkit-helpers.[ch].
2072
2073         * system-settings/src/Makefile.am: Build new files.
2074
2075         * system-settings/plugins/keyfile/reader.c 
2076         (read_array_of_array_of_uint): Make it more general so that it would
2077         work for routes as well.
2078
2079         * system-settings/plugins/keyfile/writer.c
2080         (write_array_of_array_of_uint): Ditto.
2081         Fix the netmask/prefix writing.
2082
2083         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2084         boolean to notify errors.
2085
2086         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2087         Return more specific error.
2088         (delete): Ditto.
2089
2090 2008-07-11  Dan Williams  <dcbw@redhat.com>
2091
2092         Modify the NMDevice::state-changed signal to include the previous state
2093         and reason. Enables the applet to provide more information why device
2094         activation failed.
2095
2096 2008-07-09  Dan Williams  <dcbw@redhat.com>
2097
2098         * callouts/Makefile.am
2099           callouts/nm-avahi-autoipd-action.c
2100           callouts/nm-avahi-autoipd.conf
2101                 - avahi-autoipd callout to send options back to NM
2102
2103         * src/autoip.c
2104           src/autoip.h
2105                 - remove
2106
2107         * src/nm-device.c
2108           src/nm-device-private.h
2109           src/nm-manager.c
2110                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2111                         old custom stuff
2112
2113 2008-07-07  Dan Williams  <dcbw@redhat.com>
2114
2115         * system-settings/plugins/ifcfg-fedora/reader.c
2116                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2117                         handle PREFIX too; clean up
2118
2119 2008-07-07  Dan Williams  <dcbw@redhat.com>
2120
2121         Convert to using IPv4 prefixes instead of netmasks.
2122
2123 2008-07-03  Dan Williams  <dcbw@redhat.com>
2124
2125         * libnm-util/nm-setting-ip4-config.c
2126           libnm-util/nm-setting-ip4-config.h
2127                 - Add properties for DHCP Client Identifier and DHCP Hostname
2128
2129         * src/dhcp-manager/nm-dhcp-manager.c
2130           src/dhcp-manager/nm-dhcp-manager.h
2131                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2132                         setting as an argument to pass on to the dhclient config file
2133                         creation function
2134                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2135                         DHCP is torn down
2136                 - (dhclient_run): punt config file handling to create_dhclient_config()
2137                 - (create_dhclient_config): create an interface-specific dhclient
2138                         config file since there may need to be interface-specific options
2139                         passed to dhclient
2140                 - (merge_dhclient_config): merge normal distro dhclient config file and
2141                         add options from the connection
2142                 - (nm_dhcp_device_new): generate the interface specific dhclient
2143                         config file path once
2144                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2145                         dhclient config file path
2146
2147         * src/nm-device.c
2148                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2149                         DHCP manager when starting DHCP
2150
2151 2008-07-02  Dan Williams  <dcbw@redhat.com>
2152
2153         * libnm-util/nm-setting-8021x.c
2154                 - (verify): allow forcing the PEAP label to 0
2155
2156 2008-07-02  Dan Williams  <dcbw@redhat.com>
2157
2158         * introspection/nm-active-connection.xml
2159           introspection/nm-vpn-connection.xml
2160           libnm-glib/nm-active-connection.c
2161           src/nm-activation-request.c
2162           src/nm-active-connection.h
2163           src/vpn-manager/nm-vpn-connection.c
2164                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2165                         and libnm-glib API since sharing didn't get implemented that way
2166
2167 2008-07-02  Dan Williams  <dcbw@redhat.com>
2168
2169         * src/nm-device-wifi.c
2170                 - (can_scan): don't scan when a shared connection is activated since
2171                         that makes drivers mad (causing disconnects); also NM doesn't need
2172                         to hedge against disconnects by keeping up-to-date network topology
2173                         because the connection originates from the local machine, and thus
2174                         there should be no disconnects
2175
2176 2008-07-01  Dan Williams  <dcbw@redhat.com>
2177
2178         Fix mobile broadband username/password issues.  NM was never requesting
2179         mobile broadband secrets, nor was it passing back the username and password
2180         if it had them.
2181
2182         * marshallers/nm-marshal.list
2183                 - Add some new types for activation request objects
2184
2185         * src/nm-activation-request.c
2186           src/nm-activation-request.h
2187                 - (get_secrets_cb): pass the caller type in the signal
2188                 - (nm_act_request_request_connection_secrets): take a caller type, so
2189                         that GetSecrets() reply handlers know who asked for the secrets in
2190                         the first place; use secret hints too so the settings service can
2191                         figure out exactly what NM wants (ie, PIN or the PPP password)
2192
2193         * src/ppp-manager/nm-ppp-manager.c
2194           src/ppp-manager/nm-ppp-manager.h
2195                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2196                         detect needed secrets when the secret could be blank, like GSM/CDMA
2197                         passwords.  So always ask for secrets, and send a hint as to what
2198                         secret we really want.
2199                 - (nm_ppp_manager_update_secrets): make function more generic by making
2200                         the device specific class figure out the username and password, and
2201                         accept an error argument to return back over D-Bus
2202
2203         * src/nm-device-wifi.c
2204                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2205                         nm_act_request_request_connection_secrets()
2206                 - (real_connection_secrets_updated): update for 'caller' changes
2207
2208         * src/nm-device.c
2209           src/nm-device.h
2210                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2211                         for 'caller' changes
2212
2213         * src/nm-device-ethernet.c
2214                 - (real_connection_secrets_updated): update for 'caller' changes and
2215                         move logic for getting PPPoE username and password here before
2216                         calling nm_ppp_manager_update_secrets()
2217                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2218                         nm_act_request_request_connection_secrets()
2219
2220         * src/nm-cdma-device.c
2221                 - (real_connection_secrets_updated): pass username and password back
2222                         to the PPP manager when required
2223
2224         * src/nm-gsm-device.c
2225                 - (enter_pin): send the required secret name to the settings service
2226                 - (real_connection_secrets_updated): pass username and password back
2227                         to the PPP manager when required
2228
2229 2008-06-30  Dan Williams  <dcbw@redhat.com>
2230
2231         * src/nm-device-wifi.c
2232                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2233
2234 2008-06-30  Dan Williams  <dcbw@redhat.com>
2235
2236         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2237         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2238         priv->supplicant.iface.  When either condition is false, the device should
2239         transition back to UNAVAILABLE because it cannot be used.
2240
2241         * src/nm-device-wifi.c
2242                 - (constructor): cleanup; connect to supplicant manager here since the
2243                         supplicant manager is always around
2244                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2245                         ensure the supplicant manager is in the IDLE state
2246                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2247                         cancel any pending scans too
2248                 - (real_bring_up): don't set up the supplicnat interface here, because
2249                         we need the supplicant interface at times when the device may not
2250                         be "up"
2251                 - (real_take_down): just remove the periodic source
2252                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2253                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2254                         do anything if there's no supplicant interface
2255                 - (cleanup_association_attempt): cleanup
2256                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2257                         the interface enters the READY state; transition to UNAVAILABLE
2258                         state when the interface goes down because the device can't be used
2259                         without a supplicant interface
2260                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2261                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2262                         acquire the supplicant interface and transition to DISCONNECTED
2263                         if the radio isn't killed
2264                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2265                 - (state_changed_cb): release any existing supplicant interface; if the
2266                         radio is enabled then try to acquire a new supplicant interface;
2267                         if the radio is enabled and a supplicant interface has been acquired,
2268                         we can transition to DISCONNECTED
2269                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2270                         don't enable the radio, because HAL probably lied to us about the
2271                         killswitch being off.  If bringing the hardware up worked, then
2272                         try to grab a supplicant interface, and if that was successful,
2273                         transition to DISCONNECTED
2274
2275 2008-06-30  Dan Williams  <dcbw@redhat.com>
2276
2277         * src/supplicant-manager/nm-supplicant-interface.c
2278                 - (request_scan_results, nm_supplicant_interface_dispose,
2279                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2280                         the id of the timeout, not a GSource
2281
2282 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2283
2284         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2285         bunch of typoes introduced by "Patch from David Cantrell 
2286         <dcantrell@redhat.com> and me".
2287
2288 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2289
2290         * src/nm-serial-device.c: 
2291         * src/nm-gsm-device.c: 
2292         * src/nm-cdma-device.c: Move the pending call handling to a common location
2293         in serial device. Handle setting device state to failed in one place as well.
2294
2295 2008-06-29  Dan Williams <dcbw@redhat.com>
2296
2297         * src/nm-hal-manager.c
2298                 - Rework killswitch handling to query killswitch status immediately
2299                         when the first killswitch is added, so that rfkill state is
2300                         known as early as possible
2301                 - Also treat failure of GetPower() as rfkill when the dbus method
2302                         call times out (but not when the HAL callout returns an error)
2303
2304 2008-06-26  Dan Williams <dcbw@redhat.com>
2305
2306         Patch from David Cantrell <dcantrell@redhat.com> and me
2307
2308         * include/nm-dbus-glib-types.h
2309                 - Add IP6 address types
2310
2311         * libnm-util/Makefile.am
2312           libnm-util/nm-setting-ip6-config.c
2313           libnm-util/nm-setting-ip6-config.h
2314                 - Add IP6 settings object
2315
2316         * libnm-util/nm-connection.c
2317                 - (register_default_settings): register ip6 settings object
2318
2319         * libnm-util/nm-utils.c
2320           libnm-util/nm-utils.h
2321                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2322                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2323                         ip6 address conversion functions
2324         
2325 2008-06-26  Dan Williams <dcbw@redhat.com>
2326
2327         Patch from David Cantrell <dcantrell@redhat.com>
2328         
2329         * Use inet_ntop() and inet_pton() everwhere and check for errors
2330
2331 2008-06-26  Dan Williams <dcbw@redhat.com>
2332
2333         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2334
2335 2008-06-26  Dan Williams <dcbw@redhat.com>
2336
2337         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2338
2339         * src/nm-device-wifi.c
2340                 - (link_timeout_cb): don't ignore disconnects due to scanning
2341                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2342                         a longer timeout when scanning; avoids case where supplicant can't
2343                         find the AP and just keeps scanning forever but isn't connected
2344
2345 2008-06-26  Dan Williams <dcbw@redhat.com>
2346
2347         Patch from Michael Biebl <biebl@debian.org>
2348
2349         * Clean up build system stuff
2350
2351 2008-06-23  Christian Persch  <chpe@gnome.org>
2352
2353         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2354         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2355         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2356         (impl_get_object):
2357         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2358         (impl_get_object):
2359         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2360         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2361         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2362         (impl_get_object):
2363         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2364         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2365         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2366         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2367         * vpn-daemons/pptp/properties/vpnui_opt.c:
2368         (vpnui_opt_connect_signals):
2369         * vpn-daemons/pptp/properties/vpnui_opt.h:
2370         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2371         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2372         deprecated gtk type macros. Bug #539325.
2373
2374 2008-06-20  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                 - 'validity-changed' -> 'changed' to work better with the connection
2379                         editor.  Plugin UI widgets should emit 'changed' whenever their
2380                         UI values change in a meaningful way.
2381                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2382                         update_connection member now returns validity of the UI widget
2383
2384 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2385
2386         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2387
2388 2008-06-17  Dan Williams  <dcbw@redhat.com>
2389
2390         * libnm-glib/nm-vpn-plugin-ui-interface.c
2391           libnm-glib/nm-vpn-plugin-ui-interface.h
2392                 - Add "desc" property for longer descriptions of the VPN plugin
2393
2394 2008-06-16  Dan Williams  <dcbw@redhat.com>
2395
2396         * configure.in
2397           libnm-glib/libnm_glib_vpn.pc.in
2398                 - add a .pc file for libnm_glib_vpn
2399
2400         * libnm-glib/nm-vpn-plugin-ui-interface.c
2401           libnm-glib/nm-vpn-plugin-ui-interface.h
2402                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2403                         rework it substantially
2404
2405 2008-06-12  Dan Williams  <dcbw@redhat.com>
2406
2407         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2408         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2409         returns a descriptive GError when verification fails.
2410
2411 2008-06-11  Dan Williams  <dcbw@redhat.com>
2412
2413         Patch from Tambet Ingo <tambet@gmail.com>
2414
2415         * libnm-util/nm-setting-gsm.c
2416                 - (verify): validate APN
2417
2418         * src/nm-gsm-device.c
2419                 - (manual_registration_done): start setting APN if needed
2420                 - (set_apn, set_apn_done): set the APN
2421                 - (do_dial): use the APN when dialing
2422
2423 2008-06-11  Dan Williams  <dcbw@redhat.com>
2424
2425         * src/NetworkManagerSystem.c
2426                 - (nm_system_device_set_ip4_route,
2427                    nm_system_device_replace_default_ip4_route): check for the right
2428                         return value from rtnl_route_add() to know when to add a gateway
2429                         route (from Tambet)
2430
2431 2008-06-11  Dan Williams  <dcbw@redhat.com>
2432
2433         * src/NetworkManagerPolicy.c
2434                 - do_ipt_cmd -> do_cmd
2435                 - (sharing_init): use do_cmd() instead of system()
2436
2437 2008-06-10  Dan Williams  <dcbw@redhat.com>
2438
2439         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2440         and use "wifi" everwhere instead.
2441
2442 2008-06-10  Dan Williams  <dcbw@redhat.com>
2443
2444         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2445
2446 2008-06-10  Dan Williams  <dcbw@redhat.com>
2447
2448         Patch from Tambet Ingo <tambet@gmail.com>
2449
2450         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2451                 changes.
2452
2453         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2454                 a signal to emit these changes over dbus.
2455
2456         * src/Makefile.am: Genereate nm-serial-device-glue.
2457
2458         * libnm-glib/nm-serial-device.[ch]: Implement.
2459
2460         * libnm-glib/nm-cdma-device.[ch]
2461           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2462
2463         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2464
2465         * introspection/nm-device-serial.xml: Implement.
2466
2467         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2468
2469         * introspection/Makefile.am: Add nm-device-serial.xml.
2470
2471         * include/NetworkManager.h: Add a DBus interface for serial device.
2472
2473 2008-06-10  Dan Williams  <dcbw@redhat.com>
2474
2475         * configure.in
2476                 - Add TARGET_* define to config.h to distinguish distros
2477
2478         * src/dhcp-manager/nm-dhcp-manager.c
2479                 - (dhclient_run): use distro-specific path for dhclient config file
2480
2481 2008-06-09  Dan Williams  <dcbw@redhat.com>
2482
2483         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2484           src/dnsmasq-manager/nm-dnsmasq-manager.h
2485                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2486                         calculate the addresses passed to dnsmasq instead of hard-coding
2487                         them
2488
2489         * src/nm-device.c
2490                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2491                         IP addresses for shared connections to guard against shared
2492                         connection address collisions
2493                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2494                         error conditions
2495                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2496                         the dnsmasq manager
2497
2498 2008-06-09  Dan Williams  <dcbw@redhat.com>
2499
2500         * src/NetworkManagerPolicy.c
2501                 - (update_routing_and_dns): set the default connection _after_ unsetting
2502                         default on all non-default connections so that two connections can
2503                         never be default at the same time
2504                 - (device_state_changed): start and stop connection sharing when
2505                         needed
2506                 - (active_connection_default_changed): restart or stop sharing when
2507                         the default connection changes to keep shared connections always
2508                         NAT-ed through the default connection
2509                 - (check_sharing): handle activation/deactivation of shared connections
2510                 - (sharing_restart): atom-bomb approach to connection sharing until we
2511                         can use libnl; reinit all sharing when the default connection or
2512                         shared connections change
2513                 - (sharing_init, sharing_stop): evil functions that init and deinit
2514                         iptables
2515
2516 2008-06-09  Dan Williams  <dcbw@redhat.com>
2517
2518         * src/nm-activation-request.c
2519           src/nm-activation-request.h
2520                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2521                    nm_act_request_get_device): new functions to facilitate connection
2522                         sharing
2523
2524 2008-06-09  Dan Williams  <dcbw@redhat.com>
2525
2526         * src/nm-device.c
2527                 - (clear_act_request): unset the 'default' property of the activation
2528                         request when clearing it to ensure the property changed signal gets
2529                         delivered and handled
2530
2531 2008-06-09  Dan Williams  <dcbw@redhat.com>
2532
2533         * libnm-glib/nm-device-802-11-wireless.c
2534                 - (access_point_removed_proxy): actually unref the AP after removing
2535                         it from the device's AP list.  Fixes refcounting bug for APs that
2536                         caused them to get mixed up in the applet's menu.
2537
2538 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2539
2540         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2541         (nm_dhcp_device_destroy): Destroy the device options hash table.
2542
2543 2008-06-06  Dan Williams <dcbw@redhat.com>
2544
2545         * system-settings/src/nm-polkit-helpers.c
2546                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2547                         unref the context if the initialization fails; also avoid spew when
2548                         the error isn't set
2549
2550 2008-06-06  Dan Williams <dcbw@redhat.com>
2551
2552         Patch from Tambet Ingo  <tambet@gmail.com>
2553
2554         * src/NetworkManagerSystem.c
2555           src/NetworkManagerSystem.h
2556                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2557                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2558                 - (nm_system_device_set_ip4_route): clean up
2559                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2560
2561         * src/nm-device.c
2562                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2563
2564         * src/vpn-manager/nm-vpn-connection.c
2565                 - (ip_address_to_string): new function
2566                 - (print_vpn_config): use ip_address_to_string
2567                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2568                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2569
2570         * include/NetworkManagerVPN.h
2571                 - Add 'routes' key
2572
2573 2008-06-05  Dan Williams <dcbw@redhat.com>
2574
2575         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2576
2577         * test/nm-tool.c
2578                 - Show which device is the default device
2579
2580 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2581
2582         Fix memory leaks.
2583
2584         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2585         Free data returned from dbus method call.
2586
2587         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2588         dbus_g_method_get_sender() returns a duplicated string, free it 
2589         when done.
2590         (check_polkit_privileges): Looks like policykit sometimes returns
2591         error and non-null return value, don't leak errors in that case.
2592
2593         * system-settings/src/main.c (find_plugin): Don't leak existing 
2594         plugin names.
2595         (load_stuff): Don't leak device list and list items.
2596         (have_connection_for_device): Don't leak connection list.
2597
2598         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2599         Free the data received from g_keyfile_get_*.
2600
2601         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2602         the key when the security object is updated.
2603
2604         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2605         Free data returned from dbus method call.
2606         (iface_state_cb): Ditto.
2607         (add_network_cb): Ditto.
2608         (nm_supplicant_interface_add_cb): Don't make another copy of already
2609         duplicated object path.
2610         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2611         when done.
2612
2613         * src/supplicant-manager/nm-supplicant-config.c 
2614         (ADD_STRING_LIST_VAL): Fix a memory leak.
2615
2616         * src/nm-manager.c (free_get_settings_info): Free the allocated
2617         memory slice.
2618         (list_connections_cb): Free data returned from dbus method call.
2619         (system_settings_get_unmanaged_devices_cb): Ditto.
2620
2621         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2622
2623         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2624         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2625         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2626         of the GList.
2627
2628         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2629         arguments after the object is created.
2630
2631 2008-06-04  Dan Williams <dcbw@redhat.com>
2632
2633         * libnm-util/Makefile.am
2634                 - Don't distribute nm-param-spec-specialized.h
2635
2636 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2637
2638         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2639
2640         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2641         NMIP4Address, update the getters and setters.
2642
2643         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2644         Use the updated NMIP4Config routes api.
2645
2646         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2647         static routes as well.
2648
2649         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2650         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2651         routes api.
2652
2653 2008-05-30  Dan Williams <dcbw@redhat.com>
2654
2655         * src/named-manager/nm-named-manager.c
2656           src/named-manager/nm-named-manager.h
2657                 - Remove stale/obsolete bits for controlling bind over DBus
2658
2659 2008-05-29  Dan Williams <dcbw@redhat.com>
2660
2661         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2662           src/dnsmasq-manager/nm-dnsmasq-manager.h
2663                 - (nm_dnsmasq_manager_new): move iface argument here
2664                 - (constructor): remove, not needed
2665                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2666                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2667
2668         * src/nm-device.c
2669                 - (real_act_stage4_get_ip4_config,
2670                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2671                         changes
2672
2673 2008-05-29  Dan Williams <dcbw@redhat.com>
2674
2675         * src/nm-device.c
2676                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2677                         something happens to dnsmasq
2678                 - (nm_device_new_ip4_shared_config): new function; create a new
2679                         ip4-config for shared connections.  Shared connections always use a
2680                         fixed static IP address.
2681                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2682                         autoip connections by actually using the returned ip4-config and
2683                         not leaking it
2684                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2685                         connections
2686                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2687                         if its active
2688
2689 2008-05-29  Dan Williams <dcbw@redhat.com>
2690
2691         * src/nm-device-802-11-wireless.c
2692                 - (real_get_best_auto_connection): auto-activate 'shared' method
2693                         connections too
2694
2695 2008-05-29  Dan Williams <dcbw@redhat.com>
2696
2697         * libnm-util/nm-setting-ip4-config.c
2698           libnm-util/nm-setting-ip4-config.h
2699                 - Add a 'shared' method to indicate that this connection should be
2700                         brought up with a DHCP and proxy DNS server to facilitate
2701                         connection sharing.
2702                 - (verify): 'shared' method doesn't allow DNS or searches either
2703
2704 2008-05-29  Dan Williams <dcbw@redhat.com>
2705
2706         * configure.in
2707           src/Makefile.am
2708           src/dnsmasq-manager/Makefile.am
2709           src/dnsmasq-manager/nm-dnsmasq-manager.c
2710           src/dnsmasq-manager/nm-dnsmasq-manager.h
2711                 - Add a dnsmasq daemon manager to facilitate connection sharing
2712
2713 2008-05-29  Dan Williams <dcbw@redhat.com>
2714
2715         * src/nm-device-private.h
2716                 - Remove unused prototypes and clean up
2717
2718         * src/nm-device.c
2719                 - Remove anything related to system_config_data, which is no longer used
2720                 - (nm_device_new_ip4_autoip_config): make static
2721
2722 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2723
2724         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2725         (file_changed): Fix a bug where suse system settings plugin didn't
2726         update the connections automatically when the files changed.
2727
2728 2008-05-28  Dan Williams  <dcbw@redhat.com>
2729
2730         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2731
2732 2008-05-28  Dan Williams  <dcbw@redhat.com>
2733
2734         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2735
2736         * src/NetworkManagerSystem.c
2737                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2738                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2739                         was causing -EINVAL errors since the libnl code actually does flush
2740                         the routes on VPN interfaces now
2741
2742         * src/backends/NetworkManagerArch.c
2743           src/backends/NetworkManagerDebian.c
2744           src/backends/NetworkManagerFrugalware.c
2745           src/backends/NetworkManagerGeneric.c
2746           src/backends/NetworkManagerGentoo.c
2747           src/backends/NetworkManagerMandriva.c
2748           src/backends/NetworkManagerPaldo.c
2749           src/backends/NetworkManagerRedHat.c
2750           src/backends/NetworkManagerSlackware.c
2751           src/backends/NetworkManagerSuSE.c
2752                 - (nm_system_device_flush_ip4_routes,
2753                    nm_system_device_flush_ip4_routes_with_iface): remove
2754
2755 2008-05-28  Dan Williams  <dcbw@redhat.com>
2756
2757         * libnm-util/nm-setting-wireless.c
2758           libnm-util/nm-setting-wireless.h
2759                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2760                         'adhoc-create' property, which when TRUE indicates that NM should
2761                         create this connection as an adhoc wifi network if it's not found
2762                         as an adhoc network during scanning.  Can be used to auto-create
2763                         adhoc networks when used in combination with autoconnect.
2764
2765 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2766
2767         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2768
2769         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2770         checked, it doesn't work on some devices.
2771
2772 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2773
2774         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2775         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2776
2777         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2778         Use inet_aton() everywhere to improve error detection.
2779         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2780         provided.
2781
2782 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2783
2784         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2785         Fix a typo.
2786
2787 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2788
2789         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2790         reference counting issue.
2791
2792 2008-05-23  Dan Williams  <dcbw@redhat.com>
2793
2794         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2795
2796         * src/backends/NetworkManagerGeneric.c
2797                 - (nm_generic_enable_loopback): use libnl
2798
2799 2008-05-23  Dan Williams  <dcbw@redhat.com>
2800
2801         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2802
2803         * src/NetworkManagerSystem.h
2804           src/backends/NetworkManagerArch.c
2805           src/backends/NetworkManagerDebian.c
2806           src/backends/NetworkManagerFrugalware.c
2807           src/backends/NetworkManagerGentoo.c
2808           src/backends/NetworkManagerMandriva.c
2809           src/backends/NetworkManagerPaldo.c
2810           src/backends/NetworkManagerRedHat.c
2811           src/backends/NetworkManagerSlackware.c
2812           src/backends/NetworkManagerSuSE.c
2813                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2814                    nm_system_flush_arp_cache): remove, unused
2815
2816         * src/backends/NetworkManagerGeneric.c
2817           src/backends/NetworkManagerGeneric.h
2818                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2819                    nm_generic_flush_arp_cache): remove, unused
2820
2821 2008-05-23  Dan Williams  <dcbw@redhat.com>
2822
2823         * system-settings/plugins/ifcfg-fedora/reader.c
2824                 - (make_ip4_setting): honor PEERDNS setting
2825
2826 2008-05-23  Dan Williams  <dcbw@redhat.com>
2827
2828         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2829
2830         * src/NetworkManagerSystem.c
2831                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2832                         libnl
2833
2834         * src/backends/NetworkManagerArch.c
2835           src/backends/NetworkManagerDebian.c
2836           src/backends/NetworkManagerFrugalware.c
2837           src/backends/NetworkManagerGentoo.c
2838           src/backends/NetworkManagerMandriva.c
2839           src/backends/NetworkManagerPaldo.c
2840           src/backends/NetworkManagerRedHat.c
2841           src/backends/NetworkManagerSlackware.c
2842           src/backends/NetworkManagerSuSE.c
2843                 - (nm_system_device_flush_ip4_addresses,
2844                    nm_system_device_flush_ip4_addresses_with_iface): remove
2845
2846         * src/backends/NetworkManagerGeneric.c
2847                 - (nm_generic_device_flush_ip4_addresses,
2848                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2849
2850 2008-05-23  Dan Williams  <dcbw@redhat.com>
2851
2852         * src/supplicant-manager/nm-supplicant-settings-verify.c
2853                 - Switch 'bssid' from bytes to keyword type
2854                 - (validate_type_keyword): allow NULL keyword lists
2855
2856         * src/supplicant-manager/nm-supplicant-config.c
2857                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2858                         a byte array to string form, which is what the supplicant expects
2859
2860 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2861
2862         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2863         information received from DHCP.
2864
2865         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2866         to make it possible to ignore the DNS information (both servers and 
2867         searches) returned by DHCP server.
2868
2869         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2870         name servers and searches if "ignore_dhcp_dns" is set.
2871
2872         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2873         (nm_ip4_config_reset_searches): Implement.
2874
2875 2008-05-22  Dan Williams  <dcbw@redhat.com>
2876
2877         Remove anything mDNS related.  This is better done from a distro-specific
2878         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2879         avahi, since avahi can handle interface changes just fine using netlink.
2880
2881         * configure.in
2882                 - Remove --with-mdns-provider
2883
2884         * src/NetworkManagerPolicy.c
2885                 - (global_state_changed): don't restart the mdns provider
2886
2887         * src/NetworkManagerSystem.h
2888           src/backends/NetworkManagerArch.c
2889           src/backends/NetworkManagerDebian.c
2890           src/backends/NetworkManagerFrugalware.c
2891           src/backends/NetworkManagerGentoo.c
2892           src/backends/NetworkManagerMandriva.c
2893           src/backends/NetworkManagerPaldo.c
2894           src/backends/NetworkManagerRedHat.c
2895           src/backends/NetworkManagerSlackware.c
2896           src/backends/NetworkManagerSuSE.c
2897                 - (nm_system_restart_mdns_responder): remove
2898
2899         * src/backends/NetworkManagerGeneric.c
2900           src/backends/NetworkManagerGeneric.h
2901                 - (nm_generic_restart_mdns_responder): remove
2902
2903 2008-05-22  Dan Williams  <dcbw@redhat.com>
2904
2905         * configure.in
2906                 - clean up crypto options; just use --with-crypto=nss or
2907                         --with-crypto=gnutls
2908
2909 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2910
2911         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2912         anymore, do it right away.
2913
2914 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2915
2916         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2917         serial device open when we're not connecting or connected.
2918
2919         * src/nm-cdma-device.c (device_state_changed): Ditto.
2920
2921 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2922
2923         Don't remove all devices on waking up, sync with HAL.
2924
2925         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2926         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2927         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2928
2929 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2930
2931         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2932         If the default gateway is unreachable, add a route to gateway and try
2933         again.
2934
2935 2008-05-20  Dan Williams  <dcbw@redhat.com>
2936
2937         * system-settings/plugins/ifcfg-fedora/reader.c
2938                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2939
2940 2008-05-19  Dan Williams  <dcbw@redhat.com>
2941
2942         * system-settings/plugins/ifcfg-fedora/reader.c
2943                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2944                         if the ifcfg doesn't specify one (rh #446527)
2945
2946 2008-05-19  Dan Williams  <dcbw@redhat.com>
2947
2948         Make the system settings service exit when the bus goes away.  Since it's
2949         a bus-activated service, it's lifetime is limited to the bus that activated
2950         it (rh #444976).
2951
2952         * system-settings/src/Makefile.am
2953           system-settings/src/nm-system-config-hal-manager-private.h
2954                 - Remove nm-system-config-hal-manager-private.h
2955
2956         * system-settings/src/nm-system-config-hal-manager.c
2957                 - (nm_system_config_hal_manager_reinit_dbus,
2958                    nm_system_config_hal_manager_deinit_dbus): remove
2959
2960         * system-settings/src/main.c
2961                 - (dbus_reconnect): remove
2962                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2963                 - (destroy_cb): just quit when the bus goes away
2964                 - (start_dbus_service, dbus_init): simplify
2965                 - (main): destroy the wired devices hash table after destroying
2966                         the HAL manager so we don't have to disconnect signals from the
2967                         HAL manager
2968
2969 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2970
2971         Move crypto functions from nm-applet to libnm-util.
2972
2973         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2974         (nm_setting_802_1x_set_client_cert)
2975         (nm_setting_802_1x_set_phase2_ca_cert)
2976         (nm_setting_802_1x_set_phase2_client_cert)
2977         (nm_setting_802_1x_set_private_key)
2978         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2979         file (or private key and it's password), read the certificate data.
2980
2981         * libnm-util/crypto_nss.c: 
2982         * libnm-util/crypto_gnutls.c: 
2983         * libnm-util/crypto.[ch]: Move here from nm-applet.
2984
2985         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2986
2987         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2988         Imlement WPA-EAP configuration reading from sysconfig.
2989
2990 2008-05-16  Dan Williams  <dcbw@redhat.com>
2991
2992         * src/nm-device-802-11-wireless.c
2993                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2994                         wireless
2995
2996 2008-05-14  Dan Williams  <dcbw@redhat.com>
2997
2998         Fix Linus' bug in rh #134886
2999
3000         * src/nm-device-802-3-ethernet.c
3001                 - (constructor): request initial carrier state
3002
3003         * src/nm-netlink-monitor.c
3004                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3005                         signals after refilling the link cache.  Because the refill is a 
3006                         synchronous operation, the normal message hander won't get called
3007                         since libnl has already consumed the messages.
3008                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3009
3010 2008-05-14  Dan Williams  <dcbw@redhat.com>
3011
3012         * src/NetworkManagerSystem.c
3013                 - (nm_system_device_is_up_with_iface): clean up
3014
3015 2008-05-13  Dan Williams  <dcbw@redhat.com>
3016
3017         Fix refcounting issues over sleep/wake when a VPN connection was active that
3018         caused NM to try registering an object path for a device upon wake that was
3019         the same as an already registered object path.
3020
3021         * src/nm-device.c
3022                 - (nm_device_take_down): properly handle cases where the device is
3023                         no longer active but was just active, and therefore must be
3024                         deactivated.  When a device moves to unmanaged mode, this function
3025                         previously would not deactivate the device, because the state was
3026                         already unmanaged by the time this function was called.
3027
3028         * src/vpn-manager/nm-vpn-connection.c
3029                 - (device_state_changed): properly handle multiple devices states in
3030                         which the device is now deactivated.  Code previously didn't handle
3031                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3032                         UNMANAGED states.
3033
3034 2008-05-13  Dan Williams  <dcbw@redhat.com>
3035
3036         * src/nm-device-private.h
3037           src/nm-device.c
3038                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3039
3040         * src/nm-device-802-11-wireless.c
3041                 - (nm_device_802_11_wireless_set_enabled): take devices up
3042                         and down as appropriate for the rfkill state
3043
3044 2008-05-13  Dan Williams  <dcbw@redhat.com>
3045
3046         * marshallers/nm-marshal.list
3047                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3048
3049         * system-settings/plugins/ifcfg-fedora/Makefile.am
3050           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3051           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3052                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3053                         events.  Solely for use watching ifcfg files to pick up changes
3054                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3055
3056         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3057                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3058                         file contents change
3059                 - (finalize): clean up inotify watches
3060                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3061                         and the connection ifcfg for changes on their hardlinks
3062                 - (files_changed_cb): proxy the changed signal back out to listeners
3063
3064         * system-settings/plugins/ifcfg-fedora/plugin.c
3065                 - (dir_changed): 
3066                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3067                         changes
3068                 - (read_one_connection): connect to change signals on the new connection
3069                 - (dir_changed, connection_changed_handler,
3070                    handle_connection_remove_or_new): break out connection change
3071                         handling and connection new/remove handling so it can be used from
3072                         both the GFileMonitor callback and the NMIfcfgConnection changed
3073                         signals
3074
3075         * system-settings/plugins/ifcfg-fedora/reader.c
3076           system-settings/plugins/ifcfg-fedora/reader.h
3077                 - (connection_from_file): return the keyfile path the connection would use
3078
3079 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3080
3081         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3082         single PolKitContext which is shared by all. PolKitContext::unref leaks
3083         just about everything, including all open file descriptiors and results
3084         in 99% cpu usage when data arrives to any of the fds that don't belong
3085         to any context anymore.
3086
3087 2008-05-12  Dan Williams  <dcbw@redhat.com>
3088
3089         * gfilemonitor/glocaldirectorymonitor.c
3090           gfilemonitor/glocaldirectorymonitor.h
3091                 - (g_local_directory_monitor_constructor): actually subscribe to the
3092                         watch
3093                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3094
3095         * gfilemonitor/glocalfilemonitor.c
3096           gfilemonitor/glocalfilemonitor.h
3097                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3098                 - (_g_local_file_monitor_new): ensure that inotify is started up
3099
3100 2008-05-11  Dan Williams  <dcbw@redhat.com>
3101
3102         * configure.in
3103                 - record PolicyKit version
3104
3105         * system-settings/src/nm-polkit-helpers.c
3106                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3107                         with PolicyKit <= 0.6
3108
3109 2008-05-11  Dan Williams  <dcbw@redhat.com>
3110
3111         Update Fedora system-settings plugin to support latest API and use
3112         GFileMonitor rather than home-rolled inotify code.
3113
3114         * system-settings/plugins/ifcfg-fedora/Makefile.am
3115           system-settings/plugins/ifcfg-fedora/common.h
3116           system-settings/plugins/ifcfg-fedora/plugin.c
3117                 - Update to latest system settings plugin API; use GIO instead of
3118                         custom inotify code; use NMIfcfgConnection objects instead of
3119                         ConnectionData structures tacked onto NMConnection objects
3120
3121         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3122           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3123                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3124                         connections
3125
3126         * system-settings/plugins/ifcfg-fedora/reader.c
3127           system-settings/plugins/ifcfg-fedora/reader.h
3128                 - Move ifcfg parsing bits here from parser.c
3129
3130         * system-settings/plugins/ifcfg-fedora/parser.c
3131           system-settings/plugins/ifcfg-fedora/parser.h
3132                 - Remove; most code moved to reader.c
3133
3134 2008-05-11  Dan Williams  <dcbw@redhat.com>
3135
3136         * configure.in
3137           Makefile.am
3138           gfilemonitor/*
3139                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3140                         implementation, so that the same change monitoring code can be used
3141                         on systems without glib-2.14 (like Fedora 8)
3142
3143         * system-settings/plugins/keyfile/Makefile.am
3144           system-settings/plugins/keyfile/plugin.c
3145           system-settings/plugins/ifcfg-suse/Makefile.am
3146           system-settings/plugins/ifcfg-suse/plugin.c
3147                 - Use private gfilemonitor code if GIO is not present
3148
3149 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3150
3151         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3152         NMExportedConnection's 'update' and 'delete' and return error with
3153         descriptive message.
3154
3155 2008-05-08  Dan Williams  <dcbw@redhat.com>
3156
3157         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3158
3159         * src/nm-gsm-device.c
3160           src/nm-cdma-device.c
3161                 - (real_get_best_auto_connection): implement; allow autoconnection
3162                         to GSM & CDMA devices
3163
3164 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3165
3166         Use PolicyKit to authorize the system settings' AddConnection method
3167         and the system settings connections' Update and Delete methods.
3168         
3169         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3170         (impl_exported_connection_delete, nm_exported_connection_update)
3171         (nm_exported_connection_delete): Return boolean and fill GError
3172         to notify the callers of the reasons why it might have failed.
3173
3174         * libnm-glib/nm-dbus-settings-system.c
3175         (nm_dbus_settings_system_add_connection): Return the error from dbus
3176         call so that the callers can see why it failed.
3177
3178         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3179         signatures.
3180
3181         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3182
3183         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3184         abstract base class that checks PolicyKit permissions.
3185
3186         * system-settings/src/dbus-settings.c:
3187         (impl_settings_add_connection): Check the policy before carring out
3188         the request.
3189
3190         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3191         Inherit from NMSysconfigConnection, check the policies before
3192         allowing updating or removing.
3193
3194         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3195         Inherit from NMSysconfigConnection.
3196
3197         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3198         "Delete" methods with async flag so that the implementations can get
3199         access to DBusGMethodInvocation.
3200
3201         * system-settings/src/dbus-settings.c 
3202         (settings_add_connection_check_privileges): Implement.
3203         (impl_settings_add_connection): Check the privileges before adding a new
3204         connection. Improve error reporting.
3205
3206         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3207         async so that the implementation can access DBusGMethodInvocation.
3208
3209         * configure.in: Check for PolicyKit.
3210
3211         * policy/org.freedesktop.network-manager-settings.system.policy: 
3212         New file.
3213
3214         * policy/Makefile.am: Install the policy file.
3215
3216         * configure.in: Add 'policy' subdir.
3217
3218 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3219
3220         Rewrite the suse system settings plugin.
3221
3222         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3223
3224         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3225
3226         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3227
3228         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3229
3230         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3231
3232         * system-settings/src/main.c (load_plugins): Improve error reporting.
3233
3234         * system-settings/src/sha1.[ch] Add.
3235
3236         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3237
3238 2008-05-07  Dan Williams  <dcbw@redhat.com>
3239
3240         * system-settings/plugins/keyfile/reader.c
3241                 - (read_one_setting_value): handle IP address items separately
3242                 - (read_array_of_uint): read IPv4 DNS option as a string array
3243                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3244                         array
3245
3246         * system-settings/plugins/keyfile/writer.c
3247                 - (write_setting_value): handle IP address items separately
3248                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3249                         not an array of uint, so that it's user-editable
3250                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3251                         arrays, so they are user-editable
3252
3253 2008-05-07  Dan Williams  <dcbw@redhat.com>
3254
3255         * system-settings/plugins/keyfile/Makefile.am
3256                 - Change location of the keyfile plugin settings to
3257                         /etc/NetworkManager/system-connections
3258
3259 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3260
3261         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3262
3263         * system-settings/plugins/keyfile/plugin.c: Work with
3264         NMKeyfileConnections.
3265
3266         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3267         Plugins are supposed to return NMExportedConnections now and handle the
3268         updated(), removed(), and GetSecrets().
3269         Store the internal list of connections in hash table to make it easier
3270         to find duplicates.
3271
3272 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3273
3274         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3275         for multiple IP addresses.
3276
3277 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3278
3279         Patch from André Lemos.
3280
3281         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3282         corruption.
3283
3284 2008-05-06  Dan Williams  <dcbw@redhat.com>
3285
3286         * src/dhcp-manager/nm-dhcp-manager.c
3287                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3288                         NMIP4Config to support multiple IP addresses
3289
3290         * src/NetworkManagerUtils.c
3291                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3292
3293         * src/nm-ip4-config.c
3294           src/nm-ip4-config.h
3295                 - Store a list of IPv4 address/netmask/gateway tuples
3296                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3297                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3298                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3299                    nm_ip4_config_set_address): remove
3300                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3301                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3302                         new functions; handle multiple IPv4 addresses
3303
3304         * src/nm-device.c
3305           src/ppp-manager/nm-ppp-manager.c
3306           src/vpn-manager/nm-vpn-connection.c
3307           src/NetworkManagerPolicy.c
3308           test/nm-tool.c
3309           libnm-glib/libnm-glib-test.c
3310                 - update for changes to NMIP4Config for multiple IPv4 addresses
3311
3312         * src/NetworkManagerSystem.c
3313                 - (nm_system_device_set_ip4_route): don't add the route if any address
3314                         is on the same subnet as the destination
3315                 - (check_one_address): ignore the exact match, just match family and
3316                         interface index
3317                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3318                         an interface
3319                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3320                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3321
3322         * introspection/nm-ip4-config.xml
3323                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3324                 - Add 'addresses' property which is an array of (uuu) tuples of
3325                         address/netmask/gateway
3326
3327         * libnm-util/nm-setting-ip4-config.c
3328                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3329
3330         * libnm-glib/nm-ip4-config.c
3331           libnm-glib/nm-ip4-config.h
3332                 - Handle D-Bus interface changes to support multiple IP addresses
3333
3334 2008-05-06  Dan Williams  <dcbw@redhat.com>
3335
3336         * libnm-util/nm-utils.c
3337           libnm-util/nm-utils.h
3338                 - (nm_utils_ip4_addresses_from_gvalue,
3339                    nm_utils_ip4_addresses_to_gvalue): new functions
3340
3341 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3342
3343         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3344         the returned connection paths.
3345
3346 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3347
3348         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3349         "PropertiesChanged" signal signature.
3350
3351         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3352         defined in nm-dbus-glib-types.h.
3353         Don't register the connection on dbus, we're a proxy class to 
3354         communicate with an already registered connection over dbus.
3355
3356 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3357
3358         Implement new subclasses of NMSettings and NMExportedConnection to make
3359         it easier for the applet to access and modify system settings.
3360
3361         * libnm-glib/nm-dbus-connection.[ch]:
3362         * libnm-glib/nm-dbus-settings.[ch]:
3363         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3364
3365         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3366         bindings and glue.
3367
3368         * include/NetworkManager.h: Define the system settings DBus interface.
3369
3370 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3371
3372         Implement additional C API for exported connections to make them identical
3373         with the DBus API. Change the (list_connections) virtual function to be
3374         more usable from C - instead of requiring implementers to return a GPtrArray
3375         of dbus paths, return a list of connections.
3376
3377         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3378         (nm_settings_list_connections):
3379         (nm_exported_connection_new):
3380         (nm_exported_connection_update):
3381         (nm_exported_connection_delete): Implement.
3382
3383         (impl_settings_list_connections):
3384         (impl_exported_connection_update):
3385         (impl_exported_connection_delete): Use the new public functions to make 
3386         sure the C and dbus interfaces stay in sync.
3387
3388         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3389         connections.
3390
3391 2008-05-02  Dan Williams  <dcbw@redhat.com>
3392
3393         * system-settings/plugins/ifcfg-fedora/plugin.c
3394                 - (dispose): use right unref call on the DBusGConnection
3395
3396 2008-05-02  Dan Williams  <dcbw@redhat.com>
3397
3398         * src/nm-serial-device.c
3399                 - (find_terminator): don't compare the whole line, just the size of the
3400                         terminator, since some modems put stuff after the terminator, like
3401                         "CONNECT 9600"
3402
3403 2008-05-01  Dan Williams  <dcbw@redhat.com>
3404
3405         Patch from Michael Biebl <biebl@debian.org>
3406
3407         * callouts/Makefile.am
3408           callouts/org.freedesktop.nm_dispatcher.service.in
3409           system-settings/src/Makefile.am
3410           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3411                 - use the right install location for dbus-activated stuff
3412
3413 2008-04-30  Dan Williams  <dcbw@redhat.com>
3414
3415         * src/nm-gsm-device.c
3416                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3417                         PIN or PUK
3418
3419 2008-04-30  Dan Williams  <dcbw@redhat.com>
3420
3421         * src/nm-manager.c
3422                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3423
3424 2008-04-30  Dan Williams  <dcbw@redhat.com>
3425
3426         * src/nm-device-802-3-ethernet.c
3427           src/nm-device-802-11-wireless.c
3428                 - (real_is_up): return true instead of chaining up to unimplemented
3429                         parent method
3430
3431 2008-04-30  Dan Williams  <dcbw@redhat.com>
3432
3433         * src/NetworkManagerSystem.c
3434           src/NetworkManagerSystem.h
3435                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3436                         functions to check device flags for IFF_UP
3437
3438         * src/nm-serial-device.c
3439                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3440                         implement is_up
3441
3442         * src/nm-device-802-3-ethernet.c
3443           src/nm-device-802-11-wireless.c
3444                 - (real_hw_is_up): call nm_system_device_is_up()
3445
3446         * src/nm-device.c
3447                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3448                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3449                         does not implement
3450
3451 2008-04-29  Dan Williams  <dcbw@redhat.com>
3452
3453         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3454
3455         * marshallers/nm-marshal.list
3456                 - Add marshaller
3457
3458         * src/NetworkManager.c
3459                 - (main): let the NMManager handle the NMHalManager
3460
3461         * src/nm-hal-manager.c
3462           src/nm-hal-manager.h
3463                 - convert to a GObject, and emit singals when stuff changes.  Let the
3464                         NMManager handle the signals, instead of the NMHalManager calling
3465                         into the NMManager.  
3466
3467         * src/nm-manager.c
3468           src/nm-manager.h
3469                 - (remove_one_device): consolidate device removals here
3470                 - (dispose): use remove_one_device()
3471                 - (nm_manager_get_device_by_udi): make static
3472                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3473                         manager for devices at startup or wakeup time
3474                 - (nm_manager_new): create and monitor the HAL manager
3475                 - (hal_manager_udi_added_cb): new function; do what
3476                         nm_manager_add_device() used to do when signalled by the hal manager
3477                 - (hal_manager_udi_removed_cb): new function; do what
3478                         nm_manager_remove_device() used to do when signalled by the hal
3479                         manager
3480                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3481                         hal manager
3482                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3483                         in our device list that aren't known to HAL
3484                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3485                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3486                         commits ago
3487                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3488                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3489                    nm_manager_wireless_hardware_enabled,
3490                    nm_manager_set_wireless_hardware_enabled): remove, unused
3491
3492 2008-04-28  Dan Williams  <dcbw@redhat.com>
3493
3494         Fix the device up/down ambiguities.  Up/down state used to be a
3495         conglomeration of hardware state (IFF_UP) and any device-specific things
3496         (supplicant, periodic timers, etc) that the device used to indicate
3497         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3498         reason, then the device specific stuff wouldn't get run, and the device
3499         would be stuck.
3500
3501         * src/nm-device.c
3502           src/nm-device.h
3503                 - Create hw_is_up, hw_bring_up, and hw_take_down
3504                 - Rename bring_down -> take_down
3505                 - (real_hw_is_up): check interface flags for IFF_UP
3506                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3507                 - (nm_device_is_up): make static; only used locally
3508                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3509                         if the device is already up; if the device isn't up, bring it up
3510                 - (nm_device_hw_take_down): just take down hardware
3511                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3512                 - (nm_device_take_down): always deactivate device when called; always
3513                         try to take hardware down too
3514                 - (nm_device_state_changed): take device down when entering unmanaged
3515                         state from a higher state
3516
3517         * src/nm-device-802-11-wireless.c
3518                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3519                         check IFF_UP really
3520                 - (real_take_down, supplicant_iface_state_cb_handler, 
3521                    supplicant_iface_connection_state_cb_handler,
3522                    supplicant_mgr_state_cb_handler): fix some messages
3523
3524         * src/nm-device-802-3-ethernet.c
3525                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3526                         check IFF_UP really
3527
3528 2008-04-28  Dan Williams  <dcbw@redhat.com>
3529
3530         * src/nm-manager.c
3531           src/nm-manager.h
3532                 - (nm_manager_error_get_type): add new error
3533                 - (nm_manager_remove_device): don't bother taking down the device here,
3534                         the state change from unmanaging the device will do it
3535                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3536                         uses it; when going to sleep, just unmanage the device instead of
3537                         taking it down, because stuff will cleaned up correctly when the
3538                         device gets unmanaged
3539
3540 2008-04-28  Dan Williams  <dcbw@redhat.com>
3541
3542         * src/nm-hal-manager.c
3543                 - (add_initial_devices): convert to a GSourceFunc prototype
3544                 - (nm_manager_state_changed): when coming out of sleep, punt the
3545                         device re-addition to an idle handler to let D-Bus events go out
3546                         first, fixing a potential dbus-glib assert if the old device was
3547                         not yet disposed (due to references held while emitting the D-Bus
3548                         signals) but the new device was found, because the mainloop didn't
3549                         run between signal emission and add_initial_devices()
3550
3551 2008-04-27  Dan Williams  <dcbw@redhat.com>
3552
3553         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3554
3555         * initscript/paldo/NetworkManager.in
3556           initscript/SUSE/networkmanager.in
3557                 - Remove last bits of dhcdbd
3558
3559 2008-04-27  Dan Williams  <dcbw@redhat.com>
3560
3561         * src/nm-device-802-11-wireless.c
3562                 - (link_timeout_cb): don't ask for secrets when disconnected during
3563                         association/authentication phase, drivers are still just too crappy
3564
3565 2008-04-27  Dan Williams  <dcbw@redhat.com>
3566
3567         * Makefile.am
3568           configure.in
3569           dispatcher-daemon/Makefile.am
3570           dispatcher-daemon/NetworkManagerDispatcher.c
3571           initscript/Arch/Makefile.am
3572           initscript/Arch/networkmanager-dispatcher.in
3573           initscript/Gentoo/Makefile.am
3574           initscript/Gentoo/NetworkManagerDispatcher.in
3575           initscript/Mandriva/Makefile.am
3576           initscript/Mandriva/networkmanagerdispatcher.in
3577           initscript/RedHat/Makefile.am
3578           initscript/RedHat/NetworkManagerDispatcher.in
3579           initscript/SUSE/Makefile.am
3580           initscript/SUSE/networkmanager-dispatcher.in
3581           initscript/Slackware/Makefile.am
3582           initscript/Slackware/rc.networkmanager-dispatcher.in
3583           initscript/paldo/Makefile.am
3584           initscript/paldo/NetworkManagerDispatcher.in
3585           man/Makefile.am
3586           man/NetworkManagerDispatcher.8.in
3587                 - Remove the dispatcher daemon
3588
3589 2008-04-27  Dan Williams  <dcbw@redhat.com>
3590
3591         * callouts/Makefile.am
3592           callouts/nm-dispatcher-action.c
3593           callouts/nm-dispatcher-action.h
3594           callouts/nm-dispatcher.conf
3595           callouts/nm-dispatcher.xml
3596           callouts/org.freedesktop.nm_dispatcher.service
3597                 - Re-implement the dispatcher as a system-bus activated service that
3598                         NM calls on-demand, rather than an always running daemon
3599
3600         * src/Makefile.am
3601                 - Add callouts dir to includes to pick up dispatcher defines
3602
3603         * src/nm-device.c
3604                 - (nm_device_state_changed): call dispatcher on device activated/
3605                         deactivated
3606
3607         * src/vpn-manager/nm-vpn-connection.c
3608                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3609                         go up and down
3610
3611         * src/NetworkManagerUtils.c
3612           src/NetworkManagerUtils.h
3613                 - (nm_utils_call_dispatcher): helper to call dispatcher
3614
3615 2008-04-27  Dan Williams  <dcbw@redhat.com>
3616
3617         * src/NetworkManagerUtils.c
3618           src/NetworkManagerUtils.h
3619                 - remove unneeded includes
3620                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3621                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3622                    nm_timeval_cmp, nm_timeval_add): remove, unused
3623                 - clean up formatting
3624                 - (nm_spawn_process): de-uglify
3625
3626         * src/nm-device-802-11-wireless.c
3627                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3628
3629 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3630
3631         * initscript/Gentoo/NetworkManager.in:
3632                 Fix for starting the daemon.
3633
3634 2008-04-25  Dan Williams  <dcbw@redhat.com>
3635
3636         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3637
3638         * src/NetworkManagerSystem.c
3639                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3640
3641 2008-04-25  Dan Williams  <dcbw@redhat.com>
3642
3643         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3644
3645         * src/NetworkManagerSystem.c
3646                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3647                         implementation of nm_system_device_replace_default_route()
3648
3649         * src/NetworkManagerPolicy.c
3650                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3651
3652         * src/backends/NetworkManagerArch.c
3653           src/backends/NetworkManagerDebian.c
3654           src/backends/NetworkManagerFrugalware.c
3655           src/backends/NetworkManagerGeneric.c
3656           src/backends/NetworkManagerGeneric.h
3657           src/backends/NetworkManagerGentoo.c
3658           src/backends/NetworkManagerMandriva.c
3659           src/backends/NetworkManagerPaldo.c
3660           src/backends/NetworkManagerRedHat.c
3661           src/backends/NetworkManagerSlackware.c
3662           src/backends/NetworkManagerSuSE.c
3663                 - (nm_system_device_replace_default_route): remove
3664
3665 2008-04-25  Dan Williams  <dcbw@redhat.com>
3666
3667         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3668
3669         * src/NetworkManagerSystem.c
3670                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3671                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3672                         replace nm_system_device_add_route_via_device_with_iface() in the
3673                         backends
3674
3675         * src/backends/NetworkManagerArch.c
3676           src/backends/NetworkManagerDebian.c
3677           src/backends/NetworkManagerFrugalware.c
3678           src/backends/NetworkManagerGeneric.c
3679           src/backends/NetworkManagerGeneric.h
3680           src/backends/NetworkManagerGentoo.c
3681           src/backends/NetworkManagerMandriva.c
3682           src/backends/NetworkManagerPaldo.c
3683           src/backends/NetworkManagerRedHat.c
3684           src/backends/NetworkManagerSlackware.c
3685           src/backends/NetworkManagerSuSE.c
3686                 - Remove nm_system_device_add_route_via_device_with_iface()
3687
3688 2008-04-25  Dan Williams  <dcbw@redhat.com>
3689
3690         * system-settings/plugins/ifcfg-fedora/parser.c
3691                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3692
3693 2008-04-24  Dan Williams  <dcbw@redhat.com>
3694
3695         * dispatcher-daemon/NetworkManagerDispatcher.c
3696                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3697
3698 2008-04-24  Dan Williams  <dcbw@redhat.com>
3699
3700         * initscript/RedHat/NetworkManager.in
3701           initscript/RedHat/NetworkManagerDispatcher.in
3702                 - Be active at runlevel 2
3703                 - Adjust priorities earlier
3704
3705 2008-04-22  Dan Williams  <dcbw@redhat.com>
3706
3707         * src/NetworkManagerPolicy.c
3708                 - (update_routing_and_dns): when checking for a gateway, look at the
3709                         composite IP4 config, not the connection's ip4-config setting, which
3710                         doesn't include DHCP-returned information
3711
3712 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3713
3714         Implement GKeyFile system settings plugin.
3715         Implement writing system settings (currently supported only by GKeyFile plugin).
3716
3717         * system-settings/src/main.c: 
3718         * system-settings/src/dbus-settings.c: Move the communication with plugins
3719         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3720         plugins for adding/updating/removing connections.
3721
3722         * system-settings/src/nm-system-config-interface.c
3723         (nm_system_config_interface_add_connection): Implement
3724         (nm_system_config_interface_update_connection): Implement.
3725         (nm_system_config_interface_remove_connection): Implement.
3726
3727         * system-settings/plugins/keyfile/Makefile.am:
3728         * system-settings/plugins/keyfile/plugin.[ch]:
3729         * system-settings/plugins/keyfile/writer.[ch]:
3730         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3731
3732         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3733
3734         * configure.in: Generate GKeyFile Makefile.
3735
3736         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3737         corruption, need to duplicate the returned string.
3738         (impl_exported_connection_update): Implement.
3739         (impl_exported_connection_delete): Implement.
3740
3741         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3742
3743         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3744
3745 2008-04-22  Dan Williams  <dcbw@redhat.com>
3746
3747         Patch from Charles R. Anderson (cra@wpi.edu)
3748
3749         * src/NetworkManagerPolicy.c
3750                 - (update_routing_and_dns): don't select devices without a gateway
3751                         as having the default route (rh #437338)
3752
3753 2008-04-21  Dan Williams  <dcbw@redhat.com>
3754
3755         * src/nm-activation-request.c
3756           src/nm-activation-request.h
3757                 - (dispose): ensure to disconnect from the device's state-changed signal
3758                         when appropriate so the signal doesn't get handled by an already
3759                         disposed NMActRequest
3760                 - (device_state_changed): update is_default here too just to make sure
3761                         default is only True when the child device is activated
3762                 - (nm_act_request_set_default): new function
3763
3764         * src/NetworkManagerPolicy.c
3765                 - (update_routing_and_dns): set 'default' on the active connection which
3766                         has the default route and DNS
3767
3768 2008-04-21  Dan Williams  <dcbw@redhat.com>
3769
3770         * src/NetworkManagerPolicy.c
3771                 - (device_state_changed): update routing and DNS when a device goes
3772                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3773
3774 2008-04-21  Dan Williams  <dcbw@redhat.com>
3775
3776         * include/NetworkManager.h
3777                 - Add NMActiveConnectionState enum
3778
3779         * introspection/nm-active-connection.xml
3780           introspection/nm-vpn-connection.xml
3781                 - Add 'State' property for overall active connection state
3782                 - Add 'Default' property, when True means this active connection
3783                         has the default route
3784                 - Add PropertyChanged signals so changes actually go out over the bus
3785
3786         * src/nm-active-connection.h
3787                 - Add defines for State & Default properties
3788
3789         * src/nm-activation-request.c
3790                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3791                         signal to determine active connection state
3792
3793         * src/vpn-manager/nm-vpn-connection.c
3794           src/vpn-manager/nm-vpn-connection.h
3795           src/vpn-manager/nm-vpn-manager.c
3796           src/vpn-manager/nm-vpn-service.c
3797                 - Rename old 'state' to 'vpn-state'
3798                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3799                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3800                         'vpn-state-changed' signal
3801
3802         * libnm-glib/nm-active-connection.c
3803           libnm-glib/nm-active-connection.h
3804                 - Add new 'state' and 'default' properties and accessors
3805
3806         * libnm-glib/nm-vpn-connection.c
3807           libnm-glib/nm-vpn-connection.h
3808                 - Rename old 'state' property to 'vpn-state'
3809                 - Add new 'state' and 'default' properties and accessors
3810
3811 2008-04-21  Dan Williams  <dcbw@redhat.com>
3812
3813         * src/nm-ip4-config.c
3814                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3815                         not specified (rh #443474)
3816
3817 2008-04-20  Dan Williams  <dcbw@redhat.com>
3818
3819         * src/NetworkManagerUtils.c
3820           src/NetworkManagerUtils.h
3821                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3822                         NMSettingIP4Config to an NMIP4Config object
3823
3824         * src/nm-device.c
3825                 - (merge_ip4_config): move to NetworkManagerUtils.c
3826
3827         * src/vpn-manager/nm-vpn-connection.c
3828                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3829                         too
3830
3831 2008-04-18  Dan Williams  <dcbw@redhat.com>
3832
3833         * libnm-util/nm-setting-ppp.c
3834           libnm-util/nm-setting-ppp.h
3835                 - Add 'no-vj-comp' option for TCP header compression
3836                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3837                         uint32
3838
3839 2008-04-18  Dan Williams  <dcbw@redhat.com>
3840
3841         * libnm-util/nm-setting-ppp.c
3842           libnm-util/nm-setting-ppp.h
3843           src/ppp-manager/nm-ppp-manager.c
3844                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3845
3846 2008-04-18  Dan Williams  <dcbw@redhat.com>
3847
3848         * libnm-util/nm-setting-ppp.c
3849           libnm-util/nm-setting-ppp.h
3850           src/ppp-manager/nm-ppp-manager.c
3851                 - Remove the 'usepeerdns' option and always request DNS servers from
3852                         the PPP server; the connection chooses to use/override/ignore the
3853                         DNS servers returned from the PPP server
3854
3855 2008-04-18  Dan Williams  <dcbw@redhat.com>
3856
3857         * libnm-util/nm-setting-ppp.c
3858           libnm-util/nm-setting-ppp.h
3859           src/ppp-manager/nm-ppp-manager.c
3860                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3861                         it seems to have been an erroneous addition to the PPTP plugin in
3862                         the first place (from which the ppp-manager is derived)
3863
3864 2008-04-17  Dan Williams  <dcbw@redhat.com>
3865
3866         * libnm-util/nm-setting-pppoe.c
3867                 - (verify): require a PPP setting too
3868
3869         * src/ppp-manager/nm-ppp-manager.c
3870                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3871                         segfaulting
3872
3873 2008-04-17  Dan Williams  <dcbw@redhat.com>
3874
3875         * src/nm-device.c
3876                 - (nm_device_state_changed): do deactivation and and promotion to
3877                         unavailable here, so that the device gets cleaned up before the
3878                         manager runs and starts emitting signals; do the
3879                         FAILED->DISCONNECTED transition from an idle handler rather than
3880                         immediately to guard against recursion
3881                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3882                         FAILED->DISCONNECTED handler if it's scheduled
3883
3884 2008-04-17  Dan Williams  <dcbw@redhat.com>
3885
3886         * src/nm-device-802-11-wireless.c
3887                 - (state_changed_cb): clear AP list when device transitions to
3888                         unavailable or unmanaged
3889                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3890                         since this is already done in device_cleanup()
3891                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3892                         isn't available or managed
3893                 - (device_cleanup): use remove_all_aps()
3894                 - (remove_all_aps): consolidate code removing all APs
3895
3896 2008-04-17  Dan Williams  <dcbw@redhat.com>
3897
3898         * src/nm-serial-device.c
3899           src/nm-serial-device.h
3900                 - (wait_for_reply_got_data): break input into lines, and search each
3901                         line for responses _and_ terminator strings; also make sure that
3902                         the read loop doesn't continue after the timeout is supposed to fire
3903                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3904
3905         * src/nm-gsm-device.c
3906           src/nm-cdma-device.c
3907                 - Send terminators to nm_serial_device_wait_for_reply()
3908
3909 2008-04-16  Dan Williams  <dcbw@redhat.com>
3910
3911         Patch from 陈鑫 <znscnchen@gmail.com>
3912
3913         * src/ppp-manager/nm-pppd-plugin.c
3914                 - (get_credentials): return correct value for success; handle case where
3915                         pppd just does some checking but doesn't want a password
3916                 - (plugin_init): make CHAP work too
3917
3918 2008-04-16  Dan Williams  <dcbw@redhat.com>
3919
3920         Patch from 陈鑫 <znscnchen@gmail.com>
3921
3922         * src/ppp-manager/nm-ppp-manager.c
3923                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3924
3925 2008-04-16  Dan Williams  <dcbw@redhat.com>
3926
3927         Patch from 陈鑫 <znscnchen@gmail.com>
3928
3929         * src/nm-device-802-3-ethernet.c
3930                 - (real_deactivate_quickly): clear the IP interface name on
3931                         deactivation, otherwise the wrong interface might get used later
3932                         for routing and IP management
3933
3934 2008-04-15  Dan Williams  <dcbw@redhat.com>
3935
3936         * libnm-glib/nm-device.c
3937                 - (get_product_and_vendor): handle serial devices correctly
3938                 - (nm_device_update_description): pass device to get_product_and_vendor()
3939
3940 2008-04-15  Dan Williams  <dcbw@redhat.com>
3941
3942         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3943
3944         * src/NetworkManagerSystem.h
3945           src/backends/NetworkManagerArch.c
3946           src/backends/NetworkManagerDebian.c
3947           src/backends/NetworkManagerFrugalware.c
3948           src/backends/NetworkManagerGeneric.c
3949           src/backends/NetworkManagerGeneric.h
3950           src/backends/NetworkManagerGentoo.c
3951           src/backends/NetworkManagerMandriva.c
3952           src/backends/NetworkManagerPaldo.c
3953           src/backends/NetworkManagerRedHat.c
3954           src/backends/NetworkManagerSlackware.c
3955           src/backends/NetworkManagerSuSE.c
3956           src/nm-device.c
3957                 - (nm_generic_device_add_ip6_link_address,
3958                    nm_system_device_add_ip6_link_address): remove
3959
3960 2008-04-15  Dan Williams  <dcbw@redhat.com>
3961
3962         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3963
3964         * src/backends/NetworkManagerArch.c
3965           src/backends/NetworkManagerDebian.c
3966           src/backends/NetworkManagerFrugalware.c
3967           src/backends/NetworkManagerGeneric.c
3968           src/backends/NetworkManagerGeneric.h
3969           src/backends/NetworkManagerGentoo.c
3970           src/backends/NetworkManagerMandriva.c
3971           src/backends/NetworkManagerPaldo.c
3972           src/backends/NetworkManagerRedHat.c
3973           src/backends/NetworkManagerSlackware.c
3974           src/backends/NetworkManagerSuSE.c
3975           src/NetworkManagerSystem.h
3976                 - flush_routes -> flush_ip4_routes
3977                 - flush_addresses -> flush_ip4_addresses
3978
3979         * src/NetworkManagerSystem.c
3980           src/nm-device.c
3981           src/vpn-manager/nm-vpn-connection.c
3982                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3983
3984 2008-04-15  Dan Williams  <dcbw@redhat.com>
3985
3986         Remove exposure of wireless-tools mode types in the API.
3987
3988         * include/NetworkManager.h
3989                 - Define NM80211Mode enum
3990
3991         * introspection/generic-types.xml
3992                 - Describe NM_802_11_MODE enum
3993                 - Remove IW_MODE_* enum
3994
3995         * introspection/nm-access-point.xml
3996           libnm-glib/nm-access-point.c
3997           libnm-glib/nm-access-point.h
3998                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3999
4000         * introspection/nm-device-802-11-wireless.xml
4001           libnm-glib/nm-device-802-11-wireless.c
4002           libnm-glib/nm-device-802-11-wireless.h
4003                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4004
4005         * libnm-util/nm-setting-wireless.c
4006           src/NetworkManagerAP.c
4007           src/NetworkManagerAP.h
4008           src/nm-device-802-11-wireless.c
4009           src/nm-device-802-11-wireless.h
4010           test/nm-tool.c
4011                 - Use NM80211Mode not IW_MODE_*
4012
4013 2008-04-15  Dan Williams  <dcbw@redhat.com>
4014
4015         Enhance nm-online based on a patch from Bill Nottingham.
4016
4017         * test/nm-online.c
4018                 - Add a '-q' option
4019                 - Add help messages and option summary
4020                 - Add long-format options
4021                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4022
4023 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4024
4025         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4026
4027         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4028
4029 2008-04-15  Dan Williams  <dcbw@redhat.com>
4030
4031         * nm-setting-ip4-config.c
4032                 - (ip4_addresses_from_gvalue): handle NULL address array
4033
4034         * nm-setting-8021x.c
4035                 - (verify_tls, verify_ttls): warn on failed verification
4036
4037 2008-04-10  Dan Williams  <dcbw@redhat.com>
4038
4039         * src/nm-gsm-device.c
4040                 - (automatic_registration): accept "+CREG: 0,0"
4041                 - (automatic_registration_response): fail on "+CREG: 0,0"
4042
4043 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4044
4045         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4046
4047 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4048
4049         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4050         Make it compile again by commenting out broken code that at first didn't work and
4051         now didn't compile either.
4052
4053 2008-04-08  Dan Williams  <dcbw@redhat.com>
4054
4055         * libnm-glib/nm-object-cache.c
4056           libnm-glib/nm-settings.c
4057           src/dhcp-manager/nm-dhcp-manager.c
4058           system-settings/plugins/ifcfg-fedora/plugin.c
4059           system-settings/plugins/ifcfg-suse/plugin.c
4060           system-settings/src/nm-system-config-hal-manager.c
4061           libnm-util/nm-utils.c
4062                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4063                         not threadsafe anyway
4064
4065 2008-04-08  Dan Williams  <dcbw@redhat.com>
4066
4067         * system-settings/src/main.c
4068                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4069                         callbacks take a device type too
4070
4071 2008-04-08  Dan Williams  <dcbw@redhat.com>
4072
4073         The system settings service will now create a new default DHCP connection
4074         for wired devices that have no existing applicable connection.
4075
4076         * system-settings/src/nm-system-config-hal-manager.c
4077           system-settings/src/nm-system-config-hal-manager.h
4078                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4079
4080         * system-settings/src/dbus-settings.c
4081           system-settings/src/dbus-settings.h
4082                 - (nm_sysconfig_settings_get_connections): new function
4083                 - (nm_sysconfig_settings_is_device_managed): new function
4084
4085         * system-settings/src/main.c
4086                 - (load_stuff): check for wired devices that need a default connection
4087                 - (get_details_for_udi): get interface and MAC address from HAL
4088                 - (add_default_dhcp_connection): add a default connection for a wired
4089                         device if needed
4090                 - (device_added_cb, device_removed_cb): do the right thing with
4091                         wired devices and their default connections on HAL device events
4092
4093 2008-04-07  Dan Williams  <dcbw@redhat.com>
4094
4095         * libnm-glib/nm-device.c
4096           libnm-glib/nm-device.h
4097                 - Proxy the 'managed' property
4098
4099 2008-04-07  Dan Williams  <dcbw@redhat.com>
4100
4101         * src/nm-gsm-device.c
4102           src/nm-cdma-device.c
4103                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4104                         handler to transition to DISCONNECTED
4105
4106 2008-04-07  Dan Williams  <dcbw@redhat.com>
4107
4108         Patch from Bill Nottingham
4109
4110         * dispatcher-daemon/NetworkManagerDispatcher.c
4111                 - ignore backup/packaging crufy (rh #440143)
4112
4113 2008-04-07  Dan Williams  <dcbw@redhat.com>
4114
4115         * include/NetworkManager.h
4116                 - Remove the DOWN and CANCELLED device states
4117                 - Add UNMANAGED and UNAVAILABLE device states
4118                 - Document the device states
4119
4120         * introspection/nm-device.xml
4121           src/nm-device-interface.c
4122           src/nm-device-interface.h
4123                 - Add the 'managed' property
4124
4125         * test/nm-tool.c
4126                 - (detail_device): print out device state
4127
4128         * src/NetworkManagerSystem.h
4129           src/backends/NetworkManagerArch.c
4130           src/backends/NetworkManagerDebian.c
4131           src/backends/NetworkManagerFrugalware.c
4132           src/backends/NetworkManagerGentoo.c
4133           src/backends/NetworkManagerMandriva.c
4134           src/backends/NetworkManagerPaldo.c
4135           src/backends/NetworkManagerRedHat.c
4136           src/backends/NetworkManagerSlackware.c
4137           src/backends/NetworkManagerSuSE.c
4138                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4139                    nm_system_device_free_system_config): remove; they were unused and
4140                         their functionality should be re-implemented in each distro's
4141                         system settings service plugin 
4142
4143         * src/nm-gsm-device.c
4144           src/nm-gsm-device.h
4145           src/nm-cdma-device.c
4146           src/nm-cdma-device.h
4147                 - (*_new): take the 'managed' argument
4148
4149         * src/nm-device.c
4150                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4151                 - (nm_device_init): start in unmanaged state, not disconnected
4152                 - (constructor): don't start device until the system settings service
4153                         has had a chance to figure out if the device is managed or not
4154                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4155                         don't set device state here, let callers handle that as appropriate
4156                 - (nm_device_dispose): don't touch the device if it's not managed
4157                 - (set_property, get_property, nm_device_class_init): implement the
4158                         'managed' property
4159                 - (nm_device_state_changed): bring the device up if its now managed,
4160                         and deactivate it if it used to be active
4161                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4162                         with the managed state
4163
4164         * src/nm-hal-manager.c
4165                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4166                         take initial managed state and pass it along to device constructors
4167                 - (create_device_and_add_to_list): get managed state and pass to
4168                         type creators
4169
4170         * src/nm-device-802-11-wireless.c
4171                 - (real_can_activate): fold in most of
4172                         nm_device_802_11_wireless_can_activate()
4173                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4174                 - (link_timeout_cb): instead of deactivating, change device state and
4175                         let the device state handler to it
4176                 - (real_update_hw_address): clean up
4177                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4178                         handler to transition to DISCONNECTED if the device isn't rfkilled
4179
4180         * src/nm-device-802-3-ethernet.c
4181                 - (set_carrier): move above callers and get rid of prototype
4182                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4183                         idle handler to transition to DISCONNECTED if the device has a
4184                         carrier
4185                 - (real_update_hw_address): clean up
4186                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4187                         deactivation directly as deactivation doesn't change state anymore
4188
4189         * src/NetworkManagerPolicy.c
4190                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4191                         the NMManager and wireless devices work that out themselves now
4192                 - (device_state_changed): change to a switch and update for new device
4193                         states
4194                 - (device_carrier_changed): remove; device handles this now through
4195                         state changes
4196                 - (device_added): don't care about carrier any more; the initial
4197                         activation check will happen when the device transitions to
4198                         DISCONNECTED
4199
4200         * src/nm-manager.c
4201                 - (dispose): clear unmanaged devices
4202                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4203                         the managed property on each device when needed
4204                 - (system_settings_properties_changed_cb): handle signals from the
4205                         system settings service
4206                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4207                         getting the unmanaged device list method call
4208                 - (query_unmanaged_devices): ask the system settings service for its
4209                         list of unmanaged devices
4210                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4211                         devices
4212                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4213                         devices directly and let them handle the necessary state transitions
4214                 - (manager_device_state_changed): update for new device states
4215                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4216                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4217                 - (nm_manager_activate_connection): return error if the device is
4218                         unmanaged
4219                 - (nm_manager_sleep): handle new device states correctly; don't change
4220                         the state of unavailable/unmanaged devices
4221
4222         * libnm-glib/nm-device-802-11-wireless.c
4223                 - (state_changed_cb): update for new device states
4224
4225 2008-04-07  Dan Williams  <dcbw@redhat.com>
4226
4227         * marshallers/nm-marshal.list
4228                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4229
4230 2008-04-07  Dan Williams  <dcbw@redhat.com>
4231
4232         * system-settings/src/main.c
4233                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4234                         plugins to the dbus settings object
4235                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4236                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4237                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4238                 - (main): switch default logging to syslog with a 'debug' option to
4239                         output to console; start up the HAL manager
4240
4241 2008-04-07  Dan Williams  <dcbw@redhat.com>
4242
4243         * introspection/nm-settings-system.xml
4244           introspection/Makefile.am
4245                 - Define the unmanaged devices interface for the system settings service
4246
4247         * system-settings/src/nm-system-config-hal-manager.c
4248           system-settings/src/nm-system-config-hal-manager.h
4249           system-settings/src/nm-system-config-hal-manager-private.h
4250           system-settings/src/Makefile.am
4251                 - Add a lightweight HAL manager object for tracking network devices for
4252                         the purpose of determining unmanaged devices and which devices need
4253                         the default DHCP connections
4254
4255         * system-settings/src/nm-system-config-interface.c
4256           system-settings/src/nm-system-config-interface.h
4257                 - (nm_system_config_interface_init): add the HAL manager as an argument
4258                 - (nm_system_config_interface_get_unmanaged_devices): implement
4259                 - Define 'unmanaged-devices-changed' signal
4260
4261         * system-settings/src/dbus-settings.c
4262           system-settings/src/dbus-settings.h
4263                 - Implement the unmanaged devices interface; some cleanups
4264
4265         * system-settings/plugins/ifcfg-suse/plugin.c
4266                 - Fixup for plugin interface changes
4267
4268         * system-settings/plugins/ifcfg-fedora/plugin.c
4269                 - (get_ether_device_udi): new function; find the device that has
4270                         a specified MAC address and return its UDI
4271                 - (get_udi_for_connection): new function; try to find the specific
4272                         device a connection is locked to, if any
4273                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4274                         response to HAL events
4275                 - (get_unmanaged_devices): new function; return unmanaged device list
4276                 - (build_one_connection): set the connection's locked device, if any
4277                 - (write_auto_wired_connection): remove
4278                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4279                 - (handle_connection_changed): alert listeners that the unmanaged device
4280                         list has changed
4281                 - (init): fixup for plugin interface changes, implement unmanaged devices
4282
4283         * system-settings/plugins/ifcfg-fedora/parser.c
4284           system-settings/plugins/ifcfg-fedora/parser.h
4285                 - (connection_data_free): clean up connection UDI
4286
4287 2008-04-07  Dan Williams  <dcbw@redhat.com>
4288
4289         * system-settings/plugins/ifcfg-fedora/parser.c
4290                 - (make_ip4_setting): fix parsing of DNS servers
4291
4292 2008-04-05  Dan Williams  <dcbw@redhat.com>
4293
4294         * Makefile.am
4295           configure.in
4296           marshallers/Makefile.am
4297           marshallers/nm-marshal-main.c
4298           marshallers/nm-marshal.list
4299                 - Consolidate marshallers
4300
4301         * libnm-glib/nm-marshal-main.c
4302           libnm-glib/nm-marshal.list
4303           src/marshallers/Makefile.am
4304           src/marshallers/nm-marshal-main.c
4305           src/marshallers/nm-marshal.list
4306                 - Remove
4307
4308         * libnm-glib/Makefile.am
4309           src/Makefile.am
4310           src/dhcp-manager/Makefile.am
4311           src/ppp-manager/Makefile.am
4312           src/supplicant-manager/Makefile.am
4313           src/vpn-manager/Makefile.am
4314                 - Use consolidated marshallers
4315
4316 2008-04-04  Dan Williams  <dcbw@redhat.com>
4317
4318         * src/nm-hal-manager.c
4319           src/nm-hal-manager.h
4320                 - (hal_init): don't look for hardware here
4321                 - (nm_hal_manager_start): new function; look for hardware here instead,
4322                         which can be done at a later time than hal_init()
4323
4324         * src/NetworkManager.c
4325                 - (main): start HAL manager after entering the main loop
4326
4327 2008-04-03  Dan Williams  <dcbw@redhat.com>
4328
4329         * libnm-glib/nm-settings.c
4330           libnm-glib/nm-settings.h
4331             - (nm_exported_connection_get_id): new function
4332                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4333
4334 2008-04-02  Dan Williams  <dcbw@redhat.com>
4335
4336         * src/nm-device-interface.c
4337           src/nm-device-interface.h
4338           src/nm-device.c
4339           src/nm-device.h
4340                 - Rename check_connection_conflicts() to check_connection_compatible()
4341
4342         * src/nm-device-802-11-wireless.c
4343                 - (real_check_connection_conflicts): remove
4344                 - (real_check_connection_compatible): implement; match MAC address
4345
4346         * src/nm-device-802-3-ethernet.c
4347                 - (real_check_connection_conflicts): remove
4348                 - (real_check_connection_compatible): implement; match MAC address
4349                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4350
4351         * src/nm-manager.c
4352                 - (check_connection_allowed): remove; unused until PolicyKit integration
4353                 - (internal_activate_device): check whether the connection is compatible
4354                         with the device before trying to activate it
4355
4356 2008-04-02  Dan Williams  <dcbw@redhat.com>
4357
4358         * system-settings/plugins/ifcfg-fedora/parser.c
4359                 - (read_mac_address): new function; read in MAC address and stuff it
4360                         into the connection
4361                 - (add_one_wep_key): remove debug spew
4362                 - (make_wireless_security_setting): validate the default TX key; don't
4363                         add the wireless-security setting if the connection doesn't need
4364                         security; don't leak the keys shvarFile on error cases
4365                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4366                         address
4367
4368 2008-04-02  Dan Williams  <dcbw@redhat.com>
4369
4370         * libnm-util/nm-setting-connection.c
4371           libnm-util/nm-setting-connection.h
4372                 - (set_property, get_property, nm_setting_connection_class_init): remove
4373                         the 'lockdown' property; it's functionality will be replaced by
4374                         PolicyKit instead
4375
4376 2008-04-01  Dan Williams  <dcbw@redhat.com>
4377
4378         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4379
4380         * configure.in
4381           initscript/Makefile.am
4382           initscript/Mandriva/Makefile.am
4383           initscript/Mandriva/networkmanager.in
4384           initscript/Mandriva/networkmanagerdispatcher.in
4385           src/backends/Makefile.am
4386           src/backends/NetworkManagerMandriva.c
4387           system-settings/plugins/Makefile.am
4388                 - Add Mandriva support
4389
4390 2008-03-31  Dan Williams  <dcbw@redhat.com>
4391
4392         * src/vpn-manager/nm-vpn-service.c
4393                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4394                         errors can be passed back to the caller; also no longer scheduled
4395                         as an idle handler, but called directly; and bump up VPN service
4396                         spawn timeout, 2s is really short
4397                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4398                         but call it directly so that errors are reported on return from
4399                         ActivateConnection() and don't get lost.  If scheduled as an idle
4400                         handler, clients don't have the time to query NM for the new VPN
4401                         connection's properties before the VPN connection is torn down again
4402                         if the service couldn't be launched, and therefore launch errors
4403                         get lost.
4404
4405 2008-03-31  Dan Williams  <dcbw@redhat.com>
4406
4407         * src/vpn-manager/nm-vpn-connection.c
4408                 - (device_state_changed): send correct state on device failure too
4409                 - (plugin_state_changed): failed state means unexpected disconnection,
4410                         thus if the service goes away while the VPN connection is activated
4411                         that's a failure too
4412
4413 2008-03-31  Dan Williams  <dcbw@redhat.com>
4414
4415         * src/vpn-manager/nm-vpn-manager.c
4416           src/vpn-manager/nm-vpn-manager.h
4417                 - Make VPNManager errors more available; add a service-start-failed error
4418
4419 2008-03-31  Dan Williams  <dcbw@redhat.com>
4420
4421         * libnm-glib/nm-client.c
4422           libnm-glib/nm-client.h
4423                 - (activate_cb): pass the new active connection to callback; fix
4424                         message when no callback is specified
4425
4426 2008-03-30  Dan Williams  <dcbw@redhat.com>
4427
4428         * libnm-util/nm-setting-wireless-security.c
4429                 - (need_secrets): only require key0 if the transmit key index is also
4430                         0
4431                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4432
4433 2008-03-29  Dan Williams  <dcbw@redhat.com>
4434
4435         * libnm-util/nm-setting-8021x.c
4436           libnm-util/nm-setting-ip4-config.c
4437           libnm-util/nm-setting-vpn-properties.c
4438           libnm-util/nm-setting-vpn.c
4439           libnm-util/nm-setting-wireless-security.c
4440           libnm-util/nm-setting-wireless.c
4441           libnm-util/nm-utils.c
4442           src/dhcp-manager/nm-dhcp-manager.c
4443           src/nm-activation-request.c
4444           src/nm-ip4-config.c
4445           src/nm-manager.c
4446           src/nm-properties-changed-signal.c
4447           src/ppp-manager/nm-pppd-plugin.c
4448           src/supplicant-manager/nm-supplicant-interface.c
4449           src/vpn-manager/nm-vpn-connection.c
4450                 - consistently use nm-dbus-glib-types.h
4451
4452 2008-03-29  Dan Williams  <dcbw@redhat.com>
4453
4454         * src/vpn-manager/nm-vpn-connection.c
4455                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4456                         not string
4457
4458         * src/nm-activation-request.c
4459                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4460                         not string
4461
4462 2008-03-29  Dan Williams  <dcbw@redhat.com>
4463
4464         * libnm-glib/nm-device-802-11-wireless.c
4465                 - (access_point_added_proxy): create new APs if not found
4466
4467 2008-03-29  Dan Williams  <dcbw@redhat.com>
4468
4469         * libnm-glib/nm-client.c
4470                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4471                         before freeing them
4472
4473 2008-03-29  Dan Williams  <dcbw@redhat.com>
4474
4475         * system-settings/plugins/ifcfg-fedora/parser.c
4476                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4477                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4478
4479 2008-03-29  Dan Williams  <dcbw@redhat.com>
4480
4481         * system-settings/plugins/ifcfg-fedora/parser.c
4482                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4483
4484 2008-03-27  Dan Williams  <dcbw@redhat.com>
4485
4486         * nm-object.c
4487                 - (nm_object_queue_notify): don't notify multiple times for the same
4488                         property
4489
4490         * nm-object-private.h
4491                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4492                         if it has zero elements
4493
4494         * nm-ip4-config.c
4495                 - (finalize): use g_ptr_array_foreach() when freeing domains
4496                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4497
4498         * nm-active-connection.c
4499                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4500
4501         * nm-device-802-11-wireless.c
4502           nm-device-802-11-wireless.h
4503                 - (nm_device_802_11_wireless_get_access_points): return const; use
4504                         handle_ptr_array_return()
4505
4506         * nm-types.c
4507                 - (nm_object_array_demarshal): always create an array, even of length
4508                         zero, to distinguish between "NM returned no items" and "haven't
4509                         asked NM yet"
4510
4511         * nm-client.c
4512                 - (dispose): free active connections too
4513                 - (proxy_name_owner_changed): free active connections too when NM goes
4514                         away
4515                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4516                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4517
4518 2008-03-26  Dan Williams  <dcbw@redhat.com>
4519
4520         Rework VPN connection handling for a more consistent D-Bus API.  The
4521         VPNManager object has been removed, and active VPN connections are now the
4522         same as any other active connection.  The Manager object's ActivateConnection
4523         and DeactivateConnection methods are used to start and stop a VPN connection,
4524         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4525         When activating a VPN connection, pass the path of the active connection
4526         to which the VPN connection is tied in the 'specific_object' argument.
4527
4528         Consequently, the libnm-glib API has been reworked to match this arrangement,
4529         with the VPNManager object removed, and the NMVPNConnection objects now
4530         being subclasses of NMActiveConnection.
4531
4532 2008-03-25  Dan Williams  <dcbw@redhat.com>
4533
4534         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4535
4536         * initscript/Arch/networkmanager.in
4537           initscript/Arch/networkmanager-dispatcher.in
4538                 - Updates for Arch Linux (gnome.org #523701)
4539
4540 2008-03-25  Dan Williams  <dcbw@redhat.com>
4541
4542         * libnm-glib/nm-ip4-config.c
4543           libnm-glib/nm-active-connection.c
4544           libnm-glib/nm-access-point.c
4545                 - Use nm_object_queue_notify() instead of g_object_notify()
4546
4547         * libnm-glib/nm-device.c
4548                 - (demarshal_ip4_config): distinguish between successful but missing
4549                         ip4-config request, and unsuccessful and missing ip4-config request
4550                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4551                         path
4552                 - Use nm_object_queue_notify() instead of g_object_notify()
4553
4554         * libnm-glib/nm-device-802-11-wireless.c
4555                 - (demarshal_active_ap): distinguish between successfull but missing
4556                         active-ap request, and unsuccessful and missing active-ap request
4557                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4558                         code
4559                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4560                         for the NMClient to notify the device that wireless is disabled,
4561                         and therefore to clear the AP list and active AP
4562                 - Use nm_object_queue_notify() instead of g_object_notify()
4563
4564         * libnm-glib/nm-client.c
4565                 - (poke_wireless_devices_with_rf_status): new function
4566                 - (update_wireless_status): notify wireless devices of the rfkill status
4567                         so they can clean up if needed
4568                 - Use nm_object_queue_notify() instead of g_object_notify()
4569
4570 2008-03-25  Dan Williams  <dcbw@redhat.com>
4571
4572         * libnm-glib/nm-object.c
4573           libnm-glib/nm-object-private.h
4574                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4575                         signals to an idle handler
4576                 - (nm_object_get_property): add a timeout to the D-Bus method call
4577
4578 2008-03-25  Dan Williams  <dcbw@redhat.com>
4579
4580         * introspection/nm-device-cdma.xml
4581           introspection/nm-device-gsm.xml
4582           introspection/Makefile.am
4583           introspection/all.xml
4584                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4585
4586         * src/nm-gsm-device.h
4587           src/nm-gsm-device.c
4588           src/nm-cdma-device.h
4589           src/nm-cdma-device.c
4590           src/Makefile.am
4591                 - Implement PropertiesChanged signals
4592
4593         * libnm-glib/nm-cdma-device.c
4594           libnm-glib/nm-cdma-device.c
4595                 - Attach to PropertiesChanged signals
4596
4597 2008-03-24  Dan Williams  <dcbw@redhat.com>
4598
4599         * libnm-glib/nm-client.c
4600                 - (client_device_added_proxy): add new devices to the internal device
4601                         list so they appear to clients
4602
4603 2008-03-24  Dan Williams  <dcbw@redhat.com>
4604
4605         Massive fixup of libnm-glib to:
4606         a) have all objects (with the exception of VPN) cache their properties and
4607                 update them asynchronously on PropertiesChanged signals from NM
4608         b) return internal const data for most attributes/properties instead of
4609                 allocated values that the caller must free
4610         c) cache wrapped objects such that a given D-Bus path will always map to the
4611                 same GObject returned by libnm-glib
4612         d) remove a few signals and move them to GObject property notifications
4613         e) match recent NM D-Bus API changes for activation/deactivation
4614         f) remove some private functions from libnm-glib headers
4615
4616 2008-03-20  Dan Williams  <dcbw@redhat.com>
4617
4618         * src/nm-manager.c
4619                 - (nm_manager_update_state, manager_device_state_changed,
4620                    nm_manager_activate_device, connection_added_default_handler,
4621                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4622                         queue PropertyChanged singals when the active connections change
4623
4624 2008-03-20  Dan Williams  <dcbw@redhat.com>
4625
4626         * introspection/nm-manager.xml
4627           introspection/nm-manager-client.xml
4628                 - (ActivateConnection): return the object path of the active connection
4629                         on success
4630                 - (GetActiveConnections): remove
4631                 - (DeactivateConnection): new function; deactivate a currently active
4632                         connection
4633                 - Add an ActiveConnections property which returns an array of
4634                         active connection object paths
4635
4636         * introspection/nm-device.xml
4637                 - (Deactivate): remove
4638
4639         * introspection/all.xml
4640                 - Add ActiveConnection introspection
4641
4642         * introspection/nm-active-connection.xml
4643                 - Add the ActiveConnection object
4644
4645         * include/NetworkManager.h
4646                 - Add the Connection.Active D-Bus interface
4647
4648         * src/nm-device-interface.c
4649                 - (impl_device_deactivate): remove
4650
4651         * src/nm-activation-request.c
4652           src/nm-activation-request.c
4653           src/Makefile.am
4654                 - Implement the Connection.Active D-Bus interface
4655
4656         * src/nm-manager.c
4657                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4658                 - (nm_manager_activate_device): return the active connection path
4659                 - (connection_added_default_handler, impl_manager_activate_connection):
4660                         return the active connection to the caller
4661                 - (add_one_connection_element, impl_manager_get_active_connections):
4662                         remove
4663                 - (impl_manager_deactivate_connection): new function; deactivate an
4664                         active connection
4665
4666         * libnm-glib/nm-device.c
4667           libnm-glib/nm-device.h
4668                 - Remove Deactivate() function
4669
4670 2008-03-19  Dan Williams  <dcbw@redhat.com>
4671
4672         * introspection/nm-manager.xml
4673           introspection/nm-manager-client.xml
4674                 - Rename the ActivateDevice method to ActivateConnection to better
4675                         reflect it's usage; it's arguments get reordered a bit too
4676                 - Convert GetActiveConnections method return from a struct to a dict
4677
4678         * include/NetworkManager.h
4679                 - Define the dict keys for return value of GetActiveConnections
4680
4681         * src/nm-manager.c
4682                 - impl_manager_activate_device -> impl_manager_activate_connection
4683                 - (add_one_connection_element): return a populated hash table, not
4684                         a structure
4685
4686         * libnm-glib/nm-client.c
4687           libnm-glib/nm-client.h
4688                 - nm_client_activate_device -> nm_client_activate_connection
4689                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4690                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4691                         instead of the custom structures.  Each element of the returned list
4692                         must be freed with nm_client_free_active_connections_element()
4693
4694 2008-03-18  Dan Williams  <dcbw@redhat.com>
4695
4696         * system-settings/plugins/ifcfg-fedora/parser.c
4697           system-settings/plugins/ifcfg-fedora/parser.h
4698           system-settings/plugins/ifcfg-fedora/plugin.c
4699                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4700                         profiles.  DNS servers and searches must now be stored in the ifcfg
4701                         files themselves
4702
4703 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4704
4705         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4706         print out username and password, it's supposed to be a secret.
4707
4708         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4709         request and set the device state accordingly.
4710
4711 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4712
4713         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4714
4715         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4716
4717 2008-03-18  Dan Williams  <dcbw@redhat.com>
4718
4719         * src/vpn-manager/nm-vpn-connection.c
4720                 - (get_secrets_cb): handle new GetSecrets return format
4721
4722 2008-03-18  Dan Williams  <dcbw@redhat.com>
4723
4724         Adapt system settings service for split 802.1x.
4725
4726         * system-settings/src/nm-system-config-interface.h
4727                 - clarify return value of get_secrets()
4728
4729         * system-settings/src/dbus-settings.c
4730                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4731                 - (check_for_secrets): check if there actually secrets returned by a
4732                         plugin
4733                 - (exported_connection_get_secrets): just return the plugin-returned
4734                         hash of settings' secrets if it looks valid
4735
4736         * system-settings/plugins/ifcfg-fedora/plugin.c
4737                 - (get_secrets): add split secrets with correct format to reply hash
4738
4739         * system-settings/plugins/ifcfg-fedora/parser.c
4740           system-settings/plugins/ifcfg-fedora/parser.h
4741                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4742                    connection_data_free, connection_data_add): keep secrets for
4743                         different settings in different hashes
4744
4745 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4746
4747         Clean up activating device deactivation.
4748
4749         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4750         should be done whether the device activation gets cancelled or the device
4751         is just getting deactivated.
4752         (nm_device_activation_cancel): Remove.
4753         (nm_device_deactivate_quickly): Handle the case where device is activating.
4754
4755         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4756         It does the exact same thing as real_deactivate_quickly().
4757
4758 2008-03-17  Dan Williams  <dcbw@redhat.com>
4759
4760         Split the 802.1x bits out of the wireless-security setting so they are
4761         generalized enough for wired 802.1x to use too.
4762
4763         * introspection/nm-exported-connection.xml
4764                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4765                         of just a hash of the secrets for one setting
4766
4767         * libnm-util/nm-setting-wireless-security.c
4768           libnm-util/nm-setting-wireless-security.h
4769                 - Remove 802.1x-specific stuff
4770                 - Added leap-username and leap-password properties for old-school LEAP
4771
4772         * src/nm-device.c
4773           src/nm-device.h
4774                 - (connection_secrets_updated_cb): take a list of updated settings names,
4775                         not just one
4776
4777         * src/supplicant-manager/nm-supplicant-config.c
4778           src/supplicant-manager/nm-supplicant-config.h
4779                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4780                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4781                         to nm_supplicant_config_add_setting_8021x()
4782                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4783                         the supplicant config
4784
4785         * src/nm-device-802-11-wireless.c
4786                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4787                 - (real_connection_secrets_updated): take a list of updated settings
4788                         names, not just one
4789
4790         * src/nm-device-802-3-ethernet.c
4791           src/nm-cdma-device.c
4792           src/nm-gsm-device.c
4793                 - (real_connection_secrets_updated_cb): take a list of updated settings
4794                         names, not just one
4795
4796         * src/nm-activation-request.c
4797           src/nm-activation-request.h
4798                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4799                         now passes a list of updated settings names, not just one
4800                 - (update_one_setting): new function; handle one updated setting
4801                 - (get_secrets_cb): handle multiple settings returned from the
4802                         settings service; have to be careful of ordering here as there are
4803                         some dependencies between settings (ex. wireless-security and 802.1x
4804                         in some cases)
4805
4806         * src/marshallers/nm-marshal.list
4807                 - new marshaller for connection-secrets-updated signal
4808
4809         * libnm-util/nm-setting-8021x.c
4810                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4811                         methods
4812                 - (verify): a valid 'eap' property is now required
4813
4814         * libnm-util/nm-connection.c
4815                 - (register_default_settings): add priorities to settings; there are
4816                         some dependencies between settings, and during the need_secrets
4817                         calls this priority needs to be respected.  For example, only the
4818                         wireless-security setting knows whether or not the connection is
4819                         going to use 802.1x or now, so it must be asked for secrets before
4820                         any existing 802.1x setting is
4821                 - (nm_connection_lookup_setting_type): expose
4822
4823         * libnm-util/nm-setting-wireless.c
4824                 - (verify): should verify even if all_settings is NULL; otherwise won't
4825                         catch the case where there is missing security
4826
4827         * libnm-util/nm-setting-wireless-security.c
4828                 - Remove everything to do with 802.1x
4829                 - Add old-school LEAP specific properties for username and password
4830                 - (need_secrets): rework LEAP secrets checking
4831                 - (verify): rework for LEAP and 802.1x verification
4832
4833 2008-03-17  Dan Williams  <dcbw@redhat.com>
4834
4835         * src/NetworkManagerPolicy.c
4836                 - (auto_activate_device): always remove the current activation check
4837                         from the pending activation list, otherwise when the policy gets
4838                         destroyed on NM exit it will attempt to free the already freed
4839                         activation check
4840
4841 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4842
4843         * src/backends/NetworkManagerSlackware.c 
4844         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4845
4846         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4847
4848 2008-03-14  Dan Williams  <dcbw@redhat.com>
4849
4850         * src/nm-manager.c
4851                 - (nm_device_interface_get_iface): g_object_get() will return an
4852                         allocated value, so this function must not return const
4853                 - (nm_device_interface_activate): free returned iface
4854
4855 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4856
4857         * libnm-util/Makefile.am: Add new files to build.
4858
4859         * libnm-util/nm-connection.c: Register NMSetting8021x.
4860
4861         * libnm-util/nm-setting-8021x.c
4862         * libnm-util/nm-setting-8021x.h: Implement.
4863
4864 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4865
4866         * libnm-util/Makefile.am: Add new files to build.
4867
4868         * libnm-util/nm-connection.c: Register NMSetting8021x.
4869
4870         * libnm-util/nm-setting-8021x.c
4871         * libnm-util/nm-setting-8021x.h: Implement.
4872
4873 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4874
4875         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4876         data.
4877
4878 2008-03-14  Dan Williams  <dcbw@redhat.com>
4879
4880         * include/wireless-helper.h
4881           include/Makefile.am
4882                 - One place for all the junk needed for #including wireless.h
4883
4884         * test/nm-tool.c
4885           src/NetworkManagerAP.c
4886           src/wpa.c
4887           src/Makefile.am
4888           libnm-util/nm-utils.c
4889           libnm-util/nm-setting-wireless.c
4890           libnm-glib/nm-device-802-11-wireless.c
4891           libnm-glib/nm-access-point.c
4892           libnm-glib/libnm-glib-test.c
4893                 - include wireless-helper.h, not iwlib.h
4894
4895         * configure.in
4896                 - Don't need libiw really, just need to check for wireless.h
4897
4898         * src/kernel-types.h
4899                 - Remove; used types moved into wpa.c
4900
4901         * src/nm-device-802-11-wireless.c
4902                 - (nm_device_802_11_wireless_update_signal_strength,
4903                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4904                    nm_device_802_11_wireless_set_mode,
4905                    nm_device_802_11_wireless_get_frequency,
4906                    nm_device_802_11_wireless_get_ssid,
4907                    nm_device_802_11_wireless_set_ssid,
4908                    nm_device_802_11_wireless_get_bitrate,
4909                    nm_device_802_11_wireless_get_bssid,
4910                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4911                         instead of iwlib functions
4912
4913 2008-03-14  Dan Williams  <dcbw@redhat.com>
4914
4915         * src/ppp-manager/nm-ppp-manager.c
4916                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4917                         should only take the DBusGMethodInvocation argument, not user/pass
4918                         too.  With dbus-glib, async functions only take 2 C arguments since
4919                         the real dbus method arguments get passed back with
4920                         dbus_g_method_return()
4921
4922 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4923
4924         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4925         Adapt the changes of NMSettingIP4Config.
4926
4927 2008-03-13  Dan Williams  <dcbw@redhat.com>
4928
4929         * src/NetworkManagerUtils.c
4930           src/NetworkManagerUtils.h
4931                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4932
4933         * src/NetworkManagerAP.c
4934           src/nm-device-802-11-wireless.c
4935           src/nm-device-802-3-ethernet.c
4936                 - s/iw_ether_ntop/nm_ether_ntop/g
4937
4938 2008-03-13  Dan Williams  <dcbw@redhat.com>
4939
4940         * src/NetworkManagerPolicy.c
4941                 - (update_routing_and_dns): never set the default route through an
4942                         IPv4LL addressed device
4943
4944 2008-03-13  Dan Williams  <dcbw@redhat.com>
4945
4946         * NetworkManagerUtils.c
4947           NetworkManagerUtils.h
4948                 - Remove NMSock stuff
4949                 - Remove the completion stuff
4950
4951         * nm-device.c
4952           nm-device.h
4953           NetworkManager.c
4954           NetworkManagerSystem.c
4955           autoip.c
4956           nm-device-802-11-wireless.c
4957           nm-device-802-3-ethernet.c
4958                 - Remove NMSock and completion stuff
4959                 - Remove nm_ioctl_info()
4960
4961 2008-03-12  Dan Williams  <dcbw@redhat.com>
4962
4963         * src/nm-device.c
4964                 - (merge_ip4_config): avoid duplicates
4965
4966 2008-03-12  Dan Williams  <dcbw@redhat.com>
4967
4968         * libnm-util/nm-setting-ip4-config.c
4969           libnm-util/nm-setting-ip4-config.h
4970                 - Remove 'manual' and 'autoip' properties
4971                 - Add 'method' property
4972                 - (verify): fix verification with 'method'
4973                 - (finalize): free 'method'
4974                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4975                         up for 'method'
4976
4977         * src/nm-device.c
4978                 - (real_act_stage3_ip_config_start): check IP4Config method
4979                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4980                         the future
4981                 - (merge_ip4_config): IP settings are valid with DHCP too
4982                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4983                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4984
4985         * src/nm-device-802-11-wireless.c
4986                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4987                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4988                         only on demand
4989
4990         * system-settings/plugins/ifcfg-fedora/parser.c
4991           system-settings/plugins/ifcfg-suse/parser.c
4992                 - (make_ip4_setting): fix up for 'method'
4993
4994 2008-03-12  Dan Williams  <dcbw@redhat.com>
4995
4996         * system-settings/plugins/ifcfg-fedora/parser.c
4997           system-settings/plugins/ifcfg-fedora/parser.h
4998                 - (get_ifcfg_name): ignore more file suffixes
4999                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5000
5001 2008-03-12  Dan Williams  <dcbw@redhat.com>
5002
5003         * configure.in
5004                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5005
5006 2008-03-12  Dan Williams  <dcbw@redhat.com>
5007
5008         * system-settings/plugins/ifcfg-fedora/plugin.c
5009                 - (write_auto_wired_connection): new function; write out an auto
5010                         wired connection file since the applet isn't doing it any more
5011                 - (reload_all_connections): write out the auto wired connection file
5012                         if there aren't any wired connections already
5013                 - (init): don't leak a GError
5014
5015 2008-03-12  Dan Williams  <dcbw@redhat.com>
5016
5017         * src/nm-device-interface.c
5018                 - (nm_device_interface_activate): print the ID of the connection
5019                         that's about to be activated
5020
5021 2008-03-12  Dan Williams  <dcbw@redhat.com>
5022
5023         Harmonize the 802.11 bitrate API
5024
5025         * introspection/nm-access-point.xml
5026                 - 'Rate' -> 'MaxBitrate'; clarify units
5027
5028         * introspection/nm-device-802-11-wireless.xml
5029                 - Clarify units of 'Bitrate'
5030
5031         * src/NetworkManagerAP.c
5032           src/NetworkManagerAP.h
5033                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5034                         property to 'max-bitrate'
5035                 - (foreach_property_cb): convert rate to Kb/s
5036
5037         * src/nm-device-802-11-wireless.c
5038                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5039
5040         * libnm-glib/nm-access-point.c
5041           libnm-glib/nm-access-point.h
5042                 - 'rate' -> 'max-bitrate'
5043
5044         * test/nm-tool.c
5045           libnm-glib/libnm-glib-test.c
5046                 - Fix up for these changes
5047
5048 2008-03-12  Dan Williams  <dcbw@redhat.com>
5049
5050         * src/nm-device.c
5051                 - (nm_device_set_ip4_config): don't send property notifications when
5052                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5053                         which dbus-glib can't parse because the value is NULL, which isn't
5054                         a legal object path.  Setting the IP4 config to NULL is only
5055                         valid when deactivating a device anyway, so the device state change
5056                         will alert listeners that the ip4 config is invalid.
5057
5058 2008-03-12  Dan Williams  <dcbw@redhat.com>
5059
5060         * src/nm-properties-changed-signal.c
5061                 - (add_to_string): better handling of NULL objects
5062
5063 2008-03-12  Dan Williams  <dcbw@redhat.com>
5064
5065         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5066         convert the libnm-glib NMDevice8023Ethernet to cached properties
5067
5068         * introspection/nm-device-802-3-ethernet.xml
5069                 - New 'Carrier' property
5070                 - New 'PropertiesChanged' signal
5071
5072         * introspection/nm-device.xml
5073                 - Remove 'Carrier' property
5074                 - Remove 'CarrierChanged' signal
5075
5076         * src/nm-device-interface.c
5077           src/nm-device-interface.h
5078                 - (nm_device_interface_init): remove 'carrier' property and
5079                         'carrier-changed' signal
5080
5081         * src/nm-device.c
5082           src/nm-device.h
5083                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5084                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5085                         the link here; wired device will handle that
5086                 - (handle_dhcp_lease_change): don't bother updating link here
5087                 - (get_property, nm_device_class_init): remove carrier property
5088
5089         * src/nm-device-802-11-wireless.c
5090                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5091                         real_update_link(); wireless devices don't use carrier at all
5092                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5093                    supplicant_iface_connection_state_cb_handler,
5094                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5095
5096         * src/nm-device-802-3-ethernet.c
5097           src/nm-device-802-3-ethernet.h
5098                 - (nm_device_802_3_ethernet_carrier_on,
5099                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5100                         instead of nm_device_set_carrier()
5101                 - (device_state_changed): update link from sysfs on activation;
5102                         replaces real_update_link()
5103                 - (real_update_link): remove, replaced by device_state_changed()
5104                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5105                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5106                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5107                         new get_carrier function
5108                 - (get_property): add 'carrier' property
5109                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5110                         hook into property-changed signal helper
5111
5112         * src/NetworkManagerPolicy.c
5113                 - (device_carrier_changed): will only ever be called with a wired device
5114                 - (device_added): only hook up to carrier-changed for wired devices
5115
5116         * libnm-glib/nm-device.c
5117           libnm-glib/nm-device.h
5118                 - (constructor, nm_device_class_init): remove carrier-changed signal
5119                 - (device_carrier_changed_proxy): remove; unused
5120                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5121
5122         * libnm-glib/nm-device-802-3-ethernet.c
5123           libnm-glib/nm-device-802-3-ethernet.h
5124                 - Convert to cached properties like AP and Wireless objects
5125                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5126                         instead of a 'char *', return value should not be freed
5127                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5128                 - (constructor): hook into properties-changed helper
5129                 - (set_property, get_property): new functions
5130                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5131
5132         * test/nm-tool.c
5133                 - (detail_device): strdup the wired hardware address too since it's
5134                         cached now
5135
5136         * libnm-glib/libnm-glib-test.c
5137                 - (dump_wired): strdup the wired hardware address too since it's
5138                         cached now
5139
5140 2008-03-12  Dan Williams  <dcbw@redhat.com>
5141
5142         * libnm-util/nm-setting-ip4-config.c
5143           libnm-util/nm-setting-ip4-config.h
5144                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5145                         the 'autoip' property from the spec
5146
5147 2008-03-11  Dan Williams  <dcbw@redhat.com>
5148
5149         * src/backends/NetworkManagerGeneric.c
5150           src/backends/NetworkManagerGeneric.h
5151                 - (nm_generic_device_get_use_dhcp): remove
5152
5153 2008-03-11  Dan Williams  <dcbw@redhat.com>
5154
5155         * src/nm-device.c
5156                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5157                         already in nm_device_set_ip4_config()
5158                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5159                         due to a DHCP rebind fails
5160                 - (nm_device_set_ip4_config): send property notifications when the
5161                         ip4 config changes
5162                 - (get_property): only report IP4Config property during valid states
5163
5164         * src/NetworkManagerPolicy.c
5165                 - (update_routing_and_dns): ignore devices that don't have an ip4
5166                         config; add parameter 'force_update' to allow callers to specify
5167                         that changes should be made even if the default device doesn't change
5168                 - (device_ip4_config_changed): update DNS and routing when the device's
5169                         IP4Config changes, like for DHCP updates
5170                 - (device_added): listen for ip4-config property changes
5171
5172 2008-03-11  Dan Williams  <dcbw@redhat.com>
5173
5174         Fix address handling as a result of DHCP rebind/renew/reboot.
5175
5176         * src/NetworkManagerSystem.c
5177                 - (check_one_address): delete an address if it doesn't match a given
5178                         one for the same interface
5179                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5180                         be smarter about flushing addresses (only flush ones that don't
5181                         match the one we're about to apply)
5182
5183         * src/backends/NetworkManagerDebian.c
5184           src/backends/NetworkManagerSuSE.c
5185           src/backends/NetworkManagerArch.c
5186           src/backends/NetworkManagerSlackware.c
5187           src/backends/NetworkManagerRedHat.c
5188           src/backends/NetworkManagerPaldo.c
5189           src/backends/NetworkManagerFrugalware.c
5190           src/backends/NetworkManagerGentoo.c
5191                 - (nm_system_delete_default_route): remove
5192
5193         * src/backends/NetworkManagerGeneric.c
5194           src/backends/NetworkManagerGeneric.h
5195                 - (nm_generic_enable_loopback): fix the loopback device label
5196                 - (nm_generic_delete_default_route): remove; no longer used
5197
5198 2008-03-11  Dan Williams  <dcbw@redhat.com>
5199
5200         * src/nm-device-interface.h
5201                 - Delimit property name words with '-', otherwise g_object_notify()
5202                         doesn't work the way we expect
5203
5204 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5205
5206         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5207
5208 2008-03-11  Dan Williams  <dcbw@redhat.com>
5209
5210         * src/NetworkManagerPolicy.c
5211                 - (update_routing_and_dns): don't change anything if the default device
5212                         hasn't changed; print something out when switching the default route
5213                         and DNS
5214
5215 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5216
5217         Implement PPPoE.
5218
5219         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5220         setting. Use "nic-$eth".
5221
5222         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5223         the device is activating here to fix a race condition.
5224
5225         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5226
5227         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5228         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5229         (nm_ppp_manager_start): Take activation request instead of connection, we might
5230         need it for asking secrets.
5231         (nm_ppp_manager_update_secrets): Implement.
5232
5233         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5234         ppp manager start. It might be needed for asking secrets.
5235
5236         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5237         (ppp_state_changed): Handle pppd daemon disappearing.
5238         (pppoe_stage2_config): Send activation request to ppp manager start.
5239
5240         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5241
5242         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5243         username and password.
5244         
5245 2008-03-10  Dan Williams  <dcbw@redhat.com>
5246
5247         * src/nm-device.c
5248                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5249                         response to a DHCP lease change
5250                 - (dhcp_state_changed): handle DHCP lease changes while activated
5251                 - (nm_device_set_ip4_config): remove a previously set named config
5252                         when setting an ip4 config
5253
5254 2008-03-10  Dan Williams  <dcbw@redhat.com>
5255
5256         * src/nm-serial-device.c
5257                 - (nm_serial_device_send_command): report errno on error
5258                 - (get_reply_got_data): limit the size of the overall buffer
5259                 - (wait_for_reply_info_destroy): destroy result string
5260                 - (wait_for_reply_got_data): append received data to an overall buffer
5261                         until timeout, filled buffer, or error instead of keeping a per-call
5262                         buffer.  Some devices send data slowly enough that this function
5263                         gets called multiple times for the same command stream.
5264                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5265                         wait_for_reply_got_data() here
5266
5267 2008-03-10  Dan Williams  <dcbw@redhat.com>
5268
5269         * src/nm-cdma-device.c
5270                 - (do_dial, init_modem): handle errors from
5271                         nm_serial_device_send_command_string()
5272
5273         * src/nm-gsm-device.c
5274                 - (do_dial, manual_registration, automatic_registration_get_network,
5275                    automatic_registration, enter_pin, check_pin, init_modem): handle
5276                         errors from nm_serial_device_send_command_string()
5277
5278 2008-03-10  Dan Williams  <dcbw@redhat.com>
5279
5280         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5281
5282         * src/named-manager/nm-named-manager.c
5283                 - (compute_searches): prefer searches before domains
5284                 - (compute_domain): new function
5285                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5286                 - (merge_one_ip4_config): if there are no searches in the source config,
5287                         merge domains of the source config into the target config
5288                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5289
5290 2008-03-10  Dan Williams  <dcbw@redhat.com>
5291
5292         * src/nm-serial-device.c
5293                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5294                 - (wait_for_reply_got_data): try to handle slower serial devices where
5295                         the reply is broken up into multiple reads by concatenating replies
5296                         together until either an error is received or the search string is
5297                         found
5298
5299 2008-03-10  Dan Williams  <dcbw@redhat.com>
5300
5301         * src/nm-device.c
5302                 - (nm_device_bring_down): deactivate the device if it's activating too,
5303                         not just if it's already activated.  This makes sure that everything
5304                         from an association attempt is cleaned up (like DHCP for example)
5305
5306 2008-03-10  Dan Williams  <dcbw@redhat.com>
5307
5308         * src/nm-serial-device.c
5309                 - (config_fd): report error from TCSETA
5310                 - (nm_serial_device_open): fail when config_fd() fails
5311
5312 2008-03-10  Dan Williams  <dcbw@redhat.com>
5313
5314         * src/nm-ip4-config.c
5315                 - (nm_ip4_config_init): allocate searches list
5316                 - (finalize): free searches list
5317
5318 2008-03-09  Dan Williams  <dcbw@redhat.com>
5319
5320         Patch from Bas Zoetekouw <bas@debian.org>
5321
5322         * src/dhcp-manager/nm-dhcp-manager.c
5323                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5324
5325 2008-03-09  Dan Williams  <dcbw@redhat.com>
5326
5327         Patch from Bas Zoetekouw <bas@debian.org>
5328
5329         * src/nm-ip4-config.c
5330           src/nm-ip4-config.h
5331                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5332                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5333                         domains.  'searches' is the correct way to store multiple search
5334                         domains, whereas 'domains' is really just supposed to store one
5335                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5336                         search domains to the client.
5337                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5338
5339 2008-03-09  Dan Williams  <dcbw@redhat.com>
5340
5341         * src/dhcp-manager/nm-dhcp-manager.c
5342                 - (dhclient_run): send interface-specific config files to dhclient
5343
5344 2008-03-07  Dan Williams  <dcbw@redhat.com>
5345
5346         * system-settings/plugins/ifcfg-fedora/parser.c
5347                 - (is_wireless_device): new function; test a device for wireless
5348                         extensions
5349                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5350                         test the device for wireless extensions to determine the type
5351
5352 2008-03-07  Dan Williams  <dcbw@redhat.com>
5353
5354         Change manager's StateChange signal to StateChanged for consistency.
5355
5356         * introspection/nm-manager.xml
5357                 - Add 'StateChanged' signal
5358                 - Move 'StateChange' down to the deprecated section
5359
5360         * src/nm-hal-manager.c
5361                 - (nm_hal_manager_new): connect to 'state-changed' instead
5362
5363         * src/NetworkManagerPolicy.c
5364                 - (nm_policy_new): connect to 'state-changed' instead
5365
5366         * src/nm-manager.c
5367           src/nm-manager.h
5368                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5369                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5370                         of 'state-change'
5371
5372         * libnm-glib/nm-client.c
5373           libnm-glib/nm-client.h
5374                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5375                         track and proxy 'state-changed' instead of 'state-change'
5376
5377 2008-03-07  Dan Williams  <dcbw@redhat.com>
5378
5379         First pass of multiple active device support.  Expect bugs.
5380
5381         * src/nm-ip4-config.c
5382           src/nm-ip4-config.h
5383                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5384                         there are better ways to do this in the named manager
5385
5386         * src/nm-device.c
5387           src/nm-device.h
5388                 - (nm_device_can_activate): return whether the device can activate a
5389                         connection right now; taking into account things like carrier state
5390                         and rfkill state
5391                 - (nm_device_get_best_auto_connection): renamed from
5392                         nm_device_get_best_connection
5393                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5394                         device subclasses themselves, so that each device can override the
5395                         MTU from it's NMSetting subclass if needed
5396                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5397                         in NetworkManagerSystem.c, not here
5398
5399         * src/named-manager/nm-named-manager.c
5400           src/named-manager/nm-named-manager.h
5401                 - (nm_named_manager_name_owner_changed,
5402                    nm_named_manager_dbus_connection_changed): fix for changes to
5403                         rewrite_resolv_conf()
5404                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5405                         from parameter list
5406                 - (merge_one_ip4_config): new function; merge ip4 configs together
5407                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5408                         ip4 configs; the VPN config takes precedence, then the best
5409                         device config, then the rest of the configs
5410                 - (get_domain_for_config): take the NMNamedManager as an argument
5411                         to check whether the config is the VPN config
5412                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5413                         attribute from ip4 configs
5414                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5415                 - (remove_ip4_config_from_named): fix for changes to
5416                         get_domain_for_config()
5417                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5418                         based on its type; callers must pass in the type now
5419                 - (get_last_default_domain): remove, unused
5420                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5421
5422         * src/nm-device-802-11-wireless.c
5423                 - (real_can_activate): new function
5424                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5425                 - (real_act_stage4_get_ip4_config): handle MTU override
5426
5427         * src/nm-device-802-3-ethernet.c
5428                 - (real_can_activate): new function
5429                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5430                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5431
5432         * src/vpn-manager/nm-vpn-connection.c
5433                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5434                         attribute on the ip4 config
5435
5436         * src/NetworkManagerPolicy.c
5437                 - (nm_policy_auto_get_best_device): remove
5438                 - (nm_policy_device_change_check): remove
5439                 - (update_default_route): new function; set the default route via
5440                         the specified device
5441                 - (get_device_priority): new function; return the priority number of
5442                         a device type WRT which one should have the default route.  Order is
5443                         (highest to lowest)  wired, wireless, GSM, CDMA.
5444                 - (update_routing_and_dns): new function; determine which device should
5445                         have the default route, then update the routing table and DNS
5446                 - (maybe_auto_activate_device): new function; if a device is now
5447                         available for activation, find out what connection it would like to
5448                         activate and do it
5449                 - (schedule_activate_check): new function; if a device can be activated
5450                         now, schedule the activation.  Each device may have only one
5451                         pending activation at a given time.
5452                 - (device_state_changed): if activation was canceled, try again,
5453                         possibly with another connection; if the device was activated,
5454                         update routing and DNS; if the device was deactivated, try again
5455                         with another connection
5456                 - (device_carrier_changed): if there is no carrier, deactivate the
5457                         device; otherwise schedule an activation check for the device
5458                 - (wireless_networks_changed): schedule an activation check for the
5459                         device
5460                 - (device_added): keep track of the signal handler IDs so they can
5461                         be removed when the device goes away
5462                 - (device_removed): remove any signal handlers that might be attached
5463                         to the device; update routing and DNS
5464                 - (schedule_activate_all): new function
5465                 - (connections_added, connection_added, connection_updated): when
5466                         connections change, schedule all devices for an activation check
5467                 - (connection_removed): when a device is deactivated because its
5468                         connection was removed, schedule another activation check for it
5469                 - (nm_policy_destroy): destroy pending activations and disconnect
5470                         all device signal handlers
5471
5472         * src/nm-manager.c
5473                 - (nm_manager_activate_device): if the device was already actived,
5474                         deactivate it
5475                 - (deactivate_old_device): remove
5476                 - (connection_added_default_handler, impl_manager_activate_device):
5477                         don't deactivate other devices when activating this one
5478
5479         * src/backends/NetworkManagerGentoo.c
5480           src/backends/NetworkManagerFrugalware.c
5481           src/backends/NetworkManagerPaldo.c
5482           src/backends/NetworkManagerRedHat.c
5483           src/backends/NetworkManagerSlackware.c
5484           src/backends/NetworkManagerArch.c
5485           src/backends/NetworkManagerSuSE.c
5486           src/backends/NetworkManagerDebian.c
5487                 - (nm_system_get_mtu): remove; MTU should be provided through the
5488                         distro's system settings service plugin instead
5489                 - (nm_system_device_add_default_route_via_device): remove
5490                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5491                 - (nm_system_device_replace_default_route): new function; call
5492                         generic implementation
5493
5494         * src/backends/NetworkManagerGeneric.c
5495           src/backends/NetworkManagerGeneric.h
5496                 - (nm_generic_device_add_default_route_via_device,
5497                    nm_generic_device_add_default_route_via_device_with_iface): remove
5498                 - (nm_generic_device_replace_default_route): replace the default route
5499                         with the given route via some gateway
5500
5501         * src/NetworkManagerSystem.c
5502           src/NetworkManagerSystem.h
5503                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5504                         to routing and DNS; but set the MTU here
5505                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5506                         ip_iface of the active device; use the standard MTU setting function
5507                 - (nm_system_set_mtu): remove
5508                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5509
5510 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5511
5512         Rework the interaction between ppp manager and pppd plugin. Register a well
5513         known DBUS service in manager and let the plugin call it's methods instead
5514         of listening plugin's signals.
5515
5516         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5517         of emitting signals.
5518
5519         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5520
5521         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5522
5523         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5524         nm_ppp_manager_start().
5525
5526         * introspection/nm-ppp-manager.xml: New file.
5527
5528         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5529         the case correctly where driver is trying to send -1 for the speed, which gets
5530         casted to u16 and thus is always > 0.
5531
5532 2008-03-07  Dan Williams  <dcbw@redhat.com>
5533
5534         * src/nm-hal-manager.c
5535                 - (nm_get_device_driver_name): use net.originating_device first, fall
5536                         back to physical device.  HAL has deprecated physical_device.
5537
5538         * libnm-glib/nm-device.c
5539                 - (get_product_and_vendor): use net.originating_device first, fall
5540                         back to physical device.  HAL has deprecated physical_device.
5541                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5542
5543 2008-03-07  Dan Williams  <dcbw@redhat.com>
5544
5545         * src/nm-netlink.c
5546                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5547                         last commit; fix that
5548                 - (get_link_cache): print error string
5549
5550 2008-03-07  Dan Williams  <dcbw@redhat.com>
5551
5552         * src/nm-netlink.c
5553                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5554                         don't need this hack any more (Benoit Boissinot)
5555
5556 2008-03-06  Dan Williams  <dcbw@redhat.com>
5557
5558         * autogen.sh
5559                 - Die gnome-common, die
5560
5561 2008-03-04  Dan Williams  <dcbw@redhat.com>
5562
5563         Patch from Michael Biebl <biebl@debian.org>
5564
5565         * NetworkManager.pc.in
5566                 - doesn't actually depend on dbus-1
5567
5568         * libnm-util/nm-utils.h
5569                 - remove unused #include <dbus/dbus.h>
5570
5571         * libnm-glib/libnm_glib.pc.in
5572                 - depends on glib and dbus-glib
5573
5574 2008-03-02  Dan Williams  <dcbw@redhat.com>
5575
5576         * src/NetworkManagerPolicy.c
5577                 - s/device_state_changed_idle_id/update_state_id/
5578
5579 2008-03-02  Dan Williams  <dcbw@redhat.com>
5580
5581         * src/nm-device.c
5582           src/nm-device.h
5583           src/nm-device-802-11-wireless.c
5584           src/nm-device-802-3-ethernet.c
5585           src/NetworkManagerPolicy.c
5586                 - s/link_active/carrier
5587                 - nm_device_set_active_link() -> nm_device_set_carrier()
5588                 - nm_device_has_active_link() -> nm_device_get_carrier()
5589
5590 2008-03-02  Dan Williams  <dcbw@redhat.com>
5591
5592         * system-settings/plugins/ifcfg-fedora/parser.c
5593                 - (make_wireless_setting): fail connection creation on missing SSID
5594
5595 2008-02-29  Dan Williams  <dcbw@redhat.com>
5596
5597         * src/NetworkManagerPolicy.c
5598                 - (nm_policy_device_change_check): ensure that a previously active
5599                         device with a system connection has a link before denying a switch
5600                         to a user connection
5601
5602 2008-02-29  Dan Williams  <dcbw@redhat.com>
5603
5604         * src/nm-device-802-11-wireless.c
5605                 - (link_timeout_cb): try again if scanning; deactivate the device when
5606                         activated if the link dies
5607                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5608                         15 seconds
5609
5610 2008-02-29  Dan Williams  <dcbw@redhat.com>
5611
5612         * src/nm-device-802-11-wireless.c
5613           src/nm-device-802-11-wireless.h
5614                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5615                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5616                 - (device_cleanup): reset the scan interval lower when the device
5617                         deactivates
5618                 - (can_scan): base decision mostly off device state, not supplicant
5619                         interface state since the supplicant interface state isn't a
5620                         great indicator of whether the device is active or not
5621                 - (request_wireless_scan): clean up; schedule the next scan here
5622                 - (schedule_scan): only back the scan interval off if a new scan
5623                         actually gets scheduled; and make scan intervals tighter when the
5624                         device is disconnected
5625                 - (supplicant_iface_state_cb_handler): fold in the bits of
5626                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5627                         interval to minimum
5628                 - (activation_success_handler): reset scan interval to something
5629                         reasonable 
5630
5631 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5632
5633         reviewed by: Steev <steev@steev.net>
5634
5635         * configure.in:
5636         * src/backends/NetworkManagerGentoo.c:
5637         (nm_system_restart_mdns_responder):
5638                 Howl is no longer a supported mDNS provider
5639
5640 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5641
5642         Get rid of a bunch of unused distro specific functions.
5643
5644 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5645
5646         Implement suse plugin for system settings daemon.
5647
5648         * system-settings/plugins/ifcfg-suse/*: Implement.
5649
5650         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5651         suse.
5652
5653         * configure.in: Check (without failing) for gio.
5654         Create ifcfg-suse plugin's Makefile.
5655
5656 2008-02-20  Dan Williams  <dcbw@redhat.com>
5657
5658         * libnm-util/nm-connection.c
5659           libnm-util/nm-connection.h
5660                 - (nm_connection_compare): accept compare flags and pass them to the
5661                         setting compare function
5662
5663         * libnm-util/nm-setting.c
5664           libnm-util/nm-setting.h
5665                 - (nm_setting_compare): accept compare flags; ignore properties that are
5666                         marked fuzzy
5667
5668         * libnm-util/nm-setting-connection.c
5669           libnm-util/nm-setting-wireless.c
5670           libnm-util/nm-setting-ppp.c
5671           libnm-util/nm-setting-wired.c
5672                 - Mark some setting properties as ignorable when doing a fuzzy compare
5673
5674         * src/nm-device.c
5675                 - (device_activation_precheck): use exact compare
5676
5677 2008-02-20  Dan Williams  <dcbw@redhat.com>
5678
5679         * src/NetworkManagerPolicy.c
5680                 - (nm_policy_device_change_check): get scope off the connection, not
5681                         using the manager helper
5682
5683         * src/nm-manager.c
5684           src/nm-manager.h
5685                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5686                 - (connection_get_settings_cb): set scope and path on connection, not
5687                         using GObject data items
5688                 - (get_connection_for_proxy): don't need to return path, since that
5689                         can be gotten from the connection
5690                 - (get_connection_for_proxy): get path off the connection, not from
5691                         parameters
5692                 - (connection_removed_cb, connection_updated_cb): don't need to get
5693                         path from get_connection_for_proxy(); get scope off the connection
5694                         instead of using GObject data items
5695                 - (connection_added_default_handler, add_one_connection_element): use
5696                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5697                 - (nm_manager_get_connection_dbus_path): remove
5698                 - (nm_manager_get_connection_scope): remove
5699
5700 2008-02-20  Dan Williams  <dcbw@redhat.com>
5701
5702         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5703                 on confusing names
5704
5705         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5706                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5707                 NMExportedConnection
5708
5709         * Internally rename NMConnectionType -> NMConnectionScope
5710
5711         * Provide default implementations of the 'get_id' and 'get_settings' methods
5712                 of NMExportedConnection
5713
5714 2008-02-15  Dan Williams  <dcbw@redhat.com>
5715
5716         * src/nm-device-802-11-wireless.c
5717                 - (device_cleanup): release the AP list here too so that the AP list
5718                         doesn't survive across suspend/resume and up/down.  There is some
5719                         room for optimization, for example blow the list away when the card
5720                         brought back up, but only if the device has only been down for a
5721                         minute or more.
5722
5723 2008-02-15  Dan Williams  <dcbw@redhat.com>
5724
5725         * src/nm-hal-manager.c
5726                 - (modem_device_creator): recognize new HAL modem capabilities
5727
5728 2008-02-12  Dan Williams  <dcbw@redhat.com>
5729
5730         * system-settings/plugins/ifcfg-fedora/plugin.c
5731                 - (watch_path): handle IN_DELETE_SELF too
5732                 - (handle_connection_changed): notify when removing a connection
5733                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5734                         case of a file moving out of the profile directory
5735
5736 2008-02-12  Dan Williams  <dcbw@redhat.com>
5737
5738         * system-settings/plugins/ifcfg-fedora/parser.c
5739                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5740
5741 2008-02-12  Dan Williams  <dcbw@redhat.com>
5742
5743         * libnm-util/nm-utils.c
5744                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5745                         just any empty array
5746
5747 2008-02-12  Dan Williams  <dcbw@redhat.com>
5748
5749         * system-settings/src/nm-system-config-interface.c
5750           system-settings/src/nm-system-config-interface.h
5751                 - (load_connections): get_connections() should now return an allocated
5752                         GSList that the system settings service will free
5753
5754         * system-settings/plugins/ifcfg-fedora/plugin.c
5755           system-settings/plugins/ifcfg-fedora/parser.h
5756           system-settings/plugins/ifcfg-fedora/parser.c
5757                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5758                         in the profile directory, handle resolv.conf file changes
5759
5760 2008-02-10  Dan Williams  <dcbw@redhat.com>
5761
5762         * src/nm-device-802-3-ethernet.c
5763                 - (real_bring_up): save the supplicant interface state signal id
5764                 - (real_bring_down): disconnect from the supplicant interface state
5765                         signal
5766
5767 2008-02-07  Dan Williams  <dcbw@redhat.com>
5768
5769         * initscript/RedHat/NetworkManager.in
5770           initscript/RedHat/NetworkManagerDispatcher.in
5771                 - Add new-style LSB init headers
5772
5773 2008-02-07  Dan Williams  <dcbw@redhat.com>
5774
5775         * system-settings/src/dbus-settings.c
5776           system-settings/src/dbus-settings.h
5777                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5778                         table of secrets
5779                 - (connection_settings_get_secrets): consolidate error returns into
5780                         one place; use the new get_secrets() plugin interface function to
5781                         get secrets from the plugin itself rather than using GObject data
5782                         magic
5783
5784         * system-settings/src/main.c
5785                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5786                    load_connections): keep a private list of the plugin-returned
5787                         connections, don't use the plugin's GSList
5788
5789         * system-settings/plugins/ifcfg-fedora/plugin.c
5790                 - (watch_path): watch the path, not the filename (duh)
5791                 - (reload_all_connections): use the direct hash/equal functions; the
5792                         ones for int aren't appropriate here
5793                 - (get_secrets, system_config_interface_init): implement the
5794                         get_secrets() function
5795                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5796                         now in the connection's ConnectionData instead of being a GObject
5797                         data property
5798                 - (handle_profile_item_changed): ifcfg file path is now in the
5799                         connection's ConnectionData instead of being a GObject data property;
5800                         be sure to copy secrets over from the new connection to the existing
5801                         connection when updating the connection's settings
5802                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5803                         file descriptor
5804
5805         * system-settings/plugins/ifcfg-fedora/parser.c
5806           system-settings/plugins/ifcfg-fedora/parser.h
5807                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5808                    connection_data_copy_secrets, connection_data_free,
5809                    connection_data_add): new functions; connection data manipulation
5810                 - (make_wireless_security_setting): stuff secrets into the
5811                         connection data, not as GObject data items; make sure to close
5812                         the keys ifcfg file
5813                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5814                         connection data to the connection
5815
5816 2008-02-07  Dan Williams  <dcbw@redhat.com>
5817
5818         * system-settings/src/nm-system-config-interface.c
5819           system-settings/src/nm-system-config-interface.h
5820                 - Add a get_secrets() interface function to retrieve secrets for a
5821                         specific setting of a specific connection.  Document the interface
5822                         a bit more too.
5823
5824 2008-02-07  Dan Williams  <dcbw@redhat.com>
5825
5826         * src/nm-device-802-11-wireless.c
5827                 - (handle_auth_or_fail): new function; consolidate device activation
5828                         failure check after a certain number of failures getting secrets
5829                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5830                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5831                         the connection if secrets were requested more than a few times
5832                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5833                         tries here; otherwise they are cleared before the IP configure
5834                         timeout, which happens with open system WEP when key is wrong
5835                 - (activation_success_handler): clear wireless secrets tries here too
5836
5837 2008-02-07  Dan Williams  <dcbw@redhat.com>
5838
5839         * src/NetworkManagerPolicy.c
5840                 - (connection_updated): clear invalid tag when connection gets updated
5841                         to allow that connection to be tried again
5842                 - (nm_policy_new): save signal ids so they can be disconnected when
5843                         the policy is destroyed
5844                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5845                         and disconnect all signals from the manager object so that none
5846                         of the policy functions gets called after the policy is destroyed
5847
5848 2008-02-06  Dan Williams  <dcbw@redhat.com>
5849
5850         * src/nm-manager.c
5851                 - (finalize): remove devices a bit earlier; clean up system settings
5852                         poke
5853                 - (nm_manager_name_owner_changed): clean up system settings poke when
5854                         the service appears, and try to restart it if it fails
5855                 - (poke_system_settings_daemon_cb): try to get the system settings
5856                         service started through D-Bus service activation
5857                 - (initial_get_connections): start the system settings daemon if it's
5858                         not already running
5859
5860 2008-02-05  Dan Williams  <dcbw@redhat.com>
5861
5862         * src/supplicant-manager/nm-supplicant-config.c
5863                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5864                         broadcast networks too
5865
5866 2008-02-04  Dan Williams  <dcbw@redhat.com>
5867
5868         * system-settings/plugins/ifcfg-fedora/parser.c
5869                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5870                         need key_mgmt set too
5871                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5872                         .bak files; ensure that an error is set whenever NULL gets returned
5873
5874 2008-02-04  Dan Williams  <dcbw@redhat.com>
5875
5876         * system-settings/src/Makefile.am
5877                 - Install D-Bus service activation file for the system settings
5878                         service
5879
5880         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5881                 - D-Bus service activation file for system settings service
5882
5883 2008-02-04  Dan Williams  <dcbw@redhat.com>
5884
5885         * system-settings/src/main.c
5886                 - (parse_config_file): parse a config file
5887                 - (main): accept --config option and read plugins from config file
5888
5889 2008-02-04  Dan Williams  <dcbw@redhat.com>
5890
5891         * system-settings/plugins/ifcfg-fedora/plugin.c
5892                 - Change reported name to 'ifcfg-fedora'
5893                 - Use IFCFG_PLUGIN_NAME
5894
5895         * system-settings/plugins/ifcfg-fedora/plugin.c
5896                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5897
5898 2008-02-04  Dan Williams  <dcbw@redhat.com>
5899
5900         * system-settings/plugins/ifcfg-fedora/parser.c
5901                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5902                 - (make_connection_setting): use get_ifcfg_name()
5903                 - (make_wireless_security_setting): handle shadow key files
5904                 - (get_one_wep_key): treat empty string as NULL
5905
5906 2008-02-04  Dan Williams  <dcbw@redhat.com>
5907
5908         * src/supplicant-manager/nm-supplicant-manager.c
5909                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5910                         glib automatically reschedule
5911                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5912                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5913                         the supplicant
5914
5915 2008-02-01  Dan Williams  <dcbw@redhat.com>
5916
5917         * src/NetworkManagerPolicy.c
5918                 - (device_state_changed): schedule a change check when a device gets
5919                         deactivated so something happens if you disconnect GSM/CDMA
5920
5921 2008-01-31  Dan Williams  <dcbw@redhat.com>
5922
5923         * src/nm-device-802-11-wireless.h
5924           src/nm-device-802-11-wireless.c
5925                 - (ap_list_get_ap_by_ssid, is_associated,
5926                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5927                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5928                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5929                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5930                         function
5931
5932 2008-01-30  Dan Williams  <dcbw@redhat.com>
5933
5934         * system-settings/plugins/ifcfg
5935         * system-settings/plugins/ifcfg-fedora
5936                 - Move the ifcfg plugin to ifcfg-fedora
5937
5938 2008-01-24  Dan Williams  <dcbw@redhat.com>
5939
5940         * libnm-glib/nm-device-802-11-wireless.c
5941                 - (get_access_point): move the "/" check here; check for invalid path
5942                         too
5943                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5944                         to get_access_point()
5945                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5946                         to send signals for non-existent access points
5947
5948 2008-01-24  Dan Williams  <dcbw@redhat.com>
5949
5950         * libnm-glib/nm-device-802-11-wireless.c
5951                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5952
5953 2008-01-23  Dan Williams  <dcbw@redhat.com>
5954
5955         * libnm-glib/libnm_glib.c
5956                 - (libnm_glib_init): make thread joinable
5957                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5958
5959 2008-01-23  Dan Williams  <dcbw@redhat.com>
5960
5961         * test/libnm_glib_test.c
5962                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5963                 - (main): set up signal handlers; call libnm_glib_shutdown
5964
5965 2008-01-21  Dan Williams  <dcbw@redhat.com>
5966
5967         * include/NetworkManager.h
5968                 - Add CDMA mobile broadband card device type
5969
5970         * src/nm-hal-manager.c
5971                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5972                         must now be tagged with 'cdma' or 'gsm' capability
5973
5974         * src/nm-cdma-device.c
5975           src/nm-cdma-device.h
5976           src/Makefile.am
5977                 - Add the CDMA mobile broadband card device class
5978
5979         * libnm-util/nm-connection.c
5980                 - (register_default_settings): add NMSettingCdma
5981
5982         * libnm-util/nm-setting-cdma.c
5983           libnm-util/nm-setting-cdma.h
5984           libnm-util/Makefile.am
5985                 - Add the CDMA mobile broadband card setting class
5986
5987         * libnm-glib/nm-cdma-device.c
5988           libnm-glib/nm-cdma-device.h
5989           libnm-glib/Makefile.am
5990                 - Add the CDMA mobile broadband card GLib proxy class
5991
5992         * libnm-glib/nm-client.c
5993                 - (get_device): handle CDMA devices too
5994
5995 2008-01-21  Dan Williams  <dcbw@redhat.com>
5996
5997         * src/ppp-manager/nm-ppp-manager.c
5998                 - (ip4_config_get): set peer address too
5999
6000         * src/ppp-manager/nm-pppd-plugin.c
6001                 - (nm_ip_up): try harder to get the peer's address
6002
6003         * src/NetworkManagerSystem.c
6004                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6005                         address, use that too.  Otherwise, some PPP connections won't work.
6006
6007 2008-01-19  Dan Williams  <dcbw@redhat.com>
6008
6009         * src/NetworkManagerPolicy.c
6010                 - (nm_policy_device_change_check): system connections override user
6011                         connections; don't activate a user connection if there's a currently
6012                         active system connection, and new, better system connections always
6013                         interrupt user connections
6014
6015 2008-01-19  Dan Williams  <dcbw@redhat.com>
6016
6017         * src/nm-manager.h
6018                 - (nm_manager_get_connection_type): new function
6019
6020 2008-01-19  Dan Williams  <dcbw@redhat.com>
6021
6022         * src/nm-device-802-11-wireless.c
6023                 - (real_get_best_connection): collapse find_best_connection() into this
6024                         function
6025
6026 2008-01-19  Dan Williams  <dcbw@redhat.com>
6027
6028         * src/nm-device-802-3-ethernet.c
6029                 - (real_get_best_connection): collapse find_best_connection() into this
6030                         function
6031
6032 2008-01-18  Dan Williams  <dcbw@redhat.com>
6033
6034         * src/nm-device-802-3-ethernet.c
6035                 - (find_best_connection): check MAC address too
6036                 - (real_get_best_connection): let autoconnect=True connections activate
6037                         for devices that don't have carrier detection
6038
6039         * src/nm-device-802-11-wireless.c
6040                 - (find_best_connection): check MAC address too
6041
6042 2008-01-18  Dan Williams  <dcbw@redhat.com>
6043
6044         * system-settings/plugins/ifcfg/parser.c
6045                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6046
6047 2008-01-17  Dan Williams  <dcbw@redhat.com>
6048
6049         * src/nm-device-802-3-ethernet.c
6050                 - (nm_device_802_3_ethernet_carrier_on,
6051                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6052                         carrier events that might come in for devices that don't support
6053                         carrier detect
6054
6055 2008-01-17  Dan Williams  <dcbw@redhat.com>
6056
6057         * src/nm-device-interface.c
6058                 - (nm_device_interface_check_connection_conflicts): need to actually
6059                         get the interface, not cast to the object
6060
6061         * src/nm-device.c
6062                 - (nm_device_check_connection_conflicts): need to get the device class,
6063                         not cast the device to the device class
6064
6065 2008-01-17  Dan Williams  <dcbw@redhat.com>
6066
6067         * src/nm-device-802-11-wireless.c
6068                 - (real_check_connection_conflicts): ignore connections that aren't
6069                         wireless connections
6070
6071 2008-01-17  Dan Williams  <dcbw@redhat.com>
6072
6073         * src/NetworkManagerPolicy.c
6074                 - (nm_policy_device_change_check): clear change check idle here
6075                 - (device_change_check_done): remove
6076                 - (schedule_change_check): simplify
6077
6078 2008-01-17  Dan Williams  <dcbw@redhat.com>
6079
6080         * src/nm-manager.c
6081                 - (check_connection_allowed): take an NMDeviceInterface instead of
6082                         an NMDevice object as an argument
6083                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6084                         check_connection_allowed()
6085
6086 2008-01-13  Dan Williams  <dcbw@redhat.com>
6087
6088         * libnm-glib/nm-device-802-11-wireless.c
6089                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6090
6091 2008-01-12  Dan Williams  <dcbw@redhat.com>
6092
6093         * src/nm-device-802-11-wireless.c
6094                 - (activation_success_handler): if a match was found in the scan list
6095                         and that match is a hidden AP, update that AP's SSID
6096
6097 2008-01-11  Dan Williams  <dcbw@redhat.com>
6098
6099         * src/NetworkManagerAP.c
6100                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6101
6102         * src/nm-device-802-11-wireless.c
6103                 - (get_active_ap): do two passes over the scan list if the caller
6104                         requests that hidden APs get matched too; during the second pass
6105                         when matching hidden APs, ignore the SSID since hidden APs in the
6106                         scan list don't have an SSID yet
6107                 - (periodic_update): move some checks to
6108                         nm_device_802_11_periodic_update() because not all callers need them
6109                 - (nm_device_802_11_periodic_update): move some checks here from
6110                         perodic_update()
6111                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6112                         matching on incoming scan results, because the fake AP's flags
6113                         might be slightly different (yet still compatible) with the incoming
6114                         scan result's flags and they might actually be the same AP; update
6115                         the rate on merged APs too
6116                 - (activation_success_handler): update the frequency of the fake AP
6117                         on successful connection; match hidden APs too since if the
6118                         current AP is fake, there might already be a scan result in the
6119                         scan list for the desired AP, just without it's SSID filled in yet
6120
6121 2008-01-10  Dan Williams  <dcbw@redhat.com>
6122
6123         * src/NetworkManagerAP.c
6124                 - (foreach_property_cb): catch more hidden SSID formats
6125
6126 2008-01-10  Dan Williams  <dcbw@redhat.com>
6127
6128         Fix gnome.org #464215.  Requires the kernel patch titled
6129         "Introduce WEXT scan capabilities" but will handle the patch not being
6130         present, you'll just continue to have problems with hidden SSIDs when
6131         using mac80211-based drivers.
6132
6133         * src/supplicant-manager/nm-supplicant-config.h
6134           src/supplicant-manager/nm-supplicant-config.c
6135                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6136                         whether the driver supports SSID scans or not.  If it does, and if
6137                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6138
6139         * src/nm-device-802-11-wireless.c
6140                 - (constructor): check whether or not the driver supports SSID scans
6141                 - (build_supplicant_config): pass driver SSID scan capability when
6142                         building the wireless bits of the supplicant config
6143
6144 2008-01-09  Dan Williams  <dcbw@redhat.com>
6145
6146         * src/nm-device.c
6147           src/nm-device.h
6148                 - (device_activation_precheck, check_connection_complete): remove this
6149                         virtual function; incomplete connections should be invalid by
6150                         definition, complete-ness should be checked in the setting's
6151                         verify function
6152
6153         * src/nm-serial-device.c
6154           src/nm-gsm-device.c
6155                 - (real_check_connection_complete): remove
6156
6157         * libnm-util/nm-setting-serial.c
6158                 - (verify): new function; ensure there is a PPP setting too
6159
6160         * libnm-util/nm-setting-gsm.c
6161                 - (verify): ensure there is a serial setting too
6162
6163 2008-01-06  Dan Williams  <dcbw@redhat.com>
6164
6165         * src/dhcp-manager/nm-dhcp-manager.c
6166                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6167                         (gnome.org #332953)
6168
6169 2008-01-04  Dan Williams  <dcbw@redhat.com>
6170
6171         * src/named-manager/nm-named-manager.c
6172                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6173                         nameservers if the secondary config doesn't have any
6174                         (gnome.org #346833)
6175
6176 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6177
6178         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6179         with G_PARAM_CONSTRUCT so that they get the default values.
6180
6181         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6182         the monitoring device and prints out the output for now. Or more precicely, doesn't
6183         do absolutely anything right now since the montoring device argument is never set.
6184
6185         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6186         requires it's own knob to turn it on.
6187         (config_fd): Add NMSettingSerial to the arguments list.
6188         (nm_serial_device_open): Ditto.
6189         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6190         (nm_serial_device_get_io_channel): Implement.
6191
6192         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6193         a new reference every time (and forgetting to release it sometimes) is a pain and
6194         it's not like NMManager could work without dbus.
6195         (nm_manager_add_device): Register the added device on dbus here.
6196
6197         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6198         device.
6199
6200         * src/nm-device.c (constructor): Don't export the device here, instead export
6201         it when it's added to the NMManager's device list.
6202
6203 2007-12-31  Dan Williams  <dcbw@redhat.com>
6204
6205         * src/nm-device-interface.c
6206           src/nm-device-interface.h
6207                 - (nm_device_interface_check_connection_conflicts): new function
6208
6209         * src/nm-device.c
6210           src/nm-device.h
6211                 - (nm_device_check_connection_conflicts): new function
6212                 - (device_activation_precheck): don't require subclasses to implement
6213                         check_connection_complete()
6214                 - check_connection() -> check_connection_complete()
6215
6216         * src/nm-device-802-11-wireless.c
6217                 - (real_check_connection): remove; unused
6218                 - (real_check_connection_conflicts): implement, handle lockdown for
6219                         system connections
6220
6221         * src/nm-device-802-3-ethernet.c
6222                 - (real_check_connection): remove; unused
6223
6224         * src/nm-manager.c
6225                 - (check_connection_allowed): new function
6226                 - (nm_manager_activate_device): ensure the connection being requested
6227                         is allowed to be activated
6228
6229         * src/nm-serial-device.c
6230           src/nm-gsm-device.c
6231                 - real_check_connection() -> real_check_connection_complete()
6232
6233 2007-12-27  Dan Williams  <dcbw@redhat.com>
6234
6235         * src/nm-device-interface.c
6236           src/nm-device-interface.h
6237                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6238                         normalize and expand errors
6239                 - (nm_device_interface_init): register errors so they can be marshalled
6240                         through dbus-glib
6241                 - (nm_device_interface_activate): ensure that failure of activation
6242                         returns an error
6243
6244         * src/nm-device.c
6245           src/nm-device.h
6246                 - (device_activation_precheck): implementations of check_connection()
6247                         now take a GError and must fill it in if the check fails.  Return
6248                         more descriptive error if the requested connection is already
6249                         activating
6250                 - (nm_device_activate): actually try to return descriptive errors on
6251                         failures
6252
6253         * src/nm-device-802-11-wireless.c
6254           src/nm-device-802-3-ethernet.c
6255           src/nm-serial-device.c
6256           src/nm-gsm-device.c
6257                 - (real_check_connection): return more descriptive errors on failure
6258
6259         * src/NetworkManagerPolicy.c
6260                 - (nm_policy_device_change_check): print activation errors in the logs
6261
6262         * src/nm-manager.c
6263                 - (nm_manager_error_quark, nm_manager_error_get_type,
6264                    nm_manager_class_init): new errors
6265                 - (nm_manager_activate_device): handle errors
6266                 - (nm_manager_error_new): removed
6267                 - (wait_for_connection_expired, connection_added_default_handler,
6268                    impl_manager_activate_device): better error handling
6269
6270 2007-12-27  Dan Williams  <dcbw@redhat.com>
6271
6272         Fixes gnome.org #466954
6273
6274         * src/supplicant-manager/nm-supplicant-settings-verify.c
6275                 - Allow 'frequency' network property
6276
6277         * src/supplicant-manager/nm-supplicant-config.c
6278           src/supplicant-manager/nm-supplicant-config.h
6279                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6280                         for callers to specify the frequency an Ad-Hoc network should operate
6281                         on.  Some drivers require this to successfully create an Ad-Hoc
6282                         network.
6283
6284         * src/nm-device-802-11-wireless.c
6285                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6286                         guint32 value in MHz
6287                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6288                         iw_freq_to_uint32()
6289                 - (find_supported_frequency): new function; find a free supported
6290                         frequency for a user-created Ad-Hoc network
6291                 - (build_supplicant_config): if no frequency was specified for a user-
6292                         created Ad-Hoc network, find a free one to use
6293                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6294                         a specific object as user-created
6295
6296 2007-12-27  Dan Williams  <dcbw@redhat.com>
6297
6298         * libnm-util/nm-utils.c
6299           libnm-util/nm-utils.h
6300                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6301                         for adhoc networks
6302
6303 2007-12-24  Dan Williams  <dcbw@redhat.com>
6304
6305         * libnm-util/nm-setting-wireless.c
6306                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6307                         185, 187, 188, 192, and 196
6308
6309 2007-12-24  Dan Williams  <dcbw@redhat.com>
6310
6311         * src/nm-device-802-11-wireless.c
6312                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6313                         a channel # instead of a frequency
6314
6315 2007-12-24  Dan Williams  <dcbw@redhat.com>
6316
6317         * src/NetworkManagerAP.c
6318           src/NetworkManagerAP.h
6319                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6320                 - (freq_to_channel): handle split band tables
6321                 - (channel_to_freq): handle split band tables, take a band argument
6322
6323 2007-12-24  Dan Williams  <dcbw@redhat.com>
6324
6325         * libnm-util/nm-setting-connection.h
6326           libnm-util/nm-setting-connection.c
6327                 - Add 'lockdown' member
6328
6329 2007-12-22  Dan Williams  <dcbw@redhat.com>
6330
6331         * libnm-util/nm-setting-wireless.c
6332                 - (nm_setting_wireless_class_init): add missing 'rate' property
6333                         specification
6334
6335 2007-12-18  Dan Williams  <dcbw@redhat.com>
6336
6337         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6338
6339         * src/nm-netlink-monitor.c
6340           src/nm-netlink-monitor.h
6341                 - Remove handrolled netlink, use libnl instead
6342
6343         * src/nm-device-802-3-ethernet.c
6344                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6345                    nm_device_802_3_ethernet_carrier_on): use new names
6346
6347 2007-12-17  Dan Williams  <dcbw@redhat.com>
6348
6349         * configure.in
6350                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6351                         and fixes memory leaks)
6352
6353         * src/nm-netlink.c
6354                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6355                         automatically handle the netlink PID
6356
6357 2007-12-17  Dan Williams  <dcbw@redhat.com>
6358
6359         Patch from Michael Biebl <biebl@debian.org>
6360
6361         * configure.in
6362           src/ppp-manager/Makefile.am
6363                 - fix up install dir of pppd plugin
6364                 - clean up configure.in a bit
6365
6366 2007-12-12  Dan Williams  <dcbw@redhat.com>
6367
6368         * system-settings/src/nm-system-settings.conf
6369                 - Allow non-root clients (like the applet) to read settings
6370
6371 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6372
6373         * Replace all occurences of 'UMTS' with 'GSM'.
6374
6375 2007-12-07  Dan Williams  <dcbw@redhat.com>
6376
6377         * src/nm-serial-device.c
6378                 - (real_is_up): serial devices are always "up"
6379
6380 2007-12-07  Dan Williams  <dcbw@redhat.com>
6381
6382         * src/nm-netlink.c
6383           src/NetworkManagerSystem.c
6384                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6385                         twice (gnome.org #491047)
6386                 - Make more robust against allocation-related failures should they occur
6387
6388 2007-12-07  Dan Williams  <dcbw@redhat.com>
6389
6390         Noticed by Christian Persch <chpe@gnome.org>
6391
6392         Always chain up to parent object in dispose and finalize handlers.
6393                 (gnome.org #433112)
6394
6395 2007-12-07  Dan Williams  <dcbw@redhat.com>
6396
6397         * src/nm-device-802-11-wireless.c
6398                 - Wrap #include of linux/mii.h to fix redefined structures due to
6399                         incorrect kernel headers (gnome.org #350061)
6400
6401 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6402
6403         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6404         before doing anything else.
6405         (init_modem): Move modem initialization here.
6406
6407         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6408         (nm_serial_device_flash): Implement.
6409
6410         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6411         changes signal is "StateChanged" and not "Status".
6412         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6413
6414 2007-12-06  Dan Williams  <dcbw@redhat.com>
6415
6416         * src/supplicant-manager/nm-supplicant-config.c
6417                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6418                         to only send some options when they make sense; also send phase2
6419                         option to the supplicant (possible fix for rh #399631)
6420
6421 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6422
6423         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6424         arguments: This whole file shouldn't really know anything about NMDevices, it
6425         should deal only with device interfaces. Devices might have different ifaces for
6426         different stuff and this place shouldn't know anything about it.
6427
6428         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6429         (global_state_changed): Implement. In the current NM it's not really important,
6430         but will be required in the case of multiple active devices. (Or even better,
6431         if stuff like that gets moved out from NM).
6432
6433         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6434         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6435         instead.
6436
6437         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6438         devices like serial devices (ttyS0 and ppp0 for example).
6439         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6440         set.
6441         (nm_device_set_ip_iface): Implement.
6442         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6443         after setting ip4_config from here ...
6444         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6445         than this function should call nm_system_device_set_from_ip4_config() because no
6446         other code has enough information on which arguments to use. So instead, other code
6447         could just set the new ip4 config using this function and everyone is happy.
6448
6449         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6450         if we happen to get deactivated while something is pending.
6451         (automatic_registration): Handle the response that indicates pending network
6452         registration and wait until the pending registration is done.
6453         (real_deactivate_quickly): If there's a pending operation, cancel it.
6454
6455         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6456         (real_deactivate_quickly): ... and remove it when it's down.
6457         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6458         it if needed.
6459         (nm_serial_device_wait_for_reply): Ditto.
6460
6461 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6462
6463         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6464         (get_network_done): Remove newline, nm_info() does it already.
6465         (real_act_stage1_prepare): Turn the modem echo off.
6466
6467         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6468         device, set the route to the device interface. This is a hack.
6469
6470         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6471         return, no need for a new-line.
6472         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6473         Change the device iface here (ugh).
6474         (real_act_stage4_get_ip4_config): Implement.
6475         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6476         Restore the device iface.
6477
6478         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6479         device is not wired or wireless (eg, automatically upped) device.
6480
6481         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6482         it isn't.
6483         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6484
6485         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6486         before calling it's is_device_fn().
6487
6488 2007-12-05  Dan Williams  <dcbw@redhat.com>
6489
6490         * libnm-util/nm-utils.c
6491                 - (nm_utils_register_value_transformations,
6492                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6493                         GHashTables of GValues too
6494
6495 2007-12-04  Dan Williams  <dcbw@redhat.com>
6496
6497         * initscript/RedHat/NetworkManager.in
6498                 - No longer start named; it's D-Bus interface is going away
6499
6500 2007-12-04  Dan Williams  <dcbw@redhat.com>
6501
6502         Patch from Michael Biebl <biebl@debian.org>
6503
6504         * system-settings/plugins/ifcfg/Makefile.am
6505           system-settings/src/main.c
6506           system-settings/src/Makefile.am
6507                 - Put system settings plugins in NM plugins dir
6508
6509         * src/ppp-manager/Makefile.am
6510           src/ppp-manager/nm-ppp-manager.c
6511                 - Move pppd plugin to NM plugins dir
6512
6513 2007-12-04  Dan Williams  <dcbw@redhat.com>
6514
6515         * libnm-util/nm-setting-vpn-properties.h
6516                 - Clarify usage of the 'data' member of the setting
6517
6518         * libnm-util/nm-setting-vpn-properties.c
6519                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6520                 - (set_property): just remove all the settings; don't recreate the has
6521                 - (update_one_secret): don't need to create the hash table here since
6522                         it should always be present
6523
6524 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6525
6526         Implement PIN and PUK requesting.
6527
6528         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6529         (enter_pin): Handle PIN and PUK requests.
6530         (real_act_stage1_prepare): Clear the secret type.
6531         (real_connection_secrets_updated): Implement this class method to get
6532         notified when new secrets arrive.
6533         (nm_umts_device_class_init): Add private data back to the umts device class
6534         to store the required secret type.
6535
6536 2007-12-01  Dan Williams  <dcbw@redhat.com>
6537
6538         * system-settings/plugins/ifcfg/parser.c
6539                 - (parser_parse_file): don't try to verify NULL connections
6540
6541 2007-12-01  Dan Williams  <dcbw@redhat.com>
6542
6543         * system-settings/src/main.c
6544                 - (load_connections, add_connection_to_settings): actually export
6545                         plugin-provided connections over D-Bus so NM can get them
6546
6547 2007-12-01  Dan Williams  <dcbw@redhat.com>
6548
6549         * system-settings/plugins/ifcfg/parser.c
6550           system-settings/plugins/ifcfg/parser.h
6551           system-settings/plugins/ifcfg/plugin.c
6552                 - Hook up more inotify bits (untested)
6553
6554 2007-11-29  Dan Williams  <dcbw@redhat.com>
6555
6556         * system-settings/src/nm-system-config-interface.h
6557           system-settings/src/nm-system-config-interface.c
6558                 - (nm_system_config_interface_init,
6559                    nm_system_config_interface_get_connections): add
6560
6561         * system-settings/src/main.c
6562                 - (load_plugins, load_connections, main): use a GSList for plugins
6563                         to ensure priority ordering
6564
6565         * system-settings/plugins/ifcfg/parser.c
6566                 - (ifcfg_error_quark): move to plugin.c, and rename
6567
6568         * system-settings/plugins/ifcfg/plugin.h
6569           system-settings/plugins/ifcfg/plugin.c
6570                 - (ifcfg_plugin_error_quark): move here from parser.c
6571                 - rework connection loading and initialization
6572                 - Add preliminary inotify support for network profile config file
6573
6574 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6575
6576         Merge the beginnings of the new GSM card support.
6577
6578         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6579         ppp watch source before killing pppd - If this happens from g_object_unref()
6580         then the ppp manager is already destroyed by the time the watch callback runs.
6581
6582         * src/nm-hal-manager.c: Add a device_type_name string to the device
6583         creators, so that we can print a nice human readable string when a
6584         device is added.
6585
6586         * src/nm-umts-device.c (automatic_registration_get_network): Query
6587         for the activated network, not much is done with the result thought.
6588
6589         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6590         (ppp_ip4_config): Change the device state to activated here for now.
6591         (real_check_connection): Make sure the connection includes ppp setting.
6592
6593         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6594
6595         * libnm-glib/Makefile.am: Add the new files to build.
6596
6597         * libnm-glib/nm-umts-device.c: 
6598         * libnm-glib/nm-umts-device.h: Implement.
6599
6600 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6601
6602         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6603         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6604
6605         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6606         the timeout source - this function is only called when the timeout source has
6607         been removed.
6608         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6609         to be big enough to contain the terminating zero element as well.
6610         The timeout argument is meant to be in seconds now.
6611         (real_deactivate_quickly): Implement.
6612
6613         * src/NetworkManager.conf: Allow root to own 
6614         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6615
6616         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6617         (not unsigned ints).
6618
6619         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6620         small issue with parity bounds - capital letters have lower ascii codes
6621         than lower case letters.
6622
6623         * libnm-util/nm-connection.c (register_default_settings): Register serial
6624         and umts settings.
6625
6626 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6627
6628         Remove the "index" property from devices as not all device types have this.
6629
6630         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6631
6632         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6633         (wired_device_creator): Get the device interface from hal to create the device.
6634         (wireless_device_creator): Ditto.
6635
6636         * src/nm-device.c (nm_device_init): Remove the index member.
6637         (constructor): Remove the checks for index property, make interface property
6638         a require constructor property.
6639         Use the HAL udi for DBus path for devices.
6640         (nm_device_get_index): Remove.
6641         (set_property): Remove index handling.
6642         (get_property): Ditto.
6643         (nm_device_get_dbus_path): Remove.
6644
6645         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6646         property.
6647
6648         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6649         Access the device index through it's interface.
6650         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6651         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6652         index argument. Add interface argument.
6653
6654         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6655         the useless test_dev argument. Remove index argument. Add interface arugment.
6656
6657         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6658         device index through interface.
6659         (nm_system_set_mtu): Ditto.
6660
6661         * introspection/nm-device.xml: Remove the "Index" property.
6662
6663 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6664
6665         * src/nm-serial-device.c: 
6666         * src/nm-serial-device.c: 
6667         * src/nm-umts-device.c:
6668         * src/nm-umts-device.h: Implement.
6669
6670         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6671         allocated by libhal.
6672         (modem_device_creator): Implement.
6673         (register_built_in_creators): Register the modem creator.
6674
6675         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6676         Remove the unused test_dev argument.
6677
6678         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6679
6680         * src/Makefile.am: Add new files to build.
6681         Link in ppp-manager.
6682
6683         * libnm-util/nm-setting-umts.c: 
6684         * libnm-util/nm-setting-umts.h: 
6685         * libnm-util/nm-setting-serial.c: 
6686         * libnm-util/nm-setting-serial.h: Implement.
6687
6688         * libnm-util/Makefile.am: Add new files to build.
6689
6690 2007-11-28  Dan Williams  <dcbw@redhat.com>
6691
6692         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6693
6694         Support DHCP-provided static routes.
6695
6696         * src/nm-ip4-config.h
6697           src/nm-ip4-config.c
6698                 - Add get/set functions for static routes
6699
6700         * src/dhcp-manager/nm-dhcp-manager.c
6701                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6702                         DHCP response
6703
6704         * src/NetworkManagerSystem.c
6705                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6706                         interface when applying the IP4Config
6707
6708 2007-11-28  Dan Williams  <dcbw@redhat.com>
6709
6710         * src/nm-device-802-11-wireless.c
6711                 - (real_act_stage1_prepare): mark APs created for hidden networks
6712                         as non-broadcasting
6713
6714 2007-11-27  Dan Williams  <dcbw@redhat.com>
6715
6716         * system-settings/src/nm-system-config-interface.h
6717                 - Note how to store secrets on NMSetting objects
6718
6719         * system-settings/src/dbus-settings.c
6720                 - (connection_settings_get_secrets): implement
6721
6722 2007-11-27  Dan Williams  <dcbw@redhat.com>
6723
6724         * system-settings/plugins/ifcfg/Makefile.am
6725           system-settings/plugins/ifcfg/parser.c
6726           system-settings/plugins/ifcfg/parser.h
6727           system-settings/plugins/ifcfg/plugin.c
6728                 - Parse wireless connections too
6729
6730         * system-settings/src/dbus-settings.c
6731           system-settings/src/dbus-settings.h
6732           system-settings/src/main.c
6733                 - Handle connection update/removal if the plugin supports it
6734
6735 2007-11-27  Dan Williams  <dcbw@redhat.com>
6736
6737         * src/nm-dbus-manager.h
6738           src/nm-hal-manager.c
6739                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6740                         do it for them
6741
6742         * src/Makefile.am
6743           src/NetworkManagerDbusUtils.c
6744           src/NetworkManagerDbusUtils.h
6745                 - Remove these two source files; they are unused
6746
6747 2007-11-27  Dan Williams  <dcbw@redhat.com>
6748
6749         * src/vpn-manager/nm-vpn-manager.c
6750                 - (impl_vpn_manager_connect): fix system settings check (found by
6751                         James M. Leddy)
6752
6753 2007-11-26  Dan Williams  <dcbw@redhat.com>
6754
6755         * Fix warnings so everything compiles with --enable-more-warnings
6756
6757 2007-11-25  Dan Williams  <dcbw@redhat.com>
6758
6759         * system-settings/*
6760                 - Rework structure and code to use GModule-loaded plugins and a plugin
6761                         interface that plugins export to the system settings service
6762
6763 2007-11-21  Dan Williams  <dcbw@redhat.com>
6764
6765         * system-settings/*
6766                 - Add Soren's system settings service.  Needs work for distros other
6767                         than Fedora; the backends from NM should mostly migrate to here
6768                         and be converted to GObjects
6769
6770 2007-11-21  Dan Williams  <dcbw@redhat.com>
6771
6772         * libnm-util/nm-setting-vpn-properties.c
6773                 - (set_property): must deep-copy the given settings hash, otherwise
6774                         double-free errors occur when the setting is disposed of
6775
6776 2007-11-21  Dan Williams  <dcbw@redhat.com>
6777
6778         * src/vpn-manager/nm-vpn-act-request.h
6779           src/vpn-manager/nm-vpn-act-request.c
6780                 - Remove; unused
6781
6782 2007-11-20  Dan Williams  <dcbw@redhat.com>
6783
6784         * libnm-util/nm-utils.c
6785                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6786                    nm_utils_convert_ip4_addr_struct_array_to_string,
6787                    nm_utils_register_value_transformations): print out the readable
6788                         values of more types of properties of NMSettings subclasses
6789
6790 2007-11-20  Dan Williams  <dcbw@redhat.com>
6791
6792         * libnm-util/nm-setting-ip4-config.c
6793                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6794                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6795                         marshal GValueArrays inside collections, so switch to types that it
6796                         can actually marshal/demarshal
6797
6798 2007-11-16  Dan Williams  <dcbw@redhat.com>
6799
6800         * libnm-util/nm-setting-wireless-security.c
6801                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6802                         minimal verification of EAP methods too
6803                 - (verify): verify phase1 eap methods too
6804
6805 2007-11-15  Dan Williams  <dcbw@redhat.com>
6806
6807         * libnm-glib/nm-device.h
6808           libnm-glib/nm-device.c
6809                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6810                         const char *
6811
6812 2007-11-15  Dan Williams  <dcbw@redhat.com>
6813
6814         * libnm-glib/nm-device.c
6815                 - (get_product_and_vendor): don't try to free things that should be
6816                         freed
6817
6818 2007-11-15  Dan Williams  <dcbw@redhat.com>
6819
6820         * src/NetworkManagerUtils.c
6821                 - (nm_ethernet_address_is_valid): unbreak previous fix
6822
6823 2007-11-15  Dan Williams  <dcbw@redhat.com>
6824
6825         * src/supplicant-manager/nm-supplicant-config.c
6826                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6827                         options
6828
6829 2007-11-15  Dan Williams  <dcbw@redhat.com>
6830
6831         * src/NetworkManagerUtils.c
6832                 - (nm_ethernet_address_is_valid): fix style, clarify
6833                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6834
6835         * src/nm-device-802-11-wireless.c
6836                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6837                 - (nm_device_802_11_wireless_get_ssid,
6838                    nm_device_802_11_wireless_get_bssid,
6839                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6840                         before calling the ioctl; fixes valgrind-reported jump depends on
6841                         uninitialized value errors
6842
6843 2007-11-15  Dan Williams  <dcbw@redhat.com>
6844
6845         * libnm-util/nm-setting.c
6846                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6847                         unecessary to serialize 'name'
6848
6849         * src/nm-activation-request.c
6850                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6851                         the GetSecrets call
6852
6853 2007-11-15  Dan Williams  <dcbw@redhat.com>
6854
6855         * libnm-util/nm-setting-connection.h
6856           libnm-util/nm-setting-connection.c
6857                 - Rename the 'name' property to 'id', because it conflicted with the
6858                         NMSetting superclass' 'name' property.
6859
6860         * libnm-util/nm-setting.c
6861                 - (nm_setting_to_hash): serialize the 'name' property
6862                 - (one_property_cb): ignore 'name' on deserialization of a connection
6863
6864         * src/nm-device-802-11-wireless.c
6865           src/vpn-manager/nm-vpn-connection.c
6866           src/NetworkManagerPolicy.c
6867                 - Fix up for NMSettingConnection 'name'->'id' changes
6868
6869 2007-11-13  Dan Williams  <dcbw@redhat.com>
6870
6871         * libnm-glib/nm-device-802-11-wireless.h
6872           libnm-glib/nm-device-802-11-wireless.c
6873                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6874
6875         * test/nm-tool.c
6876           libnm-glib/libnm-glib-test.c
6877                 - Fixes for above change
6878
6879 2007-11-12  Dan Williams  <dcbw@redhat.com>
6880
6881         * src/supplicant-manager/nm-supplicant-settings-verify.c
6882                 - Allow fragment_size option
6883
6884         * src/supplicant-manager/nm-supplicant-settings-verify.c
6885                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6886                         EAP fragment size than the default to help some TLS connections
6887
6888 2007-11-12  Dan Williams  <dcbw@redhat.com>
6889
6890         Make certs actually work.  The private key is now a secret, and should be
6891         decrypted when requested by NM.  The private key and phase2 private key
6892         passwords are no longer interesting to NM because they should be used by
6893         the settings service to decrypt the private key itself before passing it
6894         to NM, and hence have been removed as fields.
6895
6896         * libnm-util/nm-setting-wireless-security.h
6897           libnm-util/nm-setting-wireless-security.c
6898                 - Remove private-key-passwd and phase2-private-key-passwd from
6899                         properties
6900                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6901                    need_secrets): use property #defines instead strings to keep things
6902                         consistent
6903                 - (need_secrets_tls): if a client certificate is present but no
6904                         private key, request the private key
6905                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6906                         remove private key password stuff, mark private keys as secret
6907
6908         * src/supplicant-manager/nm-supplicant-settings-verify.c
6909                 - Remove private_key_passwd and private_key2_passwd from opt_table
6910
6911 2007-11-09  Dan Williams  <dcbw@redhat.com>
6912
6913         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6914         Since the vpn-properties are managed and known by the VPN daemons themselves,
6915         libnm-util doesn't know what's secret and what's in the setting's 'data'
6916         member.
6917
6918         * libnm-util/nm-setting.h
6919           libnm-util/nm-setting.c
6920                 - Add the ability for subclasses to override update_one_secret
6921
6922         * libnm-util/nm-setting-vpn-properties.c
6923                 - Override update_one_secret and just copy the values into the
6924                         internal table
6925
6926 2007-11-09  Dan Williams  <dcbw@redhat.com>
6927
6928         * libnm-glib/nm-settings.h
6929           libnm-glib/nm-settings.c
6930                 - (nm_settings_new_error): remove
6931                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6932                         clients should use g_set_error() with NM_SETTINGS_ERROR
6933
6934 2007-11-09  Dan Williams  <dcbw@redhat.com>
6935
6936         * src/supplicant-manager/nm-supplicant-config.c
6937                 - (nm_supplicant_config_add_setting_wireless_security): private key
6938                         passwords are never sent to wpa_supplicant, because the supplicant
6939                         should never be reading random files from the disk.  Clients like
6940                         the applet are required to decrypt the private keys and send NM
6941                         the decrypted blobs.
6942
6943 2007-11-08  Dan Williams  <dcbw@redhat.com>
6944
6945         * libnm-util/nm-setting-wireless-security.h
6946           libnm-util/nm-setting-wireless-security.c
6947                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6948                         members to 802-11-wireless-security structure.  This should be used
6949                         to indicate that the values in private-key and phase2-private-key
6950                         are already decrypted by the user agent, and that no
6951                         private-key-passwd or phase2-private-key-passwd should be expected.
6952                         It is not meant to be a stored configuration value, but meant to
6953                         be set when the conneciton is sent to NM over dbus.
6954
6955 2007-11-08  Dan Williams  <dcbw@redhat.com>
6956
6957         * libnm-util/nm-connection.h
6958           libnm-util/nm-connection.c
6959                 - (nm_connection_need_secrets): add argument to return hints
6960
6961         * src/nm-device-802-11-wireless.c
6962                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6963                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6964                         nm_connection_need_secrets() change
6965
6966 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6967
6968         Rework NMSetting structures: Move each setting to it's own file.
6969         Convert to GObject. Remove home grown setting types and use GTypes.
6970         Use GObject property introspection for hash conversion, enumerating
6971         properties, etc.
6972
6973         * libnm-util/nm-setting-connection.[ch]
6974         * libnm-util/nm-setting-ip4-config.[ch]
6975         * libnm-util/nm-setting-ppp.[ch]
6976         * libnm-util/nm-setting-vpn.[ch]
6977         * libnm-util/nm-setting-vpn-properties.[ch]
6978         * libnm-util/nm-setting-wired.[ch]
6979         * libnm-util/nm-setting-wireless.[ch]
6980         * libnm-util/nm-setting-wireless-security.[ch]
6981
6982         New files, each containing a setting.
6983
6984         * libnm-util/nm-setting-template.[ch]: A template for creating new
6985         settings. To use it, just replace 'template' with the new setting
6986         name, and you're half-way done.
6987
6988         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6989         introspection instead of internal types and tables.
6990
6991         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6992
6993         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6994         GValue types defined by dbus-glib for composed types like collections,
6995         structures and maps.
6996
6997         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6998         a setting from connection takes the setting type now. Also, since
6999         the settings are in multiple files, include relevant settings.
7000
7001 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7002
7003         * configure.in:
7004         * src/backends/NetworkManagerGentoo.c:
7005         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7006         providers in Gentoo.
7007
7008 2007-10-31  Dan Williams  <dcbw@redhat.com>
7009
7010         * libnm-util/nm-connection.c
7011                 - (gvalue_to_string): handle UINT32 arrays
7012
7013 2007-10-31  Dan Williams  <dcbw@redhat.com>
7014
7015         * libnm-glib/nm-device.h
7016           libnm-glib/nm-device.c
7017                 - (nm_device_get_description): remove
7018                 - (nm_device_get_product, nm_device_get_vendor): add
7019                 - (nm_device_update_description): new function (private); walk HAL
7020                         devices to get product and vendor IDs for a specific device
7021
7022 2007-10-31  Dan Williams  <dcbw@redhat.com>
7023
7024         * src/nm-device-802-11-wireless.c
7025                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7026
7027 2007-10-29  Dan Williams  <dcbw@redhat.com>
7028
7029         * src/nm-hal-manager.c
7030                 - (device_added, device_new_capability): ignore device additions while
7031                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7032                         kernel module is unloaded and reloaded and recognized by NM again.
7033
7034 2007-10-26  Dan Williams  <dcbw@redhat.com>
7035
7036         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7037
7038         * src/NetworkManagerAP.c
7039           src/NetworkManagerAP.h
7040           libnm-glib/nm-access-point.c
7041           libnm-glib/nm-access-point.h
7042                 - Make 'rate' property a guint32 to better match with WEXT and
7043                         wpa_supplicant and to allow representation of higher bitrates
7044
7045         * src/nm-device-802-11-wireless.c
7046           introspection/nm-device-802-11-wireless.xml
7047           libnm-glib/nm-device-802-11-wireless.c
7048           libnm-glib/nm-device-802-11-wireless.h
7049                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7050
7051         * src/nm-device-802-3-ethernet.c
7052           src/nm-device-802-3-ethernet.h
7053           introspection/nm-device-802-3-ethernet.xml
7054           libnm-glib/nm-device-802-3-ethernet.c
7055           libnm-glib/nm-device-802-3-ethernet.h
7056                 - Make 'speed' property a guint32 to match other speed/rate types
7057                 - Make nm_device_802_3_ethernet_get_speed() static
7058
7059         * test/nm-tool.c
7060                 - Update for the changes above
7061
7062 2007-10-26  Dan Williams  <dcbw@redhat.com>
7063
7064         * src/named-manager/nm-named-manager.c
7065                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7066                     not calling fclose() twice on some error conditions
7067
7068 2007-10-26  Dan Williams  <dcbw@redhat.com>
7069
7070         * src/nm-activation-request.c
7071                 - (dispose): clean up indentation; get the right DBusGProxy object to
7072                         cancel the GetSecrets pending call on.  Need to use the Secrets
7073                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7074                         pending call doesn't get canceled, and pressing Cancel in the
7075                         applet's password dialog could cause get_secrets_cb() to be called
7076                         after the activation request has already been destroyed
7077
7078 2007-10-24  Dan Williams  <dcbw@redhat.com>
7079
7080         * src/supplicant-manager/nm-supplicant-config.c
7081                 - (nm_supplicant_config_add_blob): pass blob data and length for
7082                         verification
7083                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7084
7085 2007-10-24  Dan Williams  <dcbw@redhat.com>
7086
7087         * src/supplicant-manager/nm-supplicant-settings-verify.c
7088                 - (opt_table): max length for certificates should be 65536
7089
7090 2007-10-24  Dan Williams  <dcbw@redhat.com>
7091
7092         * src/supplicant-manager/nm-supplicant-interface.c
7093                 - (blob_free): correctly free blob data after use
7094                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7095
7096 2007-10-24  Dan Williams  <dcbw@redhat.com>
7097
7098         * libnm-util/nm-setting.c
7099                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7100                         EAP method need secrets
7101
7102 2007-10-24  Dan Williams  <dcbw@redhat.com>
7103
7104         * src/backends/NetworkManagerRedHat.c
7105                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7106
7107 2007-10-23  Dan Williams  <dcbw@redhat.com>
7108
7109         * libnm-util/nm-setting.c
7110           libnm-util/nm-setting.c
7111                 - (nm_setting_compare): implement
7112                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7113                    compare_one_hash_gvalue): compare the contents of a setting
7114
7115         * libnm-util/nm-connection.c
7116                 - (nm_connection_compare): implement
7117
7118 2007-10-23  Dan Williams  <dcbw@redhat.com>
7119
7120         * src/nm-activation-request.c
7121                 - (get_secrets_cb): handle getting a setting back that is more than
7122                         just secrets (ie, user changed auth or EAP method or something)
7123
7124 2007-10-23  Dan Williams  <dcbw@redhat.com>
7125
7126         * libnm-util/nm-setting.c
7127           libnm-util/nm-setting.h
7128                 - (nm_setting_verify): new function; verify one setting
7129                 - (nm_settings_verify_all): rename from nm_settings_verify()
7130                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7131                         all_settings
7132
7133         * libnm-util/nm-connection.c
7134                 - (nm_connection_replace_settings, nm_connection_verify,
7135                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7136
7137 2007-10-23  Dan Williams  <dcbw@redhat.com>
7138
7139         * src/nm-device-802-11-wireless.c
7140                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7141                         desired behavior
7142
7143 2007-10-23  Dan Williams  <dcbw@redhat.com>
7144
7145         * src/supplicant-manager/nm-supplicant-settings-verify.c
7146                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7147                         nm-settings.c
7148
7149 2007-10-23  Dan Williams  <dcbw@redhat.com>
7150
7151         * src/nm-device-802-11-wireless.c
7152                 - (real_act_stage2_config): after the first association failure,
7153                         if the connection still needs secrets ask the user for them
7154                         explicitly.  After the fourth association failure due to bad
7155                         secrets, fail the connection entirely.  Handles the GetSecrets
7156                         loop that NM gets into when the provided secrets don't match up
7157                         with the connection details.
7158
7159 2007-10-23  Dan Williams  <dcbw@redhat.com>
7160
7161         * src/supplicant-manager/nm-supplicant-config.c
7162                 - (nm_supplicant_config_add_setting_wireless_security): only add
7163                         WPA-specific options when WPA is in use
7164
7165 2007-10-23  Dan Williams  <dcbw@redhat.com>
7166
7167         * src/supplicant-manager/nm-supplicant-config.c
7168                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7169                         secret doesn't need to be unhexified
7170
7171 2007-10-23  Dan Williams  <dcbw@redhat.com>
7172
7173         * libnm-util/nm-setting.c
7174                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7175                         before trying to do something with it
7176
7177 2007-10-23  Dan Williams  <dcbw@redhat.com>
7178
7179         * src/nm-device-802-11-wireless.c
7180                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7181
7182 2007-10-23  Dan Williams  <dcbw@redhat.com>
7183
7184         * src/nm-device-802-11-wireless.c
7185                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7186                         non-SSID-broadcasting APs
7187
7188 2007-10-23  Dan Williams  <dcbw@redhat.com>
7189
7190         * src/NetworkManagerAP.c
7191                 - (match_cipher, security_compatible): remove
7192                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7193                         libnm-util instead
7194
7195 2007-10-23  Dan Williams  <dcbw@redhat.com>
7196
7197         * libnm-util/nm-utils.c
7198           libnm-util/nm-utils.h
7199                 - (nm_utils_ap_security_compatible): common function for checking
7200                         whether a specific AP is compatible with an NMConnection
7201
7202 2007-10-23  Dan Williams  <dcbw@redhat.com>
7203
7204         * libnm-util/nm-setting.c
7205                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7206                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7207                    need_secrets_password, setting_wireless_security_verify): fix
7208                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7209                         secrets logic for each supported EAP method
7210
7211 2007-10-23  Dan Williams  <dcbw@redhat.com>
7212
7213         * src/supplicant-manager/nm-supplicant-config.c
7214                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7215                         config option name, should be "private_key2_passwd"
7216
7217 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7218
7219         Implement support for static IP addresses, additional/overridden DNS and
7220         DNS domain search lists.
7221
7222         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7223         (ip4_addresses_to_gvalue): Implement.
7224         (convert_array_to_byte_array): Implement.
7225         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7226         NM_S_TYPE_IP4_ADDRESSES.
7227         (nm_setting_hash): Ditto.
7228         (default_setting_clear_secrets): Add a default case for the switch: IP address
7229         shouldn't be secret, ever.
7230         (setting_ip4_config_verify): Update, requires addresses in case of manual
7231         configurations.
7232         (setting_ip4_config_destroy): Free stuff.
7233
7234         * src/nm-device.c (merge_ip4_config): Implement.
7235         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7236
7237 2007-10-22  Dan Williams  <dcbw@redhat.com>
7238
7239         * libnm-util/nm-setting.c
7240                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7241                         pairwise cipher options for Dynamic WEP
7242
7243 2007-10-21  Dan Williams  <dcbw@redhat.com>
7244
7245         * src/NetworkManagerAP.c
7246           src/NetworkManagerAP.h
7247                 - Rename 'articifical' -> 'fake' since that's what they are until
7248                         noticed in scans
7249                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7250                         from the attributes in an NMConnection object
7251                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7252                         WPA Enterprise
7253                 - (nm_ap_match_in_list): find a matching AP in a scan list
7254
7255         * src/nm-device-802-11-wireless.c
7256                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7257                         AP when searching the scan list; match on frequency and mode too
7258                 - (nm_device_802_11_wireless_get_frequency): implement
7259                 - (merge_scanned_ap): replace duplicate matching logic with
7260                         nm_ap_match_in_list()
7261                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7262                         the user is trying to connect to a hidden network that is not yet
7263                         known from the scan list
7264                 - (activation_success_handler): now that the card knows the AP's BSSID,
7265                         there may already be a scanned AP in the scan list that is what
7266                         we really wanted to connect to, but didn't know at the time.  Use
7267                         that instead of the 'fake' AP created at activation start and get
7268                         rid of the 'fake' AP 
7269                 - (cull_scan_list): don't remove fake APs
7270
7271 2007-10-21  Dan Williams  <dcbw@redhat.com>
7272
7273         * src/nm-activation-request.h
7274           src/nm-activation-request.c
7275                 - (nm_act_request_set_specific_object): new function; allow setting the
7276                         specific object if one isn't set yet
7277
7278 2007-10-20  Dan Williams  <dcbw@redhat.com>
7279
7280         * src/supplicant-manager/nm-supplicant-config.h
7281           src/supplicant-manager/nm-supplicant-config.c
7282                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7283                         table to store blobs
7284                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7285                         blob hash table
7286                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7287                 - (nm_supplicant_config_add_setting_wireless_security): handle
7288                         options that use certificates (ie, blobs)
7289
7290         * src/nm-device-802-11-wireless.c
7291                 - (build_supplicant_config): pass a UID (just use the connection path)
7292                         to the supplicant config as now required
7293
7294         * src/supplicant-manager/nm-supplicant-interface.c
7295                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7296                         there are any blobs to send to wpa_supplicant, send those first
7297                         before sending the network configuration
7298
7299 2007-10-19  Dan Williams  <dcbw@redhat.com>
7300
7301         Split the GetSecrets() call off to a separate D-Bus interface so that it
7302         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7303         should be able to call GetSecrets().
7304
7305         * include/NetworkManager.h
7306                 - Define the connection secrets D-Bus interface
7307
7308         * src/vpn-manager/nm-vpn-connection.c
7309                 - (clear_need_auth): get the right proxy object for the connection
7310                         secrets interface
7311                 - (get_connection_secrets): use the connection secrets proxy; send
7312                         empty hints in get secrets request
7313
7314         * src/nm-activation-request.c
7315                 - (nm_act_request_request_connection_secrets): use the connection
7316                         secrets proxy; send empty hints in get secrets request
7317
7318         * src/nm-manager.c
7319           src/nm-manager.h
7320                 - (connection_get_settings_cb): set the connection secrets proxy on
7321                         the connection object too
7322                 - (internal_new_connection_cb): create the connection secrets proxy
7323
7324         * introspection/nm-settings-connection.xml
7325                 - Define Connection.Secrets interface and move GetSecrets there
7326                 - Add a 'hints' argument to GetSecrets
7327
7328         * libnm-glib/nm-settings.c
7329           libnm-glib/nm-settings.h
7330                 - (impl_connection_settings_get_secrets): add 'hints' argument
7331
7332 2007-10-19  Dan Williams  <dcbw@redhat.com>
7333
7334         * src/nm-device.c
7335                 - (constructor): add message about what path a device is exported as
7336                         to help in debugging rh #339011
7337
7338 2007-10-17  Dan Williams  <dcbw@redhat.com>
7339
7340         * libnm-util/nm-utils.h
7341           libnm-util/nm-utils.c
7342                 - (nm_utils_security_valid): common function to help find the intersection
7343                         of capabilities of devices and (optionally) access points
7344
7345 2007-10-17  Dan Williams  <dcbw@redhat.com>
7346
7347         * src/nm-device-802-11-wireless.c
7348                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7349                         don't get erroneously cleared
7350
7351 2007-10-17  Dan Williams  <dcbw@redhat.com>
7352
7353         * src/nm-manager.h
7354           src/nm-manager.c
7355           src/nm-hal-manager.c
7356                 - (device_removed, finalize, nm_manager_remove_device,
7357                    nm_manager_sleep): add a 'deactivate' argument to 
7358                    nm_manager_remove_device() to fully deactivate devices when necessary
7359                    (ie, always except when waking up)
7360
7361 2007-10-16  Dan Williams  <dcbw@redhat.com>
7362
7363         * libnm-util/nm-setting.c
7364                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7365                         also isn't valid phase2 autheap method
7366
7367 2007-10-16  Dan Williams  <dcbw@redhat.com>
7368
7369         * libnm-glib/nm-client.c
7370                 - (update_wireless_status): consolidate updates of wireless status
7371                 - (constructor): use update_wireless_status()
7372                 - (manager_running): set wireless status off when NM goes away; requery
7373                         the wireless status when NM comes back
7374
7375 2007-10-16  Dan Williams  <dcbw@redhat.com>
7376
7377         * libnm-glib/nm-client.c
7378                 - (nm_client_activate_device): actually use the fixed-up specific
7379                         object path
7380
7381 2007-10-16  Dan Williams  <dcbw@redhat.com>
7382
7383         * src/nm-hal-manager.c
7384                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7385                         killswitch error messages once
7386
7387 2007-10-16  Dan Williams  <dcbw@redhat.com>
7388
7389         * src/nm-manager.c
7390                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7391                         if it's disabled in hardware; don't touch network devices while
7392                         NM is asleep
7393
7394 2007-10-16  Dan Williams  <dcbw@redhat.com>
7395
7396         * libnm-util/nm-client.c
7397                 - (nm_client_activate_device): convert NULL specific_object to "/",
7398                         which is used in place of NULL
7399
7400         * src/nm-manager.c
7401                 - (impl_manager_activate_device): convert "/" specific_object back into
7402                         NULL
7403
7404 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7405
7406         Implement a generic NMSetting creator from setting name.
7407         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7408         add a virtual function 'populate_fn'.
7409
7410         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7411         (register_default_creators): Register setting creators instead of functions
7412         that create and then populate.
7413         (parse_one_setting): Use the common setting creator and then setting specific
7414         poplulation function.
7415
7416         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7417         they all looked exactly the same.
7418         Add a 'populate_fn' virtual function to NMSetting.
7419         Use default virtual functions in case they are not overriden.
7420         (nm_setting_populate_from_hash): Implement.
7421
7422         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7423         name, use a defined string.
7424         (real_act_stage4_get_ip4_config): Ditto.
7425
7426 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7427
7428         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7429         HAL is int, not uint.
7430
7431 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7432
7433         Implement killswitch polling through HAL.
7434
7435         * src/nm-manager.c: Add wireless hardware status property. Add 
7436         'properties-changed' signal for changes in wireless and wireless hardware
7437         state changes.
7438
7439         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7440         and update NMManager's wireless hardware state when it has changed.
7441         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7442         already does that.
7443
7444         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7445         values of wireless state and wireless hardware state. Listen for the
7446         'properties-changed' signals, update the cached values and emit notify.
7447
7448         * include/NetworkManager.h: Fix a typo in a comment.
7449
7450 2007-10-14  Dan Williams  <dcbw@redhat.com>
7451
7452         * libnm-util/nm-setting.c
7453                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7454
7455 2007-10-13  Dan Williams  <dcbw@redhat.com>
7456
7457         * libnm-util/nm-setting.h
7458           libnm-util/nm-setting.c
7459           src/supplicant-manager/nm-supplicant-config.c
7460                 - Make the 'proto' field of the 802-11-wireless-security field a
7461                         string list
7462
7463 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7464
7465         Rework the "properties-changed" signal listening implementation.
7466         Add a generic implementation to NMObject class that listens for
7467         the signal and calls property setters of the target NMObject.
7468
7469         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7470
7471         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7472         code to the end of file so that all the static functions are available
7473         without extra declarations.
7474         Remove the "properties-changed" signal handling and use the framework from
7475         NMObject.
7476         Implement property setters for properties that change with 
7477         "properties-changed" signal.
7478
7479         * libnm-glib/nm-access-point.c: Ditto.
7480
7481 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7482
7483         Rework the "properties-changed" signal implementation.
7484         In classes that need to use it, just emit "GObject::notify" and the new
7485         framework takes care of the rest to make the signal available on dbus.
7486         The framework queues the notifications and tries to send as many together
7487         in one signal as possible.
7488
7489         * src/nm-properties-changed-signal.c:
7490         * src/nm-properties-changed-signal.h: Implement.
7491
7492         * src/Makefile.am: Add new files to build.
7493
7494         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7495         signal.
7496
7497         * src/nm-device-802-11-wireless.c: Ditto.
7498
7499 2007-10-10  Dan Williams  <dcbw@redhat.com>
7500
7501         * src/nm-manager.c
7502                 - (wait_for_connection_expired): ensure info is valid
7503                 - (connection_added_default_handler): Should only remove pending
7504                         connection info when the manager has the connection that it's
7505                         waiting for.  Fixes segfault in wait_for_connection_info().  
7506
7507 2007-10-10  Dan Williams  <dcbw@redhat.com>
7508
7509         * libnm-util/nm-setting.c
7510           libnm-util/nm-setting.h
7511                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7512                         can use if they choose.  Should be filled in by the settings service
7513                         on-the-fly with the currently logged in user's username
7514
7515 2007-10-10  Dan Williams  <dcbw@redhat.com>
7516
7517         * src/nm-device-802-11-wireless.c
7518                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7519                         as such, because even if the manager fills in the SSID, NM still
7520                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7521                         its SSID
7522
7523 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7524
7525         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7526         code that used NM's own version of dbus signal handling and custom dictionary
7527         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7528         and we get to maintain over 2000 lines less code.
7529
7530         * libnm-util/dbus-dict-helpers.c:
7531         * libnm-util/dbus-dict-helpers.h: Remove.
7532
7533         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7534
7535         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7536
7537         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7538         handlers.
7539
7540         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7541
7542         * configure.in: Remove test/libnm-util/Makefile creation.
7543
7544         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7545
7546         * test/libnm-util/: Remove the whole directory.
7547
7548 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7549
7550         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7551         device_state_changed_idle_id variable or it would contain some random value and the
7552         schedule_change_check calls would not do anything.
7553
7554 2007-10-09  Dan Williams  <dcbw@redhat.com>
7555
7556         * src/nm-device-802-11-wireless.c
7557                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7558                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7559                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7560                         merging of non-SSID-broadcasting APs
7561
7562 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7563
7564         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7565         "guint8 *" since it's usually used with GByteArray->data.
7566         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7567
7568 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7569
7570         * src/NetworkManagerUtils.c
7571         (nm_utils_is_empty_ssid):
7572         (nm_utils_escape_ssid):
7573         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7574         lot of places, so they belong to libnm-utils instead.
7575
7576         Now with 100% less compiler warnings:
7577
7578         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7579         (nm_dbus_unescape_object_path): Ditto.
7580         (nm_utils_ssid_to_utf8): Ditto.
7581         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7582         (nm_utils_escape_ssid): Ditto.
7583         (nm_utils_same_ssid): Ditto.
7584
7585         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7586         (add_one_connection_element): Remove an unused variable.
7587         (impl_manager_get_active_connections): Ditto.
7588
7589         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7590         variable.
7591
7592         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7593         from the previous commit.
7594
7595         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7596         (real_act_stage1_prepare): Ditto.
7597         (activation_success_handler): Ditto.
7598         (get_property): Ditto.
7599
7600         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7601         variable.
7602
7603         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7604         it's always set.
7605
7606         * src/supplicant-manager/nm-supplicant-config.c 
7607         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7608         to expected "char *".
7609         (nm_supplicant_config_add_setting_wireless): Ditto.
7610         (nm_supplicant_config_remove_option): Remove, not used.
7611
7612         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7613         not double.
7614         (test_wireless_enabled): Ifdef out unused function.
7615         (device_deactivate): Ditto.
7616         (device_state_changed): Ditto.
7617         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7618         (nm_utils_escape_ssid): Ditto.
7619
7620         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7621         (nm_utils_is_empty_ssid): Ditto.
7622
7623         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7624         unused variable.
7625
7626         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7627         (setting_vpn_properties_update_secrets): Ditto.
7628         (int_to_gvalue): Ifdef out for now, not used.
7629         (byte_to_gvalue): Ditto.
7630
7631         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7632         Unused, remove.
7633
7634 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7635
7636         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7637         about dbus manager, not named manager.
7638         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7639
7640         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7641         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7642         However, the same signal is emitted when we destroy it and there's 
7643         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7644
7645         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7646         releasing the DBusGConnection, since proxy needs a conneciton.
7647         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7648
7649 2007-10-08  Dan Williams  <dcbw@redhat.com>
7650
7651         * src/NetworkManager.c
7652                 - (main): error on unknown command-line options
7653
7654 2007-10-08  Dan Williams  <dcbw@redhat.com>
7655
7656         Reimplement the invalid connection list.  Don't try to re-activate a
7657         connection that just failed or was canceled.
7658
7659         * src/nm-device.c
7660                 - (connection_secrets_failed_cb): fail device activation, don't just
7661                         deactivate the device.  Listeners have to know about the failure.
7662
7663         * src/NetworkManagerPolicy.c
7664                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7665                         the connection list given to a device's get_best_connection()
7666                         method
7667                 - (device_state_changed): tag failed connections as invalid; clear the
7668                         tag from successful connections
7669
7670 2007-10-08  Dan Williams  <dcbw@redhat.com>
7671
7672         Fix problems with interrupted activation.  Previously, choosing an AP
7673         from the menu, then choosing another one before the first connection was
7674         successful wouldn't deactivate the device before starting the new connection
7675         on that same device.
7676
7677         * src/NetworkManagerPolicy.c
7678                 - (deactivate_old_device, device_state_changed, state_changed,
7679                    nm_policy_new): wrong place to deactivate old devices
7680
7681         * src/nm-manager.c
7682                 - (pending_connection_info_destroy, finalize,
7683                    wait_for_connection_expired): decouple destruction of the pending
7684                         connection info from the manager device
7685                 - (connection_added_default_handler): deactivate any active or
7686                         activating device before starting a new activation
7687                 - (impl_manager_activate_device): deactivate any active or activating
7688                         device before starting a new activation; be sure not to leak
7689                         pending connection info if a new activation request arrives but
7690                         there's already a pending one in-process
7691
7692 2007-10-08  Dan Williams  <dcbw@redhat.com>
7693
7694         * src/NetworkManagerAP.h
7695           src/NetworkManagerAP.c
7696                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7697                         should handle default SSIDs and whether or not to autoconnect
7698                         to them
7699
7700 2007-10-08  Dan Williams  <dcbw@redhat.com>
7701
7702         * src/NetworkManagerPolicy.c
7703                 - (nm_policy_device_change_check): print out connection name where
7704                         possible
7705
7706 2007-10-08  Dan Williams  <dcbw@redhat.com>
7707
7708         * src/nm-device-802-11-wireless.c
7709           src/nm-device-802-11-wireless.h
7710                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7711                         'hidden-ap-found' signal (for internal use only) that allows the
7712                         NMManager to fill in the AP's SSID if a connection has that AP's
7713                         BSSID in its seen-bssids list
7714
7715         * src/nm-manager.c
7716                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7717                         wireless device's hidden-ap-found signal and fill in the APs SSID
7718                         if possible
7719
7720 2007-10-07  Dan Williams  <dcbw@redhat.com>
7721
7722         * src/nm-manager.c
7723           src/nm-manager.h
7724                 - Add a 'connections-added' signal to batch together updates of large
7725                         numbers of connections, like when reading from a settings service
7726                         the first time.  Otherwise, the policy would just activate the first
7727                         suitable connection it saw rather than waiting for the full list
7728                         to arrive.
7729                 - (nm_manager_class_init): register new signal
7730                 - (get_type_for_proxy, connection_get_settings_cb,
7731                    get_connection_for_proxy): centralize places where a proxy's setting
7732                         service is determined
7733                 - (free_get_settings_info): if the call being freed is the last call
7734                         in a pending call group, fire off the connections-added signal
7735                 - (internal_new_connection_cb): add call to a pending call group if
7736                         requested
7737                 - (list_connections_cb): always create a call group here, because this
7738                         call results in a batch of new connections
7739                 - (initial_get_connections): start getting system connections first
7740                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7741                         removed signal when destroying connections
7742
7743         * src/NetworkManagerPolicy.c
7744                 - (nm_policy_new, connections_added): handle connections-added signal
7745                         from the manager
7746
7747 2007-10-06  Dan Williams  <dcbw@redhat.com>
7748
7749         * src/nm-device-802-11-wireless.c
7750                 - (constructor): fix leaked socket
7751
7752 2007-10-06  Dan Williams  <dcbw@redhat.com>
7753
7754         * src/NetworkManagerPolicy.c
7755                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7756                         connection in the list returned by nm_manager_get_connections() is
7757                         reffed, but they weren't getting unreffed before returning
7758
7759 2007-10-06  Dan Williams  <dcbw@redhat.com>
7760
7761         * src/nm-manager.c
7762                 - (connections_to_slist): sort connections first on autoconnect, then
7763                         on timestamp
7764
7765 2007-10-06  Dan Williams  <dcbw@redhat.com>
7766
7767         * libnm-util/nm-connection.c
7768                 - (gvalue_to_string): handle UINT64
7769
7770 2007-10-06  Dan Williams  <dcbw@redhat.com>
7771
7772         * src/NetworkManagerPolicy.c
7773                 - (connection_updated, nm_policy_new): recheck state when a connection
7774                         gets updated
7775
7776 2007-10-06  Dan Williams  <dcbw@redhat.com>
7777
7778         * src/nm-manager.c
7779           src/nm-manager.h
7780                 - (nm_manager_get_connection_dbus_path): make static
7781                 - (nm_manager_update_connections): remove; unused
7782                 - Add a connection-updated signal
7783                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7784                         handle connection object updates
7785
7786 2007-10-06  Dan Williams  <dcbw@redhat.com>
7787
7788         * src/NetworkManagerPolicy.c
7789                 - (connection_removed): deactivate removed connections
7790
7791 2007-10-06  Dan Williams  <dcbw@redhat.com>
7792
7793         * libnm-util/nm-connection.c
7794           libnm-util/nm-connection.h
7795                 - (nm_connection_replace_settings): new function
7796
7797 2007-10-06  Dan Williams  <dcbw@redhat.com>
7798
7799         * libnm-glib/nm-device-802-11-wireless.c
7800                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7801                         on error when getting the active access point over D-Bus from NM
7802
7803 2007-10-05  Dan Williams  <dcbw@redhat.com>
7804
7805         * libnm-util/nm-setting.c
7806                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7807                         to the NMSettingWireless table; it's now a string array not an array
7808                         of byte arrays
7809
7810 2007-10-05  Dan Williams  <dcbw@redhat.com>
7811
7812         * libnm-glib/nm-device-802-11-wireless.c
7813                 - Cache properties and update cached properties on D-Bus signals from NM
7814
7815 2007-10-05  Dan Williams  <dcbw@redhat.com>
7816
7817         * src/nm-device-802-11-wireless.c
7818                 - (set_current_ap): consolidate current_ap handling code into one place
7819                         to ensure that PropertiesChanged signals are emitted in all cases
7820                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7821                    nm_device_802_11_wireless_dispose): use set_current_ap()
7822
7823 2007-10-05  Dan Williams  <dcbw@redhat.com>
7824
7825         * libnm-glib/nm-access-point.c
7826           libnm-glib/nm-access-point.h
7827                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7828                         because the value is cached internally now.  Callers should not
7829                         free the internal value.
7830                 - Make signal name defines private
7831
7832         * test/nm-tool.c
7833           libnm-glib/libnm-glib-test.c
7834                 - Don't free value returned from nm_access_point_get_hw_address()
7835
7836 2007-10-04  Dan Williams  <dcbw@redhat.com>
7837
7838         * introspection/nm-device-802-11-wireless.xml
7839           src/nm-device-802-11-wireless.h
7840           src/nm-device-802-11-wireless.c
7841                 - Add a PropertiesChanged signal for wireless device
7842                 - Store currently associated access point
7843                 - (periodic_update): generalize; update rate here too and emit the
7844                         correct PropertiesChanged signal when stuff changes
7845                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7846                    real_activation_cancel_handler): clear current_ap when device is
7847                         deactivated
7848                 - (link_to_specific_ap, get_ap_blacklisted,
7849                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7850                         code
7851                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7852                         outside this file
7853                 - (real_set_hw_address): emit property changed signal if the card's
7854                         MAC address changes
7855                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7856                         the card is supposed to be connecting to
7857                 - (activation_success_handler): send out property updates on successful
7858                         activation
7859                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7860                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7861                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7862                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7863                         is now boxed; add PropertiesChanged signal
7864
7865 2007-10-04  Dan Williams  <dcbw@redhat.com>
7866
7867         * libnm-util/nm-connection.c
7868           libnm-util/nm-connection.h
7869                 - (nm_connection_verify): new function
7870
7871 2007-10-04  Dan Williams  <dcbw@redhat.com>
7872
7873         * libnm-util/nm-setting.c
7874                 - (nm_settings_verify): use #defines when possible rather than strings
7875                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7876                 - (setting_vpn_verify): tighter validity check on 'service_type'
7877
7878 2007-10-04  Dan Williams  <dcbw@redhat.com>
7879
7880         * libnm-glib/nm-settings.c
7881                 - (nm_connection_settings_class_init): provide correct type for argument
7882                         to the Updated signal so that dbus-glib knows how to marshal it
7883
7884 2007-10-03  Dan Williams  <dcbw@redhat.com>
7885
7886         * src/nm-device-802-3-ethernet.c
7887                 - (real_get_best_connection): don't create automatic connections
7888                         internally; clients should provide a setting that applies to
7889                         the device with 'autoconnect: True'.  Problem was that these
7890                         internally auto-created connections don't have a proxy or service
7891                         name becuase they weren't created by a settings daemon, and therefore
7892                         clients have no idea what to do with them.
7893
7894 2007-10-03  Dan Williams  <dcbw@redhat.com>
7895
7896         * src/nm-device-802-11-wireless.c
7897           src/nm-device-802-11-wireless.h
7898           introspection/nm-device-802-11-wireless.xml
7899                 - GetActiveNetworks -> GetAccessPoints
7900                 - ActiveNetwork -> ActiveAccessPoint
7901                 - NetworkAdded -> AccessPointAdded
7902                 - NetowrkRemoved -> AccessPointRemoved
7903
7904         * libnm-glib/nm-device-802-11-wireless.c
7905           libnm-glib/nm-device-802-11-wireless.h
7906                 - network-added signal -> access-point-added
7907                 - network-removed signal -> access-point-removed
7908                 - nm_device_802_11_wireless_get_active_network() ->
7909                         nm_device_802_11_wireless_get_active_access_point()
7910                 - nm_device_802_11_wireless_get_network_by_path() ->
7911                         nm_device_802_11_wireless_get_access_point_by_path()
7912                 - nm_device_802_11_wireless_get_networks() ->
7913                         nm_device_802_11_wireless_get_access_points()
7914
7915         * libnm-glib/libnm-glib-test.c
7916           test/nm-tool.c
7917           src/NetworkManagerPolicy.c
7918                 - Fixups for Network -> AccessPoint
7919
7920 2007-10-03  Dan Williams  <dcbw@redhat.com>
7921
7922         Add a GetActiveConnections() method on the Manager object.
7923
7924         * src/nm-manager.c
7925           src/nm-manager.h
7926           introspection/nm-manager.xml
7927                 - (connection_get_settings_cb): keep connection type around too
7928                 - (impl_manager_get_active_connections, add_one_connection_element):
7929                         implement; returns all active connections and what devices they
7930                         apply to
7931
7932         * libnm-glib/nm-client.c
7933           libnm-glib/nm-client.h
7934           introspection/nm-manager-client.xml
7935                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7936                         by the caller; free here to avoid memory leak
7937                 - (nm_client_get_active_connections): implement; return the list of
7938                         active connections
7939                 - (nm_client_free_active_connection_element): implement; free an element
7940                         of the GSList returned by nm_client_get_active_connections()
7941
7942 2007-10-03  Dan Williams  <dcbw@redhat.com>
7943
7944         * src/nm-device-802-11-wireless.c
7945                 - (nm_device_802_11_wireless_update_bssid): remove
7946                 - (get_active_ap): new function; find the AP in the scan list which
7947                         matches the current BSSID and SSID of the wireless device
7948                 - (nm_device_802_11_periodic_update): get current AP using
7949                         get_active_ap() and print AP roam messages
7950
7951 2007-10-01  Dan Williams  <dcbw@redhat.com>
7952
7953         * libnm-util/nm-setting.h
7954                 - Add a 'timestamp' option to NMSettingConnection
7955                 - Add a UINT64 type
7956
7957         * libnm-util/nm-setting.c
7958                 - (uint64_to_gvalue): new function
7959                 - (nm_setting_populate_from_hash, nm_setting_hash,
7960                    default_setting_clear_secrets): handle UINT64 type
7961                 - con_table: add 'timestamp' member
7962
7963 2007-10-01  Dan Williams  <dcbw@redhat.com>
7964
7965         * src/nm-manager.c
7966                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7967                         value when the connection can be activated immediately
7968
7969 2007-10-01  Dan Williams  <dcbw@redhat.com>
7970
7971         * libnm-glib/nm-device.c
7972                 - (nm_device_class_init): actually tell glib about the carrier-changed
7973                         signal
7974
7975 2007-10-01  Dan Williams  <dcbw@redhat.com>
7976
7977         * configure.in
7978           src/marshallers/Makefile.am
7979           src/marshallers/nm-marshal.list
7980           src/marshallers/nm-marshal-main.c
7981                 - Consolidate glib marshallers into one place
7982
7983         * src/dhcp-manager/Makefile.am
7984           src/dhcp-manager/nm-dhcp-manager.c
7985           src/supplicant-manager/Makefile.am
7986           src/supplicant-manager/nm-supplicant-manager.c
7987           src/supplicant-manager/nm-supplicant-interface.c
7988           src/ppp-manager/Makefile.am
7989           src/ppp-manager/nm-ppp-manager.c
7990           src/vpn-manager/Makefile.am
7991           src/vpn-manager/nm-vpn-connection.c
7992           src/Makefile.am
7993                 - Use consolidated marshallers
7994
7995         * src/dhcp-manager/nm-dhcp-marshal.list
7996           src/dhcp-manager/nm-dhcp-marshal-main.c
7997           src/supplicant-manager/nm-supplicant-marshal-main.c
7998           src/supplicant-manager/nm-supplicant-marshal.list
7999           src/nm-marshal-main.c
8000           src/nm-marshal.list
8001           src/ppp-manager/nm-ppp-marshal-main.c
8002           src/ppp-manager/nm-ppp-marshal.list
8003           src/vpn-manager/nm-vpn-marshal-main.c
8004           src/vpn-manager/nm-vpn-marshal.list
8005                 - Remove
8006
8007 2007-10-01  Dan Williams  <dcbw@redhat.com>
8008
8009         * include/NetworkManagerVPN.h
8010                 - define VPN connection state change reason codes
8011
8012         * src/vpn-manager/Makefile.am
8013           src/vpn-manager/nm-vpn-marshal.list
8014           src/vpn-manager/nm-vpn-marshal-main.c
8015                 - Add marshallers for StateChanged signal
8016
8017         * introspection/nm-vpn-connection.xml
8018                 - New Banner property
8019                 - StateChanged signal now includes a 'reason' argument
8020
8021         * src/vpn-manager/nm-vpn-connection.c
8022           src/vpn-manager/nm-vpn-connection.h
8023                 - Add a "Banner" property that contains the returned VPN server login
8024                         banner (if any); valid only in the ACTIVATED state
8025                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8026                         a 'reason' argument and emits that reason along with the
8027                         state-changed signal
8028                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8029                 - (nm_vpn_connection_ip4_config_get): save banner for later
8030                 - (nm_vpn_connection_get_banner, get_property,
8031                    nm_vpn_connection_class_init): implement Banner property
8032
8033         * src/vpn-manager/nm-vpn-service.c
8034                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8035                         connection list because elements may get added/removed from it
8036                         while iterating over the list
8037                 - (connection_state_changed): signal now includes the 'reason' argument
8038
8039         * libnm-glib/nm-vpn-connection.c
8040           libnm-glib/nm-vpn-connection.h
8041                 - (nm_vpn_connection_get_banner): new function
8042                 - (state_changed_proxy): handle reason argument
8043
8044 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8045
8046         * src/nm-manager.c:
8047         * src/nm-manager.h:
8048         Implement device activation through NMManager.
8049         Implement "pending device activation" here - If the connection isn't found,
8050         we try to wait for up to 5 seconds for the connection to be provided.
8051         Add NMConnectionType argument to "connection-added" and "connection-removed"
8052         signals.
8053         (nm_manager_get): Remove. Finally.
8054
8055         * src/nm-activation-request.c: 
8056         * src/nm-activation-request.h: 
8057         Remove all the deferred activation code.
8058
8059         * src/nm-device.c: Remove all the deferred activation code. Once the device
8060         activation is started, it's started. Update the activation virtual function
8061         signature.
8062
8063         * src/nm-device-interface.c:
8064         * src/nm-device-interface.h:
8065         Device activation now takes only NMActRequest argument.
8066         Don't expose device activation directly on dbus, it's supposed to go through
8067         NMManager now.
8068
8069         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8070         a bit more compact.
8071         Use the new device activation methods through NMManager.
8072
8073         * introspection/nm-manager-client.xml: 
8074         * introspection/nm-manager.xml: 
8075         * libnm-glib/nm-client.c:
8076         * libnm-glib/nm-client.h:
8077         Add device activation method.
8078         
8079         * libnm-glib/nm-device.c: 
8080         * libnm-glib/nm-device.h: 
8081         * introspection/nm-device.xml: 
8082         Remove device activation method. It's done through NMManager now.
8083
8084         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8085         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8086
8087 2007-09-28  Dan Williams  <dcbw@redhat.com>
8088
8089         * libnm-glib/nm-vpn-connection.c
8090                 - (nm_vpn_connection_get_state): try to update state if the current
8091                         state is UNKNOWN
8092
8093 2007-09-27  Dan Williams  <dcbw@redhat.com>
8094
8095         Patch from Bill Nottingham
8096
8097         * src/supplicant-manager/nm-supplicant-config.c
8098                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8099                         data to the supplicant
8100
8101 2007-09-27  Dan Williams  <dcbw@redhat.com>
8102
8103         * src/NetworkManagerSystem.c
8104                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8105                         and all address manipulation here should be happening on the
8106                         _VPN_ device, not the active device
8107
8108 2007-09-26  Dan Williams  <dcbw@redhat.com>
8109
8110         * src/nm-manager.c
8111           src/nm-manager.h
8112           src/nm-activation-request.c
8113           src/nm-activation-request.h
8114                 - Move the GetSecrets stuff out of the NMManager instance because it
8115                         doesn't really need to be there and complicates things
8116
8117         * src/nm-device.c
8118                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8119                         connection-secrets-failed signal and deactivate the device if
8120                         the GetSecrets call fails
8121
8122         * src/nm-device-802-11-wireless.c
8123                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8124                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8125                         secrets and give correct hints about whether new secrets should be
8126                         asked for by the client or not
8127
8128 2007-09-26  Dan Williams  <dcbw@redhat.com>
8129
8130         * src/vpn-manager/nm-vpn-connection.c
8131                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8132                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8133                         to the secrets-updated signal of the NMConnection since updating
8134                         the secrets is done within the scope of the NMVPNConnection object
8135                         already
8136                 - (get_connection_secrets): fix an uninialized variable usage error
8137
8138 2007-09-26  Dan Williams  <dcbw@redhat.com>
8139
8140         * libnm-util/nm-setting.c
8141                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8142                         actually get updated when the user enters them
8143
8144 2007-09-26  Dan Williams  <dcbw@redhat.com>
8145
8146         * libnm-glib/nm-vpn-plugin.c
8147                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8148
8149 2007-09-26  Dan Williams  <dcbw@redhat.com>
8150
8151         * include/NetworkManagerVPN.h
8152                 - Add a NEED_AUTH state
8153
8154         * src/vpn-manager/nm-vpn-connection.c
8155                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8156                         the connection needs secrets, and if so, then ask the settings
8157                         service to fill in the secrets.  Then start the connection.
8158
8159 2007-09-26  Dan Williams  <dcbw@redhat.com>
8160
8161         * src/vpn-manager/nm-vpn-manager.c
8162                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8163
8164 2007-09-26  Dan Williams  <dcbw@redhat.com>
8165
8166         * introspection/nm-vpn-plugin.xml
8167           libnm-glib/nm-vpn-plugin.c
8168           libnm-glib/nm-vpn-plugin.h
8169                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8170                         the name of the NMSetting in an NMConnection that may require
8171                         secrets specific to that VPN plugin
8172
8173 2007-09-26  Dan Williams  <dcbw@redhat.com>
8174
8175         * src/nm-manager.c
8176           src/nm-manager.h
8177                 - (nm_manager_get_connection_secrets): make static, unused outside
8178                         the file
8179                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8180
8181 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8182
8183         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8184         method.
8185         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8186         unreference the connection.
8187
8188         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8189         passing properties hash and routes string list, pass NMConnection (in hashed form).
8190
8191         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8192         as GSList, no need to copy stuff around anymore.
8193         (nm_vpn_connection_activate): Update the plugin activation method.
8194
8195         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8196         routes argument to GSList.
8197
8198 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8199
8200         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8201         state and try to get the secrets.
8202
8203         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8204         connections from NMManager and let the device to choose the best from the list.
8205         Since the connection list is sorted by system ones first and user ones later,
8206         the devices still prefer system connections like they did before.
8207         (deactivate_old_device): Implement. When a device starts activation, we have a
8208         policy (for now at least) to deactivate any other device that might be either
8209         active or still activating.
8210
8211         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8212         It's set on construction, there will be no other way to access it.
8213
8214         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8215         device events and drive the device, not the other way around.
8216
8217         * src/nm-device-802-3-ethernet.c: Ditto.
8218
8219         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8220         sent along, pass it on to virtual functions.
8221
8222         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8223         for now, but should really be public instead of nm_device_get_iface() since iface
8224         is a property of the DeviceInterface, not Device.
8225         (impl_device_activate): Don't touch NMManager!
8226
8227 2007-09-26  Jürg Billeter  <j@bitron.ch>
8228
8229         * initscript/paldo/NetworkManager.in:
8230         * initscript/paldo/NetworkManagerDispatcher.in:
8231         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8232         (nm_system_flush_loopback_routes): update paldo backend
8233
8234 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8235
8236         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8237         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8238         which means none of the devices get brought down properly, which in turn leaves
8239         DHCP client running.
8240
8241         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8242         (supplicant_connection_timeout_cb): Ditto.
8243
8244 2007-09-25  Dan Williams  <dcbw@redhat.com>
8245
8246         * src/nm-device.c
8247                 - (device_activation_go): small hack to work around race when
8248                         activating deferred connections; should solve this in a better way
8249
8250 2007-09-25  Dan Williams  <dcbw@redhat.com>
8251
8252         * introspection/nm-device.xml
8253           libnm-glib/nm-device.c
8254           libnm-glib/nm-device.h
8255                 - Add 'Carrier' property to exported NMDevice objects
8256
8257         * src/nm-device-interface.h
8258           src/nm-device-interface.c
8259           src/nm-device.c
8260                 - Add a 'carrier' property to internal NMDevice objects
8261
8262 2007-09-25  Dan Williams  <dcbw@redhat.com>
8263
8264         * src/nm-device-802-11-wireless.c
8265                 - (ap_auth_enforced): also return the encryption status of the AP so
8266                         that callers can differentiate easily between unencrypted APs
8267                         and encrypted ones, in addition to whether the AP has an
8268                         authenticator
8269                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8270                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8271                         previously would request secrets from unencrypted APs at times
8272
8273 2007-09-25  Dan Williams  <dcbw@redhat.com>
8274
8275         * src/nm-manager.c
8276                 - (nm_manager_update_state): new function; updates state and emits
8277                         appropriate signals ensuring a state-change signal for the same state
8278                         never gets emitted twice in a row.
8279                 - (manager_device_state_changed): handle more device state to get a
8280                         better picture of the overall NM state
8281
8282 2007-09-25  Dan Williams  <dcbw@redhat.com>
8283
8284         * libnm-glib/nm-settings.c
8285           libnm-glib/nm-settings.h
8286                 - (new_error -> nm_settings_new_error): make public so that subclasses
8287                         can use the same error domain.  Also pass a valid error code to
8288                         g_error_new_literal() so that libdbus doesn't assert when converting
8289                         the GError into a DBusError
8290                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8291                    impl_connection_settings_get_settings,
8292                    impl_connection_settings_get_secrets): use new error creator
8293                         function
8294
8295 2007-09-25  Dan Williams  <dcbw@redhat.com>
8296
8297         * src/NetworkManager.c
8298                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8299
8300 2007-09-25  Dan Williams  <dcbw@redhat.com>
8301
8302         * src/supplicant-manager/nm-supplicant-manager.c
8303                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8304                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8305                    nm_supplicant_manager_startup): when the supplicant isn't running,
8306                         try to start it periodically via system bus activation.  Fixes
8307                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8308                         for the supplicant to come back
8309
8310 2007-09-25  Dan Williams  <dcbw@redhat.com>
8311
8312         Ensure that old activation requests are forgotten about; previously
8313         hitting Cancel in the password dialog would deactivate whatever device
8314         that password was requested for, even if that wasn't the currently
8315         activating connection.
8316
8317         * src/nm-manager.c
8318           src/nm-manager.h
8319                 - (nm_manager_get_connection_secrets): track the pending call
8320                         object so it can be canceled later if needed
8321                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8322                         GetSecrets call for a particular connection
8323
8324         * src/nm-activation-request.c
8325                 - (dispose): cancel any outstanding GetSecrets calls on the
8326                         connection
8327
8328 2007-09-25  Dan Williams  <dcbw@redhat.com>
8329
8330         * src/NetworkManagerPolicy.c
8331                 - (nm_policy_device_change_check): handle devices that have a
8332                         deferred activation.  These devices are not really active _yet_,
8333                         but need to be treated as such here.  Don't interrupt them
8334                         automatically.
8335
8336         * src/nm-device-interface.c
8337                 - (impl_device_activate): handle devices that have a deferred activation
8338                         like activating or active devices.  When multiple active devices
8339                         get committed, the device shouldn't be deactivated until the
8340                         connection details are available to avoid DoS and such.  Currently,
8341                         any active, activating, or deferred activation device is deactivated
8342                         here before starting the new activation request.
8343
8344 2007-09-25  Dan Williams  <dcbw@redhat.com>
8345
8346         Properly re-query secrets from the settings daemon when stuff fails.
8347
8348         * src/nm-device-802-11-wireless.c
8349                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8350                         between Shared Key and Open System auth modes
8351                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8352                    real_act_stage4_ip_config_timeout): clear existing secrets and
8353                         request new ones when something fails due to a suspected wrong key
8354                 - (real_act_stage2_config): fix for new request_new argument to
8355                         nm_manager_get_connection_secrets()
8356
8357         * src/nm-manager.c
8358           src/nm-manager.h
8359                 - (nm_manager_get_connection_secrets): return error status; pass
8360                         new request_new argument on to the settings daemon
8361
8362         * introspection/nm-settings-connection.xml
8363                 - New 'request_new' argument to the GetSecrets call that hints to the
8364                         settings daemon to ask the user for completely new secrets
8365
8366         * libnm-glib/nm-settings.c
8367           libnm-glib/nm-settings.h
8368                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8369                         argument
8370
8371 2007-09-25  Dan Williams  <dcbw@redhat.com>
8372
8373         * libnm-util/nm-connection.c
8374           libnm-util/nm-connection.h
8375                 - (nm_connection_clear_secrets): new function; clear secrets out of
8376                         each NMSetting in an NMConnection
8377
8378         * libnm-util/nm-setting.h
8379           libnm-util/nm-setting.c
8380                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8381                         secrets out of an NMSetting
8382                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8383                    nm_setting_wired_new, nm_setting_wireless_new,
8384                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8385                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8386                         to default handler default_setting_clear_secrets()
8387
8388 2007-09-25  Dan Williams  <dcbw@redhat.com>
8389
8390         * src/nm-activation-request.c
8391           src/nm-activation-request.h
8392                 - (nm_act_request_is_deferred): new function
8393
8394 2007-09-24  Dan Williams  <dcbw@redhat.com>
8395
8396         * src/nm-device-802-11-wireless.c
8397                 - (activation_success_handler): update signal strength immediately
8398                         after activation
8399
8400 2007-09-24  Dan Williams  <dcbw@redhat.com>
8401
8402         * libnm-util/nm-setting.c
8403                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8404
8405 2007-09-24  Dan Williams  <dcbw@redhat.com>
8406
8407         * src/NetworkManagerPolicy.c
8408                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8409                         device by deactivating it because it doesn't have a "best connection".
8410                         Since autoconnect=False connections aren't automatically chosen,
8411                         NM would interrupt activation of such a connection because it
8412                         would never be "best" due to autoconnect=False.
8413
8414 2007-09-24  Dan Williams  <dcbw@redhat.com>
8415
8416         * src/nm-manager.c
8417                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8418                         actually has some time to enter a key before the GetSecrets call
8419                         times out
8420
8421 2007-09-24  Dan Williams  <dcbw@redhat.com>
8422
8423         * introspection/nm-manager.xml
8424           src/nm-manager.c
8425                 - (impl_manager_legacy_state): fix 'state' method call return value
8426
8427 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8428
8429         * test/Makefile.am: Install nm-tool
8430
8431 2007-09-24  Dan Williams  <dcbw@redhat.com>
8432
8433         Patch from Ross Burton <ross@burtonini.com>
8434
8435         * test/nm-tool.c
8436           callouts/nm-dhcp-client-action.c
8437           src/nm-netlink.c
8438           src/vpn-manager/nm-vpn-connection.c
8439           libnm-glib/libnm-glib-test.c
8440                 - warning fixes
8441
8442 2007-09-24  Dan Williams  <dcbw@redhat.com>
8443
8444         * libnm-util/nm-utils.h
8445           libnm-util/nm-utils.c
8446                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8447                         remove, unused
8448
8449 2007-09-23  Dan Williams  <dcbw@redhat.com>
8450
8451         * vpn-daemons/vpnc/properties/nm-vpnc.c
8452                 - Update for new VPN properties API bits; instead of passing around
8453                         a lot of random things, everything goes into the NMConnection
8454                         object.
8455
8456 2007-09-23  Dan Williams  <dcbw@redhat.com>
8457
8458         * libnm-util/nm-setting.c
8459                 - Correctly dispose of settings objects if creating them from a hash
8460                         table fails
8461
8462 2007-09-23  Dan Williams  <dcbw@redhat.com>
8463
8464         * libnm-util/nm-setting.c
8465                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8466                         the hash table in a standard manner.  Clients of libnm-util should
8467                         only call g_hash_table_remove_all(), never destroy the hash table
8468                         and recreate it.
8469
8470 2007-09-22  Dan Williams  <dcbw@redhat.com>
8471
8472         * src/nm-device-802-11-wireless.c
8473                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8474                         real reason to do it so often, and reduces wakeups for clients.
8475
8476 2007-09-21  Dan Williams  <dcbw@redhat.com>
8477
8478         * src/nm-device-802-11-wireless.c
8479                 - (build_supplicant_config): wpa_supplicant requires the option
8480                         key_mgmt=NONE for unencrypted networks
8481                 - (real_act_stage2_config): clarify log message on activation
8482
8483 2007-09-21  Dan Williams  <dcbw@redhat.com>
8484
8485         * test/nm-supplicant-test.c
8486           test/Makefile.am
8487                 - Remove supplicant test binary; no longer applicable
8488
8489 2007-09-21  Dan Williams  <dcbw@redhat.com>
8490
8491         * src/supplicant-manager/nm-supplicant-manager.c
8492                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8493                         activate it on the system bus
8494
8495 2007-09-20  Dan Williams  <dcbw@redhat.com>
8496
8497         * initscript/RedHat/NetworkManager.in
8498                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8499
8500 2007-09-20  Dan Williams  <dcbw@redhat.com>
8501
8502         * src/nm-device.c
8503                 - (nm_device_is_activating): work around a race between auto-activation
8504                         and the user activating the same device that is being auto-activated
8505
8506 2007-09-20  Dan Williams  <dcbw@redhat.com>
8507
8508         * src/nm-device-interface.c
8509                 - (impl_device_activate): until multiple active device support lands,
8510                         ensure only one device can be active at a time
8511
8512 2007-09-20  Dan Williams  <dcbw@redhat.com>
8513
8514         * src/supplicant-manager/nm-supplicant-config.c
8515           src/supplicant-manager/nm-supplicant-config.h
8516                 - (nm_supplicant_config_add_option): hide secrets from system logs
8517
8518 2007-09-20  Dan Williams  <dcbw@redhat.com>
8519
8520         * src/NetworkManagerPolicy.c
8521                 - (nm_policy_device_change_check): re-enable the wireless device change
8522                         checking code; insted of checking for SSIDs, check for the same
8523                         connection instead
8524
8525 2007-09-20  Dan Williams  <dcbw@redhat.com>
8526
8527         * src/nm-device-802-11-wireless.c
8528                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8529                         composite link state when determining when to start the disconnection
8530                         timer; that link state is already based on the supplicant interface's
8531                         status which is exactly what's already being examined, plus the link
8532                         state is a conglomeration of various things that we don't want here
8533
8534 2007-09-20  Dan Williams  <dcbw@redhat.com>
8535
8536         * libnm-glib/nm-access-point.c
8537                 - (handle_property_changed): strength is a UCHAR
8538
8539 2007-09-20  Dan Williams  <dcbw@redhat.com>
8540
8541         * src/supplicant-manager/nm-supplicant-config.c
8542                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8543                         string list keywords too since that's what wpa_supplicant wants
8544
8545 2007-09-20  Dan Williams  <dcbw@redhat.com>
8546
8547         * libnm-util/nm-setting.c
8548                 - (convert_strv_to_slist): dupe the values in the list because since
8549                         the list is a boxed value, it'll get destroyed when it's container
8550                         (like a hash table or whatever) gets destroyed
8551
8552 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8553
8554         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8555         GSList.
8556
8557         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8558
8559         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8560         just use (g_object_set_data_full).
8561
8562         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8563         that NMSettingVPN->routes is a GSList, convert it to char **.
8564         (nm_vpn_connection_ip4_config_get): Free routes when done.
8565         (nm_vpn_connection_activate): Ditto.
8566
8567         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8568         (real_act_stage2_config): Use defined setting names.
8569
8570 2007-09-20  Dan Williams  <dcbw@redhat.com>
8571
8572         * src/nm-device-802-11-wireless.c
8573           src/nm-manager.c
8574           src/nm-manager.h
8575                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8576                         so that the device can be deactivated if secrets are wrong
8577
8578 2007-09-20  Dan Williams  <dcbw@redhat.com>
8579
8580         * introspection/nm-settings-connection.xml
8581           libnm-glib/nm-settings.c
8582           libnm-glib/nm-settings.h
8583                 - Make GetSecrets asynchronous on the server side
8584
8585 2007-09-20  Dan Williams  <dcbw@redhat.com>
8586
8587         * src/nm-manager.h
8588           src/nm-device.c
8589                 - (nm_device_activate): actually check if a given connection
8590                         exists before assuming it doesn't
8591
8592 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8593
8594         * libnm-util/nm-connection.c (register_default_creators): Use defined
8595         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8596
8597         * libnm-util/nm-setting.c: Define property name strings, use them.
8598         Implement NMSettingVPN and NMSettingVPNProperties settings.
8599         Implement NM_S_TYPE_GVALUE_HASH.
8600         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8601         (setting_connection_verify): Rename 'devtype' property to 'type'.
8602
8603         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8604         properties.
8605
8606         * src/vpn-manager/nm-vpn-service.c: Ditto.
8607
8608         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8609
8610         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8611         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8612
8613         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8614         names. NMSettingConnection->devtype got renamed to 'type'.
8615
8616         * src/nm-device-802-3-ethernet.c (find_best_connection):
8617         (real_get_best_connection): Ditto.
8618
8619         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8620
8621         * libnm-glib/nm-vpn-manager.[ch]: Update.
8622
8623 2007-09-19  Dan Williams  <dcbw@redhat.com>
8624
8625         * src/NetworkManagerAP.c
8626           src/NetworkManagerAP.h
8627           introspection/nm-access-point.xml
8628                 - Change strength-changed signal into a properties-changed signal
8629                         for all properties, not just strength.  Export that signal over dbus
8630                         so listeners don't have to poll NM for changes.
8631                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8632                         get exported over D-Bus, so break up the logic and let other bits
8633                         decided when to export the AP
8634                 - (nm_ap_new_from_ap): remove, unused
8635
8636         * src/nm-device-802-11-wireless.c
8637                 - (merge_scanned_ap): only export APs that are actually on the device
8638                         list, not every AP created internally
8639
8640         * libnm-glib/nm-access-point.c
8641           libnm-glib/nm-access-point.h
8642                 - Cache properties internally and only hit DBus when needed.  Get
8643                         property updates from NM signals
8644
8645 2007-09-16  Dan Williams  <dcbw@redhat.com>
8646
8647         * libnm-util/nm-connection.c
8648           libnm-util/nm-connection.h
8649                 - (nm_connection_for_each_setting_value): new function; iterate over
8650                         each setting's value and call a user-provided function with details
8651                         about that value
8652
8653         * libnm-util/nm-setting.c
8654           libnm-util/nm-setting.h
8655                 - (nm_setting_enumerate_values): new function; enumerate the values
8656                         of a specific NMSetting subclass for a user-provided function with
8657                         details about that value
8658                 - Change wep_tx_keyidx to a uint32
8659                 - Create settings value tables for each setting defining their type,
8660                         key name, offset into the NMSetting subclass' structure, and whether
8661                         they are required and/or a secret
8662                 - (nm_setting_populate_from_hash): generic function to populate an
8663                         NMSetting from a GHash table, make all settings use it
8664                 - (nm_setting_hash): generic function to derive a GHashTable from
8665                         an NMSetting object, make all settings use it
8666
8667 2007-09-14  Dan Williams  <dcbw@redhat.com>
8668
8669         Remove unused stuff in libnm-util
8670
8671         * configure.in
8672           libnm-util/Makefile.am
8673           libnm-util/cipher-private.h
8674           libnm-util/cipher-wep-ascii.c
8675           libnm-util/cipher-wep-ascii.h
8676           libnm-util/cipher-wep-hex.c
8677           libnm-util/cipher-wep-hex.h
8678           libnm-util/cipher-wep-passphrase.c
8679           libnm-util/cipher-wep-passphrase.h
8680           libnm-util/cipher-wpa-psk-hex.c
8681           libnm-util/cipher-wpa-psk-hex.h
8682           libnm-util/cipher-wpa-psk-passphrase.c
8683           libnm-util/cipher-wpa-psk-passphrase.h
8684           libnm-util/cipher.c
8685           libnm-util/cipher.h
8686           libnm-util/dbus-helpers.c
8687           libnm-util/dbus-helpers.h
8688           libnm-util/gnome-keyring-md5.c
8689           libnm-util/gnome-keyring-md5.h
8690           libnm-util/sha1.c
8691           libnm-util/sha1.h
8692           src/nm-device-802-11-wireless.c
8693           test/libnm-util/Makefile.am
8694           test/libnm-util/test-ciphers.c
8695           test/libnm-util/test-dbus-helpers.c
8696           test/libnm-util/test-inputs.h
8697                 - Removed
8698
8699 2007-09-14  Dan Williams  <dcbw@redhat.com>
8700
8701         * libnm-util/dbus-method-dispatcher.c
8702           libnm-util/dbus-method-dispatcher.h
8703                 - Remove, unused
8704
8705 2007-09-14  Dan Williams  <dcbw@redhat.com>
8706
8707         Implement deferred activation support in the device class.
8708
8709         * src/nm-device-interface.c
8710           src/nm-device-interface.h
8711                 - (nm_device_interface_activate): take more arguments to support
8712                         deferred activation; callers must pass one of (connection) OR
8713                         (service_name, connection_path)
8714                 - (impl_device_activate): connection validation is punted to the device
8715                         to be able to handle deferred activation.  Yes, this means errors
8716                         don't get returned from the Activate() dbus call, and yes, that
8717                         should be fixed somehow later.
8718
8719         * src/nm-device.c
8720           src/nm-device.h
8721                 - (clear_act_request): clear additional deferred activation stuff too
8722                 - (deferred_activation_timeout_cb): new function; clean up when
8723                         deferred activation times out.
8724                 - (deferred_activation_start_cb): new function; when the connection
8725                         finally becomes available, start device activation
8726                 - (nm_device_activate): attach to the right signals of the activation
8727                         request if we need to defer activation until the connection is valid
8728
8729         * src/NetworkManagerPolicy.c
8730                 - (nm_policy_device_change_check): update for additional arguments
8731                         required for nm_device_interface_activate().  Pass NULL for these
8732                         though because this function already knows exactly which
8733                         NMConnection to use
8734
8735 2007-09-14  Dan Williams  <dcbw@redhat.com>
8736
8737         Implement deferred activation handling in the NMActRequest class.  When a
8738         client wants to activate a device but must create the NMConnection details
8739         on the fly, there likely hasn't been enough time yet for NM to receive the
8740         new connection signal and grab all the connection details.  So the
8741         activation is deferred (and bounded by a timer) for a while, and if the
8742         connection appears within the window, it is activated.
8743
8744         * src/nm-activation-request.c
8745           src/nm-activation-request.h
8746                 - (nm_act_request_class_init): two new signals to support deferred
8747                         activation, to allow the listener to handle both timeout and success
8748                 - (nm_act_request_new_deferred): new function, starts the deferred
8749                         activation timeout handler and listens to the NMManager for
8750                         new-connection signals to notice when the connection comes in
8751
8752 2007-09-14  Dan Williams  <dcbw@redhat.com>
8753
8754         * src/nm-manager.h
8755           src/nm-manager.c
8756                 - (nm_manager_get_connection_service_name,
8757                    nm_manager_get_connection_dbus_path): get details about a connection
8758                         known internally by the NMManager
8759                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8760                         because NMConnection is now a GObject subclass
8761                 - Use constant for the gobject data tag used on NMConnection objects for
8762                         storing the associated DBusGProxy
8763
8764 2007-09-14  Dan Williams  <dcbw@redhat.com>
8765
8766         * utils/Makefile.am
8767           utils/nm-utils.c
8768           utils/nm-utils.h
8769           src/supplicant-manager/Makefile.am
8770           src/dhcp-manager/Makefile.am
8771           src/backends/Makefile.am
8772           src/named-manager/Makefile.am
8773           src/ppp-manager/Makefile.am
8774           src/vpn-manager/Makefile.am
8775           test/libnm-util/Makefile.am
8776           test/test-common/Makefile.am
8777                 - Remove utils/; it was unused
8778
8779 2007-09-13  Dan Williams  <dcbw@redhat.com>
8780
8781         * libnm-glib/nm-vpn-manager.h
8782           libnm-glib/nm-vpn-manager.c
8783                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8784
8785 2007-09-13  Dan Williams  <dcbw@redhat.com>
8786
8787         * src/nm-device-802-3-ethernet.c
8788                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8789                         netlink monitor carrier signals on dispose, not bring down.  The
8790                         carrier signals should be handled over the entire lifetime of the
8791                         device anyway, not created/destroyed on up or down.
8792
8793 2007-09-13  Dan Williams  <dcbw@redhat.com>
8794
8795         * libnm-glib/nm-device.c
8796           libnm-glib/nm-device.h
8797                 - (nm_device_activate): take a connection object path rather than an
8798                         NMConnection because NMConnection isn't exported over D-Bus and
8799                         therefore it dbus-glib can't automatically get an object path from it
8800
8801 2007-09-13  Dan Williams  <dcbw@redhat.com>
8802
8803         * libnm-util/nm-setting.c
8804                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8805
8806 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8807
8808         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8809
8810 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8811
8812         * src/vpn-manager/nm-vpn-connection.[ch]: 
8813         * src/vpn-manager/nm-vpn-manager.[ch]:
8814         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8815         dbus-glib, GObjects, signals etc.
8816
8817         * libnm-glib/nm-vpn-manager.[ch]: 
8818         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8819         so much, rewrite these too.
8820
8821         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8822         the new introspection files.
8823
8824         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8825
8826         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8827         the header with the same name from libnm-utils.
8828
8829         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8830
8831         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8832
8833         * introspection/nm-vpn-plugin.xml: Implement.
8834
8835         * introspection/nm-vpn-connection.xml: Implement.
8836
8837         * introspection/nm-vpn-manager.xml: Implement.
8838
8839         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8840         the named manager argument, it can just as easily get it as the caller.
8841         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8842
8843         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8844
8845         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8846
8847         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8848         libnm-utils.
8849
8850         * libnm-util/nm-connection.c: Ditto.
8851
8852         * src/NetworkManagerMain.h: Remove, it's finally empty.
8853
8854         * configure.in: Remove utils/ from build.
8855
8856         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8857         of hard-coded strings.
8858
8859         * utils/: Move it over to libnm-util.
8860
8861         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8862
8863         * dispatcher-daemon/Makefile.am: Ditto.
8864
8865         * src/Makefile.am: Ditto.
8866
8867 2007-09-12  Dan Williams  <dcbw@redhat.com>
8868
8869         Wireless connections can be made with config data from the applet now.
8870         
8871         Yay.
8872
8873         * src/supplicant-manager/nm-supplicant-config.h
8874           src/supplicant-manager/nm-supplicant-config.c
8875                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8876                 - (nm_supplicant_config_add_setting_wireless,
8877                    nm_supplicant_config_add_setting_wireless_security): new functions;
8878                         add key/value pairs from the settings objects to the supplicant
8879                         config
8880
8881         * src/nm-device-802-11-wireless.c
8882                 - (cull_scan_list): fix check to not prune currently associated AP
8883                 - (build_supplicant_config, real_act_stage2_config): call the functions
8884                         of the NMSupplicantConfig that parse settings objects rather than
8885                         doing it manually here
8886
8887 2007-09-12  Dan Williams  <dcbw@redhat.com>
8888
8889         * src/supplicant-manager/nm-supplicant-interface.c
8890           src/supplicant-manager/nm-supplicant-marshal.list
8891                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8892                         "connection-error" signal arguments should be STRING not CHAR
8893
8894 2007-09-12  Dan Williams  <dcbw@redhat.com>
8895
8896         * src/NetworkManagerUtils.c
8897           src/NetworkManagerUtils.h
8898                 - (nm_utils_hexstr2bin): new function
8899
8900 2007-09-11  Dan Williams  <dcbw@redhat.com>
8901
8902         * src/nm-manager.c
8903                 - (connection_get_settings_cb): emit connection-added signal
8904                 - (connection_removed_cb): uncomment bits for system settings service,
8905                         send connection-removed when appropriate
8906                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8907                         the stack by trying to g_object_set_data() on something that's
8908                         not a GObject; handle case where settings service returns
8909                         empty settings hash table
8910
8911 2007-09-11  Dan Williams  <dcbw@redhat.com>
8912
8913         * src/NetworkManagerPolicy.c
8914                 - (connection_added, connection_removed): trigger device change checks
8915                         on connection changes
8916
8917 2007-09-11  Dan Williams  <dcbw@redhat.com>
8918
8919         * src/nm-activation-request.c
8920                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8921
8922 2007-09-11  Dan Williams  <dcbw@redhat.com>
8923
8924         * src/nm-device-802-11-wireless.c
8925                 - (real_connection_secrets_updated): fix erroneous check
8926
8927 2007-09-11  Dan Williams  <dcbw@redhat.com>
8928
8929         * introspection/nm-device.xml
8930           libnm-glib/nm-device.c
8931           libnm-glib/nm-device.c
8932                 - Fix Activate call argument borkage; Activate takes 3 arguments
8933
8934 2007-09-11  Dan Williams  <dcbw@redhat.com>
8935
8936         * libnm-glib/nm-access-point.c
8937           libnm-glib/nm-access-point.c
8938                 - (nm_access_point_get_frequency): now returns guint32 to match
8939                         property change on 2007-09-10
8940
8941 2007-09-11  Dan Williams  <dcbw@redhat.com>
8942
8943         * src/nm-device-802-11-wireless.c
8944                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8945                         somewhere defines 'index' and I missed this one when I fixed the
8946                         shadow declaration errors earlier
8947
8948 2007-09-11  Dan Williams  <dcbw@redhat.com>
8949
8950         * libnm-util/nm-connection.c
8951                 - (nm_connection_update_secrets, need_secrets_check): move
8952                         802-11-wireless-security need_secrets checks to the setting object
8953                         itself, where it belongs
8954
8955         * libnm-util/nm-setting.c
8956           libnm-util/nm-setting.h
8957                 - (nm_setting_need_secrets): new function
8958                 - (setting_wireless_security_verify,
8959                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8960                 - (setting_wireless_security_need_secrets): mostly copy code over
8961                         from nm-connection.c
8962
8963 2007-09-11  Dan Williams  <dcbw@redhat.com>
8964
8965         * libnm-util/nm-setting.c
8966           libnm-util/nm-setting.h
8967                 - (nm_setting_update_secrets): new function; add a virtual function that
8968                         subclasses can implement to update their secrets
8969                 - (setting_wireless_security_update_secrets): implement that function
8970                         for the 802-11-wireless-security subclass
8971
8972         * libnm-util/nm-connection.c
8973           libnm-util/nm-connection.h
8974                 - (nm_connection_update_secrets): update secrets for a Setting and
8975                         emit a signal on success
8976
8977         * src/nm-manager.c
8978           src/nm-manager.h
8979           src/nm-marshal.list
8980                 - (connection_get_settings_cb): enable system settings bits
8981                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8982                         to request secrets from the settings dbus service and to
8983                         push those secrets to the NMConnection itself
8984
8985         * src/nm-activation-request.c
8986           src/nm-activation-request.h
8987                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8988                         currently being activated, and proxy that signal to other listeners.
8989                         Goes through the activation request because the activation request
8990                         is the thing that manages the lifetime of the NMConnection that's
8991                         being activated.
8992
8993         * src/nm-device-802-11-wireless.c
8994                 - (real_connection_secrets_updated): implement the connection secrets
8995                         updated notification and restart activation when secrets are
8996                         received
8997                 - (real_act_stage2_config): request secrets from the settings dbus
8998                         service if secrets are needed
8999
9000         * src/nm-device.c
9001           src/nm-device.h
9002                 - (clear_act_request, nm_device_activation_cancel,
9003                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9004                         where the activation request is cleared
9005                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9006                         updated secrets signal of activation request and add a function
9007                         that subclasses can override to handle it easily
9008
9009 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9010
9011         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9012         removal of NetworkManagerAPList.
9013
9014 2007-09-10  Dan Williams  <dcbw@redhat.com>
9015
9016         * src/NetworkManagerAP.c
9017           src/NetworkManagerAP.h
9018           introspection/nm-access-point.xml
9019                 - Change 'freq' property to a guint32 instead of a double since we
9020                         weren't using the floating point bits anyway
9021
9022 2007-09-10  Dan Williams  <dcbw@redhat.com>
9023
9024         * NetworkManagerAP.c
9025           NetworkManagerAP.h
9026           NetworkManagerPolicy.c
9027           NetworkManagerSystem.c
9028           NetworkManagerUtils.c
9029           NetworkManagerUtils.h
9030           nm-device-802-11-wireless.c
9031           nm-device-802-3-ethernet.c
9032           nm-hal-manager.c
9033           nm-manager.c
9034           vpn-manager/nm-dbus-vpn.c
9035                 - Warning fixes; casts and removal of unused variables
9036
9037 2007-09-10  Dan Williams  <dcbw@redhat.com>
9038
9039         * include/NetworkManager.h
9040                 - Kill NMNetworkType; AP types don't matter any more
9041
9042         * src/NetworkManagerAPList.c
9043           src/NetworkManagerAPList.h
9044           src/Makefile.am
9045                 - Kill; NMAccessPointList has outlived it's usefulness
9046
9047         * src/NetworkManagerAP.c
9048           src/NetworkManagerAP.h
9049                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9050                         functions; check if an NMConnection object is compatible with the
9051                         settings of this AP
9052                 - (freq_to_channel, channel_to_freq): utility functions for
9053                         channel <-> frequency conversion
9054
9055         * src/nm-device.c
9056           src/nm-device.h
9057                 - (nm_device_get_best_connection): pass the specific object around
9058                          (which might be the object path of a specific AP to connect to).
9059                          The get_best_connection() call should populate this on return
9060                          if needed (wireless does).
9061
9062         * src/nm-device-802-3-ethernet.c
9063                 - (real_get_best_connection): handle specific_object argument
9064
9065         * src/NetworkManager.c
9066           src/NetworkManagerMain.h
9067                 - Remove unused includes
9068
9069         * src/nm-device-802-11-wireless.c
9070           src/nm-device-802-11-wireless.h
9071                 - Convert the ap_list into a GSList from an NMAccessPointList
9072                 - No need for caching the 'activation_ap' since this is now determined
9073                         from the specific_object of the activation request, which is
9074                         populated from the get_best_connection() call or from a user request
9075                 - (nm_device_802_11_wireless_update_bssid): fix warning
9076                 - (get_wireless_capabilities): fix error message format arguments
9077                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9078                 - (find_best_connection, real_get_best_connection): implement
9079                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9080                         move here from NetworkManagerAPList
9081                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9082                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9083                         already verified earlier
9084                 - (real_act_stage2_config): use nm_connection_need_secrets()
9085
9086         * src/NetworkManagerPolicy.c
9087                 - (nm_policy_auto_get_best_device): handle specific objects
9088                 - (create_connection): remove; automatic connection creation functionality
9089                         is handled by the Connection objects
9090                 - (nm_policy_device_change_check): handle specific_object
9091
9092         * libnm-util/nm-connection.c
9093                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9094
9095 2007-09-10  Dan Williams  <dcbw@redhat.com>
9096
9097         * src/nm-manager.c
9098                 - (query_connections): fix uninitialized variable problem that caused
9099                         segfault
9100                 - (nm_manager_add_device): take devices down on startup so that we can
9101                         be assured that nm_device_is_up() won't short-circuit the init
9102                         process.  Hack until the is_up check gets split into two pieces
9103                         that aren't behaviorally confusing.
9104
9105 2007-09-09  Dan Williams  <dcbw@redhat.com>
9106
9107         * introspection/nm-device.xml
9108                 - The 'Activate' method now takes 3 arguments, a service name for the
9109                 settings service (user or system), the object path of the connection
9110                 to activate, and the specific object to activate, if any
9111
9112         * src/nm-device-interface.c
9113                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9114                 Add error bits
9115                 - (impl_device_activate): adapt to new Activate arguments; validate
9116                 the service name and get the Connection object from the NMManager
9117                 before starting to activate the device with the specified connection
9118
9119         * src/nm-device-802-3-ethernet.c
9120                 - (real_get_best_connection): find the best connection, or create a
9121                 default one if no existing connections can be used
9122
9123         * src/NetworkManagerPolicy.c
9124                 - (nm_policy_auto_get_best_device): Get the device's best connection
9125                 and only pick the device if it has one
9126                 - (nm_policy_device_change_check): disable wireless bits for now until
9127                 wireless get_best_connection() can be implemented (replacing "best_ap");
9128                 don't create a default connection here as the device subclass will do
9129                 that if needed
9130
9131         * src/nm-manager.h
9132           src/nm-manager.c
9133                 - (nm_manager_get): make NMManager a singleton and expose the getter
9134                 internally
9135                 - Rework internal NMManager connection handling to use the same
9136                 routines for both the system and user settings services.  Most calls
9137                 take a new NMConnectionType argument specifying either system or user
9138                 connections
9139                 - (nm_manager_get_connection_by_object_path): new function; get a
9140                 connection keyed on its object path
9141
9142         * src/NetworkManager.c
9143                 - (main): use nm_manager_get()
9144
9145 2007-09-09  Dan Williams  <dcbw@redhat.com>
9146
9147         * src/nm-device.h
9148           src/nm-device.c
9149                 - (nm_device_get_best_connection): new function; get best connection
9150                         for the device at that time
9151
9152 2007-09-09  Dan Williams  <dcbw@redhat.com>
9153
9154         * src/nm-device-interface.h
9155                 - Add NMDeviceInterfaceError with an UnknownConnection error
9156
9157 2007-09-09  Dan Williams  <dcbw@redhat.com>
9158
9159         Stupid mistake on my part; object path and interface for settings service
9160         and connection objects can be the same, only the service name must be
9161         different for the system and user settings services.
9162
9163         * include/NetworkManager.h
9164           src/nm-manager.c
9165           introspection/nm-settings-connection.xml
9166           introspection/nm-settings.xml
9167           libnm-glib/nm-settings.c
9168                 - (nm_connection_settings_init, query_user_connections,
9169                    new_connection_cb): Unify NetworkManagerSettings and Connection
9170                    interface name and object path
9171
9172 2007-09-06  Dan Williams  <dcbw@redhat.com>
9173
9174         * libnm-glib/nm-object.c
9175                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9176                    nm_object_get_int_property, nm_object_get_uint_property,
9177                    nm_object_get_boolean_property, nm_object_get_byte_property,
9178                    nm_object_get_double_property, nm_object_get_byte_array_property):
9179                         clear GValues after copying their contents, fixes memory leaks
9180                         after every property access because dbus-glib copies the values
9181                         from the DBusMessage into the GValue already.
9182
9183 2007-09-06  Dan Williams  <dcbw@redhat.com>
9184
9185         * introspection/nm-access-point.xml
9186                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9187                         them to be.  There's some magic property name parsing going on in
9188                         dbus-glib that breaks up property names based on studly-caps and
9189                         puts - between words.
9190
9191         * libnm-glib/nm-access-point.c
9192                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9193                         Fix property names
9194
9195 2007-09-06  Dan Williams  <dcbw@redhat.com>
9196
9197         * src/nm-manager.c
9198                 - (nm_manager_user_connections_destroy): clear the user connections hash
9199                         table, don't destroy it
9200                 - (finalize): only destroy the hash table on NMManager finalization
9201
9202 2007-09-02  Dan Williams  <dcbw@redhat.com>
9203
9204         * include/NetworkManager.h
9205           libnm-glib/nm-settings.c
9206                 - defines for the user settings daemon D-Bus bits
9207
9208         * src/NetworkManager.c
9209                 - Remove stuff that referred to the old NetworkManagerInfo service
9210
9211         * src/vpn-manager/nm-dbus-vpn.h
9212                 - Move old NMI defines to the only place they are used still
9213
9214         * libnm-util/nm-connection.c
9215           libnm-util/nm-connection.h
9216           src/nm-activation-request.c
9217                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9218
9219         * src/nm-manager.c
9220           src/nm-manager.h
9221                 - Get connections and their settings from the user settings daemon
9222                         at the appropriate times
9223
9224 2007-09-02  Dan Williams  <dcbw@redhat.com>
9225
9226         * libnm-util/nm-setting.c
9227                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9228                 - (setting_wireless_hash): set the right value on the item
9229
9230 2007-09-02  Dan Williams  <dcbw@redhat.com>
9231
9232         * test/Makefile.am
9233           test/nminfotest.c
9234                 - Remove, no longer useful
9235
9236 2007-08-30  Dan Williams  <dcbw@redhat.com>
9237
9238         * src/Makefile.am
9239           src/NetworkManagerDbus.c
9240           src/NetworkManagerDbus.h
9241           src/vpn-manager/nm-dbus-vpn.c
9242                 - Remove, no longer necessary.  Move last bits to the only place its
9243                 used, in nm-dbus-vpn.c
9244
9245         * src/NetworkManagerAPList.c
9246           src/nm-device.c
9247           src/NetworkManager.c
9248           src/nm-device-802-11-wireless.c
9249           src/vpn-manager/nm-vpn-manager.c
9250           src/vpn-manager/nm-vpn-service.c
9251           src/NetworkManagerPolicy.c
9252           src/nm-manager.c
9253                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9254                 that was message_is_error()
9255
9256 2007-08-30  Dan Williams  <dcbw@redhat.com>
9257
9258         * libnm-util/sha1.c
9259                 - Include config.h to get defines for endiannes (gnome.org #420216)
9260
9261 2007-08-30  Dan Williams  <dcbw@redhat.com>
9262
9263         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9264
9265         * src/ppp-manager/Makefile.am
9266                 - use -fPIC (gnome.org #471825)
9267
9268 2007-08-29  Dan Williams  <dcbw@redhat.com>
9269
9270         * include/NetworkManager.h
9271                 - Keep NMConnection object path in sync
9272
9273         * libnm-glib/nm-settings.c
9274           libnm-glib/nm-settings.h
9275                 - Break D-Bus object registration out of the init function, because
9276                 every object that's exported over D-Bus needs to use the _same_
9277                 DBusConnection.  Otherwise, each object would get a different object
9278                 path tree and wouldn't be callable.
9279
9280 2007-08-29  Dan Williams  <dcbw@redhat.com>
9281
9282         * libnm-util/nm-setting.h
9283           libnm-util/nm-setting.c
9284           libnm-util/nm-connection.c
9285           src/NetworkManagerPolicy.c
9286                 - 'info' settings object should be 'connection' says the spec
9287                 at NetworkManagerConfigurationSpecification
9288
9289 2007-08-29  Dan Williams  <dcbw@redhat.com>
9290
9291         * libnm-glib/nm-settings.c
9292           libnm-glib/nm-settings.h
9293                 - make the dbus path a property of the object, and autogenerate it.
9294                 It can't be composed of the 'id' field becuase that's not available
9295                 yet during the GObject creation in nm_connection_settings_init()
9296
9297 2007-08-29  Dan Williams  <dcbw@redhat.com>
9298
9299         * introspection/nm-settings-connection.xml
9300           introspection/nm-settings.xml
9301                 - Service name -> NetworkManagerUserSettings because two services
9302                 can't share part of the same path.  I'm not really sure how we'll use
9303                 the same code with the system-settings daemon...
9304
9305 2007-08-28  Dan Williams  <dcbw@redhat.com>
9306
9307         * src/nm-device-interface.c
9308           src/nm-device-interface.h
9309                 - Kill one more bit of NMData
9310
9311 2007-08-28  Dan Williams  <dcbw@redhat.com>
9312
9313         * src/NetworkManagerSystem.h
9314           src/nm-device.c
9315           src/nm-device.h
9316           src/nm-hal-manager.c
9317           src/NetworkManager.c
9318           src/nm-device-802-11-wireless.c
9319           src/nm-hal-manager.h
9320           src/nm-device-802-3-ethernet.c
9321           src/vpn-manager/nm-vpn-service.h
9322           src/vpn-manager/nm-vpn-manager.c
9323           src/vpn-manager/nm-vpn-manager.h
9324           src/vpn-manager/nm-vpn-service.c
9325           src/nm-device-802-11-wireless.h
9326           src/NetworkManagerMain.h
9327           src/nm-device-802-3-ethernet.h
9328           src/backends/NetworkManagerGentoo.c
9329           src/backends/NetworkManagerPaldo.c
9330           src/backends/NetworkManagerFrugalware.c
9331           src/backends/NetworkManagerRedHat.c
9332           src/backends/NetworkManagerSlackware.c
9333           src/backends/NetworkManagerGeneric.c
9334           src/backends/NetworkManagerArch.c
9335           src/backends/NetworkManagerSuSE.c
9336           src/backends/NetworkManagerGeneric.h
9337           src/backends/NetworkManagerDebian.c
9338                 - Kill NMData
9339
9340 2007-08-28  Dan Williams  <dcbw@redhat.com>
9341
9342         * src/NetworkManagerMain.h
9343           src/nm-device-802-11-wireless.c
9344           src/NetworkManager.c
9345                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9346                 for now we should set the 'invalid' property on individual APs, and when
9347                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9348                 that ESS
9349
9350 2007-08-28  Dan Williams  <dcbw@redhat.com>
9351
9352         * src/NetworkManagerAP.c
9353           src/NetworkManagerAP.h
9354                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9355                         'autoconnect' property instead
9356
9357         * src/NetworkManager.c
9358           src/NetworkManagerMain.h
9359           src/NetworkManagerPolicy.c
9360           src/NetworkManagerPolicy.h
9361                 - Remove the 'allowed_ap_list', which should be replaced by 
9362                         NMConnection/NMSettings instead, since _those_ are the allowed
9363                         things that NM can connect to
9364
9365         * src/nm-device-802-11-wireless.c
9366                 - Remove both allowed_ap_list usage and 'fallback' checking
9367
9368 2007-08-28  Dan Williams  <dcbw@redhat.com>
9369
9370         * src/nm-device.c
9371           src/named-manager/nm-named-manager.c
9372           src/named-manager/nm-named-manager.h
9373           src/NetworkManager.c
9374           src/vpn-manager/nm-vpn-manager.c
9375           src/NetworkManagerMain.h
9376           src/NetworkManagerSystem.c
9377                 - Remove the named-manager object from NMData structure in preparation
9378                 for NMData's timely death.  Make the NMNamedManager the singleton that
9379                 it really is
9380
9381 2007-08-28  Dan Williams  <dcbw@redhat.com>
9382
9383         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9384         each AP's capabilities, and by NMConnection/NMSettings objects for user
9385         defined connections.
9386
9387         * include/NetworkManager.h
9388                 - Redefine 802.11 security properties.  There are now device capabilities
9389                         and AP flags and AP security flags.  It was way to unclear before.
9390
9391         * src/Makefile.am
9392           src/nm-ap-security-leap.h
9393           src/nm-ap-security-leap.c
9394           src/nm-ap-security-wpa-eap.c
9395           src/nm-ap-security-wpa-eap.h
9396           src/nm-ap-security-private.h
9397           src/nm-ap-security-wpa-psk.c
9398           src/nm-ap-security-wpa-psk.h
9399           src/nm-ap-security-wep.c
9400           src/nm-ap-security-wep.h
9401           src/nm-ap-security.c
9402           src/nm-ap-security.h
9403                 - Removed, to be replaced with NMConnection/NMSettings objects
9404
9405         * src/nm-dbus-nmi.c
9406           src/nm-dbus-nmi.h
9407                 - Removed, to be replaced by code that talks to the new info daemon
9408                         interface and gets NMConnection/NMSettings objects
9409
9410         * src/backends/NetworkManagerSuSE.c
9411                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9412                         info-daemon that does the same thing but talks the new info-daemon
9413                         D-Bus interface
9414
9415         * src/NetworkManagerAP.h
9416           src/NetworkManagerAP.c
9417           src/NetworkManagerAPList.c
9418           libnm-glib/libnm-glib-test.c
9419                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9420                         WPA/RSN
9421
9422         * libnm-glib/nm-access-point.c
9423           libnm-glib/nm-access-point.h
9424           introspection/nm-access-point.xml
9425           test/nm-tool.c
9426                 - Adjust to new flags for AP security
9427
9428         * utils/nm-utils.c
9429           utils/nm-utils.h
9430           src/vpn-manager/nm-dbus-vpn.c
9431                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9432                         stuff which is the only place it's used
9433
9434         * src/nm-device-interface.c
9435           src/nm-device-interface.h
9436           introspection/nm-device.xml
9437           src/nm-activation-request.c
9438           src/nm-activation-request.h
9439           src/nm-device.c
9440                 - Add a new 'specific_object' argument that hints to NM what actual
9441                         AP or other device-specific thing the connection should apply to.
9442                         NMConnection objects can apply to more than one actual device/AP.
9443
9444         * libnm-util/nm-connection.c
9445         * libnm-util/nm-connection.h
9446                 - Add 'have_secrets" call stubs
9447
9448         * libnm-util/cipher.h
9449                 - Move NM_AUTH_TYPE_* defines here for now
9450
9451         * src/nm-device-802-11-wireless.c
9452                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9453                         NMSettings objects
9454
9455         * src/NetworkManagerDbus.c
9456         * src/NetworkManagerPolicy.c
9457                 - Remove usage of update_allowed_networks, should be pushing data in
9458                         a different manner
9459
9460 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9461
9462         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9463         dbus-glib frees it when the call is done.
9464
9465 2007-08-26  Dan Williams  <dcbw@redhat.com>
9466
9467         * introspection/nm-device.xml
9468                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9469
9470 2007-08-26  Dan Williams  <dcbw@redhat.com>
9471
9472         * src/nm-device-802-3-ethernet.c
9473                 - (constructor): move connection of interface-connected/disconnected
9474                         signals here from real_bring_up().  Should be listening to netlink
9475                         for carrier events no matter what the initial state of the device
9476                         is.
9477
9478 2007-08-26  Dan Williams  <dcbw@redhat.com>
9479
9480         * src/nm-netlink-monitor.c
9481                 - (nm_netlink_monitor_class_init): fix marshalling types for
9482                         interface-connected/interface-disconnected
9483                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9484                         check
9485
9486 2007-08-26  Dan Williams  <dcbw@redhat.com>
9487
9488         Convert to using interface indexes as the primary method of identifying
9489         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9490         be renamed at any time.  Device object paths now refer to the device
9491         index rather than the name, and you can map those two manually if you like
9492         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9493         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9494         to use interface indexes rather than names.
9495
9496 2007-08-26  Dan Williams  <dcbw@redhat.com>
9497
9498         * src/nm-netlink-monitor.h
9499                 - Remove one last bit of wireless-event signal
9500
9501 2007-08-26  Dan Williams  <dcbw@redhat.com>
9502
9503         * src/nm-netlink-monitor.c
9504                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9505                         don't need the 'wireless-event' signal anymore since that's all
9506                         handled by wpa_supplicant
9507
9508 2007-08-25  Dan Williams  <dcbw@redhat.com>
9509
9510         It's 2007. Remove support for drivers that don't support wireless scanning.
9511
9512         * test/nm-tool.c
9513           include/NetworkManager.h
9514           src/NetworkManagerUtils.c
9515           src/NetworkManagerPolicy.c
9516           src/nm-device-802-11-wireless.c
9517                 - Remove special handling for non-scanning devices and mark them
9518                         as unsupported/unhandled
9519
9520 2007-08-20  Dan Williams  <dcbw@redhat.com>
9521
9522         * src/nm-device-802-11-wireless.c
9523           src/nm-device-802-3-ethernet.c
9524                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9525                         because when the card is pulled or the module removed, the device
9526                         is already !IFF_UP and then device-specific cleanup (removing
9527                         the supplicant interface, periodic checks, etc) never gets done
9528
9529 2007-08-20  Dan Williams  <dcbw@redhat.com>
9530
9531         * src/nm-manager.c
9532                 - (nm_manager_remove_device): bring device down before disconnecting
9533                         signal handlers, so that the 'state' signal will get broadcast when
9534                         the device enters the DOWN state
9535                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9536                         of states that cause the NMManager to recheck its state
9537
9538 2007-08-20  Dan Williams  <dcbw@redhat.com>
9539
9540         * src/supplicant-manager/nm-supplicant-interface.c
9541                 - (interface_disconnect_done): don't try to dispose of the net proxy
9542                         when it may already have been disposed of
9543
9544 2007-08-20  Dan Williams  <dcbw@redhat.com>
9545
9546         * src/nm-device-802-11-wireless.c
9547                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9548                         the SSID isn't available; this can happen when the card is pulled
9549                         or the module unloaded, during the post-removal deactivation
9550                         paths, when the ioctl returns ENODEV
9551
9552 2007-08-20  Dan Williams  <dcbw@redhat.com>
9553
9554         * src/nm-device-802-11-wireless.c
9555                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9556                         frequency, and mode match.  Applets are now responsible for grouping
9557                         access points
9558
9559 2007-08-20  Dan Williams  <dcbw@redhat.com>
9560
9561         * src/NetworkManagerAP.c
9562         * src/NetworkManagerAP.h
9563                 - (nm_ap_print_self): new function
9564
9565         * src/NetworkManagerAPList.c
9566                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9567                         to do it all here
9568         
9569 2007-08-17  Dan Williams  <dcbw@redhat.com>
9570
9571         * src/nm-device-802-3-ethernet.c
9572                 - (real_bring_down): don't try to dispose of stuff that might not
9573                         exist
9574
9575 2007-08-17  Dan Williams  <dcbw@redhat.com>
9576
9577         * src/NetworkManagerAP.c
9578                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9579                         applet.  This ensures that the case between the seen-bssids and
9580                         the bssids reported by the driver match.
9581
9582 2007-08-17  Dan Williams  <dcbw@redhat.com>
9583
9584         * src/nm-device-802-11-wireless.c
9585                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9586                         we dispose of the interface proxy in NM
9587
9588 2007-08-16  Dan Williams  <dcbw@redhat.com>
9589
9590         * libnm-glib/nm-client.c
9591                 - (nm_client_init): create VPN connections hash table with key free
9592                         function
9593                 - (proxy_vpn_connection_added): VPN connections hash table key should
9594                         be a duplicated value, not the same memory address as the VPN
9595                         connection name.  This is because the VPN connection name could
9596                         potentially be freed and set to something else during the lifetime
9597                         of the NMVPNConnection object.
9598
9599 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9600
9601         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9602         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9603         with the file descriptors. Send a child setup function to change the pppd
9604         progress group.
9605
9606 2007-08-15  Dan Williams  <dcbw@redhat.com>
9607
9608         * src/supplicant-manager/nm-supplicant-interface.c
9609                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9610                         an interface
9611                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9612                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9613                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9614                         the interface internally
9615
9616 2007-08-15  Dan Williams  <dcbw@redhat.com>
9617
9618         * src/nm-device-802-11-wireless.c
9619                 - (real_bring_down): move most of this function into device_cleanup()
9620                         so that it can be called from elsewhere
9621                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9622                         and stuff on dispose.  These would normally get cleaned up when
9623                         the device is marked down and deactivated, but when the device is
9624                         hot-unplugged, it's already down and real_down() never gets run
9625
9626 2007-08-15  Dan Williams  <dcbw@redhat.com>
9627
9628         * src/nm-dbus-nmi.c
9629                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9630                         caused a reference leak on device for which NM requested a key
9631
9632 2007-08-15  Dan Williams  <dcbw@redhat.com>
9633
9634         * libnm-glib/nm-client.c
9635                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9636
9637 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9638
9639         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9640         nothing is using it at the moment, but it'll be all useful and stuff later on.
9641
9642         * libnm-util/nm-setting.h: Define NMSettingPPP.
9643
9644         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9645
9646         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9647
9648         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9649
9650         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9651
9652         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9653
9654 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9655
9656         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9657
9658         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9659         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9660         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9661         name and different arguments and it won't compile anymore. To fix this, we now have
9662         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9663         that is new API + compatibility API and used by the daemon. The other, 
9664         nm-manager-client.xml is only the new API without compatibility bits and is used
9665         by libnm-glib to make it compile.
9666
9667         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9668
9669         * src/nm-manager.c (impl_manager_legacy_sleep)
9670         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9671         interface functions for 0.6 branch.
9672
9673 2007-08-14  Dan Williams  <dcbw@redhat.com>
9674
9675         * src/NetworkManagerAP.c
9676                 - (nm_ap_new_from_properties): fix mistaken check of return value
9677                         from memcmp (should expect 0)
9678
9679 2007-08-14  Dan Williams  <dcbw@redhat.com>
9680
9681         (force-commit to fix wrong comment and partial commit of r2685; this
9682          commit actually applies to r2685)
9683
9684         * src/NetworkManagerUtils.c
9685                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9686                         ignores trailing nulls in the SSID to work around mismatches in
9687                         expectations between WEXT and what the info-daemon passes back.  The
9688                         info-daemon would pass back the correct length, but due to the
9689                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9690                         the device would always have an SSID + 1 depending on what versions
9691                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9692                         visible by just quitting the applet and relaunching, which caused
9693                         NM to reassociated to the same network over again when reloading
9694                         the save networks.
9695
9696         * src/NetworkManagerPolicy.c
9697           src/NetworkManagerUtils.h
9698           src/nm-device-802-11-wireless.c
9699                 - Update for new parameter to nm_utils_same_ssid()
9700
9701 2007-08-14  Dan Williams  <dcbw@redhat.com>
9702
9703         * src/NetworkManagerAP.c
9704                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9705                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9706                         setting the BSSID to all 0s.  That confused the heck out of NM,
9707                         plus it's useless and probably out-of-spec.
9708
9709 2007-08-14  Dan Williams  <dcbw@redhat.com>
9710
9711         * callouts/Makefile.am
9712           src/dhcp-manager/nm-dhcp-manager.c
9713           src/dhcp-manager/nm-dhcp-manager.h
9714           src/dhcp-manager/Makefile.am
9715                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9716
9717 2007-08-14  Dan Williams  <dcbw@redhat.com>
9718
9719         * src/dhcp-manager/nm-dhcp-manager.c
9720                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9721                         it's really needed, get rid of unused xtra_args parameter
9722
9723 2007-08-14  Dan Williams  <dcbw@redhat.com>
9724
9725         * include/NetworkManagerVPN.h
9726           src/vpn-manager/nm-dbus-vpn.c
9727           src/vpn-manager/nm-dbus-vpn.h
9728           src/vpn-manager/nm-vpn-act-request.c
9729           src/vpn-manager/nm-vpn-act-request.h
9730           src/vpn-manager/nm-vpn-service.c
9731           src/vpn-manager/nm-vpn-service.h
9732           libnm-glib/nm-vpn-connection.c
9733           libnm-glib/nm-vpn-connection.h
9734           libnm-glib/nm-client.h
9735                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9736                         NMVPNServiceState to clarify what they apply to
9737                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9738                         NMVPNActStage -> NMVPNConnectionState for the same reason
9739
9740         * libnm-glib/nm-client.c
9741                 - Constant + type renames from above
9742                 - Properly handle NameOwnerChanged/manager_running signals
9743                         for NM service; only emit when state really changes
9744                 - Use hash tables correctly so that the key (which was previously owned
9745                         by the D-Bus message) now has the same lifetime as the value, since
9746                         the key is now taken from the the NMVPNConnection itself.  This
9747                         really fixes the double-VPN names in the applet
9748
9749 2007-08-13  Dan Williams  <dcbw@redhat.com>
9750
9751         Patch from Michael Biebl <biebl@debian.org>
9752
9753         * po/POTFILES.in
9754           po/POTFILES.skip
9755                 - Update for vpn-properties move
9756
9757 2007-08-13  Dan Williams  <dcbw@redhat.com>
9758
9759         * libnm-glib/nm-client.c
9760                 - Convert internal VPN connection tracking from a list to a hash table
9761                         to easily avoid duplicates
9762                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9763                         must be freed by the caller, like nm_client_get_devices()
9764                 - (nm_client_remove_vpn_connection): don't let the removal signal
9765                         leak through for NMVPNConnection objects that aren't actually
9766                         tracked.
9767                 - (manager_running): throw away VPN connection list when NM goes away,
9768                         like with the device list
9769
9770 2007-08-13  Dan Williams  <dcbw@redhat.com>
9771
9772         * src/dhcp-manager/nm-dhcp-manager.c
9773                 - Stop any dhclient instance that might be already running for a
9774                         particular interface before starting an NM spawned dhclient.  Fixes
9775                         dhclient processes left over if NM crashes, stuff like that.
9776
9777 2007-08-13  Dan Williams  <dcbw@redhat.com>
9778
9779         * src/NetworkManagerAP.c
9780                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9781                         when the AP wasn't broadcasting it's SSID
9782
9783 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9784
9785         * include/NetworkManager.h: added DBus path for connection settings.
9786
9787         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9788         nm_connection_settings_signal_updated,
9789         nm_connection_settings_signal_removed): new functions to wrap the
9790         objects' signals.
9791         (nm_connection_settings_init): register GObject with DBus.
9792         (nm_connection_settings_get_dbus_object_path): new function.
9793
9794         * libnm-glib/Makefile.am: added libnmutil to link flags.
9795
9796 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9797
9798         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9799
9800         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9801         libnm_glib directory got merged with libnm-glib/.
9802
9803         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9804
9805         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9806         Rename the library from libnm-glib to libnm_glib to maintain the library API
9807         compatibility with 0.6 branch.
9808
9809         * Makefile.am: Remove gnome/ SUBDIR.
9810
9811         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9812
9813         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9814
9815         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9816
9817         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9818         anymore.
9819         Remove checks for wpa_supplicant binary, it's used over dbus.
9820         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9821
9822         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9823         Link the binaries with libnm_glib.la.
9824
9825 2007-08-12  Dan Williams  <dcbw@redhat.com>
9826
9827         * src/NetworkManagerPolicy.c
9828                 - (nm_policy_device_change_check): fix policy to deactivate old device
9829                         before activating new one, at least until the multiple active
9830                         device support lands
9831
9832 2007-08-12  Dan Williams  <dcbw@redhat.com>
9833
9834         * src/NetworkManagerPolicy.c
9835                 - (nm_policy_new): hook up to connection-added / connection-removed
9836                         signals instead of connections-changed
9837
9838 2007-08-12  Dan Williams  <dcbw@redhat.com>
9839
9840         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9841         Robert Frank <rfrank@redhat.com>
9842
9843         * src/dhcp-manager/nm-dhcp-manager.c
9844           src/dhcp-manager/nm-dhcp-manager.c
9845           src/nm-device.c
9846                 - Spawn and communicate with dhclient directly, through means of a
9847                 custom dhclient callout script.  Process callout D-Bus signals
9848                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9849                 sent via gobject signals rather than being driven by the dhcp manager
9850                 directly.
9851
9852 2007-08-12  Dan Williams  <dcbw@redhat.com>
9853
9854         * callouts/nm-dhcp-client-action.c
9855                 - (build_message): ignore non-DHCP-related environment variables
9856
9857 2007-08-12  Dan Williams  <dcbw@redhat.com>
9858
9859         * Makefile.am
9860           configure.in
9861           callouts/Makefile.am
9862           callouts/nm-dhcp-client-action.c
9863           callouts/nm-dhcp-client.conf
9864                 - Add dhclient-executed callout that takes the place of dhclient-script
9865                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9866                 NM then listens for
9867
9868 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9869
9870         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9871
9872         * libnm-glib/nm-client.h:
9873         * libnm-glib/nm-object.h:
9874         * libnm-glib/nm-vpn-connection.h:
9875         * libnm-glib/nm-settings.h:
9876         * libnm-glib/nm-device.h:
9877         * libnm-glib/nm-ip4-config.h:
9878         * libnm-glib/nm-access-point.h:
9879         * libnm-glib/nm-device-802-3-ethernet.h:
9880         * libnm-util/nm-setting.h: 
9881         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9882
9883         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9884
9885         * libnm-glib/nm-access-point.c: Strength has type char.
9886
9887         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9888         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9889
9890         * introspection/nm-access-point.xml: Strength property is char, not int.
9891
9892         * src/NetworkManagerAP.c (set_property): Set strength from char.
9893         (get_property): Handle hidden APs (with empty SSID).
9894         Get strength value from char.
9895         (nm_ap_class_init): Strength property has char type.
9896
9897 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9898
9899         * introspection/Makefile.am:
9900         * introspection/nm-settings.xml:
9901         * introspection/nm-settings-connection.xml: added Settings interfaces.
9902
9903         * libnm-glib/nm-settings.[ch]:
9904         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9905         containing the DBus implementation.
9906
9907 2007-07-26  Dan Williams  <dcbw@redhat.com>
9908
9909         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9910
9911         * src/NetworkManagerSystem.c
9912                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9913                         same subnet (#437396)
9914
9915 2007-07-26  Dan Williams  <dcbw@redhat.com>
9916
9917         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9918
9919         * gnome/vpn-properties/nm-vpn-properties.c
9920                 - Fix translatable strings (#445865)
9921
9922 2007-07-26  Dan Williams  <dcbw@redhat.com>
9923
9924         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9925
9926         * configure.in
9927                 - Remove useless junk (#412530)
9928
9929 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9930
9931         Patch from Robert Buchholz <rbu@gentoo.org>:
9932
9933         * configure.in:
9934         * Makefile.am:
9935         * introspection/Makefile.am:
9936         Make make distcheck work again.
9937
9938 2007-06-27  Dan Williams  <dcbw@redhat.com>
9939
9940         * Make SSIDs GByteArrays everywhere
9941         * Rename "essid" -> "ssid" everywhere that's appropriate
9942         * Refcount activation_ap member of the 802.11 wireless device class
9943
9944 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9945
9946         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9947
9948 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9949
9950         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9951         that we got a new AP when we just update existing AP properties.
9952
9953 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9954
9955         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9956
9957         * nm-utils.[ch]: Remove.
9958
9959         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9960         objects for easy property access and dbus connection handling.
9961
9962         * libnm-glib/nm-client.c: Derive from NMObject.
9963
9964         * libnm-glib/nm-device.c: Ditto.
9965
9966         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9967
9968         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9969
9970         * libnm-glib/nm-ip4-config.c: Ditto.
9971
9972         * libnm-glib/nm-access-point.c: Ditto.
9973
9974         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9975         comparision. Currently used by the device activation code to determine if the new
9976         activation is the same as the old one.
9977
9978         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9979         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9980         able to ask password for the AP.
9981
9982         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9983         up if the device is already connected, tear down it's connection (if it isn't the
9984         same as new one) and start the activation.
9985
9986         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9987
9988         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9989         the issue where all APs are always listed as encrypted.
9990
9991         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9992         their own registered paths.
9993
9994         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9995         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9996
9997 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9998
9999         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10000         (0 & 0 == 0, doh)
10001
10002         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10003         because the handling code will cause the next state change and signal listeners
10004         get the signals in wrong order.
10005
10006         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10007         correctly in case of pending activation.
10008
10009         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10010         Convert the essid byte array to string correctly, including the terminating NULL.
10011
10012         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10013         mode with correct types.
10014
10015         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10016         constructed info to dbus call instead of the activation request.
10017
10018 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10019
10020         Patch from Christian Persch <chpe@gnome.org>
10021
10022         * libnm-glib/Makefile.am:
10023         * dispatcher-daemon/Makefile.am:
10024         Use the correct variables, the correct paths, and correct ordering. (446315)
10025
10026 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10027
10028         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10029         argument. The activation request is easy to retrieve.
10030
10031         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10032         just to be a convenient location for devices to store random stuff.
10033
10034 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10035
10036         Patch from Alex Smith <alex@alex-smith.me.uk>
10037
10038         * src/backends/NetworkManagerFrugalware.c:
10039         Update the FrugalWare backend to fix a few segfaults. (#392642)
10040
10041 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10042
10043         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10044
10045         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10046         setting.
10047         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10048
10049 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10050
10051         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10052         automagically.
10053         Implement NMSettingIP4Config.
10054         Finish NMSettingWired by adding all known members.
10055         (setting_wired_verify): Implement.
10056         Finish NMSettingWireless by adding all known members.
10057         (setting_wireless_verify): Implement.
10058
10059         * libnm-util/nm-connection.c: Register "ipv4" setting.
10060         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10061         dump function, we can introspect the GHashTable which is used for sending connections
10062         over dbus.
10063
10064         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10065         Take GByteArray for essid, it's really not a string.
10066
10067         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10068         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10069         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10070         means overriding the values we got from DHCP.
10071         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10072         (nm_device_deactivate_quickly): Ditto.
10073
10074         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10075         for debugging.
10076
10077 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10078
10079         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10080         NMConnection.
10081
10082         * libnm-glib/nm-device-802-11-wireless.c:
10083         (nm_device_802_3_ethernet_activate): Remove.
10084
10085         * libnm-glib/nm-device-802-3-ethernet.c
10086         (nm_device_802_3_ethernet_activate): Remove.
10087
10088         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10089
10090         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10091         NMConnection.
10092
10093         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10094         activation has started.
10095         Implement the new activation using NMConnection.
10096
10097         * src/nm-activation-request.c: Store a generic connection object instead
10098         of a wireless-specific AP.
10099
10100         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10101         on device type, create a device specific connection object suitable for
10102         device activation.
10103
10104         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10105         specific check to validate the connection and on success start the
10106         activation.
10107
10108         * src/nm-device-interface.h: Add a activate virtual function to the
10109         interface definition.
10110
10111         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10112         (impl_device_activate): Implement.
10113
10114         * introspection/nm-device.xml: Add a generic device activation interface
10115         that accepts an abstract NMConnection structure that has device-specific
10116         information in it.
10117
10118         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10119         activation interface.
10120
10121         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10122         activation interface.
10123
10124         * libnm-util/nm-connection.c: 
10125         * libnm-util/nm-connection.h: 
10126         * libnm-util/nm-setting.c:
10127         * libnm-util/nm-setting.h: Add.
10128
10129         * libnm-util/Makefile.am: Build the added files.
10130
10131         * src/nm-dbus-manager.c
10132         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10133         DbusConnection argument from 'name-owner-changed' signal. The manager
10134         is already passed as a first argument to the signal and the connection
10135         is easy enough to get from it.
10136
10137         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10138         Update the signature of the function.
10139
10140         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10141         Ditto.
10142
10143         * src/NetworkManager.c: Ditto.
10144
10145         * src/named-manager/nm-named-manager.c
10146         (nm_named_manager_name_owner_changed): Ditto.
10147
10148         * src/supplicant-manager/nm-supplicant-manager.c
10149         (nm_supplicant_manager_name_owner_changed): Ditto.
10150
10151         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10152
10153         * src/dhcp-manager/nm-dhcp-manager.c
10154         (nm_dhcp_manager_name_owner_changed): Ditto.
10155
10156         * src/nm-hal-manager.c: Add a list of device detectors and creators
10157         to make it easier to add new devices. Each device type has it's own
10158         entry in the table so adding new device types is only a matter of
10159         implementing a couple of functions, one for device detection and the
10160         other for device creation.
10161
10162 2007-04-25  Dan Williams  <dcbw@redhat.com>
10163
10164         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10165                 (gnome.org #432401)
10166
10167 2007-03-30  Dan Williams  <dcbw@redhat.com>
10168
10169         * src/NetworkManagerSystem.c
10170                 - (nm_system_device_set_ip4_route): clean up and fix argument
10171                         to nm_dev_sock_open()
10172
10173 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10174
10175         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10176         data to correct types instead of always using string.
10177
10178         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10179         _not_ have NM_802_11_CAP_PROTO_NONE.
10180         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10181         is not set.
10182
10183 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10184
10185         * libnm-glib/Makefile.am: Fix the build issue.
10186
10187 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10188
10189         * libnm-glib/nm-vpn-connection.h: 
10190         * libnm-glib/nm-vpn-connection.c: Implement.
10191
10192         * libnm-glib/nm-client.c: Add VPN support.
10193
10194         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10195         handler for VPN.
10196
10197         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10198         on DBUS again.
10199
10200 2007-03-26  Dan Williams  <dcbw@redhat.com>
10201
10202         * src/NetworkManagerAPList.c
10203         * src/nm-device-802-11-wireless.c
10204         * src/NetworkManagerAP.c:
10205                 - Store last seen as glong instead of GTimeVal.
10206                 - Fix the upper bound of capabilities, it's a bitfield.
10207
10208 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10209
10210         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10211
10212         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10213         "manager-running" signal that notifies the appearance/disappearance of NM.
10214         (nm_client_sleep): Implement.
10215
10216         * libnm-glib/nm-device.c:
10217         * libnm-glib/nm-device-802-11-wireless.c: 
10218         * libnm-glib/nm-device-802-3-ethernet.c: 
10219
10220         Don't inherit from DBusGProxy, add a proxy to private
10221         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10222         for anything but their own dbus interface. DBusGProxy objects support only one
10223         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10224         interface. The nice side effect of this change is that we do not create a new
10225         DBusGProxy object for each property access.
10226
10227 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10228
10229         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10230         with zeroes before passing them to functions - the functions never do that and
10231         reading the values back may produce wrong values.
10232         (real_bring_up): Store the signal handler id ...
10233         (real_bring_down): ... So that it can be removed here.
10234         Disconnect the supplicant interface here as well.
10235         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10236         from the access point instead of old $device/Networks/$essid.
10237
10238         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10239         device state is connected (instead of just having link/carrier).
10240
10241         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10242         already easily accessible through the device.
10243
10244         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10245         store it within the object.
10246         (nm_ap_get_dbus_path): Export it to public as well.
10247
10248         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10249         of the singleton.
10250
10251 2007-03-12  Dan Williams  <dcbw@redhat.com>
10252
10253         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10254         for non-carrier-detect capable devices, and useless for carrier-detect
10255         devices since we get notifications from netlink about carrier status anyway.
10256
10257         * src/nm-device-802-3-ethernet.c
10258                 - remove 'link_source_id' member from private data
10259                 - (probe_link): remove and collapse into real_update_link()
10260                 - (nm_device_802_3_periodic_update): remove
10261                 - (real_is_up): check for sup_iface rather than link_source_id
10262                 - (real_bring_up): return gboolean for success/fail; require that
10263                         sup_iface be valid for device bringup to succeed
10264                 - (real_bring_down): zero out link signal ids
10265
10266         * src/nm-device.c
10267                 - (nm_device_activate_stage2_device_config): fail activation if device
10268                         bringup fails
10269                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10270                         fails
10271                 - (nm_device_bring_up): return success/fail
10272
10273         * src/nm-device.h
10274                 - bring_up now returns success/fail
10275
10276         * src/nm-device-802-11-wireless.c
10277                 - (real_bring_up): return success from bringup
10278
10279 2007-03-07  Dan Williams  <dcbw@redhat.com>
10280
10281         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10282         * src/nm-ap-security-wpa-psk.c
10283                 - (real_write_supplicant_config): work with PSKs that may contain
10284                         zeros in the binary format rather than treating it as a string
10285
10286 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10287
10288         * libnm-glib/nm-device-802-11-wireless.c
10289         (nm_device_802_11_wireless_get_capabilities): Implement.
10290
10291         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10292
10293         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10294
10295         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10296         reply only if it's not NULL. Not sure why this started happening right now.
10297
10298         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10299         code paths for when devices get removed on shutdown or when a device is just
10300         removed.
10301         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10302         gets freed so any signal from a device (disconnected for instance) would invoke
10303         NMState update which would crash.
10304         (nm_manager_remove_device): Bring the device down when it gets removed.
10305
10306         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10307         the unused dev_type.
10308
10309         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10310         reference to the added device, NMManager will own it (if it wants).
10311
10312         * test/nm-tool.c: Rewrite using libnm-glib.
10313
10314         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10315         We get signalled when it changes.
10316
10317         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10318         when it changes.
10319
10320         * libnm-glib/nm-device.c: Cache the device state property.
10321
10322         * libnm-glib/nm-access-point.c: Cache the strength property.
10323
10324         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10325         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10326         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10327         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10328         the device is down, activating, or activated (in case of A/B/G cards).
10329         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10330         it's all done through supplicant now.
10331
10332         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10333         counting issues with pending calls which caused leaks and crashes when
10334         interface was removed (now that the interface actually gets removed).
10335
10336         * src/nm-call-store.c: Make a copy of data before running a foreach
10337         with user callback on it - The most common usage pattern is to cancel
10338         (and thus remove) all pending calls with foreach which would modify
10339         the hash table we're iterating over.
10340
10341         * src/nm-manager.c: When a device is added, make sure it is "up". When
10342         it's removed or disabled due to disabling wireless or networking, bring
10343         it down.
10344
10345         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10346
10347         * src/nm-device-802-11-wireless.c: 
10348         * src/nm-device-802-3-ethernet.c: 
10349         * src/nm-device.c:
10350                 - Remove "init" virtual function, all gobjects have a place for that
10351                   already (constructor).
10352                 - Replace "start" virtual function with "bring_up", devices can be
10353                   brought up and down more than just on startup now.
10354                 - Add "is_up" virtual function.
10355                 - Implement one way to bring a device down instead of previous 4 different
10356                   ways, each of witch did something different.
10357
10358         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10359         all it needs is the device interface.
10360
10361         Get rid of NMData.dev_list (3 members to go).
10362         Get rif of NMData in a lot of places.
10363
10364         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10365
10366 2007-02-23  Dan Williams  <dcbw@redhat.com>
10367
10368         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10369
10370         * src/NetworkManagerAP.c
10371                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10372                         OR-ing rather than AND-ing
10373
10374 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10375
10376         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10377         "network-removed" signals.
10378
10379         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10380
10381         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10382         when receiving the signal from dbus.
10383
10384         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10385         property.
10386
10387         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10388         deactivation of the previously activated device working again.
10389
10390         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10391         and setter.
10392
10393         * src/nm-device.c (nm_device_is_activated): Remove.
10394         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10395
10396         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10397         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10398         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10399         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10400         Remove NMNetworkStatus and NMActStage enums.
10401
10402 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10403
10404         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10405         Handle device state changes and disconnect VPN if it's device deactivates.
10406
10407         * src/nm-dbus-nm.c: 
10408         * src/nm-dbus-nm.h: 
10409         * src/nm-dbus-device.c: 
10410         * src/nm-dbus-device.c: 
10411         * src/nm-dbus-net.c: 
10412         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10413
10414         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10415
10416         * src/nm-device.c (nm_device_get_by_udi):
10417         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10418         implemented in the correct location (NMManager).
10419         Rip out all the test_device stuff.
10420
10421         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10422         failure handlers, it's all done by NMDevice already.
10423
10424         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10425         Remove the iochannel hack to route the unix signals to the main thread since
10426         we're not threaded anymore.
10427
10428         * src/NetworkManagerAP.c: Implement HWAddress property.
10429
10430         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10431         automatically with dbus-glib.
10432
10433         * src/nm-netlink-monitor.c: 
10434         * src/nm-netlink-monitor.h:
10435                 - Move it low in the class hierarchy, don't reference any NM types.
10436                 - Remove private data from the header.
10437                 - Use type safe checks in public API methods.
10438                 - Make it a singleton so we don't have to pass the single reference around.
10439
10440 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10441
10442         * introspection/nm-ip4-config.xml: Implement.
10443
10444         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10445
10446         * libnm-glib/nm-ip4-config.c:
10447         * libnm-glib/nm-ip4-config.c: Implement.
10448
10449         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10450         securities. APs reference security.
10451
10452         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10453         be exported over DBUS.
10454
10455         * src/nm-device-802-3-ethernet.c: Ditto.
10456
10457         * src/NetworkManagerAP.c:
10458         * src/NetworkManagerAP.h:
10459                 - Convert to GObject, export over DBUS.
10460
10461         * src/nm-ip4-config.h:
10462         * src/nm-ip4-config.h:
10463                 - Convert to GObject, export over DBUS.
10464
10465 2007-02-12  Dan Williams  <dcbw@redhat.com>
10466
10467         Patch from Helmut Schaa <hschaa@suse.de>
10468
10469         * vpn-daemons/pptp/configure.in
10470           vpn-daemons/pptp/Makefile.am
10471           vpn-daemons/openvpn/configure.in
10472           vpn-daemons/openvpn/Makefile.am
10473           vpn-daemons/vpnc/configure.in
10474           vpn-daemons/vpnc/Makefile.am
10475                 - Add --without-gnome switch which disables building gnome bits
10476
10477 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10478
10479         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10480
10481         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10482
10483         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10484         'HwAddress'.
10485
10486         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10487
10488         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10489
10490         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10491
10492         * src/:
10493                 - Remove old low-level dbus interface implementations and replace them
10494                   with dbus-glib one.
10495
10496         * configure.in:
10497                 - Require dbus-glib >= 0.72.
10498                 - Plug in new sources to build.
10499
10500         * libnm-glib/:
10501                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10502                   to make it more convenient to use from GObject based programs.
10503
10504         * introspection/:
10505                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10506
10507 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10508
10509         * src/nm-device-802-11-wireless.c:
10510                 - Add "network-added" and "network-removed" signals.
10511                 - Use gobject boilerplate macros to define the GObject.
10512                 - Implement wireless device activation.
10513                 - Remove activation_failure_handler and activation_success_handler
10514                   and instead listen on state-changed signals and run the same code
10515                   from there.
10516
10517         * src/nm-device.c:
10518                 - Implment NMDeviceInterface::deactivate.
10519                 - Remove activation_failure_handler and activation_success_handler
10520                   virtual methods. Each device which is interested in these events
10521                   can just listen on it's state changed signals.
10522
10523         * src/NetworkManagerPolicy.c:
10524                 - Move a bit more NMData usage to NMManager.
10525                 - Remove activation scheduling bits.
10526                 - Add listeners for wireless device's "network-added" and
10527                   "network-removed" signals.
10528                 - Listen device changed signals and deactivate currently activated
10529                   device when another device start activating (for now).
10530                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10531                   for calling this, the policy code knows exactly when this should happen,
10532                   by listening on events from NMManager and NMDevices.
10533
10534         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10535         Implement.
10536
10537         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10538         method on the specific device instead of going to through policy code
10539         and determining the device type by passed in AP's existance.
10540
10541         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10542         abstract NMDevice deactivation.
10543
10544 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10545
10546         * src/NetworkManager.c:
10547                 - Set up all the shiny new managers.
10548
10549         * src/NetworkManagerPolicy.c:
10550                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10551                   classes to call into policy code, make the policy code kind of like
10552                   a supervisor that monitors what's going on and drives the whole NM.
10553
10554         * src/nm-hal-manager.c: 
10555         * src/nm-hal-manager.h:
10556                 - Collect all libhal code scattered around NM to this one class.
10557                 - Listen libhal and NMManager events and add/remove devices to
10558                   NMManager.
10559
10560         * src/nm-manager.c:
10561         * src/nm-manager.h:
10562                 - Implment a replacement for NMData. NMData is now officially
10563                 deprecated.
10564
10565 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10566
10567         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10568         * src/supplicant-manager/nm-supplicant-interface.h
10569         * src/supplicant-manager/nm-supplicant-interface.c
10570         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10571         argument to boolean from enum.
10572
10573         Make NMDevice abstract class, remove almost all references to it's
10574         subclasses (the last place gets removed with new policy manager). Add
10575         NMDeviceInterface (which NMDevice implements) so that when we have
10576         NMDevice exported over DBUS, there's a common NMDevice interface which
10577         all instances have, plus there's a device specific interface for each
10578         specific type.
10579         Remove functions (nm_device_is_802_3_ethernet) and
10580         (nm_device_is_802_11_wireless). There are already standard GObject macros
10581         for type safe checks.
10582         Use the updated supplican manager API.
10583
10584         * src/nm-device-interface.h: 
10585         * src/nm-device-interface.c: 
10586         * src/nm-call-store.h: 
10587         * src/nm-call-store.c: Implement.
10588
10589         * src/supplicant-manager/nm-supplicant-interface.c:
10590         * src/supplicant-manager/nm-supplicant-interface.h:
10591         * src/supplicant-manager/nm-supplicant-manager.c:
10592         * src/supplicant-manager/nm-supplicant-manager.h:
10593                 - Remove all private data type references from public header files.
10594                 - Remove all references to other NM classes, this class is just a
10595                   proxy between wpa_supplicant and NM so it doesn't have to know
10596                   any internals.
10597                 - Convert to dbus-glib bindings.
10598                 - Type safe checks for public methods' arguments.
10599                 - Store pending DBUS call ids to NMCallStore.
10600
10601         * src/supplicant-manager/nm-supplicant-config.c:
10602                 - Store config values in a GHashTable instead of GSList.
10603
10604         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10605
10606         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10607         singleton now.
10608
10609         * src/nm-device.c: Use the new DHCP manager API.
10610
10611         * src/nm-activation-request.c:
10612         * src/nm-activation-request.h:
10613                 - Remove all dhcp related properties and methods.
10614
10615         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10616
10617         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10618
10619         * src/dhcp-manager/nm-dhcp-manager.c:
10620         * src/dhcp-manager/nm-dhcp-manager.h:
10621                 - Convert it to GObject since we need to signal state changes.
10622                 - Remove all references to other NM classes, this class is one
10623                   of the lowest classes in our hierarchy.
10624                 - One less class to use NMActRequest.
10625                 - Make it singleton, one less user of NMData.
10626                 - Remove a couple of sleep() calls.
10627                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10628                   One less class to use the NM's custom tailored signal handlig.
10629
10630         * Makefile.am: Generate marshallers, add them to build.
10631
10632 2007-02-02  Dan Williams  <dcbw@redhat.com>
10633
10634         * configure.in
10635           gnome/Makefile.am
10636           nm-applet.desktop
10637           Makefile.am
10638                 - Remove last bits referencing gnome applet
10639
10640 2007-02-02  Dan Williams  <dcbw@redhat.com>
10641
10642         * src/vpn-manager/nm-vpn-service.c
10643                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10644                         and NBNS server addresses
10645
10646 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10647
10648         * src/nm-dbus-manager.c:
10649         * src/nm-dbus-manager.h:
10650                 - Convert all internal DBUS code to use dbus-glib bindings.
10651                 - Remove GObject properties, we don't need them here.
10652                 - Don't explicitly set things to NULL after freeing, glib is
10653                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10654                 - Make public API argument checks type safe.
10655                 - Remove unnecessary (and wrong) cast to GObject for the first
10656                   argument to g_signal_* calls - The first argument is a gpointer.
10657                 - Export DBusGConnection to other cool classes that (are going to)
10658                   use dbus-glib.
10659
10660 2007-01-26  Dan Williams  <dcbw@redhat.com>
10661
10662         * libnm-util/dbus-dict-helpers.c
10663           libnm-util/dbus-dict-helpers.h
10664                 - Coordinate style with wpa_supplicant version to minimize diff
10665                 - Add uint32 array support
10666                 - (nmu_dbus_dict_append_uint32_array): new function
10667                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10668                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10669                         version; allow adding string array elements individually
10670
10671         * test/libnm-util/test-dbus-dict-helpers.c
10672                 - Test uint32 arrays
10673
10674 2007-01-27  Jürg Billeter  <j@bitron.ch>
10675
10676         * src/backends/NetworkManagerPaldo.c
10677                 - (nm_system_update_dns): clear nscd hosts cache
10678
10679 2007-01-04  Dan Williams  <dcbw@redhat.com>
10680
10681         Threading removal related cleanups:
10682
10683         - Use the glib default main context.  Remove the device main context
10684                 member from NMDevice, and the main_context member from NMData.  Change
10685                 all the idle and timeout scheduler functions to use plain
10686                 g_idle_add() and g_timeout_add().
10687
10688         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10689                 takes an argument; fix that up too.
10690
10691         - Remove all locking, which is useless since we no longer use threads.  For
10692                 example, nm_get_device_by_iface_locked() has been removed.  The global
10693                 device list lock, the AP List lock, and all static locks in
10694                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10695                 in NetworkManagerUtils.c have also been removed.
10696
10697         - Other cleanups in spacing and code style
10698
10699 2007-01-01  Dan Williams  <dcbw@redhat.com>
10700
10701         Found by Bill Moss:
10702
10703         * src/supplicant-manager/nm-supplicant-interface.c
10704                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10705                         the supplicant interface wasn't already disconnected.  Always
10706                         call removeNetwork and disconnect unless the supplicant interface
10707                         is in the DISCONNECTED or INACTIVE state.
10708
10709 2006-12-28  Dan Williams  <dcbw@redhat.com>
10710
10711         Use a single thread for everything.  With the move to wpa_supplicant
10712         and communication over D-Bus, there's no reason for multiple threads.
10713         Almost all of the blocking code has been removed, with one exception in
10714         the DHCP manager and a few in the VPN manager.  This commit removes the
10715         per-device worker thread and fixes activation cancellation in the absence
10716         of threads.  Further removal of thread-related code would be removing
10717         any locking code (like the device list lock) and simplification of logic
10718         around areas of code or data structures that are currently locked.
10719
10720         * autoip.c
10721           dhcp-manager/nm-dhcp-manager.c 
10722           nm-device-802-11-wireless.c
10723           nm-device-802-3-ethernet.c
10724           nm-device.c
10725           nm-device.h
10726                 - Remove usage of multiple threads
10727
10728 2006-12-19  Dan Williams  <dcbw@redhat.com>
10729
10730         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10731         plus a few other patches from wpa_supplicant bugzilla.
10732
10733         * src/Makefile.am
10734           src/NetworkManagerPolicy.c
10735           src/NetworkManagerUtils.c
10736           src/NetworkManagerUtils.h
10737           src/nm-ap-security-leap.c
10738           src/nm-ap-security-wep.c
10739           src/nm-ap-security-wpa-eap.c
10740           src/nm-ap-security-wpa-psk.c
10741           src/nm-ap-security.c
10742           src/nm-ap-security.h
10743           src/nm-device-802-11-wireless.c
10744           src/nm-device-802-11-wireless.h
10745           src/supplicant-manager/nm-supplicant-config.c
10746           src/supplicant-manager/nm-supplicant-config.h
10747           src/supplicant-manager/nm-supplicant-interface.c
10748           src/supplicant-manager/nm-supplicant-interface.h
10749           src/supplicant-manager/nm-supplicant-marshal.list
10750           src/supplicant-manager/nm-supplicant-settings-verify.c
10751           src/supplicant-manager/nm-supplicant-settings-verify.h
10752                 - Move all connection management and association handling to
10753                         wpa_supplicant over dbus, rather than spawning a private copy
10754
10755 2006-12-19  Dan Williams  <dcbw@redhat.com>
10756
10757         * src/NetworkManagerPolicy.c
10758                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10759                         better locking of the device change check handler ID.  Incorrect
10760                         locking was causing lost device change requests
10761
10762 2006-12-18  Dan Williams  <dcbw@redhat.com>
10763
10764         * libnm-util/dbus-dict-helpers.c
10765                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10766                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10767                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10768
10769 2006-12-18  Dan Williams  <dcbw@redhat.com>
10770
10771         * gnome/libnm_glib/libnm_glib.c
10772                 - Change dbus_connection_close() -> dbus_connection_unref()
10773
10774 2006-12-11  Dan Williams  <dcbw@redhat.com>
10775
10776         * src/supplicant-manager/nm-supplicant-interface.c
10777                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10778                         wpa_supplicant interface state
10779                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10780                         state before transitioning to READY state
10781
10782 2006-12-04  Dan Williams  <dcbw@redhat.com>
10783
10784         * src/nm-device-802-11-wireless.c
10785                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10786                         odd length of ESSID returned from ieee80211 stack-based drivers
10787
10788 2006-12-04  Dan Williams  <dcbw@redhat.com>
10789
10790         * src/nm-device-802-11-wireless.c
10791                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10792                         IE handling blocks that cause mis-parsing of the IE
10793
10794 2006-12-04  Dan Williams  <dcbw@redhat.com>
10795
10796         * src/nm-device-802-11-wireless.c
10797                 - (init_supplicant_interface): new function; pull supplicant interface
10798                         setup code out into standalone function since it must be called from
10799                         two different places
10800                 - (real_init): sup_mgr is now in private object data; get and track
10801                         the supplicant manager object over the NMDevice subclass' lifetime
10802                         and register a signal handler for its state signals; only try to
10803                         initialize the supplicant interface if the supplicant manager is in
10804                         the IDLE state (and therefore is ready for requests)
10805                 - (request_wireless_scan): reschedule the scan request if (a) there is
10806                         no supplicant interface yet (meaning wpa_supplicant isn't running
10807                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10808                         for requests yet
10809                 - (supplicant_iface_connection_state_cb): new function; stub for
10810                         handling supplicant interface connection state signals
10811                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10812                         comes and goes
10813                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10814                         supplicant manager object that's being tracked starting with this
10815                         commit
10816
10817 2006-12-04  Dan Williams  <dcbw@redhat.com>
10818
10819         * src/supplicant-manager/nm-supplicant-interface.c
10820                 - (nm_supplicant_interface_set_property): track signal handler ID
10821                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10822
10823 2006-12-04  Dan Williams  <dcbw@redhat.com>
10824
10825         * src/supplicant-manager/nm-supplicant-interface.[ch]
10826                 - (nm_supplicant_interface_get_state): new function
10827
10828 2006-12-04  Dan Williams  <dcbw@redhat.com>
10829
10830         * src/supplicant-manager/nm-supplicant-interface.c
10831                 - (bssid_properties_cb): don't treat DBus errors as valid
10832                         scanned AP messages
10833
10834 2006-12-04  Dan Williams  <dcbw@redhat.com>
10835
10836         * src/supplicant-manager/nm-supplicant-interface.[ch]
10837                 - (nm_supplicant_interface_get_connection_state): new function
10838                 - define new supplicant connection states
10839                 - send a signal when the supplicant connection state changes
10840
10841 2006-12-03  Dan Williams  <dcbw@redhat.com>
10842
10843         * src/supplicant-manager/Makefile.am
10844           src/supplicant-manager/nm-supplicant-connection.h
10845           src/supplicant-manager/nm-supplicant-connection.c
10846           src/supplicant-manager/nm-supplicant-config.h
10847           src/supplicant-manager/nm-supplicant-config.c
10848           src/supplicant-manager/nm-supplicant-types.h
10849           src/supplicant-manager/nm-supplicant-interface.h
10850           src/supplicant-manager/nm-supplicant-interface.c
10851                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10852
10853 2006-12-03  Dan Williams  <dcbw@redhat.com>
10854
10855         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10856
10857         * po/POTFILES.in
10858           po/POTFILES.skip
10859                 - Move VPN-related translatables to .skip
10860
10861         * vpn-daemons/pptp/po/POTFILES.in
10862                 - Update with new translatables
10863
10864 2006-12-02  Dan Williams  <dcbw@redhat.com>
10865
10866         Patch from Christian Persch <chpe@gnome.org>
10867
10868         * gnome/applet/Makefile.am
10869           gnome/applet/applet-dbus-devices.c
10870           gnome/applet/applet-notifications.c
10871           gnome/applet/applet.c
10872           gnome/applet/applet.h
10873           gnome/applet/main.c
10874                 - Be a GtkStatusIcon on GTK+ >= 2.10
10875
10876 2006-12-02  Dan Williams  <dcbw@redhat.com>
10877
10878         * gnome/applet/applet.c
10879                 - (nma_update_info): fix two unecessary allocations
10880
10881 2006-12-02  Dan Williams  <dcbw@redhat.com>
10882
10883         Patch from Michael Biebl <biebl@teco.edu>
10884         * configure.in
10885           man/NetworkManager.1.in
10886           man/NetworkManagerDispatcher.1.in
10887           man/NetworkManager.8.in
10888           man/NetworkManagerDispatcher.8.in
10889                 - Add .SH NAME stanzas
10890                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10891
10892 2006-12-02  Dan Williams  <dcbw@redhat.com>
10893
10894         Patch from Christian Persch <chpe@gnome.org>
10895
10896         * configure.in
10897                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10898
10899 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10900
10901         Patch by Timo Hoenig <thoenig@suse.de>:
10902         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10903         DBUS-1.0.
10904
10905         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10906         we can't use the one from the main source directory.
10907
10908 2006-11-27  Dan Williams  <dcbw@redhat.com>
10909
10910         Patch from Christian Persch <chpe@gnome.org>
10911
10912         * gnome/applet/applet-dbus-devices.c
10913                 - (hal_info_product_cb): fix memleak; free duped string.
10914                         Gnome.org #379908
10915
10916 2006-11-27  Dan Williams  <dcbw@redhat.com>
10917
10918         Patch from Christian Persch <chpe@gnome.org>
10919
10920         * gnome/applet/menu-items.c
10921                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10922                         as gtk_progress_set_percentage is deprecated.  Should
10923                         work as far back as GTK+ 2.4.  Gnome.org #379780
10924
10925 2006-11-26  Dan Williams  <dcbw@redhat.com>
10926
10927         Scan using wpa_supplicant over DBus.
10928
10929         * src/nm-device-802-11-wireless.c
10930                 - remove wireless extensions netlink event handler bits
10931                         (wireless_event_helper, nm_device_802_11_wireless_event)
10932                 - remove wireless extensions scan event handler bits
10933                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10934                         hex2byte, hex2num, request_and_convert_scan_results,
10935                         free_process_scan_cb_data, scan_results_timeout,
10936                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10937                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10938                         and request scans from the supplicant interface rather than directly
10939                 - Move functionality of convert_scan_results() to cull_scan_list() and
10940                         supplicant_iface_scanned_ap_cb()
10941                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10942                         at the scan interval when the current scan has finished
10943                 - (supplicant_iface_state_cb): start scanning when the supplicant
10944                         interface enters the READY state, and stop scanning when it
10945                         enters the DOWN state
10946                 - (cull_scan_list): weed out old access points from the scan list
10947                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10948                         point into an NMAccessPoint and merge it into the device's scan list
10949
10950         * src/supplicant-manager/nm-supplicant-interface.c
10951           src/supplicant-manager/nm-supplicant-interface.h
10952                 - Add a new signal "scan-result" which is issued when the supplicant
10953                         notifies NM that a scan has completed
10954                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10955                         point found in the scan.  Called once for each access point that
10956                         the supplicant interface object receives from the supplicant as a
10957                         result of the "scanResults" method call
10958                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10959                         for the initial scan results
10960                 - (scan_request_cb): new function; send listeners the result
10961                         (success, error) of a wireless scan request
10962                 - (nm_supplicant_interface_request_scan): new function; ask the
10963                         supplicant to perform an immediate wireless scan
10964
10965 2006-11-25  Dan Williams  <dcbw@redhat.com>
10966
10967         * src/supplicant-manager/Makefile.am
10968                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10969                         add HAL cflags/includes and named-manager includes directory
10970
10971         * src/supplicant-manager/nm-supplicant-interface.h
10972                 - New state STARTING to handle transition from INIT to READY where
10973                         the addInterface pending call is still outstanding
10974
10975         * src/supplicant-manager/nm-supplicant-interface.c
10976                 - track pending calls differently since we may have more than one
10977                         going on at any given time
10978                 - request scan results from wpa_supplicant; but don't do it more often
10979                         than every 4 seconds.  Drivers that do background scanning
10980                         (like the 'ipw' drivers) send a continuous stream of scan completion
10981                         notifications, so we don't want to hammer the supplicant or dbus
10982                         with requests for all scan results every time we get a completion
10983                         notification.
10984
10985 2006-11-25  Dan Williams  <dcbw@redhat.com>
10986
10987         * src/supplicant-manager/nm-supplicant-types.h
10988                 - new file; move all supplicant manager object typedefs here for
10989                         #include sanity
10990
10991         * src/supplicant-manager/nm-supplicant-interface.c
10992           src/supplicant-manager/nm-supplicant-interface.h
10993                 - new file; an object that interfaces an NMDevice object to the
10994                         supplicant and handles signals from the supplicant.  This object
10995                         does all necessary DBus communication with wpa_supplicant.
10996
10997         * src/supplicant-manager/nm-supplicant-manager.c
10998           src/supplicant-manager/nm-supplicant-manager.h
10999                 - Actually do something.  Track the state of the wpa_supplicant service
11000                         and deal with its comings & goings.  Handle life events of
11001                         supplicant interfaces too.
11002                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11003
11004         * src/supplicant-manager/nm-supplicant-connection.h
11005                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11006
11007         * src/supplicant-manager/Makefile.am
11008                 - Add new files to build, and add libnm-util to includes
11009
11010         * src/nm-marshal.list
11011                 - New marshaler type: VOID:UINT,UINT
11012
11013         * src/nm-device-802-3-ethernet.c
11014                 - (real_init): grab a supplicant interface
11015                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11016                 - (supplicant_iface_state_cb): new function, stub for handling
11017                         supplicant interface state changes
11018
11019         * src/nm-device-802-11-wireless.c
11020                 - (real_init): grab a supplicant interface
11021                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11022                 - (supplicant_iface_state_cb): new function, stub for handling
11023                         supplicant interface state changes
11024
11025         * src/NetworkManager.c
11026                 - (main): create and keep the supplicant manager around for the lifetime
11027                         of NetworkManager
11028
11029         * src/Makefile.am
11030                 - Link to the supplicant manager sub-library and use the supplicant
11031                         manager includes
11032
11033 2006-11-25  Dan Williams  <dcbw@redhat.com>
11034
11035         Rework DBus manager signal handling to be more flexible.  Previously,
11036         only one signal handler could be registered for a particular interface.
11037         The DBus manager now reference counts DBus bus matches and allows multiple
11038         clients to register signal handlers for the same interface and sender.
11039
11040         * src/NetworkManager.c
11041                 - (main): track NMI signal handler ID and remove it when we quit
11042
11043         * src/NetworkManagerMain.h
11044                 - Keep track of NMI signal handler ID
11045
11046         * src/nm-dbus-manager.c
11047           src/nm-dbus-manager.h
11048                 - rework signal handling; each signal handler references one signal
11049                         match, but a signal match may be referenced by one or more
11050                         signal handlers.  Matches are refcounted and are destroyed when the
11051                         last signal handler that references the match is removed.  This is
11052                         necessary because two signal handlers may end up requiring the same
11053                         dbus bus match, so the match must live until the last signal handler
11054                         is destroyed (for example, with the wpa_supplicant network interface
11055                         dbus interface).
11056
11057         * src/dhcp-manager/nm-dhcp-manager.c
11058                 - (nm_dhcp_manager_new): track DHCP signal handler id
11059                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11060
11061         * src/vpn-manager/nm-vpn-service.c
11062                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11063                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11064
11065 2006-11-25  Dan Williams  <dcbw@redhat.com>
11066
11067         Suggested by Helmut Schaa <hschaa@suse.de>
11068
11069         * src/vpn-daemons/nm-vpn-service.c
11070                 - (supplicant_child_setup): new function
11071                 - (supplicant_exec): make child process use a new process group id
11072
11073         * src/nm-device-802-11-wireless.c
11074                 - (nm_vpn_service_child_setup): new function
11075                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11076                         process group id
11077
11078 2006-11-19  Dan Williams  <dcbw@redhat.com>
11079
11080         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11081         * gnome/vpn-properties/nm-vpn-properties.c
11082                 - clean up after renamed VPN connection
11083
11084 2006-11-19  Dan Williams  <dcbw@redhat.com>
11085
11086         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11087         * gnome/applet/applet-dbus-vpn.c
11088                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11089
11090         * gnome/vpn-properties/nm-vpn-properties.c
11091                 - (init_app): sort VPN connections
11092
11093 2006-11-09  Dan Williams  <dcbw@redhat.com>
11094
11095         * src/NetworkManagerAPList.c
11096                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11097                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11098                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11099                 broke hidden SSID matching.  Found by Bill Moss.
11100
11101 2006-10-25  Dan Williams  <dcbw@redhat.com>
11102
11103         * src/nm-dbus-nm.c
11104                 - (nm_dbus_nm_set_active_device): return an empty success message on
11105                         success, rather than falling through to the error case.
11106
11107 2006-10-25  Dan Williams  <dcbw@redhat.com>
11108
11109         * src/NetworkManagerUtils.c
11110                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11111                         "SCAN" command
11112
11113 2006-10-24  Dan Williams  <dcbw@redhat.com>
11114
11115         Reduce the number of times the Gnome applet wakes up, especially when
11116         it's doing absolutely nothing and is hidden.  Initial patch by
11117         Chris Aillon.
11118
11119         * gnome/applet/applet-dbus.c
11120                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11121                         kill the redraw timeout.  When NM starts up, start the redraw
11122                         timeout.  Also, if we get kicked off the bus for some reason,
11123                         start the reconnection timeout if one's not already running.
11124                 - (nma_dbus_init): better handling of error conditions, don't leak
11125                         a half-initialized dbus connection
11126                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11127                         the applet's data, just call nm_dbus_init_helper()
11128                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11129                         timeout that calls nma_dbus_connection_watcher()
11130                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11131                         reconnection timeout, and don't start the reconnection timeout
11132                         unconditionally anymore
11133
11134         * gnome/applet/applet-dbus.h
11135                 - Expose nma_start_dbus_connection_watch()
11136
11137         * gnome/applet/applet.c
11138                 - (nma_update_state): no longer static, called from applet-dbus.c for
11139                         immediate UI updates on certain events
11140                 - (nma_set_running): new function; take over setting applet->running,
11141                         when not running (ie, NM is not active), don't activate the redraw
11142                         timeout because we're not showing the applet anyway.  When we are
11143                         running (ie, NM is active), and only when we're running, start the
11144                         redraw timeout.
11145                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11146                         kill any reconnection timeout
11147                 - (nma_get_instance): move one-off dbus initialization code here since
11148                         nm_dbus_init_helper() gets called more than once, possibly by the
11149                         reconnection timeout function too.  And, when we start up, if we
11150                         can't get a connection to the bus, start the reconnection timeout.
11151                         But don't start the redraw timeout yet, only do that when we get
11152                         NM's state and find out if it's running or not.
11153
11154         * gnome/applet/applet.h
11155                 - Add the reconnection GSource ID
11156                 - Add prototypes for nma_set_running() and the no-longer-static
11157                         nma_update_state()
11158
11159 2006-10-24  Dan Williams  <dcbw@redhat.com>
11160
11161         * src/vpn-daemons/nm-dbus-vpnc.c
11162                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11163                         pending call tracker
11164                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11165                         pending call tracker; register one-vpn-connection update pending
11166                         call in pending call tracker
11167                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11168                         update pending call in pending call tracker
11169                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11170                         update pending call in pending call tracker; don't block waiting
11171                         for call to return
11172
11173 2006-10-19  Robert Love  <rml@novell.com>
11174
11175         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11176           refresh the cache.
11177
11178 2006-10-14  Dan Williams  <dcbw@redhat.com>
11179
11180         * src/dhcp-manager/nm-dhcp-manager.c
11181                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11182                 the dbus connection and the device object path rather than
11183                 constructing it inside both functions.  Saves a bit of memory
11184                 and clarifies a failure path.
11185                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11186                 and allocate device path here rather than each of the two
11187                 functions above.
11188
11189 2006-10-13  Dan Williams  <dcbw@redhat.com>
11190
11191         * src/NetworkManager.c
11192                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11193                 this somehow droppout in the refactor
11194
11195 2006-10-13  Dan Williams  <dcbw@redhat.com>
11196
11197         * Huge DBus refactor:
11198                 - Create a "DBus Manager" object which manages the connection and
11199                 sends signals on NameOwnerChanged and connection/disconnection events,
11200                 handles reconnection to the bus if NM gets kicked off, and abstracts
11201                 signal handling
11202                 - Remove DBusConnection members from places where they are no
11203                 longer needed due to the refactor, like the dbus-connection
11204                 property of the named manager, and from NMData
11205                 - Reformats a bunch of the code to gnome style
11206                 (8-space tabs, braces on same line as statement, 80-col width).
11207                 Consider it open season to reformat any bits to gnome style.
11208                 style that aren't already.
11209
11210 2006-10-13  Dan Williams  <dcbw@redhat.com>
11211
11212         * src/supplicant-manager/Makefile.am
11213                 - Add new files
11214
11215         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11216                 - Make it a minimal GObject
11217
11218         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11219                 - Verify settings destined for wpa_supplicant
11220
11221         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11222                 - Minimal GObject to track wpa_supplicant controlled device
11223                 connections
11224
11225 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11226
11227         * gnome/applet/applet.c: (nma_update_info),
11228         (nma_act_stage_to_pixbuf), (nma_update_state):
11229         Mark missing strings for translation. Fixes bug #343306.
11230
11231 2006-10-01  Dan Williams  <dcbw@redhat.com>
11232
11233         * src/vpn-manager/nm-vpn-manager.c
11234                 - (nm_vpn_manager_load_services): split and clean up
11235                 for readability and correctness.  Restrict VPN service
11236                 files to ending in ".name", as was meant from the
11237                 beginning (but not coded in).  Better error reporting.
11238
11239 2006-10-01  Dan Williams  <dcbw@redhat.com>
11240
11241         * utils/nm-utils.h
11242                 - Clean up formatting of debug/info/warning log messages
11243
11244 2006-09-27  Robert Love  <rml@novell.com>
11245
11246         Patch by Tambet Ingo <tambet@ximian.com>:
11247         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11248           actually work.
11249
11250 2006-09-07  Dan Williams <dcbw@redhat.com>
11251
11252         * test/Makefile.am
11253           test/libnm-util/Makefile.am
11254           test/nm-supplicant-test.c
11255                 - Add test program emulating the way NM drives wpa_supplicant
11256                 to help debug supplicant issues
11257
11258 2006-08-24  Dan Williams <dcbw@redhat.com>
11259
11260         * configure.in
11261           src/Makefile.am
11262           src/supplicant-manager/Makefile.am
11263           src/supplicant-manager/nm-supplicant-manager.c
11264           src/supplicant-manager/nm-supplicant-manager.h
11265                 - Add skeleton bits of the wpa_supplicant manager
11266
11267 2006-08-24  Dan Williams <dcbw@redhat.com>
11268
11269         Patch from Ed Catmur:
11270         * src/NetworkManagerUtils.c
11271                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11272                 if netmask is 0 (Gnome #352634)
11273
11274 2006-08-17  Robert Love  <rml@novell.com>
11275
11276         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11277           package is now DBUS-enabled and listens for the NM signals.
11278
11279 2006-08-14  Dan Williams  <dcbw@redhat.com>
11280
11281         * Patch from Christian Persch <chpe gnome org>
11282         * configure.in
11283           po/LINGUAS
11284           vpn-daemons/openvpn/po/LINGUAS
11285           vpn-daemons/openvpn/configure.in
11286           vpn-daemons/pptp/po/LINGUAS
11287           vpn-daemons/pptp/configure.in
11288           vpn-daemons/vpnc/po/LINGUAS
11289           vpn-daemons/vpnc/configure.in
11290                 - Convert to LINGUAS method so translators don't have to modify
11291                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11292                 0.35 or higher
11293
11294 2006-08-14  Dan Williams  <dcbw@redhat.com>
11295
11296         Patch from Alex Smith <alex.extreme2@gmail.com>
11297         * configure.in
11298           src/backends/Makefile.am
11299           src/backends/NetworkManagerFrugalware.c
11300                 - Add support for Frugalware
11301
11302 2006-08-13  Dan Williams  <dcbw@redhat.com>
11303
11304         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11305         * src/nm-device-802-11-wireless.c
11306                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11307                 Gnome #346875
11308
11309 2006-08-13  Dan Williams  <dcbw@redhat.com>
11310
11311         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11312         * src/nm-ap-security.c
11313           src/nm-ap-security.h
11314                 - Add authentication_required bits for subclasses to specify whether
11315                 or not real authentication is required for connections, i.e. whether
11316                 the AP rejects us when an encryption key is wrong or not.
11317
11318         * src/nm-ap-security-wep.c
11319           src/nm-ap-security-wpa-eap.c
11320           src/nm-ap-security-wpa-psk.c
11321           src/nm-ap-security-leap.c
11322                 - Implement authentication_required appropriately for each method
11323
11324         * src/nm-device-802-11-wireless.c
11325                 - Be smarter about when to request a key; for example, using a wrong key
11326                 in WEP shared key mode previously just timed out and did not request
11327                 a new key
11328
11329 2006-08-13  Dan Williams  <dcbw@redhat.com>
11330
11331         * gnome/libnm_glib/libnm_glib.c
11332                 - dbus_connection_disconnect() -> dbus_connection_close() for
11333                 dbus >= 0.90
11334
11335 2006-08-07  Dan Williams  <dcbw@redhat.com>
11336
11337         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11338         * src/NetworkManagerSystem.c
11339                 - Respect specified MTU.  Gnome #344967
11340
11341 2006-08-07  Dan Williams  <dcbw@redhat.com>
11342
11343         * src/vpn-manager/nm-vpn-service.c
11344                 - Simplify print_vpn_config() arguments
11345
11346         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11347         * src/vpn-manager/Makefile.am
11348           src/vpn-manager/nm-vpn-service.c
11349                 - Add new API for passing VPN config options as a dict. Gnome #344967
11350
11351 2006-08-06  Dan Williams  <dcbw@redhat.com>
11352
11353         * gnome/applet/applet-dbus-devices.c
11354           gnome/applet/applet-dbus-vpn.c
11355           gnome/applet/applet-dbus.c
11356           gnome/applet/applet-dbus.h
11357           src/nm-dbus-nmi.c
11358           utils/nm-utils.c
11359           utils/nm-utils.h
11360                 - Make pending call tracking code generic,
11361                 so we can use it in NM as well as the applet
11362
11363 2006-08-06  Dan Williams  <dcbw@redhat.com>
11364
11365         * src/nm-activation-request.c
11366                 - Refcount pending call objects
11367
11368 2006-08-06  Dan Williams  <dcbw@redhat.com>
11369
11370         Patch from Christan Chiesa <christanc@gmail.com>
11371         * configure.in
11372                 - Tell sha1.c to use bigendian mode on PPC
11373
11374 2006-08-04  Robert Love  <rml@novell.com>
11375
11376         Glib Memory Slices!
11377         * configure.in: Require glib 2.10 or later.
11378         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11379           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11380           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11381           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11382           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11383           Memory Slices are the greatest thing since bread slices.
11384         * src/NetworkManagerAP.c: Also, fix memory leak.
11385
11386 2006-08-01  Robert Love  <rml@novell.com>
11387
11388         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11389
11390 2006-07-31  Robert Love  <rml@novell.com>
11391
11392         * src/backends/interface_parser.c: Declarations must begin the block.
11393
11394 2006-07-24  Dan Williams  <dcbw@redhat.com>
11395
11396         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11397         * src/backends/Makefile.am
11398           src/backends/NetworkManagerArch.c
11399           src/backends/NetworkManagerDebian.c
11400           src/backends/NetworkManagerGeneric.c
11401           src/backends/NetworkManagerGeneric.h
11402           src/backends/NetworkManagerGentoo.c
11403           src/backends/NetworkManagerPaldo.c
11404           src/backends/NetworkManagerRedHat.c
11405           src/backends/NetworkManagerSlackware.c
11406           src/backends/NetworkManagerSuSE.c
11407                 - Genericize common backend functions
11408
11409 2006-07-18  Robert Love  <rml@novell.com>
11410
11411         * configure.in: Add "--with-notify" option to allow disabling of
11412           libnotify support.
11413
11414 2006-07-13  Dan Williams  <dcbw@redhat.com>
11415
11416         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11417         * gnome/applet/applet.glade
11418           gnome/applet/Makefile.am
11419           gnome/applet/nm-gconf-wso.c
11420           gnome/applet/nm-gconf-wso-leap.c
11421           gnome/applet/nm-gconf-wso-leap.h
11422           gnome/applet/wireless-security-manager.c
11423           gnome/applet/wso-leap.c
11424           gnome/applet/wso-leap.h
11425           include/NetworkManager.h
11426           libnm-util/dbus-helpers.c
11427           libnm-util/dbus-helpers.h
11428           src/Makefile.am
11429           src/NetworkManagerAP.c
11430           src/nm-ap-security.c
11431           src/nm-ap-security-leap.c
11432           src/nm-ap-security-leap.h
11433                 - Add LEAP authentication support
11434
11435 2006-07-13  Dan Williams  <dcbw@redhat.com>
11436
11437         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11438         * configure.in
11439           src/backends/NetworkManagerArch.c
11440           src/backends/NetworkManagerDebian.c
11441           src/backends/NetworkManagerGentoo.c
11442           src/backends/NetworkManagerPaldo.c
11443           src/backends/NetworkManagerRedHat.c
11444           src/backends/NetworkManagerSlackware.c
11445           src/backends/NetworkManagerSuSE.c
11446                 - Convert hardcoding of 'ip' path to configure-time
11447                         detected one
11448
11449 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11450
11451         * configure.in: added ru to ALL_LINGUAS
11452
11453 2006-07-10  Dan Williams  <dcbw@redhat.com>
11454
11455         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11456         * src/nm-device.c
11457                 - (real_act_stage3_ip_config_start): don't infinite loop when
11458                         dhcdbd isn't running (Gnome #346845)
11459
11460 2006-07-09  Dan Williams  <dcbw@redhat.com>
11461
11462         * gnome/applet/applet.c
11463                 - (nma_destroy): don't pass NULL to notify_notification_close
11464                         (RH #197917)
11465
11466 2006-07-09  Dan Williams  <dcbw@redhat.com>
11467
11468         * gnome/applet/applet.c
11469                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11470
11471 2006-07-04  Tor Krill  <tor@krill.nu>
11472
11473         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11474         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11475         (nm_system_restart_mdns_responder), (ArchReadConfig),
11476         (nm_system_device_get_system_config):
11477                 - Explicitly check for DHCP configuration
11478                 - Check if daemons are running before starting them
11479
11480 2006-06-25  Dan Williams  <dcbw@redhat.com>
11481
11482         * libnm-util/dbus-dict-helpers.[ch]
11483           test/libnm-util/test-dbus-dict-helpers.c
11484                 - Add string array support
11485
11486 2006-06-24  Dan Williams  <dcbw@redhat.com>
11487
11488         * src/dhcp-manager/nm-dhcp-manager.c
11489                 - (nm_dhcp_manager_process_signal): clean up spacing
11490
11491 2006-06-21  Dan Williams  <dcbw@redhat.com>
11492
11493         * src/nm-dbus-device.c
11494                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11495                         through dbus
11496
11497 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11498
11499         * configure.in: Added 'lv' to ALL_LINGUAS
11500
11501 2006-06-19  Dan Williams  <dcbw@redhat.com>
11502
11503         * src/NetworkManagerAP.c
11504                 - Clarify usage of user_created
11505
11506         * src/nm-ap-security-wep.c
11507           src/nm-ap-security-wpa-eap.c
11508           src/nm-ap-security-wpa-psk.c
11509           src/nm-ap-security.c
11510           src/nm-ap-security.h
11511                 - s/user_created/adhoc, because we really do mean adhoc
11512
11513         Patch from Bernard Blackham <bernard@blackham.com.au>
11514         * src/nm-device-802-11-wireless.c         
11515                 - (supplicant_send_network_config): instead of user_created,
11516                         use adhoc, and do AP_SCAN 2 for adhoc networks
11517
11518 2006-06-18  Robert Love  <rml@novell.com>
11519
11520         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11521           we have a value to set.  Gconf generates a warning if `val' is NULL.
11522         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11523           unless we actually received a valid private key file passphrase or
11524           password.  Otherwise, we don't know to later ask the applet to pull
11525           the key from the keyring.
11526
11527 2006-06-17  Dan Williams  <dcbw@redhat.com>
11528
11529         * libnm-util/dbus-dict-helpers.[ch]
11530           test/libnm-util/test-dbus-dict-helpers.c
11531                 - Fixes for zero-length byte arrays
11532                 - Replace return values of 0 with FALSE for clarity
11533                 - Test zero-length byte arrays
11534
11535 2006-06-17  Dan Williams  <dcbw@redhat.com>
11536
11537         * libnm-util/dbus-dict-helpers.[ch]
11538           test/libnm-util/test-dbus-dict-helpers.c
11539                 - Add helpers for byte arrays
11540                 - Rework bits of the testcase
11541
11542 2006-06-16  Dan Williams  <dcbw@redhat.com>
11543
11544         * libnm-util/Makefile.am
11545         * libnm-util/dbus-dict-helpers.[ch]
11546                 - Add some helpers to take the pain out of using dict types in
11547                         dbus.
11548
11549         * test/libnm-util/Makefile.am
11550         * test/libnm-util/test-dbus-dict-helpers.c
11551                 - Test cases for the dict helper functions
11552
11553 2006-06-15  Robert Love  <rml@novell.com>
11554
11555         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11556           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11557           if there is no key to pass.
11558         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11559           receiving a non-NULL key.
11560
11561 2006-06-14  Robert Love  <rml@novell.com>
11562
11563         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11564           copy the strings.
11565
11566
11567 2006-06-14  Dan Williams  <dcbw@redhat.com>
11568
11569         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11570         * src/nm-device-802-11-wireless.c
11571                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11572                         or ones where the driver is unknown
11573                 - (supplicant_exec): don't wait for supplicant startup here
11574                 - (supplicant_interface_init): finer grained polling for supplicant
11575                         startup
11576
11577 2006-06-13  Robert Love  <rml@novell.com>
11578
11579         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11580           if it is currently set to TRUE.  Otherwise, we will reset the value
11581           when we connect normally.
11582         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11583           the old BSSID is valid, too.  The recently added ESSID check may not be
11584           sufficient (we can remove it?).  What we really want to catch is the
11585           case of going from all-zeros to the BSSID of some other network, which
11586           happens on failure.
11587
11588 2006-06-09  Dan Williams  <dcbw@redhat.com>
11589
11590         * src/NetworkManagerSystem.[ch]
11591                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11592                         it was unused and pointless
11593                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11594                         fix for set_up_down_with_iface change
11595
11596         * src/vpn-manager/nm-vpn-connection.c
11597                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11598
11599         * src/backends/NetworkManagerPaldo.c
11600           src/backends/NetworkManagerRedHat.c
11601           src/backends/NetworkManagerSuSE.c
11602           src/backends/NetworkManagerArch.c
11603           src/backends/NetworkManagerDebian.c
11604           src/backends/NetworkManagerGentoo.c
11605                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11606                         appropriate
11607                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11608                         where appropriate
11609
11610 2006-06-09  Dan Williams  <dcbw@redhat.com>
11611
11612         Patch from Peter Jones:
11613         * src/nm-device-802-11-wireless.c
11614                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11615                         SSID hasn't changed from what we expect before automatically
11616                         updating the saved BSSID from a new AP
11617
11618 2006-06-08  Robert Love  <rml@novell.com>
11619
11620         Add 'fallback' support.  NetworkManager will attempt to brute-force
11621         connect to networks marked as fallback if there are no better wireless
11622         connections available.  This is useful as a method of last resort, to
11623         work around driver problems, and for use with hidden networks.
11624         * gnome/applet/applet-dbus-devices.c,
11625           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11626         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11627           pass it on via DBUS.
11628         * gnome/applet/applet.c: No fallback by default.
11629         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11630           Update other-network-dialog to add UI checkbox toggling fallback.
11631         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11632           propery from AP object.  Add "fallback" property to AP object.
11633         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11634         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11635         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11636           separate function.  Add get_best_fallback_ap() for returning an AP
11637           on which to attempt fallback.
11638         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11639         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11640
11641 2006-06-07  Robert Love  <rml@novell.com>
11642
11643         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11644           checked that the return type was GCONF_VALUE_STRING, not the correct
11645           GCONF_VALUE_BOOL, and thus it never worked.
11646         * src/NetworkManagerAPList.c: Before concluding that two networks are
11647           identical based on their BSSID, make sure that the BSSID in question
11648           is actually valid.  Specifically, an empty or all zero BSSID does not
11649           cut it.
11650         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11651           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11652           similar invariant clean up.
11653
11654 2006-06-02  Robert Love  <rml@novell.com>
11655
11656         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11657
11658 2006-05-28  Dan Williams  <dcbw@redhat.com>
11659
11660         * gnome/applet/applet.glade
11661           gnome/vpn-properties/nm-vpn-properties.glade
11662                 - Set window icons on dialogs  (Gnome.org #333420)
11663
11664 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11665
11666         * gnome/vpn-properties/nm-vpn-properties.glade:
11667         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11668         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11669         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11670                 - Make the VPN properties pages prettier and more HIG
11671                   compliant. Gnome Bug #336913.
11672
11673 2006-05-28  Dan Williams  <dcbw@redhat.com>
11674
11675         Patch from Christian Persch <chpe@gnome.org>
11676         * gnome/vpn-properties/nm-vpn-properties.c
11677         * gnome/vpn-properties/nm-vpn-properties.glade
11678                 - HIG-ification love  (Gnome.org #336846)
11679
11680 2006-05-28  Dan Williams  <dcbw@redhat.com>
11681
11682         Patch from Christian Persch <chpe@gnome.org>
11683         * configure.in
11684           gnome/vpn-properties/nm-vpn-properties.c
11685                 - (main): Fix option parsing.  Gnome.org #336847
11686
11687 2006-05-28  Dan Williams  <dcbw@redhat.com>
11688
11689         * gnome/vpn-properties/nm-vpn-properties.c
11690                 - (find_vpn_ui_by_service_name): protect against NULL service names
11691                 - (update_edit_del_sensitivity): protect against NULL service names
11692                         Gnome.org #341306
11693
11694 2006-05-28  Dan Williams  <dcbw@redhat.com>
11695
11696         Patch from Chris Fuller <crf@grandecom.net>:
11697         * src/nm-device-802-11-wireless.c
11698                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11699                         don't dispose of wireless-specific stuff unless it is actually
11700                         initialized.  Gnome.org #341263
11701
11702 2006-05-28  Dan Williams  <dcbw@redhat.com>
11703
11704         * src/NetworkManagerPolicy.c
11705                 - (nm_policy_device_change_check): don't switch devices if the "best"
11706                         AP is essentially the same as the current activation request, but
11707                         the current activation request isn't done activating yet.  Fixes
11708                         multiple requests for keyring password on startup for Gnome applet.
11709                         Gnome.org #341297
11710
11711 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11712
11713         * src/NetworkManager.c: use GOptions instead of getopt
11714         * configure.in: bump glib required version to >= 2.6 for GOption
11715           support
11716
11717 2006-05-25  Robert Love  <rml@novell.com>
11718
11719         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11720           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11721           instead of dumping ifdef's throughout the code.
11722         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11723           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11724           use nm_ioctl_info() in lieu.
11725
11726 2006-05-25  Robert Love  <rml@novell.com>
11727
11728         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11729         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11730           not using gcrypt.  Otherwise, we get a linker error.
11731
11732 2006-05-25  Robert Love  <rml@novell.com>
11733
11734         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11735         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11736           configure flag to disable building of the GNOME-based applet.
11737
11738 2006-05-25  Robert Love  <rml@novell.com>
11739
11740         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11741           parameter from link, because it shadows a global variable with some
11742           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11743           should never have exported to the entire system a common four letter
11744           word.  But we here at NetworkManager are team players.  Fixes
11745           GNOME bug #336532.
11746
11747 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11748
11749         * configure.in: Added mk.po, Macedonian translation.
11750
11751 2006-05-24  Robert Love  <rml@novell.com>
11752
11753         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11754           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11755           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11756
11757 2006-05-24  Robert Love  <rml@novell.com>
11758
11759         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11760           libnm-util/Makefile.am, src/Makefile.am,
11761           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11762           vpn-daemons/openvpn/properties/Makefile.am,
11763           vpn-daemons/pptp/auth-dialog/Makefile.am,
11764           vpn-daemons/pptp/properties/Makefile.am,
11765           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11766           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11767           user passed for --datadir, if anything, when setting the GNOME locale
11768           directory.  It should be a function of the specified datadir and not
11769           the prefix.
11770
11771 2006-05-24  Robert Love  <rml@novell.com>
11772
11773         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11774           src/NetworkManager.c: Take care to call bindtextdomain with the
11775           location of msgid files.
11776         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11777           files.
11778
11779 2006-05-22  Robert Love  <rml@novell.com>
11780
11781         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11782           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11783           99% of the time there is a real problem with wireless, and a
11784           seemingly successful connection via Zeroconf just confuses the user.
11785           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11786
11787 2006-05-22  Robert Love  <rml@novell.com>
11788
11789         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11790           autofs on interface up if NIS is configured.  On interface down, do
11791           nothing.
11792
11793 2006-05-22  Robert Love  <rml@novell.com>
11794
11795         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11796           to avoid calling g_object_unref() on stale pointers on error in
11797           nma_icons_free().  This happens because we short-circuit loaded the
11798           icons on the first failure but then free all icons.  Normally we have
11799           no issue because the icons were zero'ed out malloc, but we have stale
11800           pointer data after nma_icon_theme_changed().
11801         * gnome/applet/main.c: Return error code if nma_new() failed.
11802
11803 2060-05-21  Dan Williams  <dcbw@redhat.com>
11804
11805         * initscript/NetworkManager.in
11806                 - Ensure both dhcdbd and named are started before NM
11807
11808 2006-05-21  Dan Williams  <dcbw@redhat.com>
11809
11810         * configure.in
11811                 - Bump version to 0.7 to signify we are in 0.7 development
11812
11813 2006-05-21  Dan Williams  <dcbw@redhat.com>
11814
11815         Patch from Adam Schreiber <sadam@clemson.edu>
11816         * gnome/vpn-properties/nm-vpn-properties.c
11817                 - (main): correct Gnome program name  (gnome.org #342498)
11818
11819 2006-05-21  Dan Williams  <dcbw@redhat.com>
11820
11821         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11822
11823         * src/NetworkManagerDbus.[ch]
11824                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11825                         clarify that function's argument should be an escaped dbus object
11826                         path, and look for path segment end before returning a match
11827         * src/nm-dbus-nm.c:
11828                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11829
11830 2006-05-17  Robert Love  <rml@novell.com>
11831
11832         Functionality to differentiate Ad-Hoc networks from infrastructure
11833         networks in the applet, by displaying a special icon:
11834         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11835         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11836         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11837           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11838           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11839           networks, encrypted or not.
11840         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11841           accessor functions to get and set the mode of a given network,
11842           wireless_network_get_mode() and wireless_network_set_mode().
11843
11844 2006-05-17  Robert Love  <rml@novell.com>
11845
11846         Functionality to automatically add BSSIDs to the allowed-MAC list as
11847         one roams from access point to access point on a given network:
11848         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11849           helper function to compare two ether_addr structures and return TRUE
11850           if they contain the same MAC address.
11851         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11852           prototype.
11853         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11854           stored with the current AP.  If the BSSID has indeed changed, we
11855           send it out to the applet, allowing the allowed-MAC list to grow
11856           automatically in response to roaming.
11857
11858 2006-05-16  Robert Love  <rml@novell.com>
11859
11860         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11861           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11862
11863 2006-05-13  Dan Williams  <dcbw@redhat.com>
11864
11865         * src/nm-device-802-3-ethernet.c
11866                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11867                         carrier detect (Debian bug #366373)
11868
11869 2006-05-11  Dan Williams  <dcbw@redhat.com>
11870
11871         Patch from Michael Biebl <biebl@teco.edu>
11872         * src/backends/NetworkManagerDebian.c
11873                 - Debian backend fixups
11874
11875 2006-05-10  Robert Love  <rml@novell.com>
11876
11877         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11878
11879 2006-05-09  Robert Love  <rml@novell.com>
11880
11881         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11882           private certificate passphrase, if any, in the GNOME Keyring.
11883         * libnm-utils/dbus-helpers.c: Update.
11884
11885 2006-05-05  Dan Williams  <dcbw@redhat.com>
11886
11887         * src/nm-device-802-11-wireless.c
11888                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11889                         nm_device_802_11_wireless_disable_encryption() since that's all
11890                         we use it for anymore; we don't ever set WEP keys ourselves.
11891                 - (real_deactivate_quickly): reset SSID and encryption keys
11892                 - (real_deactivate): move SSID and encryption key reset to
11893                         real_deactivate_quickly(), which gets run before us anyway
11894
11895 2006-05-05  Robert Love  <rml@novell.com>
11896
11897         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11898           root has a wacky default of its own (or, more common, a user has a
11899           bad umask and uses su/sudo to restart NetworkManager).  Anything
11900           other than 0022 does not do what we want with, for example,
11901           resolv.conf.  This problem is amplified by our judicious use of
11902           fopen(), which uses mode 0666 -- implying that the only way to get
11903           the permissions we want is with a umask of 0022.
11904
11905 2006-05-05  Dan Williams  <dcbw@redhat.com>
11906
11907         * gnome/libnm_glib/libnm_glib.c
11908                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11909                         to reconnect; instead wait a bit more with each reconnect attempt
11910                         up to a max of one minute.
11911
11912 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11913
11914         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11915           the WirelessNetwork structure using the proper function instead of
11916           just casting it directly to (const char *) (gnome.org #336991)
11917
11918 2006-05-03  Robert Love  <rml@novell.com>
11919
11920         * src/backends/NetworkManagerSuSE.c: Respect the variable
11921           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11922           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11923           to dynamically update /etc/resolv.conf.
11924
11925 2006-05-02  Peter Jones  <pjones@redhat.com>
11926
11927         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11928
11929 2006-05-02  Robert Love  <rml@novell.com>
11930
11931         Patch by Timo Hoenig;
11932         * tests/nm-online.c: Print pretty status indicator as timeout winds
11933           down.  Also fix possible race between DBUS startup and failure
11934           return.
11935
11936 2006-05-01  Robert Love  <rml@novell.com>
11937
11938         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11939           empty, too.
11940
11941 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11942
11943         * src/nm-device.c (discover_device_type): Actually use the hal
11944         device type instead of ioctl poking
11945
11946 2006-04-26  Robert Love  <rml@novell.com>
11947
11948         * tests/nm-online.c: New file.  Simple utility that returns exit status
11949           noting whether the connection is offline or online.  If offline on
11950           start, it waits 30 seconds (or a command-line given value) for an
11951           online signal.  If it times out, it again returns offline.  This is
11952           useful for scripts that want to wait for network connections.
11953
11954 2006-04-25  Robert Love  <rml@novell.com>
11955
11956         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11957           key mode (the authentication algorithm), e.g. open or shared, when we
11958           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11959           only shared was broken.  If the user specified a shared key, set it
11960           explicitly, otherwise let wpa_supplicant go with the default.
11961
11962 2006-04-24  Dan Williams  <dcbw@redhat.com>
11963
11964         * src/nm-device-802-11-wireless.c
11965                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11966
11967 2006-04-24  Dan Williams  <dcbw@redhat.com>
11968
11969         Commit the async scanning patch
11970
11971         * src/nm-device-802-11-wireless.c
11972                 - get rid of scan_mutex
11973                 - (wireless_event_helper): act on wireless scan events
11974                 - (real_start): schedule a pending scan
11975                 - (link_to_specific_ap): fake the link to the AP during a scan
11976                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11977                         strength during scans
11978                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11979                         nm_device_set_bitrate): unused with new scanning code, disable
11980                 - (nm_device_wireless_schedule_scan): removed
11981                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11982                 - (request_and_convert_scan_results): new function; retrieve scan
11983                         results from the driver and schedule the processing function
11984                 - (scan_results_timeout): timeout triggered when card doesn't send
11985                         a scan results wireless event during a certain interval
11986                 - (schedule_scan_results_timeout): new function; schedule the scan
11987                         results timeout
11988                 - (cancel_scan_results_timeout): new function; cancel the scan
11989                         results timeout
11990                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11991                         to do the scanning.  Otherwise, just request a scan but don't
11992                         grab results here; instead schedule a timeout for scan results and
11993                         let netlink notify us of scan completion events
11994                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11995                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11996                 - (supplicant_status_cb): ignore disconnect events while scanning
11997                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11998                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11999                         timeouts
12000                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12001
12002 2006-04-24  Dan Williams  <dcbw@redhat.com>
12003
12004         * gnome/applet/applet-dbus.c
12005                 - Disable the pending call debug stuff, seems under control now
12006
12007 2006-04-20  Robert Love  <rml@novell.com>
12008
12009         Fix bug where hidden ESSID's would not show up in the applet, even
12010         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12011         because nm_policy_device_list_update_from_allowed_list() would merge
12012         the data, putting a name to the hidden networks, but never notify NMI
12013         of the changes.  Simple fix is to invoke the function
12014         nm_dbus_signal_wireless_network_change() if we make a mapping.
12015         * src/NetworkManagerAPList.c: Call the function
12016           nm_dbus_signal_wireless_network_change() if we made a successful
12017           BSSID to ESSID mapping, notifying the applet of the "new" network.
12018         * src/NetworkManagerAPList.h: Update the prototypes for both
12019           nm_ap_list_copy_essids_by_address() and
12020           nm_ap_list_copy_one_essid_by_address().
12021
12022 2006-04-20  Robert Love  <rml@novell.com>
12023
12024         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12025           not set.  Just return zero.
12026
12027 2006-04-20  Robert Love  <rml@novell.com>
12028
12029         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12030           only one copy of nm-vpn-properties is running at a time via the 'ol
12031           X selection trick.  This prevents the user from opening two "VPN
12032           Connections" windows from within the applet, which leads to mass
12033           hysteria.
12034         * clipboard.c: New file, implementing simple X selection logic.
12035         * clipboard.h: New file.
12036         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12037
12038 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12039
12040         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12041         * configure.in
12042           initscript/Gentoo/Makefile.am
12043           initscript/Gentoo/NetworkManagerDispatcher.in
12044                 - New script
12045         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12046           Gentopia
12047
12048 2006-04-16  Dan Williams  <dcbw@redhat.com>
12049
12050         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12051         * configure.in
12052           initscript/Slackware/Makefile.am
12053           initscript/Slackware/rc.networkmanager-dispatcher.in
12054           initscript/Slackware/rc.networkmanager.in
12055                 - Update slackware initscripts
12056
12057 2006-04-10  Robert Love  <rml@novell.com>
12058
12059         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12060           the "delete_event" signal on the druid's parent window and handle it
12061           our way, lest using the WM to close the druid results in a series of
12062           bloody and ultimately lethal errors.
12063
12064 2006-04-10  Robert Love  <rml@novell.com>
12065
12066         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12067           'Back' too or else the 'Forward' option is initially disabled despite
12068           valid input.
12069
12070 2006-04-06  Robert Love  <rml@novell.com>
12071
12072         Fix bad but simple bug where an active modem connection did not update
12073         NM's connection state, breaking any app that did online/offline:
12074         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12075           represented whether a dial up connection is active, or not.
12076         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12077           to modem activation and deactivation.
12078         * src/NetworkManagerDbus.c: When asked our state, do not return
12079           disconnected if the modem is active.
12080
12081 2006-04-04  Robert Love  <rml@novell.com>
12082
12083         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12084           applet.  It just confuses the crap out of people and does not make a
12085           lot of sense, as the daemon still runs.
12086
12087 2006-04-02  Tor Krill  <tor@krill.nu>
12088
12089         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12090           in start of service.
12091         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12092           get Archlinux backend up to date.
12093
12094 2006-03-29  Robert Love  <rml@novell.com>
12095
12096         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12097         to add support for per-route MSS and improve support for per-interface
12098         MTU:
12099         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12100           optionally take an MSS parameter and set it for the given route.
12101           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12102           NMIP4Config's stored MSS, if any.
12103         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12104           the interface's MTU and the route's MSS, respectively.  Add functions
12105           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12106           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12107           MSS.
12108         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12109           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12110           nm_ip4_config_set_mss.
12111         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12112           VPN daemon.
12113         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12114           Change the retval of nm_system_get_mtu to guint32.
12115         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12116           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12117           servers can specify MTU's, we should set it here if the MTU was not
12118           provided.
12119
12120 2006-03-27  Jürg Billeter  <j@bitron.ch>
12121
12122         * configure.in:
12123         * initscript/Makefile.am:
12124         * initscript/paldo/Makefile.am:
12125         * initscript/paldo/NetworkManager.in:
12126         * initscript/paldo/NetworkManagerDispatcher.in:
12127         * src/backends/Makefile.am:
12128         * src/backends/NetworkManagerPaldo.c:
12129                 - Add paldo support
12130
12131 2006-03-27  Dan Williams  <dcbw@redhat.com>
12132
12133         Patch from Christian Persch <chpe@gnome.org>
12134         * gnome/applet/applet.glade
12135                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12136
12137 2006-03-27  Dan Williams  <dcbw@redhat.com>
12138
12139         Patch from Diffe <diffie@blazebox.homeip.net>
12140         * src/backends/NetworkManagerSlackware.c
12141                 - Don't restart howl, since it's been replaced by Avahi
12142                         in most distributions
12143
12144 2006-03-27  Dan Williams  <dcbw@redhat.com>
12145
12146         Patch from Tor Krill <bugzilla@krill.nu>
12147         * configure.in
12148           initscript/Makefile.am
12149           src/backends/Makefile.am
12150           src/backends/NetworkManagerArch.c
12151           initscript/Arch/Makefile.am
12152           initscript/Arch/networkmanager-dispatcher.in
12153           initscript/Arch/networkmanager.in
12154                 - Add Arch Linux support, fixes gnome.org #335147
12155
12156 2006-03-27  Dan Williams  <dcbw@redhat.com>
12157
12158         Patch from Diffe <diffie@blazebox.homeip.net>
12159      * initscript/Slackware/rc.networkmanager
12160         - update, fixed gnome.org #333368
12161
12162 2006-03-27  Robert Love  <rml@novell.com>
12163
12164         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12165           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12166
12167 2006-03-27  Robert Love  <rml@novell.com>
12168
12169         Patch by Jürg Billeter <j@bitron.ch>:
12170         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12171           systems.
12172         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12173           as we prefer glibc over kernel headers, if possible.
12174
12175 2006-03-27  Robert Love  <rml@novell.com>
12176
12177         Patch by Jon Escombe <list@dresco.co.uk>:
12178         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12179         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12180           fail, don't bail out.  We don't expect all of the various WPA-EAP
12181           values to be present.
12182         * src/nm-ap-security.c: We need to match all capabilities for each
12183           encryption type, not any one of them.
12184
12185 2006-03-27  Robert Love  <rml@novell.com>
12186
12187         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12188           restart, not reload, ypbind.  Unfortunately there is no superior
12189           solution.
12190
12191 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12192
12193         * gnome/applet/applet-notifications.c:
12194         When displaying a notification, make sure to get rid of the
12195         previous notification so as to not have competing bubbles,
12196         and stop leaking the old one.
12197
12198         * gnome/applet/applet.c:
12199         * gnome/applet/applet.h:
12200         Add a new 'notification' member to the applet, and zero it out
12201         and free it appropriately.
12202
12203 2006-03-23  Robert Love  <rml@novell.com>
12204
12205         Patch by j <j@bootlab.org>:
12206         * gnome/applet/applet.glade: Don't set the invisible_char property,
12207           which simply overrides the GTK default.  By and by, this behavior
12208           ought to be fixed in Glade.
12209
12210 2006-03-22  Robert Love  <rml@novell.com>
12211
12212         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12213
12214 2006-03-22  Robert Love  <rml@novell.com>
12215
12216         Bug fix by Timo Hoenig <thoenig@suse.de>:
12217         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12218           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12219           and the applet going AWOL.
12220
12221 2006-03-22  Robert Love  <rml@novell.com>
12222
12223         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12224           preprocessor define and use it instead of open-coded the DHCP
12225           timeout, which is currently 25 seconds, everywhere.
12226
12227 2006-03-22  Robert Love  <rml@novell.com>
12228
12229         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12230         key exchange via WPA, ostensibly providing good security without
12231         requiring hardware that supports full WPA.  Also, add UI elements to
12232         allow the user to select the pairwise & group cipher for WPA Enterprise
12233         networks, too:
12234         * gnome/applet/applet.glade: Update glade file.
12235         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12236           key type, too, to and from gconf.
12237         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12238           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12239           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12240           the capabilities match.
12241         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12242           prototype.
12243         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12244           serialize from UI to DBUS.
12245         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12246           one element.
12247         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12248           nmu_security_serialize_wpa_eap_with_cipher(), and
12249           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12250           serialize/deserialize the key type via DBUS as the new third DBUS
12251           parameter.
12252         * libnm-util/dbus-helpers.h: Update prototypes.
12253         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12254           too.  If the key type is WEP104, do Dynamic WEP, which means
12255           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12256           pairwise and group ciphers (fixes a FIXME).
12257
12258 2006-03-21  Robert Love  <rml@novell.com>
12259
12260         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12261           nm_system_get_mtu(), which returns a user-provided or system-mandated
12262           MTU value for a given device, if any, or zero if no such value
12263           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12264           if we have a provided value.
12265         * src/nm-device.c: Set the MTU of devices.
12266         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12267         * src/backends/NetworkManagerDebian.c,
12268           src/backends/NetworkManagerGentoo.c,
12269           src/backends/NetworkManagerRedHat.c,
12270           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12271
12272 2006-03-21  Robert Love  <rml@novell.com>
12273
12274         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12275           configuration file.
12276
12277 2006-03-17  Robert Love  <rml@novell.com>
12278
12279         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12280           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12281           it, in case it is not running in the first place.  We just want its
12282           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12283
12284 2006-03-15  Robert Love  <rml@novell.com>
12285
12286         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12287           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12288           label "WEP 40/128-bit" is inconsistent because the physical key size
12289           is 40 or 104-bits, to which a 24-bit initialisation vector is
12290           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12291           to read "40/104" or "64/128".  I do not care much which, but most
12292           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12293           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12294           WEP passphrase support only handles 128-bit keys, and any future
12295           64-bit passphrase support will require a new option (no way to auto-
12296           detect the target key size), explicitly label our passphrase support
12297           "WEP 128-bit Passphrase".
12298
12299 2006-03-15  Robert Love  <rml@novell.com>
12300
12301         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12302           the system init scripts (or some other mechanism) starting it (or a
12303           compatible DBUS service) before NetworkManager runs.  This means that
12304           distributions might need to update their init scripts.  This fixes
12305           possible races and is quite a bit cleaner.
12306         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12307           starting the NetworkManager daemon.
12308
12309
12310 2006-03-14  Robert Love  <rml@novell.com>
12311
12312         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12313           before adding anything.
12314
12315 2006-03-13  Robert Love  <rml@novell.com>
12316
12317         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12318           widgets, too, if they exist, in case the user hit the back button.
12319           Fixes a bug where the details page contains the widgets of multiple
12320           VPN modules (Novell bug #157048).
12321
12322 2006-03-13  Robert Love  <rml@novell.com>
12323
12324         Patch by Timo Hoenig <thoenig@suse.de>:
12325         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12326           daemon survive DBUS restarts, too.
12327
12328 2006-03-10  Robert Love  <rml@novell.com>
12329
12330         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12331           passphrase or key.
12332         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12333           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12334           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12335           in response to "toggled" signal on new toggle.
12336
12337 2006-03-10  Robert Love  <rml@novell.com>
12338
12339         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12340           serialization if strings are NULL, lest DBUS get angry.
12341
12342 2006-03-10  Robert Love  <rml@novell.com>
12343
12344         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12345
12346 2006-03-09  Robert Love  <rml@novell.com>
12347
12348         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12349           configurations.
12350
12351 2006-03-09  Dan Williams  <dcbw@redhat.com>
12352
12353         Track pending call requests in the applet, and report how many are
12354         outstanding, and how long each completed one takes.
12355         
12356         * gnome/applet/applet-dbus-devices.c
12357           gnome/applet/applet-dbus-vpn.c
12358                 - Track pending calls
12359
12360         * gnome/applet/applet-dbus.[ch]
12361                 - Remove some unused enums
12362                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12363                         new functions to track dbus pending calls and spit out some
12364                         statistics about them
12365
12366 2006-03-09  Robert Love  <rml@novell.com>
12367
12368         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12369           nm_ap_set_timestamp() take the second and micro-second parameters as
12370           direct arguments, which avoids both a dynamic memory allocation and a
12371           structure-to-structure copy!  Add a new interface, the aptly named
12372           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12373           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12374           the return from nm_ap_get_timestamp().  New users should use the new
12375           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12376           the extreme benefit to performance.
12377         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12378           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12379
12380 2006-03-08  Robert Love  <rml@novell.com>
12381
12382         * gnome/applet/applet.glade: Hide the password entry text with
12383           asterisks.
12384
12385 2006-03-08  Robert Love  <rml@novell.com>
12386
12387         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12388           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12389           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12390           a second argument, NMData.
12391         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12392         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12393           config files as trusted.
12394
12395 2006-03-06  Robert Love  <rml@novell.com>
12396
12397         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12398         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12399           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12400           Rivera, detect if the applet was auto-started.  If so, ask the user
12401           if he or she would like to stop automatically running the applet on
12402           login.  If so, disable autostart.
12403
12404 2006-03-06  Robert Love  <rml@novell.com>
12405
12406         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12407           directory in CFLAGS so developers can actually use NetworkManager.h.
12408
12409 2006-03-06  Robert Love  <rml@novell.com>
12410
12411         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12412           open-coded integer constants.  Add state_to_string() to map a given
12413           state to a textual description, and provide that when notifying of
12414           state change.
12415         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12416           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12417           this header directly, but it is currently not installed on most
12418           systems.
12419
12420 2006-03-05  Dan Williams  <dcbw@redhat.com>
12421
12422         Process netlink messages in device subclasses rather than in
12423         NetworkManager.c.  Also add support for recognizing Wireless Events.
12424         
12425         * configure.in
12426                 - Find GLIB_GENMARSHAL
12427
12428         * src/Makefile.am
12429                 - Since we're marshalling custom types for wireless event signals,
12430                         we get to create our own marshallers using GLIB_GENMARSHAL
12431
12432         * src/NetworkManager.c
12433                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12434                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12435                         cut down somewhat.  We no longer process signals here.
12436                 - (nm_data_new): create the netlink monitor here, and remove a
12437                         useless call to nm_policy_schedule_device_change_check()
12438                 - (nm_data_free): get rid of the netlink monitor here
12439                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12440                 - (main): don't create the netlink monitor here, let nm_data_new
12441                         do that.  Call nm_policy_schedule_device_change_check() right
12442                         before we jump to the mainloop to figure out which device
12443                         to use first
12444
12445         * src/NetworkManagerSystem.[ch]
12446                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12447                         convert back and forth from interface names to interface
12448                         indexes
12449
12450         * src/nm-device-802-11-wireless.c
12451                 - (real_init): connect to wireless-event signals from the netlink
12452                         monitor object
12453                 - (nm_device_802_11_wireless_event): new function, schedule handler
12454                         for wireless event signals from the netlink monitor object.  We
12455                         want the handler to run in the device's context
12456                 - (wireless_event_helper): handle wireless-event signals from netlink
12457                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12458                         signal handler
12459
12460         * src/nm-device-802-11-wireless.h
12461                 - remove unused prototype for nm_device_802_11_wireless_new
12462
12463         * src/nm-device-802-3-ethernet.c
12464                 - (real_init): new function; set up signal handlers for link events
12465                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12466                         handler for netlink link activated events on device's main loop
12467                 - (link_activated_helper): when we get a link activated event, set
12468                         the device's link to be active
12469                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12470                         handler for netlink link deactivated events on device's main loop
12471                 - (link_deactivated_helper): when we get a link deactivated event, set
12472                         the device's link to be inactive
12473                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12474                         dispose
12475
12476         * src/nm-device-802-3-ethernet.h
12477                 - remove unused prototype for nm_device_802_3_ethernet_new
12478
12479         * src/nm-device.[ch]
12480                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12481                         but locks the device list
12482                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12483
12484         * src/nm-netlink-monitor.[ch]
12485                 - (nm_netlink_monitor_class_install_signals): New signal
12486                         "wireless-event"
12487                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12488                         at the device list
12489                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12490
12491         * src/nm-marshal-main.c
12492                 - Include generated nm-marshal.c and nm-marshal.h
12493
12494         * src/nm-marshal.list
12495                 - List of custom marshal functions
12496
12497 2006-03-05  Dan Williams  <dcbw@redhat.com>
12498
12499         * gnome/applet/applet-notifications.h
12500                 - Protect prototype of nma_send_event_notification() because it
12501                         includes libnotify-specific types
12502                 - Include libnotify/libnotify.h too, since we technically need it
12503
12504         * gnome/applet/applet.c
12505                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12506                 - (nma_show_vpn_login_banner_dialog): add some error checking
12507
12508 2006-03-04  Dan Williams  <dcbw@redhat.com>
12509
12510         Clean up activation cancellation.  Should be a lot faster now.  Observed
12511         an issue with wireless devices between stage 2 and 3 of activation, where
12512         activation would be cancelled, but the device thread wouldn't notice until
12513         the supplicant association timed out.  Reorganize activation such that
12514         a cancellation handler gets immediately scheduled in the device's thread,
12515         and devices have a chance to perform any custom cleanup too.
12516
12517         * src/nm-device.[ch]
12518                 - (activation_cancel_handler): new device-type-specific function
12519                         for cleaning up device-type-specific stuff on cancellation
12520                 - (cancel_activation): removed
12521                 - (nm_device_activation_cancel): subsume functionality of
12522                         real_cancel_activation, but instead of doing anything, punt
12523                         operation to a handler that's run in device-thread context
12524                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12525                         a warning message
12526                 - (activation_handle_cancel_helper): cancellation handler run in
12527                         device-thread context, calls device-type-specific cancelation,
12528                         then tears down the activation request
12529                 - (real_activation_cancel_handler): generic cancellation handler,
12530                         deals with cancelling any in-process DHCP request
12531                 - (nm_device_activate_stage1_device_prepare,
12532                    nm_device_activate_stage2_device_config,
12533                    nm_device_activate_stage3_ip_config_start,
12534                    nm_device_activate_stage4_ip_config_get,
12535                    nm_device_activate_stage4_ip_config_timeout,
12536                    nm_device_activate_stage5_ip_commit): don't call
12537                         nm_device_schedule_activation_handle_cancel() any more, since
12538                         cancellation will have been already scheduled for us by
12539                         nm_device_activation_cancel().  Just exit the function and
12540                         assume that the cancel handler will be called next.
12541
12542         * src/nm-device-802-3-ethernet.c
12543                 - (real_act_stage2_config): remove; didn't do anything anyway
12544
12545         * src/nm-device-802-11-wireless.c
12546                 - (supplicant_status_cb): ensure we don't do anything if the activation
12547                         got cancelled
12548                 - (real_activation_cancel_handler): implement; cancel user key request
12549                         on activation cancellation
12550
12551 2006-03-04  Dan Williams  <dcbw@redhat.com>
12552
12553         * src/nm-device-802-11-wireless.c
12554                 - (supplicant_send_network_config): assume that drivers that don't
12555                         support WPA pretty much suck, and can't handle NM scanning
12556                         along with wpa_supplicant.
12557
12558 2006-03-03  Robert Love  <rml@novell.com>
12559
12560         * configure.in: Bump version to 0.6.0.
12561         * NEWS: Update.
12562
12563 2006-03-03  Robert Love  <rml@novell.com>
12564
12565         * configure.in: Require DBUS 0.60 or later.
12566
12567 2006-03-03  Dan Williams  <dcbw@redhat.com>
12568
12569         Fix a crash if an "Other wireless network" was chosen, failed, then
12570         chosen again from the applet's menu.  If the other network wasn't
12571         noticed in a scan, it wouldn't have any capabilities, but would still
12572         be listed because the user forced the network.  To fix this, we set
12573         sensible capabilities on the forced network, which will get overwritten
12574         with the correct ones if the network shows up later in a scan.
12575         
12576         * src/nm-ap-security.h
12577                 - Add a new "get_default_capabilities_func" member to the
12578                         NMAPSecurity class
12579
12580         * src/nm-ap-security.c
12581                 - (nm_ap_security_get_default_capabilities): new function
12582
12583         * src/nm-ap-security.c
12584           src/nm-ap-security-wep.c
12585           src/nm-ap-security-wpa-psk.c
12586           src/nm-ap-security-wpa-eap.c
12587                 - Implement get_default_capabilities_func() for all, which
12588                         uses the information contained in a specific NMAPSecurity
12589                         object to determine default AP capabilites necessary
12590                         to support that object
12591
12592         As a secondary measure, we now prune artificial access points that fail
12593         to be activated right away.  The thing failed, and we have no scan data for
12594         it, so it's pretty much useless since security information is only saved
12595         in the applets when a connection is successful.
12596
12597         * src/NetworkManagerAPList.c
12598                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12599                         not artificial.  If we see it, it's no longer a figment of the
12600                         user's imagination :)
12601
12602         * src/NetworkManagerPolicy.c
12603                 - (nm_policy_activation_failed): send along the failed AP if we
12604                         have it
12605
12606         * src/nm-device-802-11-wireless.c
12607                 - (real_activation_failure_handler): remove artificial APs from
12608                         the device list, because activation failed
12609
12610 2006-03-02  Robert Love  <rml@novell.com>
12611
12612         Add support for retrieving both the per-device speed and the
12613         per-network maximum supported rate.  Then change the getProperties
12614         DBUS API for both networks and devices to report this informaiton.
12615         Finally, display the information via both nm-applet and nm-tool:
12616         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12617           and set it.
12618         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12619           Information' dialog.
12620         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12621         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12622           network_device_get_speed() and network_device_set_speed() for
12623           retrieving and setting, respectively, a network device's current
12624           speed.
12625         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12626         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12627           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12628           not matter (yet) what the units are, because we only feed it its own
12629           output.  Implement SIOCGIRATE and set the per-network maximum
12630           supported rate during scanning.
12631         * src/nm-device-802-11-wireless.h: Export the function
12632           nm_device_802_11_wireless_get_bitrate().
12633         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12634           function nm_device_802_3_ethernet_get_speed() for returning an
12635           802.3's current speed, in Mb/s.
12636         * test/nm-tool.c: Display the per-device current speed, if available,
12637           and the per-network maximum rate.
12638
12639 2006-03-02  Dan Williams  <dcbw@redhat.com>
12640
12641         * src/nm-device-802-11-wireless.c
12642                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12643                         card when it gets initialized.  Since devices don't get added to
12644                         the scan list until they are initialized, this function wasn't
12645                         setting the intitial scan interval correctly, and was leaving
12646                         it at 0.  This caused cards to get many scan requests in a short
12647                         amount of time when they were initialized
12648
12649 2006-03-02  Robert Love  <rml@novell.com>
12650
12651         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12652           active device.  But do not do what we used to do and override the
12653           state, which caused the dreaded icon race of '05.
12654
12655 2006-03-02  Robert Love  <rml@novell.com>
12656
12657         Commit Dan's update of my previous commit:
12658         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12659           set_mode() function itself does the check.  But do only set the
12660           frequency if in Ad-Hoc mode.
12661
12662 2006-03-02  Robert Love  <rml@novell.com>
12663
12664         Patch by Brian Magnuson <magnuson@rcn.com>:
12665         * src/nm-device-802-11-wireless.c: During scanning, only set the
12666           wireless mode to infrastructure if it is not currently in
12667           infrastructure mode.  For some driver, setting the mode is a costly
12668           operation, apparently.
12669
12670 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12671
12672         * Makefile.am: use the correct dir for autostart mechanism.
12673
12674 2006-02-28  Dan Williams  <dcbw@redhat.com>
12675
12676         Patch from Brian Magnuson <magnuson@rcn.com>
12677         * gnome/applet/applet.c
12678                 - (nma_show_vpn_failure_dialog): fix errors left over from
12679                         libnotify support changes
12680
12681 2006-02-28  Dan Williams  <dcbw@redhat.com>
12682
12683         * src/vpn-manager/nm-vpn-act-request.[ch]
12684                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12685                         just one value
12686                 - (nm_vpn_act_request_is_failed): new function; return whether or
12687                         not the vpn activation request has failed
12688
12689         * src/vpn-manager/nm-vpn-manager.c 
12690                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12691                         daemon to kill the connection when the activation request fails.
12692                         Fixes issue where NM would get confused if the VPN activation
12693                         request timed out, and would not allow further VPN connections
12694                         on that service.
12695
12696 2006-02-28  Dan Williams  <dcbw@redhat.com>
12697
12698         * gnome/applet/applet.c
12699                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12700                         overlapping connection requests, disable all VPN menu items
12701                         but the active VPN connection
12702
12703 2006-02-28  Dan Williams  <dcbw@redhat.com>
12704
12705         * src/vpn-manager/nm-vpn-connection.c
12706                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12707                         called g_object_unref() on the connection's parent device
12708                         when it should have been ref-ed instead.  Fixes crash with
12709                         repeated vpn connect requests
12710
12711 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12712
12713         * gnome/applet/applet.glade:
12714         Mark a few strings non-translatable, since they shouldn't be.
12715
12716 2006-02-28  Dan Williams  <dcbw@redhat.com>
12717
12718         * src/vpn-manager/nm-vpn-service.c
12719                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12720                         already running, don't blindly ask it to connect, but wait until
12721                         it's in the STOPPED state first.  Fixes an assertion when user
12722                         starts a second vpn connection without stopping the first.
12723                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12724                         dbus service exists before continuing with the connection
12725                         process, and reduce latency while waiting for it to become
12726                         available
12727                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12728                         waiting for the vpn service daemon to become available
12729                 - General log message cleanups; show progress via "Stage x of 4"
12730                         rather than not telling anyone how many stages there are
12731
12732 2006-02-28  Robert Love  <rml@novell.com>
12733
12734         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12735         * src/backends/NetworkManagerSuSE.c: Implement the interface
12736           nm_system_should_modify_resolv_conf() for SUSE.
12737         * src/backends/NetworkManagerDebian.c,
12738           src/backends/NetworkManagerGentoo.c,
12739           src/backends/NetworkManagerRedHat.c,
12740           src/backends/NetworkManagerSlackware.c: Add stub.
12741         * src/named-manager/Makefile.am: Grab includes from src.
12742         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12743           automatic updating of resolv.conf.  This is useful for testing,
12744           broken static configurations, and administrator lock-down.
12745
12746 2006-02-28  Dan Williams  <dcbw@redhat.com>
12747
12748         * src/nm-device-802-11-wireless.c
12749                 - Move all the wpa_supplicant-related management stuff into its
12750                         own struct, just for oranization's sake
12751                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12752                         to a GIOChannel/GSource
12753                 - (supplicant_log_stdout): new function; grab output from the
12754                         wpa_supplicant stdout pipe and write it to our logs.
12755
12756 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12757
12758         * src/nm-device-802-11-wireless.c:
12759         Err, fix thinko in my previous commit.
12760
12761 2006-02-28  Robert Love  <rml@novell.com>
12762
12763         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12764
12765 2006-02-28  Robert Love  <rml@novell.com>
12766
12767         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12768           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12769           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12770           deserializers are responsible for freeing the returned DBUS strings.
12771
12772 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12773
12774         * src/nm-device-802-11-wireless.c:
12775         The scan list is being pruned prematurely.  We should prune after
12776         the device has gone MIA for three scans, not one.  Split out the
12777         interval to realtime seconds function to better serve this.
12778
12779 2006-02-27  Robert Love  <rml@novell.com>
12780
12781         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12782           Open the pid file O_TRUNC, so if it already exists we truncate it to
12783           zero length.  Also, be more verbose about warnings generated during
12784           writing out the pid file.  Finally, always write out the pid file if
12785           in daemon mode.  Use "--pid-file" to override the default.
12786
12787 2006-02-27  Robert Love  <rml@novell.com>
12788
12789         Patch by R. Vinay <rvinay@novell.com>:
12790         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12791           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12792           Novell bug #153628).
12793           
12794 2006-02-27  Robert Love  <rml@novell.com>
12795
12796         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12797           entry so user can hit <ENTER> after entering passphrase (Novell bug
12798           #153738).
12799
12800 2006-02-27  Dan Williams  <dcbw@redhat.com>
12801
12802         * gnome/applet/*
12803                 - Mass search/replace of:
12804                         nmwa -> nma
12805                         NMWirelessApplet -> NMApplet
12806                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12807                    (it ain't just for wireless anymore, ma!)
12808                 - Fix duplicate function name printing when using nm_warning
12809                 - wireless-applet.glade -> applet.glade
12810
12811 2006-02-27  Dan Williams  <dcbw@redhat.com>
12812
12813         * dispatcher-daemon/NetworkManagerDispatcher.c
12814                 - Accept --pid-file with a path to a pidfile, write it out on
12815                         startup, and delete it on shutdown
12816
12817         * src/NetworkManager.c
12818                 - Accept --pid-file with a path to a pidfile, write it out on
12819                         startup, and delete it on shutdown
12820                 - Move nm_print_usage() lower
12821
12822         * initscripts/RedHat/NetworkManager.in
12823                 - Use new --pid-file option
12824                 - Fix service stopping to wait a bit for NM to quit
12825
12826         * initscripts/RedHat/NetworkManagerDispatcher.in
12827                 - Use new --pid-file option
12828
12829 2006-02-26  Dan Williams  <dcbw@redhat.com>
12830
12831         * src/Makefile.am
12832                 - make and install nm-crash-logger
12833
12834         * src/nm-logging.[ch]
12835                 - New files; consolidate logging and crash handling
12836
12837         * src/nm-crash-logger.c
12838           src/gdb-cmd
12839                 - Standalong crashlogger for NM, grab a backtrace
12840                         using GDB
12841
12842         * src/NetworkManager.[ch]
12843                 - Remove signal handling and put it into nm-logging.c
12844
12845 2006-02-26  Dan Williams  <dcbw@redhat.com>
12846
12847         * configure.in
12848           gnome/applet/Makefile.am
12849                 - Conditionalize all the notify stuff
12850
12851         Merge most of Chris Aillon's notification patch:
12852         
12853         * gnome/applet/applet-notifications.[ch]
12854                 - New files; show a notification
12855         
12856         * gnome/applet/applet-dbus-devices.[ch]
12857                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12858                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12859                         new functions, do the right thing when a device change occurs
12860
12861         * gnome/applet/applet-dbus.c
12862                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12863                         signals, so we can handle them specially
12864
12865         * gnome/applet/applet.[ch]
12866                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12867                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12868                 - (nmwa_notify_state): remove
12869                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12870                         notification work is now done when the appropriate dbus signals
12871                         are received.
12872                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12873                         defer execution of the notification/dialog stuff.  That was an
12874                         artifact of the previous multi-threaded nature of the applet
12875                         and is now pointless.
12876                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12877                         no longer needed.  Function folded into applet-notifications.c
12878
12879         * src/NetworkManagerPolicy.c
12880                 - (nm_policy_activation_finish): send the AP along with the device
12881                         status change signal, if the connection is wireless.  Should
12882                         fix the race where applet would show a connection to "unknown"
12883
12884 2006-02-25  Robert Love  <rml@novell.com>
12885
12886         Add WPA Enterprise support:
12887         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12888           nm-gconf-wso-wpa-eap.h.
12889         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12890           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12891           serialization and deserialization.
12892         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12893           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12894           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12895         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12896           settings related to WPA Enterprise.
12897         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12898           instantiate WPA Enterprise wireless-security-option.
12899         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12900           Implement WPA Enterprise wireless-security-option object.
12901         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12902           defines.  Cleanup.
12903         * libnm-util/cipher-wpa-psk-hex.c,
12904           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12905         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12906           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12907           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12908           including the cipher to DBUS method, and
12909           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12910           to output.
12911         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12912           nm-ap-security-wpa-eap.h
12913         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12914           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12915         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12916           files.  Implement NMAPSecurityWPA_EAP object.
12917         * src/nm-ap-security-wpa-psk.c: Cleanup.
12918         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12919           an NMAPSecurityWPA_EAP object via the method
12920           nm_ap_security_wpa_eap_new_deserialize().
12921         * src/nm-dbus-nm.c: Cleanup.
12922         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12923           WPA Enterprise support.
12924
12925 2006-02-24  Robert Love  <rml@novell.com>
12926
12927         Patch from Timo Hoenig <thoenig@suse.de>:
12928         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12929
12930 2006-02-24  Robert Love  <rml@novell.com>
12931
12932         Patch from Dan Winship <danw@novell.com>:
12933         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12934           area to transparent.
12935
12936 2006-02-21  Dan Williams  <dcbw@redhat.com>
12937
12938         * gnome/applet/applet.[ch]
12939           gnome/applet/applet-dbus.c
12940                 - Implement notification support for VPN messages too
12941
12942 2006-02-21  Dan Williams  <dcbw@redhat.com>
12943
12944         * gnome/applet/applet-dbus-info.c
12945                 - Clean up warning messages to not double-print the function
12946
12947 2006-02-21  Dan Williams  <dcbw@redhat.com>
12948
12949         * gnome/applet/applet-compat.c
12950                 - (convert_one_entry): accept entries without a key_type and
12951                         convert them to unencrypted networks
12952
12953 2006-02-21  Dan Williams  <dcbw@redhat.com>
12954
12955         * gnome/libnm_glib/libnm_glib.c
12956                 - Use __func__ everywhere we can
12957                 - Code cleanups
12958                 - Use dbus pending calls rather than blocking
12959                 - Reduce busywaits for our thread to start and stop
12960                         (gnome.org #330562)
12961                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12962                         stomp on others using the default shared dbus connection.
12963                         Fixes #rh177546# and gnome.org #326572
12964
12965 2006-02-21  Dan Williams  <dcbw@redhat.com>
12966
12967         Patch from Rodney Dawes <dobey@novell.com>
12968         * configure.in
12969           gnome/applet/Makefile.am
12970           gnome/applet/applet.c
12971                 - Add libnotify support if '--enable-notify=yes' is passed
12972                   at configure time
12973
12974 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12975
12976         * configure.in (ALL_LINGUAS): ko added. (Korean)
12977
12978 2006-02-15  Robert Love  <rml@novell.com>
12979
12980         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12981           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12982           and WPA_SUPPLICANT_CONTROL_SOCKET.
12983         
12984 2006-02-15  Robert Love  <rml@novell.com>
12985
12986         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12987           information about what connection stage we are at, provide the total
12988           number of stages, e.g. "Stage 2 of 5", so users know how far along
12989           they are if they experience problems.
12990
12991 2006-02-15  Robert Love  <rml@novell.com>
12992
12993         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12994           define to $sysconfdir.
12995         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12996           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12997           type of VPN and then editing another results in a mangled dialog
12998           box containing the widgets from both VPNs (fixes Novell #150854).
12999           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13000
13001 2006-02-14  Robert Love  <rml@novell.com>
13002
13003         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13004           syslog's file descriptor.
13005
13006 2006-02-14  Robert Love  <rml@novell.com>
13007
13008         Fix bug around since the change to "deal with APs changing settings on
13009         us," checked in on the fifth of February in the year of the dog, 
13010         wherein connecting to non-broadcast encrypted networks always fails
13011         because nm_ap_get_encrypted() always returns FALSE, even when the user
13012         provided a key, because the newly-created fake AP does not have any
13013         capabilities set, which is a sypmtom of security settings not matching
13014         capabilities (Novell bug #150784):
13015         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13016           nm_ap_add_capabilities_from_security(), which sets the given AP's
13017           capabilities off the given security settings.  Also improve our
13018           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13019           NM_AUTH_CIPHER_AUTO.
13020         * src/nm-device-802-11-wireless.c: Call the function
13021           nm_ap_add_capabilities_from_security() to ensure that capabilities
13022           match newly updated security settings.
13023
13024 2006-02-14  Robert Love  <rml@novell.com>
13025
13026         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13027           error as a string, not an integer, if possible; do not print the
13028           function name twice; always give the interface, if possible; misc.
13029           cleanup.
13030
13031 2006-02-12  Dan Williams  <dcbw@redhat.com>
13032
13033         Patch from Tom Parker <palfrey@tevp.net>
13034         * src/NetworkManagerSystem.h
13035                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13036                         no longer used
13037
13038         * src/backends/NetworkManagerDebian.c
13039                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13040                         unused variables
13041
13042 2006-02-12  Dan Williams  <dcbw@redhat.com>
13043
13044         * vpn-daemons/openvpn/intltool-extract.in
13045           vpn-daemons/openvpn/intltool-merge.in
13046           vpn-daemons/openvpn/intltool-update.in
13047           vpn-daemons/pptp/intltool-extract.in
13048           vpn-daemons/pptp/intltool-merge.in
13049           vpn-daemons/pptp/intltool-update.in
13050                 - Remove from CVS, they should get created by intltoolize,
13051                         shouldn't they?
13052
13053 2006-02-12  Dan Williams  <dcbw@redhat.com>
13054
13055         * vpn-daemons/pptp/src/pppd/patchlevel.h
13056         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13057                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13058                         Makefile-defined VERSION
13059
13060 2006-02-09  Dan Williams  <dcbw@redhat.com>
13061
13062         Patch from: Vinay A R <rvinay@novell.com>
13063         * src/vpn-manager/nm-vpn-act-request.[ch]
13064                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13065                         IPSec VPNs require them for std gateway.
13066                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13067                         and 'user_routes_count'
13068                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13069                         defined routes  from NMVPNActRequest object, returns the string
13070                         array of routes.
13071
13072         * src/vpn-manager/nm-vpn-manager.[ch]
13073                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13074                         for 'user_routes' and 'user_routes_count'
13075         
13076         * src/vpn-manager/nm-dbus-vpn.c
13077                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13078                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13079         
13080         * src/vpn-manager/nm-vpn-service.c
13081                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13082                         the vpn daemon
13083
13084         Modifications by Dan:
13085         * src/vpn-manager/nm-vpn-service.c
13086                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13087                         arrays into dbus
13088
13089         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13090         * vpn-daemons/pptp/src/nm-pptp-service.c
13091         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13092                 - Grab user routes from dbus message
13093                 - Free all string arrays we got from dbus
13094
13095 2006-02-07  Robert Love  <rml@novell.com>
13096
13097         Patch by Stefan Seyfried <seife@suse.de>:
13098         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13099
13100 2006-02-06  Robert Love  <rml@novell.com>
13101
13102         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13103
13104 2006-02-06  Robert Love  <rml@novell.com>
13105
13106         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13107           test ">=" is never false.  If no newline is found, we loop forever.
13108           We can just check for ">" because the following if() will see the
13109           zero-th argument if the while() gets that far.
13110
13111 2006-02-05  Dan Williams  <dcbw@redhat.com>
13112
13113         Refine handling of non-broadcast networks.
13114
13115         * src/NetworkManagerAPList.c
13116                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13117                         property from scanned AP to the AP from the device list
13118
13119         * src/nm-device-802-11-wireless.c
13120                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13121                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13122                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13123                         networks since those don't have APs.
13124                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13125                         AP as non-SSID-broadcasting
13126                 - (process_scan_results): don't handle non-SSID-broadcasting here
13127
13128 2006-02-05  Dan Williams  <dcbw@redhat.com>
13129
13130         * src/nm-device-802-11-wireless.c
13131                 - (get_supplicant_timeout): new function; return
13132                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13133                         14 channels.  These are likely a/b/g cards, like Atheros, and
13134                         slow as hell to scan.
13135                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13136                         get_supplicant_timeout()
13137
13138 2006-02-05  Dan Williams  <dcbw@redhat.com>
13139
13140         * src/dhcp-manager/nm-dhcp-manager.c
13141                 - Loose a commit race with Robert; make sure size check
13142                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13143
13144 2006-02-05  Robert Love  <rml@novell.com>
13145
13146         Patch by Christoph Brill <chrisbrill@gmx.net>:
13147         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13148           with DHCP_SERVICE_NAME.
13149
13150 2006-02-05  Dan Williams  <dcbw@redhat.com>
13151
13152         Remove anything having to do with device_setup_func from the
13153         AP security objects, since it's no longer used.
13154
13155         * src/nm-ap-security.h
13156                 - Kill device_setup_func and nm_ap_security_device_setup()
13157
13158         * src/nm-ap-security-wep.c
13159           src/nm-ap-security-wpa-psk.c
13160                 - (real_device_setup): remove
13161
13162         * src/nm-ap-security.c
13163                 - (real_device_setup): remove
13164                 - (nm_ap_security_device_setup): remove
13165
13166         * src/nm-device-802-11-wireless.[ch]
13167                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13168                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13169                         and done by wpa_supplicant now anyway
13170
13171 2006-02-05  Dan Williams  <dcbw@redhat.com>
13172
13173         * src/nm-device-802-11-wireless.c
13174                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13175                         settings on us.  Previously NM would loop asking for the
13176                         key but getting the same one back.  Now, if the NMI-supplied
13177                         cipher doesn't overlap with the scanned AP capabilities,
13178                         we request a completely new key from the user.
13179
13180 2006-02-05  Dan Williams  <dcbw@redhat.com>
13181
13182         * src/NetworkManagerUtils.c
13183                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13184                         Handle newline killing better
13185
13186 2006-02-05  Dan Williams  <dcbw@redhat.com>
13187
13188         * gnome/applet/nm-gconf-wso.c
13189                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13190                         of unencrypted access point security info.
13191
13192 2006-02-03  Robert Love  <rml@novell.com>
13193
13194         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13195           user's encryption key, so we print the err_msg_cmd not the command,
13196           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13197           sense.
13198
13199 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13200
13201         * initscript/RedHat/NetworkManagerDispatcher.in:
13202         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13203         Patch from Dan Walsh <dwalsh@redhat.com>
13204
13205 2006-02-03  Robert Love  <rml@novell.com>
13206
13207         * dispatcher-daemon/NetworkManagerDispatcher.c,
13208           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13209           but use the sysconfdir.
13210
13211 2006-02-03  Robert Love  <rml@novell.com>
13212
13213         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13214           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13215           'char *'.
13216         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13217           nm_ip4_config_get_hostname() and
13218           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13219         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13220           leak g_strdup() result.
13221
13222 2006-02-03  Robert Love  <rml@novell.com>
13223
13224         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13225           broadcast == TRUE.  Also, copy broadcast and artificial properties
13226           from source network to destination in nm_ap_copy().
13227         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13228           since we now default new networks to non-hidden.
13229
13230 2006-02-03  Dan Williams  <dcbw@redhat.com>
13231
13232         * gnome/applet/main.c
13233                 - (main): change the NEVER->ALWAYS so we start at the
13234                         beginning of the session, if being session-managed
13235
13236 2006-02-03  Dan Williams  <dcbw@redhat.com>
13237
13238         * gnome/applet/main.c
13239                 - (main): in a variation on Robert's patch, change
13240                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13241                         he wants.
13242
13243 2006-02-02  Robert Love  <rml@novell.com>
13244
13245         * src/Makefile.am: If we aren't going to create the run directory at,
13246           uh, run-time, create it during install.  Then users just doing
13247           'make install' are cool, too.  While we are here, create the
13248           dispatcher.d directory, too.
13249         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13250           the exact run directory.
13251         * Makefile.am: Install nm-applet.desktop.
13252
13253 2006-02-02  Robert Love  <rml@novell.com>
13254
13255         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13256           structure, which denotes whether or not the AP is hidden.  This is a
13257           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13258           can show up in the scan list.  Add nm_ap_get_broadcast() and
13259           nm_ap_set_broadcast() accessor interfaces.
13260         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13261           nm_ap_set_broadcast().
13262         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13263           "getProperties" method, which denotes whether or not the given
13264           network is hidden.
13265         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13266           an artificial network.  Set broadcast to TRUE when scanning returns
13267           an ESSID and FALSE when not.
13268         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13269           from "getProperties" method on a network.  Possible TODO is to
13270           somehow display this.
13271         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13272
13273 2006-02-02  Dan Williams  <dcbw@redhat.com>
13274
13275         * src/nm-device-802-11-wireless.c
13276                 - (supplicant_interface_init): don't try to create
13277                         /var/run/NetworkManager, since that should be done by
13278                         the distro package.  Causes problems for stuff like SELinux
13279
13280 2006-02-02  Robert Love  <rml@novell.com>
13281
13282         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13283         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13284           Check for and handle empty string for iface.
13285
13286 2006-02-01  Robert Love  <rml@novell.com>
13287
13288         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13289           manpage.
13290
13291 2006-01-31  Dan Williams  <dcbw@redhat.com>
13292
13293         * nm-applet.desktop
13294                 - Add --sm-disable to Exec arguments, presuming that when
13295                         using autostart, we don't want session management
13296
13297 2006-01-31  Robert Love  <rml@novell.com>
13298
13299         * src/NetworkManagerAP.c: Add two new manufacturer default network
13300           names: linksys-a and linksys-g.  These are found (at least) on the
13301           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13302           own ESSID.
13303
13304 2006-01-31  Robert Love  <rml@novell.com>
13305
13306         * src/NetworkManagerAP.c: Optimize the function
13307           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13308           machine code.  This is the first in a series of code tweaks aiming to
13309           generate better machine code and make NetworkManager all the better.
13310           Just kidding.  Who has time to go through the assembly generated for
13311           every function?  I certainly don't.  I have a wife, a kid, a job,
13312           a mortgage, a mistress.  But this function was so bad, I was called
13313           to arms.  Like the book.
13314
13315 2006-01-31  Robert Love  <rml@novell.com>
13316
13317         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13318           AP is not broadcasting, to scan with probe request frames.  Required
13319           for non-broadcast networks.
13320
13321 2006-01-31  Robert Love  <rml@novell.com>
13322
13323         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13324           preprocessor define (still 20s).  Fix message text in nm_info()
13325           s/too too/took too/.
13326
13327 2006-01-30  Dan Williams  <dcbw@redhat.com>
13328
13329         * src/nm-device-802-11-wireless.c
13330                 - (supplicant_monitor_start): increase connect/auth timeout to
13331                         20 seconds from 10 seconds
13332
13333 2006-01-30  Dan Williams  <dcbw@redhat.com>
13334
13335         * src/Makefile.am
13336                 - Define LOCALSTATEDIR
13337
13338         * src/nm-device-802-11-wireless.c
13339                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13340                         socket where we want it to
13341
13342         * src/wpa_ctrl.[ch]
13343                 - (wpa_ctrl_open): accept location to put local control socket
13344
13345 2006-01-30  Robert Love  <rml@novell.com>
13346
13347         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13348           get_ip4_string() for "domain_name".
13349
13350 2006-01-30  Robert Love  <rml@novell.com>
13351
13352         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13353           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13354           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13355           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13356           support for "Automatic" pairwise and group cipher configuration by
13357           letting wpa_supplicant handle the details.  Add UI elements, new
13358           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13359           charm.  Note this does more than add a nice feature, it fixes a bug.
13360           Apparently, some people have AP's where the pairwise cipher does not
13361           match the group cipher.  Insane, but true.
13362
13363 2006-01-30  Dan Williams  <dcbw@redhat.com>
13364
13365         * gnome/applet/applet-dbus-devices.c
13366                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13367                         functions, grab device driver name from NetworkManager
13368                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13369
13370         * gnome/applet/applet.c
13371                 - (nmwa_update_info): show driver name in Connection Information
13372                         dialog
13373
13374         * gnome/applet/nm-device.[ch]
13375                 - (network_device_get_driver, network_device_set_driver): add
13376                         accessors for driver name
13377
13378         * gnome/applet/wireless-applet.glade
13379                 - Add line for driver name to Connection Information dialog
13380
13381         * src/nm-dbus-device.c
13382                 - (nm_dbus_device_get_driver): new function to return driver name
13383                 - (nm_dbus_device_methods): hook up driver name function to dbus
13384
13385         * test/nm-tool.c
13386                 - (get_driver_name): new function
13387                 - (detail_device): grab and show driver name
13388
13389 2006-01-30  Robert Love  <rml@novell.com>
13390
13391         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13392           does not parse the markup if it is not part of the format.
13393
13394 2006-01-30  Robert Love  <rml@novell.com>
13395
13396         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13397           FALSE, we have no security options for this dialog, so we throw up
13398           an error dialog instead of a broken passphrase dialog.  Fixes
13399           Novell #138404.
13400         * gnome/applet/wireless-security-manager.c,
13401           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13402           does not add any security options, not even NONE, print a warning
13403           and return FALSE.  This let's functions constructing a dialog bail
13404           out if the device's capabilities and the network's requirements have
13405           zero overlap.
13406
13407 2006-01-27  Robert Love  <rml@novell.com>
13408
13409         * configure.in: Require wpa_supplicant.  Detect location of binary and
13410           use it.  Override with "--with-wpa_supplicant=foo".
13411         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13412           path to wpa_supplicant but use the auto-detected or user-provided
13413           value from configure.
13414
13415 2006-01-27  Robert Love  <rml@novell.com>
13416
13417         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13418           but the DHCP server did not return a hostname, try to look up our
13419           name via DNS and set the system hostname to that.
13420
13421 2006-01-27  Dan Williams  <dcbw@redhat.com>
13422
13423         * src/backends/NetworkManagerRedHat.c
13424                 - Add NM_CONTROLLED system network script support for RH/Fedora
13425
13426 2006-01-27  Dan Williams  <dcbw@redhat.com>
13427
13428         * src/backends/NetworkManagerGentoo.c
13429                 - (nm_system_device_get_disabled): add missing function.
13430                         Gnome BZ #328780
13431
13432 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13433
13434         * configure.in: Added vi in ALL_LINGUAS line.
13435         
13436 2006-01-26  Robert Love  <rml@novell.com>
13437
13438         * src/Makefile.am, src/kernel-types.h: Now that two different source
13439           files are feeling the crack-addled leakage of kernel types such as
13440           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13441           types in user-space -- define a header and include it as needed.
13442         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13443         * src/nm-device-802-3-ethernet.h: Remove defines.
13444         * src/wpa.c: Remove defines and include kernel-types.h.
13445
13446 2006-01-26  Robert Love  <rml@novell.com>
13447
13448         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13449           work.
13450
13451 2006-01-26  Robert Love  <rml@novell.com>
13452
13453         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13454         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13455           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13456           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13457           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13458           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13459           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13460           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13461           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13462           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13463           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13464           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13465           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13466           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13467           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13468           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13469           Kill unused variables, labels, and static functions.  Don't pass
13470           string literals as the format string for printf-like functions.
13471
13472 2006-01-25  Dan Williams  <dcbw@redhat.com>
13473
13474         * gnome/applet/wireless-applet.glade
13475                 - Remove WPA2 Checkbox
13476
13477         * gnome/applet/wireless-security-manager.c
13478                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13479                         This means the Wireless Security menu now has two WPA options,
13480                         one for "WPA Personal" and one for "WPA2 Personal"
13481
13482         * gnome/applet/wso-wpa-psk.[ch]
13483                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13484                         'wpa2' argument to determine WPA version to use
13485                 - (append_dbus_params_func): pass stored WPA version to cipher
13486                         rather than using the (removed) checkbox
13487
13488 2006-01-24  Robert Love  <rml@novell.com>
13489
13490         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13491           before we g_strdup(), not the ultimate string.
13492
13493 2006-01-23  Dan Williams  <dcbw@redhat.com>
13494
13495         * src/NetworkManagerAP.[ch]
13496                 - (nm_ap_new_from_ap): copy original essid too
13497                 - (nm_ap_unref): free original essid
13498                 - (nm_ap_get_orig_essid): new function
13499                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13500                         but keep original essid around too
13501
13502         * src/nm-device-802-11-wireless.c
13503                 - (supplicant_send_network_config): send wpa_supplicant the
13504                         _original_ essid, and not as a string, but in hex.  Should
13505                         allow us to connect to more APs that use wierd character
13506                         encodings for their essids
13507
13508         * utils/nm-utils.[ch]
13509                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13510                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13511                         use the current locale as a hint for what encoding the essid
13512                         might be in.  Obviously not 100% accurate, but the idea here is
13513                         that if a user's locale is ex. ja_JP, they are more likely than
13514                         not to be in Japan, where access points will likely be in some
13515                         Japanese encoding.
13516
13517 2006-01-23  Dan Williams  <dcbw@redhat.com>
13518
13519         * libnm-util/cipher-private.h
13520           libnm-util/cipher.c
13521           libnm-util/cipher.h
13522                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13523
13524 2006-01-23  Robert Love  <rml@novell.com>
13525
13526         Patch by Timo Hoenig <thoenig@suse.de>:
13527         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13528           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13529           by DHCP and pass it to the backends, allowing distribution-specific
13530           behavior with respect to the DHCP-supplied hostname (if nothing else,
13531           some distributions might not want to set the hostname).
13532         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13533           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13534           Also update our NIS behavior.
13535         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13536           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13537           Add stub functions.
13538
13539 2006-01-23  Robert Love  <rml@novell.com>
13540
13541         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13542           gnome-session does autostart.  TODO: We need to install this to
13543           $prefix/share/autostart/.
13544
13545 2006-01-22  Dan Williams  <dcbw@redhat.com>
13546
13547         * src/NetworkManagerAP.[ch]
13548           src/nm-dbus-nmi.c
13549           src/nm-device-802-11-wireless.c         
13550                 - Make nm_ap_get_essid return "const char *"
13551
13552 2006-01-22  Dan Williams  <dcbw@redhat.com>
13553
13554         * src/NetworkManagerAP.[ch]
13555                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13556
13557         * src/NetworkManagerAPList.[ch]
13558                 - (nm_ap_list_diff): removed
13559                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13560                         deal with access points changing essids on us
13561
13562         * src/nm-device-802-11-wireless.c
13563                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13564                         src/NetworkManagerAPList.c
13565                 - (real_can_interrupt_activation): new function; allow interruption
13566                         of device activation if we are waiting for a network key
13567
13568         * src/NetworkManagerPolicy.c
13569                 - (nm_policy_device_change_check): allow interruption of currently
13570                         activating devices if the device allows it.  Previous behavior
13571                         would refuse to activate a just-plugged wired device if a
13572                         wireless device was waiting for a key.
13573
13574         * src/nm-device.[ch]
13575                 - (nm_device_can_interrupt_activation): new function; ask devices
13576                         whether their activation can be interrupted
13577
13578 2006-01-20  Robert Love  <rml@novell.com>
13579
13580         * Makefile.am, configure.in: Add new man subdirectory.
13581         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13582           man/Makefile.am: Add man pages for NetworkManager and its
13583           crime-solving bumbling buddy, NetworkManagerDispatcher.
13584         * man/.cvsignore: Add.
13585         * initscript/Debian/NetworkManager,
13586           initscript/Gentoo/NetworkManager.in,
13587           initscript/RedHat/NetworkManager.in,
13588           initscript/RedHat/NetworkManagerDispatcher.in,
13589           initscript/SUSE/networkmanager-dispatcher.in,
13590           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13591
13592 2006-01-20  Robert Love  <rml@novell.com>
13593
13594         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13595           instead of queuing.  This prevents the running of multiple NM
13596           daemons concurrently, which does not work whatsoever and results in
13597           neither daemon working correctly.  Also, we don't handle queuing and
13598           name-owner-changes, anyhow.
13599
13600 2006-01-20  Robert Love  <rml@novell.com>
13601
13602         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13603         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13604           to sbin, not bin.
13605
13606 2006-01-19  Robert Love  <rml@novell.com>
13607
13608         * configure.in: Require hal 0.5.0 or later.
13609
13610 2006-01-18  Robert Love  <rml@novell.com>
13611
13612         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13613           Allow backends to flag a device (in whatever distro-dependent way
13614           they so desire) as disabled.  NM will ignore any such device.
13615         * src/backends/NetworkManagerDebian.c,
13616           src/backends/NetworkManagerRedHat.c,
13617           src/backends/NetworkManagerSlackware.c: Add stub function
13618           nm_system_device_get_disabled() that always returns FALSE (enabled).
13619         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13620           SUSE-specific configuration structure.  Fill it in from the
13621           NM_CONTROLLED variable in the system networking scripts.  If this var
13622           exists and is "no", we ignore the device.
13623
13624 2006-01-17  Robert Love  <rml@novell.com>
13625
13626         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13627           identical for NM.  For a full discussion, see the thread at
13628           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13629
13630 2006-01-17  Dan Williams  <dcbw@redhat.com>
13631
13632         * src/nm-device.c
13633                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13634                         function.  Fixes crash when wired DHCP fails.
13635
13636 2006-01-16  Robert Love  <rml@novell.com>
13637
13638         * src/Makefile.am: Don't install NMLoadModules
13639         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13640           from src/ to test/ as no one uses it anymore.  Note that I would be
13641           fine with removing it altogether.
13642
13643 2006-01-16  Robert Love  <rml@novell.com>
13644
13645         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13646           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13647           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13648           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13649           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13650           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13651           declarations, ever.
13652         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13653           NM_STATE_DISCONNECTED is zero).
13654
13655 2006-01-16  Robert Love  <rml@novell.com>
13656
13657         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13658           uninitialized parameter and buffer overflow.  Novell #143496.
13659
13660 2006-01-16  Dan Williams  <dcbw@redhat.com>
13661
13662         Apply the PtP Address bits of a patch from Tim Niemueller
13663
13664         * src/nm-ip4-config.[ch]
13665                 - Add ip4_ptp_address member to object
13666                 - (nm_ip4_config_copy): copy ptp address too
13667                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13668                         new functions
13669                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13670                         rather than local tunnel ip address
13671
13672         * src/vpn-manager/nm-vpn-service.c
13673                 - (print_vpn_config): update for PtP address
13674                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13675                         DBusMessageIters in preparation for getting routes from the VPN
13676                         service daemons too
13677
13678         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13679                 - (send_config_info): update for PtP address, clean up code
13680                 - (main): update for PtP address, clean up code, fix typo
13681
13682         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13683                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13684
13685         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13686                 - (pptp_ip_up): update for PtP address
13687
13688         * vpn-daemons/pptp/src/nm-pptp-service.c
13689                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13690
13691         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13692                 - (print_vpn_config): update for PtP address
13693                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13694
13695 2006-01-16  Dan Williams  <dcbw@redhat.com>
13696
13697         * gnome/applet/applet.c
13698                 - (nmwa_add_networks_helper): don't indicate an active network
13699                         if NM is disconnected or asleep
13700
13701 2006-01-16  Dan Williams  <dcbw@redhat.com>
13702
13703         * src/NetworkManagerPolicy.c
13704                 - (nm_policy_device_change_check): switch devices if we lose the link
13705                         on an ethernet device. 
13706
13707 2006-01-16  Dan Williams  <dcbw@redhat.com>
13708
13709         * gnome/applet/wso-wpa-psk-hex.[ch]
13710                 - Renamed -> wso-wpa-psk.[ch]
13711
13712         * gnome/applet/wso-wpa-psk.[ch]
13713                 - New files
13714
13715         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13716                 - Removed, rolled into wso-wpa-psk.[ch]
13717
13718         * gnome/applet/Makefile.am
13719                 - Updated for above changes
13720
13721         * gnome/applet/wireless-applet.glade
13722                 - Consolidate WPA-PSK options into one notebook
13723                         widget, and make dialogs invisible by default
13724                         to fix screen oddities
13725
13726         * gnome/applet/wireless-security-manager.c
13727                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13728                         than both the old hex & passphrase ones
13729
13730 2006-01-16  Dan Williams  <dcbw@redhat.com>
13731
13732         * gnome/applet/other-network-dialog.c
13733                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13734
13735 2006-01-16  Dan Williams  <dcbw@redhat.com>
13736
13737         * gnome/applet/applet.c
13738                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13739                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13740                         prevention to realize window before trying to get server
13741                         time
13742
13743         * gnome/applet/other-network-dialog.c
13744                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13745                         prevention to realize window before trying to get server
13746                         time
13747
13748         * gnome/applet/passphrase-dialog.c
13749                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13750                         prevention to realize window before trying to get server
13751                         time
13752
13753 2006-01-16  Robert Love  <rml@novell.com>
13754
13755         Patch from Timo Hoenig  <thoenig@suse.de:
13756         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13757           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13758           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13759           libnm-util/dbus-helpers.h: add checks whether headers are used
13760           within a C++ build.
13761
13762 2006-01-16  Dan Williams  <dcbw@redhat.com>
13763
13764         * gnome/applet/wireless-security-option.c
13765                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13766
13767 2006-01-16  Dan Williams  <dcbw@redhat.com>
13768
13769         * libnm-util/cipher-wpa-psk-passphrase.c
13770                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13771                         be 8 - 63 characters inclusive
13772
13773 2006-01-16  Dan Williams  <dcbw@redhat.com>
13774
13775         * src/nm-dbus-nm.c
13776                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13777
13778 2006-01-13  Robert Love  <rml@novell.com>
13779
13780         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13781         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13782           modules that do not use an interface.
13783
13784 2006-01-13  Dan Williams  <dcbw@redhat.com>
13785
13786         * src/nm-device.c
13787           src/nm-device.h
13788                 - Allow subclasses to implement deactivate_quickly()
13789                 - (nm_device_deactivate_quickly): call subclass
13790                         deactivate_quickly() methods
13791                 - (nm_device_set_active_link): small cleanups, and don't
13792                         deactivate the device right away because we risk a deadlock
13793                         when called from device thread, waiting for the device
13794                         thread to cancel activation
13795
13796         * src/nm-device-802-11-wireless.c
13797                 - (real_deactivate_quickly): new function
13798                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13799                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13800                         so that we kill the supplicant when we sleep too
13801                 - (supplicant_interface_init): work around naive naming attempts of
13802                         wpa_ctrl when naming sockets
13803
13804 2006-01-13  Dan Williams  <dcbw@redhat.com>
13805
13806         * src/nm-device-802-11-wireless.c
13807                 - (supplicant_cleanup): delete old device control sockets too
13808                 - (supplicant_get_device_socket_path): new function to consolidate
13809                         locations that need a path to a device's control socket
13810
13811 2006-01-12  Robert Love  <rml@novell.com>
13812
13813         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13814           description so that the description is unique for each
13815           pair (device,provider).  Fixes Novell #142773.
13816
13817 2006-01-12  Dan Williams  <dcbw@redhat.com>
13818
13819         * src/nm-device-802-11-wireless.c
13820                 - (supplicant_exec): ensure GError is correctly initialized
13821                         Reported by Diego González (gnome.org #326708)
13822
13823 2006-01-11  Robert Love  <rml@novell.com>
13824
13825         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13826           define if_mii(), open code the same results, and do so without any
13827           type punning.
13828
13829 2006-01-11  Robert Love  <rml@novell.com>
13830
13831         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13832           that wso_foo_new() returned non-NULL.  Instead, only append the new
13833           wso to wsm->options if the wso is non-NULL.  The crux is that we
13834           assume that the relevant key types are implied by WEP and WPA as
13835           appropriate.  To be sure, they should be, but we should not expect
13836           drivers to not be oozing piles of wolf fecal matter.
13837
13838 2006-01-11  Robert Love  <rml@novell.com>
13839
13840         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13841         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13842           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13843           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13844           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13845           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13846           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13847         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13848           comparing values within DBL_EPSILON.  Also fix shadowed variable
13849           usage.
13850
13851 2006-01-11  Dan Williams  <dcbw@redhat.com>
13852
13853         Add options for WPA2 and WPA1+CCMP (AES).
13854
13855         * gnome/applet/wireless-applet.glade
13856                 - Add UI bits for WPA+CCMP
13857
13858         * gnome/applet/other-network-dialog.c
13859                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13860                         and don't allow creation of WPA2 Ad-Hoc networks since
13861                         wpa_supplicant doesn't support them
13862
13863         * gnome/applet/wireless-security-manager.c
13864                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13865                         on to the specific wireless security option being created
13866
13867         * gnome/applet/wireless-security-option.[ch]
13868                 - (wso_wpa_create_key_type_model): new utility function to create
13869                         the model required for WPA Key Type combo box
13870
13871         * gnome/applet/wso-private.h
13872           gnome/applet/wireless-security-option.h
13873                 - Move private function prototypes into wso-private.h
13874
13875         * gnome/applet/wso-wpa-psk-hex.[ch]
13876           gnome/applet/wso-wpa-psk-passphrase.[ch]
13877                 - (append_dbus_params_func): get WPA version from checkbox and pass
13878                         it to the dbus serialization helper
13879                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13880                         key type combo changes
13881                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13882                         model and options
13883
13884         * libnm-util/cipher-wpa-psk-hex.c
13885           libnm-util/cipher-wpa-psk-passphrase.c
13886                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13887                         new function; allow the cipher to be changed after object creation
13888
13889         * src/nm-ap-security-wpa-psk.c
13890                 - (set_description): Do WPA2 descriptions too
13891
13892         * src/nm-ap-security.c
13893                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13894
13895 2006-01-11  Robert Love  <rml@novell.com>
13896
13897         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13898           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13899           from the ifreq structure in lieu of an open coded solution.  Removes
13900           a life-threatening type-punning.
13901         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13902           types, ever, whatsoever, baby.
13903
13904 2006-01-11  Robert Love  <rml@novell.com>
13905
13906         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13907           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13908           assignments to applet->nm_state into a new nmwa_set_state() function
13909           for both cleanliness and to help debugging.
13910
13911 2006-01-10  Robert Love  <rml@novell.com>
13912
13913         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13914           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13915           seconds, exclusive.  That is, we want to sleep x seconds such that
13916           1 < x < 2.
13917
13918 2006-01-10  Robert Love  <rml@novell.com>
13919
13920         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13921           the attr fields according to the example in the email available at
13922           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13923           Conversely, we do have to free 'name', so we do so, fixing a leak.
13924
13925 2006-01-10  Robert Love  <rml@novell.com>
13926
13927         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13928           sure that we close the socket!
13929
13930 2006-01-10  Robert Love  <rml@novell.com>
13931
13932         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13933           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13934           src/nm-device.c: Fix a FIXME!  Reimplement the function
13935           nm_device_update_hw_address() in device subclass variants,
13936           nm_device_802_3_ethernet_set_address() and
13937           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13938           This fixes the existing bug where MAC addresses are all zeros.
13939
13940 2006-01-10  Robert Love  <rml@novell.com>
13941
13942         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13943           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13944           option to give users ability to globally disconnect and put NM to
13945           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13946           clean disconnect.
13947
13948 2006-01-09  Robert Love  <rml@novell.com>
13949
13950         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13951           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13952           User-space does not supply these types, so we have to define them
13953           ourselves.  The relevant kernel maintainer refused to accept a patch
13954           switching these headers to the proper C99 types.
13955
13956 2006-01-09  Dan Williams  <dcbw@redhat.com>
13957
13958         Apply Robert's 'tray icon redo' patch with fixes
13959         * gnome/applet/applet.c
13960           gnome/applet/applet.h
13961                 - Instead of using a menu bar + menu item, simulate menu
13962                         behavior using a popup menu.  Highlight the area around
13963                         the icon more like a menu too, by playing with the
13964                         applet's size requisition
13965
13966 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13967         * libnm-util/dbus-helpers.c
13968           libnm-util/dbus-helpers.h
13969                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13970                         to 'exception_namespace' (:namespace is a keyword in
13971                         C++)
13972
13973 2006-01-09  Dan Williams  <dcbw@redhat.com>
13974
13975         * src/NetworkManagerPolicy.c
13976                 - (nm_policy_device_change_check): don't autoswitch away from
13977                         Ad-Hoc networks, since there's really no concept of
13978                         "link"
13979
13980         * src/nm-dbus-nm.c
13981                 - (nm_dbus_nm_create_wireless_network): mark created networks
13982                         as Ad-Hoc networks
13983
13984         * src/nm-device-802-11-wireless.c
13985                 - (real_activation_success_handler): add user-created Ad-Hoc
13986                         networks to the device's scan list
13987
13988 2006-01-08  Dan Williams  <dcbw@redhat.com>
13989
13990         We now require a patch for wpa_supplicant to support Ad-Hoc
13991         networks:
13992           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13993
13994         * src/nm-device-802-11-wireless.c
13995                 - (supplicant_send_network_config): turn off wpa_supplicant's
13996                         scanning.  Fixes Ad-Hoc networks.
13997
13998 2006-01-08  Dan Williams  <dcbw@redhat.com>
13999
14000         * src/nm-ap-security.c
14001           src/nm-ap-security.h
14002                 - Add a user_created argument to the write_supplicant_config
14003                         functions
14004
14005         * src/nm-ap-security-wep.c
14006           src/nm-ap-security-wpa-psk.c
14007           src/nm-device-802-11-wireless.c
14008                 - Make Ad-Hoc mode somewhat work, at least write the
14009                         correct options to wpa_supplicant
14010
14011 2006-01-08  Dan Williams  <dcbw@redhat.com>
14012
14013         * src/nm-device-802-11-wireless.c
14014                 - Remove unused code from the old device activation path
14015
14016 2006-01-08  Dan Williams  <dcbw@redhat.com>
14017
14018         * libnm-util/dbus-helpers.c
14019                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14020                         dbus when key == NULL
14021
14022 2006-01-08  Dan Williams  <dcbw@redhat.com>
14023
14024         * gnome/applet/nm-gconf-wso-wpa-psk.c
14025                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14026                         correct arguments to nmu_security_deserialize_wpa_psk()
14027
14028         * src/nm-ap-security-wpa-psk.c
14029                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14030                         arguments to nmu_security_deserialize_wpa_psk()
14031
14032 2006-01-08  Dan Williams  <dcbw@redhat.com>
14033
14034         * gnome/applet/wso-wpa-psk-hex.c
14035           gnome/applet/wso-wpa-psk-passphrase.c
14036                 - Hook up the append_dbus_params_func() function
14037
14038 2006-01-08  Dan Williams  <dcbw@redhat.com>
14039
14040         * src/nm-device-802-11-wireless.c
14041                 - (get_wireless_capabilities): correctly detect driver WPA
14042                         capabilities
14043
14044 2006-01-08  Dan Williams  <dcbw@redhat.com>
14045
14046         * gnome/applet/Makefile.am
14047           gnome/applet/wso-wpa-psk-hex.c
14048           gnome/applet/wso-wpa-psk-hex.h
14049                 - New files, implement WPA-PSK Hex key input
14050
14051         * gnome/applet/wireless-applet.glade
14052                 - Change existing wpa-psk stuff to wpa-psk-hex
14053                 - Add new widgets for wpa-psk-passphrase
14054
14055         * gnome/applet/wireless-security-manager.c
14056                 - (wsm_set_capabilities): enable WPA options
14057
14058         * gnome/applet/wso-wpa-psk-passphrase.c
14059                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14060                         for WPA-PSK passphrase
14061
14062 2006-01-08  Dan Williams  <dcbw@redhat.com>
14063
14064         * include/NetworkManager.h
14065                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14066                         applet/info-daemons
14067
14068         * gnome/applet/passphrase-dialog.c
14069                 - Use the constant.  Fixes a bug where the arguments to
14070                         dbus_message_new_error() were incorrect
14071
14072         * src/nm-dbus-nmi.c
14073                 - Use the constant
14074
14075 2006-01-07  Dan Williams  <dcbw@redhat.com>
14076
14077         * src/nm-device-802-11-wireless.c
14078                 - Add a link timeout so we allow the supplicant time to
14079                         reassociate if it can, before we deactivate the card
14080                 - Fix up link status and link updating so things work better
14081
14082 2006-01-07  Dan Williams  <dcbw@redhat.com>
14083
14084         * src/nm-device-802-11-wireless.c
14085                 - Switch over to using wpa_supplicant
14086                 - Add a timeout of 10s for association of the supplicant
14087                 - Start the monitor callback of the supplicant
14088
14089 2006-01-07  Dan Williams  <dcbw@redhat.com>
14090
14091         * src/NetworkManagerUtils.c
14092                 - (nm_utils_supplicant_request,
14093                   nm_utils_supplicant_request_with_check):
14094                         pass correct buffer length to wpa_ctrl_request()
14095
14096 2006-01-07  Dan Williams  <dcbw@redhat.com>
14097
14098         * src/nm-device-private.h
14099           src/nm-device.c
14100                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14101                         this function available to subclasses
14102
14103 2006-01-06  Robert Love  <rml@novell.com>
14104
14105         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14106           user plugging in a network cable signals their preference for to
14107           switch, unless the user explicitly selected a wireless network and
14108           therefore signaled their preference for said wireless network over
14109           wired.  In other words, do exactly what makes sense.
14110
14111 2006-01-06  Robert Love  <rml@novell.com>
14112
14113         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14114           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14115           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14116           showing up in my greps.
14117
14118 2006-01-06  Robert Love  <rml@novell.com>
14119
14120         * gnome/applet/applet-dbus-devices.c,
14121           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14122           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14123           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14124           New Network' both failed in the non-encrypted case because we were
14125           not appending the security options to the DBUS message.  And
14126           'Connect to Other' was also failing in the encrypted case because
14127           we were not incrementing to the next DBUS parameter.  All fixed.
14128           Thanks to dcdw for some debugging help.
14129
14130 2006-01-06  Robert Love  <rml@novell.com>
14131
14132         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14133           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14134           hangup code and add per-device hangup.  Tie last commit into the
14135           GNOME applet.  TODO:  Save, understand, and respond to the state of
14136           each dialup device.
14137
14138 2006-01-06  Robert Love  <rml@novell.com>
14139
14140         Patch by Timo Hoenig <thoenig@suse.de>:
14141         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14142           hangup specific dialup devices.
14143         * src/backends/NetworkManagerDebian.c,
14144           src/backends/NetworkManagerGentoo.c,
14145           src/backends/NetworkManagerRedHat.c,
14146           src/backends/NetworkManagerSlackware.c: Add stub backend.
14147         * src/backends/NetworkManagerRedHat.c,
14148           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14149           hangup specific dialup devices.
14150
14151 2006-01-04  Robert Love  <rml@novell.com>
14152
14153         * gnome/applet/applet-dbus-devices.c,
14154           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14155           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14156           connections.
14157
14158 2006-01-04  Dan Williams  <dcbw@redhat.com>
14159
14160         First dump of wpa_supplicant-related code.  It's not hooked up to
14161         anything yet though.  Thanks to Kay Sievers for
14162         wpa_supplicant_wrapper.c, which formed the basis for this work,
14163         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14164
14165         * src/Makefile.am
14166           src/wpa_ctrl.[ch]
14167                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14168
14169         * src/NetworkManagerUtils.[ch]
14170                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14171                         Add convenience functions for talking to wpa_supplicant
14172
14173         * src/nm-ap-security.[ch]
14174           src/nm-ap-security-wep.c
14175           src/nm-ap-security-wpa-psk.[ch]
14176                 - Update and implement real_write_supplicant_config functions
14177                         in all security types
14178                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14179                         nm-ap-security-wpa-psk.c
14180
14181         * src/nm-device-802-11-wireless.c
14182                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14183                    wpa_supplicant_start, wpa_supplicant_interface_init,
14184                    wpa_supplicant_send_network_config): add functions to talk to
14185                         wpa_supplicant and write network config to it
14186
14187 2006-01-04  Robert Love  <rml@novell.com>
14188
14189         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14190           values so that distribution-backends can differentiate between the
14191           various types (modem, ISDN, et cetera) of dialup device that they
14192           support.
14193         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14194           needed.
14195
14196 2006-01-03  Dan Williams  <dcbw@redhat.com>
14197
14198         * src/NetworkManagerPolicy.c
14199           src/nm-device.[ch]
14200           src/nm-device-802-11-wireless.c
14201                 - Move wireless-specific activation failure and success code
14202                         into wireless device class
14203
14204 2006-01-03  Robert Love  <rml@novell.com>
14205
14206         Patch by Preggna S:
14207         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14208           IPsec does not require that a VPN client be bound to an interface,
14209           due to the use of the in-kernel IPSec bits.  So make the tunnel
14210           device optional.
14211
14212 2006-01-03  Dan Williams  <dcbw@redhat.com>
14213
14214         * src/NetworkManagerAP.c
14215                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14216                         the WPA IE specifies that WEP is supported
14217
14218         * src/nm-device-802-11-wireless.c
14219                 - (process_scan_results): don't mark an AP as supporting WEP
14220                         if there's already other encryption capability info
14221
14222 2006-01-03  Dan Williams  <dcbw@redhat.com>
14223
14224         * src/dhcp-manager/nm-dhcp-manager.c
14225                 - Recognize activation cancellation when waiting for DHCP
14226                         configuration from dhcdbd
14227                 - Ignore non-dhcdbd messages
14228
14229         * src/nm-device.c
14230                 - (real_act_stage3_ip_config_start): return to correct behavior
14231                         of letting the dhcp-manager notify us of failure or
14232                         success rather than incorrectly doing that ourselves
14233                 - (nm_device_activate_stage4_ip_config_get): deal with
14234                         activation cancellation a bit earlier
14235
14236 2006-01-03  Dan Williams  <dcbw@redhat.com>
14237
14238         * src/nm-device-802-11-wireless.c
14239           src/nm-device.[ch]
14240                 - Add hooks to subclasses for stage3_ip_config_start and
14241                         stage4_ip_config_timeout
14242
14243         * src/nm-device-802-3-ethernet.c
14244                 - (real_get_generic_capabilities): make devices NM-supported
14245                         by default
14246
14247 2006-01-03  Robert Love  <rml@novell.com>
14248
14249         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14250           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14251           latter cannot differentiate between error and the address -1; misc.
14252           clean up.
14253
14254 2006-01-03  Dan Williams  <dcbw@redhat.com>
14255
14256         * src/NetworkManager.c
14257                 - Move link-checking/probing into the device subclasses
14258                         themselves
14259
14260         * src/nm-device.[ch]
14261           src/nm-device-802-11-wireless.c
14262           src/nm-device-802-3-ethernet.c
14263                 - Do periodic link checking in device subclasses rather
14264                         than being triggered from NetworkManager.c
14265                 - discover_wireless_capabilities -> get_wireless_capabilities
14266                 - discover_generic_capabilities -> get_generic_capabilities
14267                 - Device subclass activation routines now return a value of type
14268                         NMActStageReturn to indicate what step to perform next
14269                 - Devices now override stage4_get_ip4_config if they choose
14270
14271 2006-01-01  Dan Williams  <dcbw@redhat.com>
14272
14273         * src/nm-device-802-11-wireless.c
14274                 - (real_init): don't chain up to parent init because we don't
14275                         need to do that anymore
14276
14277         * src/nm-device.c
14278                 - (discover_device_type): fix arguments to ioctl() to correctly
14279                         pass interface name
14280                 - (nm_device_new): consolidate generic device initialization into
14281                         nm_device_new()
14282                 - (real_init): remove, consolidated to nm_device_new()
14283                 - (nm_device_deactivate, real_deactivate): consolidate
14284
14285 2006-01-01  Dan Williams  <dcbw@redhat.com>
14286
14287         * src/nm-activation-request.c
14288                 - Change dhcp_state member of the NMActRequest structure
14289                         from guint8 to guint32
14290
14291         * src/dhcp-manager/nm-dhcp-manager.[ch]
14292                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14293                         than guint8 to match the dbus argument.  Turns out we were
14294                         overwriting memory since we were passing in only a guint8
14295
14296 2005-12-31  Dan Williams  <dcbw@redhat.com>
14297
14298         * refactor NMDevice into a GObject-based framework with separate
14299                 objects for wired and wireless.  The following files are no
14300                 longer used but should stick around for a bit so we don't
14301                 loose code through the cracks:
14302                         NetworkManagerDevice.c
14303                         NetworkManagerDevice.h
14304                         NetworkManagerWireless.c
14305                         NetworkManagerWireless.h
14306
14307         The intent here is to allow each device type to manage its own
14308         connection & activation life-cycle, ie to allow wireless devices
14309         to interface with wpa_supplicant, etc.  There's a fair bit of
14310         encapsulation breakage right now that should gradually get pulled
14311         back into each device, along with things like periodic property
14312         updates and link probing.
14313
14314 2005-12-29  Dan Williams  <dcbw@redhat.com>
14315
14316         * include/NetworkManager.h
14317                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14318                         between networks that don't have any encryption at all
14319
14320 2005-12-29  Dan Williams  <dcbw@redhat.com>
14321
14322         * test/test-common.c
14323           test/test-common.h
14324           test/Makefile.am
14325                 - Move to a test-common subdirectory
14326
14327         * test/libnm-util/test-ciphers.c
14328                 - Move test data to test-inputs.h
14329                 - Test WPA ciphers too
14330
14331         * test/libnm-util/test-dbus-helpers.c
14332                 - Test serialization/deserialization of ciphers
14333
14334 2005-12-29  Dan Williams  <dcbw@redhat.com>
14335
14336         * gnome/applet/applet-dbus-devices.c
14337                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14338                         in dbus calls to NM
14339                 - Set capabilities on WirelessNetwork objects
14340                 - Receive and save type-specific device capabilities too
14341
14342         * gnome/applet/applet-dbus-info.c
14343           gnome/applet/applet-dbus.c
14344                 - Passphrase dialog no longer a singleton; new instance gets created
14345                         on each request.  Updates to deal with that.
14346
14347         * gnome/applet/applet.c
14348                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14349                         than single 'encrypted' flag
14350                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14351                         menu items
14352                 - Passphrase dialog updates per above
14353
14354         * gnome/applet/menu-items.c
14355                 - (network_menu_item_update): use AP capabilities to determine
14356                         encryption
14357
14358         * gnome/applet/nm-device.[ch]
14359                 - Add accessors for type-specific device capabilities
14360
14361         * gnome/applet/other-network-dialog.c
14362                 - Rework to respect device capabilities.  i.e., if the device doesn't
14363                         support WPA, remove that option from the security dropdown
14364
14365         * gnome/applet/passphrase-dialog.c
14366                 - Massive rework so that a new instance is created each time
14367                         it's used, to support wireless network capabilities
14368
14369         * gnome/applet/wireless-network.[ch]
14370                 - Add accessors and members for wireless network capabilities
14371
14372         * gnome/applet/wireless-security-manager.[ch]
14373                 - (wsm_set_capabilities): called after creation to set which
14374                         security options get shown to the user
14375
14376 2005-12-29  Dan Williams  <dcbw@redhat.com>
14377
14378         * libnm-util/cipher-wpa-psk-passphrase.c
14379                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14380                         like other ciphers
14381
14382 2005-12-23  Dan Williams  <dcbw@redhat.com>
14383
14384         * gnome/applet/applet-dbus-info.c
14385                 - (nmi_dbus_get_key_for_network): if there's no entry in
14386                         GConf for a network, assume we want a new key
14387                 - (nmi_save_network_info): serialize wireless security info
14388                         into GConf so its saved
14389
14390         * src/nm-dbus-nm.c
14391                 - Fix warning as we may not be passed security info when
14392                         connecting to a wireless network
14393
14394 2005-12-23  Dan Williams  <dcbw@redhat.com>
14395
14396         * gnome/applet/applet-compat.c
14397                 - Fix bugs in GConf entry conversion
14398
14399         * gnome/applet/applet-dbus-info.c
14400                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14401                         list being zero-length
14402
14403         * libnm-util/cipher-*
14404           libnm-util/dbus-helpers.c
14405                 - All ciphers must now return hashed keys as UTF-8 valid
14406                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14407                         through dbus as strings too.
14408                 - Consolidate various functions that do bin->hex and hex->bin
14409                         conversion into cipher.c
14410
14411         * src/nm-ap-security-wep.c
14412           src/nm-ap-security-wpa-psk.c
14413                 - Handle NULL keys since we may not know keys right away
14414
14415         * src/nm-dbus-nmi.c
14416                 - (nm_dbus_get_network_data_cb): actually advance to the start
14417                         of the wireless security info before we try to deserialize it
14418
14419         * libnm-util/test-ciphers.c
14420                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14421
14422 2005-12-22  Dan Williams  <dcbw@redhat.com>
14423
14424         * gnome/applet/applet-compat.[ch]
14425                 - Convert old-format GConf and keyring entries
14426                         when the applet starts up.
14427
14428         * gnome/applet/applet.c
14429                 - (nmwa_get_instance): Call the conversion function
14430                         on startup before dbus is initialized
14431
14432 2005-12-22  Dan Williams  <dcbw@redhat.com>
14433
14434         * gnome/applet/applet-dbus-info.c
14435                 - Remove nmi_dbus_create_error_message() in favor of
14436                         nmu_create_dbus_error_message()
14437                 - (nmi_dbus_get_network_properties): Error message cleanups
14438                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14439                         gconf key rather than 'addresses', since they really are BSSIDs
14440                 - (nmi_dbus_get_network_properties): Dispose of the security
14441                         object when we're done with it
14442
14443 2005-12-21  Dan Williams  <dcbw@redhat.com>
14444
14445         * Consolidate the info-daemon's "updateNetworkInfo" and
14446                 "addNetworkAddress" calls into just "updateNetworkInfo"
14447
14448 2005-12-21  Dan Williams  <dcbw@redhat.com>
14449
14450         * Make connection after key retrieval work again
14451
14452 2005-12-21  Dan Williams  <dcbw@redhat.com>
14453
14454         * gnome/applet/nm-gconf-wso*
14455                 - Make the serialize functions return gboolean
14456                         rather than int
14457
14458         * gnome/applet/nm-gconf-wso.c
14459                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14460                         parent class handling so we don't segfault
14461
14462         * src/NetworkManagerAP.[ch]
14463                 - (nm_ap_get_capabilities): new function, return capabilities
14464                         now that something can use them
14465                 - (nm_ap_set_encrypted): assume that an access point supports
14466                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14467                         we even tell whether it just supports WEP40?
14468
14469         * src/NetworkManagerDevice.c
14470                 - (ap_need_key): resurrect and update for the New World Order
14471                 - (nm_device_wireless_get_activation_ap): if we're not given
14472                         security info to use, create some based on access point
14473                         capabilities
14474
14475         * src/nm-ap-security-wep.c
14476                 - (nm_ap_security_wep_new_from_ap): create a new object
14477                         based on a certain access point's capabilities
14478
14479         * src/nm-ap-security.c
14480                 - (nm_ap_security_new_from_ap): delegate creation of a new
14481                         object based on access point capabilities to a subclass
14482                 - (nm_ap_security_copy_properties): don't segfault if we
14483                         don't have a key yet
14484
14485         * src/nm-dbus-nm.c
14486                 - (nm_dbus_nm_set_active_device): provide more informative
14487                         output when errors occur.  Also construct security info
14488                         for a given access point if we weren't given any
14489
14490 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14491
14492         * configure.in: Added Lithuanian to ALL_LINGUAS.
14493
14494 2005-12-21  Dan Williams  <dcbw@redhat.com>
14495
14496         * test/libnm-util
14497                 - Add some testcases for WEP ciphers
14498
14499 2005-12-17  Dan Williams  <dcbw@redhat.com>
14500
14501         * Fix bugs
14502
14503 2005-12-17  Dan Williams  <dcbw@redhat.com>
14504
14505         * include/NetworkManager.h
14506                 - Finally kill NMEncKeyType
14507
14508         * gnome/applet/applet-dbus-info.c
14509                 - (nmi_save_network_info): convert to NMGConfWSO
14510
14511         * gnome/applet/nm-gconf-wso-*.c
14512                 - Implement gconf serialization functions
14513
14514         * src/NetworkManagerPolicy.c
14515                 - (nm_policy_activation_finish): fix up meaning of
14516                         automatic/user_requested
14517
14518 2005-12-17  Dan Williams  <dcbw@redhat.com>
14519
14520         * gnome/applet/*
14521                 - More applet cleanups
14522                 - Use the dbus-method-dispatcher
14523
14524         * libnm-util/dbus-method-dispatcher.[ch]
14525                 - Generalize the implementation from NM in
14526                         NetworkManagerUtils.c
14527
14528 2005-12-16  Dan Williams  <dcbw@redhat.com>
14529
14530         * gnome/applet/*
14531                 - Fix up the passphrase dialog to use all the
14532                         WirelessSecurityOption stuff (untested)
14533
14534 2005-12-16  Dan Williams  <dcbw@redhat.com>
14535
14536         * Move nm_gconf_get_*_helper() functions to separate files,
14537                 gconf-helpers.c & gconf-helpers.h
14538
14539         * New NMGConfWSO objects for managing the gconf side of things.
14540                 Eventually these should be merged with the
14541                 WirelessSecurityOption objects and a common base (that can
14542                 serialize/deserialize from dbus & gconf) should be
14543                 refactored out, but for now they are separate.
14544
14545 2005-12-16  Robert Love  <rml@novell.com>
14546
14547         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14548           binaries unless they exist (nm_spawn_process() emits a warning if
14549           asked to spawn a non-existant process).
14550
14551 2005-12-16  Dan Williams  <dcbw@redhat.com>
14552
14553         * gnome/applet/applet-dbus-info.c
14554                 - Clean up lots of gconf-related code
14555
14556 2005-12-16  Robert Love  <rml@novell.com>
14557
14558         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14559
14560 2005-12-16  Dan Williams  <dcbw@redhat.com>
14561
14562         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14563
14564         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14565                 bits still to be done)
14566
14567 2005-12-16  Dan Williams  <dcbw@redhat.com>
14568
14569         * Finally move info-daemon related stuff out of
14570                 NetworkManagerDbus.c to nm-dbus-nmi.c
14571
14572 2005-12-16  Dan Williams  <dcbw@redhat.com>
14573
14574         * Kill auth_method for access points, since that's now done
14575                 by NMAPSecurity objects
14576
14577         * Add a copy-constructor of sorts to NMAPSecurity
14578                 (how do you do this properly in glib???)
14579
14580 2005-12-15  Dan Williams  <dcbw@redhat.com>
14581
14582         * Exorcise encryption key hashing on APs
14583         * Use libnm-util's serialization/deserialization in both the
14584                 applet and NM
14585         * Random other stuff
14586
14587 2005-12-15  Robert Love  <rml@novell.com>
14588
14589         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14590           is being added to the icon naming spec, so let's use that (Tango CVS
14591           has the icon).  Because it is new, however, we fall back to the
14592           current "gnome-lockscreen" if the new icon is not around, thus
14593           behavior is the same.
14594         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14595           factory junk.
14596
14597 2005-12-15  Robert Love  <rml@novell.com>
14598
14599         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14600           well, help to give.  Couple other misc. bits.
14601
14602 2005-12-15  Dan Williams  <dcbw@redhat.com>
14603
14604         * libnm-util/dbus-helpers.[ch]
14605                 - Make this the one-stop-shop for serializing/deserializing
14606                         AP & connection security settings over dbus.  Both NM
14607                         and applets should use this to ensure consistent dbus
14608                         API going forwared.
14609
14610 2005-12-15  Robert Love  <rml@novell.com>
14611
14612         Patch by Timo Hoenig  <thoenig@suse.de>:
14613         * src/NetworkManagerDbus.c
14614                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14615                         if HAL jumps off the system bus.  Otherwise libdbus
14616                         (dbus_connection_dispatch) will try to run the filter
14617                         function of our libhal context which is already freed.
14618
14619 2005-12-15  Alexander Shopov  <ash@contact.bg>
14620
14621         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14622
14623 2005-12-14  Dan Williams  <dcbw@redhat.com>
14624
14625         * include/NetworkManager.h
14626           src/NetworkManagerWireless.c
14627                 - Rearrange 802.11 wireless-specific capabilities again
14628
14629         * src/Makefile.am
14630                 - Forgot to add wpa.c/wpa.h to the makefiles
14631
14632         * src/NetworkManagerAP.[ch]
14633                 - Implement access point capabilities and parse the
14634                         WPA/RSN IEs into the capability bitfield
14635                 - Switch the "encrypted" attribute to utilize the bitfield
14636                         and capabilities rather than being independent
14637
14638         * src/NetworkManagerDevice.c
14639                 - (nm_device_wireless_get_activation_ap): break it horribly
14640                         until we can push NMAPSecurity objects into access point
14641                         objects and through the activation chain
14642                 - Stuff WPA & RSN IEs into AP capabilities
14643
14644         * src/nm-dbus-nm.c
14645                 - Take a shot at actually making setActiveDevice work
14646
14647         * src/wpa.[ch]
14648                 - Make the API a bit saner
14649
14650 2005-12-14  Dan Williams  <dcbw@redhat.com>
14651
14652         * include/NetworkManager.h
14653                 - Add 802.11-specific capability for 802.1x key
14654                         management
14655
14656         * src/wpa.[ch]
14657                 - Pull in WPA IE and RSN IE parsing code from
14658                         wpa_supplicant so we can determine access point
14659                         capabilities
14660                 - Move WPA-related constants here from NetworkManagerAP.h
14661                         and NetworkManagerDevice.c
14662
14663         * src/NetworkManagerDevice.c
14664           src/NetworkManagerAP.[ch]
14665                 - Use WPA-related constants from wpa.h
14666
14667 2005-12-14  Dan Williams  <dcbw@redhat.com>
14668
14669         * include/NetworkManager.h
14670                 - Update and split 802.11 wireless-specific capabilities from
14671                         generic device capabilities
14672
14673         * src/NetworkManagerDevice.c
14674           src/NetworkManagerDevicePrivate.h
14675                 - (nm_device_wireless_discover_capabilities): Move 802.11
14676                         wireless-specific capability checks to
14677                         NetworkManagerWireless.c
14678                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14679                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14680
14681         * src/NetworkManagerWireless.[ch]
14682                 - (nm_802_11_wireless_discover_capabilities): Check extended
14683                         802.11 wireless-specific capabilities of the driver
14684
14685 2005-12-14  Robert Love  <rml@novell.com>
14686
14687         Patch from Stefan Scheler <sscheler@suse.de>:
14688         * src/NetworkManagerDevice.c: call backend code to activate and
14689           deactivate NIS.
14690         * src/NetworkManagerSystem.h: add new NIS interfaces.
14691         * src/backends/NetworkManagerDebian.c,
14692           src/backends/NetworkManagerGentoo.c,
14693           src/backends/NetworkManagerRedHat.c,
14694           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14695           support.
14696         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14697
14698 2005-12-14  Dan Williams  <dcbw@redhat.com>
14699
14700         * src/nm-ap-security*.[ch]
14701                 - Add AP security abstractions to NetworkManager
14702
14703         * src/nm-dbus-device.c
14704                 - Begin to parse new format dbus messages from the applet
14705                         and construct an AP security object from the message
14706
14707         * libnm-util/dbus-helpers.c
14708                 - Use message iters so we can append the key as a fixed
14709                         array of bytes, which actually works rather than
14710                         using dbus_message_append_args() as we were before
14711
14712 2005-12-14  Dan Williams  <dcbw@redhat.com>
14713
14714         * src/NetworkManagerDbus.c
14715           gnome/applet/applet-dbus.c
14716                 - Fix up dbus service replacement options.  The applet
14717                         should allow replacement, NM itself should not.
14718
14719 2005-12-13  Robert Love  <rml@novell.com>
14720
14721         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14722           Instead, fail silently if config is NULL by not asserting and not
14723           returning FALSE.  Also, make sure we always fclose() the file.
14724
14725 2005-12-13  Robert Love  <rml@novell.com>
14726
14727         Patch by Stefan Scheler <sscheler@suse.de>:
14728         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14729            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14730            via DHCP.  Still need the backends to commit the NIS domain name and
14731            and servers to yp.conf as needed.
14732
14733 2005-12-13  Robert Love  <rml@novell.com>
14734
14735         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14736           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14737
14738 2005-12-13  Robert Love  <rml@novell.com>
14739
14740         * src/named-manager/nm-named-manager.c: Don't unref the config until
14741           after we call rewrite_resolv_conf(), because get_last_default_domain()
14742           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14743           `config != NULL' failed" assertion failures and "Could not commit DNS
14744           changes" warnings.
14745
14746 2005-12-12  Dan Williams  <dcbw@redhat.com>
14747
14748         * libnm-util/dbus-helpers.[ch]
14749           libnm-util/Makefile.am
14750                 - new helper calls to consolidate locations where
14751                         NM's setDevice method is called
14752
14753         * gnome/applet/applet-dbus-devices.c
14754           gnome/applet/wireless-security-option.c
14755           gnome/applet/wso-*
14756                 - Implement dbus message param append function for
14757                         all wireless security options
14758
14759 2005-12-12  Robert Love  <rml@novell.com>
14760
14761         * libnm-util/cipher-wep-passphrase.c,
14762           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14763           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14764           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14765           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14766           When handling keys, we don't care what the sign is.  The compiler
14767           guarantees us that we get our 8-bits, which is all we care about.
14768         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14769
14770 2005-12-12  Dan Williams  <dcbw@redhat.com>
14771
14772         * gnome/applet/applet-dbus-devices.[ch]
14773           gnome/applet/applet.c
14774           gnome/applet/other-network-dialog.c
14775           gnome/applet/wireless-security-manager.[ch]
14776           gnome/applet/wireless-security-option.[ch]
14777           gnome/applet/wso-*
14778                 - Push the wireless security options further into the applet
14779
14780 2005-12-12  Robert Love  <rml@novell.com>
14781
14782         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14783           return any name servers.  That is perfectly valid.  (Novell #134369).
14784
14785 2005-12-11  Dan Williams  <dcbw@redhat.com>
14786
14787         * gnome/applet/wso-*
14788           gnome/applet/wireless-security-option.*
14789           gnome/applet/Makefile.am
14790                 - split each security option out so we can eventually
14791                         have each one build up their own dbus message
14792                         arguments to send to NM
14793
14794 2005-12-11  Dan Williams  <dcbw@redhat.com>
14795
14796         * Make validation of the key work correctly
14797
14798 2005-12-11  Dan Williams  <dcbw@redhat.com>
14799
14800         * Hook more bits of the Other Network Dialog up to the
14801                 wireless security manager stuff, and restructure
14802                 bits of the dialog so there's less code.
14803
14804 2005-12-10  Dan Williams  <dcbw@redhat.com>
14805
14806         * gnome/applet/Makefile.am
14807                 - Add libnm-util to includes
14808                 - Add libnm-util to link list
14809                 - Add wireless-security-common.* to compile list
14810
14811         * gnome/applet/other-network-dialog.c
14812                 - Convert to using the WirelessSecurityManager code and
14813                         widgets
14814
14815         * gnome/applet/passphrase-dialog.c
14816                 - Comment out references to stuff in the glade file that
14817                         cause runtime errors until it can be fixed up
14818                         to use the WirelessSecurityManager code
14819
14820         * gnome/applet/wireless-applet.glade
14821                 - Rename some widgets
14822                 - Add widgets for the WirelessSecurityManager code
14823                 - Remove passphrase-related stuff since that's now
14824                         handled by the WirelessSecurityManager code
14825
14826 2005-12-10  Dan Williams  <dcbw@redhat.com>
14827
14828         * gnome/applet/applet-dbus-devices.c
14829                 - Print out error message details for dbus pending call callbacks
14830                 - Move nmwa_dbus_update_devices() up
14831
14832         * gnome/applet/applet-dbus-vpn.c
14833                 - Print out error message details for dbus pending call callbacks
14834
14835 2005-12-10  Dan Williams  <dcbw@redhat.com>
14836
14837         * libnm-util/*
14838                 - More fixups
14839                 - Remove cipher-manager.* because we don't need it
14840                 - Forgot to add gnome-keyring-md5 files to compile list
14841
14842 2005-12-09  Dan Williams  <dcbw@redhat.com>
14843
14844         * libnm-util/*
14845           configure.in
14846           Makefile.am
14847                 - Add a utility library for clients of NetworkManager.  It's
14848                         only targetted at applets for the moment, and contains
14849                         a generalized 802.11 cipher framework for different
14850                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14851
14852 2005-12-09  Robert Love  <rml@novell.com>
14853
14854         * src/NetworkManagerDevice.c: handle error better in
14855           nm_device_set_mode().
14856
14857 2005-12-08  Robert Love  <rml@novell.com>
14858
14859         * include/NetworkManager.h: add WPA capabilities constants
14860         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14861           or WPA2 and add the capabilities bits as appropriate.
14862
14863 2005-12-08  Robert Love  <rml@novell.com>
14864
14865         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14866           NetworkManagerDispatcher.
14867         * configure.in, initscript/SUSE/.cvsignore,
14868           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14869           initscript.
14870
14871 2005-12-08  Robert Love  <rml@novell.com>
14872
14873         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14874
14875 2005-12-08  Robert Love  <rml@novell.com>
14876
14877         * src/NetworkManagerDevice.c: We want to fall back on and default to
14878           IW_MODE_AUTO, not -1, which is more in line with our previous
14879           behavior.  Otherwise, we try to set the wireless mode to -1 in
14880           nm_device_set_mode().
14881
14882 2005-12-07  Robert Love  <rml@novell.com>
14883
14884         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14885           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14886           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14887           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14888           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14889           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14890           zero.
14891
14892 2005-12-07  Robert Love  <rml@novell.com>
14893
14894         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14895           supplied IP is invalid, fall back to DHCP.
14896
14897 2005-12-07  Dan Williams  <dcbw@redhat.com>
14898
14899         * Convert NETWORK_MODE_* constants to IW_MODE_*
14900         * Make all the get_mode/set_mode functions take and return 'int'
14901         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14902
14903 2005-12-07  Robert Love  <rml@novell.com>
14904
14905         * src/NetworkManagerDevice.c: strncpy() buffer check.
14906         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14907
14908 2005-12-06  Dan Williams  <dcbw@redhat.com>
14909
14910         * gnome/applet/applet-dbus.c
14911                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14912
14913         * gnome/applet/applet-dbus-vpn.c
14914                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14915                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14916                         to TRUE here if stage was ACTIVATED
14917
14918 2005-12-06  Dan Williams  <dcbw@redhat.com>
14919
14920         * Change nm_device_is_* functions to better names:
14921                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14922                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14923
14924 2005-12-06  Dan Williams  <dcbw@redhat.com>
14925
14926         * Change naming of NMDeviceType to something more sensible:
14927                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14928                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14929                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14930
14931 2005-12-06  Dan Williams  <dcbw@redhat.com>
14932
14933         * Move NetworkManager.h -> include/NetworkManager.h
14934         * Split out VPN stuff into include/NetworkManagerVPN.h
14935         * Fix up makefiles to include new location
14936         * Fix up sources to include NetworkManagerVPN.h
14937
14938 2005-12-06  Dan Williams  <dcbw@redhat.com>
14939
14940         Various changes in the applet to move VPN connection "state" -> "stage",
14941         which it actually is.  I'd like to change the signal as well when we
14942         break compat in the near future.
14943
14944 2005-12-06  Dan Williams  <dcbw@redhat.com>
14945
14946         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14947         * initscript/Slackware/rc.networkmanager
14948                 - Cosmetic fix
14949
14950         * src/backends/NetworkManagerSlackware.c
14951                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14952                         interfaces
14953
14954 2005-12-05  Robert Love  <rml@novell.com>
14955
14956         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14957           to free, particularly here as it just barfs.
14958
14959 2005-12-05  Dan Williams  <dcbw@redhat.com>
14960
14961         * gnome/applet/applet-dbus.c
14962                 - Work with dbus 0.6 too
14963
14964 2005-12-03  Dan Williams  <dcbw@redhat.com>
14965
14966         * src/NetworkManagerUtils.[ch]
14967           src/nm-ip4-config.c
14968                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14969                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14970
14971 2005-12-01  Robert Love  <rml@novell.com>
14972
14973         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14974           need a NULL for the '...' parameter, too, to fill the so-called
14975           sentinel.
14976
14977 2005-12-01  Robert Love  <rml@novell.com>
14978
14979         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14980           interface is already gone, so don't call rtnl_link_change() to down
14981           it (which will segfault, anyhow).
14982
14983 2005-11-22  Robert Love  <rml@novell.com>
14984
14985         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14986           gateway is not set, just print a little note.  Configurations without
14987           gateways are valid.
14988
14989 2005-11-22  Robert Love  <rml@novell.com>
14990
14991         * README: update
14992
14993 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14994
14995         * configure.in: Added Finnish translation to ALL_LINGUAS
14996
14997 2005-11-14  Robert Love  <rml@novell.com>
14998
14999         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15000           Niemueller <tim@niemueller.de>.
15001
15002 2005-11-08  Dan Williams  <dcbw@redhat.com>
15003
15004         Patch from Bill Moss <bmoss@clemson.edu>
15005         * src/NetworkManagerDevice.c
15006                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15007                         of nm_policy_schedule_activation_finish() to prevent a
15008                         race condition that causes the link to be dropped
15009
15010 2005-11-08  Dan Williams  <dcbw@redhat.com>
15011
15012         Patch from Bill Moss <bmoss@clemson.edu>
15013         * src/NetworkManagerAPList.c
15014           src/NetworkManagerDevice.c
15015           src/NetworkManagerDbus.c
15016                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15017                         we get more readable ether/mac addresses
15018
15019 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15020
15021         * gnome/applet/main.c: Don't set the restart command.  This fixes
15022         the issue where the restart command was getting copies of all its
15023         arguments for each time the applet was restarted.
15024
15025 2005-11-02  Robert Love  <rml@novell.com>
15026
15027         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15028           if the widget state differs from our saved state.  This ensures we
15029           do not enter an endless loop of death and destruction.  Also, this
15030           guarantees us that we enforce the widget state.
15031
15032 2005-11-02  Robert Love  <rml@novell.com>
15033
15034         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15035         * gnome/applet/applet-dbus-devices.c: invoke the new function
15036           nmwa_enable_wireless_set_active() to ensure that the state of the
15037           'Enable Wireless' checkbox matches the daemon's state.  This is a
15038           concern because the daemon remembers the state.
15039
15040 2005-11-02  Robert Love  <rml@novell.com>
15041
15042         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15043           Enabled", as checkboxes should be actions/commands not positive
15044           statements, otherwise they are confusing in the unselected case.  See
15045           examples in GNOME HIG, Chapter 6.
15046
15047 2005-11-02  Robert Love  <rml@novell.com>
15048
15049         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15050           show a list of wireless networks or the wireless devices or the
15051           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15052           a bad bug: If wireless is disabled and the user picks a wireless
15053           network, NM will switch to the network, only to immediately switch
15054           back, as wireless is disabled.  This also reassures people that NM
15055           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15056
15057 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15058
15059         * gnome/applet/applet.c:
15060         * gnome/applet/applet.h:
15061         Partial backout of Dan's timeout animation patch.
15062         Timeout IDs cannot legally be 0, so revert the code in place to handle
15063         a timeout ID of 0 to denote the timeout isn't running.
15064
15065 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15066
15067         * src/NetworkManagerPolicy.c:
15068         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15069
15070 2005-10-28  Robert Love  <rml@novell.com>
15071
15072         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15073           "Import Saved Configuration..." to make it clear that importing is
15074           not the next step, but an option.  As an aside, a nice TODO would be
15075           to move Importing out of the vpn-specific dialog and into the main
15076           property editor, as Importing goes with Adding, but that will require
15077           some rearchitecting of the VPN stuff I suspect.
15078
15079 2005-10-27  Dan Williams  <dcbw@redhat.com>
15080
15081         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15082         we should replace most of the distro-specific backend code
15083         with libnl stuff.
15084
15085         Get it here:  http://people.suug.ch/~tgr/libnl/
15086
15087         * configure.in
15088           src/Makefile.am
15089                 - Add checks for libnl pkgconfig file
15090                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15091
15092         * src/NetworkManagerSystem.c
15093           src/nm-ip4-config.[ch]
15094                 - Use libnl rather than ioctl() for most things
15095                 - Remove unused functions
15096
15097 2005-10-27  Robert Love  <rml@novell.com>
15098
15099         * src/backends/NetworkManagerSuSE.c: fix warning message text
15100
15101 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15102
15103         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15104
15105 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15106
15107         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15108         project page <http://www.gnome.org/projects/NetworkManager/>
15109
15110 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15111
15112         * gnome/applet.c: Also use translator credits if we don't have
15113         the new GtkAboutDialog (older versions of GTK+)
15114
15115 2005-10-26  Robert Love  <rml@novell.com>
15116
15117         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15118           failure; correct usage text for "--no-daemon"
15119
15120 2005-10-25  Dan Williams  <dcbw@redhat.com>
15121
15122         * src/NetworkManagerDevice.c
15123                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15124                         no scan results
15125                 - (free_process_scan_cb_data): unref the device when freeing results
15126                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15127                         so we don't unref the device underneath ourselves
15128
15129 2005-10-25  Dan Williams  <dcbw@redhat.com>
15130
15131         * Back out 2005-10-24 commit from Tor Krill.  Patch
15132                 causes nameservers never to be removed from named.
15133
15134 2005-10-24  Dan Williams  <dcbw@redhat.com>
15135
15136         Clean up wireless scanning and wireless link probing.
15137
15138         * src/NetworkManagerDevice.c
15139                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15140                         just see if there's an activation request on the device, and check the
15141                         current link against the activation request access point's ESSID.
15142                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15143                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15144                         don't call process_scan_results() on zero-length data
15145                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15146                         15 seconds (from 10)
15147
15148 2005-10-24  Dan Williams  <dcbw@redhat.com>
15149
15150         Cleanup some applet stuff:
15151
15152         - Animation timeouts.  If NM died while the applet was animating,
15153                 the applet would not hide itself.  This is now fixed.
15154
15155         - Remove some dead code
15156
15157         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15158                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15159
15160         - Track animation timeout using a gboolean rather than the timeout's
15161                 ID, since timeout IDs can legally be 0.
15162
15163 2005-10-24  Dan Williams  <dcbw@redhat.com>
15164
15165         * src/backends/interface_parser.c
15166                 - Add void to function declarations that need it
15167                         to match patch from Engin AYDOGAN
15168
15169         * src/backends/interface_parser.h
15170                 - Remove unused prototype for ifparser_interfaces()
15171
15172         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15173         * src/backends/interface_parser.h:
15174                 - Compile fixes for gcc 4.0.2 (add void)
15175
15176 2005-10-24  Dan Williams  <dcbw@redhat.com>
15177
15178         Patch from Tor Krill <tor@krill.nu>
15179         * src/named-manager/nm-named-manager.c
15180                 - Write more than just the first nameserver to /etc/resolv.conf
15181                 - Write out valid /etc/resolv.conf on exit
15182
15183 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15184
15185         * gnome/applet/applet-dbus-vpn.c:
15186         Get rid of spurious newlines in debug console output
15187
15188 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15189
15190         * src/backends/NetworkManagerGentoo.c:
15191         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15192
15193 2005-10-20  Robert Love  <rml@novell.com>
15194
15195         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15196           direct comparison of floating point values, which is never correct.
15197           Also some misc. cleanup.
15198
15199 2005-10-19  Robert Love  <rml@novell.com>
15200
15201         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15202
15203 2005-10-19  Robert Love  <rml@novell.com>
15204
15205         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15206           sensitivity of the buttons.  Specificaly, do the right thing if
15207           there are no entries.
15208
15209 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15210
15211         * configure.in: Update check for adequate wireless-tools
15212         with an AC_TRY_COMPILE for the new symbols we use.
15213
15214 2005-10-19  Dan Williams  <dcbw@redhat.com>
15215
15216         * src/NetworkManagerDevice.c
15217                 - (process_scan_results): don't drop the last (or only)
15218                         access point we see
15219
15220 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15221
15222         * src/backends/NetworkManagerSlackware.c:
15223         Patch from Nico <lordllucifer@gmail.com>
15224                 - Update the Slackware backend.
15225
15226 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15227
15228         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15229         if we've got GLib 2.8.0
15230
15231 2005-10-18  Robert Love  <rml@novell.com>
15232
15233         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15234           function nm_schedule_state_change_signal_broadcast() when we
15235           deactivate a device, too.
15236
15237 2005-10-18  Robert Love  <rml@novell.com>
15238
15239         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15240           be used uninitialized.
15241
15242 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15243
15244         * test/libnm_glib_test.c: Test unregistering, too.
15245
15246 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15247
15248         * configure.in: Bump to 0.5.0
15249
15250 2005-10-17  Dan Williams  <dcbw@redhat.com>
15251
15252         * NetworkManager.h
15253                 - Remove WPA-related constants so they aren't part of the
15254                         upcoming release.
15255
15256 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15257
15258         * gnome/applet/applet.c:
15259         * gnome/applet/applet.h:
15260         Desensitize the 'Connection Information' menu item when there is
15261         no active connection.
15262
15263 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15264
15265         * gnome/libnm_glib/libnm_glib.c:
15266         Make libnm_glib_unregister_callback () actually unregister the callback
15267
15268 2005-10-17  Robert Love  <rml@novell.com>
15269
15270         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15271           two seconds -- tries is updated every 1/10 of a second, not every
15272           second..
15273
15274 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15275
15276         * gnome/applet/applet-dbus-info.c:
15277         Let D-BUS know that we haven't handled a message when we haven't.
15278
15279 2005-10-17  Robert Love  <rml@novell.com>
15280
15281         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15282           in order to remain 64-bit clean.
15283
15284 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15285
15286         * gnome/applet/applet-dbus-info.c:
15287         Find network encryption keys asynchronously
15288
15289 2005-10-17  Robert Love  <rml@novell.com>
15290
15291         * src/backends/NetworkManagerDebian.c,
15292           src/backends/NetworkManagerRedHat,
15293           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15294           comment delimiter.
15295
15296 2005-10-17  Robert Love  <rml@novell.com>
15297
15298         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15299           "/etc"
15300
15301 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15302
15303         * src/NetworkManagerDevice.c: (process_scan_results)
15304         Fix logic that checks to see whether we have an ESSID.
15305
15306 2005-10-15  Dan Williams  <dcbw@redhat.com>
15307
15308         Move scanning code into NetworkManager rather than use iwlib's
15309         iw_scan() function, so that we can figure out AP capabilities.
15310
15311         * NetworkManager.h
15312                 - Add AP capability bits
15313
15314         * src/NetworkManagerAP.[ch]
15315                 - Add capability field to NMAccessPoint structure
15316                 - Add WPA & RSN Information Element fields and accessor
15317                         functions to NMAccessPoint
15318
15319         * src/NetworkManagerDevice.c
15320                 - Remove usage of iw_scan
15321                 - Add scanning code to NetworkManager rather than use
15322                         iw_scan() from iwlib
15323
15324         * src/NetworkManagerUtils.[ch]
15325                 - (nm_dispose_scan_results): remove, unused
15326
15327 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15328
15329         * gnome/libnm_glib/libnm_glib.c:
15330         * gnome/libnm_glib/libnm_glib.h:
15331         Use guint instead of gint for callback IDs.
15332
15333 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15334
15335         * gnome/applet/applet.c:
15336         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15337         every 1000ms.  It will unconditionally call nmwa_update_state which
15338         kills the existing animation timeout and registers a new one with a
15339         callback to draw a new frame every 100ms.  There are 11 connecting
15340         icon frames, so the last 2 frames kept getting dropped.  Only reset
15341         the animation timeout if we aren't animating.
15342
15343 2005-10-11  Dan Williams  <dcbw@redhat.com>
15344
15345         * gnome/applet/applet-dbus-devices.c
15346                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15347                         We want to grab the product & vendor from net.physical_dev
15348                         rather than info.parent.
15349
15350 2005-10-11  Dan Williams  <dcbw@redhat.com>
15351
15352         * src/NetworkManagerDevice.c
15353                 - Use the driver's WE version for scanning rather than
15354                         the WE version NM was compiled with.  Fixes random
15355                         crashes in iw_scan () in iwlib.
15356
15357 2005-10-10  Dan Williams  <dcbw@redhat.com>
15358
15359         * Remove nm_system_load_device_modules() from backend files
15360                 and from NetworkManager.c
15361
15362 2005-10-10  Dan Williams  <dcbw@redhat.com>
15363
15364         * src/NetworkManagerPolicy.c
15365                 - Fix some bugs introduced by the capabilities patch
15366
15367 2005-10-10  Dan Williams  <dcbw@redhat.com>
15368
15369         * gnome/applet/applet-dbus-info.c
15370                 - (nmi_dbus_get_network_key): hide the menu when putting up
15371                         the keyring dialog.  (not sure if the code is right...)
15372
15373 2005-10-09  Dan Williams  <dcbw@redhat.com>
15374
15375         Patch from Bill Moss <bmoss@clemson.edu>
15376         * src/NetworkManagerDevice.c
15377                 - (nm_device_set_user_key_for_network): don't try to set auth
15378                         mode on the AP from the allowed list if it's NULL
15379
15380 2005-10-09  Dan Williams  <dcbw@redhat.com>
15381
15382         * Replace the "driver support level" stuff with capabilities.  The
15383                 capability field is a bitfield that is more flexible than the
15384                 old driver support level thing.  It's mostly so we can easily
15385                 figure out what supports WPA and what doesn't, but should be
15386                 quite useful later.
15387
15388 2005-10-09  Dan Williams  <dcbw@redhat.com>
15389
15390         * test/nmtest.c
15391                 - Removed
15392
15393         * test/nm-tool.c
15394           test/Makefile.am
15395                 - Added new "nm-tool" tool that gives quite a bit more
15396                         information
15397
15398 2005-10-07  Robert Love  <rml@novell.com>
15399
15400         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15401           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15402           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15403           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15404           appropriate
15405
15406 2005-10-07  Robert Love  <rml@novell.com>
15407
15408         * configure.in: Change our compile flags for the betterment of mankind.
15409           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15410           prototype is very bad on 64-bit platforms as types default to int but
15411           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15412           "-Wmissing-declarations" to warn if we define an exported function
15413           but fail to put it in a header.
15414
15415 2005-10-07  Robert Love  <rml@novell.com>
15416
15417         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15418           by the name nm_update_device_wireless_timeouts() and once tried,
15419           without success, to steal my pet turtle.
15420
15421 2005-10-07  Robert Love  <rml@novell.com>
15422
15423         * Cleanup prototypes: put some functions in header files and mark
15424           others as 'static' -- feel free to invert
15425         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15426           nm_vpn_manager_vpn_connection_list_copy()
15427         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15428           nm_vpn_service_get_dbus_connection()
15429         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15430           nm_vpn_manager_vpn_connection_list_copy()
15431         * src/vpn-manager/nm-vpn-service.c: make
15432           nm_vpn_service_act_request_failed() and
15433           nm_vpn_service_stage2_daemon_wait() static
15434         * src/vpn-manager/nm-vpn-service.h: add prototype for
15435           nm_vpn_service_get_dbus_connection()
15436
15437 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15438
15439         * gnome/applet/applet.c:
15440         * gnome/applet/applet.h:
15441         * gnome/applet/icons/Makefile.am:
15442         Convey information about the current connection stage in the
15443         icons themselves instead of creating a separate progress bar.
15444
15445 2005-10-04  Robert Love  <rml@novell.com>
15446
15447         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15448           convert an ether_addr structure's MAC into a string, because the
15449           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15450           versus 07:3B:04, while the former will not.
15451
15452 2005-10-04  Robert Love  <rml@novell.com>
15453
15454         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15455           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15456           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15457           default route in the 'Connection Information' dialog, send primary
15458           and secondary name servers in in "getProperties" DBUS method, add
15459           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15460           secondary domain name servers are crucial pieces of information
15461           that a user might need in debugging a network problem.
15462
15463 2005-10-04  Robert Love  <rml@novell.com>
15464
15465         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15466           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15467           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15468           default route in the 'Connection Information' dialog, send default
15469           route in "getProperties" DBUS method, add network_device_set_route(),
15470           and network_device_get_route().  The Gateway is a crucial piece of
15471           connection-related information that a user might need in debugging a
15472           network problem.
15473
15474 2005-10-03  Robert Love  <rml@novell.com>
15475
15476         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15477           NULL.
15478
15479 2005-10-02  Dan Williams  <dcbw@redhat.com>
15480
15481         * Shorten time taken to sleep by fastpathing bits of device deactivation
15482                 necessary for sleep.
15483
15484         * Fix issue where deactivating a device might deactivate the active
15485                 VPN connection, even if the VPN was not using the device.
15486
15487 2005-10-02  Dan Williams  <dcbw@redhat.com>
15488
15489         * gnome/applet/applet.c
15490                 - Adjust signal strength -> icon mapping values slightly
15491                         (so that 51% signal doesn't show a 75% icon) by adding
15492                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15493                         shows 50% icon, etc.
15494
15495 2005-09-29  Robert Love  <rml@novell.com>
15496
15497         * src/NetworkManager.c: removed unused variable.
15498
15499 2005-09-28  Dan Williams  <dcbw@redhat.com>
15500
15501         Support for named + DBus, using Red Hat DBus patches for named.  You
15502         can find those patches here, with "dbus" in the patch's filename:
15503
15504                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15505
15506         Don't forget the named dbus service file either.
15507
15508         Instead of writing a config file and spawing a named process, NM will
15509         use an already-running dbus-enabled named if it finds one.  NM will
15510         update named's forwarder configuration on the fly using dbus.
15511
15512         If there is no dbus-enabled named running, NM will automatically fall
15513         back to writing the most-recent DNS server information to /etc/resolv.conf
15514         and calling nm_system_update_dns() to kick the system's resolver.
15515
15516         Accordingly, all named-related configure-time options have been removed.
15517
15518 2005-09-26  Robert Love  <rml@novell.com>
15519
15520         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15521           ISDN support!
15522         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15523           bug in error path if "ASKPASSWORD" is "no".
15524
15525 2005-09-26  Robert Love  <rml@novell.com>
15526
15527         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15528           comment in /etc/resolv.conf -- ';' is not.
15529
15530 2005-09-19  Dan Williams  <dcbw@redhat.com>
15531
15532         * src/backends/NetworkManagerRedHat.c:
15533         * src/backends/NetworkManagerDebian.c:
15534         * src/backends/NetworkManagerSlackware.c:
15535         * src/backends/NetworkManagerGentoo.c:
15536         * src/backends/NetworkManagerSUSE.c:
15537         Fix invocations of "/sbin/ip address" to use short form instead
15538
15539 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15540
15541         * src/nm-dbus-device.c: Don't assert when getting
15542         addresses of a not yet connected interface.
15543
15544         * gnome/applet/applet.c: Free icons if loading fails.
15545         Use translator-credits so translators can make themselves known.
15546
15547 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15548
15549         * src/NetworkManagerAP.c:
15550         * src/NetworkManagerAP.h:
15551         * src/NetworkManagerDevice.c:
15552         Set a blacklist for certain common manufacturer default ESSIDs:
15553         APs with these ESSIDs are extremely likely to be completely
15554         different networks: connecting to one should not make NM
15555         auto-connect to every other AP with the same default ESSID.
15556
15557 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15558
15559         * gnome/applet/wireless-applet.glade:
15560         The passphrase entry should also activate the default
15561
15562         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15563
15564         * gnome/applet/applet-dbus-devices.c:
15565         * gnome/applet/applet.c:
15566         * gnome/applet/nm-device.c:
15567         * gnome/applet/nm-device.h:
15568         * src/NetworkManagerUtils.c:
15569         * src/NetworkManagerUtils.h:
15570         * src/nm-dbus-device.c:
15571         I've got a fever, and the only cure for it is less ioctl.
15572         Make NM push IP data rather than make the applet open a socket
15573         to the device.
15574
15575 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15576
15577         * gnome/applet/applet.c:
15578         * gnome/applet/applet-dbus-devices.c:
15579         * gnome/applet/applet-dbus-info.c:
15580         * gnome/applet/passphrase-dialog.c:
15581         * gnome/libnm_glib/libnm_glib.c:
15582         * gnome/vpn-properties/nm-vpn-properties.c:
15583         * src/autoip.c:
15584         * src/backends/NetworkManagerRedHat.c:
15585         * src/named-manager/nm-named-manager.c:
15586         * src/NetworkManagerAPList.c:
15587         * src/NetworkManager.c:
15588         * src/NetworkManagerDbus.c:
15589         * src/NetworkManagerDevice.c:
15590         * src/NetworkManagerPolicy.c:
15591         * src/NetworkManagerSystem.c:
15592         * src/nm-dbus-device.c:
15593         * src/nm-dbus-nm.c:
15594         * src/vpn-manager/nm-vpn-manager.c:
15595         * src/vpn-manager/nm-vpn-service.c:
15596         * test/libnm_glib_test.c:
15597         * test/nminfotest.c:
15598         * test/nmtestdevices.c:
15599         Fix a bunch of 'unused variable' compiler warnings
15600
15601         * NetworkManager.h:
15602         * gnome/applet/applet-dbus-info.c:
15603         * gnome/applet/applet-dbus-info.h:
15604         * gnome/applet/applet.c:
15605         * gnome/applet/applet.h:
15606         * src/NetworkManager.c:
15607         * src/NetworkManagerDbus.c:
15608         * src/NetworkManagerDbus.h:
15609         * src/NetworkManagerDevice.c:
15610         * src/NetworkManagerDevice.h:
15611         * src/NetworkManagerMain.h:
15612         * src/NetworkManagerWireless.c:
15613         * src/NetworkManagerWireless.h:
15614         * src/nm-dbus-nm.c:
15615         Make NetworkManager be smart about how frequently to scan
15616         based on its current state.  Remove the UI for choosing when
15617         to scan.  Scanning still may disabled completely by the user
15618         via the "Wireless Enabled" menu item.
15619
15620 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15621
15622         * gnome/applet/applet.c:
15623         Also overlay the vpn connecting icons onto the wired icon,
15624         when appropriate.
15625
15626         * gnome/vpn-properties/nm-vpn-properties.glade:
15627         Clean up a few strings to use better grammar and proper casing.
15628
15629 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15630
15631         * gnome/applet/vpn-connection.c:
15632         * gnome/applet/vpn-connection.h:
15633         Add nmwa_vpn_connection_is_activating ()
15634
15635         * gnome/applet/applet.c:
15636         * gnome/applet/applet.h:
15637         * gnome/applet/icons/nm-vpn-connecting*.png:
15638         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15639         the user know something's happening between clicking the VPN item and it
15640         actually being connected.
15641
15642 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15643
15644         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15645         failure case as well.
15646
15647 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15648
15649         * gnome/panel/eggtrayicon.[ch]:
15650         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15651
15652 2005-09-07  Dan Williams  <dcbw@redhat.com>
15653
15654         Patch from Bill Moss <bmoss@clemson.edu>
15655         * src/applet-dbus.c
15656                 - (nmwa_dbus_filter): strip whitespace from beginning
15657                         and end of VPN login banner
15658
15659 2005-09-07  Dan Williams  <dcbw@redhat.com>
15660
15661         * The great VPN Manager rewrite of 2005
15662
15663 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15664
15665         * gnome/applet/menu-items.c:
15666         * gnome/applet/nm-device.c:
15667         * gnome/applet/wireless-network.c:
15668         * gnome/libnm_glib/libnm_glib.c:
15669         * src/NetworkManagerDbusUtils.c:
15670         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15671         g_malloc0 doesn't return NULL
15672
15673 2005-09-06  Dan Williams  <dcbw@redhat.com>
15674
15675         Patch from Tomislav Vujec <tvujec@redhat.com>
15676         * src/NetworkManagerDevice.c
15677                 - (nm_get_device_by_udi): don't return a device when we
15678                         actually didn't find what we were looking for
15679
15680 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15681
15682         * gnome/applet/applet-dbus-devices.c:
15683         * gnome/applet/applet-dbus-devices.h:
15684         * gnome/applet/applet-dbus.c:
15685         * src/NetworkManagerDbus.c:
15686         * src/NetworkManagerDbus.h:
15687         * src/NetworkManagerDevice.c:
15688         * src/nm-dbus-device.c:
15689         Make NM push updates about active device strength when it changes,
15690         rather than having the applet poll every 2s.
15691
15692 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15693
15694         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15695         network_device_set_strength
15696
15697 2005-09-04  Dan Williams  <dcbw@redhat.com>
15698
15699         Patch from Bill Nottingham <notting@redhat.com>
15700         * src/NetworkManagerDevice.c
15701                 - (nm_device_activation_cancel): reset the quit_activation flag
15702
15703 2005-09-04  Dan Williams  <dcbw@redhat.com>
15704
15705         * src/nm-activation-request.c
15706                 - (nm_act_request_unref): actually free the structure,
15707                         which we didn't seem to be doing before
15708
15709 2005-09-04  Dan Williams  <dcbw@redhat.com>
15710
15711         Patch from John Palmieri <johnp@redhat.com>
15712         * gnome/applet/applet-dbus-devices.c
15713                 - Fix up unreffing of DBusMessage objects
15714
15715 2005-09-04  Dan Williams  <dcbw@redhat.com>
15716
15717         Patch from John Palmieri <johnp@redhat.com>
15718         * gnome/applet/nm-device.c
15719                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15720
15721 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15722
15723         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15724
15725 2005-09-02  Bill Nottingham  <notting@redhat.com>
15726
15727         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15728
15729 2005-09-01  Dan Williams  <dcbw@redhat.com>
15730
15731         * src/NetworkManager.c
15732                 - (nm_remove_device_from_list): rename to nm_remove_device
15733                 - (nm_hal_device_removed): call nm_remove_device()
15734
15735         * src/NetworkManagerDevice.c
15736                 - Change the NMWirelessScanCB member 'reschedule' which
15737                         wasn't used to 'force' to indicate that we need to
15738                         force a scan when adding a device
15739
15740         * src/nm-dbus-nm.c
15741                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15742                         from the device list
15743                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15744
15745 2005-09-01  Robert Love  <rml@novell.com>
15746
15747         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15748           and the check "!iface" in the error case is probably never true.
15749
15750 2005-09-01  Dan Williams  <dcbw@redhat.com>
15751
15752         Patch from Bill Nottingham <notting@redhat.com>
15753         * src/backends/NetworkManagerRedHat.c
15754                 - Add initial dialup support to Red Hat/Fedora backend
15755
15756 2005-09-01  Dan Williams  <dcbw@redhat.com>
15757
15758         * gnome/applet/applet-dbus-devices.c
15759                 - Sort both wireless networks and devices again, which got
15760                         broken when removing threading
15761
15762 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15763
15764         * gnome/applet/applet.c:
15765         Only show the "Stop/Start All Wireless Devices" menuitem
15766         if we actually have wireless devices.
15767
15768         * gnome/applet/applet-dbus-info.c:
15769         * gnome/applet/applet.c:
15770         * gnome/applet/other-network-dialog.c:
15771         * gnome/applet/vpn-password-dialog.c:
15772         Drop the gtk_dialog_run () calls in favor of connecting to
15773         "response" signals, needed now that the applet is not threaded.
15774
15775 2005-08-31  Dan Williams  <dcbw@redhat.com>
15776
15777         Patch from Bill Moss <bmoss@clemson.edu>
15778         * src/NetworkManagerDevice.c
15779                 - (nm_device_wireless_scan): fix scan timeout values
15780
15781 2005-08-30  Dan Williams  <dcbw@redhat.com>
15782
15783         * gnome/applet/wireless-applet.glade
15784                 - HIG-ify the Other Wireless Networks dialog a bit more
15785                 - Fix some potential segfaults in the info dialog
15786
15787 2005-08-30  Dan Williams  <dcbw@redhat.com>
15788
15789         * gnome/applet/applet-dbus-devices.c
15790                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15791
15792 2005-08-30  Dan Williams  <dcbw@redhat.com>
15793
15794         * gnome/applet/applet-dbus.[ch]
15795                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15796                         they weren't being used anyway
15797
15798 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15799
15800         * test/nmtestdevices.c: (print_usage), (main):
15801         Check the number of arguments, and fix a typo
15802
15803 2005-08-29  Dan Williams  <dcbw@redhat.com>
15804
15805         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15806         * gnome/applet/applet.c
15807                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15808
15809 2005-08-29  Dan Williams  <dcbw@redhat.com>
15810
15811         * gnome/applet/*
15812                 - Don't use threads any more.  Anything that blocks
15813                         (like gtk_dialog_run()) will  have to get fixed up which
15814                         should happen quickly.  We really only had threads to make
15815                         the animation smooth, and when everything got converted over
15816                         to DBus Pending Calls, the need for threads kind of went away
15817
15818 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15819
15820         * gnome/applet/applet.c: Draw VPN connections as radio items
15821         since we don't yet support multiple VPNs.
15822         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15823         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15824
15825 2005-08-29  Dan Williams  <dcbw@redhat.com>
15826
15827         Patch from j@bootlab.org
15828         - Make --without-named work
15829         - Make --with-dhcdbd work correctly
15830
15831 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15832
15833         * configure.in: Added "ca" to ALL_LINGUAS.
15834
15835 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15836
15837         * Fix up VPN state handling between the applet and NetworkManager,
15838                 so that the applet doesn't show a VPN as connected when one
15839                 really is not
15840                         - The applet no longer has a pointer to the active VPN's
15841                                 name, but tracks each VPNs state individually
15842                         - NM no longer has a "getActiveVPNConnection" method
15843                         - NM no longer broadcasts the "VPNConnectionChange" signal
15844                         - NM now broadcasts a "VPNConnectionStateChange" signal
15845                                 whenever the state of a VPN changes
15846
15847 2005-08-26  Dan Williams <dcbw@redhat.com>
15848
15849         * gnome/applet/applet-dbus-devices.c
15850           gnome/applet/applet-dbus-vpn.c
15851                 - Remove calls to dbus_pending_call_ref() because we already
15852                         "own" the pending call
15853                 - Remove calls to dbus_pending_call_get_completed() because
15854                         when we are in the callback, the pending call is completed
15855                         by definition
15856
15857 2005-08-22  Dan Williams <dcbw@redhat.com>
15858
15859         Patch by Bill Moss <bmoss@clemson.edu>
15860         * src/dhcp-manager/nm-dhcp-manager.c
15861                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15862                         some time to send out a RELEASE if they like
15863
15864 2005-08-22  Dan Williams <dcbw@redhat.com>
15865
15866         Noticed by Bill Moss <bmoss@clemson.edu>
15867         * src/NetworkManagerDbus.c
15868                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15869                         instead of just cancelling its activation
15870
15871         * src/NetworkManagerDevice.c
15872                 - (nm_device_deactivate): some small cleanups
15873                 - (nm_device_set_user_key_for_network): deactivate the device
15874                         instead of just cancelling its activation
15875
15876 2005-08-22  Dan Williams <dcbw@redhat.com>
15877
15878         Noticed by Bill Moss <bmoss@clemson.edu>
15879         * src/NetworkManagerDevice.c
15880                 - (nm_device_wireless_scan): fix scan timeout, we were
15881                         waiting way too long for scans to complete
15882
15883 2005-08-22  Dan Williams <dcbw@redhat.com>
15884
15885         Patch from j@bootlab.org:
15886         * src/backends/NetworkManagerDebian.c
15887                 - Make the Debian backend work for static IP again
15888
15889 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15890
15891         * gnome/applet/other-network-dialog.c:
15892         The "Create New Network" and "Connect to Other Network"
15893         dialogs share alot of code, but shouldn't share a window
15894         title.  Give them different ones.
15895
15896         * gnome/applet/wireless-applet.glade:
15897         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15898         Some more minor UI tweaks.
15899
15900 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15901
15902         * gnome/applet/other-network-dialog.c:
15903         * gnome/applet/wireless-applet.glade:
15904         Also need mnemonic widgets, and underline enabled.
15905
15906 2005-08-19  Dan Williams <dcbw@redhat.com>
15907
15908         * vpn-daemons/vpnc/nm-vpnc-service.c
15909                 - (vpnc_watch_cb): remove no-longer-relevant comment
15910                 - (write_config_option): new function, helper to write
15911                         config options to vpnc's stdin
15912                 - (nm_vpnc_config_write): use the new helper, make the
15913                         code shorter
15914
15915 2005-08-19  Christopher Aillon <caillon@redhat.com>
15916
15917         * gnome/applet/passphrase-dialog.c:
15918         * gnome/applet/wireless-applet.glade:
15919         Make the passphrase dialog response based, and treat
15920         responses other than OK (such as Esc, [X]) as a cancel.
15921
15922 2005-08-18  Christopher Aillon <caillon@redhat.com>
15923
15924         * initscript/Gentoo/NetworkManager:
15925         * initscript/RedHat/NetworkManager:
15926         * initscript/RedHat/NetworkManagerDispatcher:
15927         * initscript/SUSE/networkmanager:
15928         CVS remove these in place of .in replacements
15929
15930         * configure.in:
15931         * initscript/Gentoo/NetworkManager.in:
15932         * initscript/RedHat/NetworkManager.in:
15933         * initscript/RedHat/NetworkManagerDispatcher.in:
15934         * initscript/SUSE/networkmanager.in:
15935         These scripts now are generated so they work still when
15936         NM is built using a bindir other than /usr/bin
15937
15938 2005-08-18  Dan Williams <dcbw@redhat.com>
15939
15940         * gnome/applet/main.c
15941                 - Revert previous change for --no-session since
15942                         --sm-disable does the same thing
15943
15944 2005-08-18  Dan Williams <dcbw@redhat.com>
15945
15946         * gnome/applet/applet-dbus-info.c
15947                 - (nmi_dbus_create_error_message): new function
15948                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15949                         functions.  Also don't check for both device _and_ network before
15950                         asking for a user's key, because we may not have gotten all our
15951                         networks back from NM quite yet (due to the dbus pending calls
15952                         coming in later).  Fixes a hang in NM/nm-applet.
15953
15954         * src/NetworkManagerDbus.c
15955                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15956                         slightly more sane manner, even though we are still broken for
15957                         certain other error conditions.
15958                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15959                         to the info-daemon too
15960
15961         * src/NetworkManagerDevice.c
15962                 - Fix some debug messages to be info messages instead
15963
15964 2005-08-18  Dan Williams <dcbw@redhat.com>
15965
15966         * gnome/applet/main.c
15967                 - Add new "--no-session" parameter that disables applet
15968                         session management, ie for testing
15969
15970 2005-08-18  Christopher Aillon <caillon@redhat.com>
15971
15972         * gnome/applet/other-network-dialog.c:
15973         * gnome/applet/wireless-applet.glade: More mnemonics
15974
15975 2005-08-17  Robert Love  <rml@novell.com>
15976
15977         * initscript/SUSE/networkmanager: update
15978
15979 2005-08-17  Dan Williams  <dcbw@redhat.com>
15980
15981         * Tag NM_0_4_1_RELEASE
15982
15983 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15984
15985         * gnome/applet/applet.c: More translatable string cleanup
15986
15987
15988 2005-08-17  Dan Williams  <dcbw@redhat.com>
15989
15990         * gnome/applet/applet-dbus-info.c
15991                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15992                         from the dbus message, which tells us to unconditionally
15993                         ask the user for a new key.  Otherwise, we pull the key from
15994                         the keyring and return it.  If we fail to get the key from the
15995                         keyring, we ask the user for a new key.
15996                 - (nmi_dbus_get_network_key): new function to grab the key for
15997                         an essid from the keyring.
15998                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15999                         Also, don't return any key in the dbus message.
16000
16001         * src/NetworkManagerDbus.[ch]
16002                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16003                         indicate that we unconditionally want a new key.  This function
16004                         is now also used to get keys from the info-daemon which are
16005                         pre-stored, not just for asking the user for a new key.  The
16006                         "new_key" parameter indicates whether or not we wish to ask the
16007                         user for a new key.
16008                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16009                         info-daemon in the return message, so use NULL instead.  The
16010                         key will be filled in at connect time by calling
16011                         nm_dbus_get_user_key_for_network()
16012
16013         * src/NetworkManagerDevice.c
16014                 - (nm_device_wireless_configure): update for "new_key" param to
16015                         nm_dbus_get_user_key_for_network().  We initially set new_key
16016                         to FALSE to see if we have a stored key in the info-daemon, but
16017                         if the connection is unsuccessful at this stage we request a
16018                         new one
16019
16020 2005-08-17  Dan Williams  <dcbw@redhat.com>
16021
16022         * gnome/applet/icons/nm-no-connection.png
16023           gnome/applet/icons/nm-device-wired.png
16024                 - Use Diana's new RJ45 connector icons
16025
16026 2005-08-17  Dan Williams  <dcbw@redhat.com>
16027
16028         * src/NetworkManagerPolicy.c
16029                 - (nm_policy_device_change_check): clarify switching rules if
16030                         both new and old devices are valid; mainly, don't switch
16031                         away from user-requested wireless connection back to a wired
16032                         one
16033
16034 2005-08-17  Dan Williams  <dcbw@redhat.com>
16035
16036         * gnome/applet/Makefile.am
16037                 - Relocate the applet to /usr/bin since it is no longer
16038                         executed by anything, but directly by the user
16039
16040 2005-08-17  Dan Williams  <dcbw@redhat.com>
16041
16042         Patch from Bill Moss <bmoss@clemson.edu>
16043
16044         * gnome/applet/applet-dbus-info.[ch]
16045                 - (nmi_save_network_info): save timestamp for network if it
16046                         was a change requested by the user
16047                 - (nmi_dbus_update_network_info): get user_requested from dbus
16048                         message and pass to nmi_save_network_info()
16049
16050         * gnome/applet/applet.c
16051                 - (nmwa_update_network_timestamp): remove
16052                 - (nmwa_menu_item_activate): don't set timestamp on networks
16053                         here, only after a successful connect in nmi_save_network_info()
16054
16055         * src/NetworkManagerDbus.[ch]
16056                 - (nm_dbus_update_network_info): pass user_requested into the 
16057                         dbus message
16058
16059         * src/NetworkManagerPolicy.c
16060                 - (nm_policy_activation_finish): pass user_requested to
16061                         nm_dbus_update_network_info()
16062
16063 2005-08-16  Robert Love  <rml@novell.com>
16064
16065         * gnome/applet/applet.c: Better "Dial Up" menu item.
16066
16067 2005-08-16  Robert Love  <rml@novell.com>
16068
16069         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16070           "Connection Information" menu item.
16071
16072 2005-08-16  Dan Williams  <dcbw@redhat.com>
16073
16074         Patch from j@bootlab.org
16075         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16076
16077         * configure.in: allow specifying the path to dhcdbd
16078
16079 2005-08-16  Robert Love  <rml@novell.com>
16080
16081         Patch from j@bootlab.org
16082         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16083           src/backends/interface_parser.h: Debian dialup support.
16084
16085 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16086
16087         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16088         * gnome/applet/applet.c: Add some mnemonics for VPNC
16089
16090         * vpn-daemons/.cvsignore: fix this up a little bit
16091
16092 2005-08-16  Robert Love  <rml@novell.com>
16093
16094         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16095           support.
16096
16097 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16098
16099         * gnome/applet/applet.c: Split markup out of translatable strings
16100         and clean up logic a little bit.  (fixes #309012)
16101
16102 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16103
16104         * gnome/vpn-properties/nm-vpn-properties.c:
16105         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16106         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16107         Makeshift fix to remove newlines from translatable strings.
16108         Note that we now return an allocated string, so callers of
16109         get_confirmation_details () must now call g_free () on the
16110         result. (fixes #309033).
16111
16112 2005-08-12  Robert Love  <rml@novell.com>
16113
16114         * gnome/applet/applet-dbus.c: remove newlines from translatable
16115           strings--not needed here anyway. (fix b.g.o #309011)
16116         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16117
16118 2005-08-11  Robert Love  <rml@novell.com>
16119
16120         * gnome/applet/applet.c: mark string as translatable.
16121
16122 2005-08-11  Robert Love  <rml@novell.com>
16123
16124         * initscript/SUSE/networkmanager: update.
16125
16126 2005-08-11  Dan Williams  <dcbw@redhat.com>
16127
16128         * src/nm-dhcp-manager.c
16129                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16130                         an gateway returned from DHCP, try to use the address of the DHCP
16131                         server as the gateway instead.  Found by Ralf Ertzinger.
16132
16133 2005-08-10  Robert Love  <rml@novell.com>
16134
16135         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16136           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16137
16138 2005-08-10  Dan Williams  <dcbw@redhat.com>
16139
16140         Patch from Bill Moss <bmoss@clemson.edu>
16141         * Consolidate writes of access point information updates to the info daemon
16142                 so that we only do it when the connection to the access point was
16143                 successful.  Also consolidates updates to GConf in the Gnome applet.
16144
16145         * src/nm-netlink-monitor.c
16146                 - Silence compile warning when calling g_object_new()
16147
16148 2005-08-08  Dan Williams  <dcbw@redhat.com>
16149
16150         Patch from Steev <steev@steev.net>:
16151         * src/backends/NetworkManagerGentoo.c
16152                 - Stub new dialup backend functions
16153
16154 2005-08-08  Dan Williams  <dcbw@redhat.com>
16155
16156         Patch from Colin Slater:
16157         * src/backends/NetworkManagerGentoo.c
16158                 - (nm_system_update_dns): Fix exit status check for restarting
16159                         nscd
16160
16161 2005-08-05  Robert Love  <rml@novell.com>
16162
16163         * NetworkManager.h,
16164           gnome/applet/applet-dbus-devices.c,
16165           gnome/applet/applet-dbus-devices.h,
16166           gnome/applet/applet-dbus.c,
16167           gnome/applet/applet.c,
16168           gnome/applet/applet.h,
16169           src/NetworkManager.c,
16170           src/NetworkManagerMain.h,
16171           src/NetworkManagerSystem.h,
16172           src/backends/NetworkManagerRedHat.c,
16173           src/backends/NetworkManagerSuSE.c,
16174           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16175
16176 2005-08-05  Robert Love  <rml@novell.com>
16177
16178         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16179           machine's hostname to make adhoc creation idiot-proof.
16180
16181 2005-08-04  Robert Love  <rml@novell.com>
16182
16183         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16184           freed.
16185
16186 2005-08-04  Dan Williams  <dcbw@redhat.com>
16187
16188         * gnome/applet/applet-dbus-info.c
16189           gnome/applet/applet-dbus-info.h
16190                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16191                         to store key, key type, and auth method rather than just auth method
16192                 - (nmi_dbus_update_network_info): new function
16193                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16194
16195         * gnome/applet/passphrase-dialog.c
16196                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16197                         of saving the info ourselves
16198
16199         * gnome/libnm_glib/libnm_glib.c
16200                 - Remove the stupid version check for dbus
16201
16202         * src/NetworkManagerAP.c
16203           src/NetworkManagerAP.h
16204                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16205
16206         * src/NetworkManagerDbus.c
16207           src/NetworkManagerDbus.h
16208                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16209                         more than just the auth method
16210
16211         * src/NetworkManagerDevice.c
16212                 - Update network info at the appropriate times
16213
16214 2005-07-29  Ray Strode  <rstrode@redhat.com>
16215
16216         * src/NetworkManager.c (nm_info_handler): don't use input as format
16217         string (Spotted by Ian Jackson).
16218
16219 2005-07-27  Dan Williams  <dcbw@redhat.com>
16220
16221         * src/nm-dbus-nm.c
16222           src/nm-dbus-net.c
16223                 - Random cleanups of spacing
16224
16225         * gnome/applet/applet.h
16226           gnome/applet/other-network-dialog.c
16227           gnome/applet/passphrase-dialog.c
16228                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16229
16230         Patch from Bill Moss:
16231                 - Make Other Wireless Networks work again with encryption keys
16232
16233 2005-07-26  Dan Williams  <dcbw@redhat.com>
16234
16235         Patch from Steev <steev@steev.net>:
16236         * src/backends/NetworkManagerGentoo.c
16237           src/backends/Makefile.am
16238                 - Fix up Gentoo backend
16239
16240 2005-07-26  Robert Love  <rml@novell.com>
16241
16242         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16243
16244 2005-07-25  Robert Love  <rml@novell.com>
16245
16246         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16247           in the same group as the wireless networks, since they are all
16248           mutually exclusive.
16249
16250 2005-07-24  Ray Strode  <rstrode@redhat.com>
16251
16252         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16253         remove unneeded NULL arg from g_object_new().  Any
16254         warnings caused by not having the extra NULL are just a
16255         result of a bug in glib 2.7.0 - 2.7.2.
16256
16257 2005-07-22  Robert Love  <rml@novell.com>
16258
16259         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16260
16261 2005-07-22  Robert Love  <rml@novell.com>
16262
16263         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16264           parameters (gcc 4.0.2 warning fix).
16265
16266 2005-07-18  Robert Love  <rml@novell.com>
16267
16268         Suggested by Aaron Bockover (abockover@novell.com)
16269         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16270           s/Ascii/ASCII
16271         * gnome/applet/passphrase-dialog.c: ditto
16272         * gnome/applet/wireless-applet.glade: ditto
16273
16274 2005-07-13  Dan Williams  <dcbw@redhat.com>
16275
16276         Patch from Ray Strode <halfline@gmail.com>
16277         * vpn-daemons/vpnc/nm-vpnc-service.c
16278                 - Don't let vpnc daemonize, fixes some races with PID file reading
16279
16280 2005-07-13  Dan Williams  <dcbw@redhat.com>
16281
16282         Patch from Ray Strode <halfline@gmail.com>
16283         * Random cleanups for strict CFLAGS
16284
16285 2005-07-07  Dan Williams  <dcbw@redhat.com>
16286
16287         Patch from Derek Atkins <warlord@MIT.EDU>
16288         * src/nm-dbus-net.c:
16289                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16290
16291 2005-07-07  Dan Williams  <dcbw@redhat.com>
16292
16293         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16294         * src/backends/NetworkManagerGentoo.c
16295                 - Gentoo backend Static IP nameserver fixes
16296                 - General Gentoo backend goodness
16297
16298 2005-07-07  Dan Williams  <dcbw@redhat.com>
16299
16300         Patch from Bastien Nocera:
16301         * gnome/applet/applet.c
16302                 - Fix up error reporting when icons or glade files are missing
16303
16304 2005-07-07  Robert Love  <rml@novell.com>
16305
16306         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16307           are not any VPN connections above it.
16308
16309 2005-07-07  Robert Love  <rml@novell.com>
16310
16311         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16312
16313 2005-07-05  Robert Love  <rml@novell.com>
16314
16315         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16316           zero.
16317
16318 2005-07-05  Robert Love  <rml@novell.com>
16319
16320         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16321           on wired or unencrypted wireless.
16322
16323 2005-07-01  Robert Love  <rml@novell.com>
16324
16325         * src/NetworkManagerSystem.c: Print the error via strerror().
16326
16327 2005-06-30  Robert Love  <rml@novell.com>
16328
16329         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16330           then exit if the glade file is not found.  currently the application
16331           just hangs.
16332
16333 2005-06-30  Robert Love  <rml@novell.com>
16334
16335         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16336           explicitly up all interfaces on wake from sleep.
16337
16338 2005-06-30  Robert Love  <rml@novell.com>
16339
16340         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16341           with information about the currently active connection.
16342         * gnome/applet/applet.h: (ditto)
16343         * gnome/applet/wireless-applet.glade: (ditto), new file
16344
16345 2005-06-30  Robert Love  <rml@novell.com>
16346
16347         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16348         * src/nm-dbus-nm.c: print when we sleep and wake up.
16349         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16350         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16351           in /sbin unless D-BUS is, folks).
16352         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16353
16354 2005-06-27  Robert Love  <rml@novell.com>
16355
16356         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16357           case.
16358
16359 2005-06-27  Robert Love  <rml@novell.com>
16360
16361         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16362           items radios.
16363
16364 2005-06-26  Robert Love  <rml@novell.com>
16365
16366         * src/NetworkManagerDevice.c: be specific about which device in
16367           nm_info() message.
16368
16369 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16370
16371         * src/nm-netlink-monitor.c: correct spelling error.
16372
16373 2005-06-23  Robert Love  <rml@novell.com>
16374
16375         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16376         * gnome/applet/passphrase-dialog.c: more of that keyring!
16377
16378 2005-06-23  Robert Love  <rml@novell.com>
16379
16380         * configure.in: remove extraneous GNOMEKEYRING directives.
16381         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16382         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16383         * gnome/applet/passphrase-dialog.c: whitespace.
16384
16385 2005-06-23  Robert Love  <rml@novell.com>
16386
16387         * src/NetworkManagerDevice.c: division in assignment was flipped.
16388
16389 2005-06-23  David Zeuthen  <david@fubar.dk>
16390
16391         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16392         signal to the child to indicate that we got what we wanted when we
16393         see two new-lines right after each other.
16394         (nmwa_vpn_request_password): Pass a structure with several members
16395         instead of just the passwords
16396
16397 2005-06-23  Dan Williams <dcbw@redhat.com>
16398
16399         * src/NetworkManager.c
16400           src/NetworkManagerMain.h
16401                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16402                 - (nm_hal_init): new function, init libhal context then add devices
16403                 - (nm_hal_deinit): new function, clean up libhal context
16404                 - (nm_data_free): Move Hal cleanup here
16405                 - (main): check whether Hal is running, and if so, get a list of
16406                         network devices from it
16407
16408         * src/NetworkManagerDbus.c
16409                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16410                         and when it appears, get a list of network devices from it.  If
16411                         Hal goes away, clean up the libhal context
16412
16413 2005-06-22  Robert Love  <rml@novell.com>
16414
16415         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16416           permissions of scripts before executing.
16417
16418 2005-06-21  Robert Love  <rml@novell.com>
16419
16420         * initscript/SUSE/networkmanager: update.
16421         * src/backends/NetworkManagerSuSE.c: cleanup.
16422
16423 2005-06-21  Robert Love <rml@novell.com>
16424
16425         * gnome/applet/applet.c: use menu mnemonics.
16426         * gnome/applet/menu-items.c: (ditto)
16427
16428 2005-06-21  Robert Love  <rml@novell.com>
16429
16430         * applet/applet-dbus-devices.c: mark non-static functions static.
16431         * applet/applet-dbus-vpn.c: (ditto)
16432         * applet/applet.c: (ditto)
16433         * applet/nm-device.h: (ditto)
16434         * applet/other-network-dialog.c: (ditto)
16435         * applet/passphrase-dialog.c: (ditto)
16436         * NetworkManager.c: (ditto)
16437         * NetworkManagerDbus.c: (ditto)
16438         * NetworkManagerDevice.c: (ditto)
16439         * NetworkManagerPolicy.c: (ditto)
16440         * NetworkManagerUtils.c: (ditto)
16441         * NetworkManagerWireless.c: (ditto)
16442         * NetworkManagerWireless.h: (ditto)
16443         * nm-netlink-monitor.c: (ditto)
16444         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16445         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16446         * autoip.c: include autoip.h.
16447         * autoip.h: new file.  define get_autoip().
16448         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16449         * NetworkManagerDbus.h: remove duplicate definitions.
16450
16451 2005-06-20  Robert Love  <rml@novell.com>
16452
16453         * Makefile.am: Add missing intltool-foo.in generated files to
16454           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16455           with the start of stuff to cleanup on 'distclea'.
16456         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16457           stuff right and 'distcheck' works.
16458         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16459           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16460           Makefile.am for each.  And systray/Makefile needs to be redone.
16461
16462 2005-06-19  Dan Williams <dcbw@redhat.com>
16463
16464         * src/NetworkManagerDevice.c
16465         - (nm_device_wireless_process_scan_results): scan every 20s when
16466           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16467
16468 2005-06-19  Dan Williams <dcbw@redhat.com>
16469
16470         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16471
16472 2005-06-18  Ray Strode <rstrode@redhat.com>
16473
16474         * src/nm-netlink-monitor.c 
16475         (nm_netlink_monitor_event_handler): check for the presence
16476         of either error condition not both. 
16477         
16478         (nm_netlink_monitor_error_handler): emit error signal if
16479         error occurs.
16480
16481         (nm_netlink_monitor_event_handler),
16482         (nm_netlink_monitor_error_handler),
16483         (nm_netlink_monitor_disconnect_handler): if an 
16484         assertion fails disconnect the event handler to prevent 
16485         infinite loops.
16486
16487         * src/nm-netlink-monitor.h: add new error condition
16488         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16489
16490 2005-06-18  Ray Strode <rstrode@redhat.com>
16491
16492         * src/nm-netlink-monitor.c 
16493         (nm_netlink_monitor_event_handler): remove bogus < 0
16494         check on unsigned value and return early if the kernel
16495         didn't send any bytes.
16496
16497 2005-06-17  Robert Love  <rml@novell.com>
16498
16499         * initscript/SUSE/networkmanager: Change the Provides and default
16500         run levels
16501
16502 2005-06-16  Dan Williams <dcbw@redhat.com>
16503
16504         Patch from Robert Love:
16505         * gnome/applet/applet.c
16506                 - Beautify some applet menu item names
16507
16508 2005-06-17  David Zeuthen  <davidz@redhat.com>
16509
16510         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16511         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16512         Also add new methods can_export, import_file and export.
16513
16514         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16515         to the main UI
16516
16517         * gnome/vpn-properties/nm-vpn-properties.c:
16518         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16519         nm-vpn-ui-interface.h.
16520         (update_edit_del_sensitivity): Also update "Export" sensitivity
16521         (add_vpn_connection): Also add new SVC_NAME column
16522         (import_settings): New function
16523         (retrieve_data_from_selected_connection): New function
16524         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16525         this function
16526         (export_cb): New function
16527         (init_app): Also setup the "export" widget
16528         (main): Support the --import-service and --import-file commandline
16529         arguments
16530
16531         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16532         D-BUS 0.34
16533
16534 2005-06-16  Dan Williams <dcbw@redhat.com>
16535
16536         Patch from Robert Love:
16537         * gnome/applet/menu-items.c
16538                 - (network_menu_item_new): pass -1 as wireless network
16539                         menu items height size request rather than ascent / 2
16540
16541 2005-06-16  Dan Williams <dcbw@redhat.com>
16542
16543         * Clean up wording in Wireless Scan Methods menu items and constants
16544
16545 2005-06-16  Robert Love  <rml@novell.com>
16546
16547         * po/POTFILES.in
16548                 - remove gtkcell* files
16549
16550 2005-06-15  Dan Williams <dcbw@redhat.com>
16551
16552         Patch from Robert Love: make the applet stetic
16553
16554         * gnome/applet/Makefile.am
16555                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16556
16557         * gnome/applet/gtkcellview.h
16558           gnome/applet/gtkcellview.c
16559           gnome/applet/gtkcellrendererprogress.h
16560           gnome/applet/gtkcellrendererprogress.c
16561                 - Removed
16562
16563         * gnome/applet/menu-items.c
16564                 - Progress bars are 5:1 size ratio
16565                 - Use GTK progress bars rather than internal ones
16566
16567 2005-06-15  Dan Williams <dcbw@redhat.com>
16568
16569         Patch from Robert Love:
16570         * initscript/SUSE/networkmanager
16571                 - Fix typo
16572
16573 2005-06-15  Dan Williams <dcbw@redhat.com>
16574
16575         * src/backends/NetworkManagerSuSE.c
16576           src/backends/NetworkManagerRedHat.c
16577           src/backends/NetworkManagerDebian.c
16578                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16579
16580 2005-06-15  Dan Williams <dcbw@redhat.com>
16581
16582         * src/backends/NetworkManagerDebian.c
16583                 - Add nm_system_device_get_use_dhcp() to debian backend
16584
16585         Patch from Kay Sievers:
16586         * src/backends/NetworkManagerSuSE.c
16587                 - Update debian backend for static IP nameservers
16588
16589         * src/NetworkManagerDevice.c
16590                 - Actually set the device to use static IP or DHCP rather
16591                         than always DHCP
16592
16593 2005-06-15  Dan Williams <dcbw@redhat.com>
16594
16595         Patch from Thom May:
16596         * src/backends/NetworkManagerDebian.c
16597                 - Update debian backend for static IP nameservers
16598
16599 2005-06-15  Dan Williams <dcbw@redhat.com>
16600
16601         Patches from Robert Love:
16602         * gnome/applet/wireless-applet.glade
16603                 - Tighten up wording
16604
16605         * src/NetworkManagerDevice.c
16606                 - Remove misplaced ';'
16607
16608         * configure.in
16609           initscript/Makefile.am
16610           initscript/SUSE/Makefile.am
16611           initscript/SUSE/networkmanager
16612                 - Add SUSE initscript
16613
16614 2005-06-12  David Zeuthen  <davidz@redhat.com>
16615
16616         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16617
16618         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16619
16620         * gnome/vpn-properties/nm-vpn-properties.c: New file
16621
16622         * gnome/vpn-properties/Makefile.am: New file
16623
16624         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16625         array of passwords
16626
16627         * src/vpn-manager/nm-vpn-manager.c
16628         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16629         instead of just a single one
16630
16631         * src/vpn-manager/nm-dbus-vpn.c:
16632         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16633         here
16634         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16635
16636         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16637         Change the interface here to give a list of passwords. Also, don't
16638         require username, but do require service
16639
16640         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16641         the binary for the auth-dialog and use that instead of putting up a
16642         dialog asking for a single password
16643
16644         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16645         however do remember the service
16646
16647         * gnome/applet/main.c (main): Setup i18n
16648
16649         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16650         connection to '%s'" to the tooltip if we are connected using VPN
16651         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16652         key to determine whether we the auth-dialog needs to
16653         reprompt. Also cope with the fact that the auth-dialog now returns
16654         an array of passwords.
16655         (nmwa_menu_configure_vpn_item_activate): New handler for
16656         "Configure VPN..." menu item
16657         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16658         (is_vpn_available): New function to determine if we got any
16659         NM-compatible VPN software installed
16660         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16661         items only if we have NM-compatible VPN software installed
16662         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16663         logic for detecting when VPN connections are removed
16664
16665         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16666         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16667         since these are defined elsewhere
16668
16669         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16670         function used to keep track of whether the last attempt succeded
16671         (nmwa_dbus_filter): Update last_attempt according to whether the
16672         VPN connection could be established or not
16673
16674         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16675         Change prototype to take an array of passwords, not just a single
16676         password
16677
16678         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16679         update service, not user
16680         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16681         dbus_active_vpn_name is not NULL before using it
16682         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16683         string array instead of assuming a single password
16684
16685         * gnome/applet/applet-dbus-info.c:
16686         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16687         user name; don't read from gconf
16688
16689         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16690         VPN_NAME_FILES_DIR
16691
16692         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16693
16694         * configure.in: Add checks for gmodule-2.0.
16695         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16696         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16697         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16698         for details
16699
16700         * vpn-daemons/Makefile.am: Removed
16701
16702         * vpn-daemons/README: New file to describe extensions points for VPN
16703         software
16704
16705 2005-06-10  Dan Williams <dcbw@redhat.com>
16706
16707         * src/backends/NetworkManagerRedHat.c
16708                 - (get_current_profile_name): new function, grab current network profile name from
16709                         /etc/sysconfig/network
16710                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16711                         update an IP4 Config structure's settings from it
16712                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16713                         get DNS info from current network profile
16714
16715 2005-06-09  Dan Williams <dcbw@redhat.com>
16716
16717         Patch from Robert Love:
16718         * src/NetworkManagerDevice.c
16719           src/NetworkManagerUtils.c
16720                 - 64-bit build fixes
16721
16722 2005-06-09  Dan Williams <dcbw@redhat.com>
16723
16724         Patch from Kay Sievers and Robert Love:
16725         * configure.in
16726           src/backends/Makefile.am
16727           src/backends/NetworkManagerSuSE.c
16728                 - Add SuSE support
16729
16730 2005-06-09  Dan Williams <dcbw@redhat.com>
16731
16732         * NetworkManager.h
16733                 - Add NMWirelessScanMethod enum for scan methods
16734
16735         * gnome/applet/applet-dbus-devices.c
16736                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16737                 - (nmwa_dbus_update_scanning_enabled): remove
16738                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16739                         since it got removed
16740                 - (nmwa_dbus_enable_scanning): remove
16741
16742         * gnome/applet/applet-dbus-info.c
16743                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16744                         update the wireless scanning method from NMI
16745                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16746                         method value to NetworkManager
16747                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16748
16749         * gnome/applet/applet-dbus-info.h
16750                 - Add prototype for nmi_dbus_signal_update_scan_method
16751
16752         * gnome/applet/applet.c
16753                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16754                         Wireless Scanning menu based on current wireless scan method
16755                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16756                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16757                         and update our menu items to make sure the right one is checked
16758                 - (nmwa_set_scanning_enabled_cb): remove
16759                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16760                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16761                         Scanning menu item
16762                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16763                         from GConf
16764                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16765                         so we get notified of preference values too
16766                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16767
16768         * gnome/applet/applet.h
16769                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16770                 - Add wireless scan method member to applet data
16771                 - Remove pause_scanning_item, add Wireless Scanning submenu
16772
16773         * src/NetworkManager.c
16774                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16775                 - (main): grab scanning method from NMI if we can
16776
16777         * src/NetworkManagerDbus.c
16778                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16779                         nm_dbus_update_wireless_scan_method()
16780                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16781                         from NMI
16782                 - (nm_dbus_nmi_is_running): redundant function, removed
16783                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16784                         when NMI comes back
16785
16786         * src/NetworkManagerDevice.c
16787                 - (nm_device_is_activated): return TRUE if the device is activated
16788                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16789                         and we are activated
16790
16791         * src/nm-dbus-nm.c
16792                 - (nm_dbus_nm_set_scanning_enabled): removed
16793                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16794                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16795
16796 2005-06-09  Dan Williams <dcbw@redhat.com>
16797
16798         * NetworkManager.h
16799           src/vpn-manager/nm-vpn-service.c
16800                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16801
16802 2005-05-27  Dan Williams <dcbw@redhat.com>
16803
16804         * vpn-daemons/vpnc/nm-vpnc-service.c
16805                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16806                         Should fix the bug where the VPN connection terminates the first time.
16807
16808 2005-05-20  Dan Williams <dcbw@redhat.com>
16809
16810         * NetworkManager.h
16811                 - Differentiate VPN config signals between bad VPN config options
16812                         and bad IP config
16813
16814         * gnome/applet/applet-dbus-info.h
16815                 - Add prototypes for wireless network and vpn connection update functions
16816
16817         * gnome/applet/applet-dbus.c
16818                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16819
16820         * gnome/applet/applet.c
16821                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16822                         error signals
16823                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16824                         propogation to NetworkManager
16825                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16826                         notify propogation to NetworkManager
16827
16828         * src/NetworkManagerDbus.c
16829                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16830                         are updating so a network can be removed from it if necessary
16831
16832         * src/vpn-manager/nm-vpn-manager.c
16833                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16834
16835         * vpn-daemons/vpnc/nm-vpnc-service.c
16836                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16837                 - (nm_vpnc_dbus_signal_launch_failed): remove
16838                 - (nm_vpnc_dbus_signal_connect_failed): remove
16839                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16840                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16841                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16842                         for new generalized error signal function, remove config file stuff
16843                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16844                         we can write configuration options to it
16845                 - (nm_vpnc_config_file_generate): removed
16846                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16847                 - (nm_vpnc_config_options_validate): validate the config options we receive
16848                         from NetworkManager to block potential exploits
16849                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16850                         starting vpnc
16851                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16852                         to NetworkManager
16853
16854 2005-05-16  Dan Williams  <dcbw@redhat.com>
16855
16856         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16857                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16858                         is not "connect"
16859
16860 2005-05-16  Dan Williams  <dcbw@redhat.com>
16861
16862         Patch from Tomislav Vujec <tvujec@redhat.com>
16863         * gnome/applet/applet-dbus-info.c
16864                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16865                         GConf and pass them to NetworkManager.  New key is 'routes' under
16866                         the VPN connection, and should be a string list
16867
16868         * src/NetworkManagerSystem.c
16869                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16870                         set them on the device when we set the rest of the VPN config.  Ensure
16871                         they are in the correct format since they are passed directly to the
16872                         command line.
16873
16874         * src/backends/NetworkManagerRedHat.c
16875           src/backends/NetworkManagerDebian.c
16876                 - (nm_system_device_add_route_via_device_with_iface): new function
16877
16878         * src/vpn-manager/nm-dbus-vpn.c
16879                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16880
16881         * src/vpn-manager/nm-vpn-manager.c
16882                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16883                         them into the IP4 config functions
16884
16885 2005-05-15  Dan Williams  <dcbw@redhat.com>
16886
16887         From Filip Miletic:
16888         * po/sr.po
16889           po/sr@Latn.po
16890           configure.in
16891                 - Serbian translation added
16892
16893 2005-05-15  Dan Williams  <dcbw@redhat.com>
16894
16895         * dispatcher-daemon/NetworkManagerDispatcher.c
16896                 - (main): sync arguments with NetworkManager and the applet, now use
16897                         "--no-daemon" rather than "daemon=no"
16898                 - (nmd_print_usage): Fix script path in usage message
16899
16900 2005-05-15  Dan Williams  <dcbw@redhat.com>
16901
16902         * src/NetworkManagerDevice.[ch]
16903           src/NetworkManagerPolicy.c
16904           src/NetworkManager.c
16905           src/nm-dbus-nm.c
16906                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16907                         longer send the DeviceNoLongerActive signal unconditionally, but only
16908                         when the device is actually active.
16909
16910         * dispatcher-daemon/NetworkManagerDispatcher.c
16911                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16912                         and simplify the logic
16913                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16914                         we free it later on
16915
16916         * initscript/RedHat/Makefile.am
16917           initscript/RedHat/NetworkManagerDispatcher
16918                 - Add initscript for NetworkManagerDispatcher
16919
16920
16921         Patch from Bill Moss:
16922         * dispatcher-daemon/NetworkManagerDispatcher.c
16923                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16924
16925         * src/NetworkManagerDbus.c
16926                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16927                         and DeviceNowActive gets signaled, then the device has a new IP address
16928                         anyway.  There's no need for a separate signal.
16929
16930         * src/NetworkManagerDevice.c
16931                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16932
16933         * src/NetworkManagerPolicy.c
16934                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16935                         activates successfully.  This kind of went missing when I reworked the
16936                         activation code.
16937
16938 2005-05-15  Dan Williams  <dcbw@redhat.com>
16939
16940         * configure.in
16941                 - Check for dhcdbd and error if its not found
16942
16943         * src/dhcp-manager/Makefile.am
16944           src/dhcp-manager/nm-dhcp-manager.c
16945                 - Use path to dhcdbd that configure found
16946
16947 2005-05-14  Dan Williams  <dcbw@redhat.com>
16948
16949         * gnome/applet/nm-device.c
16950                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16951                         sort wireless networks alphabetically
16952
16953         * gnome/applet/applet-dbus-devices.c
16954                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16955                         before copying them over to the GUI
16956
16957 2005-05-14  Dan Williams  <dcbw@redhat.com>
16958
16959         * src/NetworkManager.c
16960                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16961                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16962                         the device list, as does nm_get_active_device() which is called from
16963                         nm_vpn_manager_deactivate_vpn_connection().
16964
16965 2005-05-14  Dan Williams  <dcbw@redhat.com>
16966
16967         * NetworkManager.h
16968                 - Add signals for VPN Launch and Connect failures
16969
16970         * gnome/applet/applet-dbus.c
16971                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16972
16973         * gnome/applet/applet.c
16974                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16975                         function to handle all VPN failure messages
16976                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16977                         function to hanlde all VPN failure  messages
16978                 - (show_warning_dialog): work around focus-stealing prevention
16979
16980         * gnome/applet/other-network-dialog.c
16981           gnome/applet/passphrase-dialog.c
16982                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16983                         problem where it never enabled for ASCII Key and Hex Key types
16984
16985         * gnome/applet/wireless-applet.glade
16986                 - Add window title to Other Wireless Network Dialog
16987
16988         * src/vpn-manager/nm-dbus-vpn.c
16989                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16990                         function to handle all VPN failure messages
16991
16992         * src/vpn-manager/nm-vpn-manager.c
16993                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16994
16995         * vpn-daemons/vpnc/nm-vpnc-service.c
16996                 - (nm_vpnc_dbus_signal_launch_failed): new function
16997                 - (nm_vpnc_dbus_signal_connect_failed): new function
16998                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16999                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17000                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17001                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17002
17003 2005-05-11  Dan Williams  <dcbw@redhat.com>
17004
17005         * vpn-daemons/vpnc/nm-vpnc-service.c
17006                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17007                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17008                         file exists before trying to write it out.
17009
17010 2005-05-10  Dan Williams  <dcbw@redhat.com>
17011
17012     * gnome/applet/applet-dbus-device.c
17013         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17014             prevented just entering ESSID and leaving key and key type up to
17015             NetworkManager (which should have them already cached)
17016
17017 2005-05-08  Dan Williams  <dcbw@redhat.com>
17018
17019         * src/NetworkManagerPolicy.c
17020                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17021                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17022                         fix a situation where NM is told to terminate and the device stops activation,
17023                         but the main thread isn't aware of that because it would never have run
17024                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17025                         had already quit.
17026
17027         * src/NetworkManagerDevice.c
17028                 - (nm_device_probe_wired_link_state): cosmetic fixes
17029                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17030                         we've failed to activate or been canceled.
17031                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17032
17033 2005-05-08  Dan Williams  <dcbw@redhat.com>
17034
17035         * src/NetworkManagerWireless.c
17036                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17037                         value of WEXT quality structures, and add a debug message when we cannot
17038                         determine any quality % at all
17039
17040 2005-05-08  Dan Williams  <dcbw@redhat.com>
17041
17042         * src/dhcp-manager/nm-dhcp-manager.c
17043                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17044                         it goes down.
17045
17046 2005-05-06  Dan Williams  <dcbw@redhat.com>
17047
17048         * gnome/applet/applet-dbus-device.c
17049           gnome/applet/applet-dbus-info.c
17050           gnome/applet/applet-dbus.c
17051           gnome/applet/applet.c
17052           gnome/applet/applet.h
17053                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17054
17055         * gnome/applet/applet-dbus.c
17056                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17057                         so we notice when wired device's carriers come back on.  Should
17058                         fix issue with wired devices being grayed out even if the cable
17059                         is in, for devices that support carrier detection.
17060
17061         * gnome/applet/applet.c
17062                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17063                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17064                         tooltip message
17065                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17066                         Fix situation where applet wouldn't respond to menu selections
17067
17068         * src/NetworkManager.c
17069           src/NetworkManagerDevice.c
17070           src/NetworkManagerDbus.c
17071           src/NetworkManagerDbus.h
17072                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17073
17074         * src/NetworkManagerDbus.c
17075                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17076                         Remove, no longer used or relevant
17077                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17078                 - (nm_dbus_schedule_device_status_change_signal): add
17079
17080         * src/NetworkManagerDevice.c
17081                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17082                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17083                         ie don't deactivate them unless explicitly told to by the user.  Also send
17084                         CARRIER_OFF / CARRIER_ON signals when link changes
17085                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17086                         Don't print error message when device is no longer around
17087                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17088                         not just during activation
17089
17090         * src/NetworkManagerPolicy.c
17091                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17092                         auto-device-selection.
17093                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17094
17095         * src/NetworkManagerSystem.c
17096                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17097                         is no longer present (Bill Moss)
17098
17099         * src/backends/shvar.c
17100                 - (svOpenFile): Open read-only to make SELinux happy
17101
17102         * src/backends/NetworkManagerRedHat.c
17103                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17104                         the path to the ifcfg-* files
17105
17106 2005-05-05  Dan Williams  <dcbw@redhat.com>
17107
17108         * Expose activation stages to NetworkManager clients, like the applet
17109         * Add Diana's progress icons to the applet, cued off NM activation stage
17110         * Use more descriptive tooltips, cued off NM activation stage
17111
17112 2005-05-05  Ray Strode  <rstrode@redhat.com>
17113
17114         * src/nm-netlink-monitor.c:
17115                 - Use clear_event_source instead of g_nullify_pointer() again.
17116
17117 2005-05-05  Dan Williams  <dcbw@redhat.com>
17118
17119         * gnome/applet/main.c
17120                 - Fix session management so the applet is actually managed now
17121
17122         * gnome/applet/passphrase-dialog.c
17123                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17124
17125 2005-05-05  Dan Williams  <dcbw@redhat.com>
17126
17127         Patch from Bill Moss:
17128         * gnome/libnm_glib/libnm_glib.c
17129                 - Fix for dbus-0.33
17130
17131 2005-05-05  Dan Williams  <dcbw@redhat.com>
17132
17133         Suggestion from Bill Moss:
17134         * src/NetworkManagerSystem.c
17135                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17136
17137
17138         * src/NetworkManager.c
17139                 - (nm_data_free): move destruction of the various managers after
17140                         release of device list, because deactivating and freeing a device
17141                         requires at least the named manager
17142                 - (nm_poll_and_update_wireless_link_state):
17143                   (nm_device_link_activated):
17144                   (nm_device_link_deactivated):
17145                         don't grab the device list lock when actually updating device
17146                         link status or strength, since nm_device_set_link_active()
17147                         needs to call nm_get_active_device(), which also locks the device list.
17148
17149         * src/NetworkManagerDevice.c
17150                 - (nm_device_set_link_active): if a device's link switches from off->on,
17151                         and it's wired, and the active device is wireless (or there is no
17152                         active device), activate the new device whose link just came on
17153                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17154                         my only calling the link to the current ap "failed" when more than 2
17155                         consecutive link checks have failed
17156
17157 2005-05-04  Dan Williams  <dcbw@redhat.com>
17158
17159         * src/NetworkManagerDevice.c
17160                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17161                         but let link_to_specific_ap() do the locking where it needs
17162
17163         Patch from Bill Moss:
17164         * src/NetworkManagerSystem.c
17165                 - Set MTU of VPN devices to 1412
17166
17167 2005-05-04  Dan Williams  <dcbw@redhat.com>
17168
17169         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17170
17171         * Fix some holes in device activation and retaining the currently connected
17172                 access point
17173
17174 2005-05-03  Dan Williams  <dcbw@redhat.com>
17175
17176         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17177           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17178           means you need dhcdbd, which you can get here (get the latest one):
17179
17180                 http://people.redhat.com/jvdias/dhcdbd/
17181
17182           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17183           interface as dhcdbd.
17184
17185         * Rewrite device activation to facilitate the new DHCP infrastructure and
17186           future improvements.  Its now "activation request" based, ie there is a single
17187           activation request composed of the device, access point, and other info which
17188           follows the entire activation process.  There are 5 stages of the activation
17189           process which correspond to:
17190
17191                 1) Device preparation
17192                 2) Device configuration (bring it up, set ESSID/Key/etc)
17193                 3) IP Config Start (fire off DHCP if we're using it)
17194                 4) IP Config Get (grab config from DHCP or static config files)
17195                 5) IP Config Commit (set device's IP address, DNS, etc)
17196
17197           Note that there is no longer a "scanning" step, since the access point must
17198           be known _before_ activation starts.  If the access point drops out or does
17199           not exist for some reason, the entire activation process fails and must be
17200           restarted for a different access point or device.
17201
17202         Patch from Bill Moss:
17203         * gnome/applet/applet.c
17204                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17205
17206 2005-04-27  Dan Williams  <dcbw@redhat.com>
17207
17208         * gnome/applet/applet-dbus-vpn.c
17209           gnome/applet/applet.c
17210           gnome/applet/applet.h
17211                 - Fix up active VPN handling so that we reliably know when a VPN
17212                         connection has been deactivated
17213
17214         * src/vpn-manager/nm-vpn-manager.c
17215                 - Remove duplicate VPNConnectionChange signal
17216
17217 2005-04-27  Dan Williams  <dcbw@redhat.com>
17218
17219         Patch from Peter Jones:
17220         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17221
17222         Patch from Bill Moss:
17223         * src/NetworkManagerSystem.c
17224                 - Fix checking of return value from ioctl()
17225
17226 2005-04-27  Dan Williams  <dcbw@redhat.com>
17227
17228         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17229         * Warn and exit if icons cannot be found
17230
17231 2005-04-27  Dan Williams  <dcbw@redhat.com>
17232
17233         Patch from Tom Parker:
17234         * Update debian backend
17235
17236 2005-04-27  Dan Williams  <dcbw@redhat.com>
17237
17238         * Merge the applet and the info-daemon, and move the converged
17239                 applet under gnome/applet
17240         * Move libnm_glib to gnome/libnm_glib
17241         * Convert most dbus calls between the applet, info-daemon, and NM
17242                 into async calls
17243         * Fix a few things valgrind noticed
17244         * Make NM broadcast state more reliably
17245
17246 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17247
17248         * configure.in: Added ne in ALL_LINGUAS
17249
17250 2005-04-15  Dan Williams  <dcbw@redhat.com>
17251
17252         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17253                 code for dbus 0.2x versions
17254
17255 2005-04-15  Dan Williams  <dcbw@redhat.com>
17256
17257         Patches from Tom Parker:
17258         - Fix memleaks
17259         - Join with worker thread rather than polling for its exit
17260
17261         Patch from Bill Moss:
17262         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17263
17264 2005-04-15  Dan Williams  <dcbw@redhat.com>
17265
17266         - Fixes to pass 'make distcheck'
17267
17268 2005-04-15  Dan Williams  <dcbw@redhat.com>
17269
17270         Initial VPN Support
17271                 - supports 'vpnc'
17272                 - reworks device IP configuration, backend files have changed and will need
17273                         to be updated for all distributions.  I will try to do what I can for
17274                         them, but I cannot test them.
17275
17276         - Move named directory to src/named-manager
17277         - Make backends directory self-contained
17278
17279 2005-04-06  Dan Williams  <dcbw@redhat.com>
17280
17281         Add debug code for socket/file descriptor leaks.  We register every socket
17282         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17283         list of sockets that we forgot to close on shutdown.  This also consolidates
17284         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17285
17286 2005-04-06  Dan Williams  <dcbw@redhat.com>
17287
17288         * dhcpcd/dhcpcd.c
17289                 - (dhcp_interface_free): fix a file descriptor leak that may have
17290                         caused network drivers to not unload due to refcounts > 0
17291
17292 2005-04-04  Dan Williams  <dcbw@redhat.com>
17293
17294         * panel-applet/NMWirelessAppletDbus.c
17295                 - (nmwa_dbus_call_nm_method): remove some commented code
17296
17297         * src/NetworkManagerAPList.[ch]
17298                 - (nm_ap_list_remove_ap_by_essid): new function
17299
17300         * src/NetworkManagerDevice.c
17301                 - (nm_device_wireless_force_use): remove access points from the ignore list
17302                         when the user forces them
17303
17304         * src/nm-dbus-device.c
17305                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17306
17307 2005-04-04  Dan Williams  <dcbw@redhat.com>
17308
17309         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17310
17311 2005-04-04  Dan Williams  <dcbw@redhat.com>
17312
17313         * src/NetworkManagerDevice.c:
17314                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17315                         of only erroring after the second consecutive scan times out.  Also
17316                         don't exit when the card requires more time than we can give it, just
17317                         log the event and continue.
17318
17319 2005-04-01  Steve Murphy  <murf@e-tools.com>
17320
17321         * configure.in: Added "rw" to ALL_LINGUAS.
17322
17323 2005-04-01  Dan Williams <dcbw@redhat.com>
17324
17325         Perform scans during device activation, if needed.  Both activation 
17326         and scans run in the same GMainContext.  Therefore, if an access point
17327         is not found by the time the device starts activation, it will not
17328         be available until after activation.  We now try to scan during
17329         activation (in nm_wa_test) every 15s so that all available access
17330         points are more likely to be found and available for the activation
17331         procedure.
17332
17333         Also change nm_wireless_link_state_handle() to only update the "best"
17334         AP if we are not forcing a device and if we are not about to change
17335         state.  This attempts to work around a race when forcing a device,
17336         where the forced AP would get cleared out too soon by the link state
17337         checking timeout in the main thread, and the activation attempt with
17338         that AP would fail.
17339
17340 2005-04-01  Dan Williams <dcbw@redhat.com>
17341
17342         * po/POTFILES.in
17343                 - Update with new translatables
17344
17345 2005-03-31  Dan Williams <dcbw@redhat.com>
17346
17347         * panel-applet/NMWirelessAppletDbus.c
17348                 - Fix device names now that hal has changed device parenting for
17349                         network devices.
17350
17351 2005-03-31  Dan Williams <dcbw@redhat.com>
17352
17353         Tighten up handling of wireless devices that don't support wireless
17354         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17355         hadn't been doing pseudo-scanning for a while either and would just
17356         spin waiting for an access point.  They are now manual devices where
17357         the user must choose the access point from the menu every time.  All
17358         "allowed" access points are listed in the applet's menu regardless
17359         of whether or not they can be seen by the card, since it can't scan
17360         anyway.
17361
17362         * src/NetworkManager.c
17363                 - (nm_wireless_link_state_handle): new function, but only update
17364                         the "best" ap for non-scanning devices when its not activating,
17365                         and when no device is being forced on the card
17366                 - (nm_link_state_monitor): split wireless link state handling out
17367                         into separate function
17368
17369         * src/NetworkManagerDevice.c
17370                 - (nm_device_copy_allowed_to_dev_list): new function
17371                 - (nm_device_new): populate non-scanning cards' AP lists with
17372                         access points from the "allowed" list
17373                 - (nm_device_new): don't start a scanning timeout for devices that
17374                         can't scan
17375                 - (nm_device_activation_schedule_finish): new parameter, should be
17376                         the AP that failed to be connected to, pass it on to the
17377                         activation finish function in NetworkManagerPolicy.c
17378                 - (nm_device_activate_wireless): don't ever try to get a new AP
17379                         for non-scanning devices, just fail.  The user must choose
17380                         a new access point manually.
17381                 - (nm_device_activate): grab the AP that failed connection and
17382                         pass it on
17383                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17384                         a link to it, user must manually choose a new one
17385                 - (nm_device_do_pseudo_scan): remove function
17386                 - (nm_device_wireless_process_scan_results): remove bits for non-
17387                         scanning cards since they never get here
17388                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17389                         and fake the scan list for test devices a bit earlier
17390
17391         * src/NetworkManagerPolicy.c
17392                 - (nm_policy_activation_finish): use the failed_ap that we get
17393                         passed rather than getting the best_ap from the card, which
17394                         may have changed since we were scheduled
17395                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17396                         update their scan list directly from the allowed list when
17397                         we get updates to the allowed list from NetworkManagerInfo
17398
17399         * src/NetworkManagerPolicy.h
17400                 - New member for failed access point in NMActivationResult
17401
17402   -------------------------------------
17403
17404         Driver Notification patch: notifies the user when their driver
17405                 sucks.  Gives them the option to ignore further insertions
17406                 of the card that has the sucky driver.
17407
17408         * NetworkManager.h
17409                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17410                         enum and replace it with NO_CARRIER_DETECT and
17411                         NO_WIRELESS_SCAN
17412
17413         * panel-applet/NMWirelessApplet.[ch]
17414                 - Merge essid.glade -> wireless-applet.glade
17415                 - Implement the "Your driver sucks" notification dialog
17416
17417         * panel-applet/NMWirelessAppletDbus.c
17418                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17419                 - Grab hardware address for each device from NM too
17420                 - Check whether the driver for each device sucks or not whenever
17421                         a new device is noticed
17422
17423         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17424                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17425
17426         * src/NetworkManager.c
17427                 - Fix a double-unref on device removal
17428
17429         * src/NetworkManagerUtils.c
17430                 - Set appropriate driver support level on a device that doesn't
17431                         support scanning or carrier detection
17432
17433         * src/nm-dbus-device.c
17434                 - New "getHWAddress" dbus method on devices
17435                 - getSupportsCarrierDetect -> getDriverSupportLevel
17436
17437 2005-03-31  Dan Williams <dcbw@redhat.com>
17438
17439         * src/NetworkManagerDevice.c
17440                 - (nm_device_wireless_scan): Fix leak of scan results in some
17441                         instances
17442
17443 2005-03-29  Dan Williams <dcbw@redhat.com>
17444
17445         * src/NetworkManager.c
17446                 - (nm_poll_and_update_wireless_link_state): make code less indented
17447
17448         Patch from Bill Moss:
17449         * src/NetworkManager.c
17450                 - (nm_device_update_link_state): Update signal strength on wireless
17451                         devices every time we update link state too.
17452
17453 2005-03-29  Dan Williams <dcbw@redhat.com>
17454
17455         * src/NetworkManagerDevice.c
17456                 - (nm_device_set_essid): Work around Orinoco cards which need
17457                         extra time after setting the ESSID
17458
17459 2005-03-29  Dan Williams <dcbw@redhat.com>
17460
17461         * src/NetworkManagerDevice.c
17462                 - Merge one more bit of Peter Jones' completion patch
17463
17464 2005-03-29  Dan Williams <dcbw@redhat.com>
17465
17466         * src/NetworkManagerDevice.c
17467                 - (nm_device_force_use): Fix possible segfault
17468
17469 2005-03-29  Dan Williams <dcbw@redhat.com>
17470
17471         * src/NetworkManagerDevice.c
17472                 - Use iw_get_ext() where we should rather than iw_set_ext()
17473
17474 2005-03-29  Dan Williams <dcbw@redhat.com>
17475
17476         * src/NetworkManagerDevice.c
17477                 - (nm_device_set_up_down): remove check for unsupported devices
17478                         that caused NM to not bring devices up when they were
17479                         added to the device list.
17480
17481 2005-03-28  Dan Williams <dcbw@redhat.com>
17482
17483         * src/NetworkManagerDevice.c
17484                 - (mdio_read): Fix two bugs that caused all devices to fail
17485                         the MII carrier detection support checks
17486
17487 2005-03-26  Dan Williams <dcbw@redhat.com>
17488
17489         * src/NetworkManagerDevice.c
17490                 - (nm_device_wireless_scan): Remove duplicated scanning code
17491
17492 2005-03-25  Dan Williams <dcbw@redhat.com>
17493
17494         * panel-applet/NMWirelessApplet.c
17495                 - (nmwa_about_cb): Add some more contributors
17496                 - (nmwa_update_state): show the applet when there's no connection
17497                 - Enable the "Stop/Resume all wireless devices" option in the
17498                         context menu
17499                 - New "no connection" icon
17500
17501         * src/NetworkManager.c
17502                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17503                         wireless is disabled or we're asleep
17504
17505         * src/NetworkManagerDHCP.c
17506                 - Remove trailing "\n" on debug messages
17507
17508         * src/NetworkManagerDbus.c
17509                 - (nm_dbus_network_status_from_data): new state "asleep"
17510
17511         * src/NetworkManagerDevice.c
17512                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17513                         latency and wait times for most operations
17514                 - (nm_device_wireless_scan): Don't scan when asleep
17515
17516         * src/NetworkManagerPolicy.c
17517                 - (nm_policy_get_best_device): return no device when asleep
17518                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17519                         for all wireless devices on update, not just active device
17520
17521         * src/NetworkManagerUtils.c
17522                 - Merge Peter Jones' "completion" patch
17523
17524         * src/nm-dbus-nm.c
17525                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17526                         we're told to disable them
17527                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17528
17529         * utils/nm-utils.h
17530                 - New variants of the warn/info/error/debug print functions that can take
17531                         variables rather than static strings
17532
17533 2005-03-24  Dan Williams <dcbw@redhat.com>
17534
17535         * src/NetworkManagerUtils.c
17536                 - (nm_get_device_driver_name): driver names are now on the parents of
17537                         "Network Interface" objects, so look for them there
17538
17539 2005-03-24  Dan Williams <dcbw@redhat.com>
17540
17541         * test/nmtest.c
17542                 - Escape some forgotten object paths before we shove them through dbus
17543
17544 2005-03-24  Dan Williams <dcbw@redhat.com>
17545
17546         * dhcpcd/dhcpcd.[ch]
17547           src/NetworkManagerDHCP.c
17548                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17549                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17550
17551         * src/NetworkManagerDbus.c
17552                 - spacing cleanups
17553
17554         * src/nm-dbus-dhcp.c
17555                 - Make the API suck less.  There is now only 1 type of each function,
17556                         ie only "getInteger" and no longer also "getIntegerv".  All types
17557                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17558                         that will never have more than 1 element.  This should simplify
17559                         things greatly.
17560
17561         * test/nm-dhcp-opt-test.c
17562                 - Make the tool not segfault
17563                 - adapt to new DHCP Options API
17564
17565 2005-03-22  Dan Williams <dcbw@redhat.com>
17566
17567         * src/NetworkManager.c
17568                 - (nm_wired_link_deactivated): actually ignore netlink events from
17569                         wireless devices.
17570
17571 2005-03-22  Dan Williams <dcbw@redhat.com>
17572
17573         * src/NetworkManager.c
17574                 - (nm_wired_link_activated): actually ignore netlink events from
17575                         wireless devices.
17576
17577 2005-03-17  Dan Williams <dcbw@redhat.com>
17578
17579         Patch from Tom Parker:
17580         * src/nm-netlink-monitor.c
17581                 - Include unistd.h
17582         * info-daemon/NetworkManagerInfoDbus.c
17583                 - (nmi_dbus_update_network_auth_method): free GConf values
17584
17585         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17586         * src/NetworkManagerDevice.c
17587                 - (nm_device_set_wireless_config): wait for successful
17588                         association longer for some cards (Atheros a/b/g)
17589
17590 2005-03-15  Ray Strode  <rstrode@redhat.com>
17591
17592         * src/NetworkManager.c:
17593         (sigterm_pipe_handler):
17594         remove bogus FIXME
17595
17596 2005-03-15  Ray Strode  <rstrode@redhat.com>
17597
17598         * src/NetworkManagerDbus.c:
17599         Fix some sign weirdness that gcc4 doesn't like,
17600         and add a header file so PPC can hopefully find
17601         SIGTRAP
17602
17603 2005-03-14  Ray Strode  <rstrode@redhat.com>
17604         
17605         Fourth (probably working) cut at porting to
17606         dbus 0.30 api and new hal. This cut adds
17607         some new logging macros to make debugging
17608         easier.
17609
17610         * dispatcher-daemon/NetworkManagerDispatcher.c:
17611         * info-daemon/NetworkmanagerInfo.c:
17612         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17613         * info-daemon/NetworkManagerInfoVPN.c:
17614         * src/NetworkManager.c:
17615         * src/NetworkManagerAP.c:
17616         * src/NetworkManagerAPList.c:
17617         * src/NetworkManagerDHCP.c:
17618         * src/NetworkManagerDbus.c:
17619         * src/NetworkManagerDevice.c:
17620         * src/NetworkManagerPolicy.c:
17621         * src/NetworkManagerSystem.c:
17622         * src/NetworkManagerUtils.c:
17623         * src/NetworkManagerWireless.c:
17624         * src/autoip.c:
17625         * src/nm-dbus-nm.c:
17626         * src/backends/NetworkManagerDebian.c:
17627         * src/backends/NetworkManagerGentoo.c:
17628         * src/backends/NetworkManagerRedHat.c:
17629         * src/backends/NetworkManagerSlackware.c:
17630         use new logging macros.
17631
17632         * dispatcher-daemon/NetworkManagerDispatcher.c:
17633         (nmd_dbus_filter): s/dbus_free/g_free/
17634
17635         * info-daemon/Makefile.am: link in utils library.
17636         * info-daemon/NetworkmanagerInfo.c: use new logging 
17637         macros.
17638         (nmi_dbus_get_network): don't assume enumerations
17639         are 32-bit.
17640         (nmi_dbus_nmi_message_handler): don't free what 
17641         doesn't belong to us.
17642
17643         * libnm_glib/libnm_glib.c:
17644         (libnm_glib_get_nm_status): 
17645         (libnm_glib_init): don't free what doesn't
17646         belong to us.
17647         (libnm_glib_dbus): strdup result, so it doesn't get
17648         lost when message is unref'd.
17649
17650         * panel-applet/NMWirelessAppletDbus.c:
17651         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17652
17653         * src/NetworkManager.c:
17654         (nm_monitor_wired_link_state): request initial status 
17655         dump of all cards when we start up, instead of relying
17656         on /sys/.../carrier.
17657         (nm_info_handler), (nm_set_up_log_handlers): 
17658         log handlers to specify what syslog priorites 
17659         the logging macros default to.
17660
17661         * src/NetworkManagerAPList.c: 
17662         (nm_ap_list_populate_from_nmi):
17663         s/dbus_free_string_array/g_strfreev/
17664
17665         * src/NetworkManagerDbus.c:
17666         (nm_dbus_get_network_object):
17667         validate d-bus message argument types.
17668         Advance message iterator after reading argument,
17669         prepend instead of append to GSList.
17670
17671         * src/NetworkManagerDevice.c:
17672         (nm_device_probe_wired_link_status):
17673         remove redundant /sys in /sys path. remove wrong
17674         contents == NULL means has carrier assumption.
17675
17676         * src/nm-netlink-monitor.c 
17677         (nm_netlink_monitor_request_status): implement
17678         function to ask kernel to dump interface link
17679         status over netlink socket.
17680
17681         * test/*.c: s/dbus_free/g_free/
17682
17683         * utils/nm-utils.h:
17684         (nm_print_backtrace): new macro to print backtrace.
17685         (nm_get_timestamp): new macro to get sub-second precise
17686         unix timestamp.
17687         (nm_info), (nm_debug), (nm_warning), (nm_error):
17688         new logging functions. nm_info just prints,
17689         nm_debug includes timestamp and function,
17690         nm_warning includes function, nm_error includes
17691         backtrace and sigtrap.
17692
17693 2005-03-11  Ray Strode  <rstrode@redhat.com>
17694
17695         Third (unfinished, partially working) cut at porting to 
17696         dbus 0.30 api and new hal.
17697
17698         * info-daemon/NetworkManagerInfoDbus.c:
17699                 don't free null arrays.
17700
17701         * panel-applet/NMWirelessAppletDbus.c: 
17702         * src/nm-dbus-device.c:
17703         * src/nm-dbus-net.c: 
17704         * src/NetworkManagerDbus.c: more 
17705         STRING -> OBJECT_PATH fun
17706         * src/NetworkManagerDevice.c:
17707         * src/NetworkManagerDevice.h:
17708         (rename nm_device_get_link_active): rename to 
17709         nm_device_has_active_link
17710         (nm_device_wireless_link_active): rename to
17711         nm_device_probe_wireless_link_state
17712         (nm_device_wired_link_active): rename to
17713         nm_device_probe_wired_link_state.  Rewrite to
17714         use carrier file since hal doesn't maintain
17715         link state anymore.
17716         (nm_device_update_link_active): rename to
17717         nm_device_update_link_state
17718         * src/NetworkManagerPolicy.c 
17719           (nm_policy_activation_finish): check for NULL
17720           MAC address.
17721
17722         * src/Makefile.am:
17723         * src/NetworkManagerMain.h: 
17724         * src/NetworkManager.c:
17725         * src/nm-netlink-monitor.c:
17726         * src/nm-netlink-monitor.h: New class to support
17727         monitoring wired ethernet link status, since HAL
17728         doesn't export that information anymore.
17729
17730 2005-03-09  Ray Strode  <rstrode@redhat.com>
17731
17732         Second (unfinished, unworking) cut at porting to 
17733         dbus 0.30 api.
17734
17735         * dispatcher-daemon/NetworkManagerDispatcher.c:
17736         * info-daemon/NetworkManagerInfoDbus.c:
17737         * panel-applet/NMWirelessAppletDbus.c:
17738         * src/NetworkManagerDbusUtils.c:
17739         * src/NetworkManagerDbusUtils.h:
17740         * src/nm-dbus-device.c:
17741         * src/nm-dbus-nm.c:
17742         * test/nmtest.c: support dbus "object path" type
17743
17744         * configure.in: 
17745         * Makefile.am:
17746         * info-daemon/Makefile.am:
17747         * libnm_glib/Makefile.am:
17748         * panel-applet/Makefile.am:
17749         * dispatcher-daemon/Makefile.am
17750         * src/Makefile.am:
17751         * test/Makefile.am:
17752         * utils/Makefile.am: 
17753         * utils/nm-utils.c: 
17754         * utils/nm-utils.h: new utils static lib
17755
17756 2005-03-07  Ray Strode  <rstrode@redhat.com>
17757
17758         * info-daemon/NetworkManagerInfoDbus.c:
17759         * libnm_glib/libnm_glib.c:
17760         * panel-applet/NMWirelessAppletDbus.c:
17761         * src/NetworkManager.c:
17762         * src/NetworkManagerDbus.c:
17763         * src/NetworkManagerDevice.c:
17764         * src/NetworkManagerUtils.c:
17765         * src/nm-dbus-device.c:
17766         * src/nm-dbus-dhcp.c:
17767         * src/nm-dbus-net.c:
17768         * src/nm-dbus-nm.c:
17769         * test/nminfotest.c:
17770         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17771
17772 2005-03-04  Dan Williams  <dcbw@redhat.com>
17773
17774         * configure.in
17775                 - Mark HEAD as 0.4
17776
17777 2005-03-04  Dan Williams  <dcbw@redhat.com>
17778
17779         Patch from Peter Jones:
17780         - Make stuff work with gcc 4.0
17781
17782 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17783
17784         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17785
17786 2005-02-27  Jim Huang  <jserv@kaffe.org>
17787
17788         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17789
17790 2005-02-27  Dan Williams  <dcbw@redhat.com>
17791
17792         Patch from Bill Moss:
17793         * panel-applet/NMWirelessAppletDbus.c
17794                 - Make sure strength for current access point is up-to-date when we
17795                         update the gui data model
17796
17797 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17798
17799         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17800
17801 2005-02-27  Dan Williams  <dcbw@redhat.com>
17802
17803         * src/backends/NetworkManagerRedHat.c
17804                 - (nm_system_init): Kill any dhclient processes lying around as well
17805                         as stopping 'nifd' if its already been started.  NetworkManager
17806                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17807
17808 2005-02-27  Dan Williams  <dcbw@redhat.com>
17809
17810         * panel-applet/NMWirelessApplet.c
17811                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17812                         dbus data model, not the GUI data model twice.
17813
17814 2005-02-27  Dan Williams  <dcbw@redhat.com>
17815
17816         * panel-applet/NMWirelessApplet.[ch]
17817           panel-applet/NMWirelessAppletDbus.[ch]
17818                 - Move to incremental network updates.  Instead of blowing away our list
17819                         of devices every time we get a signal from NetworkManager, we now
17820                         incrementally add/remove networks when NetworkManager notifies us that
17821                         a new network has appeared or disappered.  Strength updates now happen
17822                         on-the-fly for each access point as well.  There are now two copies of
17823                         data from NetworkManager: one for the dbus side, and one for the gui side.
17824                         When the dbus side data is modified, it is copied over to the gui side
17825                         so we don't have to hold the data_mutex for long periods of time (and
17826                         therefore block animation of the applet's icon).
17827                 - Clean up some memleaks too
17828
17829         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17830                 - Minor code beautification
17831
17832         * src/NetworkManagerAPList.c
17833                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17834                         completely new and whether or not an existing one's strength was updated.
17835                         Try to fix multiple access points and signal strength by using the highest
17836                         signal strength in each scan for any given ESSID.
17837
17838         * src/NetworkManagerDbus.[ch]
17839                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17840                         wireless networks; now we have only WirelessNetworkUpdate which includes
17841                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17842                 - Kill usage of DbusMessageIter
17843
17844         * src/NetworkManagerDevice.c
17845                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17846                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17847                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17848                         currently associated with from the network list.
17849                 - Update for new signals during scan, send out Appeared, Disappeared, or
17850                         StrengthChanged when necessary.
17851
17852 2005-02-25  Dan Williams  <dcbw@redhat.com>
17853
17854         * README
17855                 - Line break the README
17856
17857 2005-02-25  Dan Williams  <dcbw@redhat.com>
17858
17859         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17860                 - Remove usage of gtk_window_set_default_size()
17861
17862         * panel-applet/essid.glade
17863                 - Stick default size here
17864                 - Add in random crap that current glade wants to add in now
17865
17866 2005-02-25  Dan Williams  <dcbw@redhat.com>
17867
17868         * src/backends/NetworkManagerRedHat.c
17869                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17870                         and that we actually tell nscd to reload the hosts cache when it changes
17871
17872 2005-02-25  Dan Williams  <dcbw@redhat.com>
17873
17874         * info-daemon/NetworkManagerInfoDbus.c
17875                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17876
17877         * test/nminfotest.c
17878                 - Whack usage of DbusMessageIter
17879                 - Clean up DbusError and DbusMessage handling and freeing
17880                 - Remove unused unregister handler
17881
17882         * test/nmtest.c
17883                 - Whack usage of DbusMessageIter
17884
17885         * test/nmtestdevices.c
17886                 - Whack usage of DbusMessageIter
17887
17888 2005-02-25  Dan Williams  <dcbw@redhat.com>
17889
17890         * NetworkManager.h
17891                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17892                         signal
17893
17894 2005-02-25  Dan Williams  <dcbw@redhat.com>
17895
17896         * named/nm-named-manager.c
17897                 - Ensure that pid and watch variables for child named process get cleared out
17898                         when the child goes away.
17899
17900 2005-02-22  Dan Williams  <dcbw@redhat.com>
17901
17902         * src/NetworkManagerPolicy.c
17903                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17904                         and NULL out data->active_device so that we have to choose another one.
17905                         This may make NetworkManager keep attempting to connect to a wired network
17906                         if it fails, but if it keeps failing the wired network has more problems than
17907                         just NetworkManager.
17908
17909         * src/backends/NetworkManagerRedHat.c
17910                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17911                         is already running
17912
17913         * named/nm-named-manager.c
17914                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17915                         named so that the distro can flush whatever name service caching
17916                         daemon it uses
17917
17918 2005-02-21  Dan Williams  <dcbw@redhat.com>
17919
17920         * src/NetworkManagerDHCP.[ch]
17921                 - (nm_device_dhcp_remove_timeouts): new function
17922
17923         * src/NetworkManagerDevice.c
17924                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17925                         remove the DHCP timeouts.
17926
17927 2005-02-21  Dan Williams  <dcbw@redhat.com>
17928
17929         * panel-applet/NMWirelessApplet.[ch]
17930           panel-applet/menu-info.[ch]
17931                 - Give the panel applet some major love: menu items are no longer
17932                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17933                         This allows the applet to actually reflect theme changes correctly,
17934                         since themeing of subclassed items in GTK _sucks_.
17935
17936 2005-02-18  Dan Williams  <dcbw@redhat.com>
17937
17938         * libnm_glib/libnm_glib.[ch]
17939           test/libnm_glib_test.c
17940                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17941                         and its data, and doesn't have to free the callback data anymore
17942
17943 2005-02-18  Dan Williams  <dcbw@redhat.com>
17944
17945         * panel-applet/NMWirelessApplet.c
17946                 - Revert 2005-02-18 William Jon McCann fix for standard
17947                         copyright string until it passes 'make distcheck'.
17948                         With standard copyright string, xgettext complains
17949                         about "Non-ASCII string at ...".
17950
17951 2005-02-18  Dan Williams  <dcbw@redhat.com>
17952
17953         * panel-applet/essid.glade
17954           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17955                 - Correct spelling of "adaptor"->"adapter"
17956
17957 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17958
17959         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17960         (nmwa_about_cb): Use standard copyright string.  Update comment
17961         text to reflect that it is a notification area applet.  Remove
17962         leading newline in authors list.
17963         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17964         instead of on parent menu item activation.  Fixes #167550.
17965
17966 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17967
17968         * panel-applet/essid.glade: Capitalize items as per HIG.
17969           Fixes #167632
17970
17971 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17972
17973         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17974         files for GTK 2.4 or lower, since now public in GTK 2.6.
17975
17976         * panel-applet/essid.glade: Don't specify window size.
17977         
17978 2005-02-17  Dan Williams  <dcbw@redhat.com>
17979
17980         Caught by Bill Moss:
17981         * dhcpcd/client.c
17982                 - Time remaining for DHCP transaction calculation was incorrectly
17983                         inside a #ifdef DEBUG
17984
17985 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17986
17987         * configure.in: Added fr (French) to ALL_LINGUAS.
17988
17989 2005-02-14  Dan Williams  <dcbw@redhat.com>
17990
17991         * src/NetworkManagerDHCP.c
17992                 - (set_domain_searches): Fix free of invalid pointer
17993
17994 2005-02-14  Dan Williams  <dcbw@redhat.com>
17995
17996         Patch from Peter Jones:
17997         * dhcpcd/client.c
17998                 - Ensure we return RET_DHCP_CEASED everywhere we should
17999         * dhcpcd/udpipgen.c
18000                 - Use faster TOS for IP packets
18001                 - Don't set ip_id since we're UDP
18002
18003         Patch from Tomislav Vujec:
18004         * src/nm-dbus-dhcp.c
18005           test/nm-dhcp-opt-test.c
18006                 - Clean up warnings to enable cvs tree compilation.
18007
18008 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18009
18010         * configure.in
18011           po/hr.po
18012                 - Add the Croatian locale.
18013
18014 2005-02-14  Colin Walters  <walters@verbum.org>
18015
18016         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18017         list of domains to search.
18018         
18019         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18020
18021 2005-02-13  Dan Williams  <dcbw@redhat.com>
18022
18023         * dhcpcd/client.c
18024                 - Debug output cleanups of DHCP option printing and parsing.
18025
18026 2005-02-13  Dan Williams  <dcbw@redhat.com>
18027
18028         Patch from Dan Reed:  DHCP options D-BUS API
18029                 Exposes the DHCP options that a device receives to clients over D-BUS.
18030
18031         * configure.in
18032                 - A few cleanups
18033
18034         * dhcpcd/client.h
18035                 - Correct names, option length, and types for DHCP options
18036
18037         * dhcpcd/dhcpcd.[ch]
18038                 - Clarify function names that access DHCP options & data
18039
18040         * src/NetworkManagerDHCP.c
18041                 - Use new DHCP data access functions
18042
18043         * src/NetworkManagerDbus.c
18044                 - Message handler for DHCP functions
18045
18046         * src/nm-dbus-dhcp.[ch] (new)
18047                 - DHCP dbus methods
18048
18049         * test/nm-dhcp-opt-test.c
18050                 - Test DHCP D-BUS API and return all present DHCP options
18051
18052 2005-02-12  Dan Williams  <dcbw@redhat.com>
18053
18054         * test/Makefile.am
18055           test/nmclienttest.c
18056           test/nmtest.c
18057                 - Move nmclienttest.c -> nmtest.c
18058
18059 2005-02-12  Dan Williams  <dcbw@redhat.com>
18060
18061         * dhcpcd/buildmsg.c
18062                 - Pad DHCP packets until they are at least 300 bytes in size.
18063
18064 2005-02-11  Dan Williams  <dcbw@redhat.com>
18065
18066         * dhcpcd/client.c
18067                 - (dhcp_init): only print out client ID and class ID if they are specified
18068
18069         * src/NetworkManagerDbus.[ch]
18070           src/nm-dbus-nm.[ch]
18071           src/nm-dbus-device.[ch]
18072           src/nm-dbus-net.[ch]
18073                 - Move NM, Device, and Net functions to separate files and use the
18074                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18075                         method dispatching
18076
18077         * src/NetworkManagerDbusUtils.c
18078                 - Add new validate_method called before each dispatch (if present)
18079                         that can validate the method call
18080
18081         * src/NetworkManagerWireless.c
18082                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18083                         levels never to be evaluated
18084
18085         Patch from j@bootlab.org
18086         * src/NetworkManagerDevice.c
18087                 - Add typedef for "u64"
18088
18089         * src/backends/NetworkManagerDebian.c
18090                 - Copy in Dave Woodhouse's fixes for IPv6
18091
18092 2005-02-11  Dan Williams  <dcbw@redhat.com>
18093
18094         Patch from Dave Woodhouse for IPv6:
18095         * src/NetworkManagerUtils.c
18096                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18097                         and multicast addresses
18098
18099         * src/NetworkManagerDevice.c
18100                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18101                         after bringing up a card.
18102
18103 2005-02-10  Dan Williams  <dcbw@redhat.com>
18104
18105         Patch from Dave Woodhouse:
18106         * src/NetworkManagerSystem.h
18107           src/backends/NetworkManagerDebian.c
18108           src/backends/NetworkManagerGentoo.c
18109           src/backends/NetworkManagerSlackware.c
18110                 - New nm_system_device_add_ip6_link_address() function to add link-local
18111                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18112
18113         * src/backends/NetworkManagerRedHat.c
18114                 - (nm_system_device_add_ip6_link_address): implement
18115                 - (nm_system_device_flush_addresses): revert to previous behavior of
18116                         flushing all addresses
18117
18118 2005-02-10  Dan Williams  <dcbw@redhat.com>
18119
18120         Patch from Tom Parker:
18121         * src/NetworkManagerDevice.c
18122                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18123                         mii.h headers are broken, and instead use our own typedefs
18124
18125 2005-02-10  Dan Williams  <dcbw@redhat.com>
18126
18127         * dhcpcd/buildmsg.c
18128                 - (fill_host_and_class_id): only fill in client and class IDs if
18129                         they are set by callers.
18130
18131         * dhcpcd/client.c
18132                 - (class_id_setup): don't autogenerate a class ID, only use one
18133                         we're given, if any.
18134                 - (client_id_setup): don't autogenerate a client ID, only use one
18135                         we're given, if any.
18136
18137         * dhcpcd/dhcpcd.c
18138                 - (dhcp_interface_init): ensure that client options are correctly
18139                         NULL terminated
18140
18141         * src/NetworkManagerDHCP.c
18142                 - (nm_device_dhcp_request): pass hostname to dhcp library
18143
18144 2005-02-10  Dan Williams  <dcbw@redhat.com>
18145
18146         * dhcpcd/client.c
18147                 - #rh147661# Don't send kernel version in DHCP requests
18148
18149         * src/NetworkManagerSystem.h
18150           src/backends/NetworkManagerDebian.c
18151           src/backends/NetworkManagerGentoo.c
18152           src/backends/NetworkManagerRedHat.c
18153           src/backends/NetworkManagerSlackware.c
18154                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18155                         functions, they are no longer used anyway
18156
18157         * src/backends/NetworkManagerRedHat.c
18158                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18159                         addresses in an attempt to keep IPv6 local-scope addresses around
18160
18161 2005-02-10  Dan Williams  <dcbw@redhat.com>
18162
18163         * src/NetworkManager.c
18164                 - (nm_create_device_and_add_to_list): change the add message slightly
18165
18166         * src/NetworkManagerUtils.c
18167                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18168                         Return driver name to calling function
18169                 - (nm_get_driver_support_level): print out the driver a device is using
18170                         during the support check
18171
18172         Patch from Dave Woodhouse:
18173         * dhcpcd/udpipgen.c
18174                 - (in_cksum): copy last byte of odd-sized packets into a
18175                         'u_short' rather than a 'u_char', should fix wrong checksums
18176                         on big-endian platforms
18177
18178 2005-02-09  Dan Williams  <dcbw@redhat.com>
18179
18180         * Clean up usage of GSList objects and looping through their members
18181         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18182                 now.
18183         * Fix problem where even if scanning was turned off, card would still
18184                 cycle through frequencies.
18185
18186 2005-02-08  Dan Williams  <dcbw@redhat.com>
18187
18188         * panel-applet/NMWirelessApplet.c
18189                 - Fix for gtk 2.4
18190
18191 2005-02-08  Dan Williams  <dcbw@redhat.com>
18192
18193         Patch from Bill Moss
18194         * panel-applet/NMWirelessApplet.c
18195                 - Restore correct ESSID in tooltips
18196
18197 2005-02-07  Dan Williams  <dcbw@redhat.com>
18198
18199         * panel-applet/NMWirelessApplet.[ch]
18200                 - Add a context menu that contains:
18201                         Pause/Resume Wireless Scanning
18202                         Stop/Start All Wireless Devices
18203                         About...
18204                 - Grab active device strength off active device,
18205                         not its network
18206
18207         * panel-applet/NMWirelessAppletDbus.[ch]
18208                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18209                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18210                 - Update active device strength every 2 seconds, not every 1 second
18211
18212         * panel-applet/menu-info.c
18213                 - Only disable wired devices in the menu when they support carrier detection,
18214                         and don't currently have a link.  Non-carrier-detect devices will always
18215                         remain choosable
18216
18217         * src/Makefile.am
18218           src/NetworkManagerDbusUtils.[ch]
18219                 - Add new new dbus utils sources
18220
18221         * src/NetworkManager.c
18222                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18223                         with the boolean parameter
18224                 - Set scanning_enabled & wireless_enabled to TRUE
18225
18226         * src/NetworkManagerDbus.c
18227                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18228                 - Implement scanning & wireless enable/disable calls
18229                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18230
18231         * src/NetworkManagerDevice.c
18232                 - New link detection stuff again...
18233                         o  Create device's mainloop earlier (but don't run it earlier)
18234                         o  Hook up new carrier-detect support stuff
18235                         o  Add in the ethtool & mii support detection code
18236                 - Don't scan if scanning is disabled
18237
18238         * src/NetworkManagerPolicy.c
18239                 - Never automatically choose a device that doesn't support carrier detection
18240                 - Don't automatically choose a wireless device if wireless is disabled
18241
18242 2005-02-07  Dan Williams  <dcbw@redhat.com>
18243
18244         * libnm_glib/libnm_glib.c
18245                 - Small cleanup in element list iteration
18246
18247 2005-02-07  Dan Williams  <dcbw@redhat.com>
18248
18249         * src/NetworkManagerWireless.c
18250                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18251                         to be in line with the WEXT quality specification
18252
18253 2005-02-02  Dan Williams  <dcbw@redhat.com>
18254
18255         Patch from Nathan Fredrickson <nathan@silverorange.com>
18256         * Fix up compile for deprecation of libgnomeui
18257                 - Switch to <glib/gi18n.h> from <libintl.h>
18258                 - Remove <libgnomeui/libgnomeui.h> includes
18259                 - Use gtk_window_set_default_icon_from_file() rather than
18260                         gnome_window_set_default_icon_from_file()
18261
18262         * named/nm-named-manager.c
18263                 - (generate_named_conf): Fix return-nothing in non-void
18264                         function
18265
18266 2005-02-02  Dan Williams  <dcbw@redhat.com>
18267
18268         * Clean up unused variables and the like
18269
18270 2005-02-02  Dan Williams  <dcbw@redhat.com>
18271
18272         * src/NetworkManagerAPList.c
18273                 - (nm_ap_list_merge_scanned_ap): merge strength too
18274
18275         * src/NetworkManagerUtils.c
18276                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18277                         of locking issues by printing out prettier information than g_mutex_lock
18278                 - Print out names of mutexes registered with nm_register_mutex_desc()
18279                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18280                         us to seemingly block here for too long
18281
18282         * src/NetworkManager.c
18283           src/NetworkManagerAPList.c
18284           src/NetworkManagerDevice.c
18285                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18286                         so we get better debug information printed
18287
18288         * src/NetworkManagerDbus.c
18289                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18290                         since it sometimes has locking side effects
18291                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18292                         from 10s
18293                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18294                         we don't need a switch.  This gets called often enough that we can't block
18295                         until the scan mutex is acquired, because we'll block on device activation
18296                         and a few other things, which hangs main thread for too long.
18297
18298         * src/NetworkManagerPolicy.c
18299                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18300                         nm_device_need_ap_switch() will be called               
18301
18302 2005-02-02  Dan Williams  <dcbw@redhat.com>
18303
18304         * panel-applet/NMWirelessApplet.c
18305                 - Display name of wireless network we are connecting to or connected to
18306                         in the tooltip of the applet
18307
18308 2005-02-02  Dan Williams  <dcbw@redhat.com>
18309
18310         * src/NetworkManagerDHCP.c
18311                 - Hopefully fix double-default-route problem by cleaning up the default
18312                         route added by DHCP code right before the DHCP transaction begins
18313
18314 2005-02-02  Dan Williams  <dcbw@redhat.com>
18315
18316         * named/nm-named-manager.c
18317                 - Write out valid resolv.conf when we exit
18318
18319 2005-02-01  Dan Williams  <dcbw@redhat.com>
18320
18321         Patch from Colin Walters:
18322         * named/nm-named-manager.c
18323                 - Make multi-domain search options work
18324
18325 2005-01-31  Dan Williams  <dcbw@redhat.com>
18326
18327         * info-daemon/NetworkManagerInfoDbus.c
18328                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18329
18330         * src/NetworkManagerDevice.c
18331                 - (nm_device_new): Don't store the entire range struct, use only what we need
18332                         (which is currently avg_quality, max_quality, and frequencies).  Also
18333                         zero device structure when we've free'd it to maybe expose errors down
18334                         the line.
18335                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18336                         quality data from the card since quality will be useless during a scan.
18337                         Call updated wireless qual-to-percent function with values stored in
18338                         nm_device_new() earlier.
18339                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18340                         nm_device_get_bad_crypt_packets())
18341                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18342                         nm_device_new()
18343                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18344                         list if available.  Problem was this: when the WEP key is wrong, NM will
18345                         try OS then SK modes, and then get stuck in SK mode after that.  This
18346                         should reset it.
18347                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18348                         function
18349
18350         * src/NetworkManagerWireless.c
18351                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18352                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18353                         if that's all present, otherwise fall back to signal-to-noise ratios.
18354
18355 2005-01-29  Dan Williams  <dcbw@redhat.com>
18356
18357         * initscript/RedHat/NetworkManager
18358                 - Don't spit out sysctl stuff to console
18359
18360         * libnm_glib/libnm_glib.c
18361                 - (libnm_glib_init): call dbus_g_thread_init()
18362
18363         * panel-applet/NMWirelessAppletDbus.c
18364                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18365
18366         * src/NetworkManager.c
18367                 - (main): call dbus_g_thread_init()
18368
18369         * src/NetworkManagerAPList.c
18370                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18371                         so we can actually see what's there in a normal syslog
18372
18373         * src/NetworkManagerDevice.c
18374                 - (nm_device_activate_wireless): print out the "waiting for access point"
18375                         message only once, then say what access point we actually got after
18376                         the wait.
18377                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18378                         function, wait until the scan is done.  Scans may change the ESSID of
18379                         the card, making this function think we need to switch access points
18380                 - (nm_device_wireless_process_scan_results): for artificial access points
18381                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18382                         prevents collisions with the scanning code, which may change the card's
18383                         ESSID and cause the access point to get dropped from the device's AP
18384                         list.  Also increase the keep-around time to 2m from 60s since the max
18385                         scan interval could be 60s in some cases.
18386
18387         * src/NetworkManagerPolicy.c
18388                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18389                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18390                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18391                         between NM and NMI.
18392
18393 2005-01-27  Dan Williams  <dcbw@redhat.com>
18394
18395         * info-daemon/NetworkManagerInfoDbus.c
18396                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18397                         GConf, make a minimal entry for it (essid & timestamp)
18398
18399         * src/NetworkManagerAPList.c
18400                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18401                         NetworkManagerInfo isn't running
18402
18403         * src/NetworkManagerDbus.[ch]
18404                 - (nm_dbus_nmi_is_running): new function
18405
18406         * src/NetworkManagerDevice.c
18407                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18408                         address to garbage.
18409
18410         * src/NetworkManagerPolicy.c
18411                 - (nm_policy_activation_finish): On successful activation, make sure
18412                         the "best" AP has a MAC address, and don't tell NMI to add the
18413                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18414                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18415                         access point after refreshing our allowed list if it doesn't already
18416                         have a "best" access point.
18417
18418 2005-01-25  Dan Williams  <dcbw@redhat.com>
18419
18420         * panel-applet/NMWirelessAppletDbus.c
18421                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18422                         so we check for NM_DBUS_SERVICE rather than not for it
18423
18424         * libnm_glib/libnm_glib.c
18425                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18426                         ServiceOwnerChanged signal
18427
18428 2005-01-25  Dan Williams  <dcbw@redhat.com>
18429
18430         * configure.in
18431                 - Check DBUS version in configure, and set the C macros
18432                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18433
18434         * info-daemon/NetworkManagerInfoDbus.c
18435                 - Remove #if 0-d section of code that quit NMI if NM went away.
18436
18437         * panel-applet/NMWirelessAppletDbus.c
18438                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18439
18440         * src/NetworkManager.c
18441           src/NetworkManagerMain.h
18442           src/NetworkManagerDbus.c
18443                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18444                 - Make updating of our Allowed Wireless Network lists from NMI
18445                         an idle function in the main thread now, with a high priority.
18446
18447 2005-01-24  Dan Williams  <dcbw@redhat.com>
18448
18449         * panel-applet/gtkcellview.[ch]
18450           panel-applet/menu-info.c
18451                 - Fix GTK version checks to be <= rather than <
18452
18453         * test/Makefile.am
18454                 - Include the libtool archive of libnm_glib rather than
18455                         trying to pull in the .so
18456
18457 2005-01-24  Dan Williams  <dcbw@redhat.com>
18458
18459         * src/NetworkManagerDevice.c
18460           src/NetworkManagerDevicePrivate.h
18461                 - Block nm_device_new() until our device's worker thread has had a
18462                         chance to start up.  Fixes a race between main thread and worker
18463                         thread starting that caused activation requests to get lost.
18464
18465 2005-01-24  Dan Williams  <dcbw@redhat.com>
18466
18467         * initscript/RedHat/NetworkManager
18468                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18469                         to add the NM startup script at priority 50, which was
18470                         way too early
18471
18472 2005-01-24  Colin Walters  <walters@redhat.com>
18473
18474         * named/named.conf: Use any port for query source instead of
18475         restricting to port 53.
18476
18477 2005-01-24  Dan Williams  <dcbw@redhat.com>
18478
18479         * initscript/RedHat/NetworkManager
18480                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18481                         to add the NM startup script at priority 50, which was
18482                         way too early
18483
18484 2005-01-24  Dan Williams  <dcbw@redhat.com>
18485
18486         Patch from Tom Parker <palfrey@tevp.net>
18487         * Fix up compile warnings & errors in the wireless applet
18488
18489 2005-01-24  Dan Williams  <dcbw@redhat.com>
18490
18491         * panel-applet/NMWirelessApplet.c
18492                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18493
18494 2005-01-24  Dan Williams  <dcbw@redhat.com>
18495
18496         * panel-applet/gtkcellview.[ch]
18497                 - Only compile these files for GTK 2.4 or lower, since 
18498                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18499                         when choosing "Other Wireless Networks" from the panel
18500                         applet menu
18501
18502 2005-01-21  Dan Williams  <dcbw@redhat.com>
18503
18504         * src/NetworkManager.c
18505                 - Daemonize earlier so that glib doesn't get confused (?)
18506
18507 2005-01-21  Dan Williams  <dcbw@redhat.com>
18508
18509         * panel-applet/NMWirelessApplet.[ch]
18510           panel-applet/NMWirelessAppletDbus.c
18511           panel-applet/menu-info.c
18512           src/NetworkManagerDevice.c
18513                 - Disable wired devices in the menu when they have no link.
18514
18515 2005-01-21  Dan Williams  <dcbw@redhat.com>
18516
18517         * Cache last-known-good wireless authentication method in
18518                 NetworkManagerInfo, and use that method first during
18519                 wireless device activation.  Should speed up devices that
18520                 need Shared Key authentication method since Open System is
18521                 now the default.
18522
18523         * Remove the hack to not do full activation on wired connections
18524                 that are active when we launch, it causes too many problems
18525                 with name resolution and was a hack in the first place.
18526
18527         * Re-work wireless device activation again somewhat to have a
18528                 clearer chain of events and to use last-known-good
18529                 authentication method of the access point.  Also provide
18530                 better status throughout activation to ensure the applet
18531                 can tell the user exactly what's going on.
18532
18533         * Remove the "find wireless network" code and now simply attempt
18534                 to activate with that access point.  This reduces the delay
18535                 between selecting "Other wireless Network" and actually
18536                 connecting to that network.
18537
18538         * Correctly stop the device's worker thread when its removed.
18539
18540 2005-01-21  Dan Williams  <dcbw@redhat.com>
18541
18542         * dhcpcd/client.c
18543                 - Clean up some of the debug messages
18544
18545 2005-01-21  Dan Williams  <dcbw@redhat.com>
18546
18547         * Add new icons, more frames of animation
18548         * Remove some hacks to get the panel applet to display correct
18549                 status, an NM update will soon follow that will fix the
18550                 real issue.
18551
18552 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18553
18554         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18555         the first include for working i18n. Also, don't include it in .h files
18556         * panel-applet/NMWirelessApplet.h: Same
18557         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18558         * panel-applet/menu-info.c: Same
18559
18560 2005-01-18  Dan Williams <dcbw@redhat.com>
18561
18562         * dhcpcd/client.c
18563                 - Remove some debug messages
18564                 - Wrap others in #ifdef DEBUG/#endif
18565
18566         * src/NetworkManager.c
18567                 - Remove some debug messages
18568                 - Clarify some debug messages
18569                 - Remove code related to old single-thread wireless scanning
18570
18571         * src/NetworkManagerAP.[ch]
18572                 - New AP property "last_seen" to track how recently an AP was
18573                         found in a scan
18574                 - Start using 'const' more in function arguments
18575
18576         * src/NetworkManagerAPList.[ch]
18577                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18578                         of an AP found in an AP list from a source AP, or if not found
18579                         in the list add the source AP
18580                 - (nm_ap_list_combine): remove, no longer needed
18581
18582         * src/NetworkManagerDevice.c
18583                 - Each device now has a "worker" thread from start to end of its life.
18584                         Scanning for wireless devices now happens in that thread,
18585                         not in a single "wireless scanning thread" for all devices as
18586                         previously.  Activation consists of adding an idle handler to the
18587                         thread's main loop/context, which gets run at the next available
18588                         opportunity.
18589                 - Wireless scanning is also simplified, there is now only one list of
18590                         access points per wireless device, and APs older than 60s are
18591                         removed from the list.  Previously, we kept results for the last
18592                         3 scans and merged whole lists, which was complicated.
18593                 - Cleaned up activation debug messages.
18594                 - Wireless activation and access-point search routines now use Open System
18595                         authentication before trying Shared Key.
18596                 - Removed some code in nm_device_update_best_ap() that could cause cards
18597                         to loose their link to the access point.
18598                 - Scanning now uses a backoff algorithm, where the inverval becomes
18599                         progressively longer between scans when the list of scanned access
18600                         points doesn't change.  A change will revert to the shortest scan
18601                         interval (20s).
18602
18603         * src/NetworkManagerWireless.[ch]
18604                 - Remove code related to old single-thread wireless scanning
18605
18606 2005-01-18  Colin Walters  <walters@redhat.com>
18607
18608         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18609         of older nameservers.
18610
18611 2005-01-18  Colin Walters  <walters@redhat.com>
18612
18613         * named/nm-named-manager.c (generate_named_conf): Many fixes
18614         to config file generation.
18615         (safer_kill): Remove, was too much trouble for little gain.
18616         (nm_named_manager_start): Run named as NM_NAMED_USER.
18617
18618         * configure.in: Add option --with-named-user.
18619
18620 2005-01-14  Colin Walters  <walters@redhat.com>
18621
18622         Patch from ed@catmur.co.uk (Ed Catmur)
18623
18624         * named/nm-named-manager.c: Add "context" property.
18625         Use it to add child watch source in specific GMainContext.
18626
18627         * src/NetworkManager.c (nm_data_new): Initialize
18628         named with correct main context.  Start named only
18629         after forking.
18630
18631 2005-01-14  Colin Walters  <walters@redhat.com>
18632
18633         * named/nm-named-manager.c (generate_named_conf): Write config
18634         and pid files into NM_NAMED_DATA_DIR; this allows things to
18635         work better with FC3 named SELinux policy.  Also fix up silly
18636         format error.
18637
18638         * configure.in: Add --with-named-dir option.
18639
18640 2005-01-14  Colin Walters  <walters@redhat.com>
18641
18642         * configure.in: Make named support require passing --with-named.
18643
18644         * named/nm-named-manager.c: Support writing resolv.conf directly
18645         without running named.
18646
18647 2005-01-13  Dan Williams <dcbw@redhat.com>
18648
18649         * named/nm-named-manager.c
18650                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18651
18652         * src/NetworkManagerDevice.c
18653                 - Rework wireless link detection code to be more reliable
18654
18655 2005-01-12  Dan Williams <dcbw@redhat.com>
18656
18657         * initscripts/RedHat/NetworkManager
18658                 - Change initial level to "-" rather than "345" so that
18659                         we don't activate ourselves by default on install
18660
18661 2005-01-12  Dan Williams <dcbw@redhat.com>
18662
18663         * libnm_glib/
18664                 - Client library for applications using glib
18665
18666         * configure.in
18667           various Makefiles
18668                 - Split NM_CFLAGS and NM_LIBS into separate variables
18669                         like DBUS_*, HAL_* and GLIB_*
18670
18671         * src/NetworkManager.c
18672           src/NetworkManagerMain.h
18673                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18674                         broadcast a status changed signal over DBUS from the main thread.
18675                         Still unused anywhere for the moment.
18676
18677         Patch from j@bootlab.org
18678         * panel_applet/NMWirelessAppletDbus.c
18679           src/NetworkManagerDbus.c
18680                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18681                         for the "getMode" method call
18682
18683 2005-01-10  Dan Williams <dcbw@redhat.com>
18684
18685         * src/NetworkManagerDevice.c
18686                 - Minor fixups & corrections to "auto" frequency mode, make it
18687                         less chatty with syslog
18688
18689 2005-01-10  Dan Williams <dcbw@redhat.com>
18690
18691         * src/NetworkManagerDevice.c
18692                 - Implement "auto" frequency/channel support, since cards like Atheros
18693                         can't use other frequencies at all when you've told it to use a
18694                         specific one, even for scanning.
18695                 - Grab the scan mutex around places where we can't tolerate wireless
18696                         settings changing underneath us, like nm_device_wireless_network_exists()
18697                         and nm_device_activate_wireless()
18698
18699         * src/NetworkManagerWireless.c
18700                 - Back scan interval off to 20s instead of 14s
18701
18702 2005-01-09  Dan Williams <dcbw@redhat.com>
18703
18704         * src/NetworkManagerDevice.c
18705                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18706                         already set.  Stops some drivers like Atmel from continually
18707                         reloading the firmware, which they do upon every configuration
18708                         change.
18709
18710 2005-01-09  Dan Williams <dcbw@redhat.com>
18711
18712         * dhcpcd/client.c
18713                 - Use correct timeout value
18714
18715         * info-daemon/NetworkManagerInfoDbus.c
18716           src/NetworkManagerDbus.c
18717                 - Consolidate communication between NM and NMI by doing only 1 dbus
18718                         method call to get Wireless Network info from NMI instead of 6
18719
18720         * src/NetworkManager.c
18721                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18722                         when we didn't have an AP to use, we'd wait for one forever without
18723                         quitting
18724
18725         * src/NetworkManagerDevice.c
18726                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18727                         activation, dhcp might not have started yet but we don't quit activation
18728                         before starting it, so the quit signal gets lost
18729
18730 2005-01-07  Dan Williams <dcbw@redhat.com>
18731
18732         * dhcpcd/client.c
18733                 - Rework the DHCP client code to be much less chatty when
18734                         it receives non-DHCP UDP packets during the DHCP run
18735                         (reported by and preliminary patches from Bill Moss)
18736
18737         * Move wireless scanning to a separate thread.  This thread forwards the
18738                 results to the main thread when done where they are integrated into
18739                 the device's access point lists.  This keeps the main thread (which
18740                 does all the DBUS communication) from being blocked for long periods
18741                 of time by wireless scanning.
18742
18743         * Make state modification an idle routine in the main loop, and trigger
18744                 state changes rather than polling for them.
18745
18746         * src/backends/NetworkManagerGentoo.c
18747                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18748
18749         * src/NetworkManagerDevice.c
18750                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18751                         router advertisements, causing problems and infinite loop
18752                         during "best" device determination due to link going up/down
18753                         (reported by Bill Moss)
18754
18755         Apply patch from Peter Jones
18756         * src/NetworkManagerDevice.c
18757                 - Shortcut for link-checking for ipw2x00 cards
18758                 - Split out association check into separate routine
18759
18760 2004-01-05  Colin Walters  <walters@redhat.com>
18761
18762         * named/named.conf: Add PID_FILE.
18763
18764         * named/nm-named-manager.c: Always generate a pid
18765         file, since older BIND versions don't support
18766         "pid-file none".
18767
18768 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18769
18770         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18771
18772 2004-12-22  Dan Williams <dcbw@redhat.com>
18773
18774         * src/NetworkManagerDevice.c
18775                 - Silently fail when setting bitrate doesn't work
18776
18777
18778         Patches from j@bootlab.org:
18779         * src/backends/NetworkManagerDebian
18780                 - Update backend to match functionality in RedHat backend
18781         * src/NetworkManagerDevice.c
18782                 - Take down then bring up wired devices after connection so
18783                 they send out ipv6 router advertisements
18784
18785 2004-12-21  Colin Walters  <walters@verbum.org>
18786
18787         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18788         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18789
18790 2004-12-21  Colin Walters  <walters@redhat.com>
18791
18792         * configure.in: Correct named detection.
18793
18794 2004-12-21  Colin Walters  <walters@redhat.com>
18795
18796         * src/NetworkManager.c (nm_data_new): Initialize named.
18797         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18798         the mainloop when these signals are received.
18799         (nm_data_free): Unref named.
18800         (sigterm_handler, sigterm_pipe_handler): New functions for
18801         exiting mainloop.
18802         
18803         * src/NetworkManagerMain.h (NMData): Add signal handling and
18804         nameserver bits.
18805
18806         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18807         unref.
18808
18809         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18810         set nameservers from DHCP response data.
18811         (set_domain_search): Set domain search from DHCP response.
18812         (nm_device_dhcp_configure): Invoke them.
18813
18814         * src/NetworkManagerSystem.c
18815         (nm_system_device_update_resolv_conf): Delete.  Deleting
18816         code is totally sweet.
18817
18818         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18819
18820         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18821         implements an object which controls a nameserver.  Currently
18822         uses bind 9.
18823
18824         * configure.in: Check for named.
18825
18826         * Makefile.am (SUBDIRS): Add named dir.
18827
18828         * named/named.conf: New template config file.
18829
18830 2004-12-20  Colin Walters  <walters@redhat.com>
18831
18832         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18833         instead of '='.
18834
18835 2004-12-17  Dan Williams  <dcbw@redhat.com>
18836
18837         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18838                 link-local addresses instead of doing DHCP.
18839
18840         * In the panel applet, there's a new "Create new Wireless Network..." item
18841
18842         * The panel applet also sticks around now even if NetworkManager dies, but
18843                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18844                 a bug, I'll fix that later.
18845
18846         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18847                 lookups after a switch rather than actually doing them.
18848
18849         * Clean up some of those warnings in nm_ap_list_* functions
18850
18851         * Delay between scans changed to 15s instead of 10s
18852
18853 2004-12-15  Dan Williams  <dcbw@redhat.com>
18854
18855         Patch from Tom Parker
18856         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18857                 address
18858
18859         * Longer pause after setting ESSID on cards that support a larger number
18860                 of channels to give the card time to find the right channel
18861
18862         * Add system hook to restart mDNSResponder (or whatever the local implementation
18863                 of Multicast DNS is) when we activate interfaces
18864
18865 2004-12-15  Dan Williams  <dcbw@redhat.com>
18866
18867         * Rework the DHCP code again to revert to sending full ethernet frames
18868                 rather then relying on the kernel to do the right thing with our
18869                 packets.
18870
18871 2004-12-06  Dan Williams  <dcbw@redhat.com>
18872
18873         * dhcpcd/client.c
18874                 - Fix some minor errors in dhcp_handle_transaction() that caused
18875                         unexpected early timeouts of DHCP transactions
18876
18877         * dhcpcd/client.h
18878                 - DHCP retransmit time from 4s -> 5s
18879
18880 2004-12-05  Dan Williams  <dcbw@redhat.com>
18881
18882         * Major rework of the DHCP code, taking some cues from pump.  We don't
18883                 write raw Ethernet packets anymore, which simplifies the code quite
18884                 a bit.  The new code should be more robust, not hang in recvfrom()
18885                 as much, and generally work better.  This also means that we need
18886                 to force HAL/dbus to use a created GMainContext rather than the
18887                 default context, since having the DHCP renew/rebind thread using
18888                 its own GMainContext seemed to give dbus a fit.  There is also more
18889                 debugging information printed from the DHCP loop to help with future
18890                 problems.
18891
18892         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18893                 assume that the default gateway should be the DHCP server.
18894
18895         Patch from Matthew Schick <matt oss-institute org>
18896         * src/backends/NetworkManagerGentoo.c
18897                 - Fix compilation error due to missing "ip4_broadcast"
18898
18899 2004-12-03  Dan Williams  <dcbw@redhat.com>
18900
18901         * initscript/Makefile.am
18902         * initscript/Debian/NetworkManager
18903         * initscript/Gentoo/NetworkManager
18904         * initscript/RedHat/NetworkManager
18905         * initscript/NMLaunchHelper.c
18906                 - Remove NMLaunchHelper, if you need to wait until the network
18907                         comes up, use the dead code from CVS.
18908
18909 2004-12-01  Colin Walters  <walters@redhat.com>
18910         
18911         * configure.in: Suck in gcc warnings code from Rhythmbox,
18912         but use fewer default flags, and in particular add -Wno-unused,
18913         since the codebase has a lot of unused variables.
18914
18915         * test/nmtestdevices.c (create_device): 
18916         * test/nminfotest.c (get_network_string_property) 
18917         (get_networks_of_type): 
18918         * test/nmclienttest.c (main): 
18919         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18920         * initscript/NMLaunchHelper.c (get_nm_status): 
18921         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18922         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18923         Fix declarations after statements.
18924
18925 2004-12-01  Colin Walters  <walters@redhat.com>
18926
18927         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18928         (nmi_dbus_get_vpn_userpass): New method.
18929         (nmi_dbus_nmi_message_handler): Invoke it.
18930
18931         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18932
18933         * info-daemon/NetworkManagerInfoVPN.h,
18934         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18935         to requests for VPN passwords.
18936
18937         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18938
18939 2004-12-01  Colin Walters  <walters@redhat.com>
18940
18941         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18942         includes.
18943
18944 2004-12-01  Colin Walters  <walters@redhat.com>
18945
18946         * panel-applet/NMWirelessAppletDbus.c
18947         (nmwa_dbus_update_active_device_strength): Fix missing
18948         return value.
18949
18950 2004-12-01  Colin Walters  <walters@redhat.com>
18951
18952         * panel-applet/NMWirelessApplet.c: Add missing include.
18953
18954 2004-12-01  Colin Walters  <walters@redhat.com>
18955
18956         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18957         Remove useless CLAMP (); the value is unsigned, and the case tests
18958         qual->qual < 100, so the value must always be between 0 and 100.
18959
18960 2004-12-01  Colin Walters  <walters@redhat.com>
18961
18962         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18963
18964 2004-11-22  Colin Walters  <walters@verbum.org>
18965
18966         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18967         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18968         which is essentially a noop since nscd caches hosts on disk too.
18969         
18970 2004-11-22  Colin Walters  <walters@redhat.com>
18971
18972         * src/Makefile.am (NetworkManager_SOURCES): Add
18973         NetworkManagerDevicePrivate.h.
18974
18975 2004-11-22  Dan Williams <dcbw@redhat.com>
18976
18977         * src/NetworkManagerDevicePrivate.h
18978                 - Split out the NMDevice struct to a different file so that stuff like
18979                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18980
18981         * dhcpcd/client.c
18982                 - fprintf->syslog
18983                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18984                         need to cancel the dhcp request during the send and recv
18985
18986         * dhcpcd/client.h
18987                 - Move the DHCP option enum to dhcpcd.h
18988
18989         * src/NetworkManagerDHCP.c
18990                 - Split out the actual IP/netmask/etc setting code
18991                 - New Renew/Rebind functions
18992                 - New timer setup function for renew/rebind operations
18993
18994         * src/NetworkManagerDevice.c
18995                 - For device activation, if we are using DHCP then keep the activation thread
18996                         alive until device deactivation.  We need to renew/rebind the DHCP address
18997                         after the T1 (renew) and T2 (rebind) times have expired.
18998                 - Increase some timeouts after bringing wireless cards up/down
18999
19000 2004-11-17  Dan Williams <dcbw@redhat.com>
19001
19002         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19003                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19004                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19005                 show known access points that don't broadcast their ESSID in the menus without
19006                 any user intervention whatsoever.
19007
19008         * info-daemon/NetworkManagerInfoDbus.c
19009                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19010                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19011
19012         * src/NetworkManagerAP.[ch]
19013                 - Add a "user_addresses" data member to the NMAccessPoint structure
19014                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19015                         the user_addresses data member
19016
19017         * src/NetworkManagerAPList.c
19018                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19019                         the AP's reported address
19020                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19021
19022         * src/NetworkManagerDHCP.c
19023                 - Increase DHCP timeout from 25s -> 30s
19024
19025         * src/NetworkManagerDbus.[ch]
19026                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19027                         user addresses
19028
19029         * src/NetworkManagerDevice.c
19030                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19031                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19032                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19033                         So, we take the card down to clear it out.
19034                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19035                         too, since that's where the user_addresses are
19036
19037         * src/NetworkManagerPolicy.c
19038                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19039                         that wireless networks' user_addresses list upon successful activation
19040
19041 2004-11-16  Dan Williams <dcbw@redhat.com>
19042
19043         * src/NetworkManagerDevice.[ch]
19044                 - (nm_device_clear_activation_fail): new function
19045
19046         * src/NetworkManagerPolicy.c
19047                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19048                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19049
19050 2004-11-16  Dan Williams <dcbw@redhat.com>
19051
19052         * src/NetworkManagerDevice.c
19053                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19054                         leak the structure, better updating of now_scanning status
19055                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19056
19057 2004-11-15  Dan Williams <dcbw@redhat.com>
19058
19059         Major rework of link detection code.  We now use DHCP
19060         as part of the link detection which proves to be much more robust,
19061         and also supports Open System authentication for wireless networks.
19062
19063         We no longer use external DHCP client programs.  Instead, we use 
19064         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19065         which was written by:
19066                 Yoichi Hariguchi <yoichi@fore.com>
19067                 Sergei Viznyuk <sv@phystech.com>
19068                 http://www.phystech.com/download/
19069         It resides in the "dhcpcd" directory and was refactored into a general
19070         purpose DHCP client library by me.
19071
19072         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19073         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19074
19075 2004-11-15  Dan Williams <dcbw@redhat.com>
19076
19077         Patch from Tom Parker <palfrey@tevp.net>:
19078
19079         * src/NetworkManagerDevice.c
19080                 - Less output to console when no access
19081                         points are found during a scan
19082
19083 2004-11-15  Dan Williams <dcbw@redhat.com>
19084
19085         Patch from Tom Parker <palfrey@tevp.net>:
19086
19087         * src/backends/interface_parser.c
19088                 - Use g_strdup ()
19089                 - Check for inp == NULL
19090                 - use syslog ()
19091
19092 2004-11-13  Colin Walters  <walters@redhat.com>
19093
19094         Patch from Tom Parker <palfrey@tevp.net>:
19095
19096         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19097         
19098         * src/backends/NetworkManagerRedHat.c: Switch to
19099         including shvar.h instead of shvar.c.
19100
19101         * src/backends/NetworkManagerDebian.c: Don't include
19102         interface_parser.c in source file.
19103
19104         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19105         and interface_parser.[ch].
19106         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19107         Include shvar.c and shvar.h here.
19108         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19109         interface_parser.c and interface_parser.h here.
19110
19111 2004-11-12  Colin Walters  <walters@redhat.com>
19112
19113         * configure.in: Strip out TARGET_DISTRO and
19114         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19115         conditionals.
19116
19117         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19118         (libnmbackend_la_SOURCES): Use Automake conditionals
19119         to add distro-specific files.
19120
19121         * initscript/Makefile.am (SUBDIRS): Update to
19122         use conditionals.
19123
19124 2004-11-12  Colin Walters  <walters@redhat.com>
19125
19126         Patches from j bootlab org
19127
19128         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19129         Add interface_parser.[ch].
19130
19131         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19132         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19133
19134 2004-11-12  Colin Walters  <walters@redhat.com>
19135
19136         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19137         call to nmi_dbus_is_running too, not necessary anymore.
19138         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19139         pick up exit().
19140
19141 2004-11-11  Colin Walters  <walters@verbum.org>
19142
19143         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19144         Delete.
19145         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19146         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19147         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19148         This avoids a race condition that made it pretty easily
19149         possible to get two NetworkManagerInfo daemons running.
19150
19151 2004-11-11  Colin Walters  <walters@verbum.org>
19152         
19153         * src/NetworkManager.c (main): Use daemon(3).
19154
19155         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19156
19157         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19158
19159 2004-11-10 Dan Williams <dcbw@redhat.com>
19160
19161         Patches from j bootlab org
19162         * src/NetworkManagerDevice.c
19163                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19164                         whether the card has a link or not, some cards are slow
19165                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19166
19167         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19168                 - Disable the "Login" button on the passphrase dialog until the user
19169                         enters a valid passphrase or key
19170
19171         Patches from Tom Parker <palfrey tevp net>
19172         * src/backends/NetworkManagerDebian.c
19173                 - Add static IP support to the debian backend
19174
19175         * src/backends/interface_parser.[ch]
19176                 - Parse debian interface config files
19177
19178 2004-11-08 Dan Williams <dcbw@redhat.com>
19179
19180         * src/NetworkManagerDevice.c
19181                 - Some random fprintf->syslog conversions
19182                 - (nm_device_wireless_network_exists): double-check for network
19183                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19184
19185         * src/NetworkManagerWireless.[ch]
19186                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19187                         so that the binary->ascii conversion works (if unsigned, the bitshift
19188                         will fill with zeros, which is what's required).  Also mask bitshift
19189                         result with 0xF for futher assurance.
19190
19191 2004-11-06 Dan Williams <dcbw@redhat.com>
19192
19193         * src/NetworkManagerUtils.c
19194                 - (nm_get_wireless_driver_support_level): default to
19195                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19196                         flip this when changing from whitelist->blacklist of
19197                         wireless drivers
19198
19199 2004-11-05 Dan Williams <dcbw@redhat.com>
19200
19201         Patch from Robert Paskowitz:
19202         * src/backends/NetworkManagerGentoo.c
19203                 - Update static IP config code
19204
19205 2004-11-05 Dan Williams <dcbw@redhat.com>
19206
19207         * info-daemon/NetworkManagerInfoDbus.c
19208           src/NetworkManagerDbus.[ch]
19209           src/NetworkManagerDevice.c
19210                 - Keep track of the # of attempts to get the WEP key
19211                         from the user and pass that along to the info daemon
19212
19213 2004-11-05 Dan Williams <dcbw@redhat.com>
19214
19215         * src/NetworkManagerUtils.c
19216                 - Blacklist wireless cards rather than whitelisting them.
19217                 - Grab driver name from HAL rather than trying to find it
19218                         ourselves.
19219
19220 2004-11-03 Dan Williams <dcbw@redhat.com>
19221
19222         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19223                 - Disable OK button until valid data is entered
19224                         for encryption stuff too
19225
19226         * panel-applet/NMWirelessApplet.c
19227                 - Report card strength for current AP if the card
19228                         doesn't report strength data for scanned access
19229                         points
19230
19231         * src/NetworkManagerDevice.c
19232                 - Smooth out cards reported quality, Atmel card was
19233                         intermittently reporting no quality data but soon
19234                         recovers
19235
19236         * src/NetworkManagerWireless.c
19237                 - Better quality data percentage calculation.  Atmel
19238                         cards (mine at least) seem to report the quality
19239                         in percentage format already, so honor that
19240
19241         Patch from <j@bootlab.org>
19242         * NetworkManager.h
19243           info-daemon/NetworkManagerInfoPassphraseDialog.c
19244           info-daemon/passphrase.glade
19245           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19246           panel-applet/essid.glade
19247           src/NetworkManagerAP.c
19248           src/NetworkManagerDevice.c
19249           src/NetworkManagerWireless.[ch]
19250                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19251
19252 2004-11-03 Dan Williams <dcbw@redhat.com>
19253
19254         * src/NetworkManagerDevice.[ch]
19255                 - (nm_device_set_enc_key): Add parameter to set Authentication
19256                         Mode (Open System, Shared Key, or None).  We're still using
19257                         Shared Key for now though.
19258
19259 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19260
19261         * panel-applet/menu-info.c: change from bold text to light
19262         colored, may cause problems with some themes, i've tested a lot
19263         and they seem fine. 
19264
19265         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19266
19267 2004-11-01  Colin Walters  <walters@verbum.org>
19268
19269         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19270         (nm_wireless_128bit_key_from_passphrase): Add const.
19271
19272         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19273         (nm_ap_set_enc_key_source): Add const.
19274         
19275 2004-11-01  Colin Walters  <walters@verbum.org>
19276
19277         * .cvsignore: Update.
19278
19279 2004-10-29 Dan Williams <dcbw@redhat.com>
19280
19281         * src/NetworkManagerDevice.c
19282                 - (nm_device_wireless_network_exists): Actually use the encryption
19283                         key we got from the applet when attempting to find a wireless network
19284                 - Don't bring devices down so much since on some cards it triggers
19285                         firmware hotplugs each time
19286
19287         * src/NetworkManagerDbus.c
19288                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19289                         from the caller
19290
19291 2004-10-29 Dan Williams <dcbw@redhat.com>
19292
19293         * src/NetworkManager.c
19294                 - (nm_hal_device_property_modified): unlock a locked active
19295                         wireless device when a wired connection gets a link.
19296                         (Means you'll switch to wired whenever you plug in no
19297                         matter what).
19298
19299 2004-10-29 Dan Williams <dcbw@redhat.com>
19300
19301         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19302                 - New files, implement the "Other wireless network" dialog
19303
19304         * panel-applet/NMWirelessApplet.c
19305                 - Move "other wireless network" dialog to separate file
19306
19307         * panel-applet/NMWirelessAppletDbus.[ch]
19308                 - Take key and key_type paramaters for the set_device function
19309
19310         * panel-applet/essid.glade
19311                 - Add UI bits for encryption settings
19312
19313         * src/NetworkManagerDbus.c
19314                 - Retrieve key and key_type params for "setActiveDevice" method call
19315                         and pass them on
19316                 - unref AP returned from nm_device_get_best_ap() when needed
19317
19318         * src/NetworkManagerDevice.c
19319                 - (nm_device_get_best_ap): ref the ap before returning it
19320                 - unref AP returned from nm_device_get_best_ap() when needed
19321                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19322                         need to call nm_device_get_best_ap() here, it was pretty much
19323                         redundant anyway
19324                 - (AP_NEED_KEY): break second link check condition out into separate
19325                         function, and fix segfault when ap->enc_key_source was NULL
19326                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19327                         pass them along to nm_device_wireless_network_exists().  If the
19328                         network does exist, set the passed-in key+key_type on the AP
19329
19330         * src/NetworkManagerPolicy.c
19331                 - unref AP returned from nm_device_get_best_ap() when needed
19332
19333 2004-10-28 Dan Williams <dcbw@redhat.com>
19334
19335         * src/NetworkManagerUtils.c
19336                 - (nm_spawn_process): Fix a potential dereference of NULL
19337
19338         Patches from Peter Jones:
19339
19340         * src/NetworkManagerDevice.c
19341                 - (nm_device_test_wireless_extensions): Better check for
19342                         wireless devices
19343
19344         * src/NetworkManagerUtils.c
19345                 - (nm_spawn_process): Pass in valid stdout and stderr so
19346                         executed programs don't randomly SIGPIPE and fail
19347                 - (nm_get_wired_driver_support_level): quash hal warning
19348                         when checking for USB ethernet device
19349
19350 2004-10-27 Dan Williams <dcbw@redhat.com>
19351
19352         * info-daemon/NetworkManagerInfo.c
19353           info-daemon/NetworkManagerInfoDbus.c
19354           info-daemon/NetworkManagerInfoPassphraseDialog.c
19355           panel-applet/NMWirelessApplet.c
19356                 - Properly escape gconf keys
19357
19358         * src/NetworkManager.c
19359                 - remove unused variables
19360
19361         * src/NetworkManagerAP.c
19362                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19363                         refcount since it got set in nm_ap_new()
19364
19365         * src/NetworkManagerAPList.c
19366                 - (nm_ap_list_combine): Give up ownership of newly created
19367                         access points to the ap list, fixes memleak
19368
19369         * src/NetworkManagerDevice.c
19370                 - Remove cached_ap_list4 member since its not really needed
19371                 - (nm_device_wireless_network_exists): Try to get correct
19372                         encryption status of a found AP if its already in our
19373                         device list
19374                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19375                         memory allocs/deallocs a bit clearer and shorter-lived
19376
19377 2004-10-26 Ray Strode <rstrode@redhat.com>
19378
19379         * panel-applet/NMWirelessApplet.c:
19380           (custom_essid_item_selected):  kill some compiler
19381         warnings 
19382
19383 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19384
19385         * info-daemon/NetworkManagerInfoDbus.c
19386                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19387                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19388
19389 2004-10-23 Dan Williams <dcbw@redhat.com>
19390
19391         * info-daemon/NetworkManagerInfoDbus.c
19392                 - Trap the "DeviceActivationFailed" signal
19393
19394         * docs/NetworkManager DBUS API.txt
19395                 - Add "DeviceActivationFailed" signal
19396
19397         * panel-applet/NMWirelessAppletDbus.c
19398                 - Quash the "NetworkManager service not available" message
19399
19400         * src/NetworkManagerDbus.[ch]
19401                 - Add the "DeviceActivationFailed" signal
19402
19403         * src/NetworkManagerDevice.c
19404                 - Add support for activation_failed flag
19405                 - Fix deadlock where activation thread didn't clean itself up, making
19406                         main thread still believe it was alive forever (didn't reset activation
19407                         flags like activating, just_activated, etc when IP configuration
19408                         failed)
19409
19410         * src/NetworkManagerPolicy.c
19411                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19412                         for wireless networks, try to fall back to some other access point
19413
19414 2004-10-23 Dan Williams <dcbw@redhat.com>
19415
19416         * panel-applet/NMWirelessApplet.[ch]
19417                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19418                         to the applet object, so we can get tooltips
19419                 - Add tooltips (RH #136866)
19420
19421         * src/NetworkManagerDevice.c
19422                 - When trying to find a wireless network, try to connect with encryption
19423                         turned on first, so that we can more accurately detect whether or not
19424                         we need to use encryption for the actual association later on
19425
19426 2004-10-21 Dan Williams <dcbw@redhat.com>
19427
19428         * Add some support for telling NetworkManagerInfo to tell the user
19429                 that they are using a device that's not fully supported
19430
19431         * Fix some assertions in debug messages due to null access point args
19432
19433 2004-10-21 Dan Williams <dcbw@redhat.com>
19434
19435         * src/NetworkManagerDevice.c
19436                 - Don't try to activate/bring up/down unsupported
19437                         devices
19438
19439         * src/NetworkManagerUtils.c
19440                 - Fix case of PCI ID checks for driver support levels
19441
19442 2004-10-21 Dan Williams <dcbw@redhat.com>
19443
19444         * NetworkManager.h
19445                 - New file, now contains commonly used structures and bits
19446                         for the dbus API of NetworkManager
19447
19448         * Makefile.am
19449                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19450
19451         * src/NetworkManager.h
19452                 - Rename -> src/NetworkManagerMain.c
19453
19454         * Various fixups all around to use NetworkManager.h and new
19455                 src/NetworkManagerMain.h, remove redundant bits that got
19456                 moved into NetworkManager.h
19457
19458         * src/NetworkManagerDevice.[ch]
19459           src/NetworkManagerUtils.[ch]
19460           src/NetworkManagerPolicy.c
19461           src/NetworkManagerDbus.c
19462                 - Whitelist wireless drivers, and blacklist some wired
19463                         drivers.  Also blacklist cipsec and ethernet-over-usb
19464                         devices at this time (RH #135722, RH #135648)
19465                 - Don't leak unsupported devices out over dbus, or allow
19466                         them to be set as the active device.  Skip over them
19467                         during automatic device picking
19468
19469         * test/nmclienttest.c
19470                 - Clean up the dbus code a lot
19471
19472 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19473
19474         * configure.in: post release bump.
19475
19476 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19477
19478         * configure.in:
19479         * NEWS: Released NetworkManager-0.3.1
19480
19481 2004-10-18 Dan Williams <dcbw@redhat.com>
19482
19483         Patches from Thom May:
19484         * test/nmtestdevices.c
19485                 - Include <string.h>
19486         * src/backends/NetworkManagerDebian.c:
19487                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19488                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19489                         Move to using g_strdup_printf rather than arbitrary buffers
19490                 - (nm_system_device_setup_static_ip4_config) Implement function.
19491                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19492
19493 2004-10-17 Dan Williams <dcbw@redhat.com>
19494
19495         * info-daemon/NetworkManagerInfoDbus.c
19496                 - Display name of network in the "network not found" dialog
19497
19498         * panel-applet/NMWirelessAppletDbus.c
19499                 - (nmwa_dbus_call_nm_method): new function replaces all other
19500                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19501                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19502                         consolidated into nmwa_dbus_get_object_name()
19503
19504 2004-10-15 Dan Williams <dcbw@redhat.com>
19505
19506         * src/NetworkManagerDbus.c
19507           info-daemon/NetworkManagerInfoDbus.c
19508                 - Display an error dialog when the user tries to use an
19509                         "Other wireless network" that's not found.
19510
19511 2004-10-15 Dan Williams <dcbw@redhat.com>
19512
19513         * panel-applet/NMWirelessApplet.[ch]
19514                 - Fix up corner cases in applet state, making it
19515                         look more responsive.  Change state to "connecting" when
19516                         the user is forcing a device too.
19517
19518 2004-10-15 Dan Williams <dcbw@redhat.com>
19519
19520         * src/NetworkManagerAPList.c
19521                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19522
19523         * src/NetworkManagerDbus.c
19524                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19525
19526         * src/NetworkManagerDevice.c
19527                 - Disown APs after the device's AP list takes ownership
19528
19529 2004-10-15 Dan Williams <dcbw@redhat.com>
19530
19531         * panel-applet/NMWirelessApplet.c
19532                 - Update our applet state from the GUI thread
19533
19534         * panel-applet/NMWirelessAppletDbus.c
19535                 - Greatly simplify the locking to make the GUI thread
19536                         smoother.  Update a private copy of the device list
19537                         and active device and only when done talking to
19538                         NetworkManager turn it over to the GUI thread.
19539
19540 2004-10-15 Dan Williams <dcbw@redhat.com>
19541
19542         * src/NetworkManagerAP.[ch]
19543                 - Add "artificial" get/set functions, set for APs that
19544                         aren't discovered as part of a scan but instead
19545                         discovered by force-setting the ESSID
19546
19547         * src/NetworkManagerDevice.[ch]
19548                 - (nm_device_wireless_network_exists): pass back whether
19549                         or not the discovered AP was encrypted.  Also, try
19550                         falling back to encrypted mode on the card if unencrypted
19551                         association doesn't work
19552                 - (nm_device_find_and_use_essid): If the network requested
19553                         did in fact exists, but it wasn't in our scan list, add
19554                         an "artificial" entry for it.  Some Cisco cards don't
19555                         see non-ESSID-broadcasting APs in their scan but can still
19556                         associate with them if you know the ESSID, this works around
19557                         that behavior
19558                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19559                         to scan if the card is currently associated with that AP
19560
19561 2004-10-15 Dan Williams <dcbw@redhat.com>
19562
19563         ---- We have a website ----
19564         http://people.redhat.com/dcbw/NetworkManager
19565
19566         Patch from Robert Paskowitz:
19567         * src/NetworkManager.c
19568                 - (main): Make sure we are run as root
19569         * src/NetworkManagerDevice.c
19570                 - Fix type in ad-hoc setting function
19571
19572         Patch from Thom May:
19573         * src/backends/NetworkManagerDebian.c
19574                 - Make Debian backend compile again
19575
19576 2004-10-14 Dan Williams <dcbw@redhat.com>
19577
19578         * Tagged NetworkManager-0_3
19579
19580 2004-10-14 Dan Williams <dcbw@redhat.com>
19581
19582         Patch from Robert Paskowitz:
19583         * NEWS
19584           src/NetworkManagerDevice.[ch]
19585           src/backends/NetworkManagerDebian.c
19586           src/backends/NetworkManagerGentoo.c
19587           src/backends/NetworkManagerRedHat.c
19588           src/backends/NetworkManagerSlackware.c
19589                 - Add support for grabbing and using a broadcast address
19590                         from system config files
19591                 - Some Gentoo backend fixes for grabbing network config
19592                 - Fix LOG_WARN->LOG_WARNING
19593
19594 2004-10-14 Dan Williams <dcbw@redhat.com>
19595
19596         * NEWS: a few small fixes in the credits
19597
19598 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19599
19600         * NEWS: prep for release.
19601
19602 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19603
19604         * panel-applet/NMWirelessAppletDbus.c
19605         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19606
19607 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19608
19609         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19610         applet->state == APPLET_STATE_NO_NM animation.
19611
19612         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19613         set the text correctly.
19614
19615 2004-10-14 Dan Williams <dcbw@redhat.com>
19616
19617         * src/NetworkManager.c
19618                 - Only accept and manager 802.3 and 802.11 devices
19619
19620         * src/NetworkManagerDbus.[ch]
19621                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19622                         logic into NetworkManagerDevice.c
19623                 - (nm_dbus_network_status_from_data): new function
19624                 - (nm_dbus_signal_network_status_change): new function, unused for now
19625                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19626
19627         * src/NetworkManagerDevice.[ch]
19628                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19629                         a random ESSID.
19630
19631 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19632
19633         * info-daemon/NetworkManagerInfo.c 
19634                 - (main): Added session management
19635
19636 2004-10-14 Dan Williams <dcbw@redhat.com>
19637
19638         * panel-applet/NMWirelessAppletDbus.[ch]
19639                 - Expose network_device_[un]ref()
19640                 - Expose wireless_network_[un]ref()
19641                 - (wireless_network_new_with_essid): new function, create and return
19642                         a wireless network with a particular essid
19643
19644         * panel-applet/NMWirelessApplet.c
19645                 - Hook up the "other network" dialog to do something
19646
19647 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19648
19649         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19650         doesn't work yet, but it looks okay.
19651
19652         * panel-applet/icons/*png: Resize to 22x22 and install in the
19653         right place.
19654
19655 2004-10-13 Dan Williams <dcbw@redhat.com>
19656
19657         * panel-applet/NMWirelessApplet.c
19658                 - Add function to print out applet_state in a readable
19659                         manner
19660
19661         * src/NetworkManager.c
19662                 - (main): Don't segfault when nm_dbus_init() fails, we had
19663                         a left-over call to hal_shutdown() into which we passed NULL
19664
19665         * src/NetworkManagerAP.c
19666                 - (nm_ap_set_essid): Allow NULL essids
19667
19668         * src/NetworkManagerAPList.[ch]
19669                 - More use of nm_ap_list_[un]lock ()
19670                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19671                         network/essid, just return nothing.  Also skip over NULL
19672                         essid access points in the list when searching
19673                 - (nm_ap_list_get_ap_by_address): new function
19674                 - (nm_ap_list_update_network): set the access point's key source to
19675                         NULL when the key returned from NetworkManagerInfo is NULL or
19676                         of 0 length
19677                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19678                         copy timestamp over too
19679                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19680                         find the correct ESSID for a blank-essid access point by searching
19681                         through another list and matching access point MAC addresses
19682                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19683
19684         * src/NetworkManagerDbus.c
19685                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19686                         may specify.  This is mainly for access points that don't
19687                         broadcast their essid.  So if the user tells us to associate with
19688                         some random ESSID that's not in our access point list, we find
19689                         out if the access point does in fact exist (by attempting association
19690                         and then matching that access point's MAC address with the essid the
19691                         user gave us) and then we switch to it.
19692                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19693                         to the returned list of networks for the "getNetworks" method
19694
19695         * src/NetworkManagerDevice.[ch]
19696                 - Extra debugging info for link detection
19697                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19698                         based on MAC address
19699                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19700                 - (nm_device_wireless_network_exists): new function, find out whether
19701                         a random ESSID exists by attempting to associate with it
19702                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19703                         device list as long as they have an AP MAC address we can use.
19704                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19705                         devices too.  Lets the applet update more frequently.
19706
19707         * src/backends/NetworkManagerGentoo.c
19708                 - Patch from: Robert Paskowitz
19709                         - Update backend code for Gentoo
19710                         - Implement nm_system_device_update_config_info ()
19711
19712         * test/nmclienttest.c
19713                 - (set_network_device): new function, takes a command-line argument
19714                         and tells NetworkManager to use that wireless network
19715
19716 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19717
19718         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19719         if the notification icon crashes 5 times within 5 seconds of each respawn 
19720
19721 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19722
19723         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19724         g_print.
19725
19726 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19727
19728         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19729
19730         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19731         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19732         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19733         Change the name of the icons.
19734
19735         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19736         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19737         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19738         (nm_menu_wireless_expose_event): Really bad hack to get the style
19739         to draw in the right color.
19740
19741 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19742
19743         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19744         Notification if it crashes
19745
19746 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19747
19748         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19749         (nmwa_dbus_get_string): remove unused functions
19750
19751         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19752         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19753         remove unused functions
19754
19755         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19756
19757 2004-10-12 Dan Williams <dcbw@redhat.com>
19758
19759         * panel-applet/NMWirelessAppletDbus.c
19760                 - New functions:
19761                         wireless_network_new
19762                         wireless_network_copy
19763                         network_device_new
19764                         network_device_copy
19765
19766         * src/NetworkManagerDevice.[ch]
19767                 - New functions:
19768                         nm_device_set_mode_managed
19769                         nm_device_set_mode_adhoc
19770                 - Use these functions where appropriate
19771                 - When creating a new wireless device, force the card
19772                         to managed/Infrastructure mode as soon as possible
19773
19774 2004-10-12 Dan Williams <dcbw@redhat.com>
19775
19776         * src/NetworkManagerDevice.c
19777                 - Force wireless cards into Infrastructure mode before we use them
19778
19779 2004-10-12 Dan Williams <dcbw@redhat.com>
19780
19781         * TODO
19782                 - Remove bit about static IP address support
19783
19784         * src/NetworkManagerUtils.c
19785                 - (nm_spawn_process): Add some error reporting
19786
19787         * src/NetworkManagerDevice.c
19788                 - (nm_device_activation_configure_ip): hook up to the static config
19789                         routines in the backends
19790
19791         * src/backends/NetworkManagerRedHat.c
19792                 - (nm_system_device_update_config_info): use shvar.c routines to
19793                         parse the config file iformation, not our own
19794                 - (nm_system_device_setup_static_ip4_config): new function, based
19795                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19796                         with a static IP address and gateway
19797
19798         * src/backends/shvar.[ch]
19799                 - Parser (filched from initscripts package) for ifcfg-* files
19800
19801         * src/backends/NetworkManagerSystem.h
19802           src/backends/NetworkManagerGentoo.c
19803           src/backends/NetworkManagerDebian.c
19804           src/backends/NetworkManagerSlackware.c
19805                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19806
19807 2004-10-11 Dan Williams <dcbw@redhat.com>
19808
19809         * TODO
19810                 - Remove bit about more robust AP diffing since I just implemented it
19811
19812 2004-10-11 Dan Williams <dcbw@redhat.com>
19813
19814         * src/NetworkManagerAP.c
19815                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19816                         enough RAM to allocate new AP structures, but return NULL instead
19817
19818         * src/NetworkManagerAPList.[ch]
19819                 - (nm_ap_list_is_empty): new function
19820                 - (nm_ap_list_combine): new function, combine two access point lists
19821                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19822                         into another
19823
19824         * src/NetworkManagerDevice.[ch]
19825                 - Rename some functions to be clearer:
19826                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19827                         nm_device_just_activated     -> nm_device_is_just_activated
19828                         nm_device_activating         -> nm_device_is_activating
19829                         nm_device_now_scanning       -> nm_device_is_scanning
19830                 - Cache the last 4 scans so that the access point list is more stable.
19831                         We combine the lastest two scans and use that as the AP list,
19832                         and diff that combined list against the combination of the earliest
19833                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19834
19835 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19836
19837         * info-daemon/NWManagerInfo.h
19838                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19839
19840         * info-daemon/NWManagerInfoDbus.c
19841                 - (shutdown_callback): new function
19842                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19843                         if NetworkManager goes away.  Kill the timeout
19844                         if NetworkManager restarts before the 30 seconds
19845                         are up.
19846                 - (nmi_dbus_service_init): 
19847                         - call gtk_main_quit if NetworkManager is not running
19848                         - add filters to monitor dbus service creations and
19849                                 deletions
19850         
19851 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19852
19853         * panel-applet/NMWirelessApplet.c
19854                 - (nmwa_update_state): Hide notification icon if we are only
19855                         showing one wired card and no wireless interfaces 
19856                         (Red Hat Bug #134895)
19857
19858         * panel-applet/NMWirelessAppletDbus.c
19859                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19860
19861         * info-daemon/NWManagerInfo.c
19862                 - (main): Terminated the notification_icon_cmd array with a NULL
19863
19864 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19865
19866         * configure.in (ALL_LINGUAS): Added de (German).
19867
19868 2004-10-08 Dan Williams <dcbw@redaht.com>
19869
19870         * src/NetworkManagerDevice.c
19871                 - Be a bit more robust about link checking, ie make sure that
19872                         the WEP key we were given actually has some data in it
19873
19874 2004-10-08 Dan Williams <dcbw@redhat.com>
19875
19876         * info-daemon/NetworkManagerInfo.c (main):
19877                 - Initialize GError object to NULL
19878
19879 2004-10-08 Dan Williams <dcbw@redhat.com>
19880
19881         * panel-applet/NMWirelessAppletDbus.c
19882                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19883
19884 2004-10-08 Dan Williams <dcbw@redhat.com>
19885
19886         * info-daemon/NetworkManagerInfo.[ch]
19887           info-dameon/NetworkManagerInfoDbus.[ch]
19888           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19889                 - Preserve original label text in the passphrase dialog so that
19890                         it actually gets updated with the new network name the next
19891                         time around.  Previously, we were overwriting it so you'd get
19892                         the wrong network name to enter a key for
19893                 - Add a "Key Type" combo to the passphrase dialog, user selects
19894                         encryption key type now, type is stored in GConf too
19895                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19896
19897         * src/NetworkManagerAP.[ch]
19898                 - Remove all the encyption method magic.  It's now set by the user
19899                         and NetworkManager retrieves the type of encryption key from
19900                         NetworkManagerInfo
19901
19902         * src/NetworkManagerAPList.[ch]
19903           src/NetworkManagerDbus.[ch]
19904                 - Adjust to new way of setting encryption key and method
19905                 - Pull encryption method down from NMI along with key
19906
19907         * src/NetworkManagerDevice.[ch]
19908                 - Removed encryption method fallback magic as the method is now
19909                         determined by the user.  This greatly simplifies the connection
19910                         logic.
19911                 - More robust connection/link logic.  Besides removing the encryption
19912                         method fallback magic, check whether or not the card is receiving
19913                         invalidly encrypted packets, which usually indicates that we have
19914                         a bad WEP key set.
19915                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19916
19917         * test/nminfotest.c
19918                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19919
19920 2004-10-07 Dan Williams <dcbw@redhat.com>
19921
19922         * info-daemon/NetworkManagerInfo.conf
19923                 - Allow root user to run NMI too
19924
19925 2004-10-06 Dan Williams <dcbw@redhat.com>
19926
19927         * src/NetworkManagerDevice.[ch]
19928           src/NetworkManagerDbus.c
19929           doc/NetworkManager DBUS API.txt
19930                 - Add a new status tag "scanning", which is set when there
19931                         is no active network connection, but NetworkManager is
19932                         looking for an access point to associate with
19933
19934         * panel-applet/main.c
19935                 - Cast the applet appropriately for gtk_widget_show_all ()
19936
19937 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19938
19939         * panel-applet/eggtrayicon.[ch]:
19940         * panel-applet/main.c: Add missing file
19941
19942 2004-10-04 Dan Williams <dcbw@redhat.com>
19943
19944         * src/NetworkManagerDevice.[ch]
19945                 - Add a slightly more robust method of determining if the WEP key
19946                         is correct or not, by checking the WEP-discarded packet count
19947                         on the card
19948
19949         * info-daemon/NetworkManagerInfo.c
19950                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19951                         un-escape values we pull out rather than escaping them
19952
19953 2004-10-03  Marcel Telka  <marcel@telka.sk>
19954
19955         * configure.in (ALL_LINGUAS): Added sk.
19956
19957 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19958
19959         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19960         and feel.  We should be back to working, and have a good, clean
19961         look.
19962
19963 2004-09-30 Dan Williams <dcbw@redhat.com>
19964
19965         * info-daemon/NetworkManagerInfo.c
19966           info-daemon/NetworkManagerInfoDbus.c
19967           test/nminfotest.c
19968                 - Escape ESSIDs in gconf
19969
19970         * src/NetworkManagerDevice.c
19971                 - Fix pseudo-scanning to use netowrk list from info daemon
19972
19973 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19974
19975         * configure.in: Add a temporary --enable-notification-icon.  This
19976         will prolly go away.
19977
19978         * info-daemon/Makefile.am:
19979         * info-daemon/NetworkManagerInfo.c:
19980         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19981
19982         * panel-applet/Makefile.am:
19983         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19984         * panel-applet/NMWirelessApplet.h:
19985
19986 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19987
19988         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19989         before 'select custom ESSID'.
19990
19991         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19992         fully complete, but syncing in prep for merge.
19993
19994         * panel-applet/icons/*png: New images
19995
19996 2004-09-28 Dan Williams <dcbw@redhat.com>
19997
19998         * src/NetworkManager.c
19999           src/NetworkManagerDevice.c
20000           src/NetworkManagerPolicy.c
20001                 - Don't blow away an active wired connection on startup
20002
20003 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20004
20005         Changes from J5
20006         
20007         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20008
20009         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20010         syslog output
20011
20012 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20013
20014         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20015         have a wireless card.
20016
20017 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20018
20019         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20020         Also, get the right device strings.
20021
20022 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20023
20024         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20025         the logic to make this right.
20026
20027         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20028         devices so that wired networks are always first.
20029
20030 2004-09-22    <clarkbw@cvs.gnome.org>
20031
20032         * initscript/Debian/.cvsignore:
20033         * initscript/Slackware/.cvsignore:
20034         Added new cvsignores for Makefile, Makefile.in
20035         
20036         * test/.cvsignore:
20037         Added nmtestdevices
20038         
20039         * src/NetworkManagerDevice.c: 
20040         * src/NetworkManager.c: 
20041         Updated the wireless/wired HAL device strings from net.ethernet to
20042         net.80203 or net.80211 depending on wired or wireless respectively
20043         
20044         * examples/python/NetworkManager.py: 
20045         s/Quality/Strength/
20046
20047         * examples/python/systray/network_tray.py:
20048         Lots of little changes and fixes.  been rotting for a while so I
20049         figured I'd finally sync them all with CVS
20050
20051 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20052
20053         * configure.in: Add graphics
20054
20055         * panel-applet/Makefile.am: Add graphics
20056
20057         * panel-applet/icons/*: Add graphics
20058
20059         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20060         the icons fully lined up.
20061
20062         * panel-applet/menu-info.c: 
20063         * panel-applet/menu-info.h: Add another menu type.
20064
20065 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20066
20067         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20068
20069         * panel-applet/menu-item.[ch]: Wireless menu item.
20070
20071 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20072
20073         * info-daemon/NetworkManagerInfo.conf
20074                 - Created a more robust security policy for the DBus service
20075                         - everything is denied by default
20076                         - root can own and send to the service
20077                         - users logged in at the console can send to the service
20078
20079 2004-09-13  Dan Williams <dcbw@redhat.com>
20080
20081         * src/NetworkManagerDevice.c
20082                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20083                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20084                         the latter
20085
20086 2004-09-13  Dan Williams <dcbw@redhat.com>
20087
20088         * TODO: fix typo
20089
20090         * docs/NetworkManager DBUS API.txt
20091                 - Update for new signal strength changes
20092
20093         * panel-applet/NMWirelessApplet.c
20094                 - Make panel icon show strength of the current connection
20095                 - Cleanups and memleak fixes
20096
20097         * panel-applet/NMWirelessApplet.h
20098                 - Add data members for signal strength on devices and networks
20099
20100         * panel-applet/NMWirelessAppletDbus.c
20101                 - Free more DBusErrors
20102                 - Update for new signal strength changes
20103                 - Make devices and networks more like real objects, use ref/unref methods
20104                 - Actually unlock the mutex when updating the active device
20105
20106         * src/NetworkManagerAP.c
20107                 - Change AP functions and data members from "quality"->"strength"
20108
20109         * src/NetworkManagerDbus.c
20110                 - Kill "getMaxQuality" and "getQuality" methods
20111                 - Add "getStrength" methods for Networks and Devices
20112
20113         * src/NetworkManagerDevice.[ch]
20114                 - Add accessors for device strength
20115                 - Add functions to update strength for a device.  Note that not all drivers
20116                         actually support signal strength for scanned access points (Atmel drivers
20117                         being one)
20118                 - Calculate signal strength for each AP during scan
20119
20120         * src/NetworkManagerWireless.[ch]
20121                 - Add function to return signal strength % from a device and a raw quality struct
20122
20123         * test/nmclienttest.c
20124                 - Update for new signal strength changes
20125
20126 2004-09-11  Dan Williams <dcbw@redhat.com>
20127
20128         * src/NetworkManager.c
20129                 - Fix race condition between initscripts and NM on card insertion
20130                         which could cause a card to keep an IP address and routes around
20131                         even when it was not the active device
20132
20133         * src/NetworkManagerDbus.c
20134                 - Fix compile errors, free more DBusErrors
20135
20136 2004-09-11  Dan Williams <dcbw@redhat.com>
20137
20138         * docs/NetworkManager DBUS API.txt
20139                 - Add an explanation of NM's API
20140
20141         * src/NetworkManagerDbus.c
20142                 - Free some more DBusErrors if needed
20143
20144 2004-09-11  Dan Williams <dcbw@redhat.com>
20145
20146         * panel-applet/NMWirelessApplet.c
20147           panel-applet/NMWirelessAppletDbus.c
20148                 - Start using NetworkDevice/WirelessNetwork structures in more places
20149                 - Update for unified device/network forcing in NetworkManager
20150
20151         * src/NetworkManager.c
20152                 - some code consolidation
20153
20154         * src/NetworkManagerDbus.c
20155                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20156                         or two arguments:  the first is the NM ID of the device to switch to,
20157                         and the second (optional) argument is the ESSID of a wireless network
20158                         to use as well.
20159                 - Get rid of "setNetwork" method due to above change
20160
20161         * src/NetworkManagerDevice.c
20162                 - (nm_device_new): perform scan and update best AP on device creation
20163                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20164                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20165                         spin waiting for cancellation to finish before returning
20166
20167         * src/NetworkManagerPolicy.c
20168                 - Changes here clarify the situations in which a device switch occurs, and 
20169                         make sure to keep using a forced device and network if the user gives
20170                         us one
20171                 - Remove old unused code
20172
20173 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20174
20175         * configure.in: Added Danish (da) to ALL_LINGUAS.
20176
20177 2004-09-09  Dan Williams <dcbw@redhat.com>
20178
20179         * panel-applet/NMWirelessAppletDbus.c
20180                 - Pull fresh devices and networks from NM when wireless networks
20181                         change.  Provides faster feedback of a forced wireless network
20182
20183         * src/NetworkManagerDbus.c
20184                 - Return error when "getMaxQuality" is called on a wired device
20185                 - Make best_ap freezing actually work again, and signal cancellation
20186                         of activation if there's already a device activation when the user
20187                         freezes the best_ap
20188
20189         * src/NetworkManagerDevice.c
20190                 - Don't clear out the best_ap for wireless devices when the link goes
20191                         down, that's done elsewhere
20192                 - Kill any dhcp daemons when cancelling device activation since they
20193                         may be stuck waiting for a DHCP address, and since we're cancelling
20194                         activation we don't care about that anymore
20195
20196         * src/NetworkManagerPolicy.c
20197                 - Make sure to unref the device we ref earlier (we refed it to make sure
20198                         it stuck around during device activation and such)
20199                 - If we were going to change the best device, but its activating currently
20200                         (and therefore the change didn't occur due to the check earlier)
20201                         we mark the state changed to we come back to it later when device
20202                         activation has canceled and its no longer activating
20203
20204         * src/backends/NetworkManagerRedHat.c
20205                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20206
20207 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20208
20209         * info-daemon/passphrase.glade: 
20210         set passphrase input to activates_default : True
20211
20212         * examples/python/systray/network_tray.py
20213         (network_tray.sort_networks):
20214
20215         Added support for having wireless always scanning
20216
20217 2004-09-09  Dan Williams <dcbw@redhat.com>
20218
20219         NOTE: this commit changes the behavior of wireless devices in
20220         NetworkManager.  They are now up all the time, scanning all
20221         the time.  Only the active device has an IP address and routing
20222         information set up however.  Also, NetworkManager will no longer
20223         opportunistically switch wireless networks when a better one
20224         comes in range, it will remain associated with one wireless network
20225         until that one drops out.
20226
20227         * panel-applet/NMWirelessApplet.c
20228           panel-applet/NMWirelessAppletDbus.c
20229                 - List all wireless cards and their respective networks
20230
20231         * src/NMLoadModules
20232                 - Use full path to /sbin/ip
20233
20234         * src/NetworkManager.c
20235                 - Keep wireless devices up all the time so they can scan
20236
20237         * src/NetworkManagerDbus.c
20238                 - On a WirelessNetworkUpdate signal from NMI, don't update
20239                         the "best" AP
20240
20241         * src/NetworkManagerDevice.c
20242                 - (nm_device_set_link_active): clear out the best ap for
20243                         wireless devices when the link is set to FALSE
20244                 - Scan on all wireless cards, all the time
20245                 - (nm_device_activation_worker): split out the wireless card
20246                         link-waiting code to a separate function
20247                 - Keep wireless cards up even if device activation fails
20248                 - Don't update the "best" ap as much
20249
20250         * src/NetworkManagerPolicy.c
20251                 - Don't update the best ap when checking if its frozen,
20252                         let link checking clear out a frozen best ap for us
20253
20254         * src/NetworkManagerWireless.c
20255                 - Scan on all wireless cards, all the time
20256
20257 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20258
20259         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20260
20261 2004-09-09  Ankit Patel <ankit@redhat.com>
20262
20263         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20264
20265 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20266
20267         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20268
20269 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20270
20271         * examples/python/NetworkManager.py: 
20272         added CONNECTED, CONNECTING, and DISCONNECTED states
20273         added methods to return number of devices of a single type
20274
20275         * examples/python/systray/network_tray.py: 
20276         did some tweaks to get the menu looking near what it is supposed
20277         to look like.  Also did a Airo card hack to make it show the
20278         correct AP quality
20279
20280 2004-09-08  Dan Williams <dcbw@redhat.com>
20281
20282         * panel-applet/no-networkmanager.png
20283           panel-applet/Makefile.am
20284           panel-applet/NMWirelessApplet.c
20285                 - Add a "NetworkManager not running" icon and use it
20286                 - Use new consolidated GConf keys rather than Preferred/Trusted
20287
20288         * TODO: update
20289
20290         * info-daemon/NetworkManagerInfo.c
20291           info-daemon/NetworkManagerInfoDbus.[ch]
20292           info-daemon/NetworkManagerInfoPassphraseDialog.c
20293                 - There are now no longer two separate lists of wireless networks,
20294                         but one list where each network is "trusted" or not trusted
20295                 - Add a "getNetworkTrusted" dbus method
20296                 - "WirelessNetworkUpdate" signal now sent rather than
20297                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20298                 - Start freeing some dbus errors (not completed yet)
20299
20300         * info-daemon/passphrase.glade
20301                 - Remove the "don't show" hints for pager and taskbar
20302                 - Add a title since its going to be in the taskbar
20303
20304         * src/NetworkManager.[ch]
20305           src/NetworkManagerAPList.[ch]
20306                 - There are now no longer two separate lists of wireless networks,
20307                         but one list where each network is "trusted" or not trusted
20308
20309         * src/NetworkManagerAP.[ch]
20310                 - Add get/set "trusted" accessors and data bit
20311
20312         * src/NetworkManagerDbus.[ch]
20313                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20314                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20315
20316         * src/NetworkManagerDevice.[ch]
20317                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20318                 - (nm_device_new): Get device config from backend when initializing devices
20319                 - (nm_device_activation_worker): Split out device configuration on
20320                         activation to deal with static/dynamic IP differences, and try encryption
20321                         fallbacks on a device if the encryption method for the best AP is not good
20322                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20323                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20324
20325         * src/NetworkManagerWireless.c
20326                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20327
20328         * src/backends/NetworkManagerRedHat.c
20329           src/backends/NetworkManagerSystem.h
20330                 - (nm_system_device_update_config_info): Add function to get device configuration
20331                         from system data in ifcfg-* files
20332
20333         * src/backends/NetworkManagerDebian.c
20334           src/backends/NetworkManagerGentoo.c
20335           src/backends/NetworkManagerSlackware.c
20336                 - Add stub functions for getting device configuration
20337
20338 2004-09-07  Dan Williams <dcbw@redhat.com>
20339
20340         * src/backends/NetworkManagerRedhat.c
20341           src/backends/NetworkManagerSlackware.c
20342                 - Use full path to /sbin/ip everywhere
20343
20344 2004-09-07  Dan Williams <dcbw@redhat.com>
20345
20346         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20347
20348         * configure.in
20349           initscript/Makefile.am
20350           initscript/Slackware/Makfile.am
20351           initscript/Slackware/rc.networkmanager
20352           src/Makefile.am
20353           src/backends/NetworkManagerSlackware.c
20354                 - Add Slackware support
20355
20356 2004-09-07  Dan Williams <dcbw@redhat.com>
20357
20358         Patches below from:
20359                 <j@bootlab.org>
20360                 Mark Roach <mrroach@okmaybe.com>
20361                 Thom May <thom@debian.org>
20362
20363         * configure.in
20364           initscript/Debian/NetworkManager
20365           initscript/Debian/Makefile.am
20366                 - Initscript for Debian
20367
20368         * src/backends/NetworkManagerDebian.c
20369                 - Add missing system init function to allow compilation
20370                         on Debian
20371
20372 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20373
20374         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20375
20376 2004-09-03  Akagic Amila <bono@linux.org.ba>
20377
20378         * configure.in: Added 'bs' to ALL_LINGUAS.
20379
20380 2004-09-02  Colin Walters  <walters@verbum.org>
20381
20382         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20383         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20384         g_strdup_printf instead of arbitrarily sized buffers.
20385
20386 2004-09-01  Colin Walters  <walters@verbum.org>
20387
20388         * NetworkManager.pc.in: New file.
20389
20390         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20391
20392 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20393         
20394         * configure.in: Punjabi(pa) is added to po/.
20395
20396 2004-08-31  Dan Williams <dcbw@redhat.com>
20397
20398         * Remove 'debug' extern global from all files since we now
20399                 use syslog()
20400
20401         * src/NetworkManager.[ch]
20402                 - Break out routine that get the net.interface property from HAL,
20403                         removing that logic from nm_create_device_and_add_to_list()
20404                 - (nm_create_device_and_add_to_list): make this a bit more general so
20405                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20406                         the create of test devices.
20407                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20408                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20409                         which makes NetworkManager listen for dbus commands to create test
20410                         devices, which have no backing hardware.  Use when you're on a plane
20411                         for example, and/or forgot your wireless card at home.  Test devices
20412                         _cannot_ be created unless NM is started with --enable-test-devices.
20413
20414         * src/NetworkManagerDbus.[ch]
20415                 - New "getLinkActive" method for devices
20416                 - New "setLinkActive" method for devices (only works on test devices)
20417                 - New "createTestDevice" method on NetworkManager object to create a test
20418                         device of a specified type (ie wired, wireless).  UDI is created from
20419                         scratch, as is the interface name.  Only works when NM is started with
20420                         --enable-test-devices switch.
20421                 - New "removeTestDevice" method on NetworkManager object which removes a
20422                         test device.  Only works when NM is started with --enable-test-devices
20423
20424         * src/NetworkManagerDevice.[ch]
20425                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20426                         whether a device is a test device or not, and what its link status is.
20427                 - Deal with test devices in most functions.  For those that work directly on hardware
20428                         special-case test devices.
20429                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20430                         command-line.
20431                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20432                         checking to separate functions to facilitate test device link checking.
20433                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20434                         don't make a distinction between System Authentication and Encryption
20435                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20436                         on the card.  We don't deal with Shared Key auth yet.
20437                 - (nm_device_activation_worker): split the activation cancel check logic out into
20438                         a separate routine nm_device_activation_cancel_if_needed()
20439                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20440                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20441                         a list of fake access points that they can "see"
20442                 - (nm_device_is_test_device): return whether or not a device is a test device
20443
20444         * src/NetworkManagerPolicy.c
20445                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20446                         previously if you "locked"/forced NM to use a wireless device but then
20447                         selected a wireless network for NM to use, it would switch to a wired device.
20448                         So, if the active device is wireless and it has a "forced" best AP, use it
20449                         if the "forced" best AP is still valid
20450                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20451                         there were no usable network devices, or the last one was removed
20452
20453         * src/backends/NetworkManager*.c
20454                 - Deal with test devices, mostly just return success for operations like getting
20455                         a DHCP address
20456
20457         * test/nmtestdevices.c
20458                 - Test tool to create/remove/link-switch test devices
20459
20460 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20461
20462         * examples/python/NetworkManager.py: 
20463         added convience functions has_wired_device and has_wireless_device
20464
20465         * examples/python/systray/network_tray.py: 
20466         cleaned up a bunch of cruft, added support for listing wireless
20467         networks just like the real applet.  This is probably all I'm
20468         going to work on this applet from now on.
20469         TODO: add support for actually changing networks and devices
20470
20471         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20472         changed "nm.networks" into a dict from a list so I can store all
20473         the cool information about networks in there
20474
20475         * examples/python/systray/network_tray.py: 
20476         Added nice message when you try to run without running make first
20477
20478         * examples/python/NetworkManager.py: 
20479         Bug fixes to the code so we get all the device information
20480         that we need in get_device()
20481         
20482         * examples/python/NMTester.py: 
20483         Fixed _print_device_list to print_device_list
20484
20485 2004-08-29  Seth Nickell  <seth@gnome.org>
20486
20487         * configure.in:
20488
20489         Actually properly setup the Debian backend in configure.
20490         
20491 2004-08-29  Colin Walters  <walters@verbum.org>
20492
20493         * test/nminfotest.c: Include string.h and stdlib.h.
20494         (get_network_string_property, get_networks_of_type): Return NULL.
20495
20496         * test/nmclienttest.c (get_device_name, get_active_device): Return
20497         NULL.
20498
20499         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20500         use strlen, fgets always NULL-terminates the string.
20501
20502         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20503         dbus_message_get_member): Remove /* in comment.
20504
20505         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20506
20507         * src/NetworkManager.c (quit): Unused, delete.
20508         (nm_data_free): Cast arg to GFunc.
20509
20510         * panel-applet/NMWirelessAppletDbus.c: Need to include
20511         string.h, and dbus-glib-lowlevel.h (the latter is needed
20512         for dbus_connection_setup_with_g_main at present).
20513         (nmwa_dbus_update_wireless_network_list): Parenthesize
20514         assignment in conditional.
20515         (nmwa_dbus_worker): Return NULL.
20516
20517         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20518         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20519         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20520         (nmwa_populate_menu): Return NULL on failure, instead of just
20521         return;
20522
20523         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20524
20525         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20526         variables.
20527
20528         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20529         delete.
20530         
20531 2004-08-29  Colin Walters  <walters@verbum.org>
20532
20533         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20534         a GTimeVal instead of time_t.  This is easier to work with,
20535         since time_t may be a long or double, we don't know.
20536
20537         * src/NetworkManagerDbus.h: Update prototype.
20538         
20539         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20540         instead of time_t.
20541         (nm_ap_get_timestamp): Update to return GTimeVal.
20542         (nm_ap_set_timestamp): Update to take GTimeVal.
20543         
20544         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20545         to handle GTimeVal.
20546
20547         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20548         GTimeVal change.
20549         (nm_ap_list_print_members): Fix warnings in printf format.
20550
20551 2004-08-29  Colin Walters  <walters@verbum.org>
20552         
20553         * panel-applet/NMWirelessApplet.c: Include config.h.
20554
20555 2004-08-29  Colin Walters  <walters@verbum.org>
20556
20557         * configure.in: Generate config.h.
20558
20559         * configure.in: Dump dependency on OpenSSL; we can't
20560         use it since this package is GPL:
20561         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20562         Instead, check for libgcrypt, use it if available,
20563         otherwise use included MD5 code.
20564
20565         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20566         Suck in from gnome-keyring, munge a bit.
20567         
20568         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20569         gnome-keyring-md5.h gnome-keyring-md5.c.
20570         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20571
20572         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20573         libgcrypt or included gnome-keyring md5 bits.
20574         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20575
20576 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20577
20578         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20579
20580 2004-08-27  Bryan Clark  <bclark@redhat.com>
20581
20582         * examples/python/systray/Makefile: 
20583
20584         Updated the clean section
20585         
20586         * examples/python/systray/trayiconmodule.c: 
20587         * examples/python/systray/trayicon.override: 
20588         * examples/python/systray/network_tray.py: 
20589         * examples/python/systray/eggtrayicon.h: 
20590         * examples/python/systray/eggtrayicon.c: 
20591         * examples/python/systray/Makefile: 
20592         * examples/python/README: 
20593         * examples/python/NetworkManager.py: 
20594         * examples/python/NMTester.py: 
20595
20596         Initial commit of these python example files
20597
20598 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20599
20600         * panel-applet/NMWirelessApplet.c
20601                 - Make current device bold
20602                 - Show more user-friendly device name if we got one from hal
20603
20604         * panel-applet/NMWirelessAppletDbus.c
20605                 - Grab "info.product" key from hal for network devices
20606                 - Cache the current active device
20607
20608 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20609
20610         * configure.in: Added en_CA to ALL_LINGUAS.
20611
20612 2004-08-27  Christian Rose  <menthos@menthos.com>
20613
20614         * configure.in: Added "sv" to ALL_LINGUAS.
20615
20616 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20617
20618         * Tag NetworkManager-0.2
20619
20620 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20621
20622         * initscripts/Makefile.am
20623         * configure.in: Make pass distcheck
20624
20625         * po/ChangeLog: added
20626
20627 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20628
20629         * panel-applet/NMWirelessApplet.c
20630                 - Remove debugging code
20631                 - Enable device switching from menus
20632
20633         * panel-applet/NMWirelessAppletDbus.[ch]
20634                 - Method for asking NM to switch devices
20635
20636         * src/NetworkManagerDevice.c
20637                 - Set dev->activating earlier, avoids race between
20638                         the dbus signal of "DeviceActivating" and setting
20639                         dev->activating (which is what NM's "status" method call
20640                         looks at)
20641
20642 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20643
20644         * panel-applet/NMWirelessApplet.[ch]
20645                 - Rework menu code to add devices to menu, and to show
20646                         signal strength for each access point.  Code cleanups
20647                         too.
20648
20649         * panel-applet/NMWirelessAppletDbus.c
20650                 - Grab network devices from NetworkManager too
20651                 - Grab quality information from NM for wireless networks
20652
20653         * src/NetworkManagerDbus.[ch]
20654                 - Add dbus methods for getting the HAL UDI from a device and
20655                         for getting its base quality, if its wireless
20656                 - Consolidate some functions (wireless network notifications,
20657                         device notifications)
20658                 - Add method for requesting NM to use a particular device
20659
20660         * src/NetworkManager.c
20661                 - Change for function consolidations from NetworkManagerDbus.c
20662                 - Implement active device locking and user-requested devices
20663                         (ie, tell NM to use a particular device instead of the one
20664                         it autochose)
20665
20666         * src/NetworkManagerDevice.c
20667                 - Add method for getting the base quality of a device, if its
20668                         wireless
20669                 - Grab device base quailty info from iwlib during scans
20670
20671         * src/NetworkManagerPolicy.c
20672                 - Use a user-requested device rather than the auto-chosen device
20673                         if we are told to
20674
20675 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20676
20677         * Makefile.am: add po as a supdir
20678
20679         * autogen.sh: use gnome-autogen.sh
20680
20681         * initscript/Gentoo/.cvsignore:
20682         * initscript/RedHat/.cvsignore: Shut up cvs
20683
20684         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20685
20686         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20687         (nmwa_fill): Use gettext.
20688
20689         * configure.in: add gettext support
20690         * po/.cvsignore:
20691         * po/NetworkManager.pot:
20692         * po/POTFILES.in:
20693
20694 2004-08-26  Seth Nickell  <seth@gnome.org>
20695
20696         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20697         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20698         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20699         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20700         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20701         * panel-applet/NMWirelessApplet.h:
20702
20703         Use a menu bar instead of a button for the main clickable
20704         thingy.
20705         
20706 2004-08-25  Dan Williams <dcbw@redhat.com>
20707
20708         * src/NetworkManagerDevice.c
20709                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20710                         turning encryption off, because the Cisco driver doesn't associate
20711                         with WEP-enabled access points unless we are in "open"
20712
20713 2004-08-25  Dan Williams <dcbw@redhat.com>
20714
20715         * src/NetworkManagerWireless.c
20716                 - Don't try to defererence blank passphrases
20717
20718 2004-08-25  Dan Williams <dcbw@redhat.com>
20719
20720         * panel-applet/NMWirelessApplet.c
20721                 - Rebuild the menu whenever a user clicks
20722
20723 2004-08-25  Dan Williams <dcbw@redhat.com>
20724
20725         * panel-applet/NMWirelessApplet.c
20726                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20727                         when NM isn't around or when its not connected
20728
20729         * src/NetworkManagerDevice.c
20730                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20731                         canceled.
20732
20733 2004-08-25  Dan Williams <dcbw@redhat.com>
20734
20735         * panel-applet/NMWirelessAppletDbus.c
20736                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20737                         for getting encryption, and don't stop on "val" once we've gotten it
20738                         from NetworkManager.  Short form:  encryption should now show up.
20739
20740 2004-08-25  Dan Williams <dcbw@redhat.com>
20741
20742         * panel-applet/NMWirelessApplet.c
20743                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20744                         network to associate with
20745
20746 2004-08-25  Dan Williams <dcbw@redhat.com>
20747
20748         * panel-applet/*
20749                 - Rework the panel applet to do all DBUS communication in a separate
20750                         thread
20751
20752 2004-08-25  Dan Williams <dcbw@redhat.com>
20753
20754         * info-daemon/NetworkManagerInfo.[ch]
20755                 - Remove "get_next_priority" function
20756
20757         * info-daemon/NetworkManagerInfoDbus.[ch]
20758                 - Convert "priority" functions to "timestamp"
20759
20760 2004-08-25  Dan Williams <dcbw@redhat.com>
20761
20762         * src/NetworkManagerAP.[ch]
20763                 - Add a "enc_method_good" member and accessors to an Access Point
20764                         to signal when we've found the correct encryption method
20765                         for an access point
20766                 - Add a "timestamp" member and accessors, remove "priority" member
20767                         and accessors (use timestamps instead)
20768                 - Rename "wep_key"->"enc_key"
20769                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20770                         for a specified encryption method using the access points
20771                         source encryption key/passphrase
20772
20773         * src/NetworkManagerAPList.c
20774                 - When updating a network with dbus, grab timestamp now instead of
20775                         priority
20776
20777         * src/NetworkManagerDBus.[ch]
20778                 - Add signal for "DeviceActivating"
20779                 - Switch priority->timestamp
20780
20781         * src/NetworkManagerDevice.c
20782                 - Change references of "wep_key" -> "enc_key" or "key"
20783                 - Signal DeviceActivating when starting activation
20784                 - When activating a wireless device, if the access point we are connecting
20785                         to is encrypted, and we have a source key, try to generate a mangled
20786                         key and use that (ie, generate real WEP key from a passphrase)
20787                 - Rework device activation to fallback to other encryption methods if
20788                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20789                         first, then if that doesn't work fall back to direct hex key).
20790                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20791                         priority.  We now prefer the latest access point used, rather than using
20792                         a priority scheme
20793                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20794                         points we've just discovered, and merge in correct info from the global
20795                         access point lists
20796
20797 2004-08-25  Seth Nickell  <seth@gnome.org>
20798
20799         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20800         Debian support.
20801         
20802         * src/Makefile.am:
20803         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20804         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20805         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20806         (nm_system_delete_default_route),
20807         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20808         (nm_system_load_device_modules):
20809
20810 2004-08-24  Dan Willemsen <dan@willemsen.us>
20811
20812         * src/NetworkManager.c
20813           src/backends/NetworkManagerGentoo.c
20814           src/backends/NetworkManagerRedHat.c
20815           src/backends/NetworkManagerSystem.h
20816                 - Implement preliminary Gentoo support, adding a
20817                         nm_system_init function to the backend specification
20818
20819         * configure.in
20820                 - Distribution auto-detection, lowercase any user-fed
20821                         distribution names
20822
20823         * initscript/.cvsignore
20824           initscript/Makefile.am
20825           initscript/RedHat/Makefile.am
20826           initscript/RedHat/NetworkManager
20827           initscript/Gentoo/Makefile.am
20828           initscript/Gentoo/NetworkManager
20829                 - Refactored initscript code separately for each
20830                         distribution
20831
20832 2004-08-23  Dan Williams <dcbw@redhat.com>
20833
20834         * configure.in
20835           src/Makefile.am
20836           src/NetworkManagerDevice.c
20837           src/NetworkManager.c
20838           src/NetworkManagerUtils.[ch]
20839           src/backends/NetworkManagerSystem.h
20840           src/backends/NetworkManagerRedHat.c
20841           src/backends/NetworkManagerGentoo.c
20842                 - Refactor system-specific code into separate backends for
20843                         each distribution
20844
20845 2004-08-23  Dan Willemsen <dan@willemsen.us>
20846
20847         * dispatcher-daemon/NetworkManagerDispatcher.c
20848           info-daemon/NetworkManagerInfo.[ch]
20849           info-daemon/NetworkManagerInfoDbus.c
20850           info-daemon/NetworkManagerInfoPassphraseDialog.c
20851           src/NetworkManager.c
20852           src/NetworkManagerAP.c
20853           src/NetworkManagerAPList.c
20854           src/NetworkManagerDbus.c
20855           src/NetworkManagerDevice.c
20856           src/NetworkManagerPolicy.c
20857           src/NetworkManagerUtils.[ch]
20858           src/NetworkManagerWireless.c
20859                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20860
20861         * src/NetworkManager.c
20862                 - Fixed usage wording for --no-daemon
20863
20864 2004-08-23  Dan Williams <dcbw@redhat.com>
20865
20866         * panel-applet/NMWirelessApplet.c
20867                 - Update our state every second to get more responsive panel icon
20868                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20869                         was causing our marching ants status blips to never move when
20870                         looking for a wireless network
20871
20872         * src/NetworkManagerDevice.c
20873                 - (nm_device_activation_begin): return if activation has already begun
20874                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20875                         trusted/preferred network into the device's access point when the
20876                         scan list is processed
20877
20878 2004-08-23  Dan Williams <dcbw@redhat.com>
20879
20880         * initscript/NetworkManager
20881                 - Use NMLaunchHelper rather than sleeping
20882
20883         * initscript/NMLaunchHelper.c
20884           Makefile.am
20885                 - Add helper program that exits only when NM activates a device,
20886                         or 10 seconds have passed, whichever happens first.  This
20887                         stops the boot processes until we have a network connection,
20888                         which NM can't do because it daemonizes and brings the connection
20889                         up in the background.  Allows stuff like NFS to not die.
20890
20891 2004-08-20  Dan Williams <dcbw@redhat.com>
20892
20893         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20894                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20895                         for a network, set the essid as well since it may not exist yet
20896                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20897                         since WEP keys/passphrases are long and prone to entry-error
20898
20899         * panel-applet/Makefile.am
20900           panel-applet/wired.png
20901                 - Add (pulled from system-config-network temporarily)
20902
20903         * panel-applet/NMWirelessApplet.[ch]
20904                 - Show wired picture when a wired connection is used
20905                 - Rename wireless icon enums, adding WIRELESS
20906
20907         * src/NetworkManagerDevice.c
20908                 - (nm_device_activate_wireless): unset encryption before bringing
20909                         down the card and setting the essid
20910                 - (nm_device_activatin_worker): request a key from the user if the
20911                         AP we are connecting to is encrypted but we don't have a key
20912                         for it yet
20913                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20914                         strcmp() that prevented a user-entered key from actually getting
20915                         used
20916
20917 2004-08-16  Dan Williams <dcbw@redhat.com>
20918
20919         * initscript/NetworkManager
20920                 - Check for /sbin/ip
20921                 - Do sysctl magic that network service does
20922                 - sleep 4s after start to allow network time to come up [hack]
20923
20924         * src/Makefile.am
20925           src/NMLoadModules
20926                 - Load all network device kernel modules (hal doesn't know devices
20927                         are ethernet until the module is loaded, and therefore we don't know)
20928
20929         * src/NetworkManager.c
20930                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20931                         network devices, and bring up the loopback device explicitly
20932
20933         * src/NetworkManagerUtils.[ch]
20934                 - (nm_enable_loopback): new function
20935
20936 2004-08-13  Dan Williams <dcbw@redhat.com>
20937
20938         * configure.in
20939           panel-applet/Makefile.am
20940                 - Fix up cleanfiles and server_DATA/server_in_files
20941
20942         * README
20943                 - Update with some comments on theory of operation
20944
20945         * CONTRIBUTING
20946           Makefile.am
20947                 - Add CONTRIBUTING
20948
20949 2004-08-12  Dan Williams <dcbw@redhat.com>
20950
20951         * info-daemon/passphrase.glade
20952                 - Set window title to " "
20953
20954         * panel-applet/Makefile.am
20955           panel-applet/keyring.png
20956                 - Deliver to correct place
20957
20958         * panel-applet/NMWirelessApplet.[ch]
20959                 - Add comments
20960                 - Remove applet->have_active_device as its no longer used
20961                 - (nmwa_load_theme): load keyring.png too
20962                 - (error_dialog): remove
20963                 - (show_warning_dialog): subsume functionality of error dialog too
20964                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20965                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20966                         the networks menu
20967                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20968                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20969                         and when we get broadcasts of changed wireless access points only, not when the
20970                         user clicks on the button to display the menu (too long of a wait)
20971                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20972                         networks that are encrypted
20973                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20974                         menu item with g_object_set_data()
20975
20976         * panel-applet/NMWirelessAppletDbus.[ch]
20977                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20978                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20979                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20980                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20981                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20982                         activation/deactivation signals and rebuild the menu when they happen
20983
20984         * src/NetworkManager.c
20985                 - (main): use new nm_spawn_process() rather than system()
20986
20987         * src/NetworkManagerDbus.c
20988                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20989                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20990                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20991                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20992                         to freeze the best_ap.
20993
20994         * src/NetworkManagerDevice.[ch]
20995                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20996                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20997                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20998                         ap list
20999
21000         * src/NetworkManagerUtils.[ch]
21001                 - (nm_spawn_process): add replacement for system() usage
21002
21003 2004-08-11  Dan Williams <dcbw@redhat.com>
21004
21005         * panel-applet/NMWirelessApplet.[ch]
21006                 - Fix up copyright and credits to include Bastien and Eskil,
21007                         who created the gnome-applets wireless applet, from whose
21008                         skeleton this one was created
21009                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21010                         pixmap to draw is computed during nmwa_update_state()
21011                 - Applet now shows itself all the time due to panel packing issues
21012                         which caused the applet to previously never come back after hiding.
21013                         When a wired device is the active device, the applet shows "not connected"
21014
21015         * panel-applet/NMWirelessAppletDbus.[ch]
21016                 - Clean up error messages and show what function they are from
21017                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21018                 - Add new device type getters, and a status getter
21019
21020         * src/NetworkManagerDbus.c
21021                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21022                         network is actually in the device's ap list
21023                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21024
21025         * src/NetworkManagerDevice.c
21026                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21027                         card
21028
21029         * test/nmclienttest.c
21030                 - Report status of NetworkManager too
21031
21032 2004-08-11  Dan Williams <dcbw@redhat.com>
21033
21034         * info-daemon/NetworkManagerInfo.c:
21035                 - (main): clean up Seth's code style
21036
21037         * info-daemon/NetworkManagerInfoDbus.c:
21038                 - Use the more aptly-named path/service/interface constants from NetworkManager
21039                 - Don't return empty strings ("") as object paths ever, instead return errors
21040
21041         * panel-applet/NMWirelessApplet.c:
21042                 - Clean up Seth's code style
21043
21044         * src/NetworkManager.[ch]
21045                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21046                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21047
21048         * src/NetworkManagerAPList.[ch]
21049                 - Move Iter struct right above the iter functions to preserve opacity
21050                 - (nm_ap_list_remove_ap): implement
21051                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21052                         remove AP if NetworkManagerInfo doesn't know anything about it
21053                 - (nm_ap_list_diff): user NMAPList iterators
21054                 - (nm_ap_list_print_members): implement debugging function
21055
21056         * src/NetworkManagerDbus.[ch]
21057                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21058                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21059                         and move the actual key setting stuff into NetworkManagerDevice.c
21060                 - (nm_dbus_get_network_priority): return -1 now on errors
21061                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21062                         get lost, and force the active device to update its "best" ap when AP lists change
21063                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21064                         method call due to pending_device member removal
21065
21066         * src/NetworkManagerDevice.[ch]
21067                 - Move NMDevice structure to the top
21068                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21069                 - Remove Pending Action stuff from everywhere
21070                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21071                         activation for us.  This thread blocks until all conditions for activation have
21072                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21073                         then setup up the interface and runs dhclient.  We have to do this because there
21074                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21075                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21076                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21077                         can tell nm_device_activation_worker() that we've got a key
21078                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21079                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21080                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21081                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21082
21083         * src/NetworkManagerPolicy.c
21084                 - Remove anything to do with pending_device
21085                 - Adjust device activation to deal with activation-in-worker-thread
21086
21087         * src/NetworkManagerUtils.c
21088                 - Clean up locking debugging a bit
21089
21090         * src/NetworkManagerWireless.[ch]
21091                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21092                         was badly named and is better as a device function
21093
21094         * panel-applet/.cvsignore: add
21095
21096 2004-08-09  Seth Nickell  <seth@gnome.org>
21097
21098         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21099         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21100         (nmwa_new):
21101         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21102
21103         Don't load the menus until clicked on (also removes a call outside
21104         normal code paths at first load).
21105
21106         Hide applet when NM is not present.
21107         
21108         Improve printf debugging stuff.
21109         
21110 2004-08-09  Dan Williams <dcbw@redhat.com>
21111
21112         * dispatcher-daemon/NetworkManagerDispatcher.c:
21113                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21114                 - Use constants for NetworkManager interface, service, and path
21115
21116 2004-08-09  Dan Williams <dcbw@redhat.com>
21117
21118         * src/NetworkManagerDbus.c:
21119                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21120                         instead return an error message
21121                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21122                         on a wired device.  Also never return an empty object path, instead return an error message
21123
21124 2004-08-06  Seth Nickell  <seth@gnome.org>
21125
21126         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21127
21128         Check the error code when getting a connection.
21129         
21130         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21131
21132         Check if the NM service exists when initializing (rather than
21133         assuming it does not).
21134         
21135         * src/NetworkManagerDbus.c: (nm_dbus_init):
21136
21137         Don't acquire the well-known service name until we have
21138         registered object/path handlers and can actually receive
21139         calls.
21140         
21141 2004-08-06  Dan Williams <dcbw@redhat.com>
21142
21143         * panel-applet/*
21144                 - Add panel applet
21145
21146         * src/NetworkManagerPolicy.c
21147           src/NetworkManager.c
21148                 - Get access point lists from NetworkManagerInfo on-demand,
21149                         and look for ServiceCreate/ServiceDeleted signals to see when
21150                         we should query NMI for lists
21151         * src/NetworkManagerAPList.c
21152                 - Make sure to init the list's mutex
21153                 - Convert traversals of the list over to the list iter functions
21154
21155         * src/NetworkManagerDbus.[ch]
21156                 - Use more aptly-named path/service/interface constants
21157                 - Treat both active and pending devices the same for "getActiveDevice"
21158                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21159
21160         * src/NetworkManagerDevice.c
21161                 - Honor "ignored" network list when picking best ap to use
21162
21163 2004-08-06  Seth Nickell  <seth@gnome.org>
21164
21165         * aclocal.m4:
21166
21167         Autogenerated, remove from CVS.
21168         
21169         * autogen.sh:
21170
21171         Don't hardcode automake version.
21172         
21173         * configure.in:
21174         * info-daemon/Makefile.am:
21175         * info-daemon/NetworkManagerInfo.c: (main):
21176
21177         Use GnomeProgram et al. for doing session management.
21178         Use popt stuff for argument parsing rather than doing
21179         it manugally.
21180         
21181 2004-08-05  Dan Williams <dcbw@redhat.com>
21182
21183         * test/nminfotest.c
21184                 - Update to new NMI dbus API, check different network types
21185
21186         * info-daemon/NetworkManagerInfoDbus.c
21187                 - Update to new NM dbus API, ie network type sent in query message
21188
21189 2004-08-05  Dan Williams <dcbw@redhat.com>
21190
21191         * An assload of changes
21192
21193 2004-08-02  Dan Williams <dcbw@redhat.com>
21194
21195         * TODO
21196                 - new task: proper logging support
21197
21198         * info-daemon/NetworkManagerInfo.c
21199                 - Correct spelling of "canceled"
21200                 - Correct casting of objects for g_signal_connect()
21201
21202         * info-daemon/NetworkManagerInfoDbus.c
21203                 - Add defines for NetworkManager namespace and object path, and use them
21204                 - Add filter function to trap new signals from NetworkManager:
21205                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21206
21207         * info-daemon/passphrase.glade
21208                 - Change name of "ok" button to "Login to Network..."
21209                 - Mark invisible
21210
21211         * src/NetworkManager.c
21212                 - Code and debug message cleanups
21213                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21214                 - (nm_add_initial_devices) Check returned string array of devices
21215                         and don't try to add devices if array is NULL
21216                 - (main) Initialize libhal a bit later, make code a bit clearer
21217
21218         * src/NetworkManagerAP.[ch]
21219                 - New accessor and data member "matched": used to speed up AP list
21220                         diffing
21221                 - New accessor and data member "enc_method": will be used during key
21222                         fallback to cache which passphrase->key conversion actually works
21223                         so we don't have to do it every time
21224
21225         * src/NetworkManagerAPList.[ch]
21226                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21227                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21228                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21229                         dbus in response to those differences
21230
21231         * src/NetworkManagerDbus.[ch]
21232                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21233                         make an object path for that access point (NOTE that we don't yet check to
21234                         make sure that access point is actually in the device's AP list yet)
21235                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21236                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21237                         New: signal appearance/disappearance of wireless networks
21238                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21239                         key entry
21240
21241         * src/NetworkManagerDevice.[ch]
21242                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21243                 - (nm_device_ap_list_get) New: return the AP list (static function)
21244                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21245                         new one resulting from the scan with the old one
21246
21247         * src/NetworkManagerWireless.c
21248                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21249
21250         * test/nminfotest.c
21251                 - #define object paths and namespaces and use the #defines rather than static strings
21252                 - Test out user-key functionality of NetworkManagerInfo too
21253
21254 2004-07-29  Dan Williams <dcbw@redhat.com>
21255
21256         * info-daemon/NetworkManagerInfoDbus.c
21257           src/NetworkManagerDbus.c
21258                 - Update to current DBus (ie don't use decomposed paths when registering
21259                         object paths/fallbacks)
21260
21261 2004-07-27  Dan Williams <dcbw@redhat.com>
21262
21263         * Remove various Makefile.in files
21264
21265         * TODO
21266                 - Add some more items
21267
21268         * configure.in
21269                 - Add checks for OpenSSL/md5 headers and libs
21270
21271         * src/Makefile.am
21272                 - Use OpenSSL CFLAGS
21273
21274         * src/NetworkManagerAP.[ch]
21275                 - Remove 'stamp' functions, replace with 'invalid' functions
21276                         to support user cancelling WEP key entry
21277
21278         * src/NetworkManagerDbus.c
21279                 - Remove 'stamp' return functions
21280                 - Treat returned user key as a passphrase and convert to a WEP key,
21281                         but don't actually use the WEP key yet.  We use the returned user
21282                         key as a hexadecimal WEP key until we can figure out a UI for
21283                         passphrase-vs-hex key
21284
21285         * src/NetworkManagerWireless.[ch]
21286                 - Add passphrase-to-128bit-key function
21287
21288 2004-07-27  Dan Williams <dcbw@redhat.com>
21289
21290         * TODO
21291                 - Add a couple of items
21292
21293 2004-07-27  Dan Williams <dcbw@redhat.com>
21294
21295         * info-daemon/NetworkManagerInfo.c
21296                 - Update allowed network's GConf key when user enters a WEP key explicitly
21297
21298         * info-daemon/NetworkManagerDbus.c
21299                 - Fix some comments
21300                 - nmi_dbus_get_allowed_networks(): kill warning
21301
21302 2004-07-27  Dan Williams <dcbw@redhat.com>
21303
21304         * initscript/Makefile.in
21305                 - Remove
21306
21307         * initscript/Makefile.am
21308                 - Add correct rules to install the init.d initscript
21309
21310         * info-daemon/NetworkManagerInfoDbus.c
21311                 - Remove debug fprintf
21312
21313         * src/NetworkManagerDbus.[ch]
21314                 - Remove debug fprintfs
21315                 - Add macros for NetworkManagerInfo object path/namespace
21316                 - Use said macros instead of constant strings
21317
21318 2004-07-27  Dan Williams <dcbw@redhat.com>
21319
21320         * initscript/.cvsignore
21321                 - Add
21322
21323         * info-daemon/Makefile.am
21324                 - Install .glade files and keyring.png
21325                 - Fix stupid omission of a \ that caused half the flags not to be
21326                         passed to gcc
21327
21328         * info-daemon/NetworkManagerInfo.c
21329                 - gtk_signal_connect->g_signal_connect
21330                 - Alert NetworkManagerInfo to new glade file location
21331
21332 2004-07-27  Dan Williams <dcbw@redhat.com>
21333
21334         * test/nmclienttest.c
21335           test/nminfotest.c
21336                 - Add missing <dbus/dbus.h> headers
21337                 - Add GPL message at top
21338
21339 2004-07-27  Dan Williams <dcbw@redhat.com>
21340
21341         * src/NetworkManagerAPList.[ch]
21342           src/Makefile.am
21343                 - Add.  Deal with allowed network list additions, deletions, and updates
21344
21345         * dispatcher-daemon/NetworkManagerDispatcher.c
21346                 - Add missing <dbus/dbus.h> header
21347
21348         * info-daemon/NetworkManagerInfo.[ch]
21349                 - Add missing <dbus/dbus.h> header
21350                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21351                         network change
21352                 - Better error checking
21353
21354         * info-daemon/NetworkManagerInfoDbus.[ch]
21355                 - Add missing <dbus/dbus.h> header
21356                 - Convert to using dbus_message_append_args/dbus_message_get_args
21357                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21358                         that an allowed network changed.  We don't want to signal on individual
21359                         keys _inside_ an allowed network really, just want NM to query the info
21360                         daemon for updated info on all keys.
21361                 - Better error checking
21362
21363         * src/NetworkManager.[ch]
21364                 - Add missing <dbus/dbus.h> header
21365                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21366                 - Zero out NMData structure on free
21367                 - No longer use a thread for allowed_ap_list updating, instead its now done
21368                         through dbus queries against NetworkManagerInfo
21369                 - Populate allowed_ap_list initially before adding existing network devices
21370                         to the device list, so wireless devices can get their "best" AP
21371
21372         * src/NetworkManagerDbus.[ch]
21373                 - Convert to using dbus_message_append_args/dbus_message_get_args
21374                 - Better error checking
21375                 - Implement Allowed Network info functions to request allowed network
21376                         info from NetworkManagerInfo
21377                 - Implement the filter function to process signals from NetworkManagerInfo
21378                         about changing allowed networks
21379
21380         * src/NetworkManagerDevice.c
21381                 - Fix file descriptor leak in nm_device_update_ip4_address()
21382
21383 2004-07-27  Dan Williams <dcbw@redhat.com>
21384
21385         * .cvsignore
21386           src/.cvsignore
21387           test/.cvsignore
21388           dispatcher-daemon/.cvsignore
21389           info-daemon/.cvsignore
21390                 - Add .cvsignore files to reduce noise when diffing
21391
21392 2004-07-24  Dan Williams <dcbw@redhat.com>
21393
21394         * src/NetworkManager.[ch]
21395           src/NetworkManagerDbus.[ch]
21396           src/NetworkManagerDevice.[ch]
21397           src/NetworkManagerPolicy.c
21398           src/NetworkManagerWireless.[ch]
21399                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21400                 - Pass the NMData application data structure through all calls
21401                         that need it so we can get rid of nm_get_global_data()
21402                 - Change deallocation of the allowed_ap_list GSList in preparation
21403                         for not completely clearing it every time we get an update,
21404                         but instead getting incremental updates via GConf/dbus
21405
21406 2004-07-22  Dan Williams <dcbw@redhat.com>
21407
21408         * configure.in
21409                 - Add checks for GConf libs & headers & flags
21410
21411         * info-daemon/Makefile.am
21412                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21413
21414         * info-daemon/NetworkManagerInfo.[ch]
21415                 - Don't use gquarks for data storage, just use normal data storage
21416                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21417
21418         * info-daemon/NetworkManagerDbus.[ch]
21419                 - Add method call for getting allowed networks
21420                 - Add method calls for getting an allowed network's essid, priority, and key
21421                 - Hook the method calls up to GConf
21422                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21423                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21424                 
21425         * src/NetworkManagerDbus.[ch]
21426                 - Switch for enumeration of networks to using essid instead
21427
21428         * test/Makefile.am
21429           test/nminfotest.c
21430                 - Add test program for NetworkManagerInfo
21431
21432 2004-07-19  Dan Williams <dcbw@redhat.com>
21433
21434         * src/NetworkManagerDbus.c
21435                 - Switch from indexed device paths to names.  Less code, more efficient.
21436                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21437
21438 2004-07-19  Dan Williams <dcbw@redhat.com>
21439
21440         * dispatcher-daemon/NetworkManagerDispatcher.c
21441                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21442
21443 2004-07-19  Dan Williams <dcbw@redhat.com>
21444
21445         * Makefile.am
21446                 - Add info-daemon directory
21447
21448         * configure.in
21449                 - Check for glade libs and headers
21450                 - Add info-daemon directory
21451
21452         * src/NetworkManagerAP.c
21453                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21454                         copied over to the new AP.
21455
21456         * src/NetworkManagerDbus.c
21457           src/NetworkManagerDbus.h
21458                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21459                 - Remove nm_dbus_signal_need_key_for_network()
21460                 - Add disabled code for asynchronous user wep key callbacks
21461                 - Add functions for getting, setting, and cancelling user key operations
21462                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21463                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21464
21465         * src/NetworkManagerDevice.c
21466           src/NetworkManagerDevice.h
21467                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21468                         logic is in device activation now
21469                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21470                         key is wrong) trigger get-user-key pending action
21471                 - Implement get-user-key pending action stuff, tie to dbus messages
21472                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21473                 - Add nm_device_ap_list_get_ap_by_essid()
21474                 - Instead of copying "best" access points, ref them instead so that the key we set
21475                         sticks around
21476
21477         * src/NetworkManagerPolicy.c
21478                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21479                 - Don't cancel pending actions on a device if its the same device as last iteration
21480                 - Only promote pending_device->active_device if activation was successfull
21481
21482         * src/Makefile.am
21483                 - Rename nmclienttest->nmtest
21484
21485         * info-daemon/Makefile.am
21486           info-daemon/NetworkManagerInfo.c
21487           info-daemon/NetworkManagerInfo.h
21488           info-daemon/NetworkManagerInfoDbus.c
21489           info-daemon/NetworkManagerInfoDbus.h
21490           info-daemon/passphrase.glade
21491           info-daemon/NetworkManagerInfo.conf
21492           info-daemon/keyring.png
21493                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21494                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21495                         lists to NetworkManager by proxying user's GConf
21496           
21497
21498 2004-07-15  Dan Williams <dcbw@redhat.com>
21499
21500         * src/Makefile.am
21501                 - Turn on warnings
21502
21503         * src/NetworkManager.c
21504                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21505                         that doing the deactivation ourselves
21506                 - Cancel an pending actions on a device if its being removed
21507                 - Break up link state checking a bit, make non-active wireless cards
21508                         deactivated to save power
21509                 - Remove unused variables
21510
21511         * src/NetworkManager.h
21512                 - Add support for "pending" device
21513
21514         * src/NetworkManagerAP.h
21515           src/NetworkManagerAP.c
21516                 - Add support for determining whether and AP has encryption enabled or not
21517                 - AP address is now "struct ether_addr" rather than a string
21518
21519         * src/NetworkManagerDbus.h
21520           src/NetworkManagerDbus.c
21521                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21522                 - Changes for AP address from struct ether_addr->string
21523
21524         * src/NetworkManagerDevice.h
21525           src/NetworkManagerDevice.c
21526                 - Remove unused variables, fix warnings
21527                 - Add support for Pending Actions (things that block a device from being "active"
21528                         until they are completed).
21529                 - First pending action:  Get a WEP key from the user
21530                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21531                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21532                 - Update wireless link checking to try to determine if the AP we are associated
21533                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21534                         trigger the GetUserKey pending action on the device
21535                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21536                         up in that case, otherwise we can't scan or link-check on it
21537                 - Add IP address change notifications at appropriate points (still needs some work)
21538                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21539
21540         * src/NetworkManagerPolicy.h
21541           src/NetworkManagerPolicy.c
21542                 - Split out "best" access point determiniation into separate function
21543                 - Make device activation 2-stage:  first the device is pending, then
21544                         in the next iteration through it becomes "active" unless it has
21545                         pending actions
21546
21547         * src/NetworkManagerUtils.h
21548           src/NetworkManagerUtils.c
21549                 - Clean up unused variables and warnings
21550                 - Wrap our debug macros in {} to prevent possible confusion
21551
21552         * src/NetworkManagerWireless.c
21553                 - Forgot to return current best priority, which lead to last available AP always
21554                         being chosen no matter what its priority was.  Corrected.
21555
21556 2004-07-15  Dan Williams <dcbw@redhat.com>
21557
21558         * dispatcher-daemon/Makefile.am
21559                 - Turn on warnings
21560
21561         * dispatcher-daemon/NetworkManagerDispatcher.c
21562                 - Remove unused variables due to warnings
21563                 - Fix some comments
21564                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21565
21566 2004-07-06  Dan Williams <dcbw@redhat.com>
21567
21568         * src/NetworkManager.c
21569                 - Add IPv4 address update for active device during link state check
21570                 - Don't allow wireless cards to be powered up when they are not the
21571                         active device
21572
21573         * src/NetworkManagerDbus.c
21574           src/NetworkManagerDbus.h
21575                 - Add DBUS IPv4 address change signal
21576                 - Add DBUS IPv4 address get method for devices
21577
21578         * src/NetworkManagerDevice.c
21579                 - Make setting the WEP key actually work
21580                 - Move IP address get/set/update stuff here, per-device
21581                 - Power down/bring down wireless device when deactivated
21582                 - For scanning wireless devices, if first scan returned ENODATA, try again
21583
21584         * src/NetworkManagerPolicy.c
21585                 - Only set the WEP key for an allowed access point if there is one.
21586                         We were setting it to be blank if one wasn't specified.
21587
21588         * src/NetworkManagerUtils.h
21589           src/NetworkManagerUtils.c
21590                 - Move the IP address stuff to NetworkManagerDevice.c
21591
21592         * dispatcher-daemon/NetworkManagerDispatcher.c
21593                 - Add device IPv4 address change notification stuff
21594
21595 2004-07-05  Dan Williams <dcbw@redhat.com>
21596
21597         * dispatcher-daemon/NetworkManagerDispatcher.c
21598                 - A bit more descriptive state message
21599                 - Don't segfault when reading directory
21600
21601         * src/NetworkManager.h
21602                 - Remove NMData desired_ap member, its now
21603                         per-device rather than global
21604
21605         * src/NetworkManager.c
21606                 - Remove references to desired_ap
21607                 - Move the allowed AP list refresh stuff into a thread
21608
21609         * src/NetworkManagerDevice.c
21610           src/NetworkManagerDevice.h
21611                 - Each wireless device now has a "best ap"
21612                 - Make device activate/deactivate functions per-device
21613                 - Make wireless scanning per-device
21614                 - Add IPv4 address discover functions, stub IPv6 ones
21615                 - Move ethernet address validation functions to NetworkManagerUtils.c
21616                 - Add wireless access point accessor function
21617                 - Get/Set functions for "best ap"
21618
21619         * src/NetworkManagerPolicy.c
21620                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21621                 - Deal with per-device "best ap" rather than data->desired_apa
21622                 - Implement allowed access point worker thread
21623                 - Add nm_policy_essid_is_allowed() function
21624
21625         * src/NetworkManagerUtils.c
21626           src/NetworkManagerUtils.h
21627                 - Add nm_ethernet_address_is_valid() function
21628                 - Add IPv4/IPv6 address get functions
21629
21630         * src/NetworkManagerWireless.c
21631           src/NetworkManagerWireless.h
21632                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21633
21634 2004-06-29  Dan Williams <dcbw@redhat.com>
21635
21636         * dispatcher-daemon/NetworkManagerDispatcher.c
21637                 - Implement script callout functionality
21638
21639 2004-06-24  Dan Williams <dcbw@redhat.com>
21640
21641         * NetworkManager.c
21642             - Spacing cleanups
21643             - Flush device routes and ip addresses when added to the device list
21644
21645         * NetworkManagerDbus.c
21646             - Spacing cleanups
21647             - Add missing returns in the two signal functions
21648         
21649         * NetworkManagerPolicy.c
21650             - Spacing and variable cleanups
21651
21652 2004-06-24  Dan Williams <dcbw@redhat.com>
21653
21654         * Makefile.am
21655           Makefile.in
21656           configure.in
21657           dispatcher-daemon/Makefile.am
21658           dispatcher-daemon/Makefile.in
21659           dispatcher-daemon/NetworkManagerDispatcher.c
21660             - Add a daemon that receives signals from NetworkManager
21661                         and will (eventually) call scripts in /etc/somewhere
21662                         when devices go up or down.
21663         
21664         * NetworkManager.c
21665             - Spacing cleanups
21666             - Flush device routes and ip addresses when added to the device list
21667
21668         * NetworkManagerDbus.c
21669             - Spacing cleanups
21670             - Add missing returns in the two signal functions
21671         
21672         * NetworkManagerPolicy.c
21673             - Spacing and variable cleanups
21674             - Rename nm_policy_switch_interface->nm_policy_switch_device
21675             - nm_policy_switch_device():
21676                                 Use kill (pid) instead of system ("kill <pid>")
21677             - nm_state_modification_monitor():
21678                                 Add wireless essid to output of debug statements
21679                                 Correct typo in device compare to switch or not (should be !=)
21680                                 Don't sleep after sending "no longer active" signal, was useless
21681
21682 2004-06-24  Dan Williams <dcbw@redhat.com>
21683
21684         * Initial import