2008-11-02 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-02  Dan Williams  <dcbw@redhat.com>
2
3         * Add license headers to everything in src/
4
5 2008-11-02  Dan Williams  <dcbw@redhat.com>
6
7         * Tag 0.7.0-rc1
8
9 2008-11-02  Dan Williams  <dcbw@redhat.com>
10
11         * src/NetworkManagerAP.c
12                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
13                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
14                         secrets when connecting to an encrypted network failed
15
16 2008-10-30  Dan Williams  <dcbw@redhat.com>
17
18         * libnm-util/libnm-util.ver
19           libnm-util/nm-setting-ip6-config.c
20           libnm-util/nm-setting-ip6-config.h
21           libnm-util/Makefile.am
22                 - Make properties private and add accessor functions
23                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
24
25         * libnm-util/nm-connection.c
26           libnm-util/nm-utils.c
27           libnm-util/nm-utils.h
28                 - Ignore IPv6 stuff for now
29
30 2008-10-30  Dan Williams  <dcbw@redhat.com>
31
32         * libnm-util/libnm-util.ver
33           libnm-util/nm-setting-8021x.c
34           libnm-util/nm-setting-8021x.h
35                 - Make properties private and add accessor functions
36
37         * src/supplicant-manager/nm-supplicant-config.c
38           system-settings/plugins/ifcfg-suse/parser.c
39                 - Use 802.1x setting accessors
40
41 2008-10-30  Dan Williams  <dcbw@redhat.com>
42
43         * libnm-util/libnm-util.ver
44           libnm-util/nm-setting-wireless-security.c
45           libnm-util/nm-setting-wireless-security.h
46                 - Make properties private and add accessor functions
47
48         * libnm-util/nm-setting-wireless.c
49           src/NetworkManagerAP.c
50           src/nm-device-wifi.c
51           src/supplicant-manager/nm-supplicant-config.c
52           system-settings/plugins/ifcfg-fedora/reader.c
53           system-settings/plugins/ifcfg-suse/parser.c
54                 - Use wireless security accessors
55
56 2008-10-30  Dan Williams  <dcbw@redhat.com>
57
58         * src/nm-device-ethernet.c
59           src/nm-device-wifi.c
60           src/nm-device.c
61           src/ppp-manager/nm-ppp-manager.c
62                 - Harmonize return checking of ioctl
63
64         * system-settings/plugins/ifcfg-fedora/reader.c
65                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
66
67 2008-10-30  Dan Williams  <dcbw@redhat.com>
68
69         * src/ppp-manager/nm-ppp-manager.c
70                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
71                         ppp_generic module to create it (bgo #533064)
72
73 2008-10-30  Dan Williams  <dcbw@redhat.com>
74
75         Patch from Alexander Sack <asac@canonical.com>
76
77         Fix "ppp connections don't honour ip4 connection settings"
78
79         * src/nm-device-ethernet.c
80                 - (real_act_stage4_get_ip4_config): merge ip4config settings
81                         with results from ppp manager
82
83         * src/nm-serial-device.c
84                 - (real_act_stage4_get_ip4_config): merge ip4config settings
85                         with results from ppp manager
86
87 2008-10-29  Dan Williams  <dcbw@redhat.com>
88
89         * libnm-util/libnm-util.ver
90           libnm-util/nm-setting-ip4-config.c
91           libnm-util/nm-setting-ip4-config.h
92                 - Make properties private and add accessor functions
93
94         * callouts/nm-dispatcher-action.c
95           libnm-glib/libnm-glib-test.c
96           libnm-util/nm-utils.c
97           src/NetworkManagerPolicy.c
98           src/NetworkManagerSystem.c
99           src/NetworkManagerUtils.c
100           src/dhcp-manager/nm-dhcp-dhclient.c
101           src/dhcp-manager/nm-dhcp-manager.c
102           src/dnsmasq-manager/nm-dnsmasq-manager.c
103           src/nm-device-wifi.c
104           src/nm-device.c
105           src/nm-hso-gsm-device.c
106           src/nm-ip4-config.c
107           src/nm-ip4-config.h
108           src/ppp-manager/nm-ppp-manager.c
109           src/vpn-manager/nm-vpn-connection.c
110           system-settings/plugins/ifcfg-fedora/reader.c
111           system-settings/plugins/ifcfg-suse/parser.c
112           system-settings/plugins/ifcfg-suse/plugin.c
113           system-settings/plugins/ifupdown/parser.c
114           test/nm-tool.c
115           vpn-daemons/vpnc/properties/nm-vpnc.c
116                 - Use IP4 accessor functions
117
118 2008-10-29  Tambet Ingo  <tambet@gmail.com>
119
120         Half of it by Dan Williams <dcbw@redhat.com>
121
122         * libnm-util/libnm-util.ver
123         libnm-util/nm-setting-vpn.c
124         libnm-util/nm-setting-vpn.h
125                 - Make properties private and add accessor functions.
126
127         * src/vpn-manager/nm-vpn-connection.c
128         src/vpn-manager/nm-vpn-manager.c
129         system-settings/plugins/keyfile/reader.c
130         vpn-daemons/openvpn/properties/auth-helpers.c
131         vpn-daemons/openvpn/properties/import-export.c
132         vpn-daemons/openvpn/properties/nm-openvpn.c
133         vpn-daemons/openvpn/src/nm-openvpn-service.c
134         vpn-daemons/pptp/auth-dialog/main.c
135         vpn-daemons/pptp/properties/advanced-dialog.c
136         vpn-daemons/pptp/properties/nm-pptp.c
137         vpn-daemons/pptp/src/nm-pptp-service.c
138         vpn-daemons/vpnc/properties/nm-vpnc.c
139         vpn-daemons/vpnc/src/nm-vpnc-service.c
140                 - Use VPN setting accessors.
141
142 2008-10-28  Dan Williams  <dcbw@redhat.com>
143
144         Patch from Tambet Ingo <tambet@gmail.com>
145
146         * libnm-util/libnm-util.ver
147           libnm-util/nm-setting-wireless.c
148           libnm-util/nm-setting-wireless.h
149                 - Make properties private and add accessor functions
150
151         * src/NetworkManagerAP.c
152           src/nm-device-wifi.c
153           src/nm-manager.c
154           src/supplicant-manager/nm-supplicant-config.c
155           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
156           system-settings/plugins/ifcfg-fedora/reader.c
157           system-settings/plugins/ifcfg-suse/parser.c
158           system-settings/plugins/ifupdown/parser.c
159                 - Use wireless setting accessors
160
161 2008-10-27  Dan Williams  <dcbw@redhat.com>
162
163         Patch from Tambet Ingo <tambet@gmail.com>
164
165         * libnm-util/libnm-util.ver
166           libnm-util/nm-setting-ppp.c
167           libnm-util/nm-setting-ppp.h
168                 - Make properties private and add accessor functions
169
170         * src/ppp-manager/nm-ppp-manager.c
171                 - Use ppp setting accessors
172
173 2008-10-27  Dan Williams  <dcbw@redhat.com>
174
175         Patch from Tambet Ingo <tambet@gmail.com>
176
177         * libnm-util/nm-setting.h
178           libnm-util/nm-setting.c
179                 - Make properties private and add accessor functions
180
181         * libnm-util/nm-connection.c
182           libnm-util/nm-setting-8021x.c
183           libnm-util/nm-setting-cdma.c
184           libnm-util/nm-setting-connection.c
185           libnm-util/nm-setting-gsm.c
186           libnm-util/nm-setting-ip4-config.c
187           libnm-util/nm-setting-ip6-config.c
188           libnm-util/nm-setting-ppp.c
189           libnm-util/nm-setting-pppoe.c
190           libnm-util/nm-setting-serial.c
191           libnm-util/nm-setting-template.c
192           libnm-util/nm-setting-vpn.c
193           libnm-util/nm-setting-wired.c
194           libnm-util/nm-setting-wireless-security.c
195           libnm-util/nm-setting-wireless.c
196           system-settings/plugins/keyfile/reader.c
197           system-settings/plugins/keyfile/writer.c
198                 - Use setting accessors
199
200 2008-10-27  Dan Williams  <dcbw@redhat.com>
201
202         * libnm-util/libnm-util.ver
203           libnm-util/nm-setting-connection.c
204           libnm-util/nm-setting-connection.h
205                 - Add a 'read-only' property that indicates the connection cannot be
206                         modified
207
208         * system-settings/plugins/ifcfg-fedora/reader.c
209           system-settings/plugins/ifcfg-suse/parser.c
210           system-settings/plugins/ifupdown/parser.c
211                 - These plugins are read-only at the moment
212
213         * system-settings/plugins/keyfile/reader.c
214           system-settings/plugins/keyfile/writer.c
215                 - Read-only shouldn't get saved out to files or read in from them
216
217 2008-10-27  Tambet Ingo  <tambet@gmail.com>
218
219         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
220         correct speed reporting for fast devices (kernel >= 2.6.27).
221
222 2008-10-26  Dan Williams  <dcbw@redhat.com>
223
224         Attempt to compensate for modems that don't enable full AT parsing before
225         the PIN has been entered.
226
227         * src/nm-gsm-device.c
228                 - (init_modem): accept different init strings
229                 - (init_done): try different init strings on failure
230                 - (check_pin_done): on PIN success, do full modem init
231
232 2008-10-26  Dan Williams  <dcbw@redhat.com>
233
234         Patch from Tambet Ingo <tambet@gmail.com>
235
236         * libnm-util/libnm-util.ver
237           libnm-util/nm-setting-connection.c
238           libnm-util/nm-setting-connection.h
239                 - Make properties private and add accessor functions
240
241         * src/NetworkManagerPolicy.c
242           src/nm-cdma-device.c
243           src/nm-device-ethernet.c
244           src/nm-device-interface.c
245           src/nm-device-wifi.c
246           src/nm-gsm-device.c
247           src/nm-manager.c
248           src/ppp-manager/nm-ppp-manager.c
249           src/vpn-manager/nm-vpn-connection.c
250           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
251           system-settings/plugins/ifcfg-fedora/plugin.c
252           system-settings/plugins/ifcfg-fedora/reader.c
253           system-settings/plugins/ifcfg-suse/parser.c
254           system-settings/plugins/ifupdown/parser.c
255           system-settings/plugins/keyfile/nm-keyfile-connection.c
256           system-settings/plugins/keyfile/plugin.c
257           system-settings/plugins/keyfile/writer.c
258           system-settings/src/main.c
259                 - Use those accessors
260
261 2008-10-26  Dan Williams  <dcbw@redhat.com>
262
263         Patch from Tambet Ingo <tambet@gmail.com>
264
265         * libnm-util/libnm-util.ver
266           libnm-util/nm-setting-gsm.c
267           libnm-util/nm-setting-gsm.h
268                 - Make properties private and add accessor functions
269
270         * src/nm-gsm-device.c
271           src/nm-hso-gsm-device.c
272           src/ppp-manager/nm-ppp-manager.c
273                 - Use those accessors
274
275 2008-10-26  Dan Williams  <dcbw@redhat.com>
276
277         Patch from Tambet Ingo <tambet@gmail.com>
278
279         * libnm-util/libnm-util.ver
280           libnm-util/nm-setting-cdma.c
281           libnm-util/nm-setting-cdma.h
282                 - Make properties private and add accessor functions
283
284         * src/nm-cdma-device.c
285           src/ppp-manager/nm-ppp-manager.c
286                 - Use those accessors
287
288 2008-10-26  Dan Williams  <dcbw@redhat.com>
289
290         Patch from Tambet Ingo <tambet@gmail.com>
291
292         * libnm-util/libnm-util.ver
293           libnm-util/nm-setting-pppoe.c
294           libnm-util/nm-setting-pppoe.h
295                 - Make properties private and add accessor functions
296
297         * src/nm-device-ethernet.c
298           src/ppp-manager/nm-ppp-manager.c
299                 - Use those accessors
300
301 2008-10-26  Dan Williams  <dcbw@redhat.com>
302
303         Patch from Tambet Ingo <tambet@gmail.com>
304
305         * libnm-util/libnm-util.ver
306           libnm-util/nm-setting-wired.c
307           libnm-util/nm-setting-wired.h
308                 - Make properties private and add accessor functions
309
310         * src/nm-device-ethernet.c
311           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
312           system-settings/plugins/ifcfg-suse/parser.c
313           system-settings/src/main.c
314                 - Use those accessors
315
316 2008-10-26  Dan Williams  <dcbw@redhat.com>
317
318         Patch from Tambet Ingo <tambet@gmail.com>
319
320         * libnm-util/libnm-util.ver
321           libnm-util/nm-setting-serial.c
322           libnm-util/nm-setting-serial.h
323           src/nm-serial-device.c
324                 - Make properties private and use accessors instead
325
326 2008-10-26  Dan Williams  <dcbw@redhat.com>
327
328         * src/supplicant-manager/nm-supplicant-interface.c
329           src/supplicant-manager/nm-supplicant-interface.h
330           src/supplicant-manager/nm-supplicant-manager.c
331           src/supplicant-manager/nm-supplicant-manager.h
332                 - Add state-to-string conversion functions
333
334         * src/nm-device-wifi.c
335           src/nm-device-ethernet.c
336                 - Normalize state info logging and use strings instead of numbers
337
338 2008-10-26  Dan Williams  <dcbw@redhat.com>
339
340         * src/NetworkManagerPolicy.c
341                 - (update_routing_and_dns): ignore host routes when determining whether
342                         a VPN connection should own the default route (bgo #552594)
343
344 2008-10-24  Dan Williams  <dcbw@redhat.com>
345
346         * src/nm-gsm-device.c
347                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
348
349 2008-10-23  Dan Williams  <dcbw@redhat.com>
350
351         * src/ppp-manager/nm-ppp-manager.c
352                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
353                         add really important stuff to the command line to ensure that NM
354                         overrides /etc/ppp/options (bgo #556781)
355
356 2008-10-22  Dan Williams  <dcbw@redhat.com>
357
358         * src/NetworkManagerSystem.c
359           src/nm-device.c
360                 - Use the device's IP interface where appropriate (Per Hallsmark)
361
362 2008-10-22  Dan Williams  <dcbw@redhat.com>
363
364         * src/nm-gsm-device.c
365                 - (schedule_automatic_registration_again): use a short timeout here
366                         instead of an idle handler to avoid using too much CPU polling for
367                         something we should be waiting a bit for anyway
368
369 2008-10-22  Dan Williams  <dcbw@redhat.com>
370
371         * include/NetworkManager.h
372           introspection/nm-device.xml
373                 - Add device state change reason for carrier changes
374
375         * src/nm-device-ethernet.c
376                 - (set_carrier): use the carrier change reason when changing device
377                         state in response to carrier changes
378
379 2008-10-21  Dan Williams  <dcbw@redhat.com>
380
381         * src/NetworkManagerPolicy.c
382                 - (update_etc_hosts): don't leak errors, and ensure that
383                         g_file_set_contents() gets a valid error placeholder (rh #461933)
384
385 2008-10-21  Dan Williams  <dcbw@redhat.com>
386
387         * src/nm-manager.c
388                 - (free_get_settings_info): don't use the DBusGProxy which could be
389                         disposed of by the time the function is called
390                 - (internal_new_connection_cb): save connection scope
391                 - (connection_get_settings_cb): don't replace a connection unless it's
392                         actually different from the existing one; fixes an issue where
393                         killing the settings service wouldn't deactivate an active connection
394                         provided by that settings service, because it was using a connection
395                         that had already been replaced in the system or user hash
396
397 2008-10-21  Dan Williams  <dcbw@redhat.com>
398
399         * src/NetworkManager.c
400                 - (main): keep the DHCP manager around since it's a singleton; fixes
401                         a use-after-free exposed by r4196 since the DHCP manager singleton
402                         variable isn't cleared when the DHCP manager object is finalized
403
404 2008-10-20  Dan Williams  <dcbw@redhat.com>
405
406         * libnm-util/nm-setting-wireless-security.c
407                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
408
409 2008-10-20  Dan Williams  <dcbw@redhat.com>
410
411         * src/supplicant-manager/nm-supplicant-config.c
412                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
413
414 2008-10-20  Dan Williams  <dcbw@redhat.com>
415
416         * src/dhcp-manager/nm-dhcp-manager.c
417                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
418                         manager object already refs it once
419                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
420                         also get cleaned up by nm_dhcp_device_destroy() to prevent
421                         double-frees
422
423 2008-10-20  Dan Williams  <dcbw@redhat.com>
424
425         * src/nm-manager.c
426                 - (initial_get_connections): use private dbus manager, don't keep
427                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
428                         manager object.
429
430 2008-10-18  Dan Williams  <dcbw@redhat.com>
431
432         * libnm-glib/nm-settings.c
433           libnm-glib/nm-settings.h
434                 - Rename the "get_secrets" virtual function "service_get_secrets" to
435                         clarify when it's used; NMExportedConnetion is a base-class for both
436                         the client and service side, which is sort of confusing, and
437                         get_secrets only makes sense on the service side.
438
439         * libnm-glib/nm-dbus-connection.c
440                 - (get_secrets): remove, unused, and clients need to do extra work to
441                         get secrets anyway since the call can block on the remote side
442
443         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
444           system-settings/plugins/keyfile/nm-keyfile-connection.c
445                 - Fix up for get_secrets -> service_get_secrets
446
447 2008-10-16  Dan Williams  <dcbw@redhat.com>
448
449         * src/nm-device-wifi.c
450                 - (constructor): correctly determine encryption capabilities
451
452 2008-10-15  Dan Williams  <dcbw@redhat.com>
453
454         * src/nm-device-wifi.c
455                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
456                         (Johannes Berg)
457
458 2008-10-15  Dan Williams  <dcbw@redhat.com>
459
460         * src/NetworkManagerSystem.c
461                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
462                         if the ip4_dest is in a smaller subnet contained within a subnet
463                         the machine is currently on, the destination is in the same subnet
464                 - (nm_system_device_set_ip4_route): move subnet checks to callers
465                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
466                         subnet as the parent device, and if so, don't add the direct
467                         host route via the parent device's gateway (bgo #481620)
468                 - (nm_system_apply_ip4_config): check whether the route to be added
469                         is contained within a subnet the device is already on
470
471 2008-10-11  Dan Williams  <dcbw@redhat.com>
472
473         * include/NetworkManager.h
474           introspection/nm-device.xml
475           include/NetworkManagerVPN.h
476                 - Add a few more state reasons for the device deactivated state
477
478         * src/nm-device-interface.c
479           src/nm-device-interface.h
480                 - (nm_device_interface_deactivate): add a 'reason' argument
481
482         * src/nm-device.c
483           src/nm-device.h
484                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
485                 - (nm_device_state_changed): pass the state change reason to
486                         nm_device_take_down()
487                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
488                         to the state change function
489
490         * src/nm-manager.c
491           src/nm-manager.h
492                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
493                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
494                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
495                         something reasonable along to VPN deactivation
496
497         * src/vpn-manager/nm-vpn-manager.c
498           src/vpn-manager/nm-vpn-manager.h
499                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
500                         pass that along to nm_vpn_connection_disconnect()
501
502 2008-10-11  Dan Williams  <dcbw@redhat.com>
503
504         * src/nm-device-wifi.c
505                 - (can_scan): remove old madwifi hack for not scanning while connected
506
507 2008-10-11  Dan Williams  <dcbw@redhat.com>
508
509         Add support for VPN subnet gateways (bgo #549196)
510
511         * include/NetworkManager.h
512                 - Add key for internal VPN subnet gateway
513
514         * src/vpn-manager/nm-vpn-connection.c
515                 - (ip_address_to_string): return a const from a static buffer so we
516                         don't leak a lot of strings
517                 - (print_vpn_config): print internal VPN gateway as well
518                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
519                         VPN service too
520                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
521
522         * src/NetworkManagerSystem.c
523           src/NetworkManagerSystem.h
524                 - (nm_system_device_replace_default_ip4_route): split into two, one for
525                         VPN connections and one for normal devices
526                 - (replace_default_ip4_route): break out route stuff into its own function
527                 - (nm_system_replace_default_ip4_route_vpn,
528                    nm_system_replace_default_ip4_route): simplify by having two cases,
529                         one for VPNs and one for normal devices
530
531         * src/NetworkManagerPolicy.c
532                 - (update_routing_and_dns): simplify, use split default route replacement
533                         functions
534
535 2008-10-10  Dan Williams  <dcbw@redhat.com>
536
537         Rework default route handling to consolidate decisions in the policy,
538         and to take active VPN connections into account when changing the default
539         route (bgo #545912)
540
541         * src/NetworkManager.c
542                 - (main): pass the vpn_manager to the policy so it knows about active
543                         VPN connections; clean up the named manager which wasn't done before
544
545         * src/NetworkManagerPolicy.c
546           src/NetworkManagerPolicy.h
547                 - (nm_policy_new): get a clue about the vpn_manager
548                 - (update_default_route): remove, fold into update_routing_and_dns()
549                 - (update_routing_and_dns): handle active VPN connections too; an
550                         active VPN connection becomes the default route if it does not have
551                         server-specified or user-specified custom routes.  Otherwise, the
552                         best active device gets the default route
553                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
554                    nm_policy_destroy): track VPN connection activation and deactivation
555                         and update the default route when appropriate
556
557         * src/NetworkManagerSystem.c
558           src/NetworkManagerSystem.h
559                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
560                         in the VPN connection itself
561                 - (nm_system_vpn_device_set_from_ip4_config,
562                    nm_system_device_set_from_ip4_config): merge together to make
563                         nm_system_apply_ip4_config()
564                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
565                         via the parent device
566                 - (nm_system_apply_ip4_config): simplify
567                 - (add_ip4_route_to_gateway): new function; add a direct route to the
568                         gateway if needed
569                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
570                         route stuff out into add_ip4_route_to_gateway() for clarity
571
572         * src/nm-device.c
573                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
574
575         * src/vpn-manager/nm-vpn-connection.c
576           src/vpn-manager/nm-vpn-connection.h
577                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
578                    nm_vpn_connection_get_parent_device): add
579                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
580                         device explicit
581                 - (connection_state_changed): update the named manager now that
582                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
583                         useful on errors
584
585         * src/vpn-manager/nm-vpn-manager.c
586           src/vpn-manager/nm-vpn-manager.h
587                 - Add a 'connection-activated' signal
588                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
589                         policy to find out about active VPN connections
590
591 2008-10-10  Tambet Ingo  <tambet@gmail.com>
592
593         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
594         a daemon to prevent NM logging spew on console on startup and shutdown (due
595         to dependency loop between NM and syslog).
596
597 2008-10-10  Alexander Sack  <asac@ubuntu.com>
598
599         Implement managed mode. We bind devices configured in /etc/network/interfaces
600         to their connections by updating wired/wireless setting with the
601         mac address of the device.
602
603         * system-settings/plugins/ifupdown/plugin.c
604                 - (get_net_address_for_udi): implement function to retrieve MAC
605                         address of udi from hal in GByteArray format
606                 - (bind_device_to_connection): bind mac address of device to
607                         wired/wireless system connection
608                 - (hal_device_added_cb): call bind_device_to_connection for
609                         system connections with a matching interface.name
610                 - (hal_device_added_cb): ensure that all code paths
611                         properly free the "iface" string.
612
613 2008-10-10  Alexander Sack  <asac@ubuntu.com>
614
615         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
616         mode of the ifupdown system config plugin.
617
618         * system-settings/plugins/ifupdown/plugin.c
619                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
620                         private unmanage_well_known state field accordingly
621
622 2008-10-10  Alexander Sack  <asac@ubuntu.com>
623
624         Implement unmanaged mode that will prevent all devices in the
625         well_known_udis set from being touched by NetworkManager
626
627         * system-settings/plugins/ifupdown/plugin.c
628                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
629                         unmanage_well_known field used to turn on/off unmanaged
630                         mode
631                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
632                         signal when well_known_udis get added/removed
633                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
634                         if we are in unmanaged mode
635
636 2008-10-10  Alexander Sack  <asac@ubuntu.com>
637
638         Add support to track network devices that have a configuration
639         with a matching interface.name in /etc/network/interfaces
640
641         * system-settings/plugins/ifupdown/plugin.c
642                 - (typedef struct SCPluginIfupdownPrivate): add hash table
643                         to track |well_known_udis|
644                 - (get_iface_for_udi): helper function to get interface.name
645                         for a udi
646                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
647                         that add and remove devices to and from the well_known_udis
648                         set depending on whether their |interface.name| matches
649                         any interface definition in /etc/network/interfaces
650                 - (SCPluginIfupdown_init): connect callbacks from above with
651                         hal_mgr and setup well_known_udis hashtable
652                 - (GObject__dispose): destroy well_known_udis hashtable
653                 - (hal_device_added_cb2): implement wrapper callback with GFunc
654                         signature. user_data is supposed to be a triple (hal_mgr,
655                         config and devtype)
656                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
657                         startup and call hal_device_added_cb2
658
659 2008-10-10  Alexander Sack  <asac@ubuntu.com>
660
661         Remove implementation for not used NMSystemConfigInterface callback functions
662         in ifupdown plugin
663
664         * system-settings/plugins/ifupdown/plugin.c
665                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
666                 - (SCPluginIfupdown_connection_added): removed
667
668 2008-10-08  Dan Williams  <dcbw@redhat.com>
669
670         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
671
672         * src/NetworkManagerUtils.c
673                 - (nm_utils_call_dispatcher): add a 'hostname' action
674
675         * src/NetworkManagerPolicy.c
676                 - (set_system_hostname): dispatch hostname changes
677
678         * callouts/nm-dispatcher-action.c
679                 - (nm_dispatcher_action): handle 'hostname' actions
680
681 2008-10-08  Dan Williams  <dcbw@redhat.com>
682
683         * src/NetworkManagerSystem.c
684                 - (find_route): ref the route so it doesn't get destroyed when the cache
685                         is cleared
686                 - (nm_system_device_set_priority): unref the route here after it's done
687                         being used
688
689 2008-10-08  Dan Williams  <dcbw@redhat.com>
690
691         * src/nm-serial-device.c
692                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
693
694 2008-10-08  Tambet Ingo  <tambet@gmail.com>
695
696         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
697         connection with new settings before saving it.
698
699 2008-10-06  Dan Williams  <dcbw@redhat.com>
700
701         * src/nm-ip4-config.c
702           src/nm-ip4-config.h
703                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
704
705         * src/nm-device-interface.c
706                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
707                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
708                         by using '/' for the object path
709
710         * src/nm-device.c
711                 - (src/nm-device.c): marshal missing/unexported ip4-config through
712                         dbus as '/' since dbus-glib can't handle NULL objects nor can
713                         dbus handle NULL object paths
714
715 2008-10-03  Alexander Sack  <asac@ubuntu.com>
716
717         Implement system hostname support for debian/ubuntu
718
719         * system-settings/plugins/ifupdown/plugin.c
720                 - (GObject__get_property): extend announced capabilities; add
721                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
722                 - (GObject__set_property,write_system_hostname): implement
723                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
724                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
725                    update_system_hostname, get_hostname):
726                         implement hostname property that watches and
727                         parses /etc/hostname
728
729 2008-10-03  Alexander Sack  <asac@ubuntu.com>
730
731         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
732           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
733           system-settings/plugins/ifcfg-fedora/Makefile.am
734           system-settings/src/nm-inotify-helper.c
735           system-settings/src/nm-inotify-helper.h
736           src/Makefile.am
737                 - Move ifcfg-fedora inotify helpers to the system settings service so
738                         they are available to all plugins
739
740 2008-10-03  Alexander Sack  <asac@ubuntu.com>
741
742         Implement support for wep-tx-keyidx in ifupdown system
743         config plugin.
744
745         * system-settings/plugins/ifupdown/parser.c
746                 - (update_wireless_security_setting_from_if_block): introduce
747                         free_type_mapping func table; rename a few local
748                         variables to improve readability; add wpa security mapping
749                         for wep-tx-keyidx property
750                 - (string_to_gpointerint): new function used for the auto_type_mapping
751                         of new wep-tx-keyidx property
752                 - (slist_free_all): free func used for mapped slist types
753
754 2008-10-03  Alexander Sack  <asac@ubuntu.com>
755
756         * system-settings/src/main.c:
757                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
758                         always used as the hash key; fixes a crash when removing wired
759                         devices
760
761 2008-10-02  Dan Williams  <dcbw@redhat.com>
762
763         * src/nm-gsm-device.c
764                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
765                         pass the required GSM secret along via user_data rather than keeping
766                         it around in the private data where it sometimes didn't get cleared
767                 - (real_get_ppp_name): implement using the GSM username
768
769 2008-10-02  Dan Williams  <dcbw@redhat.com>
770
771         * src/ppp-manager/nm-ppp-manager.c
772           src/ppp-manager/nm-ppp-manager.h
773                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
774                         the settings daemon for completely new ones
775                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
776                         local PPP peer name; allow PPP debuging by launching NM with
777                         the environment variable NM_PPP_DEBUG defined
778                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
779                         create_pppd_cmd_line()
780
781         * src/nm-serial-device.c
782           src/nm-serial-device.h
783                 - New 'get_ppp_name' function for subclasses to implement to return the
784                         local PPP peer name
785                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
786                         and pass that name to the PPP manager
787
788         * src/nm-device-ethernet.c
789                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
790                         the local peer name
791
792         * src/nm-cdma-device.c
793                 - (real_get_ppp_name): implement using the CDMA username
794
795 2008-10-02  Dan Williams  <dcbw@redhat.com>
796
797         Patch from Alexander Sack <asac ubuntu com>
798
799         * system-settings/plugins/ifupdown/parser.c
800                 - Implement more graceful ip4 config parsing for cases where
801                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
802                   by using default values
803
804 2008-10-02  Dan Williams  <dcbw@redhat.com>
805
806         * src/NetworkManagerPolicy.c
807                 - (device_state_changed): when marking a connection invalid, clear its
808                         secrets too so that fresh secrets get requested the next time
809
810 2008-10-01  Dan Williams  <dcbw@redhat.com>
811
812         * system-settings/src/dbus-settings.c
813                 - (nm_sysconfig_settings_init): cache system hostname on startup as
814                         a fallback if no plugin provides a hostname
815                 - (get_property): fall back to cached hostname if no plugin provides
816                         a hostname
817
818 2008-10-01  Dan Williams  <dcbw@redhat.com>
819
820         Fix setting value comparison issue that caused some settings to look the
821         same when they were really different (rh #464417)
822
823         * libnm-util/nm-param-spec-specialized.c
824                 - (type_is_fixed_size): return fundamental size of the fixed type too
825                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
826                         in the comparison so that the _entire_ fixed type collection gets
827                         compared rather than just the first 'len1' bytes
828
829 2008-09-30  Dan Williams  <dcbw@redhat.com>
830
831         * src/NetworkManagerPolicy.c
832                 - (lookup_thread_worker): don't store the idle handler ID becuase the
833                         idle handler could have already run and freed the LookupThread
834                         structure
835
836 2008-09-30  Tambet Ingo  <tambet@gmail.com>
837
838         * src/nm-device.c (nm_device_get_priority): Implement.
839         (nm_device_set_ip4_config): Send the device priority to system ip4 
840         config setter.
841
842         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
843         Add priority argument and if it's >= 0, set the priority of the network
844         route added automatically by netlink (or kernel?).
845         (nm_system_device_set_priority): Implement.
846
847         * src/NetworkManagerPolicy.c (get_best_device): Use 
848         nm_device_get_priority() instead of home-grown version. Revert the
849         meaning, best priority is the lowest one.
850
851 2008-09-29  Dan Williams  <dcbw@redhat.com>
852
853         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
854         when it returns EAGAIN (rh #362421)
855
856         * src/nm-device-wifi.c
857                 - (wireless_get_range): try GIWRANGE a few times until the card responds
858                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
859
860 2008-09-28  Dan Williams  <dcbw@redhat.com>
861
862         * src/nm-serial-device.c
863           src/nm-serial-device.h
864                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
865                         cleaned at the right times when subclasses close the serial port too
866                 - (nm_serial_device_send_command): use a default send delay; don't
867                         spin forever on EAGAIN
868                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
869                         remove, no longer used
870                 - (find_response): return the matched response if any
871                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
872                         while doing so
873                 - (wait_for_reply_done): pass the matched response to the callback
874                 - (wait_for_reply_got_data): save the matched response; simplify timeout
875                         handling
876                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
877                         const since they never get modified
878                 - (cleanup_device): split out common cleanup stuff to a new function
879                 - (real_deactivate_quickly, finalize): use cleanup_device()
880
881         * src/nm-gsm-device.c
882                 - (modem_get_reply): remove, unused
883                 - (set_apn): give the card a bit more time to respond
884                 - (manual_registration_again, schedule_manual_registration_again,
885                    manual_registration_response, manual_registration): handle manual
886                         registration timeouts better by retrying registration a few times
887                         because cards are a bit slow after CFUN=1
888                 - (automatic_registration_get_network, get_network_response): use
889                         modem_wait_for_reply() because it interacts better with the serial
890                         buffer and does more intelligent matching; need to wait for 'OK'
891                         rather than just matching terminators
892                 - (schedule_automatic_registration_again,
893                    automatic_registration_response, automatic_registration): retry
894                         registration a few times on timeout or "searching" because cards
895                         take a bit to find a network after being powered up with CFUN=1
896                 - (power_up_response, power_up, init_full_done, enter_pin,
897                    check_pin_done): power up the card with CFUN=1 before trying to
898                         register with the network
899                 - (init_modem_full, init_modem): use more standard 3G init strings
900
901         * src/nm-hso-gsm-device.c
902                 - (modem_get_reply): remove, unused
903                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
904                         modem_wait_for_reply() to match actual responses instead of single
905                         termination characters; it doesn't leave stuff in the serial buffer
906                         that might confuse later calls
907                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
908                         to ensure that the call is really disconnected and not leave extra
909                         stuff in the serial buffer
910
911         * src/nm-cdma-device.c
912                 - (power_up_response, power_up, init_done): try Sierra-style modem
913                         power up before attempting to connect
914
915 2008-09-27  Dan Williams  <dcbw@redhat.com>
916
917         * libnm-util/nm-setting-gsm.c
918                 - (verify): verify GSM network ID
919
920 2008-09-25  Dan Williams  <dcbw@redhat.com>
921
922         * libnm-util/nm-setting-gsm.c
923           libnm-util/nm-setting-gsm.h
924                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
925                         technology terms (bgo #551361)
926
927 2008-09-25  Dan Williams  <dcbw@redhat.com>
928
929         Fix bgo #549401 (inspired by patch from Alexander Sack)
930
931         * src/nm-device-ethernet.c
932                 - (finish_supplicant_task): clean up scheduled tasks and free memory
933                 - (remove_supplicant_interface_error_handler): remove the supplicant
934                         error idle callback too
935                 - (supplicant_interface_release): rename from supplicant_interface_clean
936                         to match nm-device-wifi.c; clean up supplicant interface-related
937                         state tasks when the supplicant interface is disposed of
938                 - (schedule_state_handler): add scheduled tasks to a list so they can
939                         be cleaned up later
940                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
941                    supplicant_iface_connection_state_cb_handler): use
942                         finish_supplicant_task() to clean up each completed task
943                 - (supplicant_iface_connection_error_cb_handler,
944                    supplicant_connection_timeout_cb): clear source id when the task is
945                         complete
946                 - (supplicant_iface_connection_error_cb): save scheduled task id for
947                         later cleanup
948                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
949                         tasks
950
951         * src/nm-device-wifi.c
952                 - (finish_supplicant_task): clean up scheduled tasks and free memory
953                 - (remove_supplicant_interface_error_handler): remove the supplicant
954                         error idle callback too
955                 - (supplicant_interface_release): clean up supplicant interface-related
956                         state tasks when the supplicant interface is disposed of
957                 - (schedule_state_handler): add scheduled tasks to a list so they can
958                         be cleaned up later
959                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
960                    supplicant_iface_connection_state_cb_handler): use
961                         finish_supplicant_task() to clean up each completed task
962                 - (supplicant_iface_connection_error_cb_handler): clear source id when
963                         the task is complete
964                 - (supplicant_iface_connection_error_cb): save scheduled task id for
965                         later cleanup
966                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
967
968 2008-09-24  Tambet Ingo  <tambet@gmail.com>
969
970         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
971         method and get/set hostname property.
972
973 2008-09-24  Tambet Ingo  <tambet@gmail.com>
974
975         * src/supplicant-manager/nm-supplicant-interface.c
976         (nm_supplicant_interface_disconnect): Don't increment the reference 
977         count when disconnecting. The problem is on shutdown, when the replies
978         to these commands do not arrive before NM exits, resulting on never
979         calling supplicant interface's dispose(), which removes the interface
980         from supplicant.
981
982 2008-09-24  Tambet Ingo  <tambet@gmail.com>
983
984         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
985         all the public function arguments.
986
987 2008-09-22  Tambet Ingo  <tambet@gmail.com>
988
989         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
990         "Failure" signal from VPN plugins, store the failure reason, and
991         use it when the state is changed to failure.
992
993         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
994         description.
995
996         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
997         reason to the end of the list to not break the API.
998         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
999         so it can be shared by plugins and daemon.
1000
1001 2008-09-18  Dan Williams  <dcbw@redhat.com>
1002
1003         Patch from Alexander Sack <asac@ubuntu.com>
1004
1005         * configure.in
1006           system-settings/plugins/Makefile.am
1007           system-settings/plugins/ifupdown/Makefile.am
1008           system-settings/plugins/ifupdown/interface_parser.c
1009           system-settings/plugins/ifupdown/interface_parser.h
1010           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1011           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1012           system-settings/plugins/ifupdown/parser.c
1013           system-settings/plugins/ifupdown/parser.h
1014           system-settings/plugins/ifupdown/plugin.c
1015           system-settings/plugins/ifupdown/plugin.h
1016                 - Implement a Debian/Ubuntu legacy network configuration plugin
1017                         (gnome.org #551941)
1018
1019 2008-09-18  Dan Williams  <dcbw@redhat.com>
1020
1021         Implement support for honoring configured and automatic hostnames, and for
1022         setting the configured hostname.
1023
1024         * introspection/nm-ip4-config.xml
1025           src/nm-ip4-config.c
1026           src/nm-ip4-config.h
1027           src/dhcp-manager/nm-dhcp-manager.c
1028                 - Remove useless hostname property; it's not really part of the IPv4
1029                         config
1030
1031         * introspection/nm-settings-system.xml
1032           libnm-glib/nm-dbus-settings-system.c
1033           libnm-glib/nm-dbus-settings-system.h
1034                 - Add SetHostname() call to system settings D-Bus interface
1035                 - Add Hostname property to system settings D-Bus interface
1036                 - (nm_dbus_settings_system_save_hostname,
1037                    nm_dbus_settings_system_get_hostname): implement
1038
1039         * src/nm-device.c
1040           src/nm-device.h
1041                 - (nm_device_get_dhcp4_config): implement
1042
1043         * src/nm-manager.c
1044           src/nm-manager.h
1045                 - Fetch and track system settings service hostname changes, and proxy
1046                         the changes via a GObject property of the manager
1047
1048         * system-settings/src/nm-system-config-interface.c
1049           system-settings/src/nm-system-config-interface.h
1050                 - Replace nm_system_config_interface_supports_add() with a capabilities
1051                         bitfield
1052
1053         * system-settings/src/nm-system-config-error.c
1054           system-settings/src/nm-system-config-error.h
1055                 - Add additional errors
1056
1057         * system-settings/src/dbus-settings.c
1058           system-settings/src/dbus-settings.h
1059                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1060                         property; first plugin returning a hostname wins
1061                 - (impl_settings_add_connection): use plugin capabilities instead of
1062                         nm_system_config_interface_supports_add()
1063                 - (impl_settings_save_hostname): implement hostname saving
1064
1065         * src/NetworkManagerPolicy.c
1066                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1067                    lookup_thread_die): implement an asynchronous hostname lookup thread
1068                         which given an IPv4 address tries to look up the hostname for that
1069                         address with reverse DNS
1070                 - (get_best_device): split out best device code from
1071                         update_routing_and_dns()
1072                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1073                         to preserve the 127.0.0.1 reverse mapping that so many things require
1074                 - (set_system_hostname): set a given hostname
1075                 - (update_system_hostname): implement hostname policy; a configured
1076                         hostname (from the system settings service) is used if available,
1077                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1078                         If there was no automatically determined hostname, reverse DNS of
1079                         the best device's IP address will be used, and as a last resort the
1080                         hostname 'localhost.localdomain' is set.
1081                 - (update_routing_and_dns): use get_best_device(); update the system
1082                         hostname when the network config changes
1083                 - (hostname_changed): update system hostname if the system settings
1084                         service signals a hostname change
1085                 - (nm_policy_new): list for system settings service hostname changes
1086                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1087                         gets told to die
1088
1089         * system-settings/plugins/keyfile/plugin.c
1090           system-settings/plugins/ifcfg-suse/plugin.c
1091                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1092                         capabilities properties
1093
1094         * system-settings/plugins/ifcfg-fedora/shvar.c
1095                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1096                         writes out /etc/sysconfig/network now
1097
1098         * system-settings/plugins/ifcfg-fedora/plugin.c
1099                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1100                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1101                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1102                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1103                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1104                         hostname get/set and capabilities get
1105
1106 2008-09-18  Dan Williams  <dcbw@redhat.com>
1107
1108         * libnm-util/nm-setting-wireless.c
1109                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1110                         group ciphers if the wireless-security setting explicitly specified
1111                         them, effectively making the default be "all ciphers"  (idea from
1112                         Alexander Sack)
1113
1114 2008-09-15  Dan Williams  <dcbw@redhat.com>
1115
1116         Patch from Alexander Sack <asac@ubuntu.com>
1117
1118         * src/named-manager/nm-named-manager.c
1119                 - (dispatch_resolvconf): respect resolvconf exit code
1120
1121 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1122
1123         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1124         again. Add some debugging.
1125
1126 2008-09-11  Dan Williams  <dcbw@redhat.com>
1127
1128         * system-settings/plugins/keyfile/plugin.c
1129                 - (update_connection_settings): update connection manually, since
1130                         nm_exported_connection_update() does authentication
1131                 - (dir_changed): update_connection_settings() doesn't need to return
1132                         an error
1133
1134 2008-09-09  Dan Williams  <dcbw@redhat.com>
1135
1136         * libnm-glib/nm-vpn-plugin-ui-interface.c
1137           libnm-glib/nm-vpn-plugin-ui-interface.h
1138           libnm-glib/libnm_glib_vpn.ver
1139                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1140                         should clean up resources related to the connection (like keyring
1141                         secrets)
1142                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1143                         should save user-scope secrets (like to the keyring)
1144
1145 2008-09-08  Dan Williams  <dcbw@redhat.com>
1146
1147         Patch from Alexander Sack <asac@ubuntu.com>
1148
1149         * libnm-util/crypto_gnutls.c
1150           libnm-util/crypto_nss.c
1151                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1152
1153         * libnm-util/nm-utils.c
1154           libnm-util/nm-utils.h
1155           libnm-util/libnm-util.ver
1156                 - (nm_utils_init): initialize libnm-util
1157                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1158
1159         * libnm-util/nm-setting-8021x.c
1160                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1161
1162 2008-09-05  Dan Williams  <dcbw@redhat.com>
1163
1164         Patch from Roy Marples <roy@marples.name> and others
1165
1166         * configure.in
1167           src/named-manager/nm-named-manager.c
1168                 - Add support for resolvconf; use --with-resolvconf at configure time
1169                         to enable it
1170
1171 2008-09-05  Dan Williams  <dcbw@redhat.com>
1172
1173         * libnm-util/crypto_nss.c
1174           libnm-util/crypto_gnutls.c
1175           libnm-util/crypto.h
1176                 - (crypto_init): return error when init fails
1177
1178 2008-09-05  Dan Williams  <dcbw@redhat.com>
1179
1180         * libnm-glib/nm-device-wifi.c
1181                 - (access_point_removed_proxy): clean up the active access point too
1182                         just in case the active ap changed signal didn't come through yet
1183                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1184
1185 2008-09-05  Dan Williams  <dcbw@redhat.com>
1186
1187         * libnm-glib/nm-client.c
1188                 - (constructor): get initial state after we know whether NM is running
1189                         or not
1190
1191 2008-09-05  Dan Williams  <dcbw@redhat.com>
1192
1193         * libnm-glib/nm-ip4-config.c
1194           libnm-glib/nm-dhcp4-config.c
1195                 - (finalize): clean up the DBusGProxy
1196
1197 2008-09-04  Dan Williams  <dcbw@redhat.com>
1198
1199         * src/nm-ip4-config.c
1200           src/nm-ip4-config.h
1201                 - (nm_ip4_config_new): don't export over D-Bus here
1202                 - (nm_ip4_config_export): new function; export the config over D-Bus
1203                 - (nm_ip4_config_is_exported): new function
1204
1205         * src/nm-device.c
1206                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1207                         objects by balancing the IP4Config constructor; the device holds
1208                         a reference to the IP4Config already
1209                 - (nm_device_set_ip4_config): export the IP4Config when needed
1210
1211 2008-09-04  Dan Williams  <dcbw@redhat.com>
1212
1213         * src/supplicant-manager/nm-supplicant-settings-verify.c
1214                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1215
1216 2008-09-04  Dan Williams  <dcbw@redhat.com>
1217
1218         * libnm-util/nm-setting-vpn.c
1219           libnm-util/nm-setting-vpn.h
1220                 - Split VPN secrets from VPN data so that settings services can actually
1221                         figure out that they are secrets and store them accordingly
1222
1223         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1224           system-settings/plugins/keyfile/reader.c
1225           system-settings/plugins/keyfile/reader.h
1226           system-settings/plugins/keyfile/writer.c
1227                 - Store VPN secrets separately from VPN data so that they can be fetched
1228                         on demand
1229                 - Implement the get_secrets() call so that (a) secrets don't leak out
1230                         to unprivileged callers, and (b) secrets can be sent to privileged
1231                         callers when needed
1232
1233         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1234                 - Handle split VPN secrets
1235
1236 2008-08-27  Dan Williams  <dcbw@redhat.com>
1237
1238         * system-settings/plugins/ifcfg-fedora/reader.c
1239                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1240
1241 2008-08-27  Dan Williams  <dcbw@redhat.com>
1242
1243         Ensure zombie children get cleaned up.  To get notifications when children
1244         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1245         that requires calling waitpid() yourself if you've removed the child watch
1246         handler before the process has actually died, which NM needs to do in a few
1247         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1248         cleans up after the child when required.  Should fix problems trying to
1249         activate mobile broadband connections after a previous failure.
1250
1251         * src/dhcp-manager/nm-dhcp-dhclient.c
1252           src/dhcp-manager/nm-dhcp-dhcpcd.c
1253                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1254
1255         * src/dhcp-manager/nm-dhcp-manager.c
1256                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1257                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1258                         block on child quitting, since the non-blocking functionality was
1259                         never actually used
1260
1261         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1262                 - (dm_watch_cb): child is already reaped here
1263                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1264
1265         * src/nm-device.c
1266                 - (aipd_cleanup): block until child is dead
1267
1268         * src/named-manager/nm-named-manager.c
1269                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1270                         event bothering to watch the child
1271
1272         * src/ppp-manager/nm-ppp-manager.c
1273                 - (ppp_watch_cb): child is already reaped here
1274                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1275
1276         * src/vpn-manager/nm-vpn-service.c
1277                 - (vpn_service_watch_cb): child is already reaped here
1278                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1279                         status of the child is actually tracked
1280                 - (ensure_killed, finalize): block until child is dead
1281
1282 2008-08-26  Dan Williams  <dcbw@redhat.com>
1283
1284         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1285                 - (update): Update filename of the connection if the connection id
1286                         was changed
1287
1288         * system-settings/plugins/keyfile/plugin.c
1289                 - (dir_changed): first pass at handling connection renames correctly
1290
1291         * system-settings/plugins/keyfile/writer.c
1292           system-settings/plugins/keyfile/writer.h
1293                 - (write_connection): replace '/' with '*' when writing out the filename
1294                         from the connection id
1295
1296 2008-08-26  Dan Williams  <dcbw@redhat.com>
1297
1298         Add connection UUIDs, since connection names can be changed, and since
1299         old-style connection IDs could change over the life of the connection.  The
1300         UUID should be assigned at connection creation time, be stable for a given
1301         connection, and should be unique among all connections for a given settings
1302         service.
1303
1304         * configure.in
1305           libnm-util/Makefile.am
1306                 - Require libuuid
1307
1308         * introspection/nm-exported-connection.xml
1309                 - Remove "GetID" method
1310
1311         * libnm-glib/nm-dbus-connection.c
1312           libnm-glib/nm-settings.c
1313           libnm-glib/nm-settings.h
1314                 - Remove id-related stuff
1315
1316         * libnm-util/nm-utils.c
1317           libnm-util/nm-utils.h
1318           libnm-util/libnm-util.ver
1319                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1320                         utility functions to generate UUIDs
1321
1322         * libnm-util/nm-setting-connection.c
1323           libnm-util/nm-setting-connection.h
1324                 - Add 'uuid' member to the connection setting
1325                 - (verify): require valid 'uuid' for a valid connection
1326
1327         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1328           system-settings/plugins/ifcfg-fedora/reader.c
1329           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1330           system-settings/plugins/ifcfg-suse/parser.c
1331           system-settings/plugins/keyfile/nm-keyfile-connection.c
1332           system-settings/src/main.c
1333                 - Remove id-related stuff
1334                 - Give connections UUIDs where needed
1335
1336 2008-08-25  Dan Williams  <dcbw@redhat.com>
1337
1338         * libnm-util/crypto_gnutls.c
1339           libnm-util/crypto_nss.c
1340                 - (crypto_init, crypto_deinit): refcount init/deinit
1341                 - (crypto_md5_hash): allow NULL salt
1342
1343 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1344
1345         * libnm-glib/Makefile.am
1346           libnm-util/Makefile.am
1347           libnm-glib/libnm_glib.ver
1348           libnm-glib/libnm_glib_vpn.ver
1349           libnm-util/libnm-util.ver
1350                 - Use linker version scripts to control the list of exported 
1351                 symbols. List each exported symbol explicitely.
1352         * libnm-util/Makefile.am
1353                 - Fix compilation of the test-crypto binary. The crypto
1354                 functions are no longer part of the libnm-util API. Add 
1355                 crypto_*.c to test_crypto_SOURCES and link against the correct
1356                 crypto libraries.
1357
1358 2008-08-19  Dan Williams  <dcbw@redhat.com>
1359
1360         * configure.in
1361           test/Makefile.am
1362                 - Don't build test/test-common
1363                 - Remove unused stuff
1364
1365         * test/nm-set-fallback
1366           test/nmtestdevices.c
1367           test/test-common/.cvsignore
1368           test/test-common/Makefile.am
1369           test/test-common/test-common.c
1370           test/test-common/test-common.h
1371                 - delete
1372
1373 2008-08-18  Dan Williams  <dcbw@redhat.com>
1374
1375         * libnm-util/nm-utils.c
1376           libnm-util/nm-utils.h
1377                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1378                         export anything that needs to be converted with this function
1379
1380         * src/dhcp-manager/nm-dhcp-manager.c
1381                 - (garray_to_string): convert a byte array to a UTF-8 string with
1382                         minimal validation; the DHCP client sends it in ASCII anyway
1383                 - (get_option, copy_option): use garray_to_string()
1384
1385 2008-08-18  Dan Williams  <dcbw@redhat.com>
1386
1387         * include/NetworkManager.h
1388           introspection/nm-device.xml
1389                 - Add a "missing firmware" device state reason
1390
1391         * src/NetworkManagerSystem.c
1392           src/NetworkManagerSystem.h
1393                 - (nm_system_device_set_up_down): add a no_firmware argument
1394                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1395                         IFF_UP is ENOENT, that almost always means missing firmware
1396
1397         * src/backends/NetworkManagerGeneric.c
1398           src/nm-device-ethernet.c
1399           src/nm-device-private.h
1400           src/nm-device-wifi.c
1401           src/nm-device.c
1402           src/nm-device.h
1403           src/nm-hso-gsm-device.c
1404           src/vpn-manager/nm-vpn-connection.c
1405                 - Pass no_firmware along; check it where appropriate
1406
1407 2008-08-18  Dan Williams  <dcbw@redhat.com>
1408
1409         Patch from Robert Buchholz <rbu@gentoo.org>
1410
1411         * autogen.sh
1412           configure.in
1413                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1414                         1003.1-1988, allowing for file names longer than 99 characters
1415
1416 2008-08-17  Dan Williams  <dcbw@redhat.com>
1417
1418         * include/NetworkManager.h
1419           introspection/nm-device.xml
1420           src/nm-gsm-device.c
1421                 - Finer-grained GSM registration failure error codes
1422
1423 2008-08-17  Dan Williams  <dcbw@redhat.com>
1424
1425         * callouts/Makefile.am
1426           src/Makefile.am
1427                 - Move dispatcher directory creation to callouts/Makefile.am
1428
1429         * system-settings/plugins/keyfile/Makefile.am
1430                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1431
1432 2008-08-15  Dan Williams  <dcbw@redhat.com>
1433
1434         Do connection sharing in a cleaner manner; all required iptables rules
1435         are now stored in the activation request and pertain only to the device
1436         which is being shared to other computers. (rh #458625)
1437
1438         * src/nm-activation-request.c
1439           src/nm-activation-request.h
1440                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1441                         the activation request which will get torn down automatically when
1442                         the activation request dies
1443                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1444                         is started, and tear them down when sharing is stopped
1445
1446         * src/nm-device.c
1447                 - (start_sharing): start up sharing by doing the required iptables magic
1448                 - (share_init): poke the right bits of the kernel and load the right
1449                         modules for NAT
1450                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1451                         connection if it's a 'shared' connection
1452
1453         * src/NetworkManagerPolicy.c
1454                 - Remove all sharing stuff; done in the device code itself
1455
1456 2008-08-15  Dan Williams  <dcbw@redhat.com>
1457
1458         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1459                 - (create_dm_cmd_line): send the right router address
1460
1461 2008-08-15  Dan Williams  <dcbw@redhat.com>
1462
1463         * src/ppp-manager/nm-ppp-manager.c
1464                 - (pppd_timed_out): ensure timeouts fail the connection
1465
1466 2008-08-14  Dan Williams  <dcbw@redhat.com>
1467
1468         * src/nm-properties-changed-signal.c
1469           src/nm-properties-changed-signal.h
1470                 - Add a property spec flag for "don't export this property" in
1471                         property changed signals
1472
1473         * src/nm-hso-gsm-device.c
1474           src/nm-gsm-device.c
1475           src/nm-cdma-device.c
1476                 - Don't export monitor interface or netdev interface properties
1477
1478 2008-08-14  Dan Williams  <dcbw@redhat.com>
1479
1480         * src/NetworkManagerPolicy.c
1481                 - (update_routing_and_dns): 'hso' devices can be default even if they
1482                         don't have a gateway
1483
1484 2008-08-14  Dan Williams  <dcbw@redhat.com>
1485
1486         * src/nm-device.c
1487                 - (nm_device_deactivate_quickly): tear down activation request after
1488                         calling device-specific deactivation
1489
1490         * src/nm-hso-gsm-device.c
1491                 - (real_deactivate_quickly): terminate connection when deactivating
1492
1493 2008-08-14  Dan Williams  <dcbw@redhat.com>
1494
1495         * src/nm-activation-request.h
1496                 - Add HSO secrets caller
1497
1498         * src/nm-gsm-device.c
1499           src/nm-gsm-device.h
1500                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1501                         something to the callback function
1502                 - (set_apn, set_apn_done): call class dial function, not a static one
1503                 - (nm_gsm_device_class_init): add a class 'dial' function
1504
1505         * src/nm-hal-manager.c
1506                 - (get_hso_netdev): find the hso-driven hardware's net device
1507                 - (modem_device_creator): recognize hso-driven hardware and create the
1508                         right type of device object for it
1509
1510         * src/Makefile.am
1511           src/nm-hso-gsm-device.c
1512           src/nm-hso-gsm-device.h
1513                 - Implement support for devices driven by the 'hso' driver as a subclass
1514                         of NMGsmDevice
1515
1516 2008-08-14  Dan Williams  <dcbw@redhat.com>
1517
1518         * src/NetworkManagerSystem.c
1519                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1520                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1521                         success if the operation really was successful
1522
1523 2008-08-14  Dan Williams  <dcbw@redhat.com>
1524
1525         * src/nm-netlink-monitor.c
1526           src/nm-netlink-monitor.h
1527           src/nm-device-ethernet.c
1528                 - (nm_netlink_monitor_request_status): return an error on failure
1529                 - (constructor): don't segfault on missing error
1530
1531 2008-08-13  Dan Williams  <dcbw@redhat.com>
1532
1533         * callouts/nm-dispatcher-action.c
1534                 - Add IP4 config info to script environment
1535
1536 2008-08-12  Dan Williams  <dcbw@redhat.com>
1537
1538         * src/nm-device.c
1539                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1540                         that want to use DHCP hostnames should use dispatcher scripts
1541                         for that
1542
1543         * src/NetworkManagerSystem.h
1544           src/backends/NetworkManagerArch.c
1545           src/backends/NetworkManagerDebian.c
1546           src/backends/NetworkManagerFrugalware.c
1547           src/backends/NetworkManagerGeneric.c
1548           src/backends/NetworkManagerGeneric.h
1549           src/backends/NetworkManagerGentoo.c
1550           src/backends/NetworkManagerMandriva.c
1551           src/backends/NetworkManagerPaldo.c
1552           src/backends/NetworkManagerRedHat.c
1553           src/backends/NetworkManagerSlackware.c
1554           src/backends/NetworkManagerSuSE.c
1555                 - Remove nm_system_set_hostname(), no longer used
1556           
1557         * src/backends/Makefile.am
1558           src/backends/shvar.c
1559           src/backends/shvar.h
1560                 - Remove shvar.*; no longer used
1561
1562 2008-08-12  Dan Williams  <dcbw@redhat.com>
1563
1564         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1565         hostname is updated at runtime.  Distros or users who want hostname updates
1566         can use dispatcher scripts to update the hostname if they need it.
1567
1568 2008-08-12  Dan Williams  <dcbw@redhat.com>
1569
1570         * introspection/nm-settings-system.xml
1571           system-settings/src/dbus-settings.c
1572           system-settings/src/dbus-settings.h
1573                 - Add a 'Hostname' property (rw) which represents the configured
1574                         hostname and domain of the system, if any
1575
1576         * system-settings/src/nm-system-config-error.c
1577           system-settings/src/nm-system-config-error.h
1578           system-settings/src/nm-system-config-interface.c
1579           system-settings/src/nm-system-config-interface.h
1580                 - Add a 'hostname' property to the plugin interface
1581                 - Add a method to send updated hostname to plugins to save in their
1582                         backing configuration store
1583
1584         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1585           system-settings/plugins/keyfile/plugin.c
1586           system-settings/plugins/keyfile/writer.c
1587           system-settings/plugins/keyfile/writer.h
1588           system-settings/plugins/ifcfg-suse/plugin.c
1589                 - Add minimal hostname support
1590
1591         * system-settings/plugins/ifcfg-fedora/plugin.c
1592                 - Add support for updating system hostname in /etc/sysconfig/network
1593
1594 2008-08-12  Dan Williams  <dcbw@redhat.com>
1595
1596         * system-settings/plugins/ifcfg-fedora/shvar.c
1597           system-settings/plugins/ifcfg-fedora/shvar.c
1598                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1599
1600 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1601
1602         * Makefile.am: Fix distcheck.
1603
1604 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1605
1606         * libnm-glib/*.c. Document some more.
1607
1608 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1609
1610         Start documenting libnm-glib public API using gtk-doc.
1611
1612         * libnm-glib/nm-serial-device.c: 
1613         * libnm-glib/nm-object.c: 
1614         * libnm-glib/nm-gsm-device.c: 
1615         * libnm-glib/nm-device.c: 
1616         * libnm-glib/nm-device-wifi.c: 
1617         * libnm-glib/nm-device-ethernet.c: 
1618         * libnm-glib/nm-client.c: 
1619         * libnm-glib/nm-cdma-device.c: Document the public API.
1620
1621         * docs/libnm-glib/libnm-glib.types: Implement.
1622
1623         * docs/libnm-glib/Makefile.am: Implement.
1624
1625         * autogen.sh: 
1626         * configure.in: 
1627         * Makefile.am: Add gtk-doc support.
1628
1629 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1630
1631         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1632
1633         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1634         the composite result of all the IP4 configurations and call a distro
1635         specific update_resolv_conf().
1636         (update_resolv_conf): Implement one for directly writing to 
1637         /etc/resolv.conf and one for opensuse to call netconfig.
1638
1639 2008-08-11  Dan Williams  <dcbw@redhat.com>
1640
1641         * src/ppp-manager/nm-ppp-manager.c
1642                 - (impl_ppp_manager_need_secrets): pass interface as required
1643
1644 2008-08-11  Dan Williams  <dcbw@redhat.com>
1645
1646         Merge the vpn-properties setting with the vpn setting since it was pointless
1647         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1648         of string:string (instead of string:variant) so that system settings plugins
1649         can have an easier time dealing with the arbitrary key/value pairs.
1650
1651 2008-08-11  Dan Williams  <dcbw@redhat.com>
1652
1653         * libnm-util/nm-utils.c
1654                 - (nm_utils_register_value_transformations): add value transform for
1655                         a hash table of string:string
1656
1657 2008-08-10  Dan Williams  <dcbw@redhat.com>
1658
1659         * libnm-glib/nm-vpn-plugin.c
1660                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1661                         an idle handler so the Connect reply gets delivered before the
1662                         stop StateChanged signal
1663
1664 2008-08-10  Dan Williams  <dcbw@redhat.com>
1665
1666         * src/nm-ip4-config.c
1667                 - (get_property): use common ip4 address/route conversion functions
1668                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1669                         copy the new route here, not take ownership
1670
1671 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1672
1673         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1674         Update the IP4 setting's method name.
1675
1676 2008-08-07  Dan Williams  <dcbw@redhat.com>
1677
1678         * introspection/nm-ip4-config.xml
1679           libnm-glib/libnm-glib-test.c
1680           libnm-glib/nm-ip4-config.c
1681           libnm-glib/nm-ip4-config.h
1682           src/NetworkManagerSystem.h
1683           src/backends/NetworkManagerArch.c
1684           src/backends/NetworkManagerDebian.c
1685           src/backends/NetworkManagerFrugalware.c
1686           src/backends/NetworkManagerGeneric.c
1687           src/backends/NetworkManagerGeneric.h
1688           src/backends/NetworkManagerGentoo.c
1689           src/backends/NetworkManagerMandriva.c
1690           src/backends/NetworkManagerPaldo.c
1691           src/backends/NetworkManagerRedHat.c
1692           src/backends/NetworkManagerSlackware.c
1693           src/backends/NetworkManagerSuSE.c
1694           src/dhcp-manager/nm-dhcp-manager.c
1695           src/nm-device.c
1696           src/nm-ip4-config.c
1697           src/nm-ip4-config.h
1698                 - Remove NIS logic; should be done from dispatcher scripts instead
1699
1700 2008-08-07  Dan Williams  <dcbw@redhat.com>
1701
1702         * src/dhcp-manager/nm-dhcp-manager.c
1703                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1704                         mis-handling of DHCP responses that returned more than one router
1705                         (found by Grant Williamson)
1706
1707 2008-08-07  Dan Williams  <dcbw@redhat.com>
1708
1709         * callouts/nm-dispatcher-action.c
1710                 - (nm_dispatcher_action): grab device path and create the device; pass
1711                         the device's DHCP4 config to script caller
1712                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1713                         scripts
1714
1715         * libnm-glib/nm-dhcp4-config.c
1716           libnm-glib/nm-dhcp4-config.h
1717                 - (nm_dhcp4_config_get_options): expose
1718                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1719
1720 2008-08-07  Dan Williams  <dcbw@redhat.com>
1721
1722         * include/NetworkManager.h
1723                 - Add the DHCP4Config D-Bus interface
1724
1725         * libnm-glib/Makefile.am
1726           libnm-glib/nm-dhcp4-config.c
1727           libnm-glib/nm-dhcp4-config.h
1728                 - Handle DHCP4 config objects exported by NM over D-Bus
1729
1730         * libnm-glib/nm-device.c
1731           libnm-glib/nm-device.h
1732                 - Add a 'dhcp4-config' property
1733
1734         * libnm-glib/libnm-glib-test.c
1735                 - Print out DHCP4 config for devices
1736                 - Fix some crashes when no connections are active
1737
1738         * src/nm-device-interface.c
1739           src/nm-device.c
1740           src/nm-dhcp4-config.c
1741           src/nm-dhcp4-config.h
1742                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1743                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1744                         doesn't let us do when the property type is G_TYPE_OBJECT
1745
1746 2008-08-07  Dan Williams  <dcbw@redhat.com>
1747
1748         * src/NetworkManager.c
1749           src/NetworkManagerSystem.h
1750           src/backends/NetworkManagerArch.c
1751           src/backends/NetworkManagerDebian.c
1752           src/backends/NetworkManagerFrugalware.c
1753           src/backends/NetworkManagerGeneric.c
1754           src/backends/NetworkManagerGeneric.h
1755           src/backends/NetworkManagerGentoo.c
1756           src/backends/NetworkManagerMandriva.c
1757           src/backends/NetworkManagerPaldo.c
1758           src/backends/NetworkManagerRedHat.c
1759           src/backends/NetworkManagerSlackware.c
1760           src/backends/NetworkManagerSuSE.c
1761                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1762
1763 2008-08-06  Dan Williams  <dcbw@redhat.com>
1764
1765         * libnm-glib/nm-ip4-config.c
1766           libnm-glib/nm-ip4-config.h
1767                 - Add 'routes' property
1768
1769         * libnm-util/nm-setting-vpn.c
1770           libnm-util/nm-setting-vpn.h
1771                 - Remove 'routes' property
1772
1773         * libnm-util/nm-setting-ip4-config.c
1774           libnm-util/nm-setting-ip4-config.h
1775                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1776                 - Add 'ignore-auto-routes' property
1777                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1778                         accomodate route metrics
1779                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1780
1781         * libnm-util/nm-utils.c
1782           libnm-util/nm-utils.h
1783                 - Add helpers for marshalling IP4 routes
1784
1785         * src/NetworkManagerUtils.c
1786                 - (nm_utils_merge_ip4_config): handle property renames and new route
1787                         structure
1788
1789         * src/NetworkManagerSystem.c
1790                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1791                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1792
1793         * src/dhcp-manager/nm-dhcp-manager.c
1794                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1795
1796         * system-settings/plugins/ifcfg-fedora/reader.c
1797           system-settings/plugins/ifcfg-fedora/writer.c
1798                 - Handle routes separately from addresses now that routes have a different
1799                         format
1800
1801         * introspection/nm-ip4-config.xml
1802           src/nm-ip4-config.c
1803           src/nm-ip4-config.h
1804                 - Rename internal routing functions
1805                 - 'static-routes' renamed to 'routes'
1806
1807 2008-08-04  Dan Williams  <dcbw@redhat.com>
1808
1809         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1810
1811         * src/NetworkManager.c
1812           src/nm-manager.c
1813           src/nm-manager.h
1814                 - More explicitly make the NMManager a singleton
1815
1816 2008-08-04  Dan Williams  <dcbw@redhat.com>
1817
1818         * libnm-util/nm-connection.c
1819           libnm-util/nm-connection.h
1820                 - (nm_connection_verify): return error on missing 'connection' setting
1821                         (found by Sjoerd Simons)
1822
1823 2008-08-04  Dan Williams  <dcbw@redhat.com>
1824
1825         Handle multiple concurrent PPP connections.
1826
1827         * src/ppp-manager/nm-ppp-manager.c
1828           src/ppp-manager/nm-ppp-manager.h
1829                 - (constructor): only PPP Manager request bus name once; each
1830                         NMPPPManager object gets a unique object path
1831                 - (nm_ppp_manager_class_init, get_property, set_property,
1832                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1833                         at construct time
1834                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1835                         remove timeout until PPP manager gets an IP4 config
1836                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1837                         the plugin can call back to this specific PPP manager instance
1838
1839         * src/nm-device-ethernet.c
1840           src/nm-serial-device.c
1841                 - Pass parent device in nm_ppp_manager_new()
1842
1843         * src/nm-gsm-device.c
1844           src/nm-cdma-device.c
1845                 - (device_state_changed): don't close serial device on NEED_AUTH
1846                         state changed, that's not a failure case like the rest are
1847
1848         * src/ppp-manager/nm-pppd-plugin.c
1849                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1850                         binds one interface to any pppd process, thus the correct index
1851                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1852                         problems; try harder to get a peer address in spite of pppd
1853                 - (plugin_init): use 'ipparam' as the object path back to our specific
1854                         PPP manager instance
1855
1856 2008-08-04  Dan Williams  <dcbw@redhat.com>
1857
1858         * src/ppp-manager/nm-ppp-manager.c
1859                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1860                         since the GSM and CDMA settings now implement need_secrets, we can
1861                         rely on them to do the right thing.  Where secrets are not required,
1862                         just pass empty strings back to the pppd plugin.
1863                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1864                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1865                         on successful IP4 config receipt
1866
1867 2008-08-04  Dan Williams  <dcbw@redhat.com>
1868
1869         * libnm-util/nm-setting-cdma.c
1870           libnm-util/nm-setting-gsm.c
1871                 - (verify): validate username & password if they exist
1872                 - (need_secrets): if username given, require a password too
1873
1874 2008-08-04  Dan Williams  <dcbw@redhat.com>
1875
1876         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1877                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1878                         manpage says about --listen-address without --interface
1879                         (bgo #546033)
1880
1881 2008-08-01  Dan Williams  <dcbw@redhat.com>
1882
1883         * libnm-glib/nm-device.c
1884                 - (proxy_get_string): util function for querying a HAL property
1885                 - (get_ancestor_device): split out from get_product_and_vendor()
1886                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1887                         from PCI devices by querying subsys properties
1888                 - (nm_device_update_description): simplify
1889
1890 2008-08-01  Dan Williams  <dcbw@redhat.com>
1891
1892         * libnm-util/nm-setting-ip4-config.c
1893           libnm-util/nm-setting-ip4-config.h
1894                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1895                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1896                         settings, and they don't necessarily use DHCP.
1897
1898         * src/NetworkManagerPolicy.c
1899           src/nm-device.c
1900           system-settings/plugins/ifcfg-fedora/reader.c
1901           system-settings/plugins/ifcfg-suse/parser.c
1902                 - Fixup for method changes
1903
1904 2008-07-31  Dan Williams  <dcbw@redhat.com>
1905
1906         * src/nm-activation-request.c
1907           src/vpn-manager/nm-vpn-connection.c
1908                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1909                         itself should be attached to the activation request or the VPN
1910                         connection, not the NMConnection object, since the call is not
1911                         expected to live as long as the NMConnection itself
1912
1913 2008-07-31  Dan Williams  <dcbw@redhat.com>
1914
1915         * src/nm-device-wifi.c
1916                 - (real_act_stage2_config): fix issue where association would continue
1917                         even though secrets were needed; 'goto out' was in wrong scope and
1918                         result of handle_auth_or_fail() should have been dumped directly to
1919                         'ret' to ensure that the association was postponed until secrets
1920                         are available
1921
1922 2008-07-31  Dan Williams  <dcbw@redhat.com>
1923
1924         * system-settings/plugins/ifcfg-fedora/plugin.c
1925           system-settings/plugins/ifcfg-fedora/reader.c
1926                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1927                         valid NM connection
1928
1929 2008-07-29  Dan Williams  <dcbw@redhat.com>
1930
1931         * src/nm-gsm-device.c
1932                 - (automatic_registration_response, automatic_registration): recognize
1933                         denied registration and reorder responses
1934
1935 2008-07-29  Dan Williams  <dcbw@redhat.com>
1936
1937         * src/nm-serial-device.c
1938                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1939                         time(2) is used for current time, which returns seconds, we shouldn't
1940                         be multiplying by 1000.
1941
1942 2008-07-28  Dan Williams  <dcbw@redhat.com>
1943
1944         Patch from Fabrice Bellet <fabrice@bellet.info>
1945
1946         * src/NetworkManagerSystem.c
1947                 - (route_in_same_subnet): mask addresses and compare them so that the
1948                         function actually does what it says it's going to do (rh #456685)
1949
1950 2008-07-27  Dan Williams  <dcbw@redhat.com>
1951
1952         * libnm-util/nm-setting-ip6-config.c
1953                 - (set_property): add missing break that caused routes to be overwritten
1954                         with addresses
1955
1956         * libnm-util/nm-setting-ip6-config.c
1957                 - (verify): validate routes and return GError everywhere on invalid setting
1958                 - (finalize): don't leak routes
1959                 - (set_property): add missing break that caused routes to be overwritten
1960                         with addresses
1961
1962 2008-07-27  Dan Williams  <dcbw@redhat.com>
1963
1964         * libnm-util/*
1965                 - Relicense to LGPLv2+
1966
1967 2008-07-27  Dan Williams  <dcbw@redhat.com>
1968
1969         * system-settings/plugins/ifcfg-fedora/reader.c
1970                 - (make_ip4_setting): fix parsing automatic configs
1971
1972 2008-07-27  Dan Williams  <dcbw@redhat.com>
1973
1974         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1975           src/nm-device.c
1976           src/ppp-manager/nm-ppp-manager.c
1977                 - Ensure child process gets reaped.  The child watch function may be
1978                         removed from the mainloop before the child gets killed, so we have
1979                         to make sure the child is reaped when it's told to die intentionally
1980
1981 2008-07-27  Dan Williams  <dcbw@redhat.com>
1982
1983         Patch from Roy Marples <roy@marples.name>
1984
1985         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1986                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1987
1988 2008-07-27  Dan Williams  <dcbw@redhat.com>
1989
1990         * src/nm-gsm-device.c
1991                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1992                         Huawei devices turn echo back on after CPIN (rh #456770)
1993
1994 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1995
1996         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1997         format argument to g_set_error() call.
1998
1999         * src/backends/interface_parser.[ch]: Remove.
2000
2001         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2002
2003 2008-07-21  Dan Williams  <dcbw@redhat.com>
2004
2005         * src/ppp-manager/nm-ppp-manager.c
2006                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2007                         to prevent pppd from picking up some random local address from an
2008                         interface that doesn't have anything to do with the one we're
2009                         interested in (rh #455348)
2010
2011 2008-07-17  Dan Williams  <dcbw@redhat.com>
2012
2013         * libnm-util/nm-utils.c
2014                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2015                         by locale
2016                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2017                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2018
2019 2008-07-17  Dan Williams  <dcbw@redhat.com>
2020
2021         * introspection/Makefile.am
2022           introspection/nm-device.xml
2023           introspection/nm-dhcp4-config.xml
2024                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2025                         itself
2026         * src/nm-device-interface.c
2027           src/nm-device-interface.h
2028                 - Add the DHCP4Config property
2029
2030         * src/nm-device.c
2031                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2032                         D-Bus clients when it changes
2033
2034         * src/nm-dhcp4-config.c
2035           src/nm-dhcp4-config.h
2036                 - Simple object to store DHCP4 options, export them over D-Bus, and
2037                         notify when they change
2038
2039         * src/dhcp-manager/nm-dhcp-manager.c
2040           src/dhcp-manager/nm-dhcp-manager.h
2041                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2042                         filter server-returned DHCP options into an NMDHCP4Config object
2043
2044 2008-07-16  Dan Williams  <dcbw@redhat.com>
2045
2046         * introspection/nm-device.xml
2047                 - Add device state reasons
2048
2049 2008-07-16  Dan Williams  <dcbw@redhat.com>
2050
2051         Patch from Roy Marples <roy@marples.name>
2052
2053         * configure.in
2054                 - Add --with-dhcp-client option
2055
2056         * src/dhcp-manager/Makefile.am
2057                 - pass DHCP_CLIENT_PATH on compile line
2058
2059         * src/dhcp-manager/nm-dhcp-manager.c
2060           src/dhcp-manager/nm-dhcp-manager.h
2061                 - Genericize for both dhcpcd and dhclient
2062
2063         * src/dhcp-manager/nm-dhcp-dhclient.c
2064                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2065
2066         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2067                 - Implement support for dhcpcd too
2068
2069 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2070
2071         * system-settings/src/nm-system-config-interface.c 
2072         (nm_system_config_interface_supports_add): Implement.
2073         (nm_system_config_interface_add_connection): Return a boolean to notify
2074         of errors.
2075
2076         * system-settings/src/nm-polkit-helpers.c: 
2077         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2078         a separate file.
2079
2080         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2081         Return an error when none of the plugins support add or if addition
2082         failed for some reason.
2083
2084         * system-settings/src/nm-system-config-error.h: 
2085         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2086         here from nm-polkit-helpers.[ch].
2087
2088         * system-settings/src/Makefile.am: Build new files.
2089
2090         * system-settings/plugins/keyfile/reader.c 
2091         (read_array_of_array_of_uint): Make it more general so that it would
2092         work for routes as well.
2093
2094         * system-settings/plugins/keyfile/writer.c
2095         (write_array_of_array_of_uint): Ditto.
2096         Fix the netmask/prefix writing.
2097
2098         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2099         boolean to notify errors.
2100
2101         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2102         Return more specific error.
2103         (delete): Ditto.
2104
2105 2008-07-11  Dan Williams  <dcbw@redhat.com>
2106
2107         Modify the NMDevice::state-changed signal to include the previous state
2108         and reason. Enables the applet to provide more information why device
2109         activation failed.
2110
2111 2008-07-09  Dan Williams  <dcbw@redhat.com>
2112
2113         * callouts/Makefile.am
2114           callouts/nm-avahi-autoipd-action.c
2115           callouts/nm-avahi-autoipd.conf
2116                 - avahi-autoipd callout to send options back to NM
2117
2118         * src/autoip.c
2119           src/autoip.h
2120                 - remove
2121
2122         * src/nm-device.c
2123           src/nm-device-private.h
2124           src/nm-manager.c
2125                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2126                         old custom stuff
2127
2128 2008-07-07  Dan Williams  <dcbw@redhat.com>
2129
2130         * system-settings/plugins/ifcfg-fedora/reader.c
2131                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2132                         handle PREFIX too; clean up
2133
2134 2008-07-07  Dan Williams  <dcbw@redhat.com>
2135
2136         Convert to using IPv4 prefixes instead of netmasks.
2137
2138 2008-07-03  Dan Williams  <dcbw@redhat.com>
2139
2140         * libnm-util/nm-setting-ip4-config.c
2141           libnm-util/nm-setting-ip4-config.h
2142                 - Add properties for DHCP Client Identifier and DHCP Hostname
2143
2144         * src/dhcp-manager/nm-dhcp-manager.c
2145           src/dhcp-manager/nm-dhcp-manager.h
2146                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2147                         setting as an argument to pass on to the dhclient config file
2148                         creation function
2149                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2150                         DHCP is torn down
2151                 - (dhclient_run): punt config file handling to create_dhclient_config()
2152                 - (create_dhclient_config): create an interface-specific dhclient
2153                         config file since there may need to be interface-specific options
2154                         passed to dhclient
2155                 - (merge_dhclient_config): merge normal distro dhclient config file and
2156                         add options from the connection
2157                 - (nm_dhcp_device_new): generate the interface specific dhclient
2158                         config file path once
2159                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2160                         dhclient config file path
2161
2162         * src/nm-device.c
2163                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2164                         DHCP manager when starting DHCP
2165
2166 2008-07-02  Dan Williams  <dcbw@redhat.com>
2167
2168         * libnm-util/nm-setting-8021x.c
2169                 - (verify): allow forcing the PEAP label to 0
2170
2171 2008-07-02  Dan Williams  <dcbw@redhat.com>
2172
2173         * introspection/nm-active-connection.xml
2174           introspection/nm-vpn-connection.xml
2175           libnm-glib/nm-active-connection.c
2176           src/nm-activation-request.c
2177           src/nm-active-connection.h
2178           src/vpn-manager/nm-vpn-connection.c
2179                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2180                         and libnm-glib API since sharing didn't get implemented that way
2181
2182 2008-07-02  Dan Williams  <dcbw@redhat.com>
2183
2184         * src/nm-device-wifi.c
2185                 - (can_scan): don't scan when a shared connection is activated since
2186                         that makes drivers mad (causing disconnects); also NM doesn't need
2187                         to hedge against disconnects by keeping up-to-date network topology
2188                         because the connection originates from the local machine, and thus
2189                         there should be no disconnects
2190
2191 2008-07-01  Dan Williams  <dcbw@redhat.com>
2192
2193         Fix mobile broadband username/password issues.  NM was never requesting
2194         mobile broadband secrets, nor was it passing back the username and password
2195         if it had them.
2196
2197         * marshallers/nm-marshal.list
2198                 - Add some new types for activation request objects
2199
2200         * src/nm-activation-request.c
2201           src/nm-activation-request.h
2202                 - (get_secrets_cb): pass the caller type in the signal
2203                 - (nm_act_request_request_connection_secrets): take a caller type, so
2204                         that GetSecrets() reply handlers know who asked for the secrets in
2205                         the first place; use secret hints too so the settings service can
2206                         figure out exactly what NM wants (ie, PIN or the PPP password)
2207
2208         * src/ppp-manager/nm-ppp-manager.c
2209           src/ppp-manager/nm-ppp-manager.h
2210                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2211                         detect needed secrets when the secret could be blank, like GSM/CDMA
2212                         passwords.  So always ask for secrets, and send a hint as to what
2213                         secret we really want.
2214                 - (nm_ppp_manager_update_secrets): make function more generic by making
2215                         the device specific class figure out the username and password, and
2216                         accept an error argument to return back over D-Bus
2217
2218         * src/nm-device-wifi.c
2219                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2220                         nm_act_request_request_connection_secrets()
2221                 - (real_connection_secrets_updated): update for 'caller' changes
2222
2223         * src/nm-device.c
2224           src/nm-device.h
2225                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2226                         for 'caller' changes
2227
2228         * src/nm-device-ethernet.c
2229                 - (real_connection_secrets_updated): update for 'caller' changes and
2230                         move logic for getting PPPoE username and password here before
2231                         calling nm_ppp_manager_update_secrets()
2232                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2233                         nm_act_request_request_connection_secrets()
2234
2235         * src/nm-cdma-device.c
2236                 - (real_connection_secrets_updated): pass username and password back
2237                         to the PPP manager when required
2238
2239         * src/nm-gsm-device.c
2240                 - (enter_pin): send the required secret name to the settings service
2241                 - (real_connection_secrets_updated): pass username and password back
2242                         to the PPP manager when required
2243
2244 2008-06-30  Dan Williams  <dcbw@redhat.com>
2245
2246         * src/nm-device-wifi.c
2247                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2248
2249 2008-06-30  Dan Williams  <dcbw@redhat.com>
2250
2251         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2252         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2253         priv->supplicant.iface.  When either condition is false, the device should
2254         transition back to UNAVAILABLE because it cannot be used.
2255
2256         * src/nm-device-wifi.c
2257                 - (constructor): cleanup; connect to supplicant manager here since the
2258                         supplicant manager is always around
2259                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2260                         ensure the supplicant manager is in the IDLE state
2261                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2262                         cancel any pending scans too
2263                 - (real_bring_up): don't set up the supplicnat interface here, because
2264                         we need the supplicant interface at times when the device may not
2265                         be "up"
2266                 - (real_take_down): just remove the periodic source
2267                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2268                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2269                         do anything if there's no supplicant interface
2270                 - (cleanup_association_attempt): cleanup
2271                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2272                         the interface enters the READY state; transition to UNAVAILABLE
2273                         state when the interface goes down because the device can't be used
2274                         without a supplicant interface
2275                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2276                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2277                         acquire the supplicant interface and transition to DISCONNECTED
2278                         if the radio isn't killed
2279                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2280                 - (state_changed_cb): release any existing supplicant interface; if the
2281                         radio is enabled then try to acquire a new supplicant interface;
2282                         if the radio is enabled and a supplicant interface has been acquired,
2283                         we can transition to DISCONNECTED
2284                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2285                         don't enable the radio, because HAL probably lied to us about the
2286                         killswitch being off.  If bringing the hardware up worked, then
2287                         try to grab a supplicant interface, and if that was successful,
2288                         transition to DISCONNECTED
2289
2290 2008-06-30  Dan Williams  <dcbw@redhat.com>
2291
2292         * src/supplicant-manager/nm-supplicant-interface.c
2293                 - (request_scan_results, nm_supplicant_interface_dispose,
2294                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2295                         the id of the timeout, not a GSource
2296
2297 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2298
2299         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2300         bunch of typoes introduced by "Patch from David Cantrell 
2301         <dcantrell@redhat.com> and me".
2302
2303 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2304
2305         * src/nm-serial-device.c: 
2306         * src/nm-gsm-device.c: 
2307         * src/nm-cdma-device.c: Move the pending call handling to a common location
2308         in serial device. Handle setting device state to failed in one place as well.
2309
2310 2008-06-29  Dan Williams <dcbw@redhat.com>
2311
2312         * src/nm-hal-manager.c
2313                 - Rework killswitch handling to query killswitch status immediately
2314                         when the first killswitch is added, so that rfkill state is
2315                         known as early as possible
2316                 - Also treat failure of GetPower() as rfkill when the dbus method
2317                         call times out (but not when the HAL callout returns an error)
2318
2319 2008-06-26  Dan Williams <dcbw@redhat.com>
2320
2321         Patch from David Cantrell <dcantrell@redhat.com> and me
2322
2323         * include/nm-dbus-glib-types.h
2324                 - Add IP6 address types
2325
2326         * libnm-util/Makefile.am
2327           libnm-util/nm-setting-ip6-config.c
2328           libnm-util/nm-setting-ip6-config.h
2329                 - Add IP6 settings object
2330
2331         * libnm-util/nm-connection.c
2332                 - (register_default_settings): register ip6 settings object
2333
2334         * libnm-util/nm-utils.c
2335           libnm-util/nm-utils.h
2336                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2337                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2338                         ip6 address conversion functions
2339         
2340 2008-06-26  Dan Williams <dcbw@redhat.com>
2341
2342         Patch from David Cantrell <dcantrell@redhat.com>
2343         
2344         * Use inet_ntop() and inet_pton() everwhere and check for errors
2345
2346 2008-06-26  Dan Williams <dcbw@redhat.com>
2347
2348         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2349
2350 2008-06-26  Dan Williams <dcbw@redhat.com>
2351
2352         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2353
2354         * src/nm-device-wifi.c
2355                 - (link_timeout_cb): don't ignore disconnects due to scanning
2356                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2357                         a longer timeout when scanning; avoids case where supplicant can't
2358                         find the AP and just keeps scanning forever but isn't connected
2359
2360 2008-06-26  Dan Williams <dcbw@redhat.com>
2361
2362         Patch from Michael Biebl <biebl@debian.org>
2363
2364         * Clean up build system stuff
2365
2366 2008-06-23  Christian Persch  <chpe@gnome.org>
2367
2368         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2369         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2370         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2371         (impl_get_object):
2372         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2373         (impl_get_object):
2374         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2375         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2376         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2377         (impl_get_object):
2378         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2379         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2380         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2381         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2382         * vpn-daemons/pptp/properties/vpnui_opt.c:
2383         (vpnui_opt_connect_signals):
2384         * vpn-daemons/pptp/properties/vpnui_opt.h:
2385         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2386         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2387         deprecated gtk type macros. Bug #539325.
2388
2389 2008-06-20  Dan Williams  <dcbw@redhat.com>
2390
2391         * libnm-glib/nm-vpn-plugin-ui-interface.c
2392           libnm-glib/nm-vpn-plugin-ui-interface.h
2393                 - 'validity-changed' -> 'changed' to work better with the connection
2394                         editor.  Plugin UI widgets should emit 'changed' whenever their
2395                         UI values change in a meaningful way.
2396                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2397                         update_connection member now returns validity of the UI widget
2398
2399 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2400
2401         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2402
2403 2008-06-17  Dan Williams  <dcbw@redhat.com>
2404
2405         * libnm-glib/nm-vpn-plugin-ui-interface.c
2406           libnm-glib/nm-vpn-plugin-ui-interface.h
2407                 - Add "desc" property for longer descriptions of the VPN plugin
2408
2409 2008-06-16  Dan Williams  <dcbw@redhat.com>
2410
2411         * configure.in
2412           libnm-glib/libnm_glib_vpn.pc.in
2413                 - add a .pc file for libnm_glib_vpn
2414
2415         * libnm-glib/nm-vpn-plugin-ui-interface.c
2416           libnm-glib/nm-vpn-plugin-ui-interface.h
2417                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2418                         rework it substantially
2419
2420 2008-06-12  Dan Williams  <dcbw@redhat.com>
2421
2422         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2423         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2424         returns a descriptive GError when verification fails.
2425
2426 2008-06-11  Dan Williams  <dcbw@redhat.com>
2427
2428         Patch from Tambet Ingo <tambet@gmail.com>
2429
2430         * libnm-util/nm-setting-gsm.c
2431                 - (verify): validate APN
2432
2433         * src/nm-gsm-device.c
2434                 - (manual_registration_done): start setting APN if needed
2435                 - (set_apn, set_apn_done): set the APN
2436                 - (do_dial): use the APN when dialing
2437
2438 2008-06-11  Dan Williams  <dcbw@redhat.com>
2439
2440         * src/NetworkManagerSystem.c
2441                 - (nm_system_device_set_ip4_route,
2442                    nm_system_device_replace_default_ip4_route): check for the right
2443                         return value from rtnl_route_add() to know when to add a gateway
2444                         route (from Tambet)
2445
2446 2008-06-11  Dan Williams  <dcbw@redhat.com>
2447
2448         * src/NetworkManagerPolicy.c
2449                 - do_ipt_cmd -> do_cmd
2450                 - (sharing_init): use do_cmd() instead of system()
2451
2452 2008-06-10  Dan Williams  <dcbw@redhat.com>
2453
2454         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2455         and use "wifi" everwhere instead.
2456
2457 2008-06-10  Dan Williams  <dcbw@redhat.com>
2458
2459         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2460
2461 2008-06-10  Dan Williams  <dcbw@redhat.com>
2462
2463         Patch from Tambet Ingo <tambet@gmail.com>
2464
2465         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2466                 changes.
2467
2468         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2469                 a signal to emit these changes over dbus.
2470
2471         * src/Makefile.am: Genereate nm-serial-device-glue.
2472
2473         * libnm-glib/nm-serial-device.[ch]: Implement.
2474
2475         * libnm-glib/nm-cdma-device.[ch]
2476           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2477
2478         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2479
2480         * introspection/nm-device-serial.xml: Implement.
2481
2482         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2483
2484         * introspection/Makefile.am: Add nm-device-serial.xml.
2485
2486         * include/NetworkManager.h: Add a DBus interface for serial device.
2487
2488 2008-06-10  Dan Williams  <dcbw@redhat.com>
2489
2490         * configure.in
2491                 - Add TARGET_* define to config.h to distinguish distros
2492
2493         * src/dhcp-manager/nm-dhcp-manager.c
2494                 - (dhclient_run): use distro-specific path for dhclient config file
2495
2496 2008-06-09  Dan Williams  <dcbw@redhat.com>
2497
2498         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2499           src/dnsmasq-manager/nm-dnsmasq-manager.h
2500                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2501                         calculate the addresses passed to dnsmasq instead of hard-coding
2502                         them
2503
2504         * src/nm-device.c
2505                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2506                         IP addresses for shared connections to guard against shared
2507                         connection address collisions
2508                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2509                         error conditions
2510                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2511                         the dnsmasq manager
2512
2513 2008-06-09  Dan Williams  <dcbw@redhat.com>
2514
2515         * src/NetworkManagerPolicy.c
2516                 - (update_routing_and_dns): set the default connection _after_ unsetting
2517                         default on all non-default connections so that two connections can
2518                         never be default at the same time
2519                 - (device_state_changed): start and stop connection sharing when
2520                         needed
2521                 - (active_connection_default_changed): restart or stop sharing when
2522                         the default connection changes to keep shared connections always
2523                         NAT-ed through the default connection
2524                 - (check_sharing): handle activation/deactivation of shared connections
2525                 - (sharing_restart): atom-bomb approach to connection sharing until we
2526                         can use libnl; reinit all sharing when the default connection or
2527                         shared connections change
2528                 - (sharing_init, sharing_stop): evil functions that init and deinit
2529                         iptables
2530
2531 2008-06-09  Dan Williams  <dcbw@redhat.com>
2532
2533         * src/nm-activation-request.c
2534           src/nm-activation-request.h
2535                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2536                    nm_act_request_get_device): new functions to facilitate connection
2537                         sharing
2538
2539 2008-06-09  Dan Williams  <dcbw@redhat.com>
2540
2541         * src/nm-device.c
2542                 - (clear_act_request): unset the 'default' property of the activation
2543                         request when clearing it to ensure the property changed signal gets
2544                         delivered and handled
2545
2546 2008-06-09  Dan Williams  <dcbw@redhat.com>
2547
2548         * libnm-glib/nm-device-802-11-wireless.c
2549                 - (access_point_removed_proxy): actually unref the AP after removing
2550                         it from the device's AP list.  Fixes refcounting bug for APs that
2551                         caused them to get mixed up in the applet's menu.
2552
2553 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2554
2555         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2556         (nm_dhcp_device_destroy): Destroy the device options hash table.
2557
2558 2008-06-06  Dan Williams <dcbw@redhat.com>
2559
2560         * system-settings/src/nm-polkit-helpers.c
2561                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2562                         unref the context if the initialization fails; also avoid spew when
2563                         the error isn't set
2564
2565 2008-06-06  Dan Williams <dcbw@redhat.com>
2566
2567         Patch from Tambet Ingo  <tambet@gmail.com>
2568
2569         * src/NetworkManagerSystem.c
2570           src/NetworkManagerSystem.h
2571                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2572                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2573                 - (nm_system_device_set_ip4_route): clean up
2574                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2575
2576         * src/nm-device.c
2577                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2578
2579         * src/vpn-manager/nm-vpn-connection.c
2580                 - (ip_address_to_string): new function
2581                 - (print_vpn_config): use ip_address_to_string
2582                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2583                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2584
2585         * include/NetworkManagerVPN.h
2586                 - Add 'routes' key
2587
2588 2008-06-05  Dan Williams <dcbw@redhat.com>
2589
2590         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2591
2592         * test/nm-tool.c
2593                 - Show which device is the default device
2594
2595 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2596
2597         Fix memory leaks.
2598
2599         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2600         Free data returned from dbus method call.
2601
2602         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2603         dbus_g_method_get_sender() returns a duplicated string, free it 
2604         when done.
2605         (check_polkit_privileges): Looks like policykit sometimes returns
2606         error and non-null return value, don't leak errors in that case.
2607
2608         * system-settings/src/main.c (find_plugin): Don't leak existing 
2609         plugin names.
2610         (load_stuff): Don't leak device list and list items.
2611         (have_connection_for_device): Don't leak connection list.
2612
2613         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2614         Free the data received from g_keyfile_get_*.
2615
2616         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2617         the key when the security object is updated.
2618
2619         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2620         Free data returned from dbus method call.
2621         (iface_state_cb): Ditto.
2622         (add_network_cb): Ditto.
2623         (nm_supplicant_interface_add_cb): Don't make another copy of already
2624         duplicated object path.
2625         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2626         when done.
2627
2628         * src/supplicant-manager/nm-supplicant-config.c 
2629         (ADD_STRING_LIST_VAL): Fix a memory leak.
2630
2631         * src/nm-manager.c (free_get_settings_info): Free the allocated
2632         memory slice.
2633         (list_connections_cb): Free data returned from dbus method call.
2634         (system_settings_get_unmanaged_devices_cb): Ditto.
2635
2636         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2637
2638         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2639         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2640         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2641         of the GList.
2642
2643         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2644         arguments after the object is created.
2645
2646 2008-06-04  Dan Williams <dcbw@redhat.com>
2647
2648         * libnm-util/Makefile.am
2649                 - Don't distribute nm-param-spec-specialized.h
2650
2651 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2652
2653         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2654
2655         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2656         NMIP4Address, update the getters and setters.
2657
2658         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2659         Use the updated NMIP4Config routes api.
2660
2661         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2662         static routes as well.
2663
2664         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2665         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2666         routes api.
2667
2668 2008-05-30  Dan Williams <dcbw@redhat.com>
2669
2670         * src/named-manager/nm-named-manager.c
2671           src/named-manager/nm-named-manager.h
2672                 - Remove stale/obsolete bits for controlling bind over DBus
2673
2674 2008-05-29  Dan Williams <dcbw@redhat.com>
2675
2676         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2677           src/dnsmasq-manager/nm-dnsmasq-manager.h
2678                 - (nm_dnsmasq_manager_new): move iface argument here
2679                 - (constructor): remove, not needed
2680                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2681                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2682
2683         * src/nm-device.c
2684                 - (real_act_stage4_get_ip4_config,
2685                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2686                         changes
2687
2688 2008-05-29  Dan Williams <dcbw@redhat.com>
2689
2690         * src/nm-device.c
2691                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2692                         something happens to dnsmasq
2693                 - (nm_device_new_ip4_shared_config): new function; create a new
2694                         ip4-config for shared connections.  Shared connections always use a
2695                         fixed static IP address.
2696                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2697                         autoip connections by actually using the returned ip4-config and
2698                         not leaking it
2699                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2700                         connections
2701                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2702                         if its active
2703
2704 2008-05-29  Dan Williams <dcbw@redhat.com>
2705
2706         * src/nm-device-802-11-wireless.c
2707                 - (real_get_best_auto_connection): auto-activate 'shared' method
2708                         connections too
2709
2710 2008-05-29  Dan Williams <dcbw@redhat.com>
2711
2712         * libnm-util/nm-setting-ip4-config.c
2713           libnm-util/nm-setting-ip4-config.h
2714                 - Add a 'shared' method to indicate that this connection should be
2715                         brought up with a DHCP and proxy DNS server to facilitate
2716                         connection sharing.
2717                 - (verify): 'shared' method doesn't allow DNS or searches either
2718
2719 2008-05-29  Dan Williams <dcbw@redhat.com>
2720
2721         * configure.in
2722           src/Makefile.am
2723           src/dnsmasq-manager/Makefile.am
2724           src/dnsmasq-manager/nm-dnsmasq-manager.c
2725           src/dnsmasq-manager/nm-dnsmasq-manager.h
2726                 - Add a dnsmasq daemon manager to facilitate connection sharing
2727
2728 2008-05-29  Dan Williams <dcbw@redhat.com>
2729
2730         * src/nm-device-private.h
2731                 - Remove unused prototypes and clean up
2732
2733         * src/nm-device.c
2734                 - Remove anything related to system_config_data, which is no longer used
2735                 - (nm_device_new_ip4_autoip_config): make static
2736
2737 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2738
2739         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2740         (file_changed): Fix a bug where suse system settings plugin didn't
2741         update the connections automatically when the files changed.
2742
2743 2008-05-28  Dan Williams  <dcbw@redhat.com>
2744
2745         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2746
2747 2008-05-28  Dan Williams  <dcbw@redhat.com>
2748
2749         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2750
2751         * src/NetworkManagerSystem.c
2752                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2753                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2754                         was causing -EINVAL errors since the libnl code actually does flush
2755                         the routes on VPN interfaces now
2756
2757         * src/backends/NetworkManagerArch.c
2758           src/backends/NetworkManagerDebian.c
2759           src/backends/NetworkManagerFrugalware.c
2760           src/backends/NetworkManagerGeneric.c
2761           src/backends/NetworkManagerGentoo.c
2762           src/backends/NetworkManagerMandriva.c
2763           src/backends/NetworkManagerPaldo.c
2764           src/backends/NetworkManagerRedHat.c
2765           src/backends/NetworkManagerSlackware.c
2766           src/backends/NetworkManagerSuSE.c
2767                 - (nm_system_device_flush_ip4_routes,
2768                    nm_system_device_flush_ip4_routes_with_iface): remove
2769
2770 2008-05-28  Dan Williams  <dcbw@redhat.com>
2771
2772         * libnm-util/nm-setting-wireless.c
2773           libnm-util/nm-setting-wireless.h
2774                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2775                         'adhoc-create' property, which when TRUE indicates that NM should
2776                         create this connection as an adhoc wifi network if it's not found
2777                         as an adhoc network during scanning.  Can be used to auto-create
2778                         adhoc networks when used in combination with autoconnect.
2779
2780 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2781
2782         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2783
2784         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2785         checked, it doesn't work on some devices.
2786
2787 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2788
2789         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2790         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2791
2792         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2793         Use inet_aton() everywhere to improve error detection.
2794         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2795         provided.
2796
2797 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2798
2799         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2800         Fix a typo.
2801
2802 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2803
2804         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2805         reference counting issue.
2806
2807 2008-05-23  Dan Williams  <dcbw@redhat.com>
2808
2809         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2810
2811         * src/backends/NetworkManagerGeneric.c
2812                 - (nm_generic_enable_loopback): use libnl
2813
2814 2008-05-23  Dan Williams  <dcbw@redhat.com>
2815
2816         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2817
2818         * src/NetworkManagerSystem.h
2819           src/backends/NetworkManagerArch.c
2820           src/backends/NetworkManagerDebian.c
2821           src/backends/NetworkManagerFrugalware.c
2822           src/backends/NetworkManagerGentoo.c
2823           src/backends/NetworkManagerMandriva.c
2824           src/backends/NetworkManagerPaldo.c
2825           src/backends/NetworkManagerRedHat.c
2826           src/backends/NetworkManagerSlackware.c
2827           src/backends/NetworkManagerSuSE.c
2828                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2829                    nm_system_flush_arp_cache): remove, unused
2830
2831         * src/backends/NetworkManagerGeneric.c
2832           src/backends/NetworkManagerGeneric.h
2833                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2834                    nm_generic_flush_arp_cache): remove, unused
2835
2836 2008-05-23  Dan Williams  <dcbw@redhat.com>
2837
2838         * system-settings/plugins/ifcfg-fedora/reader.c
2839                 - (make_ip4_setting): honor PEERDNS setting
2840
2841 2008-05-23  Dan Williams  <dcbw@redhat.com>
2842
2843         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2844
2845         * src/NetworkManagerSystem.c
2846                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2847                         libnl
2848
2849         * src/backends/NetworkManagerArch.c
2850           src/backends/NetworkManagerDebian.c
2851           src/backends/NetworkManagerFrugalware.c
2852           src/backends/NetworkManagerGentoo.c
2853           src/backends/NetworkManagerMandriva.c
2854           src/backends/NetworkManagerPaldo.c
2855           src/backends/NetworkManagerRedHat.c
2856           src/backends/NetworkManagerSlackware.c
2857           src/backends/NetworkManagerSuSE.c
2858                 - (nm_system_device_flush_ip4_addresses,
2859                    nm_system_device_flush_ip4_addresses_with_iface): remove
2860
2861         * src/backends/NetworkManagerGeneric.c
2862                 - (nm_generic_device_flush_ip4_addresses,
2863                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2864
2865 2008-05-23  Dan Williams  <dcbw@redhat.com>
2866
2867         * src/supplicant-manager/nm-supplicant-settings-verify.c
2868                 - Switch 'bssid' from bytes to keyword type
2869                 - (validate_type_keyword): allow NULL keyword lists
2870
2871         * src/supplicant-manager/nm-supplicant-config.c
2872                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2873                         a byte array to string form, which is what the supplicant expects
2874
2875 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2876
2877         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2878         information received from DHCP.
2879
2880         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2881         to make it possible to ignore the DNS information (both servers and 
2882         searches) returned by DHCP server.
2883
2884         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2885         name servers and searches if "ignore_dhcp_dns" is set.
2886
2887         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2888         (nm_ip4_config_reset_searches): Implement.
2889
2890 2008-05-22  Dan Williams  <dcbw@redhat.com>
2891
2892         Remove anything mDNS related.  This is better done from a distro-specific
2893         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2894         avahi, since avahi can handle interface changes just fine using netlink.
2895
2896         * configure.in
2897                 - Remove --with-mdns-provider
2898
2899         * src/NetworkManagerPolicy.c
2900                 - (global_state_changed): don't restart the mdns provider
2901
2902         * src/NetworkManagerSystem.h
2903           src/backends/NetworkManagerArch.c
2904           src/backends/NetworkManagerDebian.c
2905           src/backends/NetworkManagerFrugalware.c
2906           src/backends/NetworkManagerGentoo.c
2907           src/backends/NetworkManagerMandriva.c
2908           src/backends/NetworkManagerPaldo.c
2909           src/backends/NetworkManagerRedHat.c
2910           src/backends/NetworkManagerSlackware.c
2911           src/backends/NetworkManagerSuSE.c
2912                 - (nm_system_restart_mdns_responder): remove
2913
2914         * src/backends/NetworkManagerGeneric.c
2915           src/backends/NetworkManagerGeneric.h
2916                 - (nm_generic_restart_mdns_responder): remove
2917
2918 2008-05-22  Dan Williams  <dcbw@redhat.com>
2919
2920         * configure.in
2921                 - clean up crypto options; just use --with-crypto=nss or
2922                         --with-crypto=gnutls
2923
2924 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2925
2926         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2927         anymore, do it right away.
2928
2929 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2930
2931         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2932         serial device open when we're not connecting or connected.
2933
2934         * src/nm-cdma-device.c (device_state_changed): Ditto.
2935
2936 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2937
2938         Don't remove all devices on waking up, sync with HAL.
2939
2940         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2941         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2942         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2943
2944 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2945
2946         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2947         If the default gateway is unreachable, add a route to gateway and try
2948         again.
2949
2950 2008-05-20  Dan Williams  <dcbw@redhat.com>
2951
2952         * system-settings/plugins/ifcfg-fedora/reader.c
2953                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2954
2955 2008-05-19  Dan Williams  <dcbw@redhat.com>
2956
2957         * system-settings/plugins/ifcfg-fedora/reader.c
2958                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2959                         if the ifcfg doesn't specify one (rh #446527)
2960
2961 2008-05-19  Dan Williams  <dcbw@redhat.com>
2962
2963         Make the system settings service exit when the bus goes away.  Since it's
2964         a bus-activated service, it's lifetime is limited to the bus that activated
2965         it (rh #444976).
2966
2967         * system-settings/src/Makefile.am
2968           system-settings/src/nm-system-config-hal-manager-private.h
2969                 - Remove nm-system-config-hal-manager-private.h
2970
2971         * system-settings/src/nm-system-config-hal-manager.c
2972                 - (nm_system_config_hal_manager_reinit_dbus,
2973                    nm_system_config_hal_manager_deinit_dbus): remove
2974
2975         * system-settings/src/main.c
2976                 - (dbus_reconnect): remove
2977                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2978                 - (destroy_cb): just quit when the bus goes away
2979                 - (start_dbus_service, dbus_init): simplify
2980                 - (main): destroy the wired devices hash table after destroying
2981                         the HAL manager so we don't have to disconnect signals from the
2982                         HAL manager
2983
2984 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2985
2986         Move crypto functions from nm-applet to libnm-util.
2987
2988         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2989         (nm_setting_802_1x_set_client_cert)
2990         (nm_setting_802_1x_set_phase2_ca_cert)
2991         (nm_setting_802_1x_set_phase2_client_cert)
2992         (nm_setting_802_1x_set_private_key)
2993         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2994         file (or private key and it's password), read the certificate data.
2995
2996         * libnm-util/crypto_nss.c: 
2997         * libnm-util/crypto_gnutls.c: 
2998         * libnm-util/crypto.[ch]: Move here from nm-applet.
2999
3000         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3001
3002         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3003         Imlement WPA-EAP configuration reading from sysconfig.
3004
3005 2008-05-16  Dan Williams  <dcbw@redhat.com>
3006
3007         * src/nm-device-802-11-wireless.c
3008                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3009                         wireless
3010
3011 2008-05-14  Dan Williams  <dcbw@redhat.com>
3012
3013         Fix Linus' bug in rh #134886
3014
3015         * src/nm-device-802-3-ethernet.c
3016                 - (constructor): request initial carrier state
3017
3018         * src/nm-netlink-monitor.c
3019                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3020                         signals after refilling the link cache.  Because the refill is a 
3021                         synchronous operation, the normal message hander won't get called
3022                         since libnl has already consumed the messages.
3023                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3024
3025 2008-05-14  Dan Williams  <dcbw@redhat.com>
3026
3027         * src/NetworkManagerSystem.c
3028                 - (nm_system_device_is_up_with_iface): clean up
3029
3030 2008-05-13  Dan Williams  <dcbw@redhat.com>
3031
3032         Fix refcounting issues over sleep/wake when a VPN connection was active that
3033         caused NM to try registering an object path for a device upon wake that was
3034         the same as an already registered object path.
3035
3036         * src/nm-device.c
3037                 - (nm_device_take_down): properly handle cases where the device is
3038                         no longer active but was just active, and therefore must be
3039                         deactivated.  When a device moves to unmanaged mode, this function
3040                         previously would not deactivate the device, because the state was
3041                         already unmanaged by the time this function was called.
3042
3043         * src/vpn-manager/nm-vpn-connection.c
3044                 - (device_state_changed): properly handle multiple devices states in
3045                         which the device is now deactivated.  Code previously didn't handle
3046                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3047                         UNMANAGED states.
3048
3049 2008-05-13  Dan Williams  <dcbw@redhat.com>
3050
3051         * src/nm-device-private.h
3052           src/nm-device.c
3053                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3054
3055         * src/nm-device-802-11-wireless.c
3056                 - (nm_device_802_11_wireless_set_enabled): take devices up
3057                         and down as appropriate for the rfkill state
3058
3059 2008-05-13  Dan Williams  <dcbw@redhat.com>
3060
3061         * marshallers/nm-marshal.list
3062                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3063
3064         * system-settings/plugins/ifcfg-fedora/Makefile.am
3065           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3066           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3067                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3068                         events.  Solely for use watching ifcfg files to pick up changes
3069                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3070
3071         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3072                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3073                         file contents change
3074                 - (finalize): clean up inotify watches
3075                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3076                         and the connection ifcfg for changes on their hardlinks
3077                 - (files_changed_cb): proxy the changed signal back out to listeners
3078
3079         * system-settings/plugins/ifcfg-fedora/plugin.c
3080                 - (dir_changed): 
3081                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3082                         changes
3083                 - (read_one_connection): connect to change signals on the new connection
3084                 - (dir_changed, connection_changed_handler,
3085                    handle_connection_remove_or_new): break out connection change
3086                         handling and connection new/remove handling so it can be used from
3087                         both the GFileMonitor callback and the NMIfcfgConnection changed
3088                         signals
3089
3090         * system-settings/plugins/ifcfg-fedora/reader.c
3091           system-settings/plugins/ifcfg-fedora/reader.h
3092                 - (connection_from_file): return the keyfile path the connection would use
3093
3094 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3095
3096         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3097         single PolKitContext which is shared by all. PolKitContext::unref leaks
3098         just about everything, including all open file descriptiors and results
3099         in 99% cpu usage when data arrives to any of the fds that don't belong
3100         to any context anymore.
3101
3102 2008-05-12  Dan Williams  <dcbw@redhat.com>
3103
3104         * gfilemonitor/glocaldirectorymonitor.c
3105           gfilemonitor/glocaldirectorymonitor.h
3106                 - (g_local_directory_monitor_constructor): actually subscribe to the
3107                         watch
3108                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3109
3110         * gfilemonitor/glocalfilemonitor.c
3111           gfilemonitor/glocalfilemonitor.h
3112                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3113                 - (_g_local_file_monitor_new): ensure that inotify is started up
3114
3115 2008-05-11  Dan Williams  <dcbw@redhat.com>
3116
3117         * configure.in
3118                 - record PolicyKit version
3119
3120         * system-settings/src/nm-polkit-helpers.c
3121                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3122                         with PolicyKit <= 0.6
3123
3124 2008-05-11  Dan Williams  <dcbw@redhat.com>
3125
3126         Update Fedora system-settings plugin to support latest API and use
3127         GFileMonitor rather than home-rolled inotify code.
3128
3129         * system-settings/plugins/ifcfg-fedora/Makefile.am
3130           system-settings/plugins/ifcfg-fedora/common.h
3131           system-settings/plugins/ifcfg-fedora/plugin.c
3132                 - Update to latest system settings plugin API; use GIO instead of
3133                         custom inotify code; use NMIfcfgConnection objects instead of
3134                         ConnectionData structures tacked onto NMConnection objects
3135
3136         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3137           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3138                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3139                         connections
3140
3141         * system-settings/plugins/ifcfg-fedora/reader.c
3142           system-settings/plugins/ifcfg-fedora/reader.h
3143                 - Move ifcfg parsing bits here from parser.c
3144
3145         * system-settings/plugins/ifcfg-fedora/parser.c
3146           system-settings/plugins/ifcfg-fedora/parser.h
3147                 - Remove; most code moved to reader.c
3148
3149 2008-05-11  Dan Williams  <dcbw@redhat.com>
3150
3151         * configure.in
3152           Makefile.am
3153           gfilemonitor/*
3154                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3155                         implementation, so that the same change monitoring code can be used
3156                         on systems without glib-2.14 (like Fedora 8)
3157
3158         * system-settings/plugins/keyfile/Makefile.am
3159           system-settings/plugins/keyfile/plugin.c
3160           system-settings/plugins/ifcfg-suse/Makefile.am
3161           system-settings/plugins/ifcfg-suse/plugin.c
3162                 - Use private gfilemonitor code if GIO is not present
3163
3164 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3165
3166         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3167         NMExportedConnection's 'update' and 'delete' and return error with
3168         descriptive message.
3169
3170 2008-05-08  Dan Williams  <dcbw@redhat.com>
3171
3172         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3173
3174         * src/nm-gsm-device.c
3175           src/nm-cdma-device.c
3176                 - (real_get_best_auto_connection): implement; allow autoconnection
3177                         to GSM & CDMA devices
3178
3179 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3180
3181         Use PolicyKit to authorize the system settings' AddConnection method
3182         and the system settings connections' Update and Delete methods.
3183         
3184         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3185         (impl_exported_connection_delete, nm_exported_connection_update)
3186         (nm_exported_connection_delete): Return boolean and fill GError
3187         to notify the callers of the reasons why it might have failed.
3188
3189         * libnm-glib/nm-dbus-settings-system.c
3190         (nm_dbus_settings_system_add_connection): Return the error from dbus
3191         call so that the callers can see why it failed.
3192
3193         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3194         signatures.
3195
3196         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3197
3198         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3199         abstract base class that checks PolicyKit permissions.
3200
3201         * system-settings/src/dbus-settings.c:
3202         (impl_settings_add_connection): Check the policy before carring out
3203         the request.
3204
3205         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3206         Inherit from NMSysconfigConnection, check the policies before
3207         allowing updating or removing.
3208
3209         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3210         Inherit from NMSysconfigConnection.
3211
3212         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3213         "Delete" methods with async flag so that the implementations can get
3214         access to DBusGMethodInvocation.
3215
3216         * system-settings/src/dbus-settings.c 
3217         (settings_add_connection_check_privileges): Implement.
3218         (impl_settings_add_connection): Check the privileges before adding a new
3219         connection. Improve error reporting.
3220
3221         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3222         async so that the implementation can access DBusGMethodInvocation.
3223
3224         * configure.in: Check for PolicyKit.
3225
3226         * policy/org.freedesktop.network-manager-settings.system.policy: 
3227         New file.
3228
3229         * policy/Makefile.am: Install the policy file.
3230
3231         * configure.in: Add 'policy' subdir.
3232
3233 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3234
3235         Rewrite the suse system settings plugin.
3236
3237         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3238
3239         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3240
3241         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3242
3243         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3244
3245         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3246
3247         * system-settings/src/main.c (load_plugins): Improve error reporting.
3248
3249         * system-settings/src/sha1.[ch] Add.
3250
3251         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3252
3253 2008-05-07  Dan Williams  <dcbw@redhat.com>
3254
3255         * system-settings/plugins/keyfile/reader.c
3256                 - (read_one_setting_value): handle IP address items separately
3257                 - (read_array_of_uint): read IPv4 DNS option as a string array
3258                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3259                         array
3260
3261         * system-settings/plugins/keyfile/writer.c
3262                 - (write_setting_value): handle IP address items separately
3263                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3264                         not an array of uint, so that it's user-editable
3265                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3266                         arrays, so they are user-editable
3267
3268 2008-05-07  Dan Williams  <dcbw@redhat.com>
3269
3270         * system-settings/plugins/keyfile/Makefile.am
3271                 - Change location of the keyfile plugin settings to
3272                         /etc/NetworkManager/system-connections
3273
3274 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3275
3276         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3277
3278         * system-settings/plugins/keyfile/plugin.c: Work with
3279         NMKeyfileConnections.
3280
3281         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3282         Plugins are supposed to return NMExportedConnections now and handle the
3283         updated(), removed(), and GetSecrets().
3284         Store the internal list of connections in hash table to make it easier
3285         to find duplicates.
3286
3287 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3288
3289         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3290         for multiple IP addresses.
3291
3292 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3293
3294         Patch from André Lemos.
3295
3296         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3297         corruption.
3298
3299 2008-05-06  Dan Williams  <dcbw@redhat.com>
3300
3301         * src/dhcp-manager/nm-dhcp-manager.c
3302                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3303                         NMIP4Config to support multiple IP addresses
3304
3305         * src/NetworkManagerUtils.c
3306                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3307
3308         * src/nm-ip4-config.c
3309           src/nm-ip4-config.h
3310                 - Store a list of IPv4 address/netmask/gateway tuples
3311                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3312                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3313                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3314                    nm_ip4_config_set_address): remove
3315                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3316                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3317                         new functions; handle multiple IPv4 addresses
3318
3319         * src/nm-device.c
3320           src/ppp-manager/nm-ppp-manager.c
3321           src/vpn-manager/nm-vpn-connection.c
3322           src/NetworkManagerPolicy.c
3323           test/nm-tool.c
3324           libnm-glib/libnm-glib-test.c
3325                 - update for changes to NMIP4Config for multiple IPv4 addresses
3326
3327         * src/NetworkManagerSystem.c
3328                 - (nm_system_device_set_ip4_route): don't add the route if any address
3329                         is on the same subnet as the destination
3330                 - (check_one_address): ignore the exact match, just match family and
3331                         interface index
3332                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3333                         an interface
3334                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3335                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3336
3337         * introspection/nm-ip4-config.xml
3338                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3339                 - Add 'addresses' property which is an array of (uuu) tuples of
3340                         address/netmask/gateway
3341
3342         * libnm-util/nm-setting-ip4-config.c
3343                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3344
3345         * libnm-glib/nm-ip4-config.c
3346           libnm-glib/nm-ip4-config.h
3347                 - Handle D-Bus interface changes to support multiple IP addresses
3348
3349 2008-05-06  Dan Williams  <dcbw@redhat.com>
3350
3351         * libnm-util/nm-utils.c
3352           libnm-util/nm-utils.h
3353                 - (nm_utils_ip4_addresses_from_gvalue,
3354                    nm_utils_ip4_addresses_to_gvalue): new functions
3355
3356 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3357
3358         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3359         the returned connection paths.
3360
3361 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3362
3363         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3364         "PropertiesChanged" signal signature.
3365
3366         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3367         defined in nm-dbus-glib-types.h.
3368         Don't register the connection on dbus, we're a proxy class to 
3369         communicate with an already registered connection over dbus.
3370
3371 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3372
3373         Implement new subclasses of NMSettings and NMExportedConnection to make
3374         it easier for the applet to access and modify system settings.
3375
3376         * libnm-glib/nm-dbus-connection.[ch]:
3377         * libnm-glib/nm-dbus-settings.[ch]:
3378         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3379
3380         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3381         bindings and glue.
3382
3383         * include/NetworkManager.h: Define the system settings DBus interface.
3384
3385 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3386
3387         Implement additional C API for exported connections to make them identical
3388         with the DBus API. Change the (list_connections) virtual function to be
3389         more usable from C - instead of requiring implementers to return a GPtrArray
3390         of dbus paths, return a list of connections.
3391
3392         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3393         (nm_settings_list_connections):
3394         (nm_exported_connection_new):
3395         (nm_exported_connection_update):
3396         (nm_exported_connection_delete): Implement.
3397
3398         (impl_settings_list_connections):
3399         (impl_exported_connection_update):
3400         (impl_exported_connection_delete): Use the new public functions to make 
3401         sure the C and dbus interfaces stay in sync.
3402
3403         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3404         connections.
3405
3406 2008-05-02  Dan Williams  <dcbw@redhat.com>
3407
3408         * system-settings/plugins/ifcfg-fedora/plugin.c
3409                 - (dispose): use right unref call on the DBusGConnection
3410
3411 2008-05-02  Dan Williams  <dcbw@redhat.com>
3412
3413         * src/nm-serial-device.c
3414                 - (find_terminator): don't compare the whole line, just the size of the
3415                         terminator, since some modems put stuff after the terminator, like
3416                         "CONNECT 9600"
3417
3418 2008-05-01  Dan Williams  <dcbw@redhat.com>
3419
3420         Patch from Michael Biebl <biebl@debian.org>
3421
3422         * callouts/Makefile.am
3423           callouts/org.freedesktop.nm_dispatcher.service.in
3424           system-settings/src/Makefile.am
3425           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3426                 - use the right install location for dbus-activated stuff
3427
3428 2008-04-30  Dan Williams  <dcbw@redhat.com>
3429
3430         * src/nm-gsm-device.c
3431                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3432                         PIN or PUK
3433
3434 2008-04-30  Dan Williams  <dcbw@redhat.com>
3435
3436         * src/nm-manager.c
3437                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3438
3439 2008-04-30  Dan Williams  <dcbw@redhat.com>
3440
3441         * src/nm-device-802-3-ethernet.c
3442           src/nm-device-802-11-wireless.c
3443                 - (real_is_up): return true instead of chaining up to unimplemented
3444                         parent method
3445
3446 2008-04-30  Dan Williams  <dcbw@redhat.com>
3447
3448         * src/NetworkManagerSystem.c
3449           src/NetworkManagerSystem.h
3450                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3451                         functions to check device flags for IFF_UP
3452
3453         * src/nm-serial-device.c
3454                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3455                         implement is_up
3456
3457         * src/nm-device-802-3-ethernet.c
3458           src/nm-device-802-11-wireless.c
3459                 - (real_hw_is_up): call nm_system_device_is_up()
3460
3461         * src/nm-device.c
3462                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3463                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3464                         does not implement
3465
3466 2008-04-29  Dan Williams  <dcbw@redhat.com>
3467
3468         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3469
3470         * marshallers/nm-marshal.list
3471                 - Add marshaller
3472
3473         * src/NetworkManager.c
3474                 - (main): let the NMManager handle the NMHalManager
3475
3476         * src/nm-hal-manager.c
3477           src/nm-hal-manager.h
3478                 - convert to a GObject, and emit singals when stuff changes.  Let the
3479                         NMManager handle the signals, instead of the NMHalManager calling
3480                         into the NMManager.  
3481
3482         * src/nm-manager.c
3483           src/nm-manager.h
3484                 - (remove_one_device): consolidate device removals here
3485                 - (dispose): use remove_one_device()
3486                 - (nm_manager_get_device_by_udi): make static
3487                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3488                         manager for devices at startup or wakeup time
3489                 - (nm_manager_new): create and monitor the HAL manager
3490                 - (hal_manager_udi_added_cb): new function; do what
3491                         nm_manager_add_device() used to do when signalled by the hal manager
3492                 - (hal_manager_udi_removed_cb): new function; do what
3493                         nm_manager_remove_device() used to do when signalled by the hal
3494                         manager
3495                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3496                         hal manager
3497                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3498                         in our device list that aren't known to HAL
3499                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3500                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3501                         commits ago
3502                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3503                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3504                    nm_manager_wireless_hardware_enabled,
3505                    nm_manager_set_wireless_hardware_enabled): remove, unused
3506
3507 2008-04-28  Dan Williams  <dcbw@redhat.com>
3508
3509         Fix the device up/down ambiguities.  Up/down state used to be a
3510         conglomeration of hardware state (IFF_UP) and any device-specific things
3511         (supplicant, periodic timers, etc) that the device used to indicate
3512         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3513         reason, then the device specific stuff wouldn't get run, and the device
3514         would be stuck.
3515
3516         * src/nm-device.c
3517           src/nm-device.h
3518                 - Create hw_is_up, hw_bring_up, and hw_take_down
3519                 - Rename bring_down -> take_down
3520                 - (real_hw_is_up): check interface flags for IFF_UP
3521                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3522                 - (nm_device_is_up): make static; only used locally
3523                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3524                         if the device is already up; if the device isn't up, bring it up
3525                 - (nm_device_hw_take_down): just take down hardware
3526                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3527                 - (nm_device_take_down): always deactivate device when called; always
3528                         try to take hardware down too
3529                 - (nm_device_state_changed): take device down when entering unmanaged
3530                         state from a higher state
3531
3532         * src/nm-device-802-11-wireless.c
3533                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3534                         check IFF_UP really
3535                 - (real_take_down, supplicant_iface_state_cb_handler, 
3536                    supplicant_iface_connection_state_cb_handler,
3537                    supplicant_mgr_state_cb_handler): fix some messages
3538
3539         * src/nm-device-802-3-ethernet.c
3540                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3541                         check IFF_UP really
3542
3543 2008-04-28  Dan Williams  <dcbw@redhat.com>
3544
3545         * src/nm-manager.c
3546           src/nm-manager.h
3547                 - (nm_manager_error_get_type): add new error
3548                 - (nm_manager_remove_device): don't bother taking down the device here,
3549                         the state change from unmanaging the device will do it
3550                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3551                         uses it; when going to sleep, just unmanage the device instead of
3552                         taking it down, because stuff will cleaned up correctly when the
3553                         device gets unmanaged
3554
3555 2008-04-28  Dan Williams  <dcbw@redhat.com>
3556
3557         * src/nm-hal-manager.c
3558                 - (add_initial_devices): convert to a GSourceFunc prototype
3559                 - (nm_manager_state_changed): when coming out of sleep, punt the
3560                         device re-addition to an idle handler to let D-Bus events go out
3561                         first, fixing a potential dbus-glib assert if the old device was
3562                         not yet disposed (due to references held while emitting the D-Bus
3563                         signals) but the new device was found, because the mainloop didn't
3564                         run between signal emission and add_initial_devices()
3565
3566 2008-04-27  Dan Williams  <dcbw@redhat.com>
3567
3568         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3569
3570         * initscript/paldo/NetworkManager.in
3571           initscript/SUSE/networkmanager.in
3572                 - Remove last bits of dhcdbd
3573
3574 2008-04-27  Dan Williams  <dcbw@redhat.com>
3575
3576         * src/nm-device-802-11-wireless.c
3577                 - (link_timeout_cb): don't ask for secrets when disconnected during
3578                         association/authentication phase, drivers are still just too crappy
3579
3580 2008-04-27  Dan Williams  <dcbw@redhat.com>
3581
3582         * Makefile.am
3583           configure.in
3584           dispatcher-daemon/Makefile.am
3585           dispatcher-daemon/NetworkManagerDispatcher.c
3586           initscript/Arch/Makefile.am
3587           initscript/Arch/networkmanager-dispatcher.in
3588           initscript/Gentoo/Makefile.am
3589           initscript/Gentoo/NetworkManagerDispatcher.in
3590           initscript/Mandriva/Makefile.am
3591           initscript/Mandriva/networkmanagerdispatcher.in
3592           initscript/RedHat/Makefile.am
3593           initscript/RedHat/NetworkManagerDispatcher.in
3594           initscript/SUSE/Makefile.am
3595           initscript/SUSE/networkmanager-dispatcher.in
3596           initscript/Slackware/Makefile.am
3597           initscript/Slackware/rc.networkmanager-dispatcher.in
3598           initscript/paldo/Makefile.am
3599           initscript/paldo/NetworkManagerDispatcher.in
3600           man/Makefile.am
3601           man/NetworkManagerDispatcher.8.in
3602                 - Remove the dispatcher daemon
3603
3604 2008-04-27  Dan Williams  <dcbw@redhat.com>
3605
3606         * callouts/Makefile.am
3607           callouts/nm-dispatcher-action.c
3608           callouts/nm-dispatcher-action.h
3609           callouts/nm-dispatcher.conf
3610           callouts/nm-dispatcher.xml
3611           callouts/org.freedesktop.nm_dispatcher.service
3612                 - Re-implement the dispatcher as a system-bus activated service that
3613                         NM calls on-demand, rather than an always running daemon
3614
3615         * src/Makefile.am
3616                 - Add callouts dir to includes to pick up dispatcher defines
3617
3618         * src/nm-device.c
3619                 - (nm_device_state_changed): call dispatcher on device activated/
3620                         deactivated
3621
3622         * src/vpn-manager/nm-vpn-connection.c
3623                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3624                         go up and down
3625
3626         * src/NetworkManagerUtils.c
3627           src/NetworkManagerUtils.h
3628                 - (nm_utils_call_dispatcher): helper to call dispatcher
3629
3630 2008-04-27  Dan Williams  <dcbw@redhat.com>
3631
3632         * src/NetworkManagerUtils.c
3633           src/NetworkManagerUtils.h
3634                 - remove unneeded includes
3635                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3636                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3637                    nm_timeval_cmp, nm_timeval_add): remove, unused
3638                 - clean up formatting
3639                 - (nm_spawn_process): de-uglify
3640
3641         * src/nm-device-802-11-wireless.c
3642                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3643
3644 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3645
3646         * initscript/Gentoo/NetworkManager.in:
3647                 Fix for starting the daemon.
3648
3649 2008-04-25  Dan Williams  <dcbw@redhat.com>
3650
3651         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3652
3653         * src/NetworkManagerSystem.c
3654                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3655
3656 2008-04-25  Dan Williams  <dcbw@redhat.com>
3657
3658         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3659
3660         * src/NetworkManagerSystem.c
3661                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3662                         implementation of nm_system_device_replace_default_route()
3663
3664         * src/NetworkManagerPolicy.c
3665                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3666
3667         * src/backends/NetworkManagerArch.c
3668           src/backends/NetworkManagerDebian.c
3669           src/backends/NetworkManagerFrugalware.c
3670           src/backends/NetworkManagerGeneric.c
3671           src/backends/NetworkManagerGeneric.h
3672           src/backends/NetworkManagerGentoo.c
3673           src/backends/NetworkManagerMandriva.c
3674           src/backends/NetworkManagerPaldo.c
3675           src/backends/NetworkManagerRedHat.c
3676           src/backends/NetworkManagerSlackware.c
3677           src/backends/NetworkManagerSuSE.c
3678                 - (nm_system_device_replace_default_route): remove
3679
3680 2008-04-25  Dan Williams  <dcbw@redhat.com>
3681
3682         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3683
3684         * src/NetworkManagerSystem.c
3685                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3686                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3687                         replace nm_system_device_add_route_via_device_with_iface() in the
3688                         backends
3689
3690         * src/backends/NetworkManagerArch.c
3691           src/backends/NetworkManagerDebian.c
3692           src/backends/NetworkManagerFrugalware.c
3693           src/backends/NetworkManagerGeneric.c
3694           src/backends/NetworkManagerGeneric.h
3695           src/backends/NetworkManagerGentoo.c
3696           src/backends/NetworkManagerMandriva.c
3697           src/backends/NetworkManagerPaldo.c
3698           src/backends/NetworkManagerRedHat.c
3699           src/backends/NetworkManagerSlackware.c
3700           src/backends/NetworkManagerSuSE.c
3701                 - Remove nm_system_device_add_route_via_device_with_iface()
3702
3703 2008-04-25  Dan Williams  <dcbw@redhat.com>
3704
3705         * system-settings/plugins/ifcfg-fedora/parser.c
3706                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3707
3708 2008-04-24  Dan Williams  <dcbw@redhat.com>
3709
3710         * dispatcher-daemon/NetworkManagerDispatcher.c
3711                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3712
3713 2008-04-24  Dan Williams  <dcbw@redhat.com>
3714
3715         * initscript/RedHat/NetworkManager.in
3716           initscript/RedHat/NetworkManagerDispatcher.in
3717                 - Be active at runlevel 2
3718                 - Adjust priorities earlier
3719
3720 2008-04-22  Dan Williams  <dcbw@redhat.com>
3721
3722         * src/NetworkManagerPolicy.c
3723                 - (update_routing_and_dns): when checking for a gateway, look at the
3724                         composite IP4 config, not the connection's ip4-config setting, which
3725                         doesn't include DHCP-returned information
3726
3727 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3728
3729         Implement GKeyFile system settings plugin.
3730         Implement writing system settings (currently supported only by GKeyFile plugin).
3731
3732         * system-settings/src/main.c: 
3733         * system-settings/src/dbus-settings.c: Move the communication with plugins
3734         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3735         plugins for adding/updating/removing connections.
3736
3737         * system-settings/src/nm-system-config-interface.c
3738         (nm_system_config_interface_add_connection): Implement
3739         (nm_system_config_interface_update_connection): Implement.
3740         (nm_system_config_interface_remove_connection): Implement.
3741
3742         * system-settings/plugins/keyfile/Makefile.am:
3743         * system-settings/plugins/keyfile/plugin.[ch]:
3744         * system-settings/plugins/keyfile/writer.[ch]:
3745         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3746
3747         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3748
3749         * configure.in: Generate GKeyFile Makefile.
3750
3751         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3752         corruption, need to duplicate the returned string.
3753         (impl_exported_connection_update): Implement.
3754         (impl_exported_connection_delete): Implement.
3755
3756         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3757
3758         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3759
3760 2008-04-22  Dan Williams  <dcbw@redhat.com>
3761
3762         Patch from Charles R. Anderson (cra@wpi.edu)
3763
3764         * src/NetworkManagerPolicy.c
3765                 - (update_routing_and_dns): don't select devices without a gateway
3766                         as having the default route (rh #437338)
3767
3768 2008-04-21  Dan Williams  <dcbw@redhat.com>
3769
3770         * src/nm-activation-request.c
3771           src/nm-activation-request.h
3772                 - (dispose): ensure to disconnect from the device's state-changed signal
3773                         when appropriate so the signal doesn't get handled by an already
3774                         disposed NMActRequest
3775                 - (device_state_changed): update is_default here too just to make sure
3776                         default is only True when the child device is activated
3777                 - (nm_act_request_set_default): new function
3778
3779         * src/NetworkManagerPolicy.c
3780                 - (update_routing_and_dns): set 'default' on the active connection which
3781                         has the default route and DNS
3782
3783 2008-04-21  Dan Williams  <dcbw@redhat.com>
3784
3785         * src/NetworkManagerPolicy.c
3786                 - (device_state_changed): update routing and DNS when a device goes
3787                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3788
3789 2008-04-21  Dan Williams  <dcbw@redhat.com>
3790
3791         * include/NetworkManager.h
3792                 - Add NMActiveConnectionState enum
3793
3794         * introspection/nm-active-connection.xml
3795           introspection/nm-vpn-connection.xml
3796                 - Add 'State' property for overall active connection state
3797                 - Add 'Default' property, when True means this active connection
3798                         has the default route
3799                 - Add PropertyChanged signals so changes actually go out over the bus
3800
3801         * src/nm-active-connection.h
3802                 - Add defines for State & Default properties
3803
3804         * src/nm-activation-request.c
3805                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3806                         signal to determine active connection state
3807
3808         * src/vpn-manager/nm-vpn-connection.c
3809           src/vpn-manager/nm-vpn-connection.h
3810           src/vpn-manager/nm-vpn-manager.c
3811           src/vpn-manager/nm-vpn-service.c
3812                 - Rename old 'state' to 'vpn-state'
3813                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3814                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3815                         'vpn-state-changed' signal
3816
3817         * libnm-glib/nm-active-connection.c
3818           libnm-glib/nm-active-connection.h
3819                 - Add new 'state' and 'default' properties and accessors
3820
3821         * libnm-glib/nm-vpn-connection.c
3822           libnm-glib/nm-vpn-connection.h
3823                 - Rename old 'state' property to 'vpn-state'
3824                 - Add new 'state' and 'default' properties and accessors
3825
3826 2008-04-21  Dan Williams  <dcbw@redhat.com>
3827
3828         * src/nm-ip4-config.c
3829                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3830                         not specified (rh #443474)
3831
3832 2008-04-20  Dan Williams  <dcbw@redhat.com>
3833
3834         * src/NetworkManagerUtils.c
3835           src/NetworkManagerUtils.h
3836                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3837                         NMSettingIP4Config to an NMIP4Config object
3838
3839         * src/nm-device.c
3840                 - (merge_ip4_config): move to NetworkManagerUtils.c
3841
3842         * src/vpn-manager/nm-vpn-connection.c
3843                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3844                         too
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                 - Add 'no-vj-comp' option for TCP header compression
3851                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3852                         uint32
3853
3854 2008-04-18  Dan Williams  <dcbw@redhat.com>
3855
3856         * libnm-util/nm-setting-ppp.c
3857           libnm-util/nm-setting-ppp.h
3858           src/ppp-manager/nm-ppp-manager.c
3859                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3860
3861 2008-04-18  Dan Williams  <dcbw@redhat.com>
3862
3863         * libnm-util/nm-setting-ppp.c
3864           libnm-util/nm-setting-ppp.h
3865           src/ppp-manager/nm-ppp-manager.c
3866                 - Remove the 'usepeerdns' option and always request DNS servers from
3867                         the PPP server; the connection chooses to use/override/ignore the
3868                         DNS servers returned from the PPP server
3869
3870 2008-04-18  Dan Williams  <dcbw@redhat.com>
3871
3872         * libnm-util/nm-setting-ppp.c
3873           libnm-util/nm-setting-ppp.h
3874           src/ppp-manager/nm-ppp-manager.c
3875                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3876                         it seems to have been an erroneous addition to the PPTP plugin in
3877                         the first place (from which the ppp-manager is derived)
3878
3879 2008-04-17  Dan Williams  <dcbw@redhat.com>
3880
3881         * libnm-util/nm-setting-pppoe.c
3882                 - (verify): require a PPP setting too
3883
3884         * src/ppp-manager/nm-ppp-manager.c
3885                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3886                         segfaulting
3887
3888 2008-04-17  Dan Williams  <dcbw@redhat.com>
3889
3890         * src/nm-device.c
3891                 - (nm_device_state_changed): do deactivation and and promotion to
3892                         unavailable here, so that the device gets cleaned up before the
3893                         manager runs and starts emitting signals; do the
3894                         FAILED->DISCONNECTED transition from an idle handler rather than
3895                         immediately to guard against recursion
3896                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3897                         FAILED->DISCONNECTED handler if it's scheduled
3898
3899 2008-04-17  Dan Williams  <dcbw@redhat.com>
3900
3901         * src/nm-device-802-11-wireless.c
3902                 - (state_changed_cb): clear AP list when device transitions to
3903                         unavailable or unmanaged
3904                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3905                         since this is already done in device_cleanup()
3906                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3907                         isn't available or managed
3908                 - (device_cleanup): use remove_all_aps()
3909                 - (remove_all_aps): consolidate code removing all APs
3910
3911 2008-04-17  Dan Williams  <dcbw@redhat.com>
3912
3913         * src/nm-serial-device.c
3914           src/nm-serial-device.h
3915                 - (wait_for_reply_got_data): break input into lines, and search each
3916                         line for responses _and_ terminator strings; also make sure that
3917                         the read loop doesn't continue after the timeout is supposed to fire
3918                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3919
3920         * src/nm-gsm-device.c
3921           src/nm-cdma-device.c
3922                 - Send terminators to nm_serial_device_wait_for_reply()
3923
3924 2008-04-16  Dan Williams  <dcbw@redhat.com>
3925
3926         Patch from 陈鑫 <znscnchen@gmail.com>
3927
3928         * src/ppp-manager/nm-pppd-plugin.c
3929                 - (get_credentials): return correct value for success; handle case where
3930                         pppd just does some checking but doesn't want a password
3931                 - (plugin_init): make CHAP work too
3932
3933 2008-04-16  Dan Williams  <dcbw@redhat.com>
3934
3935         Patch from 陈鑫 <znscnchen@gmail.com>
3936
3937         * src/ppp-manager/nm-ppp-manager.c
3938                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3939
3940 2008-04-16  Dan Williams  <dcbw@redhat.com>
3941
3942         Patch from 陈鑫 <znscnchen@gmail.com>
3943
3944         * src/nm-device-802-3-ethernet.c
3945                 - (real_deactivate_quickly): clear the IP interface name on
3946                         deactivation, otherwise the wrong interface might get used later
3947                         for routing and IP management
3948
3949 2008-04-15  Dan Williams  <dcbw@redhat.com>
3950
3951         * libnm-glib/nm-device.c
3952                 - (get_product_and_vendor): handle serial devices correctly
3953                 - (nm_device_update_description): pass device to get_product_and_vendor()
3954
3955 2008-04-15  Dan Williams  <dcbw@redhat.com>
3956
3957         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3958
3959         * src/NetworkManagerSystem.h
3960           src/backends/NetworkManagerArch.c
3961           src/backends/NetworkManagerDebian.c
3962           src/backends/NetworkManagerFrugalware.c
3963           src/backends/NetworkManagerGeneric.c
3964           src/backends/NetworkManagerGeneric.h
3965           src/backends/NetworkManagerGentoo.c
3966           src/backends/NetworkManagerMandriva.c
3967           src/backends/NetworkManagerPaldo.c
3968           src/backends/NetworkManagerRedHat.c
3969           src/backends/NetworkManagerSlackware.c
3970           src/backends/NetworkManagerSuSE.c
3971           src/nm-device.c
3972                 - (nm_generic_device_add_ip6_link_address,
3973                    nm_system_device_add_ip6_link_address): remove
3974
3975 2008-04-15  Dan Williams  <dcbw@redhat.com>
3976
3977         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3978
3979         * src/backends/NetworkManagerArch.c
3980           src/backends/NetworkManagerDebian.c
3981           src/backends/NetworkManagerFrugalware.c
3982           src/backends/NetworkManagerGeneric.c
3983           src/backends/NetworkManagerGeneric.h
3984           src/backends/NetworkManagerGentoo.c
3985           src/backends/NetworkManagerMandriva.c
3986           src/backends/NetworkManagerPaldo.c
3987           src/backends/NetworkManagerRedHat.c
3988           src/backends/NetworkManagerSlackware.c
3989           src/backends/NetworkManagerSuSE.c
3990           src/NetworkManagerSystem.h
3991                 - flush_routes -> flush_ip4_routes
3992                 - flush_addresses -> flush_ip4_addresses
3993
3994         * src/NetworkManagerSystem.c
3995           src/nm-device.c
3996           src/vpn-manager/nm-vpn-connection.c
3997                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3998
3999 2008-04-15  Dan Williams  <dcbw@redhat.com>
4000
4001         Remove exposure of wireless-tools mode types in the API.
4002
4003         * include/NetworkManager.h
4004                 - Define NM80211Mode enum
4005
4006         * introspection/generic-types.xml
4007                 - Describe NM_802_11_MODE enum
4008                 - Remove IW_MODE_* enum
4009
4010         * introspection/nm-access-point.xml
4011           libnm-glib/nm-access-point.c
4012           libnm-glib/nm-access-point.h
4013                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4014
4015         * introspection/nm-device-802-11-wireless.xml
4016           libnm-glib/nm-device-802-11-wireless.c
4017           libnm-glib/nm-device-802-11-wireless.h
4018                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4019
4020         * libnm-util/nm-setting-wireless.c
4021           src/NetworkManagerAP.c
4022           src/NetworkManagerAP.h
4023           src/nm-device-802-11-wireless.c
4024           src/nm-device-802-11-wireless.h
4025           test/nm-tool.c
4026                 - Use NM80211Mode not IW_MODE_*
4027
4028 2008-04-15  Dan Williams  <dcbw@redhat.com>
4029
4030         Enhance nm-online based on a patch from Bill Nottingham.
4031
4032         * test/nm-online.c
4033                 - Add a '-q' option
4034                 - Add help messages and option summary
4035                 - Add long-format options
4036                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4037
4038 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4039
4040         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4041
4042         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4043
4044 2008-04-15  Dan Williams  <dcbw@redhat.com>
4045
4046         * nm-setting-ip4-config.c
4047                 - (ip4_addresses_from_gvalue): handle NULL address array
4048
4049         * nm-setting-8021x.c
4050                 - (verify_tls, verify_ttls): warn on failed verification
4051
4052 2008-04-10  Dan Williams  <dcbw@redhat.com>
4053
4054         * src/nm-gsm-device.c
4055                 - (automatic_registration): accept "+CREG: 0,0"
4056                 - (automatic_registration_response): fail on "+CREG: 0,0"
4057
4058 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4059
4060         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4061
4062 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4063
4064         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4065         Make it compile again by commenting out broken code that at first didn't work and
4066         now didn't compile either.
4067
4068 2008-04-08  Dan Williams  <dcbw@redhat.com>
4069
4070         * libnm-glib/nm-object-cache.c
4071           libnm-glib/nm-settings.c
4072           src/dhcp-manager/nm-dhcp-manager.c
4073           system-settings/plugins/ifcfg-fedora/plugin.c
4074           system-settings/plugins/ifcfg-suse/plugin.c
4075           system-settings/src/nm-system-config-hal-manager.c
4076           libnm-util/nm-utils.c
4077                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4078                         not threadsafe anyway
4079
4080 2008-04-08  Dan Williams  <dcbw@redhat.com>
4081
4082         * system-settings/src/main.c
4083                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4084                         callbacks take a device type too
4085
4086 2008-04-08  Dan Williams  <dcbw@redhat.com>
4087
4088         The system settings service will now create a new default DHCP connection
4089         for wired devices that have no existing applicable connection.
4090
4091         * system-settings/src/nm-system-config-hal-manager.c
4092           system-settings/src/nm-system-config-hal-manager.h
4093                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4094
4095         * system-settings/src/dbus-settings.c
4096           system-settings/src/dbus-settings.h
4097                 - (nm_sysconfig_settings_get_connections): new function
4098                 - (nm_sysconfig_settings_is_device_managed): new function
4099
4100         * system-settings/src/main.c
4101                 - (load_stuff): check for wired devices that need a default connection
4102                 - (get_details_for_udi): get interface and MAC address from HAL
4103                 - (add_default_dhcp_connection): add a default connection for a wired
4104                         device if needed
4105                 - (device_added_cb, device_removed_cb): do the right thing with
4106                         wired devices and their default connections on HAL device events
4107
4108 2008-04-07  Dan Williams  <dcbw@redhat.com>
4109
4110         * libnm-glib/nm-device.c
4111           libnm-glib/nm-device.h
4112                 - Proxy the 'managed' property
4113
4114 2008-04-07  Dan Williams  <dcbw@redhat.com>
4115
4116         * src/nm-gsm-device.c
4117           src/nm-cdma-device.c
4118                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4119                         handler to transition to DISCONNECTED
4120
4121 2008-04-07  Dan Williams  <dcbw@redhat.com>
4122
4123         Patch from Bill Nottingham
4124
4125         * dispatcher-daemon/NetworkManagerDispatcher.c
4126                 - ignore backup/packaging crufy (rh #440143)
4127
4128 2008-04-07  Dan Williams  <dcbw@redhat.com>
4129
4130         * include/NetworkManager.h
4131                 - Remove the DOWN and CANCELLED device states
4132                 - Add UNMANAGED and UNAVAILABLE device states
4133                 - Document the device states
4134
4135         * introspection/nm-device.xml
4136           src/nm-device-interface.c
4137           src/nm-device-interface.h
4138                 - Add the 'managed' property
4139
4140         * test/nm-tool.c
4141                 - (detail_device): print out device state
4142
4143         * src/NetworkManagerSystem.h
4144           src/backends/NetworkManagerArch.c
4145           src/backends/NetworkManagerDebian.c
4146           src/backends/NetworkManagerFrugalware.c
4147           src/backends/NetworkManagerGentoo.c
4148           src/backends/NetworkManagerMandriva.c
4149           src/backends/NetworkManagerPaldo.c
4150           src/backends/NetworkManagerRedHat.c
4151           src/backends/NetworkManagerSlackware.c
4152           src/backends/NetworkManagerSuSE.c
4153                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4154                    nm_system_device_free_system_config): remove; they were unused and
4155                         their functionality should be re-implemented in each distro's
4156                         system settings service plugin 
4157
4158         * src/nm-gsm-device.c
4159           src/nm-gsm-device.h
4160           src/nm-cdma-device.c
4161           src/nm-cdma-device.h
4162                 - (*_new): take the 'managed' argument
4163
4164         * src/nm-device.c
4165                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4166                 - (nm_device_init): start in unmanaged state, not disconnected
4167                 - (constructor): don't start device until the system settings service
4168                         has had a chance to figure out if the device is managed or not
4169                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4170                         don't set device state here, let callers handle that as appropriate
4171                 - (nm_device_dispose): don't touch the device if it's not managed
4172                 - (set_property, get_property, nm_device_class_init): implement the
4173                         'managed' property
4174                 - (nm_device_state_changed): bring the device up if its now managed,
4175                         and deactivate it if it used to be active
4176                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4177                         with the managed state
4178
4179         * src/nm-hal-manager.c
4180                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4181                         take initial managed state and pass it along to device constructors
4182                 - (create_device_and_add_to_list): get managed state and pass to
4183                         type creators
4184
4185         * src/nm-device-802-11-wireless.c
4186                 - (real_can_activate): fold in most of
4187                         nm_device_802_11_wireless_can_activate()
4188                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4189                 - (link_timeout_cb): instead of deactivating, change device state and
4190                         let the device state handler to it
4191                 - (real_update_hw_address): clean up
4192                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4193                         handler to transition to DISCONNECTED if the device isn't rfkilled
4194
4195         * src/nm-device-802-3-ethernet.c
4196                 - (set_carrier): move above callers and get rid of prototype
4197                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4198                         idle handler to transition to DISCONNECTED if the device has a
4199                         carrier
4200                 - (real_update_hw_address): clean up
4201                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4202                         deactivation directly as deactivation doesn't change state anymore
4203
4204         * src/NetworkManagerPolicy.c
4205                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4206                         the NMManager and wireless devices work that out themselves now
4207                 - (device_state_changed): change to a switch and update for new device
4208                         states
4209                 - (device_carrier_changed): remove; device handles this now through
4210                         state changes
4211                 - (device_added): don't care about carrier any more; the initial
4212                         activation check will happen when the device transitions to
4213                         DISCONNECTED
4214
4215         * src/nm-manager.c
4216                 - (dispose): clear unmanaged devices
4217                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4218                         the managed property on each device when needed
4219                 - (system_settings_properties_changed_cb): handle signals from the
4220                         system settings service
4221                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4222                         getting the unmanaged device list method call
4223                 - (query_unmanaged_devices): ask the system settings service for its
4224                         list of unmanaged devices
4225                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4226                         devices
4227                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4228                         devices directly and let them handle the necessary state transitions
4229                 - (manager_device_state_changed): update for new device states
4230                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4231                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4232                 - (nm_manager_activate_connection): return error if the device is
4233                         unmanaged
4234                 - (nm_manager_sleep): handle new device states correctly; don't change
4235                         the state of unavailable/unmanaged devices
4236
4237         * libnm-glib/nm-device-802-11-wireless.c
4238                 - (state_changed_cb): update for new device states
4239
4240 2008-04-07  Dan Williams  <dcbw@redhat.com>
4241
4242         * marshallers/nm-marshal.list
4243                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4244
4245 2008-04-07  Dan Williams  <dcbw@redhat.com>
4246
4247         * system-settings/src/main.c
4248                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4249                         plugins to the dbus settings object
4250                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4251                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4252                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4253                 - (main): switch default logging to syslog with a 'debug' option to
4254                         output to console; start up the HAL manager
4255
4256 2008-04-07  Dan Williams  <dcbw@redhat.com>
4257
4258         * introspection/nm-settings-system.xml
4259           introspection/Makefile.am
4260                 - Define the unmanaged devices interface for the system settings service
4261
4262         * system-settings/src/nm-system-config-hal-manager.c
4263           system-settings/src/nm-system-config-hal-manager.h
4264           system-settings/src/nm-system-config-hal-manager-private.h
4265           system-settings/src/Makefile.am
4266                 - Add a lightweight HAL manager object for tracking network devices for
4267                         the purpose of determining unmanaged devices and which devices need
4268                         the default DHCP connections
4269
4270         * system-settings/src/nm-system-config-interface.c
4271           system-settings/src/nm-system-config-interface.h
4272                 - (nm_system_config_interface_init): add the HAL manager as an argument
4273                 - (nm_system_config_interface_get_unmanaged_devices): implement
4274                 - Define 'unmanaged-devices-changed' signal
4275
4276         * system-settings/src/dbus-settings.c
4277           system-settings/src/dbus-settings.h
4278                 - Implement the unmanaged devices interface; some cleanups
4279
4280         * system-settings/plugins/ifcfg-suse/plugin.c
4281                 - Fixup for plugin interface changes
4282
4283         * system-settings/plugins/ifcfg-fedora/plugin.c
4284                 - (get_ether_device_udi): new function; find the device that has
4285                         a specified MAC address and return its UDI
4286                 - (get_udi_for_connection): new function; try to find the specific
4287                         device a connection is locked to, if any
4288                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4289                         response to HAL events
4290                 - (get_unmanaged_devices): new function; return unmanaged device list
4291                 - (build_one_connection): set the connection's locked device, if any
4292                 - (write_auto_wired_connection): remove
4293                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4294                 - (handle_connection_changed): alert listeners that the unmanaged device
4295                         list has changed
4296                 - (init): fixup for plugin interface changes, implement unmanaged devices
4297
4298         * system-settings/plugins/ifcfg-fedora/parser.c
4299           system-settings/plugins/ifcfg-fedora/parser.h
4300                 - (connection_data_free): clean up connection UDI
4301
4302 2008-04-07  Dan Williams  <dcbw@redhat.com>
4303
4304         * system-settings/plugins/ifcfg-fedora/parser.c
4305                 - (make_ip4_setting): fix parsing of DNS servers
4306
4307 2008-04-05  Dan Williams  <dcbw@redhat.com>
4308
4309         * Makefile.am
4310           configure.in
4311           marshallers/Makefile.am
4312           marshallers/nm-marshal-main.c
4313           marshallers/nm-marshal.list
4314                 - Consolidate marshallers
4315
4316         * libnm-glib/nm-marshal-main.c
4317           libnm-glib/nm-marshal.list
4318           src/marshallers/Makefile.am
4319           src/marshallers/nm-marshal-main.c
4320           src/marshallers/nm-marshal.list
4321                 - Remove
4322
4323         * libnm-glib/Makefile.am
4324           src/Makefile.am
4325           src/dhcp-manager/Makefile.am
4326           src/ppp-manager/Makefile.am
4327           src/supplicant-manager/Makefile.am
4328           src/vpn-manager/Makefile.am
4329                 - Use consolidated marshallers
4330
4331 2008-04-04  Dan Williams  <dcbw@redhat.com>
4332
4333         * src/nm-hal-manager.c
4334           src/nm-hal-manager.h
4335                 - (hal_init): don't look for hardware here
4336                 - (nm_hal_manager_start): new function; look for hardware here instead,
4337                         which can be done at a later time than hal_init()
4338
4339         * src/NetworkManager.c
4340                 - (main): start HAL manager after entering the main loop
4341
4342 2008-04-03  Dan Williams  <dcbw@redhat.com>
4343
4344         * libnm-glib/nm-settings.c
4345           libnm-glib/nm-settings.h
4346             - (nm_exported_connection_get_id): new function
4347                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4348
4349 2008-04-02  Dan Williams  <dcbw@redhat.com>
4350
4351         * src/nm-device-interface.c
4352           src/nm-device-interface.h
4353           src/nm-device.c
4354           src/nm-device.h
4355                 - Rename check_connection_conflicts() to check_connection_compatible()
4356
4357         * src/nm-device-802-11-wireless.c
4358                 - (real_check_connection_conflicts): remove
4359                 - (real_check_connection_compatible): implement; match MAC address
4360
4361         * src/nm-device-802-3-ethernet.c
4362                 - (real_check_connection_conflicts): remove
4363                 - (real_check_connection_compatible): implement; match MAC address
4364                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4365
4366         * src/nm-manager.c
4367                 - (check_connection_allowed): remove; unused until PolicyKit integration
4368                 - (internal_activate_device): check whether the connection is compatible
4369                         with the device before trying to activate it
4370
4371 2008-04-02  Dan Williams  <dcbw@redhat.com>
4372
4373         * system-settings/plugins/ifcfg-fedora/parser.c
4374                 - (read_mac_address): new function; read in MAC address and stuff it
4375                         into the connection
4376                 - (add_one_wep_key): remove debug spew
4377                 - (make_wireless_security_setting): validate the default TX key; don't
4378                         add the wireless-security setting if the connection doesn't need
4379                         security; don't leak the keys shvarFile on error cases
4380                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4381                         address
4382
4383 2008-04-02  Dan Williams  <dcbw@redhat.com>
4384
4385         * libnm-util/nm-setting-connection.c
4386           libnm-util/nm-setting-connection.h
4387                 - (set_property, get_property, nm_setting_connection_class_init): remove
4388                         the 'lockdown' property; it's functionality will be replaced by
4389                         PolicyKit instead
4390
4391 2008-04-01  Dan Williams  <dcbw@redhat.com>
4392
4393         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4394
4395         * configure.in
4396           initscript/Makefile.am
4397           initscript/Mandriva/Makefile.am
4398           initscript/Mandriva/networkmanager.in
4399           initscript/Mandriva/networkmanagerdispatcher.in
4400           src/backends/Makefile.am
4401           src/backends/NetworkManagerMandriva.c
4402           system-settings/plugins/Makefile.am
4403                 - Add Mandriva support
4404
4405 2008-03-31  Dan Williams  <dcbw@redhat.com>
4406
4407         * src/vpn-manager/nm-vpn-service.c
4408                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4409                         errors can be passed back to the caller; also no longer scheduled
4410                         as an idle handler, but called directly; and bump up VPN service
4411                         spawn timeout, 2s is really short
4412                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4413                         but call it directly so that errors are reported on return from
4414                         ActivateConnection() and don't get lost.  If scheduled as an idle
4415                         handler, clients don't have the time to query NM for the new VPN
4416                         connection's properties before the VPN connection is torn down again
4417                         if the service couldn't be launched, and therefore launch errors
4418                         get lost.
4419
4420 2008-03-31  Dan Williams  <dcbw@redhat.com>
4421
4422         * src/vpn-manager/nm-vpn-connection.c
4423                 - (device_state_changed): send correct state on device failure too
4424                 - (plugin_state_changed): failed state means unexpected disconnection,
4425                         thus if the service goes away while the VPN connection is activated
4426                         that's a failure too
4427
4428 2008-03-31  Dan Williams  <dcbw@redhat.com>
4429
4430         * src/vpn-manager/nm-vpn-manager.c
4431           src/vpn-manager/nm-vpn-manager.h
4432                 - Make VPNManager errors more available; add a service-start-failed error
4433
4434 2008-03-31  Dan Williams  <dcbw@redhat.com>
4435
4436         * libnm-glib/nm-client.c
4437           libnm-glib/nm-client.h
4438                 - (activate_cb): pass the new active connection to callback; fix
4439                         message when no callback is specified
4440
4441 2008-03-30  Dan Williams  <dcbw@redhat.com>
4442
4443         * libnm-util/nm-setting-wireless-security.c
4444                 - (need_secrets): only require key0 if the transmit key index is also
4445                         0
4446                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4447
4448 2008-03-29  Dan Williams  <dcbw@redhat.com>
4449
4450         * libnm-util/nm-setting-8021x.c
4451           libnm-util/nm-setting-ip4-config.c
4452           libnm-util/nm-setting-vpn-properties.c
4453           libnm-util/nm-setting-vpn.c
4454           libnm-util/nm-setting-wireless-security.c
4455           libnm-util/nm-setting-wireless.c
4456           libnm-util/nm-utils.c
4457           src/dhcp-manager/nm-dhcp-manager.c
4458           src/nm-activation-request.c
4459           src/nm-ip4-config.c
4460           src/nm-manager.c
4461           src/nm-properties-changed-signal.c
4462           src/ppp-manager/nm-pppd-plugin.c
4463           src/supplicant-manager/nm-supplicant-interface.c
4464           src/vpn-manager/nm-vpn-connection.c
4465                 - consistently use nm-dbus-glib-types.h
4466
4467 2008-03-29  Dan Williams  <dcbw@redhat.com>
4468
4469         * src/vpn-manager/nm-vpn-connection.c
4470                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4471                         not string
4472
4473         * src/nm-activation-request.c
4474                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4475                         not string
4476
4477 2008-03-29  Dan Williams  <dcbw@redhat.com>
4478
4479         * libnm-glib/nm-device-802-11-wireless.c
4480                 - (access_point_added_proxy): create new APs if not found
4481
4482 2008-03-29  Dan Williams  <dcbw@redhat.com>
4483
4484         * libnm-glib/nm-client.c
4485                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4486                         before freeing them
4487
4488 2008-03-29  Dan Williams  <dcbw@redhat.com>
4489
4490         * system-settings/plugins/ifcfg-fedora/parser.c
4491                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4492                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4493
4494 2008-03-29  Dan Williams  <dcbw@redhat.com>
4495
4496         * system-settings/plugins/ifcfg-fedora/parser.c
4497                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4498
4499 2008-03-27  Dan Williams  <dcbw@redhat.com>
4500
4501         * nm-object.c
4502                 - (nm_object_queue_notify): don't notify multiple times for the same
4503                         property
4504
4505         * nm-object-private.h
4506                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4507                         if it has zero elements
4508
4509         * nm-ip4-config.c
4510                 - (finalize): use g_ptr_array_foreach() when freeing domains
4511                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4512
4513         * nm-active-connection.c
4514                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4515
4516         * nm-device-802-11-wireless.c
4517           nm-device-802-11-wireless.h
4518                 - (nm_device_802_11_wireless_get_access_points): return const; use
4519                         handle_ptr_array_return()
4520
4521         * nm-types.c
4522                 - (nm_object_array_demarshal): always create an array, even of length
4523                         zero, to distinguish between "NM returned no items" and "haven't
4524                         asked NM yet"
4525
4526         * nm-client.c
4527                 - (dispose): free active connections too
4528                 - (proxy_name_owner_changed): free active connections too when NM goes
4529                         away
4530                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4531                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4532
4533 2008-03-26  Dan Williams  <dcbw@redhat.com>
4534
4535         Rework VPN connection handling for a more consistent D-Bus API.  The
4536         VPNManager object has been removed, and active VPN connections are now the
4537         same as any other active connection.  The Manager object's ActivateConnection
4538         and DeactivateConnection methods are used to start and stop a VPN connection,
4539         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4540         When activating a VPN connection, pass the path of the active connection
4541         to which the VPN connection is tied in the 'specific_object' argument.
4542
4543         Consequently, the libnm-glib API has been reworked to match this arrangement,
4544         with the VPNManager object removed, and the NMVPNConnection objects now
4545         being subclasses of NMActiveConnection.
4546
4547 2008-03-25  Dan Williams  <dcbw@redhat.com>
4548
4549         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4550
4551         * initscript/Arch/networkmanager.in
4552           initscript/Arch/networkmanager-dispatcher.in
4553                 - Updates for Arch Linux (gnome.org #523701)
4554
4555 2008-03-25  Dan Williams  <dcbw@redhat.com>
4556
4557         * libnm-glib/nm-ip4-config.c
4558           libnm-glib/nm-active-connection.c
4559           libnm-glib/nm-access-point.c
4560                 - Use nm_object_queue_notify() instead of g_object_notify()
4561
4562         * libnm-glib/nm-device.c
4563                 - (demarshal_ip4_config): distinguish between successful but missing
4564                         ip4-config request, and unsuccessful and missing ip4-config request
4565                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4566                         path
4567                 - Use nm_object_queue_notify() instead of g_object_notify()
4568
4569         * libnm-glib/nm-device-802-11-wireless.c
4570                 - (demarshal_active_ap): distinguish between successfull but missing
4571                         active-ap request, and unsuccessful and missing active-ap request
4572                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4573                         code
4574                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4575                         for the NMClient to notify the device that wireless is disabled,
4576                         and therefore to clear the AP list and active AP
4577                 - Use nm_object_queue_notify() instead of g_object_notify()
4578
4579         * libnm-glib/nm-client.c
4580                 - (poke_wireless_devices_with_rf_status): new function
4581                 - (update_wireless_status): notify wireless devices of the rfkill status
4582                         so they can clean up if needed
4583                 - Use nm_object_queue_notify() instead of g_object_notify()
4584
4585 2008-03-25  Dan Williams  <dcbw@redhat.com>
4586
4587         * libnm-glib/nm-object.c
4588           libnm-glib/nm-object-private.h
4589                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4590                         signals to an idle handler
4591                 - (nm_object_get_property): add a timeout to the D-Bus method call
4592
4593 2008-03-25  Dan Williams  <dcbw@redhat.com>
4594
4595         * introspection/nm-device-cdma.xml
4596           introspection/nm-device-gsm.xml
4597           introspection/Makefile.am
4598           introspection/all.xml
4599                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4600
4601         * src/nm-gsm-device.h
4602           src/nm-gsm-device.c
4603           src/nm-cdma-device.h
4604           src/nm-cdma-device.c
4605           src/Makefile.am
4606                 - Implement PropertiesChanged signals
4607
4608         * libnm-glib/nm-cdma-device.c
4609           libnm-glib/nm-cdma-device.c
4610                 - Attach to PropertiesChanged signals
4611
4612 2008-03-24  Dan Williams  <dcbw@redhat.com>
4613
4614         * libnm-glib/nm-client.c
4615                 - (client_device_added_proxy): add new devices to the internal device
4616                         list so they appear to clients
4617
4618 2008-03-24  Dan Williams  <dcbw@redhat.com>
4619
4620         Massive fixup of libnm-glib to:
4621         a) have all objects (with the exception of VPN) cache their properties and
4622                 update them asynchronously on PropertiesChanged signals from NM
4623         b) return internal const data for most attributes/properties instead of
4624                 allocated values that the caller must free
4625         c) cache wrapped objects such that a given D-Bus path will always map to the
4626                 same GObject returned by libnm-glib
4627         d) remove a few signals and move them to GObject property notifications
4628         e) match recent NM D-Bus API changes for activation/deactivation
4629         f) remove some private functions from libnm-glib headers
4630
4631 2008-03-20  Dan Williams  <dcbw@redhat.com>
4632
4633         * src/nm-manager.c
4634                 - (nm_manager_update_state, manager_device_state_changed,
4635                    nm_manager_activate_device, connection_added_default_handler,
4636                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4637                         queue PropertyChanged singals when the active connections change
4638
4639 2008-03-20  Dan Williams  <dcbw@redhat.com>
4640
4641         * introspection/nm-manager.xml
4642           introspection/nm-manager-client.xml
4643                 - (ActivateConnection): return the object path of the active connection
4644                         on success
4645                 - (GetActiveConnections): remove
4646                 - (DeactivateConnection): new function; deactivate a currently active
4647                         connection
4648                 - Add an ActiveConnections property which returns an array of
4649                         active connection object paths
4650
4651         * introspection/nm-device.xml
4652                 - (Deactivate): remove
4653
4654         * introspection/all.xml
4655                 - Add ActiveConnection introspection
4656
4657         * introspection/nm-active-connection.xml
4658                 - Add the ActiveConnection object
4659
4660         * include/NetworkManager.h
4661                 - Add the Connection.Active D-Bus interface
4662
4663         * src/nm-device-interface.c
4664                 - (impl_device_deactivate): remove
4665
4666         * src/nm-activation-request.c
4667           src/nm-activation-request.c
4668           src/Makefile.am
4669                 - Implement the Connection.Active D-Bus interface
4670
4671         * src/nm-manager.c
4672                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4673                 - (nm_manager_activate_device): return the active connection path
4674                 - (connection_added_default_handler, impl_manager_activate_connection):
4675                         return the active connection to the caller
4676                 - (add_one_connection_element, impl_manager_get_active_connections):
4677                         remove
4678                 - (impl_manager_deactivate_connection): new function; deactivate an
4679                         active connection
4680
4681         * libnm-glib/nm-device.c
4682           libnm-glib/nm-device.h
4683                 - Remove Deactivate() function
4684
4685 2008-03-19  Dan Williams  <dcbw@redhat.com>
4686
4687         * introspection/nm-manager.xml
4688           introspection/nm-manager-client.xml
4689                 - Rename the ActivateDevice method to ActivateConnection to better
4690                         reflect it's usage; it's arguments get reordered a bit too
4691                 - Convert GetActiveConnections method return from a struct to a dict
4692
4693         * include/NetworkManager.h
4694                 - Define the dict keys for return value of GetActiveConnections
4695
4696         * src/nm-manager.c
4697                 - impl_manager_activate_device -> impl_manager_activate_connection
4698                 - (add_one_connection_element): return a populated hash table, not
4699                         a structure
4700
4701         * libnm-glib/nm-client.c
4702           libnm-glib/nm-client.h
4703                 - nm_client_activate_device -> nm_client_activate_connection
4704                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4705                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4706                         instead of the custom structures.  Each element of the returned list
4707                         must be freed with nm_client_free_active_connections_element()
4708
4709 2008-03-18  Dan Williams  <dcbw@redhat.com>
4710
4711         * system-settings/plugins/ifcfg-fedora/parser.c
4712           system-settings/plugins/ifcfg-fedora/parser.h
4713           system-settings/plugins/ifcfg-fedora/plugin.c
4714                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4715                         profiles.  DNS servers and searches must now be stored in the ifcfg
4716                         files themselves
4717
4718 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4719
4720         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4721         print out username and password, it's supposed to be a secret.
4722
4723         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4724         request and set the device state accordingly.
4725
4726 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4727
4728         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4729
4730         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4731
4732 2008-03-18  Dan Williams  <dcbw@redhat.com>
4733
4734         * src/vpn-manager/nm-vpn-connection.c
4735                 - (get_secrets_cb): handle new GetSecrets return format
4736
4737 2008-03-18  Dan Williams  <dcbw@redhat.com>
4738
4739         Adapt system settings service for split 802.1x.
4740
4741         * system-settings/src/nm-system-config-interface.h
4742                 - clarify return value of get_secrets()
4743
4744         * system-settings/src/dbus-settings.c
4745                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4746                 - (check_for_secrets): check if there actually secrets returned by a
4747                         plugin
4748                 - (exported_connection_get_secrets): just return the plugin-returned
4749                         hash of settings' secrets if it looks valid
4750
4751         * system-settings/plugins/ifcfg-fedora/plugin.c
4752                 - (get_secrets): add split secrets with correct format to reply hash
4753
4754         * system-settings/plugins/ifcfg-fedora/parser.c
4755           system-settings/plugins/ifcfg-fedora/parser.h
4756                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4757                    connection_data_free, connection_data_add): keep secrets for
4758                         different settings in different hashes
4759
4760 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4761
4762         Clean up activating device deactivation.
4763
4764         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4765         should be done whether the device activation gets cancelled or the device
4766         is just getting deactivated.
4767         (nm_device_activation_cancel): Remove.
4768         (nm_device_deactivate_quickly): Handle the case where device is activating.
4769
4770         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4771         It does the exact same thing as real_deactivate_quickly().
4772
4773 2008-03-17  Dan Williams  <dcbw@redhat.com>
4774
4775         Split the 802.1x bits out of the wireless-security setting so they are
4776         generalized enough for wired 802.1x to use too.
4777
4778         * introspection/nm-exported-connection.xml
4779                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4780                         of just a hash of the secrets for one setting
4781
4782         * libnm-util/nm-setting-wireless-security.c
4783           libnm-util/nm-setting-wireless-security.h
4784                 - Remove 802.1x-specific stuff
4785                 - Added leap-username and leap-password properties for old-school LEAP
4786
4787         * src/nm-device.c
4788           src/nm-device.h
4789                 - (connection_secrets_updated_cb): take a list of updated settings names,
4790                         not just one
4791
4792         * src/supplicant-manager/nm-supplicant-config.c
4793           src/supplicant-manager/nm-supplicant-config.h
4794                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4795                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4796                         to nm_supplicant_config_add_setting_8021x()
4797                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4798                         the supplicant config
4799
4800         * src/nm-device-802-11-wireless.c
4801                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4802                 - (real_connection_secrets_updated): take a list of updated settings
4803                         names, not just one
4804
4805         * src/nm-device-802-3-ethernet.c
4806           src/nm-cdma-device.c
4807           src/nm-gsm-device.c
4808                 - (real_connection_secrets_updated_cb): take a list of updated settings
4809                         names, not just one
4810
4811         * src/nm-activation-request.c
4812           src/nm-activation-request.h
4813                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4814                         now passes a list of updated settings names, not just one
4815                 - (update_one_setting): new function; handle one updated setting
4816                 - (get_secrets_cb): handle multiple settings returned from the
4817                         settings service; have to be careful of ordering here as there are
4818                         some dependencies between settings (ex. wireless-security and 802.1x
4819                         in some cases)
4820
4821         * src/marshallers/nm-marshal.list
4822                 - new marshaller for connection-secrets-updated signal
4823
4824         * libnm-util/nm-setting-8021x.c
4825                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4826                         methods
4827                 - (verify): a valid 'eap' property is now required
4828
4829         * libnm-util/nm-connection.c
4830                 - (register_default_settings): add priorities to settings; there are
4831                         some dependencies between settings, and during the need_secrets
4832                         calls this priority needs to be respected.  For example, only the
4833                         wireless-security setting knows whether or not the connection is
4834                         going to use 802.1x or now, so it must be asked for secrets before
4835                         any existing 802.1x setting is
4836                 - (nm_connection_lookup_setting_type): expose
4837
4838         * libnm-util/nm-setting-wireless.c
4839                 - (verify): should verify even if all_settings is NULL; otherwise won't
4840                         catch the case where there is missing security
4841
4842         * libnm-util/nm-setting-wireless-security.c
4843                 - Remove everything to do with 802.1x
4844                 - Add old-school LEAP specific properties for username and password
4845                 - (need_secrets): rework LEAP secrets checking
4846                 - (verify): rework for LEAP and 802.1x verification
4847
4848 2008-03-17  Dan Williams  <dcbw@redhat.com>
4849
4850         * src/NetworkManagerPolicy.c
4851                 - (auto_activate_device): always remove the current activation check
4852                         from the pending activation list, otherwise when the policy gets
4853                         destroyed on NM exit it will attempt to free the already freed
4854                         activation check
4855
4856 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4857
4858         * src/backends/NetworkManagerSlackware.c 
4859         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4860
4861         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4862
4863 2008-03-14  Dan Williams  <dcbw@redhat.com>
4864
4865         * src/nm-manager.c
4866                 - (nm_device_interface_get_iface): g_object_get() will return an
4867                         allocated value, so this function must not return const
4868                 - (nm_device_interface_activate): free returned iface
4869
4870 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4871
4872         * libnm-util/Makefile.am: Add new files to build.
4873
4874         * libnm-util/nm-connection.c: Register NMSetting8021x.
4875
4876         * libnm-util/nm-setting-8021x.c
4877         * libnm-util/nm-setting-8021x.h: Implement.
4878
4879 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4880
4881         * libnm-util/Makefile.am: Add new files to build.
4882
4883         * libnm-util/nm-connection.c: Register NMSetting8021x.
4884
4885         * libnm-util/nm-setting-8021x.c
4886         * libnm-util/nm-setting-8021x.h: Implement.
4887
4888 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4889
4890         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4891         data.
4892
4893 2008-03-14  Dan Williams  <dcbw@redhat.com>
4894
4895         * include/wireless-helper.h
4896           include/Makefile.am
4897                 - One place for all the junk needed for #including wireless.h
4898
4899         * test/nm-tool.c
4900           src/NetworkManagerAP.c
4901           src/wpa.c
4902           src/Makefile.am
4903           libnm-util/nm-utils.c
4904           libnm-util/nm-setting-wireless.c
4905           libnm-glib/nm-device-802-11-wireless.c
4906           libnm-glib/nm-access-point.c
4907           libnm-glib/libnm-glib-test.c
4908                 - include wireless-helper.h, not iwlib.h
4909
4910         * configure.in
4911                 - Don't need libiw really, just need to check for wireless.h
4912
4913         * src/kernel-types.h
4914                 - Remove; used types moved into wpa.c
4915
4916         * src/nm-device-802-11-wireless.c
4917                 - (nm_device_802_11_wireless_update_signal_strength,
4918                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4919                    nm_device_802_11_wireless_set_mode,
4920                    nm_device_802_11_wireless_get_frequency,
4921                    nm_device_802_11_wireless_get_ssid,
4922                    nm_device_802_11_wireless_set_ssid,
4923                    nm_device_802_11_wireless_get_bitrate,
4924                    nm_device_802_11_wireless_get_bssid,
4925                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4926                         instead of iwlib functions
4927
4928 2008-03-14  Dan Williams  <dcbw@redhat.com>
4929
4930         * src/ppp-manager/nm-ppp-manager.c
4931                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4932                         should only take the DBusGMethodInvocation argument, not user/pass
4933                         too.  With dbus-glib, async functions only take 2 C arguments since
4934                         the real dbus method arguments get passed back with
4935                         dbus_g_method_return()
4936
4937 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4938
4939         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4940         Adapt the changes of NMSettingIP4Config.
4941
4942 2008-03-13  Dan Williams  <dcbw@redhat.com>
4943
4944         * src/NetworkManagerUtils.c
4945           src/NetworkManagerUtils.h
4946                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4947
4948         * src/NetworkManagerAP.c
4949           src/nm-device-802-11-wireless.c
4950           src/nm-device-802-3-ethernet.c
4951                 - s/iw_ether_ntop/nm_ether_ntop/g
4952
4953 2008-03-13  Dan Williams  <dcbw@redhat.com>
4954
4955         * src/NetworkManagerPolicy.c
4956                 - (update_routing_and_dns): never set the default route through an
4957                         IPv4LL addressed device
4958
4959 2008-03-13  Dan Williams  <dcbw@redhat.com>
4960
4961         * NetworkManagerUtils.c
4962           NetworkManagerUtils.h
4963                 - Remove NMSock stuff
4964                 - Remove the completion stuff
4965
4966         * nm-device.c
4967           nm-device.h
4968           NetworkManager.c
4969           NetworkManagerSystem.c
4970           autoip.c
4971           nm-device-802-11-wireless.c
4972           nm-device-802-3-ethernet.c
4973                 - Remove NMSock and completion stuff
4974                 - Remove nm_ioctl_info()
4975
4976 2008-03-12  Dan Williams  <dcbw@redhat.com>
4977
4978         * src/nm-device.c
4979                 - (merge_ip4_config): avoid duplicates
4980
4981 2008-03-12  Dan Williams  <dcbw@redhat.com>
4982
4983         * libnm-util/nm-setting-ip4-config.c
4984           libnm-util/nm-setting-ip4-config.h
4985                 - Remove 'manual' and 'autoip' properties
4986                 - Add 'method' property
4987                 - (verify): fix verification with 'method'
4988                 - (finalize): free 'method'
4989                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4990                         up for 'method'
4991
4992         * src/nm-device.c
4993                 - (real_act_stage3_ip_config_start): check IP4Config method
4994                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4995                         the future
4996                 - (merge_ip4_config): IP settings are valid with DHCP too
4997                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4998                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4999
5000         * src/nm-device-802-11-wireless.c
5001                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5002                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5003                         only on demand
5004
5005         * system-settings/plugins/ifcfg-fedora/parser.c
5006           system-settings/plugins/ifcfg-suse/parser.c
5007                 - (make_ip4_setting): fix up for 'method'
5008
5009 2008-03-12  Dan Williams  <dcbw@redhat.com>
5010
5011         * system-settings/plugins/ifcfg-fedora/parser.c
5012           system-settings/plugins/ifcfg-fedora/parser.h
5013                 - (get_ifcfg_name): ignore more file suffixes
5014                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5015
5016 2008-03-12  Dan Williams  <dcbw@redhat.com>
5017
5018         * configure.in
5019                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5020
5021 2008-03-12  Dan Williams  <dcbw@redhat.com>
5022
5023         * system-settings/plugins/ifcfg-fedora/plugin.c
5024                 - (write_auto_wired_connection): new function; write out an auto
5025                         wired connection file since the applet isn't doing it any more
5026                 - (reload_all_connections): write out the auto wired connection file
5027                         if there aren't any wired connections already
5028                 - (init): don't leak a GError
5029
5030 2008-03-12  Dan Williams  <dcbw@redhat.com>
5031
5032         * src/nm-device-interface.c
5033                 - (nm_device_interface_activate): print the ID of the connection
5034                         that's about to be activated
5035
5036 2008-03-12  Dan Williams  <dcbw@redhat.com>
5037
5038         Harmonize the 802.11 bitrate API
5039
5040         * introspection/nm-access-point.xml
5041                 - 'Rate' -> 'MaxBitrate'; clarify units
5042
5043         * introspection/nm-device-802-11-wireless.xml
5044                 - Clarify units of 'Bitrate'
5045
5046         * src/NetworkManagerAP.c
5047           src/NetworkManagerAP.h
5048                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5049                         property to 'max-bitrate'
5050                 - (foreach_property_cb): convert rate to Kb/s
5051
5052         * src/nm-device-802-11-wireless.c
5053                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5054
5055         * libnm-glib/nm-access-point.c
5056           libnm-glib/nm-access-point.h
5057                 - 'rate' -> 'max-bitrate'
5058
5059         * test/nm-tool.c
5060           libnm-glib/libnm-glib-test.c
5061                 - Fix up for these changes
5062
5063 2008-03-12  Dan Williams  <dcbw@redhat.com>
5064
5065         * src/nm-device.c
5066                 - (nm_device_set_ip4_config): don't send property notifications when
5067                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5068                         which dbus-glib can't parse because the value is NULL, which isn't
5069                         a legal object path.  Setting the IP4 config to NULL is only
5070                         valid when deactivating a device anyway, so the device state change
5071                         will alert listeners that the ip4 config is invalid.
5072
5073 2008-03-12  Dan Williams  <dcbw@redhat.com>
5074
5075         * src/nm-properties-changed-signal.c
5076                 - (add_to_string): better handling of NULL objects
5077
5078 2008-03-12  Dan Williams  <dcbw@redhat.com>
5079
5080         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5081         convert the libnm-glib NMDevice8023Ethernet to cached properties
5082
5083         * introspection/nm-device-802-3-ethernet.xml
5084                 - New 'Carrier' property
5085                 - New 'PropertiesChanged' signal
5086
5087         * introspection/nm-device.xml
5088                 - Remove 'Carrier' property
5089                 - Remove 'CarrierChanged' signal
5090
5091         * src/nm-device-interface.c
5092           src/nm-device-interface.h
5093                 - (nm_device_interface_init): remove 'carrier' property and
5094                         'carrier-changed' signal
5095
5096         * src/nm-device.c
5097           src/nm-device.h
5098                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5099                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5100                         the link here; wired device will handle that
5101                 - (handle_dhcp_lease_change): don't bother updating link here
5102                 - (get_property, nm_device_class_init): remove carrier property
5103
5104         * src/nm-device-802-11-wireless.c
5105                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5106                         real_update_link(); wireless devices don't use carrier at all
5107                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5108                    supplicant_iface_connection_state_cb_handler,
5109                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5110
5111         * src/nm-device-802-3-ethernet.c
5112           src/nm-device-802-3-ethernet.h
5113                 - (nm_device_802_3_ethernet_carrier_on,
5114                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5115                         instead of nm_device_set_carrier()
5116                 - (device_state_changed): update link from sysfs on activation;
5117                         replaces real_update_link()
5118                 - (real_update_link): remove, replaced by device_state_changed()
5119                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5120                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5121                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5122                         new get_carrier function
5123                 - (get_property): add 'carrier' property
5124                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5125                         hook into property-changed signal helper
5126
5127         * src/NetworkManagerPolicy.c
5128                 - (device_carrier_changed): will only ever be called with a wired device
5129                 - (device_added): only hook up to carrier-changed for wired devices
5130
5131         * libnm-glib/nm-device.c
5132           libnm-glib/nm-device.h
5133                 - (constructor, nm_device_class_init): remove carrier-changed signal
5134                 - (device_carrier_changed_proxy): remove; unused
5135                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5136
5137         * libnm-glib/nm-device-802-3-ethernet.c
5138           libnm-glib/nm-device-802-3-ethernet.h
5139                 - Convert to cached properties like AP and Wireless objects
5140                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5141                         instead of a 'char *', return value should not be freed
5142                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5143                 - (constructor): hook into properties-changed helper
5144                 - (set_property, get_property): new functions
5145                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5146
5147         * test/nm-tool.c
5148                 - (detail_device): strdup the wired hardware address too since it's
5149                         cached now
5150
5151         * libnm-glib/libnm-glib-test.c
5152                 - (dump_wired): strdup the wired hardware address too since it's
5153                         cached now
5154
5155 2008-03-12  Dan Williams  <dcbw@redhat.com>
5156
5157         * libnm-util/nm-setting-ip4-config.c
5158           libnm-util/nm-setting-ip4-config.h
5159                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5160                         the 'autoip' property from the spec
5161
5162 2008-03-11  Dan Williams  <dcbw@redhat.com>
5163
5164         * src/backends/NetworkManagerGeneric.c
5165           src/backends/NetworkManagerGeneric.h
5166                 - (nm_generic_device_get_use_dhcp): remove
5167
5168 2008-03-11  Dan Williams  <dcbw@redhat.com>
5169
5170         * src/nm-device.c
5171                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5172                         already in nm_device_set_ip4_config()
5173                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5174                         due to a DHCP rebind fails
5175                 - (nm_device_set_ip4_config): send property notifications when the
5176                         ip4 config changes
5177                 - (get_property): only report IP4Config property during valid states
5178
5179         * src/NetworkManagerPolicy.c
5180                 - (update_routing_and_dns): ignore devices that don't have an ip4
5181                         config; add parameter 'force_update' to allow callers to specify
5182                         that changes should be made even if the default device doesn't change
5183                 - (device_ip4_config_changed): update DNS and routing when the device's
5184                         IP4Config changes, like for DHCP updates
5185                 - (device_added): listen for ip4-config property changes
5186
5187 2008-03-11  Dan Williams  <dcbw@redhat.com>
5188
5189         Fix address handling as a result of DHCP rebind/renew/reboot.
5190
5191         * src/NetworkManagerSystem.c
5192                 - (check_one_address): delete an address if it doesn't match a given
5193                         one for the same interface
5194                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5195                         be smarter about flushing addresses (only flush ones that don't
5196                         match the one we're about to apply)
5197
5198         * src/backends/NetworkManagerDebian.c
5199           src/backends/NetworkManagerSuSE.c
5200           src/backends/NetworkManagerArch.c
5201           src/backends/NetworkManagerSlackware.c
5202           src/backends/NetworkManagerRedHat.c
5203           src/backends/NetworkManagerPaldo.c
5204           src/backends/NetworkManagerFrugalware.c
5205           src/backends/NetworkManagerGentoo.c
5206                 - (nm_system_delete_default_route): remove
5207
5208         * src/backends/NetworkManagerGeneric.c
5209           src/backends/NetworkManagerGeneric.h
5210                 - (nm_generic_enable_loopback): fix the loopback device label
5211                 - (nm_generic_delete_default_route): remove; no longer used
5212
5213 2008-03-11  Dan Williams  <dcbw@redhat.com>
5214
5215         * src/nm-device-interface.h
5216                 - Delimit property name words with '-', otherwise g_object_notify()
5217                         doesn't work the way we expect
5218
5219 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5220
5221         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5222
5223 2008-03-11  Dan Williams  <dcbw@redhat.com>
5224
5225         * src/NetworkManagerPolicy.c
5226                 - (update_routing_and_dns): don't change anything if the default device
5227                         hasn't changed; print something out when switching the default route
5228                         and DNS
5229
5230 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5231
5232         Implement PPPoE.
5233
5234         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5235         setting. Use "nic-$eth".
5236
5237         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5238         the device is activating here to fix a race condition.
5239
5240         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5241
5242         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5243         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5244         (nm_ppp_manager_start): Take activation request instead of connection, we might
5245         need it for asking secrets.
5246         (nm_ppp_manager_update_secrets): Implement.
5247
5248         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5249         ppp manager start. It might be needed for asking secrets.
5250
5251         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5252         (ppp_state_changed): Handle pppd daemon disappearing.
5253         (pppoe_stage2_config): Send activation request to ppp manager start.
5254
5255         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5256
5257         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5258         username and password.
5259         
5260 2008-03-10  Dan Williams  <dcbw@redhat.com>
5261
5262         * src/nm-device.c
5263                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5264                         response to a DHCP lease change
5265                 - (dhcp_state_changed): handle DHCP lease changes while activated
5266                 - (nm_device_set_ip4_config): remove a previously set named config
5267                         when setting an ip4 config
5268
5269 2008-03-10  Dan Williams  <dcbw@redhat.com>
5270
5271         * src/nm-serial-device.c
5272                 - (nm_serial_device_send_command): report errno on error
5273                 - (get_reply_got_data): limit the size of the overall buffer
5274                 - (wait_for_reply_info_destroy): destroy result string
5275                 - (wait_for_reply_got_data): append received data to an overall buffer
5276                         until timeout, filled buffer, or error instead of keeping a per-call
5277                         buffer.  Some devices send data slowly enough that this function
5278                         gets called multiple times for the same command stream.
5279                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5280                         wait_for_reply_got_data() here
5281
5282 2008-03-10  Dan Williams  <dcbw@redhat.com>
5283
5284         * src/nm-cdma-device.c
5285                 - (do_dial, init_modem): handle errors from
5286                         nm_serial_device_send_command_string()
5287
5288         * src/nm-gsm-device.c
5289                 - (do_dial, manual_registration, automatic_registration_get_network,
5290                    automatic_registration, enter_pin, check_pin, init_modem): handle
5291                         errors from nm_serial_device_send_command_string()
5292
5293 2008-03-10  Dan Williams  <dcbw@redhat.com>
5294
5295         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5296
5297         * src/named-manager/nm-named-manager.c
5298                 - (compute_searches): prefer searches before domains
5299                 - (compute_domain): new function
5300                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5301                 - (merge_one_ip4_config): if there are no searches in the source config,
5302                         merge domains of the source config into the target config
5303                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5304
5305 2008-03-10  Dan Williams  <dcbw@redhat.com>
5306
5307         * src/nm-serial-device.c
5308                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5309                 - (wait_for_reply_got_data): try to handle slower serial devices where
5310                         the reply is broken up into multiple reads by concatenating replies
5311                         together until either an error is received or the search string is
5312                         found
5313
5314 2008-03-10  Dan Williams  <dcbw@redhat.com>
5315
5316         * src/nm-device.c
5317                 - (nm_device_bring_down): deactivate the device if it's activating too,
5318                         not just if it's already activated.  This makes sure that everything
5319                         from an association attempt is cleaned up (like DHCP for example)
5320
5321 2008-03-10  Dan Williams  <dcbw@redhat.com>
5322
5323         * src/nm-serial-device.c
5324                 - (config_fd): report error from TCSETA
5325                 - (nm_serial_device_open): fail when config_fd() fails
5326
5327 2008-03-10  Dan Williams  <dcbw@redhat.com>
5328
5329         * src/nm-ip4-config.c
5330                 - (nm_ip4_config_init): allocate searches list
5331                 - (finalize): free searches list
5332
5333 2008-03-09  Dan Williams  <dcbw@redhat.com>
5334
5335         Patch from Bas Zoetekouw <bas@debian.org>
5336
5337         * src/dhcp-manager/nm-dhcp-manager.c
5338                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5339
5340 2008-03-09  Dan Williams  <dcbw@redhat.com>
5341
5342         Patch from Bas Zoetekouw <bas@debian.org>
5343
5344         * src/nm-ip4-config.c
5345           src/nm-ip4-config.h
5346                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5347                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5348                         domains.  'searches' is the correct way to store multiple search
5349                         domains, whereas 'domains' is really just supposed to store one
5350                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5351                         search domains to the client.
5352                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5353
5354 2008-03-09  Dan Williams  <dcbw@redhat.com>
5355
5356         * src/dhcp-manager/nm-dhcp-manager.c
5357                 - (dhclient_run): send interface-specific config files to dhclient
5358
5359 2008-03-07  Dan Williams  <dcbw@redhat.com>
5360
5361         * system-settings/plugins/ifcfg-fedora/parser.c
5362                 - (is_wireless_device): new function; test a device for wireless
5363                         extensions
5364                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5365                         test the device for wireless extensions to determine the type
5366
5367 2008-03-07  Dan Williams  <dcbw@redhat.com>
5368
5369         Change manager's StateChange signal to StateChanged for consistency.
5370
5371         * introspection/nm-manager.xml
5372                 - Add 'StateChanged' signal
5373                 - Move 'StateChange' down to the deprecated section
5374
5375         * src/nm-hal-manager.c
5376                 - (nm_hal_manager_new): connect to 'state-changed' instead
5377
5378         * src/NetworkManagerPolicy.c
5379                 - (nm_policy_new): connect to 'state-changed' instead
5380
5381         * src/nm-manager.c
5382           src/nm-manager.h
5383                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5384                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5385                         of 'state-change'
5386
5387         * libnm-glib/nm-client.c
5388           libnm-glib/nm-client.h
5389                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5390                         track and proxy 'state-changed' instead of 'state-change'
5391
5392 2008-03-07  Dan Williams  <dcbw@redhat.com>
5393
5394         First pass of multiple active device support.  Expect bugs.
5395
5396         * src/nm-ip4-config.c
5397           src/nm-ip4-config.h
5398                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5399                         there are better ways to do this in the named manager
5400
5401         * src/nm-device.c
5402           src/nm-device.h
5403                 - (nm_device_can_activate): return whether the device can activate a
5404                         connection right now; taking into account things like carrier state
5405                         and rfkill state
5406                 - (nm_device_get_best_auto_connection): renamed from
5407                         nm_device_get_best_connection
5408                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5409                         device subclasses themselves, so that each device can override the
5410                         MTU from it's NMSetting subclass if needed
5411                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5412                         in NetworkManagerSystem.c, not here
5413
5414         * src/named-manager/nm-named-manager.c
5415           src/named-manager/nm-named-manager.h
5416                 - (nm_named_manager_name_owner_changed,
5417                    nm_named_manager_dbus_connection_changed): fix for changes to
5418                         rewrite_resolv_conf()
5419                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5420                         from parameter list
5421                 - (merge_one_ip4_config): new function; merge ip4 configs together
5422                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5423                         ip4 configs; the VPN config takes precedence, then the best
5424                         device config, then the rest of the configs
5425                 - (get_domain_for_config): take the NMNamedManager as an argument
5426                         to check whether the config is the VPN config
5427                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5428                         attribute from ip4 configs
5429                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5430                 - (remove_ip4_config_from_named): fix for changes to
5431                         get_domain_for_config()
5432                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5433                         based on its type; callers must pass in the type now
5434                 - (get_last_default_domain): remove, unused
5435                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5436
5437         * src/nm-device-802-11-wireless.c
5438                 - (real_can_activate): new function
5439                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5440                 - (real_act_stage4_get_ip4_config): handle MTU override
5441
5442         * src/nm-device-802-3-ethernet.c
5443                 - (real_can_activate): new function
5444                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5445                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5446
5447         * src/vpn-manager/nm-vpn-connection.c
5448                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5449                         attribute on the ip4 config
5450
5451         * src/NetworkManagerPolicy.c
5452                 - (nm_policy_auto_get_best_device): remove
5453                 - (nm_policy_device_change_check): remove
5454                 - (update_default_route): new function; set the default route via
5455                         the specified device
5456                 - (get_device_priority): new function; return the priority number of
5457                         a device type WRT which one should have the default route.  Order is
5458                         (highest to lowest)  wired, wireless, GSM, CDMA.
5459                 - (update_routing_and_dns): new function; determine which device should
5460                         have the default route, then update the routing table and DNS
5461                 - (maybe_auto_activate_device): new function; if a device is now
5462                         available for activation, find out what connection it would like to
5463                         activate and do it
5464                 - (schedule_activate_check): new function; if a device can be activated
5465                         now, schedule the activation.  Each device may have only one
5466                         pending activation at a given time.
5467                 - (device_state_changed): if activation was canceled, try again,
5468                         possibly with another connection; if the device was activated,
5469                         update routing and DNS; if the device was deactivated, try again
5470                         with another connection
5471                 - (device_carrier_changed): if there is no carrier, deactivate the
5472                         device; otherwise schedule an activation check for the device
5473                 - (wireless_networks_changed): schedule an activation check for the
5474                         device
5475                 - (device_added): keep track of the signal handler IDs so they can
5476                         be removed when the device goes away
5477                 - (device_removed): remove any signal handlers that might be attached
5478                         to the device; update routing and DNS
5479                 - (schedule_activate_all): new function
5480                 - (connections_added, connection_added, connection_updated): when
5481                         connections change, schedule all devices for an activation check
5482                 - (connection_removed): when a device is deactivated because its
5483                         connection was removed, schedule another activation check for it
5484                 - (nm_policy_destroy): destroy pending activations and disconnect
5485                         all device signal handlers
5486
5487         * src/nm-manager.c
5488                 - (nm_manager_activate_device): if the device was already actived,
5489                         deactivate it
5490                 - (deactivate_old_device): remove
5491                 - (connection_added_default_handler, impl_manager_activate_device):
5492                         don't deactivate other devices when activating this one
5493
5494         * src/backends/NetworkManagerGentoo.c
5495           src/backends/NetworkManagerFrugalware.c
5496           src/backends/NetworkManagerPaldo.c
5497           src/backends/NetworkManagerRedHat.c
5498           src/backends/NetworkManagerSlackware.c
5499           src/backends/NetworkManagerArch.c
5500           src/backends/NetworkManagerSuSE.c
5501           src/backends/NetworkManagerDebian.c
5502                 - (nm_system_get_mtu): remove; MTU should be provided through the
5503                         distro's system settings service plugin instead
5504                 - (nm_system_device_add_default_route_via_device): remove
5505                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5506                 - (nm_system_device_replace_default_route): new function; call
5507                         generic implementation
5508
5509         * src/backends/NetworkManagerGeneric.c
5510           src/backends/NetworkManagerGeneric.h
5511                 - (nm_generic_device_add_default_route_via_device,
5512                    nm_generic_device_add_default_route_via_device_with_iface): remove
5513                 - (nm_generic_device_replace_default_route): replace the default route
5514                         with the given route via some gateway
5515
5516         * src/NetworkManagerSystem.c
5517           src/NetworkManagerSystem.h
5518                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5519                         to routing and DNS; but set the MTU here
5520                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5521                         ip_iface of the active device; use the standard MTU setting function
5522                 - (nm_system_set_mtu): remove
5523                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5524
5525 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5526
5527         Rework the interaction between ppp manager and pppd plugin. Register a well
5528         known DBUS service in manager and let the plugin call it's methods instead
5529         of listening plugin's signals.
5530
5531         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5532         of emitting signals.
5533
5534         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5535
5536         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5537
5538         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5539         nm_ppp_manager_start().
5540
5541         * introspection/nm-ppp-manager.xml: New file.
5542
5543         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5544         the case correctly where driver is trying to send -1 for the speed, which gets
5545         casted to u16 and thus is always > 0.
5546
5547 2008-03-07  Dan Williams  <dcbw@redhat.com>
5548
5549         * src/nm-hal-manager.c
5550                 - (nm_get_device_driver_name): use net.originating_device first, fall
5551                         back to physical device.  HAL has deprecated physical_device.
5552
5553         * libnm-glib/nm-device.c
5554                 - (get_product_and_vendor): use net.originating_device first, fall
5555                         back to physical device.  HAL has deprecated physical_device.
5556                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5557
5558 2008-03-07  Dan Williams  <dcbw@redhat.com>
5559
5560         * src/nm-netlink.c
5561                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5562                         last commit; fix that
5563                 - (get_link_cache): print error string
5564
5565 2008-03-07  Dan Williams  <dcbw@redhat.com>
5566
5567         * src/nm-netlink.c
5568                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5569                         don't need this hack any more (Benoit Boissinot)
5570
5571 2008-03-06  Dan Williams  <dcbw@redhat.com>
5572
5573         * autogen.sh
5574                 - Die gnome-common, die
5575
5576 2008-03-04  Dan Williams  <dcbw@redhat.com>
5577
5578         Patch from Michael Biebl <biebl@debian.org>
5579
5580         * NetworkManager.pc.in
5581                 - doesn't actually depend on dbus-1
5582
5583         * libnm-util/nm-utils.h
5584                 - remove unused #include <dbus/dbus.h>
5585
5586         * libnm-glib/libnm_glib.pc.in
5587                 - depends on glib and dbus-glib
5588
5589 2008-03-02  Dan Williams  <dcbw@redhat.com>
5590
5591         * src/NetworkManagerPolicy.c
5592                 - s/device_state_changed_idle_id/update_state_id/
5593
5594 2008-03-02  Dan Williams  <dcbw@redhat.com>
5595
5596         * src/nm-device.c
5597           src/nm-device.h
5598           src/nm-device-802-11-wireless.c
5599           src/nm-device-802-3-ethernet.c
5600           src/NetworkManagerPolicy.c
5601                 - s/link_active/carrier
5602                 - nm_device_set_active_link() -> nm_device_set_carrier()
5603                 - nm_device_has_active_link() -> nm_device_get_carrier()
5604
5605 2008-03-02  Dan Williams  <dcbw@redhat.com>
5606
5607         * system-settings/plugins/ifcfg-fedora/parser.c
5608                 - (make_wireless_setting): fail connection creation on missing SSID
5609
5610 2008-02-29  Dan Williams  <dcbw@redhat.com>
5611
5612         * src/NetworkManagerPolicy.c
5613                 - (nm_policy_device_change_check): ensure that a previously active
5614                         device with a system connection has a link before denying a switch
5615                         to a user connection
5616
5617 2008-02-29  Dan Williams  <dcbw@redhat.com>
5618
5619         * src/nm-device-802-11-wireless.c
5620                 - (link_timeout_cb): try again if scanning; deactivate the device when
5621                         activated if the link dies
5622                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5623                         15 seconds
5624
5625 2008-02-29  Dan Williams  <dcbw@redhat.com>
5626
5627         * src/nm-device-802-11-wireless.c
5628           src/nm-device-802-11-wireless.h
5629                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5630                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5631                 - (device_cleanup): reset the scan interval lower when the device
5632                         deactivates
5633                 - (can_scan): base decision mostly off device state, not supplicant
5634                         interface state since the supplicant interface state isn't a
5635                         great indicator of whether the device is active or not
5636                 - (request_wireless_scan): clean up; schedule the next scan here
5637                 - (schedule_scan): only back the scan interval off if a new scan
5638                         actually gets scheduled; and make scan intervals tighter when the
5639                         device is disconnected
5640                 - (supplicant_iface_state_cb_handler): fold in the bits of
5641                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5642                         interval to minimum
5643                 - (activation_success_handler): reset scan interval to something
5644                         reasonable 
5645
5646 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5647
5648         reviewed by: Steev <steev@steev.net>
5649
5650         * configure.in:
5651         * src/backends/NetworkManagerGentoo.c:
5652         (nm_system_restart_mdns_responder):
5653                 Howl is no longer a supported mDNS provider
5654
5655 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5656
5657         Get rid of a bunch of unused distro specific functions.
5658
5659 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5660
5661         Implement suse plugin for system settings daemon.
5662
5663         * system-settings/plugins/ifcfg-suse/*: Implement.
5664
5665         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5666         suse.
5667
5668         * configure.in: Check (without failing) for gio.
5669         Create ifcfg-suse plugin's Makefile.
5670
5671 2008-02-20  Dan Williams  <dcbw@redhat.com>
5672
5673         * libnm-util/nm-connection.c
5674           libnm-util/nm-connection.h
5675                 - (nm_connection_compare): accept compare flags and pass them to the
5676                         setting compare function
5677
5678         * libnm-util/nm-setting.c
5679           libnm-util/nm-setting.h
5680                 - (nm_setting_compare): accept compare flags; ignore properties that are
5681                         marked fuzzy
5682
5683         * libnm-util/nm-setting-connection.c
5684           libnm-util/nm-setting-wireless.c
5685           libnm-util/nm-setting-ppp.c
5686           libnm-util/nm-setting-wired.c
5687                 - Mark some setting properties as ignorable when doing a fuzzy compare
5688
5689         * src/nm-device.c
5690                 - (device_activation_precheck): use exact compare
5691
5692 2008-02-20  Dan Williams  <dcbw@redhat.com>
5693
5694         * src/NetworkManagerPolicy.c
5695                 - (nm_policy_device_change_check): get scope off the connection, not
5696                         using the manager helper
5697
5698         * src/nm-manager.c
5699           src/nm-manager.h
5700                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5701                 - (connection_get_settings_cb): set scope and path on connection, not
5702                         using GObject data items
5703                 - (get_connection_for_proxy): don't need to return path, since that
5704                         can be gotten from the connection
5705                 - (get_connection_for_proxy): get path off the connection, not from
5706                         parameters
5707                 - (connection_removed_cb, connection_updated_cb): don't need to get
5708                         path from get_connection_for_proxy(); get scope off the connection
5709                         instead of using GObject data items
5710                 - (connection_added_default_handler, add_one_connection_element): use
5711                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5712                 - (nm_manager_get_connection_dbus_path): remove
5713                 - (nm_manager_get_connection_scope): remove
5714
5715 2008-02-20  Dan Williams  <dcbw@redhat.com>
5716
5717         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5718                 on confusing names
5719
5720         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5721                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5722                 NMExportedConnection
5723
5724         * Internally rename NMConnectionType -> NMConnectionScope
5725
5726         * Provide default implementations of the 'get_id' and 'get_settings' methods
5727                 of NMExportedConnection
5728
5729 2008-02-15  Dan Williams  <dcbw@redhat.com>
5730
5731         * src/nm-device-802-11-wireless.c
5732                 - (device_cleanup): release the AP list here too so that the AP list
5733                         doesn't survive across suspend/resume and up/down.  There is some
5734                         room for optimization, for example blow the list away when the card
5735                         brought back up, but only if the device has only been down for a
5736                         minute or more.
5737
5738 2008-02-15  Dan Williams  <dcbw@redhat.com>
5739
5740         * src/nm-hal-manager.c
5741                 - (modem_device_creator): recognize new HAL modem capabilities
5742
5743 2008-02-12  Dan Williams  <dcbw@redhat.com>
5744
5745         * system-settings/plugins/ifcfg-fedora/plugin.c
5746                 - (watch_path): handle IN_DELETE_SELF too
5747                 - (handle_connection_changed): notify when removing a connection
5748                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5749                         case of a file moving out of the profile directory
5750
5751 2008-02-12  Dan Williams  <dcbw@redhat.com>
5752
5753         * system-settings/plugins/ifcfg-fedora/parser.c
5754                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5755
5756 2008-02-12  Dan Williams  <dcbw@redhat.com>
5757
5758         * libnm-util/nm-utils.c
5759                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5760                         just any empty array
5761
5762 2008-02-12  Dan Williams  <dcbw@redhat.com>
5763
5764         * system-settings/src/nm-system-config-interface.c
5765           system-settings/src/nm-system-config-interface.h
5766                 - (load_connections): get_connections() should now return an allocated
5767                         GSList that the system settings service will free
5768
5769         * system-settings/plugins/ifcfg-fedora/plugin.c
5770           system-settings/plugins/ifcfg-fedora/parser.h
5771           system-settings/plugins/ifcfg-fedora/parser.c
5772                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5773                         in the profile directory, handle resolv.conf file changes
5774
5775 2008-02-10  Dan Williams  <dcbw@redhat.com>
5776
5777         * src/nm-device-802-3-ethernet.c
5778                 - (real_bring_up): save the supplicant interface state signal id
5779                 - (real_bring_down): disconnect from the supplicant interface state
5780                         signal
5781
5782 2008-02-07  Dan Williams  <dcbw@redhat.com>
5783
5784         * initscript/RedHat/NetworkManager.in
5785           initscript/RedHat/NetworkManagerDispatcher.in
5786                 - Add new-style LSB init headers
5787
5788 2008-02-07  Dan Williams  <dcbw@redhat.com>
5789
5790         * system-settings/src/dbus-settings.c
5791           system-settings/src/dbus-settings.h
5792                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5793                         table of secrets
5794                 - (connection_settings_get_secrets): consolidate error returns into
5795                         one place; use the new get_secrets() plugin interface function to
5796                         get secrets from the plugin itself rather than using GObject data
5797                         magic
5798
5799         * system-settings/src/main.c
5800                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5801                    load_connections): keep a private list of the plugin-returned
5802                         connections, don't use the plugin's GSList
5803
5804         * system-settings/plugins/ifcfg-fedora/plugin.c
5805                 - (watch_path): watch the path, not the filename (duh)
5806                 - (reload_all_connections): use the direct hash/equal functions; the
5807                         ones for int aren't appropriate here
5808                 - (get_secrets, system_config_interface_init): implement the
5809                         get_secrets() function
5810                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5811                         now in the connection's ConnectionData instead of being a GObject
5812                         data property
5813                 - (handle_profile_item_changed): ifcfg file path is now in the
5814                         connection's ConnectionData instead of being a GObject data property;
5815                         be sure to copy secrets over from the new connection to the existing
5816                         connection when updating the connection's settings
5817                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5818                         file descriptor
5819
5820         * system-settings/plugins/ifcfg-fedora/parser.c
5821           system-settings/plugins/ifcfg-fedora/parser.h
5822                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5823                    connection_data_copy_secrets, connection_data_free,
5824                    connection_data_add): new functions; connection data manipulation
5825                 - (make_wireless_security_setting): stuff secrets into the
5826                         connection data, not as GObject data items; make sure to close
5827                         the keys ifcfg file
5828                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5829                         connection data to the connection
5830
5831 2008-02-07  Dan Williams  <dcbw@redhat.com>
5832
5833         * system-settings/src/nm-system-config-interface.c
5834           system-settings/src/nm-system-config-interface.h
5835                 - Add a get_secrets() interface function to retrieve secrets for a
5836                         specific setting of a specific connection.  Document the interface
5837                         a bit more too.
5838
5839 2008-02-07  Dan Williams  <dcbw@redhat.com>
5840
5841         * src/nm-device-802-11-wireless.c
5842                 - (handle_auth_or_fail): new function; consolidate device activation
5843                         failure check after a certain number of failures getting secrets
5844                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5845                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5846                         the connection if secrets were requested more than a few times
5847                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5848                         tries here; otherwise they are cleared before the IP configure
5849                         timeout, which happens with open system WEP when key is wrong
5850                 - (activation_success_handler): clear wireless secrets tries here too
5851
5852 2008-02-07  Dan Williams  <dcbw@redhat.com>
5853
5854         * src/NetworkManagerPolicy.c
5855                 - (connection_updated): clear invalid tag when connection gets updated
5856                         to allow that connection to be tried again
5857                 - (nm_policy_new): save signal ids so they can be disconnected when
5858                         the policy is destroyed
5859                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5860                         and disconnect all signals from the manager object so that none
5861                         of the policy functions gets called after the policy is destroyed
5862
5863 2008-02-06  Dan Williams  <dcbw@redhat.com>
5864
5865         * src/nm-manager.c
5866                 - (finalize): remove devices a bit earlier; clean up system settings
5867                         poke
5868                 - (nm_manager_name_owner_changed): clean up system settings poke when
5869                         the service appears, and try to restart it if it fails
5870                 - (poke_system_settings_daemon_cb): try to get the system settings
5871                         service started through D-Bus service activation
5872                 - (initial_get_connections): start the system settings daemon if it's
5873                         not already running
5874
5875 2008-02-05  Dan Williams  <dcbw@redhat.com>
5876
5877         * src/supplicant-manager/nm-supplicant-config.c
5878                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5879                         broadcast networks too
5880
5881 2008-02-04  Dan Williams  <dcbw@redhat.com>
5882
5883         * system-settings/plugins/ifcfg-fedora/parser.c
5884                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5885                         need key_mgmt set too
5886                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5887                         .bak files; ensure that an error is set whenever NULL gets returned
5888
5889 2008-02-04  Dan Williams  <dcbw@redhat.com>
5890
5891         * system-settings/src/Makefile.am
5892                 - Install D-Bus service activation file for the system settings
5893                         service
5894
5895         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5896                 - D-Bus service activation file for system settings service
5897
5898 2008-02-04  Dan Williams  <dcbw@redhat.com>
5899
5900         * system-settings/src/main.c
5901                 - (parse_config_file): parse a config file
5902                 - (main): accept --config option and read plugins from config file
5903
5904 2008-02-04  Dan Williams  <dcbw@redhat.com>
5905
5906         * system-settings/plugins/ifcfg-fedora/plugin.c
5907                 - Change reported name to 'ifcfg-fedora'
5908                 - Use IFCFG_PLUGIN_NAME
5909
5910         * system-settings/plugins/ifcfg-fedora/plugin.c
5911                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5912
5913 2008-02-04  Dan Williams  <dcbw@redhat.com>
5914
5915         * system-settings/plugins/ifcfg-fedora/parser.c
5916                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5917                 - (make_connection_setting): use get_ifcfg_name()
5918                 - (make_wireless_security_setting): handle shadow key files
5919                 - (get_one_wep_key): treat empty string as NULL
5920
5921 2008-02-04  Dan Williams  <dcbw@redhat.com>
5922
5923         * src/supplicant-manager/nm-supplicant-manager.c
5924                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5925                         glib automatically reschedule
5926                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5927                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5928                         the supplicant
5929
5930 2008-02-01  Dan Williams  <dcbw@redhat.com>
5931
5932         * src/NetworkManagerPolicy.c
5933                 - (device_state_changed): schedule a change check when a device gets
5934                         deactivated so something happens if you disconnect GSM/CDMA
5935
5936 2008-01-31  Dan Williams  <dcbw@redhat.com>
5937
5938         * src/nm-device-802-11-wireless.h
5939           src/nm-device-802-11-wireless.c
5940                 - (ap_list_get_ap_by_ssid, is_associated,
5941                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5942                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5943                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5944                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5945                         function
5946
5947 2008-01-30  Dan Williams  <dcbw@redhat.com>
5948
5949         * system-settings/plugins/ifcfg
5950         * system-settings/plugins/ifcfg-fedora
5951                 - Move the ifcfg plugin to ifcfg-fedora
5952
5953 2008-01-24  Dan Williams  <dcbw@redhat.com>
5954
5955         * libnm-glib/nm-device-802-11-wireless.c
5956                 - (get_access_point): move the "/" check here; check for invalid path
5957                         too
5958                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5959                         to get_access_point()
5960                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5961                         to send signals for non-existent access points
5962
5963 2008-01-24  Dan Williams  <dcbw@redhat.com>
5964
5965         * libnm-glib/nm-device-802-11-wireless.c
5966                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5967
5968 2008-01-23  Dan Williams  <dcbw@redhat.com>
5969
5970         * libnm-glib/libnm_glib.c
5971                 - (libnm_glib_init): make thread joinable
5972                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5973
5974 2008-01-23  Dan Williams  <dcbw@redhat.com>
5975
5976         * test/libnm_glib_test.c
5977                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5978                 - (main): set up signal handlers; call libnm_glib_shutdown
5979
5980 2008-01-21  Dan Williams  <dcbw@redhat.com>
5981
5982         * include/NetworkManager.h
5983                 - Add CDMA mobile broadband card device type
5984
5985         * src/nm-hal-manager.c
5986                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5987                         must now be tagged with 'cdma' or 'gsm' capability
5988
5989         * src/nm-cdma-device.c
5990           src/nm-cdma-device.h
5991           src/Makefile.am
5992                 - Add the CDMA mobile broadband card device class
5993
5994         * libnm-util/nm-connection.c
5995                 - (register_default_settings): add NMSettingCdma
5996
5997         * libnm-util/nm-setting-cdma.c
5998           libnm-util/nm-setting-cdma.h
5999           libnm-util/Makefile.am
6000                 - Add the CDMA mobile broadband card setting class
6001
6002         * libnm-glib/nm-cdma-device.c
6003           libnm-glib/nm-cdma-device.h
6004           libnm-glib/Makefile.am
6005                 - Add the CDMA mobile broadband card GLib proxy class
6006
6007         * libnm-glib/nm-client.c
6008                 - (get_device): handle CDMA devices too
6009
6010 2008-01-21  Dan Williams  <dcbw@redhat.com>
6011
6012         * src/ppp-manager/nm-ppp-manager.c
6013                 - (ip4_config_get): set peer address too
6014
6015         * src/ppp-manager/nm-pppd-plugin.c
6016                 - (nm_ip_up): try harder to get the peer's address
6017
6018         * src/NetworkManagerSystem.c
6019                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6020                         address, use that too.  Otherwise, some PPP connections won't work.
6021
6022 2008-01-19  Dan Williams  <dcbw@redhat.com>
6023
6024         * src/NetworkManagerPolicy.c
6025                 - (nm_policy_device_change_check): system connections override user
6026                         connections; don't activate a user connection if there's a currently
6027                         active system connection, and new, better system connections always
6028                         interrupt user connections
6029
6030 2008-01-19  Dan Williams  <dcbw@redhat.com>
6031
6032         * src/nm-manager.h
6033                 - (nm_manager_get_connection_type): new function
6034
6035 2008-01-19  Dan Williams  <dcbw@redhat.com>
6036
6037         * src/nm-device-802-11-wireless.c
6038                 - (real_get_best_connection): collapse find_best_connection() into this
6039                         function
6040
6041 2008-01-19  Dan Williams  <dcbw@redhat.com>
6042
6043         * src/nm-device-802-3-ethernet.c
6044                 - (real_get_best_connection): collapse find_best_connection() into this
6045                         function
6046
6047 2008-01-18  Dan Williams  <dcbw@redhat.com>
6048
6049         * src/nm-device-802-3-ethernet.c
6050                 - (find_best_connection): check MAC address too
6051                 - (real_get_best_connection): let autoconnect=True connections activate
6052                         for devices that don't have carrier detection
6053
6054         * src/nm-device-802-11-wireless.c
6055                 - (find_best_connection): check MAC address too
6056
6057 2008-01-18  Dan Williams  <dcbw@redhat.com>
6058
6059         * system-settings/plugins/ifcfg/parser.c
6060                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6061
6062 2008-01-17  Dan Williams  <dcbw@redhat.com>
6063
6064         * src/nm-device-802-3-ethernet.c
6065                 - (nm_device_802_3_ethernet_carrier_on,
6066                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6067                         carrier events that might come in for devices that don't support
6068                         carrier detect
6069
6070 2008-01-17  Dan Williams  <dcbw@redhat.com>
6071
6072         * src/nm-device-interface.c
6073                 - (nm_device_interface_check_connection_conflicts): need to actually
6074                         get the interface, not cast to the object
6075
6076         * src/nm-device.c
6077                 - (nm_device_check_connection_conflicts): need to get the device class,
6078                         not cast the device to the device class
6079
6080 2008-01-17  Dan Williams  <dcbw@redhat.com>
6081
6082         * src/nm-device-802-11-wireless.c
6083                 - (real_check_connection_conflicts): ignore connections that aren't
6084                         wireless connections
6085
6086 2008-01-17  Dan Williams  <dcbw@redhat.com>
6087
6088         * src/NetworkManagerPolicy.c
6089                 - (nm_policy_device_change_check): clear change check idle here
6090                 - (device_change_check_done): remove
6091                 - (schedule_change_check): simplify
6092
6093 2008-01-17  Dan Williams  <dcbw@redhat.com>
6094
6095         * src/nm-manager.c
6096                 - (check_connection_allowed): take an NMDeviceInterface instead of
6097                         an NMDevice object as an argument
6098                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6099                         check_connection_allowed()
6100
6101 2008-01-13  Dan Williams  <dcbw@redhat.com>
6102
6103         * libnm-glib/nm-device-802-11-wireless.c
6104                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6105
6106 2008-01-12  Dan Williams  <dcbw@redhat.com>
6107
6108         * src/nm-device-802-11-wireless.c
6109                 - (activation_success_handler): if a match was found in the scan list
6110                         and that match is a hidden AP, update that AP's SSID
6111
6112 2008-01-11  Dan Williams  <dcbw@redhat.com>
6113
6114         * src/NetworkManagerAP.c
6115                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6116
6117         * src/nm-device-802-11-wireless.c
6118                 - (get_active_ap): do two passes over the scan list if the caller
6119                         requests that hidden APs get matched too; during the second pass
6120                         when matching hidden APs, ignore the SSID since hidden APs in the
6121                         scan list don't have an SSID yet
6122                 - (periodic_update): move some checks to
6123                         nm_device_802_11_periodic_update() because not all callers need them
6124                 - (nm_device_802_11_periodic_update): move some checks here from
6125                         perodic_update()
6126                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6127                         matching on incoming scan results, because the fake AP's flags
6128                         might be slightly different (yet still compatible) with the incoming
6129                         scan result's flags and they might actually be the same AP; update
6130                         the rate on merged APs too
6131                 - (activation_success_handler): update the frequency of the fake AP
6132                         on successful connection; match hidden APs too since if the
6133                         current AP is fake, there might already be a scan result in the
6134                         scan list for the desired AP, just without it's SSID filled in yet
6135
6136 2008-01-10  Dan Williams  <dcbw@redhat.com>
6137
6138         * src/NetworkManagerAP.c
6139                 - (foreach_property_cb): catch more hidden SSID formats
6140
6141 2008-01-10  Dan Williams  <dcbw@redhat.com>
6142
6143         Fix gnome.org #464215.  Requires the kernel patch titled
6144         "Introduce WEXT scan capabilities" but will handle the patch not being
6145         present, you'll just continue to have problems with hidden SSIDs when
6146         using mac80211-based drivers.
6147
6148         * src/supplicant-manager/nm-supplicant-config.h
6149           src/supplicant-manager/nm-supplicant-config.c
6150                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6151                         whether the driver supports SSID scans or not.  If it does, and if
6152                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6153
6154         * src/nm-device-802-11-wireless.c
6155                 - (constructor): check whether or not the driver supports SSID scans
6156                 - (build_supplicant_config): pass driver SSID scan capability when
6157                         building the wireless bits of the supplicant config
6158
6159 2008-01-09  Dan Williams  <dcbw@redhat.com>
6160
6161         * src/nm-device.c
6162           src/nm-device.h
6163                 - (device_activation_precheck, check_connection_complete): remove this
6164                         virtual function; incomplete connections should be invalid by
6165                         definition, complete-ness should be checked in the setting's
6166                         verify function
6167
6168         * src/nm-serial-device.c
6169           src/nm-gsm-device.c
6170                 - (real_check_connection_complete): remove
6171
6172         * libnm-util/nm-setting-serial.c
6173                 - (verify): new function; ensure there is a PPP setting too
6174
6175         * libnm-util/nm-setting-gsm.c
6176                 - (verify): ensure there is a serial setting too
6177
6178 2008-01-06  Dan Williams  <dcbw@redhat.com>
6179
6180         * src/dhcp-manager/nm-dhcp-manager.c
6181                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6182                         (gnome.org #332953)
6183
6184 2008-01-04  Dan Williams  <dcbw@redhat.com>
6185
6186         * src/named-manager/nm-named-manager.c
6187                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6188                         nameservers if the secondary config doesn't have any
6189                         (gnome.org #346833)
6190
6191 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6192
6193         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6194         with G_PARAM_CONSTRUCT so that they get the default values.
6195
6196         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6197         the monitoring device and prints out the output for now. Or more precicely, doesn't
6198         do absolutely anything right now since the montoring device argument is never set.
6199
6200         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6201         requires it's own knob to turn it on.
6202         (config_fd): Add NMSettingSerial to the arguments list.
6203         (nm_serial_device_open): Ditto.
6204         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6205         (nm_serial_device_get_io_channel): Implement.
6206
6207         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6208         a new reference every time (and forgetting to release it sometimes) is a pain and
6209         it's not like NMManager could work without dbus.
6210         (nm_manager_add_device): Register the added device on dbus here.
6211
6212         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6213         device.
6214
6215         * src/nm-device.c (constructor): Don't export the device here, instead export
6216         it when it's added to the NMManager's device list.
6217
6218 2007-12-31  Dan Williams  <dcbw@redhat.com>
6219
6220         * src/nm-device-interface.c
6221           src/nm-device-interface.h
6222                 - (nm_device_interface_check_connection_conflicts): new function
6223
6224         * src/nm-device.c
6225           src/nm-device.h
6226                 - (nm_device_check_connection_conflicts): new function
6227                 - (device_activation_precheck): don't require subclasses to implement
6228                         check_connection_complete()
6229                 - check_connection() -> check_connection_complete()
6230
6231         * src/nm-device-802-11-wireless.c
6232                 - (real_check_connection): remove; unused
6233                 - (real_check_connection_conflicts): implement, handle lockdown for
6234                         system connections
6235
6236         * src/nm-device-802-3-ethernet.c
6237                 - (real_check_connection): remove; unused
6238
6239         * src/nm-manager.c
6240                 - (check_connection_allowed): new function
6241                 - (nm_manager_activate_device): ensure the connection being requested
6242                         is allowed to be activated
6243
6244         * src/nm-serial-device.c
6245           src/nm-gsm-device.c
6246                 - real_check_connection() -> real_check_connection_complete()
6247
6248 2007-12-27  Dan Williams  <dcbw@redhat.com>
6249
6250         * src/nm-device-interface.c
6251           src/nm-device-interface.h
6252                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6253                         normalize and expand errors
6254                 - (nm_device_interface_init): register errors so they can be marshalled
6255                         through dbus-glib
6256                 - (nm_device_interface_activate): ensure that failure of activation
6257                         returns an error
6258
6259         * src/nm-device.c
6260           src/nm-device.h
6261                 - (device_activation_precheck): implementations of check_connection()
6262                         now take a GError and must fill it in if the check fails.  Return
6263                         more descriptive error if the requested connection is already
6264                         activating
6265                 - (nm_device_activate): actually try to return descriptive errors on
6266                         failures
6267
6268         * src/nm-device-802-11-wireless.c
6269           src/nm-device-802-3-ethernet.c
6270           src/nm-serial-device.c
6271           src/nm-gsm-device.c
6272                 - (real_check_connection): return more descriptive errors on failure
6273
6274         * src/NetworkManagerPolicy.c
6275                 - (nm_policy_device_change_check): print activation errors in the logs
6276
6277         * src/nm-manager.c
6278                 - (nm_manager_error_quark, nm_manager_error_get_type,
6279                    nm_manager_class_init): new errors
6280                 - (nm_manager_activate_device): handle errors
6281                 - (nm_manager_error_new): removed
6282                 - (wait_for_connection_expired, connection_added_default_handler,
6283                    impl_manager_activate_device): better error handling
6284
6285 2007-12-27  Dan Williams  <dcbw@redhat.com>
6286
6287         Fixes gnome.org #466954
6288
6289         * src/supplicant-manager/nm-supplicant-settings-verify.c
6290                 - Allow 'frequency' network property
6291
6292         * src/supplicant-manager/nm-supplicant-config.c
6293           src/supplicant-manager/nm-supplicant-config.h
6294                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6295                         for callers to specify the frequency an Ad-Hoc network should operate
6296                         on.  Some drivers require this to successfully create an Ad-Hoc
6297                         network.
6298
6299         * src/nm-device-802-11-wireless.c
6300                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6301                         guint32 value in MHz
6302                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6303                         iw_freq_to_uint32()
6304                 - (find_supported_frequency): new function; find a free supported
6305                         frequency for a user-created Ad-Hoc network
6306                 - (build_supplicant_config): if no frequency was specified for a user-
6307                         created Ad-Hoc network, find a free one to use
6308                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6309                         a specific object as user-created
6310
6311 2007-12-27  Dan Williams  <dcbw@redhat.com>
6312
6313         * libnm-util/nm-utils.c
6314           libnm-util/nm-utils.h
6315                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6316                         for adhoc networks
6317
6318 2007-12-24  Dan Williams  <dcbw@redhat.com>
6319
6320         * libnm-util/nm-setting-wireless.c
6321                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6322                         185, 187, 188, 192, and 196
6323
6324 2007-12-24  Dan Williams  <dcbw@redhat.com>
6325
6326         * src/nm-device-802-11-wireless.c
6327                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6328                         a channel # instead of a frequency
6329
6330 2007-12-24  Dan Williams  <dcbw@redhat.com>
6331
6332         * src/NetworkManagerAP.c
6333           src/NetworkManagerAP.h
6334                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6335                 - (freq_to_channel): handle split band tables
6336                 - (channel_to_freq): handle split band tables, take a band argument
6337
6338 2007-12-24  Dan Williams  <dcbw@redhat.com>
6339
6340         * libnm-util/nm-setting-connection.h
6341           libnm-util/nm-setting-connection.c
6342                 - Add 'lockdown' member
6343
6344 2007-12-22  Dan Williams  <dcbw@redhat.com>
6345
6346         * libnm-util/nm-setting-wireless.c
6347                 - (nm_setting_wireless_class_init): add missing 'rate' property
6348                         specification
6349
6350 2007-12-18  Dan Williams  <dcbw@redhat.com>
6351
6352         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6353
6354         * src/nm-netlink-monitor.c
6355           src/nm-netlink-monitor.h
6356                 - Remove handrolled netlink, use libnl instead
6357
6358         * src/nm-device-802-3-ethernet.c
6359                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6360                    nm_device_802_3_ethernet_carrier_on): use new names
6361
6362 2007-12-17  Dan Williams  <dcbw@redhat.com>
6363
6364         * configure.in
6365                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6366                         and fixes memory leaks)
6367
6368         * src/nm-netlink.c
6369                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6370                         automatically handle the netlink PID
6371
6372 2007-12-17  Dan Williams  <dcbw@redhat.com>
6373
6374         Patch from Michael Biebl <biebl@debian.org>
6375
6376         * configure.in
6377           src/ppp-manager/Makefile.am
6378                 - fix up install dir of pppd plugin
6379                 - clean up configure.in a bit
6380
6381 2007-12-12  Dan Williams  <dcbw@redhat.com>
6382
6383         * system-settings/src/nm-system-settings.conf
6384                 - Allow non-root clients (like the applet) to read settings
6385
6386 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6387
6388         * Replace all occurences of 'UMTS' with 'GSM'.
6389
6390 2007-12-07  Dan Williams  <dcbw@redhat.com>
6391
6392         * src/nm-serial-device.c
6393                 - (real_is_up): serial devices are always "up"
6394
6395 2007-12-07  Dan Williams  <dcbw@redhat.com>
6396
6397         * src/nm-netlink.c
6398           src/NetworkManagerSystem.c
6399                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6400                         twice (gnome.org #491047)
6401                 - Make more robust against allocation-related failures should they occur
6402
6403 2007-12-07  Dan Williams  <dcbw@redhat.com>
6404
6405         Noticed by Christian Persch <chpe@gnome.org>
6406
6407         Always chain up to parent object in dispose and finalize handlers.
6408                 (gnome.org #433112)
6409
6410 2007-12-07  Dan Williams  <dcbw@redhat.com>
6411
6412         * src/nm-device-802-11-wireless.c
6413                 - Wrap #include of linux/mii.h to fix redefined structures due to
6414                         incorrect kernel headers (gnome.org #350061)
6415
6416 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6417
6418         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6419         before doing anything else.
6420         (init_modem): Move modem initialization here.
6421
6422         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6423         (nm_serial_device_flash): Implement.
6424
6425         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6426         changes signal is "StateChanged" and not "Status".
6427         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6428
6429 2007-12-06  Dan Williams  <dcbw@redhat.com>
6430
6431         * src/supplicant-manager/nm-supplicant-config.c
6432                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6433                         to only send some options when they make sense; also send phase2
6434                         option to the supplicant (possible fix for rh #399631)
6435
6436 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6437
6438         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6439         arguments: This whole file shouldn't really know anything about NMDevices, it
6440         should deal only with device interfaces. Devices might have different ifaces for
6441         different stuff and this place shouldn't know anything about it.
6442
6443         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6444         (global_state_changed): Implement. In the current NM it's not really important,
6445         but will be required in the case of multiple active devices. (Or even better,
6446         if stuff like that gets moved out from NM).
6447
6448         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6449         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6450         instead.
6451
6452         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6453         devices like serial devices (ttyS0 and ppp0 for example).
6454         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6455         set.
6456         (nm_device_set_ip_iface): Implement.
6457         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6458         after setting ip4_config from here ...
6459         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6460         than this function should call nm_system_device_set_from_ip4_config() because no
6461         other code has enough information on which arguments to use. So instead, other code
6462         could just set the new ip4 config using this function and everyone is happy.
6463
6464         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6465         if we happen to get deactivated while something is pending.
6466         (automatic_registration): Handle the response that indicates pending network
6467         registration and wait until the pending registration is done.
6468         (real_deactivate_quickly): If there's a pending operation, cancel it.
6469
6470         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6471         (real_deactivate_quickly): ... and remove it when it's down.
6472         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6473         it if needed.
6474         (nm_serial_device_wait_for_reply): Ditto.
6475
6476 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6477
6478         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6479         (get_network_done): Remove newline, nm_info() does it already.
6480         (real_act_stage1_prepare): Turn the modem echo off.
6481
6482         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6483         device, set the route to the device interface. This is a hack.
6484
6485         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6486         return, no need for a new-line.
6487         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6488         Change the device iface here (ugh).
6489         (real_act_stage4_get_ip4_config): Implement.
6490         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6491         Restore the device iface.
6492
6493         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6494         device is not wired or wireless (eg, automatically upped) device.
6495
6496         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6497         it isn't.
6498         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6499
6500         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6501         before calling it's is_device_fn().
6502
6503 2007-12-05  Dan Williams  <dcbw@redhat.com>
6504
6505         * libnm-util/nm-utils.c
6506                 - (nm_utils_register_value_transformations,
6507                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6508                         GHashTables of GValues too
6509
6510 2007-12-04  Dan Williams  <dcbw@redhat.com>
6511
6512         * initscript/RedHat/NetworkManager.in
6513                 - No longer start named; it's D-Bus interface is going away
6514
6515 2007-12-04  Dan Williams  <dcbw@redhat.com>
6516
6517         Patch from Michael Biebl <biebl@debian.org>
6518
6519         * system-settings/plugins/ifcfg/Makefile.am
6520           system-settings/src/main.c
6521           system-settings/src/Makefile.am
6522                 - Put system settings plugins in NM plugins dir
6523
6524         * src/ppp-manager/Makefile.am
6525           src/ppp-manager/nm-ppp-manager.c
6526                 - Move pppd plugin to NM plugins dir
6527
6528 2007-12-04  Dan Williams  <dcbw@redhat.com>
6529
6530         * libnm-util/nm-setting-vpn-properties.h
6531                 - Clarify usage of the 'data' member of the setting
6532
6533         * libnm-util/nm-setting-vpn-properties.c
6534                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6535                 - (set_property): just remove all the settings; don't recreate the has
6536                 - (update_one_secret): don't need to create the hash table here since
6537                         it should always be present
6538
6539 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6540
6541         Implement PIN and PUK requesting.
6542
6543         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6544         (enter_pin): Handle PIN and PUK requests.
6545         (real_act_stage1_prepare): Clear the secret type.
6546         (real_connection_secrets_updated): Implement this class method to get
6547         notified when new secrets arrive.
6548         (nm_umts_device_class_init): Add private data back to the umts device class
6549         to store the required secret type.
6550
6551 2007-12-01  Dan Williams  <dcbw@redhat.com>
6552
6553         * system-settings/plugins/ifcfg/parser.c
6554                 - (parser_parse_file): don't try to verify NULL connections
6555
6556 2007-12-01  Dan Williams  <dcbw@redhat.com>
6557
6558         * system-settings/src/main.c
6559                 - (load_connections, add_connection_to_settings): actually export
6560                         plugin-provided connections over D-Bus so NM can get them
6561
6562 2007-12-01  Dan Williams  <dcbw@redhat.com>
6563
6564         * system-settings/plugins/ifcfg/parser.c
6565           system-settings/plugins/ifcfg/parser.h
6566           system-settings/plugins/ifcfg/plugin.c
6567                 - Hook up more inotify bits (untested)
6568
6569 2007-11-29  Dan Williams  <dcbw@redhat.com>
6570
6571         * system-settings/src/nm-system-config-interface.h
6572           system-settings/src/nm-system-config-interface.c
6573                 - (nm_system_config_interface_init,
6574                    nm_system_config_interface_get_connections): add
6575
6576         * system-settings/src/main.c
6577                 - (load_plugins, load_connections, main): use a GSList for plugins
6578                         to ensure priority ordering
6579
6580         * system-settings/plugins/ifcfg/parser.c
6581                 - (ifcfg_error_quark): move to plugin.c, and rename
6582
6583         * system-settings/plugins/ifcfg/plugin.h
6584           system-settings/plugins/ifcfg/plugin.c
6585                 - (ifcfg_plugin_error_quark): move here from parser.c
6586                 - rework connection loading and initialization
6587                 - Add preliminary inotify support for network profile config file
6588
6589 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6590
6591         Merge the beginnings of the new GSM card support.
6592
6593         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6594         ppp watch source before killing pppd - If this happens from g_object_unref()
6595         then the ppp manager is already destroyed by the time the watch callback runs.
6596
6597         * src/nm-hal-manager.c: Add a device_type_name string to the device
6598         creators, so that we can print a nice human readable string when a
6599         device is added.
6600
6601         * src/nm-umts-device.c (automatic_registration_get_network): Query
6602         for the activated network, not much is done with the result thought.
6603
6604         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6605         (ppp_ip4_config): Change the device state to activated here for now.
6606         (real_check_connection): Make sure the connection includes ppp setting.
6607
6608         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6609
6610         * libnm-glib/Makefile.am: Add the new files to build.
6611
6612         * libnm-glib/nm-umts-device.c: 
6613         * libnm-glib/nm-umts-device.h: Implement.
6614
6615 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6616
6617         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6618         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6619
6620         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6621         the timeout source - this function is only called when the timeout source has
6622         been removed.
6623         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6624         to be big enough to contain the terminating zero element as well.
6625         The timeout argument is meant to be in seconds now.
6626         (real_deactivate_quickly): Implement.
6627
6628         * src/NetworkManager.conf: Allow root to own 
6629         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6630
6631         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6632         (not unsigned ints).
6633
6634         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6635         small issue with parity bounds - capital letters have lower ascii codes
6636         than lower case letters.
6637
6638         * libnm-util/nm-connection.c (register_default_settings): Register serial
6639         and umts settings.
6640
6641 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6642
6643         Remove the "index" property from devices as not all device types have this.
6644
6645         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6646
6647         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6648         (wired_device_creator): Get the device interface from hal to create the device.
6649         (wireless_device_creator): Ditto.
6650
6651         * src/nm-device.c (nm_device_init): Remove the index member.
6652         (constructor): Remove the checks for index property, make interface property
6653         a require constructor property.
6654         Use the HAL udi for DBus path for devices.
6655         (nm_device_get_index): Remove.
6656         (set_property): Remove index handling.
6657         (get_property): Ditto.
6658         (nm_device_get_dbus_path): Remove.
6659
6660         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6661         property.
6662
6663         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6664         Access the device index through it's interface.
6665         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6666         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6667         index argument. Add interface argument.
6668
6669         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6670         the useless test_dev argument. Remove index argument. Add interface arugment.
6671
6672         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6673         device index through interface.
6674         (nm_system_set_mtu): Ditto.
6675
6676         * introspection/nm-device.xml: Remove the "Index" property.
6677
6678 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6679
6680         * src/nm-serial-device.c: 
6681         * src/nm-serial-device.c: 
6682         * src/nm-umts-device.c:
6683         * src/nm-umts-device.h: Implement.
6684
6685         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6686         allocated by libhal.
6687         (modem_device_creator): Implement.
6688         (register_built_in_creators): Register the modem creator.
6689
6690         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6691         Remove the unused test_dev argument.
6692
6693         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6694
6695         * src/Makefile.am: Add new files to build.
6696         Link in ppp-manager.
6697
6698         * libnm-util/nm-setting-umts.c: 
6699         * libnm-util/nm-setting-umts.h: 
6700         * libnm-util/nm-setting-serial.c: 
6701         * libnm-util/nm-setting-serial.h: Implement.
6702
6703         * libnm-util/Makefile.am: Add new files to build.
6704
6705 2007-11-28  Dan Williams  <dcbw@redhat.com>
6706
6707         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6708
6709         Support DHCP-provided static routes.
6710
6711         * src/nm-ip4-config.h
6712           src/nm-ip4-config.c
6713                 - Add get/set functions for static routes
6714
6715         * src/dhcp-manager/nm-dhcp-manager.c
6716                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6717                         DHCP response
6718
6719         * src/NetworkManagerSystem.c
6720                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6721                         interface when applying the IP4Config
6722
6723 2007-11-28  Dan Williams  <dcbw@redhat.com>
6724
6725         * src/nm-device-802-11-wireless.c
6726                 - (real_act_stage1_prepare): mark APs created for hidden networks
6727                         as non-broadcasting
6728
6729 2007-11-27  Dan Williams  <dcbw@redhat.com>
6730
6731         * system-settings/src/nm-system-config-interface.h
6732                 - Note how to store secrets on NMSetting objects
6733
6734         * system-settings/src/dbus-settings.c
6735                 - (connection_settings_get_secrets): implement
6736
6737 2007-11-27  Dan Williams  <dcbw@redhat.com>
6738
6739         * system-settings/plugins/ifcfg/Makefile.am
6740           system-settings/plugins/ifcfg/parser.c
6741           system-settings/plugins/ifcfg/parser.h
6742           system-settings/plugins/ifcfg/plugin.c
6743                 - Parse wireless connections too
6744
6745         * system-settings/src/dbus-settings.c
6746           system-settings/src/dbus-settings.h
6747           system-settings/src/main.c
6748                 - Handle connection update/removal if the plugin supports it
6749
6750 2007-11-27  Dan Williams  <dcbw@redhat.com>
6751
6752         * src/nm-dbus-manager.h
6753           src/nm-hal-manager.c
6754                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6755                         do it for them
6756
6757         * src/Makefile.am
6758           src/NetworkManagerDbusUtils.c
6759           src/NetworkManagerDbusUtils.h
6760                 - Remove these two source files; they are unused
6761
6762 2007-11-27  Dan Williams  <dcbw@redhat.com>
6763
6764         * src/vpn-manager/nm-vpn-manager.c
6765                 - (impl_vpn_manager_connect): fix system settings check (found by
6766                         James M. Leddy)
6767
6768 2007-11-26  Dan Williams  <dcbw@redhat.com>
6769
6770         * Fix warnings so everything compiles with --enable-more-warnings
6771
6772 2007-11-25  Dan Williams  <dcbw@redhat.com>
6773
6774         * system-settings/*
6775                 - Rework structure and code to use GModule-loaded plugins and a plugin
6776                         interface that plugins export to the system settings service
6777
6778 2007-11-21  Dan Williams  <dcbw@redhat.com>
6779
6780         * system-settings/*
6781                 - Add Soren's system settings service.  Needs work for distros other
6782                         than Fedora; the backends from NM should mostly migrate to here
6783                         and be converted to GObjects
6784
6785 2007-11-21  Dan Williams  <dcbw@redhat.com>
6786
6787         * libnm-util/nm-setting-vpn-properties.c
6788                 - (set_property): must deep-copy the given settings hash, otherwise
6789                         double-free errors occur when the setting is disposed of
6790
6791 2007-11-21  Dan Williams  <dcbw@redhat.com>
6792
6793         * src/vpn-manager/nm-vpn-act-request.h
6794           src/vpn-manager/nm-vpn-act-request.c
6795                 - Remove; unused
6796
6797 2007-11-20  Dan Williams  <dcbw@redhat.com>
6798
6799         * libnm-util/nm-utils.c
6800                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6801                    nm_utils_convert_ip4_addr_struct_array_to_string,
6802                    nm_utils_register_value_transformations): print out the readable
6803                         values of more types of properties of NMSettings subclasses
6804
6805 2007-11-20  Dan Williams  <dcbw@redhat.com>
6806
6807         * libnm-util/nm-setting-ip4-config.c
6808                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6809                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6810                         marshal GValueArrays inside collections, so switch to types that it
6811                         can actually marshal/demarshal
6812
6813 2007-11-16  Dan Williams  <dcbw@redhat.com>
6814
6815         * libnm-util/nm-setting-wireless-security.c
6816                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6817                         minimal verification of EAP methods too
6818                 - (verify): verify phase1 eap methods too
6819
6820 2007-11-15  Dan Williams  <dcbw@redhat.com>
6821
6822         * libnm-glib/nm-device.h
6823           libnm-glib/nm-device.c
6824                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6825                         const char *
6826
6827 2007-11-15  Dan Williams  <dcbw@redhat.com>
6828
6829         * libnm-glib/nm-device.c
6830                 - (get_product_and_vendor): don't try to free things that should be
6831                         freed
6832
6833 2007-11-15  Dan Williams  <dcbw@redhat.com>
6834
6835         * src/NetworkManagerUtils.c
6836                 - (nm_ethernet_address_is_valid): unbreak previous fix
6837
6838 2007-11-15  Dan Williams  <dcbw@redhat.com>
6839
6840         * src/supplicant-manager/nm-supplicant-config.c
6841                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6842                         options
6843
6844 2007-11-15  Dan Williams  <dcbw@redhat.com>
6845
6846         * src/NetworkManagerUtils.c
6847                 - (nm_ethernet_address_is_valid): fix style, clarify
6848                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6849
6850         * src/nm-device-802-11-wireless.c
6851                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6852                 - (nm_device_802_11_wireless_get_ssid,
6853                    nm_device_802_11_wireless_get_bssid,
6854                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6855                         before calling the ioctl; fixes valgrind-reported jump depends on
6856                         uninitialized value errors
6857
6858 2007-11-15  Dan Williams  <dcbw@redhat.com>
6859
6860         * libnm-util/nm-setting.c
6861                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6862                         unecessary to serialize 'name'
6863
6864         * src/nm-activation-request.c
6865                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6866                         the GetSecrets call
6867
6868 2007-11-15  Dan Williams  <dcbw@redhat.com>
6869
6870         * libnm-util/nm-setting-connection.h
6871           libnm-util/nm-setting-connection.c
6872                 - Rename the 'name' property to 'id', because it conflicted with the
6873                         NMSetting superclass' 'name' property.
6874
6875         * libnm-util/nm-setting.c
6876                 - (nm_setting_to_hash): serialize the 'name' property
6877                 - (one_property_cb): ignore 'name' on deserialization of a connection
6878
6879         * src/nm-device-802-11-wireless.c
6880           src/vpn-manager/nm-vpn-connection.c
6881           src/NetworkManagerPolicy.c
6882                 - Fix up for NMSettingConnection 'name'->'id' changes
6883
6884 2007-11-13  Dan Williams  <dcbw@redhat.com>
6885
6886         * libnm-glib/nm-device-802-11-wireless.h
6887           libnm-glib/nm-device-802-11-wireless.c
6888                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6889
6890         * test/nm-tool.c
6891           libnm-glib/libnm-glib-test.c
6892                 - Fixes for above change
6893
6894 2007-11-12  Dan Williams  <dcbw@redhat.com>
6895
6896         * src/supplicant-manager/nm-supplicant-settings-verify.c
6897                 - Allow fragment_size option
6898
6899         * src/supplicant-manager/nm-supplicant-settings-verify.c
6900                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6901                         EAP fragment size than the default to help some TLS connections
6902
6903 2007-11-12  Dan Williams  <dcbw@redhat.com>
6904
6905         Make certs actually work.  The private key is now a secret, and should be
6906         decrypted when requested by NM.  The private key and phase2 private key
6907         passwords are no longer interesting to NM because they should be used by
6908         the settings service to decrypt the private key itself before passing it
6909         to NM, and hence have been removed as fields.
6910
6911         * libnm-util/nm-setting-wireless-security.h
6912           libnm-util/nm-setting-wireless-security.c
6913                 - Remove private-key-passwd and phase2-private-key-passwd from
6914                         properties
6915                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6916                    need_secrets): use property #defines instead strings to keep things
6917                         consistent
6918                 - (need_secrets_tls): if a client certificate is present but no
6919                         private key, request the private key
6920                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6921                         remove private key password stuff, mark private keys as secret
6922
6923         * src/supplicant-manager/nm-supplicant-settings-verify.c
6924                 - Remove private_key_passwd and private_key2_passwd from opt_table
6925
6926 2007-11-09  Dan Williams  <dcbw@redhat.com>
6927
6928         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6929         Since the vpn-properties are managed and known by the VPN daemons themselves,
6930         libnm-util doesn't know what's secret and what's in the setting's 'data'
6931         member.
6932
6933         * libnm-util/nm-setting.h
6934           libnm-util/nm-setting.c
6935                 - Add the ability for subclasses to override update_one_secret
6936
6937         * libnm-util/nm-setting-vpn-properties.c
6938                 - Override update_one_secret and just copy the values into the
6939                         internal table
6940
6941 2007-11-09  Dan Williams  <dcbw@redhat.com>
6942
6943         * libnm-glib/nm-settings.h
6944           libnm-glib/nm-settings.c
6945                 - (nm_settings_new_error): remove
6946                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6947                         clients should use g_set_error() with NM_SETTINGS_ERROR
6948
6949 2007-11-09  Dan Williams  <dcbw@redhat.com>
6950
6951         * src/supplicant-manager/nm-supplicant-config.c
6952                 - (nm_supplicant_config_add_setting_wireless_security): private key
6953                         passwords are never sent to wpa_supplicant, because the supplicant
6954                         should never be reading random files from the disk.  Clients like
6955                         the applet are required to decrypt the private keys and send NM
6956                         the decrypted blobs.
6957
6958 2007-11-08  Dan Williams  <dcbw@redhat.com>
6959
6960         * libnm-util/nm-setting-wireless-security.h
6961           libnm-util/nm-setting-wireless-security.c
6962                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6963                         members to 802-11-wireless-security structure.  This should be used
6964                         to indicate that the values in private-key and phase2-private-key
6965                         are already decrypted by the user agent, and that no
6966                         private-key-passwd or phase2-private-key-passwd should be expected.
6967                         It is not meant to be a stored configuration value, but meant to
6968                         be set when the conneciton is sent to NM over dbus.
6969
6970 2007-11-08  Dan Williams  <dcbw@redhat.com>
6971
6972         * libnm-util/nm-connection.h
6973           libnm-util/nm-connection.c
6974                 - (nm_connection_need_secrets): add argument to return hints
6975
6976         * src/nm-device-802-11-wireless.c
6977                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6978                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6979                         nm_connection_need_secrets() change
6980
6981 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6982
6983         Rework NMSetting structures: Move each setting to it's own file.
6984         Convert to GObject. Remove home grown setting types and use GTypes.
6985         Use GObject property introspection for hash conversion, enumerating
6986         properties, etc.
6987
6988         * libnm-util/nm-setting-connection.[ch]
6989         * libnm-util/nm-setting-ip4-config.[ch]
6990         * libnm-util/nm-setting-ppp.[ch]
6991         * libnm-util/nm-setting-vpn.[ch]
6992         * libnm-util/nm-setting-vpn-properties.[ch]
6993         * libnm-util/nm-setting-wired.[ch]
6994         * libnm-util/nm-setting-wireless.[ch]
6995         * libnm-util/nm-setting-wireless-security.[ch]
6996
6997         New files, each containing a setting.
6998
6999         * libnm-util/nm-setting-template.[ch]: A template for creating new
7000         settings. To use it, just replace 'template' with the new setting
7001         name, and you're half-way done.
7002
7003         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7004         introspection instead of internal types and tables.
7005
7006         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7007
7008         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7009         GValue types defined by dbus-glib for composed types like collections,
7010         structures and maps.
7011
7012         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7013         a setting from connection takes the setting type now. Also, since
7014         the settings are in multiple files, include relevant settings.
7015
7016 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7017
7018         * configure.in:
7019         * src/backends/NetworkManagerGentoo.c:
7020         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7021         providers in Gentoo.
7022
7023 2007-10-31  Dan Williams  <dcbw@redhat.com>
7024
7025         * libnm-util/nm-connection.c
7026                 - (gvalue_to_string): handle UINT32 arrays
7027
7028 2007-10-31  Dan Williams  <dcbw@redhat.com>
7029
7030         * libnm-glib/nm-device.h
7031           libnm-glib/nm-device.c
7032                 - (nm_device_get_description): remove
7033                 - (nm_device_get_product, nm_device_get_vendor): add
7034                 - (nm_device_update_description): new function (private); walk HAL
7035                         devices to get product and vendor IDs for a specific device
7036
7037 2007-10-31  Dan Williams  <dcbw@redhat.com>
7038
7039         * src/nm-device-802-11-wireless.c
7040                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7041
7042 2007-10-29  Dan Williams  <dcbw@redhat.com>
7043
7044         * src/nm-hal-manager.c
7045                 - (device_added, device_new_capability): ignore device additions while
7046                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7047                         kernel module is unloaded and reloaded and recognized by NM again.
7048
7049 2007-10-26  Dan Williams  <dcbw@redhat.com>
7050
7051         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7052
7053         * src/NetworkManagerAP.c
7054           src/NetworkManagerAP.h
7055           libnm-glib/nm-access-point.c
7056           libnm-glib/nm-access-point.h
7057                 - Make 'rate' property a guint32 to better match with WEXT and
7058                         wpa_supplicant and to allow representation of higher bitrates
7059
7060         * src/nm-device-802-11-wireless.c
7061           introspection/nm-device-802-11-wireless.xml
7062           libnm-glib/nm-device-802-11-wireless.c
7063           libnm-glib/nm-device-802-11-wireless.h
7064                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7065
7066         * src/nm-device-802-3-ethernet.c
7067           src/nm-device-802-3-ethernet.h
7068           introspection/nm-device-802-3-ethernet.xml
7069           libnm-glib/nm-device-802-3-ethernet.c
7070           libnm-glib/nm-device-802-3-ethernet.h
7071                 - Make 'speed' property a guint32 to match other speed/rate types
7072                 - Make nm_device_802_3_ethernet_get_speed() static
7073
7074         * test/nm-tool.c
7075                 - Update for the changes above
7076
7077 2007-10-26  Dan Williams  <dcbw@redhat.com>
7078
7079         * src/named-manager/nm-named-manager.c
7080                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7081                     not calling fclose() twice on some error conditions
7082
7083 2007-10-26  Dan Williams  <dcbw@redhat.com>
7084
7085         * src/nm-activation-request.c
7086                 - (dispose): clean up indentation; get the right DBusGProxy object to
7087                         cancel the GetSecrets pending call on.  Need to use the Secrets
7088                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7089                         pending call doesn't get canceled, and pressing Cancel in the
7090                         applet's password dialog could cause get_secrets_cb() to be called
7091                         after the activation request has already been destroyed
7092
7093 2007-10-24  Dan Williams  <dcbw@redhat.com>
7094
7095         * src/supplicant-manager/nm-supplicant-config.c
7096                 - (nm_supplicant_config_add_blob): pass blob data and length for
7097                         verification
7098                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7099
7100 2007-10-24  Dan Williams  <dcbw@redhat.com>
7101
7102         * src/supplicant-manager/nm-supplicant-settings-verify.c
7103                 - (opt_table): max length for certificates should be 65536
7104
7105 2007-10-24  Dan Williams  <dcbw@redhat.com>
7106
7107         * src/supplicant-manager/nm-supplicant-interface.c
7108                 - (blob_free): correctly free blob data after use
7109                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7110
7111 2007-10-24  Dan Williams  <dcbw@redhat.com>
7112
7113         * libnm-util/nm-setting.c
7114                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7115                         EAP method need secrets
7116
7117 2007-10-24  Dan Williams  <dcbw@redhat.com>
7118
7119         * src/backends/NetworkManagerRedHat.c
7120                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7121
7122 2007-10-23  Dan Williams  <dcbw@redhat.com>
7123
7124         * libnm-util/nm-setting.c
7125           libnm-util/nm-setting.c
7126                 - (nm_setting_compare): implement
7127                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7128                    compare_one_hash_gvalue): compare the contents of a setting
7129
7130         * libnm-util/nm-connection.c
7131                 - (nm_connection_compare): implement
7132
7133 2007-10-23  Dan Williams  <dcbw@redhat.com>
7134
7135         * src/nm-activation-request.c
7136                 - (get_secrets_cb): handle getting a setting back that is more than
7137                         just secrets (ie, user changed auth or EAP method or something)
7138
7139 2007-10-23  Dan Williams  <dcbw@redhat.com>
7140
7141         * libnm-util/nm-setting.c
7142           libnm-util/nm-setting.h
7143                 - (nm_setting_verify): new function; verify one setting
7144                 - (nm_settings_verify_all): rename from nm_settings_verify()
7145                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7146                         all_settings
7147
7148         * libnm-util/nm-connection.c
7149                 - (nm_connection_replace_settings, nm_connection_verify,
7150                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7151
7152 2007-10-23  Dan Williams  <dcbw@redhat.com>
7153
7154         * src/nm-device-802-11-wireless.c
7155                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7156                         desired behavior
7157
7158 2007-10-23  Dan Williams  <dcbw@redhat.com>
7159
7160         * src/supplicant-manager/nm-supplicant-settings-verify.c
7161                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7162                         nm-settings.c
7163
7164 2007-10-23  Dan Williams  <dcbw@redhat.com>
7165
7166         * src/nm-device-802-11-wireless.c
7167                 - (real_act_stage2_config): after the first association failure,
7168                         if the connection still needs secrets ask the user for them
7169                         explicitly.  After the fourth association failure due to bad
7170                         secrets, fail the connection entirely.  Handles the GetSecrets
7171                         loop that NM gets into when the provided secrets don't match up
7172                         with the connection details.
7173
7174 2007-10-23  Dan Williams  <dcbw@redhat.com>
7175
7176         * src/supplicant-manager/nm-supplicant-config.c
7177                 - (nm_supplicant_config_add_setting_wireless_security): only add
7178                         WPA-specific options when WPA is in use
7179
7180 2007-10-23  Dan Williams  <dcbw@redhat.com>
7181
7182         * src/supplicant-manager/nm-supplicant-config.c
7183                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7184                         secret doesn't need to be unhexified
7185
7186 2007-10-23  Dan Williams  <dcbw@redhat.com>
7187
7188         * libnm-util/nm-setting.c
7189                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7190                         before trying to do something with it
7191
7192 2007-10-23  Dan Williams  <dcbw@redhat.com>
7193
7194         * src/nm-device-802-11-wireless.c
7195                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7196
7197 2007-10-23  Dan Williams  <dcbw@redhat.com>
7198
7199         * src/nm-device-802-11-wireless.c
7200                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7201                         non-SSID-broadcasting APs
7202
7203 2007-10-23  Dan Williams  <dcbw@redhat.com>
7204
7205         * src/NetworkManagerAP.c
7206                 - (match_cipher, security_compatible): remove
7207                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7208                         libnm-util instead
7209
7210 2007-10-23  Dan Williams  <dcbw@redhat.com>
7211
7212         * libnm-util/nm-utils.c
7213           libnm-util/nm-utils.h
7214                 - (nm_utils_ap_security_compatible): common function for checking
7215                         whether a specific AP is compatible with an NMConnection
7216
7217 2007-10-23  Dan Williams  <dcbw@redhat.com>
7218
7219         * libnm-util/nm-setting.c
7220                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7221                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7222                    need_secrets_password, setting_wireless_security_verify): fix
7223                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7224                         secrets logic for each supported EAP method
7225
7226 2007-10-23  Dan Williams  <dcbw@redhat.com>
7227
7228         * src/supplicant-manager/nm-supplicant-config.c
7229                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7230                         config option name, should be "private_key2_passwd"
7231
7232 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7233
7234         Implement support for static IP addresses, additional/overridden DNS and
7235         DNS domain search lists.
7236
7237         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7238         (ip4_addresses_to_gvalue): Implement.
7239         (convert_array_to_byte_array): Implement.
7240         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7241         NM_S_TYPE_IP4_ADDRESSES.
7242         (nm_setting_hash): Ditto.
7243         (default_setting_clear_secrets): Add a default case for the switch: IP address
7244         shouldn't be secret, ever.
7245         (setting_ip4_config_verify): Update, requires addresses in case of manual
7246         configurations.
7247         (setting_ip4_config_destroy): Free stuff.
7248
7249         * src/nm-device.c (merge_ip4_config): Implement.
7250         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7251
7252 2007-10-22  Dan Williams  <dcbw@redhat.com>
7253
7254         * libnm-util/nm-setting.c
7255                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7256                         pairwise cipher options for Dynamic WEP
7257
7258 2007-10-21  Dan Williams  <dcbw@redhat.com>
7259
7260         * src/NetworkManagerAP.c
7261           src/NetworkManagerAP.h
7262                 - Rename 'articifical' -> 'fake' since that's what they are until
7263                         noticed in scans
7264                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7265                         from the attributes in an NMConnection object
7266                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7267                         WPA Enterprise
7268                 - (nm_ap_match_in_list): find a matching AP in a scan list
7269
7270         * src/nm-device-802-11-wireless.c
7271                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7272                         AP when searching the scan list; match on frequency and mode too
7273                 - (nm_device_802_11_wireless_get_frequency): implement
7274                 - (merge_scanned_ap): replace duplicate matching logic with
7275                         nm_ap_match_in_list()
7276                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7277                         the user is trying to connect to a hidden network that is not yet
7278                         known from the scan list
7279                 - (activation_success_handler): now that the card knows the AP's BSSID,
7280                         there may already be a scanned AP in the scan list that is what
7281                         we really wanted to connect to, but didn't know at the time.  Use
7282                         that instead of the 'fake' AP created at activation start and get
7283                         rid of the 'fake' AP 
7284                 - (cull_scan_list): don't remove fake APs
7285
7286 2007-10-21  Dan Williams  <dcbw@redhat.com>
7287
7288         * src/nm-activation-request.h
7289           src/nm-activation-request.c
7290                 - (nm_act_request_set_specific_object): new function; allow setting the
7291                         specific object if one isn't set yet
7292
7293 2007-10-20  Dan Williams  <dcbw@redhat.com>
7294
7295         * src/supplicant-manager/nm-supplicant-config.h
7296           src/supplicant-manager/nm-supplicant-config.c
7297                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7298                         table to store blobs
7299                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7300                         blob hash table
7301                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7302                 - (nm_supplicant_config_add_setting_wireless_security): handle
7303                         options that use certificates (ie, blobs)
7304
7305         * src/nm-device-802-11-wireless.c
7306                 - (build_supplicant_config): pass a UID (just use the connection path)
7307                         to the supplicant config as now required
7308
7309         * src/supplicant-manager/nm-supplicant-interface.c
7310                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7311                         there are any blobs to send to wpa_supplicant, send those first
7312                         before sending the network configuration
7313
7314 2007-10-19  Dan Williams  <dcbw@redhat.com>
7315
7316         Split the GetSecrets() call off to a separate D-Bus interface so that it
7317         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7318         should be able to call GetSecrets().
7319
7320         * include/NetworkManager.h
7321                 - Define the connection secrets D-Bus interface
7322
7323         * src/vpn-manager/nm-vpn-connection.c
7324                 - (clear_need_auth): get the right proxy object for the connection
7325                         secrets interface
7326                 - (get_connection_secrets): use the connection secrets proxy; send
7327                         empty hints in get secrets request
7328
7329         * src/nm-activation-request.c
7330                 - (nm_act_request_request_connection_secrets): use the connection
7331                         secrets proxy; send empty hints in get secrets request
7332
7333         * src/nm-manager.c
7334           src/nm-manager.h
7335                 - (connection_get_settings_cb): set the connection secrets proxy on
7336                         the connection object too
7337                 - (internal_new_connection_cb): create the connection secrets proxy
7338
7339         * introspection/nm-settings-connection.xml
7340                 - Define Connection.Secrets interface and move GetSecrets there
7341                 - Add a 'hints' argument to GetSecrets
7342
7343         * libnm-glib/nm-settings.c
7344           libnm-glib/nm-settings.h
7345                 - (impl_connection_settings_get_secrets): add 'hints' argument
7346
7347 2007-10-19  Dan Williams  <dcbw@redhat.com>
7348
7349         * src/nm-device.c
7350                 - (constructor): add message about what path a device is exported as
7351                         to help in debugging rh #339011
7352
7353 2007-10-17  Dan Williams  <dcbw@redhat.com>
7354
7355         * libnm-util/nm-utils.h
7356           libnm-util/nm-utils.c
7357                 - (nm_utils_security_valid): common function to help find the intersection
7358                         of capabilities of devices and (optionally) access points
7359
7360 2007-10-17  Dan Williams  <dcbw@redhat.com>
7361
7362         * src/nm-device-802-11-wireless.c
7363                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7364                         don't get erroneously cleared
7365
7366 2007-10-17  Dan Williams  <dcbw@redhat.com>
7367
7368         * src/nm-manager.h
7369           src/nm-manager.c
7370           src/nm-hal-manager.c
7371                 - (device_removed, finalize, nm_manager_remove_device,
7372                    nm_manager_sleep): add a 'deactivate' argument to 
7373                    nm_manager_remove_device() to fully deactivate devices when necessary
7374                    (ie, always except when waking up)
7375
7376 2007-10-16  Dan Williams  <dcbw@redhat.com>
7377
7378         * libnm-util/nm-setting.c
7379                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7380                         also isn't valid phase2 autheap method
7381
7382 2007-10-16  Dan Williams  <dcbw@redhat.com>
7383
7384         * libnm-glib/nm-client.c
7385                 - (update_wireless_status): consolidate updates of wireless status
7386                 - (constructor): use update_wireless_status()
7387                 - (manager_running): set wireless status off when NM goes away; requery
7388                         the wireless status when NM comes back
7389
7390 2007-10-16  Dan Williams  <dcbw@redhat.com>
7391
7392         * libnm-glib/nm-client.c
7393                 - (nm_client_activate_device): actually use the fixed-up specific
7394                         object path
7395
7396 2007-10-16  Dan Williams  <dcbw@redhat.com>
7397
7398         * src/nm-hal-manager.c
7399                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7400                         killswitch error messages once
7401
7402 2007-10-16  Dan Williams  <dcbw@redhat.com>
7403
7404         * src/nm-manager.c
7405                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7406                         if it's disabled in hardware; don't touch network devices while
7407                         NM is asleep
7408
7409 2007-10-16  Dan Williams  <dcbw@redhat.com>
7410
7411         * libnm-util/nm-client.c
7412                 - (nm_client_activate_device): convert NULL specific_object to "/",
7413                         which is used in place of NULL
7414
7415         * src/nm-manager.c
7416                 - (impl_manager_activate_device): convert "/" specific_object back into
7417                         NULL
7418
7419 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7420
7421         Implement a generic NMSetting creator from setting name.
7422         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7423         add a virtual function 'populate_fn'.
7424
7425         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7426         (register_default_creators): Register setting creators instead of functions
7427         that create and then populate.
7428         (parse_one_setting): Use the common setting creator and then setting specific
7429         poplulation function.
7430
7431         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7432         they all looked exactly the same.
7433         Add a 'populate_fn' virtual function to NMSetting.
7434         Use default virtual functions in case they are not overriden.
7435         (nm_setting_populate_from_hash): Implement.
7436
7437         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7438         name, use a defined string.
7439         (real_act_stage4_get_ip4_config): Ditto.
7440
7441 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7442
7443         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7444         HAL is int, not uint.
7445
7446 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7447
7448         Implement killswitch polling through HAL.
7449
7450         * src/nm-manager.c: Add wireless hardware status property. Add 
7451         'properties-changed' signal for changes in wireless and wireless hardware
7452         state changes.
7453
7454         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7455         and update NMManager's wireless hardware state when it has changed.
7456         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7457         already does that.
7458
7459         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7460         values of wireless state and wireless hardware state. Listen for the
7461         'properties-changed' signals, update the cached values and emit notify.
7462
7463         * include/NetworkManager.h: Fix a typo in a comment.
7464
7465 2007-10-14  Dan Williams  <dcbw@redhat.com>
7466
7467         * libnm-util/nm-setting.c
7468                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7469
7470 2007-10-13  Dan Williams  <dcbw@redhat.com>
7471
7472         * libnm-util/nm-setting.h
7473           libnm-util/nm-setting.c
7474           src/supplicant-manager/nm-supplicant-config.c
7475                 - Make the 'proto' field of the 802-11-wireless-security field a
7476                         string list
7477
7478 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7479
7480         Rework the "properties-changed" signal listening implementation.
7481         Add a generic implementation to NMObject class that listens for
7482         the signal and calls property setters of the target NMObject.
7483
7484         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7485
7486         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7487         code to the end of file so that all the static functions are available
7488         without extra declarations.
7489         Remove the "properties-changed" signal handling and use the framework from
7490         NMObject.
7491         Implement property setters for properties that change with 
7492         "properties-changed" signal.
7493
7494         * libnm-glib/nm-access-point.c: Ditto.
7495
7496 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7497
7498         Rework the "properties-changed" signal implementation.
7499         In classes that need to use it, just emit "GObject::notify" and the new
7500         framework takes care of the rest to make the signal available on dbus.
7501         The framework queues the notifications and tries to send as many together
7502         in one signal as possible.
7503
7504         * src/nm-properties-changed-signal.c:
7505         * src/nm-properties-changed-signal.h: Implement.
7506
7507         * src/Makefile.am: Add new files to build.
7508
7509         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7510         signal.
7511
7512         * src/nm-device-802-11-wireless.c: Ditto.
7513
7514 2007-10-10  Dan Williams  <dcbw@redhat.com>
7515
7516         * src/nm-manager.c
7517                 - (wait_for_connection_expired): ensure info is valid
7518                 - (connection_added_default_handler): Should only remove pending
7519                         connection info when the manager has the connection that it's
7520                         waiting for.  Fixes segfault in wait_for_connection_info().  
7521
7522 2007-10-10  Dan Williams  <dcbw@redhat.com>
7523
7524         * libnm-util/nm-setting.c
7525           libnm-util/nm-setting.h
7526                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7527                         can use if they choose.  Should be filled in by the settings service
7528                         on-the-fly with the currently logged in user's username
7529
7530 2007-10-10  Dan Williams  <dcbw@redhat.com>
7531
7532         * src/nm-device-802-11-wireless.c
7533                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7534                         as such, because even if the manager fills in the SSID, NM still
7535                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7536                         its SSID
7537
7538 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7539
7540         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7541         code that used NM's own version of dbus signal handling and custom dictionary
7542         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7543         and we get to maintain over 2000 lines less code.
7544
7545         * libnm-util/dbus-dict-helpers.c:
7546         * libnm-util/dbus-dict-helpers.h: Remove.
7547
7548         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7549
7550         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7551
7552         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7553         handlers.
7554
7555         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7556
7557         * configure.in: Remove test/libnm-util/Makefile creation.
7558
7559         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7560
7561         * test/libnm-util/: Remove the whole directory.
7562
7563 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7564
7565         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7566         device_state_changed_idle_id variable or it would contain some random value and the
7567         schedule_change_check calls would not do anything.
7568
7569 2007-10-09  Dan Williams  <dcbw@redhat.com>
7570
7571         * src/nm-device-802-11-wireless.c
7572                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7573                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7574                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7575                         merging of non-SSID-broadcasting APs
7576
7577 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7578
7579         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7580         "guint8 *" since it's usually used with GByteArray->data.
7581         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7582
7583 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7584
7585         * src/NetworkManagerUtils.c
7586         (nm_utils_is_empty_ssid):
7587         (nm_utils_escape_ssid):
7588         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7589         lot of places, so they belong to libnm-utils instead.
7590
7591         Now with 100% less compiler warnings:
7592
7593         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7594         (nm_dbus_unescape_object_path): Ditto.
7595         (nm_utils_ssid_to_utf8): Ditto.
7596         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7597         (nm_utils_escape_ssid): Ditto.
7598         (nm_utils_same_ssid): Ditto.
7599
7600         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7601         (add_one_connection_element): Remove an unused variable.
7602         (impl_manager_get_active_connections): Ditto.
7603
7604         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7605         variable.
7606
7607         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7608         from the previous commit.
7609
7610         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7611         (real_act_stage1_prepare): Ditto.
7612         (activation_success_handler): Ditto.
7613         (get_property): Ditto.
7614
7615         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7616         variable.
7617
7618         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7619         it's always set.
7620
7621         * src/supplicant-manager/nm-supplicant-config.c 
7622         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7623         to expected "char *".
7624         (nm_supplicant_config_add_setting_wireless): Ditto.
7625         (nm_supplicant_config_remove_option): Remove, not used.
7626
7627         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7628         not double.
7629         (test_wireless_enabled): Ifdef out unused function.
7630         (device_deactivate): Ditto.
7631         (device_state_changed): Ditto.
7632         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7633         (nm_utils_escape_ssid): Ditto.
7634
7635         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7636         (nm_utils_is_empty_ssid): Ditto.
7637
7638         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7639         unused variable.
7640
7641         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7642         (setting_vpn_properties_update_secrets): Ditto.
7643         (int_to_gvalue): Ifdef out for now, not used.
7644         (byte_to_gvalue): Ditto.
7645
7646         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7647         Unused, remove.
7648
7649 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7650
7651         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7652         about dbus manager, not named manager.
7653         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7654
7655         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7656         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7657         However, the same signal is emitted when we destroy it and there's 
7658         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7659
7660         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7661         releasing the DBusGConnection, since proxy needs a conneciton.
7662         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7663
7664 2007-10-08  Dan Williams  <dcbw@redhat.com>
7665
7666         * src/NetworkManager.c
7667                 - (main): error on unknown command-line options
7668
7669 2007-10-08  Dan Williams  <dcbw@redhat.com>
7670
7671         Reimplement the invalid connection list.  Don't try to re-activate a
7672         connection that just failed or was canceled.
7673
7674         * src/nm-device.c
7675                 - (connection_secrets_failed_cb): fail device activation, don't just
7676                         deactivate the device.  Listeners have to know about the failure.
7677
7678         * src/NetworkManagerPolicy.c
7679                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7680                         the connection list given to a device's get_best_connection()
7681                         method
7682                 - (device_state_changed): tag failed connections as invalid; clear the
7683                         tag from successful connections
7684
7685 2007-10-08  Dan Williams  <dcbw@redhat.com>
7686
7687         Fix problems with interrupted activation.  Previously, choosing an AP
7688         from the menu, then choosing another one before the first connection was
7689         successful wouldn't deactivate the device before starting the new connection
7690         on that same device.
7691
7692         * src/NetworkManagerPolicy.c
7693                 - (deactivate_old_device, device_state_changed, state_changed,
7694                    nm_policy_new): wrong place to deactivate old devices
7695
7696         * src/nm-manager.c
7697                 - (pending_connection_info_destroy, finalize,
7698                    wait_for_connection_expired): decouple destruction of the pending
7699                         connection info from the manager device
7700                 - (connection_added_default_handler): deactivate any active or
7701                         activating device before starting a new activation
7702                 - (impl_manager_activate_device): deactivate any active or activating
7703                         device before starting a new activation; be sure not to leak
7704                         pending connection info if a new activation request arrives but
7705                         there's already a pending one in-process
7706
7707 2007-10-08  Dan Williams  <dcbw@redhat.com>
7708
7709         * src/NetworkManagerAP.h
7710           src/NetworkManagerAP.c
7711                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7712                         should handle default SSIDs and whether or not to autoconnect
7713                         to them
7714
7715 2007-10-08  Dan Williams  <dcbw@redhat.com>
7716
7717         * src/NetworkManagerPolicy.c
7718                 - (nm_policy_device_change_check): print out connection name where
7719                         possible
7720
7721 2007-10-08  Dan Williams  <dcbw@redhat.com>
7722
7723         * src/nm-device-802-11-wireless.c
7724           src/nm-device-802-11-wireless.h
7725                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7726                         'hidden-ap-found' signal (for internal use only) that allows the
7727                         NMManager to fill in the AP's SSID if a connection has that AP's
7728                         BSSID in its seen-bssids list
7729
7730         * src/nm-manager.c
7731                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7732                         wireless device's hidden-ap-found signal and fill in the APs SSID
7733                         if possible
7734
7735 2007-10-07  Dan Williams  <dcbw@redhat.com>
7736
7737         * src/nm-manager.c
7738           src/nm-manager.h
7739                 - Add a 'connections-added' signal to batch together updates of large
7740                         numbers of connections, like when reading from a settings service
7741                         the first time.  Otherwise, the policy would just activate the first
7742                         suitable connection it saw rather than waiting for the full list
7743                         to arrive.
7744                 - (nm_manager_class_init): register new signal
7745                 - (get_type_for_proxy, connection_get_settings_cb,
7746                    get_connection_for_proxy): centralize places where a proxy's setting
7747                         service is determined
7748                 - (free_get_settings_info): if the call being freed is the last call
7749                         in a pending call group, fire off the connections-added signal
7750                 - (internal_new_connection_cb): add call to a pending call group if
7751                         requested
7752                 - (list_connections_cb): always create a call group here, because this
7753                         call results in a batch of new connections
7754                 - (initial_get_connections): start getting system connections first
7755                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7756                         removed signal when destroying connections
7757
7758         * src/NetworkManagerPolicy.c
7759                 - (nm_policy_new, connections_added): handle connections-added signal
7760                         from the manager
7761
7762 2007-10-06  Dan Williams  <dcbw@redhat.com>
7763
7764         * src/nm-device-802-11-wireless.c
7765                 - (constructor): fix leaked socket
7766
7767 2007-10-06  Dan Williams  <dcbw@redhat.com>
7768
7769         * src/NetworkManagerPolicy.c
7770                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7771                         connection in the list returned by nm_manager_get_connections() is
7772                         reffed, but they weren't getting unreffed before returning
7773
7774 2007-10-06  Dan Williams  <dcbw@redhat.com>
7775
7776         * src/nm-manager.c
7777                 - (connections_to_slist): sort connections first on autoconnect, then
7778                         on timestamp
7779
7780 2007-10-06  Dan Williams  <dcbw@redhat.com>
7781
7782         * libnm-util/nm-connection.c
7783                 - (gvalue_to_string): handle UINT64
7784
7785 2007-10-06  Dan Williams  <dcbw@redhat.com>
7786
7787         * src/NetworkManagerPolicy.c
7788                 - (connection_updated, nm_policy_new): recheck state when a connection
7789                         gets updated
7790
7791 2007-10-06  Dan Williams  <dcbw@redhat.com>
7792
7793         * src/nm-manager.c
7794           src/nm-manager.h
7795                 - (nm_manager_get_connection_dbus_path): make static
7796                 - (nm_manager_update_connections): remove; unused
7797                 - Add a connection-updated signal
7798                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7799                         handle connection object updates
7800
7801 2007-10-06  Dan Williams  <dcbw@redhat.com>
7802
7803         * src/NetworkManagerPolicy.c
7804                 - (connection_removed): deactivate removed connections
7805
7806 2007-10-06  Dan Williams  <dcbw@redhat.com>
7807
7808         * libnm-util/nm-connection.c
7809           libnm-util/nm-connection.h
7810                 - (nm_connection_replace_settings): new function
7811
7812 2007-10-06  Dan Williams  <dcbw@redhat.com>
7813
7814         * libnm-glib/nm-device-802-11-wireless.c
7815                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7816                         on error when getting the active access point over D-Bus from NM
7817
7818 2007-10-05  Dan Williams  <dcbw@redhat.com>
7819
7820         * libnm-util/nm-setting.c
7821                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7822                         to the NMSettingWireless table; it's now a string array not an array
7823                         of byte arrays
7824
7825 2007-10-05  Dan Williams  <dcbw@redhat.com>
7826
7827         * libnm-glib/nm-device-802-11-wireless.c
7828                 - Cache properties and update cached properties on D-Bus signals from NM
7829
7830 2007-10-05  Dan Williams  <dcbw@redhat.com>
7831
7832         * src/nm-device-802-11-wireless.c
7833                 - (set_current_ap): consolidate current_ap handling code into one place
7834                         to ensure that PropertiesChanged signals are emitted in all cases
7835                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7836                    nm_device_802_11_wireless_dispose): use set_current_ap()
7837
7838 2007-10-05  Dan Williams  <dcbw@redhat.com>
7839
7840         * libnm-glib/nm-access-point.c
7841           libnm-glib/nm-access-point.h
7842                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7843                         because the value is cached internally now.  Callers should not
7844                         free the internal value.
7845                 - Make signal name defines private
7846
7847         * test/nm-tool.c
7848           libnm-glib/libnm-glib-test.c
7849                 - Don't free value returned from nm_access_point_get_hw_address()
7850
7851 2007-10-04  Dan Williams  <dcbw@redhat.com>
7852
7853         * introspection/nm-device-802-11-wireless.xml
7854           src/nm-device-802-11-wireless.h
7855           src/nm-device-802-11-wireless.c
7856                 - Add a PropertiesChanged signal for wireless device
7857                 - Store currently associated access point
7858                 - (periodic_update): generalize; update rate here too and emit the
7859                         correct PropertiesChanged signal when stuff changes
7860                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7861                    real_activation_cancel_handler): clear current_ap when device is
7862                         deactivated
7863                 - (link_to_specific_ap, get_ap_blacklisted,
7864                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7865                         code
7866                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7867                         outside this file
7868                 - (real_set_hw_address): emit property changed signal if the card's
7869                         MAC address changes
7870                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7871                         the card is supposed to be connecting to
7872                 - (activation_success_handler): send out property updates on successful
7873                         activation
7874                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7875                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7876                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7877                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7878                         is now boxed; add PropertiesChanged signal
7879
7880 2007-10-04  Dan Williams  <dcbw@redhat.com>
7881
7882         * libnm-util/nm-connection.c
7883           libnm-util/nm-connection.h
7884                 - (nm_connection_verify): new function
7885
7886 2007-10-04  Dan Williams  <dcbw@redhat.com>
7887
7888         * libnm-util/nm-setting.c
7889                 - (nm_settings_verify): use #defines when possible rather than strings
7890                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7891                 - (setting_vpn_verify): tighter validity check on 'service_type'
7892
7893 2007-10-04  Dan Williams  <dcbw@redhat.com>
7894
7895         * libnm-glib/nm-settings.c
7896                 - (nm_connection_settings_class_init): provide correct type for argument
7897                         to the Updated signal so that dbus-glib knows how to marshal it
7898
7899 2007-10-03  Dan Williams  <dcbw@redhat.com>
7900
7901         * src/nm-device-802-3-ethernet.c
7902                 - (real_get_best_connection): don't create automatic connections
7903                         internally; clients should provide a setting that applies to
7904                         the device with 'autoconnect: True'.  Problem was that these
7905                         internally auto-created connections don't have a proxy or service
7906                         name becuase they weren't created by a settings daemon, and therefore
7907                         clients have no idea what to do with them.
7908
7909 2007-10-03  Dan Williams  <dcbw@redhat.com>
7910
7911         * src/nm-device-802-11-wireless.c
7912           src/nm-device-802-11-wireless.h
7913           introspection/nm-device-802-11-wireless.xml
7914                 - GetActiveNetworks -> GetAccessPoints
7915                 - ActiveNetwork -> ActiveAccessPoint
7916                 - NetworkAdded -> AccessPointAdded
7917                 - NetowrkRemoved -> AccessPointRemoved
7918
7919         * libnm-glib/nm-device-802-11-wireless.c
7920           libnm-glib/nm-device-802-11-wireless.h
7921                 - network-added signal -> access-point-added
7922                 - network-removed signal -> access-point-removed
7923                 - nm_device_802_11_wireless_get_active_network() ->
7924                         nm_device_802_11_wireless_get_active_access_point()
7925                 - nm_device_802_11_wireless_get_network_by_path() ->
7926                         nm_device_802_11_wireless_get_access_point_by_path()
7927                 - nm_device_802_11_wireless_get_networks() ->
7928                         nm_device_802_11_wireless_get_access_points()
7929
7930         * libnm-glib/libnm-glib-test.c
7931           test/nm-tool.c
7932           src/NetworkManagerPolicy.c
7933                 - Fixups for Network -> AccessPoint
7934
7935 2007-10-03  Dan Williams  <dcbw@redhat.com>
7936
7937         Add a GetActiveConnections() method on the Manager object.
7938
7939         * src/nm-manager.c
7940           src/nm-manager.h
7941           introspection/nm-manager.xml
7942                 - (connection_get_settings_cb): keep connection type around too
7943                 - (impl_manager_get_active_connections, add_one_connection_element):
7944                         implement; returns all active connections and what devices they
7945                         apply to
7946
7947         * libnm-glib/nm-client.c
7948           libnm-glib/nm-client.h
7949           introspection/nm-manager-client.xml
7950                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7951                         by the caller; free here to avoid memory leak
7952                 - (nm_client_get_active_connections): implement; return the list of
7953                         active connections
7954                 - (nm_client_free_active_connection_element): implement; free an element
7955                         of the GSList returned by nm_client_get_active_connections()
7956
7957 2007-10-03  Dan Williams  <dcbw@redhat.com>
7958
7959         * src/nm-device-802-11-wireless.c
7960                 - (nm_device_802_11_wireless_update_bssid): remove
7961                 - (get_active_ap): new function; find the AP in the scan list which
7962                         matches the current BSSID and SSID of the wireless device
7963                 - (nm_device_802_11_periodic_update): get current AP using
7964                         get_active_ap() and print AP roam messages
7965
7966 2007-10-01  Dan Williams  <dcbw@redhat.com>
7967
7968         * libnm-util/nm-setting.h
7969                 - Add a 'timestamp' option to NMSettingConnection
7970                 - Add a UINT64 type
7971
7972         * libnm-util/nm-setting.c
7973                 - (uint64_to_gvalue): new function
7974                 - (nm_setting_populate_from_hash, nm_setting_hash,
7975                    default_setting_clear_secrets): handle UINT64 type
7976                 - con_table: add 'timestamp' member
7977
7978 2007-10-01  Dan Williams  <dcbw@redhat.com>
7979
7980         * src/nm-manager.c
7981                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7982                         value when the connection can be activated immediately
7983
7984 2007-10-01  Dan Williams  <dcbw@redhat.com>
7985
7986         * libnm-glib/nm-device.c
7987                 - (nm_device_class_init): actually tell glib about the carrier-changed
7988                         signal
7989
7990 2007-10-01  Dan Williams  <dcbw@redhat.com>
7991
7992         * configure.in
7993           src/marshallers/Makefile.am
7994           src/marshallers/nm-marshal.list
7995           src/marshallers/nm-marshal-main.c
7996                 - Consolidate glib marshallers into one place
7997
7998         * src/dhcp-manager/Makefile.am
7999           src/dhcp-manager/nm-dhcp-manager.c
8000           src/supplicant-manager/Makefile.am
8001           src/supplicant-manager/nm-supplicant-manager.c
8002           src/supplicant-manager/nm-supplicant-interface.c
8003           src/ppp-manager/Makefile.am
8004           src/ppp-manager/nm-ppp-manager.c
8005           src/vpn-manager/Makefile.am
8006           src/vpn-manager/nm-vpn-connection.c
8007           src/Makefile.am
8008                 - Use consolidated marshallers
8009
8010         * src/dhcp-manager/nm-dhcp-marshal.list
8011           src/dhcp-manager/nm-dhcp-marshal-main.c
8012           src/supplicant-manager/nm-supplicant-marshal-main.c
8013           src/supplicant-manager/nm-supplicant-marshal.list
8014           src/nm-marshal-main.c
8015           src/nm-marshal.list
8016           src/ppp-manager/nm-ppp-marshal-main.c
8017           src/ppp-manager/nm-ppp-marshal.list
8018           src/vpn-manager/nm-vpn-marshal-main.c
8019           src/vpn-manager/nm-vpn-marshal.list
8020                 - Remove
8021
8022 2007-10-01  Dan Williams  <dcbw@redhat.com>
8023
8024         * include/NetworkManagerVPN.h
8025                 - define VPN connection state change reason codes
8026
8027         * src/vpn-manager/Makefile.am
8028           src/vpn-manager/nm-vpn-marshal.list
8029           src/vpn-manager/nm-vpn-marshal-main.c
8030                 - Add marshallers for StateChanged signal
8031
8032         * introspection/nm-vpn-connection.xml
8033                 - New Banner property
8034                 - StateChanged signal now includes a 'reason' argument
8035
8036         * src/vpn-manager/nm-vpn-connection.c
8037           src/vpn-manager/nm-vpn-connection.h
8038                 - Add a "Banner" property that contains the returned VPN server login
8039                         banner (if any); valid only in the ACTIVATED state
8040                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8041                         a 'reason' argument and emits that reason along with the
8042                         state-changed signal
8043                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8044                 - (nm_vpn_connection_ip4_config_get): save banner for later
8045                 - (nm_vpn_connection_get_banner, get_property,
8046                    nm_vpn_connection_class_init): implement Banner property
8047
8048         * src/vpn-manager/nm-vpn-service.c
8049                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8050                         connection list because elements may get added/removed from it
8051                         while iterating over the list
8052                 - (connection_state_changed): signal now includes the 'reason' argument
8053
8054         * libnm-glib/nm-vpn-connection.c
8055           libnm-glib/nm-vpn-connection.h
8056                 - (nm_vpn_connection_get_banner): new function
8057                 - (state_changed_proxy): handle reason argument
8058
8059 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8060
8061         * src/nm-manager.c:
8062         * src/nm-manager.h:
8063         Implement device activation through NMManager.
8064         Implement "pending device activation" here - If the connection isn't found,
8065         we try to wait for up to 5 seconds for the connection to be provided.
8066         Add NMConnectionType argument to "connection-added" and "connection-removed"
8067         signals.
8068         (nm_manager_get): Remove. Finally.
8069
8070         * src/nm-activation-request.c: 
8071         * src/nm-activation-request.h: 
8072         Remove all the deferred activation code.
8073
8074         * src/nm-device.c: Remove all the deferred activation code. Once the device
8075         activation is started, it's started. Update the activation virtual function
8076         signature.
8077
8078         * src/nm-device-interface.c:
8079         * src/nm-device-interface.h:
8080         Device activation now takes only NMActRequest argument.
8081         Don't expose device activation directly on dbus, it's supposed to go through
8082         NMManager now.
8083
8084         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8085         a bit more compact.
8086         Use the new device activation methods through NMManager.
8087
8088         * introspection/nm-manager-client.xml: 
8089         * introspection/nm-manager.xml: 
8090         * libnm-glib/nm-client.c:
8091         * libnm-glib/nm-client.h:
8092         Add device activation method.
8093         
8094         * libnm-glib/nm-device.c: 
8095         * libnm-glib/nm-device.h: 
8096         * introspection/nm-device.xml: 
8097         Remove device activation method. It's done through NMManager now.
8098
8099         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8100         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8101
8102 2007-09-28  Dan Williams  <dcbw@redhat.com>
8103
8104         * libnm-glib/nm-vpn-connection.c
8105                 - (nm_vpn_connection_get_state): try to update state if the current
8106                         state is UNKNOWN
8107
8108 2007-09-27  Dan Williams  <dcbw@redhat.com>
8109
8110         Patch from Bill Nottingham
8111
8112         * src/supplicant-manager/nm-supplicant-config.c
8113                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8114                         data to the supplicant
8115
8116 2007-09-27  Dan Williams  <dcbw@redhat.com>
8117
8118         * src/NetworkManagerSystem.c
8119                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8120                         and all address manipulation here should be happening on the
8121                         _VPN_ device, not the active device
8122
8123 2007-09-26  Dan Williams  <dcbw@redhat.com>
8124
8125         * src/nm-manager.c
8126           src/nm-manager.h
8127           src/nm-activation-request.c
8128           src/nm-activation-request.h
8129                 - Move the GetSecrets stuff out of the NMManager instance because it
8130                         doesn't really need to be there and complicates things
8131
8132         * src/nm-device.c
8133                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8134                         connection-secrets-failed signal and deactivate the device if
8135                         the GetSecrets call fails
8136
8137         * src/nm-device-802-11-wireless.c
8138                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8139                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8140                         secrets and give correct hints about whether new secrets should be
8141                         asked for by the client or not
8142
8143 2007-09-26  Dan Williams  <dcbw@redhat.com>
8144
8145         * src/vpn-manager/nm-vpn-connection.c
8146                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8147                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8148                         to the secrets-updated signal of the NMConnection since updating
8149                         the secrets is done within the scope of the NMVPNConnection object
8150                         already
8151                 - (get_connection_secrets): fix an uninialized variable usage error
8152
8153 2007-09-26  Dan Williams  <dcbw@redhat.com>
8154
8155         * libnm-util/nm-setting.c
8156                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8157                         actually get updated when the user enters them
8158
8159 2007-09-26  Dan Williams  <dcbw@redhat.com>
8160
8161         * libnm-glib/nm-vpn-plugin.c
8162                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8163
8164 2007-09-26  Dan Williams  <dcbw@redhat.com>
8165
8166         * include/NetworkManagerVPN.h
8167                 - Add a NEED_AUTH state
8168
8169         * src/vpn-manager/nm-vpn-connection.c
8170                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8171                         the connection needs secrets, and if so, then ask the settings
8172                         service to fill in the secrets.  Then start the connection.
8173
8174 2007-09-26  Dan Williams  <dcbw@redhat.com>
8175
8176         * src/vpn-manager/nm-vpn-manager.c
8177                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8178
8179 2007-09-26  Dan Williams  <dcbw@redhat.com>
8180
8181         * introspection/nm-vpn-plugin.xml
8182           libnm-glib/nm-vpn-plugin.c
8183           libnm-glib/nm-vpn-plugin.h
8184                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8185                         the name of the NMSetting in an NMConnection that may require
8186                         secrets specific to that VPN plugin
8187
8188 2007-09-26  Dan Williams  <dcbw@redhat.com>
8189
8190         * src/nm-manager.c
8191           src/nm-manager.h
8192                 - (nm_manager_get_connection_secrets): make static, unused outside
8193                         the file
8194                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8195
8196 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8197
8198         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8199         method.
8200         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8201         unreference the connection.
8202
8203         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8204         passing properties hash and routes string list, pass NMConnection (in hashed form).
8205
8206         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8207         as GSList, no need to copy stuff around anymore.
8208         (nm_vpn_connection_activate): Update the plugin activation method.
8209
8210         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8211         routes argument to GSList.
8212
8213 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8214
8215         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8216         state and try to get the secrets.
8217
8218         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8219         connections from NMManager and let the device to choose the best from the list.
8220         Since the connection list is sorted by system ones first and user ones later,
8221         the devices still prefer system connections like they did before.
8222         (deactivate_old_device): Implement. When a device starts activation, we have a
8223         policy (for now at least) to deactivate any other device that might be either
8224         active or still activating.
8225
8226         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8227         It's set on construction, there will be no other way to access it.
8228
8229         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8230         device events and drive the device, not the other way around.
8231
8232         * src/nm-device-802-3-ethernet.c: Ditto.
8233
8234         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8235         sent along, pass it on to virtual functions.
8236
8237         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8238         for now, but should really be public instead of nm_device_get_iface() since iface
8239         is a property of the DeviceInterface, not Device.
8240         (impl_device_activate): Don't touch NMManager!
8241
8242 2007-09-26  Jürg Billeter  <j@bitron.ch>
8243
8244         * initscript/paldo/NetworkManager.in:
8245         * initscript/paldo/NetworkManagerDispatcher.in:
8246         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8247         (nm_system_flush_loopback_routes): update paldo backend
8248
8249 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8250
8251         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8252         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8253         which means none of the devices get brought down properly, which in turn leaves
8254         DHCP client running.
8255
8256         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8257         (supplicant_connection_timeout_cb): Ditto.
8258
8259 2007-09-25  Dan Williams  <dcbw@redhat.com>
8260
8261         * src/nm-device.c
8262                 - (device_activation_go): small hack to work around race when
8263                         activating deferred connections; should solve this in a better way
8264
8265 2007-09-25  Dan Williams  <dcbw@redhat.com>
8266
8267         * introspection/nm-device.xml
8268           libnm-glib/nm-device.c
8269           libnm-glib/nm-device.h
8270                 - Add 'Carrier' property to exported NMDevice objects
8271
8272         * src/nm-device-interface.h
8273           src/nm-device-interface.c
8274           src/nm-device.c
8275                 - Add a 'carrier' property to internal NMDevice objects
8276
8277 2007-09-25  Dan Williams  <dcbw@redhat.com>
8278
8279         * src/nm-device-802-11-wireless.c
8280                 - (ap_auth_enforced): also return the encryption status of the AP so
8281                         that callers can differentiate easily between unencrypted APs
8282                         and encrypted ones, in addition to whether the AP has an
8283                         authenticator
8284                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8285                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8286                         previously would request secrets from unencrypted APs at times
8287
8288 2007-09-25  Dan Williams  <dcbw@redhat.com>
8289
8290         * src/nm-manager.c
8291                 - (nm_manager_update_state): new function; updates state and emits
8292                         appropriate signals ensuring a state-change signal for the same state
8293                         never gets emitted twice in a row.
8294                 - (manager_device_state_changed): handle more device state to get a
8295                         better picture of the overall NM state
8296
8297 2007-09-25  Dan Williams  <dcbw@redhat.com>
8298
8299         * libnm-glib/nm-settings.c
8300           libnm-glib/nm-settings.h
8301                 - (new_error -> nm_settings_new_error): make public so that subclasses
8302                         can use the same error domain.  Also pass a valid error code to
8303                         g_error_new_literal() so that libdbus doesn't assert when converting
8304                         the GError into a DBusError
8305                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8306                    impl_connection_settings_get_settings,
8307                    impl_connection_settings_get_secrets): use new error creator
8308                         function
8309
8310 2007-09-25  Dan Williams  <dcbw@redhat.com>
8311
8312         * src/NetworkManager.c
8313                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8314
8315 2007-09-25  Dan Williams  <dcbw@redhat.com>
8316
8317         * src/supplicant-manager/nm-supplicant-manager.c
8318                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8319                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8320                    nm_supplicant_manager_startup): when the supplicant isn't running,
8321                         try to start it periodically via system bus activation.  Fixes
8322                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8323                         for the supplicant to come back
8324
8325 2007-09-25  Dan Williams  <dcbw@redhat.com>
8326
8327         Ensure that old activation requests are forgotten about; previously
8328         hitting Cancel in the password dialog would deactivate whatever device
8329         that password was requested for, even if that wasn't the currently
8330         activating connection.
8331
8332         * src/nm-manager.c
8333           src/nm-manager.h
8334                 - (nm_manager_get_connection_secrets): track the pending call
8335                         object so it can be canceled later if needed
8336                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8337                         GetSecrets call for a particular connection
8338
8339         * src/nm-activation-request.c
8340                 - (dispose): cancel any outstanding GetSecrets calls on the
8341                         connection
8342
8343 2007-09-25  Dan Williams  <dcbw@redhat.com>
8344
8345         * src/NetworkManagerPolicy.c
8346                 - (nm_policy_device_change_check): handle devices that have a
8347                         deferred activation.  These devices are not really active _yet_,
8348                         but need to be treated as such here.  Don't interrupt them
8349                         automatically.
8350
8351         * src/nm-device-interface.c
8352                 - (impl_device_activate): handle devices that have a deferred activation
8353                         like activating or active devices.  When multiple active devices
8354                         get committed, the device shouldn't be deactivated until the
8355                         connection details are available to avoid DoS and such.  Currently,
8356                         any active, activating, or deferred activation device is deactivated
8357                         here before starting the new activation request.
8358
8359 2007-09-25  Dan Williams  <dcbw@redhat.com>
8360
8361         Properly re-query secrets from the settings daemon when stuff fails.
8362
8363         * src/nm-device-802-11-wireless.c
8364                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8365                         between Shared Key and Open System auth modes
8366                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8367                    real_act_stage4_ip_config_timeout): clear existing secrets and
8368                         request new ones when something fails due to a suspected wrong key
8369                 - (real_act_stage2_config): fix for new request_new argument to
8370                         nm_manager_get_connection_secrets()
8371
8372         * src/nm-manager.c
8373           src/nm-manager.h
8374                 - (nm_manager_get_connection_secrets): return error status; pass
8375                         new request_new argument on to the settings daemon
8376
8377         * introspection/nm-settings-connection.xml
8378                 - New 'request_new' argument to the GetSecrets call that hints to the
8379                         settings daemon to ask the user for completely new secrets
8380
8381         * libnm-glib/nm-settings.c
8382           libnm-glib/nm-settings.h
8383                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8384                         argument
8385
8386 2007-09-25  Dan Williams  <dcbw@redhat.com>
8387
8388         * libnm-util/nm-connection.c
8389           libnm-util/nm-connection.h
8390                 - (nm_connection_clear_secrets): new function; clear secrets out of
8391                         each NMSetting in an NMConnection
8392
8393         * libnm-util/nm-setting.h
8394           libnm-util/nm-setting.c
8395                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8396                         secrets out of an NMSetting
8397                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8398                    nm_setting_wired_new, nm_setting_wireless_new,
8399                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8400                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8401                         to default handler default_setting_clear_secrets()
8402
8403 2007-09-25  Dan Williams  <dcbw@redhat.com>
8404
8405         * src/nm-activation-request.c
8406           src/nm-activation-request.h
8407                 - (nm_act_request_is_deferred): new function
8408
8409 2007-09-24  Dan Williams  <dcbw@redhat.com>
8410
8411         * src/nm-device-802-11-wireless.c
8412                 - (activation_success_handler): update signal strength immediately
8413                         after activation
8414
8415 2007-09-24  Dan Williams  <dcbw@redhat.com>
8416
8417         * libnm-util/nm-setting.c
8418                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8419
8420 2007-09-24  Dan Williams  <dcbw@redhat.com>
8421
8422         * src/NetworkManagerPolicy.c
8423                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8424                         device by deactivating it because it doesn't have a "best connection".
8425                         Since autoconnect=False connections aren't automatically chosen,
8426                         NM would interrupt activation of such a connection because it
8427                         would never be "best" due to autoconnect=False.
8428
8429 2007-09-24  Dan Williams  <dcbw@redhat.com>
8430
8431         * src/nm-manager.c
8432                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8433                         actually has some time to enter a key before the GetSecrets call
8434                         times out
8435
8436 2007-09-24  Dan Williams  <dcbw@redhat.com>
8437
8438         * introspection/nm-manager.xml
8439           src/nm-manager.c
8440                 - (impl_manager_legacy_state): fix 'state' method call return value
8441
8442 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8443
8444         * test/Makefile.am: Install nm-tool
8445
8446 2007-09-24  Dan Williams  <dcbw@redhat.com>
8447
8448         Patch from Ross Burton <ross@burtonini.com>
8449
8450         * test/nm-tool.c
8451           callouts/nm-dhcp-client-action.c
8452           src/nm-netlink.c
8453           src/vpn-manager/nm-vpn-connection.c
8454           libnm-glib/libnm-glib-test.c
8455                 - warning fixes
8456
8457 2007-09-24  Dan Williams  <dcbw@redhat.com>
8458
8459         * libnm-util/nm-utils.h
8460           libnm-util/nm-utils.c
8461                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8462                         remove, unused
8463
8464 2007-09-23  Dan Williams  <dcbw@redhat.com>
8465
8466         * vpn-daemons/vpnc/properties/nm-vpnc.c
8467                 - Update for new VPN properties API bits; instead of passing around
8468                         a lot of random things, everything goes into the NMConnection
8469                         object.
8470
8471 2007-09-23  Dan Williams  <dcbw@redhat.com>
8472
8473         * libnm-util/nm-setting.c
8474                 - Correctly dispose of settings objects if creating them from a hash
8475                         table fails
8476
8477 2007-09-23  Dan Williams  <dcbw@redhat.com>
8478
8479         * libnm-util/nm-setting.c
8480                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8481                         the hash table in a standard manner.  Clients of libnm-util should
8482                         only call g_hash_table_remove_all(), never destroy the hash table
8483                         and recreate it.
8484
8485 2007-09-22  Dan Williams  <dcbw@redhat.com>
8486
8487         * src/nm-device-802-11-wireless.c
8488                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8489                         real reason to do it so often, and reduces wakeups for clients.
8490
8491 2007-09-21  Dan Williams  <dcbw@redhat.com>
8492
8493         * src/nm-device-802-11-wireless.c
8494                 - (build_supplicant_config): wpa_supplicant requires the option
8495                         key_mgmt=NONE for unencrypted networks
8496                 - (real_act_stage2_config): clarify log message on activation
8497
8498 2007-09-21  Dan Williams  <dcbw@redhat.com>
8499
8500         * test/nm-supplicant-test.c
8501           test/Makefile.am
8502                 - Remove supplicant test binary; no longer applicable
8503
8504 2007-09-21  Dan Williams  <dcbw@redhat.com>
8505
8506         * src/supplicant-manager/nm-supplicant-manager.c
8507                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8508                         activate it on the system bus
8509
8510 2007-09-20  Dan Williams  <dcbw@redhat.com>
8511
8512         * initscript/RedHat/NetworkManager.in
8513                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8514
8515 2007-09-20  Dan Williams  <dcbw@redhat.com>
8516
8517         * src/nm-device.c
8518                 - (nm_device_is_activating): work around a race between auto-activation
8519                         and the user activating the same device that is being auto-activated
8520
8521 2007-09-20  Dan Williams  <dcbw@redhat.com>
8522
8523         * src/nm-device-interface.c
8524                 - (impl_device_activate): until multiple active device support lands,
8525                         ensure only one device can be active at a time
8526
8527 2007-09-20  Dan Williams  <dcbw@redhat.com>
8528
8529         * src/supplicant-manager/nm-supplicant-config.c
8530           src/supplicant-manager/nm-supplicant-config.h
8531                 - (nm_supplicant_config_add_option): hide secrets from system logs
8532
8533 2007-09-20  Dan Williams  <dcbw@redhat.com>
8534
8535         * src/NetworkManagerPolicy.c
8536                 - (nm_policy_device_change_check): re-enable the wireless device change
8537                         checking code; insted of checking for SSIDs, check for the same
8538                         connection instead
8539
8540 2007-09-20  Dan Williams  <dcbw@redhat.com>
8541
8542         * src/nm-device-802-11-wireless.c
8543                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8544                         composite link state when determining when to start the disconnection
8545                         timer; that link state is already based on the supplicant interface's
8546                         status which is exactly what's already being examined, plus the link
8547                         state is a conglomeration of various things that we don't want here
8548
8549 2007-09-20  Dan Williams  <dcbw@redhat.com>
8550
8551         * libnm-glib/nm-access-point.c
8552                 - (handle_property_changed): strength is a UCHAR
8553
8554 2007-09-20  Dan Williams  <dcbw@redhat.com>
8555
8556         * src/supplicant-manager/nm-supplicant-config.c
8557                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8558                         string list keywords too since that's what wpa_supplicant wants
8559
8560 2007-09-20  Dan Williams  <dcbw@redhat.com>
8561
8562         * libnm-util/nm-setting.c
8563                 - (convert_strv_to_slist): dupe the values in the list because since
8564                         the list is a boxed value, it'll get destroyed when it's container
8565                         (like a hash table or whatever) gets destroyed
8566
8567 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8568
8569         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8570         GSList.
8571
8572         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8573
8574         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8575         just use (g_object_set_data_full).
8576
8577         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8578         that NMSettingVPN->routes is a GSList, convert it to char **.
8579         (nm_vpn_connection_ip4_config_get): Free routes when done.
8580         (nm_vpn_connection_activate): Ditto.
8581
8582         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8583         (real_act_stage2_config): Use defined setting names.
8584
8585 2007-09-20  Dan Williams  <dcbw@redhat.com>
8586
8587         * src/nm-device-802-11-wireless.c
8588           src/nm-manager.c
8589           src/nm-manager.h
8590                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8591                         so that the device can be deactivated if secrets are wrong
8592
8593 2007-09-20  Dan Williams  <dcbw@redhat.com>
8594
8595         * introspection/nm-settings-connection.xml
8596           libnm-glib/nm-settings.c
8597           libnm-glib/nm-settings.h
8598                 - Make GetSecrets asynchronous on the server side
8599
8600 2007-09-20  Dan Williams  <dcbw@redhat.com>
8601
8602         * src/nm-manager.h
8603           src/nm-device.c
8604                 - (nm_device_activate): actually check if a given connection
8605                         exists before assuming it doesn't
8606
8607 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8608
8609         * libnm-util/nm-connection.c (register_default_creators): Use defined
8610         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8611
8612         * libnm-util/nm-setting.c: Define property name strings, use them.
8613         Implement NMSettingVPN and NMSettingVPNProperties settings.
8614         Implement NM_S_TYPE_GVALUE_HASH.
8615         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8616         (setting_connection_verify): Rename 'devtype' property to 'type'.
8617
8618         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8619         properties.
8620
8621         * src/vpn-manager/nm-vpn-service.c: Ditto.
8622
8623         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8624
8625         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8626         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8627
8628         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8629         names. NMSettingConnection->devtype got renamed to 'type'.
8630
8631         * src/nm-device-802-3-ethernet.c (find_best_connection):
8632         (real_get_best_connection): Ditto.
8633
8634         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8635
8636         * libnm-glib/nm-vpn-manager.[ch]: Update.
8637
8638 2007-09-19  Dan Williams  <dcbw@redhat.com>
8639
8640         * src/NetworkManagerAP.c
8641           src/NetworkManagerAP.h
8642           introspection/nm-access-point.xml
8643                 - Change strength-changed signal into a properties-changed signal
8644                         for all properties, not just strength.  Export that signal over dbus
8645                         so listeners don't have to poll NM for changes.
8646                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8647                         get exported over D-Bus, so break up the logic and let other bits
8648                         decided when to export the AP
8649                 - (nm_ap_new_from_ap): remove, unused
8650
8651         * src/nm-device-802-11-wireless.c
8652                 - (merge_scanned_ap): only export APs that are actually on the device
8653                         list, not every AP created internally
8654
8655         * libnm-glib/nm-access-point.c
8656           libnm-glib/nm-access-point.h
8657                 - Cache properties internally and only hit DBus when needed.  Get
8658                         property updates from NM signals
8659
8660 2007-09-16  Dan Williams  <dcbw@redhat.com>
8661
8662         * libnm-util/nm-connection.c
8663           libnm-util/nm-connection.h
8664                 - (nm_connection_for_each_setting_value): new function; iterate over
8665                         each setting's value and call a user-provided function with details
8666                         about that value
8667
8668         * libnm-util/nm-setting.c
8669           libnm-util/nm-setting.h
8670                 - (nm_setting_enumerate_values): new function; enumerate the values
8671                         of a specific NMSetting subclass for a user-provided function with
8672                         details about that value
8673                 - Change wep_tx_keyidx to a uint32
8674                 - Create settings value tables for each setting defining their type,
8675                         key name, offset into the NMSetting subclass' structure, and whether
8676                         they are required and/or a secret
8677                 - (nm_setting_populate_from_hash): generic function to populate an
8678                         NMSetting from a GHash table, make all settings use it
8679                 - (nm_setting_hash): generic function to derive a GHashTable from
8680                         an NMSetting object, make all settings use it
8681
8682 2007-09-14  Dan Williams  <dcbw@redhat.com>
8683
8684         Remove unused stuff in libnm-util
8685
8686         * configure.in
8687           libnm-util/Makefile.am
8688           libnm-util/cipher-private.h
8689           libnm-util/cipher-wep-ascii.c
8690           libnm-util/cipher-wep-ascii.h
8691           libnm-util/cipher-wep-hex.c
8692           libnm-util/cipher-wep-hex.h
8693           libnm-util/cipher-wep-passphrase.c
8694           libnm-util/cipher-wep-passphrase.h
8695           libnm-util/cipher-wpa-psk-hex.c
8696           libnm-util/cipher-wpa-psk-hex.h
8697           libnm-util/cipher-wpa-psk-passphrase.c
8698           libnm-util/cipher-wpa-psk-passphrase.h
8699           libnm-util/cipher.c
8700           libnm-util/cipher.h
8701           libnm-util/dbus-helpers.c
8702           libnm-util/dbus-helpers.h
8703           libnm-util/gnome-keyring-md5.c
8704           libnm-util/gnome-keyring-md5.h
8705           libnm-util/sha1.c
8706           libnm-util/sha1.h
8707           src/nm-device-802-11-wireless.c
8708           test/libnm-util/Makefile.am
8709           test/libnm-util/test-ciphers.c
8710           test/libnm-util/test-dbus-helpers.c
8711           test/libnm-util/test-inputs.h
8712                 - Removed
8713
8714 2007-09-14  Dan Williams  <dcbw@redhat.com>
8715
8716         * libnm-util/dbus-method-dispatcher.c
8717           libnm-util/dbus-method-dispatcher.h
8718                 - Remove, unused
8719
8720 2007-09-14  Dan Williams  <dcbw@redhat.com>
8721
8722         Implement deferred activation support in the device class.
8723
8724         * src/nm-device-interface.c
8725           src/nm-device-interface.h
8726                 - (nm_device_interface_activate): take more arguments to support
8727                         deferred activation; callers must pass one of (connection) OR
8728                         (service_name, connection_path)
8729                 - (impl_device_activate): connection validation is punted to the device
8730                         to be able to handle deferred activation.  Yes, this means errors
8731                         don't get returned from the Activate() dbus call, and yes, that
8732                         should be fixed somehow later.
8733
8734         * src/nm-device.c
8735           src/nm-device.h
8736                 - (clear_act_request): clear additional deferred activation stuff too
8737                 - (deferred_activation_timeout_cb): new function; clean up when
8738                         deferred activation times out.
8739                 - (deferred_activation_start_cb): new function; when the connection
8740                         finally becomes available, start device activation
8741                 - (nm_device_activate): attach to the right signals of the activation
8742                         request if we need to defer activation until the connection is valid
8743
8744         * src/NetworkManagerPolicy.c
8745                 - (nm_policy_device_change_check): update for additional arguments
8746                         required for nm_device_interface_activate().  Pass NULL for these
8747                         though because this function already knows exactly which
8748                         NMConnection to use
8749
8750 2007-09-14  Dan Williams  <dcbw@redhat.com>
8751
8752         Implement deferred activation handling in the NMActRequest class.  When a
8753         client wants to activate a device but must create the NMConnection details
8754         on the fly, there likely hasn't been enough time yet for NM to receive the
8755         new connection signal and grab all the connection details.  So the
8756         activation is deferred (and bounded by a timer) for a while, and if the
8757         connection appears within the window, it is activated.
8758
8759         * src/nm-activation-request.c
8760           src/nm-activation-request.h
8761                 - (nm_act_request_class_init): two new signals to support deferred
8762                         activation, to allow the listener to handle both timeout and success
8763                 - (nm_act_request_new_deferred): new function, starts the deferred
8764                         activation timeout handler and listens to the NMManager for
8765                         new-connection signals to notice when the connection comes in
8766
8767 2007-09-14  Dan Williams  <dcbw@redhat.com>
8768
8769         * src/nm-manager.h
8770           src/nm-manager.c
8771                 - (nm_manager_get_connection_service_name,
8772                    nm_manager_get_connection_dbus_path): get details about a connection
8773                         known internally by the NMManager
8774                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8775                         because NMConnection is now a GObject subclass
8776                 - Use constant for the gobject data tag used on NMConnection objects for
8777                         storing the associated DBusGProxy
8778
8779 2007-09-14  Dan Williams  <dcbw@redhat.com>
8780
8781         * utils/Makefile.am
8782           utils/nm-utils.c
8783           utils/nm-utils.h
8784           src/supplicant-manager/Makefile.am
8785           src/dhcp-manager/Makefile.am
8786           src/backends/Makefile.am
8787           src/named-manager/Makefile.am
8788           src/ppp-manager/Makefile.am
8789           src/vpn-manager/Makefile.am
8790           test/libnm-util/Makefile.am
8791           test/test-common/Makefile.am
8792                 - Remove utils/; it was unused
8793
8794 2007-09-13  Dan Williams  <dcbw@redhat.com>
8795
8796         * libnm-glib/nm-vpn-manager.h
8797           libnm-glib/nm-vpn-manager.c
8798                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8799
8800 2007-09-13  Dan Williams  <dcbw@redhat.com>
8801
8802         * src/nm-device-802-3-ethernet.c
8803                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8804                         netlink monitor carrier signals on dispose, not bring down.  The
8805                         carrier signals should be handled over the entire lifetime of the
8806                         device anyway, not created/destroyed on up or down.
8807
8808 2007-09-13  Dan Williams  <dcbw@redhat.com>
8809
8810         * libnm-glib/nm-device.c
8811           libnm-glib/nm-device.h
8812                 - (nm_device_activate): take a connection object path rather than an
8813                         NMConnection because NMConnection isn't exported over D-Bus and
8814                         therefore it dbus-glib can't automatically get an object path from it
8815
8816 2007-09-13  Dan Williams  <dcbw@redhat.com>
8817
8818         * libnm-util/nm-setting.c
8819                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8820
8821 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8822
8823         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8824
8825 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8826
8827         * src/vpn-manager/nm-vpn-connection.[ch]: 
8828         * src/vpn-manager/nm-vpn-manager.[ch]:
8829         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8830         dbus-glib, GObjects, signals etc.
8831
8832         * libnm-glib/nm-vpn-manager.[ch]: 
8833         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8834         so much, rewrite these too.
8835
8836         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8837         the new introspection files.
8838
8839         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8840
8841         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8842         the header with the same name from libnm-utils.
8843
8844         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8845
8846         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8847
8848         * introspection/nm-vpn-plugin.xml: Implement.
8849
8850         * introspection/nm-vpn-connection.xml: Implement.
8851
8852         * introspection/nm-vpn-manager.xml: Implement.
8853
8854         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8855         the named manager argument, it can just as easily get it as the caller.
8856         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8857
8858         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8859
8860         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8861
8862         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8863         libnm-utils.
8864
8865         * libnm-util/nm-connection.c: Ditto.
8866
8867         * src/NetworkManagerMain.h: Remove, it's finally empty.
8868
8869         * configure.in: Remove utils/ from build.
8870
8871         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8872         of hard-coded strings.
8873
8874         * utils/: Move it over to libnm-util.
8875
8876         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8877
8878         * dispatcher-daemon/Makefile.am: Ditto.
8879
8880         * src/Makefile.am: Ditto.
8881
8882 2007-09-12  Dan Williams  <dcbw@redhat.com>
8883
8884         Wireless connections can be made with config data from the applet now.
8885         
8886         Yay.
8887
8888         * src/supplicant-manager/nm-supplicant-config.h
8889           src/supplicant-manager/nm-supplicant-config.c
8890                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8891                 - (nm_supplicant_config_add_setting_wireless,
8892                    nm_supplicant_config_add_setting_wireless_security): new functions;
8893                         add key/value pairs from the settings objects to the supplicant
8894                         config
8895
8896         * src/nm-device-802-11-wireless.c
8897                 - (cull_scan_list): fix check to not prune currently associated AP
8898                 - (build_supplicant_config, real_act_stage2_config): call the functions
8899                         of the NMSupplicantConfig that parse settings objects rather than
8900                         doing it manually here
8901
8902 2007-09-12  Dan Williams  <dcbw@redhat.com>
8903
8904         * src/supplicant-manager/nm-supplicant-interface.c
8905           src/supplicant-manager/nm-supplicant-marshal.list
8906                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8907                         "connection-error" signal arguments should be STRING not CHAR
8908
8909 2007-09-12  Dan Williams  <dcbw@redhat.com>
8910
8911         * src/NetworkManagerUtils.c
8912           src/NetworkManagerUtils.h
8913                 - (nm_utils_hexstr2bin): new function
8914
8915 2007-09-11  Dan Williams  <dcbw@redhat.com>
8916
8917         * src/nm-manager.c
8918                 - (connection_get_settings_cb): emit connection-added signal
8919                 - (connection_removed_cb): uncomment bits for system settings service,
8920                         send connection-removed when appropriate
8921                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8922                         the stack by trying to g_object_set_data() on something that's
8923                         not a GObject; handle case where settings service returns
8924                         empty settings hash table
8925
8926 2007-09-11  Dan Williams  <dcbw@redhat.com>
8927
8928         * src/NetworkManagerPolicy.c
8929                 - (connection_added, connection_removed): trigger device change checks
8930                         on connection changes
8931
8932 2007-09-11  Dan Williams  <dcbw@redhat.com>
8933
8934         * src/nm-activation-request.c
8935                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8936
8937 2007-09-11  Dan Williams  <dcbw@redhat.com>
8938
8939         * src/nm-device-802-11-wireless.c
8940                 - (real_connection_secrets_updated): fix erroneous check
8941
8942 2007-09-11  Dan Williams  <dcbw@redhat.com>
8943
8944         * introspection/nm-device.xml
8945           libnm-glib/nm-device.c
8946           libnm-glib/nm-device.c
8947                 - Fix Activate call argument borkage; Activate takes 3 arguments
8948
8949 2007-09-11  Dan Williams  <dcbw@redhat.com>
8950
8951         * libnm-glib/nm-access-point.c
8952           libnm-glib/nm-access-point.c
8953                 - (nm_access_point_get_frequency): now returns guint32 to match
8954                         property change on 2007-09-10
8955
8956 2007-09-11  Dan Williams  <dcbw@redhat.com>
8957
8958         * src/nm-device-802-11-wireless.c
8959                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8960                         somewhere defines 'index' and I missed this one when I fixed the
8961                         shadow declaration errors earlier
8962
8963 2007-09-11  Dan Williams  <dcbw@redhat.com>
8964
8965         * libnm-util/nm-connection.c
8966                 - (nm_connection_update_secrets, need_secrets_check): move
8967                         802-11-wireless-security need_secrets checks to the setting object
8968                         itself, where it belongs
8969
8970         * libnm-util/nm-setting.c
8971           libnm-util/nm-setting.h
8972                 - (nm_setting_need_secrets): new function
8973                 - (setting_wireless_security_verify,
8974                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8975                 - (setting_wireless_security_need_secrets): mostly copy code over
8976                         from nm-connection.c
8977
8978 2007-09-11  Dan Williams  <dcbw@redhat.com>
8979
8980         * libnm-util/nm-setting.c
8981           libnm-util/nm-setting.h
8982                 - (nm_setting_update_secrets): new function; add a virtual function that
8983                         subclasses can implement to update their secrets
8984                 - (setting_wireless_security_update_secrets): implement that function
8985                         for the 802-11-wireless-security subclass
8986
8987         * libnm-util/nm-connection.c
8988           libnm-util/nm-connection.h
8989                 - (nm_connection_update_secrets): update secrets for a Setting and
8990                         emit a signal on success
8991
8992         * src/nm-manager.c
8993           src/nm-manager.h
8994           src/nm-marshal.list
8995                 - (connection_get_settings_cb): enable system settings bits
8996                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8997                         to request secrets from the settings dbus service and to
8998                         push those secrets to the NMConnection itself
8999
9000         * src/nm-activation-request.c
9001           src/nm-activation-request.h
9002                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9003                         currently being activated, and proxy that signal to other listeners.
9004                         Goes through the activation request because the activation request
9005                         is the thing that manages the lifetime of the NMConnection that's
9006                         being activated.
9007
9008         * src/nm-device-802-11-wireless.c
9009                 - (real_connection_secrets_updated): implement the connection secrets
9010                         updated notification and restart activation when secrets are
9011                         received
9012                 - (real_act_stage2_config): request secrets from the settings dbus
9013                         service if secrets are needed
9014
9015         * src/nm-device.c
9016           src/nm-device.h
9017                 - (clear_act_request, nm_device_activation_cancel,
9018                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9019                         where the activation request is cleared
9020                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9021                         updated secrets signal of activation request and add a function
9022                         that subclasses can override to handle it easily
9023
9024 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9025
9026         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9027         removal of NetworkManagerAPList.
9028
9029 2007-09-10  Dan Williams  <dcbw@redhat.com>
9030
9031         * src/NetworkManagerAP.c
9032           src/NetworkManagerAP.h
9033           introspection/nm-access-point.xml
9034                 - Change 'freq' property to a guint32 instead of a double since we
9035                         weren't using the floating point bits anyway
9036
9037 2007-09-10  Dan Williams  <dcbw@redhat.com>
9038
9039         * NetworkManagerAP.c
9040           NetworkManagerAP.h
9041           NetworkManagerPolicy.c
9042           NetworkManagerSystem.c
9043           NetworkManagerUtils.c
9044           NetworkManagerUtils.h
9045           nm-device-802-11-wireless.c
9046           nm-device-802-3-ethernet.c
9047           nm-hal-manager.c
9048           nm-manager.c
9049           vpn-manager/nm-dbus-vpn.c
9050                 - Warning fixes; casts and removal of unused variables
9051
9052 2007-09-10  Dan Williams  <dcbw@redhat.com>
9053
9054         * include/NetworkManager.h
9055                 - Kill NMNetworkType; AP types don't matter any more
9056
9057         * src/NetworkManagerAPList.c
9058           src/NetworkManagerAPList.h
9059           src/Makefile.am
9060                 - Kill; NMAccessPointList has outlived it's usefulness
9061
9062         * src/NetworkManagerAP.c
9063           src/NetworkManagerAP.h
9064                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9065                         functions; check if an NMConnection object is compatible with the
9066                         settings of this AP
9067                 - (freq_to_channel, channel_to_freq): utility functions for
9068                         channel <-> frequency conversion
9069
9070         * src/nm-device.c
9071           src/nm-device.h
9072                 - (nm_device_get_best_connection): pass the specific object around
9073                          (which might be the object path of a specific AP to connect to).
9074                          The get_best_connection() call should populate this on return
9075                          if needed (wireless does).
9076
9077         * src/nm-device-802-3-ethernet.c
9078                 - (real_get_best_connection): handle specific_object argument
9079
9080         * src/NetworkManager.c
9081           src/NetworkManagerMain.h
9082                 - Remove unused includes
9083
9084         * src/nm-device-802-11-wireless.c
9085           src/nm-device-802-11-wireless.h
9086                 - Convert the ap_list into a GSList from an NMAccessPointList
9087                 - No need for caching the 'activation_ap' since this is now determined
9088                         from the specific_object of the activation request, which is
9089                         populated from the get_best_connection() call or from a user request
9090                 - (nm_device_802_11_wireless_update_bssid): fix warning
9091                 - (get_wireless_capabilities): fix error message format arguments
9092                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9093                 - (find_best_connection, real_get_best_connection): implement
9094                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9095                         move here from NetworkManagerAPList
9096                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9097                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9098                         already verified earlier
9099                 - (real_act_stage2_config): use nm_connection_need_secrets()
9100
9101         * src/NetworkManagerPolicy.c
9102                 - (nm_policy_auto_get_best_device): handle specific objects
9103                 - (create_connection): remove; automatic connection creation functionality
9104                         is handled by the Connection objects
9105                 - (nm_policy_device_change_check): handle specific_object
9106
9107         * libnm-util/nm-connection.c
9108                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9109
9110 2007-09-10  Dan Williams  <dcbw@redhat.com>
9111
9112         * src/nm-manager.c
9113                 - (query_connections): fix uninitialized variable problem that caused
9114                         segfault
9115                 - (nm_manager_add_device): take devices down on startup so that we can
9116                         be assured that nm_device_is_up() won't short-circuit the init
9117                         process.  Hack until the is_up check gets split into two pieces
9118                         that aren't behaviorally confusing.
9119
9120 2007-09-09  Dan Williams  <dcbw@redhat.com>
9121
9122         * introspection/nm-device.xml
9123                 - The 'Activate' method now takes 3 arguments, a service name for the
9124                 settings service (user or system), the object path of the connection
9125                 to activate, and the specific object to activate, if any
9126
9127         * src/nm-device-interface.c
9128                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9129                 Add error bits
9130                 - (impl_device_activate): adapt to new Activate arguments; validate
9131                 the service name and get the Connection object from the NMManager
9132                 before starting to activate the device with the specified connection
9133
9134         * src/nm-device-802-3-ethernet.c
9135                 - (real_get_best_connection): find the best connection, or create a
9136                 default one if no existing connections can be used
9137
9138         * src/NetworkManagerPolicy.c
9139                 - (nm_policy_auto_get_best_device): Get the device's best connection
9140                 and only pick the device if it has one
9141                 - (nm_policy_device_change_check): disable wireless bits for now until
9142                 wireless get_best_connection() can be implemented (replacing "best_ap");
9143                 don't create a default connection here as the device subclass will do
9144                 that if needed
9145
9146         * src/nm-manager.h
9147           src/nm-manager.c
9148                 - (nm_manager_get): make NMManager a singleton and expose the getter
9149                 internally
9150                 - Rework internal NMManager connection handling to use the same
9151                 routines for both the system and user settings services.  Most calls
9152                 take a new NMConnectionType argument specifying either system or user
9153                 connections
9154                 - (nm_manager_get_connection_by_object_path): new function; get a
9155                 connection keyed on its object path
9156
9157         * src/NetworkManager.c
9158                 - (main): use nm_manager_get()
9159
9160 2007-09-09  Dan Williams  <dcbw@redhat.com>
9161
9162         * src/nm-device.h
9163           src/nm-device.c
9164                 - (nm_device_get_best_connection): new function; get best connection
9165                         for the device at that time
9166
9167 2007-09-09  Dan Williams  <dcbw@redhat.com>
9168
9169         * src/nm-device-interface.h
9170                 - Add NMDeviceInterfaceError with an UnknownConnection error
9171
9172 2007-09-09  Dan Williams  <dcbw@redhat.com>
9173
9174         Stupid mistake on my part; object path and interface for settings service
9175         and connection objects can be the same, only the service name must be
9176         different for the system and user settings services.
9177
9178         * include/NetworkManager.h
9179           src/nm-manager.c
9180           introspection/nm-settings-connection.xml
9181           introspection/nm-settings.xml
9182           libnm-glib/nm-settings.c
9183                 - (nm_connection_settings_init, query_user_connections,
9184                    new_connection_cb): Unify NetworkManagerSettings and Connection
9185                    interface name and object path
9186
9187 2007-09-06  Dan Williams  <dcbw@redhat.com>
9188
9189         * libnm-glib/nm-object.c
9190                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9191                    nm_object_get_int_property, nm_object_get_uint_property,
9192                    nm_object_get_boolean_property, nm_object_get_byte_property,
9193                    nm_object_get_double_property, nm_object_get_byte_array_property):
9194                         clear GValues after copying their contents, fixes memory leaks
9195                         after every property access because dbus-glib copies the values
9196                         from the DBusMessage into the GValue already.
9197
9198 2007-09-06  Dan Williams  <dcbw@redhat.com>
9199
9200         * introspection/nm-access-point.xml
9201                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9202                         them to be.  There's some magic property name parsing going on in
9203                         dbus-glib that breaks up property names based on studly-caps and
9204                         puts - between words.
9205
9206         * libnm-glib/nm-access-point.c
9207                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9208                         Fix property names
9209
9210 2007-09-06  Dan Williams  <dcbw@redhat.com>
9211
9212         * src/nm-manager.c
9213                 - (nm_manager_user_connections_destroy): clear the user connections hash
9214                         table, don't destroy it
9215                 - (finalize): only destroy the hash table on NMManager finalization
9216
9217 2007-09-02  Dan Williams  <dcbw@redhat.com>
9218
9219         * include/NetworkManager.h
9220           libnm-glib/nm-settings.c
9221                 - defines for the user settings daemon D-Bus bits
9222
9223         * src/NetworkManager.c
9224                 - Remove stuff that referred to the old NetworkManagerInfo service
9225
9226         * src/vpn-manager/nm-dbus-vpn.h
9227                 - Move old NMI defines to the only place they are used still
9228
9229         * libnm-util/nm-connection.c
9230           libnm-util/nm-connection.h
9231           src/nm-activation-request.c
9232                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9233
9234         * src/nm-manager.c
9235           src/nm-manager.h
9236                 - Get connections and their settings from the user settings daemon
9237                         at the appropriate times
9238
9239 2007-09-02  Dan Williams  <dcbw@redhat.com>
9240
9241         * libnm-util/nm-setting.c
9242                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9243                 - (setting_wireless_hash): set the right value on the item
9244
9245 2007-09-02  Dan Williams  <dcbw@redhat.com>
9246
9247         * test/Makefile.am
9248           test/nminfotest.c
9249                 - Remove, no longer useful
9250
9251 2007-08-30  Dan Williams  <dcbw@redhat.com>
9252
9253         * src/Makefile.am
9254           src/NetworkManagerDbus.c
9255           src/NetworkManagerDbus.h
9256           src/vpn-manager/nm-dbus-vpn.c
9257                 - Remove, no longer necessary.  Move last bits to the only place its
9258                 used, in nm-dbus-vpn.c
9259
9260         * src/NetworkManagerAPList.c
9261           src/nm-device.c
9262           src/NetworkManager.c
9263           src/nm-device-802-11-wireless.c
9264           src/vpn-manager/nm-vpn-manager.c
9265           src/vpn-manager/nm-vpn-service.c
9266           src/NetworkManagerPolicy.c
9267           src/nm-manager.c
9268                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9269                 that was message_is_error()
9270
9271 2007-08-30  Dan Williams  <dcbw@redhat.com>
9272
9273         * libnm-util/sha1.c
9274                 - Include config.h to get defines for endiannes (gnome.org #420216)
9275
9276 2007-08-30  Dan Williams  <dcbw@redhat.com>
9277
9278         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9279
9280         * src/ppp-manager/Makefile.am
9281                 - use -fPIC (gnome.org #471825)
9282
9283 2007-08-29  Dan Williams  <dcbw@redhat.com>
9284
9285         * include/NetworkManager.h
9286                 - Keep NMConnection object path in sync
9287
9288         * libnm-glib/nm-settings.c
9289           libnm-glib/nm-settings.h
9290                 - Break D-Bus object registration out of the init function, because
9291                 every object that's exported over D-Bus needs to use the _same_
9292                 DBusConnection.  Otherwise, each object would get a different object
9293                 path tree and wouldn't be callable.
9294
9295 2007-08-29  Dan Williams  <dcbw@redhat.com>
9296
9297         * libnm-util/nm-setting.h
9298           libnm-util/nm-setting.c
9299           libnm-util/nm-connection.c
9300           src/NetworkManagerPolicy.c
9301                 - 'info' settings object should be 'connection' says the spec
9302                 at NetworkManagerConfigurationSpecification
9303
9304 2007-08-29  Dan Williams  <dcbw@redhat.com>
9305
9306         * libnm-glib/nm-settings.c
9307           libnm-glib/nm-settings.h
9308                 - make the dbus path a property of the object, and autogenerate it.
9309                 It can't be composed of the 'id' field becuase that's not available
9310                 yet during the GObject creation in nm_connection_settings_init()
9311
9312 2007-08-29  Dan Williams  <dcbw@redhat.com>
9313
9314         * introspection/nm-settings-connection.xml
9315           introspection/nm-settings.xml
9316                 - Service name -> NetworkManagerUserSettings because two services
9317                 can't share part of the same path.  I'm not really sure how we'll use
9318                 the same code with the system-settings daemon...
9319
9320 2007-08-28  Dan Williams  <dcbw@redhat.com>
9321
9322         * src/nm-device-interface.c
9323           src/nm-device-interface.h
9324                 - Kill one more bit of NMData
9325
9326 2007-08-28  Dan Williams  <dcbw@redhat.com>
9327
9328         * src/NetworkManagerSystem.h
9329           src/nm-device.c
9330           src/nm-device.h
9331           src/nm-hal-manager.c
9332           src/NetworkManager.c
9333           src/nm-device-802-11-wireless.c
9334           src/nm-hal-manager.h
9335           src/nm-device-802-3-ethernet.c
9336           src/vpn-manager/nm-vpn-service.h
9337           src/vpn-manager/nm-vpn-manager.c
9338           src/vpn-manager/nm-vpn-manager.h
9339           src/vpn-manager/nm-vpn-service.c
9340           src/nm-device-802-11-wireless.h
9341           src/NetworkManagerMain.h
9342           src/nm-device-802-3-ethernet.h
9343           src/backends/NetworkManagerGentoo.c
9344           src/backends/NetworkManagerPaldo.c
9345           src/backends/NetworkManagerFrugalware.c
9346           src/backends/NetworkManagerRedHat.c
9347           src/backends/NetworkManagerSlackware.c
9348           src/backends/NetworkManagerGeneric.c
9349           src/backends/NetworkManagerArch.c
9350           src/backends/NetworkManagerSuSE.c
9351           src/backends/NetworkManagerGeneric.h
9352           src/backends/NetworkManagerDebian.c
9353                 - Kill NMData
9354
9355 2007-08-28  Dan Williams  <dcbw@redhat.com>
9356
9357         * src/NetworkManagerMain.h
9358           src/nm-device-802-11-wireless.c
9359           src/NetworkManager.c
9360                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9361                 for now we should set the 'invalid' property on individual APs, and when
9362                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9363                 that ESS
9364
9365 2007-08-28  Dan Williams  <dcbw@redhat.com>
9366
9367         * src/NetworkManagerAP.c
9368           src/NetworkManagerAP.h
9369                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9370                         'autoconnect' property instead
9371
9372         * src/NetworkManager.c
9373           src/NetworkManagerMain.h
9374           src/NetworkManagerPolicy.c
9375           src/NetworkManagerPolicy.h
9376                 - Remove the 'allowed_ap_list', which should be replaced by 
9377                         NMConnection/NMSettings instead, since _those_ are the allowed
9378                         things that NM can connect to
9379
9380         * src/nm-device-802-11-wireless.c
9381                 - Remove both allowed_ap_list usage and 'fallback' checking
9382
9383 2007-08-28  Dan Williams  <dcbw@redhat.com>
9384
9385         * src/nm-device.c
9386           src/named-manager/nm-named-manager.c
9387           src/named-manager/nm-named-manager.h
9388           src/NetworkManager.c
9389           src/vpn-manager/nm-vpn-manager.c
9390           src/NetworkManagerMain.h
9391           src/NetworkManagerSystem.c
9392                 - Remove the named-manager object from NMData structure in preparation
9393                 for NMData's timely death.  Make the NMNamedManager the singleton that
9394                 it really is
9395
9396 2007-08-28  Dan Williams  <dcbw@redhat.com>
9397
9398         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9399         each AP's capabilities, and by NMConnection/NMSettings objects for user
9400         defined connections.
9401
9402         * include/NetworkManager.h
9403                 - Redefine 802.11 security properties.  There are now device capabilities
9404                         and AP flags and AP security flags.  It was way to unclear before.
9405
9406         * src/Makefile.am
9407           src/nm-ap-security-leap.h
9408           src/nm-ap-security-leap.c
9409           src/nm-ap-security-wpa-eap.c
9410           src/nm-ap-security-wpa-eap.h
9411           src/nm-ap-security-private.h
9412           src/nm-ap-security-wpa-psk.c
9413           src/nm-ap-security-wpa-psk.h
9414           src/nm-ap-security-wep.c
9415           src/nm-ap-security-wep.h
9416           src/nm-ap-security.c
9417           src/nm-ap-security.h
9418                 - Removed, to be replaced with NMConnection/NMSettings objects
9419
9420         * src/nm-dbus-nmi.c
9421           src/nm-dbus-nmi.h
9422                 - Removed, to be replaced by code that talks to the new info daemon
9423                         interface and gets NMConnection/NMSettings objects
9424
9425         * src/backends/NetworkManagerSuSE.c
9426                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9427                         info-daemon that does the same thing but talks the new info-daemon
9428                         D-Bus interface
9429
9430         * src/NetworkManagerAP.h
9431           src/NetworkManagerAP.c
9432           src/NetworkManagerAPList.c
9433           libnm-glib/libnm-glib-test.c
9434                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9435                         WPA/RSN
9436
9437         * libnm-glib/nm-access-point.c
9438           libnm-glib/nm-access-point.h
9439           introspection/nm-access-point.xml
9440           test/nm-tool.c
9441                 - Adjust to new flags for AP security
9442
9443         * utils/nm-utils.c
9444           utils/nm-utils.h
9445           src/vpn-manager/nm-dbus-vpn.c
9446                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9447                         stuff which is the only place it's used
9448
9449         * src/nm-device-interface.c
9450           src/nm-device-interface.h
9451           introspection/nm-device.xml
9452           src/nm-activation-request.c
9453           src/nm-activation-request.h
9454           src/nm-device.c
9455                 - Add a new 'specific_object' argument that hints to NM what actual
9456                         AP or other device-specific thing the connection should apply to.
9457                         NMConnection objects can apply to more than one actual device/AP.
9458
9459         * libnm-util/nm-connection.c
9460         * libnm-util/nm-connection.h
9461                 - Add 'have_secrets" call stubs
9462
9463         * libnm-util/cipher.h
9464                 - Move NM_AUTH_TYPE_* defines here for now
9465
9466         * src/nm-device-802-11-wireless.c
9467                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9468                         NMSettings objects
9469
9470         * src/NetworkManagerDbus.c
9471         * src/NetworkManagerPolicy.c
9472                 - Remove usage of update_allowed_networks, should be pushing data in
9473                         a different manner
9474
9475 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9476
9477         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9478         dbus-glib frees it when the call is done.
9479
9480 2007-08-26  Dan Williams  <dcbw@redhat.com>
9481
9482         * introspection/nm-device.xml
9483                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9484
9485 2007-08-26  Dan Williams  <dcbw@redhat.com>
9486
9487         * src/nm-device-802-3-ethernet.c
9488                 - (constructor): move connection of interface-connected/disconnected
9489                         signals here from real_bring_up().  Should be listening to netlink
9490                         for carrier events no matter what the initial state of the device
9491                         is.
9492
9493 2007-08-26  Dan Williams  <dcbw@redhat.com>
9494
9495         * src/nm-netlink-monitor.c
9496                 - (nm_netlink_monitor_class_init): fix marshalling types for
9497                         interface-connected/interface-disconnected
9498                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9499                         check
9500
9501 2007-08-26  Dan Williams  <dcbw@redhat.com>
9502
9503         Convert to using interface indexes as the primary method of identifying
9504         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9505         be renamed at any time.  Device object paths now refer to the device
9506         index rather than the name, and you can map those two manually if you like
9507         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9508         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9509         to use interface indexes rather than names.
9510
9511 2007-08-26  Dan Williams  <dcbw@redhat.com>
9512
9513         * src/nm-netlink-monitor.h
9514                 - Remove one last bit of wireless-event signal
9515
9516 2007-08-26  Dan Williams  <dcbw@redhat.com>
9517
9518         * src/nm-netlink-monitor.c
9519                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9520                         don't need the 'wireless-event' signal anymore since that's all
9521                         handled by wpa_supplicant
9522
9523 2007-08-25  Dan Williams  <dcbw@redhat.com>
9524
9525         It's 2007. Remove support for drivers that don't support wireless scanning.
9526
9527         * test/nm-tool.c
9528           include/NetworkManager.h
9529           src/NetworkManagerUtils.c
9530           src/NetworkManagerPolicy.c
9531           src/nm-device-802-11-wireless.c
9532                 - Remove special handling for non-scanning devices and mark them
9533                         as unsupported/unhandled
9534
9535 2007-08-20  Dan Williams  <dcbw@redhat.com>
9536
9537         * src/nm-device-802-11-wireless.c
9538           src/nm-device-802-3-ethernet.c
9539                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9540                         because when the card is pulled or the module removed, the device
9541                         is already !IFF_UP and then device-specific cleanup (removing
9542                         the supplicant interface, periodic checks, etc) never gets done
9543
9544 2007-08-20  Dan Williams  <dcbw@redhat.com>
9545
9546         * src/nm-manager.c
9547                 - (nm_manager_remove_device): bring device down before disconnecting
9548                         signal handlers, so that the 'state' signal will get broadcast when
9549                         the device enters the DOWN state
9550                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9551                         of states that cause the NMManager to recheck its state
9552
9553 2007-08-20  Dan Williams  <dcbw@redhat.com>
9554
9555         * src/supplicant-manager/nm-supplicant-interface.c
9556                 - (interface_disconnect_done): don't try to dispose of the net proxy
9557                         when it may already have been disposed of
9558
9559 2007-08-20  Dan Williams  <dcbw@redhat.com>
9560
9561         * src/nm-device-802-11-wireless.c
9562                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9563                         the SSID isn't available; this can happen when the card is pulled
9564                         or the module unloaded, during the post-removal deactivation
9565                         paths, when the ioctl returns ENODEV
9566
9567 2007-08-20  Dan Williams  <dcbw@redhat.com>
9568
9569         * src/nm-device-802-11-wireless.c
9570                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9571                         frequency, and mode match.  Applets are now responsible for grouping
9572                         access points
9573
9574 2007-08-20  Dan Williams  <dcbw@redhat.com>
9575
9576         * src/NetworkManagerAP.c
9577         * src/NetworkManagerAP.h
9578                 - (nm_ap_print_self): new function
9579
9580         * src/NetworkManagerAPList.c
9581                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9582                         to do it all here
9583         
9584 2007-08-17  Dan Williams  <dcbw@redhat.com>
9585
9586         * src/nm-device-802-3-ethernet.c
9587                 - (real_bring_down): don't try to dispose of stuff that might not
9588                         exist
9589
9590 2007-08-17  Dan Williams  <dcbw@redhat.com>
9591
9592         * src/NetworkManagerAP.c
9593                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9594                         applet.  This ensures that the case between the seen-bssids and
9595                         the bssids reported by the driver match.
9596
9597 2007-08-17  Dan Williams  <dcbw@redhat.com>
9598
9599         * src/nm-device-802-11-wireless.c
9600                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9601                         we dispose of the interface proxy in NM
9602
9603 2007-08-16  Dan Williams  <dcbw@redhat.com>
9604
9605         * libnm-glib/nm-client.c
9606                 - (nm_client_init): create VPN connections hash table with key free
9607                         function
9608                 - (proxy_vpn_connection_added): VPN connections hash table key should
9609                         be a duplicated value, not the same memory address as the VPN
9610                         connection name.  This is because the VPN connection name could
9611                         potentially be freed and set to something else during the lifetime
9612                         of the NMVPNConnection object.
9613
9614 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9615
9616         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9617         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9618         with the file descriptors. Send a child setup function to change the pppd
9619         progress group.
9620
9621 2007-08-15  Dan Williams  <dcbw@redhat.com>
9622
9623         * src/supplicant-manager/nm-supplicant-interface.c
9624                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9625                         an interface
9626                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9627                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9628                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9629                         the interface internally
9630
9631 2007-08-15  Dan Williams  <dcbw@redhat.com>
9632
9633         * src/nm-device-802-11-wireless.c
9634                 - (real_bring_down): move most of this function into device_cleanup()
9635                         so that it can be called from elsewhere
9636                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9637                         and stuff on dispose.  These would normally get cleaned up when
9638                         the device is marked down and deactivated, but when the device is
9639                         hot-unplugged, it's already down and real_down() never gets run
9640
9641 2007-08-15  Dan Williams  <dcbw@redhat.com>
9642
9643         * src/nm-dbus-nmi.c
9644                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9645                         caused a reference leak on device for which NM requested a key
9646
9647 2007-08-15  Dan Williams  <dcbw@redhat.com>
9648
9649         * libnm-glib/nm-client.c
9650                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9651
9652 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9653
9654         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9655         nothing is using it at the moment, but it'll be all useful and stuff later on.
9656
9657         * libnm-util/nm-setting.h: Define NMSettingPPP.
9658
9659         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9660
9661         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9662
9663         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9664
9665         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9666
9667         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9668
9669 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9670
9671         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9672
9673         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9674         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9675         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9676         name and different arguments and it won't compile anymore. To fix this, we now have
9677         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9678         that is new API + compatibility API and used by the daemon. The other, 
9679         nm-manager-client.xml is only the new API without compatibility bits and is used
9680         by libnm-glib to make it compile.
9681
9682         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9683
9684         * src/nm-manager.c (impl_manager_legacy_sleep)
9685         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9686         interface functions for 0.6 branch.
9687
9688 2007-08-14  Dan Williams  <dcbw@redhat.com>
9689
9690         * src/NetworkManagerAP.c
9691                 - (nm_ap_new_from_properties): fix mistaken check of return value
9692                         from memcmp (should expect 0)
9693
9694 2007-08-14  Dan Williams  <dcbw@redhat.com>
9695
9696         (force-commit to fix wrong comment and partial commit of r2685; this
9697          commit actually applies to r2685)
9698
9699         * src/NetworkManagerUtils.c
9700                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9701                         ignores trailing nulls in the SSID to work around mismatches in
9702                         expectations between WEXT and what the info-daemon passes back.  The
9703                         info-daemon would pass back the correct length, but due to the
9704                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9705                         the device would always have an SSID + 1 depending on what versions
9706                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9707                         visible by just quitting the applet and relaunching, which caused
9708                         NM to reassociated to the same network over again when reloading
9709                         the save networks.
9710
9711         * src/NetworkManagerPolicy.c
9712           src/NetworkManagerUtils.h
9713           src/nm-device-802-11-wireless.c
9714                 - Update for new parameter to nm_utils_same_ssid()
9715
9716 2007-08-14  Dan Williams  <dcbw@redhat.com>
9717
9718         * src/NetworkManagerAP.c
9719                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9720                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9721                         setting the BSSID to all 0s.  That confused the heck out of NM,
9722                         plus it's useless and probably out-of-spec.
9723
9724 2007-08-14  Dan Williams  <dcbw@redhat.com>
9725
9726         * callouts/Makefile.am
9727           src/dhcp-manager/nm-dhcp-manager.c
9728           src/dhcp-manager/nm-dhcp-manager.h
9729           src/dhcp-manager/Makefile.am
9730                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9731
9732 2007-08-14  Dan Williams  <dcbw@redhat.com>
9733
9734         * src/dhcp-manager/nm-dhcp-manager.c
9735                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9736                         it's really needed, get rid of unused xtra_args parameter
9737
9738 2007-08-14  Dan Williams  <dcbw@redhat.com>
9739
9740         * include/NetworkManagerVPN.h
9741           src/vpn-manager/nm-dbus-vpn.c
9742           src/vpn-manager/nm-dbus-vpn.h
9743           src/vpn-manager/nm-vpn-act-request.c
9744           src/vpn-manager/nm-vpn-act-request.h
9745           src/vpn-manager/nm-vpn-service.c
9746           src/vpn-manager/nm-vpn-service.h
9747           libnm-glib/nm-vpn-connection.c
9748           libnm-glib/nm-vpn-connection.h
9749           libnm-glib/nm-client.h
9750                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9751                         NMVPNServiceState to clarify what they apply to
9752                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9753                         NMVPNActStage -> NMVPNConnectionState for the same reason
9754
9755         * libnm-glib/nm-client.c
9756                 - Constant + type renames from above
9757                 - Properly handle NameOwnerChanged/manager_running signals
9758                         for NM service; only emit when state really changes
9759                 - Use hash tables correctly so that the key (which was previously owned
9760                         by the D-Bus message) now has the same lifetime as the value, since
9761                         the key is now taken from the the NMVPNConnection itself.  This
9762                         really fixes the double-VPN names in the applet
9763
9764 2007-08-13  Dan Williams  <dcbw@redhat.com>
9765
9766         Patch from Michael Biebl <biebl@debian.org>
9767
9768         * po/POTFILES.in
9769           po/POTFILES.skip
9770                 - Update for vpn-properties move
9771
9772 2007-08-13  Dan Williams  <dcbw@redhat.com>
9773
9774         * libnm-glib/nm-client.c
9775                 - Convert internal VPN connection tracking from a list to a hash table
9776                         to easily avoid duplicates
9777                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9778                         must be freed by the caller, like nm_client_get_devices()
9779                 - (nm_client_remove_vpn_connection): don't let the removal signal
9780                         leak through for NMVPNConnection objects that aren't actually
9781                         tracked.
9782                 - (manager_running): throw away VPN connection list when NM goes away,
9783                         like with the device list
9784
9785 2007-08-13  Dan Williams  <dcbw@redhat.com>
9786
9787         * src/dhcp-manager/nm-dhcp-manager.c
9788                 - Stop any dhclient instance that might be already running for a
9789                         particular interface before starting an NM spawned dhclient.  Fixes
9790                         dhclient processes left over if NM crashes, stuff like that.
9791
9792 2007-08-13  Dan Williams  <dcbw@redhat.com>
9793
9794         * src/NetworkManagerAP.c
9795                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9796                         when the AP wasn't broadcasting it's SSID
9797
9798 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9799
9800         * include/NetworkManager.h: added DBus path for connection settings.
9801
9802         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9803         nm_connection_settings_signal_updated,
9804         nm_connection_settings_signal_removed): new functions to wrap the
9805         objects' signals.
9806         (nm_connection_settings_init): register GObject with DBus.
9807         (nm_connection_settings_get_dbus_object_path): new function.
9808
9809         * libnm-glib/Makefile.am: added libnmutil to link flags.
9810
9811 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9812
9813         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9814
9815         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9816         libnm_glib directory got merged with libnm-glib/.
9817
9818         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9819
9820         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9821         Rename the library from libnm-glib to libnm_glib to maintain the library API
9822         compatibility with 0.6 branch.
9823
9824         * Makefile.am: Remove gnome/ SUBDIR.
9825
9826         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9827
9828         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9829
9830         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9831
9832         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9833         anymore.
9834         Remove checks for wpa_supplicant binary, it's used over dbus.
9835         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9836
9837         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9838         Link the binaries with libnm_glib.la.
9839
9840 2007-08-12  Dan Williams  <dcbw@redhat.com>
9841
9842         * src/NetworkManagerPolicy.c
9843                 - (nm_policy_device_change_check): fix policy to deactivate old device
9844                         before activating new one, at least until the multiple active
9845                         device support lands
9846
9847 2007-08-12  Dan Williams  <dcbw@redhat.com>
9848
9849         * src/NetworkManagerPolicy.c
9850                 - (nm_policy_new): hook up to connection-added / connection-removed
9851                         signals instead of connections-changed
9852
9853 2007-08-12  Dan Williams  <dcbw@redhat.com>
9854
9855         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9856         Robert Frank <rfrank@redhat.com>
9857
9858         * src/dhcp-manager/nm-dhcp-manager.c
9859           src/dhcp-manager/nm-dhcp-manager.c
9860           src/nm-device.c
9861                 - Spawn and communicate with dhclient directly, through means of a
9862                 custom dhclient callout script.  Process callout D-Bus signals
9863                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9864                 sent via gobject signals rather than being driven by the dhcp manager
9865                 directly.
9866
9867 2007-08-12  Dan Williams  <dcbw@redhat.com>
9868
9869         * callouts/nm-dhcp-client-action.c
9870                 - (build_message): ignore non-DHCP-related environment variables
9871
9872 2007-08-12  Dan Williams  <dcbw@redhat.com>
9873
9874         * Makefile.am
9875           configure.in
9876           callouts/Makefile.am
9877           callouts/nm-dhcp-client-action.c
9878           callouts/nm-dhcp-client.conf
9879                 - Add dhclient-executed callout that takes the place of dhclient-script
9880                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9881                 NM then listens for
9882
9883 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9884
9885         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9886
9887         * libnm-glib/nm-client.h:
9888         * libnm-glib/nm-object.h:
9889         * libnm-glib/nm-vpn-connection.h:
9890         * libnm-glib/nm-settings.h:
9891         * libnm-glib/nm-device.h:
9892         * libnm-glib/nm-ip4-config.h:
9893         * libnm-glib/nm-access-point.h:
9894         * libnm-glib/nm-device-802-3-ethernet.h:
9895         * libnm-util/nm-setting.h: 
9896         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9897
9898         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9899
9900         * libnm-glib/nm-access-point.c: Strength has type char.
9901
9902         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9903         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9904
9905         * introspection/nm-access-point.xml: Strength property is char, not int.
9906
9907         * src/NetworkManagerAP.c (set_property): Set strength from char.
9908         (get_property): Handle hidden APs (with empty SSID).
9909         Get strength value from char.
9910         (nm_ap_class_init): Strength property has char type.
9911
9912 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9913
9914         * introspection/Makefile.am:
9915         * introspection/nm-settings.xml:
9916         * introspection/nm-settings-connection.xml: added Settings interfaces.
9917
9918         * libnm-glib/nm-settings.[ch]:
9919         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9920         containing the DBus implementation.
9921
9922 2007-07-26  Dan Williams  <dcbw@redhat.com>
9923
9924         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9925
9926         * src/NetworkManagerSystem.c
9927                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9928                         same subnet (#437396)
9929
9930 2007-07-26  Dan Williams  <dcbw@redhat.com>
9931
9932         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9933
9934         * gnome/vpn-properties/nm-vpn-properties.c
9935                 - Fix translatable strings (#445865)
9936
9937 2007-07-26  Dan Williams  <dcbw@redhat.com>
9938
9939         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9940
9941         * configure.in
9942                 - Remove useless junk (#412530)
9943
9944 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9945
9946         Patch from Robert Buchholz <rbu@gentoo.org>:
9947
9948         * configure.in:
9949         * Makefile.am:
9950         * introspection/Makefile.am:
9951         Make make distcheck work again.
9952
9953 2007-06-27  Dan Williams  <dcbw@redhat.com>
9954
9955         * Make SSIDs GByteArrays everywhere
9956         * Rename "essid" -> "ssid" everywhere that's appropriate
9957         * Refcount activation_ap member of the 802.11 wireless device class
9958
9959 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9960
9961         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9962
9963 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9964
9965         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9966         that we got a new AP when we just update existing AP properties.
9967
9968 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9969
9970         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9971
9972         * nm-utils.[ch]: Remove.
9973
9974         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9975         objects for easy property access and dbus connection handling.
9976
9977         * libnm-glib/nm-client.c: Derive from NMObject.
9978
9979         * libnm-glib/nm-device.c: Ditto.
9980
9981         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9982
9983         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9984
9985         * libnm-glib/nm-ip4-config.c: Ditto.
9986
9987         * libnm-glib/nm-access-point.c: Ditto.
9988
9989         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9990         comparision. Currently used by the device activation code to determine if the new
9991         activation is the same as the old one.
9992
9993         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9994         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9995         able to ask password for the AP.
9996
9997         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9998         up if the device is already connected, tear down it's connection (if it isn't the
9999         same as new one) and start the activation.
10000
10001         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10002
10003         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10004         the issue where all APs are always listed as encrypted.
10005
10006         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10007         their own registered paths.
10008
10009         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10010         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10011
10012 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10013
10014         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10015         (0 & 0 == 0, doh)
10016
10017         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10018         because the handling code will cause the next state change and signal listeners
10019         get the signals in wrong order.
10020
10021         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10022         correctly in case of pending activation.
10023
10024         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10025         Convert the essid byte array to string correctly, including the terminating NULL.
10026
10027         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10028         mode with correct types.
10029
10030         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10031         constructed info to dbus call instead of the activation request.
10032
10033 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10034
10035         Patch from Christian Persch <chpe@gnome.org>
10036
10037         * libnm-glib/Makefile.am:
10038         * dispatcher-daemon/Makefile.am:
10039         Use the correct variables, the correct paths, and correct ordering. (446315)
10040
10041 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10042
10043         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10044         argument. The activation request is easy to retrieve.
10045
10046         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10047         just to be a convenient location for devices to store random stuff.
10048
10049 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10050
10051         Patch from Alex Smith <alex@alex-smith.me.uk>
10052
10053         * src/backends/NetworkManagerFrugalware.c:
10054         Update the FrugalWare backend to fix a few segfaults. (#392642)
10055
10056 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10057
10058         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10059
10060         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10061         setting.
10062         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10063
10064 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10065
10066         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10067         automagically.
10068         Implement NMSettingIP4Config.
10069         Finish NMSettingWired by adding all known members.
10070         (setting_wired_verify): Implement.
10071         Finish NMSettingWireless by adding all known members.
10072         (setting_wireless_verify): Implement.
10073
10074         * libnm-util/nm-connection.c: Register "ipv4" setting.
10075         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10076         dump function, we can introspect the GHashTable which is used for sending connections
10077         over dbus.
10078
10079         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10080         Take GByteArray for essid, it's really not a string.
10081
10082         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10083         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10084         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10085         means overriding the values we got from DHCP.
10086         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10087         (nm_device_deactivate_quickly): Ditto.
10088
10089         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10090         for debugging.
10091
10092 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10093
10094         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10095         NMConnection.
10096
10097         * libnm-glib/nm-device-802-11-wireless.c:
10098         (nm_device_802_3_ethernet_activate): Remove.
10099
10100         * libnm-glib/nm-device-802-3-ethernet.c
10101         (nm_device_802_3_ethernet_activate): Remove.
10102
10103         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10104
10105         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10106         NMConnection.
10107
10108         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10109         activation has started.
10110         Implement the new activation using NMConnection.
10111
10112         * src/nm-activation-request.c: Store a generic connection object instead
10113         of a wireless-specific AP.
10114
10115         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10116         on device type, create a device specific connection object suitable for
10117         device activation.
10118
10119         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10120         specific check to validate the connection and on success start the
10121         activation.
10122
10123         * src/nm-device-interface.h: Add a activate virtual function to the
10124         interface definition.
10125
10126         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10127         (impl_device_activate): Implement.
10128
10129         * introspection/nm-device.xml: Add a generic device activation interface
10130         that accepts an abstract NMConnection structure that has device-specific
10131         information in it.
10132
10133         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10134         activation interface.
10135
10136         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10137         activation interface.
10138
10139         * libnm-util/nm-connection.c: 
10140         * libnm-util/nm-connection.h: 
10141         * libnm-util/nm-setting.c:
10142         * libnm-util/nm-setting.h: Add.
10143
10144         * libnm-util/Makefile.am: Build the added files.
10145
10146         * src/nm-dbus-manager.c
10147         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10148         DbusConnection argument from 'name-owner-changed' signal. The manager
10149         is already passed as a first argument to the signal and the connection
10150         is easy enough to get from it.
10151
10152         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10153         Update the signature of the function.
10154
10155         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10156         Ditto.
10157
10158         * src/NetworkManager.c: Ditto.
10159
10160         * src/named-manager/nm-named-manager.c
10161         (nm_named_manager_name_owner_changed): Ditto.
10162
10163         * src/supplicant-manager/nm-supplicant-manager.c
10164         (nm_supplicant_manager_name_owner_changed): Ditto.
10165
10166         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10167
10168         * src/dhcp-manager/nm-dhcp-manager.c
10169         (nm_dhcp_manager_name_owner_changed): Ditto.
10170
10171         * src/nm-hal-manager.c: Add a list of device detectors and creators
10172         to make it easier to add new devices. Each device type has it's own
10173         entry in the table so adding new device types is only a matter of
10174         implementing a couple of functions, one for device detection and the
10175         other for device creation.
10176
10177 2007-04-25  Dan Williams  <dcbw@redhat.com>
10178
10179         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10180                 (gnome.org #432401)
10181
10182 2007-03-30  Dan Williams  <dcbw@redhat.com>
10183
10184         * src/NetworkManagerSystem.c
10185                 - (nm_system_device_set_ip4_route): clean up and fix argument
10186                         to nm_dev_sock_open()
10187
10188 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10189
10190         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10191         data to correct types instead of always using string.
10192
10193         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10194         _not_ have NM_802_11_CAP_PROTO_NONE.
10195         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10196         is not set.
10197
10198 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10199
10200         * libnm-glib/Makefile.am: Fix the build issue.
10201
10202 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10203
10204         * libnm-glib/nm-vpn-connection.h: 
10205         * libnm-glib/nm-vpn-connection.c: Implement.
10206
10207         * libnm-glib/nm-client.c: Add VPN support.
10208
10209         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10210         handler for VPN.
10211
10212         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10213         on DBUS again.
10214
10215 2007-03-26  Dan Williams  <dcbw@redhat.com>
10216
10217         * src/NetworkManagerAPList.c
10218         * src/nm-device-802-11-wireless.c
10219         * src/NetworkManagerAP.c:
10220                 - Store last seen as glong instead of GTimeVal.
10221                 - Fix the upper bound of capabilities, it's a bitfield.
10222
10223 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10224
10225         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10226
10227         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10228         "manager-running" signal that notifies the appearance/disappearance of NM.
10229         (nm_client_sleep): Implement.
10230
10231         * libnm-glib/nm-device.c:
10232         * libnm-glib/nm-device-802-11-wireless.c: 
10233         * libnm-glib/nm-device-802-3-ethernet.c: 
10234
10235         Don't inherit from DBusGProxy, add a proxy to private
10236         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10237         for anything but their own dbus interface. DBusGProxy objects support only one
10238         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10239         interface. The nice side effect of this change is that we do not create a new
10240         DBusGProxy object for each property access.
10241
10242 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10243
10244         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10245         with zeroes before passing them to functions - the functions never do that and
10246         reading the values back may produce wrong values.
10247         (real_bring_up): Store the signal handler id ...
10248         (real_bring_down): ... So that it can be removed here.
10249         Disconnect the supplicant interface here as well.
10250         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10251         from the access point instead of old $device/Networks/$essid.
10252
10253         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10254         device state is connected (instead of just having link/carrier).
10255
10256         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10257         already easily accessible through the device.
10258
10259         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10260         store it within the object.
10261         (nm_ap_get_dbus_path): Export it to public as well.
10262
10263         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10264         of the singleton.
10265
10266 2007-03-12  Dan Williams  <dcbw@redhat.com>
10267
10268         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10269         for non-carrier-detect capable devices, and useless for carrier-detect
10270         devices since we get notifications from netlink about carrier status anyway.
10271
10272         * src/nm-device-802-3-ethernet.c
10273                 - remove 'link_source_id' member from private data
10274                 - (probe_link): remove and collapse into real_update_link()
10275                 - (nm_device_802_3_periodic_update): remove
10276                 - (real_is_up): check for sup_iface rather than link_source_id
10277                 - (real_bring_up): return gboolean for success/fail; require that
10278                         sup_iface be valid for device bringup to succeed
10279                 - (real_bring_down): zero out link signal ids
10280
10281         * src/nm-device.c
10282                 - (nm_device_activate_stage2_device_config): fail activation if device
10283                         bringup fails
10284                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10285                         fails
10286                 - (nm_device_bring_up): return success/fail
10287
10288         * src/nm-device.h
10289                 - bring_up now returns success/fail
10290
10291         * src/nm-device-802-11-wireless.c
10292                 - (real_bring_up): return success from bringup
10293
10294 2007-03-07  Dan Williams  <dcbw@redhat.com>
10295
10296         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10297         * src/nm-ap-security-wpa-psk.c
10298                 - (real_write_supplicant_config): work with PSKs that may contain
10299                         zeros in the binary format rather than treating it as a string
10300
10301 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10302
10303         * libnm-glib/nm-device-802-11-wireless.c
10304         (nm_device_802_11_wireless_get_capabilities): Implement.
10305
10306         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10307
10308         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10309
10310         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10311         reply only if it's not NULL. Not sure why this started happening right now.
10312
10313         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10314         code paths for when devices get removed on shutdown or when a device is just
10315         removed.
10316         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10317         gets freed so any signal from a device (disconnected for instance) would invoke
10318         NMState update which would crash.
10319         (nm_manager_remove_device): Bring the device down when it gets removed.
10320
10321         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10322         the unused dev_type.
10323
10324         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10325         reference to the added device, NMManager will own it (if it wants).
10326
10327         * test/nm-tool.c: Rewrite using libnm-glib.
10328
10329         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10330         We get signalled when it changes.
10331
10332         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10333         when it changes.
10334
10335         * libnm-glib/nm-device.c: Cache the device state property.
10336
10337         * libnm-glib/nm-access-point.c: Cache the strength property.
10338
10339         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10340         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10341         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10342         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10343         the device is down, activating, or activated (in case of A/B/G cards).
10344         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10345         it's all done through supplicant now.
10346
10347         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10348         counting issues with pending calls which caused leaks and crashes when
10349         interface was removed (now that the interface actually gets removed).
10350
10351         * src/nm-call-store.c: Make a copy of data before running a foreach
10352         with user callback on it - The most common usage pattern is to cancel
10353         (and thus remove) all pending calls with foreach which would modify
10354         the hash table we're iterating over.
10355
10356         * src/nm-manager.c: When a device is added, make sure it is "up". When
10357         it's removed or disabled due to disabling wireless or networking, bring
10358         it down.
10359
10360         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10361
10362         * src/nm-device-802-11-wireless.c: 
10363         * src/nm-device-802-3-ethernet.c: 
10364         * src/nm-device.c:
10365                 - Remove "init" virtual function, all gobjects have a place for that
10366                   already (constructor).
10367                 - Replace "start" virtual function with "bring_up", devices can be
10368                   brought up and down more than just on startup now.
10369                 - Add "is_up" virtual function.
10370                 - Implement one way to bring a device down instead of previous 4 different
10371                   ways, each of witch did something different.
10372
10373         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10374         all it needs is the device interface.
10375
10376         Get rid of NMData.dev_list (3 members to go).
10377         Get rif of NMData in a lot of places.
10378
10379         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10380
10381 2007-02-23  Dan Williams  <dcbw@redhat.com>
10382
10383         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10384
10385         * src/NetworkManagerAP.c
10386                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10387                         OR-ing rather than AND-ing
10388
10389 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10390
10391         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10392         "network-removed" signals.
10393
10394         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10395
10396         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10397         when receiving the signal from dbus.
10398
10399         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10400         property.
10401
10402         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10403         deactivation of the previously activated device working again.
10404
10405         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10406         and setter.
10407
10408         * src/nm-device.c (nm_device_is_activated): Remove.
10409         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10410
10411         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10412         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10413         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10414         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10415         Remove NMNetworkStatus and NMActStage enums.
10416
10417 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10418
10419         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10420         Handle device state changes and disconnect VPN if it's device deactivates.
10421
10422         * src/nm-dbus-nm.c: 
10423         * src/nm-dbus-nm.h: 
10424         * src/nm-dbus-device.c: 
10425         * src/nm-dbus-device.c: 
10426         * src/nm-dbus-net.c: 
10427         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10428
10429         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10430
10431         * src/nm-device.c (nm_device_get_by_udi):
10432         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10433         implemented in the correct location (NMManager).
10434         Rip out all the test_device stuff.
10435
10436         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10437         failure handlers, it's all done by NMDevice already.
10438
10439         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10440         Remove the iochannel hack to route the unix signals to the main thread since
10441         we're not threaded anymore.
10442
10443         * src/NetworkManagerAP.c: Implement HWAddress property.
10444
10445         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10446         automatically with dbus-glib.
10447
10448         * src/nm-netlink-monitor.c: 
10449         * src/nm-netlink-monitor.h:
10450                 - Move it low in the class hierarchy, don't reference any NM types.
10451                 - Remove private data from the header.
10452                 - Use type safe checks in public API methods.
10453                 - Make it a singleton so we don't have to pass the single reference around.
10454
10455 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10456
10457         * introspection/nm-ip4-config.xml: Implement.
10458
10459         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10460
10461         * libnm-glib/nm-ip4-config.c:
10462         * libnm-glib/nm-ip4-config.c: Implement.
10463
10464         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10465         securities. APs reference security.
10466
10467         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10468         be exported over DBUS.
10469
10470         * src/nm-device-802-3-ethernet.c: Ditto.
10471
10472         * src/NetworkManagerAP.c:
10473         * src/NetworkManagerAP.h:
10474                 - Convert to GObject, export over DBUS.
10475
10476         * src/nm-ip4-config.h:
10477         * src/nm-ip4-config.h:
10478                 - Convert to GObject, export over DBUS.
10479
10480 2007-02-12  Dan Williams  <dcbw@redhat.com>
10481
10482         Patch from Helmut Schaa <hschaa@suse.de>
10483
10484         * vpn-daemons/pptp/configure.in
10485           vpn-daemons/pptp/Makefile.am
10486           vpn-daemons/openvpn/configure.in
10487           vpn-daemons/openvpn/Makefile.am
10488           vpn-daemons/vpnc/configure.in
10489           vpn-daemons/vpnc/Makefile.am
10490                 - Add --without-gnome switch which disables building gnome bits
10491
10492 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10493
10494         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10495
10496         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10497
10498         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10499         'HwAddress'.
10500
10501         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10502
10503         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10504
10505         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10506
10507         * src/:
10508                 - Remove old low-level dbus interface implementations and replace them
10509                   with dbus-glib one.
10510
10511         * configure.in:
10512                 - Require dbus-glib >= 0.72.
10513                 - Plug in new sources to build.
10514
10515         * libnm-glib/:
10516                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10517                   to make it more convenient to use from GObject based programs.
10518
10519         * introspection/:
10520                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10521
10522 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10523
10524         * src/nm-device-802-11-wireless.c:
10525                 - Add "network-added" and "network-removed" signals.
10526                 - Use gobject boilerplate macros to define the GObject.
10527                 - Implement wireless device activation.
10528                 - Remove activation_failure_handler and activation_success_handler
10529                   and instead listen on state-changed signals and run the same code
10530                   from there.
10531
10532         * src/nm-device.c:
10533                 - Implment NMDeviceInterface::deactivate.
10534                 - Remove activation_failure_handler and activation_success_handler
10535                   virtual methods. Each device which is interested in these events
10536                   can just listen on it's state changed signals.
10537
10538         * src/NetworkManagerPolicy.c:
10539                 - Move a bit more NMData usage to NMManager.
10540                 - Remove activation scheduling bits.
10541                 - Add listeners for wireless device's "network-added" and
10542                   "network-removed" signals.
10543                 - Listen device changed signals and deactivate currently activated
10544                   device when another device start activating (for now).
10545                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10546                   for calling this, the policy code knows exactly when this should happen,
10547                   by listening on events from NMManager and NMDevices.
10548
10549         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10550         Implement.
10551
10552         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10553         method on the specific device instead of going to through policy code
10554         and determining the device type by passed in AP's existance.
10555
10556         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10557         abstract NMDevice deactivation.
10558
10559 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10560
10561         * src/NetworkManager.c:
10562                 - Set up all the shiny new managers.
10563
10564         * src/NetworkManagerPolicy.c:
10565                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10566                   classes to call into policy code, make the policy code kind of like
10567                   a supervisor that monitors what's going on and drives the whole NM.
10568
10569         * src/nm-hal-manager.c: 
10570         * src/nm-hal-manager.h:
10571                 - Collect all libhal code scattered around NM to this one class.
10572                 - Listen libhal and NMManager events and add/remove devices to
10573                   NMManager.
10574
10575         * src/nm-manager.c:
10576         * src/nm-manager.h:
10577                 - Implment a replacement for NMData. NMData is now officially
10578                 deprecated.
10579
10580 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10581
10582         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10583         * src/supplicant-manager/nm-supplicant-interface.h
10584         * src/supplicant-manager/nm-supplicant-interface.c
10585         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10586         argument to boolean from enum.
10587
10588         Make NMDevice abstract class, remove almost all references to it's
10589         subclasses (the last place gets removed with new policy manager). Add
10590         NMDeviceInterface (which NMDevice implements) so that when we have
10591         NMDevice exported over DBUS, there's a common NMDevice interface which
10592         all instances have, plus there's a device specific interface for each
10593         specific type.
10594         Remove functions (nm_device_is_802_3_ethernet) and
10595         (nm_device_is_802_11_wireless). There are already standard GObject macros
10596         for type safe checks.
10597         Use the updated supplican manager API.
10598
10599         * src/nm-device-interface.h: 
10600         * src/nm-device-interface.c: 
10601         * src/nm-call-store.h: 
10602         * src/nm-call-store.c: Implement.
10603
10604         * src/supplicant-manager/nm-supplicant-interface.c:
10605         * src/supplicant-manager/nm-supplicant-interface.h:
10606         * src/supplicant-manager/nm-supplicant-manager.c:
10607         * src/supplicant-manager/nm-supplicant-manager.h:
10608                 - Remove all private data type references from public header files.
10609                 - Remove all references to other NM classes, this class is just a
10610                   proxy between wpa_supplicant and NM so it doesn't have to know
10611                   any internals.
10612                 - Convert to dbus-glib bindings.
10613                 - Type safe checks for public methods' arguments.
10614                 - Store pending DBUS call ids to NMCallStore.
10615
10616         * src/supplicant-manager/nm-supplicant-config.c:
10617                 - Store config values in a GHashTable instead of GSList.
10618
10619         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10620
10621         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10622         singleton now.
10623
10624         * src/nm-device.c: Use the new DHCP manager API.
10625
10626         * src/nm-activation-request.c:
10627         * src/nm-activation-request.h:
10628                 - Remove all dhcp related properties and methods.
10629
10630         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10631
10632         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10633
10634         * src/dhcp-manager/nm-dhcp-manager.c:
10635         * src/dhcp-manager/nm-dhcp-manager.h:
10636                 - Convert it to GObject since we need to signal state changes.
10637                 - Remove all references to other NM classes, this class is one
10638                   of the lowest classes in our hierarchy.
10639                 - One less class to use NMActRequest.
10640                 - Make it singleton, one less user of NMData.
10641                 - Remove a couple of sleep() calls.
10642                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10643                   One less class to use the NM's custom tailored signal handlig.
10644
10645         * Makefile.am: Generate marshallers, add them to build.
10646
10647 2007-02-02  Dan Williams  <dcbw@redhat.com>
10648
10649         * configure.in
10650           gnome/Makefile.am
10651           nm-applet.desktop
10652           Makefile.am
10653                 - Remove last bits referencing gnome applet
10654
10655 2007-02-02  Dan Williams  <dcbw@redhat.com>
10656
10657         * src/vpn-manager/nm-vpn-service.c
10658                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10659                         and NBNS server addresses
10660
10661 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10662
10663         * src/nm-dbus-manager.c:
10664         * src/nm-dbus-manager.h:
10665                 - Convert all internal DBUS code to use dbus-glib bindings.
10666                 - Remove GObject properties, we don't need them here.
10667                 - Don't explicitly set things to NULL after freeing, glib is
10668                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10669                 - Make public API argument checks type safe.
10670                 - Remove unnecessary (and wrong) cast to GObject for the first
10671                   argument to g_signal_* calls - The first argument is a gpointer.
10672                 - Export DBusGConnection to other cool classes that (are going to)
10673                   use dbus-glib.
10674
10675 2007-01-26  Dan Williams  <dcbw@redhat.com>
10676
10677         * libnm-util/dbus-dict-helpers.c
10678           libnm-util/dbus-dict-helpers.h
10679                 - Coordinate style with wpa_supplicant version to minimize diff
10680                 - Add uint32 array support
10681                 - (nmu_dbus_dict_append_uint32_array): new function
10682                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10683                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10684                         version; allow adding string array elements individually
10685
10686         * test/libnm-util/test-dbus-dict-helpers.c
10687                 - Test uint32 arrays
10688
10689 2007-01-27  Jürg Billeter  <j@bitron.ch>
10690
10691         * src/backends/NetworkManagerPaldo.c
10692                 - (nm_system_update_dns): clear nscd hosts cache
10693
10694 2007-01-04  Dan Williams  <dcbw@redhat.com>
10695
10696         Threading removal related cleanups:
10697
10698         - Use the glib default main context.  Remove the device main context
10699                 member from NMDevice, and the main_context member from NMData.  Change
10700                 all the idle and timeout scheduler functions to use plain
10701                 g_idle_add() and g_timeout_add().
10702
10703         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10704                 takes an argument; fix that up too.
10705
10706         - Remove all locking, which is useless since we no longer use threads.  For
10707                 example, nm_get_device_by_iface_locked() has been removed.  The global
10708                 device list lock, the AP List lock, and all static locks in
10709                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10710                 in NetworkManagerUtils.c have also been removed.
10711
10712         - Other cleanups in spacing and code style
10713
10714 2007-01-01  Dan Williams  <dcbw@redhat.com>
10715
10716         Found by Bill Moss:
10717
10718         * src/supplicant-manager/nm-supplicant-interface.c
10719                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10720                         the supplicant interface wasn't already disconnected.  Always
10721                         call removeNetwork and disconnect unless the supplicant interface
10722                         is in the DISCONNECTED or INACTIVE state.
10723
10724 2006-12-28  Dan Williams  <dcbw@redhat.com>
10725
10726         Use a single thread for everything.  With the move to wpa_supplicant
10727         and communication over D-Bus, there's no reason for multiple threads.
10728         Almost all of the blocking code has been removed, with one exception in
10729         the DHCP manager and a few in the VPN manager.  This commit removes the
10730         per-device worker thread and fixes activation cancellation in the absence
10731         of threads.  Further removal of thread-related code would be removing
10732         any locking code (like the device list lock) and simplification of logic
10733         around areas of code or data structures that are currently locked.
10734
10735         * autoip.c
10736           dhcp-manager/nm-dhcp-manager.c 
10737           nm-device-802-11-wireless.c
10738           nm-device-802-3-ethernet.c
10739           nm-device.c
10740           nm-device.h
10741                 - Remove usage of multiple threads
10742
10743 2006-12-19  Dan Williams  <dcbw@redhat.com>
10744
10745         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10746         plus a few other patches from wpa_supplicant bugzilla.
10747
10748         * src/Makefile.am
10749           src/NetworkManagerPolicy.c
10750           src/NetworkManagerUtils.c
10751           src/NetworkManagerUtils.h
10752           src/nm-ap-security-leap.c
10753           src/nm-ap-security-wep.c
10754           src/nm-ap-security-wpa-eap.c
10755           src/nm-ap-security-wpa-psk.c
10756           src/nm-ap-security.c
10757           src/nm-ap-security.h
10758           src/nm-device-802-11-wireless.c
10759           src/nm-device-802-11-wireless.h
10760           src/supplicant-manager/nm-supplicant-config.c
10761           src/supplicant-manager/nm-supplicant-config.h
10762           src/supplicant-manager/nm-supplicant-interface.c
10763           src/supplicant-manager/nm-supplicant-interface.h
10764           src/supplicant-manager/nm-supplicant-marshal.list
10765           src/supplicant-manager/nm-supplicant-settings-verify.c
10766           src/supplicant-manager/nm-supplicant-settings-verify.h
10767                 - Move all connection management and association handling to
10768                         wpa_supplicant over dbus, rather than spawning a private copy
10769
10770 2006-12-19  Dan Williams  <dcbw@redhat.com>
10771
10772         * src/NetworkManagerPolicy.c
10773                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10774                         better locking of the device change check handler ID.  Incorrect
10775                         locking was causing lost device change requests
10776
10777 2006-12-18  Dan Williams  <dcbw@redhat.com>
10778
10779         * libnm-util/dbus-dict-helpers.c
10780                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10781                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10782                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10783
10784 2006-12-18  Dan Williams  <dcbw@redhat.com>
10785
10786         * gnome/libnm_glib/libnm_glib.c
10787                 - Change dbus_connection_close() -> dbus_connection_unref()
10788
10789 2006-12-11  Dan Williams  <dcbw@redhat.com>
10790
10791         * src/supplicant-manager/nm-supplicant-interface.c
10792                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10793                         wpa_supplicant interface state
10794                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10795                         state before transitioning to READY state
10796
10797 2006-12-04  Dan Williams  <dcbw@redhat.com>
10798
10799         * src/nm-device-802-11-wireless.c
10800                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10801                         odd length of ESSID returned from ieee80211 stack-based drivers
10802
10803 2006-12-04  Dan Williams  <dcbw@redhat.com>
10804
10805         * src/nm-device-802-11-wireless.c
10806                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10807                         IE handling blocks that cause mis-parsing of the IE
10808
10809 2006-12-04  Dan Williams  <dcbw@redhat.com>
10810
10811         * src/nm-device-802-11-wireless.c
10812                 - (init_supplicant_interface): new function; pull supplicant interface
10813                         setup code out into standalone function since it must be called from
10814                         two different places
10815                 - (real_init): sup_mgr is now in private object data; get and track
10816                         the supplicant manager object over the NMDevice subclass' lifetime
10817                         and register a signal handler for its state signals; only try to
10818                         initialize the supplicant interface if the supplicant manager is in
10819                         the IDLE state (and therefore is ready for requests)
10820                 - (request_wireless_scan): reschedule the scan request if (a) there is
10821                         no supplicant interface yet (meaning wpa_supplicant isn't running
10822                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10823                         for requests yet
10824                 - (supplicant_iface_connection_state_cb): new function; stub for
10825                         handling supplicant interface connection state signals
10826                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10827                         comes and goes
10828                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10829                         supplicant manager object that's being tracked starting with this
10830                         commit
10831
10832 2006-12-04  Dan Williams  <dcbw@redhat.com>
10833
10834         * src/supplicant-manager/nm-supplicant-interface.c
10835                 - (nm_supplicant_interface_set_property): track signal handler ID
10836                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10837
10838 2006-12-04  Dan Williams  <dcbw@redhat.com>
10839
10840         * src/supplicant-manager/nm-supplicant-interface.[ch]
10841                 - (nm_supplicant_interface_get_state): new function
10842
10843 2006-12-04  Dan Williams  <dcbw@redhat.com>
10844
10845         * src/supplicant-manager/nm-supplicant-interface.c
10846                 - (bssid_properties_cb): don't treat DBus errors as valid
10847                         scanned AP messages
10848
10849 2006-12-04  Dan Williams  <dcbw@redhat.com>
10850
10851         * src/supplicant-manager/nm-supplicant-interface.[ch]
10852                 - (nm_supplicant_interface_get_connection_state): new function
10853                 - define new supplicant connection states
10854                 - send a signal when the supplicant connection state changes
10855
10856 2006-12-03  Dan Williams  <dcbw@redhat.com>
10857
10858         * src/supplicant-manager/Makefile.am
10859           src/supplicant-manager/nm-supplicant-connection.h
10860           src/supplicant-manager/nm-supplicant-connection.c
10861           src/supplicant-manager/nm-supplicant-config.h
10862           src/supplicant-manager/nm-supplicant-config.c
10863           src/supplicant-manager/nm-supplicant-types.h
10864           src/supplicant-manager/nm-supplicant-interface.h
10865           src/supplicant-manager/nm-supplicant-interface.c
10866                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10867
10868 2006-12-03  Dan Williams  <dcbw@redhat.com>
10869
10870         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10871
10872         * po/POTFILES.in
10873           po/POTFILES.skip
10874                 - Move VPN-related translatables to .skip
10875
10876         * vpn-daemons/pptp/po/POTFILES.in
10877                 - Update with new translatables
10878
10879 2006-12-02  Dan Williams  <dcbw@redhat.com>
10880
10881         Patch from Christian Persch <chpe@gnome.org>
10882
10883         * gnome/applet/Makefile.am
10884           gnome/applet/applet-dbus-devices.c
10885           gnome/applet/applet-notifications.c
10886           gnome/applet/applet.c
10887           gnome/applet/applet.h
10888           gnome/applet/main.c
10889                 - Be a GtkStatusIcon on GTK+ >= 2.10
10890
10891 2006-12-02  Dan Williams  <dcbw@redhat.com>
10892
10893         * gnome/applet/applet.c
10894                 - (nma_update_info): fix two unecessary allocations
10895
10896 2006-12-02  Dan Williams  <dcbw@redhat.com>
10897
10898         Patch from Michael Biebl <biebl@teco.edu>
10899         * configure.in
10900           man/NetworkManager.1.in
10901           man/NetworkManagerDispatcher.1.in
10902           man/NetworkManager.8.in
10903           man/NetworkManagerDispatcher.8.in
10904                 - Add .SH NAME stanzas
10905                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10906
10907 2006-12-02  Dan Williams  <dcbw@redhat.com>
10908
10909         Patch from Christian Persch <chpe@gnome.org>
10910
10911         * configure.in
10912                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10913
10914 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10915
10916         Patch by Timo Hoenig <thoenig@suse.de>:
10917         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10918         DBUS-1.0.
10919
10920         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10921         we can't use the one from the main source directory.
10922
10923 2006-11-27  Dan Williams  <dcbw@redhat.com>
10924
10925         Patch from Christian Persch <chpe@gnome.org>
10926
10927         * gnome/applet/applet-dbus-devices.c
10928                 - (hal_info_product_cb): fix memleak; free duped string.
10929                         Gnome.org #379908
10930
10931 2006-11-27  Dan Williams  <dcbw@redhat.com>
10932
10933         Patch from Christian Persch <chpe@gnome.org>
10934
10935         * gnome/applet/menu-items.c
10936                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10937                         as gtk_progress_set_percentage is deprecated.  Should
10938                         work as far back as GTK+ 2.4.  Gnome.org #379780
10939
10940 2006-11-26  Dan Williams  <dcbw@redhat.com>
10941
10942         Scan using wpa_supplicant over DBus.
10943
10944         * src/nm-device-802-11-wireless.c
10945                 - remove wireless extensions netlink event handler bits
10946                         (wireless_event_helper, nm_device_802_11_wireless_event)
10947                 - remove wireless extensions scan event handler bits
10948                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10949                         hex2byte, hex2num, request_and_convert_scan_results,
10950                         free_process_scan_cb_data, scan_results_timeout,
10951                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10952                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10953                         and request scans from the supplicant interface rather than directly
10954                 - Move functionality of convert_scan_results() to cull_scan_list() and
10955                         supplicant_iface_scanned_ap_cb()
10956                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10957                         at the scan interval when the current scan has finished
10958                 - (supplicant_iface_state_cb): start scanning when the supplicant
10959                         interface enters the READY state, and stop scanning when it
10960                         enters the DOWN state
10961                 - (cull_scan_list): weed out old access points from the scan list
10962                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10963                         point into an NMAccessPoint and merge it into the device's scan list
10964
10965         * src/supplicant-manager/nm-supplicant-interface.c
10966           src/supplicant-manager/nm-supplicant-interface.h
10967                 - Add a new signal "scan-result" which is issued when the supplicant
10968                         notifies NM that a scan has completed
10969                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10970                         point found in the scan.  Called once for each access point that
10971                         the supplicant interface object receives from the supplicant as a
10972                         result of the "scanResults" method call
10973                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10974                         for the initial scan results
10975                 - (scan_request_cb): new function; send listeners the result
10976                         (success, error) of a wireless scan request
10977                 - (nm_supplicant_interface_request_scan): new function; ask the
10978                         supplicant to perform an immediate wireless scan
10979
10980 2006-11-25  Dan Williams  <dcbw@redhat.com>
10981
10982         * src/supplicant-manager/Makefile.am
10983                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10984                         add HAL cflags/includes and named-manager includes directory
10985
10986         * src/supplicant-manager/nm-supplicant-interface.h
10987                 - New state STARTING to handle transition from INIT to READY where
10988                         the addInterface pending call is still outstanding
10989
10990         * src/supplicant-manager/nm-supplicant-interface.c
10991                 - track pending calls differently since we may have more than one
10992                         going on at any given time
10993                 - request scan results from wpa_supplicant; but don't do it more often
10994                         than every 4 seconds.  Drivers that do background scanning
10995                         (like the 'ipw' drivers) send a continuous stream of scan completion
10996                         notifications, so we don't want to hammer the supplicant or dbus
10997                         with requests for all scan results every time we get a completion
10998                         notification.
10999
11000 2006-11-25  Dan Williams  <dcbw@redhat.com>
11001
11002         * src/supplicant-manager/nm-supplicant-types.h
11003                 - new file; move all supplicant manager object typedefs here for
11004                         #include sanity
11005
11006         * src/supplicant-manager/nm-supplicant-interface.c
11007           src/supplicant-manager/nm-supplicant-interface.h
11008                 - new file; an object that interfaces an NMDevice object to the
11009                         supplicant and handles signals from the supplicant.  This object
11010                         does all necessary DBus communication with wpa_supplicant.
11011
11012         * src/supplicant-manager/nm-supplicant-manager.c
11013           src/supplicant-manager/nm-supplicant-manager.h
11014                 - Actually do something.  Track the state of the wpa_supplicant service
11015                         and deal with its comings & goings.  Handle life events of
11016                         supplicant interfaces too.
11017                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11018
11019         * src/supplicant-manager/nm-supplicant-connection.h
11020                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11021
11022         * src/supplicant-manager/Makefile.am
11023                 - Add new files to build, and add libnm-util to includes
11024
11025         * src/nm-marshal.list
11026                 - New marshaler type: VOID:UINT,UINT
11027
11028         * src/nm-device-802-3-ethernet.c
11029                 - (real_init): grab a supplicant interface
11030                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11031                 - (supplicant_iface_state_cb): new function, stub for handling
11032                         supplicant interface state changes
11033
11034         * src/nm-device-802-11-wireless.c
11035                 - (real_init): grab a supplicant interface
11036                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11037                 - (supplicant_iface_state_cb): new function, stub for handling
11038                         supplicant interface state changes
11039
11040         * src/NetworkManager.c
11041                 - (main): create and keep the supplicant manager around for the lifetime
11042                         of NetworkManager
11043
11044         * src/Makefile.am
11045                 - Link to the supplicant manager sub-library and use the supplicant
11046                         manager includes
11047
11048 2006-11-25  Dan Williams  <dcbw@redhat.com>
11049
11050         Rework DBus manager signal handling to be more flexible.  Previously,
11051         only one signal handler could be registered for a particular interface.
11052         The DBus manager now reference counts DBus bus matches and allows multiple
11053         clients to register signal handlers for the same interface and sender.
11054
11055         * src/NetworkManager.c
11056                 - (main): track NMI signal handler ID and remove it when we quit
11057
11058         * src/NetworkManagerMain.h
11059                 - Keep track of NMI signal handler ID
11060
11061         * src/nm-dbus-manager.c
11062           src/nm-dbus-manager.h
11063                 - rework signal handling; each signal handler references one signal
11064                         match, but a signal match may be referenced by one or more
11065                         signal handlers.  Matches are refcounted and are destroyed when the
11066                         last signal handler that references the match is removed.  This is
11067                         necessary because two signal handlers may end up requiring the same
11068                         dbus bus match, so the match must live until the last signal handler
11069                         is destroyed (for example, with the wpa_supplicant network interface
11070                         dbus interface).
11071
11072         * src/dhcp-manager/nm-dhcp-manager.c
11073                 - (nm_dhcp_manager_new): track DHCP signal handler id
11074                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11075
11076         * src/vpn-manager/nm-vpn-service.c
11077                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11078                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11079
11080 2006-11-25  Dan Williams  <dcbw@redhat.com>
11081
11082         Suggested by Helmut Schaa <hschaa@suse.de>
11083
11084         * src/vpn-daemons/nm-vpn-service.c
11085                 - (supplicant_child_setup): new function
11086                 - (supplicant_exec): make child process use a new process group id
11087
11088         * src/nm-device-802-11-wireless.c
11089                 - (nm_vpn_service_child_setup): new function
11090                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11091                         process group id
11092
11093 2006-11-19  Dan Williams  <dcbw@redhat.com>
11094
11095         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11096         * gnome/vpn-properties/nm-vpn-properties.c
11097                 - clean up after renamed VPN connection
11098
11099 2006-11-19  Dan Williams  <dcbw@redhat.com>
11100
11101         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11102         * gnome/applet/applet-dbus-vpn.c
11103                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11104
11105         * gnome/vpn-properties/nm-vpn-properties.c
11106                 - (init_app): sort VPN connections
11107
11108 2006-11-09  Dan Williams  <dcbw@redhat.com>
11109
11110         * src/NetworkManagerAPList.c
11111                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11112                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11113                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11114                 broke hidden SSID matching.  Found by Bill Moss.
11115
11116 2006-10-25  Dan Williams  <dcbw@redhat.com>
11117
11118         * src/nm-dbus-nm.c
11119                 - (nm_dbus_nm_set_active_device): return an empty success message on
11120                         success, rather than falling through to the error case.
11121
11122 2006-10-25  Dan Williams  <dcbw@redhat.com>
11123
11124         * src/NetworkManagerUtils.c
11125                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11126                         "SCAN" command
11127
11128 2006-10-24  Dan Williams  <dcbw@redhat.com>
11129
11130         Reduce the number of times the Gnome applet wakes up, especially when
11131         it's doing absolutely nothing and is hidden.  Initial patch by
11132         Chris Aillon.
11133
11134         * gnome/applet/applet-dbus.c
11135                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11136                         kill the redraw timeout.  When NM starts up, start the redraw
11137                         timeout.  Also, if we get kicked off the bus for some reason,
11138                         start the reconnection timeout if one's not already running.
11139                 - (nma_dbus_init): better handling of error conditions, don't leak
11140                         a half-initialized dbus connection
11141                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11142                         the applet's data, just call nm_dbus_init_helper()
11143                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11144                         timeout that calls nma_dbus_connection_watcher()
11145                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11146                         reconnection timeout, and don't start the reconnection timeout
11147                         unconditionally anymore
11148
11149         * gnome/applet/applet-dbus.h
11150                 - Expose nma_start_dbus_connection_watch()
11151
11152         * gnome/applet/applet.c
11153                 - (nma_update_state): no longer static, called from applet-dbus.c for
11154                         immediate UI updates on certain events
11155                 - (nma_set_running): new function; take over setting applet->running,
11156                         when not running (ie, NM is not active), don't activate the redraw
11157                         timeout because we're not showing the applet anyway.  When we are
11158                         running (ie, NM is active), and only when we're running, start the
11159                         redraw timeout.
11160                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11161                         kill any reconnection timeout
11162                 - (nma_get_instance): move one-off dbus initialization code here since
11163                         nm_dbus_init_helper() gets called more than once, possibly by the
11164                         reconnection timeout function too.  And, when we start up, if we
11165                         can't get a connection to the bus, start the reconnection timeout.
11166                         But don't start the redraw timeout yet, only do that when we get
11167                         NM's state and find out if it's running or not.
11168
11169         * gnome/applet/applet.h
11170                 - Add the reconnection GSource ID
11171                 - Add prototypes for nma_set_running() and the no-longer-static
11172                         nma_update_state()
11173
11174 2006-10-24  Dan Williams  <dcbw@redhat.com>
11175
11176         * src/vpn-daemons/nm-dbus-vpnc.c
11177                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11178                         pending call tracker
11179                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11180                         pending call tracker; register one-vpn-connection update pending
11181                         call in pending call tracker
11182                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11183                         update pending call in pending call tracker
11184                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11185                         update pending call in pending call tracker; don't block waiting
11186                         for call to return
11187
11188 2006-10-19  Robert Love  <rml@novell.com>
11189
11190         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11191           refresh the cache.
11192
11193 2006-10-14  Dan Williams  <dcbw@redhat.com>
11194
11195         * src/dhcp-manager/nm-dhcp-manager.c
11196                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11197                 the dbus connection and the device object path rather than
11198                 constructing it inside both functions.  Saves a bit of memory
11199                 and clarifies a failure path.
11200                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11201                 and allocate device path here rather than each of the two
11202                 functions above.
11203
11204 2006-10-13  Dan Williams  <dcbw@redhat.com>
11205
11206         * src/NetworkManager.c
11207                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11208                 this somehow droppout in the refactor
11209
11210 2006-10-13  Dan Williams  <dcbw@redhat.com>
11211
11212         * Huge DBus refactor:
11213                 - Create a "DBus Manager" object which manages the connection and
11214                 sends signals on NameOwnerChanged and connection/disconnection events,
11215                 handles reconnection to the bus if NM gets kicked off, and abstracts
11216                 signal handling
11217                 - Remove DBusConnection members from places where they are no
11218                 longer needed due to the refactor, like the dbus-connection
11219                 property of the named manager, and from NMData
11220                 - Reformats a bunch of the code to gnome style
11221                 (8-space tabs, braces on same line as statement, 80-col width).
11222                 Consider it open season to reformat any bits to gnome style.
11223                 style that aren't already.
11224
11225 2006-10-13  Dan Williams  <dcbw@redhat.com>
11226
11227         * src/supplicant-manager/Makefile.am
11228                 - Add new files
11229
11230         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11231                 - Make it a minimal GObject
11232
11233         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11234                 - Verify settings destined for wpa_supplicant
11235
11236         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11237                 - Minimal GObject to track wpa_supplicant controlled device
11238                 connections
11239
11240 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11241
11242         * gnome/applet/applet.c: (nma_update_info),
11243         (nma_act_stage_to_pixbuf), (nma_update_state):
11244         Mark missing strings for translation. Fixes bug #343306.
11245
11246 2006-10-01  Dan Williams  <dcbw@redhat.com>
11247
11248         * src/vpn-manager/nm-vpn-manager.c
11249                 - (nm_vpn_manager_load_services): split and clean up
11250                 for readability and correctness.  Restrict VPN service
11251                 files to ending in ".name", as was meant from the
11252                 beginning (but not coded in).  Better error reporting.
11253
11254 2006-10-01  Dan Williams  <dcbw@redhat.com>
11255
11256         * utils/nm-utils.h
11257                 - Clean up formatting of debug/info/warning log messages
11258
11259 2006-09-27  Robert Love  <rml@novell.com>
11260
11261         Patch by Tambet Ingo <tambet@ximian.com>:
11262         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11263           actually work.
11264
11265 2006-09-07  Dan Williams <dcbw@redhat.com>
11266
11267         * test/Makefile.am
11268           test/libnm-util/Makefile.am
11269           test/nm-supplicant-test.c
11270                 - Add test program emulating the way NM drives wpa_supplicant
11271                 to help debug supplicant issues
11272
11273 2006-08-24  Dan Williams <dcbw@redhat.com>
11274
11275         * configure.in
11276           src/Makefile.am
11277           src/supplicant-manager/Makefile.am
11278           src/supplicant-manager/nm-supplicant-manager.c
11279           src/supplicant-manager/nm-supplicant-manager.h
11280                 - Add skeleton bits of the wpa_supplicant manager
11281
11282 2006-08-24  Dan Williams <dcbw@redhat.com>
11283
11284         Patch from Ed Catmur:
11285         * src/NetworkManagerUtils.c
11286                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11287                 if netmask is 0 (Gnome #352634)
11288
11289 2006-08-17  Robert Love  <rml@novell.com>
11290
11291         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11292           package is now DBUS-enabled and listens for the NM signals.
11293
11294 2006-08-14  Dan Williams  <dcbw@redhat.com>
11295
11296         * Patch from Christian Persch <chpe gnome org>
11297         * configure.in
11298           po/LINGUAS
11299           vpn-daemons/openvpn/po/LINGUAS
11300           vpn-daemons/openvpn/configure.in
11301           vpn-daemons/pptp/po/LINGUAS
11302           vpn-daemons/pptp/configure.in
11303           vpn-daemons/vpnc/po/LINGUAS
11304           vpn-daemons/vpnc/configure.in
11305                 - Convert to LINGUAS method so translators don't have to modify
11306                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11307                 0.35 or higher
11308
11309 2006-08-14  Dan Williams  <dcbw@redhat.com>
11310
11311         Patch from Alex Smith <alex.extreme2@gmail.com>
11312         * configure.in
11313           src/backends/Makefile.am
11314           src/backends/NetworkManagerFrugalware.c
11315                 - Add support for Frugalware
11316
11317 2006-08-13  Dan Williams  <dcbw@redhat.com>
11318
11319         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11320         * src/nm-device-802-11-wireless.c
11321                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11322                 Gnome #346875
11323
11324 2006-08-13  Dan Williams  <dcbw@redhat.com>
11325
11326         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11327         * src/nm-ap-security.c
11328           src/nm-ap-security.h
11329                 - Add authentication_required bits for subclasses to specify whether
11330                 or not real authentication is required for connections, i.e. whether
11331                 the AP rejects us when an encryption key is wrong or not.
11332
11333         * src/nm-ap-security-wep.c
11334           src/nm-ap-security-wpa-eap.c
11335           src/nm-ap-security-wpa-psk.c
11336           src/nm-ap-security-leap.c
11337                 - Implement authentication_required appropriately for each method
11338
11339         * src/nm-device-802-11-wireless.c
11340                 - Be smarter about when to request a key; for example, using a wrong key
11341                 in WEP shared key mode previously just timed out and did not request
11342                 a new key
11343
11344 2006-08-13  Dan Williams  <dcbw@redhat.com>
11345
11346         * gnome/libnm_glib/libnm_glib.c
11347                 - dbus_connection_disconnect() -> dbus_connection_close() for
11348                 dbus >= 0.90
11349
11350 2006-08-07  Dan Williams  <dcbw@redhat.com>
11351
11352         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11353         * src/NetworkManagerSystem.c
11354                 - Respect specified MTU.  Gnome #344967
11355
11356 2006-08-07  Dan Williams  <dcbw@redhat.com>
11357
11358         * src/vpn-manager/nm-vpn-service.c
11359                 - Simplify print_vpn_config() arguments
11360
11361         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11362         * src/vpn-manager/Makefile.am
11363           src/vpn-manager/nm-vpn-service.c
11364                 - Add new API for passing VPN config options as a dict. Gnome #344967
11365
11366 2006-08-06  Dan Williams  <dcbw@redhat.com>
11367
11368         * gnome/applet/applet-dbus-devices.c
11369           gnome/applet/applet-dbus-vpn.c
11370           gnome/applet/applet-dbus.c
11371           gnome/applet/applet-dbus.h
11372           src/nm-dbus-nmi.c
11373           utils/nm-utils.c
11374           utils/nm-utils.h
11375                 - Make pending call tracking code generic,
11376                 so we can use it in NM as well as the applet
11377
11378 2006-08-06  Dan Williams  <dcbw@redhat.com>
11379
11380         * src/nm-activation-request.c
11381                 - Refcount pending call objects
11382
11383 2006-08-06  Dan Williams  <dcbw@redhat.com>
11384
11385         Patch from Christan Chiesa <christanc@gmail.com>
11386         * configure.in
11387                 - Tell sha1.c to use bigendian mode on PPC
11388
11389 2006-08-04  Robert Love  <rml@novell.com>
11390
11391         Glib Memory Slices!
11392         * configure.in: Require glib 2.10 or later.
11393         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11394           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11395           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11396           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11397           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11398           Memory Slices are the greatest thing since bread slices.
11399         * src/NetworkManagerAP.c: Also, fix memory leak.
11400
11401 2006-08-01  Robert Love  <rml@novell.com>
11402
11403         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11404
11405 2006-07-31  Robert Love  <rml@novell.com>
11406
11407         * src/backends/interface_parser.c: Declarations must begin the block.
11408
11409 2006-07-24  Dan Williams  <dcbw@redhat.com>
11410
11411         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11412         * src/backends/Makefile.am
11413           src/backends/NetworkManagerArch.c
11414           src/backends/NetworkManagerDebian.c
11415           src/backends/NetworkManagerGeneric.c
11416           src/backends/NetworkManagerGeneric.h
11417           src/backends/NetworkManagerGentoo.c
11418           src/backends/NetworkManagerPaldo.c
11419           src/backends/NetworkManagerRedHat.c
11420           src/backends/NetworkManagerSlackware.c
11421           src/backends/NetworkManagerSuSE.c
11422                 - Genericize common backend functions
11423
11424 2006-07-18  Robert Love  <rml@novell.com>
11425
11426         * configure.in: Add "--with-notify" option to allow disabling of
11427           libnotify support.
11428
11429 2006-07-13  Dan Williams  <dcbw@redhat.com>
11430
11431         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11432         * gnome/applet/applet.glade
11433           gnome/applet/Makefile.am
11434           gnome/applet/nm-gconf-wso.c
11435           gnome/applet/nm-gconf-wso-leap.c
11436           gnome/applet/nm-gconf-wso-leap.h
11437           gnome/applet/wireless-security-manager.c
11438           gnome/applet/wso-leap.c
11439           gnome/applet/wso-leap.h
11440           include/NetworkManager.h
11441           libnm-util/dbus-helpers.c
11442           libnm-util/dbus-helpers.h
11443           src/Makefile.am
11444           src/NetworkManagerAP.c
11445           src/nm-ap-security.c
11446           src/nm-ap-security-leap.c
11447           src/nm-ap-security-leap.h
11448                 - Add LEAP authentication support
11449
11450 2006-07-13  Dan Williams  <dcbw@redhat.com>
11451
11452         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11453         * configure.in
11454           src/backends/NetworkManagerArch.c
11455           src/backends/NetworkManagerDebian.c
11456           src/backends/NetworkManagerGentoo.c
11457           src/backends/NetworkManagerPaldo.c
11458           src/backends/NetworkManagerRedHat.c
11459           src/backends/NetworkManagerSlackware.c
11460           src/backends/NetworkManagerSuSE.c
11461                 - Convert hardcoding of 'ip' path to configure-time
11462                         detected one
11463
11464 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11465
11466         * configure.in: added ru to ALL_LINGUAS
11467
11468 2006-07-10  Dan Williams  <dcbw@redhat.com>
11469
11470         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11471         * src/nm-device.c
11472                 - (real_act_stage3_ip_config_start): don't infinite loop when
11473                         dhcdbd isn't running (Gnome #346845)
11474
11475 2006-07-09  Dan Williams  <dcbw@redhat.com>
11476
11477         * gnome/applet/applet.c
11478                 - (nma_destroy): don't pass NULL to notify_notification_close
11479                         (RH #197917)
11480
11481 2006-07-09  Dan Williams  <dcbw@redhat.com>
11482
11483         * gnome/applet/applet.c
11484                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11485
11486 2006-07-04  Tor Krill  <tor@krill.nu>
11487
11488         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11489         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11490         (nm_system_restart_mdns_responder), (ArchReadConfig),
11491         (nm_system_device_get_system_config):
11492                 - Explicitly check for DHCP configuration
11493                 - Check if daemons are running before starting them
11494
11495 2006-06-25  Dan Williams  <dcbw@redhat.com>
11496
11497         * libnm-util/dbus-dict-helpers.[ch]
11498           test/libnm-util/test-dbus-dict-helpers.c
11499                 - Add string array support
11500
11501 2006-06-24  Dan Williams  <dcbw@redhat.com>
11502
11503         * src/dhcp-manager/nm-dhcp-manager.c
11504                 - (nm_dhcp_manager_process_signal): clean up spacing
11505
11506 2006-06-21  Dan Williams  <dcbw@redhat.com>
11507
11508         * src/nm-dbus-device.c
11509                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11510                         through dbus
11511
11512 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11513
11514         * configure.in: Added 'lv' to ALL_LINGUAS
11515
11516 2006-06-19  Dan Williams  <dcbw@redhat.com>
11517
11518         * src/NetworkManagerAP.c
11519                 - Clarify usage of user_created
11520
11521         * src/nm-ap-security-wep.c
11522           src/nm-ap-security-wpa-eap.c
11523           src/nm-ap-security-wpa-psk.c
11524           src/nm-ap-security.c
11525           src/nm-ap-security.h
11526                 - s/user_created/adhoc, because we really do mean adhoc
11527
11528         Patch from Bernard Blackham <bernard@blackham.com.au>
11529         * src/nm-device-802-11-wireless.c         
11530                 - (supplicant_send_network_config): instead of user_created,
11531                         use adhoc, and do AP_SCAN 2 for adhoc networks
11532
11533 2006-06-18  Robert Love  <rml@novell.com>
11534
11535         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11536           we have a value to set.  Gconf generates a warning if `val' is NULL.
11537         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11538           unless we actually received a valid private key file passphrase or
11539           password.  Otherwise, we don't know to later ask the applet to pull
11540           the key from the keyring.
11541
11542 2006-06-17  Dan Williams  <dcbw@redhat.com>
11543
11544         * libnm-util/dbus-dict-helpers.[ch]
11545           test/libnm-util/test-dbus-dict-helpers.c
11546                 - Fixes for zero-length byte arrays
11547                 - Replace return values of 0 with FALSE for clarity
11548                 - Test zero-length byte arrays
11549
11550 2006-06-17  Dan Williams  <dcbw@redhat.com>
11551
11552         * libnm-util/dbus-dict-helpers.[ch]
11553           test/libnm-util/test-dbus-dict-helpers.c
11554                 - Add helpers for byte arrays
11555                 - Rework bits of the testcase
11556
11557 2006-06-16  Dan Williams  <dcbw@redhat.com>
11558
11559         * libnm-util/Makefile.am
11560         * libnm-util/dbus-dict-helpers.[ch]
11561                 - Add some helpers to take the pain out of using dict types in
11562                         dbus.
11563
11564         * test/libnm-util/Makefile.am
11565         * test/libnm-util/test-dbus-dict-helpers.c
11566                 - Test cases for the dict helper functions
11567
11568 2006-06-15  Robert Love  <rml@novell.com>
11569
11570         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11571           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11572           if there is no key to pass.
11573         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11574           receiving a non-NULL key.
11575
11576 2006-06-14  Robert Love  <rml@novell.com>
11577
11578         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11579           copy the strings.
11580
11581
11582 2006-06-14  Dan Williams  <dcbw@redhat.com>
11583
11584         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11585         * src/nm-device-802-11-wireless.c
11586                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11587                         or ones where the driver is unknown
11588                 - (supplicant_exec): don't wait for supplicant startup here
11589                 - (supplicant_interface_init): finer grained polling for supplicant
11590                         startup
11591
11592 2006-06-13  Robert Love  <rml@novell.com>
11593
11594         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11595           if it is currently set to TRUE.  Otherwise, we will reset the value
11596           when we connect normally.
11597         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11598           the old BSSID is valid, too.  The recently added ESSID check may not be
11599           sufficient (we can remove it?).  What we really want to catch is the
11600           case of going from all-zeros to the BSSID of some other network, which
11601           happens on failure.
11602
11603 2006-06-09  Dan Williams  <dcbw@redhat.com>
11604
11605         * src/NetworkManagerSystem.[ch]
11606                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11607                         it was unused and pointless
11608                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11609                         fix for set_up_down_with_iface change
11610
11611         * src/vpn-manager/nm-vpn-connection.c
11612                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11613
11614         * src/backends/NetworkManagerPaldo.c
11615           src/backends/NetworkManagerRedHat.c
11616           src/backends/NetworkManagerSuSE.c
11617           src/backends/NetworkManagerArch.c
11618           src/backends/NetworkManagerDebian.c
11619           src/backends/NetworkManagerGentoo.c
11620                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11621                         appropriate
11622                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11623                         where appropriate
11624
11625 2006-06-09  Dan Williams  <dcbw@redhat.com>
11626
11627         Patch from Peter Jones:
11628         * src/nm-device-802-11-wireless.c
11629                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11630                         SSID hasn't changed from what we expect before automatically
11631                         updating the saved BSSID from a new AP
11632
11633 2006-06-08  Robert Love  <rml@novell.com>
11634
11635         Add 'fallback' support.  NetworkManager will attempt to brute-force
11636         connect to networks marked as fallback if there are no better wireless
11637         connections available.  This is useful as a method of last resort, to
11638         work around driver problems, and for use with hidden networks.
11639         * gnome/applet/applet-dbus-devices.c,
11640           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11641         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11642           pass it on via DBUS.
11643         * gnome/applet/applet.c: No fallback by default.
11644         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11645           Update other-network-dialog to add UI checkbox toggling fallback.
11646         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11647           propery from AP object.  Add "fallback" property to AP object.
11648         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11649         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11650         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11651           separate function.  Add get_best_fallback_ap() for returning an AP
11652           on which to attempt fallback.
11653         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11654         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11655
11656 2006-06-07  Robert Love  <rml@novell.com>
11657
11658         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11659           checked that the return type was GCONF_VALUE_STRING, not the correct
11660           GCONF_VALUE_BOOL, and thus it never worked.
11661         * src/NetworkManagerAPList.c: Before concluding that two networks are
11662           identical based on their BSSID, make sure that the BSSID in question
11663           is actually valid.  Specifically, an empty or all zero BSSID does not
11664           cut it.
11665         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11666           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11667           similar invariant clean up.
11668
11669 2006-06-02  Robert Love  <rml@novell.com>
11670
11671         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11672
11673 2006-05-28  Dan Williams  <dcbw@redhat.com>
11674
11675         * gnome/applet/applet.glade
11676           gnome/vpn-properties/nm-vpn-properties.glade
11677                 - Set window icons on dialogs  (Gnome.org #333420)
11678
11679 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11680
11681         * gnome/vpn-properties/nm-vpn-properties.glade:
11682         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11683         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11684         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11685                 - Make the VPN properties pages prettier and more HIG
11686                   compliant. Gnome Bug #336913.
11687
11688 2006-05-28  Dan Williams  <dcbw@redhat.com>
11689
11690         Patch from Christian Persch <chpe@gnome.org>
11691         * gnome/vpn-properties/nm-vpn-properties.c
11692         * gnome/vpn-properties/nm-vpn-properties.glade
11693                 - HIG-ification love  (Gnome.org #336846)
11694
11695 2006-05-28  Dan Williams  <dcbw@redhat.com>
11696
11697         Patch from Christian Persch <chpe@gnome.org>
11698         * configure.in
11699           gnome/vpn-properties/nm-vpn-properties.c
11700                 - (main): Fix option parsing.  Gnome.org #336847
11701
11702 2006-05-28  Dan Williams  <dcbw@redhat.com>
11703
11704         * gnome/vpn-properties/nm-vpn-properties.c
11705                 - (find_vpn_ui_by_service_name): protect against NULL service names
11706                 - (update_edit_del_sensitivity): protect against NULL service names
11707                         Gnome.org #341306
11708
11709 2006-05-28  Dan Williams  <dcbw@redhat.com>
11710
11711         Patch from Chris Fuller <crf@grandecom.net>:
11712         * src/nm-device-802-11-wireless.c
11713                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11714                         don't dispose of wireless-specific stuff unless it is actually
11715                         initialized.  Gnome.org #341263
11716
11717 2006-05-28  Dan Williams  <dcbw@redhat.com>
11718
11719         * src/NetworkManagerPolicy.c
11720                 - (nm_policy_device_change_check): don't switch devices if the "best"
11721                         AP is essentially the same as the current activation request, but
11722                         the current activation request isn't done activating yet.  Fixes
11723                         multiple requests for keyring password on startup for Gnome applet.
11724                         Gnome.org #341297
11725
11726 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11727
11728         * src/NetworkManager.c: use GOptions instead of getopt
11729         * configure.in: bump glib required version to >= 2.6 for GOption
11730           support
11731
11732 2006-05-25  Robert Love  <rml@novell.com>
11733
11734         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11735           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11736           instead of dumping ifdef's throughout the code.
11737         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11738           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11739           use nm_ioctl_info() in lieu.
11740
11741 2006-05-25  Robert Love  <rml@novell.com>
11742
11743         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11744         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11745           not using gcrypt.  Otherwise, we get a linker error.
11746
11747 2006-05-25  Robert Love  <rml@novell.com>
11748
11749         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11750         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11751           configure flag to disable building of the GNOME-based applet.
11752
11753 2006-05-25  Robert Love  <rml@novell.com>
11754
11755         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11756           parameter from link, because it shadows a global variable with some
11757           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11758           should never have exported to the entire system a common four letter
11759           word.  But we here at NetworkManager are team players.  Fixes
11760           GNOME bug #336532.
11761
11762 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11763
11764         * configure.in: Added mk.po, Macedonian translation.
11765
11766 2006-05-24  Robert Love  <rml@novell.com>
11767
11768         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11769           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11770           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11771
11772 2006-05-24  Robert Love  <rml@novell.com>
11773
11774         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11775           libnm-util/Makefile.am, src/Makefile.am,
11776           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11777           vpn-daemons/openvpn/properties/Makefile.am,
11778           vpn-daemons/pptp/auth-dialog/Makefile.am,
11779           vpn-daemons/pptp/properties/Makefile.am,
11780           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11781           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11782           user passed for --datadir, if anything, when setting the GNOME locale
11783           directory.  It should be a function of the specified datadir and not
11784           the prefix.
11785
11786 2006-05-24  Robert Love  <rml@novell.com>
11787
11788         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11789           src/NetworkManager.c: Take care to call bindtextdomain with the
11790           location of msgid files.
11791         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11792           files.
11793
11794 2006-05-22  Robert Love  <rml@novell.com>
11795
11796         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11797           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11798           99% of the time there is a real problem with wireless, and a
11799           seemingly successful connection via Zeroconf just confuses the user.
11800           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11801
11802 2006-05-22  Robert Love  <rml@novell.com>
11803
11804         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11805           autofs on interface up if NIS is configured.  On interface down, do
11806           nothing.
11807
11808 2006-05-22  Robert Love  <rml@novell.com>
11809
11810         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11811           to avoid calling g_object_unref() on stale pointers on error in
11812           nma_icons_free().  This happens because we short-circuit loaded the
11813           icons on the first failure but then free all icons.  Normally we have
11814           no issue because the icons were zero'ed out malloc, but we have stale
11815           pointer data after nma_icon_theme_changed().
11816         * gnome/applet/main.c: Return error code if nma_new() failed.
11817
11818 2060-05-21  Dan Williams  <dcbw@redhat.com>
11819
11820         * initscript/NetworkManager.in
11821                 - Ensure both dhcdbd and named are started before NM
11822
11823 2006-05-21  Dan Williams  <dcbw@redhat.com>
11824
11825         * configure.in
11826                 - Bump version to 0.7 to signify we are in 0.7 development
11827
11828 2006-05-21  Dan Williams  <dcbw@redhat.com>
11829
11830         Patch from Adam Schreiber <sadam@clemson.edu>
11831         * gnome/vpn-properties/nm-vpn-properties.c
11832                 - (main): correct Gnome program name  (gnome.org #342498)
11833
11834 2006-05-21  Dan Williams  <dcbw@redhat.com>
11835
11836         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11837
11838         * src/NetworkManagerDbus.[ch]
11839                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11840                         clarify that function's argument should be an escaped dbus object
11841                         path, and look for path segment end before returning a match
11842         * src/nm-dbus-nm.c:
11843                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11844
11845 2006-05-17  Robert Love  <rml@novell.com>
11846
11847         Functionality to differentiate Ad-Hoc networks from infrastructure
11848         networks in the applet, by displaying a special icon:
11849         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11850         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11851         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11852           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11853           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11854           networks, encrypted or not.
11855         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11856           accessor functions to get and set the mode of a given network,
11857           wireless_network_get_mode() and wireless_network_set_mode().
11858
11859 2006-05-17  Robert Love  <rml@novell.com>
11860
11861         Functionality to automatically add BSSIDs to the allowed-MAC list as
11862         one roams from access point to access point on a given network:
11863         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11864           helper function to compare two ether_addr structures and return TRUE
11865           if they contain the same MAC address.
11866         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11867           prototype.
11868         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11869           stored with the current AP.  If the BSSID has indeed changed, we
11870           send it out to the applet, allowing the allowed-MAC list to grow
11871           automatically in response to roaming.
11872
11873 2006-05-16  Robert Love  <rml@novell.com>
11874
11875         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11876           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11877
11878 2006-05-13  Dan Williams  <dcbw@redhat.com>
11879
11880         * src/nm-device-802-3-ethernet.c
11881                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11882                         carrier detect (Debian bug #366373)
11883
11884 2006-05-11  Dan Williams  <dcbw@redhat.com>
11885
11886         Patch from Michael Biebl <biebl@teco.edu>
11887         * src/backends/NetworkManagerDebian.c
11888                 - Debian backend fixups
11889
11890 2006-05-10  Robert Love  <rml@novell.com>
11891
11892         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11893
11894 2006-05-09  Robert Love  <rml@novell.com>
11895
11896         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11897           private certificate passphrase, if any, in the GNOME Keyring.
11898         * libnm-utils/dbus-helpers.c: Update.
11899
11900 2006-05-05  Dan Williams  <dcbw@redhat.com>
11901
11902         * src/nm-device-802-11-wireless.c
11903                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11904                         nm_device_802_11_wireless_disable_encryption() since that's all
11905                         we use it for anymore; we don't ever set WEP keys ourselves.
11906                 - (real_deactivate_quickly): reset SSID and encryption keys
11907                 - (real_deactivate): move SSID and encryption key reset to
11908                         real_deactivate_quickly(), which gets run before us anyway
11909
11910 2006-05-05  Robert Love  <rml@novell.com>
11911
11912         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11913           root has a wacky default of its own (or, more common, a user has a
11914           bad umask and uses su/sudo to restart NetworkManager).  Anything
11915           other than 0022 does not do what we want with, for example,
11916           resolv.conf.  This problem is amplified by our judicious use of
11917           fopen(), which uses mode 0666 -- implying that the only way to get
11918           the permissions we want is with a umask of 0022.
11919
11920 2006-05-05  Dan Williams  <dcbw@redhat.com>
11921
11922         * gnome/libnm_glib/libnm_glib.c
11923                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11924                         to reconnect; instead wait a bit more with each reconnect attempt
11925                         up to a max of one minute.
11926
11927 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11928
11929         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11930           the WirelessNetwork structure using the proper function instead of
11931           just casting it directly to (const char *) (gnome.org #336991)
11932
11933 2006-05-03  Robert Love  <rml@novell.com>
11934
11935         * src/backends/NetworkManagerSuSE.c: Respect the variable
11936           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11937           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11938           to dynamically update /etc/resolv.conf.
11939
11940 2006-05-02  Peter Jones  <pjones@redhat.com>
11941
11942         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11943
11944 2006-05-02  Robert Love  <rml@novell.com>
11945
11946         Patch by Timo Hoenig;
11947         * tests/nm-online.c: Print pretty status indicator as timeout winds
11948           down.  Also fix possible race between DBUS startup and failure
11949           return.
11950
11951 2006-05-01  Robert Love  <rml@novell.com>
11952
11953         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11954           empty, too.
11955
11956 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11957
11958         * src/nm-device.c (discover_device_type): Actually use the hal
11959         device type instead of ioctl poking
11960
11961 2006-04-26  Robert Love  <rml@novell.com>
11962
11963         * tests/nm-online.c: New file.  Simple utility that returns exit status
11964           noting whether the connection is offline or online.  If offline on
11965           start, it waits 30 seconds (or a command-line given value) for an
11966           online signal.  If it times out, it again returns offline.  This is
11967           useful for scripts that want to wait for network connections.
11968
11969 2006-04-25  Robert Love  <rml@novell.com>
11970
11971         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11972           key mode (the authentication algorithm), e.g. open or shared, when we
11973           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11974           only shared was broken.  If the user specified a shared key, set it
11975           explicitly, otherwise let wpa_supplicant go with the default.
11976
11977 2006-04-24  Dan Williams  <dcbw@redhat.com>
11978
11979         * src/nm-device-802-11-wireless.c
11980                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11981
11982 2006-04-24  Dan Williams  <dcbw@redhat.com>
11983
11984         Commit the async scanning patch
11985
11986         * src/nm-device-802-11-wireless.c
11987                 - get rid of scan_mutex
11988                 - (wireless_event_helper): act on wireless scan events
11989                 - (real_start): schedule a pending scan
11990                 - (link_to_specific_ap): fake the link to the AP during a scan
11991                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11992                         strength during scans
11993                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11994                         nm_device_set_bitrate): unused with new scanning code, disable
11995                 - (nm_device_wireless_schedule_scan): removed
11996                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11997                 - (request_and_convert_scan_results): new function; retrieve scan
11998                         results from the driver and schedule the processing function
11999                 - (scan_results_timeout): timeout triggered when card doesn't send
12000                         a scan results wireless event during a certain interval
12001                 - (schedule_scan_results_timeout): new function; schedule the scan
12002                         results timeout
12003                 - (cancel_scan_results_timeout): new function; cancel the scan
12004                         results timeout
12005                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12006                         to do the scanning.  Otherwise, just request a scan but don't
12007                         grab results here; instead schedule a timeout for scan results and
12008                         let netlink notify us of scan completion events
12009                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12010                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12011                 - (supplicant_status_cb): ignore disconnect events while scanning
12012                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12013                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12014                         timeouts
12015                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12016
12017 2006-04-24  Dan Williams  <dcbw@redhat.com>
12018
12019         * gnome/applet/applet-dbus.c
12020                 - Disable the pending call debug stuff, seems under control now
12021
12022 2006-04-20  Robert Love  <rml@novell.com>
12023
12024         Fix bug where hidden ESSID's would not show up in the applet, even
12025         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12026         because nm_policy_device_list_update_from_allowed_list() would merge
12027         the data, putting a name to the hidden networks, but never notify NMI
12028         of the changes.  Simple fix is to invoke the function
12029         nm_dbus_signal_wireless_network_change() if we make a mapping.
12030         * src/NetworkManagerAPList.c: Call the function
12031           nm_dbus_signal_wireless_network_change() if we made a successful
12032           BSSID to ESSID mapping, notifying the applet of the "new" network.
12033         * src/NetworkManagerAPList.h: Update the prototypes for both
12034           nm_ap_list_copy_essids_by_address() and
12035           nm_ap_list_copy_one_essid_by_address().
12036
12037 2006-04-20  Robert Love  <rml@novell.com>
12038
12039         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12040           not set.  Just return zero.
12041
12042 2006-04-20  Robert Love  <rml@novell.com>
12043
12044         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12045           only one copy of nm-vpn-properties is running at a time via the 'ol
12046           X selection trick.  This prevents the user from opening two "VPN
12047           Connections" windows from within the applet, which leads to mass
12048           hysteria.
12049         * clipboard.c: New file, implementing simple X selection logic.
12050         * clipboard.h: New file.
12051         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12052
12053 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12054
12055         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12056         * configure.in
12057           initscript/Gentoo/Makefile.am
12058           initscript/Gentoo/NetworkManagerDispatcher.in
12059                 - New script
12060         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12061           Gentopia
12062
12063 2006-04-16  Dan Williams  <dcbw@redhat.com>
12064
12065         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12066         * configure.in
12067           initscript/Slackware/Makefile.am
12068           initscript/Slackware/rc.networkmanager-dispatcher.in
12069           initscript/Slackware/rc.networkmanager.in
12070                 - Update slackware initscripts
12071
12072 2006-04-10  Robert Love  <rml@novell.com>
12073
12074         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12075           the "delete_event" signal on the druid's parent window and handle it
12076           our way, lest using the WM to close the druid results in a series of
12077           bloody and ultimately lethal errors.
12078
12079 2006-04-10  Robert Love  <rml@novell.com>
12080
12081         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12082           'Back' too or else the 'Forward' option is initially disabled despite
12083           valid input.
12084
12085 2006-04-06  Robert Love  <rml@novell.com>
12086
12087         Fix bad but simple bug where an active modem connection did not update
12088         NM's connection state, breaking any app that did online/offline:
12089         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12090           represented whether a dial up connection is active, or not.
12091         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12092           to modem activation and deactivation.
12093         * src/NetworkManagerDbus.c: When asked our state, do not return
12094           disconnected if the modem is active.
12095
12096 2006-04-04  Robert Love  <rml@novell.com>
12097
12098         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12099           applet.  It just confuses the crap out of people and does not make a
12100           lot of sense, as the daemon still runs.
12101
12102 2006-04-02  Tor Krill  <tor@krill.nu>
12103
12104         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12105           in start of service.
12106         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12107           get Archlinux backend up to date.
12108
12109 2006-03-29  Robert Love  <rml@novell.com>
12110
12111         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12112         to add support for per-route MSS and improve support for per-interface
12113         MTU:
12114         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12115           optionally take an MSS parameter and set it for the given route.
12116           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12117           NMIP4Config's stored MSS, if any.
12118         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12119           the interface's MTU and the route's MSS, respectively.  Add functions
12120           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12121           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12122           MSS.
12123         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12124           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12125           nm_ip4_config_set_mss.
12126         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12127           VPN daemon.
12128         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12129           Change the retval of nm_system_get_mtu to guint32.
12130         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12131           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12132           servers can specify MTU's, we should set it here if the MTU was not
12133           provided.
12134
12135 2006-03-27  Jürg Billeter  <j@bitron.ch>
12136
12137         * configure.in:
12138         * initscript/Makefile.am:
12139         * initscript/paldo/Makefile.am:
12140         * initscript/paldo/NetworkManager.in:
12141         * initscript/paldo/NetworkManagerDispatcher.in:
12142         * src/backends/Makefile.am:
12143         * src/backends/NetworkManagerPaldo.c:
12144                 - Add paldo support
12145
12146 2006-03-27  Dan Williams  <dcbw@redhat.com>
12147
12148         Patch from Christian Persch <chpe@gnome.org>
12149         * gnome/applet/applet.glade
12150                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12151
12152 2006-03-27  Dan Williams  <dcbw@redhat.com>
12153
12154         Patch from Diffe <diffie@blazebox.homeip.net>
12155         * src/backends/NetworkManagerSlackware.c
12156                 - Don't restart howl, since it's been replaced by Avahi
12157                         in most distributions
12158
12159 2006-03-27  Dan Williams  <dcbw@redhat.com>
12160
12161         Patch from Tor Krill <bugzilla@krill.nu>
12162         * configure.in
12163           initscript/Makefile.am
12164           src/backends/Makefile.am
12165           src/backends/NetworkManagerArch.c
12166           initscript/Arch/Makefile.am
12167           initscript/Arch/networkmanager-dispatcher.in
12168           initscript/Arch/networkmanager.in
12169                 - Add Arch Linux support, fixes gnome.org #335147
12170
12171 2006-03-27  Dan Williams  <dcbw@redhat.com>
12172
12173         Patch from Diffe <diffie@blazebox.homeip.net>
12174      * initscript/Slackware/rc.networkmanager
12175         - update, fixed gnome.org #333368
12176
12177 2006-03-27  Robert Love  <rml@novell.com>
12178
12179         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12180           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12181
12182 2006-03-27  Robert Love  <rml@novell.com>
12183
12184         Patch by Jürg Billeter <j@bitron.ch>:
12185         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12186           systems.
12187         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12188           as we prefer glibc over kernel headers, if possible.
12189
12190 2006-03-27  Robert Love  <rml@novell.com>
12191
12192         Patch by Jon Escombe <list@dresco.co.uk>:
12193         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12194         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12195           fail, don't bail out.  We don't expect all of the various WPA-EAP
12196           values to be present.
12197         * src/nm-ap-security.c: We need to match all capabilities for each
12198           encryption type, not any one of them.
12199
12200 2006-03-27  Robert Love  <rml@novell.com>
12201
12202         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12203           restart, not reload, ypbind.  Unfortunately there is no superior
12204           solution.
12205
12206 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12207
12208         * gnome/applet/applet-notifications.c:
12209         When displaying a notification, make sure to get rid of the
12210         previous notification so as to not have competing bubbles,
12211         and stop leaking the old one.
12212
12213         * gnome/applet/applet.c:
12214         * gnome/applet/applet.h:
12215         Add a new 'notification' member to the applet, and zero it out
12216         and free it appropriately.
12217
12218 2006-03-23  Robert Love  <rml@novell.com>
12219
12220         Patch by j <j@bootlab.org>:
12221         * gnome/applet/applet.glade: Don't set the invisible_char property,
12222           which simply overrides the GTK default.  By and by, this behavior
12223           ought to be fixed in Glade.
12224
12225 2006-03-22  Robert Love  <rml@novell.com>
12226
12227         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12228
12229 2006-03-22  Robert Love  <rml@novell.com>
12230
12231         Bug fix by Timo Hoenig <thoenig@suse.de>:
12232         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12233           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12234           and the applet going AWOL.
12235
12236 2006-03-22  Robert Love  <rml@novell.com>
12237
12238         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12239           preprocessor define and use it instead of open-coded the DHCP
12240           timeout, which is currently 25 seconds, everywhere.
12241
12242 2006-03-22  Robert Love  <rml@novell.com>
12243
12244         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12245         key exchange via WPA, ostensibly providing good security without
12246         requiring hardware that supports full WPA.  Also, add UI elements to
12247         allow the user to select the pairwise & group cipher for WPA Enterprise
12248         networks, too:
12249         * gnome/applet/applet.glade: Update glade file.
12250         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12251           key type, too, to and from gconf.
12252         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12253           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12254           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12255           the capabilities match.
12256         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12257           prototype.
12258         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12259           serialize from UI to DBUS.
12260         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12261           one element.
12262         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12263           nmu_security_serialize_wpa_eap_with_cipher(), and
12264           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12265           serialize/deserialize the key type via DBUS as the new third DBUS
12266           parameter.
12267         * libnm-util/dbus-helpers.h: Update prototypes.
12268         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12269           too.  If the key type is WEP104, do Dynamic WEP, which means
12270           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12271           pairwise and group ciphers (fixes a FIXME).
12272
12273 2006-03-21  Robert Love  <rml@novell.com>
12274
12275         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12276           nm_system_get_mtu(), which returns a user-provided or system-mandated
12277           MTU value for a given device, if any, or zero if no such value
12278           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12279           if we have a provided value.
12280         * src/nm-device.c: Set the MTU of devices.
12281         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12282         * src/backends/NetworkManagerDebian.c,
12283           src/backends/NetworkManagerGentoo.c,
12284           src/backends/NetworkManagerRedHat.c,
12285           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12286
12287 2006-03-21  Robert Love  <rml@novell.com>
12288
12289         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12290           configuration file.
12291
12292 2006-03-17  Robert Love  <rml@novell.com>
12293
12294         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12295           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12296           it, in case it is not running in the first place.  We just want its
12297           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12298
12299 2006-03-15  Robert Love  <rml@novell.com>
12300
12301         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12302           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12303           label "WEP 40/128-bit" is inconsistent because the physical key size
12304           is 40 or 104-bits, to which a 24-bit initialisation vector is
12305           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12306           to read "40/104" or "64/128".  I do not care much which, but most
12307           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12308           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12309           WEP passphrase support only handles 128-bit keys, and any future
12310           64-bit passphrase support will require a new option (no way to auto-
12311           detect the target key size), explicitly label our passphrase support
12312           "WEP 128-bit Passphrase".
12313
12314 2006-03-15  Robert Love  <rml@novell.com>
12315
12316         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12317           the system init scripts (or some other mechanism) starting it (or a
12318           compatible DBUS service) before NetworkManager runs.  This means that
12319           distributions might need to update their init scripts.  This fixes
12320           possible races and is quite a bit cleaner.
12321         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12322           starting the NetworkManager daemon.
12323
12324
12325 2006-03-14  Robert Love  <rml@novell.com>
12326
12327         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12328           before adding anything.
12329
12330 2006-03-13  Robert Love  <rml@novell.com>
12331
12332         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12333           widgets, too, if they exist, in case the user hit the back button.
12334           Fixes a bug where the details page contains the widgets of multiple
12335           VPN modules (Novell bug #157048).
12336
12337 2006-03-13  Robert Love  <rml@novell.com>
12338
12339         Patch by Timo Hoenig <thoenig@suse.de>:
12340         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12341           daemon survive DBUS restarts, too.
12342
12343 2006-03-10  Robert Love  <rml@novell.com>
12344
12345         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12346           passphrase or key.
12347         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12348           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12349           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12350           in response to "toggled" signal on new toggle.
12351
12352 2006-03-10  Robert Love  <rml@novell.com>
12353
12354         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12355           serialization if strings are NULL, lest DBUS get angry.
12356
12357 2006-03-10  Robert Love  <rml@novell.com>
12358
12359         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12360
12361 2006-03-09  Robert Love  <rml@novell.com>
12362
12363         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12364           configurations.
12365
12366 2006-03-09  Dan Williams  <dcbw@redhat.com>
12367
12368         Track pending call requests in the applet, and report how many are
12369         outstanding, and how long each completed one takes.
12370         
12371         * gnome/applet/applet-dbus-devices.c
12372           gnome/applet/applet-dbus-vpn.c
12373                 - Track pending calls
12374
12375         * gnome/applet/applet-dbus.[ch]
12376                 - Remove some unused enums
12377                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12378                         new functions to track dbus pending calls and spit out some
12379                         statistics about them
12380
12381 2006-03-09  Robert Love  <rml@novell.com>
12382
12383         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12384           nm_ap_set_timestamp() take the second and micro-second parameters as
12385           direct arguments, which avoids both a dynamic memory allocation and a
12386           structure-to-structure copy!  Add a new interface, the aptly named
12387           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12388           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12389           the return from nm_ap_get_timestamp().  New users should use the new
12390           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12391           the extreme benefit to performance.
12392         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12393           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12394
12395 2006-03-08  Robert Love  <rml@novell.com>
12396
12397         * gnome/applet/applet.glade: Hide the password entry text with
12398           asterisks.
12399
12400 2006-03-08  Robert Love  <rml@novell.com>
12401
12402         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12403           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12404           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12405           a second argument, NMData.
12406         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12407         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12408           config files as trusted.
12409
12410 2006-03-06  Robert Love  <rml@novell.com>
12411
12412         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12413         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12414           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12415           Rivera, detect if the applet was auto-started.  If so, ask the user
12416           if he or she would like to stop automatically running the applet on
12417           login.  If so, disable autostart.
12418
12419 2006-03-06  Robert Love  <rml@novell.com>
12420
12421         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12422           directory in CFLAGS so developers can actually use NetworkManager.h.
12423
12424 2006-03-06  Robert Love  <rml@novell.com>
12425
12426         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12427           open-coded integer constants.  Add state_to_string() to map a given
12428           state to a textual description, and provide that when notifying of
12429           state change.
12430         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12431           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12432           this header directly, but it is currently not installed on most
12433           systems.
12434
12435 2006-03-05  Dan Williams  <dcbw@redhat.com>
12436
12437         Process netlink messages in device subclasses rather than in
12438         NetworkManager.c.  Also add support for recognizing Wireless Events.
12439         
12440         * configure.in
12441                 - Find GLIB_GENMARSHAL
12442
12443         * src/Makefile.am
12444                 - Since we're marshalling custom types for wireless event signals,
12445                         we get to create our own marshallers using GLIB_GENMARSHAL
12446
12447         * src/NetworkManager.c
12448                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12449                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12450                         cut down somewhat.  We no longer process signals here.
12451                 - (nm_data_new): create the netlink monitor here, and remove a
12452                         useless call to nm_policy_schedule_device_change_check()
12453                 - (nm_data_free): get rid of the netlink monitor here
12454                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12455                 - (main): don't create the netlink monitor here, let nm_data_new
12456                         do that.  Call nm_policy_schedule_device_change_check() right
12457                         before we jump to the mainloop to figure out which device
12458                         to use first
12459
12460         * src/NetworkManagerSystem.[ch]
12461                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12462                         convert back and forth from interface names to interface
12463                         indexes
12464
12465         * src/nm-device-802-11-wireless.c
12466                 - (real_init): connect to wireless-event signals from the netlink
12467                         monitor object
12468                 - (nm_device_802_11_wireless_event): new function, schedule handler
12469                         for wireless event signals from the netlink monitor object.  We
12470                         want the handler to run in the device's context
12471                 - (wireless_event_helper): handle wireless-event signals from netlink
12472                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12473                         signal handler
12474
12475         * src/nm-device-802-11-wireless.h
12476                 - remove unused prototype for nm_device_802_11_wireless_new
12477
12478         * src/nm-device-802-3-ethernet.c
12479                 - (real_init): new function; set up signal handlers for link events
12480                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12481                         handler for netlink link activated events on device's main loop
12482                 - (link_activated_helper): when we get a link activated event, set
12483                         the device's link to be active
12484                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12485                         handler for netlink link deactivated events on device's main loop
12486                 - (link_deactivated_helper): when we get a link deactivated event, set
12487                         the device's link to be inactive
12488                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12489                         dispose
12490
12491         * src/nm-device-802-3-ethernet.h
12492                 - remove unused prototype for nm_device_802_3_ethernet_new
12493
12494         * src/nm-device.[ch]
12495                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12496                         but locks the device list
12497                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12498
12499         * src/nm-netlink-monitor.[ch]
12500                 - (nm_netlink_monitor_class_install_signals): New signal
12501                         "wireless-event"
12502                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12503                         at the device list
12504                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12505
12506         * src/nm-marshal-main.c
12507                 - Include generated nm-marshal.c and nm-marshal.h
12508
12509         * src/nm-marshal.list
12510                 - List of custom marshal functions
12511
12512 2006-03-05  Dan Williams  <dcbw@redhat.com>
12513
12514         * gnome/applet/applet-notifications.h
12515                 - Protect prototype of nma_send_event_notification() because it
12516                         includes libnotify-specific types
12517                 - Include libnotify/libnotify.h too, since we technically need it
12518
12519         * gnome/applet/applet.c
12520                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12521                 - (nma_show_vpn_login_banner_dialog): add some error checking
12522
12523 2006-03-04  Dan Williams  <dcbw@redhat.com>
12524
12525         Clean up activation cancellation.  Should be a lot faster now.  Observed
12526         an issue with wireless devices between stage 2 and 3 of activation, where
12527         activation would be cancelled, but the device thread wouldn't notice until
12528         the supplicant association timed out.  Reorganize activation such that
12529         a cancellation handler gets immediately scheduled in the device's thread,
12530         and devices have a chance to perform any custom cleanup too.
12531
12532         * src/nm-device.[ch]
12533                 - (activation_cancel_handler): new device-type-specific function
12534                         for cleaning up device-type-specific stuff on cancellation
12535                 - (cancel_activation): removed
12536                 - (nm_device_activation_cancel): subsume functionality of
12537                         real_cancel_activation, but instead of doing anything, punt
12538                         operation to a handler that's run in device-thread context
12539                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12540                         a warning message
12541                 - (activation_handle_cancel_helper): cancellation handler run in
12542                         device-thread context, calls device-type-specific cancelation,
12543                         then tears down the activation request
12544                 - (real_activation_cancel_handler): generic cancellation handler,
12545                         deals with cancelling any in-process DHCP request
12546                 - (nm_device_activate_stage1_device_prepare,
12547                    nm_device_activate_stage2_device_config,
12548                    nm_device_activate_stage3_ip_config_start,
12549                    nm_device_activate_stage4_ip_config_get,
12550                    nm_device_activate_stage4_ip_config_timeout,
12551                    nm_device_activate_stage5_ip_commit): don't call
12552                         nm_device_schedule_activation_handle_cancel() any more, since
12553                         cancellation will have been already scheduled for us by
12554                         nm_device_activation_cancel().  Just exit the function and
12555                         assume that the cancel handler will be called next.
12556
12557         * src/nm-device-802-3-ethernet.c
12558                 - (real_act_stage2_config): remove; didn't do anything anyway
12559
12560         * src/nm-device-802-11-wireless.c
12561                 - (supplicant_status_cb): ensure we don't do anything if the activation
12562                         got cancelled
12563                 - (real_activation_cancel_handler): implement; cancel user key request
12564                         on activation cancellation
12565
12566 2006-03-04  Dan Williams  <dcbw@redhat.com>
12567
12568         * src/nm-device-802-11-wireless.c
12569                 - (supplicant_send_network_config): assume that drivers that don't
12570                         support WPA pretty much suck, and can't handle NM scanning
12571                         along with wpa_supplicant.
12572
12573 2006-03-03  Robert Love  <rml@novell.com>
12574
12575         * configure.in: Bump version to 0.6.0.
12576         * NEWS: Update.
12577
12578 2006-03-03  Robert Love  <rml@novell.com>
12579
12580         * configure.in: Require DBUS 0.60 or later.
12581
12582 2006-03-03  Dan Williams  <dcbw@redhat.com>
12583
12584         Fix a crash if an "Other wireless network" was chosen, failed, then
12585         chosen again from the applet's menu.  If the other network wasn't
12586         noticed in a scan, it wouldn't have any capabilities, but would still
12587         be listed because the user forced the network.  To fix this, we set
12588         sensible capabilities on the forced network, which will get overwritten
12589         with the correct ones if the network shows up later in a scan.
12590         
12591         * src/nm-ap-security.h
12592                 - Add a new "get_default_capabilities_func" member to the
12593                         NMAPSecurity class
12594
12595         * src/nm-ap-security.c
12596                 - (nm_ap_security_get_default_capabilities): new function
12597
12598         * src/nm-ap-security.c
12599           src/nm-ap-security-wep.c
12600           src/nm-ap-security-wpa-psk.c
12601           src/nm-ap-security-wpa-eap.c
12602                 - Implement get_default_capabilities_func() for all, which
12603                         uses the information contained in a specific NMAPSecurity
12604                         object to determine default AP capabilites necessary
12605                         to support that object
12606
12607         As a secondary measure, we now prune artificial access points that fail
12608         to be activated right away.  The thing failed, and we have no scan data for
12609         it, so it's pretty much useless since security information is only saved
12610         in the applets when a connection is successful.
12611
12612         * src/NetworkManagerAPList.c
12613                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12614                         not artificial.  If we see it, it's no longer a figment of the
12615                         user's imagination :)
12616
12617         * src/NetworkManagerPolicy.c
12618                 - (nm_policy_activation_failed): send along the failed AP if we
12619                         have it
12620
12621         * src/nm-device-802-11-wireless.c
12622                 - (real_activation_failure_handler): remove artificial APs from
12623                         the device list, because activation failed
12624
12625 2006-03-02  Robert Love  <rml@novell.com>
12626
12627         Add support for retrieving both the per-device speed and the
12628         per-network maximum supported rate.  Then change the getProperties
12629         DBUS API for both networks and devices to report this informaiton.
12630         Finally, display the information via both nm-applet and nm-tool:
12631         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12632           and set it.
12633         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12634           Information' dialog.
12635         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12636         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12637           network_device_get_speed() and network_device_set_speed() for
12638           retrieving and setting, respectively, a network device's current
12639           speed.
12640         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12641         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12642           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12643           not matter (yet) what the units are, because we only feed it its own
12644           output.  Implement SIOCGIRATE and set the per-network maximum
12645           supported rate during scanning.
12646         * src/nm-device-802-11-wireless.h: Export the function
12647           nm_device_802_11_wireless_get_bitrate().
12648         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12649           function nm_device_802_3_ethernet_get_speed() for returning an
12650           802.3's current speed, in Mb/s.
12651         * test/nm-tool.c: Display the per-device current speed, if available,
12652           and the per-network maximum rate.
12653
12654 2006-03-02  Dan Williams  <dcbw@redhat.com>
12655
12656         * src/nm-device-802-11-wireless.c
12657                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12658                         card when it gets initialized.  Since devices don't get added to
12659                         the scan list until they are initialized, this function wasn't
12660                         setting the intitial scan interval correctly, and was leaving
12661                         it at 0.  This caused cards to get many scan requests in a short
12662                         amount of time when they were initialized
12663
12664 2006-03-02  Robert Love  <rml@novell.com>
12665
12666         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12667           active device.  But do not do what we used to do and override the
12668           state, which caused the dreaded icon race of '05.
12669
12670 2006-03-02  Robert Love  <rml@novell.com>
12671
12672         Commit Dan's update of my previous commit:
12673         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12674           set_mode() function itself does the check.  But do only set the
12675           frequency if in Ad-Hoc mode.
12676
12677 2006-03-02  Robert Love  <rml@novell.com>
12678
12679         Patch by Brian Magnuson <magnuson@rcn.com>:
12680         * src/nm-device-802-11-wireless.c: During scanning, only set the
12681           wireless mode to infrastructure if it is not currently in
12682           infrastructure mode.  For some driver, setting the mode is a costly
12683           operation, apparently.
12684
12685 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12686
12687         * Makefile.am: use the correct dir for autostart mechanism.
12688
12689 2006-02-28  Dan Williams  <dcbw@redhat.com>
12690
12691         Patch from Brian Magnuson <magnuson@rcn.com>
12692         * gnome/applet/applet.c
12693                 - (nma_show_vpn_failure_dialog): fix errors left over from
12694                         libnotify support changes
12695
12696 2006-02-28  Dan Williams  <dcbw@redhat.com>
12697
12698         * src/vpn-manager/nm-vpn-act-request.[ch]
12699                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12700                         just one value
12701                 - (nm_vpn_act_request_is_failed): new function; return whether or
12702                         not the vpn activation request has failed
12703
12704         * src/vpn-manager/nm-vpn-manager.c 
12705                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12706                         daemon to kill the connection when the activation request fails.
12707                         Fixes issue where NM would get confused if the VPN activation
12708                         request timed out, and would not allow further VPN connections
12709                         on that service.
12710
12711 2006-02-28  Dan Williams  <dcbw@redhat.com>
12712
12713         * gnome/applet/applet.c
12714                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12715                         overlapping connection requests, disable all VPN menu items
12716                         but the active VPN connection
12717
12718 2006-02-28  Dan Williams  <dcbw@redhat.com>
12719
12720         * src/vpn-manager/nm-vpn-connection.c
12721                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12722                         called g_object_unref() on the connection's parent device
12723                         when it should have been ref-ed instead.  Fixes crash with
12724                         repeated vpn connect requests
12725
12726 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12727
12728         * gnome/applet/applet.glade:
12729         Mark a few strings non-translatable, since they shouldn't be.
12730
12731 2006-02-28  Dan Williams  <dcbw@redhat.com>
12732
12733         * src/vpn-manager/nm-vpn-service.c
12734                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12735                         already running, don't blindly ask it to connect, but wait until
12736                         it's in the STOPPED state first.  Fixes an assertion when user
12737                         starts a second vpn connection without stopping the first.
12738                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12739                         dbus service exists before continuing with the connection
12740                         process, and reduce latency while waiting for it to become
12741                         available
12742                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12743                         waiting for the vpn service daemon to become available
12744                 - General log message cleanups; show progress via "Stage x of 4"
12745                         rather than not telling anyone how many stages there are
12746
12747 2006-02-28  Robert Love  <rml@novell.com>
12748
12749         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12750         * src/backends/NetworkManagerSuSE.c: Implement the interface
12751           nm_system_should_modify_resolv_conf() for SUSE.
12752         * src/backends/NetworkManagerDebian.c,
12753           src/backends/NetworkManagerGentoo.c,
12754           src/backends/NetworkManagerRedHat.c,
12755           src/backends/NetworkManagerSlackware.c: Add stub.
12756         * src/named-manager/Makefile.am: Grab includes from src.
12757         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12758           automatic updating of resolv.conf.  This is useful for testing,
12759           broken static configurations, and administrator lock-down.
12760
12761 2006-02-28  Dan Williams  <dcbw@redhat.com>
12762
12763         * src/nm-device-802-11-wireless.c
12764                 - Move all the wpa_supplicant-related management stuff into its
12765                         own struct, just for oranization's sake
12766                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12767                         to a GIOChannel/GSource
12768                 - (supplicant_log_stdout): new function; grab output from the
12769                         wpa_supplicant stdout pipe and write it to our logs.
12770
12771 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12772
12773         * src/nm-device-802-11-wireless.c:
12774         Err, fix thinko in my previous commit.
12775
12776 2006-02-28  Robert Love  <rml@novell.com>
12777
12778         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12779
12780 2006-02-28  Robert Love  <rml@novell.com>
12781
12782         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12783           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12784           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12785           deserializers are responsible for freeing the returned DBUS strings.
12786
12787 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12788
12789         * src/nm-device-802-11-wireless.c:
12790         The scan list is being pruned prematurely.  We should prune after
12791         the device has gone MIA for three scans, not one.  Split out the
12792         interval to realtime seconds function to better serve this.
12793
12794 2006-02-27  Robert Love  <rml@novell.com>
12795
12796         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12797           Open the pid file O_TRUNC, so if it already exists we truncate it to
12798           zero length.  Also, be more verbose about warnings generated during
12799           writing out the pid file.  Finally, always write out the pid file if
12800           in daemon mode.  Use "--pid-file" to override the default.
12801
12802 2006-02-27  Robert Love  <rml@novell.com>
12803
12804         Patch by R. Vinay <rvinay@novell.com>:
12805         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12806           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12807           Novell bug #153628).
12808           
12809 2006-02-27  Robert Love  <rml@novell.com>
12810
12811         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12812           entry so user can hit <ENTER> after entering passphrase (Novell bug
12813           #153738).
12814
12815 2006-02-27  Dan Williams  <dcbw@redhat.com>
12816
12817         * gnome/applet/*
12818                 - Mass search/replace of:
12819                         nmwa -> nma
12820                         NMWirelessApplet -> NMApplet
12821                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12822                    (it ain't just for wireless anymore, ma!)
12823                 - Fix duplicate function name printing when using nm_warning
12824                 - wireless-applet.glade -> applet.glade
12825
12826 2006-02-27  Dan Williams  <dcbw@redhat.com>
12827
12828         * dispatcher-daemon/NetworkManagerDispatcher.c
12829                 - Accept --pid-file with a path to a pidfile, write it out on
12830                         startup, and delete it on shutdown
12831
12832         * src/NetworkManager.c
12833                 - Accept --pid-file with a path to a pidfile, write it out on
12834                         startup, and delete it on shutdown
12835                 - Move nm_print_usage() lower
12836
12837         * initscripts/RedHat/NetworkManager.in
12838                 - Use new --pid-file option
12839                 - Fix service stopping to wait a bit for NM to quit
12840
12841         * initscripts/RedHat/NetworkManagerDispatcher.in
12842                 - Use new --pid-file option
12843
12844 2006-02-26  Dan Williams  <dcbw@redhat.com>
12845
12846         * src/Makefile.am
12847                 - make and install nm-crash-logger
12848
12849         * src/nm-logging.[ch]
12850                 - New files; consolidate logging and crash handling
12851
12852         * src/nm-crash-logger.c
12853           src/gdb-cmd
12854                 - Standalong crashlogger for NM, grab a backtrace
12855                         using GDB
12856
12857         * src/NetworkManager.[ch]
12858                 - Remove signal handling and put it into nm-logging.c
12859
12860 2006-02-26  Dan Williams  <dcbw@redhat.com>
12861
12862         * configure.in
12863           gnome/applet/Makefile.am
12864                 - Conditionalize all the notify stuff
12865
12866         Merge most of Chris Aillon's notification patch:
12867         
12868         * gnome/applet/applet-notifications.[ch]
12869                 - New files; show a notification
12870         
12871         * gnome/applet/applet-dbus-devices.[ch]
12872                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12873                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12874                         new functions, do the right thing when a device change occurs
12875
12876         * gnome/applet/applet-dbus.c
12877                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12878                         signals, so we can handle them specially
12879
12880         * gnome/applet/applet.[ch]
12881                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12882                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12883                 - (nmwa_notify_state): remove
12884                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12885                         notification work is now done when the appropriate dbus signals
12886                         are received.
12887                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12888                         defer execution of the notification/dialog stuff.  That was an
12889                         artifact of the previous multi-threaded nature of the applet
12890                         and is now pointless.
12891                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12892                         no longer needed.  Function folded into applet-notifications.c
12893
12894         * src/NetworkManagerPolicy.c
12895                 - (nm_policy_activation_finish): send the AP along with the device
12896                         status change signal, if the connection is wireless.  Should
12897                         fix the race where applet would show a connection to "unknown"
12898
12899 2006-02-25  Robert Love  <rml@novell.com>
12900
12901         Add WPA Enterprise support:
12902         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12903           nm-gconf-wso-wpa-eap.h.
12904         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12905           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12906           serialization and deserialization.
12907         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12908           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12909           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12910         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12911           settings related to WPA Enterprise.
12912         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12913           instantiate WPA Enterprise wireless-security-option.
12914         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12915           Implement WPA Enterprise wireless-security-option object.
12916         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12917           defines.  Cleanup.
12918         * libnm-util/cipher-wpa-psk-hex.c,
12919           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12920         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12921           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12922           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12923           including the cipher to DBUS method, and
12924           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12925           to output.
12926         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12927           nm-ap-security-wpa-eap.h
12928         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12929           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12930         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12931           files.  Implement NMAPSecurityWPA_EAP object.
12932         * src/nm-ap-security-wpa-psk.c: Cleanup.
12933         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12934           an NMAPSecurityWPA_EAP object via the method
12935           nm_ap_security_wpa_eap_new_deserialize().
12936         * src/nm-dbus-nm.c: Cleanup.
12937         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12938           WPA Enterprise support.
12939
12940 2006-02-24  Robert Love  <rml@novell.com>
12941
12942         Patch from Timo Hoenig <thoenig@suse.de>:
12943         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12944
12945 2006-02-24  Robert Love  <rml@novell.com>
12946
12947         Patch from Dan Winship <danw@novell.com>:
12948         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12949           area to transparent.
12950
12951 2006-02-21  Dan Williams  <dcbw@redhat.com>
12952
12953         * gnome/applet/applet.[ch]
12954           gnome/applet/applet-dbus.c
12955                 - Implement notification support for VPN messages too
12956
12957 2006-02-21  Dan Williams  <dcbw@redhat.com>
12958
12959         * gnome/applet/applet-dbus-info.c
12960                 - Clean up warning messages to not double-print the function
12961
12962 2006-02-21  Dan Williams  <dcbw@redhat.com>
12963
12964         * gnome/applet/applet-compat.c
12965                 - (convert_one_entry): accept entries without a key_type and
12966                         convert them to unencrypted networks
12967
12968 2006-02-21  Dan Williams  <dcbw@redhat.com>
12969
12970         * gnome/libnm_glib/libnm_glib.c
12971                 - Use __func__ everywhere we can
12972                 - Code cleanups
12973                 - Use dbus pending calls rather than blocking
12974                 - Reduce busywaits for our thread to start and stop
12975                         (gnome.org #330562)
12976                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12977                         stomp on others using the default shared dbus connection.
12978                         Fixes #rh177546# and gnome.org #326572
12979
12980 2006-02-21  Dan Williams  <dcbw@redhat.com>
12981
12982         Patch from Rodney Dawes <dobey@novell.com>
12983         * configure.in
12984           gnome/applet/Makefile.am
12985           gnome/applet/applet.c
12986                 - Add libnotify support if '--enable-notify=yes' is passed
12987                   at configure time
12988
12989 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12990
12991         * configure.in (ALL_LINGUAS): ko added. (Korean)
12992
12993 2006-02-15  Robert Love  <rml@novell.com>
12994
12995         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12996           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12997           and WPA_SUPPLICANT_CONTROL_SOCKET.
12998         
12999 2006-02-15  Robert Love  <rml@novell.com>
13000
13001         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13002           information about what connection stage we are at, provide the total
13003           number of stages, e.g. "Stage 2 of 5", so users know how far along
13004           they are if they experience problems.
13005
13006 2006-02-15  Robert Love  <rml@novell.com>
13007
13008         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13009           define to $sysconfdir.
13010         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13011           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13012           type of VPN and then editing another results in a mangled dialog
13013           box containing the widgets from both VPNs (fixes Novell #150854).
13014           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13015
13016 2006-02-14  Robert Love  <rml@novell.com>
13017
13018         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13019           syslog's file descriptor.
13020
13021 2006-02-14  Robert Love  <rml@novell.com>
13022
13023         Fix bug around since the change to "deal with APs changing settings on
13024         us," checked in on the fifth of February in the year of the dog, 
13025         wherein connecting to non-broadcast encrypted networks always fails
13026         because nm_ap_get_encrypted() always returns FALSE, even when the user
13027         provided a key, because the newly-created fake AP does not have any
13028         capabilities set, which is a sypmtom of security settings not matching
13029         capabilities (Novell bug #150784):
13030         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13031           nm_ap_add_capabilities_from_security(), which sets the given AP's
13032           capabilities off the given security settings.  Also improve our
13033           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13034           NM_AUTH_CIPHER_AUTO.
13035         * src/nm-device-802-11-wireless.c: Call the function
13036           nm_ap_add_capabilities_from_security() to ensure that capabilities
13037           match newly updated security settings.
13038
13039 2006-02-14  Robert Love  <rml@novell.com>
13040
13041         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13042           error as a string, not an integer, if possible; do not print the
13043           function name twice; always give the interface, if possible; misc.
13044           cleanup.
13045
13046 2006-02-12  Dan Williams  <dcbw@redhat.com>
13047
13048         Patch from Tom Parker <palfrey@tevp.net>
13049         * src/NetworkManagerSystem.h
13050                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13051                         no longer used
13052
13053         * src/backends/NetworkManagerDebian.c
13054                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13055                         unused variables
13056
13057 2006-02-12  Dan Williams  <dcbw@redhat.com>
13058
13059         * vpn-daemons/openvpn/intltool-extract.in
13060           vpn-daemons/openvpn/intltool-merge.in
13061           vpn-daemons/openvpn/intltool-update.in
13062           vpn-daemons/pptp/intltool-extract.in
13063           vpn-daemons/pptp/intltool-merge.in
13064           vpn-daemons/pptp/intltool-update.in
13065                 - Remove from CVS, they should get created by intltoolize,
13066                         shouldn't they?
13067
13068 2006-02-12  Dan Williams  <dcbw@redhat.com>
13069
13070         * vpn-daemons/pptp/src/pppd/patchlevel.h
13071         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13072                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13073                         Makefile-defined VERSION
13074
13075 2006-02-09  Dan Williams  <dcbw@redhat.com>
13076
13077         Patch from: Vinay A R <rvinay@novell.com>
13078         * src/vpn-manager/nm-vpn-act-request.[ch]
13079                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13080                         IPSec VPNs require them for std gateway.
13081                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13082                         and 'user_routes_count'
13083                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13084                         defined routes  from NMVPNActRequest object, returns the string
13085                         array of routes.
13086
13087         * src/vpn-manager/nm-vpn-manager.[ch]
13088                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13089                         for 'user_routes' and 'user_routes_count'
13090         
13091         * src/vpn-manager/nm-dbus-vpn.c
13092                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13093                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13094         
13095         * src/vpn-manager/nm-vpn-service.c
13096                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13097                         the vpn daemon
13098
13099         Modifications by Dan:
13100         * src/vpn-manager/nm-vpn-service.c
13101                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13102                         arrays into dbus
13103
13104         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13105         * vpn-daemons/pptp/src/nm-pptp-service.c
13106         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13107                 - Grab user routes from dbus message
13108                 - Free all string arrays we got from dbus
13109
13110 2006-02-07  Robert Love  <rml@novell.com>
13111
13112         Patch by Stefan Seyfried <seife@suse.de>:
13113         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13114
13115 2006-02-06  Robert Love  <rml@novell.com>
13116
13117         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13118
13119 2006-02-06  Robert Love  <rml@novell.com>
13120
13121         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13122           test ">=" is never false.  If no newline is found, we loop forever.
13123           We can just check for ">" because the following if() will see the
13124           zero-th argument if the while() gets that far.
13125
13126 2006-02-05  Dan Williams  <dcbw@redhat.com>
13127
13128         Refine handling of non-broadcast networks.
13129
13130         * src/NetworkManagerAPList.c
13131                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13132                         property from scanned AP to the AP from the device list
13133
13134         * src/nm-device-802-11-wireless.c
13135                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13136                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13137                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13138                         networks since those don't have APs.
13139                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13140                         AP as non-SSID-broadcasting
13141                 - (process_scan_results): don't handle non-SSID-broadcasting here
13142
13143 2006-02-05  Dan Williams  <dcbw@redhat.com>
13144
13145         * src/nm-device-802-11-wireless.c
13146                 - (get_supplicant_timeout): new function; return
13147                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13148                         14 channels.  These are likely a/b/g cards, like Atheros, and
13149                         slow as hell to scan.
13150                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13151                         get_supplicant_timeout()
13152
13153 2006-02-05  Dan Williams  <dcbw@redhat.com>
13154
13155         * src/dhcp-manager/nm-dhcp-manager.c
13156                 - Loose a commit race with Robert; make sure size check
13157                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13158
13159 2006-02-05  Robert Love  <rml@novell.com>
13160
13161         Patch by Christoph Brill <chrisbrill@gmx.net>:
13162         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13163           with DHCP_SERVICE_NAME.
13164
13165 2006-02-05  Dan Williams  <dcbw@redhat.com>
13166
13167         Remove anything having to do with device_setup_func from the
13168         AP security objects, since it's no longer used.
13169
13170         * src/nm-ap-security.h
13171                 - Kill device_setup_func and nm_ap_security_device_setup()
13172
13173         * src/nm-ap-security-wep.c
13174           src/nm-ap-security-wpa-psk.c
13175                 - (real_device_setup): remove
13176
13177         * src/nm-ap-security.c
13178                 - (real_device_setup): remove
13179                 - (nm_ap_security_device_setup): remove
13180
13181         * src/nm-device-802-11-wireless.[ch]
13182                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13183                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13184                         and done by wpa_supplicant now anyway
13185
13186 2006-02-05  Dan Williams  <dcbw@redhat.com>
13187
13188         * src/nm-device-802-11-wireless.c
13189                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13190                         settings on us.  Previously NM would loop asking for the
13191                         key but getting the same one back.  Now, if the NMI-supplied
13192                         cipher doesn't overlap with the scanned AP capabilities,
13193                         we request a completely new key from the user.
13194
13195 2006-02-05  Dan Williams  <dcbw@redhat.com>
13196
13197         * src/NetworkManagerUtils.c
13198                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13199                         Handle newline killing better
13200
13201 2006-02-05  Dan Williams  <dcbw@redhat.com>
13202
13203         * gnome/applet/nm-gconf-wso.c
13204                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13205                         of unencrypted access point security info.
13206
13207 2006-02-03  Robert Love  <rml@novell.com>
13208
13209         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13210           user's encryption key, so we print the err_msg_cmd not the command,
13211           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13212           sense.
13213
13214 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13215
13216         * initscript/RedHat/NetworkManagerDispatcher.in:
13217         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13218         Patch from Dan Walsh <dwalsh@redhat.com>
13219
13220 2006-02-03  Robert Love  <rml@novell.com>
13221
13222         * dispatcher-daemon/NetworkManagerDispatcher.c,
13223           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13224           but use the sysconfdir.
13225
13226 2006-02-03  Robert Love  <rml@novell.com>
13227
13228         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13229           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13230           'char *'.
13231         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13232           nm_ip4_config_get_hostname() and
13233           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13234         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13235           leak g_strdup() result.
13236
13237 2006-02-03  Robert Love  <rml@novell.com>
13238
13239         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13240           broadcast == TRUE.  Also, copy broadcast and artificial properties
13241           from source network to destination in nm_ap_copy().
13242         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13243           since we now default new networks to non-hidden.
13244
13245 2006-02-03  Dan Williams  <dcbw@redhat.com>
13246
13247         * gnome/applet/main.c
13248                 - (main): change the NEVER->ALWAYS so we start at the
13249                         beginning of the session, if being session-managed
13250
13251 2006-02-03  Dan Williams  <dcbw@redhat.com>
13252
13253         * gnome/applet/main.c
13254                 - (main): in a variation on Robert's patch, change
13255                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13256                         he wants.
13257
13258 2006-02-02  Robert Love  <rml@novell.com>
13259
13260         * src/Makefile.am: If we aren't going to create the run directory at,
13261           uh, run-time, create it during install.  Then users just doing
13262           'make install' are cool, too.  While we are here, create the
13263           dispatcher.d directory, too.
13264         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13265           the exact run directory.
13266         * Makefile.am: Install nm-applet.desktop.
13267
13268 2006-02-02  Robert Love  <rml@novell.com>
13269
13270         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13271           structure, which denotes whether or not the AP is hidden.  This is a
13272           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13273           can show up in the scan list.  Add nm_ap_get_broadcast() and
13274           nm_ap_set_broadcast() accessor interfaces.
13275         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13276           nm_ap_set_broadcast().
13277         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13278           "getProperties" method, which denotes whether or not the given
13279           network is hidden.
13280         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13281           an artificial network.  Set broadcast to TRUE when scanning returns
13282           an ESSID and FALSE when not.
13283         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13284           from "getProperties" method on a network.  Possible TODO is to
13285           somehow display this.
13286         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13287
13288 2006-02-02  Dan Williams  <dcbw@redhat.com>
13289
13290         * src/nm-device-802-11-wireless.c
13291                 - (supplicant_interface_init): don't try to create
13292                         /var/run/NetworkManager, since that should be done by
13293                         the distro package.  Causes problems for stuff like SELinux
13294
13295 2006-02-02  Robert Love  <rml@novell.com>
13296
13297         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13298         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13299           Check for and handle empty string for iface.
13300
13301 2006-02-01  Robert Love  <rml@novell.com>
13302
13303         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13304           manpage.
13305
13306 2006-01-31  Dan Williams  <dcbw@redhat.com>
13307
13308         * nm-applet.desktop
13309                 - Add --sm-disable to Exec arguments, presuming that when
13310                         using autostart, we don't want session management
13311
13312 2006-01-31  Robert Love  <rml@novell.com>
13313
13314         * src/NetworkManagerAP.c: Add two new manufacturer default network
13315           names: linksys-a and linksys-g.  These are found (at least) on the
13316           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13317           own ESSID.
13318
13319 2006-01-31  Robert Love  <rml@novell.com>
13320
13321         * src/NetworkManagerAP.c: Optimize the function
13322           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13323           machine code.  This is the first in a series of code tweaks aiming to
13324           generate better machine code and make NetworkManager all the better.
13325           Just kidding.  Who has time to go through the assembly generated for
13326           every function?  I certainly don't.  I have a wife, a kid, a job,
13327           a mortgage, a mistress.  But this function was so bad, I was called
13328           to arms.  Like the book.
13329
13330 2006-01-31  Robert Love  <rml@novell.com>
13331
13332         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13333           AP is not broadcasting, to scan with probe request frames.  Required
13334           for non-broadcast networks.
13335
13336 2006-01-31  Robert Love  <rml@novell.com>
13337
13338         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13339           preprocessor define (still 20s).  Fix message text in nm_info()
13340           s/too too/took too/.
13341
13342 2006-01-30  Dan Williams  <dcbw@redhat.com>
13343
13344         * src/nm-device-802-11-wireless.c
13345                 - (supplicant_monitor_start): increase connect/auth timeout to
13346                         20 seconds from 10 seconds
13347
13348 2006-01-30  Dan Williams  <dcbw@redhat.com>
13349
13350         * src/Makefile.am
13351                 - Define LOCALSTATEDIR
13352
13353         * src/nm-device-802-11-wireless.c
13354                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13355                         socket where we want it to
13356
13357         * src/wpa_ctrl.[ch]
13358                 - (wpa_ctrl_open): accept location to put local control socket
13359
13360 2006-01-30  Robert Love  <rml@novell.com>
13361
13362         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13363           get_ip4_string() for "domain_name".
13364
13365 2006-01-30  Robert Love  <rml@novell.com>
13366
13367         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13368           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13369           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13370           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13371           support for "Automatic" pairwise and group cipher configuration by
13372           letting wpa_supplicant handle the details.  Add UI elements, new
13373           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13374           charm.  Note this does more than add a nice feature, it fixes a bug.
13375           Apparently, some people have AP's where the pairwise cipher does not
13376           match the group cipher.  Insane, but true.
13377
13378 2006-01-30  Dan Williams  <dcbw@redhat.com>
13379
13380         * gnome/applet/applet-dbus-devices.c
13381                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13382                         functions, grab device driver name from NetworkManager
13383                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13384
13385         * gnome/applet/applet.c
13386                 - (nmwa_update_info): show driver name in Connection Information
13387                         dialog
13388
13389         * gnome/applet/nm-device.[ch]
13390                 - (network_device_get_driver, network_device_set_driver): add
13391                         accessors for driver name
13392
13393         * gnome/applet/wireless-applet.glade
13394                 - Add line for driver name to Connection Information dialog
13395
13396         * src/nm-dbus-device.c
13397                 - (nm_dbus_device_get_driver): new function to return driver name
13398                 - (nm_dbus_device_methods): hook up driver name function to dbus
13399
13400         * test/nm-tool.c
13401                 - (get_driver_name): new function
13402                 - (detail_device): grab and show driver name
13403
13404 2006-01-30  Robert Love  <rml@novell.com>
13405
13406         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13407           does not parse the markup if it is not part of the format.
13408
13409 2006-01-30  Robert Love  <rml@novell.com>
13410
13411         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13412           FALSE, we have no security options for this dialog, so we throw up
13413           an error dialog instead of a broken passphrase dialog.  Fixes
13414           Novell #138404.
13415         * gnome/applet/wireless-security-manager.c,
13416           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13417           does not add any security options, not even NONE, print a warning
13418           and return FALSE.  This let's functions constructing a dialog bail
13419           out if the device's capabilities and the network's requirements have
13420           zero overlap.
13421
13422 2006-01-27  Robert Love  <rml@novell.com>
13423
13424         * configure.in: Require wpa_supplicant.  Detect location of binary and
13425           use it.  Override with "--with-wpa_supplicant=foo".
13426         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13427           path to wpa_supplicant but use the auto-detected or user-provided
13428           value from configure.
13429
13430 2006-01-27  Robert Love  <rml@novell.com>
13431
13432         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13433           but the DHCP server did not return a hostname, try to look up our
13434           name via DNS and set the system hostname to that.
13435
13436 2006-01-27  Dan Williams  <dcbw@redhat.com>
13437
13438         * src/backends/NetworkManagerRedHat.c
13439                 - Add NM_CONTROLLED system network script support for RH/Fedora
13440
13441 2006-01-27  Dan Williams  <dcbw@redhat.com>
13442
13443         * src/backends/NetworkManagerGentoo.c
13444                 - (nm_system_device_get_disabled): add missing function.
13445                         Gnome BZ #328780
13446
13447 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13448
13449         * configure.in: Added vi in ALL_LINGUAS line.
13450         
13451 2006-01-26  Robert Love  <rml@novell.com>
13452
13453         * src/Makefile.am, src/kernel-types.h: Now that two different source
13454           files are feeling the crack-addled leakage of kernel types such as
13455           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13456           types in user-space -- define a header and include it as needed.
13457         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13458         * src/nm-device-802-3-ethernet.h: Remove defines.
13459         * src/wpa.c: Remove defines and include kernel-types.h.
13460
13461 2006-01-26  Robert Love  <rml@novell.com>
13462
13463         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13464           work.
13465
13466 2006-01-26  Robert Love  <rml@novell.com>
13467
13468         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13469         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13470           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13471           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13472           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13473           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13474           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13475           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13476           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13477           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13478           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13479           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13480           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13481           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13482           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13483           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13484           Kill unused variables, labels, and static functions.  Don't pass
13485           string literals as the format string for printf-like functions.
13486
13487 2006-01-25  Dan Williams  <dcbw@redhat.com>
13488
13489         * gnome/applet/wireless-applet.glade
13490                 - Remove WPA2 Checkbox
13491
13492         * gnome/applet/wireless-security-manager.c
13493                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13494                         This means the Wireless Security menu now has two WPA options,
13495                         one for "WPA Personal" and one for "WPA2 Personal"
13496
13497         * gnome/applet/wso-wpa-psk.[ch]
13498                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13499                         'wpa2' argument to determine WPA version to use
13500                 - (append_dbus_params_func): pass stored WPA version to cipher
13501                         rather than using the (removed) checkbox
13502
13503 2006-01-24  Robert Love  <rml@novell.com>
13504
13505         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13506           before we g_strdup(), not the ultimate string.
13507
13508 2006-01-23  Dan Williams  <dcbw@redhat.com>
13509
13510         * src/NetworkManagerAP.[ch]
13511                 - (nm_ap_new_from_ap): copy original essid too
13512                 - (nm_ap_unref): free original essid
13513                 - (nm_ap_get_orig_essid): new function
13514                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13515                         but keep original essid around too
13516
13517         * src/nm-device-802-11-wireless.c
13518                 - (supplicant_send_network_config): send wpa_supplicant the
13519                         _original_ essid, and not as a string, but in hex.  Should
13520                         allow us to connect to more APs that use wierd character
13521                         encodings for their essids
13522
13523         * utils/nm-utils.[ch]
13524                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13525                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13526                         use the current locale as a hint for what encoding the essid
13527                         might be in.  Obviously not 100% accurate, but the idea here is
13528                         that if a user's locale is ex. ja_JP, they are more likely than
13529                         not to be in Japan, where access points will likely be in some
13530                         Japanese encoding.
13531
13532 2006-01-23  Dan Williams  <dcbw@redhat.com>
13533
13534         * libnm-util/cipher-private.h
13535           libnm-util/cipher.c
13536           libnm-util/cipher.h
13537                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13538
13539 2006-01-23  Robert Love  <rml@novell.com>
13540
13541         Patch by Timo Hoenig <thoenig@suse.de>:
13542         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13543           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13544           by DHCP and pass it to the backends, allowing distribution-specific
13545           behavior with respect to the DHCP-supplied hostname (if nothing else,
13546           some distributions might not want to set the hostname).
13547         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13548           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13549           Also update our NIS behavior.
13550         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13551           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13552           Add stub functions.
13553
13554 2006-01-23  Robert Love  <rml@novell.com>
13555
13556         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13557           gnome-session does autostart.  TODO: We need to install this to
13558           $prefix/share/autostart/.
13559
13560 2006-01-22  Dan Williams  <dcbw@redhat.com>
13561
13562         * src/NetworkManagerAP.[ch]
13563           src/nm-dbus-nmi.c
13564           src/nm-device-802-11-wireless.c         
13565                 - Make nm_ap_get_essid return "const char *"
13566
13567 2006-01-22  Dan Williams  <dcbw@redhat.com>
13568
13569         * src/NetworkManagerAP.[ch]
13570                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13571
13572         * src/NetworkManagerAPList.[ch]
13573                 - (nm_ap_list_diff): removed
13574                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13575                         deal with access points changing essids on us
13576
13577         * src/nm-device-802-11-wireless.c
13578                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13579                         src/NetworkManagerAPList.c
13580                 - (real_can_interrupt_activation): new function; allow interruption
13581                         of device activation if we are waiting for a network key
13582
13583         * src/NetworkManagerPolicy.c
13584                 - (nm_policy_device_change_check): allow interruption of currently
13585                         activating devices if the device allows it.  Previous behavior
13586                         would refuse to activate a just-plugged wired device if a
13587                         wireless device was waiting for a key.
13588
13589         * src/nm-device.[ch]
13590                 - (nm_device_can_interrupt_activation): new function; ask devices
13591                         whether their activation can be interrupted
13592
13593 2006-01-20  Robert Love  <rml@novell.com>
13594
13595         * Makefile.am, configure.in: Add new man subdirectory.
13596         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13597           man/Makefile.am: Add man pages for NetworkManager and its
13598           crime-solving bumbling buddy, NetworkManagerDispatcher.
13599         * man/.cvsignore: Add.
13600         * initscript/Debian/NetworkManager,
13601           initscript/Gentoo/NetworkManager.in,
13602           initscript/RedHat/NetworkManager.in,
13603           initscript/RedHat/NetworkManagerDispatcher.in,
13604           initscript/SUSE/networkmanager-dispatcher.in,
13605           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13606
13607 2006-01-20  Robert Love  <rml@novell.com>
13608
13609         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13610           instead of queuing.  This prevents the running of multiple NM
13611           daemons concurrently, which does not work whatsoever and results in
13612           neither daemon working correctly.  Also, we don't handle queuing and
13613           name-owner-changes, anyhow.
13614
13615 2006-01-20  Robert Love  <rml@novell.com>
13616
13617         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13618         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13619           to sbin, not bin.
13620
13621 2006-01-19  Robert Love  <rml@novell.com>
13622
13623         * configure.in: Require hal 0.5.0 or later.
13624
13625 2006-01-18  Robert Love  <rml@novell.com>
13626
13627         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13628           Allow backends to flag a device (in whatever distro-dependent way
13629           they so desire) as disabled.  NM will ignore any such device.
13630         * src/backends/NetworkManagerDebian.c,
13631           src/backends/NetworkManagerRedHat.c,
13632           src/backends/NetworkManagerSlackware.c: Add stub function
13633           nm_system_device_get_disabled() that always returns FALSE (enabled).
13634         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13635           SUSE-specific configuration structure.  Fill it in from the
13636           NM_CONTROLLED variable in the system networking scripts.  If this var
13637           exists and is "no", we ignore the device.
13638
13639 2006-01-17  Robert Love  <rml@novell.com>
13640
13641         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13642           identical for NM.  For a full discussion, see the thread at
13643           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13644
13645 2006-01-17  Dan Williams  <dcbw@redhat.com>
13646
13647         * src/nm-device.c
13648                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13649                         function.  Fixes crash when wired DHCP fails.
13650
13651 2006-01-16  Robert Love  <rml@novell.com>
13652
13653         * src/Makefile.am: Don't install NMLoadModules
13654         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13655           from src/ to test/ as no one uses it anymore.  Note that I would be
13656           fine with removing it altogether.
13657
13658 2006-01-16  Robert Love  <rml@novell.com>
13659
13660         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13661           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13662           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13663           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13664           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13665           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13666           declarations, ever.
13667         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13668           NM_STATE_DISCONNECTED is zero).
13669
13670 2006-01-16  Robert Love  <rml@novell.com>
13671
13672         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13673           uninitialized parameter and buffer overflow.  Novell #143496.
13674
13675 2006-01-16  Dan Williams  <dcbw@redhat.com>
13676
13677         Apply the PtP Address bits of a patch from Tim Niemueller
13678
13679         * src/nm-ip4-config.[ch]
13680                 - Add ip4_ptp_address member to object
13681                 - (nm_ip4_config_copy): copy ptp address too
13682                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13683                         new functions
13684                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13685                         rather than local tunnel ip address
13686
13687         * src/vpn-manager/nm-vpn-service.c
13688                 - (print_vpn_config): update for PtP address
13689                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13690                         DBusMessageIters in preparation for getting routes from the VPN
13691                         service daemons too
13692
13693         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13694                 - (send_config_info): update for PtP address, clean up code
13695                 - (main): update for PtP address, clean up code, fix typo
13696
13697         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13698                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13699
13700         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13701                 - (pptp_ip_up): update for PtP address
13702
13703         * vpn-daemons/pptp/src/nm-pptp-service.c
13704                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13705
13706         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13707                 - (print_vpn_config): update for PtP address
13708                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13709
13710 2006-01-16  Dan Williams  <dcbw@redhat.com>
13711
13712         * gnome/applet/applet.c
13713                 - (nmwa_add_networks_helper): don't indicate an active network
13714                         if NM is disconnected or asleep
13715
13716 2006-01-16  Dan Williams  <dcbw@redhat.com>
13717
13718         * src/NetworkManagerPolicy.c
13719                 - (nm_policy_device_change_check): switch devices if we lose the link
13720                         on an ethernet device. 
13721
13722 2006-01-16  Dan Williams  <dcbw@redhat.com>
13723
13724         * gnome/applet/wso-wpa-psk-hex.[ch]
13725                 - Renamed -> wso-wpa-psk.[ch]
13726
13727         * gnome/applet/wso-wpa-psk.[ch]
13728                 - New files
13729
13730         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13731                 - Removed, rolled into wso-wpa-psk.[ch]
13732
13733         * gnome/applet/Makefile.am
13734                 - Updated for above changes
13735
13736         * gnome/applet/wireless-applet.glade
13737                 - Consolidate WPA-PSK options into one notebook
13738                         widget, and make dialogs invisible by default
13739                         to fix screen oddities
13740
13741         * gnome/applet/wireless-security-manager.c
13742                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13743                         than both the old hex & passphrase ones
13744
13745 2006-01-16  Dan Williams  <dcbw@redhat.com>
13746
13747         * gnome/applet/other-network-dialog.c
13748                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13749
13750 2006-01-16  Dan Williams  <dcbw@redhat.com>
13751
13752         * gnome/applet/applet.c
13753                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13754                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13755                         prevention to realize window before trying to get server
13756                         time
13757
13758         * gnome/applet/other-network-dialog.c
13759                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13760                         prevention to realize window before trying to get server
13761                         time
13762
13763         * gnome/applet/passphrase-dialog.c
13764                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13765                         prevention to realize window before trying to get server
13766                         time
13767
13768 2006-01-16  Robert Love  <rml@novell.com>
13769
13770         Patch from Timo Hoenig  <thoenig@suse.de:
13771         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13772           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13773           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13774           libnm-util/dbus-helpers.h: add checks whether headers are used
13775           within a C++ build.
13776
13777 2006-01-16  Dan Williams  <dcbw@redhat.com>
13778
13779         * gnome/applet/wireless-security-option.c
13780                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13781
13782 2006-01-16  Dan Williams  <dcbw@redhat.com>
13783
13784         * libnm-util/cipher-wpa-psk-passphrase.c
13785                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13786                         be 8 - 63 characters inclusive
13787
13788 2006-01-16  Dan Williams  <dcbw@redhat.com>
13789
13790         * src/nm-dbus-nm.c
13791                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13792
13793 2006-01-13  Robert Love  <rml@novell.com>
13794
13795         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13796         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13797           modules that do not use an interface.
13798
13799 2006-01-13  Dan Williams  <dcbw@redhat.com>
13800
13801         * src/nm-device.c
13802           src/nm-device.h
13803                 - Allow subclasses to implement deactivate_quickly()
13804                 - (nm_device_deactivate_quickly): call subclass
13805                         deactivate_quickly() methods
13806                 - (nm_device_set_active_link): small cleanups, and don't
13807                         deactivate the device right away because we risk a deadlock
13808                         when called from device thread, waiting for the device
13809                         thread to cancel activation
13810
13811         * src/nm-device-802-11-wireless.c
13812                 - (real_deactivate_quickly): new function
13813                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13814                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13815                         so that we kill the supplicant when we sleep too
13816                 - (supplicant_interface_init): work around naive naming attempts of
13817                         wpa_ctrl when naming sockets
13818
13819 2006-01-13  Dan Williams  <dcbw@redhat.com>
13820
13821         * src/nm-device-802-11-wireless.c
13822                 - (supplicant_cleanup): delete old device control sockets too
13823                 - (supplicant_get_device_socket_path): new function to consolidate
13824                         locations that need a path to a device's control socket
13825
13826 2006-01-12  Robert Love  <rml@novell.com>
13827
13828         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13829           description so that the description is unique for each
13830           pair (device,provider).  Fixes Novell #142773.
13831
13832 2006-01-12  Dan Williams  <dcbw@redhat.com>
13833
13834         * src/nm-device-802-11-wireless.c
13835                 - (supplicant_exec): ensure GError is correctly initialized
13836                         Reported by Diego González (gnome.org #326708)
13837
13838 2006-01-11  Robert Love  <rml@novell.com>
13839
13840         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13841           define if_mii(), open code the same results, and do so without any
13842           type punning.
13843
13844 2006-01-11  Robert Love  <rml@novell.com>
13845
13846         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13847           that wso_foo_new() returned non-NULL.  Instead, only append the new
13848           wso to wsm->options if the wso is non-NULL.  The crux is that we
13849           assume that the relevant key types are implied by WEP and WPA as
13850           appropriate.  To be sure, they should be, but we should not expect
13851           drivers to not be oozing piles of wolf fecal matter.
13852
13853 2006-01-11  Robert Love  <rml@novell.com>
13854
13855         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13856         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13857           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13858           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13859           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13860           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13861           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13862         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13863           comparing values within DBL_EPSILON.  Also fix shadowed variable
13864           usage.
13865
13866 2006-01-11  Dan Williams  <dcbw@redhat.com>
13867
13868         Add options for WPA2 and WPA1+CCMP (AES).
13869
13870         * gnome/applet/wireless-applet.glade
13871                 - Add UI bits for WPA+CCMP
13872
13873         * gnome/applet/other-network-dialog.c
13874                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13875                         and don't allow creation of WPA2 Ad-Hoc networks since
13876                         wpa_supplicant doesn't support them
13877
13878         * gnome/applet/wireless-security-manager.c
13879                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13880                         on to the specific wireless security option being created
13881
13882         * gnome/applet/wireless-security-option.[ch]
13883                 - (wso_wpa_create_key_type_model): new utility function to create
13884                         the model required for WPA Key Type combo box
13885
13886         * gnome/applet/wso-private.h
13887           gnome/applet/wireless-security-option.h
13888                 - Move private function prototypes into wso-private.h
13889
13890         * gnome/applet/wso-wpa-psk-hex.[ch]
13891           gnome/applet/wso-wpa-psk-passphrase.[ch]
13892                 - (append_dbus_params_func): get WPA version from checkbox and pass
13893                         it to the dbus serialization helper
13894                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13895                         key type combo changes
13896                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13897                         model and options
13898
13899         * libnm-util/cipher-wpa-psk-hex.c
13900           libnm-util/cipher-wpa-psk-passphrase.c
13901                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13902                         new function; allow the cipher to be changed after object creation
13903
13904         * src/nm-ap-security-wpa-psk.c
13905                 - (set_description): Do WPA2 descriptions too
13906
13907         * src/nm-ap-security.c
13908                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13909
13910 2006-01-11  Robert Love  <rml@novell.com>
13911
13912         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13913           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13914           from the ifreq structure in lieu of an open coded solution.  Removes
13915           a life-threatening type-punning.
13916         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13917           types, ever, whatsoever, baby.
13918
13919 2006-01-11  Robert Love  <rml@novell.com>
13920
13921         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13922           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13923           assignments to applet->nm_state into a new nmwa_set_state() function
13924           for both cleanliness and to help debugging.
13925
13926 2006-01-10  Robert Love  <rml@novell.com>
13927
13928         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13929           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13930           seconds, exclusive.  That is, we want to sleep x seconds such that
13931           1 < x < 2.
13932
13933 2006-01-10  Robert Love  <rml@novell.com>
13934
13935         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13936           the attr fields according to the example in the email available at
13937           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13938           Conversely, we do have to free 'name', so we do so, fixing a leak.
13939
13940 2006-01-10  Robert Love  <rml@novell.com>
13941
13942         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13943           sure that we close the socket!
13944
13945 2006-01-10  Robert Love  <rml@novell.com>
13946
13947         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13948           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13949           src/nm-device.c: Fix a FIXME!  Reimplement the function
13950           nm_device_update_hw_address() in device subclass variants,
13951           nm_device_802_3_ethernet_set_address() and
13952           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13953           This fixes the existing bug where MAC addresses are all zeros.
13954
13955 2006-01-10  Robert Love  <rml@novell.com>
13956
13957         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13958           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13959           option to give users ability to globally disconnect and put NM to
13960           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13961           clean disconnect.
13962
13963 2006-01-09  Robert Love  <rml@novell.com>
13964
13965         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13966           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13967           User-space does not supply these types, so we have to define them
13968           ourselves.  The relevant kernel maintainer refused to accept a patch
13969           switching these headers to the proper C99 types.
13970
13971 2006-01-09  Dan Williams  <dcbw@redhat.com>
13972
13973         Apply Robert's 'tray icon redo' patch with fixes
13974         * gnome/applet/applet.c
13975           gnome/applet/applet.h
13976                 - Instead of using a menu bar + menu item, simulate menu
13977                         behavior using a popup menu.  Highlight the area around
13978                         the icon more like a menu too, by playing with the
13979                         applet's size requisition
13980
13981 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13982         * libnm-util/dbus-helpers.c
13983           libnm-util/dbus-helpers.h
13984                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13985                         to 'exception_namespace' (:namespace is a keyword in
13986                         C++)
13987
13988 2006-01-09  Dan Williams  <dcbw@redhat.com>
13989
13990         * src/NetworkManagerPolicy.c
13991                 - (nm_policy_device_change_check): don't autoswitch away from
13992                         Ad-Hoc networks, since there's really no concept of
13993                         "link"
13994
13995         * src/nm-dbus-nm.c
13996                 - (nm_dbus_nm_create_wireless_network): mark created networks
13997                         as Ad-Hoc networks
13998
13999         * src/nm-device-802-11-wireless.c
14000                 - (real_activation_success_handler): add user-created Ad-Hoc
14001                         networks to the device's scan list
14002
14003 2006-01-08  Dan Williams  <dcbw@redhat.com>
14004
14005         We now require a patch for wpa_supplicant to support Ad-Hoc
14006         networks:
14007           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14008
14009         * src/nm-device-802-11-wireless.c
14010                 - (supplicant_send_network_config): turn off wpa_supplicant's
14011                         scanning.  Fixes Ad-Hoc networks.
14012
14013 2006-01-08  Dan Williams  <dcbw@redhat.com>
14014
14015         * src/nm-ap-security.c
14016           src/nm-ap-security.h
14017                 - Add a user_created argument to the write_supplicant_config
14018                         functions
14019
14020         * src/nm-ap-security-wep.c
14021           src/nm-ap-security-wpa-psk.c
14022           src/nm-device-802-11-wireless.c
14023                 - Make Ad-Hoc mode somewhat work, at least write the
14024                         correct options to wpa_supplicant
14025
14026 2006-01-08  Dan Williams  <dcbw@redhat.com>
14027
14028         * src/nm-device-802-11-wireless.c
14029                 - Remove unused code from the old device activation path
14030
14031 2006-01-08  Dan Williams  <dcbw@redhat.com>
14032
14033         * libnm-util/dbus-helpers.c
14034                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14035                         dbus when key == NULL
14036
14037 2006-01-08  Dan Williams  <dcbw@redhat.com>
14038
14039         * gnome/applet/nm-gconf-wso-wpa-psk.c
14040                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14041                         correct arguments to nmu_security_deserialize_wpa_psk()
14042
14043         * src/nm-ap-security-wpa-psk.c
14044                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14045                         arguments to nmu_security_deserialize_wpa_psk()
14046
14047 2006-01-08  Dan Williams  <dcbw@redhat.com>
14048
14049         * gnome/applet/wso-wpa-psk-hex.c
14050           gnome/applet/wso-wpa-psk-passphrase.c
14051                 - Hook up the append_dbus_params_func() function
14052
14053 2006-01-08  Dan Williams  <dcbw@redhat.com>
14054
14055         * src/nm-device-802-11-wireless.c
14056                 - (get_wireless_capabilities): correctly detect driver WPA
14057                         capabilities
14058
14059 2006-01-08  Dan Williams  <dcbw@redhat.com>
14060
14061         * gnome/applet/Makefile.am
14062           gnome/applet/wso-wpa-psk-hex.c
14063           gnome/applet/wso-wpa-psk-hex.h
14064                 - New files, implement WPA-PSK Hex key input
14065
14066         * gnome/applet/wireless-applet.glade
14067                 - Change existing wpa-psk stuff to wpa-psk-hex
14068                 - Add new widgets for wpa-psk-passphrase
14069
14070         * gnome/applet/wireless-security-manager.c
14071                 - (wsm_set_capabilities): enable WPA options
14072
14073         * gnome/applet/wso-wpa-psk-passphrase.c
14074                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14075                         for WPA-PSK passphrase
14076
14077 2006-01-08  Dan Williams  <dcbw@redhat.com>
14078
14079         * include/NetworkManager.h
14080                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14081                         applet/info-daemons
14082
14083         * gnome/applet/passphrase-dialog.c
14084                 - Use the constant.  Fixes a bug where the arguments to
14085                         dbus_message_new_error() were incorrect
14086
14087         * src/nm-dbus-nmi.c
14088                 - Use the constant
14089
14090 2006-01-07  Dan Williams  <dcbw@redhat.com>
14091
14092         * src/nm-device-802-11-wireless.c
14093                 - Add a link timeout so we allow the supplicant time to
14094                         reassociate if it can, before we deactivate the card
14095                 - Fix up link status and link updating so things work better
14096
14097 2006-01-07  Dan Williams  <dcbw@redhat.com>
14098
14099         * src/nm-device-802-11-wireless.c
14100                 - Switch over to using wpa_supplicant
14101                 - Add a timeout of 10s for association of the supplicant
14102                 - Start the monitor callback of the supplicant
14103
14104 2006-01-07  Dan Williams  <dcbw@redhat.com>
14105
14106         * src/NetworkManagerUtils.c
14107                 - (nm_utils_supplicant_request,
14108                   nm_utils_supplicant_request_with_check):
14109                         pass correct buffer length to wpa_ctrl_request()
14110
14111 2006-01-07  Dan Williams  <dcbw@redhat.com>
14112
14113         * src/nm-device-private.h
14114           src/nm-device.c
14115                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14116                         this function available to subclasses
14117
14118 2006-01-06  Robert Love  <rml@novell.com>
14119
14120         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14121           user plugging in a network cable signals their preference for to
14122           switch, unless the user explicitly selected a wireless network and
14123           therefore signaled their preference for said wireless network over
14124           wired.  In other words, do exactly what makes sense.
14125
14126 2006-01-06  Robert Love  <rml@novell.com>
14127
14128         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14129           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14130           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14131           showing up in my greps.
14132
14133 2006-01-06  Robert Love  <rml@novell.com>
14134
14135         * gnome/applet/applet-dbus-devices.c,
14136           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14137           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14138           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14139           New Network' both failed in the non-encrypted case because we were
14140           not appending the security options to the DBUS message.  And
14141           'Connect to Other' was also failing in the encrypted case because
14142           we were not incrementing to the next DBUS parameter.  All fixed.
14143           Thanks to dcdw for some debugging help.
14144
14145 2006-01-06  Robert Love  <rml@novell.com>
14146
14147         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14148           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14149           hangup code and add per-device hangup.  Tie last commit into the
14150           GNOME applet.  TODO:  Save, understand, and respond to the state of
14151           each dialup device.
14152
14153 2006-01-06  Robert Love  <rml@novell.com>
14154
14155         Patch by Timo Hoenig <thoenig@suse.de>:
14156         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14157           hangup specific dialup devices.
14158         * src/backends/NetworkManagerDebian.c,
14159           src/backends/NetworkManagerGentoo.c,
14160           src/backends/NetworkManagerRedHat.c,
14161           src/backends/NetworkManagerSlackware.c: Add stub backend.
14162         * src/backends/NetworkManagerRedHat.c,
14163           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14164           hangup specific dialup devices.
14165
14166 2006-01-04  Robert Love  <rml@novell.com>
14167
14168         * gnome/applet/applet-dbus-devices.c,
14169           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14170           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14171           connections.
14172
14173 2006-01-04  Dan Williams  <dcbw@redhat.com>
14174
14175         First dump of wpa_supplicant-related code.  It's not hooked up to
14176         anything yet though.  Thanks to Kay Sievers for
14177         wpa_supplicant_wrapper.c, which formed the basis for this work,
14178         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14179
14180         * src/Makefile.am
14181           src/wpa_ctrl.[ch]
14182                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14183
14184         * src/NetworkManagerUtils.[ch]
14185                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14186                         Add convenience functions for talking to wpa_supplicant
14187
14188         * src/nm-ap-security.[ch]
14189           src/nm-ap-security-wep.c
14190           src/nm-ap-security-wpa-psk.[ch]
14191                 - Update and implement real_write_supplicant_config functions
14192                         in all security types
14193                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14194                         nm-ap-security-wpa-psk.c
14195
14196         * src/nm-device-802-11-wireless.c
14197                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14198                    wpa_supplicant_start, wpa_supplicant_interface_init,
14199                    wpa_supplicant_send_network_config): add functions to talk to
14200                         wpa_supplicant and write network config to it
14201
14202 2006-01-04  Robert Love  <rml@novell.com>
14203
14204         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14205           values so that distribution-backends can differentiate between the
14206           various types (modem, ISDN, et cetera) of dialup device that they
14207           support.
14208         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14209           needed.
14210
14211 2006-01-03  Dan Williams  <dcbw@redhat.com>
14212
14213         * src/NetworkManagerPolicy.c
14214           src/nm-device.[ch]
14215           src/nm-device-802-11-wireless.c
14216                 - Move wireless-specific activation failure and success code
14217                         into wireless device class
14218
14219 2006-01-03  Robert Love  <rml@novell.com>
14220
14221         Patch by Preggna S:
14222         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14223           IPsec does not require that a VPN client be bound to an interface,
14224           due to the use of the in-kernel IPSec bits.  So make the tunnel
14225           device optional.
14226
14227 2006-01-03  Dan Williams  <dcbw@redhat.com>
14228
14229         * src/NetworkManagerAP.c
14230                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14231                         the WPA IE specifies that WEP is supported
14232
14233         * src/nm-device-802-11-wireless.c
14234                 - (process_scan_results): don't mark an AP as supporting WEP
14235                         if there's already other encryption capability info
14236
14237 2006-01-03  Dan Williams  <dcbw@redhat.com>
14238
14239         * src/dhcp-manager/nm-dhcp-manager.c
14240                 - Recognize activation cancellation when waiting for DHCP
14241                         configuration from dhcdbd
14242                 - Ignore non-dhcdbd messages
14243
14244         * src/nm-device.c
14245                 - (real_act_stage3_ip_config_start): return to correct behavior
14246                         of letting the dhcp-manager notify us of failure or
14247                         success rather than incorrectly doing that ourselves
14248                 - (nm_device_activate_stage4_ip_config_get): deal with
14249                         activation cancellation a bit earlier
14250
14251 2006-01-03  Dan Williams  <dcbw@redhat.com>
14252
14253         * src/nm-device-802-11-wireless.c
14254           src/nm-device.[ch]
14255                 - Add hooks to subclasses for stage3_ip_config_start and
14256                         stage4_ip_config_timeout
14257
14258         * src/nm-device-802-3-ethernet.c
14259                 - (real_get_generic_capabilities): make devices NM-supported
14260                         by default
14261
14262 2006-01-03  Robert Love  <rml@novell.com>
14263
14264         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14265           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14266           latter cannot differentiate between error and the address -1; misc.
14267           clean up.
14268
14269 2006-01-03  Dan Williams  <dcbw@redhat.com>
14270
14271         * src/NetworkManager.c
14272                 - Move link-checking/probing into the device subclasses
14273                         themselves
14274
14275         * src/nm-device.[ch]
14276           src/nm-device-802-11-wireless.c
14277           src/nm-device-802-3-ethernet.c
14278                 - Do periodic link checking in device subclasses rather
14279                         than being triggered from NetworkManager.c
14280                 - discover_wireless_capabilities -> get_wireless_capabilities
14281                 - discover_generic_capabilities -> get_generic_capabilities
14282                 - Device subclass activation routines now return a value of type
14283                         NMActStageReturn to indicate what step to perform next
14284                 - Devices now override stage4_get_ip4_config if they choose
14285
14286 2006-01-01  Dan Williams  <dcbw@redhat.com>
14287
14288         * src/nm-device-802-11-wireless.c
14289                 - (real_init): don't chain up to parent init because we don't
14290                         need to do that anymore
14291
14292         * src/nm-device.c
14293                 - (discover_device_type): fix arguments to ioctl() to correctly
14294                         pass interface name
14295                 - (nm_device_new): consolidate generic device initialization into
14296                         nm_device_new()
14297                 - (real_init): remove, consolidated to nm_device_new()
14298                 - (nm_device_deactivate, real_deactivate): consolidate
14299
14300 2006-01-01  Dan Williams  <dcbw@redhat.com>
14301
14302         * src/nm-activation-request.c
14303                 - Change dhcp_state member of the NMActRequest structure
14304                         from guint8 to guint32
14305
14306         * src/dhcp-manager/nm-dhcp-manager.[ch]
14307                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14308                         than guint8 to match the dbus argument.  Turns out we were
14309                         overwriting memory since we were passing in only a guint8
14310
14311 2005-12-31  Dan Williams  <dcbw@redhat.com>
14312
14313         * refactor NMDevice into a GObject-based framework with separate
14314                 objects for wired and wireless.  The following files are no
14315                 longer used but should stick around for a bit so we don't
14316                 loose code through the cracks:
14317                         NetworkManagerDevice.c
14318                         NetworkManagerDevice.h
14319                         NetworkManagerWireless.c
14320                         NetworkManagerWireless.h
14321
14322         The intent here is to allow each device type to manage its own
14323         connection & activation life-cycle, ie to allow wireless devices
14324         to interface with wpa_supplicant, etc.  There's a fair bit of
14325         encapsulation breakage right now that should gradually get pulled
14326         back into each device, along with things like periodic property
14327         updates and link probing.
14328
14329 2005-12-29  Dan Williams  <dcbw@redhat.com>
14330
14331         * include/NetworkManager.h
14332                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14333                         between networks that don't have any encryption at all
14334
14335 2005-12-29  Dan Williams  <dcbw@redhat.com>
14336
14337         * test/test-common.c
14338           test/test-common.h
14339           test/Makefile.am
14340                 - Move to a test-common subdirectory
14341
14342         * test/libnm-util/test-ciphers.c
14343                 - Move test data to test-inputs.h
14344                 - Test WPA ciphers too
14345
14346         * test/libnm-util/test-dbus-helpers.c
14347                 - Test serialization/deserialization of ciphers
14348
14349 2005-12-29  Dan Williams  <dcbw@redhat.com>
14350
14351         * gnome/applet/applet-dbus-devices.c
14352                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14353                         in dbus calls to NM
14354                 - Set capabilities on WirelessNetwork objects
14355                 - Receive and save type-specific device capabilities too
14356
14357         * gnome/applet/applet-dbus-info.c
14358           gnome/applet/applet-dbus.c
14359                 - Passphrase dialog no longer a singleton; new instance gets created
14360                         on each request.  Updates to deal with that.
14361
14362         * gnome/applet/applet.c
14363                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14364                         than single 'encrypted' flag
14365                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14366                         menu items
14367                 - Passphrase dialog updates per above
14368
14369         * gnome/applet/menu-items.c
14370                 - (network_menu_item_update): use AP capabilities to determine
14371                         encryption
14372
14373         * gnome/applet/nm-device.[ch]
14374                 - Add accessors for type-specific device capabilities
14375
14376         * gnome/applet/other-network-dialog.c
14377                 - Rework to respect device capabilities.  i.e., if the device doesn't
14378                         support WPA, remove that option from the security dropdown
14379
14380         * gnome/applet/passphrase-dialog.c
14381                 - Massive rework so that a new instance is created each time
14382                         it's used, to support wireless network capabilities
14383
14384         * gnome/applet/wireless-network.[ch]
14385                 - Add accessors and members for wireless network capabilities
14386
14387         * gnome/applet/wireless-security-manager.[ch]
14388                 - (wsm_set_capabilities): called after creation to set which
14389                         security options get shown to the user
14390
14391 2005-12-29  Dan Williams  <dcbw@redhat.com>
14392
14393         * libnm-util/cipher-wpa-psk-passphrase.c
14394                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14395                         like other ciphers
14396
14397 2005-12-23  Dan Williams  <dcbw@redhat.com>
14398
14399         * gnome/applet/applet-dbus-info.c
14400                 - (nmi_dbus_get_key_for_network): if there's no entry in
14401                         GConf for a network, assume we want a new key
14402                 - (nmi_save_network_info): serialize wireless security info
14403                         into GConf so its saved
14404
14405         * src/nm-dbus-nm.c
14406                 - Fix warning as we may not be passed security info when
14407                         connecting to a wireless network
14408
14409 2005-12-23  Dan Williams  <dcbw@redhat.com>
14410
14411         * gnome/applet/applet-compat.c
14412                 - Fix bugs in GConf entry conversion
14413
14414         * gnome/applet/applet-dbus-info.c
14415                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14416                         list being zero-length
14417
14418         * libnm-util/cipher-*
14419           libnm-util/dbus-helpers.c
14420                 - All ciphers must now return hashed keys as UTF-8 valid
14421                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14422                         through dbus as strings too.
14423                 - Consolidate various functions that do bin->hex and hex->bin
14424                         conversion into cipher.c
14425
14426         * src/nm-ap-security-wep.c
14427           src/nm-ap-security-wpa-psk.c
14428                 - Handle NULL keys since we may not know keys right away
14429
14430         * src/nm-dbus-nmi.c
14431                 - (nm_dbus_get_network_data_cb): actually advance to the start
14432                         of the wireless security info before we try to deserialize it
14433
14434         * libnm-util/test-ciphers.c
14435                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14436
14437 2005-12-22  Dan Williams  <dcbw@redhat.com>
14438
14439         * gnome/applet/applet-compat.[ch]
14440                 - Convert old-format GConf and keyring entries
14441                         when the applet starts up.
14442
14443         * gnome/applet/applet.c
14444                 - (nmwa_get_instance): Call the conversion function
14445                         on startup before dbus is initialized
14446
14447 2005-12-22  Dan Williams  <dcbw@redhat.com>
14448
14449         * gnome/applet/applet-dbus-info.c
14450                 - Remove nmi_dbus_create_error_message() in favor of
14451                         nmu_create_dbus_error_message()
14452                 - (nmi_dbus_get_network_properties): Error message cleanups
14453                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14454                         gconf key rather than 'addresses', since they really are BSSIDs
14455                 - (nmi_dbus_get_network_properties): Dispose of the security
14456                         object when we're done with it
14457
14458 2005-12-21  Dan Williams  <dcbw@redhat.com>
14459
14460         * Consolidate the info-daemon's "updateNetworkInfo" and
14461                 "addNetworkAddress" calls into just "updateNetworkInfo"
14462
14463 2005-12-21  Dan Williams  <dcbw@redhat.com>
14464
14465         * Make connection after key retrieval work again
14466
14467 2005-12-21  Dan Williams  <dcbw@redhat.com>
14468
14469         * gnome/applet/nm-gconf-wso*
14470                 - Make the serialize functions return gboolean
14471                         rather than int
14472
14473         * gnome/applet/nm-gconf-wso.c
14474                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14475                         parent class handling so we don't segfault
14476
14477         * src/NetworkManagerAP.[ch]
14478                 - (nm_ap_get_capabilities): new function, return capabilities
14479                         now that something can use them
14480                 - (nm_ap_set_encrypted): assume that an access point supports
14481                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14482                         we even tell whether it just supports WEP40?
14483
14484         * src/NetworkManagerDevice.c
14485                 - (ap_need_key): resurrect and update for the New World Order
14486                 - (nm_device_wireless_get_activation_ap): if we're not given
14487                         security info to use, create some based on access point
14488                         capabilities
14489
14490         * src/nm-ap-security-wep.c
14491                 - (nm_ap_security_wep_new_from_ap): create a new object
14492                         based on a certain access point's capabilities
14493
14494         * src/nm-ap-security.c
14495                 - (nm_ap_security_new_from_ap): delegate creation of a new
14496                         object based on access point capabilities to a subclass
14497                 - (nm_ap_security_copy_properties): don't segfault if we
14498                         don't have a key yet
14499
14500         * src/nm-dbus-nm.c
14501                 - (nm_dbus_nm_set_active_device): provide more informative
14502                         output when errors occur.  Also construct security info
14503                         for a given access point if we weren't given any
14504
14505 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14506
14507         * configure.in: Added Lithuanian to ALL_LINGUAS.
14508
14509 2005-12-21  Dan Williams  <dcbw@redhat.com>
14510
14511         * test/libnm-util
14512                 - Add some testcases for WEP ciphers
14513
14514 2005-12-17  Dan Williams  <dcbw@redhat.com>
14515
14516         * Fix bugs
14517
14518 2005-12-17  Dan Williams  <dcbw@redhat.com>
14519
14520         * include/NetworkManager.h
14521                 - Finally kill NMEncKeyType
14522
14523         * gnome/applet/applet-dbus-info.c
14524                 - (nmi_save_network_info): convert to NMGConfWSO
14525
14526         * gnome/applet/nm-gconf-wso-*.c
14527                 - Implement gconf serialization functions
14528
14529         * src/NetworkManagerPolicy.c
14530                 - (nm_policy_activation_finish): fix up meaning of
14531                         automatic/user_requested
14532
14533 2005-12-17  Dan Williams  <dcbw@redhat.com>
14534
14535         * gnome/applet/*
14536                 - More applet cleanups
14537                 - Use the dbus-method-dispatcher
14538
14539         * libnm-util/dbus-method-dispatcher.[ch]
14540                 - Generalize the implementation from NM in
14541                         NetworkManagerUtils.c
14542
14543 2005-12-16  Dan Williams  <dcbw@redhat.com>
14544
14545         * gnome/applet/*
14546                 - Fix up the passphrase dialog to use all the
14547                         WirelessSecurityOption stuff (untested)
14548
14549 2005-12-16  Dan Williams  <dcbw@redhat.com>
14550
14551         * Move nm_gconf_get_*_helper() functions to separate files,
14552                 gconf-helpers.c & gconf-helpers.h
14553
14554         * New NMGConfWSO objects for managing the gconf side of things.
14555                 Eventually these should be merged with the
14556                 WirelessSecurityOption objects and a common base (that can
14557                 serialize/deserialize from dbus & gconf) should be
14558                 refactored out, but for now they are separate.
14559
14560 2005-12-16  Robert Love  <rml@novell.com>
14561
14562         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14563           binaries unless they exist (nm_spawn_process() emits a warning if
14564           asked to spawn a non-existant process).
14565
14566 2005-12-16  Dan Williams  <dcbw@redhat.com>
14567
14568         * gnome/applet/applet-dbus-info.c
14569                 - Clean up lots of gconf-related code
14570
14571 2005-12-16  Robert Love  <rml@novell.com>
14572
14573         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14574
14575 2005-12-16  Dan Williams  <dcbw@redhat.com>
14576
14577         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14578
14579         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14580                 bits still to be done)
14581
14582 2005-12-16  Dan Williams  <dcbw@redhat.com>
14583
14584         * Finally move info-daemon related stuff out of
14585                 NetworkManagerDbus.c to nm-dbus-nmi.c
14586
14587 2005-12-16  Dan Williams  <dcbw@redhat.com>
14588
14589         * Kill auth_method for access points, since that's now done
14590                 by NMAPSecurity objects
14591
14592         * Add a copy-constructor of sorts to NMAPSecurity
14593                 (how do you do this properly in glib???)
14594
14595 2005-12-15  Dan Williams  <dcbw@redhat.com>
14596
14597         * Exorcise encryption key hashing on APs
14598         * Use libnm-util's serialization/deserialization in both the
14599                 applet and NM
14600         * Random other stuff
14601
14602 2005-12-15  Robert Love  <rml@novell.com>
14603
14604         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14605           is being added to the icon naming spec, so let's use that (Tango CVS
14606           has the icon).  Because it is new, however, we fall back to the
14607           current "gnome-lockscreen" if the new icon is not around, thus
14608           behavior is the same.
14609         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14610           factory junk.
14611
14612 2005-12-15  Robert Love  <rml@novell.com>
14613
14614         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14615           well, help to give.  Couple other misc. bits.
14616
14617 2005-12-15  Dan Williams  <dcbw@redhat.com>
14618
14619         * libnm-util/dbus-helpers.[ch]
14620                 - Make this the one-stop-shop for serializing/deserializing
14621                         AP & connection security settings over dbus.  Both NM
14622                         and applets should use this to ensure consistent dbus
14623                         API going forwared.
14624
14625 2005-12-15  Robert Love  <rml@novell.com>
14626
14627         Patch by Timo Hoenig  <thoenig@suse.de>:
14628         * src/NetworkManagerDbus.c
14629                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14630                         if HAL jumps off the system bus.  Otherwise libdbus
14631                         (dbus_connection_dispatch) will try to run the filter
14632                         function of our libhal context which is already freed.
14633
14634 2005-12-15  Alexander Shopov  <ash@contact.bg>
14635
14636         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14637
14638 2005-12-14  Dan Williams  <dcbw@redhat.com>
14639
14640         * include/NetworkManager.h
14641           src/NetworkManagerWireless.c
14642                 - Rearrange 802.11 wireless-specific capabilities again
14643
14644         * src/Makefile.am
14645                 - Forgot to add wpa.c/wpa.h to the makefiles
14646
14647         * src/NetworkManagerAP.[ch]
14648                 - Implement access point capabilities and parse the
14649                         WPA/RSN IEs into the capability bitfield
14650                 - Switch the "encrypted" attribute to utilize the bitfield
14651                         and capabilities rather than being independent
14652
14653         * src/NetworkManagerDevice.c
14654                 - (nm_device_wireless_get_activation_ap): break it horribly
14655                         until we can push NMAPSecurity objects into access point
14656                         objects and through the activation chain
14657                 - Stuff WPA & RSN IEs into AP capabilities
14658
14659         * src/nm-dbus-nm.c
14660                 - Take a shot at actually making setActiveDevice work
14661
14662         * src/wpa.[ch]
14663                 - Make the API a bit saner
14664
14665 2005-12-14  Dan Williams  <dcbw@redhat.com>
14666
14667         * include/NetworkManager.h
14668                 - Add 802.11-specific capability for 802.1x key
14669                         management
14670
14671         * src/wpa.[ch]
14672                 - Pull in WPA IE and RSN IE parsing code from
14673                         wpa_supplicant so we can determine access point
14674                         capabilities
14675                 - Move WPA-related constants here from NetworkManagerAP.h
14676                         and NetworkManagerDevice.c
14677
14678         * src/NetworkManagerDevice.c
14679           src/NetworkManagerAP.[ch]
14680                 - Use WPA-related constants from wpa.h
14681
14682 2005-12-14  Dan Williams  <dcbw@redhat.com>
14683
14684         * include/NetworkManager.h
14685                 - Update and split 802.11 wireless-specific capabilities from
14686                         generic device capabilities
14687
14688         * src/NetworkManagerDevice.c
14689           src/NetworkManagerDevicePrivate.h
14690                 - (nm_device_wireless_discover_capabilities): Move 802.11
14691                         wireless-specific capability checks to
14692                         NetworkManagerWireless.c
14693                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14694                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14695
14696         * src/NetworkManagerWireless.[ch]
14697                 - (nm_802_11_wireless_discover_capabilities): Check extended
14698                         802.11 wireless-specific capabilities of the driver
14699
14700 2005-12-14  Robert Love  <rml@novell.com>
14701
14702         Patch from Stefan Scheler <sscheler@suse.de>:
14703         * src/NetworkManagerDevice.c: call backend code to activate and
14704           deactivate NIS.
14705         * src/NetworkManagerSystem.h: add new NIS interfaces.
14706         * src/backends/NetworkManagerDebian.c,
14707           src/backends/NetworkManagerGentoo.c,
14708           src/backends/NetworkManagerRedHat.c,
14709           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14710           support.
14711         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14712
14713 2005-12-14  Dan Williams  <dcbw@redhat.com>
14714
14715         * src/nm-ap-security*.[ch]
14716                 - Add AP security abstractions to NetworkManager
14717
14718         * src/nm-dbus-device.c
14719                 - Begin to parse new format dbus messages from the applet
14720                         and construct an AP security object from the message
14721
14722         * libnm-util/dbus-helpers.c
14723                 - Use message iters so we can append the key as a fixed
14724                         array of bytes, which actually works rather than
14725                         using dbus_message_append_args() as we were before
14726
14727 2005-12-14  Dan Williams  <dcbw@redhat.com>
14728
14729         * src/NetworkManagerDbus.c
14730           gnome/applet/applet-dbus.c
14731                 - Fix up dbus service replacement options.  The applet
14732                         should allow replacement, NM itself should not.
14733
14734 2005-12-13  Robert Love  <rml@novell.com>
14735
14736         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14737           Instead, fail silently if config is NULL by not asserting and not
14738           returning FALSE.  Also, make sure we always fclose() the file.
14739
14740 2005-12-13  Robert Love  <rml@novell.com>
14741
14742         Patch by Stefan Scheler <sscheler@suse.de>:
14743         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14744            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14745            via DHCP.  Still need the backends to commit the NIS domain name and
14746            and servers to yp.conf as needed.
14747
14748 2005-12-13  Robert Love  <rml@novell.com>
14749
14750         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14751           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14752
14753 2005-12-13  Robert Love  <rml@novell.com>
14754
14755         * src/named-manager/nm-named-manager.c: Don't unref the config until
14756           after we call rewrite_resolv_conf(), because get_last_default_domain()
14757           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14758           `config != NULL' failed" assertion failures and "Could not commit DNS
14759           changes" warnings.
14760
14761 2005-12-12  Dan Williams  <dcbw@redhat.com>
14762
14763         * libnm-util/dbus-helpers.[ch]
14764           libnm-util/Makefile.am
14765                 - new helper calls to consolidate locations where
14766                         NM's setDevice method is called
14767
14768         * gnome/applet/applet-dbus-devices.c
14769           gnome/applet/wireless-security-option.c
14770           gnome/applet/wso-*
14771                 - Implement dbus message param append function for
14772                         all wireless security options
14773
14774 2005-12-12  Robert Love  <rml@novell.com>
14775
14776         * libnm-util/cipher-wep-passphrase.c,
14777           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14778           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14779           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14780           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14781           When handling keys, we don't care what the sign is.  The compiler
14782           guarantees us that we get our 8-bits, which is all we care about.
14783         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14784
14785 2005-12-12  Dan Williams  <dcbw@redhat.com>
14786
14787         * gnome/applet/applet-dbus-devices.[ch]
14788           gnome/applet/applet.c
14789           gnome/applet/other-network-dialog.c
14790           gnome/applet/wireless-security-manager.[ch]
14791           gnome/applet/wireless-security-option.[ch]
14792           gnome/applet/wso-*
14793                 - Push the wireless security options further into the applet
14794
14795 2005-12-12  Robert Love  <rml@novell.com>
14796
14797         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14798           return any name servers.  That is perfectly valid.  (Novell #134369).
14799
14800 2005-12-11  Dan Williams  <dcbw@redhat.com>
14801
14802         * gnome/applet/wso-*
14803           gnome/applet/wireless-security-option.*
14804           gnome/applet/Makefile.am
14805                 - split each security option out so we can eventually
14806                         have each one build up their own dbus message
14807                         arguments to send to NM
14808
14809 2005-12-11  Dan Williams  <dcbw@redhat.com>
14810
14811         * Make validation of the key work correctly
14812
14813 2005-12-11  Dan Williams  <dcbw@redhat.com>
14814
14815         * Hook more bits of the Other Network Dialog up to the
14816                 wireless security manager stuff, and restructure
14817                 bits of the dialog so there's less code.
14818
14819 2005-12-10  Dan Williams  <dcbw@redhat.com>
14820
14821         * gnome/applet/Makefile.am
14822                 - Add libnm-util to includes
14823                 - Add libnm-util to link list
14824                 - Add wireless-security-common.* to compile list
14825
14826         * gnome/applet/other-network-dialog.c
14827                 - Convert to using the WirelessSecurityManager code and
14828                         widgets
14829
14830         * gnome/applet/passphrase-dialog.c
14831                 - Comment out references to stuff in the glade file that
14832                         cause runtime errors until it can be fixed up
14833                         to use the WirelessSecurityManager code
14834
14835         * gnome/applet/wireless-applet.glade
14836                 - Rename some widgets
14837                 - Add widgets for the WirelessSecurityManager code
14838                 - Remove passphrase-related stuff since that's now
14839                         handled by the WirelessSecurityManager code
14840
14841 2005-12-10  Dan Williams  <dcbw@redhat.com>
14842
14843         * gnome/applet/applet-dbus-devices.c
14844                 - Print out error message details for dbus pending call callbacks
14845                 - Move nmwa_dbus_update_devices() up
14846
14847         * gnome/applet/applet-dbus-vpn.c
14848                 - Print out error message details for dbus pending call callbacks
14849
14850 2005-12-10  Dan Williams  <dcbw@redhat.com>
14851
14852         * libnm-util/*
14853                 - More fixups
14854                 - Remove cipher-manager.* because we don't need it
14855                 - Forgot to add gnome-keyring-md5 files to compile list
14856
14857 2005-12-09  Dan Williams  <dcbw@redhat.com>
14858
14859         * libnm-util/*
14860           configure.in
14861           Makefile.am
14862                 - Add a utility library for clients of NetworkManager.  It's
14863                         only targetted at applets for the moment, and contains
14864                         a generalized 802.11 cipher framework for different
14865                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14866
14867 2005-12-09  Robert Love  <rml@novell.com>
14868
14869         * src/NetworkManagerDevice.c: handle error better in
14870           nm_device_set_mode().
14871
14872 2005-12-08  Robert Love  <rml@novell.com>
14873
14874         * include/NetworkManager.h: add WPA capabilities constants
14875         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14876           or WPA2 and add the capabilities bits as appropriate.
14877
14878 2005-12-08  Robert Love  <rml@novell.com>
14879
14880         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14881           NetworkManagerDispatcher.
14882         * configure.in, initscript/SUSE/.cvsignore,
14883           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14884           initscript.
14885
14886 2005-12-08  Robert Love  <rml@novell.com>
14887
14888         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14889
14890 2005-12-08  Robert Love  <rml@novell.com>
14891
14892         * src/NetworkManagerDevice.c: We want to fall back on and default to
14893           IW_MODE_AUTO, not -1, which is more in line with our previous
14894           behavior.  Otherwise, we try to set the wireless mode to -1 in
14895           nm_device_set_mode().
14896
14897 2005-12-07  Robert Love  <rml@novell.com>
14898
14899         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14900           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14901           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14902           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14903           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14904           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14905           zero.
14906
14907 2005-12-07  Robert Love  <rml@novell.com>
14908
14909         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14910           supplied IP is invalid, fall back to DHCP.
14911
14912 2005-12-07  Dan Williams  <dcbw@redhat.com>
14913
14914         * Convert NETWORK_MODE_* constants to IW_MODE_*
14915         * Make all the get_mode/set_mode functions take and return 'int'
14916         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14917
14918 2005-12-07  Robert Love  <rml@novell.com>
14919
14920         * src/NetworkManagerDevice.c: strncpy() buffer check.
14921         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14922
14923 2005-12-06  Dan Williams  <dcbw@redhat.com>
14924
14925         * gnome/applet/applet-dbus.c
14926                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14927
14928         * gnome/applet/applet-dbus-vpn.c
14929                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14930                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14931                         to TRUE here if stage was ACTIVATED
14932
14933 2005-12-06  Dan Williams  <dcbw@redhat.com>
14934
14935         * Change nm_device_is_* functions to better names:
14936                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14937                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14938
14939 2005-12-06  Dan Williams  <dcbw@redhat.com>
14940
14941         * Change naming of NMDeviceType to something more sensible:
14942                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14943                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14944                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14945
14946 2005-12-06  Dan Williams  <dcbw@redhat.com>
14947
14948         * Move NetworkManager.h -> include/NetworkManager.h
14949         * Split out VPN stuff into include/NetworkManagerVPN.h
14950         * Fix up makefiles to include new location
14951         * Fix up sources to include NetworkManagerVPN.h
14952
14953 2005-12-06  Dan Williams  <dcbw@redhat.com>
14954
14955         Various changes in the applet to move VPN connection "state" -> "stage",
14956         which it actually is.  I'd like to change the signal as well when we
14957         break compat in the near future.
14958
14959 2005-12-06  Dan Williams  <dcbw@redhat.com>
14960
14961         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14962         * initscript/Slackware/rc.networkmanager
14963                 - Cosmetic fix
14964
14965         * src/backends/NetworkManagerSlackware.c
14966                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14967                         interfaces
14968
14969 2005-12-05  Robert Love  <rml@novell.com>
14970
14971         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14972           to free, particularly here as it just barfs.
14973
14974 2005-12-05  Dan Williams  <dcbw@redhat.com>
14975
14976         * gnome/applet/applet-dbus.c
14977                 - Work with dbus 0.6 too
14978
14979 2005-12-03  Dan Williams  <dcbw@redhat.com>
14980
14981         * src/NetworkManagerUtils.[ch]
14982           src/nm-ip4-config.c
14983                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14984                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14985
14986 2005-12-01  Robert Love  <rml@novell.com>
14987
14988         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14989           need a NULL for the '...' parameter, too, to fill the so-called
14990           sentinel.
14991
14992 2005-12-01  Robert Love  <rml@novell.com>
14993
14994         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14995           interface is already gone, so don't call rtnl_link_change() to down
14996           it (which will segfault, anyhow).
14997
14998 2005-11-22  Robert Love  <rml@novell.com>
14999
15000         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15001           gateway is not set, just print a little note.  Configurations without
15002           gateways are valid.
15003
15004 2005-11-22  Robert Love  <rml@novell.com>
15005
15006         * README: update
15007
15008 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15009
15010         * configure.in: Added Finnish translation to ALL_LINGUAS
15011
15012 2005-11-14  Robert Love  <rml@novell.com>
15013
15014         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15015           Niemueller <tim@niemueller.de>.
15016
15017 2005-11-08  Dan Williams  <dcbw@redhat.com>
15018
15019         Patch from Bill Moss <bmoss@clemson.edu>
15020         * src/NetworkManagerDevice.c
15021                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15022                         of nm_policy_schedule_activation_finish() to prevent a
15023                         race condition that causes the link to be dropped
15024
15025 2005-11-08  Dan Williams  <dcbw@redhat.com>
15026
15027         Patch from Bill Moss <bmoss@clemson.edu>
15028         * src/NetworkManagerAPList.c
15029           src/NetworkManagerDevice.c
15030           src/NetworkManagerDbus.c
15031                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15032                         we get more readable ether/mac addresses
15033
15034 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15035
15036         * gnome/applet/main.c: Don't set the restart command.  This fixes
15037         the issue where the restart command was getting copies of all its
15038         arguments for each time the applet was restarted.
15039
15040 2005-11-02  Robert Love  <rml@novell.com>
15041
15042         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15043           if the widget state differs from our saved state.  This ensures we
15044           do not enter an endless loop of death and destruction.  Also, this
15045           guarantees us that we enforce the widget state.
15046
15047 2005-11-02  Robert Love  <rml@novell.com>
15048
15049         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15050         * gnome/applet/applet-dbus-devices.c: invoke the new function
15051           nmwa_enable_wireless_set_active() to ensure that the state of the
15052           'Enable Wireless' checkbox matches the daemon's state.  This is a
15053           concern because the daemon remembers the state.
15054
15055 2005-11-02  Robert Love  <rml@novell.com>
15056
15057         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15058           Enabled", as checkboxes should be actions/commands not positive
15059           statements, otherwise they are confusing in the unselected case.  See
15060           examples in GNOME HIG, Chapter 6.
15061
15062 2005-11-02  Robert Love  <rml@novell.com>
15063
15064         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15065           show a list of wireless networks or the wireless devices or the
15066           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15067           a bad bug: If wireless is disabled and the user picks a wireless
15068           network, NM will switch to the network, only to immediately switch
15069           back, as wireless is disabled.  This also reassures people that NM
15070           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15071
15072 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15073
15074         * gnome/applet/applet.c:
15075         * gnome/applet/applet.h:
15076         Partial backout of Dan's timeout animation patch.
15077         Timeout IDs cannot legally be 0, so revert the code in place to handle
15078         a timeout ID of 0 to denote the timeout isn't running.
15079
15080 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15081
15082         * src/NetworkManagerPolicy.c:
15083         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15084
15085 2005-10-28  Robert Love  <rml@novell.com>
15086
15087         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15088           "Import Saved Configuration..." to make it clear that importing is
15089           not the next step, but an option.  As an aside, a nice TODO would be
15090           to move Importing out of the vpn-specific dialog and into the main
15091           property editor, as Importing goes with Adding, but that will require
15092           some rearchitecting of the VPN stuff I suspect.
15093
15094 2005-10-27  Dan Williams  <dcbw@redhat.com>
15095
15096         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15097         we should replace most of the distro-specific backend code
15098         with libnl stuff.
15099
15100         Get it here:  http://people.suug.ch/~tgr/libnl/
15101
15102         * configure.in
15103           src/Makefile.am
15104                 - Add checks for libnl pkgconfig file
15105                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15106
15107         * src/NetworkManagerSystem.c
15108           src/nm-ip4-config.[ch]
15109                 - Use libnl rather than ioctl() for most things
15110                 - Remove unused functions
15111
15112 2005-10-27  Robert Love  <rml@novell.com>
15113
15114         * src/backends/NetworkManagerSuSE.c: fix warning message text
15115
15116 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15117
15118         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15119
15120 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15121
15122         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15123         project page <http://www.gnome.org/projects/NetworkManager/>
15124
15125 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15126
15127         * gnome/applet.c: Also use translator credits if we don't have
15128         the new GtkAboutDialog (older versions of GTK+)
15129
15130 2005-10-26  Robert Love  <rml@novell.com>
15131
15132         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15133           failure; correct usage text for "--no-daemon"
15134
15135 2005-10-25  Dan Williams  <dcbw@redhat.com>
15136
15137         * src/NetworkManagerDevice.c
15138                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15139                         no scan results
15140                 - (free_process_scan_cb_data): unref the device when freeing results
15141                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15142                         so we don't unref the device underneath ourselves
15143
15144 2005-10-25  Dan Williams  <dcbw@redhat.com>
15145
15146         * Back out 2005-10-24 commit from Tor Krill.  Patch
15147                 causes nameservers never to be removed from named.
15148
15149 2005-10-24  Dan Williams  <dcbw@redhat.com>
15150
15151         Clean up wireless scanning and wireless link probing.
15152
15153         * src/NetworkManagerDevice.c
15154                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15155                         just see if there's an activation request on the device, and check the
15156                         current link against the activation request access point's ESSID.
15157                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15158                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15159                         don't call process_scan_results() on zero-length data
15160                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15161                         15 seconds (from 10)
15162
15163 2005-10-24  Dan Williams  <dcbw@redhat.com>
15164
15165         Cleanup some applet stuff:
15166
15167         - Animation timeouts.  If NM died while the applet was animating,
15168                 the applet would not hide itself.  This is now fixed.
15169
15170         - Remove some dead code
15171
15172         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15173                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15174
15175         - Track animation timeout using a gboolean rather than the timeout's
15176                 ID, since timeout IDs can legally be 0.
15177
15178 2005-10-24  Dan Williams  <dcbw@redhat.com>
15179
15180         * src/backends/interface_parser.c
15181                 - Add void to function declarations that need it
15182                         to match patch from Engin AYDOGAN
15183
15184         * src/backends/interface_parser.h
15185                 - Remove unused prototype for ifparser_interfaces()
15186
15187         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15188         * src/backends/interface_parser.h:
15189                 - Compile fixes for gcc 4.0.2 (add void)
15190
15191 2005-10-24  Dan Williams  <dcbw@redhat.com>
15192
15193         Patch from Tor Krill <tor@krill.nu>
15194         * src/named-manager/nm-named-manager.c
15195                 - Write more than just the first nameserver to /etc/resolv.conf
15196                 - Write out valid /etc/resolv.conf on exit
15197
15198 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15199
15200         * gnome/applet/applet-dbus-vpn.c:
15201         Get rid of spurious newlines in debug console output
15202
15203 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15204
15205         * src/backends/NetworkManagerGentoo.c:
15206         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15207
15208 2005-10-20  Robert Love  <rml@novell.com>
15209
15210         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15211           direct comparison of floating point values, which is never correct.
15212           Also some misc. cleanup.
15213
15214 2005-10-19  Robert Love  <rml@novell.com>
15215
15216         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15217
15218 2005-10-19  Robert Love  <rml@novell.com>
15219
15220         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15221           sensitivity of the buttons.  Specificaly, do the right thing if
15222           there are no entries.
15223
15224 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15225
15226         * configure.in: Update check for adequate wireless-tools
15227         with an AC_TRY_COMPILE for the new symbols we use.
15228
15229 2005-10-19  Dan Williams  <dcbw@redhat.com>
15230
15231         * src/NetworkManagerDevice.c
15232                 - (process_scan_results): don't drop the last (or only)
15233                         access point we see
15234
15235 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15236
15237         * src/backends/NetworkManagerSlackware.c:
15238         Patch from Nico <lordllucifer@gmail.com>
15239                 - Update the Slackware backend.
15240
15241 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15242
15243         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15244         if we've got GLib 2.8.0
15245
15246 2005-10-18  Robert Love  <rml@novell.com>
15247
15248         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15249           function nm_schedule_state_change_signal_broadcast() when we
15250           deactivate a device, too.
15251
15252 2005-10-18  Robert Love  <rml@novell.com>
15253
15254         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15255           be used uninitialized.
15256
15257 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15258
15259         * test/libnm_glib_test.c: Test unregistering, too.
15260
15261 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15262
15263         * configure.in: Bump to 0.5.0
15264
15265 2005-10-17  Dan Williams  <dcbw@redhat.com>
15266
15267         * NetworkManager.h
15268                 - Remove WPA-related constants so they aren't part of the
15269                         upcoming release.
15270
15271 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15272
15273         * gnome/applet/applet.c:
15274         * gnome/applet/applet.h:
15275         Desensitize the 'Connection Information' menu item when there is
15276         no active connection.
15277
15278 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15279
15280         * gnome/libnm_glib/libnm_glib.c:
15281         Make libnm_glib_unregister_callback () actually unregister the callback
15282
15283 2005-10-17  Robert Love  <rml@novell.com>
15284
15285         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15286           two seconds -- tries is updated every 1/10 of a second, not every
15287           second..
15288
15289 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15290
15291         * gnome/applet/applet-dbus-info.c:
15292         Let D-BUS know that we haven't handled a message when we haven't.
15293
15294 2005-10-17  Robert Love  <rml@novell.com>
15295
15296         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15297           in order to remain 64-bit clean.
15298
15299 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15300
15301         * gnome/applet/applet-dbus-info.c:
15302         Find network encryption keys asynchronously
15303
15304 2005-10-17  Robert Love  <rml@novell.com>
15305
15306         * src/backends/NetworkManagerDebian.c,
15307           src/backends/NetworkManagerRedHat,
15308           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15309           comment delimiter.
15310
15311 2005-10-17  Robert Love  <rml@novell.com>
15312
15313         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15314           "/etc"
15315
15316 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15317
15318         * src/NetworkManagerDevice.c: (process_scan_results)
15319         Fix logic that checks to see whether we have an ESSID.
15320
15321 2005-10-15  Dan Williams  <dcbw@redhat.com>
15322
15323         Move scanning code into NetworkManager rather than use iwlib's
15324         iw_scan() function, so that we can figure out AP capabilities.
15325
15326         * NetworkManager.h
15327                 - Add AP capability bits
15328
15329         * src/NetworkManagerAP.[ch]
15330                 - Add capability field to NMAccessPoint structure
15331                 - Add WPA & RSN Information Element fields and accessor
15332                         functions to NMAccessPoint
15333
15334         * src/NetworkManagerDevice.c
15335                 - Remove usage of iw_scan
15336                 - Add scanning code to NetworkManager rather than use
15337                         iw_scan() from iwlib
15338
15339         * src/NetworkManagerUtils.[ch]
15340                 - (nm_dispose_scan_results): remove, unused
15341
15342 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15343
15344         * gnome/libnm_glib/libnm_glib.c:
15345         * gnome/libnm_glib/libnm_glib.h:
15346         Use guint instead of gint for callback IDs.
15347
15348 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15349
15350         * gnome/applet/applet.c:
15351         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15352         every 1000ms.  It will unconditionally call nmwa_update_state which
15353         kills the existing animation timeout and registers a new one with a
15354         callback to draw a new frame every 100ms.  There are 11 connecting
15355         icon frames, so the last 2 frames kept getting dropped.  Only reset
15356         the animation timeout if we aren't animating.
15357
15358 2005-10-11  Dan Williams  <dcbw@redhat.com>
15359
15360         * gnome/applet/applet-dbus-devices.c
15361                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15362                         We want to grab the product & vendor from net.physical_dev
15363                         rather than info.parent.
15364
15365 2005-10-11  Dan Williams  <dcbw@redhat.com>
15366
15367         * src/NetworkManagerDevice.c
15368                 - Use the driver's WE version for scanning rather than
15369                         the WE version NM was compiled with.  Fixes random
15370                         crashes in iw_scan () in iwlib.
15371
15372 2005-10-10  Dan Williams  <dcbw@redhat.com>
15373
15374         * Remove nm_system_load_device_modules() from backend files
15375                 and from NetworkManager.c
15376
15377 2005-10-10  Dan Williams  <dcbw@redhat.com>
15378
15379         * src/NetworkManagerPolicy.c
15380                 - Fix some bugs introduced by the capabilities patch
15381
15382 2005-10-10  Dan Williams  <dcbw@redhat.com>
15383
15384         * gnome/applet/applet-dbus-info.c
15385                 - (nmi_dbus_get_network_key): hide the menu when putting up
15386                         the keyring dialog.  (not sure if the code is right...)
15387
15388 2005-10-09  Dan Williams  <dcbw@redhat.com>
15389
15390         Patch from Bill Moss <bmoss@clemson.edu>
15391         * src/NetworkManagerDevice.c
15392                 - (nm_device_set_user_key_for_network): don't try to set auth
15393                         mode on the AP from the allowed list if it's NULL
15394
15395 2005-10-09  Dan Williams  <dcbw@redhat.com>
15396
15397         * Replace the "driver support level" stuff with capabilities.  The
15398                 capability field is a bitfield that is more flexible than the
15399                 old driver support level thing.  It's mostly so we can easily
15400                 figure out what supports WPA and what doesn't, but should be
15401                 quite useful later.
15402
15403 2005-10-09  Dan Williams  <dcbw@redhat.com>
15404
15405         * test/nmtest.c
15406                 - Removed
15407
15408         * test/nm-tool.c
15409           test/Makefile.am
15410                 - Added new "nm-tool" tool that gives quite a bit more
15411                         information
15412
15413 2005-10-07  Robert Love  <rml@novell.com>
15414
15415         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15416           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15417           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15418           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15419           appropriate
15420
15421 2005-10-07  Robert Love  <rml@novell.com>
15422
15423         * configure.in: Change our compile flags for the betterment of mankind.
15424           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15425           prototype is very bad on 64-bit platforms as types default to int but
15426           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15427           "-Wmissing-declarations" to warn if we define an exported function
15428           but fail to put it in a header.
15429
15430 2005-10-07  Robert Love  <rml@novell.com>
15431
15432         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15433           by the name nm_update_device_wireless_timeouts() and once tried,
15434           without success, to steal my pet turtle.
15435
15436 2005-10-07  Robert Love  <rml@novell.com>
15437
15438         * Cleanup prototypes: put some functions in header files and mark
15439           others as 'static' -- feel free to invert
15440         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15441           nm_vpn_manager_vpn_connection_list_copy()
15442         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15443           nm_vpn_service_get_dbus_connection()
15444         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15445           nm_vpn_manager_vpn_connection_list_copy()
15446         * src/vpn-manager/nm-vpn-service.c: make
15447           nm_vpn_service_act_request_failed() and
15448           nm_vpn_service_stage2_daemon_wait() static
15449         * src/vpn-manager/nm-vpn-service.h: add prototype for
15450           nm_vpn_service_get_dbus_connection()
15451
15452 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15453
15454         * gnome/applet/applet.c:
15455         * gnome/applet/applet.h:
15456         * gnome/applet/icons/Makefile.am:
15457         Convey information about the current connection stage in the
15458         icons themselves instead of creating a separate progress bar.
15459
15460 2005-10-04  Robert Love  <rml@novell.com>
15461
15462         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15463           convert an ether_addr structure's MAC into a string, because the
15464           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15465           versus 07:3B:04, while the former will not.
15466
15467 2005-10-04  Robert Love  <rml@novell.com>
15468
15469         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15470           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15471           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15472           default route in the 'Connection Information' dialog, send primary
15473           and secondary name servers in in "getProperties" DBUS method, add
15474           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15475           secondary domain name servers are crucial pieces of information
15476           that a user might need in debugging a network problem.
15477
15478 2005-10-04  Robert Love  <rml@novell.com>
15479
15480         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15481           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15482           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15483           default route in the 'Connection Information' dialog, send default
15484           route in "getProperties" DBUS method, add network_device_set_route(),
15485           and network_device_get_route().  The Gateway is a crucial piece of
15486           connection-related information that a user might need in debugging a
15487           network problem.
15488
15489 2005-10-03  Robert Love  <rml@novell.com>
15490
15491         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15492           NULL.
15493
15494 2005-10-02  Dan Williams  <dcbw@redhat.com>
15495
15496         * Shorten time taken to sleep by fastpathing bits of device deactivation
15497                 necessary for sleep.
15498
15499         * Fix issue where deactivating a device might deactivate the active
15500                 VPN connection, even if the VPN was not using the device.
15501
15502 2005-10-02  Dan Williams  <dcbw@redhat.com>
15503
15504         * gnome/applet/applet.c
15505                 - Adjust signal strength -> icon mapping values slightly
15506                         (so that 51% signal doesn't show a 75% icon) by adding
15507                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15508                         shows 50% icon, etc.
15509
15510 2005-09-29  Robert Love  <rml@novell.com>
15511
15512         * src/NetworkManager.c: removed unused variable.
15513
15514 2005-09-28  Dan Williams  <dcbw@redhat.com>
15515
15516         Support for named + DBus, using Red Hat DBus patches for named.  You
15517         can find those patches here, with "dbus" in the patch's filename:
15518
15519                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15520
15521         Don't forget the named dbus service file either.
15522
15523         Instead of writing a config file and spawing a named process, NM will
15524         use an already-running dbus-enabled named if it finds one.  NM will
15525         update named's forwarder configuration on the fly using dbus.
15526
15527         If there is no dbus-enabled named running, NM will automatically fall
15528         back to writing the most-recent DNS server information to /etc/resolv.conf
15529         and calling nm_system_update_dns() to kick the system's resolver.
15530
15531         Accordingly, all named-related configure-time options have been removed.
15532
15533 2005-09-26  Robert Love  <rml@novell.com>
15534
15535         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15536           ISDN support!
15537         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15538           bug in error path if "ASKPASSWORD" is "no".
15539
15540 2005-09-26  Robert Love  <rml@novell.com>
15541
15542         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15543           comment in /etc/resolv.conf -- ';' is not.
15544
15545 2005-09-19  Dan Williams  <dcbw@redhat.com>
15546
15547         * src/backends/NetworkManagerRedHat.c:
15548         * src/backends/NetworkManagerDebian.c:
15549         * src/backends/NetworkManagerSlackware.c:
15550         * src/backends/NetworkManagerGentoo.c:
15551         * src/backends/NetworkManagerSUSE.c:
15552         Fix invocations of "/sbin/ip address" to use short form instead
15553
15554 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15555
15556         * src/nm-dbus-device.c: Don't assert when getting
15557         addresses of a not yet connected interface.
15558
15559         * gnome/applet/applet.c: Free icons if loading fails.
15560         Use translator-credits so translators can make themselves known.
15561
15562 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15563
15564         * src/NetworkManagerAP.c:
15565         * src/NetworkManagerAP.h:
15566         * src/NetworkManagerDevice.c:
15567         Set a blacklist for certain common manufacturer default ESSIDs:
15568         APs with these ESSIDs are extremely likely to be completely
15569         different networks: connecting to one should not make NM
15570         auto-connect to every other AP with the same default ESSID.
15571
15572 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15573
15574         * gnome/applet/wireless-applet.glade:
15575         The passphrase entry should also activate the default
15576
15577         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15578
15579         * gnome/applet/applet-dbus-devices.c:
15580         * gnome/applet/applet.c:
15581         * gnome/applet/nm-device.c:
15582         * gnome/applet/nm-device.h:
15583         * src/NetworkManagerUtils.c:
15584         * src/NetworkManagerUtils.h:
15585         * src/nm-dbus-device.c:
15586         I've got a fever, and the only cure for it is less ioctl.
15587         Make NM push IP data rather than make the applet open a socket
15588         to the device.
15589
15590 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15591
15592         * gnome/applet/applet.c:
15593         * gnome/applet/applet-dbus-devices.c:
15594         * gnome/applet/applet-dbus-info.c:
15595         * gnome/applet/passphrase-dialog.c:
15596         * gnome/libnm_glib/libnm_glib.c:
15597         * gnome/vpn-properties/nm-vpn-properties.c:
15598         * src/autoip.c:
15599         * src/backends/NetworkManagerRedHat.c:
15600         * src/named-manager/nm-named-manager.c:
15601         * src/NetworkManagerAPList.c:
15602         * src/NetworkManager.c:
15603         * src/NetworkManagerDbus.c:
15604         * src/NetworkManagerDevice.c:
15605         * src/NetworkManagerPolicy.c:
15606         * src/NetworkManagerSystem.c:
15607         * src/nm-dbus-device.c:
15608         * src/nm-dbus-nm.c:
15609         * src/vpn-manager/nm-vpn-manager.c:
15610         * src/vpn-manager/nm-vpn-service.c:
15611         * test/libnm_glib_test.c:
15612         * test/nminfotest.c:
15613         * test/nmtestdevices.c:
15614         Fix a bunch of 'unused variable' compiler warnings
15615
15616         * NetworkManager.h:
15617         * gnome/applet/applet-dbus-info.c:
15618         * gnome/applet/applet-dbus-info.h:
15619         * gnome/applet/applet.c:
15620         * gnome/applet/applet.h:
15621         * src/NetworkManager.c:
15622         * src/NetworkManagerDbus.c:
15623         * src/NetworkManagerDbus.h:
15624         * src/NetworkManagerDevice.c:
15625         * src/NetworkManagerDevice.h:
15626         * src/NetworkManagerMain.h:
15627         * src/NetworkManagerWireless.c:
15628         * src/NetworkManagerWireless.h:
15629         * src/nm-dbus-nm.c:
15630         Make NetworkManager be smart about how frequently to scan
15631         based on its current state.  Remove the UI for choosing when
15632         to scan.  Scanning still may disabled completely by the user
15633         via the "Wireless Enabled" menu item.
15634
15635 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15636
15637         * gnome/applet/applet.c:
15638         Also overlay the vpn connecting icons onto the wired icon,
15639         when appropriate.
15640
15641         * gnome/vpn-properties/nm-vpn-properties.glade:
15642         Clean up a few strings to use better grammar and proper casing.
15643
15644 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15645
15646         * gnome/applet/vpn-connection.c:
15647         * gnome/applet/vpn-connection.h:
15648         Add nmwa_vpn_connection_is_activating ()
15649
15650         * gnome/applet/applet.c:
15651         * gnome/applet/applet.h:
15652         * gnome/applet/icons/nm-vpn-connecting*.png:
15653         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15654         the user know something's happening between clicking the VPN item and it
15655         actually being connected.
15656
15657 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15658
15659         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15660         failure case as well.
15661
15662 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15663
15664         * gnome/panel/eggtrayicon.[ch]:
15665         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15666
15667 2005-09-07  Dan Williams  <dcbw@redhat.com>
15668
15669         Patch from Bill Moss <bmoss@clemson.edu>
15670         * src/applet-dbus.c
15671                 - (nmwa_dbus_filter): strip whitespace from beginning
15672                         and end of VPN login banner
15673
15674 2005-09-07  Dan Williams  <dcbw@redhat.com>
15675
15676         * The great VPN Manager rewrite of 2005
15677
15678 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15679
15680         * gnome/applet/menu-items.c:
15681         * gnome/applet/nm-device.c:
15682         * gnome/applet/wireless-network.c:
15683         * gnome/libnm_glib/libnm_glib.c:
15684         * src/NetworkManagerDbusUtils.c:
15685         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15686         g_malloc0 doesn't return NULL
15687
15688 2005-09-06  Dan Williams  <dcbw@redhat.com>
15689
15690         Patch from Tomislav Vujec <tvujec@redhat.com>
15691         * src/NetworkManagerDevice.c
15692                 - (nm_get_device_by_udi): don't return a device when we
15693                         actually didn't find what we were looking for
15694
15695 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15696
15697         * gnome/applet/applet-dbus-devices.c:
15698         * gnome/applet/applet-dbus-devices.h:
15699         * gnome/applet/applet-dbus.c:
15700         * src/NetworkManagerDbus.c:
15701         * src/NetworkManagerDbus.h:
15702         * src/NetworkManagerDevice.c:
15703         * src/nm-dbus-device.c:
15704         Make NM push updates about active device strength when it changes,
15705         rather than having the applet poll every 2s.
15706
15707 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15708
15709         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15710         network_device_set_strength
15711
15712 2005-09-04  Dan Williams  <dcbw@redhat.com>
15713
15714         Patch from Bill Nottingham <notting@redhat.com>
15715         * src/NetworkManagerDevice.c
15716                 - (nm_device_activation_cancel): reset the quit_activation flag
15717
15718 2005-09-04  Dan Williams  <dcbw@redhat.com>
15719
15720         * src/nm-activation-request.c
15721                 - (nm_act_request_unref): actually free the structure,
15722                         which we didn't seem to be doing before
15723
15724 2005-09-04  Dan Williams  <dcbw@redhat.com>
15725
15726         Patch from John Palmieri <johnp@redhat.com>
15727         * gnome/applet/applet-dbus-devices.c
15728                 - Fix up unreffing of DBusMessage objects
15729
15730 2005-09-04  Dan Williams  <dcbw@redhat.com>
15731
15732         Patch from John Palmieri <johnp@redhat.com>
15733         * gnome/applet/nm-device.c
15734                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15735
15736 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15737
15738         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15739
15740 2005-09-02  Bill Nottingham  <notting@redhat.com>
15741
15742         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15743
15744 2005-09-01  Dan Williams  <dcbw@redhat.com>
15745
15746         * src/NetworkManager.c
15747                 - (nm_remove_device_from_list): rename to nm_remove_device
15748                 - (nm_hal_device_removed): call nm_remove_device()
15749
15750         * src/NetworkManagerDevice.c
15751                 - Change the NMWirelessScanCB member 'reschedule' which
15752                         wasn't used to 'force' to indicate that we need to
15753                         force a scan when adding a device
15754
15755         * src/nm-dbus-nm.c
15756                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15757                         from the device list
15758                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15759
15760 2005-09-01  Robert Love  <rml@novell.com>
15761
15762         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15763           and the check "!iface" in the error case is probably never true.
15764
15765 2005-09-01  Dan Williams  <dcbw@redhat.com>
15766
15767         Patch from Bill Nottingham <notting@redhat.com>
15768         * src/backends/NetworkManagerRedHat.c
15769                 - Add initial dialup support to Red Hat/Fedora backend
15770
15771 2005-09-01  Dan Williams  <dcbw@redhat.com>
15772
15773         * gnome/applet/applet-dbus-devices.c
15774                 - Sort both wireless networks and devices again, which got
15775                         broken when removing threading
15776
15777 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15778
15779         * gnome/applet/applet.c:
15780         Only show the "Stop/Start All Wireless Devices" menuitem
15781         if we actually have wireless devices.
15782
15783         * gnome/applet/applet-dbus-info.c:
15784         * gnome/applet/applet.c:
15785         * gnome/applet/other-network-dialog.c:
15786         * gnome/applet/vpn-password-dialog.c:
15787         Drop the gtk_dialog_run () calls in favor of connecting to
15788         "response" signals, needed now that the applet is not threaded.
15789
15790 2005-08-31  Dan Williams  <dcbw@redhat.com>
15791
15792         Patch from Bill Moss <bmoss@clemson.edu>
15793         * src/NetworkManagerDevice.c
15794                 - (nm_device_wireless_scan): fix scan timeout values
15795
15796 2005-08-30  Dan Williams  <dcbw@redhat.com>
15797
15798         * gnome/applet/wireless-applet.glade
15799                 - HIG-ify the Other Wireless Networks dialog a bit more
15800                 - Fix some potential segfaults in the info dialog
15801
15802 2005-08-30  Dan Williams  <dcbw@redhat.com>
15803
15804         * gnome/applet/applet-dbus-devices.c
15805                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15806
15807 2005-08-30  Dan Williams  <dcbw@redhat.com>
15808
15809         * gnome/applet/applet-dbus.[ch]
15810                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15811                         they weren't being used anyway
15812
15813 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15814
15815         * test/nmtestdevices.c: (print_usage), (main):
15816         Check the number of arguments, and fix a typo
15817
15818 2005-08-29  Dan Williams  <dcbw@redhat.com>
15819
15820         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15821         * gnome/applet/applet.c
15822                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15823
15824 2005-08-29  Dan Williams  <dcbw@redhat.com>
15825
15826         * gnome/applet/*
15827                 - Don't use threads any more.  Anything that blocks
15828                         (like gtk_dialog_run()) will  have to get fixed up which
15829                         should happen quickly.  We really only had threads to make
15830                         the animation smooth, and when everything got converted over
15831                         to DBus Pending Calls, the need for threads kind of went away
15832
15833 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15834
15835         * gnome/applet/applet.c: Draw VPN connections as radio items
15836         since we don't yet support multiple VPNs.
15837         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15838         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15839
15840 2005-08-29  Dan Williams  <dcbw@redhat.com>
15841
15842         Patch from j@bootlab.org
15843         - Make --without-named work
15844         - Make --with-dhcdbd work correctly
15845
15846 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15847
15848         * configure.in: Added "ca" to ALL_LINGUAS.
15849
15850 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15851
15852         * Fix up VPN state handling between the applet and NetworkManager,
15853                 so that the applet doesn't show a VPN as connected when one
15854                 really is not
15855                         - The applet no longer has a pointer to the active VPN's
15856                                 name, but tracks each VPNs state individually
15857                         - NM no longer has a "getActiveVPNConnection" method
15858                         - NM no longer broadcasts the "VPNConnectionChange" signal
15859                         - NM now broadcasts a "VPNConnectionStateChange" signal
15860                                 whenever the state of a VPN changes
15861
15862 2005-08-26  Dan Williams <dcbw@redhat.com>
15863
15864         * gnome/applet/applet-dbus-devices.c
15865           gnome/applet/applet-dbus-vpn.c
15866                 - Remove calls to dbus_pending_call_ref() because we already
15867                         "own" the pending call
15868                 - Remove calls to dbus_pending_call_get_completed() because
15869                         when we are in the callback, the pending call is completed
15870                         by definition
15871
15872 2005-08-22  Dan Williams <dcbw@redhat.com>
15873
15874         Patch by Bill Moss <bmoss@clemson.edu>
15875         * src/dhcp-manager/nm-dhcp-manager.c
15876                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15877                         some time to send out a RELEASE if they like
15878
15879 2005-08-22  Dan Williams <dcbw@redhat.com>
15880
15881         Noticed by Bill Moss <bmoss@clemson.edu>
15882         * src/NetworkManagerDbus.c
15883                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15884                         instead of just cancelling its activation
15885
15886         * src/NetworkManagerDevice.c
15887                 - (nm_device_deactivate): some small cleanups
15888                 - (nm_device_set_user_key_for_network): deactivate the device
15889                         instead of just cancelling its activation
15890
15891 2005-08-22  Dan Williams <dcbw@redhat.com>
15892
15893         Noticed by Bill Moss <bmoss@clemson.edu>
15894         * src/NetworkManagerDevice.c
15895                 - (nm_device_wireless_scan): fix scan timeout, we were
15896                         waiting way too long for scans to complete
15897
15898 2005-08-22  Dan Williams <dcbw@redhat.com>
15899
15900         Patch from j@bootlab.org:
15901         * src/backends/NetworkManagerDebian.c
15902                 - Make the Debian backend work for static IP again
15903
15904 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15905
15906         * gnome/applet/other-network-dialog.c:
15907         The "Create New Network" and "Connect to Other Network"
15908         dialogs share alot of code, but shouldn't share a window
15909         title.  Give them different ones.
15910
15911         * gnome/applet/wireless-applet.glade:
15912         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15913         Some more minor UI tweaks.
15914
15915 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15916
15917         * gnome/applet/other-network-dialog.c:
15918         * gnome/applet/wireless-applet.glade:
15919         Also need mnemonic widgets, and underline enabled.
15920
15921 2005-08-19  Dan Williams <dcbw@redhat.com>
15922
15923         * vpn-daemons/vpnc/nm-vpnc-service.c
15924                 - (vpnc_watch_cb): remove no-longer-relevant comment
15925                 - (write_config_option): new function, helper to write
15926                         config options to vpnc's stdin
15927                 - (nm_vpnc_config_write): use the new helper, make the
15928                         code shorter
15929
15930 2005-08-19  Christopher Aillon <caillon@redhat.com>
15931
15932         * gnome/applet/passphrase-dialog.c:
15933         * gnome/applet/wireless-applet.glade:
15934         Make the passphrase dialog response based, and treat
15935         responses other than OK (such as Esc, [X]) as a cancel.
15936
15937 2005-08-18  Christopher Aillon <caillon@redhat.com>
15938
15939         * initscript/Gentoo/NetworkManager:
15940         * initscript/RedHat/NetworkManager:
15941         * initscript/RedHat/NetworkManagerDispatcher:
15942         * initscript/SUSE/networkmanager:
15943         CVS remove these in place of .in replacements
15944
15945         * configure.in:
15946         * initscript/Gentoo/NetworkManager.in:
15947         * initscript/RedHat/NetworkManager.in:
15948         * initscript/RedHat/NetworkManagerDispatcher.in:
15949         * initscript/SUSE/networkmanager.in:
15950         These scripts now are generated so they work still when
15951         NM is built using a bindir other than /usr/bin
15952
15953 2005-08-18  Dan Williams <dcbw@redhat.com>
15954
15955         * gnome/applet/main.c
15956                 - Revert previous change for --no-session since
15957                         --sm-disable does the same thing
15958
15959 2005-08-18  Dan Williams <dcbw@redhat.com>
15960
15961         * gnome/applet/applet-dbus-info.c
15962                 - (nmi_dbus_create_error_message): new function
15963                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15964                         functions.  Also don't check for both device _and_ network before
15965                         asking for a user's key, because we may not have gotten all our
15966                         networks back from NM quite yet (due to the dbus pending calls
15967                         coming in later).  Fixes a hang in NM/nm-applet.
15968
15969         * src/NetworkManagerDbus.c
15970                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15971                         slightly more sane manner, even though we are still broken for
15972                         certain other error conditions.
15973                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15974                         to the info-daemon too
15975
15976         * src/NetworkManagerDevice.c
15977                 - Fix some debug messages to be info messages instead
15978
15979 2005-08-18  Dan Williams <dcbw@redhat.com>
15980
15981         * gnome/applet/main.c
15982                 - Add new "--no-session" parameter that disables applet
15983                         session management, ie for testing
15984
15985 2005-08-18  Christopher Aillon <caillon@redhat.com>
15986
15987         * gnome/applet/other-network-dialog.c:
15988         * gnome/applet/wireless-applet.glade: More mnemonics
15989
15990 2005-08-17  Robert Love  <rml@novell.com>
15991
15992         * initscript/SUSE/networkmanager: update
15993
15994 2005-08-17  Dan Williams  <dcbw@redhat.com>
15995
15996         * Tag NM_0_4_1_RELEASE
15997
15998 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15999
16000         * gnome/applet/applet.c: More translatable string cleanup
16001
16002
16003 2005-08-17  Dan Williams  <dcbw@redhat.com>
16004
16005         * gnome/applet/applet-dbus-info.c
16006                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16007                         from the dbus message, which tells us to unconditionally
16008                         ask the user for a new key.  Otherwise, we pull the key from
16009                         the keyring and return it.  If we fail to get the key from the
16010                         keyring, we ask the user for a new key.
16011                 - (nmi_dbus_get_network_key): new function to grab the key for
16012                         an essid from the keyring.
16013                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16014                         Also, don't return any key in the dbus message.
16015
16016         * src/NetworkManagerDbus.[ch]
16017                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16018                         indicate that we unconditionally want a new key.  This function
16019                         is now also used to get keys from the info-daemon which are
16020                         pre-stored, not just for asking the user for a new key.  The
16021                         "new_key" parameter indicates whether or not we wish to ask the
16022                         user for a new key.
16023                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16024                         info-daemon in the return message, so use NULL instead.  The
16025                         key will be filled in at connect time by calling
16026                         nm_dbus_get_user_key_for_network()
16027
16028         * src/NetworkManagerDevice.c
16029                 - (nm_device_wireless_configure): update for "new_key" param to
16030                         nm_dbus_get_user_key_for_network().  We initially set new_key
16031                         to FALSE to see if we have a stored key in the info-daemon, but
16032                         if the connection is unsuccessful at this stage we request a
16033                         new one
16034
16035 2005-08-17  Dan Williams  <dcbw@redhat.com>
16036
16037         * gnome/applet/icons/nm-no-connection.png
16038           gnome/applet/icons/nm-device-wired.png
16039                 - Use Diana's new RJ45 connector icons
16040
16041 2005-08-17  Dan Williams  <dcbw@redhat.com>
16042
16043         * src/NetworkManagerPolicy.c
16044                 - (nm_policy_device_change_check): clarify switching rules if
16045                         both new and old devices are valid; mainly, don't switch
16046                         away from user-requested wireless connection back to a wired
16047                         one
16048
16049 2005-08-17  Dan Williams  <dcbw@redhat.com>
16050
16051         * gnome/applet/Makefile.am
16052                 - Relocate the applet to /usr/bin since it is no longer
16053                         executed by anything, but directly by the user
16054
16055 2005-08-17  Dan Williams  <dcbw@redhat.com>
16056
16057         Patch from Bill Moss <bmoss@clemson.edu>
16058
16059         * gnome/applet/applet-dbus-info.[ch]
16060                 - (nmi_save_network_info): save timestamp for network if it
16061                         was a change requested by the user
16062                 - (nmi_dbus_update_network_info): get user_requested from dbus
16063                         message and pass to nmi_save_network_info()
16064
16065         * gnome/applet/applet.c
16066                 - (nmwa_update_network_timestamp): remove
16067                 - (nmwa_menu_item_activate): don't set timestamp on networks
16068                         here, only after a successful connect in nmi_save_network_info()
16069
16070         * src/NetworkManagerDbus.[ch]
16071                 - (nm_dbus_update_network_info): pass user_requested into the 
16072                         dbus message
16073
16074         * src/NetworkManagerPolicy.c
16075                 - (nm_policy_activation_finish): pass user_requested to
16076                         nm_dbus_update_network_info()
16077
16078 2005-08-16  Robert Love  <rml@novell.com>
16079
16080         * gnome/applet/applet.c: Better "Dial Up" menu item.
16081
16082 2005-08-16  Robert Love  <rml@novell.com>
16083
16084         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16085           "Connection Information" menu item.
16086
16087 2005-08-16  Dan Williams  <dcbw@redhat.com>
16088
16089         Patch from j@bootlab.org
16090         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16091
16092         * configure.in: allow specifying the path to dhcdbd
16093
16094 2005-08-16  Robert Love  <rml@novell.com>
16095
16096         Patch from j@bootlab.org
16097         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16098           src/backends/interface_parser.h: Debian dialup support.
16099
16100 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16101
16102         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16103         * gnome/applet/applet.c: Add some mnemonics for VPNC
16104
16105         * vpn-daemons/.cvsignore: fix this up a little bit
16106
16107 2005-08-16  Robert Love  <rml@novell.com>
16108
16109         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16110           support.
16111
16112 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16113
16114         * gnome/applet/applet.c: Split markup out of translatable strings
16115         and clean up logic a little bit.  (fixes #309012)
16116
16117 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16118
16119         * gnome/vpn-properties/nm-vpn-properties.c:
16120         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16121         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16122         Makeshift fix to remove newlines from translatable strings.
16123         Note that we now return an allocated string, so callers of
16124         get_confirmation_details () must now call g_free () on the
16125         result. (fixes #309033).
16126
16127 2005-08-12  Robert Love  <rml@novell.com>
16128
16129         * gnome/applet/applet-dbus.c: remove newlines from translatable
16130           strings--not needed here anyway. (fix b.g.o #309011)
16131         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16132
16133 2005-08-11  Robert Love  <rml@novell.com>
16134
16135         * gnome/applet/applet.c: mark string as translatable.
16136
16137 2005-08-11  Robert Love  <rml@novell.com>
16138
16139         * initscript/SUSE/networkmanager: update.
16140
16141 2005-08-11  Dan Williams  <dcbw@redhat.com>
16142
16143         * src/nm-dhcp-manager.c
16144                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16145                         an gateway returned from DHCP, try to use the address of the DHCP
16146                         server as the gateway instead.  Found by Ralf Ertzinger.
16147
16148 2005-08-10  Robert Love  <rml@novell.com>
16149
16150         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16151           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16152
16153 2005-08-10  Dan Williams  <dcbw@redhat.com>
16154
16155         Patch from Bill Moss <bmoss@clemson.edu>
16156         * Consolidate writes of access point information updates to the info daemon
16157                 so that we only do it when the connection to the access point was
16158                 successful.  Also consolidates updates to GConf in the Gnome applet.
16159
16160         * src/nm-netlink-monitor.c
16161                 - Silence compile warning when calling g_object_new()
16162
16163 2005-08-08  Dan Williams  <dcbw@redhat.com>
16164
16165         Patch from Steev <steev@steev.net>:
16166         * src/backends/NetworkManagerGentoo.c
16167                 - Stub new dialup backend functions
16168
16169 2005-08-08  Dan Williams  <dcbw@redhat.com>
16170
16171         Patch from Colin Slater:
16172         * src/backends/NetworkManagerGentoo.c
16173                 - (nm_system_update_dns): Fix exit status check for restarting
16174                         nscd
16175
16176 2005-08-05  Robert Love  <rml@novell.com>
16177
16178         * NetworkManager.h,
16179           gnome/applet/applet-dbus-devices.c,
16180           gnome/applet/applet-dbus-devices.h,
16181           gnome/applet/applet-dbus.c,
16182           gnome/applet/applet.c,
16183           gnome/applet/applet.h,
16184           src/NetworkManager.c,
16185           src/NetworkManagerMain.h,
16186           src/NetworkManagerSystem.h,
16187           src/backends/NetworkManagerRedHat.c,
16188           src/backends/NetworkManagerSuSE.c,
16189           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16190
16191 2005-08-05  Robert Love  <rml@novell.com>
16192
16193         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16194           machine's hostname to make adhoc creation idiot-proof.
16195
16196 2005-08-04  Robert Love  <rml@novell.com>
16197
16198         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16199           freed.
16200
16201 2005-08-04  Dan Williams  <dcbw@redhat.com>
16202
16203         * gnome/applet/applet-dbus-info.c
16204           gnome/applet/applet-dbus-info.h
16205                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16206                         to store key, key type, and auth method rather than just auth method
16207                 - (nmi_dbus_update_network_info): new function
16208                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16209
16210         * gnome/applet/passphrase-dialog.c
16211                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16212                         of saving the info ourselves
16213
16214         * gnome/libnm_glib/libnm_glib.c
16215                 - Remove the stupid version check for dbus
16216
16217         * src/NetworkManagerAP.c
16218           src/NetworkManagerAP.h
16219                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16220
16221         * src/NetworkManagerDbus.c
16222           src/NetworkManagerDbus.h
16223                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16224                         more than just the auth method
16225
16226         * src/NetworkManagerDevice.c
16227                 - Update network info at the appropriate times
16228
16229 2005-07-29  Ray Strode  <rstrode@redhat.com>
16230
16231         * src/NetworkManager.c (nm_info_handler): don't use input as format
16232         string (Spotted by Ian Jackson).
16233
16234 2005-07-27  Dan Williams  <dcbw@redhat.com>
16235
16236         * src/nm-dbus-nm.c
16237           src/nm-dbus-net.c
16238                 - Random cleanups of spacing
16239
16240         * gnome/applet/applet.h
16241           gnome/applet/other-network-dialog.c
16242           gnome/applet/passphrase-dialog.c
16243                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16244
16245         Patch from Bill Moss:
16246                 - Make Other Wireless Networks work again with encryption keys
16247
16248 2005-07-26  Dan Williams  <dcbw@redhat.com>
16249
16250         Patch from Steev <steev@steev.net>:
16251         * src/backends/NetworkManagerGentoo.c
16252           src/backends/Makefile.am
16253                 - Fix up Gentoo backend
16254
16255 2005-07-26  Robert Love  <rml@novell.com>
16256
16257         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16258
16259 2005-07-25  Robert Love  <rml@novell.com>
16260
16261         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16262           in the same group as the wireless networks, since they are all
16263           mutually exclusive.
16264
16265 2005-07-24  Ray Strode  <rstrode@redhat.com>
16266
16267         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16268         remove unneeded NULL arg from g_object_new().  Any
16269         warnings caused by not having the extra NULL are just a
16270         result of a bug in glib 2.7.0 - 2.7.2.
16271
16272 2005-07-22  Robert Love  <rml@novell.com>
16273
16274         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16275
16276 2005-07-22  Robert Love  <rml@novell.com>
16277
16278         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16279           parameters (gcc 4.0.2 warning fix).
16280
16281 2005-07-18  Robert Love  <rml@novell.com>
16282
16283         Suggested by Aaron Bockover (abockover@novell.com)
16284         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16285           s/Ascii/ASCII
16286         * gnome/applet/passphrase-dialog.c: ditto
16287         * gnome/applet/wireless-applet.glade: ditto
16288
16289 2005-07-13  Dan Williams  <dcbw@redhat.com>
16290
16291         Patch from Ray Strode <halfline@gmail.com>
16292         * vpn-daemons/vpnc/nm-vpnc-service.c
16293                 - Don't let vpnc daemonize, fixes some races with PID file reading
16294
16295 2005-07-13  Dan Williams  <dcbw@redhat.com>
16296
16297         Patch from Ray Strode <halfline@gmail.com>
16298         * Random cleanups for strict CFLAGS
16299
16300 2005-07-07  Dan Williams  <dcbw@redhat.com>
16301
16302         Patch from Derek Atkins <warlord@MIT.EDU>
16303         * src/nm-dbus-net.c:
16304                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16305
16306 2005-07-07  Dan Williams  <dcbw@redhat.com>
16307
16308         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16309         * src/backends/NetworkManagerGentoo.c
16310                 - Gentoo backend Static IP nameserver fixes
16311                 - General Gentoo backend goodness
16312
16313 2005-07-07  Dan Williams  <dcbw@redhat.com>
16314
16315         Patch from Bastien Nocera:
16316         * gnome/applet/applet.c
16317                 - Fix up error reporting when icons or glade files are missing
16318
16319 2005-07-07  Robert Love  <rml@novell.com>
16320
16321         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16322           are not any VPN connections above it.
16323
16324 2005-07-07  Robert Love  <rml@novell.com>
16325
16326         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16327
16328 2005-07-05  Robert Love  <rml@novell.com>
16329
16330         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16331           zero.
16332
16333 2005-07-05  Robert Love  <rml@novell.com>
16334
16335         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16336           on wired or unencrypted wireless.
16337
16338 2005-07-01  Robert Love  <rml@novell.com>
16339
16340         * src/NetworkManagerSystem.c: Print the error via strerror().
16341
16342 2005-06-30  Robert Love  <rml@novell.com>
16343
16344         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16345           then exit if the glade file is not found.  currently the application
16346           just hangs.
16347
16348 2005-06-30  Robert Love  <rml@novell.com>
16349
16350         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16351           explicitly up all interfaces on wake from sleep.
16352
16353 2005-06-30  Robert Love  <rml@novell.com>
16354
16355         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16356           with information about the currently active connection.
16357         * gnome/applet/applet.h: (ditto)
16358         * gnome/applet/wireless-applet.glade: (ditto), new file
16359
16360 2005-06-30  Robert Love  <rml@novell.com>
16361
16362         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16363         * src/nm-dbus-nm.c: print when we sleep and wake up.
16364         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16365         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16366           in /sbin unless D-BUS is, folks).
16367         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16368
16369 2005-06-27  Robert Love  <rml@novell.com>
16370
16371         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16372           case.
16373
16374 2005-06-27  Robert Love  <rml@novell.com>
16375
16376         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16377           items radios.
16378
16379 2005-06-26  Robert Love  <rml@novell.com>
16380
16381         * src/NetworkManagerDevice.c: be specific about which device in
16382           nm_info() message.
16383
16384 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16385
16386         * src/nm-netlink-monitor.c: correct spelling error.
16387
16388 2005-06-23  Robert Love  <rml@novell.com>
16389
16390         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16391         * gnome/applet/passphrase-dialog.c: more of that keyring!
16392
16393 2005-06-23  Robert Love  <rml@novell.com>
16394
16395         * configure.in: remove extraneous GNOMEKEYRING directives.
16396         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16397         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16398         * gnome/applet/passphrase-dialog.c: whitespace.
16399
16400 2005-06-23  Robert Love  <rml@novell.com>
16401
16402         * src/NetworkManagerDevice.c: division in assignment was flipped.
16403
16404 2005-06-23  David Zeuthen  <david@fubar.dk>
16405
16406         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16407         signal to the child to indicate that we got what we wanted when we
16408         see two new-lines right after each other.
16409         (nmwa_vpn_request_password): Pass a structure with several members
16410         instead of just the passwords
16411
16412 2005-06-23  Dan Williams <dcbw@redhat.com>
16413
16414         * src/NetworkManager.c
16415           src/NetworkManagerMain.h
16416                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16417                 - (nm_hal_init): new function, init libhal context then add devices
16418                 - (nm_hal_deinit): new function, clean up libhal context
16419                 - (nm_data_free): Move Hal cleanup here
16420                 - (main): check whether Hal is running, and if so, get a list of
16421                         network devices from it
16422
16423         * src/NetworkManagerDbus.c
16424                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16425                         and when it appears, get a list of network devices from it.  If
16426                         Hal goes away, clean up the libhal context
16427
16428 2005-06-22  Robert Love  <rml@novell.com>
16429
16430         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16431           permissions of scripts before executing.
16432
16433 2005-06-21  Robert Love  <rml@novell.com>
16434
16435         * initscript/SUSE/networkmanager: update.
16436         * src/backends/NetworkManagerSuSE.c: cleanup.
16437
16438 2005-06-21  Robert Love <rml@novell.com>
16439
16440         * gnome/applet/applet.c: use menu mnemonics.
16441         * gnome/applet/menu-items.c: (ditto)
16442
16443 2005-06-21  Robert Love  <rml@novell.com>
16444
16445         * applet/applet-dbus-devices.c: mark non-static functions static.
16446         * applet/applet-dbus-vpn.c: (ditto)
16447         * applet/applet.c: (ditto)
16448         * applet/nm-device.h: (ditto)
16449         * applet/other-network-dialog.c: (ditto)
16450         * applet/passphrase-dialog.c: (ditto)
16451         * NetworkManager.c: (ditto)
16452         * NetworkManagerDbus.c: (ditto)
16453         * NetworkManagerDevice.c: (ditto)
16454         * NetworkManagerPolicy.c: (ditto)
16455         * NetworkManagerUtils.c: (ditto)
16456         * NetworkManagerWireless.c: (ditto)
16457         * NetworkManagerWireless.h: (ditto)
16458         * nm-netlink-monitor.c: (ditto)
16459         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16460         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16461         * autoip.c: include autoip.h.
16462         * autoip.h: new file.  define get_autoip().
16463         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16464         * NetworkManagerDbus.h: remove duplicate definitions.
16465
16466 2005-06-20  Robert Love  <rml@novell.com>
16467
16468         * Makefile.am: Add missing intltool-foo.in generated files to
16469           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16470           with the start of stuff to cleanup on 'distclea'.
16471         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16472           stuff right and 'distcheck' works.
16473         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16474           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16475           Makefile.am for each.  And systray/Makefile needs to be redone.
16476
16477 2005-06-19  Dan Williams <dcbw@redhat.com>
16478
16479         * src/NetworkManagerDevice.c
16480         - (nm_device_wireless_process_scan_results): scan every 20s when
16481           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16482
16483 2005-06-19  Dan Williams <dcbw@redhat.com>
16484
16485         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16486
16487 2005-06-18  Ray Strode <rstrode@redhat.com>
16488
16489         * src/nm-netlink-monitor.c 
16490         (nm_netlink_monitor_event_handler): check for the presence
16491         of either error condition not both. 
16492         
16493         (nm_netlink_monitor_error_handler): emit error signal if
16494         error occurs.
16495
16496         (nm_netlink_monitor_event_handler),
16497         (nm_netlink_monitor_error_handler),
16498         (nm_netlink_monitor_disconnect_handler): if an 
16499         assertion fails disconnect the event handler to prevent 
16500         infinite loops.
16501
16502         * src/nm-netlink-monitor.h: add new error condition
16503         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16504
16505 2005-06-18  Ray Strode <rstrode@redhat.com>
16506
16507         * src/nm-netlink-monitor.c 
16508         (nm_netlink_monitor_event_handler): remove bogus < 0
16509         check on unsigned value and return early if the kernel
16510         didn't send any bytes.
16511
16512 2005-06-17  Robert Love  <rml@novell.com>
16513
16514         * initscript/SUSE/networkmanager: Change the Provides and default
16515         run levels
16516
16517 2005-06-16  Dan Williams <dcbw@redhat.com>
16518
16519         Patch from Robert Love:
16520         * gnome/applet/applet.c
16521                 - Beautify some applet menu item names
16522
16523 2005-06-17  David Zeuthen  <davidz@redhat.com>
16524
16525         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16526         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16527         Also add new methods can_export, import_file and export.
16528
16529         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16530         to the main UI
16531
16532         * gnome/vpn-properties/nm-vpn-properties.c:
16533         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16534         nm-vpn-ui-interface.h.
16535         (update_edit_del_sensitivity): Also update "Export" sensitivity
16536         (add_vpn_connection): Also add new SVC_NAME column
16537         (import_settings): New function
16538         (retrieve_data_from_selected_connection): New function
16539         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16540         this function
16541         (export_cb): New function
16542         (init_app): Also setup the "export" widget
16543         (main): Support the --import-service and --import-file commandline
16544         arguments
16545
16546         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16547         D-BUS 0.34
16548
16549 2005-06-16  Dan Williams <dcbw@redhat.com>
16550
16551         Patch from Robert Love:
16552         * gnome/applet/menu-items.c
16553                 - (network_menu_item_new): pass -1 as wireless network
16554                         menu items height size request rather than ascent / 2
16555
16556 2005-06-16  Dan Williams <dcbw@redhat.com>
16557
16558         * Clean up wording in Wireless Scan Methods menu items and constants
16559
16560 2005-06-16  Robert Love  <rml@novell.com>
16561
16562         * po/POTFILES.in
16563                 - remove gtkcell* files
16564
16565 2005-06-15  Dan Williams <dcbw@redhat.com>
16566
16567         Patch from Robert Love: make the applet stetic
16568
16569         * gnome/applet/Makefile.am
16570                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16571
16572         * gnome/applet/gtkcellview.h
16573           gnome/applet/gtkcellview.c
16574           gnome/applet/gtkcellrendererprogress.h
16575           gnome/applet/gtkcellrendererprogress.c
16576                 - Removed
16577
16578         * gnome/applet/menu-items.c
16579                 - Progress bars are 5:1 size ratio
16580                 - Use GTK progress bars rather than internal ones
16581
16582 2005-06-15  Dan Williams <dcbw@redhat.com>
16583
16584         Patch from Robert Love:
16585         * initscript/SUSE/networkmanager
16586                 - Fix typo
16587
16588 2005-06-15  Dan Williams <dcbw@redhat.com>
16589
16590         * src/backends/NetworkManagerSuSE.c
16591           src/backends/NetworkManagerRedHat.c
16592           src/backends/NetworkManagerDebian.c
16593                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16594
16595 2005-06-15  Dan Williams <dcbw@redhat.com>
16596
16597         * src/backends/NetworkManagerDebian.c
16598                 - Add nm_system_device_get_use_dhcp() to debian backend
16599
16600         Patch from Kay Sievers:
16601         * src/backends/NetworkManagerSuSE.c
16602                 - Update debian backend for static IP nameservers
16603
16604         * src/NetworkManagerDevice.c
16605                 - Actually set the device to use static IP or DHCP rather
16606                         than always DHCP
16607
16608 2005-06-15  Dan Williams <dcbw@redhat.com>
16609
16610         Patch from Thom May:
16611         * src/backends/NetworkManagerDebian.c
16612                 - Update debian backend for static IP nameservers
16613
16614 2005-06-15  Dan Williams <dcbw@redhat.com>
16615
16616         Patches from Robert Love:
16617         * gnome/applet/wireless-applet.glade
16618                 - Tighten up wording
16619
16620         * src/NetworkManagerDevice.c
16621                 - Remove misplaced ';'
16622
16623         * configure.in
16624           initscript/Makefile.am
16625           initscript/SUSE/Makefile.am
16626           initscript/SUSE/networkmanager
16627                 - Add SUSE initscript
16628
16629 2005-06-12  David Zeuthen  <davidz@redhat.com>
16630
16631         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16632
16633         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16634
16635         * gnome/vpn-properties/nm-vpn-properties.c: New file
16636
16637         * gnome/vpn-properties/Makefile.am: New file
16638
16639         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16640         array of passwords
16641
16642         * src/vpn-manager/nm-vpn-manager.c
16643         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16644         instead of just a single one
16645
16646         * src/vpn-manager/nm-dbus-vpn.c:
16647         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16648         here
16649         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16650
16651         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16652         Change the interface here to give a list of passwords. Also, don't
16653         require username, but do require service
16654
16655         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16656         the binary for the auth-dialog and use that instead of putting up a
16657         dialog asking for a single password
16658
16659         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16660         however do remember the service
16661
16662         * gnome/applet/main.c (main): Setup i18n
16663
16664         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16665         connection to '%s'" to the tooltip if we are connected using VPN
16666         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16667         key to determine whether we the auth-dialog needs to
16668         reprompt. Also cope with the fact that the auth-dialog now returns
16669         an array of passwords.
16670         (nmwa_menu_configure_vpn_item_activate): New handler for
16671         "Configure VPN..." menu item
16672         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16673         (is_vpn_available): New function to determine if we got any
16674         NM-compatible VPN software installed
16675         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16676         items only if we have NM-compatible VPN software installed
16677         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16678         logic for detecting when VPN connections are removed
16679
16680         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16681         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16682         since these are defined elsewhere
16683
16684         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16685         function used to keep track of whether the last attempt succeded
16686         (nmwa_dbus_filter): Update last_attempt according to whether the
16687         VPN connection could be established or not
16688
16689         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16690         Change prototype to take an array of passwords, not just a single
16691         password
16692
16693         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16694         update service, not user
16695         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16696         dbus_active_vpn_name is not NULL before using it
16697         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16698         string array instead of assuming a single password
16699
16700         * gnome/applet/applet-dbus-info.c:
16701         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16702         user name; don't read from gconf
16703
16704         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16705         VPN_NAME_FILES_DIR
16706
16707         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16708
16709         * configure.in: Add checks for gmodule-2.0.
16710         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16711         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16712         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16713         for details
16714
16715         * vpn-daemons/Makefile.am: Removed
16716
16717         * vpn-daemons/README: New file to describe extensions points for VPN
16718         software
16719
16720 2005-06-10  Dan Williams <dcbw@redhat.com>
16721
16722         * src/backends/NetworkManagerRedHat.c
16723                 - (get_current_profile_name): new function, grab current network profile name from
16724                         /etc/sysconfig/network
16725                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16726                         update an IP4 Config structure's settings from it
16727                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16728                         get DNS info from current network profile
16729
16730 2005-06-09  Dan Williams <dcbw@redhat.com>
16731
16732         Patch from Robert Love:
16733         * src/NetworkManagerDevice.c
16734           src/NetworkManagerUtils.c
16735                 - 64-bit build fixes
16736
16737 2005-06-09  Dan Williams <dcbw@redhat.com>
16738
16739         Patch from Kay Sievers and Robert Love:
16740         * configure.in
16741           src/backends/Makefile.am
16742           src/backends/NetworkManagerSuSE.c
16743                 - Add SuSE support
16744
16745 2005-06-09  Dan Williams <dcbw@redhat.com>
16746
16747         * NetworkManager.h
16748                 - Add NMWirelessScanMethod enum for scan methods
16749
16750         * gnome/applet/applet-dbus-devices.c
16751                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16752                 - (nmwa_dbus_update_scanning_enabled): remove
16753                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16754                         since it got removed
16755                 - (nmwa_dbus_enable_scanning): remove
16756
16757         * gnome/applet/applet-dbus-info.c
16758                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16759                         update the wireless scanning method from NMI
16760                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16761                         method value to NetworkManager
16762                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16763
16764         * gnome/applet/applet-dbus-info.h
16765                 - Add prototype for nmi_dbus_signal_update_scan_method
16766
16767         * gnome/applet/applet.c
16768                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16769                         Wireless Scanning menu based on current wireless scan method
16770                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16771                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16772                         and update our menu items to make sure the right one is checked
16773                 - (nmwa_set_scanning_enabled_cb): remove
16774                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16775                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16776                         Scanning menu item
16777                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16778                         from GConf
16779                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16780                         so we get notified of preference values too
16781                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16782
16783         * gnome/applet/applet.h
16784                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16785                 - Add wireless scan method member to applet data
16786                 - Remove pause_scanning_item, add Wireless Scanning submenu
16787
16788         * src/NetworkManager.c
16789                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16790                 - (main): grab scanning method from NMI if we can
16791
16792         * src/NetworkManagerDbus.c
16793                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16794                         nm_dbus_update_wireless_scan_method()
16795                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16796                         from NMI
16797                 - (nm_dbus_nmi_is_running): redundant function, removed
16798                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16799                         when NMI comes back
16800
16801         * src/NetworkManagerDevice.c
16802                 - (nm_device_is_activated): return TRUE if the device is activated
16803                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16804                         and we are activated
16805
16806         * src/nm-dbus-nm.c
16807                 - (nm_dbus_nm_set_scanning_enabled): removed
16808                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16809                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16810
16811 2005-06-09  Dan Williams <dcbw@redhat.com>
16812
16813         * NetworkManager.h
16814           src/vpn-manager/nm-vpn-service.c
16815                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16816
16817 2005-05-27  Dan Williams <dcbw@redhat.com>
16818
16819         * vpn-daemons/vpnc/nm-vpnc-service.c
16820                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16821                         Should fix the bug where the VPN connection terminates the first time.
16822
16823 2005-05-20  Dan Williams <dcbw@redhat.com>
16824
16825         * NetworkManager.h
16826                 - Differentiate VPN config signals between bad VPN config options
16827                         and bad IP config
16828
16829         * gnome/applet/applet-dbus-info.h
16830                 - Add prototypes for wireless network and vpn connection update functions
16831
16832         * gnome/applet/applet-dbus.c
16833                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16834
16835         * gnome/applet/applet.c
16836                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16837                         error signals
16838                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16839                         propogation to NetworkManager
16840                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16841                         notify propogation to NetworkManager
16842
16843         * src/NetworkManagerDbus.c
16844                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16845                         are updating so a network can be removed from it if necessary
16846
16847         * src/vpn-manager/nm-vpn-manager.c
16848                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16849
16850         * vpn-daemons/vpnc/nm-vpnc-service.c
16851                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16852                 - (nm_vpnc_dbus_signal_launch_failed): remove
16853                 - (nm_vpnc_dbus_signal_connect_failed): remove
16854                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16855                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16856                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16857                         for new generalized error signal function, remove config file stuff
16858                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16859                         we can write configuration options to it
16860                 - (nm_vpnc_config_file_generate): removed
16861                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16862                 - (nm_vpnc_config_options_validate): validate the config options we receive
16863                         from NetworkManager to block potential exploits
16864                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16865                         starting vpnc
16866                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16867                         to NetworkManager
16868
16869 2005-05-16  Dan Williams  <dcbw@redhat.com>
16870
16871         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16872                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16873                         is not "connect"
16874
16875 2005-05-16  Dan Williams  <dcbw@redhat.com>
16876
16877         Patch from Tomislav Vujec <tvujec@redhat.com>
16878         * gnome/applet/applet-dbus-info.c
16879                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16880                         GConf and pass them to NetworkManager.  New key is 'routes' under
16881                         the VPN connection, and should be a string list
16882
16883         * src/NetworkManagerSystem.c
16884                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16885                         set them on the device when we set the rest of the VPN config.  Ensure
16886                         they are in the correct format since they are passed directly to the
16887                         command line.
16888
16889         * src/backends/NetworkManagerRedHat.c
16890           src/backends/NetworkManagerDebian.c
16891                 - (nm_system_device_add_route_via_device_with_iface): new function
16892
16893         * src/vpn-manager/nm-dbus-vpn.c
16894                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16895
16896         * src/vpn-manager/nm-vpn-manager.c
16897                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16898                         them into the IP4 config functions
16899
16900 2005-05-15  Dan Williams  <dcbw@redhat.com>
16901
16902         From Filip Miletic:
16903         * po/sr.po
16904           po/sr@Latn.po
16905           configure.in
16906                 - Serbian translation added
16907
16908 2005-05-15  Dan Williams  <dcbw@redhat.com>
16909
16910         * dispatcher-daemon/NetworkManagerDispatcher.c
16911                 - (main): sync arguments with NetworkManager and the applet, now use
16912                         "--no-daemon" rather than "daemon=no"
16913                 - (nmd_print_usage): Fix script path in usage message
16914
16915 2005-05-15  Dan Williams  <dcbw@redhat.com>
16916
16917         * src/NetworkManagerDevice.[ch]
16918           src/NetworkManagerPolicy.c
16919           src/NetworkManager.c
16920           src/nm-dbus-nm.c
16921                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16922                         longer send the DeviceNoLongerActive signal unconditionally, but only
16923                         when the device is actually active.
16924
16925         * dispatcher-daemon/NetworkManagerDispatcher.c
16926                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16927                         and simplify the logic
16928                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16929                         we free it later on
16930
16931         * initscript/RedHat/Makefile.am
16932           initscript/RedHat/NetworkManagerDispatcher
16933                 - Add initscript for NetworkManagerDispatcher
16934
16935
16936         Patch from Bill Moss:
16937         * dispatcher-daemon/NetworkManagerDispatcher.c
16938                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16939
16940         * src/NetworkManagerDbus.c
16941                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16942                         and DeviceNowActive gets signaled, then the device has a new IP address
16943                         anyway.  There's no need for a separate signal.
16944
16945         * src/NetworkManagerDevice.c
16946                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16947
16948         * src/NetworkManagerPolicy.c
16949                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16950                         activates successfully.  This kind of went missing when I reworked the
16951                         activation code.
16952
16953 2005-05-15  Dan Williams  <dcbw@redhat.com>
16954
16955         * configure.in
16956                 - Check for dhcdbd and error if its not found
16957
16958         * src/dhcp-manager/Makefile.am
16959           src/dhcp-manager/nm-dhcp-manager.c
16960                 - Use path to dhcdbd that configure found
16961
16962 2005-05-14  Dan Williams  <dcbw@redhat.com>
16963
16964         * gnome/applet/nm-device.c
16965                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16966                         sort wireless networks alphabetically
16967
16968         * gnome/applet/applet-dbus-devices.c
16969                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16970                         before copying them over to the GUI
16971
16972 2005-05-14  Dan Williams  <dcbw@redhat.com>
16973
16974         * src/NetworkManager.c
16975                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16976                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16977                         the device list, as does nm_get_active_device() which is called from
16978                         nm_vpn_manager_deactivate_vpn_connection().
16979
16980 2005-05-14  Dan Williams  <dcbw@redhat.com>
16981
16982         * NetworkManager.h
16983                 - Add signals for VPN Launch and Connect failures
16984
16985         * gnome/applet/applet-dbus.c
16986                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16987
16988         * gnome/applet/applet.c
16989                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16990                         function to handle all VPN failure messages
16991                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16992                         function to hanlde all VPN failure  messages
16993                 - (show_warning_dialog): work around focus-stealing prevention
16994
16995         * gnome/applet/other-network-dialog.c
16996           gnome/applet/passphrase-dialog.c
16997                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16998                         problem where it never enabled for ASCII Key and Hex Key types
16999
17000         * gnome/applet/wireless-applet.glade
17001                 - Add window title to Other Wireless Network Dialog
17002
17003         * src/vpn-manager/nm-dbus-vpn.c
17004                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17005                         function to handle all VPN failure messages
17006
17007         * src/vpn-manager/nm-vpn-manager.c
17008                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17009
17010         * vpn-daemons/vpnc/nm-vpnc-service.c
17011                 - (nm_vpnc_dbus_signal_launch_failed): new function
17012                 - (nm_vpnc_dbus_signal_connect_failed): new function
17013                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17014                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17015                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17016                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17017
17018 2005-05-11  Dan Williams  <dcbw@redhat.com>
17019
17020         * vpn-daemons/vpnc/nm-vpnc-service.c
17021                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17022                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17023                         file exists before trying to write it out.
17024
17025 2005-05-10  Dan Williams  <dcbw@redhat.com>
17026
17027     * gnome/applet/applet-dbus-device.c
17028         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17029             prevented just entering ESSID and leaving key and key type up to
17030             NetworkManager (which should have them already cached)
17031
17032 2005-05-08  Dan Williams  <dcbw@redhat.com>
17033
17034         * src/NetworkManagerPolicy.c
17035                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17036                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17037                         fix a situation where NM is told to terminate and the device stops activation,
17038                         but the main thread isn't aware of that because it would never have run
17039                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17040                         had already quit.
17041
17042         * src/NetworkManagerDevice.c
17043                 - (nm_device_probe_wired_link_state): cosmetic fixes
17044                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17045                         we've failed to activate or been canceled.
17046                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17047
17048 2005-05-08  Dan Williams  <dcbw@redhat.com>
17049
17050         * src/NetworkManagerWireless.c
17051                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17052                         value of WEXT quality structures, and add a debug message when we cannot
17053                         determine any quality % at all
17054
17055 2005-05-08  Dan Williams  <dcbw@redhat.com>
17056
17057         * src/dhcp-manager/nm-dhcp-manager.c
17058                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17059                         it goes down.
17060
17061 2005-05-06  Dan Williams  <dcbw@redhat.com>
17062
17063         * gnome/applet/applet-dbus-device.c
17064           gnome/applet/applet-dbus-info.c
17065           gnome/applet/applet-dbus.c
17066           gnome/applet/applet.c
17067           gnome/applet/applet.h
17068                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17069
17070         * gnome/applet/applet-dbus.c
17071                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17072                         so we notice when wired device's carriers come back on.  Should
17073                         fix issue with wired devices being grayed out even if the cable
17074                         is in, for devices that support carrier detection.
17075
17076         * gnome/applet/applet.c
17077                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17078                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17079                         tooltip message
17080                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17081                         Fix situation where applet wouldn't respond to menu selections
17082
17083         * src/NetworkManager.c
17084           src/NetworkManagerDevice.c
17085           src/NetworkManagerDbus.c
17086           src/NetworkManagerDbus.h
17087                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17088
17089         * src/NetworkManagerDbus.c
17090                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17091                         Remove, no longer used or relevant
17092                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17093                 - (nm_dbus_schedule_device_status_change_signal): add
17094
17095         * src/NetworkManagerDevice.c
17096                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17097                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17098                         ie don't deactivate them unless explicitly told to by the user.  Also send
17099                         CARRIER_OFF / CARRIER_ON signals when link changes
17100                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17101                         Don't print error message when device is no longer around
17102                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17103                         not just during activation
17104
17105         * src/NetworkManagerPolicy.c
17106                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17107                         auto-device-selection.
17108                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17109
17110         * src/NetworkManagerSystem.c
17111                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17112                         is no longer present (Bill Moss)
17113
17114         * src/backends/shvar.c
17115                 - (svOpenFile): Open read-only to make SELinux happy
17116
17117         * src/backends/NetworkManagerRedHat.c
17118                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17119                         the path to the ifcfg-* files
17120
17121 2005-05-05  Dan Williams  <dcbw@redhat.com>
17122
17123         * Expose activation stages to NetworkManager clients, like the applet
17124         * Add Diana's progress icons to the applet, cued off NM activation stage
17125         * Use more descriptive tooltips, cued off NM activation stage
17126
17127 2005-05-05  Ray Strode  <rstrode@redhat.com>
17128
17129         * src/nm-netlink-monitor.c:
17130                 - Use clear_event_source instead of g_nullify_pointer() again.
17131
17132 2005-05-05  Dan Williams  <dcbw@redhat.com>
17133
17134         * gnome/applet/main.c
17135                 - Fix session management so the applet is actually managed now
17136
17137         * gnome/applet/passphrase-dialog.c
17138                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17139
17140 2005-05-05  Dan Williams  <dcbw@redhat.com>
17141
17142         Patch from Bill Moss:
17143         * gnome/libnm_glib/libnm_glib.c
17144                 - Fix for dbus-0.33
17145
17146 2005-05-05  Dan Williams  <dcbw@redhat.com>
17147
17148         Suggestion from Bill Moss:
17149         * src/NetworkManagerSystem.c
17150                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17151
17152
17153         * src/NetworkManager.c
17154                 - (nm_data_free): move destruction of the various managers after
17155                         release of device list, because deactivating and freeing a device
17156                         requires at least the named manager
17157                 - (nm_poll_and_update_wireless_link_state):
17158                   (nm_device_link_activated):
17159                   (nm_device_link_deactivated):
17160                         don't grab the device list lock when actually updating device
17161                         link status or strength, since nm_device_set_link_active()
17162                         needs to call nm_get_active_device(), which also locks the device list.
17163
17164         * src/NetworkManagerDevice.c
17165                 - (nm_device_set_link_active): if a device's link switches from off->on,
17166                         and it's wired, and the active device is wireless (or there is no
17167                         active device), activate the new device whose link just came on
17168                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17169                         my only calling the link to the current ap "failed" when more than 2
17170                         consecutive link checks have failed
17171
17172 2005-05-04  Dan Williams  <dcbw@redhat.com>
17173
17174         * src/NetworkManagerDevice.c
17175                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17176                         but let link_to_specific_ap() do the locking where it needs
17177
17178         Patch from Bill Moss:
17179         * src/NetworkManagerSystem.c
17180                 - Set MTU of VPN devices to 1412
17181
17182 2005-05-04  Dan Williams  <dcbw@redhat.com>
17183
17184         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17185
17186         * Fix some holes in device activation and retaining the currently connected
17187                 access point
17188
17189 2005-05-03  Dan Williams  <dcbw@redhat.com>
17190
17191         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17192           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17193           means you need dhcdbd, which you can get here (get the latest one):
17194
17195                 http://people.redhat.com/jvdias/dhcdbd/
17196
17197           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17198           interface as dhcdbd.
17199
17200         * Rewrite device activation to facilitate the new DHCP infrastructure and
17201           future improvements.  Its now "activation request" based, ie there is a single
17202           activation request composed of the device, access point, and other info which
17203           follows the entire activation process.  There are 5 stages of the activation
17204           process which correspond to:
17205
17206                 1) Device preparation
17207                 2) Device configuration (bring it up, set ESSID/Key/etc)
17208                 3) IP Config Start (fire off DHCP if we're using it)
17209                 4) IP Config Get (grab config from DHCP or static config files)
17210                 5) IP Config Commit (set device's IP address, DNS, etc)
17211
17212           Note that there is no longer a "scanning" step, since the access point must
17213           be known _before_ activation starts.  If the access point drops out or does
17214           not exist for some reason, the entire activation process fails and must be
17215           restarted for a different access point or device.
17216
17217         Patch from Bill Moss:
17218         * gnome/applet/applet.c
17219                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17220
17221 2005-04-27  Dan Williams  <dcbw@redhat.com>
17222
17223         * gnome/applet/applet-dbus-vpn.c
17224           gnome/applet/applet.c
17225           gnome/applet/applet.h
17226                 - Fix up active VPN handling so that we reliably know when a VPN
17227                         connection has been deactivated
17228
17229         * src/vpn-manager/nm-vpn-manager.c
17230                 - Remove duplicate VPNConnectionChange signal
17231
17232 2005-04-27  Dan Williams  <dcbw@redhat.com>
17233
17234         Patch from Peter Jones:
17235         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17236
17237         Patch from Bill Moss:
17238         * src/NetworkManagerSystem.c
17239                 - Fix checking of return value from ioctl()
17240
17241 2005-04-27  Dan Williams  <dcbw@redhat.com>
17242
17243         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17244         * Warn and exit if icons cannot be found
17245
17246 2005-04-27  Dan Williams  <dcbw@redhat.com>
17247
17248         Patch from Tom Parker:
17249         * Update debian backend
17250
17251 2005-04-27  Dan Williams  <dcbw@redhat.com>
17252
17253         * Merge the applet and the info-daemon, and move the converged
17254                 applet under gnome/applet
17255         * Move libnm_glib to gnome/libnm_glib
17256         * Convert most dbus calls between the applet, info-daemon, and NM
17257                 into async calls
17258         * Fix a few things valgrind noticed
17259         * Make NM broadcast state more reliably
17260
17261 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17262
17263         * configure.in: Added ne in ALL_LINGUAS
17264
17265 2005-04-15  Dan Williams  <dcbw@redhat.com>
17266
17267         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17268                 code for dbus 0.2x versions
17269
17270 2005-04-15  Dan Williams  <dcbw@redhat.com>
17271
17272         Patches from Tom Parker:
17273         - Fix memleaks
17274         - Join with worker thread rather than polling for its exit
17275
17276         Patch from Bill Moss:
17277         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17278
17279 2005-04-15  Dan Williams  <dcbw@redhat.com>
17280
17281         - Fixes to pass 'make distcheck'
17282
17283 2005-04-15  Dan Williams  <dcbw@redhat.com>
17284
17285         Initial VPN Support
17286                 - supports 'vpnc'
17287                 - reworks device IP configuration, backend files have changed and will need
17288                         to be updated for all distributions.  I will try to do what I can for
17289                         them, but I cannot test them.
17290
17291         - Move named directory to src/named-manager
17292         - Make backends directory self-contained
17293
17294 2005-04-06  Dan Williams  <dcbw@redhat.com>
17295
17296         Add debug code for socket/file descriptor leaks.  We register every socket
17297         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17298         list of sockets that we forgot to close on shutdown.  This also consolidates
17299         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17300
17301 2005-04-06  Dan Williams  <dcbw@redhat.com>
17302
17303         * dhcpcd/dhcpcd.c
17304                 - (dhcp_interface_free): fix a file descriptor leak that may have
17305                         caused network drivers to not unload due to refcounts > 0
17306
17307 2005-04-04  Dan Williams  <dcbw@redhat.com>
17308
17309         * panel-applet/NMWirelessAppletDbus.c
17310                 - (nmwa_dbus_call_nm_method): remove some commented code
17311
17312         * src/NetworkManagerAPList.[ch]
17313                 - (nm_ap_list_remove_ap_by_essid): new function
17314
17315         * src/NetworkManagerDevice.c
17316                 - (nm_device_wireless_force_use): remove access points from the ignore list
17317                         when the user forces them
17318
17319         * src/nm-dbus-device.c
17320                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17321
17322 2005-04-04  Dan Williams  <dcbw@redhat.com>
17323
17324         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17325
17326 2005-04-04  Dan Williams  <dcbw@redhat.com>
17327
17328         * src/NetworkManagerDevice.c:
17329                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17330                         of only erroring after the second consecutive scan times out.  Also
17331                         don't exit when the card requires more time than we can give it, just
17332                         log the event and continue.
17333
17334 2005-04-01  Steve Murphy  <murf@e-tools.com>
17335
17336         * configure.in: Added "rw" to ALL_LINGUAS.
17337
17338 2005-04-01  Dan Williams <dcbw@redhat.com>
17339
17340         Perform scans during device activation, if needed.  Both activation 
17341         and scans run in the same GMainContext.  Therefore, if an access point
17342         is not found by the time the device starts activation, it will not
17343         be available until after activation.  We now try to scan during
17344         activation (in nm_wa_test) every 15s so that all available access
17345         points are more likely to be found and available for the activation
17346         procedure.
17347
17348         Also change nm_wireless_link_state_handle() to only update the "best"
17349         AP if we are not forcing a device and if we are not about to change
17350         state.  This attempts to work around a race when forcing a device,
17351         where the forced AP would get cleared out too soon by the link state
17352         checking timeout in the main thread, and the activation attempt with
17353         that AP would fail.
17354
17355 2005-04-01  Dan Williams <dcbw@redhat.com>
17356
17357         * po/POTFILES.in
17358                 - Update with new translatables
17359
17360 2005-03-31  Dan Williams <dcbw@redhat.com>
17361
17362         * panel-applet/NMWirelessAppletDbus.c
17363                 - Fix device names now that hal has changed device parenting for
17364                         network devices.
17365
17366 2005-03-31  Dan Williams <dcbw@redhat.com>
17367
17368         Tighten up handling of wireless devices that don't support wireless
17369         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17370         hadn't been doing pseudo-scanning for a while either and would just
17371         spin waiting for an access point.  They are now manual devices where
17372         the user must choose the access point from the menu every time.  All
17373         "allowed" access points are listed in the applet's menu regardless
17374         of whether or not they can be seen by the card, since it can't scan
17375         anyway.
17376
17377         * src/NetworkManager.c
17378                 - (nm_wireless_link_state_handle): new function, but only update
17379                         the "best" ap for non-scanning devices when its not activating,
17380                         and when no device is being forced on the card
17381                 - (nm_link_state_monitor): split wireless link state handling out
17382                         into separate function
17383
17384         * src/NetworkManagerDevice.c
17385                 - (nm_device_copy_allowed_to_dev_list): new function
17386                 - (nm_device_new): populate non-scanning cards' AP lists with
17387                         access points from the "allowed" list
17388                 - (nm_device_new): don't start a scanning timeout for devices that
17389                         can't scan
17390                 - (nm_device_activation_schedule_finish): new parameter, should be
17391                         the AP that failed to be connected to, pass it on to the
17392                         activation finish function in NetworkManagerPolicy.c
17393                 - (nm_device_activate_wireless): don't ever try to get a new AP
17394                         for non-scanning devices, just fail.  The user must choose
17395                         a new access point manually.
17396                 - (nm_device_activate): grab the AP that failed connection and
17397                         pass it on
17398                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17399                         a link to it, user must manually choose a new one
17400                 - (nm_device_do_pseudo_scan): remove function
17401                 - (nm_device_wireless_process_scan_results): remove bits for non-
17402                         scanning cards since they never get here
17403                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17404                         and fake the scan list for test devices a bit earlier
17405
17406         * src/NetworkManagerPolicy.c
17407                 - (nm_policy_activation_finish): use the failed_ap that we get
17408                         passed rather than getting the best_ap from the card, which
17409                         may have changed since we were scheduled
17410                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17411                         update their scan list directly from the allowed list when
17412                         we get updates to the allowed list from NetworkManagerInfo
17413
17414         * src/NetworkManagerPolicy.h
17415                 - New member for failed access point in NMActivationResult
17416
17417   -------------------------------------
17418
17419         Driver Notification patch: notifies the user when their driver
17420                 sucks.  Gives them the option to ignore further insertions
17421                 of the card that has the sucky driver.
17422
17423         * NetworkManager.h
17424                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17425                         enum and replace it with NO_CARRIER_DETECT and
17426                         NO_WIRELESS_SCAN
17427
17428         * panel-applet/NMWirelessApplet.[ch]
17429                 - Merge essid.glade -> wireless-applet.glade
17430                 - Implement the "Your driver sucks" notification dialog
17431
17432         * panel-applet/NMWirelessAppletDbus.c
17433                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17434                 - Grab hardware address for each device from NM too
17435                 - Check whether the driver for each device sucks or not whenever
17436                         a new device is noticed
17437
17438         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17439                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17440
17441         * src/NetworkManager.c
17442                 - Fix a double-unref on device removal
17443
17444         * src/NetworkManagerUtils.c
17445                 - Set appropriate driver support level on a device that doesn't
17446                         support scanning or carrier detection
17447
17448         * src/nm-dbus-device.c
17449                 - New "getHWAddress" dbus method on devices
17450                 - getSupportsCarrierDetect -> getDriverSupportLevel
17451
17452 2005-03-31  Dan Williams <dcbw@redhat.com>
17453
17454         * src/NetworkManagerDevice.c
17455                 - (nm_device_wireless_scan): Fix leak of scan results in some
17456                         instances
17457
17458 2005-03-29  Dan Williams <dcbw@redhat.com>
17459
17460         * src/NetworkManager.c
17461                 - (nm_poll_and_update_wireless_link_state): make code less indented
17462
17463         Patch from Bill Moss:
17464         * src/NetworkManager.c
17465                 - (nm_device_update_link_state): Update signal strength on wireless
17466                         devices every time we update link state too.
17467
17468 2005-03-29  Dan Williams <dcbw@redhat.com>
17469
17470         * src/NetworkManagerDevice.c
17471                 - (nm_device_set_essid): Work around Orinoco cards which need
17472                         extra time after setting the ESSID
17473
17474 2005-03-29  Dan Williams <dcbw@redhat.com>
17475
17476         * src/NetworkManagerDevice.c
17477                 - Merge one more bit of Peter Jones' completion patch
17478
17479 2005-03-29  Dan Williams <dcbw@redhat.com>
17480
17481         * src/NetworkManagerDevice.c
17482                 - (nm_device_force_use): Fix possible segfault
17483
17484 2005-03-29  Dan Williams <dcbw@redhat.com>
17485
17486         * src/NetworkManagerDevice.c
17487                 - Use iw_get_ext() where we should rather than iw_set_ext()
17488
17489 2005-03-29  Dan Williams <dcbw@redhat.com>
17490
17491         * src/NetworkManagerDevice.c
17492                 - (nm_device_set_up_down): remove check for unsupported devices
17493                         that caused NM to not bring devices up when they were
17494                         added to the device list.
17495
17496 2005-03-28  Dan Williams <dcbw@redhat.com>
17497
17498         * src/NetworkManagerDevice.c
17499                 - (mdio_read): Fix two bugs that caused all devices to fail
17500                         the MII carrier detection support checks
17501
17502 2005-03-26  Dan Williams <dcbw@redhat.com>
17503
17504         * src/NetworkManagerDevice.c
17505                 - (nm_device_wireless_scan): Remove duplicated scanning code
17506
17507 2005-03-25  Dan Williams <dcbw@redhat.com>
17508
17509         * panel-applet/NMWirelessApplet.c
17510                 - (nmwa_about_cb): Add some more contributors
17511                 - (nmwa_update_state): show the applet when there's no connection
17512                 - Enable the "Stop/Resume all wireless devices" option in the
17513                         context menu
17514                 - New "no connection" icon
17515
17516         * src/NetworkManager.c
17517                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17518                         wireless is disabled or we're asleep
17519
17520         * src/NetworkManagerDHCP.c
17521                 - Remove trailing "\n" on debug messages
17522
17523         * src/NetworkManagerDbus.c
17524                 - (nm_dbus_network_status_from_data): new state "asleep"
17525
17526         * src/NetworkManagerDevice.c
17527                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17528                         latency and wait times for most operations
17529                 - (nm_device_wireless_scan): Don't scan when asleep
17530
17531         * src/NetworkManagerPolicy.c
17532                 - (nm_policy_get_best_device): return no device when asleep
17533                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17534                         for all wireless devices on update, not just active device
17535
17536         * src/NetworkManagerUtils.c
17537                 - Merge Peter Jones' "completion" patch
17538
17539         * src/nm-dbus-nm.c
17540                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17541                         we're told to disable them
17542                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17543
17544         * utils/nm-utils.h
17545                 - New variants of the warn/info/error/debug print functions that can take
17546                         variables rather than static strings
17547
17548 2005-03-24  Dan Williams <dcbw@redhat.com>
17549
17550         * src/NetworkManagerUtils.c
17551                 - (nm_get_device_driver_name): driver names are now on the parents of
17552                         "Network Interface" objects, so look for them there
17553
17554 2005-03-24  Dan Williams <dcbw@redhat.com>
17555
17556         * test/nmtest.c
17557                 - Escape some forgotten object paths before we shove them through dbus
17558
17559 2005-03-24  Dan Williams <dcbw@redhat.com>
17560
17561         * dhcpcd/dhcpcd.[ch]
17562           src/NetworkManagerDHCP.c
17563                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17564                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17565
17566         * src/NetworkManagerDbus.c
17567                 - spacing cleanups
17568
17569         * src/nm-dbus-dhcp.c
17570                 - Make the API suck less.  There is now only 1 type of each function,
17571                         ie only "getInteger" and no longer also "getIntegerv".  All types
17572                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17573                         that will never have more than 1 element.  This should simplify
17574                         things greatly.
17575
17576         * test/nm-dhcp-opt-test.c
17577                 - Make the tool not segfault
17578                 - adapt to new DHCP Options API
17579
17580 2005-03-22  Dan Williams <dcbw@redhat.com>
17581
17582         * src/NetworkManager.c
17583                 - (nm_wired_link_deactivated): actually ignore netlink events from
17584                         wireless devices.
17585
17586 2005-03-22  Dan Williams <dcbw@redhat.com>
17587
17588         * src/NetworkManager.c
17589                 - (nm_wired_link_activated): actually ignore netlink events from
17590                         wireless devices.
17591
17592 2005-03-17  Dan Williams <dcbw@redhat.com>
17593
17594         Patch from Tom Parker:
17595         * src/nm-netlink-monitor.c
17596                 - Include unistd.h
17597         * info-daemon/NetworkManagerInfoDbus.c
17598                 - (nmi_dbus_update_network_auth_method): free GConf values
17599
17600         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17601         * src/NetworkManagerDevice.c
17602                 - (nm_device_set_wireless_config): wait for successful
17603                         association longer for some cards (Atheros a/b/g)
17604
17605 2005-03-15  Ray Strode  <rstrode@redhat.com>
17606
17607         * src/NetworkManager.c:
17608         (sigterm_pipe_handler):
17609         remove bogus FIXME
17610
17611 2005-03-15  Ray Strode  <rstrode@redhat.com>
17612
17613         * src/NetworkManagerDbus.c:
17614         Fix some sign weirdness that gcc4 doesn't like,
17615         and add a header file so PPC can hopefully find
17616         SIGTRAP
17617
17618 2005-03-14  Ray Strode  <rstrode@redhat.com>
17619         
17620         Fourth (probably working) cut at porting to
17621         dbus 0.30 api and new hal. This cut adds
17622         some new logging macros to make debugging
17623         easier.
17624
17625         * dispatcher-daemon/NetworkManagerDispatcher.c:
17626         * info-daemon/NetworkmanagerInfo.c:
17627         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17628         * info-daemon/NetworkManagerInfoVPN.c:
17629         * src/NetworkManager.c:
17630         * src/NetworkManagerAP.c:
17631         * src/NetworkManagerAPList.c:
17632         * src/NetworkManagerDHCP.c:
17633         * src/NetworkManagerDbus.c:
17634         * src/NetworkManagerDevice.c:
17635         * src/NetworkManagerPolicy.c:
17636         * src/NetworkManagerSystem.c:
17637         * src/NetworkManagerUtils.c:
17638         * src/NetworkManagerWireless.c:
17639         * src/autoip.c:
17640         * src/nm-dbus-nm.c:
17641         * src/backends/NetworkManagerDebian.c:
17642         * src/backends/NetworkManagerGentoo.c:
17643         * src/backends/NetworkManagerRedHat.c:
17644         * src/backends/NetworkManagerSlackware.c:
17645         use new logging macros.
17646
17647         * dispatcher-daemon/NetworkManagerDispatcher.c:
17648         (nmd_dbus_filter): s/dbus_free/g_free/
17649
17650         * info-daemon/Makefile.am: link in utils library.
17651         * info-daemon/NetworkmanagerInfo.c: use new logging 
17652         macros.
17653         (nmi_dbus_get_network): don't assume enumerations
17654         are 32-bit.
17655         (nmi_dbus_nmi_message_handler): don't free what 
17656         doesn't belong to us.
17657
17658         * libnm_glib/libnm_glib.c:
17659         (libnm_glib_get_nm_status): 
17660         (libnm_glib_init): don't free what doesn't
17661         belong to us.
17662         (libnm_glib_dbus): strdup result, so it doesn't get
17663         lost when message is unref'd.
17664
17665         * panel-applet/NMWirelessAppletDbus.c:
17666         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17667
17668         * src/NetworkManager.c:
17669         (nm_monitor_wired_link_state): request initial status 
17670         dump of all cards when we start up, instead of relying
17671         on /sys/.../carrier.
17672         (nm_info_handler), (nm_set_up_log_handlers): 
17673         log handlers to specify what syslog priorites 
17674         the logging macros default to.
17675
17676         * src/NetworkManagerAPList.c: 
17677         (nm_ap_list_populate_from_nmi):
17678         s/dbus_free_string_array/g_strfreev/
17679
17680         * src/NetworkManagerDbus.c:
17681         (nm_dbus_get_network_object):
17682         validate d-bus message argument types.
17683         Advance message iterator after reading argument,
17684         prepend instead of append to GSList.
17685
17686         * src/NetworkManagerDevice.c:
17687         (nm_device_probe_wired_link_status):
17688         remove redundant /sys in /sys path. remove wrong
17689         contents == NULL means has carrier assumption.
17690
17691         * src/nm-netlink-monitor.c 
17692         (nm_netlink_monitor_request_status): implement
17693         function to ask kernel to dump interface link
17694         status over netlink socket.
17695
17696         * test/*.c: s/dbus_free/g_free/
17697
17698         * utils/nm-utils.h:
17699         (nm_print_backtrace): new macro to print backtrace.
17700         (nm_get_timestamp): new macro to get sub-second precise
17701         unix timestamp.
17702         (nm_info), (nm_debug), (nm_warning), (nm_error):
17703         new logging functions. nm_info just prints,
17704         nm_debug includes timestamp and function,
17705         nm_warning includes function, nm_error includes
17706         backtrace and sigtrap.
17707
17708 2005-03-11  Ray Strode  <rstrode@redhat.com>
17709
17710         Third (unfinished, partially working) cut at porting to 
17711         dbus 0.30 api and new hal.
17712
17713         * info-daemon/NetworkManagerInfoDbus.c:
17714                 don't free null arrays.
17715
17716         * panel-applet/NMWirelessAppletDbus.c: 
17717         * src/nm-dbus-device.c:
17718         * src/nm-dbus-net.c: 
17719         * src/NetworkManagerDbus.c: more 
17720         STRING -> OBJECT_PATH fun
17721         * src/NetworkManagerDevice.c:
17722         * src/NetworkManagerDevice.h:
17723         (rename nm_device_get_link_active): rename to 
17724         nm_device_has_active_link
17725         (nm_device_wireless_link_active): rename to
17726         nm_device_probe_wireless_link_state
17727         (nm_device_wired_link_active): rename to
17728         nm_device_probe_wired_link_state.  Rewrite to
17729         use carrier file since hal doesn't maintain
17730         link state anymore.
17731         (nm_device_update_link_active): rename to
17732         nm_device_update_link_state
17733         * src/NetworkManagerPolicy.c 
17734           (nm_policy_activation_finish): check for NULL
17735           MAC address.
17736
17737         * src/Makefile.am:
17738         * src/NetworkManagerMain.h: 
17739         * src/NetworkManager.c:
17740         * src/nm-netlink-monitor.c:
17741         * src/nm-netlink-monitor.h: New class to support
17742         monitoring wired ethernet link status, since HAL
17743         doesn't export that information anymore.
17744
17745 2005-03-09  Ray Strode  <rstrode@redhat.com>
17746
17747         Second (unfinished, unworking) cut at porting to 
17748         dbus 0.30 api.
17749
17750         * dispatcher-daemon/NetworkManagerDispatcher.c:
17751         * info-daemon/NetworkManagerInfoDbus.c:
17752         * panel-applet/NMWirelessAppletDbus.c:
17753         * src/NetworkManagerDbusUtils.c:
17754         * src/NetworkManagerDbusUtils.h:
17755         * src/nm-dbus-device.c:
17756         * src/nm-dbus-nm.c:
17757         * test/nmtest.c: support dbus "object path" type
17758
17759         * configure.in: 
17760         * Makefile.am:
17761         * info-daemon/Makefile.am:
17762         * libnm_glib/Makefile.am:
17763         * panel-applet/Makefile.am:
17764         * dispatcher-daemon/Makefile.am
17765         * src/Makefile.am:
17766         * test/Makefile.am:
17767         * utils/Makefile.am: 
17768         * utils/nm-utils.c: 
17769         * utils/nm-utils.h: new utils static lib
17770
17771 2005-03-07  Ray Strode  <rstrode@redhat.com>
17772
17773         * info-daemon/NetworkManagerInfoDbus.c:
17774         * libnm_glib/libnm_glib.c:
17775         * panel-applet/NMWirelessAppletDbus.c:
17776         * src/NetworkManager.c:
17777         * src/NetworkManagerDbus.c:
17778         * src/NetworkManagerDevice.c:
17779         * src/NetworkManagerUtils.c:
17780         * src/nm-dbus-device.c:
17781         * src/nm-dbus-dhcp.c:
17782         * src/nm-dbus-net.c:
17783         * src/nm-dbus-nm.c:
17784         * test/nminfotest.c:
17785         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17786
17787 2005-03-04  Dan Williams  <dcbw@redhat.com>
17788
17789         * configure.in
17790                 - Mark HEAD as 0.4
17791
17792 2005-03-04  Dan Williams  <dcbw@redhat.com>
17793
17794         Patch from Peter Jones:
17795         - Make stuff work with gcc 4.0
17796
17797 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17798
17799         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17800
17801 2005-02-27  Jim Huang  <jserv@kaffe.org>
17802
17803         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17804
17805 2005-02-27  Dan Williams  <dcbw@redhat.com>
17806
17807         Patch from Bill Moss:
17808         * panel-applet/NMWirelessAppletDbus.c
17809                 - Make sure strength for current access point is up-to-date when we
17810                         update the gui data model
17811
17812 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17813
17814         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17815
17816 2005-02-27  Dan Williams  <dcbw@redhat.com>
17817
17818         * src/backends/NetworkManagerRedHat.c
17819                 - (nm_system_init): Kill any dhclient processes lying around as well
17820                         as stopping 'nifd' if its already been started.  NetworkManager
17821                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17822
17823 2005-02-27  Dan Williams  <dcbw@redhat.com>
17824
17825         * panel-applet/NMWirelessApplet.c
17826                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17827                         dbus data model, not the GUI data model twice.
17828
17829 2005-02-27  Dan Williams  <dcbw@redhat.com>
17830
17831         * panel-applet/NMWirelessApplet.[ch]
17832           panel-applet/NMWirelessAppletDbus.[ch]
17833                 - Move to incremental network updates.  Instead of blowing away our list
17834                         of devices every time we get a signal from NetworkManager, we now
17835                         incrementally add/remove networks when NetworkManager notifies us that
17836                         a new network has appeared or disappered.  Strength updates now happen
17837                         on-the-fly for each access point as well.  There are now two copies of
17838                         data from NetworkManager: one for the dbus side, and one for the gui side.
17839                         When the dbus side data is modified, it is copied over to the gui side
17840                         so we don't have to hold the data_mutex for long periods of time (and
17841                         therefore block animation of the applet's icon).
17842                 - Clean up some memleaks too
17843
17844         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17845                 - Minor code beautification
17846
17847         * src/NetworkManagerAPList.c
17848                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17849                         completely new and whether or not an existing one's strength was updated.
17850                         Try to fix multiple access points and signal strength by using the highest
17851                         signal strength in each scan for any given ESSID.
17852
17853         * src/NetworkManagerDbus.[ch]
17854                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17855                         wireless networks; now we have only WirelessNetworkUpdate which includes
17856                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17857                 - Kill usage of DbusMessageIter
17858
17859         * src/NetworkManagerDevice.c
17860                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17861                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17862                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17863                         currently associated with from the network list.
17864                 - Update for new signals during scan, send out Appeared, Disappeared, or
17865                         StrengthChanged when necessary.
17866
17867 2005-02-25  Dan Williams  <dcbw@redhat.com>
17868
17869         * README
17870                 - Line break the README
17871
17872 2005-02-25  Dan Williams  <dcbw@redhat.com>
17873
17874         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17875                 - Remove usage of gtk_window_set_default_size()
17876
17877         * panel-applet/essid.glade
17878                 - Stick default size here
17879                 - Add in random crap that current glade wants to add in now
17880
17881 2005-02-25  Dan Williams  <dcbw@redhat.com>
17882
17883         * src/backends/NetworkManagerRedHat.c
17884                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17885                         and that we actually tell nscd to reload the hosts cache when it changes
17886
17887 2005-02-25  Dan Williams  <dcbw@redhat.com>
17888
17889         * info-daemon/NetworkManagerInfoDbus.c
17890                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17891
17892         * test/nminfotest.c
17893                 - Whack usage of DbusMessageIter
17894                 - Clean up DbusError and DbusMessage handling and freeing
17895                 - Remove unused unregister handler
17896
17897         * test/nmtest.c
17898                 - Whack usage of DbusMessageIter
17899
17900         * test/nmtestdevices.c
17901                 - Whack usage of DbusMessageIter
17902
17903 2005-02-25  Dan Williams  <dcbw@redhat.com>
17904
17905         * NetworkManager.h
17906                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17907                         signal
17908
17909 2005-02-25  Dan Williams  <dcbw@redhat.com>
17910
17911         * named/nm-named-manager.c
17912                 - Ensure that pid and watch variables for child named process get cleared out
17913                         when the child goes away.
17914
17915 2005-02-22  Dan Williams  <dcbw@redhat.com>
17916
17917         * src/NetworkManagerPolicy.c
17918                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17919                         and NULL out data->active_device so that we have to choose another one.
17920                         This may make NetworkManager keep attempting to connect to a wired network
17921                         if it fails, but if it keeps failing the wired network has more problems than
17922                         just NetworkManager.
17923
17924         * src/backends/NetworkManagerRedHat.c
17925                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17926                         is already running
17927
17928         * named/nm-named-manager.c
17929                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17930                         named so that the distro can flush whatever name service caching
17931                         daemon it uses
17932
17933 2005-02-21  Dan Williams  <dcbw@redhat.com>
17934
17935         * src/NetworkManagerDHCP.[ch]
17936                 - (nm_device_dhcp_remove_timeouts): new function
17937
17938         * src/NetworkManagerDevice.c
17939                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17940                         remove the DHCP timeouts.
17941
17942 2005-02-21  Dan Williams  <dcbw@redhat.com>
17943
17944         * panel-applet/NMWirelessApplet.[ch]
17945           panel-applet/menu-info.[ch]
17946                 - Give the panel applet some major love: menu items are no longer
17947                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17948                         This allows the applet to actually reflect theme changes correctly,
17949                         since themeing of subclassed items in GTK _sucks_.
17950
17951 2005-02-18  Dan Williams  <dcbw@redhat.com>
17952
17953         * libnm_glib/libnm_glib.[ch]
17954           test/libnm_glib_test.c
17955                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17956                         and its data, and doesn't have to free the callback data anymore
17957
17958 2005-02-18  Dan Williams  <dcbw@redhat.com>
17959
17960         * panel-applet/NMWirelessApplet.c
17961                 - Revert 2005-02-18 William Jon McCann fix for standard
17962                         copyright string until it passes 'make distcheck'.
17963                         With standard copyright string, xgettext complains
17964                         about "Non-ASCII string at ...".
17965
17966 2005-02-18  Dan Williams  <dcbw@redhat.com>
17967
17968         * panel-applet/essid.glade
17969           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17970                 - Correct spelling of "adaptor"->"adapter"
17971
17972 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17973
17974         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17975         (nmwa_about_cb): Use standard copyright string.  Update comment
17976         text to reflect that it is a notification area applet.  Remove
17977         leading newline in authors list.
17978         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17979         instead of on parent menu item activation.  Fixes #167550.
17980
17981 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17982
17983         * panel-applet/essid.glade: Capitalize items as per HIG.
17984           Fixes #167632
17985
17986 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17987
17988         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17989         files for GTK 2.4 or lower, since now public in GTK 2.6.
17990
17991         * panel-applet/essid.glade: Don't specify window size.
17992         
17993 2005-02-17  Dan Williams  <dcbw@redhat.com>
17994
17995         Caught by Bill Moss:
17996         * dhcpcd/client.c
17997                 - Time remaining for DHCP transaction calculation was incorrectly
17998                         inside a #ifdef DEBUG
17999
18000 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18001
18002         * configure.in: Added fr (French) to ALL_LINGUAS.
18003
18004 2005-02-14  Dan Williams  <dcbw@redhat.com>
18005
18006         * src/NetworkManagerDHCP.c
18007                 - (set_domain_searches): Fix free of invalid pointer
18008
18009 2005-02-14  Dan Williams  <dcbw@redhat.com>
18010
18011         Patch from Peter Jones:
18012         * dhcpcd/client.c
18013                 - Ensure we return RET_DHCP_CEASED everywhere we should
18014         * dhcpcd/udpipgen.c
18015                 - Use faster TOS for IP packets
18016                 - Don't set ip_id since we're UDP
18017
18018         Patch from Tomislav Vujec:
18019         * src/nm-dbus-dhcp.c
18020           test/nm-dhcp-opt-test.c
18021                 - Clean up warnings to enable cvs tree compilation.
18022
18023 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18024
18025         * configure.in
18026           po/hr.po
18027                 - Add the Croatian locale.
18028
18029 2005-02-14  Colin Walters  <walters@verbum.org>
18030
18031         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18032         list of domains to search.
18033         
18034         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18035
18036 2005-02-13  Dan Williams  <dcbw@redhat.com>
18037
18038         * dhcpcd/client.c
18039                 - Debug output cleanups of DHCP option printing and parsing.
18040
18041 2005-02-13  Dan Williams  <dcbw@redhat.com>
18042
18043         Patch from Dan Reed:  DHCP options D-BUS API
18044                 Exposes the DHCP options that a device receives to clients over D-BUS.
18045
18046         * configure.in
18047                 - A few cleanups
18048
18049         * dhcpcd/client.h
18050                 - Correct names, option length, and types for DHCP options
18051
18052         * dhcpcd/dhcpcd.[ch]
18053                 - Clarify function names that access DHCP options & data
18054
18055         * src/NetworkManagerDHCP.c
18056                 - Use new DHCP data access functions
18057
18058         * src/NetworkManagerDbus.c
18059                 - Message handler for DHCP functions
18060
18061         * src/nm-dbus-dhcp.[ch] (new)
18062                 - DHCP dbus methods
18063
18064         * test/nm-dhcp-opt-test.c
18065                 - Test DHCP D-BUS API and return all present DHCP options
18066
18067 2005-02-12  Dan Williams  <dcbw@redhat.com>
18068
18069         * test/Makefile.am
18070           test/nmclienttest.c
18071           test/nmtest.c
18072                 - Move nmclienttest.c -> nmtest.c
18073
18074 2005-02-12  Dan Williams  <dcbw@redhat.com>
18075
18076         * dhcpcd/buildmsg.c
18077                 - Pad DHCP packets until they are at least 300 bytes in size.
18078
18079 2005-02-11  Dan Williams  <dcbw@redhat.com>
18080
18081         * dhcpcd/client.c
18082                 - (dhcp_init): only print out client ID and class ID if they are specified
18083
18084         * src/NetworkManagerDbus.[ch]
18085           src/nm-dbus-nm.[ch]
18086           src/nm-dbus-device.[ch]
18087           src/nm-dbus-net.[ch]
18088                 - Move NM, Device, and Net functions to separate files and use the
18089                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18090                         method dispatching
18091
18092         * src/NetworkManagerDbusUtils.c
18093                 - Add new validate_method called before each dispatch (if present)
18094                         that can validate the method call
18095
18096         * src/NetworkManagerWireless.c
18097                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18098                         levels never to be evaluated
18099
18100         Patch from j@bootlab.org
18101         * src/NetworkManagerDevice.c
18102                 - Add typedef for "u64"
18103
18104         * src/backends/NetworkManagerDebian.c
18105                 - Copy in Dave Woodhouse's fixes for IPv6
18106
18107 2005-02-11  Dan Williams  <dcbw@redhat.com>
18108
18109         Patch from Dave Woodhouse for IPv6:
18110         * src/NetworkManagerUtils.c
18111                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18112                         and multicast addresses
18113
18114         * src/NetworkManagerDevice.c
18115                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18116                         after bringing up a card.
18117
18118 2005-02-10  Dan Williams  <dcbw@redhat.com>
18119
18120         Patch from Dave Woodhouse:
18121         * src/NetworkManagerSystem.h
18122           src/backends/NetworkManagerDebian.c
18123           src/backends/NetworkManagerGentoo.c
18124           src/backends/NetworkManagerSlackware.c
18125                 - New nm_system_device_add_ip6_link_address() function to add link-local
18126                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18127
18128         * src/backends/NetworkManagerRedHat.c
18129                 - (nm_system_device_add_ip6_link_address): implement
18130                 - (nm_system_device_flush_addresses): revert to previous behavior of
18131                         flushing all addresses
18132
18133 2005-02-10  Dan Williams  <dcbw@redhat.com>
18134
18135         Patch from Tom Parker:
18136         * src/NetworkManagerDevice.c
18137                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18138                         mii.h headers are broken, and instead use our own typedefs
18139
18140 2005-02-10  Dan Williams  <dcbw@redhat.com>
18141
18142         * dhcpcd/buildmsg.c
18143                 - (fill_host_and_class_id): only fill in client and class IDs if
18144                         they are set by callers.
18145
18146         * dhcpcd/client.c
18147                 - (class_id_setup): don't autogenerate a class ID, only use one
18148                         we're given, if any.
18149                 - (client_id_setup): don't autogenerate a client ID, only use one
18150                         we're given, if any.
18151
18152         * dhcpcd/dhcpcd.c
18153                 - (dhcp_interface_init): ensure that client options are correctly
18154                         NULL terminated
18155
18156         * src/NetworkManagerDHCP.c
18157                 - (nm_device_dhcp_request): pass hostname to dhcp library
18158
18159 2005-02-10  Dan Williams  <dcbw@redhat.com>
18160
18161         * dhcpcd/client.c
18162                 - #rh147661# Don't send kernel version in DHCP requests
18163
18164         * src/NetworkManagerSystem.h
18165           src/backends/NetworkManagerDebian.c
18166           src/backends/NetworkManagerGentoo.c
18167           src/backends/NetworkManagerRedHat.c
18168           src/backends/NetworkManagerSlackware.c
18169                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18170                         functions, they are no longer used anyway
18171
18172         * src/backends/NetworkManagerRedHat.c
18173                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18174                         addresses in an attempt to keep IPv6 local-scope addresses around
18175
18176 2005-02-10  Dan Williams  <dcbw@redhat.com>
18177
18178         * src/NetworkManager.c
18179                 - (nm_create_device_and_add_to_list): change the add message slightly
18180
18181         * src/NetworkManagerUtils.c
18182                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18183                         Return driver name to calling function
18184                 - (nm_get_driver_support_level): print out the driver a device is using
18185                         during the support check
18186
18187         Patch from Dave Woodhouse:
18188         * dhcpcd/udpipgen.c
18189                 - (in_cksum): copy last byte of odd-sized packets into a
18190                         'u_short' rather than a 'u_char', should fix wrong checksums
18191                         on big-endian platforms
18192
18193 2005-02-09  Dan Williams  <dcbw@redhat.com>
18194
18195         * Clean up usage of GSList objects and looping through their members
18196         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18197                 now.
18198         * Fix problem where even if scanning was turned off, card would still
18199                 cycle through frequencies.
18200
18201 2005-02-08  Dan Williams  <dcbw@redhat.com>
18202
18203         * panel-applet/NMWirelessApplet.c
18204                 - Fix for gtk 2.4
18205
18206 2005-02-08  Dan Williams  <dcbw@redhat.com>
18207
18208         Patch from Bill Moss
18209         * panel-applet/NMWirelessApplet.c
18210                 - Restore correct ESSID in tooltips
18211
18212 2005-02-07  Dan Williams  <dcbw@redhat.com>
18213
18214         * panel-applet/NMWirelessApplet.[ch]
18215                 - Add a context menu that contains:
18216                         Pause/Resume Wireless Scanning
18217                         Stop/Start All Wireless Devices
18218                         About...
18219                 - Grab active device strength off active device,
18220                         not its network
18221
18222         * panel-applet/NMWirelessAppletDbus.[ch]
18223                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18224                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18225                 - Update active device strength every 2 seconds, not every 1 second
18226
18227         * panel-applet/menu-info.c
18228                 - Only disable wired devices in the menu when they support carrier detection,
18229                         and don't currently have a link.  Non-carrier-detect devices will always
18230                         remain choosable
18231
18232         * src/Makefile.am
18233           src/NetworkManagerDbusUtils.[ch]
18234                 - Add new new dbus utils sources
18235
18236         * src/NetworkManager.c
18237                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18238                         with the boolean parameter
18239                 - Set scanning_enabled & wireless_enabled to TRUE
18240
18241         * src/NetworkManagerDbus.c
18242                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18243                 - Implement scanning & wireless enable/disable calls
18244                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18245
18246         * src/NetworkManagerDevice.c
18247                 - New link detection stuff again...
18248                         o  Create device's mainloop earlier (but don't run it earlier)
18249                         o  Hook up new carrier-detect support stuff
18250                         o  Add in the ethtool & mii support detection code
18251                 - Don't scan if scanning is disabled
18252
18253         * src/NetworkManagerPolicy.c
18254                 - Never automatically choose a device that doesn't support carrier detection
18255                 - Don't automatically choose a wireless device if wireless is disabled
18256
18257 2005-02-07  Dan Williams  <dcbw@redhat.com>
18258
18259         * libnm_glib/libnm_glib.c
18260                 - Small cleanup in element list iteration
18261
18262 2005-02-07  Dan Williams  <dcbw@redhat.com>
18263
18264         * src/NetworkManagerWireless.c
18265                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18266                         to be in line with the WEXT quality specification
18267
18268 2005-02-02  Dan Williams  <dcbw@redhat.com>
18269
18270         Patch from Nathan Fredrickson <nathan@silverorange.com>
18271         * Fix up compile for deprecation of libgnomeui
18272                 - Switch to <glib/gi18n.h> from <libintl.h>
18273                 - Remove <libgnomeui/libgnomeui.h> includes
18274                 - Use gtk_window_set_default_icon_from_file() rather than
18275                         gnome_window_set_default_icon_from_file()
18276
18277         * named/nm-named-manager.c
18278                 - (generate_named_conf): Fix return-nothing in non-void
18279                         function
18280
18281 2005-02-02  Dan Williams  <dcbw@redhat.com>
18282
18283         * Clean up unused variables and the like
18284
18285 2005-02-02  Dan Williams  <dcbw@redhat.com>
18286
18287         * src/NetworkManagerAPList.c
18288                 - (nm_ap_list_merge_scanned_ap): merge strength too
18289
18290         * src/NetworkManagerUtils.c
18291                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18292                         of locking issues by printing out prettier information than g_mutex_lock
18293                 - Print out names of mutexes registered with nm_register_mutex_desc()
18294                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18295                         us to seemingly block here for too long
18296
18297         * src/NetworkManager.c
18298           src/NetworkManagerAPList.c
18299           src/NetworkManagerDevice.c
18300                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18301                         so we get better debug information printed
18302
18303         * src/NetworkManagerDbus.c
18304                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18305                         since it sometimes has locking side effects
18306                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18307                         from 10s
18308                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18309                         we don't need a switch.  This gets called often enough that we can't block
18310                         until the scan mutex is acquired, because we'll block on device activation
18311                         and a few other things, which hangs main thread for too long.
18312
18313         * src/NetworkManagerPolicy.c
18314                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18315                         nm_device_need_ap_switch() will be called               
18316
18317 2005-02-02  Dan Williams  <dcbw@redhat.com>
18318
18319         * panel-applet/NMWirelessApplet.c
18320                 - Display name of wireless network we are connecting to or connected to
18321                         in the tooltip of the applet
18322
18323 2005-02-02  Dan Williams  <dcbw@redhat.com>
18324
18325         * src/NetworkManagerDHCP.c
18326                 - Hopefully fix double-default-route problem by cleaning up the default
18327                         route added by DHCP code right before the DHCP transaction begins
18328
18329 2005-02-02  Dan Williams  <dcbw@redhat.com>
18330
18331         * named/nm-named-manager.c
18332                 - Write out valid resolv.conf when we exit
18333
18334 2005-02-01  Dan Williams  <dcbw@redhat.com>
18335
18336         Patch from Colin Walters:
18337         * named/nm-named-manager.c
18338                 - Make multi-domain search options work
18339
18340 2005-01-31  Dan Williams  <dcbw@redhat.com>
18341
18342         * info-daemon/NetworkManagerInfoDbus.c
18343                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18344
18345         * src/NetworkManagerDevice.c
18346                 - (nm_device_new): Don't store the entire range struct, use only what we need
18347                         (which is currently avg_quality, max_quality, and frequencies).  Also
18348                         zero device structure when we've free'd it to maybe expose errors down
18349                         the line.
18350                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18351                         quality data from the card since quality will be useless during a scan.
18352                         Call updated wireless qual-to-percent function with values stored in
18353                         nm_device_new() earlier.
18354                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18355                         nm_device_get_bad_crypt_packets())
18356                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18357                         nm_device_new()
18358                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18359                         list if available.  Problem was this: when the WEP key is wrong, NM will
18360                         try OS then SK modes, and then get stuck in SK mode after that.  This
18361                         should reset it.
18362                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18363                         function
18364
18365         * src/NetworkManagerWireless.c
18366                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18367                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18368                         if that's all present, otherwise fall back to signal-to-noise ratios.
18369
18370 2005-01-29  Dan Williams  <dcbw@redhat.com>
18371
18372         * initscript/RedHat/NetworkManager
18373                 - Don't spit out sysctl stuff to console
18374
18375         * libnm_glib/libnm_glib.c
18376                 - (libnm_glib_init): call dbus_g_thread_init()
18377
18378         * panel-applet/NMWirelessAppletDbus.c
18379                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18380
18381         * src/NetworkManager.c
18382                 - (main): call dbus_g_thread_init()
18383
18384         * src/NetworkManagerAPList.c
18385                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18386                         so we can actually see what's there in a normal syslog
18387
18388         * src/NetworkManagerDevice.c
18389                 - (nm_device_activate_wireless): print out the "waiting for access point"
18390                         message only once, then say what access point we actually got after
18391                         the wait.
18392                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18393                         function, wait until the scan is done.  Scans may change the ESSID of
18394                         the card, making this function think we need to switch access points
18395                 - (nm_device_wireless_process_scan_results): for artificial access points
18396                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18397                         prevents collisions with the scanning code, which may change the card's
18398                         ESSID and cause the access point to get dropped from the device's AP
18399                         list.  Also increase the keep-around time to 2m from 60s since the max
18400                         scan interval could be 60s in some cases.
18401
18402         * src/NetworkManagerPolicy.c
18403                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18404                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18405                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18406                         between NM and NMI.
18407
18408 2005-01-27  Dan Williams  <dcbw@redhat.com>
18409
18410         * info-daemon/NetworkManagerInfoDbus.c
18411                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18412                         GConf, make a minimal entry for it (essid & timestamp)
18413
18414         * src/NetworkManagerAPList.c
18415                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18416                         NetworkManagerInfo isn't running
18417
18418         * src/NetworkManagerDbus.[ch]
18419                 - (nm_dbus_nmi_is_running): new function
18420
18421         * src/NetworkManagerDevice.c
18422                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18423                         address to garbage.
18424
18425         * src/NetworkManagerPolicy.c
18426                 - (nm_policy_activation_finish): On successful activation, make sure
18427                         the "best" AP has a MAC address, and don't tell NMI to add the
18428                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18429                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18430                         access point after refreshing our allowed list if it doesn't already
18431                         have a "best" access point.
18432
18433 2005-01-25  Dan Williams  <dcbw@redhat.com>
18434
18435         * panel-applet/NMWirelessAppletDbus.c
18436                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18437                         so we check for NM_DBUS_SERVICE rather than not for it
18438
18439         * libnm_glib/libnm_glib.c
18440                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18441                         ServiceOwnerChanged signal
18442
18443 2005-01-25  Dan Williams  <dcbw@redhat.com>
18444
18445         * configure.in
18446                 - Check DBUS version in configure, and set the C macros
18447                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18448
18449         * info-daemon/NetworkManagerInfoDbus.c
18450                 - Remove #if 0-d section of code that quit NMI if NM went away.
18451
18452         * panel-applet/NMWirelessAppletDbus.c
18453                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18454
18455         * src/NetworkManager.c
18456           src/NetworkManagerMain.h
18457           src/NetworkManagerDbus.c
18458                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18459                 - Make updating of our Allowed Wireless Network lists from NMI
18460                         an idle function in the main thread now, with a high priority.
18461
18462 2005-01-24  Dan Williams  <dcbw@redhat.com>
18463
18464         * panel-applet/gtkcellview.[ch]
18465           panel-applet/menu-info.c
18466                 - Fix GTK version checks to be <= rather than <
18467
18468         * test/Makefile.am
18469                 - Include the libtool archive of libnm_glib rather than
18470                         trying to pull in the .so
18471
18472 2005-01-24  Dan Williams  <dcbw@redhat.com>
18473
18474         * src/NetworkManagerDevice.c
18475           src/NetworkManagerDevicePrivate.h
18476                 - Block nm_device_new() until our device's worker thread has had a
18477                         chance to start up.  Fixes a race between main thread and worker
18478                         thread starting that caused activation requests to get lost.
18479
18480 2005-01-24  Dan Williams  <dcbw@redhat.com>
18481
18482         * initscript/RedHat/NetworkManager
18483                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18484                         to add the NM startup script at priority 50, which was
18485                         way too early
18486
18487 2005-01-24  Colin Walters  <walters@redhat.com>
18488
18489         * named/named.conf: Use any port for query source instead of
18490         restricting to port 53.
18491
18492 2005-01-24  Dan Williams  <dcbw@redhat.com>
18493
18494         * initscript/RedHat/NetworkManager
18495                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18496                         to add the NM startup script at priority 50, which was
18497                         way too early
18498
18499 2005-01-24  Dan Williams  <dcbw@redhat.com>
18500
18501         Patch from Tom Parker <palfrey@tevp.net>
18502         * Fix up compile warnings & errors in the wireless applet
18503
18504 2005-01-24  Dan Williams  <dcbw@redhat.com>
18505
18506         * panel-applet/NMWirelessApplet.c
18507                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18508
18509 2005-01-24  Dan Williams  <dcbw@redhat.com>
18510
18511         * panel-applet/gtkcellview.[ch]
18512                 - Only compile these files for GTK 2.4 or lower, since 
18513                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18514                         when choosing "Other Wireless Networks" from the panel
18515                         applet menu
18516
18517 2005-01-21  Dan Williams  <dcbw@redhat.com>
18518
18519         * src/NetworkManager.c
18520                 - Daemonize earlier so that glib doesn't get confused (?)
18521
18522 2005-01-21  Dan Williams  <dcbw@redhat.com>
18523
18524         * panel-applet/NMWirelessApplet.[ch]
18525           panel-applet/NMWirelessAppletDbus.c
18526           panel-applet/menu-info.c
18527           src/NetworkManagerDevice.c
18528                 - Disable wired devices in the menu when they have no link.
18529
18530 2005-01-21  Dan Williams  <dcbw@redhat.com>
18531
18532         * Cache last-known-good wireless authentication method in
18533                 NetworkManagerInfo, and use that method first during
18534                 wireless device activation.  Should speed up devices that
18535                 need Shared Key authentication method since Open System is
18536                 now the default.
18537
18538         * Remove the hack to not do full activation on wired connections
18539                 that are active when we launch, it causes too many problems
18540                 with name resolution and was a hack in the first place.
18541
18542         * Re-work wireless device activation again somewhat to have a
18543                 clearer chain of events and to use last-known-good
18544                 authentication method of the access point.  Also provide
18545                 better status throughout activation to ensure the applet
18546                 can tell the user exactly what's going on.
18547
18548         * Remove the "find wireless network" code and now simply attempt
18549                 to activate with that access point.  This reduces the delay
18550                 between selecting "Other wireless Network" and actually
18551                 connecting to that network.
18552
18553         * Correctly stop the device's worker thread when its removed.
18554
18555 2005-01-21  Dan Williams  <dcbw@redhat.com>
18556
18557         * dhcpcd/client.c
18558                 - Clean up some of the debug messages
18559
18560 2005-01-21  Dan Williams  <dcbw@redhat.com>
18561
18562         * Add new icons, more frames of animation
18563         * Remove some hacks to get the panel applet to display correct
18564                 status, an NM update will soon follow that will fix the
18565                 real issue.
18566
18567 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18568
18569         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18570         the first include for working i18n. Also, don't include it in .h files
18571         * panel-applet/NMWirelessApplet.h: Same
18572         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18573         * panel-applet/menu-info.c: Same
18574
18575 2005-01-18  Dan Williams <dcbw@redhat.com>
18576
18577         * dhcpcd/client.c
18578                 - Remove some debug messages
18579                 - Wrap others in #ifdef DEBUG/#endif
18580
18581         * src/NetworkManager.c
18582                 - Remove some debug messages
18583                 - Clarify some debug messages
18584                 - Remove code related to old single-thread wireless scanning
18585
18586         * src/NetworkManagerAP.[ch]
18587                 - New AP property "last_seen" to track how recently an AP was
18588                         found in a scan
18589                 - Start using 'const' more in function arguments
18590
18591         * src/NetworkManagerAPList.[ch]
18592                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18593                         of an AP found in an AP list from a source AP, or if not found
18594                         in the list add the source AP
18595                 - (nm_ap_list_combine): remove, no longer needed
18596
18597         * src/NetworkManagerDevice.c
18598                 - Each device now has a "worker" thread from start to end of its life.
18599                         Scanning for wireless devices now happens in that thread,
18600                         not in a single "wireless scanning thread" for all devices as
18601                         previously.  Activation consists of adding an idle handler to the
18602                         thread's main loop/context, which gets run at the next available
18603                         opportunity.
18604                 - Wireless scanning is also simplified, there is now only one list of
18605                         access points per wireless device, and APs older than 60s are
18606                         removed from the list.  Previously, we kept results for the last
18607                         3 scans and merged whole lists, which was complicated.
18608                 - Cleaned up activation debug messages.
18609                 - Wireless activation and access-point search routines now use Open System
18610                         authentication before trying Shared Key.
18611                 - Removed some code in nm_device_update_best_ap() that could cause cards
18612                         to loose their link to the access point.
18613                 - Scanning now uses a backoff algorithm, where the inverval becomes
18614                         progressively longer between scans when the list of scanned access
18615                         points doesn't change.  A change will revert to the shortest scan
18616                         interval (20s).
18617
18618         * src/NetworkManagerWireless.[ch]
18619                 - Remove code related to old single-thread wireless scanning
18620
18621 2005-01-18  Colin Walters  <walters@redhat.com>
18622
18623         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18624         of older nameservers.
18625
18626 2005-01-18  Colin Walters  <walters@redhat.com>
18627
18628         * named/nm-named-manager.c (generate_named_conf): Many fixes
18629         to config file generation.
18630         (safer_kill): Remove, was too much trouble for little gain.
18631         (nm_named_manager_start): Run named as NM_NAMED_USER.
18632
18633         * configure.in: Add option --with-named-user.
18634
18635 2005-01-14  Colin Walters  <walters@redhat.com>
18636
18637         Patch from ed@catmur.co.uk (Ed Catmur)
18638
18639         * named/nm-named-manager.c: Add "context" property.
18640         Use it to add child watch source in specific GMainContext.
18641
18642         * src/NetworkManager.c (nm_data_new): Initialize
18643         named with correct main context.  Start named only
18644         after forking.
18645
18646 2005-01-14  Colin Walters  <walters@redhat.com>
18647
18648         * named/nm-named-manager.c (generate_named_conf): Write config
18649         and pid files into NM_NAMED_DATA_DIR; this allows things to
18650         work better with FC3 named SELinux policy.  Also fix up silly
18651         format error.
18652
18653         * configure.in: Add --with-named-dir option.
18654
18655 2005-01-14  Colin Walters  <walters@redhat.com>
18656
18657         * configure.in: Make named support require passing --with-named.
18658
18659         * named/nm-named-manager.c: Support writing resolv.conf directly
18660         without running named.
18661
18662 2005-01-13  Dan Williams <dcbw@redhat.com>
18663
18664         * named/nm-named-manager.c
18665                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18666
18667         * src/NetworkManagerDevice.c
18668                 - Rework wireless link detection code to be more reliable
18669
18670 2005-01-12  Dan Williams <dcbw@redhat.com>
18671
18672         * initscripts/RedHat/NetworkManager
18673                 - Change initial level to "-" rather than "345" so that
18674                         we don't activate ourselves by default on install
18675
18676 2005-01-12  Dan Williams <dcbw@redhat.com>
18677
18678         * libnm_glib/
18679                 - Client library for applications using glib
18680
18681         * configure.in
18682           various Makefiles
18683                 - Split NM_CFLAGS and NM_LIBS into separate variables
18684                         like DBUS_*, HAL_* and GLIB_*
18685
18686         * src/NetworkManager.c
18687           src/NetworkManagerMain.h
18688                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18689                         broadcast a status changed signal over DBUS from the main thread.
18690                         Still unused anywhere for the moment.
18691
18692         Patch from j@bootlab.org
18693         * panel_applet/NMWirelessAppletDbus.c
18694           src/NetworkManagerDbus.c
18695                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18696                         for the "getMode" method call
18697
18698 2005-01-10  Dan Williams <dcbw@redhat.com>
18699
18700         * src/NetworkManagerDevice.c
18701                 - Minor fixups & corrections to "auto" frequency mode, make it
18702                         less chatty with syslog
18703
18704 2005-01-10  Dan Williams <dcbw@redhat.com>
18705
18706         * src/NetworkManagerDevice.c
18707                 - Implement "auto" frequency/channel support, since cards like Atheros
18708                         can't use other frequencies at all when you've told it to use a
18709                         specific one, even for scanning.
18710                 - Grab the scan mutex around places where we can't tolerate wireless
18711                         settings changing underneath us, like nm_device_wireless_network_exists()
18712                         and nm_device_activate_wireless()
18713
18714         * src/NetworkManagerWireless.c
18715                 - Back scan interval off to 20s instead of 14s
18716
18717 2005-01-09  Dan Williams <dcbw@redhat.com>
18718
18719         * src/NetworkManagerDevice.c
18720                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18721                         already set.  Stops some drivers like Atmel from continually
18722                         reloading the firmware, which they do upon every configuration
18723                         change.
18724
18725 2005-01-09  Dan Williams <dcbw@redhat.com>
18726
18727         * dhcpcd/client.c
18728                 - Use correct timeout value
18729
18730         * info-daemon/NetworkManagerInfoDbus.c
18731           src/NetworkManagerDbus.c
18732                 - Consolidate communication between NM and NMI by doing only 1 dbus
18733                         method call to get Wireless Network info from NMI instead of 6
18734
18735         * src/NetworkManager.c
18736                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18737                         when we didn't have an AP to use, we'd wait for one forever without
18738                         quitting
18739
18740         * src/NetworkManagerDevice.c
18741                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18742                         activation, dhcp might not have started yet but we don't quit activation
18743                         before starting it, so the quit signal gets lost
18744
18745 2005-01-07  Dan Williams <dcbw@redhat.com>
18746
18747         * dhcpcd/client.c
18748                 - Rework the DHCP client code to be much less chatty when
18749                         it receives non-DHCP UDP packets during the DHCP run
18750                         (reported by and preliminary patches from Bill Moss)
18751
18752         * Move wireless scanning to a separate thread.  This thread forwards the
18753                 results to the main thread when done where they are integrated into
18754                 the device's access point lists.  This keeps the main thread (which
18755                 does all the DBUS communication) from being blocked for long periods
18756                 of time by wireless scanning.
18757
18758         * Make state modification an idle routine in the main loop, and trigger
18759                 state changes rather than polling for them.
18760
18761         * src/backends/NetworkManagerGentoo.c
18762                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18763
18764         * src/NetworkManagerDevice.c
18765                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18766                         router advertisements, causing problems and infinite loop
18767                         during "best" device determination due to link going up/down
18768                         (reported by Bill Moss)
18769
18770         Apply patch from Peter Jones
18771         * src/NetworkManagerDevice.c
18772                 - Shortcut for link-checking for ipw2x00 cards
18773                 - Split out association check into separate routine
18774
18775 2004-01-05  Colin Walters  <walters@redhat.com>
18776
18777         * named/named.conf: Add PID_FILE.
18778
18779         * named/nm-named-manager.c: Always generate a pid
18780         file, since older BIND versions don't support
18781         "pid-file none".
18782
18783 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18784
18785         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18786
18787 2004-12-22  Dan Williams <dcbw@redhat.com>
18788
18789         * src/NetworkManagerDevice.c
18790                 - Silently fail when setting bitrate doesn't work
18791
18792
18793         Patches from j@bootlab.org:
18794         * src/backends/NetworkManagerDebian
18795                 - Update backend to match functionality in RedHat backend
18796         * src/NetworkManagerDevice.c
18797                 - Take down then bring up wired devices after connection so
18798                 they send out ipv6 router advertisements
18799
18800 2004-12-21  Colin Walters  <walters@verbum.org>
18801
18802         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18803         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18804
18805 2004-12-21  Colin Walters  <walters@redhat.com>
18806
18807         * configure.in: Correct named detection.
18808
18809 2004-12-21  Colin Walters  <walters@redhat.com>
18810
18811         * src/NetworkManager.c (nm_data_new): Initialize named.
18812         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18813         the mainloop when these signals are received.
18814         (nm_data_free): Unref named.
18815         (sigterm_handler, sigterm_pipe_handler): New functions for
18816         exiting mainloop.
18817         
18818         * src/NetworkManagerMain.h (NMData): Add signal handling and
18819         nameserver bits.
18820
18821         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18822         unref.
18823
18824         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18825         set nameservers from DHCP response data.
18826         (set_domain_search): Set domain search from DHCP response.
18827         (nm_device_dhcp_configure): Invoke them.
18828
18829         * src/NetworkManagerSystem.c
18830         (nm_system_device_update_resolv_conf): Delete.  Deleting
18831         code is totally sweet.
18832
18833         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18834
18835         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18836         implements an object which controls a nameserver.  Currently
18837         uses bind 9.
18838
18839         * configure.in: Check for named.
18840
18841         * Makefile.am (SUBDIRS): Add named dir.
18842
18843         * named/named.conf: New template config file.
18844
18845 2004-12-20  Colin Walters  <walters@redhat.com>
18846
18847         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18848         instead of '='.
18849
18850 2004-12-17  Dan Williams  <dcbw@redhat.com>
18851
18852         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18853                 link-local addresses instead of doing DHCP.
18854
18855         * In the panel applet, there's a new "Create new Wireless Network..." item
18856
18857         * The panel applet also sticks around now even if NetworkManager dies, but
18858                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18859                 a bug, I'll fix that later.
18860
18861         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18862                 lookups after a switch rather than actually doing them.
18863
18864         * Clean up some of those warnings in nm_ap_list_* functions
18865
18866         * Delay between scans changed to 15s instead of 10s
18867
18868 2004-12-15  Dan Williams  <dcbw@redhat.com>
18869
18870         Patch from Tom Parker
18871         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18872                 address
18873
18874         * Longer pause after setting ESSID on cards that support a larger number
18875                 of channels to give the card time to find the right channel
18876
18877         * Add system hook to restart mDNSResponder (or whatever the local implementation
18878                 of Multicast DNS is) when we activate interfaces
18879
18880 2004-12-15  Dan Williams  <dcbw@redhat.com>
18881
18882         * Rework the DHCP code again to revert to sending full ethernet frames
18883                 rather then relying on the kernel to do the right thing with our
18884                 packets.
18885
18886 2004-12-06  Dan Williams  <dcbw@redhat.com>
18887
18888         * dhcpcd/client.c
18889                 - Fix some minor errors in dhcp_handle_transaction() that caused
18890                         unexpected early timeouts of DHCP transactions
18891
18892         * dhcpcd/client.h
18893                 - DHCP retransmit time from 4s -> 5s
18894
18895 2004-12-05  Dan Williams  <dcbw@redhat.com>
18896
18897         * Major rework of the DHCP code, taking some cues from pump.  We don't
18898                 write raw Ethernet packets anymore, which simplifies the code quite
18899                 a bit.  The new code should be more robust, not hang in recvfrom()
18900                 as much, and generally work better.  This also means that we need
18901                 to force HAL/dbus to use a created GMainContext rather than the
18902                 default context, since having the DHCP renew/rebind thread using
18903                 its own GMainContext seemed to give dbus a fit.  There is also more
18904                 debugging information printed from the DHCP loop to help with future
18905                 problems.
18906
18907         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18908                 assume that the default gateway should be the DHCP server.
18909
18910         Patch from Matthew Schick <matt oss-institute org>
18911         * src/backends/NetworkManagerGentoo.c
18912                 - Fix compilation error due to missing "ip4_broadcast"
18913
18914 2004-12-03  Dan Williams  <dcbw@redhat.com>
18915
18916         * initscript/Makefile.am
18917         * initscript/Debian/NetworkManager
18918         * initscript/Gentoo/NetworkManager
18919         * initscript/RedHat/NetworkManager
18920         * initscript/NMLaunchHelper.c
18921                 - Remove NMLaunchHelper, if you need to wait until the network
18922                         comes up, use the dead code from CVS.
18923
18924 2004-12-01  Colin Walters  <walters@redhat.com>
18925         
18926         * configure.in: Suck in gcc warnings code from Rhythmbox,
18927         but use fewer default flags, and in particular add -Wno-unused,
18928         since the codebase has a lot of unused variables.
18929
18930         * test/nmtestdevices.c (create_device): 
18931         * test/nminfotest.c (get_network_string_property) 
18932         (get_networks_of_type): 
18933         * test/nmclienttest.c (main): 
18934         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18935         * initscript/NMLaunchHelper.c (get_nm_status): 
18936         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18937         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18938         Fix declarations after statements.
18939
18940 2004-12-01  Colin Walters  <walters@redhat.com>
18941
18942         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18943         (nmi_dbus_get_vpn_userpass): New method.
18944         (nmi_dbus_nmi_message_handler): Invoke it.
18945
18946         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18947
18948         * info-daemon/NetworkManagerInfoVPN.h,
18949         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18950         to requests for VPN passwords.
18951
18952         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18953
18954 2004-12-01  Colin Walters  <walters@redhat.com>
18955
18956         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18957         includes.
18958
18959 2004-12-01  Colin Walters  <walters@redhat.com>
18960
18961         * panel-applet/NMWirelessAppletDbus.c
18962         (nmwa_dbus_update_active_device_strength): Fix missing
18963         return value.
18964
18965 2004-12-01  Colin Walters  <walters@redhat.com>
18966
18967         * panel-applet/NMWirelessApplet.c: Add missing include.
18968
18969 2004-12-01  Colin Walters  <walters@redhat.com>
18970
18971         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18972         Remove useless CLAMP (); the value is unsigned, and the case tests
18973         qual->qual < 100, so the value must always be between 0 and 100.
18974
18975 2004-12-01  Colin Walters  <walters@redhat.com>
18976
18977         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18978
18979 2004-11-22  Colin Walters  <walters@verbum.org>
18980
18981         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18982         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18983         which is essentially a noop since nscd caches hosts on disk too.
18984         
18985 2004-11-22  Colin Walters  <walters@redhat.com>
18986
18987         * src/Makefile.am (NetworkManager_SOURCES): Add
18988         NetworkManagerDevicePrivate.h.
18989
18990 2004-11-22  Dan Williams <dcbw@redhat.com>
18991
18992         * src/NetworkManagerDevicePrivate.h
18993                 - Split out the NMDevice struct to a different file so that stuff like
18994                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18995
18996         * dhcpcd/client.c
18997                 - fprintf->syslog
18998                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18999                         need to cancel the dhcp request during the send and recv
19000
19001         * dhcpcd/client.h
19002                 - Move the DHCP option enum to dhcpcd.h
19003
19004         * src/NetworkManagerDHCP.c
19005                 - Split out the actual IP/netmask/etc setting code
19006                 - New Renew/Rebind functions
19007                 - New timer setup function for renew/rebind operations
19008
19009         * src/NetworkManagerDevice.c
19010                 - For device activation, if we are using DHCP then keep the activation thread
19011                         alive until device deactivation.  We need to renew/rebind the DHCP address
19012                         after the T1 (renew) and T2 (rebind) times have expired.
19013                 - Increase some timeouts after bringing wireless cards up/down
19014
19015 2004-11-17  Dan Williams <dcbw@redhat.com>
19016
19017         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19018                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19019                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19020                 show known access points that don't broadcast their ESSID in the menus without
19021                 any user intervention whatsoever.
19022
19023         * info-daemon/NetworkManagerInfoDbus.c
19024                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19025                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19026
19027         * src/NetworkManagerAP.[ch]
19028                 - Add a "user_addresses" data member to the NMAccessPoint structure
19029                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19030                         the user_addresses data member
19031
19032         * src/NetworkManagerAPList.c
19033                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19034                         the AP's reported address
19035                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19036
19037         * src/NetworkManagerDHCP.c
19038                 - Increase DHCP timeout from 25s -> 30s
19039
19040         * src/NetworkManagerDbus.[ch]
19041                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19042                         user addresses
19043
19044         * src/NetworkManagerDevice.c
19045                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19046                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19047                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19048                         So, we take the card down to clear it out.
19049                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19050                         too, since that's where the user_addresses are
19051
19052         * src/NetworkManagerPolicy.c
19053                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19054                         that wireless networks' user_addresses list upon successful activation
19055
19056 2004-11-16  Dan Williams <dcbw@redhat.com>
19057
19058         * src/NetworkManagerDevice.[ch]
19059                 - (nm_device_clear_activation_fail): new function
19060
19061         * src/NetworkManagerPolicy.c
19062                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19063                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19064
19065 2004-11-16  Dan Williams <dcbw@redhat.com>
19066
19067         * src/NetworkManagerDevice.c
19068                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19069                         leak the structure, better updating of now_scanning status
19070                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19071
19072 2004-11-15  Dan Williams <dcbw@redhat.com>
19073
19074         Major rework of link detection code.  We now use DHCP
19075         as part of the link detection which proves to be much more robust,
19076         and also supports Open System authentication for wireless networks.
19077
19078         We no longer use external DHCP client programs.  Instead, we use 
19079         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19080         which was written by:
19081                 Yoichi Hariguchi <yoichi@fore.com>
19082                 Sergei Viznyuk <sv@phystech.com>
19083                 http://www.phystech.com/download/
19084         It resides in the "dhcpcd" directory and was refactored into a general
19085         purpose DHCP client library by me.
19086
19087         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19088         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19089
19090 2004-11-15  Dan Williams <dcbw@redhat.com>
19091
19092         Patch from Tom Parker <palfrey@tevp.net>:
19093
19094         * src/NetworkManagerDevice.c
19095                 - Less output to console when no access
19096                         points are found during a scan
19097
19098 2004-11-15  Dan Williams <dcbw@redhat.com>
19099
19100         Patch from Tom Parker <palfrey@tevp.net>:
19101
19102         * src/backends/interface_parser.c
19103                 - Use g_strdup ()
19104                 - Check for inp == NULL
19105                 - use syslog ()
19106
19107 2004-11-13  Colin Walters  <walters@redhat.com>
19108
19109         Patch from Tom Parker <palfrey@tevp.net>:
19110
19111         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19112         
19113         * src/backends/NetworkManagerRedHat.c: Switch to
19114         including shvar.h instead of shvar.c.
19115
19116         * src/backends/NetworkManagerDebian.c: Don't include
19117         interface_parser.c in source file.
19118
19119         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19120         and interface_parser.[ch].
19121         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19122         Include shvar.c and shvar.h here.
19123         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19124         interface_parser.c and interface_parser.h here.
19125
19126 2004-11-12  Colin Walters  <walters@redhat.com>
19127
19128         * configure.in: Strip out TARGET_DISTRO and
19129         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19130         conditionals.
19131
19132         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19133         (libnmbackend_la_SOURCES): Use Automake conditionals
19134         to add distro-specific files.
19135
19136         * initscript/Makefile.am (SUBDIRS): Update to
19137         use conditionals.
19138
19139 2004-11-12  Colin Walters  <walters@redhat.com>
19140
19141         Patches from j bootlab org
19142
19143         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19144         Add interface_parser.[ch].
19145
19146         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19147         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19148
19149 2004-11-12  Colin Walters  <walters@redhat.com>
19150
19151         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19152         call to nmi_dbus_is_running too, not necessary anymore.
19153         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19154         pick up exit().
19155
19156 2004-11-11  Colin Walters  <walters@verbum.org>
19157
19158         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19159         Delete.
19160         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19161         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19162         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19163         This avoids a race condition that made it pretty easily
19164         possible to get two NetworkManagerInfo daemons running.
19165
19166 2004-11-11  Colin Walters  <walters@verbum.org>
19167         
19168         * src/NetworkManager.c (main): Use daemon(3).
19169
19170         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19171
19172         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19173
19174 2004-11-10 Dan Williams <dcbw@redhat.com>
19175
19176         Patches from j bootlab org
19177         * src/NetworkManagerDevice.c
19178                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19179                         whether the card has a link or not, some cards are slow
19180                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19181
19182         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19183                 - Disable the "Login" button on the passphrase dialog until the user
19184                         enters a valid passphrase or key
19185
19186         Patches from Tom Parker <palfrey tevp net>
19187         * src/backends/NetworkManagerDebian.c
19188                 - Add static IP support to the debian backend
19189
19190         * src/backends/interface_parser.[ch]
19191                 - Parse debian interface config files
19192
19193 2004-11-08 Dan Williams <dcbw@redhat.com>
19194
19195         * src/NetworkManagerDevice.c
19196                 - Some random fprintf->syslog conversions
19197                 - (nm_device_wireless_network_exists): double-check for network
19198                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19199
19200         * src/NetworkManagerWireless.[ch]
19201                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19202                         so that the binary->ascii conversion works (if unsigned, the bitshift
19203                         will fill with zeros, which is what's required).  Also mask bitshift
19204                         result with 0xF for futher assurance.
19205
19206 2004-11-06 Dan Williams <dcbw@redhat.com>
19207
19208         * src/NetworkManagerUtils.c
19209                 - (nm_get_wireless_driver_support_level): default to
19210                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19211                         flip this when changing from whitelist->blacklist of
19212                         wireless drivers
19213
19214 2004-11-05 Dan Williams <dcbw@redhat.com>
19215
19216         Patch from Robert Paskowitz:
19217         * src/backends/NetworkManagerGentoo.c
19218                 - Update static IP config code
19219
19220 2004-11-05 Dan Williams <dcbw@redhat.com>
19221
19222         * info-daemon/NetworkManagerInfoDbus.c
19223           src/NetworkManagerDbus.[ch]
19224           src/NetworkManagerDevice.c
19225                 - Keep track of the # of attempts to get the WEP key
19226                         from the user and pass that along to the info daemon
19227
19228 2004-11-05 Dan Williams <dcbw@redhat.com>
19229
19230         * src/NetworkManagerUtils.c
19231                 - Blacklist wireless cards rather than whitelisting them.
19232                 - Grab driver name from HAL rather than trying to find it
19233                         ourselves.
19234
19235 2004-11-03 Dan Williams <dcbw@redhat.com>
19236
19237         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19238                 - Disable OK button until valid data is entered
19239                         for encryption stuff too
19240
19241         * panel-applet/NMWirelessApplet.c
19242                 - Report card strength for current AP if the card
19243                         doesn't report strength data for scanned access
19244                         points
19245
19246         * src/NetworkManagerDevice.c
19247                 - Smooth out cards reported quality, Atmel card was
19248                         intermittently reporting no quality data but soon
19249                         recovers
19250
19251         * src/NetworkManagerWireless.c
19252                 - Better quality data percentage calculation.  Atmel
19253                         cards (mine at least) seem to report the quality
19254                         in percentage format already, so honor that
19255
19256         Patch from <j@bootlab.org>
19257         * NetworkManager.h
19258           info-daemon/NetworkManagerInfoPassphraseDialog.c
19259           info-daemon/passphrase.glade
19260           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19261           panel-applet/essid.glade
19262           src/NetworkManagerAP.c
19263           src/NetworkManagerDevice.c
19264           src/NetworkManagerWireless.[ch]
19265                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19266
19267 2004-11-03 Dan Williams <dcbw@redhat.com>
19268
19269         * src/NetworkManagerDevice.[ch]
19270                 - (nm_device_set_enc_key): Add parameter to set Authentication
19271                         Mode (Open System, Shared Key, or None).  We're still using
19272                         Shared Key for now though.
19273
19274 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19275
19276         * panel-applet/menu-info.c: change from bold text to light
19277         colored, may cause problems with some themes, i've tested a lot
19278         and they seem fine. 
19279
19280         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19281
19282 2004-11-01  Colin Walters  <walters@verbum.org>
19283
19284         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19285         (nm_wireless_128bit_key_from_passphrase): Add const.
19286
19287         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19288         (nm_ap_set_enc_key_source): Add const.
19289         
19290 2004-11-01  Colin Walters  <walters@verbum.org>
19291
19292         * .cvsignore: Update.
19293
19294 2004-10-29 Dan Williams <dcbw@redhat.com>
19295
19296         * src/NetworkManagerDevice.c
19297                 - (nm_device_wireless_network_exists): Actually use the encryption
19298                         key we got from the applet when attempting to find a wireless network
19299                 - Don't bring devices down so much since on some cards it triggers
19300                         firmware hotplugs each time
19301
19302         * src/NetworkManagerDbus.c
19303                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19304                         from the caller
19305
19306 2004-10-29 Dan Williams <dcbw@redhat.com>
19307
19308         * src/NetworkManager.c
19309                 - (nm_hal_device_property_modified): unlock a locked active
19310                         wireless device when a wired connection gets a link.
19311                         (Means you'll switch to wired whenever you plug in no
19312                         matter what).
19313
19314 2004-10-29 Dan Williams <dcbw@redhat.com>
19315
19316         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19317                 - New files, implement the "Other wireless network" dialog
19318
19319         * panel-applet/NMWirelessApplet.c
19320                 - Move "other wireless network" dialog to separate file
19321
19322         * panel-applet/NMWirelessAppletDbus.[ch]
19323                 - Take key and key_type paramaters for the set_device function
19324
19325         * panel-applet/essid.glade
19326                 - Add UI bits for encryption settings
19327
19328         * src/NetworkManagerDbus.c
19329                 - Retrieve key and key_type params for "setActiveDevice" method call
19330                         and pass them on
19331                 - unref AP returned from nm_device_get_best_ap() when needed
19332
19333         * src/NetworkManagerDevice.c
19334                 - (nm_device_get_best_ap): ref the ap before returning it
19335                 - unref AP returned from nm_device_get_best_ap() when needed
19336                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19337                         need to call nm_device_get_best_ap() here, it was pretty much
19338                         redundant anyway
19339                 - (AP_NEED_KEY): break second link check condition out into separate
19340                         function, and fix segfault when ap->enc_key_source was NULL
19341                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19342                         pass them along to nm_device_wireless_network_exists().  If the
19343                         network does exist, set the passed-in key+key_type on the AP
19344
19345         * src/NetworkManagerPolicy.c
19346                 - unref AP returned from nm_device_get_best_ap() when needed
19347
19348 2004-10-28 Dan Williams <dcbw@redhat.com>
19349
19350         * src/NetworkManagerUtils.c
19351                 - (nm_spawn_process): Fix a potential dereference of NULL
19352
19353         Patches from Peter Jones:
19354
19355         * src/NetworkManagerDevice.c
19356                 - (nm_device_test_wireless_extensions): Better check for
19357                         wireless devices
19358
19359         * src/NetworkManagerUtils.c
19360                 - (nm_spawn_process): Pass in valid stdout and stderr so
19361                         executed programs don't randomly SIGPIPE and fail
19362                 - (nm_get_wired_driver_support_level): quash hal warning
19363                         when checking for USB ethernet device
19364
19365 2004-10-27 Dan Williams <dcbw@redhat.com>
19366
19367         * info-daemon/NetworkManagerInfo.c
19368           info-daemon/NetworkManagerInfoDbus.c
19369           info-daemon/NetworkManagerInfoPassphraseDialog.c
19370           panel-applet/NMWirelessApplet.c
19371                 - Properly escape gconf keys
19372
19373         * src/NetworkManager.c
19374                 - remove unused variables
19375
19376         * src/NetworkManagerAP.c
19377                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19378                         refcount since it got set in nm_ap_new()
19379
19380         * src/NetworkManagerAPList.c
19381                 - (nm_ap_list_combine): Give up ownership of newly created
19382                         access points to the ap list, fixes memleak
19383
19384         * src/NetworkManagerDevice.c
19385                 - Remove cached_ap_list4 member since its not really needed
19386                 - (nm_device_wireless_network_exists): Try to get correct
19387                         encryption status of a found AP if its already in our
19388                         device list
19389                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19390                         memory allocs/deallocs a bit clearer and shorter-lived
19391
19392 2004-10-26 Ray Strode <rstrode@redhat.com>
19393
19394         * panel-applet/NMWirelessApplet.c:
19395           (custom_essid_item_selected):  kill some compiler
19396         warnings 
19397
19398 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19399
19400         * info-daemon/NetworkManagerInfoDbus.c
19401                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19402                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19403
19404 2004-10-23 Dan Williams <dcbw@redhat.com>
19405
19406         * info-daemon/NetworkManagerInfoDbus.c
19407                 - Trap the "DeviceActivationFailed" signal
19408
19409         * docs/NetworkManager DBUS API.txt
19410                 - Add "DeviceActivationFailed" signal
19411
19412         * panel-applet/NMWirelessAppletDbus.c
19413                 - Quash the "NetworkManager service not available" message
19414
19415         * src/NetworkManagerDbus.[ch]
19416                 - Add the "DeviceActivationFailed" signal
19417
19418         * src/NetworkManagerDevice.c
19419                 - Add support for activation_failed flag
19420                 - Fix deadlock where activation thread didn't clean itself up, making
19421                         main thread still believe it was alive forever (didn't reset activation
19422                         flags like activating, just_activated, etc when IP configuration
19423                         failed)
19424
19425         * src/NetworkManagerPolicy.c
19426                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19427                         for wireless networks, try to fall back to some other access point
19428
19429 2004-10-23 Dan Williams <dcbw@redhat.com>
19430
19431         * panel-applet/NMWirelessApplet.[ch]
19432                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19433                         to the applet object, so we can get tooltips
19434                 - Add tooltips (RH #136866)
19435
19436         * src/NetworkManagerDevice.c
19437                 - When trying to find a wireless network, try to connect with encryption
19438                         turned on first, so that we can more accurately detect whether or not
19439                         we need to use encryption for the actual association later on
19440
19441 2004-10-21 Dan Williams <dcbw@redhat.com>
19442
19443         * Add some support for telling NetworkManagerInfo to tell the user
19444                 that they are using a device that's not fully supported
19445
19446         * Fix some assertions in debug messages due to null access point args
19447
19448 2004-10-21 Dan Williams <dcbw@redhat.com>
19449
19450         * src/NetworkManagerDevice.c
19451                 - Don't try to activate/bring up/down unsupported
19452                         devices
19453
19454         * src/NetworkManagerUtils.c
19455                 - Fix case of PCI ID checks for driver support levels
19456
19457 2004-10-21 Dan Williams <dcbw@redhat.com>
19458
19459         * NetworkManager.h
19460                 - New file, now contains commonly used structures and bits
19461                         for the dbus API of NetworkManager
19462
19463         * Makefile.am
19464                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19465
19466         * src/NetworkManager.h
19467                 - Rename -> src/NetworkManagerMain.c
19468
19469         * Various fixups all around to use NetworkManager.h and new
19470                 src/NetworkManagerMain.h, remove redundant bits that got
19471                 moved into NetworkManager.h
19472
19473         * src/NetworkManagerDevice.[ch]
19474           src/NetworkManagerUtils.[ch]
19475           src/NetworkManagerPolicy.c
19476           src/NetworkManagerDbus.c
19477                 - Whitelist wireless drivers, and blacklist some wired
19478                         drivers.  Also blacklist cipsec and ethernet-over-usb
19479                         devices at this time (RH #135722, RH #135648)
19480                 - Don't leak unsupported devices out over dbus, or allow
19481                         them to be set as the active device.  Skip over them
19482                         during automatic device picking
19483
19484         * test/nmclienttest.c
19485                 - Clean up the dbus code a lot
19486
19487 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19488
19489         * configure.in: post release bump.
19490
19491 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19492
19493         * configure.in:
19494         * NEWS: Released NetworkManager-0.3.1
19495
19496 2004-10-18 Dan Williams <dcbw@redhat.com>
19497
19498         Patches from Thom May:
19499         * test/nmtestdevices.c
19500                 - Include <string.h>
19501         * src/backends/NetworkManagerDebian.c:
19502                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19503                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19504                         Move to using g_strdup_printf rather than arbitrary buffers
19505                 - (nm_system_device_setup_static_ip4_config) Implement function.
19506                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19507
19508 2004-10-17 Dan Williams <dcbw@redhat.com>
19509
19510         * info-daemon/NetworkManagerInfoDbus.c
19511                 - Display name of network in the "network not found" dialog
19512
19513         * panel-applet/NMWirelessAppletDbus.c
19514                 - (nmwa_dbus_call_nm_method): new function replaces all other
19515                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19516                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19517                         consolidated into nmwa_dbus_get_object_name()
19518
19519 2004-10-15 Dan Williams <dcbw@redhat.com>
19520
19521         * src/NetworkManagerDbus.c
19522           info-daemon/NetworkManagerInfoDbus.c
19523                 - Display an error dialog when the user tries to use an
19524                         "Other wireless network" that's not found.
19525
19526 2004-10-15 Dan Williams <dcbw@redhat.com>
19527
19528         * panel-applet/NMWirelessApplet.[ch]
19529                 - Fix up corner cases in applet state, making it
19530                         look more responsive.  Change state to "connecting" when
19531                         the user is forcing a device too.
19532
19533 2004-10-15 Dan Williams <dcbw@redhat.com>
19534
19535         * src/NetworkManagerAPList.c
19536                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19537
19538         * src/NetworkManagerDbus.c
19539                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19540
19541         * src/NetworkManagerDevice.c
19542                 - Disown APs after the device's AP list takes ownership
19543
19544 2004-10-15 Dan Williams <dcbw@redhat.com>
19545
19546         * panel-applet/NMWirelessApplet.c
19547                 - Update our applet state from the GUI thread
19548
19549         * panel-applet/NMWirelessAppletDbus.c
19550                 - Greatly simplify the locking to make the GUI thread
19551                         smoother.  Update a private copy of the device list
19552                         and active device and only when done talking to
19553                         NetworkManager turn it over to the GUI thread.
19554
19555 2004-10-15 Dan Williams <dcbw@redhat.com>
19556
19557         * src/NetworkManagerAP.[ch]
19558                 - Add "artificial" get/set functions, set for APs that
19559                         aren't discovered as part of a scan but instead
19560                         discovered by force-setting the ESSID
19561
19562         * src/NetworkManagerDevice.[ch]
19563                 - (nm_device_wireless_network_exists): pass back whether
19564                         or not the discovered AP was encrypted.  Also, try
19565                         falling back to encrypted mode on the card if unencrypted
19566                         association doesn't work
19567                 - (nm_device_find_and_use_essid): If the network requested
19568                         did in fact exists, but it wasn't in our scan list, add
19569                         an "artificial" entry for it.  Some Cisco cards don't
19570                         see non-ESSID-broadcasting APs in their scan but can still
19571                         associate with them if you know the ESSID, this works around
19572                         that behavior
19573                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19574                         to scan if the card is currently associated with that AP
19575
19576 2004-10-15 Dan Williams <dcbw@redhat.com>
19577
19578         ---- We have a website ----
19579         http://people.redhat.com/dcbw/NetworkManager
19580
19581         Patch from Robert Paskowitz:
19582         * src/NetworkManager.c
19583                 - (main): Make sure we are run as root
19584         * src/NetworkManagerDevice.c
19585                 - Fix type in ad-hoc setting function
19586
19587         Patch from Thom May:
19588         * src/backends/NetworkManagerDebian.c
19589                 - Make Debian backend compile again
19590
19591 2004-10-14 Dan Williams <dcbw@redhat.com>
19592
19593         * Tagged NetworkManager-0_3
19594
19595 2004-10-14 Dan Williams <dcbw@redhat.com>
19596
19597         Patch from Robert Paskowitz:
19598         * NEWS
19599           src/NetworkManagerDevice.[ch]
19600           src/backends/NetworkManagerDebian.c
19601           src/backends/NetworkManagerGentoo.c
19602           src/backends/NetworkManagerRedHat.c
19603           src/backends/NetworkManagerSlackware.c
19604                 - Add support for grabbing and using a broadcast address
19605                         from system config files
19606                 - Some Gentoo backend fixes for grabbing network config
19607                 - Fix LOG_WARN->LOG_WARNING
19608
19609 2004-10-14 Dan Williams <dcbw@redhat.com>
19610
19611         * NEWS: a few small fixes in the credits
19612
19613 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19614
19615         * NEWS: prep for release.
19616
19617 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19618
19619         * panel-applet/NMWirelessAppletDbus.c
19620         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19621
19622 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19623
19624         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19625         applet->state == APPLET_STATE_NO_NM animation.
19626
19627         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19628         set the text correctly.
19629
19630 2004-10-14 Dan Williams <dcbw@redhat.com>
19631
19632         * src/NetworkManager.c
19633                 - Only accept and manager 802.3 and 802.11 devices
19634
19635         * src/NetworkManagerDbus.[ch]
19636                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19637                         logic into NetworkManagerDevice.c
19638                 - (nm_dbus_network_status_from_data): new function
19639                 - (nm_dbus_signal_network_status_change): new function, unused for now
19640                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19641
19642         * src/NetworkManagerDevice.[ch]
19643                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19644                         a random ESSID.
19645
19646 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19647
19648         * info-daemon/NetworkManagerInfo.c 
19649                 - (main): Added session management
19650
19651 2004-10-14 Dan Williams <dcbw@redhat.com>
19652
19653         * panel-applet/NMWirelessAppletDbus.[ch]
19654                 - Expose network_device_[un]ref()
19655                 - Expose wireless_network_[un]ref()
19656                 - (wireless_network_new_with_essid): new function, create and return
19657                         a wireless network with a particular essid
19658
19659         * panel-applet/NMWirelessApplet.c
19660                 - Hook up the "other network" dialog to do something
19661
19662 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19663
19664         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19665         doesn't work yet, but it looks okay.
19666
19667         * panel-applet/icons/*png: Resize to 22x22 and install in the
19668         right place.
19669
19670 2004-10-13 Dan Williams <dcbw@redhat.com>
19671
19672         * panel-applet/NMWirelessApplet.c
19673                 - Add function to print out applet_state in a readable
19674                         manner
19675
19676         * src/NetworkManager.c
19677                 - (main): Don't segfault when nm_dbus_init() fails, we had
19678                         a left-over call to hal_shutdown() into which we passed NULL
19679
19680         * src/NetworkManagerAP.c
19681                 - (nm_ap_set_essid): Allow NULL essids
19682
19683         * src/NetworkManagerAPList.[ch]
19684                 - More use of nm_ap_list_[un]lock ()
19685                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19686                         network/essid, just return nothing.  Also skip over NULL
19687                         essid access points in the list when searching
19688                 - (nm_ap_list_get_ap_by_address): new function
19689                 - (nm_ap_list_update_network): set the access point's key source to
19690                         NULL when the key returned from NetworkManagerInfo is NULL or
19691                         of 0 length
19692                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19693                         copy timestamp over too
19694                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19695                         find the correct ESSID for a blank-essid access point by searching
19696                         through another list and matching access point MAC addresses
19697                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19698
19699         * src/NetworkManagerDbus.c
19700                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19701                         may specify.  This is mainly for access points that don't
19702                         broadcast their essid.  So if the user tells us to associate with
19703                         some random ESSID that's not in our access point list, we find
19704                         out if the access point does in fact exist (by attempting association
19705                         and then matching that access point's MAC address with the essid the
19706                         user gave us) and then we switch to it.
19707                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19708                         to the returned list of networks for the "getNetworks" method
19709
19710         * src/NetworkManagerDevice.[ch]
19711                 - Extra debugging info for link detection
19712                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19713                         based on MAC address
19714                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19715                 - (nm_device_wireless_network_exists): new function, find out whether
19716                         a random ESSID exists by attempting to associate with it
19717                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19718                         device list as long as they have an AP MAC address we can use.
19719                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19720                         devices too.  Lets the applet update more frequently.
19721
19722         * src/backends/NetworkManagerGentoo.c
19723                 - Patch from: Robert Paskowitz
19724                         - Update backend code for Gentoo
19725                         - Implement nm_system_device_update_config_info ()
19726
19727         * test/nmclienttest.c
19728                 - (set_network_device): new function, takes a command-line argument
19729                         and tells NetworkManager to use that wireless network
19730
19731 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19732
19733         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19734         if the notification icon crashes 5 times within 5 seconds of each respawn 
19735
19736 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19737
19738         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19739         g_print.
19740
19741 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19742
19743         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19744
19745         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19746         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19747         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19748         Change the name of the icons.
19749
19750         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19751         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19752         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19753         (nm_menu_wireless_expose_event): Really bad hack to get the style
19754         to draw in the right color.
19755
19756 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19757
19758         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19759         Notification if it crashes
19760
19761 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19762
19763         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19764         (nmwa_dbus_get_string): remove unused functions
19765
19766         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19767         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19768         remove unused functions
19769
19770         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19771
19772 2004-10-12 Dan Williams <dcbw@redhat.com>
19773
19774         * panel-applet/NMWirelessAppletDbus.c
19775                 - New functions:
19776                         wireless_network_new
19777                         wireless_network_copy
19778                         network_device_new
19779                         network_device_copy
19780
19781         * src/NetworkManagerDevice.[ch]
19782                 - New functions:
19783                         nm_device_set_mode_managed
19784                         nm_device_set_mode_adhoc
19785                 - Use these functions where appropriate
19786                 - When creating a new wireless device, force the card
19787                         to managed/Infrastructure mode as soon as possible
19788
19789 2004-10-12 Dan Williams <dcbw@redhat.com>
19790
19791         * src/NetworkManagerDevice.c
19792                 - Force wireless cards into Infrastructure mode before we use them
19793
19794 2004-10-12 Dan Williams <dcbw@redhat.com>
19795
19796         * TODO
19797                 - Remove bit about static IP address support
19798
19799         * src/NetworkManagerUtils.c
19800                 - (nm_spawn_process): Add some error reporting
19801
19802         * src/NetworkManagerDevice.c
19803                 - (nm_device_activation_configure_ip): hook up to the static config
19804                         routines in the backends
19805
19806         * src/backends/NetworkManagerRedHat.c
19807                 - (nm_system_device_update_config_info): use shvar.c routines to
19808                         parse the config file iformation, not our own
19809                 - (nm_system_device_setup_static_ip4_config): new function, based
19810                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19811                         with a static IP address and gateway
19812
19813         * src/backends/shvar.[ch]
19814                 - Parser (filched from initscripts package) for ifcfg-* files
19815
19816         * src/backends/NetworkManagerSystem.h
19817           src/backends/NetworkManagerGentoo.c
19818           src/backends/NetworkManagerDebian.c
19819           src/backends/NetworkManagerSlackware.c
19820                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19821
19822 2004-10-11 Dan Williams <dcbw@redhat.com>
19823
19824         * TODO
19825                 - Remove bit about more robust AP diffing since I just implemented it
19826
19827 2004-10-11 Dan Williams <dcbw@redhat.com>
19828
19829         * src/NetworkManagerAP.c
19830                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19831                         enough RAM to allocate new AP structures, but return NULL instead
19832
19833         * src/NetworkManagerAPList.[ch]
19834                 - (nm_ap_list_is_empty): new function
19835                 - (nm_ap_list_combine): new function, combine two access point lists
19836                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19837                         into another
19838
19839         * src/NetworkManagerDevice.[ch]
19840                 - Rename some functions to be clearer:
19841                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19842                         nm_device_just_activated     -> nm_device_is_just_activated
19843                         nm_device_activating         -> nm_device_is_activating
19844                         nm_device_now_scanning       -> nm_device_is_scanning
19845                 - Cache the last 4 scans so that the access point list is more stable.
19846                         We combine the lastest two scans and use that as the AP list,
19847                         and diff that combined list against the combination of the earliest
19848                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19849
19850 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19851
19852         * info-daemon/NWManagerInfo.h
19853                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19854
19855         * info-daemon/NWManagerInfoDbus.c
19856                 - (shutdown_callback): new function
19857                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19858                         if NetworkManager goes away.  Kill the timeout
19859                         if NetworkManager restarts before the 30 seconds
19860                         are up.
19861                 - (nmi_dbus_service_init): 
19862                         - call gtk_main_quit if NetworkManager is not running
19863                         - add filters to monitor dbus service creations and
19864                                 deletions
19865         
19866 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19867
19868         * panel-applet/NMWirelessApplet.c
19869                 - (nmwa_update_state): Hide notification icon if we are only
19870                         showing one wired card and no wireless interfaces 
19871                         (Red Hat Bug #134895)
19872
19873         * panel-applet/NMWirelessAppletDbus.c
19874                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19875
19876         * info-daemon/NWManagerInfo.c
19877                 - (main): Terminated the notification_icon_cmd array with a NULL
19878
19879 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19880
19881         * configure.in (ALL_LINGUAS): Added de (German).
19882
19883 2004-10-08 Dan Williams <dcbw@redaht.com>
19884
19885         * src/NetworkManagerDevice.c
19886                 - Be a bit more robust about link checking, ie make sure that
19887                         the WEP key we were given actually has some data in it
19888
19889 2004-10-08 Dan Williams <dcbw@redhat.com>
19890
19891         * info-daemon/NetworkManagerInfo.c (main):
19892                 - Initialize GError object to NULL
19893
19894 2004-10-08 Dan Williams <dcbw@redhat.com>
19895
19896         * panel-applet/NMWirelessAppletDbus.c
19897                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19898
19899 2004-10-08 Dan Williams <dcbw@redhat.com>
19900
19901         * info-daemon/NetworkManagerInfo.[ch]
19902           info-dameon/NetworkManagerInfoDbus.[ch]
19903           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19904                 - Preserve original label text in the passphrase dialog so that
19905                         it actually gets updated with the new network name the next
19906                         time around.  Previously, we were overwriting it so you'd get
19907                         the wrong network name to enter a key for
19908                 - Add a "Key Type" combo to the passphrase dialog, user selects
19909                         encryption key type now, type is stored in GConf too
19910                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19911
19912         * src/NetworkManagerAP.[ch]
19913                 - Remove all the encyption method magic.  It's now set by the user
19914                         and NetworkManager retrieves the type of encryption key from
19915                         NetworkManagerInfo
19916
19917         * src/NetworkManagerAPList.[ch]
19918           src/NetworkManagerDbus.[ch]
19919                 - Adjust to new way of setting encryption key and method
19920                 - Pull encryption method down from NMI along with key
19921
19922         * src/NetworkManagerDevice.[ch]
19923                 - Removed encryption method fallback magic as the method is now
19924                         determined by the user.  This greatly simplifies the connection
19925                         logic.
19926                 - More robust connection/link logic.  Besides removing the encryption
19927                         method fallback magic, check whether or not the card is receiving
19928                         invalidly encrypted packets, which usually indicates that we have
19929                         a bad WEP key set.
19930                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19931
19932         * test/nminfotest.c
19933                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19934
19935 2004-10-07 Dan Williams <dcbw@redhat.com>
19936
19937         * info-daemon/NetworkManagerInfo.conf
19938                 - Allow root user to run NMI too
19939
19940 2004-10-06 Dan Williams <dcbw@redhat.com>
19941
19942         * src/NetworkManagerDevice.[ch]
19943           src/NetworkManagerDbus.c
19944           doc/NetworkManager DBUS API.txt
19945                 - Add a new status tag "scanning", which is set when there
19946                         is no active network connection, but NetworkManager is
19947                         looking for an access point to associate with
19948
19949         * panel-applet/main.c
19950                 - Cast the applet appropriately for gtk_widget_show_all ()
19951
19952 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19953
19954         * panel-applet/eggtrayicon.[ch]:
19955         * panel-applet/main.c: Add missing file
19956
19957 2004-10-04 Dan Williams <dcbw@redhat.com>
19958
19959         * src/NetworkManagerDevice.[ch]
19960                 - Add a slightly more robust method of determining if the WEP key
19961                         is correct or not, by checking the WEP-discarded packet count
19962                         on the card
19963
19964         * info-daemon/NetworkManagerInfo.c
19965                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19966                         un-escape values we pull out rather than escaping them
19967
19968 2004-10-03  Marcel Telka  <marcel@telka.sk>
19969
19970         * configure.in (ALL_LINGUAS): Added sk.
19971
19972 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19973
19974         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19975         and feel.  We should be back to working, and have a good, clean
19976         look.
19977
19978 2004-09-30 Dan Williams <dcbw@redhat.com>
19979
19980         * info-daemon/NetworkManagerInfo.c
19981           info-daemon/NetworkManagerInfoDbus.c
19982           test/nminfotest.c
19983                 - Escape ESSIDs in gconf
19984
19985         * src/NetworkManagerDevice.c
19986                 - Fix pseudo-scanning to use netowrk list from info daemon
19987
19988 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19989
19990         * configure.in: Add a temporary --enable-notification-icon.  This
19991         will prolly go away.
19992
19993         * info-daemon/Makefile.am:
19994         * info-daemon/NetworkManagerInfo.c:
19995         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19996
19997         * panel-applet/Makefile.am:
19998         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19999         * panel-applet/NMWirelessApplet.h:
20000
20001 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20002
20003         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20004         before 'select custom ESSID'.
20005
20006         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20007         fully complete, but syncing in prep for merge.
20008
20009         * panel-applet/icons/*png: New images
20010
20011 2004-09-28 Dan Williams <dcbw@redhat.com>
20012
20013         * src/NetworkManager.c
20014           src/NetworkManagerDevice.c
20015           src/NetworkManagerPolicy.c
20016                 - Don't blow away an active wired connection on startup
20017
20018 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20019
20020         Changes from J5
20021         
20022         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20023
20024         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20025         syslog output
20026
20027 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20028
20029         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20030         have a wireless card.
20031
20032 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20033
20034         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20035         Also, get the right device strings.
20036
20037 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20038
20039         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20040         the logic to make this right.
20041
20042         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20043         devices so that wired networks are always first.
20044
20045 2004-09-22    <clarkbw@cvs.gnome.org>
20046
20047         * initscript/Debian/.cvsignore:
20048         * initscript/Slackware/.cvsignore:
20049         Added new cvsignores for Makefile, Makefile.in
20050         
20051         * test/.cvsignore:
20052         Added nmtestdevices
20053         
20054         * src/NetworkManagerDevice.c: 
20055         * src/NetworkManager.c: 
20056         Updated the wireless/wired HAL device strings from net.ethernet to
20057         net.80203 or net.80211 depending on wired or wireless respectively
20058         
20059         * examples/python/NetworkManager.py: 
20060         s/Quality/Strength/
20061
20062         * examples/python/systray/network_tray.py:
20063         Lots of little changes and fixes.  been rotting for a while so I
20064         figured I'd finally sync them all with CVS
20065
20066 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20067
20068         * configure.in: Add graphics
20069
20070         * panel-applet/Makefile.am: Add graphics
20071
20072         * panel-applet/icons/*: Add graphics
20073
20074         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20075         the icons fully lined up.
20076
20077         * panel-applet/menu-info.c: 
20078         * panel-applet/menu-info.h: Add another menu type.
20079
20080 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20081
20082         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20083
20084         * panel-applet/menu-item.[ch]: Wireless menu item.
20085
20086 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20087
20088         * info-daemon/NetworkManagerInfo.conf
20089                 - Created a more robust security policy for the DBus service
20090                         - everything is denied by default
20091                         - root can own and send to the service
20092                         - users logged in at the console can send to the service
20093
20094 2004-09-13  Dan Williams <dcbw@redhat.com>
20095
20096         * src/NetworkManagerDevice.c
20097                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20098                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20099                         the latter
20100
20101 2004-09-13  Dan Williams <dcbw@redhat.com>
20102
20103         * TODO: fix typo
20104
20105         * docs/NetworkManager DBUS API.txt
20106                 - Update for new signal strength changes
20107
20108         * panel-applet/NMWirelessApplet.c
20109                 - Make panel icon show strength of the current connection
20110                 - Cleanups and memleak fixes
20111
20112         * panel-applet/NMWirelessApplet.h
20113                 - Add data members for signal strength on devices and networks
20114
20115         * panel-applet/NMWirelessAppletDbus.c
20116                 - Free more DBusErrors
20117                 - Update for new signal strength changes
20118                 - Make devices and networks more like real objects, use ref/unref methods
20119                 - Actually unlock the mutex when updating the active device
20120
20121         * src/NetworkManagerAP.c
20122                 - Change AP functions and data members from "quality"->"strength"
20123
20124         * src/NetworkManagerDbus.c
20125                 - Kill "getMaxQuality" and "getQuality" methods
20126                 - Add "getStrength" methods for Networks and Devices
20127
20128         * src/NetworkManagerDevice.[ch]
20129                 - Add accessors for device strength
20130                 - Add functions to update strength for a device.  Note that not all drivers
20131                         actually support signal strength for scanned access points (Atmel drivers
20132                         being one)
20133                 - Calculate signal strength for each AP during scan
20134
20135         * src/NetworkManagerWireless.[ch]
20136                 - Add function to return signal strength % from a device and a raw quality struct
20137
20138         * test/nmclienttest.c
20139                 - Update for new signal strength changes
20140
20141 2004-09-11  Dan Williams <dcbw@redhat.com>
20142
20143         * src/NetworkManager.c
20144                 - Fix race condition between initscripts and NM on card insertion
20145                         which could cause a card to keep an IP address and routes around
20146                         even when it was not the active device
20147
20148         * src/NetworkManagerDbus.c
20149                 - Fix compile errors, free more DBusErrors
20150
20151 2004-09-11  Dan Williams <dcbw@redhat.com>
20152
20153         * docs/NetworkManager DBUS API.txt
20154                 - Add an explanation of NM's API
20155
20156         * src/NetworkManagerDbus.c
20157                 - Free some more DBusErrors if needed
20158
20159 2004-09-11  Dan Williams <dcbw@redhat.com>
20160
20161         * panel-applet/NMWirelessApplet.c
20162           panel-applet/NMWirelessAppletDbus.c
20163                 - Start using NetworkDevice/WirelessNetwork structures in more places
20164                 - Update for unified device/network forcing in NetworkManager
20165
20166         * src/NetworkManager.c
20167                 - some code consolidation
20168
20169         * src/NetworkManagerDbus.c
20170                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20171                         or two arguments:  the first is the NM ID of the device to switch to,
20172                         and the second (optional) argument is the ESSID of a wireless network
20173                         to use as well.
20174                 - Get rid of "setNetwork" method due to above change
20175
20176         * src/NetworkManagerDevice.c
20177                 - (nm_device_new): perform scan and update best AP on device creation
20178                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20179                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20180                         spin waiting for cancellation to finish before returning
20181
20182         * src/NetworkManagerPolicy.c
20183                 - Changes here clarify the situations in which a device switch occurs, and 
20184                         make sure to keep using a forced device and network if the user gives
20185                         us one
20186                 - Remove old unused code
20187
20188 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20189
20190         * configure.in: Added Danish (da) to ALL_LINGUAS.
20191
20192 2004-09-09  Dan Williams <dcbw@redhat.com>
20193
20194         * panel-applet/NMWirelessAppletDbus.c
20195                 - Pull fresh devices and networks from NM when wireless networks
20196                         change.  Provides faster feedback of a forced wireless network
20197
20198         * src/NetworkManagerDbus.c
20199                 - Return error when "getMaxQuality" is called on a wired device
20200                 - Make best_ap freezing actually work again, and signal cancellation
20201                         of activation if there's already a device activation when the user
20202                         freezes the best_ap
20203
20204         * src/NetworkManagerDevice.c
20205                 - Don't clear out the best_ap for wireless devices when the link goes
20206                         down, that's done elsewhere
20207                 - Kill any dhcp daemons when cancelling device activation since they
20208                         may be stuck waiting for a DHCP address, and since we're cancelling
20209                         activation we don't care about that anymore
20210
20211         * src/NetworkManagerPolicy.c
20212                 - Make sure to unref the device we ref earlier (we refed it to make sure
20213                         it stuck around during device activation and such)
20214                 - If we were going to change the best device, but its activating currently
20215                         (and therefore the change didn't occur due to the check earlier)
20216                         we mark the state changed to we come back to it later when device
20217                         activation has canceled and its no longer activating
20218
20219         * src/backends/NetworkManagerRedHat.c
20220                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20221
20222 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20223
20224         * info-daemon/passphrase.glade: 
20225         set passphrase input to activates_default : True
20226
20227         * examples/python/systray/network_tray.py
20228         (network_tray.sort_networks):
20229
20230         Added support for having wireless always scanning
20231
20232 2004-09-09  Dan Williams <dcbw@redhat.com>
20233
20234         NOTE: this commit changes the behavior of wireless devices in
20235         NetworkManager.  They are now up all the time, scanning all
20236         the time.  Only the active device has an IP address and routing
20237         information set up however.  Also, NetworkManager will no longer
20238         opportunistically switch wireless networks when a better one
20239         comes in range, it will remain associated with one wireless network
20240         until that one drops out.
20241
20242         * panel-applet/NMWirelessApplet.c
20243           panel-applet/NMWirelessAppletDbus.c
20244                 - List all wireless cards and their respective networks
20245
20246         * src/NMLoadModules
20247                 - Use full path to /sbin/ip
20248
20249         * src/NetworkManager.c
20250                 - Keep wireless devices up all the time so they can scan
20251
20252         * src/NetworkManagerDbus.c
20253                 - On a WirelessNetworkUpdate signal from NMI, don't update
20254                         the "best" AP
20255
20256         * src/NetworkManagerDevice.c
20257                 - (nm_device_set_link_active): clear out the best ap for
20258                         wireless devices when the link is set to FALSE
20259                 - Scan on all wireless cards, all the time
20260                 - (nm_device_activation_worker): split out the wireless card
20261                         link-waiting code to a separate function
20262                 - Keep wireless cards up even if device activation fails
20263                 - Don't update the "best" ap as much
20264
20265         * src/NetworkManagerPolicy.c
20266                 - Don't update the best ap when checking if its frozen,
20267                         let link checking clear out a frozen best ap for us
20268
20269         * src/NetworkManagerWireless.c
20270                 - Scan on all wireless cards, all the time
20271
20272 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20273
20274         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20275
20276 2004-09-09  Ankit Patel <ankit@redhat.com>
20277
20278         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20279
20280 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20281
20282         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20283
20284 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20285
20286         * examples/python/NetworkManager.py: 
20287         added CONNECTED, CONNECTING, and DISCONNECTED states
20288         added methods to return number of devices of a single type
20289
20290         * examples/python/systray/network_tray.py: 
20291         did some tweaks to get the menu looking near what it is supposed
20292         to look like.  Also did a Airo card hack to make it show the
20293         correct AP quality
20294
20295 2004-09-08  Dan Williams <dcbw@redhat.com>
20296
20297         * panel-applet/no-networkmanager.png
20298           panel-applet/Makefile.am
20299           panel-applet/NMWirelessApplet.c
20300                 - Add a "NetworkManager not running" icon and use it
20301                 - Use new consolidated GConf keys rather than Preferred/Trusted
20302
20303         * TODO: update
20304
20305         * info-daemon/NetworkManagerInfo.c
20306           info-daemon/NetworkManagerInfoDbus.[ch]
20307           info-daemon/NetworkManagerInfoPassphraseDialog.c
20308                 - There are now no longer two separate lists of wireless networks,
20309                         but one list where each network is "trusted" or not trusted
20310                 - Add a "getNetworkTrusted" dbus method
20311                 - "WirelessNetworkUpdate" signal now sent rather than
20312                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20313                 - Start freeing some dbus errors (not completed yet)
20314
20315         * info-daemon/passphrase.glade
20316                 - Remove the "don't show" hints for pager and taskbar
20317                 - Add a title since its going to be in the taskbar
20318
20319         * src/NetworkManager.[ch]
20320           src/NetworkManagerAPList.[ch]
20321                 - There are now no longer two separate lists of wireless networks,
20322                         but one list where each network is "trusted" or not trusted
20323
20324         * src/NetworkManagerAP.[ch]
20325                 - Add get/set "trusted" accessors and data bit
20326
20327         * src/NetworkManagerDbus.[ch]
20328                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20329                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20330
20331         * src/NetworkManagerDevice.[ch]
20332                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20333                 - (nm_device_new): Get device config from backend when initializing devices
20334                 - (nm_device_activation_worker): Split out device configuration on
20335                         activation to deal with static/dynamic IP differences, and try encryption
20336                         fallbacks on a device if the encryption method for the best AP is not good
20337                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20338                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20339
20340         * src/NetworkManagerWireless.c
20341                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20342
20343         * src/backends/NetworkManagerRedHat.c
20344           src/backends/NetworkManagerSystem.h
20345                 - (nm_system_device_update_config_info): Add function to get device configuration
20346                         from system data in ifcfg-* files
20347
20348         * src/backends/NetworkManagerDebian.c
20349           src/backends/NetworkManagerGentoo.c
20350           src/backends/NetworkManagerSlackware.c
20351                 - Add stub functions for getting device configuration
20352
20353 2004-09-07  Dan Williams <dcbw@redhat.com>
20354
20355         * src/backends/NetworkManagerRedhat.c
20356           src/backends/NetworkManagerSlackware.c
20357                 - Use full path to /sbin/ip everywhere
20358
20359 2004-09-07  Dan Williams <dcbw@redhat.com>
20360
20361         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20362
20363         * configure.in
20364           initscript/Makefile.am
20365           initscript/Slackware/Makfile.am
20366           initscript/Slackware/rc.networkmanager
20367           src/Makefile.am
20368           src/backends/NetworkManagerSlackware.c
20369                 - Add Slackware support
20370
20371 2004-09-07  Dan Williams <dcbw@redhat.com>
20372
20373         Patches below from:
20374                 <j@bootlab.org>
20375                 Mark Roach <mrroach@okmaybe.com>
20376                 Thom May <thom@debian.org>
20377
20378         * configure.in
20379           initscript/Debian/NetworkManager
20380           initscript/Debian/Makefile.am
20381                 - Initscript for Debian
20382
20383         * src/backends/NetworkManagerDebian.c
20384                 - Add missing system init function to allow compilation
20385                         on Debian
20386
20387 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20388
20389         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20390
20391 2004-09-03  Akagic Amila <bono@linux.org.ba>
20392
20393         * configure.in: Added 'bs' to ALL_LINGUAS.
20394
20395 2004-09-02  Colin Walters  <walters@verbum.org>
20396
20397         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20398         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20399         g_strdup_printf instead of arbitrarily sized buffers.
20400
20401 2004-09-01  Colin Walters  <walters@verbum.org>
20402
20403         * NetworkManager.pc.in: New file.
20404
20405         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20406
20407 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20408         
20409         * configure.in: Punjabi(pa) is added to po/.
20410
20411 2004-08-31  Dan Williams <dcbw@redhat.com>
20412
20413         * Remove 'debug' extern global from all files since we now
20414                 use syslog()
20415
20416         * src/NetworkManager.[ch]
20417                 - Break out routine that get the net.interface property from HAL,
20418                         removing that logic from nm_create_device_and_add_to_list()
20419                 - (nm_create_device_and_add_to_list): make this a bit more general so
20420                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20421                         the create of test devices.
20422                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20423                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20424                         which makes NetworkManager listen for dbus commands to create test
20425                         devices, which have no backing hardware.  Use when you're on a plane
20426                         for example, and/or forgot your wireless card at home.  Test devices
20427                         _cannot_ be created unless NM is started with --enable-test-devices.
20428
20429         * src/NetworkManagerDbus.[ch]
20430                 - New "getLinkActive" method for devices
20431                 - New "setLinkActive" method for devices (only works on test devices)
20432                 - New "createTestDevice" method on NetworkManager object to create a test
20433                         device of a specified type (ie wired, wireless).  UDI is created from
20434                         scratch, as is the interface name.  Only works when NM is started with
20435                         --enable-test-devices switch.
20436                 - New "removeTestDevice" method on NetworkManager object which removes a
20437                         test device.  Only works when NM is started with --enable-test-devices
20438
20439         * src/NetworkManagerDevice.[ch]
20440                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20441                         whether a device is a test device or not, and what its link status is.
20442                 - Deal with test devices in most functions.  For those that work directly on hardware
20443                         special-case test devices.
20444                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20445                         command-line.
20446                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20447                         checking to separate functions to facilitate test device link checking.
20448                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20449                         don't make a distinction between System Authentication and Encryption
20450                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20451                         on the card.  We don't deal with Shared Key auth yet.
20452                 - (nm_device_activation_worker): split the activation cancel check logic out into
20453                         a separate routine nm_device_activation_cancel_if_needed()
20454                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20455                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20456                         a list of fake access points that they can "see"
20457                 - (nm_device_is_test_device): return whether or not a device is a test device
20458
20459         * src/NetworkManagerPolicy.c
20460                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20461                         previously if you "locked"/forced NM to use a wireless device but then
20462                         selected a wireless network for NM to use, it would switch to a wired device.
20463                         So, if the active device is wireless and it has a "forced" best AP, use it
20464                         if the "forced" best AP is still valid
20465                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20466                         there were no usable network devices, or the last one was removed
20467
20468         * src/backends/NetworkManager*.c
20469                 - Deal with test devices, mostly just return success for operations like getting
20470                         a DHCP address
20471
20472         * test/nmtestdevices.c
20473                 - Test tool to create/remove/link-switch test devices
20474
20475 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20476
20477         * examples/python/NetworkManager.py: 
20478         added convience functions has_wired_device and has_wireless_device
20479
20480         * examples/python/systray/network_tray.py: 
20481         cleaned up a bunch of cruft, added support for listing wireless
20482         networks just like the real applet.  This is probably all I'm
20483         going to work on this applet from now on.
20484         TODO: add support for actually changing networks and devices
20485
20486         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20487         changed "nm.networks" into a dict from a list so I can store all
20488         the cool information about networks in there
20489
20490         * examples/python/systray/network_tray.py: 
20491         Added nice message when you try to run without running make first
20492
20493         * examples/python/NetworkManager.py: 
20494         Bug fixes to the code so we get all the device information
20495         that we need in get_device()
20496         
20497         * examples/python/NMTester.py: 
20498         Fixed _print_device_list to print_device_list
20499
20500 2004-08-29  Seth Nickell  <seth@gnome.org>
20501
20502         * configure.in:
20503
20504         Actually properly setup the Debian backend in configure.
20505         
20506 2004-08-29  Colin Walters  <walters@verbum.org>
20507
20508         * test/nminfotest.c: Include string.h and stdlib.h.
20509         (get_network_string_property, get_networks_of_type): Return NULL.
20510
20511         * test/nmclienttest.c (get_device_name, get_active_device): Return
20512         NULL.
20513
20514         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20515         use strlen, fgets always NULL-terminates the string.
20516
20517         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20518         dbus_message_get_member): Remove /* in comment.
20519
20520         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20521
20522         * src/NetworkManager.c (quit): Unused, delete.
20523         (nm_data_free): Cast arg to GFunc.
20524
20525         * panel-applet/NMWirelessAppletDbus.c: Need to include
20526         string.h, and dbus-glib-lowlevel.h (the latter is needed
20527         for dbus_connection_setup_with_g_main at present).
20528         (nmwa_dbus_update_wireless_network_list): Parenthesize
20529         assignment in conditional.
20530         (nmwa_dbus_worker): Return NULL.
20531
20532         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20533         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20534         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20535         (nmwa_populate_menu): Return NULL on failure, instead of just
20536         return;
20537
20538         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20539
20540         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20541         variables.
20542
20543         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20544         delete.
20545         
20546 2004-08-29  Colin Walters  <walters@verbum.org>
20547
20548         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20549         a GTimeVal instead of time_t.  This is easier to work with,
20550         since time_t may be a long or double, we don't know.
20551
20552         * src/NetworkManagerDbus.h: Update prototype.
20553         
20554         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20555         instead of time_t.
20556         (nm_ap_get_timestamp): Update to return GTimeVal.
20557         (nm_ap_set_timestamp): Update to take GTimeVal.
20558         
20559         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20560         to handle GTimeVal.
20561
20562         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20563         GTimeVal change.
20564         (nm_ap_list_print_members): Fix warnings in printf format.
20565
20566 2004-08-29  Colin Walters  <walters@verbum.org>
20567         
20568         * panel-applet/NMWirelessApplet.c: Include config.h.
20569
20570 2004-08-29  Colin Walters  <walters@verbum.org>
20571
20572         * configure.in: Generate config.h.
20573
20574         * configure.in: Dump dependency on OpenSSL; we can't
20575         use it since this package is GPL:
20576         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20577         Instead, check for libgcrypt, use it if available,
20578         otherwise use included MD5 code.
20579
20580         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20581         Suck in from gnome-keyring, munge a bit.
20582         
20583         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20584         gnome-keyring-md5.h gnome-keyring-md5.c.
20585         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20586
20587         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20588         libgcrypt or included gnome-keyring md5 bits.
20589         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20590
20591 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20592
20593         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20594
20595 2004-08-27  Bryan Clark  <bclark@redhat.com>
20596
20597         * examples/python/systray/Makefile: 
20598
20599         Updated the clean section
20600         
20601         * examples/python/systray/trayiconmodule.c: 
20602         * examples/python/systray/trayicon.override: 
20603         * examples/python/systray/network_tray.py: 
20604         * examples/python/systray/eggtrayicon.h: 
20605         * examples/python/systray/eggtrayicon.c: 
20606         * examples/python/systray/Makefile: 
20607         * examples/python/README: 
20608         * examples/python/NetworkManager.py: 
20609         * examples/python/NMTester.py: 
20610
20611         Initial commit of these python example files
20612
20613 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20614
20615         * panel-applet/NMWirelessApplet.c
20616                 - Make current device bold
20617                 - Show more user-friendly device name if we got one from hal
20618
20619         * panel-applet/NMWirelessAppletDbus.c
20620                 - Grab "info.product" key from hal for network devices
20621                 - Cache the current active device
20622
20623 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20624
20625         * configure.in: Added en_CA to ALL_LINGUAS.
20626
20627 2004-08-27  Christian Rose  <menthos@menthos.com>
20628
20629         * configure.in: Added "sv" to ALL_LINGUAS.
20630
20631 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20632
20633         * Tag NetworkManager-0.2
20634
20635 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20636
20637         * initscripts/Makefile.am
20638         * configure.in: Make pass distcheck
20639
20640         * po/ChangeLog: added
20641
20642 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20643
20644         * panel-applet/NMWirelessApplet.c
20645                 - Remove debugging code
20646                 - Enable device switching from menus
20647
20648         * panel-applet/NMWirelessAppletDbus.[ch]
20649                 - Method for asking NM to switch devices
20650
20651         * src/NetworkManagerDevice.c
20652                 - Set dev->activating earlier, avoids race between
20653                         the dbus signal of "DeviceActivating" and setting
20654                         dev->activating (which is what NM's "status" method call
20655                         looks at)
20656
20657 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20658
20659         * panel-applet/NMWirelessApplet.[ch]
20660                 - Rework menu code to add devices to menu, and to show
20661                         signal strength for each access point.  Code cleanups
20662                         too.
20663
20664         * panel-applet/NMWirelessAppletDbus.c
20665                 - Grab network devices from NetworkManager too
20666                 - Grab quality information from NM for wireless networks
20667
20668         * src/NetworkManagerDbus.[ch]
20669                 - Add dbus methods for getting the HAL UDI from a device and
20670                         for getting its base quality, if its wireless
20671                 - Consolidate some functions (wireless network notifications,
20672                         device notifications)
20673                 - Add method for requesting NM to use a particular device
20674
20675         * src/NetworkManager.c
20676                 - Change for function consolidations from NetworkManagerDbus.c
20677                 - Implement active device locking and user-requested devices
20678                         (ie, tell NM to use a particular device instead of the one
20679                         it autochose)
20680
20681         * src/NetworkManagerDevice.c
20682                 - Add method for getting the base quality of a device, if its
20683                         wireless
20684                 - Grab device base quailty info from iwlib during scans
20685
20686         * src/NetworkManagerPolicy.c
20687                 - Use a user-requested device rather than the auto-chosen device
20688                         if we are told to
20689
20690 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20691
20692         * Makefile.am: add po as a supdir
20693
20694         * autogen.sh: use gnome-autogen.sh
20695
20696         * initscript/Gentoo/.cvsignore:
20697         * initscript/RedHat/.cvsignore: Shut up cvs
20698
20699         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20700
20701         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20702         (nmwa_fill): Use gettext.
20703
20704         * configure.in: add gettext support
20705         * po/.cvsignore:
20706         * po/NetworkManager.pot:
20707         * po/POTFILES.in:
20708
20709 2004-08-26  Seth Nickell  <seth@gnome.org>
20710
20711         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20712         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20713         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20714         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20715         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20716         * panel-applet/NMWirelessApplet.h:
20717
20718         Use a menu bar instead of a button for the main clickable
20719         thingy.
20720         
20721 2004-08-25  Dan Williams <dcbw@redhat.com>
20722
20723         * src/NetworkManagerDevice.c
20724                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20725                         turning encryption off, because the Cisco driver doesn't associate
20726                         with WEP-enabled access points unless we are in "open"
20727
20728 2004-08-25  Dan Williams <dcbw@redhat.com>
20729
20730         * src/NetworkManagerWireless.c
20731                 - Don't try to defererence blank passphrases
20732
20733 2004-08-25  Dan Williams <dcbw@redhat.com>
20734
20735         * panel-applet/NMWirelessApplet.c
20736                 - Rebuild the menu whenever a user clicks
20737
20738 2004-08-25  Dan Williams <dcbw@redhat.com>
20739
20740         * panel-applet/NMWirelessApplet.c
20741                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20742                         when NM isn't around or when its not connected
20743
20744         * src/NetworkManagerDevice.c
20745                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20746                         canceled.
20747
20748 2004-08-25  Dan Williams <dcbw@redhat.com>
20749
20750         * panel-applet/NMWirelessAppletDbus.c
20751                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20752                         for getting encryption, and don't stop on "val" once we've gotten it
20753                         from NetworkManager.  Short form:  encryption should now show up.
20754
20755 2004-08-25  Dan Williams <dcbw@redhat.com>
20756
20757         * panel-applet/NMWirelessApplet.c
20758                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20759                         network to associate with
20760
20761 2004-08-25  Dan Williams <dcbw@redhat.com>
20762
20763         * panel-applet/*
20764                 - Rework the panel applet to do all DBUS communication in a separate
20765                         thread
20766
20767 2004-08-25  Dan Williams <dcbw@redhat.com>
20768
20769         * info-daemon/NetworkManagerInfo.[ch]
20770                 - Remove "get_next_priority" function
20771
20772         * info-daemon/NetworkManagerInfoDbus.[ch]
20773                 - Convert "priority" functions to "timestamp"
20774
20775 2004-08-25  Dan Williams <dcbw@redhat.com>
20776
20777         * src/NetworkManagerAP.[ch]
20778                 - Add a "enc_method_good" member and accessors to an Access Point
20779                         to signal when we've found the correct encryption method
20780                         for an access point
20781                 - Add a "timestamp" member and accessors, remove "priority" member
20782                         and accessors (use timestamps instead)
20783                 - Rename "wep_key"->"enc_key"
20784                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20785                         for a specified encryption method using the access points
20786                         source encryption key/passphrase
20787
20788         * src/NetworkManagerAPList.c
20789                 - When updating a network with dbus, grab timestamp now instead of
20790                         priority
20791
20792         * src/NetworkManagerDBus.[ch]
20793                 - Add signal for "DeviceActivating"
20794                 - Switch priority->timestamp
20795
20796         * src/NetworkManagerDevice.c
20797                 - Change references of "wep_key" -> "enc_key" or "key"
20798                 - Signal DeviceActivating when starting activation
20799                 - When activating a wireless device, if the access point we are connecting
20800                         to is encrypted, and we have a source key, try to generate a mangled
20801                         key and use that (ie, generate real WEP key from a passphrase)
20802                 - Rework device activation to fallback to other encryption methods if
20803                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20804                         first, then if that doesn't work fall back to direct hex key).
20805                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20806                         priority.  We now prefer the latest access point used, rather than using
20807                         a priority scheme
20808                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20809                         points we've just discovered, and merge in correct info from the global
20810                         access point lists
20811
20812 2004-08-25  Seth Nickell  <seth@gnome.org>
20813
20814         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20815         Debian support.
20816         
20817         * src/Makefile.am:
20818         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20819         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20820         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20821         (nm_system_delete_default_route),
20822         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20823         (nm_system_load_device_modules):
20824
20825 2004-08-24  Dan Willemsen <dan@willemsen.us>
20826
20827         * src/NetworkManager.c
20828           src/backends/NetworkManagerGentoo.c
20829           src/backends/NetworkManagerRedHat.c
20830           src/backends/NetworkManagerSystem.h
20831                 - Implement preliminary Gentoo support, adding a
20832                         nm_system_init function to the backend specification
20833
20834         * configure.in
20835                 - Distribution auto-detection, lowercase any user-fed
20836                         distribution names
20837
20838         * initscript/.cvsignore
20839           initscript/Makefile.am
20840           initscript/RedHat/Makefile.am
20841           initscript/RedHat/NetworkManager
20842           initscript/Gentoo/Makefile.am
20843           initscript/Gentoo/NetworkManager
20844                 - Refactored initscript code separately for each
20845                         distribution
20846
20847 2004-08-23  Dan Williams <dcbw@redhat.com>
20848
20849         * configure.in
20850           src/Makefile.am
20851           src/NetworkManagerDevice.c
20852           src/NetworkManager.c
20853           src/NetworkManagerUtils.[ch]
20854           src/backends/NetworkManagerSystem.h
20855           src/backends/NetworkManagerRedHat.c
20856           src/backends/NetworkManagerGentoo.c
20857                 - Refactor system-specific code into separate backends for
20858                         each distribution
20859
20860 2004-08-23  Dan Willemsen <dan@willemsen.us>
20861
20862         * dispatcher-daemon/NetworkManagerDispatcher.c
20863           info-daemon/NetworkManagerInfo.[ch]
20864           info-daemon/NetworkManagerInfoDbus.c
20865           info-daemon/NetworkManagerInfoPassphraseDialog.c
20866           src/NetworkManager.c
20867           src/NetworkManagerAP.c
20868           src/NetworkManagerAPList.c
20869           src/NetworkManagerDbus.c
20870           src/NetworkManagerDevice.c
20871           src/NetworkManagerPolicy.c
20872           src/NetworkManagerUtils.[ch]
20873           src/NetworkManagerWireless.c
20874                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20875
20876         * src/NetworkManager.c
20877                 - Fixed usage wording for --no-daemon
20878
20879 2004-08-23  Dan Williams <dcbw@redhat.com>
20880
20881         * panel-applet/NMWirelessApplet.c
20882                 - Update our state every second to get more responsive panel icon
20883                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20884                         was causing our marching ants status blips to never move when
20885                         looking for a wireless network
20886
20887         * src/NetworkManagerDevice.c
20888                 - (nm_device_activation_begin): return if activation has already begun
20889                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20890                         trusted/preferred network into the device's access point when the
20891                         scan list is processed
20892
20893 2004-08-23  Dan Williams <dcbw@redhat.com>
20894
20895         * initscript/NetworkManager
20896                 - Use NMLaunchHelper rather than sleeping
20897
20898         * initscript/NMLaunchHelper.c
20899           Makefile.am
20900                 - Add helper program that exits only when NM activates a device,
20901                         or 10 seconds have passed, whichever happens first.  This
20902                         stops the boot processes until we have a network connection,
20903                         which NM can't do because it daemonizes and brings the connection
20904                         up in the background.  Allows stuff like NFS to not die.
20905
20906 2004-08-20  Dan Williams <dcbw@redhat.com>
20907
20908         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20909                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20910                         for a network, set the essid as well since it may not exist yet
20911                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20912                         since WEP keys/passphrases are long and prone to entry-error
20913
20914         * panel-applet/Makefile.am
20915           panel-applet/wired.png
20916                 - Add (pulled from system-config-network temporarily)
20917
20918         * panel-applet/NMWirelessApplet.[ch]
20919                 - Show wired picture when a wired connection is used
20920                 - Rename wireless icon enums, adding WIRELESS
20921
20922         * src/NetworkManagerDevice.c
20923                 - (nm_device_activate_wireless): unset encryption before bringing
20924                         down the card and setting the essid
20925                 - (nm_device_activatin_worker): request a key from the user if the
20926                         AP we are connecting to is encrypted but we don't have a key
20927                         for it yet
20928                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20929                         strcmp() that prevented a user-entered key from actually getting
20930                         used
20931
20932 2004-08-16  Dan Williams <dcbw@redhat.com>
20933
20934         * initscript/NetworkManager
20935                 - Check for /sbin/ip
20936                 - Do sysctl magic that network service does
20937                 - sleep 4s after start to allow network time to come up [hack]
20938
20939         * src/Makefile.am
20940           src/NMLoadModules
20941                 - Load all network device kernel modules (hal doesn't know devices
20942                         are ethernet until the module is loaded, and therefore we don't know)
20943
20944         * src/NetworkManager.c
20945                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20946                         network devices, and bring up the loopback device explicitly
20947
20948         * src/NetworkManagerUtils.[ch]
20949                 - (nm_enable_loopback): new function
20950
20951 2004-08-13  Dan Williams <dcbw@redhat.com>
20952
20953         * configure.in
20954           panel-applet/Makefile.am
20955                 - Fix up cleanfiles and server_DATA/server_in_files
20956
20957         * README
20958                 - Update with some comments on theory of operation
20959
20960         * CONTRIBUTING
20961           Makefile.am
20962                 - Add CONTRIBUTING
20963
20964 2004-08-12  Dan Williams <dcbw@redhat.com>
20965
20966         * info-daemon/passphrase.glade
20967                 - Set window title to " "
20968
20969         * panel-applet/Makefile.am
20970           panel-applet/keyring.png
20971                 - Deliver to correct place
20972
20973         * panel-applet/NMWirelessApplet.[ch]
20974                 - Add comments
20975                 - Remove applet->have_active_device as its no longer used
20976                 - (nmwa_load_theme): load keyring.png too
20977                 - (error_dialog): remove
20978                 - (show_warning_dialog): subsume functionality of error dialog too
20979                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20980                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20981                         the networks menu
20982                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20983                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20984                         and when we get broadcasts of changed wireless access points only, not when the
20985                         user clicks on the button to display the menu (too long of a wait)
20986                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20987                         networks that are encrypted
20988                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20989                         menu item with g_object_set_data()
20990
20991         * panel-applet/NMWirelessAppletDbus.[ch]
20992                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20993                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20994                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20995                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20996                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20997                         activation/deactivation signals and rebuild the menu when they happen
20998
20999         * src/NetworkManager.c
21000                 - (main): use new nm_spawn_process() rather than system()
21001
21002         * src/NetworkManagerDbus.c
21003                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21004                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21005                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21006                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21007                         to freeze the best_ap.
21008
21009         * src/NetworkManagerDevice.[ch]
21010                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21011                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21012                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21013                         ap list
21014
21015         * src/NetworkManagerUtils.[ch]
21016                 - (nm_spawn_process): add replacement for system() usage
21017
21018 2004-08-11  Dan Williams <dcbw@redhat.com>
21019
21020         * panel-applet/NMWirelessApplet.[ch]
21021                 - Fix up copyright and credits to include Bastien and Eskil,
21022                         who created the gnome-applets wireless applet, from whose
21023                         skeleton this one was created
21024                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21025                         pixmap to draw is computed during nmwa_update_state()
21026                 - Applet now shows itself all the time due to panel packing issues
21027                         which caused the applet to previously never come back after hiding.
21028                         When a wired device is the active device, the applet shows "not connected"
21029
21030         * panel-applet/NMWirelessAppletDbus.[ch]
21031                 - Clean up error messages and show what function they are from
21032                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21033                 - Add new device type getters, and a status getter
21034
21035         * src/NetworkManagerDbus.c
21036                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21037                         network is actually in the device's ap list
21038                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21039
21040         * src/NetworkManagerDevice.c
21041                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21042                         card
21043
21044         * test/nmclienttest.c
21045                 - Report status of NetworkManager too
21046
21047 2004-08-11  Dan Williams <dcbw@redhat.com>
21048
21049         * info-daemon/NetworkManagerInfo.c:
21050                 - (main): clean up Seth's code style
21051
21052         * info-daemon/NetworkManagerInfoDbus.c:
21053                 - Use the more aptly-named path/service/interface constants from NetworkManager
21054                 - Don't return empty strings ("") as object paths ever, instead return errors
21055
21056         * panel-applet/NMWirelessApplet.c:
21057                 - Clean up Seth's code style
21058
21059         * src/NetworkManager.[ch]
21060                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21061                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21062
21063         * src/NetworkManagerAPList.[ch]
21064                 - Move Iter struct right above the iter functions to preserve opacity
21065                 - (nm_ap_list_remove_ap): implement
21066                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21067                         remove AP if NetworkManagerInfo doesn't know anything about it
21068                 - (nm_ap_list_diff): user NMAPList iterators
21069                 - (nm_ap_list_print_members): implement debugging function
21070
21071         * src/NetworkManagerDbus.[ch]
21072                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21073                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21074                         and move the actual key setting stuff into NetworkManagerDevice.c
21075                 - (nm_dbus_get_network_priority): return -1 now on errors
21076                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21077                         get lost, and force the active device to update its "best" ap when AP lists change
21078                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21079                         method call due to pending_device member removal
21080
21081         * src/NetworkManagerDevice.[ch]
21082                 - Move NMDevice structure to the top
21083                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21084                 - Remove Pending Action stuff from everywhere
21085                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21086                         activation for us.  This thread blocks until all conditions for activation have
21087                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21088                         then setup up the interface and runs dhclient.  We have to do this because there
21089                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21090                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21091                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21092                         can tell nm_device_activation_worker() that we've got a key
21093                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21094                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21095                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21096                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21097
21098         * src/NetworkManagerPolicy.c
21099                 - Remove anything to do with pending_device
21100                 - Adjust device activation to deal with activation-in-worker-thread
21101
21102         * src/NetworkManagerUtils.c
21103                 - Clean up locking debugging a bit
21104
21105         * src/NetworkManagerWireless.[ch]
21106                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21107                         was badly named and is better as a device function
21108
21109         * panel-applet/.cvsignore: add
21110
21111 2004-08-09  Seth Nickell  <seth@gnome.org>
21112
21113         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21114         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21115         (nmwa_new):
21116         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21117
21118         Don't load the menus until clicked on (also removes a call outside
21119         normal code paths at first load).
21120
21121         Hide applet when NM is not present.
21122         
21123         Improve printf debugging stuff.
21124         
21125 2004-08-09  Dan Williams <dcbw@redhat.com>
21126
21127         * dispatcher-daemon/NetworkManagerDispatcher.c:
21128                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21129                 - Use constants for NetworkManager interface, service, and path
21130
21131 2004-08-09  Dan Williams <dcbw@redhat.com>
21132
21133         * src/NetworkManagerDbus.c:
21134                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21135                         instead return an error message
21136                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21137                         on a wired device.  Also never return an empty object path, instead return an error message
21138
21139 2004-08-06  Seth Nickell  <seth@gnome.org>
21140
21141         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21142
21143         Check the error code when getting a connection.
21144         
21145         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21146
21147         Check if the NM service exists when initializing (rather than
21148         assuming it does not).
21149         
21150         * src/NetworkManagerDbus.c: (nm_dbus_init):
21151
21152         Don't acquire the well-known service name until we have
21153         registered object/path handlers and can actually receive
21154         calls.
21155         
21156 2004-08-06  Dan Williams <dcbw@redhat.com>
21157
21158         * panel-applet/*
21159                 - Add panel applet
21160
21161         * src/NetworkManagerPolicy.c
21162           src/NetworkManager.c
21163                 - Get access point lists from NetworkManagerInfo on-demand,
21164                         and look for ServiceCreate/ServiceDeleted signals to see when
21165                         we should query NMI for lists
21166         * src/NetworkManagerAPList.c
21167                 - Make sure to init the list's mutex
21168                 - Convert traversals of the list over to the list iter functions
21169
21170         * src/NetworkManagerDbus.[ch]
21171                 - Use more aptly-named path/service/interface constants
21172                 - Treat both active and pending devices the same for "getActiveDevice"
21173                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21174
21175         * src/NetworkManagerDevice.c
21176                 - Honor "ignored" network list when picking best ap to use
21177
21178 2004-08-06  Seth Nickell  <seth@gnome.org>
21179
21180         * aclocal.m4:
21181
21182         Autogenerated, remove from CVS.
21183         
21184         * autogen.sh:
21185
21186         Don't hardcode automake version.
21187         
21188         * configure.in:
21189         * info-daemon/Makefile.am:
21190         * info-daemon/NetworkManagerInfo.c: (main):
21191
21192         Use GnomeProgram et al. for doing session management.
21193         Use popt stuff for argument parsing rather than doing
21194         it manugally.
21195         
21196 2004-08-05  Dan Williams <dcbw@redhat.com>
21197
21198         * test/nminfotest.c
21199                 - Update to new NMI dbus API, check different network types
21200
21201         * info-daemon/NetworkManagerInfoDbus.c
21202                 - Update to new NM dbus API, ie network type sent in query message
21203
21204 2004-08-05  Dan Williams <dcbw@redhat.com>
21205
21206         * An assload of changes
21207
21208 2004-08-02  Dan Williams <dcbw@redhat.com>
21209
21210         * TODO
21211                 - new task: proper logging support
21212
21213         * info-daemon/NetworkManagerInfo.c
21214                 - Correct spelling of "canceled"
21215                 - Correct casting of objects for g_signal_connect()
21216
21217         * info-daemon/NetworkManagerInfoDbus.c
21218                 - Add defines for NetworkManager namespace and object path, and use them
21219                 - Add filter function to trap new signals from NetworkManager:
21220                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21221
21222         * info-daemon/passphrase.glade
21223                 - Change name of "ok" button to "Login to Network..."
21224                 - Mark invisible
21225
21226         * src/NetworkManager.c
21227                 - Code and debug message cleanups
21228                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21229                 - (nm_add_initial_devices) Check returned string array of devices
21230                         and don't try to add devices if array is NULL
21231                 - (main) Initialize libhal a bit later, make code a bit clearer
21232
21233         * src/NetworkManagerAP.[ch]
21234                 - New accessor and data member "matched": used to speed up AP list
21235                         diffing
21236                 - New accessor and data member "enc_method": will be used during key
21237                         fallback to cache which passphrase->key conversion actually works
21238                         so we don't have to do it every time
21239
21240         * src/NetworkManagerAPList.[ch]
21241                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21242                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21243                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21244                         dbus in response to those differences
21245
21246         * src/NetworkManagerDbus.[ch]
21247                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21248                         make an object path for that access point (NOTE that we don't yet check to
21249                         make sure that access point is actually in the device's AP list yet)
21250                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21251                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21252                         New: signal appearance/disappearance of wireless networks
21253                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21254                         key entry
21255
21256         * src/NetworkManagerDevice.[ch]
21257                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21258                 - (nm_device_ap_list_get) New: return the AP list (static function)
21259                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21260                         new one resulting from the scan with the old one
21261
21262         * src/NetworkManagerWireless.c
21263                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21264
21265         * test/nminfotest.c
21266                 - #define object paths and namespaces and use the #defines rather than static strings
21267                 - Test out user-key functionality of NetworkManagerInfo too
21268
21269 2004-07-29  Dan Williams <dcbw@redhat.com>
21270
21271         * info-daemon/NetworkManagerInfoDbus.c
21272           src/NetworkManagerDbus.c
21273                 - Update to current DBus (ie don't use decomposed paths when registering
21274                         object paths/fallbacks)
21275
21276 2004-07-27  Dan Williams <dcbw@redhat.com>
21277
21278         * Remove various Makefile.in files
21279
21280         * TODO
21281                 - Add some more items
21282
21283         * configure.in
21284                 - Add checks for OpenSSL/md5 headers and libs
21285
21286         * src/Makefile.am
21287                 - Use OpenSSL CFLAGS
21288
21289         * src/NetworkManagerAP.[ch]
21290                 - Remove 'stamp' functions, replace with 'invalid' functions
21291                         to support user cancelling WEP key entry
21292
21293         * src/NetworkManagerDbus.c
21294                 - Remove 'stamp' return functions
21295                 - Treat returned user key as a passphrase and convert to a WEP key,
21296                         but don't actually use the WEP key yet.  We use the returned user
21297                         key as a hexadecimal WEP key until we can figure out a UI for
21298                         passphrase-vs-hex key
21299
21300         * src/NetworkManagerWireless.[ch]
21301                 - Add passphrase-to-128bit-key function
21302
21303 2004-07-27  Dan Williams <dcbw@redhat.com>
21304
21305         * TODO
21306                 - Add a couple of items
21307
21308 2004-07-27  Dan Williams <dcbw@redhat.com>
21309
21310         * info-daemon/NetworkManagerInfo.c
21311                 - Update allowed network's GConf key when user enters a WEP key explicitly
21312
21313         * info-daemon/NetworkManagerDbus.c
21314                 - Fix some comments
21315                 - nmi_dbus_get_allowed_networks(): kill warning
21316
21317 2004-07-27  Dan Williams <dcbw@redhat.com>
21318
21319         * initscript/Makefile.in
21320                 - Remove
21321
21322         * initscript/Makefile.am
21323                 - Add correct rules to install the init.d initscript
21324
21325         * info-daemon/NetworkManagerInfoDbus.c
21326                 - Remove debug fprintf
21327
21328         * src/NetworkManagerDbus.[ch]
21329                 - Remove debug fprintfs
21330                 - Add macros for NetworkManagerInfo object path/namespace
21331                 - Use said macros instead of constant strings
21332
21333 2004-07-27  Dan Williams <dcbw@redhat.com>
21334
21335         * initscript/.cvsignore
21336                 - Add
21337
21338         * info-daemon/Makefile.am
21339                 - Install .glade files and keyring.png
21340                 - Fix stupid omission of a \ that caused half the flags not to be
21341                         passed to gcc
21342
21343         * info-daemon/NetworkManagerInfo.c
21344                 - gtk_signal_connect->g_signal_connect
21345                 - Alert NetworkManagerInfo to new glade file location
21346
21347 2004-07-27  Dan Williams <dcbw@redhat.com>
21348
21349         * test/nmclienttest.c
21350           test/nminfotest.c
21351                 - Add missing <dbus/dbus.h> headers
21352                 - Add GPL message at top
21353
21354 2004-07-27  Dan Williams <dcbw@redhat.com>
21355
21356         * src/NetworkManagerAPList.[ch]
21357           src/Makefile.am
21358                 - Add.  Deal with allowed network list additions, deletions, and updates
21359
21360         * dispatcher-daemon/NetworkManagerDispatcher.c
21361                 - Add missing <dbus/dbus.h> header
21362
21363         * info-daemon/NetworkManagerInfo.[ch]
21364                 - Add missing <dbus/dbus.h> header
21365                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21366                         network change
21367                 - Better error checking
21368
21369         * info-daemon/NetworkManagerInfoDbus.[ch]
21370                 - Add missing <dbus/dbus.h> header
21371                 - Convert to using dbus_message_append_args/dbus_message_get_args
21372                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21373                         that an allowed network changed.  We don't want to signal on individual
21374                         keys _inside_ an allowed network really, just want NM to query the info
21375                         daemon for updated info on all keys.
21376                 - Better error checking
21377
21378         * src/NetworkManager.[ch]
21379                 - Add missing <dbus/dbus.h> header
21380                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21381                 - Zero out NMData structure on free
21382                 - No longer use a thread for allowed_ap_list updating, instead its now done
21383                         through dbus queries against NetworkManagerInfo
21384                 - Populate allowed_ap_list initially before adding existing network devices
21385                         to the device list, so wireless devices can get their "best" AP
21386
21387         * src/NetworkManagerDbus.[ch]
21388                 - Convert to using dbus_message_append_args/dbus_message_get_args
21389                 - Better error checking
21390                 - Implement Allowed Network info functions to request allowed network
21391                         info from NetworkManagerInfo
21392                 - Implement the filter function to process signals from NetworkManagerInfo
21393                         about changing allowed networks
21394
21395         * src/NetworkManagerDevice.c
21396                 - Fix file descriptor leak in nm_device_update_ip4_address()
21397
21398 2004-07-27  Dan Williams <dcbw@redhat.com>
21399
21400         * .cvsignore
21401           src/.cvsignore
21402           test/.cvsignore
21403           dispatcher-daemon/.cvsignore
21404           info-daemon/.cvsignore
21405                 - Add .cvsignore files to reduce noise when diffing
21406
21407 2004-07-24  Dan Williams <dcbw@redhat.com>
21408
21409         * src/NetworkManager.[ch]
21410           src/NetworkManagerDbus.[ch]
21411           src/NetworkManagerDevice.[ch]
21412           src/NetworkManagerPolicy.c
21413           src/NetworkManagerWireless.[ch]
21414                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21415                 - Pass the NMData application data structure through all calls
21416                         that need it so we can get rid of nm_get_global_data()
21417                 - Change deallocation of the allowed_ap_list GSList in preparation
21418                         for not completely clearing it every time we get an update,
21419                         but instead getting incremental updates via GConf/dbus
21420
21421 2004-07-22  Dan Williams <dcbw@redhat.com>
21422
21423         * configure.in
21424                 - Add checks for GConf libs & headers & flags
21425
21426         * info-daemon/Makefile.am
21427                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21428
21429         * info-daemon/NetworkManagerInfo.[ch]
21430                 - Don't use gquarks for data storage, just use normal data storage
21431                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21432
21433         * info-daemon/NetworkManagerDbus.[ch]
21434                 - Add method call for getting allowed networks
21435                 - Add method calls for getting an allowed network's essid, priority, and key
21436                 - Hook the method calls up to GConf
21437                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21438                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21439                 
21440         * src/NetworkManagerDbus.[ch]
21441                 - Switch for enumeration of networks to using essid instead
21442
21443         * test/Makefile.am
21444           test/nminfotest.c
21445                 - Add test program for NetworkManagerInfo
21446
21447 2004-07-19  Dan Williams <dcbw@redhat.com>
21448
21449         * src/NetworkManagerDbus.c
21450                 - Switch from indexed device paths to names.  Less code, more efficient.
21451                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21452
21453 2004-07-19  Dan Williams <dcbw@redhat.com>
21454
21455         * dispatcher-daemon/NetworkManagerDispatcher.c
21456                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21457
21458 2004-07-19  Dan Williams <dcbw@redhat.com>
21459
21460         * Makefile.am
21461                 - Add info-daemon directory
21462
21463         * configure.in
21464                 - Check for glade libs and headers
21465                 - Add info-daemon directory
21466
21467         * src/NetworkManagerAP.c
21468                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21469                         copied over to the new AP.
21470
21471         * src/NetworkManagerDbus.c
21472           src/NetworkManagerDbus.h
21473                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21474                 - Remove nm_dbus_signal_need_key_for_network()
21475                 - Add disabled code for asynchronous user wep key callbacks
21476                 - Add functions for getting, setting, and cancelling user key operations
21477                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21478                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21479
21480         * src/NetworkManagerDevice.c
21481           src/NetworkManagerDevice.h
21482                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21483                         logic is in device activation now
21484                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21485                         key is wrong) trigger get-user-key pending action
21486                 - Implement get-user-key pending action stuff, tie to dbus messages
21487                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21488                 - Add nm_device_ap_list_get_ap_by_essid()
21489                 - Instead of copying "best" access points, ref them instead so that the key we set
21490                         sticks around
21491
21492         * src/NetworkManagerPolicy.c
21493                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21494                 - Don't cancel pending actions on a device if its the same device as last iteration
21495                 - Only promote pending_device->active_device if activation was successfull
21496
21497         * src/Makefile.am
21498                 - Rename nmclienttest->nmtest
21499
21500         * info-daemon/Makefile.am
21501           info-daemon/NetworkManagerInfo.c
21502           info-daemon/NetworkManagerInfo.h
21503           info-daemon/NetworkManagerInfoDbus.c
21504           info-daemon/NetworkManagerInfoDbus.h
21505           info-daemon/passphrase.glade
21506           info-daemon/NetworkManagerInfo.conf
21507           info-daemon/keyring.png
21508                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21509                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21510                         lists to NetworkManager by proxying user's GConf
21511           
21512
21513 2004-07-15  Dan Williams <dcbw@redhat.com>
21514
21515         * src/Makefile.am
21516                 - Turn on warnings
21517
21518         * src/NetworkManager.c
21519                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21520                         that doing the deactivation ourselves
21521                 - Cancel an pending actions on a device if its being removed
21522                 - Break up link state checking a bit, make non-active wireless cards
21523                         deactivated to save power
21524                 - Remove unused variables
21525
21526         * src/NetworkManager.h
21527                 - Add support for "pending" device
21528
21529         * src/NetworkManagerAP.h
21530           src/NetworkManagerAP.c
21531                 - Add support for determining whether and AP has encryption enabled or not
21532                 - AP address is now "struct ether_addr" rather than a string
21533
21534         * src/NetworkManagerDbus.h
21535           src/NetworkManagerDbus.c
21536                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21537                 - Changes for AP address from struct ether_addr->string
21538
21539         * src/NetworkManagerDevice.h
21540           src/NetworkManagerDevice.c
21541                 - Remove unused variables, fix warnings
21542                 - Add support for Pending Actions (things that block a device from being "active"
21543                         until they are completed).
21544                 - First pending action:  Get a WEP key from the user
21545                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21546                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21547                 - Update wireless link checking to try to determine if the AP we are associated
21548                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21549                         trigger the GetUserKey pending action on the device
21550                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21551                         up in that case, otherwise we can't scan or link-check on it
21552                 - Add IP address change notifications at appropriate points (still needs some work)
21553                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21554
21555         * src/NetworkManagerPolicy.h
21556           src/NetworkManagerPolicy.c
21557                 - Split out "best" access point determiniation into separate function
21558                 - Make device activation 2-stage:  first the device is pending, then
21559                         in the next iteration through it becomes "active" unless it has
21560                         pending actions
21561
21562         * src/NetworkManagerUtils.h
21563           src/NetworkManagerUtils.c
21564                 - Clean up unused variables and warnings
21565                 - Wrap our debug macros in {} to prevent possible confusion
21566
21567         * src/NetworkManagerWireless.c
21568                 - Forgot to return current best priority, which lead to last available AP always
21569                         being chosen no matter what its priority was.  Corrected.
21570
21571 2004-07-15  Dan Williams <dcbw@redhat.com>
21572
21573         * dispatcher-daemon/Makefile.am
21574                 - Turn on warnings
21575
21576         * dispatcher-daemon/NetworkManagerDispatcher.c
21577                 - Remove unused variables due to warnings
21578                 - Fix some comments
21579                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21580
21581 2004-07-06  Dan Williams <dcbw@redhat.com>
21582
21583         * src/NetworkManager.c
21584                 - Add IPv4 address update for active device during link state check
21585                 - Don't allow wireless cards to be powered up when they are not the
21586                         active device
21587
21588         * src/NetworkManagerDbus.c
21589           src/NetworkManagerDbus.h
21590                 - Add DBUS IPv4 address change signal
21591                 - Add DBUS IPv4 address get method for devices
21592
21593         * src/NetworkManagerDevice.c
21594                 - Make setting the WEP key actually work
21595                 - Move IP address get/set/update stuff here, per-device
21596                 - Power down/bring down wireless device when deactivated
21597                 - For scanning wireless devices, if first scan returned ENODATA, try again
21598
21599         * src/NetworkManagerPolicy.c
21600                 - Only set the WEP key for an allowed access point if there is one.
21601                         We were setting it to be blank if one wasn't specified.
21602
21603         * src/NetworkManagerUtils.h
21604           src/NetworkManagerUtils.c
21605                 - Move the IP address stuff to NetworkManagerDevice.c
21606
21607         * dispatcher-daemon/NetworkManagerDispatcher.c
21608                 - Add device IPv4 address change notification stuff
21609
21610 2004-07-05  Dan Williams <dcbw@redhat.com>
21611
21612         * dispatcher-daemon/NetworkManagerDispatcher.c
21613                 - A bit more descriptive state message
21614                 - Don't segfault when reading directory
21615
21616         * src/NetworkManager.h
21617                 - Remove NMData desired_ap member, its now
21618                         per-device rather than global
21619
21620         * src/NetworkManager.c
21621                 - Remove references to desired_ap
21622                 - Move the allowed AP list refresh stuff into a thread
21623
21624         * src/NetworkManagerDevice.c
21625           src/NetworkManagerDevice.h
21626                 - Each wireless device now has a "best ap"
21627                 - Make device activate/deactivate functions per-device
21628                 - Make wireless scanning per-device
21629                 - Add IPv4 address discover functions, stub IPv6 ones
21630                 - Move ethernet address validation functions to NetworkManagerUtils.c
21631                 - Add wireless access point accessor function
21632                 - Get/Set functions for "best ap"
21633
21634         * src/NetworkManagerPolicy.c
21635                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21636                 - Deal with per-device "best ap" rather than data->desired_apa
21637                 - Implement allowed access point worker thread
21638                 - Add nm_policy_essid_is_allowed() function
21639
21640         * src/NetworkManagerUtils.c
21641           src/NetworkManagerUtils.h
21642                 - Add nm_ethernet_address_is_valid() function
21643                 - Add IPv4/IPv6 address get functions
21644
21645         * src/NetworkManagerWireless.c
21646           src/NetworkManagerWireless.h
21647                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21648
21649 2004-06-29  Dan Williams <dcbw@redhat.com>
21650
21651         * dispatcher-daemon/NetworkManagerDispatcher.c
21652                 - Implement script callout functionality
21653
21654 2004-06-24  Dan Williams <dcbw@redhat.com>
21655
21656         * NetworkManager.c
21657             - Spacing cleanups
21658             - Flush device routes and ip addresses when added to the device list
21659
21660         * NetworkManagerDbus.c
21661             - Spacing cleanups
21662             - Add missing returns in the two signal functions
21663         
21664         * NetworkManagerPolicy.c
21665             - Spacing and variable cleanups
21666
21667 2004-06-24  Dan Williams <dcbw@redhat.com>
21668
21669         * Makefile.am
21670           Makefile.in
21671           configure.in
21672           dispatcher-daemon/Makefile.am
21673           dispatcher-daemon/Makefile.in
21674           dispatcher-daemon/NetworkManagerDispatcher.c
21675             - Add a daemon that receives signals from NetworkManager
21676                         and will (eventually) call scripts in /etc/somewhere
21677                         when devices go up or down.
21678         
21679         * NetworkManager.c
21680             - Spacing cleanups
21681             - Flush device routes and ip addresses when added to the device list
21682
21683         * NetworkManagerDbus.c
21684             - Spacing cleanups
21685             - Add missing returns in the two signal functions
21686         
21687         * NetworkManagerPolicy.c
21688             - Spacing and variable cleanups
21689             - Rename nm_policy_switch_interface->nm_policy_switch_device
21690             - nm_policy_switch_device():
21691                                 Use kill (pid) instead of system ("kill <pid>")
21692             - nm_state_modification_monitor():
21693                                 Add wireless essid to output of debug statements
21694                                 Correct typo in device compare to switch or not (should be !=)
21695                                 Don't sleep after sending "no longer active" signal, was useless
21696
21697 2004-06-24  Dan Williams <dcbw@redhat.com>
21698
21699         * Initial import