2008-10-30 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-30  Dan Williams  <dcbw@redhat.com>
2
3         * src/nm-device-ethernet.c
4           src/nm-device-wifi.c
5           src/nm-device.c
6           src/ppp-manager/nm-ppp-manager.c
7                 - Harmonize return checking of ioctl
8
9         * system-settings/plugins/ifcfg-fedora/reader.c
10                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
11
12 2008-10-30  Dan Williams  <dcbw@redhat.com>
13
14         * src/ppp-manager/nm-ppp-manager.c
15                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
16                         ppp_generic module to create it (bgo #533064)
17
18 2008-10-30  Dan Williams  <dcbw@redhat.com>
19
20         Patch from Alexander Sack <asac@canonical.com>
21
22         Fix "ppp connections don't honour ip4 connection settings"
23
24         * src/nm-device-ethernet.c
25                 - (real_act_stage4_get_ip4_config): merge ip4config settings
26                         with results from ppp manager
27
28         * src/nm-serial-device.c
29                 - (real_act_stage4_get_ip4_config): merge ip4config settings
30                         with results from ppp manager
31
32 2008-10-29  Dan Williams  <dcbw@redhat.com>
33
34         * libnm-util/libnm-util.ver
35           libnm-util/nm-setting-ip4-config.c
36           libnm-util/nm-setting-ip4-config.h
37                 - Make properties private and add accessor functions
38
39         * callouts/nm-dispatcher-action.c
40           libnm-glib/libnm-glib-test.c
41           libnm-util/nm-utils.c
42           src/NetworkManagerPolicy.c
43           src/NetworkManagerSystem.c
44           src/NetworkManagerUtils.c
45           src/dhcp-manager/nm-dhcp-dhclient.c
46           src/dhcp-manager/nm-dhcp-manager.c
47           src/dnsmasq-manager/nm-dnsmasq-manager.c
48           src/nm-device-wifi.c
49           src/nm-device.c
50           src/nm-hso-gsm-device.c
51           src/nm-ip4-config.c
52           src/nm-ip4-config.h
53           src/ppp-manager/nm-ppp-manager.c
54           src/vpn-manager/nm-vpn-connection.c
55           system-settings/plugins/ifcfg-fedora/reader.c
56           system-settings/plugins/ifcfg-suse/parser.c
57           system-settings/plugins/ifcfg-suse/plugin.c
58           system-settings/plugins/ifupdown/parser.c
59           test/nm-tool.c
60           vpn-daemons/vpnc/properties/nm-vpnc.c
61                 - Use IP4 accessor functions
62
63 2008-10-29  Tambet Ingo  <tambet@gmail.com>
64
65         Half of it by Dan Williams <dcbw@redhat.com>
66
67         * libnm-util/libnm-util.ver
68         libnm-util/nm-setting-vpn.c
69         libnm-util/nm-setting-vpn.h
70                 - Make properties private and add accessor functions.
71
72         * src/vpn-manager/nm-vpn-connection.c
73         src/vpn-manager/nm-vpn-manager.c
74         system-settings/plugins/keyfile/reader.c
75         vpn-daemons/openvpn/properties/auth-helpers.c
76         vpn-daemons/openvpn/properties/import-export.c
77         vpn-daemons/openvpn/properties/nm-openvpn.c
78         vpn-daemons/openvpn/src/nm-openvpn-service.c
79         vpn-daemons/pptp/auth-dialog/main.c
80         vpn-daemons/pptp/properties/advanced-dialog.c
81         vpn-daemons/pptp/properties/nm-pptp.c
82         vpn-daemons/pptp/src/nm-pptp-service.c
83         vpn-daemons/vpnc/properties/nm-vpnc.c
84         vpn-daemons/vpnc/src/nm-vpnc-service.c
85                 - Use VPN setting accessors.
86
87 2008-10-28  Dan Williams  <dcbw@redhat.com>
88
89         Patch from Tambet Ingo <tambet@gmail.com>
90
91         * libnm-util/libnm-util.ver
92           libnm-util/nm-setting-wireless.c
93           libnm-util/nm-setting-wireless.h
94                 - Make properties private and add accessor functions
95
96         * src/NetworkManagerAP.c
97           src/nm-device-wifi.c
98           src/nm-manager.c
99           src/supplicant-manager/nm-supplicant-config.c
100           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
101           system-settings/plugins/ifcfg-fedora/reader.c
102           system-settings/plugins/ifcfg-suse/parser.c
103           system-settings/plugins/ifupdown/parser.c
104                 - Use wireless setting accessors
105
106 2008-10-27  Dan Williams  <dcbw@redhat.com>
107
108         Patch from Tambet Ingo <tambet@gmail.com>
109
110         * libnm-util/libnm-util.ver
111           libnm-util/nm-setting-ppp.c
112           libnm-util/nm-setting-ppp.h
113                 - Make properties private and add accessor functions
114
115         * src/ppp-manager/nm-ppp-manager.c
116                 - Use ppp setting accessors
117
118 2008-10-27  Dan Williams  <dcbw@redhat.com>
119
120         Patch from Tambet Ingo <tambet@gmail.com>
121
122         * libnm-util/nm-setting.h
123           libnm-util/nm-setting.c
124                 - Make properties private and add accessor functions
125
126         * libnm-util/nm-connection.c
127           libnm-util/nm-setting-8021x.c
128           libnm-util/nm-setting-cdma.c
129           libnm-util/nm-setting-connection.c
130           libnm-util/nm-setting-gsm.c
131           libnm-util/nm-setting-ip4-config.c
132           libnm-util/nm-setting-ip6-config.c
133           libnm-util/nm-setting-ppp.c
134           libnm-util/nm-setting-pppoe.c
135           libnm-util/nm-setting-serial.c
136           libnm-util/nm-setting-template.c
137           libnm-util/nm-setting-vpn.c
138           libnm-util/nm-setting-wired.c
139           libnm-util/nm-setting-wireless-security.c
140           libnm-util/nm-setting-wireless.c
141           system-settings/plugins/keyfile/reader.c
142           system-settings/plugins/keyfile/writer.c
143                 - Use setting accessors
144
145 2008-10-27  Dan Williams  <dcbw@redhat.com>
146
147         * libnm-util/libnm-util.ver
148           libnm-util/nm-setting-connection.c
149           libnm-util/nm-setting-connection.h
150                 - Add a 'read-only' property that indicates the connection cannot be
151                         modified
152
153         * system-settings/plugins/ifcfg-fedora/reader.c
154           system-settings/plugins/ifcfg-suse/parser.c
155           system-settings/plugins/ifupdown/parser.c
156                 - These plugins are read-only at the moment
157
158         * system-settings/plugins/keyfile/reader.c
159           system-settings/plugins/keyfile/writer.c
160                 - Read-only shouldn't get saved out to files or read in from them
161
162 2008-10-27  Tambet Ingo  <tambet@gmail.com>
163
164         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
165         correct speed reporting for fast devices (kernel >= 2.6.27).
166
167 2008-10-26  Dan Williams  <dcbw@redhat.com>
168
169         Attempt to compensate for modems that don't enable full AT parsing before
170         the PIN has been entered.
171
172         * src/nm-gsm-device.c
173                 - (init_modem): accept different init strings
174                 - (init_done): try different init strings on failure
175                 - (check_pin_done): on PIN success, do full modem init
176
177 2008-10-26  Dan Williams  <dcbw@redhat.com>
178
179         Patch from Tambet Ingo <tambet@gmail.com>
180
181         * libnm-util/libnm-util.ver
182           libnm-util/nm-setting-connection.c
183           libnm-util/nm-setting-connection.h
184                 - Make properties private and add accessor functions
185
186         * src/NetworkManagerPolicy.c
187           src/nm-cdma-device.c
188           src/nm-device-ethernet.c
189           src/nm-device-interface.c
190           src/nm-device-wifi.c
191           src/nm-gsm-device.c
192           src/nm-manager.c
193           src/ppp-manager/nm-ppp-manager.c
194           src/vpn-manager/nm-vpn-connection.c
195           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
196           system-settings/plugins/ifcfg-fedora/plugin.c
197           system-settings/plugins/ifcfg-fedora/reader.c
198           system-settings/plugins/ifcfg-suse/parser.c
199           system-settings/plugins/ifupdown/parser.c
200           system-settings/plugins/keyfile/nm-keyfile-connection.c
201           system-settings/plugins/keyfile/plugin.c
202           system-settings/plugins/keyfile/writer.c
203           system-settings/src/main.c
204                 - Use those accessors
205
206 2008-10-26  Dan Williams  <dcbw@redhat.com>
207
208         Patch from Tambet Ingo <tambet@gmail.com>
209
210         * libnm-util/libnm-util.ver
211           libnm-util/nm-setting-gsm.c
212           libnm-util/nm-setting-gsm.h
213                 - Make properties private and add accessor functions
214
215         * src/nm-gsm-device.c
216           src/nm-hso-gsm-device.c
217           src/ppp-manager/nm-ppp-manager.c
218                 - Use those accessors
219
220 2008-10-26  Dan Williams  <dcbw@redhat.com>
221
222         Patch from Tambet Ingo <tambet@gmail.com>
223
224         * libnm-util/libnm-util.ver
225           libnm-util/nm-setting-cdma.c
226           libnm-util/nm-setting-cdma.h
227                 - Make properties private and add accessor functions
228
229         * src/nm-cdma-device.c
230           src/ppp-manager/nm-ppp-manager.c
231                 - Use those accessors
232
233 2008-10-26  Dan Williams  <dcbw@redhat.com>
234
235         Patch from Tambet Ingo <tambet@gmail.com>
236
237         * libnm-util/libnm-util.ver
238           libnm-util/nm-setting-pppoe.c
239           libnm-util/nm-setting-pppoe.h
240                 - Make properties private and add accessor functions
241
242         * src/nm-device-ethernet.c
243           src/ppp-manager/nm-ppp-manager.c
244                 - Use those accessors
245
246 2008-10-26  Dan Williams  <dcbw@redhat.com>
247
248         Patch from Tambet Ingo <tambet@gmail.com>
249
250         * libnm-util/libnm-util.ver
251           libnm-util/nm-setting-wired.c
252           libnm-util/nm-setting-wired.h
253                 - Make properties private and add accessor functions
254
255         * src/nm-device-ethernet.c
256           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
257           system-settings/plugins/ifcfg-suse/parser.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-serial.c
267           libnm-util/nm-setting-serial.h
268           src/nm-serial-device.c
269                 - Make properties private and use accessors instead
270
271 2008-10-26  Dan Williams  <dcbw@redhat.com>
272
273         * src/supplicant-manager/nm-supplicant-interface.c
274           src/supplicant-manager/nm-supplicant-interface.h
275           src/supplicant-manager/nm-supplicant-manager.c
276           src/supplicant-manager/nm-supplicant-manager.h
277                 - Add state-to-string conversion functions
278
279         * src/nm-device-wifi.c
280           src/nm-device-ethernet.c
281                 - Normalize state info logging and use strings instead of numbers
282
283 2008-10-26  Dan Williams  <dcbw@redhat.com>
284
285         * src/NetworkManagerPolicy.c
286                 - (update_routing_and_dns): ignore host routes when determining whether
287                         a VPN connection should own the default route (bgo #552594)
288
289 2008-10-24  Dan Williams  <dcbw@redhat.com>
290
291         * src/nm-gsm-device.c
292                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
293
294 2008-10-23  Dan Williams  <dcbw@redhat.com>
295
296         * src/ppp-manager/nm-ppp-manager.c
297                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
298                         add really important stuff to the command line to ensure that NM
299                         overrides /etc/ppp/options (bgo #556781)
300
301 2008-10-22  Dan Williams  <dcbw@redhat.com>
302
303         * src/NetworkManagerSystem.c
304           src/nm-device.c
305                 - Use the device's IP interface where appropriate (Per Hallsmark)
306
307 2008-10-22  Dan Williams  <dcbw@redhat.com>
308
309         * src/nm-gsm-device.c
310                 - (schedule_automatic_registration_again): use a short timeout here
311                         instead of an idle handler to avoid using too much CPU polling for
312                         something we should be waiting a bit for anyway
313
314 2008-10-22  Dan Williams  <dcbw@redhat.com>
315
316         * include/NetworkManager.h
317           introspection/nm-device.xml
318                 - Add device state change reason for carrier changes
319
320         * src/nm-device-ethernet.c
321                 - (set_carrier): use the carrier change reason when changing device
322                         state in response to carrier changes
323
324 2008-10-21  Dan Williams  <dcbw@redhat.com>
325
326         * src/NetworkManagerPolicy.c
327                 - (update_etc_hosts): don't leak errors, and ensure that
328                         g_file_set_contents() gets a valid error placeholder (rh #461933)
329
330 2008-10-21  Dan Williams  <dcbw@redhat.com>
331
332         * src/nm-manager.c
333                 - (free_get_settings_info): don't use the DBusGProxy which could be
334                         disposed of by the time the function is called
335                 - (internal_new_connection_cb): save connection scope
336                 - (connection_get_settings_cb): don't replace a connection unless it's
337                         actually different from the existing one; fixes an issue where
338                         killing the settings service wouldn't deactivate an active connection
339                         provided by that settings service, because it was using a connection
340                         that had already been replaced in the system or user hash
341
342 2008-10-21  Dan Williams  <dcbw@redhat.com>
343
344         * src/NetworkManager.c
345                 - (main): keep the DHCP manager around since it's a singleton; fixes
346                         a use-after-free exposed by r4196 since the DHCP manager singleton
347                         variable isn't cleared when the DHCP manager object is finalized
348
349 2008-10-20  Dan Williams  <dcbw@redhat.com>
350
351         * libnm-util/nm-setting-wireless-security.c
352                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
353
354 2008-10-20  Dan Williams  <dcbw@redhat.com>
355
356         * src/supplicant-manager/nm-supplicant-config.c
357                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
358
359 2008-10-20  Dan Williams  <dcbw@redhat.com>
360
361         * src/dhcp-manager/nm-dhcp-manager.c
362                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
363                         manager object already refs it once
364                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
365                         also get cleaned up by nm_dhcp_device_destroy() to prevent
366                         double-frees
367
368 2008-10-20  Dan Williams  <dcbw@redhat.com>
369
370         * src/nm-manager.c
371                 - (initial_get_connections): use private dbus manager, don't keep
372                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
373                         manager object.
374
375 2008-10-18  Dan Williams  <dcbw@redhat.com>
376
377         * libnm-glib/nm-settings.c
378           libnm-glib/nm-settings.h
379                 - Rename the "get_secrets" virtual function "service_get_secrets" to
380                         clarify when it's used; NMExportedConnetion is a base-class for both
381                         the client and service side, which is sort of confusing, and
382                         get_secrets only makes sense on the service side.
383
384         * libnm-glib/nm-dbus-connection.c
385                 - (get_secrets): remove, unused, and clients need to do extra work to
386                         get secrets anyway since the call can block on the remote side
387
388         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
389           system-settings/plugins/keyfile/nm-keyfile-connection.c
390                 - Fix up for get_secrets -> service_get_secrets
391
392 2008-10-16  Dan Williams  <dcbw@redhat.com>
393
394         * src/nm-device-wifi.c
395                 - (constructor): correctly determine encryption capabilities
396
397 2008-10-15  Dan Williams  <dcbw@redhat.com>
398
399         * src/nm-device-wifi.c
400                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
401                         (Johannes Berg)
402
403 2008-10-15  Dan Williams  <dcbw@redhat.com>
404
405         * src/NetworkManagerSystem.c
406                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
407                         if the ip4_dest is in a smaller subnet contained within a subnet
408                         the machine is currently on, the destination is in the same subnet
409                 - (nm_system_device_set_ip4_route): move subnet checks to callers
410                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
411                         subnet as the parent device, and if so, don't add the direct
412                         host route via the parent device's gateway (bgo #481620)
413                 - (nm_system_apply_ip4_config): check whether the route to be added
414                         is contained within a subnet the device is already on
415
416 2008-10-11  Dan Williams  <dcbw@redhat.com>
417
418         * include/NetworkManager.h
419           introspection/nm-device.xml
420           include/NetworkManagerVPN.h
421                 - Add a few more state reasons for the device deactivated state
422
423         * src/nm-device-interface.c
424           src/nm-device-interface.h
425                 - (nm_device_interface_deactivate): add a 'reason' argument
426
427         * src/nm-device.c
428           src/nm-device.h
429                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
430                 - (nm_device_state_changed): pass the state change reason to
431                         nm_device_take_down()
432                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
433                         to the state change function
434
435         * src/nm-manager.c
436           src/nm-manager.h
437                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
438                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
439                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
440                         something reasonable along to VPN deactivation
441
442         * src/vpn-manager/nm-vpn-manager.c
443           src/vpn-manager/nm-vpn-manager.h
444                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
445                         pass that along to nm_vpn_connection_disconnect()
446
447 2008-10-11  Dan Williams  <dcbw@redhat.com>
448
449         * src/nm-device-wifi.c
450                 - (can_scan): remove old madwifi hack for not scanning while connected
451
452 2008-10-11  Dan Williams  <dcbw@redhat.com>
453
454         Add support for VPN subnet gateways (bgo #549196)
455
456         * include/NetworkManager.h
457                 - Add key for internal VPN subnet gateway
458
459         * src/vpn-manager/nm-vpn-connection.c
460                 - (ip_address_to_string): return a const from a static buffer so we
461                         don't leak a lot of strings
462                 - (print_vpn_config): print internal VPN gateway as well
463                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
464                         VPN service too
465                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
466
467         * src/NetworkManagerSystem.c
468           src/NetworkManagerSystem.h
469                 - (nm_system_device_replace_default_ip4_route): split into two, one for
470                         VPN connections and one for normal devices
471                 - (replace_default_ip4_route): break out route stuff into its own function
472                 - (nm_system_replace_default_ip4_route_vpn,
473                    nm_system_replace_default_ip4_route): simplify by having two cases,
474                         one for VPNs and one for normal devices
475
476         * src/NetworkManagerPolicy.c
477                 - (update_routing_and_dns): simplify, use split default route replacement
478                         functions
479
480 2008-10-10  Dan Williams  <dcbw@redhat.com>
481
482         Rework default route handling to consolidate decisions in the policy,
483         and to take active VPN connections into account when changing the default
484         route (bgo #545912)
485
486         * src/NetworkManager.c
487                 - (main): pass the vpn_manager to the policy so it knows about active
488                         VPN connections; clean up the named manager which wasn't done before
489
490         * src/NetworkManagerPolicy.c
491           src/NetworkManagerPolicy.h
492                 - (nm_policy_new): get a clue about the vpn_manager
493                 - (update_default_route): remove, fold into update_routing_and_dns()
494                 - (update_routing_and_dns): handle active VPN connections too; an
495                         active VPN connection becomes the default route if it does not have
496                         server-specified or user-specified custom routes.  Otherwise, the
497                         best active device gets the default route
498                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
499                    nm_policy_destroy): track VPN connection activation and deactivation
500                         and update the default route when appropriate
501
502         * src/NetworkManagerSystem.c
503           src/NetworkManagerSystem.h
504                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
505                         in the VPN connection itself
506                 - (nm_system_vpn_device_set_from_ip4_config,
507                    nm_system_device_set_from_ip4_config): merge together to make
508                         nm_system_apply_ip4_config()
509                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
510                         via the parent device
511                 - (nm_system_apply_ip4_config): simplify
512                 - (add_ip4_route_to_gateway): new function; add a direct route to the
513                         gateway if needed
514                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
515                         route stuff out into add_ip4_route_to_gateway() for clarity
516
517         * src/nm-device.c
518                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
519
520         * src/vpn-manager/nm-vpn-connection.c
521           src/vpn-manager/nm-vpn-connection.h
522                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
523                    nm_vpn_connection_get_parent_device): add
524                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
525                         device explicit
526                 - (connection_state_changed): update the named manager now that
527                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
528                         useful on errors
529
530         * src/vpn-manager/nm-vpn-manager.c
531           src/vpn-manager/nm-vpn-manager.h
532                 - Add a 'connection-activated' signal
533                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
534                         policy to find out about active VPN connections
535
536 2008-10-10  Tambet Ingo  <tambet@gmail.com>
537
538         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
539         a daemon to prevent NM logging spew on console on startup and shutdown (due
540         to dependency loop between NM and syslog).
541
542 2008-10-10  Alexander Sack  <asac@ubuntu.com>
543
544         Implement managed mode. We bind devices configured in /etc/network/interfaces
545         to their connections by updating wired/wireless setting with the
546         mac address of the device.
547
548         * system-settings/plugins/ifupdown/plugin.c
549                 - (get_net_address_for_udi): implement function to retrieve MAC
550                         address of udi from hal in GByteArray format
551                 - (bind_device_to_connection): bind mac address of device to
552                         wired/wireless system connection
553                 - (hal_device_added_cb): call bind_device_to_connection for
554                         system connections with a matching interface.name
555                 - (hal_device_added_cb): ensure that all code paths
556                         properly free the "iface" string.
557
558 2008-10-10  Alexander Sack  <asac@ubuntu.com>
559
560         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
561         mode of the ifupdown system config plugin.
562
563         * system-settings/plugins/ifupdown/plugin.c
564                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
565                         private unmanage_well_known state field accordingly
566
567 2008-10-10  Alexander Sack  <asac@ubuntu.com>
568
569         Implement unmanaged mode that will prevent all devices in the
570         well_known_udis set from being touched by NetworkManager
571
572         * system-settings/plugins/ifupdown/plugin.c
573                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
574                         unmanage_well_known field used to turn on/off unmanaged
575                         mode
576                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
577                         signal when well_known_udis get added/removed
578                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
579                         if we are in unmanaged mode
580
581 2008-10-10  Alexander Sack  <asac@ubuntu.com>
582
583         Add support to track network devices that have a configuration
584         with a matching interface.name in /etc/network/interfaces
585
586         * system-settings/plugins/ifupdown/plugin.c
587                 - (typedef struct SCPluginIfupdownPrivate): add hash table
588                         to track |well_known_udis|
589                 - (get_iface_for_udi): helper function to get interface.name
590                         for a udi
591                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
592                         that add and remove devices to and from the well_known_udis
593                         set depending on whether their |interface.name| matches
594                         any interface definition in /etc/network/interfaces
595                 - (SCPluginIfupdown_init): connect callbacks from above with
596                         hal_mgr and setup well_known_udis hashtable
597                 - (GObject__dispose): destroy well_known_udis hashtable
598                 - (hal_device_added_cb2): implement wrapper callback with GFunc
599                         signature. user_data is supposed to be a triple (hal_mgr,
600                         config and devtype)
601                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
602                         startup and call hal_device_added_cb2
603
604 2008-10-10  Alexander Sack  <asac@ubuntu.com>
605
606         Remove implementation for not used NMSystemConfigInterface callback functions
607         in ifupdown plugin
608
609         * system-settings/plugins/ifupdown/plugin.c
610                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
611                 - (SCPluginIfupdown_connection_added): removed
612
613 2008-10-08  Dan Williams  <dcbw@redhat.com>
614
615         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
616
617         * src/NetworkManagerUtils.c
618                 - (nm_utils_call_dispatcher): add a 'hostname' action
619
620         * src/NetworkManagerPolicy.c
621                 - (set_system_hostname): dispatch hostname changes
622
623         * callouts/nm-dispatcher-action.c
624                 - (nm_dispatcher_action): handle 'hostname' actions
625
626 2008-10-08  Dan Williams  <dcbw@redhat.com>
627
628         * src/NetworkManagerSystem.c
629                 - (find_route): ref the route so it doesn't get destroyed when the cache
630                         is cleared
631                 - (nm_system_device_set_priority): unref the route here after it's done
632                         being used
633
634 2008-10-08  Dan Williams  <dcbw@redhat.com>
635
636         * src/nm-serial-device.c
637                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
638
639 2008-10-08  Tambet Ingo  <tambet@gmail.com>
640
641         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
642         connection with new settings before saving it.
643
644 2008-10-06  Dan Williams  <dcbw@redhat.com>
645
646         * src/nm-ip4-config.c
647           src/nm-ip4-config.h
648                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
649
650         * src/nm-device-interface.c
651                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
652                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
653                         by using '/' for the object path
654
655         * src/nm-device.c
656                 - (src/nm-device.c): marshal missing/unexported ip4-config through
657                         dbus as '/' since dbus-glib can't handle NULL objects nor can
658                         dbus handle NULL object paths
659
660 2008-10-03  Alexander Sack  <asac@ubuntu.com>
661
662         Implement system hostname support for debian/ubuntu
663
664         * system-settings/plugins/ifupdown/plugin.c
665                 - (GObject__get_property): extend announced capabilities; add
666                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
667                 - (GObject__set_property,write_system_hostname): implement
668                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
669                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
670                    update_system_hostname, get_hostname):
671                         implement hostname property that watches and
672                         parses /etc/hostname
673
674 2008-10-03  Alexander Sack  <asac@ubuntu.com>
675
676         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
677           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
678           system-settings/plugins/ifcfg-fedora/Makefile.am
679           system-settings/src/nm-inotify-helper.c
680           system-settings/src/nm-inotify-helper.h
681           src/Makefile.am
682                 - Move ifcfg-fedora inotify helpers to the system settings service so
683                         they are available to all plugins
684
685 2008-10-03  Alexander Sack  <asac@ubuntu.com>
686
687         Implement support for wep-tx-keyidx in ifupdown system
688         config plugin.
689
690         * system-settings/plugins/ifupdown/parser.c
691                 - (update_wireless_security_setting_from_if_block): introduce
692                         free_type_mapping func table; rename a few local
693                         variables to improve readability; add wpa security mapping
694                         for wep-tx-keyidx property
695                 - (string_to_gpointerint): new function used for the auto_type_mapping
696                         of new wep-tx-keyidx property
697                 - (slist_free_all): free func used for mapped slist types
698
699 2008-10-03  Alexander Sack  <asac@ubuntu.com>
700
701         * system-settings/src/main.c:
702                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
703                         always used as the hash key; fixes a crash when removing wired
704                         devices
705
706 2008-10-02  Dan Williams  <dcbw@redhat.com>
707
708         * src/nm-gsm-device.c
709                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
710                         pass the required GSM secret along via user_data rather than keeping
711                         it around in the private data where it sometimes didn't get cleared
712                 - (real_get_ppp_name): implement using the GSM username
713
714 2008-10-02  Dan Williams  <dcbw@redhat.com>
715
716         * src/ppp-manager/nm-ppp-manager.c
717           src/ppp-manager/nm-ppp-manager.h
718                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
719                         the settings daemon for completely new ones
720                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
721                         local PPP peer name; allow PPP debuging by launching NM with
722                         the environment variable NM_PPP_DEBUG defined
723                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
724                         create_pppd_cmd_line()
725
726         * src/nm-serial-device.c
727           src/nm-serial-device.h
728                 - New 'get_ppp_name' function for subclasses to implement to return the
729                         local PPP peer name
730                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
731                         and pass that name to the PPP manager
732
733         * src/nm-device-ethernet.c
734                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
735                         the local peer name
736
737         * src/nm-cdma-device.c
738                 - (real_get_ppp_name): implement using the CDMA username
739
740 2008-10-02  Dan Williams  <dcbw@redhat.com>
741
742         Patch from Alexander Sack <asac ubuntu com>
743
744         * system-settings/plugins/ifupdown/parser.c
745                 - Implement more graceful ip4 config parsing for cases where
746                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
747                   by using default values
748
749 2008-10-02  Dan Williams  <dcbw@redhat.com>
750
751         * src/NetworkManagerPolicy.c
752                 - (device_state_changed): when marking a connection invalid, clear its
753                         secrets too so that fresh secrets get requested the next time
754
755 2008-10-01  Dan Williams  <dcbw@redhat.com>
756
757         * system-settings/src/dbus-settings.c
758                 - (nm_sysconfig_settings_init): cache system hostname on startup as
759                         a fallback if no plugin provides a hostname
760                 - (get_property): fall back to cached hostname if no plugin provides
761                         a hostname
762
763 2008-10-01  Dan Williams  <dcbw@redhat.com>
764
765         Fix setting value comparison issue that caused some settings to look the
766         same when they were really different (rh #464417)
767
768         * libnm-util/nm-param-spec-specialized.c
769                 - (type_is_fixed_size): return fundamental size of the fixed type too
770                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
771                         in the comparison so that the _entire_ fixed type collection gets
772                         compared rather than just the first 'len1' bytes
773
774 2008-09-30  Dan Williams  <dcbw@redhat.com>
775
776         * src/NetworkManagerPolicy.c
777                 - (lookup_thread_worker): don't store the idle handler ID becuase the
778                         idle handler could have already run and freed the LookupThread
779                         structure
780
781 2008-09-30  Tambet Ingo  <tambet@gmail.com>
782
783         * src/nm-device.c (nm_device_get_priority): Implement.
784         (nm_device_set_ip4_config): Send the device priority to system ip4 
785         config setter.
786
787         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
788         Add priority argument and if it's >= 0, set the priority of the network
789         route added automatically by netlink (or kernel?).
790         (nm_system_device_set_priority): Implement.
791
792         * src/NetworkManagerPolicy.c (get_best_device): Use 
793         nm_device_get_priority() instead of home-grown version. Revert the
794         meaning, best priority is the lowest one.
795
796 2008-09-29  Dan Williams  <dcbw@redhat.com>
797
798         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
799         when it returns EAGAIN (rh #362421)
800
801         * src/nm-device-wifi.c
802                 - (wireless_get_range): try GIWRANGE a few times until the card responds
803                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
804
805 2008-09-28  Dan Williams  <dcbw@redhat.com>
806
807         * src/nm-serial-device.c
808           src/nm-serial-device.h
809                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
810                         cleaned at the right times when subclasses close the serial port too
811                 - (nm_serial_device_send_command): use a default send delay; don't
812                         spin forever on EAGAIN
813                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
814                         remove, no longer used
815                 - (find_response): return the matched response if any
816                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
817                         while doing so
818                 - (wait_for_reply_done): pass the matched response to the callback
819                 - (wait_for_reply_got_data): save the matched response; simplify timeout
820                         handling
821                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
822                         const since they never get modified
823                 - (cleanup_device): split out common cleanup stuff to a new function
824                 - (real_deactivate_quickly, finalize): use cleanup_device()
825
826         * src/nm-gsm-device.c
827                 - (modem_get_reply): remove, unused
828                 - (set_apn): give the card a bit more time to respond
829                 - (manual_registration_again, schedule_manual_registration_again,
830                    manual_registration_response, manual_registration): handle manual
831                         registration timeouts better by retrying registration a few times
832                         because cards are a bit slow after CFUN=1
833                 - (automatic_registration_get_network, get_network_response): use
834                         modem_wait_for_reply() because it interacts better with the serial
835                         buffer and does more intelligent matching; need to wait for 'OK'
836                         rather than just matching terminators
837                 - (schedule_automatic_registration_again,
838                    automatic_registration_response, automatic_registration): retry
839                         registration a few times on timeout or "searching" because cards
840                         take a bit to find a network after being powered up with CFUN=1
841                 - (power_up_response, power_up, init_full_done, enter_pin,
842                    check_pin_done): power up the card with CFUN=1 before trying to
843                         register with the network
844                 - (init_modem_full, init_modem): use more standard 3G init strings
845
846         * src/nm-hso-gsm-device.c
847                 - (modem_get_reply): remove, unused
848                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
849                         modem_wait_for_reply() to match actual responses instead of single
850                         termination characters; it doesn't leave stuff in the serial buffer
851                         that might confuse later calls
852                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
853                         to ensure that the call is really disconnected and not leave extra
854                         stuff in the serial buffer
855
856         * src/nm-cdma-device.c
857                 - (power_up_response, power_up, init_done): try Sierra-style modem
858                         power up before attempting to connect
859
860 2008-09-27  Dan Williams  <dcbw@redhat.com>
861
862         * libnm-util/nm-setting-gsm.c
863                 - (verify): verify GSM network ID
864
865 2008-09-25  Dan Williams  <dcbw@redhat.com>
866
867         * libnm-util/nm-setting-gsm.c
868           libnm-util/nm-setting-gsm.h
869                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
870                         technology terms (bgo #551361)
871
872 2008-09-25  Dan Williams  <dcbw@redhat.com>
873
874         Fix bgo #549401 (inspired by patch from Alexander Sack)
875
876         * src/nm-device-ethernet.c
877                 - (finish_supplicant_task): clean up scheduled tasks and free memory
878                 - (remove_supplicant_interface_error_handler): remove the supplicant
879                         error idle callback too
880                 - (supplicant_interface_release): rename from supplicant_interface_clean
881                         to match nm-device-wifi.c; clean up supplicant interface-related
882                         state tasks when the supplicant interface is disposed of
883                 - (schedule_state_handler): add scheduled tasks to a list so they can
884                         be cleaned up later
885                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
886                    supplicant_iface_connection_state_cb_handler): use
887                         finish_supplicant_task() to clean up each completed task
888                 - (supplicant_iface_connection_error_cb_handler,
889                    supplicant_connection_timeout_cb): clear source id when the task is
890                         complete
891                 - (supplicant_iface_connection_error_cb): save scheduled task id for
892                         later cleanup
893                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
894                         tasks
895
896         * src/nm-device-wifi.c
897                 - (finish_supplicant_task): clean up scheduled tasks and free memory
898                 - (remove_supplicant_interface_error_handler): remove the supplicant
899                         error idle callback too
900                 - (supplicant_interface_release): clean up supplicant interface-related
901                         state tasks when the supplicant interface is disposed of
902                 - (schedule_state_handler): add scheduled tasks to a list so they can
903                         be cleaned up later
904                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
905                    supplicant_iface_connection_state_cb_handler): use
906                         finish_supplicant_task() to clean up each completed task
907                 - (supplicant_iface_connection_error_cb_handler): clear source id when
908                         the task is complete
909                 - (supplicant_iface_connection_error_cb): save scheduled task id for
910                         later cleanup
911                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
912
913 2008-09-24  Tambet Ingo  <tambet@gmail.com>
914
915         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
916         method and get/set hostname property.
917
918 2008-09-24  Tambet Ingo  <tambet@gmail.com>
919
920         * src/supplicant-manager/nm-supplicant-interface.c
921         (nm_supplicant_interface_disconnect): Don't increment the reference 
922         count when disconnecting. The problem is on shutdown, when the replies
923         to these commands do not arrive before NM exits, resulting on never
924         calling supplicant interface's dispose(), which removes the interface
925         from supplicant.
926
927 2008-09-24  Tambet Ingo  <tambet@gmail.com>
928
929         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
930         all the public function arguments.
931
932 2008-09-22  Tambet Ingo  <tambet@gmail.com>
933
934         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
935         "Failure" signal from VPN plugins, store the failure reason, and
936         use it when the state is changed to failure.
937
938         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
939         description.
940
941         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
942         reason to the end of the list to not break the API.
943         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
944         so it can be shared by plugins and daemon.
945
946 2008-09-18  Dan Williams  <dcbw@redhat.com>
947
948         Patch from Alexander Sack <asac@ubuntu.com>
949
950         * configure.in
951           system-settings/plugins/Makefile.am
952           system-settings/plugins/ifupdown/Makefile.am
953           system-settings/plugins/ifupdown/interface_parser.c
954           system-settings/plugins/ifupdown/interface_parser.h
955           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
956           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
957           system-settings/plugins/ifupdown/parser.c
958           system-settings/plugins/ifupdown/parser.h
959           system-settings/plugins/ifupdown/plugin.c
960           system-settings/plugins/ifupdown/plugin.h
961                 - Implement a Debian/Ubuntu legacy network configuration plugin
962                         (gnome.org #551941)
963
964 2008-09-18  Dan Williams  <dcbw@redhat.com>
965
966         Implement support for honoring configured and automatic hostnames, and for
967         setting the configured hostname.
968
969         * introspection/nm-ip4-config.xml
970           src/nm-ip4-config.c
971           src/nm-ip4-config.h
972           src/dhcp-manager/nm-dhcp-manager.c
973                 - Remove useless hostname property; it's not really part of the IPv4
974                         config
975
976         * introspection/nm-settings-system.xml
977           libnm-glib/nm-dbus-settings-system.c
978           libnm-glib/nm-dbus-settings-system.h
979                 - Add SetHostname() call to system settings D-Bus interface
980                 - Add Hostname property to system settings D-Bus interface
981                 - (nm_dbus_settings_system_save_hostname,
982                    nm_dbus_settings_system_get_hostname): implement
983
984         * src/nm-device.c
985           src/nm-device.h
986                 - (nm_device_get_dhcp4_config): implement
987
988         * src/nm-manager.c
989           src/nm-manager.h
990                 - Fetch and track system settings service hostname changes, and proxy
991                         the changes via a GObject property of the manager
992
993         * system-settings/src/nm-system-config-interface.c
994           system-settings/src/nm-system-config-interface.h
995                 - Replace nm_system_config_interface_supports_add() with a capabilities
996                         bitfield
997
998         * system-settings/src/nm-system-config-error.c
999           system-settings/src/nm-system-config-error.h
1000                 - Add additional errors
1001
1002         * system-settings/src/dbus-settings.c
1003           system-settings/src/dbus-settings.h
1004                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1005                         property; first plugin returning a hostname wins
1006                 - (impl_settings_add_connection): use plugin capabilities instead of
1007                         nm_system_config_interface_supports_add()
1008                 - (impl_settings_save_hostname): implement hostname saving
1009
1010         * src/NetworkManagerPolicy.c
1011                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1012                    lookup_thread_die): implement an asynchronous hostname lookup thread
1013                         which given an IPv4 address tries to look up the hostname for that
1014                         address with reverse DNS
1015                 - (get_best_device): split out best device code from
1016                         update_routing_and_dns()
1017                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1018                         to preserve the 127.0.0.1 reverse mapping that so many things require
1019                 - (set_system_hostname): set a given hostname
1020                 - (update_system_hostname): implement hostname policy; a configured
1021                         hostname (from the system settings service) is used if available,
1022                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1023                         If there was no automatically determined hostname, reverse DNS of
1024                         the best device's IP address will be used, and as a last resort the
1025                         hostname 'localhost.localdomain' is set.
1026                 - (update_routing_and_dns): use get_best_device(); update the system
1027                         hostname when the network config changes
1028                 - (hostname_changed): update system hostname if the system settings
1029                         service signals a hostname change
1030                 - (nm_policy_new): list for system settings service hostname changes
1031                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1032                         gets told to die
1033
1034         * system-settings/plugins/keyfile/plugin.c
1035           system-settings/plugins/ifcfg-suse/plugin.c
1036                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1037                         capabilities properties
1038
1039         * system-settings/plugins/ifcfg-fedora/shvar.c
1040                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1041                         writes out /etc/sysconfig/network now
1042
1043         * system-settings/plugins/ifcfg-fedora/plugin.c
1044                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1045                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1046                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1047                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1048                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1049                         hostname get/set and capabilities get
1050
1051 2008-09-18  Dan Williams  <dcbw@redhat.com>
1052
1053         * libnm-util/nm-setting-wireless.c
1054                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1055                         group ciphers if the wireless-security setting explicitly specified
1056                         them, effectively making the default be "all ciphers"  (idea from
1057                         Alexander Sack)
1058
1059 2008-09-15  Dan Williams  <dcbw@redhat.com>
1060
1061         Patch from Alexander Sack <asac@ubuntu.com>
1062
1063         * src/named-manager/nm-named-manager.c
1064                 - (dispatch_resolvconf): respect resolvconf exit code
1065
1066 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1067
1068         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1069         again. Add some debugging.
1070
1071 2008-09-11  Dan Williams  <dcbw@redhat.com>
1072
1073         * system-settings/plugins/keyfile/plugin.c
1074                 - (update_connection_settings): update connection manually, since
1075                         nm_exported_connection_update() does authentication
1076                 - (dir_changed): update_connection_settings() doesn't need to return
1077                         an error
1078
1079 2008-09-09  Dan Williams  <dcbw@redhat.com>
1080
1081         * libnm-glib/nm-vpn-plugin-ui-interface.c
1082           libnm-glib/nm-vpn-plugin-ui-interface.h
1083           libnm-glib/libnm_glib_vpn.ver
1084                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1085                         should clean up resources related to the connection (like keyring
1086                         secrets)
1087                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1088                         should save user-scope secrets (like to the keyring)
1089
1090 2008-09-08  Dan Williams  <dcbw@redhat.com>
1091
1092         Patch from Alexander Sack <asac@ubuntu.com>
1093
1094         * libnm-util/crypto_gnutls.c
1095           libnm-util/crypto_nss.c
1096                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1097
1098         * libnm-util/nm-utils.c
1099           libnm-util/nm-utils.h
1100           libnm-util/libnm-util.ver
1101                 - (nm_utils_init): initialize libnm-util
1102                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1103
1104         * libnm-util/nm-setting-8021x.c
1105                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1106
1107 2008-09-05  Dan Williams  <dcbw@redhat.com>
1108
1109         Patch from Roy Marples <roy@marples.name> and others
1110
1111         * configure.in
1112           src/named-manager/nm-named-manager.c
1113                 - Add support for resolvconf; use --with-resolvconf at configure time
1114                         to enable it
1115
1116 2008-09-05  Dan Williams  <dcbw@redhat.com>
1117
1118         * libnm-util/crypto_nss.c
1119           libnm-util/crypto_gnutls.c
1120           libnm-util/crypto.h
1121                 - (crypto_init): return error when init fails
1122
1123 2008-09-05  Dan Williams  <dcbw@redhat.com>
1124
1125         * libnm-glib/nm-device-wifi.c
1126                 - (access_point_removed_proxy): clean up the active access point too
1127                         just in case the active ap changed signal didn't come through yet
1128                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1129
1130 2008-09-05  Dan Williams  <dcbw@redhat.com>
1131
1132         * libnm-glib/nm-client.c
1133                 - (constructor): get initial state after we know whether NM is running
1134                         or not
1135
1136 2008-09-05  Dan Williams  <dcbw@redhat.com>
1137
1138         * libnm-glib/nm-ip4-config.c
1139           libnm-glib/nm-dhcp4-config.c
1140                 - (finalize): clean up the DBusGProxy
1141
1142 2008-09-04  Dan Williams  <dcbw@redhat.com>
1143
1144         * src/nm-ip4-config.c
1145           src/nm-ip4-config.h
1146                 - (nm_ip4_config_new): don't export over D-Bus here
1147                 - (nm_ip4_config_export): new function; export the config over D-Bus
1148                 - (nm_ip4_config_is_exported): new function
1149
1150         * src/nm-device.c
1151                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1152                         objects by balancing the IP4Config constructor; the device holds
1153                         a reference to the IP4Config already
1154                 - (nm_device_set_ip4_config): export the IP4Config when needed
1155
1156 2008-09-04  Dan Williams  <dcbw@redhat.com>
1157
1158         * src/supplicant-manager/nm-supplicant-settings-verify.c
1159                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1160
1161 2008-09-04  Dan Williams  <dcbw@redhat.com>
1162
1163         * libnm-util/nm-setting-vpn.c
1164           libnm-util/nm-setting-vpn.h
1165                 - Split VPN secrets from VPN data so that settings services can actually
1166                         figure out that they are secrets and store them accordingly
1167
1168         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1169           system-settings/plugins/keyfile/reader.c
1170           system-settings/plugins/keyfile/reader.h
1171           system-settings/plugins/keyfile/writer.c
1172                 - Store VPN secrets separately from VPN data so that they can be fetched
1173                         on demand
1174                 - Implement the get_secrets() call so that (a) secrets don't leak out
1175                         to unprivileged callers, and (b) secrets can be sent to privileged
1176                         callers when needed
1177
1178         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1179                 - Handle split VPN secrets
1180
1181 2008-08-27  Dan Williams  <dcbw@redhat.com>
1182
1183         * system-settings/plugins/ifcfg-fedora/reader.c
1184                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1185
1186 2008-08-27  Dan Williams  <dcbw@redhat.com>
1187
1188         Ensure zombie children get cleaned up.  To get notifications when children
1189         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1190         that requires calling waitpid() yourself if you've removed the child watch
1191         handler before the process has actually died, which NM needs to do in a few
1192         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1193         cleans up after the child when required.  Should fix problems trying to
1194         activate mobile broadband connections after a previous failure.
1195
1196         * src/dhcp-manager/nm-dhcp-dhclient.c
1197           src/dhcp-manager/nm-dhcp-dhcpcd.c
1198                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1199
1200         * src/dhcp-manager/nm-dhcp-manager.c
1201                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1202                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1203                         block on child quitting, since the non-blocking functionality was
1204                         never actually used
1205
1206         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1207                 - (dm_watch_cb): child is already reaped here
1208                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1209
1210         * src/nm-device.c
1211                 - (aipd_cleanup): block until child is dead
1212
1213         * src/named-manager/nm-named-manager.c
1214                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1215                         event bothering to watch the child
1216
1217         * src/ppp-manager/nm-ppp-manager.c
1218                 - (ppp_watch_cb): child is already reaped here
1219                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1220
1221         * src/vpn-manager/nm-vpn-service.c
1222                 - (vpn_service_watch_cb): child is already reaped here
1223                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1224                         status of the child is actually tracked
1225                 - (ensure_killed, finalize): block until child is dead
1226
1227 2008-08-26  Dan Williams  <dcbw@redhat.com>
1228
1229         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1230                 - (update): Update filename of the connection if the connection id
1231                         was changed
1232
1233         * system-settings/plugins/keyfile/plugin.c
1234                 - (dir_changed): first pass at handling connection renames correctly
1235
1236         * system-settings/plugins/keyfile/writer.c
1237           system-settings/plugins/keyfile/writer.h
1238                 - (write_connection): replace '/' with '*' when writing out the filename
1239                         from the connection id
1240
1241 2008-08-26  Dan Williams  <dcbw@redhat.com>
1242
1243         Add connection UUIDs, since connection names can be changed, and since
1244         old-style connection IDs could change over the life of the connection.  The
1245         UUID should be assigned at connection creation time, be stable for a given
1246         connection, and should be unique among all connections for a given settings
1247         service.
1248
1249         * configure.in
1250           libnm-util/Makefile.am
1251                 - Require libuuid
1252
1253         * introspection/nm-exported-connection.xml
1254                 - Remove "GetID" method
1255
1256         * libnm-glib/nm-dbus-connection.c
1257           libnm-glib/nm-settings.c
1258           libnm-glib/nm-settings.h
1259                 - Remove id-related stuff
1260
1261         * libnm-util/nm-utils.c
1262           libnm-util/nm-utils.h
1263           libnm-util/libnm-util.ver
1264                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1265                         utility functions to generate UUIDs
1266
1267         * libnm-util/nm-setting-connection.c
1268           libnm-util/nm-setting-connection.h
1269                 - Add 'uuid' member to the connection setting
1270                 - (verify): require valid 'uuid' for a valid connection
1271
1272         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1273           system-settings/plugins/ifcfg-fedora/reader.c
1274           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1275           system-settings/plugins/ifcfg-suse/parser.c
1276           system-settings/plugins/keyfile/nm-keyfile-connection.c
1277           system-settings/src/main.c
1278                 - Remove id-related stuff
1279                 - Give connections UUIDs where needed
1280
1281 2008-08-25  Dan Williams  <dcbw@redhat.com>
1282
1283         * libnm-util/crypto_gnutls.c
1284           libnm-util/crypto_nss.c
1285                 - (crypto_init, crypto_deinit): refcount init/deinit
1286                 - (crypto_md5_hash): allow NULL salt
1287
1288 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1289
1290         * libnm-glib/Makefile.am
1291           libnm-util/Makefile.am
1292           libnm-glib/libnm_glib.ver
1293           libnm-glib/libnm_glib_vpn.ver
1294           libnm-util/libnm-util.ver
1295                 - Use linker version scripts to control the list of exported 
1296                 symbols. List each exported symbol explicitely.
1297         * libnm-util/Makefile.am
1298                 - Fix compilation of the test-crypto binary. The crypto
1299                 functions are no longer part of the libnm-util API. Add 
1300                 crypto_*.c to test_crypto_SOURCES and link against the correct
1301                 crypto libraries.
1302
1303 2008-08-19  Dan Williams  <dcbw@redhat.com>
1304
1305         * configure.in
1306           test/Makefile.am
1307                 - Don't build test/test-common
1308                 - Remove unused stuff
1309
1310         * test/nm-set-fallback
1311           test/nmtestdevices.c
1312           test/test-common/.cvsignore
1313           test/test-common/Makefile.am
1314           test/test-common/test-common.c
1315           test/test-common/test-common.h
1316                 - delete
1317
1318 2008-08-18  Dan Williams  <dcbw@redhat.com>
1319
1320         * libnm-util/nm-utils.c
1321           libnm-util/nm-utils.h
1322                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1323                         export anything that needs to be converted with this function
1324
1325         * src/dhcp-manager/nm-dhcp-manager.c
1326                 - (garray_to_string): convert a byte array to a UTF-8 string with
1327                         minimal validation; the DHCP client sends it in ASCII anyway
1328                 - (get_option, copy_option): use garray_to_string()
1329
1330 2008-08-18  Dan Williams  <dcbw@redhat.com>
1331
1332         * include/NetworkManager.h
1333           introspection/nm-device.xml
1334                 - Add a "missing firmware" device state reason
1335
1336         * src/NetworkManagerSystem.c
1337           src/NetworkManagerSystem.h
1338                 - (nm_system_device_set_up_down): add a no_firmware argument
1339                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1340                         IFF_UP is ENOENT, that almost always means missing firmware
1341
1342         * src/backends/NetworkManagerGeneric.c
1343           src/nm-device-ethernet.c
1344           src/nm-device-private.h
1345           src/nm-device-wifi.c
1346           src/nm-device.c
1347           src/nm-device.h
1348           src/nm-hso-gsm-device.c
1349           src/vpn-manager/nm-vpn-connection.c
1350                 - Pass no_firmware along; check it where appropriate
1351
1352 2008-08-18  Dan Williams  <dcbw@redhat.com>
1353
1354         Patch from Robert Buchholz <rbu@gentoo.org>
1355
1356         * autogen.sh
1357           configure.in
1358                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1359                         1003.1-1988, allowing for file names longer than 99 characters
1360
1361 2008-08-17  Dan Williams  <dcbw@redhat.com>
1362
1363         * include/NetworkManager.h
1364           introspection/nm-device.xml
1365           src/nm-gsm-device.c
1366                 - Finer-grained GSM registration failure error codes
1367
1368 2008-08-17  Dan Williams  <dcbw@redhat.com>
1369
1370         * callouts/Makefile.am
1371           src/Makefile.am
1372                 - Move dispatcher directory creation to callouts/Makefile.am
1373
1374         * system-settings/plugins/keyfile/Makefile.am
1375                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1376
1377 2008-08-15  Dan Williams  <dcbw@redhat.com>
1378
1379         Do connection sharing in a cleaner manner; all required iptables rules
1380         are now stored in the activation request and pertain only to the device
1381         which is being shared to other computers. (rh #458625)
1382
1383         * src/nm-activation-request.c
1384           src/nm-activation-request.h
1385                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1386                         the activation request which will get torn down automatically when
1387                         the activation request dies
1388                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1389                         is started, and tear them down when sharing is stopped
1390
1391         * src/nm-device.c
1392                 - (start_sharing): start up sharing by doing the required iptables magic
1393                 - (share_init): poke the right bits of the kernel and load the right
1394                         modules for NAT
1395                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1396                         connection if it's a 'shared' connection
1397
1398         * src/NetworkManagerPolicy.c
1399                 - Remove all sharing stuff; done in the device code itself
1400
1401 2008-08-15  Dan Williams  <dcbw@redhat.com>
1402
1403         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1404                 - (create_dm_cmd_line): send the right router address
1405
1406 2008-08-15  Dan Williams  <dcbw@redhat.com>
1407
1408         * src/ppp-manager/nm-ppp-manager.c
1409                 - (pppd_timed_out): ensure timeouts fail the connection
1410
1411 2008-08-14  Dan Williams  <dcbw@redhat.com>
1412
1413         * src/nm-properties-changed-signal.c
1414           src/nm-properties-changed-signal.h
1415                 - Add a property spec flag for "don't export this property" in
1416                         property changed signals
1417
1418         * src/nm-hso-gsm-device.c
1419           src/nm-gsm-device.c
1420           src/nm-cdma-device.c
1421                 - Don't export monitor interface or netdev interface properties
1422
1423 2008-08-14  Dan Williams  <dcbw@redhat.com>
1424
1425         * src/NetworkManagerPolicy.c
1426                 - (update_routing_and_dns): 'hso' devices can be default even if they
1427                         don't have a gateway
1428
1429 2008-08-14  Dan Williams  <dcbw@redhat.com>
1430
1431         * src/nm-device.c
1432                 - (nm_device_deactivate_quickly): tear down activation request after
1433                         calling device-specific deactivation
1434
1435         * src/nm-hso-gsm-device.c
1436                 - (real_deactivate_quickly): terminate connection when deactivating
1437
1438 2008-08-14  Dan Williams  <dcbw@redhat.com>
1439
1440         * src/nm-activation-request.h
1441                 - Add HSO secrets caller
1442
1443         * src/nm-gsm-device.c
1444           src/nm-gsm-device.h
1445                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1446                         something to the callback function
1447                 - (set_apn, set_apn_done): call class dial function, not a static one
1448                 - (nm_gsm_device_class_init): add a class 'dial' function
1449
1450         * src/nm-hal-manager.c
1451                 - (get_hso_netdev): find the hso-driven hardware's net device
1452                 - (modem_device_creator): recognize hso-driven hardware and create the
1453                         right type of device object for it
1454
1455         * src/Makefile.am
1456           src/nm-hso-gsm-device.c
1457           src/nm-hso-gsm-device.h
1458                 - Implement support for devices driven by the 'hso' driver as a subclass
1459                         of NMGsmDevice
1460
1461 2008-08-14  Dan Williams  <dcbw@redhat.com>
1462
1463         * src/NetworkManagerSystem.c
1464                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1465                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1466                         success if the operation really was successful
1467
1468 2008-08-14  Dan Williams  <dcbw@redhat.com>
1469
1470         * src/nm-netlink-monitor.c
1471           src/nm-netlink-monitor.h
1472           src/nm-device-ethernet.c
1473                 - (nm_netlink_monitor_request_status): return an error on failure
1474                 - (constructor): don't segfault on missing error
1475
1476 2008-08-13  Dan Williams  <dcbw@redhat.com>
1477
1478         * callouts/nm-dispatcher-action.c
1479                 - Add IP4 config info to script environment
1480
1481 2008-08-12  Dan Williams  <dcbw@redhat.com>
1482
1483         * src/nm-device.c
1484                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1485                         that want to use DHCP hostnames should use dispatcher scripts
1486                         for that
1487
1488         * src/NetworkManagerSystem.h
1489           src/backends/NetworkManagerArch.c
1490           src/backends/NetworkManagerDebian.c
1491           src/backends/NetworkManagerFrugalware.c
1492           src/backends/NetworkManagerGeneric.c
1493           src/backends/NetworkManagerGeneric.h
1494           src/backends/NetworkManagerGentoo.c
1495           src/backends/NetworkManagerMandriva.c
1496           src/backends/NetworkManagerPaldo.c
1497           src/backends/NetworkManagerRedHat.c
1498           src/backends/NetworkManagerSlackware.c
1499           src/backends/NetworkManagerSuSE.c
1500                 - Remove nm_system_set_hostname(), no longer used
1501           
1502         * src/backends/Makefile.am
1503           src/backends/shvar.c
1504           src/backends/shvar.h
1505                 - Remove shvar.*; no longer used
1506
1507 2008-08-12  Dan Williams  <dcbw@redhat.com>
1508
1509         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1510         hostname is updated at runtime.  Distros or users who want hostname updates
1511         can use dispatcher scripts to update the hostname if they need it.
1512
1513 2008-08-12  Dan Williams  <dcbw@redhat.com>
1514
1515         * introspection/nm-settings-system.xml
1516           system-settings/src/dbus-settings.c
1517           system-settings/src/dbus-settings.h
1518                 - Add a 'Hostname' property (rw) which represents the configured
1519                         hostname and domain of the system, if any
1520
1521         * system-settings/src/nm-system-config-error.c
1522           system-settings/src/nm-system-config-error.h
1523           system-settings/src/nm-system-config-interface.c
1524           system-settings/src/nm-system-config-interface.h
1525                 - Add a 'hostname' property to the plugin interface
1526                 - Add a method to send updated hostname to plugins to save in their
1527                         backing configuration store
1528
1529         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1530           system-settings/plugins/keyfile/plugin.c
1531           system-settings/plugins/keyfile/writer.c
1532           system-settings/plugins/keyfile/writer.h
1533           system-settings/plugins/ifcfg-suse/plugin.c
1534                 - Add minimal hostname support
1535
1536         * system-settings/plugins/ifcfg-fedora/plugin.c
1537                 - Add support for updating system hostname in /etc/sysconfig/network
1538
1539 2008-08-12  Dan Williams  <dcbw@redhat.com>
1540
1541         * system-settings/plugins/ifcfg-fedora/shvar.c
1542           system-settings/plugins/ifcfg-fedora/shvar.c
1543                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1544
1545 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1546
1547         * Makefile.am: Fix distcheck.
1548
1549 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1550
1551         * libnm-glib/*.c. Document some more.
1552
1553 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1554
1555         Start documenting libnm-glib public API using gtk-doc.
1556
1557         * libnm-glib/nm-serial-device.c: 
1558         * libnm-glib/nm-object.c: 
1559         * libnm-glib/nm-gsm-device.c: 
1560         * libnm-glib/nm-device.c: 
1561         * libnm-glib/nm-device-wifi.c: 
1562         * libnm-glib/nm-device-ethernet.c: 
1563         * libnm-glib/nm-client.c: 
1564         * libnm-glib/nm-cdma-device.c: Document the public API.
1565
1566         * docs/libnm-glib/libnm-glib.types: Implement.
1567
1568         * docs/libnm-glib/Makefile.am: Implement.
1569
1570         * autogen.sh: 
1571         * configure.in: 
1572         * Makefile.am: Add gtk-doc support.
1573
1574 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1575
1576         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1577
1578         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1579         the composite result of all the IP4 configurations and call a distro
1580         specific update_resolv_conf().
1581         (update_resolv_conf): Implement one for directly writing to 
1582         /etc/resolv.conf and one for opensuse to call netconfig.
1583
1584 2008-08-11  Dan Williams  <dcbw@redhat.com>
1585
1586         * src/ppp-manager/nm-ppp-manager.c
1587                 - (impl_ppp_manager_need_secrets): pass interface as required
1588
1589 2008-08-11  Dan Williams  <dcbw@redhat.com>
1590
1591         Merge the vpn-properties setting with the vpn setting since it was pointless
1592         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1593         of string:string (instead of string:variant) so that system settings plugins
1594         can have an easier time dealing with the arbitrary key/value pairs.
1595
1596 2008-08-11  Dan Williams  <dcbw@redhat.com>
1597
1598         * libnm-util/nm-utils.c
1599                 - (nm_utils_register_value_transformations): add value transform for
1600                         a hash table of string:string
1601
1602 2008-08-10  Dan Williams  <dcbw@redhat.com>
1603
1604         * libnm-glib/nm-vpn-plugin.c
1605                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1606                         an idle handler so the Connect reply gets delivered before the
1607                         stop StateChanged signal
1608
1609 2008-08-10  Dan Williams  <dcbw@redhat.com>
1610
1611         * src/nm-ip4-config.c
1612                 - (get_property): use common ip4 address/route conversion functions
1613                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1614                         copy the new route here, not take ownership
1615
1616 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1617
1618         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1619         Update the IP4 setting's method name.
1620
1621 2008-08-07  Dan Williams  <dcbw@redhat.com>
1622
1623         * introspection/nm-ip4-config.xml
1624           libnm-glib/libnm-glib-test.c
1625           libnm-glib/nm-ip4-config.c
1626           libnm-glib/nm-ip4-config.h
1627           src/NetworkManagerSystem.h
1628           src/backends/NetworkManagerArch.c
1629           src/backends/NetworkManagerDebian.c
1630           src/backends/NetworkManagerFrugalware.c
1631           src/backends/NetworkManagerGeneric.c
1632           src/backends/NetworkManagerGeneric.h
1633           src/backends/NetworkManagerGentoo.c
1634           src/backends/NetworkManagerMandriva.c
1635           src/backends/NetworkManagerPaldo.c
1636           src/backends/NetworkManagerRedHat.c
1637           src/backends/NetworkManagerSlackware.c
1638           src/backends/NetworkManagerSuSE.c
1639           src/dhcp-manager/nm-dhcp-manager.c
1640           src/nm-device.c
1641           src/nm-ip4-config.c
1642           src/nm-ip4-config.h
1643                 - Remove NIS logic; should be done from dispatcher scripts instead
1644
1645 2008-08-07  Dan Williams  <dcbw@redhat.com>
1646
1647         * src/dhcp-manager/nm-dhcp-manager.c
1648                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1649                         mis-handling of DHCP responses that returned more than one router
1650                         (found by Grant Williamson)
1651
1652 2008-08-07  Dan Williams  <dcbw@redhat.com>
1653
1654         * callouts/nm-dispatcher-action.c
1655                 - (nm_dispatcher_action): grab device path and create the device; pass
1656                         the device's DHCP4 config to script caller
1657                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1658                         scripts
1659
1660         * libnm-glib/nm-dhcp4-config.c
1661           libnm-glib/nm-dhcp4-config.h
1662                 - (nm_dhcp4_config_get_options): expose
1663                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1664
1665 2008-08-07  Dan Williams  <dcbw@redhat.com>
1666
1667         * include/NetworkManager.h
1668                 - Add the DHCP4Config D-Bus interface
1669
1670         * libnm-glib/Makefile.am
1671           libnm-glib/nm-dhcp4-config.c
1672           libnm-glib/nm-dhcp4-config.h
1673                 - Handle DHCP4 config objects exported by NM over D-Bus
1674
1675         * libnm-glib/nm-device.c
1676           libnm-glib/nm-device.h
1677                 - Add a 'dhcp4-config' property
1678
1679         * libnm-glib/libnm-glib-test.c
1680                 - Print out DHCP4 config for devices
1681                 - Fix some crashes when no connections are active
1682
1683         * src/nm-device-interface.c
1684           src/nm-device.c
1685           src/nm-dhcp4-config.c
1686           src/nm-dhcp4-config.h
1687                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1688                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1689                         doesn't let us do when the property type is G_TYPE_OBJECT
1690
1691 2008-08-07  Dan Williams  <dcbw@redhat.com>
1692
1693         * src/NetworkManager.c
1694           src/NetworkManagerSystem.h
1695           src/backends/NetworkManagerArch.c
1696           src/backends/NetworkManagerDebian.c
1697           src/backends/NetworkManagerFrugalware.c
1698           src/backends/NetworkManagerGeneric.c
1699           src/backends/NetworkManagerGeneric.h
1700           src/backends/NetworkManagerGentoo.c
1701           src/backends/NetworkManagerMandriva.c
1702           src/backends/NetworkManagerPaldo.c
1703           src/backends/NetworkManagerRedHat.c
1704           src/backends/NetworkManagerSlackware.c
1705           src/backends/NetworkManagerSuSE.c
1706                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1707
1708 2008-08-06  Dan Williams  <dcbw@redhat.com>
1709
1710         * libnm-glib/nm-ip4-config.c
1711           libnm-glib/nm-ip4-config.h
1712                 - Add 'routes' property
1713
1714         * libnm-util/nm-setting-vpn.c
1715           libnm-util/nm-setting-vpn.h
1716                 - Remove 'routes' property
1717
1718         * libnm-util/nm-setting-ip4-config.c
1719           libnm-util/nm-setting-ip4-config.h
1720                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1721                 - Add 'ignore-auto-routes' property
1722                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1723                         accomodate route metrics
1724                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1725
1726         * libnm-util/nm-utils.c
1727           libnm-util/nm-utils.h
1728                 - Add helpers for marshalling IP4 routes
1729
1730         * src/NetworkManagerUtils.c
1731                 - (nm_utils_merge_ip4_config): handle property renames and new route
1732                         structure
1733
1734         * src/NetworkManagerSystem.c
1735                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1736                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1737
1738         * src/dhcp-manager/nm-dhcp-manager.c
1739                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1740
1741         * system-settings/plugins/ifcfg-fedora/reader.c
1742           system-settings/plugins/ifcfg-fedora/writer.c
1743                 - Handle routes separately from addresses now that routes have a different
1744                         format
1745
1746         * introspection/nm-ip4-config.xml
1747           src/nm-ip4-config.c
1748           src/nm-ip4-config.h
1749                 - Rename internal routing functions
1750                 - 'static-routes' renamed to 'routes'
1751
1752 2008-08-04  Dan Williams  <dcbw@redhat.com>
1753
1754         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1755
1756         * src/NetworkManager.c
1757           src/nm-manager.c
1758           src/nm-manager.h
1759                 - More explicitly make the NMManager a singleton
1760
1761 2008-08-04  Dan Williams  <dcbw@redhat.com>
1762
1763         * libnm-util/nm-connection.c
1764           libnm-util/nm-connection.h
1765                 - (nm_connection_verify): return error on missing 'connection' setting
1766                         (found by Sjoerd Simons)
1767
1768 2008-08-04  Dan Williams  <dcbw@redhat.com>
1769
1770         Handle multiple concurrent PPP connections.
1771
1772         * src/ppp-manager/nm-ppp-manager.c
1773           src/ppp-manager/nm-ppp-manager.h
1774                 - (constructor): only PPP Manager request bus name once; each
1775                         NMPPPManager object gets a unique object path
1776                 - (nm_ppp_manager_class_init, get_property, set_property,
1777                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1778                         at construct time
1779                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1780                         remove timeout until PPP manager gets an IP4 config
1781                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1782                         the plugin can call back to this specific PPP manager instance
1783
1784         * src/nm-device-ethernet.c
1785           src/nm-serial-device.c
1786                 - Pass parent device in nm_ppp_manager_new()
1787
1788         * src/nm-gsm-device.c
1789           src/nm-cdma-device.c
1790                 - (device_state_changed): don't close serial device on NEED_AUTH
1791                         state changed, that's not a failure case like the rest are
1792
1793         * src/ppp-manager/nm-pppd-plugin.c
1794                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1795                         binds one interface to any pppd process, thus the correct index
1796                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1797                         problems; try harder to get a peer address in spite of pppd
1798                 - (plugin_init): use 'ipparam' as the object path back to our specific
1799                         PPP manager instance
1800
1801 2008-08-04  Dan Williams  <dcbw@redhat.com>
1802
1803         * src/ppp-manager/nm-ppp-manager.c
1804                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1805                         since the GSM and CDMA settings now implement need_secrets, we can
1806                         rely on them to do the right thing.  Where secrets are not required,
1807                         just pass empty strings back to the pppd plugin.
1808                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1809                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1810                         on successful IP4 config receipt
1811
1812 2008-08-04  Dan Williams  <dcbw@redhat.com>
1813
1814         * libnm-util/nm-setting-cdma.c
1815           libnm-util/nm-setting-gsm.c
1816                 - (verify): validate username & password if they exist
1817                 - (need_secrets): if username given, require a password too
1818
1819 2008-08-04  Dan Williams  <dcbw@redhat.com>
1820
1821         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1822                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1823                         manpage says about --listen-address without --interface
1824                         (bgo #546033)
1825
1826 2008-08-01  Dan Williams  <dcbw@redhat.com>
1827
1828         * libnm-glib/nm-device.c
1829                 - (proxy_get_string): util function for querying a HAL property
1830                 - (get_ancestor_device): split out from get_product_and_vendor()
1831                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1832                         from PCI devices by querying subsys properties
1833                 - (nm_device_update_description): simplify
1834
1835 2008-08-01  Dan Williams  <dcbw@redhat.com>
1836
1837         * libnm-util/nm-setting-ip4-config.c
1838           libnm-util/nm-setting-ip4-config.h
1839                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1840                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1841                         settings, and they don't necessarily use DHCP.
1842
1843         * src/NetworkManagerPolicy.c
1844           src/nm-device.c
1845           system-settings/plugins/ifcfg-fedora/reader.c
1846           system-settings/plugins/ifcfg-suse/parser.c
1847                 - Fixup for method changes
1848
1849 2008-07-31  Dan Williams  <dcbw@redhat.com>
1850
1851         * src/nm-activation-request.c
1852           src/vpn-manager/nm-vpn-connection.c
1853                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1854                         itself should be attached to the activation request or the VPN
1855                         connection, not the NMConnection object, since the call is not
1856                         expected to live as long as the NMConnection itself
1857
1858 2008-07-31  Dan Williams  <dcbw@redhat.com>
1859
1860         * src/nm-device-wifi.c
1861                 - (real_act_stage2_config): fix issue where association would continue
1862                         even though secrets were needed; 'goto out' was in wrong scope and
1863                         result of handle_auth_or_fail() should have been dumped directly to
1864                         'ret' to ensure that the association was postponed until secrets
1865                         are available
1866
1867 2008-07-31  Dan Williams  <dcbw@redhat.com>
1868
1869         * system-settings/plugins/ifcfg-fedora/plugin.c
1870           system-settings/plugins/ifcfg-fedora/reader.c
1871                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1872                         valid NM connection
1873
1874 2008-07-29  Dan Williams  <dcbw@redhat.com>
1875
1876         * src/nm-gsm-device.c
1877                 - (automatic_registration_response, automatic_registration): recognize
1878                         denied registration and reorder responses
1879
1880 2008-07-29  Dan Williams  <dcbw@redhat.com>
1881
1882         * src/nm-serial-device.c
1883                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1884                         time(2) is used for current time, which returns seconds, we shouldn't
1885                         be multiplying by 1000.
1886
1887 2008-07-28  Dan Williams  <dcbw@redhat.com>
1888
1889         Patch from Fabrice Bellet <fabrice@bellet.info>
1890
1891         * src/NetworkManagerSystem.c
1892                 - (route_in_same_subnet): mask addresses and compare them so that the
1893                         function actually does what it says it's going to do (rh #456685)
1894
1895 2008-07-27  Dan Williams  <dcbw@redhat.com>
1896
1897         * libnm-util/nm-setting-ip6-config.c
1898                 - (set_property): add missing break that caused routes to be overwritten
1899                         with addresses
1900
1901         * libnm-util/nm-setting-ip6-config.c
1902                 - (verify): validate routes and return GError everywhere on invalid setting
1903                 - (finalize): don't leak routes
1904                 - (set_property): add missing break that caused routes to be overwritten
1905                         with addresses
1906
1907 2008-07-27  Dan Williams  <dcbw@redhat.com>
1908
1909         * libnm-util/*
1910                 - Relicense to LGPLv2+
1911
1912 2008-07-27  Dan Williams  <dcbw@redhat.com>
1913
1914         * system-settings/plugins/ifcfg-fedora/reader.c
1915                 - (make_ip4_setting): fix parsing automatic configs
1916
1917 2008-07-27  Dan Williams  <dcbw@redhat.com>
1918
1919         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1920           src/nm-device.c
1921           src/ppp-manager/nm-ppp-manager.c
1922                 - Ensure child process gets reaped.  The child watch function may be
1923                         removed from the mainloop before the child gets killed, so we have
1924                         to make sure the child is reaped when it's told to die intentionally
1925
1926 2008-07-27  Dan Williams  <dcbw@redhat.com>
1927
1928         Patch from Roy Marples <roy@marples.name>
1929
1930         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1931                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1932
1933 2008-07-27  Dan Williams  <dcbw@redhat.com>
1934
1935         * src/nm-gsm-device.c
1936                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1937                         Huawei devices turn echo back on after CPIN (rh #456770)
1938
1939 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1940
1941         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1942         format argument to g_set_error() call.
1943
1944         * src/backends/interface_parser.[ch]: Remove.
1945
1946         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1947
1948 2008-07-21  Dan Williams  <dcbw@redhat.com>
1949
1950         * src/ppp-manager/nm-ppp-manager.c
1951                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1952                         to prevent pppd from picking up some random local address from an
1953                         interface that doesn't have anything to do with the one we're
1954                         interested in (rh #455348)
1955
1956 2008-07-17  Dan Williams  <dcbw@redhat.com>
1957
1958         * libnm-util/nm-utils.c
1959                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1960                         by locale
1961                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1962                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1963
1964 2008-07-17  Dan Williams  <dcbw@redhat.com>
1965
1966         * introspection/Makefile.am
1967           introspection/nm-device.xml
1968           introspection/nm-dhcp4-config.xml
1969                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1970                         itself
1971         * src/nm-device-interface.c
1972           src/nm-device-interface.h
1973                 - Add the DHCP4Config property
1974
1975         * src/nm-device.c
1976                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1977                         D-Bus clients when it changes
1978
1979         * src/nm-dhcp4-config.c
1980           src/nm-dhcp4-config.h
1981                 - Simple object to store DHCP4 options, export them over D-Bus, and
1982                         notify when they change
1983
1984         * src/dhcp-manager/nm-dhcp-manager.c
1985           src/dhcp-manager/nm-dhcp-manager.h
1986                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1987                         filter server-returned DHCP options into an NMDHCP4Config object
1988
1989 2008-07-16  Dan Williams  <dcbw@redhat.com>
1990
1991         * introspection/nm-device.xml
1992                 - Add device state reasons
1993
1994 2008-07-16  Dan Williams  <dcbw@redhat.com>
1995
1996         Patch from Roy Marples <roy@marples.name>
1997
1998         * configure.in
1999                 - Add --with-dhcp-client option
2000
2001         * src/dhcp-manager/Makefile.am
2002                 - pass DHCP_CLIENT_PATH on compile line
2003
2004         * src/dhcp-manager/nm-dhcp-manager.c
2005           src/dhcp-manager/nm-dhcp-manager.h
2006                 - Genericize for both dhcpcd and dhclient
2007
2008         * src/dhcp-manager/nm-dhcp-dhclient.c
2009                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2010
2011         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2012                 - Implement support for dhcpcd too
2013
2014 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2015
2016         * system-settings/src/nm-system-config-interface.c 
2017         (nm_system_config_interface_supports_add): Implement.
2018         (nm_system_config_interface_add_connection): Return a boolean to notify
2019         of errors.
2020
2021         * system-settings/src/nm-polkit-helpers.c: 
2022         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2023         a separate file.
2024
2025         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2026         Return an error when none of the plugins support add or if addition
2027         failed for some reason.
2028
2029         * system-settings/src/nm-system-config-error.h: 
2030         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2031         here from nm-polkit-helpers.[ch].
2032
2033         * system-settings/src/Makefile.am: Build new files.
2034
2035         * system-settings/plugins/keyfile/reader.c 
2036         (read_array_of_array_of_uint): Make it more general so that it would
2037         work for routes as well.
2038
2039         * system-settings/plugins/keyfile/writer.c
2040         (write_array_of_array_of_uint): Ditto.
2041         Fix the netmask/prefix writing.
2042
2043         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2044         boolean to notify errors.
2045
2046         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2047         Return more specific error.
2048         (delete): Ditto.
2049
2050 2008-07-11  Dan Williams  <dcbw@redhat.com>
2051
2052         Modify the NMDevice::state-changed signal to include the previous state
2053         and reason. Enables the applet to provide more information why device
2054         activation failed.
2055
2056 2008-07-09  Dan Williams  <dcbw@redhat.com>
2057
2058         * callouts/Makefile.am
2059           callouts/nm-avahi-autoipd-action.c
2060           callouts/nm-avahi-autoipd.conf
2061                 - avahi-autoipd callout to send options back to NM
2062
2063         * src/autoip.c
2064           src/autoip.h
2065                 - remove
2066
2067         * src/nm-device.c
2068           src/nm-device-private.h
2069           src/nm-manager.c
2070                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2071                         old custom stuff
2072
2073 2008-07-07  Dan Williams  <dcbw@redhat.com>
2074
2075         * system-settings/plugins/ifcfg-fedora/reader.c
2076                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2077                         handle PREFIX too; clean up
2078
2079 2008-07-07  Dan Williams  <dcbw@redhat.com>
2080
2081         Convert to using IPv4 prefixes instead of netmasks.
2082
2083 2008-07-03  Dan Williams  <dcbw@redhat.com>
2084
2085         * libnm-util/nm-setting-ip4-config.c
2086           libnm-util/nm-setting-ip4-config.h
2087                 - Add properties for DHCP Client Identifier and DHCP Hostname
2088
2089         * src/dhcp-manager/nm-dhcp-manager.c
2090           src/dhcp-manager/nm-dhcp-manager.h
2091                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2092                         setting as an argument to pass on to the dhclient config file
2093                         creation function
2094                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2095                         DHCP is torn down
2096                 - (dhclient_run): punt config file handling to create_dhclient_config()
2097                 - (create_dhclient_config): create an interface-specific dhclient
2098                         config file since there may need to be interface-specific options
2099                         passed to dhclient
2100                 - (merge_dhclient_config): merge normal distro dhclient config file and
2101                         add options from the connection
2102                 - (nm_dhcp_device_new): generate the interface specific dhclient
2103                         config file path once
2104                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2105                         dhclient config file path
2106
2107         * src/nm-device.c
2108                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2109                         DHCP manager when starting DHCP
2110
2111 2008-07-02  Dan Williams  <dcbw@redhat.com>
2112
2113         * libnm-util/nm-setting-8021x.c
2114                 - (verify): allow forcing the PEAP label to 0
2115
2116 2008-07-02  Dan Williams  <dcbw@redhat.com>
2117
2118         * introspection/nm-active-connection.xml
2119           introspection/nm-vpn-connection.xml
2120           libnm-glib/nm-active-connection.c
2121           src/nm-activation-request.c
2122           src/nm-active-connection.h
2123           src/vpn-manager/nm-vpn-connection.c
2124                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2125                         and libnm-glib API since sharing didn't get implemented that way
2126
2127 2008-07-02  Dan Williams  <dcbw@redhat.com>
2128
2129         * src/nm-device-wifi.c
2130                 - (can_scan): don't scan when a shared connection is activated since
2131                         that makes drivers mad (causing disconnects); also NM doesn't need
2132                         to hedge against disconnects by keeping up-to-date network topology
2133                         because the connection originates from the local machine, and thus
2134                         there should be no disconnects
2135
2136 2008-07-01  Dan Williams  <dcbw@redhat.com>
2137
2138         Fix mobile broadband username/password issues.  NM was never requesting
2139         mobile broadband secrets, nor was it passing back the username and password
2140         if it had them.
2141
2142         * marshallers/nm-marshal.list
2143                 - Add some new types for activation request objects
2144
2145         * src/nm-activation-request.c
2146           src/nm-activation-request.h
2147                 - (get_secrets_cb): pass the caller type in the signal
2148                 - (nm_act_request_request_connection_secrets): take a caller type, so
2149                         that GetSecrets() reply handlers know who asked for the secrets in
2150                         the first place; use secret hints too so the settings service can
2151                         figure out exactly what NM wants (ie, PIN or the PPP password)
2152
2153         * src/ppp-manager/nm-ppp-manager.c
2154           src/ppp-manager/nm-ppp-manager.h
2155                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2156                         detect needed secrets when the secret could be blank, like GSM/CDMA
2157                         passwords.  So always ask for secrets, and send a hint as to what
2158                         secret we really want.
2159                 - (nm_ppp_manager_update_secrets): make function more generic by making
2160                         the device specific class figure out the username and password, and
2161                         accept an error argument to return back over D-Bus
2162
2163         * src/nm-device-wifi.c
2164                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2165                         nm_act_request_request_connection_secrets()
2166                 - (real_connection_secrets_updated): update for 'caller' changes
2167
2168         * src/nm-device.c
2169           src/nm-device.h
2170                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2171                         for 'caller' changes
2172
2173         * src/nm-device-ethernet.c
2174                 - (real_connection_secrets_updated): update for 'caller' changes and
2175                         move logic for getting PPPoE username and password here before
2176                         calling nm_ppp_manager_update_secrets()
2177                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2178                         nm_act_request_request_connection_secrets()
2179
2180         * src/nm-cdma-device.c
2181                 - (real_connection_secrets_updated): pass username and password back
2182                         to the PPP manager when required
2183
2184         * src/nm-gsm-device.c
2185                 - (enter_pin): send the required secret name to the settings service
2186                 - (real_connection_secrets_updated): pass username and password back
2187                         to the PPP manager when required
2188
2189 2008-06-30  Dan Williams  <dcbw@redhat.com>
2190
2191         * src/nm-device-wifi.c
2192                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2193
2194 2008-06-30  Dan Williams  <dcbw@redhat.com>
2195
2196         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2197         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2198         priv->supplicant.iface.  When either condition is false, the device should
2199         transition back to UNAVAILABLE because it cannot be used.
2200
2201         * src/nm-device-wifi.c
2202                 - (constructor): cleanup; connect to supplicant manager here since the
2203                         supplicant manager is always around
2204                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2205                         ensure the supplicant manager is in the IDLE state
2206                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2207                         cancel any pending scans too
2208                 - (real_bring_up): don't set up the supplicnat interface here, because
2209                         we need the supplicant interface at times when the device may not
2210                         be "up"
2211                 - (real_take_down): just remove the periodic source
2212                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2213                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2214                         do anything if there's no supplicant interface
2215                 - (cleanup_association_attempt): cleanup
2216                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2217                         the interface enters the READY state; transition to UNAVAILABLE
2218                         state when the interface goes down because the device can't be used
2219                         without a supplicant interface
2220                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2221                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2222                         acquire the supplicant interface and transition to DISCONNECTED
2223                         if the radio isn't killed
2224                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2225                 - (state_changed_cb): release any existing supplicant interface; if the
2226                         radio is enabled then try to acquire a new supplicant interface;
2227                         if the radio is enabled and a supplicant interface has been acquired,
2228                         we can transition to DISCONNECTED
2229                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2230                         don't enable the radio, because HAL probably lied to us about the
2231                         killswitch being off.  If bringing the hardware up worked, then
2232                         try to grab a supplicant interface, and if that was successful,
2233                         transition to DISCONNECTED
2234
2235 2008-06-30  Dan Williams  <dcbw@redhat.com>
2236
2237         * src/supplicant-manager/nm-supplicant-interface.c
2238                 - (request_scan_results, nm_supplicant_interface_dispose,
2239                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2240                         the id of the timeout, not a GSource
2241
2242 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2243
2244         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2245         bunch of typoes introduced by "Patch from David Cantrell 
2246         <dcantrell@redhat.com> and me".
2247
2248 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2249
2250         * src/nm-serial-device.c: 
2251         * src/nm-gsm-device.c: 
2252         * src/nm-cdma-device.c: Move the pending call handling to a common location
2253         in serial device. Handle setting device state to failed in one place as well.
2254
2255 2008-06-29  Dan Williams <dcbw@redhat.com>
2256
2257         * src/nm-hal-manager.c
2258                 - Rework killswitch handling to query killswitch status immediately
2259                         when the first killswitch is added, so that rfkill state is
2260                         known as early as possible
2261                 - Also treat failure of GetPower() as rfkill when the dbus method
2262                         call times out (but not when the HAL callout returns an error)
2263
2264 2008-06-26  Dan Williams <dcbw@redhat.com>
2265
2266         Patch from David Cantrell <dcantrell@redhat.com> and me
2267
2268         * include/nm-dbus-glib-types.h
2269                 - Add IP6 address types
2270
2271         * libnm-util/Makefile.am
2272           libnm-util/nm-setting-ip6-config.c
2273           libnm-util/nm-setting-ip6-config.h
2274                 - Add IP6 settings object
2275
2276         * libnm-util/nm-connection.c
2277                 - (register_default_settings): register ip6 settings object
2278
2279         * libnm-util/nm-utils.c
2280           libnm-util/nm-utils.h
2281                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2282                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2283                         ip6 address conversion functions
2284         
2285 2008-06-26  Dan Williams <dcbw@redhat.com>
2286
2287         Patch from David Cantrell <dcantrell@redhat.com>
2288         
2289         * Use inet_ntop() and inet_pton() everwhere and check for errors
2290
2291 2008-06-26  Dan Williams <dcbw@redhat.com>
2292
2293         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2294
2295 2008-06-26  Dan Williams <dcbw@redhat.com>
2296
2297         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2298
2299         * src/nm-device-wifi.c
2300                 - (link_timeout_cb): don't ignore disconnects due to scanning
2301                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2302                         a longer timeout when scanning; avoids case where supplicant can't
2303                         find the AP and just keeps scanning forever but isn't connected
2304
2305 2008-06-26  Dan Williams <dcbw@redhat.com>
2306
2307         Patch from Michael Biebl <biebl@debian.org>
2308
2309         * Clean up build system stuff
2310
2311 2008-06-23  Christian Persch  <chpe@gnome.org>
2312
2313         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2314         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2315         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2316         (impl_get_object):
2317         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2318         (impl_get_object):
2319         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2320         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2321         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2322         (impl_get_object):
2323         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2324         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2325         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2326         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2327         * vpn-daemons/pptp/properties/vpnui_opt.c:
2328         (vpnui_opt_connect_signals):
2329         * vpn-daemons/pptp/properties/vpnui_opt.h:
2330         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2331         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2332         deprecated gtk type macros. Bug #539325.
2333
2334 2008-06-20  Dan Williams  <dcbw@redhat.com>
2335
2336         * libnm-glib/nm-vpn-plugin-ui-interface.c
2337           libnm-glib/nm-vpn-plugin-ui-interface.h
2338                 - 'validity-changed' -> 'changed' to work better with the connection
2339                         editor.  Plugin UI widgets should emit 'changed' whenever their
2340                         UI values change in a meaningful way.
2341                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2342                         update_connection member now returns validity of the UI widget
2343
2344 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2345
2346         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2347
2348 2008-06-17  Dan Williams  <dcbw@redhat.com>
2349
2350         * libnm-glib/nm-vpn-plugin-ui-interface.c
2351           libnm-glib/nm-vpn-plugin-ui-interface.h
2352                 - Add "desc" property for longer descriptions of the VPN plugin
2353
2354 2008-06-16  Dan Williams  <dcbw@redhat.com>
2355
2356         * configure.in
2357           libnm-glib/libnm_glib_vpn.pc.in
2358                 - add a .pc file for libnm_glib_vpn
2359
2360         * libnm-glib/nm-vpn-plugin-ui-interface.c
2361           libnm-glib/nm-vpn-plugin-ui-interface.h
2362                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2363                         rework it substantially
2364
2365 2008-06-12  Dan Williams  <dcbw@redhat.com>
2366
2367         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2368         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2369         returns a descriptive GError when verification fails.
2370
2371 2008-06-11  Dan Williams  <dcbw@redhat.com>
2372
2373         Patch from Tambet Ingo <tambet@gmail.com>
2374
2375         * libnm-util/nm-setting-gsm.c
2376                 - (verify): validate APN
2377
2378         * src/nm-gsm-device.c
2379                 - (manual_registration_done): start setting APN if needed
2380                 - (set_apn, set_apn_done): set the APN
2381                 - (do_dial): use the APN when dialing
2382
2383 2008-06-11  Dan Williams  <dcbw@redhat.com>
2384
2385         * src/NetworkManagerSystem.c
2386                 - (nm_system_device_set_ip4_route,
2387                    nm_system_device_replace_default_ip4_route): check for the right
2388                         return value from rtnl_route_add() to know when to add a gateway
2389                         route (from Tambet)
2390
2391 2008-06-11  Dan Williams  <dcbw@redhat.com>
2392
2393         * src/NetworkManagerPolicy.c
2394                 - do_ipt_cmd -> do_cmd
2395                 - (sharing_init): use do_cmd() instead of system()
2396
2397 2008-06-10  Dan Williams  <dcbw@redhat.com>
2398
2399         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2400         and use "wifi" everwhere instead.
2401
2402 2008-06-10  Dan Williams  <dcbw@redhat.com>
2403
2404         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2405
2406 2008-06-10  Dan Williams  <dcbw@redhat.com>
2407
2408         Patch from Tambet Ingo <tambet@gmail.com>
2409
2410         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2411                 changes.
2412
2413         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2414                 a signal to emit these changes over dbus.
2415
2416         * src/Makefile.am: Genereate nm-serial-device-glue.
2417
2418         * libnm-glib/nm-serial-device.[ch]: Implement.
2419
2420         * libnm-glib/nm-cdma-device.[ch]
2421           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2422
2423         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2424
2425         * introspection/nm-device-serial.xml: Implement.
2426
2427         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2428
2429         * introspection/Makefile.am: Add nm-device-serial.xml.
2430
2431         * include/NetworkManager.h: Add a DBus interface for serial device.
2432
2433 2008-06-10  Dan Williams  <dcbw@redhat.com>
2434
2435         * configure.in
2436                 - Add TARGET_* define to config.h to distinguish distros
2437
2438         * src/dhcp-manager/nm-dhcp-manager.c
2439                 - (dhclient_run): use distro-specific path for dhclient config file
2440
2441 2008-06-09  Dan Williams  <dcbw@redhat.com>
2442
2443         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2444           src/dnsmasq-manager/nm-dnsmasq-manager.h
2445                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2446                         calculate the addresses passed to dnsmasq instead of hard-coding
2447                         them
2448
2449         * src/nm-device.c
2450                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2451                         IP addresses for shared connections to guard against shared
2452                         connection address collisions
2453                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2454                         error conditions
2455                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2456                         the dnsmasq manager
2457
2458 2008-06-09  Dan Williams  <dcbw@redhat.com>
2459
2460         * src/NetworkManagerPolicy.c
2461                 - (update_routing_and_dns): set the default connection _after_ unsetting
2462                         default on all non-default connections so that two connections can
2463                         never be default at the same time
2464                 - (device_state_changed): start and stop connection sharing when
2465                         needed
2466                 - (active_connection_default_changed): restart or stop sharing when
2467                         the default connection changes to keep shared connections always
2468                         NAT-ed through the default connection
2469                 - (check_sharing): handle activation/deactivation of shared connections
2470                 - (sharing_restart): atom-bomb approach to connection sharing until we
2471                         can use libnl; reinit all sharing when the default connection or
2472                         shared connections change
2473                 - (sharing_init, sharing_stop): evil functions that init and deinit
2474                         iptables
2475
2476 2008-06-09  Dan Williams  <dcbw@redhat.com>
2477
2478         * src/nm-activation-request.c
2479           src/nm-activation-request.h
2480                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2481                    nm_act_request_get_device): new functions to facilitate connection
2482                         sharing
2483
2484 2008-06-09  Dan Williams  <dcbw@redhat.com>
2485
2486         * src/nm-device.c
2487                 - (clear_act_request): unset the 'default' property of the activation
2488                         request when clearing it to ensure the property changed signal gets
2489                         delivered and handled
2490
2491 2008-06-09  Dan Williams  <dcbw@redhat.com>
2492
2493         * libnm-glib/nm-device-802-11-wireless.c
2494                 - (access_point_removed_proxy): actually unref the AP after removing
2495                         it from the device's AP list.  Fixes refcounting bug for APs that
2496                         caused them to get mixed up in the applet's menu.
2497
2498 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2499
2500         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2501         (nm_dhcp_device_destroy): Destroy the device options hash table.
2502
2503 2008-06-06  Dan Williams <dcbw@redhat.com>
2504
2505         * system-settings/src/nm-polkit-helpers.c
2506                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2507                         unref the context if the initialization fails; also avoid spew when
2508                         the error isn't set
2509
2510 2008-06-06  Dan Williams <dcbw@redhat.com>
2511
2512         Patch from Tambet Ingo  <tambet@gmail.com>
2513
2514         * src/NetworkManagerSystem.c
2515           src/NetworkManagerSystem.h
2516                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2517                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2518                 - (nm_system_device_set_ip4_route): clean up
2519                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2520
2521         * src/nm-device.c
2522                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2523
2524         * src/vpn-manager/nm-vpn-connection.c
2525                 - (ip_address_to_string): new function
2526                 - (print_vpn_config): use ip_address_to_string
2527                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2528                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2529
2530         * include/NetworkManagerVPN.h
2531                 - Add 'routes' key
2532
2533 2008-06-05  Dan Williams <dcbw@redhat.com>
2534
2535         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2536
2537         * test/nm-tool.c
2538                 - Show which device is the default device
2539
2540 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2541
2542         Fix memory leaks.
2543
2544         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2545         Free data returned from dbus method call.
2546
2547         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2548         dbus_g_method_get_sender() returns a duplicated string, free it 
2549         when done.
2550         (check_polkit_privileges): Looks like policykit sometimes returns
2551         error and non-null return value, don't leak errors in that case.
2552
2553         * system-settings/src/main.c (find_plugin): Don't leak existing 
2554         plugin names.
2555         (load_stuff): Don't leak device list and list items.
2556         (have_connection_for_device): Don't leak connection list.
2557
2558         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2559         Free the data received from g_keyfile_get_*.
2560
2561         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2562         the key when the security object is updated.
2563
2564         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2565         Free data returned from dbus method call.
2566         (iface_state_cb): Ditto.
2567         (add_network_cb): Ditto.
2568         (nm_supplicant_interface_add_cb): Don't make another copy of already
2569         duplicated object path.
2570         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2571         when done.
2572
2573         * src/supplicant-manager/nm-supplicant-config.c 
2574         (ADD_STRING_LIST_VAL): Fix a memory leak.
2575
2576         * src/nm-manager.c (free_get_settings_info): Free the allocated
2577         memory slice.
2578         (list_connections_cb): Free data returned from dbus method call.
2579         (system_settings_get_unmanaged_devices_cb): Ditto.
2580
2581         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2582
2583         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2584         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2585         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2586         of the GList.
2587
2588         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2589         arguments after the object is created.
2590
2591 2008-06-04  Dan Williams <dcbw@redhat.com>
2592
2593         * libnm-util/Makefile.am
2594                 - Don't distribute nm-param-spec-specialized.h
2595
2596 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2597
2598         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2599
2600         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2601         NMIP4Address, update the getters and setters.
2602
2603         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2604         Use the updated NMIP4Config routes api.
2605
2606         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2607         static routes as well.
2608
2609         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2610         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2611         routes api.
2612
2613 2008-05-30  Dan Williams <dcbw@redhat.com>
2614
2615         * src/named-manager/nm-named-manager.c
2616           src/named-manager/nm-named-manager.h
2617                 - Remove stale/obsolete bits for controlling bind over DBus
2618
2619 2008-05-29  Dan Williams <dcbw@redhat.com>
2620
2621         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2622           src/dnsmasq-manager/nm-dnsmasq-manager.h
2623                 - (nm_dnsmasq_manager_new): move iface argument here
2624                 - (constructor): remove, not needed
2625                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2626                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2627
2628         * src/nm-device.c
2629                 - (real_act_stage4_get_ip4_config,
2630                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2631                         changes
2632
2633 2008-05-29  Dan Williams <dcbw@redhat.com>
2634
2635         * src/nm-device.c
2636                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2637                         something happens to dnsmasq
2638                 - (nm_device_new_ip4_shared_config): new function; create a new
2639                         ip4-config for shared connections.  Shared connections always use a
2640                         fixed static IP address.
2641                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2642                         autoip connections by actually using the returned ip4-config and
2643                         not leaking it
2644                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2645                         connections
2646                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2647                         if its active
2648
2649 2008-05-29  Dan Williams <dcbw@redhat.com>
2650
2651         * src/nm-device-802-11-wireless.c
2652                 - (real_get_best_auto_connection): auto-activate 'shared' method
2653                         connections too
2654
2655 2008-05-29  Dan Williams <dcbw@redhat.com>
2656
2657         * libnm-util/nm-setting-ip4-config.c
2658           libnm-util/nm-setting-ip4-config.h
2659                 - Add a 'shared' method to indicate that this connection should be
2660                         brought up with a DHCP and proxy DNS server to facilitate
2661                         connection sharing.
2662                 - (verify): 'shared' method doesn't allow DNS or searches either
2663
2664 2008-05-29  Dan Williams <dcbw@redhat.com>
2665
2666         * configure.in
2667           src/Makefile.am
2668           src/dnsmasq-manager/Makefile.am
2669           src/dnsmasq-manager/nm-dnsmasq-manager.c
2670           src/dnsmasq-manager/nm-dnsmasq-manager.h
2671                 - Add a dnsmasq daemon manager to facilitate connection sharing
2672
2673 2008-05-29  Dan Williams <dcbw@redhat.com>
2674
2675         * src/nm-device-private.h
2676                 - Remove unused prototypes and clean up
2677
2678         * src/nm-device.c
2679                 - Remove anything related to system_config_data, which is no longer used
2680                 - (nm_device_new_ip4_autoip_config): make static
2681
2682 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2683
2684         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2685         (file_changed): Fix a bug where suse system settings plugin didn't
2686         update the connections automatically when the files changed.
2687
2688 2008-05-28  Dan Williams  <dcbw@redhat.com>
2689
2690         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2691
2692 2008-05-28  Dan Williams  <dcbw@redhat.com>
2693
2694         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2695
2696         * src/NetworkManagerSystem.c
2697                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2698                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2699                         was causing -EINVAL errors since the libnl code actually does flush
2700                         the routes on VPN interfaces now
2701
2702         * src/backends/NetworkManagerArch.c
2703           src/backends/NetworkManagerDebian.c
2704           src/backends/NetworkManagerFrugalware.c
2705           src/backends/NetworkManagerGeneric.c
2706           src/backends/NetworkManagerGentoo.c
2707           src/backends/NetworkManagerMandriva.c
2708           src/backends/NetworkManagerPaldo.c
2709           src/backends/NetworkManagerRedHat.c
2710           src/backends/NetworkManagerSlackware.c
2711           src/backends/NetworkManagerSuSE.c
2712                 - (nm_system_device_flush_ip4_routes,
2713                    nm_system_device_flush_ip4_routes_with_iface): remove
2714
2715 2008-05-28  Dan Williams  <dcbw@redhat.com>
2716
2717         * libnm-util/nm-setting-wireless.c
2718           libnm-util/nm-setting-wireless.h
2719                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2720                         'adhoc-create' property, which when TRUE indicates that NM should
2721                         create this connection as an adhoc wifi network if it's not found
2722                         as an adhoc network during scanning.  Can be used to auto-create
2723                         adhoc networks when used in combination with autoconnect.
2724
2725 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2726
2727         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2728
2729         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2730         checked, it doesn't work on some devices.
2731
2732 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2733
2734         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2735         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2736
2737         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2738         Use inet_aton() everywhere to improve error detection.
2739         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2740         provided.
2741
2742 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2743
2744         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2745         Fix a typo.
2746
2747 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2748
2749         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2750         reference counting issue.
2751
2752 2008-05-23  Dan Williams  <dcbw@redhat.com>
2753
2754         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2755
2756         * src/backends/NetworkManagerGeneric.c
2757                 - (nm_generic_enable_loopback): use libnl
2758
2759 2008-05-23  Dan Williams  <dcbw@redhat.com>
2760
2761         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2762
2763         * src/NetworkManagerSystem.h
2764           src/backends/NetworkManagerArch.c
2765           src/backends/NetworkManagerDebian.c
2766           src/backends/NetworkManagerFrugalware.c
2767           src/backends/NetworkManagerGentoo.c
2768           src/backends/NetworkManagerMandriva.c
2769           src/backends/NetworkManagerPaldo.c
2770           src/backends/NetworkManagerRedHat.c
2771           src/backends/NetworkManagerSlackware.c
2772           src/backends/NetworkManagerSuSE.c
2773                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2774                    nm_system_flush_arp_cache): remove, unused
2775
2776         * src/backends/NetworkManagerGeneric.c
2777           src/backends/NetworkManagerGeneric.h
2778                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2779                    nm_generic_flush_arp_cache): remove, unused
2780
2781 2008-05-23  Dan Williams  <dcbw@redhat.com>
2782
2783         * system-settings/plugins/ifcfg-fedora/reader.c
2784                 - (make_ip4_setting): honor PEERDNS setting
2785
2786 2008-05-23  Dan Williams  <dcbw@redhat.com>
2787
2788         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2789
2790         * src/NetworkManagerSystem.c
2791                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2792                         libnl
2793
2794         * src/backends/NetworkManagerArch.c
2795           src/backends/NetworkManagerDebian.c
2796           src/backends/NetworkManagerFrugalware.c
2797           src/backends/NetworkManagerGentoo.c
2798           src/backends/NetworkManagerMandriva.c
2799           src/backends/NetworkManagerPaldo.c
2800           src/backends/NetworkManagerRedHat.c
2801           src/backends/NetworkManagerSlackware.c
2802           src/backends/NetworkManagerSuSE.c
2803                 - (nm_system_device_flush_ip4_addresses,
2804                    nm_system_device_flush_ip4_addresses_with_iface): remove
2805
2806         * src/backends/NetworkManagerGeneric.c
2807                 - (nm_generic_device_flush_ip4_addresses,
2808                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2809
2810 2008-05-23  Dan Williams  <dcbw@redhat.com>
2811
2812         * src/supplicant-manager/nm-supplicant-settings-verify.c
2813                 - Switch 'bssid' from bytes to keyword type
2814                 - (validate_type_keyword): allow NULL keyword lists
2815
2816         * src/supplicant-manager/nm-supplicant-config.c
2817                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2818                         a byte array to string form, which is what the supplicant expects
2819
2820 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2821
2822         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2823         information received from DHCP.
2824
2825         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2826         to make it possible to ignore the DNS information (both servers and 
2827         searches) returned by DHCP server.
2828
2829         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2830         name servers and searches if "ignore_dhcp_dns" is set.
2831
2832         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2833         (nm_ip4_config_reset_searches): Implement.
2834
2835 2008-05-22  Dan Williams  <dcbw@redhat.com>
2836
2837         Remove anything mDNS related.  This is better done from a distro-specific
2838         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2839         avahi, since avahi can handle interface changes just fine using netlink.
2840
2841         * configure.in
2842                 - Remove --with-mdns-provider
2843
2844         * src/NetworkManagerPolicy.c
2845                 - (global_state_changed): don't restart the mdns provider
2846
2847         * src/NetworkManagerSystem.h
2848           src/backends/NetworkManagerArch.c
2849           src/backends/NetworkManagerDebian.c
2850           src/backends/NetworkManagerFrugalware.c
2851           src/backends/NetworkManagerGentoo.c
2852           src/backends/NetworkManagerMandriva.c
2853           src/backends/NetworkManagerPaldo.c
2854           src/backends/NetworkManagerRedHat.c
2855           src/backends/NetworkManagerSlackware.c
2856           src/backends/NetworkManagerSuSE.c
2857                 - (nm_system_restart_mdns_responder): remove
2858
2859         * src/backends/NetworkManagerGeneric.c
2860           src/backends/NetworkManagerGeneric.h
2861                 - (nm_generic_restart_mdns_responder): remove
2862
2863 2008-05-22  Dan Williams  <dcbw@redhat.com>
2864
2865         * configure.in
2866                 - clean up crypto options; just use --with-crypto=nss or
2867                         --with-crypto=gnutls
2868
2869 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2870
2871         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2872         anymore, do it right away.
2873
2874 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2875
2876         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2877         serial device open when we're not connecting or connected.
2878
2879         * src/nm-cdma-device.c (device_state_changed): Ditto.
2880
2881 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2882
2883         Don't remove all devices on waking up, sync with HAL.
2884
2885         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2886         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2887         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2888
2889 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2890
2891         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2892         If the default gateway is unreachable, add a route to gateway and try
2893         again.
2894
2895 2008-05-20  Dan Williams  <dcbw@redhat.com>
2896
2897         * system-settings/plugins/ifcfg-fedora/reader.c
2898                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2899
2900 2008-05-19  Dan Williams  <dcbw@redhat.com>
2901
2902         * system-settings/plugins/ifcfg-fedora/reader.c
2903                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2904                         if the ifcfg doesn't specify one (rh #446527)
2905
2906 2008-05-19  Dan Williams  <dcbw@redhat.com>
2907
2908         Make the system settings service exit when the bus goes away.  Since it's
2909         a bus-activated service, it's lifetime is limited to the bus that activated
2910         it (rh #444976).
2911
2912         * system-settings/src/Makefile.am
2913           system-settings/src/nm-system-config-hal-manager-private.h
2914                 - Remove nm-system-config-hal-manager-private.h
2915
2916         * system-settings/src/nm-system-config-hal-manager.c
2917                 - (nm_system_config_hal_manager_reinit_dbus,
2918                    nm_system_config_hal_manager_deinit_dbus): remove
2919
2920         * system-settings/src/main.c
2921                 - (dbus_reconnect): remove
2922                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2923                 - (destroy_cb): just quit when the bus goes away
2924                 - (start_dbus_service, dbus_init): simplify
2925                 - (main): destroy the wired devices hash table after destroying
2926                         the HAL manager so we don't have to disconnect signals from the
2927                         HAL manager
2928
2929 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2930
2931         Move crypto functions from nm-applet to libnm-util.
2932
2933         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2934         (nm_setting_802_1x_set_client_cert)
2935         (nm_setting_802_1x_set_phase2_ca_cert)
2936         (nm_setting_802_1x_set_phase2_client_cert)
2937         (nm_setting_802_1x_set_private_key)
2938         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2939         file (or private key and it's password), read the certificate data.
2940
2941         * libnm-util/crypto_nss.c: 
2942         * libnm-util/crypto_gnutls.c: 
2943         * libnm-util/crypto.[ch]: Move here from nm-applet.
2944
2945         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2946
2947         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2948         Imlement WPA-EAP configuration reading from sysconfig.
2949
2950 2008-05-16  Dan Williams  <dcbw@redhat.com>
2951
2952         * src/nm-device-802-11-wireless.c
2953                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2954                         wireless
2955
2956 2008-05-14  Dan Williams  <dcbw@redhat.com>
2957
2958         Fix Linus' bug in rh #134886
2959
2960         * src/nm-device-802-3-ethernet.c
2961                 - (constructor): request initial carrier state
2962
2963         * src/nm-netlink-monitor.c
2964                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2965                         signals after refilling the link cache.  Because the refill is a 
2966                         synchronous operation, the normal message hander won't get called
2967                         since libnl has already consumed the messages.
2968                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2969
2970 2008-05-14  Dan Williams  <dcbw@redhat.com>
2971
2972         * src/NetworkManagerSystem.c
2973                 - (nm_system_device_is_up_with_iface): clean up
2974
2975 2008-05-13  Dan Williams  <dcbw@redhat.com>
2976
2977         Fix refcounting issues over sleep/wake when a VPN connection was active that
2978         caused NM to try registering an object path for a device upon wake that was
2979         the same as an already registered object path.
2980
2981         * src/nm-device.c
2982                 - (nm_device_take_down): properly handle cases where the device is
2983                         no longer active but was just active, and therefore must be
2984                         deactivated.  When a device moves to unmanaged mode, this function
2985                         previously would not deactivate the device, because the state was
2986                         already unmanaged by the time this function was called.
2987
2988         * src/vpn-manager/nm-vpn-connection.c
2989                 - (device_state_changed): properly handle multiple devices states in
2990                         which the device is now deactivated.  Code previously didn't handle
2991                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2992                         UNMANAGED states.
2993
2994 2008-05-13  Dan Williams  <dcbw@redhat.com>
2995
2996         * src/nm-device-private.h
2997           src/nm-device.c
2998                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2999
3000         * src/nm-device-802-11-wireless.c
3001                 - (nm_device_802_11_wireless_set_enabled): take devices up
3002                         and down as appropriate for the rfkill state
3003
3004 2008-05-13  Dan Williams  <dcbw@redhat.com>
3005
3006         * marshallers/nm-marshal.list
3007                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3008
3009         * system-settings/plugins/ifcfg-fedora/Makefile.am
3010           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3011           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3012                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3013                         events.  Solely for use watching ifcfg files to pick up changes
3014                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3015
3016         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3017                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3018                         file contents change
3019                 - (finalize): clean up inotify watches
3020                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3021                         and the connection ifcfg for changes on their hardlinks
3022                 - (files_changed_cb): proxy the changed signal back out to listeners
3023
3024         * system-settings/plugins/ifcfg-fedora/plugin.c
3025                 - (dir_changed): 
3026                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3027                         changes
3028                 - (read_one_connection): connect to change signals on the new connection
3029                 - (dir_changed, connection_changed_handler,
3030                    handle_connection_remove_or_new): break out connection change
3031                         handling and connection new/remove handling so it can be used from
3032                         both the GFileMonitor callback and the NMIfcfgConnection changed
3033                         signals
3034
3035         * system-settings/plugins/ifcfg-fedora/reader.c
3036           system-settings/plugins/ifcfg-fedora/reader.h
3037                 - (connection_from_file): return the keyfile path the connection would use
3038
3039 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3040
3041         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3042         single PolKitContext which is shared by all. PolKitContext::unref leaks
3043         just about everything, including all open file descriptiors and results
3044         in 99% cpu usage when data arrives to any of the fds that don't belong
3045         to any context anymore.
3046
3047 2008-05-12  Dan Williams  <dcbw@redhat.com>
3048
3049         * gfilemonitor/glocaldirectorymonitor.c
3050           gfilemonitor/glocaldirectorymonitor.h
3051                 - (g_local_directory_monitor_constructor): actually subscribe to the
3052                         watch
3053                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3054
3055         * gfilemonitor/glocalfilemonitor.c
3056           gfilemonitor/glocalfilemonitor.h
3057                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3058                 - (_g_local_file_monitor_new): ensure that inotify is started up
3059
3060 2008-05-11  Dan Williams  <dcbw@redhat.com>
3061
3062         * configure.in
3063                 - record PolicyKit version
3064
3065         * system-settings/src/nm-polkit-helpers.c
3066                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3067                         with PolicyKit <= 0.6
3068
3069 2008-05-11  Dan Williams  <dcbw@redhat.com>
3070
3071         Update Fedora system-settings plugin to support latest API and use
3072         GFileMonitor rather than home-rolled inotify code.
3073
3074         * system-settings/plugins/ifcfg-fedora/Makefile.am
3075           system-settings/plugins/ifcfg-fedora/common.h
3076           system-settings/plugins/ifcfg-fedora/plugin.c
3077                 - Update to latest system settings plugin API; use GIO instead of
3078                         custom inotify code; use NMIfcfgConnection objects instead of
3079                         ConnectionData structures tacked onto NMConnection objects
3080
3081         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3082           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3083                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3084                         connections
3085
3086         * system-settings/plugins/ifcfg-fedora/reader.c
3087           system-settings/plugins/ifcfg-fedora/reader.h
3088                 - Move ifcfg parsing bits here from parser.c
3089
3090         * system-settings/plugins/ifcfg-fedora/parser.c
3091           system-settings/plugins/ifcfg-fedora/parser.h
3092                 - Remove; most code moved to reader.c
3093
3094 2008-05-11  Dan Williams  <dcbw@redhat.com>
3095
3096         * configure.in
3097           Makefile.am
3098           gfilemonitor/*
3099                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3100                         implementation, so that the same change monitoring code can be used
3101                         on systems without glib-2.14 (like Fedora 8)
3102
3103         * system-settings/plugins/keyfile/Makefile.am
3104           system-settings/plugins/keyfile/plugin.c
3105           system-settings/plugins/ifcfg-suse/Makefile.am
3106           system-settings/plugins/ifcfg-suse/plugin.c
3107                 - Use private gfilemonitor code if GIO is not present
3108
3109 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3110
3111         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3112         NMExportedConnection's 'update' and 'delete' and return error with
3113         descriptive message.
3114
3115 2008-05-08  Dan Williams  <dcbw@redhat.com>
3116
3117         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3118
3119         * src/nm-gsm-device.c
3120           src/nm-cdma-device.c
3121                 - (real_get_best_auto_connection): implement; allow autoconnection
3122                         to GSM & CDMA devices
3123
3124 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3125
3126         Use PolicyKit to authorize the system settings' AddConnection method
3127         and the system settings connections' Update and Delete methods.
3128         
3129         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3130         (impl_exported_connection_delete, nm_exported_connection_update)
3131         (nm_exported_connection_delete): Return boolean and fill GError
3132         to notify the callers of the reasons why it might have failed.
3133
3134         * libnm-glib/nm-dbus-settings-system.c
3135         (nm_dbus_settings_system_add_connection): Return the error from dbus
3136         call so that the callers can see why it failed.
3137
3138         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3139         signatures.
3140
3141         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3142
3143         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3144         abstract base class that checks PolicyKit permissions.
3145
3146         * system-settings/src/dbus-settings.c:
3147         (impl_settings_add_connection): Check the policy before carring out
3148         the request.
3149
3150         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3151         Inherit from NMSysconfigConnection, check the policies before
3152         allowing updating or removing.
3153
3154         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3155         Inherit from NMSysconfigConnection.
3156
3157         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3158         "Delete" methods with async flag so that the implementations can get
3159         access to DBusGMethodInvocation.
3160
3161         * system-settings/src/dbus-settings.c 
3162         (settings_add_connection_check_privileges): Implement.
3163         (impl_settings_add_connection): Check the privileges before adding a new
3164         connection. Improve error reporting.
3165
3166         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3167         async so that the implementation can access DBusGMethodInvocation.
3168
3169         * configure.in: Check for PolicyKit.
3170
3171         * policy/org.freedesktop.network-manager-settings.system.policy: 
3172         New file.
3173
3174         * policy/Makefile.am: Install the policy file.
3175
3176         * configure.in: Add 'policy' subdir.
3177
3178 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3179
3180         Rewrite the suse system settings plugin.
3181
3182         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3183
3184         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3185
3186         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3187
3188         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3189
3190         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3191
3192         * system-settings/src/main.c (load_plugins): Improve error reporting.
3193
3194         * system-settings/src/sha1.[ch] Add.
3195
3196         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3197
3198 2008-05-07  Dan Williams  <dcbw@redhat.com>
3199
3200         * system-settings/plugins/keyfile/reader.c
3201                 - (read_one_setting_value): handle IP address items separately
3202                 - (read_array_of_uint): read IPv4 DNS option as a string array
3203                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3204                         array
3205
3206         * system-settings/plugins/keyfile/writer.c
3207                 - (write_setting_value): handle IP address items separately
3208                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3209                         not an array of uint, so that it's user-editable
3210                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3211                         arrays, so they are user-editable
3212
3213 2008-05-07  Dan Williams  <dcbw@redhat.com>
3214
3215         * system-settings/plugins/keyfile/Makefile.am
3216                 - Change location of the keyfile plugin settings to
3217                         /etc/NetworkManager/system-connections
3218
3219 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3220
3221         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3222
3223         * system-settings/plugins/keyfile/plugin.c: Work with
3224         NMKeyfileConnections.
3225
3226         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3227         Plugins are supposed to return NMExportedConnections now and handle the
3228         updated(), removed(), and GetSecrets().
3229         Store the internal list of connections in hash table to make it easier
3230         to find duplicates.
3231
3232 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3233
3234         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3235         for multiple IP addresses.
3236
3237 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3238
3239         Patch from André Lemos.
3240
3241         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3242         corruption.
3243
3244 2008-05-06  Dan Williams  <dcbw@redhat.com>
3245
3246         * src/dhcp-manager/nm-dhcp-manager.c
3247                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3248                         NMIP4Config to support multiple IP addresses
3249
3250         * src/NetworkManagerUtils.c
3251                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3252
3253         * src/nm-ip4-config.c
3254           src/nm-ip4-config.h
3255                 - Store a list of IPv4 address/netmask/gateway tuples
3256                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3257                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3258                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3259                    nm_ip4_config_set_address): remove
3260                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3261                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3262                         new functions; handle multiple IPv4 addresses
3263
3264         * src/nm-device.c
3265           src/ppp-manager/nm-ppp-manager.c
3266           src/vpn-manager/nm-vpn-connection.c
3267           src/NetworkManagerPolicy.c
3268           test/nm-tool.c
3269           libnm-glib/libnm-glib-test.c
3270                 - update for changes to NMIP4Config for multiple IPv4 addresses
3271
3272         * src/NetworkManagerSystem.c
3273                 - (nm_system_device_set_ip4_route): don't add the route if any address
3274                         is on the same subnet as the destination
3275                 - (check_one_address): ignore the exact match, just match family and
3276                         interface index
3277                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3278                         an interface
3279                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3280                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3281
3282         * introspection/nm-ip4-config.xml
3283                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3284                 - Add 'addresses' property which is an array of (uuu) tuples of
3285                         address/netmask/gateway
3286
3287         * libnm-util/nm-setting-ip4-config.c
3288                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3289
3290         * libnm-glib/nm-ip4-config.c
3291           libnm-glib/nm-ip4-config.h
3292                 - Handle D-Bus interface changes to support multiple IP addresses
3293
3294 2008-05-06  Dan Williams  <dcbw@redhat.com>
3295
3296         * libnm-util/nm-utils.c
3297           libnm-util/nm-utils.h
3298                 - (nm_utils_ip4_addresses_from_gvalue,
3299                    nm_utils_ip4_addresses_to_gvalue): new functions
3300
3301 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3302
3303         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3304         the returned connection paths.
3305
3306 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3307
3308         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3309         "PropertiesChanged" signal signature.
3310
3311         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3312         defined in nm-dbus-glib-types.h.
3313         Don't register the connection on dbus, we're a proxy class to 
3314         communicate with an already registered connection over dbus.
3315
3316 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3317
3318         Implement new subclasses of NMSettings and NMExportedConnection to make
3319         it easier for the applet to access and modify system settings.
3320
3321         * libnm-glib/nm-dbus-connection.[ch]:
3322         * libnm-glib/nm-dbus-settings.[ch]:
3323         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3324
3325         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3326         bindings and glue.
3327
3328         * include/NetworkManager.h: Define the system settings DBus interface.
3329
3330 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3331
3332         Implement additional C API for exported connections to make them identical
3333         with the DBus API. Change the (list_connections) virtual function to be
3334         more usable from C - instead of requiring implementers to return a GPtrArray
3335         of dbus paths, return a list of connections.
3336
3337         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3338         (nm_settings_list_connections):
3339         (nm_exported_connection_new):
3340         (nm_exported_connection_update):
3341         (nm_exported_connection_delete): Implement.
3342
3343         (impl_settings_list_connections):
3344         (impl_exported_connection_update):
3345         (impl_exported_connection_delete): Use the new public functions to make 
3346         sure the C and dbus interfaces stay in sync.
3347
3348         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3349         connections.
3350
3351 2008-05-02  Dan Williams  <dcbw@redhat.com>
3352
3353         * system-settings/plugins/ifcfg-fedora/plugin.c
3354                 - (dispose): use right unref call on the DBusGConnection
3355
3356 2008-05-02  Dan Williams  <dcbw@redhat.com>
3357
3358         * src/nm-serial-device.c
3359                 - (find_terminator): don't compare the whole line, just the size of the
3360                         terminator, since some modems put stuff after the terminator, like
3361                         "CONNECT 9600"
3362
3363 2008-05-01  Dan Williams  <dcbw@redhat.com>
3364
3365         Patch from Michael Biebl <biebl@debian.org>
3366
3367         * callouts/Makefile.am
3368           callouts/org.freedesktop.nm_dispatcher.service.in
3369           system-settings/src/Makefile.am
3370           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3371                 - use the right install location for dbus-activated stuff
3372
3373 2008-04-30  Dan Williams  <dcbw@redhat.com>
3374
3375         * src/nm-gsm-device.c
3376                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3377                         PIN or PUK
3378
3379 2008-04-30  Dan Williams  <dcbw@redhat.com>
3380
3381         * src/nm-manager.c
3382                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3383
3384 2008-04-30  Dan Williams  <dcbw@redhat.com>
3385
3386         * src/nm-device-802-3-ethernet.c
3387           src/nm-device-802-11-wireless.c
3388                 - (real_is_up): return true instead of chaining up to unimplemented
3389                         parent method
3390
3391 2008-04-30  Dan Williams  <dcbw@redhat.com>
3392
3393         * src/NetworkManagerSystem.c
3394           src/NetworkManagerSystem.h
3395                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3396                         functions to check device flags for IFF_UP
3397
3398         * src/nm-serial-device.c
3399                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3400                         implement is_up
3401
3402         * src/nm-device-802-3-ethernet.c
3403           src/nm-device-802-11-wireless.c
3404                 - (real_hw_is_up): call nm_system_device_is_up()
3405
3406         * src/nm-device.c
3407                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3408                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3409                         does not implement
3410
3411 2008-04-29  Dan Williams  <dcbw@redhat.com>
3412
3413         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3414
3415         * marshallers/nm-marshal.list
3416                 - Add marshaller
3417
3418         * src/NetworkManager.c
3419                 - (main): let the NMManager handle the NMHalManager
3420
3421         * src/nm-hal-manager.c
3422           src/nm-hal-manager.h
3423                 - convert to a GObject, and emit singals when stuff changes.  Let the
3424                         NMManager handle the signals, instead of the NMHalManager calling
3425                         into the NMManager.  
3426
3427         * src/nm-manager.c
3428           src/nm-manager.h
3429                 - (remove_one_device): consolidate device removals here
3430                 - (dispose): use remove_one_device()
3431                 - (nm_manager_get_device_by_udi): make static
3432                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3433                         manager for devices at startup or wakeup time
3434                 - (nm_manager_new): create and monitor the HAL manager
3435                 - (hal_manager_udi_added_cb): new function; do what
3436                         nm_manager_add_device() used to do when signalled by the hal manager
3437                 - (hal_manager_udi_removed_cb): new function; do what
3438                         nm_manager_remove_device() used to do when signalled by the hal
3439                         manager
3440                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3441                         hal manager
3442                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3443                         in our device list that aren't known to HAL
3444                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3445                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3446                         commits ago
3447                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3448                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3449                    nm_manager_wireless_hardware_enabled,
3450                    nm_manager_set_wireless_hardware_enabled): remove, unused
3451
3452 2008-04-28  Dan Williams  <dcbw@redhat.com>
3453
3454         Fix the device up/down ambiguities.  Up/down state used to be a
3455         conglomeration of hardware state (IFF_UP) and any device-specific things
3456         (supplicant, periodic timers, etc) that the device used to indicate
3457         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3458         reason, then the device specific stuff wouldn't get run, and the device
3459         would be stuck.
3460
3461         * src/nm-device.c
3462           src/nm-device.h
3463                 - Create hw_is_up, hw_bring_up, and hw_take_down
3464                 - Rename bring_down -> take_down
3465                 - (real_hw_is_up): check interface flags for IFF_UP
3466                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3467                 - (nm_device_is_up): make static; only used locally
3468                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3469                         if the device is already up; if the device isn't up, bring it up
3470                 - (nm_device_hw_take_down): just take down hardware
3471                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3472                 - (nm_device_take_down): always deactivate device when called; always
3473                         try to take hardware down too
3474                 - (nm_device_state_changed): take device down when entering unmanaged
3475                         state from a higher state
3476
3477         * src/nm-device-802-11-wireless.c
3478                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3479                         check IFF_UP really
3480                 - (real_take_down, supplicant_iface_state_cb_handler, 
3481                    supplicant_iface_connection_state_cb_handler,
3482                    supplicant_mgr_state_cb_handler): fix some messages
3483
3484         * src/nm-device-802-3-ethernet.c
3485                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3486                         check IFF_UP really
3487
3488 2008-04-28  Dan Williams  <dcbw@redhat.com>
3489
3490         * src/nm-manager.c
3491           src/nm-manager.h
3492                 - (nm_manager_error_get_type): add new error
3493                 - (nm_manager_remove_device): don't bother taking down the device here,
3494                         the state change from unmanaging the device will do it
3495                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3496                         uses it; when going to sleep, just unmanage the device instead of
3497                         taking it down, because stuff will cleaned up correctly when the
3498                         device gets unmanaged
3499
3500 2008-04-28  Dan Williams  <dcbw@redhat.com>
3501
3502         * src/nm-hal-manager.c
3503                 - (add_initial_devices): convert to a GSourceFunc prototype
3504                 - (nm_manager_state_changed): when coming out of sleep, punt the
3505                         device re-addition to an idle handler to let D-Bus events go out
3506                         first, fixing a potential dbus-glib assert if the old device was
3507                         not yet disposed (due to references held while emitting the D-Bus
3508                         signals) but the new device was found, because the mainloop didn't
3509                         run between signal emission and add_initial_devices()
3510
3511 2008-04-27  Dan Williams  <dcbw@redhat.com>
3512
3513         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3514
3515         * initscript/paldo/NetworkManager.in
3516           initscript/SUSE/networkmanager.in
3517                 - Remove last bits of dhcdbd
3518
3519 2008-04-27  Dan Williams  <dcbw@redhat.com>
3520
3521         * src/nm-device-802-11-wireless.c
3522                 - (link_timeout_cb): don't ask for secrets when disconnected during
3523                         association/authentication phase, drivers are still just too crappy
3524
3525 2008-04-27  Dan Williams  <dcbw@redhat.com>
3526
3527         * Makefile.am
3528           configure.in
3529           dispatcher-daemon/Makefile.am
3530           dispatcher-daemon/NetworkManagerDispatcher.c
3531           initscript/Arch/Makefile.am
3532           initscript/Arch/networkmanager-dispatcher.in
3533           initscript/Gentoo/Makefile.am
3534           initscript/Gentoo/NetworkManagerDispatcher.in
3535           initscript/Mandriva/Makefile.am
3536           initscript/Mandriva/networkmanagerdispatcher.in
3537           initscript/RedHat/Makefile.am
3538           initscript/RedHat/NetworkManagerDispatcher.in
3539           initscript/SUSE/Makefile.am
3540           initscript/SUSE/networkmanager-dispatcher.in
3541           initscript/Slackware/Makefile.am
3542           initscript/Slackware/rc.networkmanager-dispatcher.in
3543           initscript/paldo/Makefile.am
3544           initscript/paldo/NetworkManagerDispatcher.in
3545           man/Makefile.am
3546           man/NetworkManagerDispatcher.8.in
3547                 - Remove the dispatcher daemon
3548
3549 2008-04-27  Dan Williams  <dcbw@redhat.com>
3550
3551         * callouts/Makefile.am
3552           callouts/nm-dispatcher-action.c
3553           callouts/nm-dispatcher-action.h
3554           callouts/nm-dispatcher.conf
3555           callouts/nm-dispatcher.xml
3556           callouts/org.freedesktop.nm_dispatcher.service
3557                 - Re-implement the dispatcher as a system-bus activated service that
3558                         NM calls on-demand, rather than an always running daemon
3559
3560         * src/Makefile.am
3561                 - Add callouts dir to includes to pick up dispatcher defines
3562
3563         * src/nm-device.c
3564                 - (nm_device_state_changed): call dispatcher on device activated/
3565                         deactivated
3566
3567         * src/vpn-manager/nm-vpn-connection.c
3568                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3569                         go up and down
3570
3571         * src/NetworkManagerUtils.c
3572           src/NetworkManagerUtils.h
3573                 - (nm_utils_call_dispatcher): helper to call dispatcher
3574
3575 2008-04-27  Dan Williams  <dcbw@redhat.com>
3576
3577         * src/NetworkManagerUtils.c
3578           src/NetworkManagerUtils.h
3579                 - remove unneeded includes
3580                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3581                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3582                    nm_timeval_cmp, nm_timeval_add): remove, unused
3583                 - clean up formatting
3584                 - (nm_spawn_process): de-uglify
3585
3586         * src/nm-device-802-11-wireless.c
3587                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3588
3589 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3590
3591         * initscript/Gentoo/NetworkManager.in:
3592                 Fix for starting the daemon.
3593
3594 2008-04-25  Dan Williams  <dcbw@redhat.com>
3595
3596         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3597
3598         * src/NetworkManagerSystem.c
3599                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3600
3601 2008-04-25  Dan Williams  <dcbw@redhat.com>
3602
3603         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3604
3605         * src/NetworkManagerSystem.c
3606                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3607                         implementation of nm_system_device_replace_default_route()
3608
3609         * src/NetworkManagerPolicy.c
3610                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3611
3612         * src/backends/NetworkManagerArch.c
3613           src/backends/NetworkManagerDebian.c
3614           src/backends/NetworkManagerFrugalware.c
3615           src/backends/NetworkManagerGeneric.c
3616           src/backends/NetworkManagerGeneric.h
3617           src/backends/NetworkManagerGentoo.c
3618           src/backends/NetworkManagerMandriva.c
3619           src/backends/NetworkManagerPaldo.c
3620           src/backends/NetworkManagerRedHat.c
3621           src/backends/NetworkManagerSlackware.c
3622           src/backends/NetworkManagerSuSE.c
3623                 - (nm_system_device_replace_default_route): remove
3624
3625 2008-04-25  Dan Williams  <dcbw@redhat.com>
3626
3627         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3628
3629         * src/NetworkManagerSystem.c
3630                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3631                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3632                         replace nm_system_device_add_route_via_device_with_iface() in the
3633                         backends
3634
3635         * src/backends/NetworkManagerArch.c
3636           src/backends/NetworkManagerDebian.c
3637           src/backends/NetworkManagerFrugalware.c
3638           src/backends/NetworkManagerGeneric.c
3639           src/backends/NetworkManagerGeneric.h
3640           src/backends/NetworkManagerGentoo.c
3641           src/backends/NetworkManagerMandriva.c
3642           src/backends/NetworkManagerPaldo.c
3643           src/backends/NetworkManagerRedHat.c
3644           src/backends/NetworkManagerSlackware.c
3645           src/backends/NetworkManagerSuSE.c
3646                 - Remove nm_system_device_add_route_via_device_with_iface()
3647
3648 2008-04-25  Dan Williams  <dcbw@redhat.com>
3649
3650         * system-settings/plugins/ifcfg-fedora/parser.c
3651                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3652
3653 2008-04-24  Dan Williams  <dcbw@redhat.com>
3654
3655         * dispatcher-daemon/NetworkManagerDispatcher.c
3656                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3657
3658 2008-04-24  Dan Williams  <dcbw@redhat.com>
3659
3660         * initscript/RedHat/NetworkManager.in
3661           initscript/RedHat/NetworkManagerDispatcher.in
3662                 - Be active at runlevel 2
3663                 - Adjust priorities earlier
3664
3665 2008-04-22  Dan Williams  <dcbw@redhat.com>
3666
3667         * src/NetworkManagerPolicy.c
3668                 - (update_routing_and_dns): when checking for a gateway, look at the
3669                         composite IP4 config, not the connection's ip4-config setting, which
3670                         doesn't include DHCP-returned information
3671
3672 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3673
3674         Implement GKeyFile system settings plugin.
3675         Implement writing system settings (currently supported only by GKeyFile plugin).
3676
3677         * system-settings/src/main.c: 
3678         * system-settings/src/dbus-settings.c: Move the communication with plugins
3679         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3680         plugins for adding/updating/removing connections.
3681
3682         * system-settings/src/nm-system-config-interface.c
3683         (nm_system_config_interface_add_connection): Implement
3684         (nm_system_config_interface_update_connection): Implement.
3685         (nm_system_config_interface_remove_connection): Implement.
3686
3687         * system-settings/plugins/keyfile/Makefile.am:
3688         * system-settings/plugins/keyfile/plugin.[ch]:
3689         * system-settings/plugins/keyfile/writer.[ch]:
3690         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3691
3692         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3693
3694         * configure.in: Generate GKeyFile Makefile.
3695
3696         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3697         corruption, need to duplicate the returned string.
3698         (impl_exported_connection_update): Implement.
3699         (impl_exported_connection_delete): Implement.
3700
3701         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3702
3703         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3704
3705 2008-04-22  Dan Williams  <dcbw@redhat.com>
3706
3707         Patch from Charles R. Anderson (cra@wpi.edu)
3708
3709         * src/NetworkManagerPolicy.c
3710                 - (update_routing_and_dns): don't select devices without a gateway
3711                         as having the default route (rh #437338)
3712
3713 2008-04-21  Dan Williams  <dcbw@redhat.com>
3714
3715         * src/nm-activation-request.c
3716           src/nm-activation-request.h
3717                 - (dispose): ensure to disconnect from the device's state-changed signal
3718                         when appropriate so the signal doesn't get handled by an already
3719                         disposed NMActRequest
3720                 - (device_state_changed): update is_default here too just to make sure
3721                         default is only True when the child device is activated
3722                 - (nm_act_request_set_default): new function
3723
3724         * src/NetworkManagerPolicy.c
3725                 - (update_routing_and_dns): set 'default' on the active connection which
3726                         has the default route and DNS
3727
3728 2008-04-21  Dan Williams  <dcbw@redhat.com>
3729
3730         * src/NetworkManagerPolicy.c
3731                 - (device_state_changed): update routing and DNS when a device goes
3732                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3733
3734 2008-04-21  Dan Williams  <dcbw@redhat.com>
3735
3736         * include/NetworkManager.h
3737                 - Add NMActiveConnectionState enum
3738
3739         * introspection/nm-active-connection.xml
3740           introspection/nm-vpn-connection.xml
3741                 - Add 'State' property for overall active connection state
3742                 - Add 'Default' property, when True means this active connection
3743                         has the default route
3744                 - Add PropertyChanged signals so changes actually go out over the bus
3745
3746         * src/nm-active-connection.h
3747                 - Add defines for State & Default properties
3748
3749         * src/nm-activation-request.c
3750                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3751                         signal to determine active connection state
3752
3753         * src/vpn-manager/nm-vpn-connection.c
3754           src/vpn-manager/nm-vpn-connection.h
3755           src/vpn-manager/nm-vpn-manager.c
3756           src/vpn-manager/nm-vpn-service.c
3757                 - Rename old 'state' to 'vpn-state'
3758                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3759                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3760                         'vpn-state-changed' signal
3761
3762         * libnm-glib/nm-active-connection.c
3763           libnm-glib/nm-active-connection.h
3764                 - Add new 'state' and 'default' properties and accessors
3765
3766         * libnm-glib/nm-vpn-connection.c
3767           libnm-glib/nm-vpn-connection.h
3768                 - Rename old 'state' property to 'vpn-state'
3769                 - Add new 'state' and 'default' properties and accessors
3770
3771 2008-04-21  Dan Williams  <dcbw@redhat.com>
3772
3773         * src/nm-ip4-config.c
3774                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3775                         not specified (rh #443474)
3776
3777 2008-04-20  Dan Williams  <dcbw@redhat.com>
3778
3779         * src/NetworkManagerUtils.c
3780           src/NetworkManagerUtils.h
3781                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3782                         NMSettingIP4Config to an NMIP4Config object
3783
3784         * src/nm-device.c
3785                 - (merge_ip4_config): move to NetworkManagerUtils.c
3786
3787         * src/vpn-manager/nm-vpn-connection.c
3788                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3789                         too
3790
3791 2008-04-18  Dan Williams  <dcbw@redhat.com>
3792
3793         * libnm-util/nm-setting-ppp.c
3794           libnm-util/nm-setting-ppp.h
3795                 - Add 'no-vj-comp' option for TCP header compression
3796                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3797                         uint32
3798
3799 2008-04-18  Dan Williams  <dcbw@redhat.com>
3800
3801         * libnm-util/nm-setting-ppp.c
3802           libnm-util/nm-setting-ppp.h
3803           src/ppp-manager/nm-ppp-manager.c
3804                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3805
3806 2008-04-18  Dan Williams  <dcbw@redhat.com>
3807
3808         * libnm-util/nm-setting-ppp.c
3809           libnm-util/nm-setting-ppp.h
3810           src/ppp-manager/nm-ppp-manager.c
3811                 - Remove the 'usepeerdns' option and always request DNS servers from
3812                         the PPP server; the connection chooses to use/override/ignore the
3813                         DNS servers returned from the PPP server
3814
3815 2008-04-18  Dan Williams  <dcbw@redhat.com>
3816
3817         * libnm-util/nm-setting-ppp.c
3818           libnm-util/nm-setting-ppp.h
3819           src/ppp-manager/nm-ppp-manager.c
3820                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3821                         it seems to have been an erroneous addition to the PPTP plugin in
3822                         the first place (from which the ppp-manager is derived)
3823
3824 2008-04-17  Dan Williams  <dcbw@redhat.com>
3825
3826         * libnm-util/nm-setting-pppoe.c
3827                 - (verify): require a PPP setting too
3828
3829         * src/ppp-manager/nm-ppp-manager.c
3830                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3831                         segfaulting
3832
3833 2008-04-17  Dan Williams  <dcbw@redhat.com>
3834
3835         * src/nm-device.c
3836                 - (nm_device_state_changed): do deactivation and and promotion to
3837                         unavailable here, so that the device gets cleaned up before the
3838                         manager runs and starts emitting signals; do the
3839                         FAILED->DISCONNECTED transition from an idle handler rather than
3840                         immediately to guard against recursion
3841                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3842                         FAILED->DISCONNECTED handler if it's scheduled
3843
3844 2008-04-17  Dan Williams  <dcbw@redhat.com>
3845
3846         * src/nm-device-802-11-wireless.c
3847                 - (state_changed_cb): clear AP list when device transitions to
3848                         unavailable or unmanaged
3849                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3850                         since this is already done in device_cleanup()
3851                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3852                         isn't available or managed
3853                 - (device_cleanup): use remove_all_aps()
3854                 - (remove_all_aps): consolidate code removing all APs
3855
3856 2008-04-17  Dan Williams  <dcbw@redhat.com>
3857
3858         * src/nm-serial-device.c
3859           src/nm-serial-device.h
3860                 - (wait_for_reply_got_data): break input into lines, and search each
3861                         line for responses _and_ terminator strings; also make sure that
3862                         the read loop doesn't continue after the timeout is supposed to fire
3863                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3864
3865         * src/nm-gsm-device.c
3866           src/nm-cdma-device.c
3867                 - Send terminators to nm_serial_device_wait_for_reply()
3868
3869 2008-04-16  Dan Williams  <dcbw@redhat.com>
3870
3871         Patch from 陈鑫 <znscnchen@gmail.com>
3872
3873         * src/ppp-manager/nm-pppd-plugin.c
3874                 - (get_credentials): return correct value for success; handle case where
3875                         pppd just does some checking but doesn't want a password
3876                 - (plugin_init): make CHAP work too
3877
3878 2008-04-16  Dan Williams  <dcbw@redhat.com>
3879
3880         Patch from 陈鑫 <znscnchen@gmail.com>
3881
3882         * src/ppp-manager/nm-ppp-manager.c
3883                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3884
3885 2008-04-16  Dan Williams  <dcbw@redhat.com>
3886
3887         Patch from 陈鑫 <znscnchen@gmail.com>
3888
3889         * src/nm-device-802-3-ethernet.c
3890                 - (real_deactivate_quickly): clear the IP interface name on
3891                         deactivation, otherwise the wrong interface might get used later
3892                         for routing and IP management
3893
3894 2008-04-15  Dan Williams  <dcbw@redhat.com>
3895
3896         * libnm-glib/nm-device.c
3897                 - (get_product_and_vendor): handle serial devices correctly
3898                 - (nm_device_update_description): pass device to get_product_and_vendor()
3899
3900 2008-04-15  Dan Williams  <dcbw@redhat.com>
3901
3902         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3903
3904         * src/NetworkManagerSystem.h
3905           src/backends/NetworkManagerArch.c
3906           src/backends/NetworkManagerDebian.c
3907           src/backends/NetworkManagerFrugalware.c
3908           src/backends/NetworkManagerGeneric.c
3909           src/backends/NetworkManagerGeneric.h
3910           src/backends/NetworkManagerGentoo.c
3911           src/backends/NetworkManagerMandriva.c
3912           src/backends/NetworkManagerPaldo.c
3913           src/backends/NetworkManagerRedHat.c
3914           src/backends/NetworkManagerSlackware.c
3915           src/backends/NetworkManagerSuSE.c
3916           src/nm-device.c
3917                 - (nm_generic_device_add_ip6_link_address,
3918                    nm_system_device_add_ip6_link_address): remove
3919
3920 2008-04-15  Dan Williams  <dcbw@redhat.com>
3921
3922         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3923
3924         * src/backends/NetworkManagerArch.c
3925           src/backends/NetworkManagerDebian.c
3926           src/backends/NetworkManagerFrugalware.c
3927           src/backends/NetworkManagerGeneric.c
3928           src/backends/NetworkManagerGeneric.h
3929           src/backends/NetworkManagerGentoo.c
3930           src/backends/NetworkManagerMandriva.c
3931           src/backends/NetworkManagerPaldo.c
3932           src/backends/NetworkManagerRedHat.c
3933           src/backends/NetworkManagerSlackware.c
3934           src/backends/NetworkManagerSuSE.c
3935           src/NetworkManagerSystem.h
3936                 - flush_routes -> flush_ip4_routes
3937                 - flush_addresses -> flush_ip4_addresses
3938
3939         * src/NetworkManagerSystem.c
3940           src/nm-device.c
3941           src/vpn-manager/nm-vpn-connection.c
3942                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3943
3944 2008-04-15  Dan Williams  <dcbw@redhat.com>
3945
3946         Remove exposure of wireless-tools mode types in the API.
3947
3948         * include/NetworkManager.h
3949                 - Define NM80211Mode enum
3950
3951         * introspection/generic-types.xml
3952                 - Describe NM_802_11_MODE enum
3953                 - Remove IW_MODE_* enum
3954
3955         * introspection/nm-access-point.xml
3956           libnm-glib/nm-access-point.c
3957           libnm-glib/nm-access-point.h
3958                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3959
3960         * introspection/nm-device-802-11-wireless.xml
3961           libnm-glib/nm-device-802-11-wireless.c
3962           libnm-glib/nm-device-802-11-wireless.h
3963                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3964
3965         * libnm-util/nm-setting-wireless.c
3966           src/NetworkManagerAP.c
3967           src/NetworkManagerAP.h
3968           src/nm-device-802-11-wireless.c
3969           src/nm-device-802-11-wireless.h
3970           test/nm-tool.c
3971                 - Use NM80211Mode not IW_MODE_*
3972
3973 2008-04-15  Dan Williams  <dcbw@redhat.com>
3974
3975         Enhance nm-online based on a patch from Bill Nottingham.
3976
3977         * test/nm-online.c
3978                 - Add a '-q' option
3979                 - Add help messages and option summary
3980                 - Add long-format options
3981                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3982
3983 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3984
3985         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3986
3987         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3988
3989 2008-04-15  Dan Williams  <dcbw@redhat.com>
3990
3991         * nm-setting-ip4-config.c
3992                 - (ip4_addresses_from_gvalue): handle NULL address array
3993
3994         * nm-setting-8021x.c
3995                 - (verify_tls, verify_ttls): warn on failed verification
3996
3997 2008-04-10  Dan Williams  <dcbw@redhat.com>
3998
3999         * src/nm-gsm-device.c
4000                 - (automatic_registration): accept "+CREG: 0,0"
4001                 - (automatic_registration_response): fail on "+CREG: 0,0"
4002
4003 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4004
4005         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4006
4007 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4008
4009         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4010         Make it compile again by commenting out broken code that at first didn't work and
4011         now didn't compile either.
4012
4013 2008-04-08  Dan Williams  <dcbw@redhat.com>
4014
4015         * libnm-glib/nm-object-cache.c
4016           libnm-glib/nm-settings.c
4017           src/dhcp-manager/nm-dhcp-manager.c
4018           system-settings/plugins/ifcfg-fedora/plugin.c
4019           system-settings/plugins/ifcfg-suse/plugin.c
4020           system-settings/src/nm-system-config-hal-manager.c
4021           libnm-util/nm-utils.c
4022                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4023                         not threadsafe anyway
4024
4025 2008-04-08  Dan Williams  <dcbw@redhat.com>
4026
4027         * system-settings/src/main.c
4028                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4029                         callbacks take a device type too
4030
4031 2008-04-08  Dan Williams  <dcbw@redhat.com>
4032
4033         The system settings service will now create a new default DHCP connection
4034         for wired devices that have no existing applicable connection.
4035
4036         * system-settings/src/nm-system-config-hal-manager.c
4037           system-settings/src/nm-system-config-hal-manager.h
4038                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4039
4040         * system-settings/src/dbus-settings.c
4041           system-settings/src/dbus-settings.h
4042                 - (nm_sysconfig_settings_get_connections): new function
4043                 - (nm_sysconfig_settings_is_device_managed): new function
4044
4045         * system-settings/src/main.c
4046                 - (load_stuff): check for wired devices that need a default connection
4047                 - (get_details_for_udi): get interface and MAC address from HAL
4048                 - (add_default_dhcp_connection): add a default connection for a wired
4049                         device if needed
4050                 - (device_added_cb, device_removed_cb): do the right thing with
4051                         wired devices and their default connections on HAL device events
4052
4053 2008-04-07  Dan Williams  <dcbw@redhat.com>
4054
4055         * libnm-glib/nm-device.c
4056           libnm-glib/nm-device.h
4057                 - Proxy the 'managed' property
4058
4059 2008-04-07  Dan Williams  <dcbw@redhat.com>
4060
4061         * src/nm-gsm-device.c
4062           src/nm-cdma-device.c
4063                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4064                         handler to transition to DISCONNECTED
4065
4066 2008-04-07  Dan Williams  <dcbw@redhat.com>
4067
4068         Patch from Bill Nottingham
4069
4070         * dispatcher-daemon/NetworkManagerDispatcher.c
4071                 - ignore backup/packaging crufy (rh #440143)
4072
4073 2008-04-07  Dan Williams  <dcbw@redhat.com>
4074
4075         * include/NetworkManager.h
4076                 - Remove the DOWN and CANCELLED device states
4077                 - Add UNMANAGED and UNAVAILABLE device states
4078                 - Document the device states
4079
4080         * introspection/nm-device.xml
4081           src/nm-device-interface.c
4082           src/nm-device-interface.h
4083                 - Add the 'managed' property
4084
4085         * test/nm-tool.c
4086                 - (detail_device): print out device state
4087
4088         * src/NetworkManagerSystem.h
4089           src/backends/NetworkManagerArch.c
4090           src/backends/NetworkManagerDebian.c
4091           src/backends/NetworkManagerFrugalware.c
4092           src/backends/NetworkManagerGentoo.c
4093           src/backends/NetworkManagerMandriva.c
4094           src/backends/NetworkManagerPaldo.c
4095           src/backends/NetworkManagerRedHat.c
4096           src/backends/NetworkManagerSlackware.c
4097           src/backends/NetworkManagerSuSE.c
4098                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4099                    nm_system_device_free_system_config): remove; they were unused and
4100                         their functionality should be re-implemented in each distro's
4101                         system settings service plugin 
4102
4103         * src/nm-gsm-device.c
4104           src/nm-gsm-device.h
4105           src/nm-cdma-device.c
4106           src/nm-cdma-device.h
4107                 - (*_new): take the 'managed' argument
4108
4109         * src/nm-device.c
4110                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4111                 - (nm_device_init): start in unmanaged state, not disconnected
4112                 - (constructor): don't start device until the system settings service
4113                         has had a chance to figure out if the device is managed or not
4114                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4115                         don't set device state here, let callers handle that as appropriate
4116                 - (nm_device_dispose): don't touch the device if it's not managed
4117                 - (set_property, get_property, nm_device_class_init): implement the
4118                         'managed' property
4119                 - (nm_device_state_changed): bring the device up if its now managed,
4120                         and deactivate it if it used to be active
4121                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4122                         with the managed state
4123
4124         * src/nm-hal-manager.c
4125                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4126                         take initial managed state and pass it along to device constructors
4127                 - (create_device_and_add_to_list): get managed state and pass to
4128                         type creators
4129
4130         * src/nm-device-802-11-wireless.c
4131                 - (real_can_activate): fold in most of
4132                         nm_device_802_11_wireless_can_activate()
4133                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4134                 - (link_timeout_cb): instead of deactivating, change device state and
4135                         let the device state handler to it
4136                 - (real_update_hw_address): clean up
4137                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4138                         handler to transition to DISCONNECTED if the device isn't rfkilled
4139
4140         * src/nm-device-802-3-ethernet.c
4141                 - (set_carrier): move above callers and get rid of prototype
4142                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4143                         idle handler to transition to DISCONNECTED if the device has a
4144                         carrier
4145                 - (real_update_hw_address): clean up
4146                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4147                         deactivation directly as deactivation doesn't change state anymore
4148
4149         * src/NetworkManagerPolicy.c
4150                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4151                         the NMManager and wireless devices work that out themselves now
4152                 - (device_state_changed): change to a switch and update for new device
4153                         states
4154                 - (device_carrier_changed): remove; device handles this now through
4155                         state changes
4156                 - (device_added): don't care about carrier any more; the initial
4157                         activation check will happen when the device transitions to
4158                         DISCONNECTED
4159
4160         * src/nm-manager.c
4161                 - (dispose): clear unmanaged devices
4162                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4163                         the managed property on each device when needed
4164                 - (system_settings_properties_changed_cb): handle signals from the
4165                         system settings service
4166                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4167                         getting the unmanaged device list method call
4168                 - (query_unmanaged_devices): ask the system settings service for its
4169                         list of unmanaged devices
4170                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4171                         devices
4172                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4173                         devices directly and let them handle the necessary state transitions
4174                 - (manager_device_state_changed): update for new device states
4175                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4176                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4177                 - (nm_manager_activate_connection): return error if the device is
4178                         unmanaged
4179                 - (nm_manager_sleep): handle new device states correctly; don't change
4180                         the state of unavailable/unmanaged devices
4181
4182         * libnm-glib/nm-device-802-11-wireless.c
4183                 - (state_changed_cb): update for new device states
4184
4185 2008-04-07  Dan Williams  <dcbw@redhat.com>
4186
4187         * marshallers/nm-marshal.list
4188                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4189
4190 2008-04-07  Dan Williams  <dcbw@redhat.com>
4191
4192         * system-settings/src/main.c
4193                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4194                         plugins to the dbus settings object
4195                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4196                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4197                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4198                 - (main): switch default logging to syslog with a 'debug' option to
4199                         output to console; start up the HAL manager
4200
4201 2008-04-07  Dan Williams  <dcbw@redhat.com>
4202
4203         * introspection/nm-settings-system.xml
4204           introspection/Makefile.am
4205                 - Define the unmanaged devices interface for the system settings service
4206
4207         * system-settings/src/nm-system-config-hal-manager.c
4208           system-settings/src/nm-system-config-hal-manager.h
4209           system-settings/src/nm-system-config-hal-manager-private.h
4210           system-settings/src/Makefile.am
4211                 - Add a lightweight HAL manager object for tracking network devices for
4212                         the purpose of determining unmanaged devices and which devices need
4213                         the default DHCP connections
4214
4215         * system-settings/src/nm-system-config-interface.c
4216           system-settings/src/nm-system-config-interface.h
4217                 - (nm_system_config_interface_init): add the HAL manager as an argument
4218                 - (nm_system_config_interface_get_unmanaged_devices): implement
4219                 - Define 'unmanaged-devices-changed' signal
4220
4221         * system-settings/src/dbus-settings.c
4222           system-settings/src/dbus-settings.h
4223                 - Implement the unmanaged devices interface; some cleanups
4224
4225         * system-settings/plugins/ifcfg-suse/plugin.c
4226                 - Fixup for plugin interface changes
4227
4228         * system-settings/plugins/ifcfg-fedora/plugin.c
4229                 - (get_ether_device_udi): new function; find the device that has
4230                         a specified MAC address and return its UDI
4231                 - (get_udi_for_connection): new function; try to find the specific
4232                         device a connection is locked to, if any
4233                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4234                         response to HAL events
4235                 - (get_unmanaged_devices): new function; return unmanaged device list
4236                 - (build_one_connection): set the connection's locked device, if any
4237                 - (write_auto_wired_connection): remove
4238                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4239                 - (handle_connection_changed): alert listeners that the unmanaged device
4240                         list has changed
4241                 - (init): fixup for plugin interface changes, implement unmanaged devices
4242
4243         * system-settings/plugins/ifcfg-fedora/parser.c
4244           system-settings/plugins/ifcfg-fedora/parser.h
4245                 - (connection_data_free): clean up connection UDI
4246
4247 2008-04-07  Dan Williams  <dcbw@redhat.com>
4248
4249         * system-settings/plugins/ifcfg-fedora/parser.c
4250                 - (make_ip4_setting): fix parsing of DNS servers
4251
4252 2008-04-05  Dan Williams  <dcbw@redhat.com>
4253
4254         * Makefile.am
4255           configure.in
4256           marshallers/Makefile.am
4257           marshallers/nm-marshal-main.c
4258           marshallers/nm-marshal.list
4259                 - Consolidate marshallers
4260
4261         * libnm-glib/nm-marshal-main.c
4262           libnm-glib/nm-marshal.list
4263           src/marshallers/Makefile.am
4264           src/marshallers/nm-marshal-main.c
4265           src/marshallers/nm-marshal.list
4266                 - Remove
4267
4268         * libnm-glib/Makefile.am
4269           src/Makefile.am
4270           src/dhcp-manager/Makefile.am
4271           src/ppp-manager/Makefile.am
4272           src/supplicant-manager/Makefile.am
4273           src/vpn-manager/Makefile.am
4274                 - Use consolidated marshallers
4275
4276 2008-04-04  Dan Williams  <dcbw@redhat.com>
4277
4278         * src/nm-hal-manager.c
4279           src/nm-hal-manager.h
4280                 - (hal_init): don't look for hardware here
4281                 - (nm_hal_manager_start): new function; look for hardware here instead,
4282                         which can be done at a later time than hal_init()
4283
4284         * src/NetworkManager.c
4285                 - (main): start HAL manager after entering the main loop
4286
4287 2008-04-03  Dan Williams  <dcbw@redhat.com>
4288
4289         * libnm-glib/nm-settings.c
4290           libnm-glib/nm-settings.h
4291             - (nm_exported_connection_get_id): new function
4292                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4293
4294 2008-04-02  Dan Williams  <dcbw@redhat.com>
4295
4296         * src/nm-device-interface.c
4297           src/nm-device-interface.h
4298           src/nm-device.c
4299           src/nm-device.h
4300                 - Rename check_connection_conflicts() to check_connection_compatible()
4301
4302         * src/nm-device-802-11-wireless.c
4303                 - (real_check_connection_conflicts): remove
4304                 - (real_check_connection_compatible): implement; match MAC address
4305
4306         * src/nm-device-802-3-ethernet.c
4307                 - (real_check_connection_conflicts): remove
4308                 - (real_check_connection_compatible): implement; match MAC address
4309                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4310
4311         * src/nm-manager.c
4312                 - (check_connection_allowed): remove; unused until PolicyKit integration
4313                 - (internal_activate_device): check whether the connection is compatible
4314                         with the device before trying to activate it
4315
4316 2008-04-02  Dan Williams  <dcbw@redhat.com>
4317
4318         * system-settings/plugins/ifcfg-fedora/parser.c
4319                 - (read_mac_address): new function; read in MAC address and stuff it
4320                         into the connection
4321                 - (add_one_wep_key): remove debug spew
4322                 - (make_wireless_security_setting): validate the default TX key; don't
4323                         add the wireless-security setting if the connection doesn't need
4324                         security; don't leak the keys shvarFile on error cases
4325                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4326                         address
4327
4328 2008-04-02  Dan Williams  <dcbw@redhat.com>
4329
4330         * libnm-util/nm-setting-connection.c
4331           libnm-util/nm-setting-connection.h
4332                 - (set_property, get_property, nm_setting_connection_class_init): remove
4333                         the 'lockdown' property; it's functionality will be replaced by
4334                         PolicyKit instead
4335
4336 2008-04-01  Dan Williams  <dcbw@redhat.com>
4337
4338         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4339
4340         * configure.in
4341           initscript/Makefile.am
4342           initscript/Mandriva/Makefile.am
4343           initscript/Mandriva/networkmanager.in
4344           initscript/Mandriva/networkmanagerdispatcher.in
4345           src/backends/Makefile.am
4346           src/backends/NetworkManagerMandriva.c
4347           system-settings/plugins/Makefile.am
4348                 - Add Mandriva support
4349
4350 2008-03-31  Dan Williams  <dcbw@redhat.com>
4351
4352         * src/vpn-manager/nm-vpn-service.c
4353                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4354                         errors can be passed back to the caller; also no longer scheduled
4355                         as an idle handler, but called directly; and bump up VPN service
4356                         spawn timeout, 2s is really short
4357                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4358                         but call it directly so that errors are reported on return from
4359                         ActivateConnection() and don't get lost.  If scheduled as an idle
4360                         handler, clients don't have the time to query NM for the new VPN
4361                         connection's properties before the VPN connection is torn down again
4362                         if the service couldn't be launched, and therefore launch errors
4363                         get lost.
4364
4365 2008-03-31  Dan Williams  <dcbw@redhat.com>
4366
4367         * src/vpn-manager/nm-vpn-connection.c
4368                 - (device_state_changed): send correct state on device failure too
4369                 - (plugin_state_changed): failed state means unexpected disconnection,
4370                         thus if the service goes away while the VPN connection is activated
4371                         that's a failure too
4372
4373 2008-03-31  Dan Williams  <dcbw@redhat.com>
4374
4375         * src/vpn-manager/nm-vpn-manager.c
4376           src/vpn-manager/nm-vpn-manager.h
4377                 - Make VPNManager errors more available; add a service-start-failed error
4378
4379 2008-03-31  Dan Williams  <dcbw@redhat.com>
4380
4381         * libnm-glib/nm-client.c
4382           libnm-glib/nm-client.h
4383                 - (activate_cb): pass the new active connection to callback; fix
4384                         message when no callback is specified
4385
4386 2008-03-30  Dan Williams  <dcbw@redhat.com>
4387
4388         * libnm-util/nm-setting-wireless-security.c
4389                 - (need_secrets): only require key0 if the transmit key index is also
4390                         0
4391                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4392
4393 2008-03-29  Dan Williams  <dcbw@redhat.com>
4394
4395         * libnm-util/nm-setting-8021x.c
4396           libnm-util/nm-setting-ip4-config.c
4397           libnm-util/nm-setting-vpn-properties.c
4398           libnm-util/nm-setting-vpn.c
4399           libnm-util/nm-setting-wireless-security.c
4400           libnm-util/nm-setting-wireless.c
4401           libnm-util/nm-utils.c
4402           src/dhcp-manager/nm-dhcp-manager.c
4403           src/nm-activation-request.c
4404           src/nm-ip4-config.c
4405           src/nm-manager.c
4406           src/nm-properties-changed-signal.c
4407           src/ppp-manager/nm-pppd-plugin.c
4408           src/supplicant-manager/nm-supplicant-interface.c
4409           src/vpn-manager/nm-vpn-connection.c
4410                 - consistently use nm-dbus-glib-types.h
4411
4412 2008-03-29  Dan Williams  <dcbw@redhat.com>
4413
4414         * src/vpn-manager/nm-vpn-connection.c
4415                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4416                         not string
4417
4418         * src/nm-activation-request.c
4419                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4420                         not string
4421
4422 2008-03-29  Dan Williams  <dcbw@redhat.com>
4423
4424         * libnm-glib/nm-device-802-11-wireless.c
4425                 - (access_point_added_proxy): create new APs if not found
4426
4427 2008-03-29  Dan Williams  <dcbw@redhat.com>
4428
4429         * libnm-glib/nm-client.c
4430                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4431                         before freeing them
4432
4433 2008-03-29  Dan Williams  <dcbw@redhat.com>
4434
4435         * system-settings/plugins/ifcfg-fedora/parser.c
4436                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4437                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4438
4439 2008-03-29  Dan Williams  <dcbw@redhat.com>
4440
4441         * system-settings/plugins/ifcfg-fedora/parser.c
4442                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4443
4444 2008-03-27  Dan Williams  <dcbw@redhat.com>
4445
4446         * nm-object.c
4447                 - (nm_object_queue_notify): don't notify multiple times for the same
4448                         property
4449
4450         * nm-object-private.h
4451                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4452                         if it has zero elements
4453
4454         * nm-ip4-config.c
4455                 - (finalize): use g_ptr_array_foreach() when freeing domains
4456                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4457
4458         * nm-active-connection.c
4459                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4460
4461         * nm-device-802-11-wireless.c
4462           nm-device-802-11-wireless.h
4463                 - (nm_device_802_11_wireless_get_access_points): return const; use
4464                         handle_ptr_array_return()
4465
4466         * nm-types.c
4467                 - (nm_object_array_demarshal): always create an array, even of length
4468                         zero, to distinguish between "NM returned no items" and "haven't
4469                         asked NM yet"
4470
4471         * nm-client.c
4472                 - (dispose): free active connections too
4473                 - (proxy_name_owner_changed): free active connections too when NM goes
4474                         away
4475                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4476                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4477
4478 2008-03-26  Dan Williams  <dcbw@redhat.com>
4479
4480         Rework VPN connection handling for a more consistent D-Bus API.  The
4481         VPNManager object has been removed, and active VPN connections are now the
4482         same as any other active connection.  The Manager object's ActivateConnection
4483         and DeactivateConnection methods are used to start and stop a VPN connection,
4484         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4485         When activating a VPN connection, pass the path of the active connection
4486         to which the VPN connection is tied in the 'specific_object' argument.
4487
4488         Consequently, the libnm-glib API has been reworked to match this arrangement,
4489         with the VPNManager object removed, and the NMVPNConnection objects now
4490         being subclasses of NMActiveConnection.
4491
4492 2008-03-25  Dan Williams  <dcbw@redhat.com>
4493
4494         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4495
4496         * initscript/Arch/networkmanager.in
4497           initscript/Arch/networkmanager-dispatcher.in
4498                 - Updates for Arch Linux (gnome.org #523701)
4499
4500 2008-03-25  Dan Williams  <dcbw@redhat.com>
4501
4502         * libnm-glib/nm-ip4-config.c
4503           libnm-glib/nm-active-connection.c
4504           libnm-glib/nm-access-point.c
4505                 - Use nm_object_queue_notify() instead of g_object_notify()
4506
4507         * libnm-glib/nm-device.c
4508                 - (demarshal_ip4_config): distinguish between successful but missing
4509                         ip4-config request, and unsuccessful and missing ip4-config request
4510                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4511                         path
4512                 - Use nm_object_queue_notify() instead of g_object_notify()
4513
4514         * libnm-glib/nm-device-802-11-wireless.c
4515                 - (demarshal_active_ap): distinguish between successfull but missing
4516                         active-ap request, and unsuccessful and missing active-ap request
4517                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4518                         code
4519                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4520                         for the NMClient to notify the device that wireless is disabled,
4521                         and therefore to clear the AP list and active AP
4522                 - Use nm_object_queue_notify() instead of g_object_notify()
4523
4524         * libnm-glib/nm-client.c
4525                 - (poke_wireless_devices_with_rf_status): new function
4526                 - (update_wireless_status): notify wireless devices of the rfkill status
4527                         so they can clean up if needed
4528                 - Use nm_object_queue_notify() instead of g_object_notify()
4529
4530 2008-03-25  Dan Williams  <dcbw@redhat.com>
4531
4532         * libnm-glib/nm-object.c
4533           libnm-glib/nm-object-private.h
4534                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4535                         signals to an idle handler
4536                 - (nm_object_get_property): add a timeout to the D-Bus method call
4537
4538 2008-03-25  Dan Williams  <dcbw@redhat.com>
4539
4540         * introspection/nm-device-cdma.xml
4541           introspection/nm-device-gsm.xml
4542           introspection/Makefile.am
4543           introspection/all.xml
4544                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4545
4546         * src/nm-gsm-device.h
4547           src/nm-gsm-device.c
4548           src/nm-cdma-device.h
4549           src/nm-cdma-device.c
4550           src/Makefile.am
4551                 - Implement PropertiesChanged signals
4552
4553         * libnm-glib/nm-cdma-device.c
4554           libnm-glib/nm-cdma-device.c
4555                 - Attach to PropertiesChanged signals
4556
4557 2008-03-24  Dan Williams  <dcbw@redhat.com>
4558
4559         * libnm-glib/nm-client.c
4560                 - (client_device_added_proxy): add new devices to the internal device
4561                         list so they appear to clients
4562
4563 2008-03-24  Dan Williams  <dcbw@redhat.com>
4564
4565         Massive fixup of libnm-glib to:
4566         a) have all objects (with the exception of VPN) cache their properties and
4567                 update them asynchronously on PropertiesChanged signals from NM
4568         b) return internal const data for most attributes/properties instead of
4569                 allocated values that the caller must free
4570         c) cache wrapped objects such that a given D-Bus path will always map to the
4571                 same GObject returned by libnm-glib
4572         d) remove a few signals and move them to GObject property notifications
4573         e) match recent NM D-Bus API changes for activation/deactivation
4574         f) remove some private functions from libnm-glib headers
4575
4576 2008-03-20  Dan Williams  <dcbw@redhat.com>
4577
4578         * src/nm-manager.c
4579                 - (nm_manager_update_state, manager_device_state_changed,
4580                    nm_manager_activate_device, connection_added_default_handler,
4581                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4582                         queue PropertyChanged singals when the active connections change
4583
4584 2008-03-20  Dan Williams  <dcbw@redhat.com>
4585
4586         * introspection/nm-manager.xml
4587           introspection/nm-manager-client.xml
4588                 - (ActivateConnection): return the object path of the active connection
4589                         on success
4590                 - (GetActiveConnections): remove
4591                 - (DeactivateConnection): new function; deactivate a currently active
4592                         connection
4593                 - Add an ActiveConnections property which returns an array of
4594                         active connection object paths
4595
4596         * introspection/nm-device.xml
4597                 - (Deactivate): remove
4598
4599         * introspection/all.xml
4600                 - Add ActiveConnection introspection
4601
4602         * introspection/nm-active-connection.xml
4603                 - Add the ActiveConnection object
4604
4605         * include/NetworkManager.h
4606                 - Add the Connection.Active D-Bus interface
4607
4608         * src/nm-device-interface.c
4609                 - (impl_device_deactivate): remove
4610
4611         * src/nm-activation-request.c
4612           src/nm-activation-request.c
4613           src/Makefile.am
4614                 - Implement the Connection.Active D-Bus interface
4615
4616         * src/nm-manager.c
4617                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4618                 - (nm_manager_activate_device): return the active connection path
4619                 - (connection_added_default_handler, impl_manager_activate_connection):
4620                         return the active connection to the caller
4621                 - (add_one_connection_element, impl_manager_get_active_connections):
4622                         remove
4623                 - (impl_manager_deactivate_connection): new function; deactivate an
4624                         active connection
4625
4626         * libnm-glib/nm-device.c
4627           libnm-glib/nm-device.h
4628                 - Remove Deactivate() function
4629
4630 2008-03-19  Dan Williams  <dcbw@redhat.com>
4631
4632         * introspection/nm-manager.xml
4633           introspection/nm-manager-client.xml
4634                 - Rename the ActivateDevice method to ActivateConnection to better
4635                         reflect it's usage; it's arguments get reordered a bit too
4636                 - Convert GetActiveConnections method return from a struct to a dict
4637
4638         * include/NetworkManager.h
4639                 - Define the dict keys for return value of GetActiveConnections
4640
4641         * src/nm-manager.c
4642                 - impl_manager_activate_device -> impl_manager_activate_connection
4643                 - (add_one_connection_element): return a populated hash table, not
4644                         a structure
4645
4646         * libnm-glib/nm-client.c
4647           libnm-glib/nm-client.h
4648                 - nm_client_activate_device -> nm_client_activate_connection
4649                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4650                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4651                         instead of the custom structures.  Each element of the returned list
4652                         must be freed with nm_client_free_active_connections_element()
4653
4654 2008-03-18  Dan Williams  <dcbw@redhat.com>
4655
4656         * system-settings/plugins/ifcfg-fedora/parser.c
4657           system-settings/plugins/ifcfg-fedora/parser.h
4658           system-settings/plugins/ifcfg-fedora/plugin.c
4659                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4660                         profiles.  DNS servers and searches must now be stored in the ifcfg
4661                         files themselves
4662
4663 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4664
4665         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4666         print out username and password, it's supposed to be a secret.
4667
4668         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4669         request and set the device state accordingly.
4670
4671 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4672
4673         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4674
4675         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4676
4677 2008-03-18  Dan Williams  <dcbw@redhat.com>
4678
4679         * src/vpn-manager/nm-vpn-connection.c
4680                 - (get_secrets_cb): handle new GetSecrets return format
4681
4682 2008-03-18  Dan Williams  <dcbw@redhat.com>
4683
4684         Adapt system settings service for split 802.1x.
4685
4686         * system-settings/src/nm-system-config-interface.h
4687                 - clarify return value of get_secrets()
4688
4689         * system-settings/src/dbus-settings.c
4690                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4691                 - (check_for_secrets): check if there actually secrets returned by a
4692                         plugin
4693                 - (exported_connection_get_secrets): just return the plugin-returned
4694                         hash of settings' secrets if it looks valid
4695
4696         * system-settings/plugins/ifcfg-fedora/plugin.c
4697                 - (get_secrets): add split secrets with correct format to reply hash
4698
4699         * system-settings/plugins/ifcfg-fedora/parser.c
4700           system-settings/plugins/ifcfg-fedora/parser.h
4701                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4702                    connection_data_free, connection_data_add): keep secrets for
4703                         different settings in different hashes
4704
4705 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4706
4707         Clean up activating device deactivation.
4708
4709         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4710         should be done whether the device activation gets cancelled or the device
4711         is just getting deactivated.
4712         (nm_device_activation_cancel): Remove.
4713         (nm_device_deactivate_quickly): Handle the case where device is activating.
4714
4715         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4716         It does the exact same thing as real_deactivate_quickly().
4717
4718 2008-03-17  Dan Williams  <dcbw@redhat.com>
4719
4720         Split the 802.1x bits out of the wireless-security setting so they are
4721         generalized enough for wired 802.1x to use too.
4722
4723         * introspection/nm-exported-connection.xml
4724                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4725                         of just a hash of the secrets for one setting
4726
4727         * libnm-util/nm-setting-wireless-security.c
4728           libnm-util/nm-setting-wireless-security.h
4729                 - Remove 802.1x-specific stuff
4730                 - Added leap-username and leap-password properties for old-school LEAP
4731
4732         * src/nm-device.c
4733           src/nm-device.h
4734                 - (connection_secrets_updated_cb): take a list of updated settings names,
4735                         not just one
4736
4737         * src/supplicant-manager/nm-supplicant-config.c
4738           src/supplicant-manager/nm-supplicant-config.h
4739                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4740                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4741                         to nm_supplicant_config_add_setting_8021x()
4742                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4743                         the supplicant config
4744
4745         * src/nm-device-802-11-wireless.c
4746                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4747                 - (real_connection_secrets_updated): take a list of updated settings
4748                         names, not just one
4749
4750         * src/nm-device-802-3-ethernet.c
4751           src/nm-cdma-device.c
4752           src/nm-gsm-device.c
4753                 - (real_connection_secrets_updated_cb): take a list of updated settings
4754                         names, not just one
4755
4756         * src/nm-activation-request.c
4757           src/nm-activation-request.h
4758                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4759                         now passes a list of updated settings names, not just one
4760                 - (update_one_setting): new function; handle one updated setting
4761                 - (get_secrets_cb): handle multiple settings returned from the
4762                         settings service; have to be careful of ordering here as there are
4763                         some dependencies between settings (ex. wireless-security and 802.1x
4764                         in some cases)
4765
4766         * src/marshallers/nm-marshal.list
4767                 - new marshaller for connection-secrets-updated signal
4768
4769         * libnm-util/nm-setting-8021x.c
4770                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4771                         methods
4772                 - (verify): a valid 'eap' property is now required
4773
4774         * libnm-util/nm-connection.c
4775                 - (register_default_settings): add priorities to settings; there are
4776                         some dependencies between settings, and during the need_secrets
4777                         calls this priority needs to be respected.  For example, only the
4778                         wireless-security setting knows whether or not the connection is
4779                         going to use 802.1x or now, so it must be asked for secrets before
4780                         any existing 802.1x setting is
4781                 - (nm_connection_lookup_setting_type): expose
4782
4783         * libnm-util/nm-setting-wireless.c
4784                 - (verify): should verify even if all_settings is NULL; otherwise won't
4785                         catch the case where there is missing security
4786
4787         * libnm-util/nm-setting-wireless-security.c
4788                 - Remove everything to do with 802.1x
4789                 - Add old-school LEAP specific properties for username and password
4790                 - (need_secrets): rework LEAP secrets checking
4791                 - (verify): rework for LEAP and 802.1x verification
4792
4793 2008-03-17  Dan Williams  <dcbw@redhat.com>
4794
4795         * src/NetworkManagerPolicy.c
4796                 - (auto_activate_device): always remove the current activation check
4797                         from the pending activation list, otherwise when the policy gets
4798                         destroyed on NM exit it will attempt to free the already freed
4799                         activation check
4800
4801 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4802
4803         * src/backends/NetworkManagerSlackware.c 
4804         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4805
4806         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4807
4808 2008-03-14  Dan Williams  <dcbw@redhat.com>
4809
4810         * src/nm-manager.c
4811                 - (nm_device_interface_get_iface): g_object_get() will return an
4812                         allocated value, so this function must not return const
4813                 - (nm_device_interface_activate): free returned iface
4814
4815 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4816
4817         * libnm-util/Makefile.am: Add new files to build.
4818
4819         * libnm-util/nm-connection.c: Register NMSetting8021x.
4820
4821         * libnm-util/nm-setting-8021x.c
4822         * libnm-util/nm-setting-8021x.h: Implement.
4823
4824 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4825
4826         * libnm-util/Makefile.am: Add new files to build.
4827
4828         * libnm-util/nm-connection.c: Register NMSetting8021x.
4829
4830         * libnm-util/nm-setting-8021x.c
4831         * libnm-util/nm-setting-8021x.h: Implement.
4832
4833 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4834
4835         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4836         data.
4837
4838 2008-03-14  Dan Williams  <dcbw@redhat.com>
4839
4840         * include/wireless-helper.h
4841           include/Makefile.am
4842                 - One place for all the junk needed for #including wireless.h
4843
4844         * test/nm-tool.c
4845           src/NetworkManagerAP.c
4846           src/wpa.c
4847           src/Makefile.am
4848           libnm-util/nm-utils.c
4849           libnm-util/nm-setting-wireless.c
4850           libnm-glib/nm-device-802-11-wireless.c
4851           libnm-glib/nm-access-point.c
4852           libnm-glib/libnm-glib-test.c
4853                 - include wireless-helper.h, not iwlib.h
4854
4855         * configure.in
4856                 - Don't need libiw really, just need to check for wireless.h
4857
4858         * src/kernel-types.h
4859                 - Remove; used types moved into wpa.c
4860
4861         * src/nm-device-802-11-wireless.c
4862                 - (nm_device_802_11_wireless_update_signal_strength,
4863                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4864                    nm_device_802_11_wireless_set_mode,
4865                    nm_device_802_11_wireless_get_frequency,
4866                    nm_device_802_11_wireless_get_ssid,
4867                    nm_device_802_11_wireless_set_ssid,
4868                    nm_device_802_11_wireless_get_bitrate,
4869                    nm_device_802_11_wireless_get_bssid,
4870                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4871                         instead of iwlib functions
4872
4873 2008-03-14  Dan Williams  <dcbw@redhat.com>
4874
4875         * src/ppp-manager/nm-ppp-manager.c
4876                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4877                         should only take the DBusGMethodInvocation argument, not user/pass
4878                         too.  With dbus-glib, async functions only take 2 C arguments since
4879                         the real dbus method arguments get passed back with
4880                         dbus_g_method_return()
4881
4882 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4883
4884         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4885         Adapt the changes of NMSettingIP4Config.
4886
4887 2008-03-13  Dan Williams  <dcbw@redhat.com>
4888
4889         * src/NetworkManagerUtils.c
4890           src/NetworkManagerUtils.h
4891                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4892
4893         * src/NetworkManagerAP.c
4894           src/nm-device-802-11-wireless.c
4895           src/nm-device-802-3-ethernet.c
4896                 - s/iw_ether_ntop/nm_ether_ntop/g
4897
4898 2008-03-13  Dan Williams  <dcbw@redhat.com>
4899
4900         * src/NetworkManagerPolicy.c
4901                 - (update_routing_and_dns): never set the default route through an
4902                         IPv4LL addressed device
4903
4904 2008-03-13  Dan Williams  <dcbw@redhat.com>
4905
4906         * NetworkManagerUtils.c
4907           NetworkManagerUtils.h
4908                 - Remove NMSock stuff
4909                 - Remove the completion stuff
4910
4911         * nm-device.c
4912           nm-device.h
4913           NetworkManager.c
4914           NetworkManagerSystem.c
4915           autoip.c
4916           nm-device-802-11-wireless.c
4917           nm-device-802-3-ethernet.c
4918                 - Remove NMSock and completion stuff
4919                 - Remove nm_ioctl_info()
4920
4921 2008-03-12  Dan Williams  <dcbw@redhat.com>
4922
4923         * src/nm-device.c
4924                 - (merge_ip4_config): avoid duplicates
4925
4926 2008-03-12  Dan Williams  <dcbw@redhat.com>
4927
4928         * libnm-util/nm-setting-ip4-config.c
4929           libnm-util/nm-setting-ip4-config.h
4930                 - Remove 'manual' and 'autoip' properties
4931                 - Add 'method' property
4932                 - (verify): fix verification with 'method'
4933                 - (finalize): free 'method'
4934                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4935                         up for 'method'
4936
4937         * src/nm-device.c
4938                 - (real_act_stage3_ip_config_start): check IP4Config method
4939                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4940                         the future
4941                 - (merge_ip4_config): IP settings are valid with DHCP too
4942                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4943                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4944
4945         * src/nm-device-802-11-wireless.c
4946                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4947                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4948                         only on demand
4949
4950         * system-settings/plugins/ifcfg-fedora/parser.c
4951           system-settings/plugins/ifcfg-suse/parser.c
4952                 - (make_ip4_setting): fix up for 'method'
4953
4954 2008-03-12  Dan Williams  <dcbw@redhat.com>
4955
4956         * system-settings/plugins/ifcfg-fedora/parser.c
4957           system-settings/plugins/ifcfg-fedora/parser.h
4958                 - (get_ifcfg_name): ignore more file suffixes
4959                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4960
4961 2008-03-12  Dan Williams  <dcbw@redhat.com>
4962
4963         * configure.in
4964                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4965
4966 2008-03-12  Dan Williams  <dcbw@redhat.com>
4967
4968         * system-settings/plugins/ifcfg-fedora/plugin.c
4969                 - (write_auto_wired_connection): new function; write out an auto
4970                         wired connection file since the applet isn't doing it any more
4971                 - (reload_all_connections): write out the auto wired connection file
4972                         if there aren't any wired connections already
4973                 - (init): don't leak a GError
4974
4975 2008-03-12  Dan Williams  <dcbw@redhat.com>
4976
4977         * src/nm-device-interface.c
4978                 - (nm_device_interface_activate): print the ID of the connection
4979                         that's about to be activated
4980
4981 2008-03-12  Dan Williams  <dcbw@redhat.com>
4982
4983         Harmonize the 802.11 bitrate API
4984
4985         * introspection/nm-access-point.xml
4986                 - 'Rate' -> 'MaxBitrate'; clarify units
4987
4988         * introspection/nm-device-802-11-wireless.xml
4989                 - Clarify units of 'Bitrate'
4990
4991         * src/NetworkManagerAP.c
4992           src/NetworkManagerAP.h
4993                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4994                         property to 'max-bitrate'
4995                 - (foreach_property_cb): convert rate to Kb/s
4996
4997         * src/nm-device-802-11-wireless.c
4998                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4999
5000         * libnm-glib/nm-access-point.c
5001           libnm-glib/nm-access-point.h
5002                 - 'rate' -> 'max-bitrate'
5003
5004         * test/nm-tool.c
5005           libnm-glib/libnm-glib-test.c
5006                 - Fix up for these changes
5007
5008 2008-03-12  Dan Williams  <dcbw@redhat.com>
5009
5010         * src/nm-device.c
5011                 - (nm_device_set_ip4_config): don't send property notifications when
5012                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5013                         which dbus-glib can't parse because the value is NULL, which isn't
5014                         a legal object path.  Setting the IP4 config to NULL is only
5015                         valid when deactivating a device anyway, so the device state change
5016                         will alert listeners that the ip4 config is invalid.
5017
5018 2008-03-12  Dan Williams  <dcbw@redhat.com>
5019
5020         * src/nm-properties-changed-signal.c
5021                 - (add_to_string): better handling of NULL objects
5022
5023 2008-03-12  Dan Williams  <dcbw@redhat.com>
5024
5025         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5026         convert the libnm-glib NMDevice8023Ethernet to cached properties
5027
5028         * introspection/nm-device-802-3-ethernet.xml
5029                 - New 'Carrier' property
5030                 - New 'PropertiesChanged' signal
5031
5032         * introspection/nm-device.xml
5033                 - Remove 'Carrier' property
5034                 - Remove 'CarrierChanged' signal
5035
5036         * src/nm-device-interface.c
5037           src/nm-device-interface.h
5038                 - (nm_device_interface_init): remove 'carrier' property and
5039                         'carrier-changed' signal
5040
5041         * src/nm-device.c
5042           src/nm-device.h
5043                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5044                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5045                         the link here; wired device will handle that
5046                 - (handle_dhcp_lease_change): don't bother updating link here
5047                 - (get_property, nm_device_class_init): remove carrier property
5048
5049         * src/nm-device-802-11-wireless.c
5050                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5051                         real_update_link(); wireless devices don't use carrier at all
5052                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5053                    supplicant_iface_connection_state_cb_handler,
5054                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5055
5056         * src/nm-device-802-3-ethernet.c
5057           src/nm-device-802-3-ethernet.h
5058                 - (nm_device_802_3_ethernet_carrier_on,
5059                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5060                         instead of nm_device_set_carrier()
5061                 - (device_state_changed): update link from sysfs on activation;
5062                         replaces real_update_link()
5063                 - (real_update_link): remove, replaced by device_state_changed()
5064                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5065                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5066                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5067                         new get_carrier function
5068                 - (get_property): add 'carrier' property
5069                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5070                         hook into property-changed signal helper
5071
5072         * src/NetworkManagerPolicy.c
5073                 - (device_carrier_changed): will only ever be called with a wired device
5074                 - (device_added): only hook up to carrier-changed for wired devices
5075
5076         * libnm-glib/nm-device.c
5077           libnm-glib/nm-device.h
5078                 - (constructor, nm_device_class_init): remove carrier-changed signal
5079                 - (device_carrier_changed_proxy): remove; unused
5080                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5081
5082         * libnm-glib/nm-device-802-3-ethernet.c
5083           libnm-glib/nm-device-802-3-ethernet.h
5084                 - Convert to cached properties like AP and Wireless objects
5085                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5086                         instead of a 'char *', return value should not be freed
5087                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5088                 - (constructor): hook into properties-changed helper
5089                 - (set_property, get_property): new functions
5090                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5091
5092         * test/nm-tool.c
5093                 - (detail_device): strdup the wired hardware address too since it's
5094                         cached now
5095
5096         * libnm-glib/libnm-glib-test.c
5097                 - (dump_wired): strdup the wired hardware address too since it's
5098                         cached now
5099
5100 2008-03-12  Dan Williams  <dcbw@redhat.com>
5101
5102         * libnm-util/nm-setting-ip4-config.c
5103           libnm-util/nm-setting-ip4-config.h
5104                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5105                         the 'autoip' property from the spec
5106
5107 2008-03-11  Dan Williams  <dcbw@redhat.com>
5108
5109         * src/backends/NetworkManagerGeneric.c
5110           src/backends/NetworkManagerGeneric.h
5111                 - (nm_generic_device_get_use_dhcp): remove
5112
5113 2008-03-11  Dan Williams  <dcbw@redhat.com>
5114
5115         * src/nm-device.c
5116                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5117                         already in nm_device_set_ip4_config()
5118                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5119                         due to a DHCP rebind fails
5120                 - (nm_device_set_ip4_config): send property notifications when the
5121                         ip4 config changes
5122                 - (get_property): only report IP4Config property during valid states
5123
5124         * src/NetworkManagerPolicy.c
5125                 - (update_routing_and_dns): ignore devices that don't have an ip4
5126                         config; add parameter 'force_update' to allow callers to specify
5127                         that changes should be made even if the default device doesn't change
5128                 - (device_ip4_config_changed): update DNS and routing when the device's
5129                         IP4Config changes, like for DHCP updates
5130                 - (device_added): listen for ip4-config property changes
5131
5132 2008-03-11  Dan Williams  <dcbw@redhat.com>
5133
5134         Fix address handling as a result of DHCP rebind/renew/reboot.
5135
5136         * src/NetworkManagerSystem.c
5137                 - (check_one_address): delete an address if it doesn't match a given
5138                         one for the same interface
5139                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5140                         be smarter about flushing addresses (only flush ones that don't
5141                         match the one we're about to apply)
5142
5143         * src/backends/NetworkManagerDebian.c
5144           src/backends/NetworkManagerSuSE.c
5145           src/backends/NetworkManagerArch.c
5146           src/backends/NetworkManagerSlackware.c
5147           src/backends/NetworkManagerRedHat.c
5148           src/backends/NetworkManagerPaldo.c
5149           src/backends/NetworkManagerFrugalware.c
5150           src/backends/NetworkManagerGentoo.c
5151                 - (nm_system_delete_default_route): remove
5152
5153         * src/backends/NetworkManagerGeneric.c
5154           src/backends/NetworkManagerGeneric.h
5155                 - (nm_generic_enable_loopback): fix the loopback device label
5156                 - (nm_generic_delete_default_route): remove; no longer used
5157
5158 2008-03-11  Dan Williams  <dcbw@redhat.com>
5159
5160         * src/nm-device-interface.h
5161                 - Delimit property name words with '-', otherwise g_object_notify()
5162                         doesn't work the way we expect
5163
5164 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5165
5166         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5167
5168 2008-03-11  Dan Williams  <dcbw@redhat.com>
5169
5170         * src/NetworkManagerPolicy.c
5171                 - (update_routing_and_dns): don't change anything if the default device
5172                         hasn't changed; print something out when switching the default route
5173                         and DNS
5174
5175 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5176
5177         Implement PPPoE.
5178
5179         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5180         setting. Use "nic-$eth".
5181
5182         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5183         the device is activating here to fix a race condition.
5184
5185         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5186
5187         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5188         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5189         (nm_ppp_manager_start): Take activation request instead of connection, we might
5190         need it for asking secrets.
5191         (nm_ppp_manager_update_secrets): Implement.
5192
5193         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5194         ppp manager start. It might be needed for asking secrets.
5195
5196         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5197         (ppp_state_changed): Handle pppd daemon disappearing.
5198         (pppoe_stage2_config): Send activation request to ppp manager start.
5199
5200         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5201
5202         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5203         username and password.
5204         
5205 2008-03-10  Dan Williams  <dcbw@redhat.com>
5206
5207         * src/nm-device.c
5208                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5209                         response to a DHCP lease change
5210                 - (dhcp_state_changed): handle DHCP lease changes while activated
5211                 - (nm_device_set_ip4_config): remove a previously set named config
5212                         when setting an ip4 config
5213
5214 2008-03-10  Dan Williams  <dcbw@redhat.com>
5215
5216         * src/nm-serial-device.c
5217                 - (nm_serial_device_send_command): report errno on error
5218                 - (get_reply_got_data): limit the size of the overall buffer
5219                 - (wait_for_reply_info_destroy): destroy result string
5220                 - (wait_for_reply_got_data): append received data to an overall buffer
5221                         until timeout, filled buffer, or error instead of keeping a per-call
5222                         buffer.  Some devices send data slowly enough that this function
5223                         gets called multiple times for the same command stream.
5224                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5225                         wait_for_reply_got_data() here
5226
5227 2008-03-10  Dan Williams  <dcbw@redhat.com>
5228
5229         * src/nm-cdma-device.c
5230                 - (do_dial, init_modem): handle errors from
5231                         nm_serial_device_send_command_string()
5232
5233         * src/nm-gsm-device.c
5234                 - (do_dial, manual_registration, automatic_registration_get_network,
5235                    automatic_registration, enter_pin, check_pin, init_modem): handle
5236                         errors from nm_serial_device_send_command_string()
5237
5238 2008-03-10  Dan Williams  <dcbw@redhat.com>
5239
5240         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5241
5242         * src/named-manager/nm-named-manager.c
5243                 - (compute_searches): prefer searches before domains
5244                 - (compute_domain): new function
5245                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5246                 - (merge_one_ip4_config): if there are no searches in the source config,
5247                         merge domains of the source config into the target config
5248                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5249
5250 2008-03-10  Dan Williams  <dcbw@redhat.com>
5251
5252         * src/nm-serial-device.c
5253                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5254                 - (wait_for_reply_got_data): try to handle slower serial devices where
5255                         the reply is broken up into multiple reads by concatenating replies
5256                         together until either an error is received or the search string is
5257                         found
5258
5259 2008-03-10  Dan Williams  <dcbw@redhat.com>
5260
5261         * src/nm-device.c
5262                 - (nm_device_bring_down): deactivate the device if it's activating too,
5263                         not just if it's already activated.  This makes sure that everything
5264                         from an association attempt is cleaned up (like DHCP for example)
5265
5266 2008-03-10  Dan Williams  <dcbw@redhat.com>
5267
5268         * src/nm-serial-device.c
5269                 - (config_fd): report error from TCSETA
5270                 - (nm_serial_device_open): fail when config_fd() fails
5271
5272 2008-03-10  Dan Williams  <dcbw@redhat.com>
5273
5274         * src/nm-ip4-config.c
5275                 - (nm_ip4_config_init): allocate searches list
5276                 - (finalize): free searches list
5277
5278 2008-03-09  Dan Williams  <dcbw@redhat.com>
5279
5280         Patch from Bas Zoetekouw <bas@debian.org>
5281
5282         * src/dhcp-manager/nm-dhcp-manager.c
5283                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5284
5285 2008-03-09  Dan Williams  <dcbw@redhat.com>
5286
5287         Patch from Bas Zoetekouw <bas@debian.org>
5288
5289         * src/nm-ip4-config.c
5290           src/nm-ip4-config.h
5291                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5292                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5293                         domains.  'searches' is the correct way to store multiple search
5294                         domains, whereas 'domains' is really just supposed to store one
5295                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5296                         search domains to the client.
5297                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5298
5299 2008-03-09  Dan Williams  <dcbw@redhat.com>
5300
5301         * src/dhcp-manager/nm-dhcp-manager.c
5302                 - (dhclient_run): send interface-specific config files to dhclient
5303
5304 2008-03-07  Dan Williams  <dcbw@redhat.com>
5305
5306         * system-settings/plugins/ifcfg-fedora/parser.c
5307                 - (is_wireless_device): new function; test a device for wireless
5308                         extensions
5309                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5310                         test the device for wireless extensions to determine the type
5311
5312 2008-03-07  Dan Williams  <dcbw@redhat.com>
5313
5314         Change manager's StateChange signal to StateChanged for consistency.
5315
5316         * introspection/nm-manager.xml
5317                 - Add 'StateChanged' signal
5318                 - Move 'StateChange' down to the deprecated section
5319
5320         * src/nm-hal-manager.c
5321                 - (nm_hal_manager_new): connect to 'state-changed' instead
5322
5323         * src/NetworkManagerPolicy.c
5324                 - (nm_policy_new): connect to 'state-changed' instead
5325
5326         * src/nm-manager.c
5327           src/nm-manager.h
5328                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5329                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5330                         of 'state-change'
5331
5332         * libnm-glib/nm-client.c
5333           libnm-glib/nm-client.h
5334                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5335                         track and proxy 'state-changed' instead of 'state-change'
5336
5337 2008-03-07  Dan Williams  <dcbw@redhat.com>
5338
5339         First pass of multiple active device support.  Expect bugs.
5340
5341         * src/nm-ip4-config.c
5342           src/nm-ip4-config.h
5343                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5344                         there are better ways to do this in the named manager
5345
5346         * src/nm-device.c
5347           src/nm-device.h
5348                 - (nm_device_can_activate): return whether the device can activate a
5349                         connection right now; taking into account things like carrier state
5350                         and rfkill state
5351                 - (nm_device_get_best_auto_connection): renamed from
5352                         nm_device_get_best_connection
5353                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5354                         device subclasses themselves, so that each device can override the
5355                         MTU from it's NMSetting subclass if needed
5356                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5357                         in NetworkManagerSystem.c, not here
5358
5359         * src/named-manager/nm-named-manager.c
5360           src/named-manager/nm-named-manager.h
5361                 - (nm_named_manager_name_owner_changed,
5362                    nm_named_manager_dbus_connection_changed): fix for changes to
5363                         rewrite_resolv_conf()
5364                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5365                         from parameter list
5366                 - (merge_one_ip4_config): new function; merge ip4 configs together
5367                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5368                         ip4 configs; the VPN config takes precedence, then the best
5369                         device config, then the rest of the configs
5370                 - (get_domain_for_config): take the NMNamedManager as an argument
5371                         to check whether the config is the VPN config
5372                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5373                         attribute from ip4 configs
5374                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5375                 - (remove_ip4_config_from_named): fix for changes to
5376                         get_domain_for_config()
5377                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5378                         based on its type; callers must pass in the type now
5379                 - (get_last_default_domain): remove, unused
5380                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5381
5382         * src/nm-device-802-11-wireless.c
5383                 - (real_can_activate): new function
5384                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5385                 - (real_act_stage4_get_ip4_config): handle MTU override
5386
5387         * src/nm-device-802-3-ethernet.c
5388                 - (real_can_activate): new function
5389                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5390                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5391
5392         * src/vpn-manager/nm-vpn-connection.c
5393                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5394                         attribute on the ip4 config
5395
5396         * src/NetworkManagerPolicy.c
5397                 - (nm_policy_auto_get_best_device): remove
5398                 - (nm_policy_device_change_check): remove
5399                 - (update_default_route): new function; set the default route via
5400                         the specified device
5401                 - (get_device_priority): new function; return the priority number of
5402                         a device type WRT which one should have the default route.  Order is
5403                         (highest to lowest)  wired, wireless, GSM, CDMA.
5404                 - (update_routing_and_dns): new function; determine which device should
5405                         have the default route, then update the routing table and DNS
5406                 - (maybe_auto_activate_device): new function; if a device is now
5407                         available for activation, find out what connection it would like to
5408                         activate and do it
5409                 - (schedule_activate_check): new function; if a device can be activated
5410                         now, schedule the activation.  Each device may have only one
5411                         pending activation at a given time.
5412                 - (device_state_changed): if activation was canceled, try again,
5413                         possibly with another connection; if the device was activated,
5414                         update routing and DNS; if the device was deactivated, try again
5415                         with another connection
5416                 - (device_carrier_changed): if there is no carrier, deactivate the
5417                         device; otherwise schedule an activation check for the device
5418                 - (wireless_networks_changed): schedule an activation check for the
5419                         device
5420                 - (device_added): keep track of the signal handler IDs so they can
5421                         be removed when the device goes away
5422                 - (device_removed): remove any signal handlers that might be attached
5423                         to the device; update routing and DNS
5424                 - (schedule_activate_all): new function
5425                 - (connections_added, connection_added, connection_updated): when
5426                         connections change, schedule all devices for an activation check
5427                 - (connection_removed): when a device is deactivated because its
5428                         connection was removed, schedule another activation check for it
5429                 - (nm_policy_destroy): destroy pending activations and disconnect
5430                         all device signal handlers
5431
5432         * src/nm-manager.c
5433                 - (nm_manager_activate_device): if the device was already actived,
5434                         deactivate it
5435                 - (deactivate_old_device): remove
5436                 - (connection_added_default_handler, impl_manager_activate_device):
5437                         don't deactivate other devices when activating this one
5438
5439         * src/backends/NetworkManagerGentoo.c
5440           src/backends/NetworkManagerFrugalware.c
5441           src/backends/NetworkManagerPaldo.c
5442           src/backends/NetworkManagerRedHat.c
5443           src/backends/NetworkManagerSlackware.c
5444           src/backends/NetworkManagerArch.c
5445           src/backends/NetworkManagerSuSE.c
5446           src/backends/NetworkManagerDebian.c
5447                 - (nm_system_get_mtu): remove; MTU should be provided through the
5448                         distro's system settings service plugin instead
5449                 - (nm_system_device_add_default_route_via_device): remove
5450                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5451                 - (nm_system_device_replace_default_route): new function; call
5452                         generic implementation
5453
5454         * src/backends/NetworkManagerGeneric.c
5455           src/backends/NetworkManagerGeneric.h
5456                 - (nm_generic_device_add_default_route_via_device,
5457                    nm_generic_device_add_default_route_via_device_with_iface): remove
5458                 - (nm_generic_device_replace_default_route): replace the default route
5459                         with the given route via some gateway
5460
5461         * src/NetworkManagerSystem.c
5462           src/NetworkManagerSystem.h
5463                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5464                         to routing and DNS; but set the MTU here
5465                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5466                         ip_iface of the active device; use the standard MTU setting function
5467                 - (nm_system_set_mtu): remove
5468                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5469
5470 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5471
5472         Rework the interaction between ppp manager and pppd plugin. Register a well
5473         known DBUS service in manager and let the plugin call it's methods instead
5474         of listening plugin's signals.
5475
5476         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5477         of emitting signals.
5478
5479         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5480
5481         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5482
5483         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5484         nm_ppp_manager_start().
5485
5486         * introspection/nm-ppp-manager.xml: New file.
5487
5488         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5489         the case correctly where driver is trying to send -1 for the speed, which gets
5490         casted to u16 and thus is always > 0.
5491
5492 2008-03-07  Dan Williams  <dcbw@redhat.com>
5493
5494         * src/nm-hal-manager.c
5495                 - (nm_get_device_driver_name): use net.originating_device first, fall
5496                         back to physical device.  HAL has deprecated physical_device.
5497
5498         * libnm-glib/nm-device.c
5499                 - (get_product_and_vendor): use net.originating_device first, fall
5500                         back to physical device.  HAL has deprecated physical_device.
5501                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5502
5503 2008-03-07  Dan Williams  <dcbw@redhat.com>
5504
5505         * src/nm-netlink.c
5506                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5507                         last commit; fix that
5508                 - (get_link_cache): print error string
5509
5510 2008-03-07  Dan Williams  <dcbw@redhat.com>
5511
5512         * src/nm-netlink.c
5513                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5514                         don't need this hack any more (Benoit Boissinot)
5515
5516 2008-03-06  Dan Williams  <dcbw@redhat.com>
5517
5518         * autogen.sh
5519                 - Die gnome-common, die
5520
5521 2008-03-04  Dan Williams  <dcbw@redhat.com>
5522
5523         Patch from Michael Biebl <biebl@debian.org>
5524
5525         * NetworkManager.pc.in
5526                 - doesn't actually depend on dbus-1
5527
5528         * libnm-util/nm-utils.h
5529                 - remove unused #include <dbus/dbus.h>
5530
5531         * libnm-glib/libnm_glib.pc.in
5532                 - depends on glib and dbus-glib
5533
5534 2008-03-02  Dan Williams  <dcbw@redhat.com>
5535
5536         * src/NetworkManagerPolicy.c
5537                 - s/device_state_changed_idle_id/update_state_id/
5538
5539 2008-03-02  Dan Williams  <dcbw@redhat.com>
5540
5541         * src/nm-device.c
5542           src/nm-device.h
5543           src/nm-device-802-11-wireless.c
5544           src/nm-device-802-3-ethernet.c
5545           src/NetworkManagerPolicy.c
5546                 - s/link_active/carrier
5547                 - nm_device_set_active_link() -> nm_device_set_carrier()
5548                 - nm_device_has_active_link() -> nm_device_get_carrier()
5549
5550 2008-03-02  Dan Williams  <dcbw@redhat.com>
5551
5552         * system-settings/plugins/ifcfg-fedora/parser.c
5553                 - (make_wireless_setting): fail connection creation on missing SSID
5554
5555 2008-02-29  Dan Williams  <dcbw@redhat.com>
5556
5557         * src/NetworkManagerPolicy.c
5558                 - (nm_policy_device_change_check): ensure that a previously active
5559                         device with a system connection has a link before denying a switch
5560                         to a user connection
5561
5562 2008-02-29  Dan Williams  <dcbw@redhat.com>
5563
5564         * src/nm-device-802-11-wireless.c
5565                 - (link_timeout_cb): try again if scanning; deactivate the device when
5566                         activated if the link dies
5567                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5568                         15 seconds
5569
5570 2008-02-29  Dan Williams  <dcbw@redhat.com>
5571
5572         * src/nm-device-802-11-wireless.c
5573           src/nm-device-802-11-wireless.h
5574                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5575                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5576                 - (device_cleanup): reset the scan interval lower when the device
5577                         deactivates
5578                 - (can_scan): base decision mostly off device state, not supplicant
5579                         interface state since the supplicant interface state isn't a
5580                         great indicator of whether the device is active or not
5581                 - (request_wireless_scan): clean up; schedule the next scan here
5582                 - (schedule_scan): only back the scan interval off if a new scan
5583                         actually gets scheduled; and make scan intervals tighter when the
5584                         device is disconnected
5585                 - (supplicant_iface_state_cb_handler): fold in the bits of
5586                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5587                         interval to minimum
5588                 - (activation_success_handler): reset scan interval to something
5589                         reasonable 
5590
5591 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5592
5593         reviewed by: Steev <steev@steev.net>
5594
5595         * configure.in:
5596         * src/backends/NetworkManagerGentoo.c:
5597         (nm_system_restart_mdns_responder):
5598                 Howl is no longer a supported mDNS provider
5599
5600 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5601
5602         Get rid of a bunch of unused distro specific functions.
5603
5604 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5605
5606         Implement suse plugin for system settings daemon.
5607
5608         * system-settings/plugins/ifcfg-suse/*: Implement.
5609
5610         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5611         suse.
5612
5613         * configure.in: Check (without failing) for gio.
5614         Create ifcfg-suse plugin's Makefile.
5615
5616 2008-02-20  Dan Williams  <dcbw@redhat.com>
5617
5618         * libnm-util/nm-connection.c
5619           libnm-util/nm-connection.h
5620                 - (nm_connection_compare): accept compare flags and pass them to the
5621                         setting compare function
5622
5623         * libnm-util/nm-setting.c
5624           libnm-util/nm-setting.h
5625                 - (nm_setting_compare): accept compare flags; ignore properties that are
5626                         marked fuzzy
5627
5628         * libnm-util/nm-setting-connection.c
5629           libnm-util/nm-setting-wireless.c
5630           libnm-util/nm-setting-ppp.c
5631           libnm-util/nm-setting-wired.c
5632                 - Mark some setting properties as ignorable when doing a fuzzy compare
5633
5634         * src/nm-device.c
5635                 - (device_activation_precheck): use exact compare
5636
5637 2008-02-20  Dan Williams  <dcbw@redhat.com>
5638
5639         * src/NetworkManagerPolicy.c
5640                 - (nm_policy_device_change_check): get scope off the connection, not
5641                         using the manager helper
5642
5643         * src/nm-manager.c
5644           src/nm-manager.h
5645                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5646                 - (connection_get_settings_cb): set scope and path on connection, not
5647                         using GObject data items
5648                 - (get_connection_for_proxy): don't need to return path, since that
5649                         can be gotten from the connection
5650                 - (get_connection_for_proxy): get path off the connection, not from
5651                         parameters
5652                 - (connection_removed_cb, connection_updated_cb): don't need to get
5653                         path from get_connection_for_proxy(); get scope off the connection
5654                         instead of using GObject data items
5655                 - (connection_added_default_handler, add_one_connection_element): use
5656                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5657                 - (nm_manager_get_connection_dbus_path): remove
5658                 - (nm_manager_get_connection_scope): remove
5659
5660 2008-02-20  Dan Williams  <dcbw@redhat.com>
5661
5662         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5663                 on confusing names
5664
5665         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5666                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5667                 NMExportedConnection
5668
5669         * Internally rename NMConnectionType -> NMConnectionScope
5670
5671         * Provide default implementations of the 'get_id' and 'get_settings' methods
5672                 of NMExportedConnection
5673
5674 2008-02-15  Dan Williams  <dcbw@redhat.com>
5675
5676         * src/nm-device-802-11-wireless.c
5677                 - (device_cleanup): release the AP list here too so that the AP list
5678                         doesn't survive across suspend/resume and up/down.  There is some
5679                         room for optimization, for example blow the list away when the card
5680                         brought back up, but only if the device has only been down for a
5681                         minute or more.
5682
5683 2008-02-15  Dan Williams  <dcbw@redhat.com>
5684
5685         * src/nm-hal-manager.c
5686                 - (modem_device_creator): recognize new HAL modem capabilities
5687
5688 2008-02-12  Dan Williams  <dcbw@redhat.com>
5689
5690         * system-settings/plugins/ifcfg-fedora/plugin.c
5691                 - (watch_path): handle IN_DELETE_SELF too
5692                 - (handle_connection_changed): notify when removing a connection
5693                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5694                         case of a file moving out of the profile directory
5695
5696 2008-02-12  Dan Williams  <dcbw@redhat.com>
5697
5698         * system-settings/plugins/ifcfg-fedora/parser.c
5699                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5700
5701 2008-02-12  Dan Williams  <dcbw@redhat.com>
5702
5703         * libnm-util/nm-utils.c
5704                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5705                         just any empty array
5706
5707 2008-02-12  Dan Williams  <dcbw@redhat.com>
5708
5709         * system-settings/src/nm-system-config-interface.c
5710           system-settings/src/nm-system-config-interface.h
5711                 - (load_connections): get_connections() should now return an allocated
5712                         GSList that the system settings service will free
5713
5714         * system-settings/plugins/ifcfg-fedora/plugin.c
5715           system-settings/plugins/ifcfg-fedora/parser.h
5716           system-settings/plugins/ifcfg-fedora/parser.c
5717                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5718                         in the profile directory, handle resolv.conf file changes
5719
5720 2008-02-10  Dan Williams  <dcbw@redhat.com>
5721
5722         * src/nm-device-802-3-ethernet.c
5723                 - (real_bring_up): save the supplicant interface state signal id
5724                 - (real_bring_down): disconnect from the supplicant interface state
5725                         signal
5726
5727 2008-02-07  Dan Williams  <dcbw@redhat.com>
5728
5729         * initscript/RedHat/NetworkManager.in
5730           initscript/RedHat/NetworkManagerDispatcher.in
5731                 - Add new-style LSB init headers
5732
5733 2008-02-07  Dan Williams  <dcbw@redhat.com>
5734
5735         * system-settings/src/dbus-settings.c
5736           system-settings/src/dbus-settings.h
5737                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5738                         table of secrets
5739                 - (connection_settings_get_secrets): consolidate error returns into
5740                         one place; use the new get_secrets() plugin interface function to
5741                         get secrets from the plugin itself rather than using GObject data
5742                         magic
5743
5744         * system-settings/src/main.c
5745                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5746                    load_connections): keep a private list of the plugin-returned
5747                         connections, don't use the plugin's GSList
5748
5749         * system-settings/plugins/ifcfg-fedora/plugin.c
5750                 - (watch_path): watch the path, not the filename (duh)
5751                 - (reload_all_connections): use the direct hash/equal functions; the
5752                         ones for int aren't appropriate here
5753                 - (get_secrets, system_config_interface_init): implement the
5754                         get_secrets() function
5755                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5756                         now in the connection's ConnectionData instead of being a GObject
5757                         data property
5758                 - (handle_profile_item_changed): ifcfg file path is now in the
5759                         connection's ConnectionData instead of being a GObject data property;
5760                         be sure to copy secrets over from the new connection to the existing
5761                         connection when updating the connection's settings
5762                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5763                         file descriptor
5764
5765         * system-settings/plugins/ifcfg-fedora/parser.c
5766           system-settings/plugins/ifcfg-fedora/parser.h
5767                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5768                    connection_data_copy_secrets, connection_data_free,
5769                    connection_data_add): new functions; connection data manipulation
5770                 - (make_wireless_security_setting): stuff secrets into the
5771                         connection data, not as GObject data items; make sure to close
5772                         the keys ifcfg file
5773                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5774                         connection data to the connection
5775
5776 2008-02-07  Dan Williams  <dcbw@redhat.com>
5777
5778         * system-settings/src/nm-system-config-interface.c
5779           system-settings/src/nm-system-config-interface.h
5780                 - Add a get_secrets() interface function to retrieve secrets for a
5781                         specific setting of a specific connection.  Document the interface
5782                         a bit more too.
5783
5784 2008-02-07  Dan Williams  <dcbw@redhat.com>
5785
5786         * src/nm-device-802-11-wireless.c
5787                 - (handle_auth_or_fail): new function; consolidate device activation
5788                         failure check after a certain number of failures getting secrets
5789                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5790                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5791                         the connection if secrets were requested more than a few times
5792                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5793                         tries here; otherwise they are cleared before the IP configure
5794                         timeout, which happens with open system WEP when key is wrong
5795                 - (activation_success_handler): clear wireless secrets tries here too
5796
5797 2008-02-07  Dan Williams  <dcbw@redhat.com>
5798
5799         * src/NetworkManagerPolicy.c
5800                 - (connection_updated): clear invalid tag when connection gets updated
5801                         to allow that connection to be tried again
5802                 - (nm_policy_new): save signal ids so they can be disconnected when
5803                         the policy is destroyed
5804                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5805                         and disconnect all signals from the manager object so that none
5806                         of the policy functions gets called after the policy is destroyed
5807
5808 2008-02-06  Dan Williams  <dcbw@redhat.com>
5809
5810         * src/nm-manager.c
5811                 - (finalize): remove devices a bit earlier; clean up system settings
5812                         poke
5813                 - (nm_manager_name_owner_changed): clean up system settings poke when
5814                         the service appears, and try to restart it if it fails
5815                 - (poke_system_settings_daemon_cb): try to get the system settings
5816                         service started through D-Bus service activation
5817                 - (initial_get_connections): start the system settings daemon if it's
5818                         not already running
5819
5820 2008-02-05  Dan Williams  <dcbw@redhat.com>
5821
5822         * src/supplicant-manager/nm-supplicant-config.c
5823                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5824                         broadcast networks too
5825
5826 2008-02-04  Dan Williams  <dcbw@redhat.com>
5827
5828         * system-settings/plugins/ifcfg-fedora/parser.c
5829                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5830                         need key_mgmt set too
5831                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5832                         .bak files; ensure that an error is set whenever NULL gets returned
5833
5834 2008-02-04  Dan Williams  <dcbw@redhat.com>
5835
5836         * system-settings/src/Makefile.am
5837                 - Install D-Bus service activation file for the system settings
5838                         service
5839
5840         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5841                 - D-Bus service activation file for system settings service
5842
5843 2008-02-04  Dan Williams  <dcbw@redhat.com>
5844
5845         * system-settings/src/main.c
5846                 - (parse_config_file): parse a config file
5847                 - (main): accept --config option and read plugins from config file
5848
5849 2008-02-04  Dan Williams  <dcbw@redhat.com>
5850
5851         * system-settings/plugins/ifcfg-fedora/plugin.c
5852                 - Change reported name to 'ifcfg-fedora'
5853                 - Use IFCFG_PLUGIN_NAME
5854
5855         * system-settings/plugins/ifcfg-fedora/plugin.c
5856                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5857
5858 2008-02-04  Dan Williams  <dcbw@redhat.com>
5859
5860         * system-settings/plugins/ifcfg-fedora/parser.c
5861                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5862                 - (make_connection_setting): use get_ifcfg_name()
5863                 - (make_wireless_security_setting): handle shadow key files
5864                 - (get_one_wep_key): treat empty string as NULL
5865
5866 2008-02-04  Dan Williams  <dcbw@redhat.com>
5867
5868         * src/supplicant-manager/nm-supplicant-manager.c
5869                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5870                         glib automatically reschedule
5871                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5872                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5873                         the supplicant
5874
5875 2008-02-01  Dan Williams  <dcbw@redhat.com>
5876
5877         * src/NetworkManagerPolicy.c
5878                 - (device_state_changed): schedule a change check when a device gets
5879                         deactivated so something happens if you disconnect GSM/CDMA
5880
5881 2008-01-31  Dan Williams  <dcbw@redhat.com>
5882
5883         * src/nm-device-802-11-wireless.h
5884           src/nm-device-802-11-wireless.c
5885                 - (ap_list_get_ap_by_ssid, is_associated,
5886                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5887                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5888                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5889                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5890                         function
5891
5892 2008-01-30  Dan Williams  <dcbw@redhat.com>
5893
5894         * system-settings/plugins/ifcfg
5895         * system-settings/plugins/ifcfg-fedora
5896                 - Move the ifcfg plugin to ifcfg-fedora
5897
5898 2008-01-24  Dan Williams  <dcbw@redhat.com>
5899
5900         * libnm-glib/nm-device-802-11-wireless.c
5901                 - (get_access_point): move the "/" check here; check for invalid path
5902                         too
5903                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5904                         to get_access_point()
5905                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5906                         to send signals for non-existent access points
5907
5908 2008-01-24  Dan Williams  <dcbw@redhat.com>
5909
5910         * libnm-glib/nm-device-802-11-wireless.c
5911                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5912
5913 2008-01-23  Dan Williams  <dcbw@redhat.com>
5914
5915         * libnm-glib/libnm_glib.c
5916                 - (libnm_glib_init): make thread joinable
5917                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5918
5919 2008-01-23  Dan Williams  <dcbw@redhat.com>
5920
5921         * test/libnm_glib_test.c
5922                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5923                 - (main): set up signal handlers; call libnm_glib_shutdown
5924
5925 2008-01-21  Dan Williams  <dcbw@redhat.com>
5926
5927         * include/NetworkManager.h
5928                 - Add CDMA mobile broadband card device type
5929
5930         * src/nm-hal-manager.c
5931                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5932                         must now be tagged with 'cdma' or 'gsm' capability
5933
5934         * src/nm-cdma-device.c
5935           src/nm-cdma-device.h
5936           src/Makefile.am
5937                 - Add the CDMA mobile broadband card device class
5938
5939         * libnm-util/nm-connection.c
5940                 - (register_default_settings): add NMSettingCdma
5941
5942         * libnm-util/nm-setting-cdma.c
5943           libnm-util/nm-setting-cdma.h
5944           libnm-util/Makefile.am
5945                 - Add the CDMA mobile broadband card setting class
5946
5947         * libnm-glib/nm-cdma-device.c
5948           libnm-glib/nm-cdma-device.h
5949           libnm-glib/Makefile.am
5950                 - Add the CDMA mobile broadband card GLib proxy class
5951
5952         * libnm-glib/nm-client.c
5953                 - (get_device): handle CDMA devices too
5954
5955 2008-01-21  Dan Williams  <dcbw@redhat.com>
5956
5957         * src/ppp-manager/nm-ppp-manager.c
5958                 - (ip4_config_get): set peer address too
5959
5960         * src/ppp-manager/nm-pppd-plugin.c
5961                 - (nm_ip_up): try harder to get the peer's address
5962
5963         * src/NetworkManagerSystem.c
5964                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5965                         address, use that too.  Otherwise, some PPP connections won't work.
5966
5967 2008-01-19  Dan Williams  <dcbw@redhat.com>
5968
5969         * src/NetworkManagerPolicy.c
5970                 - (nm_policy_device_change_check): system connections override user
5971                         connections; don't activate a user connection if there's a currently
5972                         active system connection, and new, better system connections always
5973                         interrupt user connections
5974
5975 2008-01-19  Dan Williams  <dcbw@redhat.com>
5976
5977         * src/nm-manager.h
5978                 - (nm_manager_get_connection_type): new function
5979
5980 2008-01-19  Dan Williams  <dcbw@redhat.com>
5981
5982         * src/nm-device-802-11-wireless.c
5983                 - (real_get_best_connection): collapse find_best_connection() into this
5984                         function
5985
5986 2008-01-19  Dan Williams  <dcbw@redhat.com>
5987
5988         * src/nm-device-802-3-ethernet.c
5989                 - (real_get_best_connection): collapse find_best_connection() into this
5990                         function
5991
5992 2008-01-18  Dan Williams  <dcbw@redhat.com>
5993
5994         * src/nm-device-802-3-ethernet.c
5995                 - (find_best_connection): check MAC address too
5996                 - (real_get_best_connection): let autoconnect=True connections activate
5997                         for devices that don't have carrier detection
5998
5999         * src/nm-device-802-11-wireless.c
6000                 - (find_best_connection): check MAC address too
6001
6002 2008-01-18  Dan Williams  <dcbw@redhat.com>
6003
6004         * system-settings/plugins/ifcfg/parser.c
6005                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6006
6007 2008-01-17  Dan Williams  <dcbw@redhat.com>
6008
6009         * src/nm-device-802-3-ethernet.c
6010                 - (nm_device_802_3_ethernet_carrier_on,
6011                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6012                         carrier events that might come in for devices that don't support
6013                         carrier detect
6014
6015 2008-01-17  Dan Williams  <dcbw@redhat.com>
6016
6017         * src/nm-device-interface.c
6018                 - (nm_device_interface_check_connection_conflicts): need to actually
6019                         get the interface, not cast to the object
6020
6021         * src/nm-device.c
6022                 - (nm_device_check_connection_conflicts): need to get the device class,
6023                         not cast the device to the device class
6024
6025 2008-01-17  Dan Williams  <dcbw@redhat.com>
6026
6027         * src/nm-device-802-11-wireless.c
6028                 - (real_check_connection_conflicts): ignore connections that aren't
6029                         wireless connections
6030
6031 2008-01-17  Dan Williams  <dcbw@redhat.com>
6032
6033         * src/NetworkManagerPolicy.c
6034                 - (nm_policy_device_change_check): clear change check idle here
6035                 - (device_change_check_done): remove
6036                 - (schedule_change_check): simplify
6037
6038 2008-01-17  Dan Williams  <dcbw@redhat.com>
6039
6040         * src/nm-manager.c
6041                 - (check_connection_allowed): take an NMDeviceInterface instead of
6042                         an NMDevice object as an argument
6043                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6044                         check_connection_allowed()
6045
6046 2008-01-13  Dan Williams  <dcbw@redhat.com>
6047
6048         * libnm-glib/nm-device-802-11-wireless.c
6049                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6050
6051 2008-01-12  Dan Williams  <dcbw@redhat.com>
6052
6053         * src/nm-device-802-11-wireless.c
6054                 - (activation_success_handler): if a match was found in the scan list
6055                         and that match is a hidden AP, update that AP's SSID
6056
6057 2008-01-11  Dan Williams  <dcbw@redhat.com>
6058
6059         * src/NetworkManagerAP.c
6060                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6061
6062         * src/nm-device-802-11-wireless.c
6063                 - (get_active_ap): do two passes over the scan list if the caller
6064                         requests that hidden APs get matched too; during the second pass
6065                         when matching hidden APs, ignore the SSID since hidden APs in the
6066                         scan list don't have an SSID yet
6067                 - (periodic_update): move some checks to
6068                         nm_device_802_11_periodic_update() because not all callers need them
6069                 - (nm_device_802_11_periodic_update): move some checks here from
6070                         perodic_update()
6071                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6072                         matching on incoming scan results, because the fake AP's flags
6073                         might be slightly different (yet still compatible) with the incoming
6074                         scan result's flags and they might actually be the same AP; update
6075                         the rate on merged APs too
6076                 - (activation_success_handler): update the frequency of the fake AP
6077                         on successful connection; match hidden APs too since if the
6078                         current AP is fake, there might already be a scan result in the
6079                         scan list for the desired AP, just without it's SSID filled in yet
6080
6081 2008-01-10  Dan Williams  <dcbw@redhat.com>
6082
6083         * src/NetworkManagerAP.c
6084                 - (foreach_property_cb): catch more hidden SSID formats
6085
6086 2008-01-10  Dan Williams  <dcbw@redhat.com>
6087
6088         Fix gnome.org #464215.  Requires the kernel patch titled
6089         "Introduce WEXT scan capabilities" but will handle the patch not being
6090         present, you'll just continue to have problems with hidden SSIDs when
6091         using mac80211-based drivers.
6092
6093         * src/supplicant-manager/nm-supplicant-config.h
6094           src/supplicant-manager/nm-supplicant-config.c
6095                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6096                         whether the driver supports SSID scans or not.  If it does, and if
6097                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6098
6099         * src/nm-device-802-11-wireless.c
6100                 - (constructor): check whether or not the driver supports SSID scans
6101                 - (build_supplicant_config): pass driver SSID scan capability when
6102                         building the wireless bits of the supplicant config
6103
6104 2008-01-09  Dan Williams  <dcbw@redhat.com>
6105
6106         * src/nm-device.c
6107           src/nm-device.h
6108                 - (device_activation_precheck, check_connection_complete): remove this
6109                         virtual function; incomplete connections should be invalid by
6110                         definition, complete-ness should be checked in the setting's
6111                         verify function
6112
6113         * src/nm-serial-device.c
6114           src/nm-gsm-device.c
6115                 - (real_check_connection_complete): remove
6116
6117         * libnm-util/nm-setting-serial.c
6118                 - (verify): new function; ensure there is a PPP setting too
6119
6120         * libnm-util/nm-setting-gsm.c
6121                 - (verify): ensure there is a serial setting too
6122
6123 2008-01-06  Dan Williams  <dcbw@redhat.com>
6124
6125         * src/dhcp-manager/nm-dhcp-manager.c
6126                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6127                         (gnome.org #332953)
6128
6129 2008-01-04  Dan Williams  <dcbw@redhat.com>
6130
6131         * src/named-manager/nm-named-manager.c
6132                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6133                         nameservers if the secondary config doesn't have any
6134                         (gnome.org #346833)
6135
6136 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6137
6138         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6139         with G_PARAM_CONSTRUCT so that they get the default values.
6140
6141         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6142         the monitoring device and prints out the output for now. Or more precicely, doesn't
6143         do absolutely anything right now since the montoring device argument is never set.
6144
6145         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6146         requires it's own knob to turn it on.
6147         (config_fd): Add NMSettingSerial to the arguments list.
6148         (nm_serial_device_open): Ditto.
6149         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6150         (nm_serial_device_get_io_channel): Implement.
6151
6152         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6153         a new reference every time (and forgetting to release it sometimes) is a pain and
6154         it's not like NMManager could work without dbus.
6155         (nm_manager_add_device): Register the added device on dbus here.
6156
6157         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6158         device.
6159
6160         * src/nm-device.c (constructor): Don't export the device here, instead export
6161         it when it's added to the NMManager's device list.
6162
6163 2007-12-31  Dan Williams  <dcbw@redhat.com>
6164
6165         * src/nm-device-interface.c
6166           src/nm-device-interface.h
6167                 - (nm_device_interface_check_connection_conflicts): new function
6168
6169         * src/nm-device.c
6170           src/nm-device.h
6171                 - (nm_device_check_connection_conflicts): new function
6172                 - (device_activation_precheck): don't require subclasses to implement
6173                         check_connection_complete()
6174                 - check_connection() -> check_connection_complete()
6175
6176         * src/nm-device-802-11-wireless.c
6177                 - (real_check_connection): remove; unused
6178                 - (real_check_connection_conflicts): implement, handle lockdown for
6179                         system connections
6180
6181         * src/nm-device-802-3-ethernet.c
6182                 - (real_check_connection): remove; unused
6183
6184         * src/nm-manager.c
6185                 - (check_connection_allowed): new function
6186                 - (nm_manager_activate_device): ensure the connection being requested
6187                         is allowed to be activated
6188
6189         * src/nm-serial-device.c
6190           src/nm-gsm-device.c
6191                 - real_check_connection() -> real_check_connection_complete()
6192
6193 2007-12-27  Dan Williams  <dcbw@redhat.com>
6194
6195         * src/nm-device-interface.c
6196           src/nm-device-interface.h
6197                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6198                         normalize and expand errors
6199                 - (nm_device_interface_init): register errors so they can be marshalled
6200                         through dbus-glib
6201                 - (nm_device_interface_activate): ensure that failure of activation
6202                         returns an error
6203
6204         * src/nm-device.c
6205           src/nm-device.h
6206                 - (device_activation_precheck): implementations of check_connection()
6207                         now take a GError and must fill it in if the check fails.  Return
6208                         more descriptive error if the requested connection is already
6209                         activating
6210                 - (nm_device_activate): actually try to return descriptive errors on
6211                         failures
6212
6213         * src/nm-device-802-11-wireless.c
6214           src/nm-device-802-3-ethernet.c
6215           src/nm-serial-device.c
6216           src/nm-gsm-device.c
6217                 - (real_check_connection): return more descriptive errors on failure
6218
6219         * src/NetworkManagerPolicy.c
6220                 - (nm_policy_device_change_check): print activation errors in the logs
6221
6222         * src/nm-manager.c
6223                 - (nm_manager_error_quark, nm_manager_error_get_type,
6224                    nm_manager_class_init): new errors
6225                 - (nm_manager_activate_device): handle errors
6226                 - (nm_manager_error_new): removed
6227                 - (wait_for_connection_expired, connection_added_default_handler,
6228                    impl_manager_activate_device): better error handling
6229
6230 2007-12-27  Dan Williams  <dcbw@redhat.com>
6231
6232         Fixes gnome.org #466954
6233
6234         * src/supplicant-manager/nm-supplicant-settings-verify.c
6235                 - Allow 'frequency' network property
6236
6237         * src/supplicant-manager/nm-supplicant-config.c
6238           src/supplicant-manager/nm-supplicant-config.h
6239                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6240                         for callers to specify the frequency an Ad-Hoc network should operate
6241                         on.  Some drivers require this to successfully create an Ad-Hoc
6242                         network.
6243
6244         * src/nm-device-802-11-wireless.c
6245                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6246                         guint32 value in MHz
6247                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6248                         iw_freq_to_uint32()
6249                 - (find_supported_frequency): new function; find a free supported
6250                         frequency for a user-created Ad-Hoc network
6251                 - (build_supplicant_config): if no frequency was specified for a user-
6252                         created Ad-Hoc network, find a free one to use
6253                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6254                         a specific object as user-created
6255
6256 2007-12-27  Dan Williams  <dcbw@redhat.com>
6257
6258         * libnm-util/nm-utils.c
6259           libnm-util/nm-utils.h
6260                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6261                         for adhoc networks
6262
6263 2007-12-24  Dan Williams  <dcbw@redhat.com>
6264
6265         * libnm-util/nm-setting-wireless.c
6266                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6267                         185, 187, 188, 192, and 196
6268
6269 2007-12-24  Dan Williams  <dcbw@redhat.com>
6270
6271         * src/nm-device-802-11-wireless.c
6272                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6273                         a channel # instead of a frequency
6274
6275 2007-12-24  Dan Williams  <dcbw@redhat.com>
6276
6277         * src/NetworkManagerAP.c
6278           src/NetworkManagerAP.h
6279                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6280                 - (freq_to_channel): handle split band tables
6281                 - (channel_to_freq): handle split band tables, take a band argument
6282
6283 2007-12-24  Dan Williams  <dcbw@redhat.com>
6284
6285         * libnm-util/nm-setting-connection.h
6286           libnm-util/nm-setting-connection.c
6287                 - Add 'lockdown' member
6288
6289 2007-12-22  Dan Williams  <dcbw@redhat.com>
6290
6291         * libnm-util/nm-setting-wireless.c
6292                 - (nm_setting_wireless_class_init): add missing 'rate' property
6293                         specification
6294
6295 2007-12-18  Dan Williams  <dcbw@redhat.com>
6296
6297         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6298
6299         * src/nm-netlink-monitor.c
6300           src/nm-netlink-monitor.h
6301                 - Remove handrolled netlink, use libnl instead
6302
6303         * src/nm-device-802-3-ethernet.c
6304                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6305                    nm_device_802_3_ethernet_carrier_on): use new names
6306
6307 2007-12-17  Dan Williams  <dcbw@redhat.com>
6308
6309         * configure.in
6310                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6311                         and fixes memory leaks)
6312
6313         * src/nm-netlink.c
6314                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6315                         automatically handle the netlink PID
6316
6317 2007-12-17  Dan Williams  <dcbw@redhat.com>
6318
6319         Patch from Michael Biebl <biebl@debian.org>
6320
6321         * configure.in
6322           src/ppp-manager/Makefile.am
6323                 - fix up install dir of pppd plugin
6324                 - clean up configure.in a bit
6325
6326 2007-12-12  Dan Williams  <dcbw@redhat.com>
6327
6328         * system-settings/src/nm-system-settings.conf
6329                 - Allow non-root clients (like the applet) to read settings
6330
6331 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6332
6333         * Replace all occurences of 'UMTS' with 'GSM'.
6334
6335 2007-12-07  Dan Williams  <dcbw@redhat.com>
6336
6337         * src/nm-serial-device.c
6338                 - (real_is_up): serial devices are always "up"
6339
6340 2007-12-07  Dan Williams  <dcbw@redhat.com>
6341
6342         * src/nm-netlink.c
6343           src/NetworkManagerSystem.c
6344                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6345                         twice (gnome.org #491047)
6346                 - Make more robust against allocation-related failures should they occur
6347
6348 2007-12-07  Dan Williams  <dcbw@redhat.com>
6349
6350         Noticed by Christian Persch <chpe@gnome.org>
6351
6352         Always chain up to parent object in dispose and finalize handlers.
6353                 (gnome.org #433112)
6354
6355 2007-12-07  Dan Williams  <dcbw@redhat.com>
6356
6357         * src/nm-device-802-11-wireless.c
6358                 - Wrap #include of linux/mii.h to fix redefined structures due to
6359                         incorrect kernel headers (gnome.org #350061)
6360
6361 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6362
6363         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6364         before doing anything else.
6365         (init_modem): Move modem initialization here.
6366
6367         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6368         (nm_serial_device_flash): Implement.
6369
6370         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6371         changes signal is "StateChanged" and not "Status".
6372         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6373
6374 2007-12-06  Dan Williams  <dcbw@redhat.com>
6375
6376         * src/supplicant-manager/nm-supplicant-config.c
6377                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6378                         to only send some options when they make sense; also send phase2
6379                         option to the supplicant (possible fix for rh #399631)
6380
6381 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6382
6383         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6384         arguments: This whole file shouldn't really know anything about NMDevices, it
6385         should deal only with device interfaces. Devices might have different ifaces for
6386         different stuff and this place shouldn't know anything about it.
6387
6388         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6389         (global_state_changed): Implement. In the current NM it's not really important,
6390         but will be required in the case of multiple active devices. (Or even better,
6391         if stuff like that gets moved out from NM).
6392
6393         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6394         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6395         instead.
6396
6397         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6398         devices like serial devices (ttyS0 and ppp0 for example).
6399         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6400         set.
6401         (nm_device_set_ip_iface): Implement.
6402         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6403         after setting ip4_config from here ...
6404         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6405         than this function should call nm_system_device_set_from_ip4_config() because no
6406         other code has enough information on which arguments to use. So instead, other code
6407         could just set the new ip4 config using this function and everyone is happy.
6408
6409         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6410         if we happen to get deactivated while something is pending.
6411         (automatic_registration): Handle the response that indicates pending network
6412         registration and wait until the pending registration is done.
6413         (real_deactivate_quickly): If there's a pending operation, cancel it.
6414
6415         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6416         (real_deactivate_quickly): ... and remove it when it's down.
6417         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6418         it if needed.
6419         (nm_serial_device_wait_for_reply): Ditto.
6420
6421 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6422
6423         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6424         (get_network_done): Remove newline, nm_info() does it already.
6425         (real_act_stage1_prepare): Turn the modem echo off.
6426
6427         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6428         device, set the route to the device interface. This is a hack.
6429
6430         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6431         return, no need for a new-line.
6432         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6433         Change the device iface here (ugh).
6434         (real_act_stage4_get_ip4_config): Implement.
6435         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6436         Restore the device iface.
6437
6438         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6439         device is not wired or wireless (eg, automatically upped) device.
6440
6441         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6442         it isn't.
6443         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6444
6445         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6446         before calling it's is_device_fn().
6447
6448 2007-12-05  Dan Williams  <dcbw@redhat.com>
6449
6450         * libnm-util/nm-utils.c
6451                 - (nm_utils_register_value_transformations,
6452                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6453                         GHashTables of GValues too
6454
6455 2007-12-04  Dan Williams  <dcbw@redhat.com>
6456
6457         * initscript/RedHat/NetworkManager.in
6458                 - No longer start named; it's D-Bus interface is going away
6459
6460 2007-12-04  Dan Williams  <dcbw@redhat.com>
6461
6462         Patch from Michael Biebl <biebl@debian.org>
6463
6464         * system-settings/plugins/ifcfg/Makefile.am
6465           system-settings/src/main.c
6466           system-settings/src/Makefile.am
6467                 - Put system settings plugins in NM plugins dir
6468
6469         * src/ppp-manager/Makefile.am
6470           src/ppp-manager/nm-ppp-manager.c
6471                 - Move pppd plugin to NM plugins dir
6472
6473 2007-12-04  Dan Williams  <dcbw@redhat.com>
6474
6475         * libnm-util/nm-setting-vpn-properties.h
6476                 - Clarify usage of the 'data' member of the setting
6477
6478         * libnm-util/nm-setting-vpn-properties.c
6479                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6480                 - (set_property): just remove all the settings; don't recreate the has
6481                 - (update_one_secret): don't need to create the hash table here since
6482                         it should always be present
6483
6484 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6485
6486         Implement PIN and PUK requesting.
6487
6488         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6489         (enter_pin): Handle PIN and PUK requests.
6490         (real_act_stage1_prepare): Clear the secret type.
6491         (real_connection_secrets_updated): Implement this class method to get
6492         notified when new secrets arrive.
6493         (nm_umts_device_class_init): Add private data back to the umts device class
6494         to store the required secret type.
6495
6496 2007-12-01  Dan Williams  <dcbw@redhat.com>
6497
6498         * system-settings/plugins/ifcfg/parser.c
6499                 - (parser_parse_file): don't try to verify NULL connections
6500
6501 2007-12-01  Dan Williams  <dcbw@redhat.com>
6502
6503         * system-settings/src/main.c
6504                 - (load_connections, add_connection_to_settings): actually export
6505                         plugin-provided connections over D-Bus so NM can get them
6506
6507 2007-12-01  Dan Williams  <dcbw@redhat.com>
6508
6509         * system-settings/plugins/ifcfg/parser.c
6510           system-settings/plugins/ifcfg/parser.h
6511           system-settings/plugins/ifcfg/plugin.c
6512                 - Hook up more inotify bits (untested)
6513
6514 2007-11-29  Dan Williams  <dcbw@redhat.com>
6515
6516         * system-settings/src/nm-system-config-interface.h
6517           system-settings/src/nm-system-config-interface.c
6518                 - (nm_system_config_interface_init,
6519                    nm_system_config_interface_get_connections): add
6520
6521         * system-settings/src/main.c
6522                 - (load_plugins, load_connections, main): use a GSList for plugins
6523                         to ensure priority ordering
6524
6525         * system-settings/plugins/ifcfg/parser.c
6526                 - (ifcfg_error_quark): move to plugin.c, and rename
6527
6528         * system-settings/plugins/ifcfg/plugin.h
6529           system-settings/plugins/ifcfg/plugin.c
6530                 - (ifcfg_plugin_error_quark): move here from parser.c
6531                 - rework connection loading and initialization
6532                 - Add preliminary inotify support for network profile config file
6533
6534 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6535
6536         Merge the beginnings of the new GSM card support.
6537
6538         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6539         ppp watch source before killing pppd - If this happens from g_object_unref()
6540         then the ppp manager is already destroyed by the time the watch callback runs.
6541
6542         * src/nm-hal-manager.c: Add a device_type_name string to the device
6543         creators, so that we can print a nice human readable string when a
6544         device is added.
6545
6546         * src/nm-umts-device.c (automatic_registration_get_network): Query
6547         for the activated network, not much is done with the result thought.
6548
6549         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6550         (ppp_ip4_config): Change the device state to activated here for now.
6551         (real_check_connection): Make sure the connection includes ppp setting.
6552
6553         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6554
6555         * libnm-glib/Makefile.am: Add the new files to build.
6556
6557         * libnm-glib/nm-umts-device.c: 
6558         * libnm-glib/nm-umts-device.h: Implement.
6559
6560 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6561
6562         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6563         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6564
6565         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6566         the timeout source - this function is only called when the timeout source has
6567         been removed.
6568         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6569         to be big enough to contain the terminating zero element as well.
6570         The timeout argument is meant to be in seconds now.
6571         (real_deactivate_quickly): Implement.
6572
6573         * src/NetworkManager.conf: Allow root to own 
6574         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6575
6576         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6577         (not unsigned ints).
6578
6579         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6580         small issue with parity bounds - capital letters have lower ascii codes
6581         than lower case letters.
6582
6583         * libnm-util/nm-connection.c (register_default_settings): Register serial
6584         and umts settings.
6585
6586 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6587
6588         Remove the "index" property from devices as not all device types have this.
6589
6590         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6591
6592         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6593         (wired_device_creator): Get the device interface from hal to create the device.
6594         (wireless_device_creator): Ditto.
6595
6596         * src/nm-device.c (nm_device_init): Remove the index member.
6597         (constructor): Remove the checks for index property, make interface property
6598         a require constructor property.
6599         Use the HAL udi for DBus path for devices.
6600         (nm_device_get_index): Remove.
6601         (set_property): Remove index handling.
6602         (get_property): Ditto.
6603         (nm_device_get_dbus_path): Remove.
6604
6605         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6606         property.
6607
6608         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6609         Access the device index through it's interface.
6610         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6611         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6612         index argument. Add interface argument.
6613
6614         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6615         the useless test_dev argument. Remove index argument. Add interface arugment.
6616
6617         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6618         device index through interface.
6619         (nm_system_set_mtu): Ditto.
6620
6621         * introspection/nm-device.xml: Remove the "Index" property.
6622
6623 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6624
6625         * src/nm-serial-device.c: 
6626         * src/nm-serial-device.c: 
6627         * src/nm-umts-device.c:
6628         * src/nm-umts-device.h: Implement.
6629
6630         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6631         allocated by libhal.
6632         (modem_device_creator): Implement.
6633         (register_built_in_creators): Register the modem creator.
6634
6635         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6636         Remove the unused test_dev argument.
6637
6638         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6639
6640         * src/Makefile.am: Add new files to build.
6641         Link in ppp-manager.
6642
6643         * libnm-util/nm-setting-umts.c: 
6644         * libnm-util/nm-setting-umts.h: 
6645         * libnm-util/nm-setting-serial.c: 
6646         * libnm-util/nm-setting-serial.h: Implement.
6647
6648         * libnm-util/Makefile.am: Add new files to build.
6649
6650 2007-11-28  Dan Williams  <dcbw@redhat.com>
6651
6652         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6653
6654         Support DHCP-provided static routes.
6655
6656         * src/nm-ip4-config.h
6657           src/nm-ip4-config.c
6658                 - Add get/set functions for static routes
6659
6660         * src/dhcp-manager/nm-dhcp-manager.c
6661                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6662                         DHCP response
6663
6664         * src/NetworkManagerSystem.c
6665                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6666                         interface when applying the IP4Config
6667
6668 2007-11-28  Dan Williams  <dcbw@redhat.com>
6669
6670         * src/nm-device-802-11-wireless.c
6671                 - (real_act_stage1_prepare): mark APs created for hidden networks
6672                         as non-broadcasting
6673
6674 2007-11-27  Dan Williams  <dcbw@redhat.com>
6675
6676         * system-settings/src/nm-system-config-interface.h
6677                 - Note how to store secrets on NMSetting objects
6678
6679         * system-settings/src/dbus-settings.c
6680                 - (connection_settings_get_secrets): implement
6681
6682 2007-11-27  Dan Williams  <dcbw@redhat.com>
6683
6684         * system-settings/plugins/ifcfg/Makefile.am
6685           system-settings/plugins/ifcfg/parser.c
6686           system-settings/plugins/ifcfg/parser.h
6687           system-settings/plugins/ifcfg/plugin.c
6688                 - Parse wireless connections too
6689
6690         * system-settings/src/dbus-settings.c
6691           system-settings/src/dbus-settings.h
6692           system-settings/src/main.c
6693                 - Handle connection update/removal if the plugin supports it
6694
6695 2007-11-27  Dan Williams  <dcbw@redhat.com>
6696
6697         * src/nm-dbus-manager.h
6698           src/nm-hal-manager.c
6699                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6700                         do it for them
6701
6702         * src/Makefile.am
6703           src/NetworkManagerDbusUtils.c
6704           src/NetworkManagerDbusUtils.h
6705                 - Remove these two source files; they are unused
6706
6707 2007-11-27  Dan Williams  <dcbw@redhat.com>
6708
6709         * src/vpn-manager/nm-vpn-manager.c
6710                 - (impl_vpn_manager_connect): fix system settings check (found by
6711                         James M. Leddy)
6712
6713 2007-11-26  Dan Williams  <dcbw@redhat.com>
6714
6715         * Fix warnings so everything compiles with --enable-more-warnings
6716
6717 2007-11-25  Dan Williams  <dcbw@redhat.com>
6718
6719         * system-settings/*
6720                 - Rework structure and code to use GModule-loaded plugins and a plugin
6721                         interface that plugins export to the system settings service
6722
6723 2007-11-21  Dan Williams  <dcbw@redhat.com>
6724
6725         * system-settings/*
6726                 - Add Soren's system settings service.  Needs work for distros other
6727                         than Fedora; the backends from NM should mostly migrate to here
6728                         and be converted to GObjects
6729
6730 2007-11-21  Dan Williams  <dcbw@redhat.com>
6731
6732         * libnm-util/nm-setting-vpn-properties.c
6733                 - (set_property): must deep-copy the given settings hash, otherwise
6734                         double-free errors occur when the setting is disposed of
6735
6736 2007-11-21  Dan Williams  <dcbw@redhat.com>
6737
6738         * src/vpn-manager/nm-vpn-act-request.h
6739           src/vpn-manager/nm-vpn-act-request.c
6740                 - Remove; unused
6741
6742 2007-11-20  Dan Williams  <dcbw@redhat.com>
6743
6744         * libnm-util/nm-utils.c
6745                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6746                    nm_utils_convert_ip4_addr_struct_array_to_string,
6747                    nm_utils_register_value_transformations): print out the readable
6748                         values of more types of properties of NMSettings subclasses
6749
6750 2007-11-20  Dan Williams  <dcbw@redhat.com>
6751
6752         * libnm-util/nm-setting-ip4-config.c
6753                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6754                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6755                         marshal GValueArrays inside collections, so switch to types that it
6756                         can actually marshal/demarshal
6757
6758 2007-11-16  Dan Williams  <dcbw@redhat.com>
6759
6760         * libnm-util/nm-setting-wireless-security.c
6761                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6762                         minimal verification of EAP methods too
6763                 - (verify): verify phase1 eap methods too
6764
6765 2007-11-15  Dan Williams  <dcbw@redhat.com>
6766
6767         * libnm-glib/nm-device.h
6768           libnm-glib/nm-device.c
6769                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6770                         const char *
6771
6772 2007-11-15  Dan Williams  <dcbw@redhat.com>
6773
6774         * libnm-glib/nm-device.c
6775                 - (get_product_and_vendor): don't try to free things that should be
6776                         freed
6777
6778 2007-11-15  Dan Williams  <dcbw@redhat.com>
6779
6780         * src/NetworkManagerUtils.c
6781                 - (nm_ethernet_address_is_valid): unbreak previous fix
6782
6783 2007-11-15  Dan Williams  <dcbw@redhat.com>
6784
6785         * src/supplicant-manager/nm-supplicant-config.c
6786                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6787                         options
6788
6789 2007-11-15  Dan Williams  <dcbw@redhat.com>
6790
6791         * src/NetworkManagerUtils.c
6792                 - (nm_ethernet_address_is_valid): fix style, clarify
6793                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6794
6795         * src/nm-device-802-11-wireless.c
6796                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6797                 - (nm_device_802_11_wireless_get_ssid,
6798                    nm_device_802_11_wireless_get_bssid,
6799                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6800                         before calling the ioctl; fixes valgrind-reported jump depends on
6801                         uninitialized value errors
6802
6803 2007-11-15  Dan Williams  <dcbw@redhat.com>
6804
6805         * libnm-util/nm-setting.c
6806                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6807                         unecessary to serialize 'name'
6808
6809         * src/nm-activation-request.c
6810                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6811                         the GetSecrets call
6812
6813 2007-11-15  Dan Williams  <dcbw@redhat.com>
6814
6815         * libnm-util/nm-setting-connection.h
6816           libnm-util/nm-setting-connection.c
6817                 - Rename the 'name' property to 'id', because it conflicted with the
6818                         NMSetting superclass' 'name' property.
6819
6820         * libnm-util/nm-setting.c
6821                 - (nm_setting_to_hash): serialize the 'name' property
6822                 - (one_property_cb): ignore 'name' on deserialization of a connection
6823
6824         * src/nm-device-802-11-wireless.c
6825           src/vpn-manager/nm-vpn-connection.c
6826           src/NetworkManagerPolicy.c
6827                 - Fix up for NMSettingConnection 'name'->'id' changes
6828
6829 2007-11-13  Dan Williams  <dcbw@redhat.com>
6830
6831         * libnm-glib/nm-device-802-11-wireless.h
6832           libnm-glib/nm-device-802-11-wireless.c
6833                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6834
6835         * test/nm-tool.c
6836           libnm-glib/libnm-glib-test.c
6837                 - Fixes for above change
6838
6839 2007-11-12  Dan Williams  <dcbw@redhat.com>
6840
6841         * src/supplicant-manager/nm-supplicant-settings-verify.c
6842                 - Allow fragment_size option
6843
6844         * src/supplicant-manager/nm-supplicant-settings-verify.c
6845                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6846                         EAP fragment size than the default to help some TLS connections
6847
6848 2007-11-12  Dan Williams  <dcbw@redhat.com>
6849
6850         Make certs actually work.  The private key is now a secret, and should be
6851         decrypted when requested by NM.  The private key and phase2 private key
6852         passwords are no longer interesting to NM because they should be used by
6853         the settings service to decrypt the private key itself before passing it
6854         to NM, and hence have been removed as fields.
6855
6856         * libnm-util/nm-setting-wireless-security.h
6857           libnm-util/nm-setting-wireless-security.c
6858                 - Remove private-key-passwd and phase2-private-key-passwd from
6859                         properties
6860                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6861                    need_secrets): use property #defines instead strings to keep things
6862                         consistent
6863                 - (need_secrets_tls): if a client certificate is present but no
6864                         private key, request the private key
6865                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6866                         remove private key password stuff, mark private keys as secret
6867
6868         * src/supplicant-manager/nm-supplicant-settings-verify.c
6869                 - Remove private_key_passwd and private_key2_passwd from opt_table
6870
6871 2007-11-09  Dan Williams  <dcbw@redhat.com>
6872
6873         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6874         Since the vpn-properties are managed and known by the VPN daemons themselves,
6875         libnm-util doesn't know what's secret and what's in the setting's 'data'
6876         member.
6877
6878         * libnm-util/nm-setting.h
6879           libnm-util/nm-setting.c
6880                 - Add the ability for subclasses to override update_one_secret
6881
6882         * libnm-util/nm-setting-vpn-properties.c
6883                 - Override update_one_secret and just copy the values into the
6884                         internal table
6885
6886 2007-11-09  Dan Williams  <dcbw@redhat.com>
6887
6888         * libnm-glib/nm-settings.h
6889           libnm-glib/nm-settings.c
6890                 - (nm_settings_new_error): remove
6891                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6892                         clients should use g_set_error() with NM_SETTINGS_ERROR
6893
6894 2007-11-09  Dan Williams  <dcbw@redhat.com>
6895
6896         * src/supplicant-manager/nm-supplicant-config.c
6897                 - (nm_supplicant_config_add_setting_wireless_security): private key
6898                         passwords are never sent to wpa_supplicant, because the supplicant
6899                         should never be reading random files from the disk.  Clients like
6900                         the applet are required to decrypt the private keys and send NM
6901                         the decrypted blobs.
6902
6903 2007-11-08  Dan Williams  <dcbw@redhat.com>
6904
6905         * libnm-util/nm-setting-wireless-security.h
6906           libnm-util/nm-setting-wireless-security.c
6907                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6908                         members to 802-11-wireless-security structure.  This should be used
6909                         to indicate that the values in private-key and phase2-private-key
6910                         are already decrypted by the user agent, and that no
6911                         private-key-passwd or phase2-private-key-passwd should be expected.
6912                         It is not meant to be a stored configuration value, but meant to
6913                         be set when the conneciton is sent to NM over dbus.
6914
6915 2007-11-08  Dan Williams  <dcbw@redhat.com>
6916
6917         * libnm-util/nm-connection.h
6918           libnm-util/nm-connection.c
6919                 - (nm_connection_need_secrets): add argument to return hints
6920
6921         * src/nm-device-802-11-wireless.c
6922                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6923                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6924                         nm_connection_need_secrets() change
6925
6926 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6927
6928         Rework NMSetting structures: Move each setting to it's own file.
6929         Convert to GObject. Remove home grown setting types and use GTypes.
6930         Use GObject property introspection for hash conversion, enumerating
6931         properties, etc.
6932
6933         * libnm-util/nm-setting-connection.[ch]
6934         * libnm-util/nm-setting-ip4-config.[ch]
6935         * libnm-util/nm-setting-ppp.[ch]
6936         * libnm-util/nm-setting-vpn.[ch]
6937         * libnm-util/nm-setting-vpn-properties.[ch]
6938         * libnm-util/nm-setting-wired.[ch]
6939         * libnm-util/nm-setting-wireless.[ch]
6940         * libnm-util/nm-setting-wireless-security.[ch]
6941
6942         New files, each containing a setting.
6943
6944         * libnm-util/nm-setting-template.[ch]: A template for creating new
6945         settings. To use it, just replace 'template' with the new setting
6946         name, and you're half-way done.
6947
6948         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6949         introspection instead of internal types and tables.
6950
6951         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6952
6953         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6954         GValue types defined by dbus-glib for composed types like collections,
6955         structures and maps.
6956
6957         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6958         a setting from connection takes the setting type now. Also, since
6959         the settings are in multiple files, include relevant settings.
6960
6961 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6962
6963         * configure.in:
6964         * src/backends/NetworkManagerGentoo.c:
6965         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6966         providers in Gentoo.
6967
6968 2007-10-31  Dan Williams  <dcbw@redhat.com>
6969
6970         * libnm-util/nm-connection.c
6971                 - (gvalue_to_string): handle UINT32 arrays
6972
6973 2007-10-31  Dan Williams  <dcbw@redhat.com>
6974
6975         * libnm-glib/nm-device.h
6976           libnm-glib/nm-device.c
6977                 - (nm_device_get_description): remove
6978                 - (nm_device_get_product, nm_device_get_vendor): add
6979                 - (nm_device_update_description): new function (private); walk HAL
6980                         devices to get product and vendor IDs for a specific device
6981
6982 2007-10-31  Dan Williams  <dcbw@redhat.com>
6983
6984         * src/nm-device-802-11-wireless.c
6985                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6986
6987 2007-10-29  Dan Williams  <dcbw@redhat.com>
6988
6989         * src/nm-hal-manager.c
6990                 - (device_added, device_new_capability): ignore device additions while
6991                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6992                         kernel module is unloaded and reloaded and recognized by NM again.
6993
6994 2007-10-26  Dan Williams  <dcbw@redhat.com>
6995
6996         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6997
6998         * src/NetworkManagerAP.c
6999           src/NetworkManagerAP.h
7000           libnm-glib/nm-access-point.c
7001           libnm-glib/nm-access-point.h
7002                 - Make 'rate' property a guint32 to better match with WEXT and
7003                         wpa_supplicant and to allow representation of higher bitrates
7004
7005         * src/nm-device-802-11-wireless.c
7006           introspection/nm-device-802-11-wireless.xml
7007           libnm-glib/nm-device-802-11-wireless.c
7008           libnm-glib/nm-device-802-11-wireless.h
7009                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7010
7011         * src/nm-device-802-3-ethernet.c
7012           src/nm-device-802-3-ethernet.h
7013           introspection/nm-device-802-3-ethernet.xml
7014           libnm-glib/nm-device-802-3-ethernet.c
7015           libnm-glib/nm-device-802-3-ethernet.h
7016                 - Make 'speed' property a guint32 to match other speed/rate types
7017                 - Make nm_device_802_3_ethernet_get_speed() static
7018
7019         * test/nm-tool.c
7020                 - Update for the changes above
7021
7022 2007-10-26  Dan Williams  <dcbw@redhat.com>
7023
7024         * src/named-manager/nm-named-manager.c
7025                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7026                     not calling fclose() twice on some error conditions
7027
7028 2007-10-26  Dan Williams  <dcbw@redhat.com>
7029
7030         * src/nm-activation-request.c
7031                 - (dispose): clean up indentation; get the right DBusGProxy object to
7032                         cancel the GetSecrets pending call on.  Need to use the Secrets
7033                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7034                         pending call doesn't get canceled, and pressing Cancel in the
7035                         applet's password dialog could cause get_secrets_cb() to be called
7036                         after the activation request has already been destroyed
7037
7038 2007-10-24  Dan Williams  <dcbw@redhat.com>
7039
7040         * src/supplicant-manager/nm-supplicant-config.c
7041                 - (nm_supplicant_config_add_blob): pass blob data and length for
7042                         verification
7043                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7044
7045 2007-10-24  Dan Williams  <dcbw@redhat.com>
7046
7047         * src/supplicant-manager/nm-supplicant-settings-verify.c
7048                 - (opt_table): max length for certificates should be 65536
7049
7050 2007-10-24  Dan Williams  <dcbw@redhat.com>
7051
7052         * src/supplicant-manager/nm-supplicant-interface.c
7053                 - (blob_free): correctly free blob data after use
7054                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7055
7056 2007-10-24  Dan Williams  <dcbw@redhat.com>
7057
7058         * libnm-util/nm-setting.c
7059                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7060                         EAP method need secrets
7061
7062 2007-10-24  Dan Williams  <dcbw@redhat.com>
7063
7064         * src/backends/NetworkManagerRedHat.c
7065                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7066
7067 2007-10-23  Dan Williams  <dcbw@redhat.com>
7068
7069         * libnm-util/nm-setting.c
7070           libnm-util/nm-setting.c
7071                 - (nm_setting_compare): implement
7072                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7073                    compare_one_hash_gvalue): compare the contents of a setting
7074
7075         * libnm-util/nm-connection.c
7076                 - (nm_connection_compare): implement
7077
7078 2007-10-23  Dan Williams  <dcbw@redhat.com>
7079
7080         * src/nm-activation-request.c
7081                 - (get_secrets_cb): handle getting a setting back that is more than
7082                         just secrets (ie, user changed auth or EAP method or something)
7083
7084 2007-10-23  Dan Williams  <dcbw@redhat.com>
7085
7086         * libnm-util/nm-setting.c
7087           libnm-util/nm-setting.h
7088                 - (nm_setting_verify): new function; verify one setting
7089                 - (nm_settings_verify_all): rename from nm_settings_verify()
7090                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7091                         all_settings
7092
7093         * libnm-util/nm-connection.c
7094                 - (nm_connection_replace_settings, nm_connection_verify,
7095                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7096
7097 2007-10-23  Dan Williams  <dcbw@redhat.com>
7098
7099         * src/nm-device-802-11-wireless.c
7100                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7101                         desired behavior
7102
7103 2007-10-23  Dan Williams  <dcbw@redhat.com>
7104
7105         * src/supplicant-manager/nm-supplicant-settings-verify.c
7106                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7107                         nm-settings.c
7108
7109 2007-10-23  Dan Williams  <dcbw@redhat.com>
7110
7111         * src/nm-device-802-11-wireless.c
7112                 - (real_act_stage2_config): after the first association failure,
7113                         if the connection still needs secrets ask the user for them
7114                         explicitly.  After the fourth association failure due to bad
7115                         secrets, fail the connection entirely.  Handles the GetSecrets
7116                         loop that NM gets into when the provided secrets don't match up
7117                         with the connection details.
7118
7119 2007-10-23  Dan Williams  <dcbw@redhat.com>
7120
7121         * src/supplicant-manager/nm-supplicant-config.c
7122                 - (nm_supplicant_config_add_setting_wireless_security): only add
7123                         WPA-specific options when WPA is in use
7124
7125 2007-10-23  Dan Williams  <dcbw@redhat.com>
7126
7127         * src/supplicant-manager/nm-supplicant-config.c
7128                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7129                         secret doesn't need to be unhexified
7130
7131 2007-10-23  Dan Williams  <dcbw@redhat.com>
7132
7133         * libnm-util/nm-setting.c
7134                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7135                         before trying to do something with it
7136
7137 2007-10-23  Dan Williams  <dcbw@redhat.com>
7138
7139         * src/nm-device-802-11-wireless.c
7140                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7141
7142 2007-10-23  Dan Williams  <dcbw@redhat.com>
7143
7144         * src/nm-device-802-11-wireless.c
7145                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7146                         non-SSID-broadcasting APs
7147
7148 2007-10-23  Dan Williams  <dcbw@redhat.com>
7149
7150         * src/NetworkManagerAP.c
7151                 - (match_cipher, security_compatible): remove
7152                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7153                         libnm-util instead
7154
7155 2007-10-23  Dan Williams  <dcbw@redhat.com>
7156
7157         * libnm-util/nm-utils.c
7158           libnm-util/nm-utils.h
7159                 - (nm_utils_ap_security_compatible): common function for checking
7160                         whether a specific AP is compatible with an NMConnection
7161
7162 2007-10-23  Dan Williams  <dcbw@redhat.com>
7163
7164         * libnm-util/nm-setting.c
7165                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7166                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7167                    need_secrets_password, setting_wireless_security_verify): fix
7168                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7169                         secrets logic for each supported EAP method
7170
7171 2007-10-23  Dan Williams  <dcbw@redhat.com>
7172
7173         * src/supplicant-manager/nm-supplicant-config.c
7174                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7175                         config option name, should be "private_key2_passwd"
7176
7177 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7178
7179         Implement support for static IP addresses, additional/overridden DNS and
7180         DNS domain search lists.
7181
7182         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7183         (ip4_addresses_to_gvalue): Implement.
7184         (convert_array_to_byte_array): Implement.
7185         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7186         NM_S_TYPE_IP4_ADDRESSES.
7187         (nm_setting_hash): Ditto.
7188         (default_setting_clear_secrets): Add a default case for the switch: IP address
7189         shouldn't be secret, ever.
7190         (setting_ip4_config_verify): Update, requires addresses in case of manual
7191         configurations.
7192         (setting_ip4_config_destroy): Free stuff.
7193
7194         * src/nm-device.c (merge_ip4_config): Implement.
7195         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7196
7197 2007-10-22  Dan Williams  <dcbw@redhat.com>
7198
7199         * libnm-util/nm-setting.c
7200                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7201                         pairwise cipher options for Dynamic WEP
7202
7203 2007-10-21  Dan Williams  <dcbw@redhat.com>
7204
7205         * src/NetworkManagerAP.c
7206           src/NetworkManagerAP.h
7207                 - Rename 'articifical' -> 'fake' since that's what they are until
7208                         noticed in scans
7209                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7210                         from the attributes in an NMConnection object
7211                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7212                         WPA Enterprise
7213                 - (nm_ap_match_in_list): find a matching AP in a scan list
7214
7215         * src/nm-device-802-11-wireless.c
7216                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7217                         AP when searching the scan list; match on frequency and mode too
7218                 - (nm_device_802_11_wireless_get_frequency): implement
7219                 - (merge_scanned_ap): replace duplicate matching logic with
7220                         nm_ap_match_in_list()
7221                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7222                         the user is trying to connect to a hidden network that is not yet
7223                         known from the scan list
7224                 - (activation_success_handler): now that the card knows the AP's BSSID,
7225                         there may already be a scanned AP in the scan list that is what
7226                         we really wanted to connect to, but didn't know at the time.  Use
7227                         that instead of the 'fake' AP created at activation start and get
7228                         rid of the 'fake' AP 
7229                 - (cull_scan_list): don't remove fake APs
7230
7231 2007-10-21  Dan Williams  <dcbw@redhat.com>
7232
7233         * src/nm-activation-request.h
7234           src/nm-activation-request.c
7235                 - (nm_act_request_set_specific_object): new function; allow setting the
7236                         specific object if one isn't set yet
7237
7238 2007-10-20  Dan Williams  <dcbw@redhat.com>
7239
7240         * src/supplicant-manager/nm-supplicant-config.h
7241           src/supplicant-manager/nm-supplicant-config.c
7242                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7243                         table to store blobs
7244                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7245                         blob hash table
7246                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7247                 - (nm_supplicant_config_add_setting_wireless_security): handle
7248                         options that use certificates (ie, blobs)
7249
7250         * src/nm-device-802-11-wireless.c
7251                 - (build_supplicant_config): pass a UID (just use the connection path)
7252                         to the supplicant config as now required
7253
7254         * src/supplicant-manager/nm-supplicant-interface.c
7255                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7256                         there are any blobs to send to wpa_supplicant, send those first
7257                         before sending the network configuration
7258
7259 2007-10-19  Dan Williams  <dcbw@redhat.com>
7260
7261         Split the GetSecrets() call off to a separate D-Bus interface so that it
7262         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7263         should be able to call GetSecrets().
7264
7265         * include/NetworkManager.h
7266                 - Define the connection secrets D-Bus interface
7267
7268         * src/vpn-manager/nm-vpn-connection.c
7269                 - (clear_need_auth): get the right proxy object for the connection
7270                         secrets interface
7271                 - (get_connection_secrets): use the connection secrets proxy; send
7272                         empty hints in get secrets request
7273
7274         * src/nm-activation-request.c
7275                 - (nm_act_request_request_connection_secrets): use the connection
7276                         secrets proxy; send empty hints in get secrets request
7277
7278         * src/nm-manager.c
7279           src/nm-manager.h
7280                 - (connection_get_settings_cb): set the connection secrets proxy on
7281                         the connection object too
7282                 - (internal_new_connection_cb): create the connection secrets proxy
7283
7284         * introspection/nm-settings-connection.xml
7285                 - Define Connection.Secrets interface and move GetSecrets there
7286                 - Add a 'hints' argument to GetSecrets
7287
7288         * libnm-glib/nm-settings.c
7289           libnm-glib/nm-settings.h
7290                 - (impl_connection_settings_get_secrets): add 'hints' argument
7291
7292 2007-10-19  Dan Williams  <dcbw@redhat.com>
7293
7294         * src/nm-device.c
7295                 - (constructor): add message about what path a device is exported as
7296                         to help in debugging rh #339011
7297
7298 2007-10-17  Dan Williams  <dcbw@redhat.com>
7299
7300         * libnm-util/nm-utils.h
7301           libnm-util/nm-utils.c
7302                 - (nm_utils_security_valid): common function to help find the intersection
7303                         of capabilities of devices and (optionally) access points
7304
7305 2007-10-17  Dan Williams  <dcbw@redhat.com>
7306
7307         * src/nm-device-802-11-wireless.c
7308                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7309                         don't get erroneously cleared
7310
7311 2007-10-17  Dan Williams  <dcbw@redhat.com>
7312
7313         * src/nm-manager.h
7314           src/nm-manager.c
7315           src/nm-hal-manager.c
7316                 - (device_removed, finalize, nm_manager_remove_device,
7317                    nm_manager_sleep): add a 'deactivate' argument to 
7318                    nm_manager_remove_device() to fully deactivate devices when necessary
7319                    (ie, always except when waking up)
7320
7321 2007-10-16  Dan Williams  <dcbw@redhat.com>
7322
7323         * libnm-util/nm-setting.c
7324                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7325                         also isn't valid phase2 autheap method
7326
7327 2007-10-16  Dan Williams  <dcbw@redhat.com>
7328
7329         * libnm-glib/nm-client.c
7330                 - (update_wireless_status): consolidate updates of wireless status
7331                 - (constructor): use update_wireless_status()
7332                 - (manager_running): set wireless status off when NM goes away; requery
7333                         the wireless status when NM comes back
7334
7335 2007-10-16  Dan Williams  <dcbw@redhat.com>
7336
7337         * libnm-glib/nm-client.c
7338                 - (nm_client_activate_device): actually use the fixed-up specific
7339                         object path
7340
7341 2007-10-16  Dan Williams  <dcbw@redhat.com>
7342
7343         * src/nm-hal-manager.c
7344                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7345                         killswitch error messages once
7346
7347 2007-10-16  Dan Williams  <dcbw@redhat.com>
7348
7349         * src/nm-manager.c
7350                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7351                         if it's disabled in hardware; don't touch network devices while
7352                         NM is asleep
7353
7354 2007-10-16  Dan Williams  <dcbw@redhat.com>
7355
7356         * libnm-util/nm-client.c
7357                 - (nm_client_activate_device): convert NULL specific_object to "/",
7358                         which is used in place of NULL
7359
7360         * src/nm-manager.c
7361                 - (impl_manager_activate_device): convert "/" specific_object back into
7362                         NULL
7363
7364 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7365
7366         Implement a generic NMSetting creator from setting name.
7367         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7368         add a virtual function 'populate_fn'.
7369
7370         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7371         (register_default_creators): Register setting creators instead of functions
7372         that create and then populate.
7373         (parse_one_setting): Use the common setting creator and then setting specific
7374         poplulation function.
7375
7376         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7377         they all looked exactly the same.
7378         Add a 'populate_fn' virtual function to NMSetting.
7379         Use default virtual functions in case they are not overriden.
7380         (nm_setting_populate_from_hash): Implement.
7381
7382         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7383         name, use a defined string.
7384         (real_act_stage4_get_ip4_config): Ditto.
7385
7386 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7387
7388         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7389         HAL is int, not uint.
7390
7391 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7392
7393         Implement killswitch polling through HAL.
7394
7395         * src/nm-manager.c: Add wireless hardware status property. Add 
7396         'properties-changed' signal for changes in wireless and wireless hardware
7397         state changes.
7398
7399         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7400         and update NMManager's wireless hardware state when it has changed.
7401         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7402         already does that.
7403
7404         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7405         values of wireless state and wireless hardware state. Listen for the
7406         'properties-changed' signals, update the cached values and emit notify.
7407
7408         * include/NetworkManager.h: Fix a typo in a comment.
7409
7410 2007-10-14  Dan Williams  <dcbw@redhat.com>
7411
7412         * libnm-util/nm-setting.c
7413                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7414
7415 2007-10-13  Dan Williams  <dcbw@redhat.com>
7416
7417         * libnm-util/nm-setting.h
7418           libnm-util/nm-setting.c
7419           src/supplicant-manager/nm-supplicant-config.c
7420                 - Make the 'proto' field of the 802-11-wireless-security field a
7421                         string list
7422
7423 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7424
7425         Rework the "properties-changed" signal listening implementation.
7426         Add a generic implementation to NMObject class that listens for
7427         the signal and calls property setters of the target NMObject.
7428
7429         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7430
7431         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7432         code to the end of file so that all the static functions are available
7433         without extra declarations.
7434         Remove the "properties-changed" signal handling and use the framework from
7435         NMObject.
7436         Implement property setters for properties that change with 
7437         "properties-changed" signal.
7438
7439         * libnm-glib/nm-access-point.c: Ditto.
7440
7441 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7442
7443         Rework the "properties-changed" signal implementation.
7444         In classes that need to use it, just emit "GObject::notify" and the new
7445         framework takes care of the rest to make the signal available on dbus.
7446         The framework queues the notifications and tries to send as many together
7447         in one signal as possible.
7448
7449         * src/nm-properties-changed-signal.c:
7450         * src/nm-properties-changed-signal.h: Implement.
7451
7452         * src/Makefile.am: Add new files to build.
7453
7454         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7455         signal.
7456
7457         * src/nm-device-802-11-wireless.c: Ditto.
7458
7459 2007-10-10  Dan Williams  <dcbw@redhat.com>
7460
7461         * src/nm-manager.c
7462                 - (wait_for_connection_expired): ensure info is valid
7463                 - (connection_added_default_handler): Should only remove pending
7464                         connection info when the manager has the connection that it's
7465                         waiting for.  Fixes segfault in wait_for_connection_info().  
7466
7467 2007-10-10  Dan Williams  <dcbw@redhat.com>
7468
7469         * libnm-util/nm-setting.c
7470           libnm-util/nm-setting.h
7471                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7472                         can use if they choose.  Should be filled in by the settings service
7473                         on-the-fly with the currently logged in user's username
7474
7475 2007-10-10  Dan Williams  <dcbw@redhat.com>
7476
7477         * src/nm-device-802-11-wireless.c
7478                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7479                         as such, because even if the manager fills in the SSID, NM still
7480                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7481                         its SSID
7482
7483 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7484
7485         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7486         code that used NM's own version of dbus signal handling and custom dictionary
7487         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7488         and we get to maintain over 2000 lines less code.
7489
7490         * libnm-util/dbus-dict-helpers.c:
7491         * libnm-util/dbus-dict-helpers.h: Remove.
7492
7493         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7494
7495         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7496
7497         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7498         handlers.
7499
7500         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7501
7502         * configure.in: Remove test/libnm-util/Makefile creation.
7503
7504         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7505
7506         * test/libnm-util/: Remove the whole directory.
7507
7508 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7509
7510         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7511         device_state_changed_idle_id variable or it would contain some random value and the
7512         schedule_change_check calls would not do anything.
7513
7514 2007-10-09  Dan Williams  <dcbw@redhat.com>
7515
7516         * src/nm-device-802-11-wireless.c
7517                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7518                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7519                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7520                         merging of non-SSID-broadcasting APs
7521
7522 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7523
7524         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7525         "guint8 *" since it's usually used with GByteArray->data.
7526         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7527
7528 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7529
7530         * src/NetworkManagerUtils.c
7531         (nm_utils_is_empty_ssid):
7532         (nm_utils_escape_ssid):
7533         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7534         lot of places, so they belong to libnm-utils instead.
7535
7536         Now with 100% less compiler warnings:
7537
7538         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7539         (nm_dbus_unescape_object_path): Ditto.
7540         (nm_utils_ssid_to_utf8): Ditto.
7541         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7542         (nm_utils_escape_ssid): Ditto.
7543         (nm_utils_same_ssid): Ditto.
7544
7545         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7546         (add_one_connection_element): Remove an unused variable.
7547         (impl_manager_get_active_connections): Ditto.
7548
7549         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7550         variable.
7551
7552         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7553         from the previous commit.
7554
7555         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7556         (real_act_stage1_prepare): Ditto.
7557         (activation_success_handler): Ditto.
7558         (get_property): Ditto.
7559
7560         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7561         variable.
7562
7563         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7564         it's always set.
7565
7566         * src/supplicant-manager/nm-supplicant-config.c 
7567         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7568         to expected "char *".
7569         (nm_supplicant_config_add_setting_wireless): Ditto.
7570         (nm_supplicant_config_remove_option): Remove, not used.
7571
7572         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7573         not double.
7574         (test_wireless_enabled): Ifdef out unused function.
7575         (device_deactivate): Ditto.
7576         (device_state_changed): Ditto.
7577         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7578         (nm_utils_escape_ssid): Ditto.
7579
7580         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7581         (nm_utils_is_empty_ssid): Ditto.
7582
7583         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7584         unused variable.
7585
7586         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7587         (setting_vpn_properties_update_secrets): Ditto.
7588         (int_to_gvalue): Ifdef out for now, not used.
7589         (byte_to_gvalue): Ditto.
7590
7591         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7592         Unused, remove.
7593
7594 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7595
7596         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7597         about dbus manager, not named manager.
7598         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7599
7600         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7601         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7602         However, the same signal is emitted when we destroy it and there's 
7603         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7604
7605         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7606         releasing the DBusGConnection, since proxy needs a conneciton.
7607         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7608
7609 2007-10-08  Dan Williams  <dcbw@redhat.com>
7610
7611         * src/NetworkManager.c
7612                 - (main): error on unknown command-line options
7613
7614 2007-10-08  Dan Williams  <dcbw@redhat.com>
7615
7616         Reimplement the invalid connection list.  Don't try to re-activate a
7617         connection that just failed or was canceled.
7618
7619         * src/nm-device.c
7620                 - (connection_secrets_failed_cb): fail device activation, don't just
7621                         deactivate the device.  Listeners have to know about the failure.
7622
7623         * src/NetworkManagerPolicy.c
7624                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7625                         the connection list given to a device's get_best_connection()
7626                         method
7627                 - (device_state_changed): tag failed connections as invalid; clear the
7628                         tag from successful connections
7629
7630 2007-10-08  Dan Williams  <dcbw@redhat.com>
7631
7632         Fix problems with interrupted activation.  Previously, choosing an AP
7633         from the menu, then choosing another one before the first connection was
7634         successful wouldn't deactivate the device before starting the new connection
7635         on that same device.
7636
7637         * src/NetworkManagerPolicy.c
7638                 - (deactivate_old_device, device_state_changed, state_changed,
7639                    nm_policy_new): wrong place to deactivate old devices
7640
7641         * src/nm-manager.c
7642                 - (pending_connection_info_destroy, finalize,
7643                    wait_for_connection_expired): decouple destruction of the pending
7644                         connection info from the manager device
7645                 - (connection_added_default_handler): deactivate any active or
7646                         activating device before starting a new activation
7647                 - (impl_manager_activate_device): deactivate any active or activating
7648                         device before starting a new activation; be sure not to leak
7649                         pending connection info if a new activation request arrives but
7650                         there's already a pending one in-process
7651
7652 2007-10-08  Dan Williams  <dcbw@redhat.com>
7653
7654         * src/NetworkManagerAP.h
7655           src/NetworkManagerAP.c
7656                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7657                         should handle default SSIDs and whether or not to autoconnect
7658                         to them
7659
7660 2007-10-08  Dan Williams  <dcbw@redhat.com>
7661
7662         * src/NetworkManagerPolicy.c
7663                 - (nm_policy_device_change_check): print out connection name where
7664                         possible
7665
7666 2007-10-08  Dan Williams  <dcbw@redhat.com>
7667
7668         * src/nm-device-802-11-wireless.c
7669           src/nm-device-802-11-wireless.h
7670                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7671                         'hidden-ap-found' signal (for internal use only) that allows the
7672                         NMManager to fill in the AP's SSID if a connection has that AP's
7673                         BSSID in its seen-bssids list
7674
7675         * src/nm-manager.c
7676                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7677                         wireless device's hidden-ap-found signal and fill in the APs SSID
7678                         if possible
7679
7680 2007-10-07  Dan Williams  <dcbw@redhat.com>
7681
7682         * src/nm-manager.c
7683           src/nm-manager.h
7684                 - Add a 'connections-added' signal to batch together updates of large
7685                         numbers of connections, like when reading from a settings service
7686                         the first time.  Otherwise, the policy would just activate the first
7687                         suitable connection it saw rather than waiting for the full list
7688                         to arrive.
7689                 - (nm_manager_class_init): register new signal
7690                 - (get_type_for_proxy, connection_get_settings_cb,
7691                    get_connection_for_proxy): centralize places where a proxy's setting
7692                         service is determined
7693                 - (free_get_settings_info): if the call being freed is the last call
7694                         in a pending call group, fire off the connections-added signal
7695                 - (internal_new_connection_cb): add call to a pending call group if
7696                         requested
7697                 - (list_connections_cb): always create a call group here, because this
7698                         call results in a batch of new connections
7699                 - (initial_get_connections): start getting system connections first
7700                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7701                         removed signal when destroying connections
7702
7703         * src/NetworkManagerPolicy.c
7704                 - (nm_policy_new, connections_added): handle connections-added signal
7705                         from the manager
7706
7707 2007-10-06  Dan Williams  <dcbw@redhat.com>
7708
7709         * src/nm-device-802-11-wireless.c
7710                 - (constructor): fix leaked socket
7711
7712 2007-10-06  Dan Williams  <dcbw@redhat.com>
7713
7714         * src/NetworkManagerPolicy.c
7715                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7716                         connection in the list returned by nm_manager_get_connections() is
7717                         reffed, but they weren't getting unreffed before returning
7718
7719 2007-10-06  Dan Williams  <dcbw@redhat.com>
7720
7721         * src/nm-manager.c
7722                 - (connections_to_slist): sort connections first on autoconnect, then
7723                         on timestamp
7724
7725 2007-10-06  Dan Williams  <dcbw@redhat.com>
7726
7727         * libnm-util/nm-connection.c
7728                 - (gvalue_to_string): handle UINT64
7729
7730 2007-10-06  Dan Williams  <dcbw@redhat.com>
7731
7732         * src/NetworkManagerPolicy.c
7733                 - (connection_updated, nm_policy_new): recheck state when a connection
7734                         gets updated
7735
7736 2007-10-06  Dan Williams  <dcbw@redhat.com>
7737
7738         * src/nm-manager.c
7739           src/nm-manager.h
7740                 - (nm_manager_get_connection_dbus_path): make static
7741                 - (nm_manager_update_connections): remove; unused
7742                 - Add a connection-updated signal
7743                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7744                         handle connection object updates
7745
7746 2007-10-06  Dan Williams  <dcbw@redhat.com>
7747
7748         * src/NetworkManagerPolicy.c
7749                 - (connection_removed): deactivate removed connections
7750
7751 2007-10-06  Dan Williams  <dcbw@redhat.com>
7752
7753         * libnm-util/nm-connection.c
7754           libnm-util/nm-connection.h
7755                 - (nm_connection_replace_settings): new function
7756
7757 2007-10-06  Dan Williams  <dcbw@redhat.com>
7758
7759         * libnm-glib/nm-device-802-11-wireless.c
7760                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7761                         on error when getting the active access point over D-Bus from NM
7762
7763 2007-10-05  Dan Williams  <dcbw@redhat.com>
7764
7765         * libnm-util/nm-setting.c
7766                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7767                         to the NMSettingWireless table; it's now a string array not an array
7768                         of byte arrays
7769
7770 2007-10-05  Dan Williams  <dcbw@redhat.com>
7771
7772         * libnm-glib/nm-device-802-11-wireless.c
7773                 - Cache properties and update cached properties on D-Bus signals from NM
7774
7775 2007-10-05  Dan Williams  <dcbw@redhat.com>
7776
7777         * src/nm-device-802-11-wireless.c
7778                 - (set_current_ap): consolidate current_ap handling code into one place
7779                         to ensure that PropertiesChanged signals are emitted in all cases
7780                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7781                    nm_device_802_11_wireless_dispose): use set_current_ap()
7782
7783 2007-10-05  Dan Williams  <dcbw@redhat.com>
7784
7785         * libnm-glib/nm-access-point.c
7786           libnm-glib/nm-access-point.h
7787                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7788                         because the value is cached internally now.  Callers should not
7789                         free the internal value.
7790                 - Make signal name defines private
7791
7792         * test/nm-tool.c
7793           libnm-glib/libnm-glib-test.c
7794                 - Don't free value returned from nm_access_point_get_hw_address()
7795
7796 2007-10-04  Dan Williams  <dcbw@redhat.com>
7797
7798         * introspection/nm-device-802-11-wireless.xml
7799           src/nm-device-802-11-wireless.h
7800           src/nm-device-802-11-wireless.c
7801                 - Add a PropertiesChanged signal for wireless device
7802                 - Store currently associated access point
7803                 - (periodic_update): generalize; update rate here too and emit the
7804                         correct PropertiesChanged signal when stuff changes
7805                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7806                    real_activation_cancel_handler): clear current_ap when device is
7807                         deactivated
7808                 - (link_to_specific_ap, get_ap_blacklisted,
7809                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7810                         code
7811                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7812                         outside this file
7813                 - (real_set_hw_address): emit property changed signal if the card's
7814                         MAC address changes
7815                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7816                         the card is supposed to be connecting to
7817                 - (activation_success_handler): send out property updates on successful
7818                         activation
7819                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7820                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7821                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7822                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7823                         is now boxed; add PropertiesChanged signal
7824
7825 2007-10-04  Dan Williams  <dcbw@redhat.com>
7826
7827         * libnm-util/nm-connection.c
7828           libnm-util/nm-connection.h
7829                 - (nm_connection_verify): new function
7830
7831 2007-10-04  Dan Williams  <dcbw@redhat.com>
7832
7833         * libnm-util/nm-setting.c
7834                 - (nm_settings_verify): use #defines when possible rather than strings
7835                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7836                 - (setting_vpn_verify): tighter validity check on 'service_type'
7837
7838 2007-10-04  Dan Williams  <dcbw@redhat.com>
7839
7840         * libnm-glib/nm-settings.c
7841                 - (nm_connection_settings_class_init): provide correct type for argument
7842                         to the Updated signal so that dbus-glib knows how to marshal it
7843
7844 2007-10-03  Dan Williams  <dcbw@redhat.com>
7845
7846         * src/nm-device-802-3-ethernet.c
7847                 - (real_get_best_connection): don't create automatic connections
7848                         internally; clients should provide a setting that applies to
7849                         the device with 'autoconnect: True'.  Problem was that these
7850                         internally auto-created connections don't have a proxy or service
7851                         name becuase they weren't created by a settings daemon, and therefore
7852                         clients have no idea what to do with them.
7853
7854 2007-10-03  Dan Williams  <dcbw@redhat.com>
7855
7856         * src/nm-device-802-11-wireless.c
7857           src/nm-device-802-11-wireless.h
7858           introspection/nm-device-802-11-wireless.xml
7859                 - GetActiveNetworks -> GetAccessPoints
7860                 - ActiveNetwork -> ActiveAccessPoint
7861                 - NetworkAdded -> AccessPointAdded
7862                 - NetowrkRemoved -> AccessPointRemoved
7863
7864         * libnm-glib/nm-device-802-11-wireless.c
7865           libnm-glib/nm-device-802-11-wireless.h
7866                 - network-added signal -> access-point-added
7867                 - network-removed signal -> access-point-removed
7868                 - nm_device_802_11_wireless_get_active_network() ->
7869                         nm_device_802_11_wireless_get_active_access_point()
7870                 - nm_device_802_11_wireless_get_network_by_path() ->
7871                         nm_device_802_11_wireless_get_access_point_by_path()
7872                 - nm_device_802_11_wireless_get_networks() ->
7873                         nm_device_802_11_wireless_get_access_points()
7874
7875         * libnm-glib/libnm-glib-test.c
7876           test/nm-tool.c
7877           src/NetworkManagerPolicy.c
7878                 - Fixups for Network -> AccessPoint
7879
7880 2007-10-03  Dan Williams  <dcbw@redhat.com>
7881
7882         Add a GetActiveConnections() method on the Manager object.
7883
7884         * src/nm-manager.c
7885           src/nm-manager.h
7886           introspection/nm-manager.xml
7887                 - (connection_get_settings_cb): keep connection type around too
7888                 - (impl_manager_get_active_connections, add_one_connection_element):
7889                         implement; returns all active connections and what devices they
7890                         apply to
7891
7892         * libnm-glib/nm-client.c
7893           libnm-glib/nm-client.h
7894           introspection/nm-manager-client.xml
7895                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7896                         by the caller; free here to avoid memory leak
7897                 - (nm_client_get_active_connections): implement; return the list of
7898                         active connections
7899                 - (nm_client_free_active_connection_element): implement; free an element
7900                         of the GSList returned by nm_client_get_active_connections()
7901
7902 2007-10-03  Dan Williams  <dcbw@redhat.com>
7903
7904         * src/nm-device-802-11-wireless.c
7905                 - (nm_device_802_11_wireless_update_bssid): remove
7906                 - (get_active_ap): new function; find the AP in the scan list which
7907                         matches the current BSSID and SSID of the wireless device
7908                 - (nm_device_802_11_periodic_update): get current AP using
7909                         get_active_ap() and print AP roam messages
7910
7911 2007-10-01  Dan Williams  <dcbw@redhat.com>
7912
7913         * libnm-util/nm-setting.h
7914                 - Add a 'timestamp' option to NMSettingConnection
7915                 - Add a UINT64 type
7916
7917         * libnm-util/nm-setting.c
7918                 - (uint64_to_gvalue): new function
7919                 - (nm_setting_populate_from_hash, nm_setting_hash,
7920                    default_setting_clear_secrets): handle UINT64 type
7921                 - con_table: add 'timestamp' member
7922
7923 2007-10-01  Dan Williams  <dcbw@redhat.com>
7924
7925         * src/nm-manager.c
7926                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7927                         value when the connection can be activated immediately
7928
7929 2007-10-01  Dan Williams  <dcbw@redhat.com>
7930
7931         * libnm-glib/nm-device.c
7932                 - (nm_device_class_init): actually tell glib about the carrier-changed
7933                         signal
7934
7935 2007-10-01  Dan Williams  <dcbw@redhat.com>
7936
7937         * configure.in
7938           src/marshallers/Makefile.am
7939           src/marshallers/nm-marshal.list
7940           src/marshallers/nm-marshal-main.c
7941                 - Consolidate glib marshallers into one place
7942
7943         * src/dhcp-manager/Makefile.am
7944           src/dhcp-manager/nm-dhcp-manager.c
7945           src/supplicant-manager/Makefile.am
7946           src/supplicant-manager/nm-supplicant-manager.c
7947           src/supplicant-manager/nm-supplicant-interface.c
7948           src/ppp-manager/Makefile.am
7949           src/ppp-manager/nm-ppp-manager.c
7950           src/vpn-manager/Makefile.am
7951           src/vpn-manager/nm-vpn-connection.c
7952           src/Makefile.am
7953                 - Use consolidated marshallers
7954
7955         * src/dhcp-manager/nm-dhcp-marshal.list
7956           src/dhcp-manager/nm-dhcp-marshal-main.c
7957           src/supplicant-manager/nm-supplicant-marshal-main.c
7958           src/supplicant-manager/nm-supplicant-marshal.list
7959           src/nm-marshal-main.c
7960           src/nm-marshal.list
7961           src/ppp-manager/nm-ppp-marshal-main.c
7962           src/ppp-manager/nm-ppp-marshal.list
7963           src/vpn-manager/nm-vpn-marshal-main.c
7964           src/vpn-manager/nm-vpn-marshal.list
7965                 - Remove
7966
7967 2007-10-01  Dan Williams  <dcbw@redhat.com>
7968
7969         * include/NetworkManagerVPN.h
7970                 - define VPN connection state change reason codes
7971
7972         * src/vpn-manager/Makefile.am
7973           src/vpn-manager/nm-vpn-marshal.list
7974           src/vpn-manager/nm-vpn-marshal-main.c
7975                 - Add marshallers for StateChanged signal
7976
7977         * introspection/nm-vpn-connection.xml
7978                 - New Banner property
7979                 - StateChanged signal now includes a 'reason' argument
7980
7981         * src/vpn-manager/nm-vpn-connection.c
7982           src/vpn-manager/nm-vpn-connection.h
7983                 - Add a "Banner" property that contains the returned VPN server login
7984                         banner (if any); valid only in the ACTIVATED state
7985                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7986                         a 'reason' argument and emits that reason along with the
7987                         state-changed signal
7988                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7989                 - (nm_vpn_connection_ip4_config_get): save banner for later
7990                 - (nm_vpn_connection_get_banner, get_property,
7991                    nm_vpn_connection_class_init): implement Banner property
7992
7993         * src/vpn-manager/nm-vpn-service.c
7994                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7995                         connection list because elements may get added/removed from it
7996                         while iterating over the list
7997                 - (connection_state_changed): signal now includes the 'reason' argument
7998
7999         * libnm-glib/nm-vpn-connection.c
8000           libnm-glib/nm-vpn-connection.h
8001                 - (nm_vpn_connection_get_banner): new function
8002                 - (state_changed_proxy): handle reason argument
8003
8004 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8005
8006         * src/nm-manager.c:
8007         * src/nm-manager.h:
8008         Implement device activation through NMManager.
8009         Implement "pending device activation" here - If the connection isn't found,
8010         we try to wait for up to 5 seconds for the connection to be provided.
8011         Add NMConnectionType argument to "connection-added" and "connection-removed"
8012         signals.
8013         (nm_manager_get): Remove. Finally.
8014
8015         * src/nm-activation-request.c: 
8016         * src/nm-activation-request.h: 
8017         Remove all the deferred activation code.
8018
8019         * src/nm-device.c: Remove all the deferred activation code. Once the device
8020         activation is started, it's started. Update the activation virtual function
8021         signature.
8022
8023         * src/nm-device-interface.c:
8024         * src/nm-device-interface.h:
8025         Device activation now takes only NMActRequest argument.
8026         Don't expose device activation directly on dbus, it's supposed to go through
8027         NMManager now.
8028
8029         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8030         a bit more compact.
8031         Use the new device activation methods through NMManager.
8032
8033         * introspection/nm-manager-client.xml: 
8034         * introspection/nm-manager.xml: 
8035         * libnm-glib/nm-client.c:
8036         * libnm-glib/nm-client.h:
8037         Add device activation method.
8038         
8039         * libnm-glib/nm-device.c: 
8040         * libnm-glib/nm-device.h: 
8041         * introspection/nm-device.xml: 
8042         Remove device activation method. It's done through NMManager now.
8043
8044         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8045         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8046
8047 2007-09-28  Dan Williams  <dcbw@redhat.com>
8048
8049         * libnm-glib/nm-vpn-connection.c
8050                 - (nm_vpn_connection_get_state): try to update state if the current
8051                         state is UNKNOWN
8052
8053 2007-09-27  Dan Williams  <dcbw@redhat.com>
8054
8055         Patch from Bill Nottingham
8056
8057         * src/supplicant-manager/nm-supplicant-config.c
8058                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8059                         data to the supplicant
8060
8061 2007-09-27  Dan Williams  <dcbw@redhat.com>
8062
8063         * src/NetworkManagerSystem.c
8064                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8065                         and all address manipulation here should be happening on the
8066                         _VPN_ device, not the active device
8067
8068 2007-09-26  Dan Williams  <dcbw@redhat.com>
8069
8070         * src/nm-manager.c
8071           src/nm-manager.h
8072           src/nm-activation-request.c
8073           src/nm-activation-request.h
8074                 - Move the GetSecrets stuff out of the NMManager instance because it
8075                         doesn't really need to be there and complicates things
8076
8077         * src/nm-device.c
8078                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8079                         connection-secrets-failed signal and deactivate the device if
8080                         the GetSecrets call fails
8081
8082         * src/nm-device-802-11-wireless.c
8083                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8084                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8085                         secrets and give correct hints about whether new secrets should be
8086                         asked for by the client or not
8087
8088 2007-09-26  Dan Williams  <dcbw@redhat.com>
8089
8090         * src/vpn-manager/nm-vpn-connection.c
8091                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8092                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8093                         to the secrets-updated signal of the NMConnection since updating
8094                         the secrets is done within the scope of the NMVPNConnection object
8095                         already
8096                 - (get_connection_secrets): fix an uninialized variable usage error
8097
8098 2007-09-26  Dan Williams  <dcbw@redhat.com>
8099
8100         * libnm-util/nm-setting.c
8101                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8102                         actually get updated when the user enters them
8103
8104 2007-09-26  Dan Williams  <dcbw@redhat.com>
8105
8106         * libnm-glib/nm-vpn-plugin.c
8107                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8108
8109 2007-09-26  Dan Williams  <dcbw@redhat.com>
8110
8111         * include/NetworkManagerVPN.h
8112                 - Add a NEED_AUTH state
8113
8114         * src/vpn-manager/nm-vpn-connection.c
8115                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8116                         the connection needs secrets, and if so, then ask the settings
8117                         service to fill in the secrets.  Then start the connection.
8118
8119 2007-09-26  Dan Williams  <dcbw@redhat.com>
8120
8121         * src/vpn-manager/nm-vpn-manager.c
8122                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8123
8124 2007-09-26  Dan Williams  <dcbw@redhat.com>
8125
8126         * introspection/nm-vpn-plugin.xml
8127           libnm-glib/nm-vpn-plugin.c
8128           libnm-glib/nm-vpn-plugin.h
8129                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8130                         the name of the NMSetting in an NMConnection that may require
8131                         secrets specific to that VPN plugin
8132
8133 2007-09-26  Dan Williams  <dcbw@redhat.com>
8134
8135         * src/nm-manager.c
8136           src/nm-manager.h
8137                 - (nm_manager_get_connection_secrets): make static, unused outside
8138                         the file
8139                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8140
8141 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8142
8143         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8144         method.
8145         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8146         unreference the connection.
8147
8148         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8149         passing properties hash and routes string list, pass NMConnection (in hashed form).
8150
8151         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8152         as GSList, no need to copy stuff around anymore.
8153         (nm_vpn_connection_activate): Update the plugin activation method.
8154
8155         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8156         routes argument to GSList.
8157
8158 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8159
8160         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8161         state and try to get the secrets.
8162
8163         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8164         connections from NMManager and let the device to choose the best from the list.
8165         Since the connection list is sorted by system ones first and user ones later,
8166         the devices still prefer system connections like they did before.
8167         (deactivate_old_device): Implement. When a device starts activation, we have a
8168         policy (for now at least) to deactivate any other device that might be either
8169         active or still activating.
8170
8171         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8172         It's set on construction, there will be no other way to access it.
8173
8174         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8175         device events and drive the device, not the other way around.
8176
8177         * src/nm-device-802-3-ethernet.c: Ditto.
8178
8179         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8180         sent along, pass it on to virtual functions.
8181
8182         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8183         for now, but should really be public instead of nm_device_get_iface() since iface
8184         is a property of the DeviceInterface, not Device.
8185         (impl_device_activate): Don't touch NMManager!
8186
8187 2007-09-26  Jürg Billeter  <j@bitron.ch>
8188
8189         * initscript/paldo/NetworkManager.in:
8190         * initscript/paldo/NetworkManagerDispatcher.in:
8191         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8192         (nm_system_flush_loopback_routes): update paldo backend
8193
8194 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8195
8196         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8197         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8198         which means none of the devices get brought down properly, which in turn leaves
8199         DHCP client running.
8200
8201         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8202         (supplicant_connection_timeout_cb): Ditto.
8203
8204 2007-09-25  Dan Williams  <dcbw@redhat.com>
8205
8206         * src/nm-device.c
8207                 - (device_activation_go): small hack to work around race when
8208                         activating deferred connections; should solve this in a better way
8209
8210 2007-09-25  Dan Williams  <dcbw@redhat.com>
8211
8212         * introspection/nm-device.xml
8213           libnm-glib/nm-device.c
8214           libnm-glib/nm-device.h
8215                 - Add 'Carrier' property to exported NMDevice objects
8216
8217         * src/nm-device-interface.h
8218           src/nm-device-interface.c
8219           src/nm-device.c
8220                 - Add a 'carrier' property to internal NMDevice objects
8221
8222 2007-09-25  Dan Williams  <dcbw@redhat.com>
8223
8224         * src/nm-device-802-11-wireless.c
8225                 - (ap_auth_enforced): also return the encryption status of the AP so
8226                         that callers can differentiate easily between unencrypted APs
8227                         and encrypted ones, in addition to whether the AP has an
8228                         authenticator
8229                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8230                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8231                         previously would request secrets from unencrypted APs at times
8232
8233 2007-09-25  Dan Williams  <dcbw@redhat.com>
8234
8235         * src/nm-manager.c
8236                 - (nm_manager_update_state): new function; updates state and emits
8237                         appropriate signals ensuring a state-change signal for the same state
8238                         never gets emitted twice in a row.
8239                 - (manager_device_state_changed): handle more device state to get a
8240                         better picture of the overall NM state
8241
8242 2007-09-25  Dan Williams  <dcbw@redhat.com>
8243
8244         * libnm-glib/nm-settings.c
8245           libnm-glib/nm-settings.h
8246                 - (new_error -> nm_settings_new_error): make public so that subclasses
8247                         can use the same error domain.  Also pass a valid error code to
8248                         g_error_new_literal() so that libdbus doesn't assert when converting
8249                         the GError into a DBusError
8250                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8251                    impl_connection_settings_get_settings,
8252                    impl_connection_settings_get_secrets): use new error creator
8253                         function
8254
8255 2007-09-25  Dan Williams  <dcbw@redhat.com>
8256
8257         * src/NetworkManager.c
8258                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8259
8260 2007-09-25  Dan Williams  <dcbw@redhat.com>
8261
8262         * src/supplicant-manager/nm-supplicant-manager.c
8263                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8264                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8265                    nm_supplicant_manager_startup): when the supplicant isn't running,
8266                         try to start it periodically via system bus activation.  Fixes
8267                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8268                         for the supplicant to come back
8269
8270 2007-09-25  Dan Williams  <dcbw@redhat.com>
8271
8272         Ensure that old activation requests are forgotten about; previously
8273         hitting Cancel in the password dialog would deactivate whatever device
8274         that password was requested for, even if that wasn't the currently
8275         activating connection.
8276
8277         * src/nm-manager.c
8278           src/nm-manager.h
8279                 - (nm_manager_get_connection_secrets): track the pending call
8280                         object so it can be canceled later if needed
8281                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8282                         GetSecrets call for a particular connection
8283
8284         * src/nm-activation-request.c
8285                 - (dispose): cancel any outstanding GetSecrets calls on the
8286                         connection
8287
8288 2007-09-25  Dan Williams  <dcbw@redhat.com>
8289
8290         * src/NetworkManagerPolicy.c
8291                 - (nm_policy_device_change_check): handle devices that have a
8292                         deferred activation.  These devices are not really active _yet_,
8293                         but need to be treated as such here.  Don't interrupt them
8294                         automatically.
8295
8296         * src/nm-device-interface.c
8297                 - (impl_device_activate): handle devices that have a deferred activation
8298                         like activating or active devices.  When multiple active devices
8299                         get committed, the device shouldn't be deactivated until the
8300                         connection details are available to avoid DoS and such.  Currently,
8301                         any active, activating, or deferred activation device is deactivated
8302                         here before starting the new activation request.
8303
8304 2007-09-25  Dan Williams  <dcbw@redhat.com>
8305
8306         Properly re-query secrets from the settings daemon when stuff fails.
8307
8308         * src/nm-device-802-11-wireless.c
8309                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8310                         between Shared Key and Open System auth modes
8311                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8312                    real_act_stage4_ip_config_timeout): clear existing secrets and
8313                         request new ones when something fails due to a suspected wrong key
8314                 - (real_act_stage2_config): fix for new request_new argument to
8315                         nm_manager_get_connection_secrets()
8316
8317         * src/nm-manager.c
8318           src/nm-manager.h
8319                 - (nm_manager_get_connection_secrets): return error status; pass
8320                         new request_new argument on to the settings daemon
8321
8322         * introspection/nm-settings-connection.xml
8323                 - New 'request_new' argument to the GetSecrets call that hints to the
8324                         settings daemon to ask the user for completely new secrets
8325
8326         * libnm-glib/nm-settings.c
8327           libnm-glib/nm-settings.h
8328                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8329                         argument
8330
8331 2007-09-25  Dan Williams  <dcbw@redhat.com>
8332
8333         * libnm-util/nm-connection.c
8334           libnm-util/nm-connection.h
8335                 - (nm_connection_clear_secrets): new function; clear secrets out of
8336                         each NMSetting in an NMConnection
8337
8338         * libnm-util/nm-setting.h
8339           libnm-util/nm-setting.c
8340                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8341                         secrets out of an NMSetting
8342                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8343                    nm_setting_wired_new, nm_setting_wireless_new,
8344                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8345                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8346                         to default handler default_setting_clear_secrets()
8347
8348 2007-09-25  Dan Williams  <dcbw@redhat.com>
8349
8350         * src/nm-activation-request.c
8351           src/nm-activation-request.h
8352                 - (nm_act_request_is_deferred): new function
8353
8354 2007-09-24  Dan Williams  <dcbw@redhat.com>
8355
8356         * src/nm-device-802-11-wireless.c
8357                 - (activation_success_handler): update signal strength immediately
8358                         after activation
8359
8360 2007-09-24  Dan Williams  <dcbw@redhat.com>
8361
8362         * libnm-util/nm-setting.c
8363                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8364
8365 2007-09-24  Dan Williams  <dcbw@redhat.com>
8366
8367         * src/NetworkManagerPolicy.c
8368                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8369                         device by deactivating it because it doesn't have a "best connection".
8370                         Since autoconnect=False connections aren't automatically chosen,
8371                         NM would interrupt activation of such a connection because it
8372                         would never be "best" due to autoconnect=False.
8373
8374 2007-09-24  Dan Williams  <dcbw@redhat.com>
8375
8376         * src/nm-manager.c
8377                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8378                         actually has some time to enter a key before the GetSecrets call
8379                         times out
8380
8381 2007-09-24  Dan Williams  <dcbw@redhat.com>
8382
8383         * introspection/nm-manager.xml
8384           src/nm-manager.c
8385                 - (impl_manager_legacy_state): fix 'state' method call return value
8386
8387 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8388
8389         * test/Makefile.am: Install nm-tool
8390
8391 2007-09-24  Dan Williams  <dcbw@redhat.com>
8392
8393         Patch from Ross Burton <ross@burtonini.com>
8394
8395         * test/nm-tool.c
8396           callouts/nm-dhcp-client-action.c
8397           src/nm-netlink.c
8398           src/vpn-manager/nm-vpn-connection.c
8399           libnm-glib/libnm-glib-test.c
8400                 - warning fixes
8401
8402 2007-09-24  Dan Williams  <dcbw@redhat.com>
8403
8404         * libnm-util/nm-utils.h
8405           libnm-util/nm-utils.c
8406                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8407                         remove, unused
8408
8409 2007-09-23  Dan Williams  <dcbw@redhat.com>
8410
8411         * vpn-daemons/vpnc/properties/nm-vpnc.c
8412                 - Update for new VPN properties API bits; instead of passing around
8413                         a lot of random things, everything goes into the NMConnection
8414                         object.
8415
8416 2007-09-23  Dan Williams  <dcbw@redhat.com>
8417
8418         * libnm-util/nm-setting.c
8419                 - Correctly dispose of settings objects if creating them from a hash
8420                         table fails
8421
8422 2007-09-23  Dan Williams  <dcbw@redhat.com>
8423
8424         * libnm-util/nm-setting.c
8425                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8426                         the hash table in a standard manner.  Clients of libnm-util should
8427                         only call g_hash_table_remove_all(), never destroy the hash table
8428                         and recreate it.
8429
8430 2007-09-22  Dan Williams  <dcbw@redhat.com>
8431
8432         * src/nm-device-802-11-wireless.c
8433                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8434                         real reason to do it so often, and reduces wakeups for clients.
8435
8436 2007-09-21  Dan Williams  <dcbw@redhat.com>
8437
8438         * src/nm-device-802-11-wireless.c
8439                 - (build_supplicant_config): wpa_supplicant requires the option
8440                         key_mgmt=NONE for unencrypted networks
8441                 - (real_act_stage2_config): clarify log message on activation
8442
8443 2007-09-21  Dan Williams  <dcbw@redhat.com>
8444
8445         * test/nm-supplicant-test.c
8446           test/Makefile.am
8447                 - Remove supplicant test binary; no longer applicable
8448
8449 2007-09-21  Dan Williams  <dcbw@redhat.com>
8450
8451         * src/supplicant-manager/nm-supplicant-manager.c
8452                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8453                         activate it on the system bus
8454
8455 2007-09-20  Dan Williams  <dcbw@redhat.com>
8456
8457         * initscript/RedHat/NetworkManager.in
8458                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8459
8460 2007-09-20  Dan Williams  <dcbw@redhat.com>
8461
8462         * src/nm-device.c
8463                 - (nm_device_is_activating): work around a race between auto-activation
8464                         and the user activating the same device that is being auto-activated
8465
8466 2007-09-20  Dan Williams  <dcbw@redhat.com>
8467
8468         * src/nm-device-interface.c
8469                 - (impl_device_activate): until multiple active device support lands,
8470                         ensure only one device can be active at a time
8471
8472 2007-09-20  Dan Williams  <dcbw@redhat.com>
8473
8474         * src/supplicant-manager/nm-supplicant-config.c
8475           src/supplicant-manager/nm-supplicant-config.h
8476                 - (nm_supplicant_config_add_option): hide secrets from system logs
8477
8478 2007-09-20  Dan Williams  <dcbw@redhat.com>
8479
8480         * src/NetworkManagerPolicy.c
8481                 - (nm_policy_device_change_check): re-enable the wireless device change
8482                         checking code; insted of checking for SSIDs, check for the same
8483                         connection instead
8484
8485 2007-09-20  Dan Williams  <dcbw@redhat.com>
8486
8487         * src/nm-device-802-11-wireless.c
8488                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8489                         composite link state when determining when to start the disconnection
8490                         timer; that link state is already based on the supplicant interface's
8491                         status which is exactly what's already being examined, plus the link
8492                         state is a conglomeration of various things that we don't want here
8493
8494 2007-09-20  Dan Williams  <dcbw@redhat.com>
8495
8496         * libnm-glib/nm-access-point.c
8497                 - (handle_property_changed): strength is a UCHAR
8498
8499 2007-09-20  Dan Williams  <dcbw@redhat.com>
8500
8501         * src/supplicant-manager/nm-supplicant-config.c
8502                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8503                         string list keywords too since that's what wpa_supplicant wants
8504
8505 2007-09-20  Dan Williams  <dcbw@redhat.com>
8506
8507         * libnm-util/nm-setting.c
8508                 - (convert_strv_to_slist): dupe the values in the list because since
8509                         the list is a boxed value, it'll get destroyed when it's container
8510                         (like a hash table or whatever) gets destroyed
8511
8512 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8513
8514         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8515         GSList.
8516
8517         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8518
8519         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8520         just use (g_object_set_data_full).
8521
8522         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8523         that NMSettingVPN->routes is a GSList, convert it to char **.
8524         (nm_vpn_connection_ip4_config_get): Free routes when done.
8525         (nm_vpn_connection_activate): Ditto.
8526
8527         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8528         (real_act_stage2_config): Use defined setting names.
8529
8530 2007-09-20  Dan Williams  <dcbw@redhat.com>
8531
8532         * src/nm-device-802-11-wireless.c
8533           src/nm-manager.c
8534           src/nm-manager.h
8535                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8536                         so that the device can be deactivated if secrets are wrong
8537
8538 2007-09-20  Dan Williams  <dcbw@redhat.com>
8539
8540         * introspection/nm-settings-connection.xml
8541           libnm-glib/nm-settings.c
8542           libnm-glib/nm-settings.h
8543                 - Make GetSecrets asynchronous on the server side
8544
8545 2007-09-20  Dan Williams  <dcbw@redhat.com>
8546
8547         * src/nm-manager.h
8548           src/nm-device.c
8549                 - (nm_device_activate): actually check if a given connection
8550                         exists before assuming it doesn't
8551
8552 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8553
8554         * libnm-util/nm-connection.c (register_default_creators): Use defined
8555         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8556
8557         * libnm-util/nm-setting.c: Define property name strings, use them.
8558         Implement NMSettingVPN and NMSettingVPNProperties settings.
8559         Implement NM_S_TYPE_GVALUE_HASH.
8560         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8561         (setting_connection_verify): Rename 'devtype' property to 'type'.
8562
8563         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8564         properties.
8565
8566         * src/vpn-manager/nm-vpn-service.c: Ditto.
8567
8568         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8569
8570         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8571         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8572
8573         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8574         names. NMSettingConnection->devtype got renamed to 'type'.
8575
8576         * src/nm-device-802-3-ethernet.c (find_best_connection):
8577         (real_get_best_connection): Ditto.
8578
8579         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8580
8581         * libnm-glib/nm-vpn-manager.[ch]: Update.
8582
8583 2007-09-19  Dan Williams  <dcbw@redhat.com>
8584
8585         * src/NetworkManagerAP.c
8586           src/NetworkManagerAP.h
8587           introspection/nm-access-point.xml
8588                 - Change strength-changed signal into a properties-changed signal
8589                         for all properties, not just strength.  Export that signal over dbus
8590                         so listeners don't have to poll NM for changes.
8591                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8592                         get exported over D-Bus, so break up the logic and let other bits
8593                         decided when to export the AP
8594                 - (nm_ap_new_from_ap): remove, unused
8595
8596         * src/nm-device-802-11-wireless.c
8597                 - (merge_scanned_ap): only export APs that are actually on the device
8598                         list, not every AP created internally
8599
8600         * libnm-glib/nm-access-point.c
8601           libnm-glib/nm-access-point.h
8602                 - Cache properties internally and only hit DBus when needed.  Get
8603                         property updates from NM signals
8604
8605 2007-09-16  Dan Williams  <dcbw@redhat.com>
8606
8607         * libnm-util/nm-connection.c
8608           libnm-util/nm-connection.h
8609                 - (nm_connection_for_each_setting_value): new function; iterate over
8610                         each setting's value and call a user-provided function with details
8611                         about that value
8612
8613         * libnm-util/nm-setting.c
8614           libnm-util/nm-setting.h
8615                 - (nm_setting_enumerate_values): new function; enumerate the values
8616                         of a specific NMSetting subclass for a user-provided function with
8617                         details about that value
8618                 - Change wep_tx_keyidx to a uint32
8619                 - Create settings value tables for each setting defining their type,
8620                         key name, offset into the NMSetting subclass' structure, and whether
8621                         they are required and/or a secret
8622                 - (nm_setting_populate_from_hash): generic function to populate an
8623                         NMSetting from a GHash table, make all settings use it
8624                 - (nm_setting_hash): generic function to derive a GHashTable from
8625                         an NMSetting object, make all settings use it
8626
8627 2007-09-14  Dan Williams  <dcbw@redhat.com>
8628
8629         Remove unused stuff in libnm-util
8630
8631         * configure.in
8632           libnm-util/Makefile.am
8633           libnm-util/cipher-private.h
8634           libnm-util/cipher-wep-ascii.c
8635           libnm-util/cipher-wep-ascii.h
8636           libnm-util/cipher-wep-hex.c
8637           libnm-util/cipher-wep-hex.h
8638           libnm-util/cipher-wep-passphrase.c
8639           libnm-util/cipher-wep-passphrase.h
8640           libnm-util/cipher-wpa-psk-hex.c
8641           libnm-util/cipher-wpa-psk-hex.h
8642           libnm-util/cipher-wpa-psk-passphrase.c
8643           libnm-util/cipher-wpa-psk-passphrase.h
8644           libnm-util/cipher.c
8645           libnm-util/cipher.h
8646           libnm-util/dbus-helpers.c
8647           libnm-util/dbus-helpers.h
8648           libnm-util/gnome-keyring-md5.c
8649           libnm-util/gnome-keyring-md5.h
8650           libnm-util/sha1.c
8651           libnm-util/sha1.h
8652           src/nm-device-802-11-wireless.c
8653           test/libnm-util/Makefile.am
8654           test/libnm-util/test-ciphers.c
8655           test/libnm-util/test-dbus-helpers.c
8656           test/libnm-util/test-inputs.h
8657                 - Removed
8658
8659 2007-09-14  Dan Williams  <dcbw@redhat.com>
8660
8661         * libnm-util/dbus-method-dispatcher.c
8662           libnm-util/dbus-method-dispatcher.h
8663                 - Remove, unused
8664
8665 2007-09-14  Dan Williams  <dcbw@redhat.com>
8666
8667         Implement deferred activation support in the device class.
8668
8669         * src/nm-device-interface.c
8670           src/nm-device-interface.h
8671                 - (nm_device_interface_activate): take more arguments to support
8672                         deferred activation; callers must pass one of (connection) OR
8673                         (service_name, connection_path)
8674                 - (impl_device_activate): connection validation is punted to the device
8675                         to be able to handle deferred activation.  Yes, this means errors
8676                         don't get returned from the Activate() dbus call, and yes, that
8677                         should be fixed somehow later.
8678
8679         * src/nm-device.c
8680           src/nm-device.h
8681                 - (clear_act_request): clear additional deferred activation stuff too
8682                 - (deferred_activation_timeout_cb): new function; clean up when
8683                         deferred activation times out.
8684                 - (deferred_activation_start_cb): new function; when the connection
8685                         finally becomes available, start device activation
8686                 - (nm_device_activate): attach to the right signals of the activation
8687                         request if we need to defer activation until the connection is valid
8688
8689         * src/NetworkManagerPolicy.c
8690                 - (nm_policy_device_change_check): update for additional arguments
8691                         required for nm_device_interface_activate().  Pass NULL for these
8692                         though because this function already knows exactly which
8693                         NMConnection to use
8694
8695 2007-09-14  Dan Williams  <dcbw@redhat.com>
8696
8697         Implement deferred activation handling in the NMActRequest class.  When a
8698         client wants to activate a device but must create the NMConnection details
8699         on the fly, there likely hasn't been enough time yet for NM to receive the
8700         new connection signal and grab all the connection details.  So the
8701         activation is deferred (and bounded by a timer) for a while, and if the
8702         connection appears within the window, it is activated.
8703
8704         * src/nm-activation-request.c
8705           src/nm-activation-request.h
8706                 - (nm_act_request_class_init): two new signals to support deferred
8707                         activation, to allow the listener to handle both timeout and success
8708                 - (nm_act_request_new_deferred): new function, starts the deferred
8709                         activation timeout handler and listens to the NMManager for
8710                         new-connection signals to notice when the connection comes in
8711
8712 2007-09-14  Dan Williams  <dcbw@redhat.com>
8713
8714         * src/nm-manager.h
8715           src/nm-manager.c
8716                 - (nm_manager_get_connection_service_name,
8717                    nm_manager_get_connection_dbus_path): get details about a connection
8718                         known internally by the NMManager
8719                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8720                         because NMConnection is now a GObject subclass
8721                 - Use constant for the gobject data tag used on NMConnection objects for
8722                         storing the associated DBusGProxy
8723
8724 2007-09-14  Dan Williams  <dcbw@redhat.com>
8725
8726         * utils/Makefile.am
8727           utils/nm-utils.c
8728           utils/nm-utils.h
8729           src/supplicant-manager/Makefile.am
8730           src/dhcp-manager/Makefile.am
8731           src/backends/Makefile.am
8732           src/named-manager/Makefile.am
8733           src/ppp-manager/Makefile.am
8734           src/vpn-manager/Makefile.am
8735           test/libnm-util/Makefile.am
8736           test/test-common/Makefile.am
8737                 - Remove utils/; it was unused
8738
8739 2007-09-13  Dan Williams  <dcbw@redhat.com>
8740
8741         * libnm-glib/nm-vpn-manager.h
8742           libnm-glib/nm-vpn-manager.c
8743                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8744
8745 2007-09-13  Dan Williams  <dcbw@redhat.com>
8746
8747         * src/nm-device-802-3-ethernet.c
8748                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8749                         netlink monitor carrier signals on dispose, not bring down.  The
8750                         carrier signals should be handled over the entire lifetime of the
8751                         device anyway, not created/destroyed on up or down.
8752
8753 2007-09-13  Dan Williams  <dcbw@redhat.com>
8754
8755         * libnm-glib/nm-device.c
8756           libnm-glib/nm-device.h
8757                 - (nm_device_activate): take a connection object path rather than an
8758                         NMConnection because NMConnection isn't exported over D-Bus and
8759                         therefore it dbus-glib can't automatically get an object path from it
8760
8761 2007-09-13  Dan Williams  <dcbw@redhat.com>
8762
8763         * libnm-util/nm-setting.c
8764                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8765
8766 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8767
8768         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8769
8770 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8771
8772         * src/vpn-manager/nm-vpn-connection.[ch]: 
8773         * src/vpn-manager/nm-vpn-manager.[ch]:
8774         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8775         dbus-glib, GObjects, signals etc.
8776
8777         * libnm-glib/nm-vpn-manager.[ch]: 
8778         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8779         so much, rewrite these too.
8780
8781         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8782         the new introspection files.
8783
8784         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8785
8786         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8787         the header with the same name from libnm-utils.
8788
8789         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8790
8791         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8792
8793         * introspection/nm-vpn-plugin.xml: Implement.
8794
8795         * introspection/nm-vpn-connection.xml: Implement.
8796
8797         * introspection/nm-vpn-manager.xml: Implement.
8798
8799         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8800         the named manager argument, it can just as easily get it as the caller.
8801         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8802
8803         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8804
8805         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8806
8807         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8808         libnm-utils.
8809
8810         * libnm-util/nm-connection.c: Ditto.
8811
8812         * src/NetworkManagerMain.h: Remove, it's finally empty.
8813
8814         * configure.in: Remove utils/ from build.
8815
8816         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8817         of hard-coded strings.
8818
8819         * utils/: Move it over to libnm-util.
8820
8821         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8822
8823         * dispatcher-daemon/Makefile.am: Ditto.
8824
8825         * src/Makefile.am: Ditto.
8826
8827 2007-09-12  Dan Williams  <dcbw@redhat.com>
8828
8829         Wireless connections can be made with config data from the applet now.
8830         
8831         Yay.
8832
8833         * src/supplicant-manager/nm-supplicant-config.h
8834           src/supplicant-manager/nm-supplicant-config.c
8835                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8836                 - (nm_supplicant_config_add_setting_wireless,
8837                    nm_supplicant_config_add_setting_wireless_security): new functions;
8838                         add key/value pairs from the settings objects to the supplicant
8839                         config
8840
8841         * src/nm-device-802-11-wireless.c
8842                 - (cull_scan_list): fix check to not prune currently associated AP
8843                 - (build_supplicant_config, real_act_stage2_config): call the functions
8844                         of the NMSupplicantConfig that parse settings objects rather than
8845                         doing it manually here
8846
8847 2007-09-12  Dan Williams  <dcbw@redhat.com>
8848
8849         * src/supplicant-manager/nm-supplicant-interface.c
8850           src/supplicant-manager/nm-supplicant-marshal.list
8851                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8852                         "connection-error" signal arguments should be STRING not CHAR
8853
8854 2007-09-12  Dan Williams  <dcbw@redhat.com>
8855
8856         * src/NetworkManagerUtils.c
8857           src/NetworkManagerUtils.h
8858                 - (nm_utils_hexstr2bin): new function
8859
8860 2007-09-11  Dan Williams  <dcbw@redhat.com>
8861
8862         * src/nm-manager.c
8863                 - (connection_get_settings_cb): emit connection-added signal
8864                 - (connection_removed_cb): uncomment bits for system settings service,
8865                         send connection-removed when appropriate
8866                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8867                         the stack by trying to g_object_set_data() on something that's
8868                         not a GObject; handle case where settings service returns
8869                         empty settings hash table
8870
8871 2007-09-11  Dan Williams  <dcbw@redhat.com>
8872
8873         * src/NetworkManagerPolicy.c
8874                 - (connection_added, connection_removed): trigger device change checks
8875                         on connection changes
8876
8877 2007-09-11  Dan Williams  <dcbw@redhat.com>
8878
8879         * src/nm-activation-request.c
8880                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8881
8882 2007-09-11  Dan Williams  <dcbw@redhat.com>
8883
8884         * src/nm-device-802-11-wireless.c
8885                 - (real_connection_secrets_updated): fix erroneous check
8886
8887 2007-09-11  Dan Williams  <dcbw@redhat.com>
8888
8889         * introspection/nm-device.xml
8890           libnm-glib/nm-device.c
8891           libnm-glib/nm-device.c
8892                 - Fix Activate call argument borkage; Activate takes 3 arguments
8893
8894 2007-09-11  Dan Williams  <dcbw@redhat.com>
8895
8896         * libnm-glib/nm-access-point.c
8897           libnm-glib/nm-access-point.c
8898                 - (nm_access_point_get_frequency): now returns guint32 to match
8899                         property change on 2007-09-10
8900
8901 2007-09-11  Dan Williams  <dcbw@redhat.com>
8902
8903         * src/nm-device-802-11-wireless.c
8904                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8905                         somewhere defines 'index' and I missed this one when I fixed the
8906                         shadow declaration errors earlier
8907
8908 2007-09-11  Dan Williams  <dcbw@redhat.com>
8909
8910         * libnm-util/nm-connection.c
8911                 - (nm_connection_update_secrets, need_secrets_check): move
8912                         802-11-wireless-security need_secrets checks to the setting object
8913                         itself, where it belongs
8914
8915         * libnm-util/nm-setting.c
8916           libnm-util/nm-setting.h
8917                 - (nm_setting_need_secrets): new function
8918                 - (setting_wireless_security_verify,
8919                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8920                 - (setting_wireless_security_need_secrets): mostly copy code over
8921                         from nm-connection.c
8922
8923 2007-09-11  Dan Williams  <dcbw@redhat.com>
8924
8925         * libnm-util/nm-setting.c
8926           libnm-util/nm-setting.h
8927                 - (nm_setting_update_secrets): new function; add a virtual function that
8928                         subclasses can implement to update their secrets
8929                 - (setting_wireless_security_update_secrets): implement that function
8930                         for the 802-11-wireless-security subclass
8931
8932         * libnm-util/nm-connection.c
8933           libnm-util/nm-connection.h
8934                 - (nm_connection_update_secrets): update secrets for a Setting and
8935                         emit a signal on success
8936
8937         * src/nm-manager.c
8938           src/nm-manager.h
8939           src/nm-marshal.list
8940                 - (connection_get_settings_cb): enable system settings bits
8941                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8942                         to request secrets from the settings dbus service and to
8943                         push those secrets to the NMConnection itself
8944
8945         * src/nm-activation-request.c
8946           src/nm-activation-request.h
8947                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8948                         currently being activated, and proxy that signal to other listeners.
8949                         Goes through the activation request because the activation request
8950                         is the thing that manages the lifetime of the NMConnection that's
8951                         being activated.
8952
8953         * src/nm-device-802-11-wireless.c
8954                 - (real_connection_secrets_updated): implement the connection secrets
8955                         updated notification and restart activation when secrets are
8956                         received
8957                 - (real_act_stage2_config): request secrets from the settings dbus
8958                         service if secrets are needed
8959
8960         * src/nm-device.c
8961           src/nm-device.h
8962                 - (clear_act_request, nm_device_activation_cancel,
8963                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8964                         where the activation request is cleared
8965                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8966                         updated secrets signal of activation request and add a function
8967                         that subclasses can override to handle it easily
8968
8969 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8970
8971         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8972         removal of NetworkManagerAPList.
8973
8974 2007-09-10  Dan Williams  <dcbw@redhat.com>
8975
8976         * src/NetworkManagerAP.c
8977           src/NetworkManagerAP.h
8978           introspection/nm-access-point.xml
8979                 - Change 'freq' property to a guint32 instead of a double since we
8980                         weren't using the floating point bits anyway
8981
8982 2007-09-10  Dan Williams  <dcbw@redhat.com>
8983
8984         * NetworkManagerAP.c
8985           NetworkManagerAP.h
8986           NetworkManagerPolicy.c
8987           NetworkManagerSystem.c
8988           NetworkManagerUtils.c
8989           NetworkManagerUtils.h
8990           nm-device-802-11-wireless.c
8991           nm-device-802-3-ethernet.c
8992           nm-hal-manager.c
8993           nm-manager.c
8994           vpn-manager/nm-dbus-vpn.c
8995                 - Warning fixes; casts and removal of unused variables
8996
8997 2007-09-10  Dan Williams  <dcbw@redhat.com>
8998
8999         * include/NetworkManager.h
9000                 - Kill NMNetworkType; AP types don't matter any more
9001
9002         * src/NetworkManagerAPList.c
9003           src/NetworkManagerAPList.h
9004           src/Makefile.am
9005                 - Kill; NMAccessPointList has outlived it's usefulness
9006
9007         * src/NetworkManagerAP.c
9008           src/NetworkManagerAP.h
9009                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9010                         functions; check if an NMConnection object is compatible with the
9011                         settings of this AP
9012                 - (freq_to_channel, channel_to_freq): utility functions for
9013                         channel <-> frequency conversion
9014
9015         * src/nm-device.c
9016           src/nm-device.h
9017                 - (nm_device_get_best_connection): pass the specific object around
9018                          (which might be the object path of a specific AP to connect to).
9019                          The get_best_connection() call should populate this on return
9020                          if needed (wireless does).
9021
9022         * src/nm-device-802-3-ethernet.c
9023                 - (real_get_best_connection): handle specific_object argument
9024
9025         * src/NetworkManager.c
9026           src/NetworkManagerMain.h
9027                 - Remove unused includes
9028
9029         * src/nm-device-802-11-wireless.c
9030           src/nm-device-802-11-wireless.h
9031                 - Convert the ap_list into a GSList from an NMAccessPointList
9032                 - No need for caching the 'activation_ap' since this is now determined
9033                         from the specific_object of the activation request, which is
9034                         populated from the get_best_connection() call or from a user request
9035                 - (nm_device_802_11_wireless_update_bssid): fix warning
9036                 - (get_wireless_capabilities): fix error message format arguments
9037                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9038                 - (find_best_connection, real_get_best_connection): implement
9039                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9040                         move here from NetworkManagerAPList
9041                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9042                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9043                         already verified earlier
9044                 - (real_act_stage2_config): use nm_connection_need_secrets()
9045
9046         * src/NetworkManagerPolicy.c
9047                 - (nm_policy_auto_get_best_device): handle specific objects
9048                 - (create_connection): remove; automatic connection creation functionality
9049                         is handled by the Connection objects
9050                 - (nm_policy_device_change_check): handle specific_object
9051
9052         * libnm-util/nm-connection.c
9053                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9054
9055 2007-09-10  Dan Williams  <dcbw@redhat.com>
9056
9057         * src/nm-manager.c
9058                 - (query_connections): fix uninitialized variable problem that caused
9059                         segfault
9060                 - (nm_manager_add_device): take devices down on startup so that we can
9061                         be assured that nm_device_is_up() won't short-circuit the init
9062                         process.  Hack until the is_up check gets split into two pieces
9063                         that aren't behaviorally confusing.
9064
9065 2007-09-09  Dan Williams  <dcbw@redhat.com>
9066
9067         * introspection/nm-device.xml
9068                 - The 'Activate' method now takes 3 arguments, a service name for the
9069                 settings service (user or system), the object path of the connection
9070                 to activate, and the specific object to activate, if any
9071
9072         * src/nm-device-interface.c
9073                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9074                 Add error bits
9075                 - (impl_device_activate): adapt to new Activate arguments; validate
9076                 the service name and get the Connection object from the NMManager
9077                 before starting to activate the device with the specified connection
9078
9079         * src/nm-device-802-3-ethernet.c
9080                 - (real_get_best_connection): find the best connection, or create a
9081                 default one if no existing connections can be used
9082
9083         * src/NetworkManagerPolicy.c
9084                 - (nm_policy_auto_get_best_device): Get the device's best connection
9085                 and only pick the device if it has one
9086                 - (nm_policy_device_change_check): disable wireless bits for now until
9087                 wireless get_best_connection() can be implemented (replacing "best_ap");
9088                 don't create a default connection here as the device subclass will do
9089                 that if needed
9090
9091         * src/nm-manager.h
9092           src/nm-manager.c
9093                 - (nm_manager_get): make NMManager a singleton and expose the getter
9094                 internally
9095                 - Rework internal NMManager connection handling to use the same
9096                 routines for both the system and user settings services.  Most calls
9097                 take a new NMConnectionType argument specifying either system or user
9098                 connections
9099                 - (nm_manager_get_connection_by_object_path): new function; get a
9100                 connection keyed on its object path
9101
9102         * src/NetworkManager.c
9103                 - (main): use nm_manager_get()
9104
9105 2007-09-09  Dan Williams  <dcbw@redhat.com>
9106
9107         * src/nm-device.h
9108           src/nm-device.c
9109                 - (nm_device_get_best_connection): new function; get best connection
9110                         for the device at that time
9111
9112 2007-09-09  Dan Williams  <dcbw@redhat.com>
9113
9114         * src/nm-device-interface.h
9115                 - Add NMDeviceInterfaceError with an UnknownConnection error
9116
9117 2007-09-09  Dan Williams  <dcbw@redhat.com>
9118
9119         Stupid mistake on my part; object path and interface for settings service
9120         and connection objects can be the same, only the service name must be
9121         different for the system and user settings services.
9122
9123         * include/NetworkManager.h
9124           src/nm-manager.c
9125           introspection/nm-settings-connection.xml
9126           introspection/nm-settings.xml
9127           libnm-glib/nm-settings.c
9128                 - (nm_connection_settings_init, query_user_connections,
9129                    new_connection_cb): Unify NetworkManagerSettings and Connection
9130                    interface name and object path
9131
9132 2007-09-06  Dan Williams  <dcbw@redhat.com>
9133
9134         * libnm-glib/nm-object.c
9135                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9136                    nm_object_get_int_property, nm_object_get_uint_property,
9137                    nm_object_get_boolean_property, nm_object_get_byte_property,
9138                    nm_object_get_double_property, nm_object_get_byte_array_property):
9139                         clear GValues after copying their contents, fixes memory leaks
9140                         after every property access because dbus-glib copies the values
9141                         from the DBusMessage into the GValue already.
9142
9143 2007-09-06  Dan Williams  <dcbw@redhat.com>
9144
9145         * introspection/nm-access-point.xml
9146                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9147                         them to be.  There's some magic property name parsing going on in
9148                         dbus-glib that breaks up property names based on studly-caps and
9149                         puts - between words.
9150
9151         * libnm-glib/nm-access-point.c
9152                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9153                         Fix property names
9154
9155 2007-09-06  Dan Williams  <dcbw@redhat.com>
9156
9157         * src/nm-manager.c
9158                 - (nm_manager_user_connections_destroy): clear the user connections hash
9159                         table, don't destroy it
9160                 - (finalize): only destroy the hash table on NMManager finalization
9161
9162 2007-09-02  Dan Williams  <dcbw@redhat.com>
9163
9164         * include/NetworkManager.h
9165           libnm-glib/nm-settings.c
9166                 - defines for the user settings daemon D-Bus bits
9167
9168         * src/NetworkManager.c
9169                 - Remove stuff that referred to the old NetworkManagerInfo service
9170
9171         * src/vpn-manager/nm-dbus-vpn.h
9172                 - Move old NMI defines to the only place they are used still
9173
9174         * libnm-util/nm-connection.c
9175           libnm-util/nm-connection.h
9176           src/nm-activation-request.c
9177                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9178
9179         * src/nm-manager.c
9180           src/nm-manager.h
9181                 - Get connections and their settings from the user settings daemon
9182                         at the appropriate times
9183
9184 2007-09-02  Dan Williams  <dcbw@redhat.com>
9185
9186         * libnm-util/nm-setting.c
9187                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9188                 - (setting_wireless_hash): set the right value on the item
9189
9190 2007-09-02  Dan Williams  <dcbw@redhat.com>
9191
9192         * test/Makefile.am
9193           test/nminfotest.c
9194                 - Remove, no longer useful
9195
9196 2007-08-30  Dan Williams  <dcbw@redhat.com>
9197
9198         * src/Makefile.am
9199           src/NetworkManagerDbus.c
9200           src/NetworkManagerDbus.h
9201           src/vpn-manager/nm-dbus-vpn.c
9202                 - Remove, no longer necessary.  Move last bits to the only place its
9203                 used, in nm-dbus-vpn.c
9204
9205         * src/NetworkManagerAPList.c
9206           src/nm-device.c
9207           src/NetworkManager.c
9208           src/nm-device-802-11-wireless.c
9209           src/vpn-manager/nm-vpn-manager.c
9210           src/vpn-manager/nm-vpn-service.c
9211           src/NetworkManagerPolicy.c
9212           src/nm-manager.c
9213                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9214                 that was message_is_error()
9215
9216 2007-08-30  Dan Williams  <dcbw@redhat.com>
9217
9218         * libnm-util/sha1.c
9219                 - Include config.h to get defines for endiannes (gnome.org #420216)
9220
9221 2007-08-30  Dan Williams  <dcbw@redhat.com>
9222
9223         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9224
9225         * src/ppp-manager/Makefile.am
9226                 - use -fPIC (gnome.org #471825)
9227
9228 2007-08-29  Dan Williams  <dcbw@redhat.com>
9229
9230         * include/NetworkManager.h
9231                 - Keep NMConnection object path in sync
9232
9233         * libnm-glib/nm-settings.c
9234           libnm-glib/nm-settings.h
9235                 - Break D-Bus object registration out of the init function, because
9236                 every object that's exported over D-Bus needs to use the _same_
9237                 DBusConnection.  Otherwise, each object would get a different object
9238                 path tree and wouldn't be callable.
9239
9240 2007-08-29  Dan Williams  <dcbw@redhat.com>
9241
9242         * libnm-util/nm-setting.h
9243           libnm-util/nm-setting.c
9244           libnm-util/nm-connection.c
9245           src/NetworkManagerPolicy.c
9246                 - 'info' settings object should be 'connection' says the spec
9247                 at NetworkManagerConfigurationSpecification
9248
9249 2007-08-29  Dan Williams  <dcbw@redhat.com>
9250
9251         * libnm-glib/nm-settings.c
9252           libnm-glib/nm-settings.h
9253                 - make the dbus path a property of the object, and autogenerate it.
9254                 It can't be composed of the 'id' field becuase that's not available
9255                 yet during the GObject creation in nm_connection_settings_init()
9256
9257 2007-08-29  Dan Williams  <dcbw@redhat.com>
9258
9259         * introspection/nm-settings-connection.xml
9260           introspection/nm-settings.xml
9261                 - Service name -> NetworkManagerUserSettings because two services
9262                 can't share part of the same path.  I'm not really sure how we'll use
9263                 the same code with the system-settings daemon...
9264
9265 2007-08-28  Dan Williams  <dcbw@redhat.com>
9266
9267         * src/nm-device-interface.c
9268           src/nm-device-interface.h
9269                 - Kill one more bit of NMData
9270
9271 2007-08-28  Dan Williams  <dcbw@redhat.com>
9272
9273         * src/NetworkManagerSystem.h
9274           src/nm-device.c
9275           src/nm-device.h
9276           src/nm-hal-manager.c
9277           src/NetworkManager.c
9278           src/nm-device-802-11-wireless.c
9279           src/nm-hal-manager.h
9280           src/nm-device-802-3-ethernet.c
9281           src/vpn-manager/nm-vpn-service.h
9282           src/vpn-manager/nm-vpn-manager.c
9283           src/vpn-manager/nm-vpn-manager.h
9284           src/vpn-manager/nm-vpn-service.c
9285           src/nm-device-802-11-wireless.h
9286           src/NetworkManagerMain.h
9287           src/nm-device-802-3-ethernet.h
9288           src/backends/NetworkManagerGentoo.c
9289           src/backends/NetworkManagerPaldo.c
9290           src/backends/NetworkManagerFrugalware.c
9291           src/backends/NetworkManagerRedHat.c
9292           src/backends/NetworkManagerSlackware.c
9293           src/backends/NetworkManagerGeneric.c
9294           src/backends/NetworkManagerArch.c
9295           src/backends/NetworkManagerSuSE.c
9296           src/backends/NetworkManagerGeneric.h
9297           src/backends/NetworkManagerDebian.c
9298                 - Kill NMData
9299
9300 2007-08-28  Dan Williams  <dcbw@redhat.com>
9301
9302         * src/NetworkManagerMain.h
9303           src/nm-device-802-11-wireless.c
9304           src/NetworkManager.c
9305                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9306                 for now we should set the 'invalid' property on individual APs, and when
9307                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9308                 that ESS
9309
9310 2007-08-28  Dan Williams  <dcbw@redhat.com>
9311
9312         * src/NetworkManagerAP.c
9313           src/NetworkManagerAP.h
9314                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9315                         'autoconnect' property instead
9316
9317         * src/NetworkManager.c
9318           src/NetworkManagerMain.h
9319           src/NetworkManagerPolicy.c
9320           src/NetworkManagerPolicy.h
9321                 - Remove the 'allowed_ap_list', which should be replaced by 
9322                         NMConnection/NMSettings instead, since _those_ are the allowed
9323                         things that NM can connect to
9324
9325         * src/nm-device-802-11-wireless.c
9326                 - Remove both allowed_ap_list usage and 'fallback' checking
9327
9328 2007-08-28  Dan Williams  <dcbw@redhat.com>
9329
9330         * src/nm-device.c
9331           src/named-manager/nm-named-manager.c
9332           src/named-manager/nm-named-manager.h
9333           src/NetworkManager.c
9334           src/vpn-manager/nm-vpn-manager.c
9335           src/NetworkManagerMain.h
9336           src/NetworkManagerSystem.c
9337                 - Remove the named-manager object from NMData structure in preparation
9338                 for NMData's timely death.  Make the NMNamedManager the singleton that
9339                 it really is
9340
9341 2007-08-28  Dan Williams  <dcbw@redhat.com>
9342
9343         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9344         each AP's capabilities, and by NMConnection/NMSettings objects for user
9345         defined connections.
9346
9347         * include/NetworkManager.h
9348                 - Redefine 802.11 security properties.  There are now device capabilities
9349                         and AP flags and AP security flags.  It was way to unclear before.
9350
9351         * src/Makefile.am
9352           src/nm-ap-security-leap.h
9353           src/nm-ap-security-leap.c
9354           src/nm-ap-security-wpa-eap.c
9355           src/nm-ap-security-wpa-eap.h
9356           src/nm-ap-security-private.h
9357           src/nm-ap-security-wpa-psk.c
9358           src/nm-ap-security-wpa-psk.h
9359           src/nm-ap-security-wep.c
9360           src/nm-ap-security-wep.h
9361           src/nm-ap-security.c
9362           src/nm-ap-security.h
9363                 - Removed, to be replaced with NMConnection/NMSettings objects
9364
9365         * src/nm-dbus-nmi.c
9366           src/nm-dbus-nmi.h
9367                 - Removed, to be replaced by code that talks to the new info daemon
9368                         interface and gets NMConnection/NMSettings objects
9369
9370         * src/backends/NetworkManagerSuSE.c
9371                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9372                         info-daemon that does the same thing but talks the new info-daemon
9373                         D-Bus interface
9374
9375         * src/NetworkManagerAP.h
9376           src/NetworkManagerAP.c
9377           src/NetworkManagerAPList.c
9378           libnm-glib/libnm-glib-test.c
9379                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9380                         WPA/RSN
9381
9382         * libnm-glib/nm-access-point.c
9383           libnm-glib/nm-access-point.h
9384           introspection/nm-access-point.xml
9385           test/nm-tool.c
9386                 - Adjust to new flags for AP security
9387
9388         * utils/nm-utils.c
9389           utils/nm-utils.h
9390           src/vpn-manager/nm-dbus-vpn.c
9391                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9392                         stuff which is the only place it's used
9393
9394         * src/nm-device-interface.c
9395           src/nm-device-interface.h
9396           introspection/nm-device.xml
9397           src/nm-activation-request.c
9398           src/nm-activation-request.h
9399           src/nm-device.c
9400                 - Add a new 'specific_object' argument that hints to NM what actual
9401                         AP or other device-specific thing the connection should apply to.
9402                         NMConnection objects can apply to more than one actual device/AP.
9403
9404         * libnm-util/nm-connection.c
9405         * libnm-util/nm-connection.h
9406                 - Add 'have_secrets" call stubs
9407
9408         * libnm-util/cipher.h
9409                 - Move NM_AUTH_TYPE_* defines here for now
9410
9411         * src/nm-device-802-11-wireless.c
9412                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9413                         NMSettings objects
9414
9415         * src/NetworkManagerDbus.c
9416         * src/NetworkManagerPolicy.c
9417                 - Remove usage of update_allowed_networks, should be pushing data in
9418                         a different manner
9419
9420 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9421
9422         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9423         dbus-glib frees it when the call is done.
9424
9425 2007-08-26  Dan Williams  <dcbw@redhat.com>
9426
9427         * introspection/nm-device.xml
9428                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9429
9430 2007-08-26  Dan Williams  <dcbw@redhat.com>
9431
9432         * src/nm-device-802-3-ethernet.c
9433                 - (constructor): move connection of interface-connected/disconnected
9434                         signals here from real_bring_up().  Should be listening to netlink
9435                         for carrier events no matter what the initial state of the device
9436                         is.
9437
9438 2007-08-26  Dan Williams  <dcbw@redhat.com>
9439
9440         * src/nm-netlink-monitor.c
9441                 - (nm_netlink_monitor_class_init): fix marshalling types for
9442                         interface-connected/interface-disconnected
9443                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9444                         check
9445
9446 2007-08-26  Dan Williams  <dcbw@redhat.com>
9447
9448         Convert to using interface indexes as the primary method of identifying
9449         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9450         be renamed at any time.  Device object paths now refer to the device
9451         index rather than the name, and you can map those two manually if you like
9452         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9453         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9454         to use interface indexes rather than names.
9455
9456 2007-08-26  Dan Williams  <dcbw@redhat.com>
9457
9458         * src/nm-netlink-monitor.h
9459                 - Remove one last bit of wireless-event signal
9460
9461 2007-08-26  Dan Williams  <dcbw@redhat.com>
9462
9463         * src/nm-netlink-monitor.c
9464                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9465                         don't need the 'wireless-event' signal anymore since that's all
9466                         handled by wpa_supplicant
9467
9468 2007-08-25  Dan Williams  <dcbw@redhat.com>
9469
9470         It's 2007. Remove support for drivers that don't support wireless scanning.
9471
9472         * test/nm-tool.c
9473           include/NetworkManager.h
9474           src/NetworkManagerUtils.c
9475           src/NetworkManagerPolicy.c
9476           src/nm-device-802-11-wireless.c
9477                 - Remove special handling for non-scanning devices and mark them
9478                         as unsupported/unhandled
9479
9480 2007-08-20  Dan Williams  <dcbw@redhat.com>
9481
9482         * src/nm-device-802-11-wireless.c
9483           src/nm-device-802-3-ethernet.c
9484                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9485                         because when the card is pulled or the module removed, the device
9486                         is already !IFF_UP and then device-specific cleanup (removing
9487                         the supplicant interface, periodic checks, etc) never gets done
9488
9489 2007-08-20  Dan Williams  <dcbw@redhat.com>
9490
9491         * src/nm-manager.c
9492                 - (nm_manager_remove_device): bring device down before disconnecting
9493                         signal handlers, so that the 'state' signal will get broadcast when
9494                         the device enters the DOWN state
9495                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9496                         of states that cause the NMManager to recheck its state
9497
9498 2007-08-20  Dan Williams  <dcbw@redhat.com>
9499
9500         * src/supplicant-manager/nm-supplicant-interface.c
9501                 - (interface_disconnect_done): don't try to dispose of the net proxy
9502                         when it may already have been disposed of
9503
9504 2007-08-20  Dan Williams  <dcbw@redhat.com>
9505
9506         * src/nm-device-802-11-wireless.c
9507                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9508                         the SSID isn't available; this can happen when the card is pulled
9509                         or the module unloaded, during the post-removal deactivation
9510                         paths, when the ioctl returns ENODEV
9511
9512 2007-08-20  Dan Williams  <dcbw@redhat.com>
9513
9514         * src/nm-device-802-11-wireless.c
9515                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9516                         frequency, and mode match.  Applets are now responsible for grouping
9517                         access points
9518
9519 2007-08-20  Dan Williams  <dcbw@redhat.com>
9520
9521         * src/NetworkManagerAP.c
9522         * src/NetworkManagerAP.h
9523                 - (nm_ap_print_self): new function
9524
9525         * src/NetworkManagerAPList.c
9526                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9527                         to do it all here
9528         
9529 2007-08-17  Dan Williams  <dcbw@redhat.com>
9530
9531         * src/nm-device-802-3-ethernet.c
9532                 - (real_bring_down): don't try to dispose of stuff that might not
9533                         exist
9534
9535 2007-08-17  Dan Williams  <dcbw@redhat.com>
9536
9537         * src/NetworkManagerAP.c
9538                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9539                         applet.  This ensures that the case between the seen-bssids and
9540                         the bssids reported by the driver match.
9541
9542 2007-08-17  Dan Williams  <dcbw@redhat.com>
9543
9544         * src/nm-device-802-11-wireless.c
9545                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9546                         we dispose of the interface proxy in NM
9547
9548 2007-08-16  Dan Williams  <dcbw@redhat.com>
9549
9550         * libnm-glib/nm-client.c
9551                 - (nm_client_init): create VPN connections hash table with key free
9552                         function
9553                 - (proxy_vpn_connection_added): VPN connections hash table key should
9554                         be a duplicated value, not the same memory address as the VPN
9555                         connection name.  This is because the VPN connection name could
9556                         potentially be freed and set to something else during the lifetime
9557                         of the NMVPNConnection object.
9558
9559 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9560
9561         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9562         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9563         with the file descriptors. Send a child setup function to change the pppd
9564         progress group.
9565
9566 2007-08-15  Dan Williams  <dcbw@redhat.com>
9567
9568         * src/supplicant-manager/nm-supplicant-interface.c
9569                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9570                         an interface
9571                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9572                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9573                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9574                         the interface internally
9575
9576 2007-08-15  Dan Williams  <dcbw@redhat.com>
9577
9578         * src/nm-device-802-11-wireless.c
9579                 - (real_bring_down): move most of this function into device_cleanup()
9580                         so that it can be called from elsewhere
9581                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9582                         and stuff on dispose.  These would normally get cleaned up when
9583                         the device is marked down and deactivated, but when the device is
9584                         hot-unplugged, it's already down and real_down() never gets run
9585
9586 2007-08-15  Dan Williams  <dcbw@redhat.com>
9587
9588         * src/nm-dbus-nmi.c
9589                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9590                         caused a reference leak on device for which NM requested a key
9591
9592 2007-08-15  Dan Williams  <dcbw@redhat.com>
9593
9594         * libnm-glib/nm-client.c
9595                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9596
9597 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9598
9599         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9600         nothing is using it at the moment, but it'll be all useful and stuff later on.
9601
9602         * libnm-util/nm-setting.h: Define NMSettingPPP.
9603
9604         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9605
9606         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9607
9608         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9609
9610         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9611
9612         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9613
9614 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9615
9616         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9617
9618         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9619         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9620         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9621         name and different arguments and it won't compile anymore. To fix this, we now have
9622         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9623         that is new API + compatibility API and used by the daemon. The other, 
9624         nm-manager-client.xml is only the new API without compatibility bits and is used
9625         by libnm-glib to make it compile.
9626
9627         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9628
9629         * src/nm-manager.c (impl_manager_legacy_sleep)
9630         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9631         interface functions for 0.6 branch.
9632
9633 2007-08-14  Dan Williams  <dcbw@redhat.com>
9634
9635         * src/NetworkManagerAP.c
9636                 - (nm_ap_new_from_properties): fix mistaken check of return value
9637                         from memcmp (should expect 0)
9638
9639 2007-08-14  Dan Williams  <dcbw@redhat.com>
9640
9641         (force-commit to fix wrong comment and partial commit of r2685; this
9642          commit actually applies to r2685)
9643
9644         * src/NetworkManagerUtils.c
9645                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9646                         ignores trailing nulls in the SSID to work around mismatches in
9647                         expectations between WEXT and what the info-daemon passes back.  The
9648                         info-daemon would pass back the correct length, but due to the
9649                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9650                         the device would always have an SSID + 1 depending on what versions
9651                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9652                         visible by just quitting the applet and relaunching, which caused
9653                         NM to reassociated to the same network over again when reloading
9654                         the save networks.
9655
9656         * src/NetworkManagerPolicy.c
9657           src/NetworkManagerUtils.h
9658           src/nm-device-802-11-wireless.c
9659                 - Update for new parameter to nm_utils_same_ssid()
9660
9661 2007-08-14  Dan Williams  <dcbw@redhat.com>
9662
9663         * src/NetworkManagerAP.c
9664                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9665                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9666                         setting the BSSID to all 0s.  That confused the heck out of NM,
9667                         plus it's useless and probably out-of-spec.
9668
9669 2007-08-14  Dan Williams  <dcbw@redhat.com>
9670
9671         * callouts/Makefile.am
9672           src/dhcp-manager/nm-dhcp-manager.c
9673           src/dhcp-manager/nm-dhcp-manager.h
9674           src/dhcp-manager/Makefile.am
9675                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9676
9677 2007-08-14  Dan Williams  <dcbw@redhat.com>
9678
9679         * src/dhcp-manager/nm-dhcp-manager.c
9680                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9681                         it's really needed, get rid of unused xtra_args parameter
9682
9683 2007-08-14  Dan Williams  <dcbw@redhat.com>
9684
9685         * include/NetworkManagerVPN.h
9686           src/vpn-manager/nm-dbus-vpn.c
9687           src/vpn-manager/nm-dbus-vpn.h
9688           src/vpn-manager/nm-vpn-act-request.c
9689           src/vpn-manager/nm-vpn-act-request.h
9690           src/vpn-manager/nm-vpn-service.c
9691           src/vpn-manager/nm-vpn-service.h
9692           libnm-glib/nm-vpn-connection.c
9693           libnm-glib/nm-vpn-connection.h
9694           libnm-glib/nm-client.h
9695                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9696                         NMVPNServiceState to clarify what they apply to
9697                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9698                         NMVPNActStage -> NMVPNConnectionState for the same reason
9699
9700         * libnm-glib/nm-client.c
9701                 - Constant + type renames from above
9702                 - Properly handle NameOwnerChanged/manager_running signals
9703                         for NM service; only emit when state really changes
9704                 - Use hash tables correctly so that the key (which was previously owned
9705                         by the D-Bus message) now has the same lifetime as the value, since
9706                         the key is now taken from the the NMVPNConnection itself.  This
9707                         really fixes the double-VPN names in the applet
9708
9709 2007-08-13  Dan Williams  <dcbw@redhat.com>
9710
9711         Patch from Michael Biebl <biebl@debian.org>
9712
9713         * po/POTFILES.in
9714           po/POTFILES.skip
9715                 - Update for vpn-properties move
9716
9717 2007-08-13  Dan Williams  <dcbw@redhat.com>
9718
9719         * libnm-glib/nm-client.c
9720                 - Convert internal VPN connection tracking from a list to a hash table
9721                         to easily avoid duplicates
9722                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9723                         must be freed by the caller, like nm_client_get_devices()
9724                 - (nm_client_remove_vpn_connection): don't let the removal signal
9725                         leak through for NMVPNConnection objects that aren't actually
9726                         tracked.
9727                 - (manager_running): throw away VPN connection list when NM goes away,
9728                         like with the device list
9729
9730 2007-08-13  Dan Williams  <dcbw@redhat.com>
9731
9732         * src/dhcp-manager/nm-dhcp-manager.c
9733                 - Stop any dhclient instance that might be already running for a
9734                         particular interface before starting an NM spawned dhclient.  Fixes
9735                         dhclient processes left over if NM crashes, stuff like that.
9736
9737 2007-08-13  Dan Williams  <dcbw@redhat.com>
9738
9739         * src/NetworkManagerAP.c
9740                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9741                         when the AP wasn't broadcasting it's SSID
9742
9743 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9744
9745         * include/NetworkManager.h: added DBus path for connection settings.
9746
9747         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9748         nm_connection_settings_signal_updated,
9749         nm_connection_settings_signal_removed): new functions to wrap the
9750         objects' signals.
9751         (nm_connection_settings_init): register GObject with DBus.
9752         (nm_connection_settings_get_dbus_object_path): new function.
9753
9754         * libnm-glib/Makefile.am: added libnmutil to link flags.
9755
9756 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9757
9758         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9759
9760         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9761         libnm_glib directory got merged with libnm-glib/.
9762
9763         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9764
9765         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9766         Rename the library from libnm-glib to libnm_glib to maintain the library API
9767         compatibility with 0.6 branch.
9768
9769         * Makefile.am: Remove gnome/ SUBDIR.
9770
9771         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9772
9773         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9774
9775         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9776
9777         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9778         anymore.
9779         Remove checks for wpa_supplicant binary, it's used over dbus.
9780         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9781
9782         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9783         Link the binaries with libnm_glib.la.
9784
9785 2007-08-12  Dan Williams  <dcbw@redhat.com>
9786
9787         * src/NetworkManagerPolicy.c
9788                 - (nm_policy_device_change_check): fix policy to deactivate old device
9789                         before activating new one, at least until the multiple active
9790                         device support lands
9791
9792 2007-08-12  Dan Williams  <dcbw@redhat.com>
9793
9794         * src/NetworkManagerPolicy.c
9795                 - (nm_policy_new): hook up to connection-added / connection-removed
9796                         signals instead of connections-changed
9797
9798 2007-08-12  Dan Williams  <dcbw@redhat.com>
9799
9800         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9801         Robert Frank <rfrank@redhat.com>
9802
9803         * src/dhcp-manager/nm-dhcp-manager.c
9804           src/dhcp-manager/nm-dhcp-manager.c
9805           src/nm-device.c
9806                 - Spawn and communicate with dhclient directly, through means of a
9807                 custom dhclient callout script.  Process callout D-Bus signals
9808                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9809                 sent via gobject signals rather than being driven by the dhcp manager
9810                 directly.
9811
9812 2007-08-12  Dan Williams  <dcbw@redhat.com>
9813
9814         * callouts/nm-dhcp-client-action.c
9815                 - (build_message): ignore non-DHCP-related environment variables
9816
9817 2007-08-12  Dan Williams  <dcbw@redhat.com>
9818
9819         * Makefile.am
9820           configure.in
9821           callouts/Makefile.am
9822           callouts/nm-dhcp-client-action.c
9823           callouts/nm-dhcp-client.conf
9824                 - Add dhclient-executed callout that takes the place of dhclient-script
9825                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9826                 NM then listens for
9827
9828 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9829
9830         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9831
9832         * libnm-glib/nm-client.h:
9833         * libnm-glib/nm-object.h:
9834         * libnm-glib/nm-vpn-connection.h:
9835         * libnm-glib/nm-settings.h:
9836         * libnm-glib/nm-device.h:
9837         * libnm-glib/nm-ip4-config.h:
9838         * libnm-glib/nm-access-point.h:
9839         * libnm-glib/nm-device-802-3-ethernet.h:
9840         * libnm-util/nm-setting.h: 
9841         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9842
9843         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9844
9845         * libnm-glib/nm-access-point.c: Strength has type char.
9846
9847         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9848         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9849
9850         * introspection/nm-access-point.xml: Strength property is char, not int.
9851
9852         * src/NetworkManagerAP.c (set_property): Set strength from char.
9853         (get_property): Handle hidden APs (with empty SSID).
9854         Get strength value from char.
9855         (nm_ap_class_init): Strength property has char type.
9856
9857 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9858
9859         * introspection/Makefile.am:
9860         * introspection/nm-settings.xml:
9861         * introspection/nm-settings-connection.xml: added Settings interfaces.
9862
9863         * libnm-glib/nm-settings.[ch]:
9864         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9865         containing the DBus implementation.
9866
9867 2007-07-26  Dan Williams  <dcbw@redhat.com>
9868
9869         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9870
9871         * src/NetworkManagerSystem.c
9872                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9873                         same subnet (#437396)
9874
9875 2007-07-26  Dan Williams  <dcbw@redhat.com>
9876
9877         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9878
9879         * gnome/vpn-properties/nm-vpn-properties.c
9880                 - Fix translatable strings (#445865)
9881
9882 2007-07-26  Dan Williams  <dcbw@redhat.com>
9883
9884         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9885
9886         * configure.in
9887                 - Remove useless junk (#412530)
9888
9889 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9890
9891         Patch from Robert Buchholz <rbu@gentoo.org>:
9892
9893         * configure.in:
9894         * Makefile.am:
9895         * introspection/Makefile.am:
9896         Make make distcheck work again.
9897
9898 2007-06-27  Dan Williams  <dcbw@redhat.com>
9899
9900         * Make SSIDs GByteArrays everywhere
9901         * Rename "essid" -> "ssid" everywhere that's appropriate
9902         * Refcount activation_ap member of the 802.11 wireless device class
9903
9904 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9905
9906         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9907
9908 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9909
9910         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9911         that we got a new AP when we just update existing AP properties.
9912
9913 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9914
9915         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9916
9917         * nm-utils.[ch]: Remove.
9918
9919         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9920         objects for easy property access and dbus connection handling.
9921
9922         * libnm-glib/nm-client.c: Derive from NMObject.
9923
9924         * libnm-glib/nm-device.c: Ditto.
9925
9926         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9927
9928         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9929
9930         * libnm-glib/nm-ip4-config.c: Ditto.
9931
9932         * libnm-glib/nm-access-point.c: Ditto.
9933
9934         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9935         comparision. Currently used by the device activation code to determine if the new
9936         activation is the same as the old one.
9937
9938         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9939         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9940         able to ask password for the AP.
9941
9942         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9943         up if the device is already connected, tear down it's connection (if it isn't the
9944         same as new one) and start the activation.
9945
9946         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9947
9948         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9949         the issue where all APs are always listed as encrypted.
9950
9951         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9952         their own registered paths.
9953
9954         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9955         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9956
9957 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9958
9959         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9960         (0 & 0 == 0, doh)
9961
9962         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9963         because the handling code will cause the next state change and signal listeners
9964         get the signals in wrong order.
9965
9966         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9967         correctly in case of pending activation.
9968
9969         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9970         Convert the essid byte array to string correctly, including the terminating NULL.
9971
9972         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9973         mode with correct types.
9974
9975         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9976         constructed info to dbus call instead of the activation request.
9977
9978 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9979
9980         Patch from Christian Persch <chpe@gnome.org>
9981
9982         * libnm-glib/Makefile.am:
9983         * dispatcher-daemon/Makefile.am:
9984         Use the correct variables, the correct paths, and correct ordering. (446315)
9985
9986 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9987
9988         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9989         argument. The activation request is easy to retrieve.
9990
9991         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9992         just to be a convenient location for devices to store random stuff.
9993
9994 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9995
9996         Patch from Alex Smith <alex@alex-smith.me.uk>
9997
9998         * src/backends/NetworkManagerFrugalware.c:
9999         Update the FrugalWare backend to fix a few segfaults. (#392642)
10000
10001 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10002
10003         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10004
10005         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10006         setting.
10007         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10008
10009 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10010
10011         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10012         automagically.
10013         Implement NMSettingIP4Config.
10014         Finish NMSettingWired by adding all known members.
10015         (setting_wired_verify): Implement.
10016         Finish NMSettingWireless by adding all known members.
10017         (setting_wireless_verify): Implement.
10018
10019         * libnm-util/nm-connection.c: Register "ipv4" setting.
10020         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10021         dump function, we can introspect the GHashTable which is used for sending connections
10022         over dbus.
10023
10024         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10025         Take GByteArray for essid, it's really not a string.
10026
10027         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10028         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10029         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10030         means overriding the values we got from DHCP.
10031         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10032         (nm_device_deactivate_quickly): Ditto.
10033
10034         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10035         for debugging.
10036
10037 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10038
10039         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10040         NMConnection.
10041
10042         * libnm-glib/nm-device-802-11-wireless.c:
10043         (nm_device_802_3_ethernet_activate): Remove.
10044
10045         * libnm-glib/nm-device-802-3-ethernet.c
10046         (nm_device_802_3_ethernet_activate): Remove.
10047
10048         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10049
10050         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10051         NMConnection.
10052
10053         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10054         activation has started.
10055         Implement the new activation using NMConnection.
10056
10057         * src/nm-activation-request.c: Store a generic connection object instead
10058         of a wireless-specific AP.
10059
10060         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10061         on device type, create a device specific connection object suitable for
10062         device activation.
10063
10064         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10065         specific check to validate the connection and on success start the
10066         activation.
10067
10068         * src/nm-device-interface.h: Add a activate virtual function to the
10069         interface definition.
10070
10071         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10072         (impl_device_activate): Implement.
10073
10074         * introspection/nm-device.xml: Add a generic device activation interface
10075         that accepts an abstract NMConnection structure that has device-specific
10076         information in it.
10077
10078         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10079         activation interface.
10080
10081         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10082         activation interface.
10083
10084         * libnm-util/nm-connection.c: 
10085         * libnm-util/nm-connection.h: 
10086         * libnm-util/nm-setting.c:
10087         * libnm-util/nm-setting.h: Add.
10088
10089         * libnm-util/Makefile.am: Build the added files.
10090
10091         * src/nm-dbus-manager.c
10092         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10093         DbusConnection argument from 'name-owner-changed' signal. The manager
10094         is already passed as a first argument to the signal and the connection
10095         is easy enough to get from it.
10096
10097         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10098         Update the signature of the function.
10099
10100         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10101         Ditto.
10102
10103         * src/NetworkManager.c: Ditto.
10104
10105         * src/named-manager/nm-named-manager.c
10106         (nm_named_manager_name_owner_changed): Ditto.
10107
10108         * src/supplicant-manager/nm-supplicant-manager.c
10109         (nm_supplicant_manager_name_owner_changed): Ditto.
10110
10111         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10112
10113         * src/dhcp-manager/nm-dhcp-manager.c
10114         (nm_dhcp_manager_name_owner_changed): Ditto.
10115
10116         * src/nm-hal-manager.c: Add a list of device detectors and creators
10117         to make it easier to add new devices. Each device type has it's own
10118         entry in the table so adding new device types is only a matter of
10119         implementing a couple of functions, one for device detection and the
10120         other for device creation.
10121
10122 2007-04-25  Dan Williams  <dcbw@redhat.com>
10123
10124         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10125                 (gnome.org #432401)
10126
10127 2007-03-30  Dan Williams  <dcbw@redhat.com>
10128
10129         * src/NetworkManagerSystem.c
10130                 - (nm_system_device_set_ip4_route): clean up and fix argument
10131                         to nm_dev_sock_open()
10132
10133 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10134
10135         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10136         data to correct types instead of always using string.
10137
10138         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10139         _not_ have NM_802_11_CAP_PROTO_NONE.
10140         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10141         is not set.
10142
10143 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10144
10145         * libnm-glib/Makefile.am: Fix the build issue.
10146
10147 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10148
10149         * libnm-glib/nm-vpn-connection.h: 
10150         * libnm-glib/nm-vpn-connection.c: Implement.
10151
10152         * libnm-glib/nm-client.c: Add VPN support.
10153
10154         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10155         handler for VPN.
10156
10157         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10158         on DBUS again.
10159
10160 2007-03-26  Dan Williams  <dcbw@redhat.com>
10161
10162         * src/NetworkManagerAPList.c
10163         * src/nm-device-802-11-wireless.c
10164         * src/NetworkManagerAP.c:
10165                 - Store last seen as glong instead of GTimeVal.
10166                 - Fix the upper bound of capabilities, it's a bitfield.
10167
10168 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10169
10170         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10171
10172         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10173         "manager-running" signal that notifies the appearance/disappearance of NM.
10174         (nm_client_sleep): Implement.
10175
10176         * libnm-glib/nm-device.c:
10177         * libnm-glib/nm-device-802-11-wireless.c: 
10178         * libnm-glib/nm-device-802-3-ethernet.c: 
10179
10180         Don't inherit from DBusGProxy, add a proxy to private
10181         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10182         for anything but their own dbus interface. DBusGProxy objects support only one
10183         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10184         interface. The nice side effect of this change is that we do not create a new
10185         DBusGProxy object for each property access.
10186
10187 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10188
10189         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10190         with zeroes before passing them to functions - the functions never do that and
10191         reading the values back may produce wrong values.
10192         (real_bring_up): Store the signal handler id ...
10193         (real_bring_down): ... So that it can be removed here.
10194         Disconnect the supplicant interface here as well.
10195         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10196         from the access point instead of old $device/Networks/$essid.
10197
10198         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10199         device state is connected (instead of just having link/carrier).
10200
10201         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10202         already easily accessible through the device.
10203
10204         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10205         store it within the object.
10206         (nm_ap_get_dbus_path): Export it to public as well.
10207
10208         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10209         of the singleton.
10210
10211 2007-03-12  Dan Williams  <dcbw@redhat.com>
10212
10213         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10214         for non-carrier-detect capable devices, and useless for carrier-detect
10215         devices since we get notifications from netlink about carrier status anyway.
10216
10217         * src/nm-device-802-3-ethernet.c
10218                 - remove 'link_source_id' member from private data
10219                 - (probe_link): remove and collapse into real_update_link()
10220                 - (nm_device_802_3_periodic_update): remove
10221                 - (real_is_up): check for sup_iface rather than link_source_id
10222                 - (real_bring_up): return gboolean for success/fail; require that
10223                         sup_iface be valid for device bringup to succeed
10224                 - (real_bring_down): zero out link signal ids
10225
10226         * src/nm-device.c
10227                 - (nm_device_activate_stage2_device_config): fail activation if device
10228                         bringup fails
10229                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10230                         fails
10231                 - (nm_device_bring_up): return success/fail
10232
10233         * src/nm-device.h
10234                 - bring_up now returns success/fail
10235
10236         * src/nm-device-802-11-wireless.c
10237                 - (real_bring_up): return success from bringup
10238
10239 2007-03-07  Dan Williams  <dcbw@redhat.com>
10240
10241         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10242         * src/nm-ap-security-wpa-psk.c
10243                 - (real_write_supplicant_config): work with PSKs that may contain
10244                         zeros in the binary format rather than treating it as a string
10245
10246 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10247
10248         * libnm-glib/nm-device-802-11-wireless.c
10249         (nm_device_802_11_wireless_get_capabilities): Implement.
10250
10251         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10252
10253         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10254
10255         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10256         reply only if it's not NULL. Not sure why this started happening right now.
10257
10258         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10259         code paths for when devices get removed on shutdown or when a device is just
10260         removed.
10261         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10262         gets freed so any signal from a device (disconnected for instance) would invoke
10263         NMState update which would crash.
10264         (nm_manager_remove_device): Bring the device down when it gets removed.
10265
10266         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10267         the unused dev_type.
10268
10269         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10270         reference to the added device, NMManager will own it (if it wants).
10271
10272         * test/nm-tool.c: Rewrite using libnm-glib.
10273
10274         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10275         We get signalled when it changes.
10276
10277         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10278         when it changes.
10279
10280         * libnm-glib/nm-device.c: Cache the device state property.
10281
10282         * libnm-glib/nm-access-point.c: Cache the strength property.
10283
10284         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10285         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10286         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10287         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10288         the device is down, activating, or activated (in case of A/B/G cards).
10289         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10290         it's all done through supplicant now.
10291
10292         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10293         counting issues with pending calls which caused leaks and crashes when
10294         interface was removed (now that the interface actually gets removed).
10295
10296         * src/nm-call-store.c: Make a copy of data before running a foreach
10297         with user callback on it - The most common usage pattern is to cancel
10298         (and thus remove) all pending calls with foreach which would modify
10299         the hash table we're iterating over.
10300
10301         * src/nm-manager.c: When a device is added, make sure it is "up". When
10302         it's removed or disabled due to disabling wireless or networking, bring
10303         it down.
10304
10305         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10306
10307         * src/nm-device-802-11-wireless.c: 
10308         * src/nm-device-802-3-ethernet.c: 
10309         * src/nm-device.c:
10310                 - Remove "init" virtual function, all gobjects have a place for that
10311                   already (constructor).
10312                 - Replace "start" virtual function with "bring_up", devices can be
10313                   brought up and down more than just on startup now.
10314                 - Add "is_up" virtual function.
10315                 - Implement one way to bring a device down instead of previous 4 different
10316                   ways, each of witch did something different.
10317
10318         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10319         all it needs is the device interface.
10320
10321         Get rid of NMData.dev_list (3 members to go).
10322         Get rif of NMData in a lot of places.
10323
10324         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10325
10326 2007-02-23  Dan Williams  <dcbw@redhat.com>
10327
10328         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10329
10330         * src/NetworkManagerAP.c
10331                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10332                         OR-ing rather than AND-ing
10333
10334 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10335
10336         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10337         "network-removed" signals.
10338
10339         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10340
10341         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10342         when receiving the signal from dbus.
10343
10344         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10345         property.
10346
10347         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10348         deactivation of the previously activated device working again.
10349
10350         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10351         and setter.
10352
10353         * src/nm-device.c (nm_device_is_activated): Remove.
10354         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10355
10356         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10357         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10358         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10359         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10360         Remove NMNetworkStatus and NMActStage enums.
10361
10362 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10363
10364         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10365         Handle device state changes and disconnect VPN if it's device deactivates.
10366
10367         * src/nm-dbus-nm.c: 
10368         * src/nm-dbus-nm.h: 
10369         * src/nm-dbus-device.c: 
10370         * src/nm-dbus-device.c: 
10371         * src/nm-dbus-net.c: 
10372         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10373
10374         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10375
10376         * src/nm-device.c (nm_device_get_by_udi):
10377         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10378         implemented in the correct location (NMManager).
10379         Rip out all the test_device stuff.
10380
10381         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10382         failure handlers, it's all done by NMDevice already.
10383
10384         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10385         Remove the iochannel hack to route the unix signals to the main thread since
10386         we're not threaded anymore.
10387
10388         * src/NetworkManagerAP.c: Implement HWAddress property.
10389
10390         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10391         automatically with dbus-glib.
10392
10393         * src/nm-netlink-monitor.c: 
10394         * src/nm-netlink-monitor.h:
10395                 - Move it low in the class hierarchy, don't reference any NM types.
10396                 - Remove private data from the header.
10397                 - Use type safe checks in public API methods.
10398                 - Make it a singleton so we don't have to pass the single reference around.
10399
10400 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10401
10402         * introspection/nm-ip4-config.xml: Implement.
10403
10404         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10405
10406         * libnm-glib/nm-ip4-config.c:
10407         * libnm-glib/nm-ip4-config.c: Implement.
10408
10409         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10410         securities. APs reference security.
10411
10412         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10413         be exported over DBUS.
10414
10415         * src/nm-device-802-3-ethernet.c: Ditto.
10416
10417         * src/NetworkManagerAP.c:
10418         * src/NetworkManagerAP.h:
10419                 - Convert to GObject, export over DBUS.
10420
10421         * src/nm-ip4-config.h:
10422         * src/nm-ip4-config.h:
10423                 - Convert to GObject, export over DBUS.
10424
10425 2007-02-12  Dan Williams  <dcbw@redhat.com>
10426
10427         Patch from Helmut Schaa <hschaa@suse.de>
10428
10429         * vpn-daemons/pptp/configure.in
10430           vpn-daemons/pptp/Makefile.am
10431           vpn-daemons/openvpn/configure.in
10432           vpn-daemons/openvpn/Makefile.am
10433           vpn-daemons/vpnc/configure.in
10434           vpn-daemons/vpnc/Makefile.am
10435                 - Add --without-gnome switch which disables building gnome bits
10436
10437 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10438
10439         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10440
10441         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10442
10443         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10444         'HwAddress'.
10445
10446         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10447
10448         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10449
10450         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10451
10452         * src/:
10453                 - Remove old low-level dbus interface implementations and replace them
10454                   with dbus-glib one.
10455
10456         * configure.in:
10457                 - Require dbus-glib >= 0.72.
10458                 - Plug in new sources to build.
10459
10460         * libnm-glib/:
10461                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10462                   to make it more convenient to use from GObject based programs.
10463
10464         * introspection/:
10465                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10466
10467 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10468
10469         * src/nm-device-802-11-wireless.c:
10470                 - Add "network-added" and "network-removed" signals.
10471                 - Use gobject boilerplate macros to define the GObject.
10472                 - Implement wireless device activation.
10473                 - Remove activation_failure_handler and activation_success_handler
10474                   and instead listen on state-changed signals and run the same code
10475                   from there.
10476
10477         * src/nm-device.c:
10478                 - Implment NMDeviceInterface::deactivate.
10479                 - Remove activation_failure_handler and activation_success_handler
10480                   virtual methods. Each device which is interested in these events
10481                   can just listen on it's state changed signals.
10482
10483         * src/NetworkManagerPolicy.c:
10484                 - Move a bit more NMData usage to NMManager.
10485                 - Remove activation scheduling bits.
10486                 - Add listeners for wireless device's "network-added" and
10487                   "network-removed" signals.
10488                 - Listen device changed signals and deactivate currently activated
10489                   device when another device start activating (for now).
10490                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10491                   for calling this, the policy code knows exactly when this should happen,
10492                   by listening on events from NMManager and NMDevices.
10493
10494         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10495         Implement.
10496
10497         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10498         method on the specific device instead of going to through policy code
10499         and determining the device type by passed in AP's existance.
10500
10501         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10502         abstract NMDevice deactivation.
10503
10504 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10505
10506         * src/NetworkManager.c:
10507                 - Set up all the shiny new managers.
10508
10509         * src/NetworkManagerPolicy.c:
10510                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10511                   classes to call into policy code, make the policy code kind of like
10512                   a supervisor that monitors what's going on and drives the whole NM.
10513
10514         * src/nm-hal-manager.c: 
10515         * src/nm-hal-manager.h:
10516                 - Collect all libhal code scattered around NM to this one class.
10517                 - Listen libhal and NMManager events and add/remove devices to
10518                   NMManager.
10519
10520         * src/nm-manager.c:
10521         * src/nm-manager.h:
10522                 - Implment a replacement for NMData. NMData is now officially
10523                 deprecated.
10524
10525 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10526
10527         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10528         * src/supplicant-manager/nm-supplicant-interface.h
10529         * src/supplicant-manager/nm-supplicant-interface.c
10530         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10531         argument to boolean from enum.
10532
10533         Make NMDevice abstract class, remove almost all references to it's
10534         subclasses (the last place gets removed with new policy manager). Add
10535         NMDeviceInterface (which NMDevice implements) so that when we have
10536         NMDevice exported over DBUS, there's a common NMDevice interface which
10537         all instances have, plus there's a device specific interface for each
10538         specific type.
10539         Remove functions (nm_device_is_802_3_ethernet) and
10540         (nm_device_is_802_11_wireless). There are already standard GObject macros
10541         for type safe checks.
10542         Use the updated supplican manager API.
10543
10544         * src/nm-device-interface.h: 
10545         * src/nm-device-interface.c: 
10546         * src/nm-call-store.h: 
10547         * src/nm-call-store.c: Implement.
10548
10549         * src/supplicant-manager/nm-supplicant-interface.c:
10550         * src/supplicant-manager/nm-supplicant-interface.h:
10551         * src/supplicant-manager/nm-supplicant-manager.c:
10552         * src/supplicant-manager/nm-supplicant-manager.h:
10553                 - Remove all private data type references from public header files.
10554                 - Remove all references to other NM classes, this class is just a
10555                   proxy between wpa_supplicant and NM so it doesn't have to know
10556                   any internals.
10557                 - Convert to dbus-glib bindings.
10558                 - Type safe checks for public methods' arguments.
10559                 - Store pending DBUS call ids to NMCallStore.
10560
10561         * src/supplicant-manager/nm-supplicant-config.c:
10562                 - Store config values in a GHashTable instead of GSList.
10563
10564         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10565
10566         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10567         singleton now.
10568
10569         * src/nm-device.c: Use the new DHCP manager API.
10570
10571         * src/nm-activation-request.c:
10572         * src/nm-activation-request.h:
10573                 - Remove all dhcp related properties and methods.
10574
10575         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10576
10577         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10578
10579         * src/dhcp-manager/nm-dhcp-manager.c:
10580         * src/dhcp-manager/nm-dhcp-manager.h:
10581                 - Convert it to GObject since we need to signal state changes.
10582                 - Remove all references to other NM classes, this class is one
10583                   of the lowest classes in our hierarchy.
10584                 - One less class to use NMActRequest.
10585                 - Make it singleton, one less user of NMData.
10586                 - Remove a couple of sleep() calls.
10587                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10588                   One less class to use the NM's custom tailored signal handlig.
10589
10590         * Makefile.am: Generate marshallers, add them to build.
10591
10592 2007-02-02  Dan Williams  <dcbw@redhat.com>
10593
10594         * configure.in
10595           gnome/Makefile.am
10596           nm-applet.desktop
10597           Makefile.am
10598                 - Remove last bits referencing gnome applet
10599
10600 2007-02-02  Dan Williams  <dcbw@redhat.com>
10601
10602         * src/vpn-manager/nm-vpn-service.c
10603                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10604                         and NBNS server addresses
10605
10606 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10607
10608         * src/nm-dbus-manager.c:
10609         * src/nm-dbus-manager.h:
10610                 - Convert all internal DBUS code to use dbus-glib bindings.
10611                 - Remove GObject properties, we don't need them here.
10612                 - Don't explicitly set things to NULL after freeing, glib is
10613                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10614                 - Make public API argument checks type safe.
10615                 - Remove unnecessary (and wrong) cast to GObject for the first
10616                   argument to g_signal_* calls - The first argument is a gpointer.
10617                 - Export DBusGConnection to other cool classes that (are going to)
10618                   use dbus-glib.
10619
10620 2007-01-26  Dan Williams  <dcbw@redhat.com>
10621
10622         * libnm-util/dbus-dict-helpers.c
10623           libnm-util/dbus-dict-helpers.h
10624                 - Coordinate style with wpa_supplicant version to minimize diff
10625                 - Add uint32 array support
10626                 - (nmu_dbus_dict_append_uint32_array): new function
10627                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10628                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10629                         version; allow adding string array elements individually
10630
10631         * test/libnm-util/test-dbus-dict-helpers.c
10632                 - Test uint32 arrays
10633
10634 2007-01-27  Jürg Billeter  <j@bitron.ch>
10635
10636         * src/backends/NetworkManagerPaldo.c
10637                 - (nm_system_update_dns): clear nscd hosts cache
10638
10639 2007-01-04  Dan Williams  <dcbw@redhat.com>
10640
10641         Threading removal related cleanups:
10642
10643         - Use the glib default main context.  Remove the device main context
10644                 member from NMDevice, and the main_context member from NMData.  Change
10645                 all the idle and timeout scheduler functions to use plain
10646                 g_idle_add() and g_timeout_add().
10647
10648         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10649                 takes an argument; fix that up too.
10650
10651         - Remove all locking, which is useless since we no longer use threads.  For
10652                 example, nm_get_device_by_iface_locked() has been removed.  The global
10653                 device list lock, the AP List lock, and all static locks in
10654                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10655                 in NetworkManagerUtils.c have also been removed.
10656
10657         - Other cleanups in spacing and code style
10658
10659 2007-01-01  Dan Williams  <dcbw@redhat.com>
10660
10661         Found by Bill Moss:
10662
10663         * src/supplicant-manager/nm-supplicant-interface.c
10664                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10665                         the supplicant interface wasn't already disconnected.  Always
10666                         call removeNetwork and disconnect unless the supplicant interface
10667                         is in the DISCONNECTED or INACTIVE state.
10668
10669 2006-12-28  Dan Williams  <dcbw@redhat.com>
10670
10671         Use a single thread for everything.  With the move to wpa_supplicant
10672         and communication over D-Bus, there's no reason for multiple threads.
10673         Almost all of the blocking code has been removed, with one exception in
10674         the DHCP manager and a few in the VPN manager.  This commit removes the
10675         per-device worker thread and fixes activation cancellation in the absence
10676         of threads.  Further removal of thread-related code would be removing
10677         any locking code (like the device list lock) and simplification of logic
10678         around areas of code or data structures that are currently locked.
10679
10680         * autoip.c
10681           dhcp-manager/nm-dhcp-manager.c 
10682           nm-device-802-11-wireless.c
10683           nm-device-802-3-ethernet.c
10684           nm-device.c
10685           nm-device.h
10686                 - Remove usage of multiple threads
10687
10688 2006-12-19  Dan Williams  <dcbw@redhat.com>
10689
10690         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10691         plus a few other patches from wpa_supplicant bugzilla.
10692
10693         * src/Makefile.am
10694           src/NetworkManagerPolicy.c
10695           src/NetworkManagerUtils.c
10696           src/NetworkManagerUtils.h
10697           src/nm-ap-security-leap.c
10698           src/nm-ap-security-wep.c
10699           src/nm-ap-security-wpa-eap.c
10700           src/nm-ap-security-wpa-psk.c
10701           src/nm-ap-security.c
10702           src/nm-ap-security.h
10703           src/nm-device-802-11-wireless.c
10704           src/nm-device-802-11-wireless.h
10705           src/supplicant-manager/nm-supplicant-config.c
10706           src/supplicant-manager/nm-supplicant-config.h
10707           src/supplicant-manager/nm-supplicant-interface.c
10708           src/supplicant-manager/nm-supplicant-interface.h
10709           src/supplicant-manager/nm-supplicant-marshal.list
10710           src/supplicant-manager/nm-supplicant-settings-verify.c
10711           src/supplicant-manager/nm-supplicant-settings-verify.h
10712                 - Move all connection management and association handling to
10713                         wpa_supplicant over dbus, rather than spawning a private copy
10714
10715 2006-12-19  Dan Williams  <dcbw@redhat.com>
10716
10717         * src/NetworkManagerPolicy.c
10718                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10719                         better locking of the device change check handler ID.  Incorrect
10720                         locking was causing lost device change requests
10721
10722 2006-12-18  Dan Williams  <dcbw@redhat.com>
10723
10724         * libnm-util/dbus-dict-helpers.c
10725                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10726                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10727                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10728
10729 2006-12-18  Dan Williams  <dcbw@redhat.com>
10730
10731         * gnome/libnm_glib/libnm_glib.c
10732                 - Change dbus_connection_close() -> dbus_connection_unref()
10733
10734 2006-12-11  Dan Williams  <dcbw@redhat.com>
10735
10736         * src/supplicant-manager/nm-supplicant-interface.c
10737                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10738                         wpa_supplicant interface state
10739                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10740                         state before transitioning to READY state
10741
10742 2006-12-04  Dan Williams  <dcbw@redhat.com>
10743
10744         * src/nm-device-802-11-wireless.c
10745                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10746                         odd length of ESSID returned from ieee80211 stack-based drivers
10747
10748 2006-12-04  Dan Williams  <dcbw@redhat.com>
10749
10750         * src/nm-device-802-11-wireless.c
10751                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10752                         IE handling blocks that cause mis-parsing of the IE
10753
10754 2006-12-04  Dan Williams  <dcbw@redhat.com>
10755
10756         * src/nm-device-802-11-wireless.c
10757                 - (init_supplicant_interface): new function; pull supplicant interface
10758                         setup code out into standalone function since it must be called from
10759                         two different places
10760                 - (real_init): sup_mgr is now in private object data; get and track
10761                         the supplicant manager object over the NMDevice subclass' lifetime
10762                         and register a signal handler for its state signals; only try to
10763                         initialize the supplicant interface if the supplicant manager is in
10764                         the IDLE state (and therefore is ready for requests)
10765                 - (request_wireless_scan): reschedule the scan request if (a) there is
10766                         no supplicant interface yet (meaning wpa_supplicant isn't running
10767                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10768                         for requests yet
10769                 - (supplicant_iface_connection_state_cb): new function; stub for
10770                         handling supplicant interface connection state signals
10771                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10772                         comes and goes
10773                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10774                         supplicant manager object that's being tracked starting with this
10775                         commit
10776
10777 2006-12-04  Dan Williams  <dcbw@redhat.com>
10778
10779         * src/supplicant-manager/nm-supplicant-interface.c
10780                 - (nm_supplicant_interface_set_property): track signal handler ID
10781                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10782
10783 2006-12-04  Dan Williams  <dcbw@redhat.com>
10784
10785         * src/supplicant-manager/nm-supplicant-interface.[ch]
10786                 - (nm_supplicant_interface_get_state): new function
10787
10788 2006-12-04  Dan Williams  <dcbw@redhat.com>
10789
10790         * src/supplicant-manager/nm-supplicant-interface.c
10791                 - (bssid_properties_cb): don't treat DBus errors as valid
10792                         scanned AP messages
10793
10794 2006-12-04  Dan Williams  <dcbw@redhat.com>
10795
10796         * src/supplicant-manager/nm-supplicant-interface.[ch]
10797                 - (nm_supplicant_interface_get_connection_state): new function
10798                 - define new supplicant connection states
10799                 - send a signal when the supplicant connection state changes
10800
10801 2006-12-03  Dan Williams  <dcbw@redhat.com>
10802
10803         * src/supplicant-manager/Makefile.am
10804           src/supplicant-manager/nm-supplicant-connection.h
10805           src/supplicant-manager/nm-supplicant-connection.c
10806           src/supplicant-manager/nm-supplicant-config.h
10807           src/supplicant-manager/nm-supplicant-config.c
10808           src/supplicant-manager/nm-supplicant-types.h
10809           src/supplicant-manager/nm-supplicant-interface.h
10810           src/supplicant-manager/nm-supplicant-interface.c
10811                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10812
10813 2006-12-03  Dan Williams  <dcbw@redhat.com>
10814
10815         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10816
10817         * po/POTFILES.in
10818           po/POTFILES.skip
10819                 - Move VPN-related translatables to .skip
10820
10821         * vpn-daemons/pptp/po/POTFILES.in
10822                 - Update with new translatables
10823
10824 2006-12-02  Dan Williams  <dcbw@redhat.com>
10825
10826         Patch from Christian Persch <chpe@gnome.org>
10827
10828         * gnome/applet/Makefile.am
10829           gnome/applet/applet-dbus-devices.c
10830           gnome/applet/applet-notifications.c
10831           gnome/applet/applet.c
10832           gnome/applet/applet.h
10833           gnome/applet/main.c
10834                 - Be a GtkStatusIcon on GTK+ >= 2.10
10835
10836 2006-12-02  Dan Williams  <dcbw@redhat.com>
10837
10838         * gnome/applet/applet.c
10839                 - (nma_update_info): fix two unecessary allocations
10840
10841 2006-12-02  Dan Williams  <dcbw@redhat.com>
10842
10843         Patch from Michael Biebl <biebl@teco.edu>
10844         * configure.in
10845           man/NetworkManager.1.in
10846           man/NetworkManagerDispatcher.1.in
10847           man/NetworkManager.8.in
10848           man/NetworkManagerDispatcher.8.in
10849                 - Add .SH NAME stanzas
10850                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10851
10852 2006-12-02  Dan Williams  <dcbw@redhat.com>
10853
10854         Patch from Christian Persch <chpe@gnome.org>
10855
10856         * configure.in
10857                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10858
10859 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10860
10861         Patch by Timo Hoenig <thoenig@suse.de>:
10862         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10863         DBUS-1.0.
10864
10865         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10866         we can't use the one from the main source directory.
10867
10868 2006-11-27  Dan Williams  <dcbw@redhat.com>
10869
10870         Patch from Christian Persch <chpe@gnome.org>
10871
10872         * gnome/applet/applet-dbus-devices.c
10873                 - (hal_info_product_cb): fix memleak; free duped string.
10874                         Gnome.org #379908
10875
10876 2006-11-27  Dan Williams  <dcbw@redhat.com>
10877
10878         Patch from Christian Persch <chpe@gnome.org>
10879
10880         * gnome/applet/menu-items.c
10881                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10882                         as gtk_progress_set_percentage is deprecated.  Should
10883                         work as far back as GTK+ 2.4.  Gnome.org #379780
10884
10885 2006-11-26  Dan Williams  <dcbw@redhat.com>
10886
10887         Scan using wpa_supplicant over DBus.
10888
10889         * src/nm-device-802-11-wireless.c
10890                 - remove wireless extensions netlink event handler bits
10891                         (wireless_event_helper, nm_device_802_11_wireless_event)
10892                 - remove wireless extensions scan event handler bits
10893                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10894                         hex2byte, hex2num, request_and_convert_scan_results,
10895                         free_process_scan_cb_data, scan_results_timeout,
10896                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10897                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10898                         and request scans from the supplicant interface rather than directly
10899                 - Move functionality of convert_scan_results() to cull_scan_list() and
10900                         supplicant_iface_scanned_ap_cb()
10901                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10902                         at the scan interval when the current scan has finished
10903                 - (supplicant_iface_state_cb): start scanning when the supplicant
10904                         interface enters the READY state, and stop scanning when it
10905                         enters the DOWN state
10906                 - (cull_scan_list): weed out old access points from the scan list
10907                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10908                         point into an NMAccessPoint and merge it into the device's scan list
10909
10910         * src/supplicant-manager/nm-supplicant-interface.c
10911           src/supplicant-manager/nm-supplicant-interface.h
10912                 - Add a new signal "scan-result" which is issued when the supplicant
10913                         notifies NM that a scan has completed
10914                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10915                         point found in the scan.  Called once for each access point that
10916                         the supplicant interface object receives from the supplicant as a
10917                         result of the "scanResults" method call
10918                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10919                         for the initial scan results
10920                 - (scan_request_cb): new function; send listeners the result
10921                         (success, error) of a wireless scan request
10922                 - (nm_supplicant_interface_request_scan): new function; ask the
10923                         supplicant to perform an immediate wireless scan
10924
10925 2006-11-25  Dan Williams  <dcbw@redhat.com>
10926
10927         * src/supplicant-manager/Makefile.am
10928                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10929                         add HAL cflags/includes and named-manager includes directory
10930
10931         * src/supplicant-manager/nm-supplicant-interface.h
10932                 - New state STARTING to handle transition from INIT to READY where
10933                         the addInterface pending call is still outstanding
10934
10935         * src/supplicant-manager/nm-supplicant-interface.c
10936                 - track pending calls differently since we may have more than one
10937                         going on at any given time
10938                 - request scan results from wpa_supplicant; but don't do it more often
10939                         than every 4 seconds.  Drivers that do background scanning
10940                         (like the 'ipw' drivers) send a continuous stream of scan completion
10941                         notifications, so we don't want to hammer the supplicant or dbus
10942                         with requests for all scan results every time we get a completion
10943                         notification.
10944
10945 2006-11-25  Dan Williams  <dcbw@redhat.com>
10946
10947         * src/supplicant-manager/nm-supplicant-types.h
10948                 - new file; move all supplicant manager object typedefs here for
10949                         #include sanity
10950
10951         * src/supplicant-manager/nm-supplicant-interface.c
10952           src/supplicant-manager/nm-supplicant-interface.h
10953                 - new file; an object that interfaces an NMDevice object to the
10954                         supplicant and handles signals from the supplicant.  This object
10955                         does all necessary DBus communication with wpa_supplicant.
10956
10957         * src/supplicant-manager/nm-supplicant-manager.c
10958           src/supplicant-manager/nm-supplicant-manager.h
10959                 - Actually do something.  Track the state of the wpa_supplicant service
10960                         and deal with its comings & goings.  Handle life events of
10961                         supplicant interfaces too.
10962                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10963
10964         * src/supplicant-manager/nm-supplicant-connection.h
10965                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10966
10967         * src/supplicant-manager/Makefile.am
10968                 - Add new files to build, and add libnm-util to includes
10969
10970         * src/nm-marshal.list
10971                 - New marshaler type: VOID:UINT,UINT
10972
10973         * src/nm-device-802-3-ethernet.c
10974                 - (real_init): grab a supplicant interface
10975                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10976                 - (supplicant_iface_state_cb): new function, stub for handling
10977                         supplicant interface state changes
10978
10979         * src/nm-device-802-11-wireless.c
10980                 - (real_init): grab a supplicant interface
10981                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10982                 - (supplicant_iface_state_cb): new function, stub for handling
10983                         supplicant interface state changes
10984
10985         * src/NetworkManager.c
10986                 - (main): create and keep the supplicant manager around for the lifetime
10987                         of NetworkManager
10988
10989         * src/Makefile.am
10990                 - Link to the supplicant manager sub-library and use the supplicant
10991                         manager includes
10992
10993 2006-11-25  Dan Williams  <dcbw@redhat.com>
10994
10995         Rework DBus manager signal handling to be more flexible.  Previously,
10996         only one signal handler could be registered for a particular interface.
10997         The DBus manager now reference counts DBus bus matches and allows multiple
10998         clients to register signal handlers for the same interface and sender.
10999
11000         * src/NetworkManager.c
11001                 - (main): track NMI signal handler ID and remove it when we quit
11002
11003         * src/NetworkManagerMain.h
11004                 - Keep track of NMI signal handler ID
11005
11006         * src/nm-dbus-manager.c
11007           src/nm-dbus-manager.h
11008                 - rework signal handling; each signal handler references one signal
11009                         match, but a signal match may be referenced by one or more
11010                         signal handlers.  Matches are refcounted and are destroyed when the
11011                         last signal handler that references the match is removed.  This is
11012                         necessary because two signal handlers may end up requiring the same
11013                         dbus bus match, so the match must live until the last signal handler
11014                         is destroyed (for example, with the wpa_supplicant network interface
11015                         dbus interface).
11016
11017         * src/dhcp-manager/nm-dhcp-manager.c
11018                 - (nm_dhcp_manager_new): track DHCP signal handler id
11019                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11020
11021         * src/vpn-manager/nm-vpn-service.c
11022                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11023                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11024
11025 2006-11-25  Dan Williams  <dcbw@redhat.com>
11026
11027         Suggested by Helmut Schaa <hschaa@suse.de>
11028
11029         * src/vpn-daemons/nm-vpn-service.c
11030                 - (supplicant_child_setup): new function
11031                 - (supplicant_exec): make child process use a new process group id
11032
11033         * src/nm-device-802-11-wireless.c
11034                 - (nm_vpn_service_child_setup): new function
11035                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11036                         process group id
11037
11038 2006-11-19  Dan Williams  <dcbw@redhat.com>
11039
11040         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11041         * gnome/vpn-properties/nm-vpn-properties.c
11042                 - clean up after renamed VPN connection
11043
11044 2006-11-19  Dan Williams  <dcbw@redhat.com>
11045
11046         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11047         * gnome/applet/applet-dbus-vpn.c
11048                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11049
11050         * gnome/vpn-properties/nm-vpn-properties.c
11051                 - (init_app): sort VPN connections
11052
11053 2006-11-09  Dan Williams  <dcbw@redhat.com>
11054
11055         * src/NetworkManagerAPList.c
11056                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11057                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11058                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11059                 broke hidden SSID matching.  Found by Bill Moss.
11060
11061 2006-10-25  Dan Williams  <dcbw@redhat.com>
11062
11063         * src/nm-dbus-nm.c
11064                 - (nm_dbus_nm_set_active_device): return an empty success message on
11065                         success, rather than falling through to the error case.
11066
11067 2006-10-25  Dan Williams  <dcbw@redhat.com>
11068
11069         * src/NetworkManagerUtils.c
11070                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11071                         "SCAN" command
11072
11073 2006-10-24  Dan Williams  <dcbw@redhat.com>
11074
11075         Reduce the number of times the Gnome applet wakes up, especially when
11076         it's doing absolutely nothing and is hidden.  Initial patch by
11077         Chris Aillon.
11078
11079         * gnome/applet/applet-dbus.c
11080                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11081                         kill the redraw timeout.  When NM starts up, start the redraw
11082                         timeout.  Also, if we get kicked off the bus for some reason,
11083                         start the reconnection timeout if one's not already running.
11084                 - (nma_dbus_init): better handling of error conditions, don't leak
11085                         a half-initialized dbus connection
11086                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11087                         the applet's data, just call nm_dbus_init_helper()
11088                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11089                         timeout that calls nma_dbus_connection_watcher()
11090                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11091                         reconnection timeout, and don't start the reconnection timeout
11092                         unconditionally anymore
11093
11094         * gnome/applet/applet-dbus.h
11095                 - Expose nma_start_dbus_connection_watch()
11096
11097         * gnome/applet/applet.c
11098                 - (nma_update_state): no longer static, called from applet-dbus.c for
11099                         immediate UI updates on certain events
11100                 - (nma_set_running): new function; take over setting applet->running,
11101                         when not running (ie, NM is not active), don't activate the redraw
11102                         timeout because we're not showing the applet anyway.  When we are
11103                         running (ie, NM is active), and only when we're running, start the
11104                         redraw timeout.
11105                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11106                         kill any reconnection timeout
11107                 - (nma_get_instance): move one-off dbus initialization code here since
11108                         nm_dbus_init_helper() gets called more than once, possibly by the
11109                         reconnection timeout function too.  And, when we start up, if we
11110                         can't get a connection to the bus, start the reconnection timeout.
11111                         But don't start the redraw timeout yet, only do that when we get
11112                         NM's state and find out if it's running or not.
11113
11114         * gnome/applet/applet.h
11115                 - Add the reconnection GSource ID
11116                 - Add prototypes for nma_set_running() and the no-longer-static
11117                         nma_update_state()
11118
11119 2006-10-24  Dan Williams  <dcbw@redhat.com>
11120
11121         * src/vpn-daemons/nm-dbus-vpnc.c
11122                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11123                         pending call tracker
11124                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11125                         pending call tracker; register one-vpn-connection update pending
11126                         call in pending call tracker
11127                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11128                         update pending call in pending call tracker
11129                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11130                         update pending call in pending call tracker; don't block waiting
11131                         for call to return
11132
11133 2006-10-19  Robert Love  <rml@novell.com>
11134
11135         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11136           refresh the cache.
11137
11138 2006-10-14  Dan Williams  <dcbw@redhat.com>
11139
11140         * src/dhcp-manager/nm-dhcp-manager.c
11141                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11142                 the dbus connection and the device object path rather than
11143                 constructing it inside both functions.  Saves a bit of memory
11144                 and clarifies a failure path.
11145                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11146                 and allocate device path here rather than each of the two
11147                 functions above.
11148
11149 2006-10-13  Dan Williams  <dcbw@redhat.com>
11150
11151         * src/NetworkManager.c
11152                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11153                 this somehow droppout in the refactor
11154
11155 2006-10-13  Dan Williams  <dcbw@redhat.com>
11156
11157         * Huge DBus refactor:
11158                 - Create a "DBus Manager" object which manages the connection and
11159                 sends signals on NameOwnerChanged and connection/disconnection events,
11160                 handles reconnection to the bus if NM gets kicked off, and abstracts
11161                 signal handling
11162                 - Remove DBusConnection members from places where they are no
11163                 longer needed due to the refactor, like the dbus-connection
11164                 property of the named manager, and from NMData
11165                 - Reformats a bunch of the code to gnome style
11166                 (8-space tabs, braces on same line as statement, 80-col width).
11167                 Consider it open season to reformat any bits to gnome style.
11168                 style that aren't already.
11169
11170 2006-10-13  Dan Williams  <dcbw@redhat.com>
11171
11172         * src/supplicant-manager/Makefile.am
11173                 - Add new files
11174
11175         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11176                 - Make it a minimal GObject
11177
11178         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11179                 - Verify settings destined for wpa_supplicant
11180
11181         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11182                 - Minimal GObject to track wpa_supplicant controlled device
11183                 connections
11184
11185 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11186
11187         * gnome/applet/applet.c: (nma_update_info),
11188         (nma_act_stage_to_pixbuf), (nma_update_state):
11189         Mark missing strings for translation. Fixes bug #343306.
11190
11191 2006-10-01  Dan Williams  <dcbw@redhat.com>
11192
11193         * src/vpn-manager/nm-vpn-manager.c
11194                 - (nm_vpn_manager_load_services): split and clean up
11195                 for readability and correctness.  Restrict VPN service
11196                 files to ending in ".name", as was meant from the
11197                 beginning (but not coded in).  Better error reporting.
11198
11199 2006-10-01  Dan Williams  <dcbw@redhat.com>
11200
11201         * utils/nm-utils.h
11202                 - Clean up formatting of debug/info/warning log messages
11203
11204 2006-09-27  Robert Love  <rml@novell.com>
11205
11206         Patch by Tambet Ingo <tambet@ximian.com>:
11207         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11208           actually work.
11209
11210 2006-09-07  Dan Williams <dcbw@redhat.com>
11211
11212         * test/Makefile.am
11213           test/libnm-util/Makefile.am
11214           test/nm-supplicant-test.c
11215                 - Add test program emulating the way NM drives wpa_supplicant
11216                 to help debug supplicant issues
11217
11218 2006-08-24  Dan Williams <dcbw@redhat.com>
11219
11220         * configure.in
11221           src/Makefile.am
11222           src/supplicant-manager/Makefile.am
11223           src/supplicant-manager/nm-supplicant-manager.c
11224           src/supplicant-manager/nm-supplicant-manager.h
11225                 - Add skeleton bits of the wpa_supplicant manager
11226
11227 2006-08-24  Dan Williams <dcbw@redhat.com>
11228
11229         Patch from Ed Catmur:
11230         * src/NetworkManagerUtils.c
11231                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11232                 if netmask is 0 (Gnome #352634)
11233
11234 2006-08-17  Robert Love  <rml@novell.com>
11235
11236         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11237           package is now DBUS-enabled and listens for the NM signals.
11238
11239 2006-08-14  Dan Williams  <dcbw@redhat.com>
11240
11241         * Patch from Christian Persch <chpe gnome org>
11242         * configure.in
11243           po/LINGUAS
11244           vpn-daemons/openvpn/po/LINGUAS
11245           vpn-daemons/openvpn/configure.in
11246           vpn-daemons/pptp/po/LINGUAS
11247           vpn-daemons/pptp/configure.in
11248           vpn-daemons/vpnc/po/LINGUAS
11249           vpn-daemons/vpnc/configure.in
11250                 - Convert to LINGUAS method so translators don't have to modify
11251                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11252                 0.35 or higher
11253
11254 2006-08-14  Dan Williams  <dcbw@redhat.com>
11255
11256         Patch from Alex Smith <alex.extreme2@gmail.com>
11257         * configure.in
11258           src/backends/Makefile.am
11259           src/backends/NetworkManagerFrugalware.c
11260                 - Add support for Frugalware
11261
11262 2006-08-13  Dan Williams  <dcbw@redhat.com>
11263
11264         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11265         * src/nm-device-802-11-wireless.c
11266                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11267                 Gnome #346875
11268
11269 2006-08-13  Dan Williams  <dcbw@redhat.com>
11270
11271         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11272         * src/nm-ap-security.c
11273           src/nm-ap-security.h
11274                 - Add authentication_required bits for subclasses to specify whether
11275                 or not real authentication is required for connections, i.e. whether
11276                 the AP rejects us when an encryption key is wrong or not.
11277
11278         * src/nm-ap-security-wep.c
11279           src/nm-ap-security-wpa-eap.c
11280           src/nm-ap-security-wpa-psk.c
11281           src/nm-ap-security-leap.c
11282                 - Implement authentication_required appropriately for each method
11283
11284         * src/nm-device-802-11-wireless.c
11285                 - Be smarter about when to request a key; for example, using a wrong key
11286                 in WEP shared key mode previously just timed out and did not request
11287                 a new key
11288
11289 2006-08-13  Dan Williams  <dcbw@redhat.com>
11290
11291         * gnome/libnm_glib/libnm_glib.c
11292                 - dbus_connection_disconnect() -> dbus_connection_close() for
11293                 dbus >= 0.90
11294
11295 2006-08-07  Dan Williams  <dcbw@redhat.com>
11296
11297         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11298         * src/NetworkManagerSystem.c
11299                 - Respect specified MTU.  Gnome #344967
11300
11301 2006-08-07  Dan Williams  <dcbw@redhat.com>
11302
11303         * src/vpn-manager/nm-vpn-service.c
11304                 - Simplify print_vpn_config() arguments
11305
11306         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11307         * src/vpn-manager/Makefile.am
11308           src/vpn-manager/nm-vpn-service.c
11309                 - Add new API for passing VPN config options as a dict. Gnome #344967
11310
11311 2006-08-06  Dan Williams  <dcbw@redhat.com>
11312
11313         * gnome/applet/applet-dbus-devices.c
11314           gnome/applet/applet-dbus-vpn.c
11315           gnome/applet/applet-dbus.c
11316           gnome/applet/applet-dbus.h
11317           src/nm-dbus-nmi.c
11318           utils/nm-utils.c
11319           utils/nm-utils.h
11320                 - Make pending call tracking code generic,
11321                 so we can use it in NM as well as the applet
11322
11323 2006-08-06  Dan Williams  <dcbw@redhat.com>
11324
11325         * src/nm-activation-request.c
11326                 - Refcount pending call objects
11327
11328 2006-08-06  Dan Williams  <dcbw@redhat.com>
11329
11330         Patch from Christan Chiesa <christanc@gmail.com>
11331         * configure.in
11332                 - Tell sha1.c to use bigendian mode on PPC
11333
11334 2006-08-04  Robert Love  <rml@novell.com>
11335
11336         Glib Memory Slices!
11337         * configure.in: Require glib 2.10 or later.
11338         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11339           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11340           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11341           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11342           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11343           Memory Slices are the greatest thing since bread slices.
11344         * src/NetworkManagerAP.c: Also, fix memory leak.
11345
11346 2006-08-01  Robert Love  <rml@novell.com>
11347
11348         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11349
11350 2006-07-31  Robert Love  <rml@novell.com>
11351
11352         * src/backends/interface_parser.c: Declarations must begin the block.
11353
11354 2006-07-24  Dan Williams  <dcbw@redhat.com>
11355
11356         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11357         * src/backends/Makefile.am
11358           src/backends/NetworkManagerArch.c
11359           src/backends/NetworkManagerDebian.c
11360           src/backends/NetworkManagerGeneric.c
11361           src/backends/NetworkManagerGeneric.h
11362           src/backends/NetworkManagerGentoo.c
11363           src/backends/NetworkManagerPaldo.c
11364           src/backends/NetworkManagerRedHat.c
11365           src/backends/NetworkManagerSlackware.c
11366           src/backends/NetworkManagerSuSE.c
11367                 - Genericize common backend functions
11368
11369 2006-07-18  Robert Love  <rml@novell.com>
11370
11371         * configure.in: Add "--with-notify" option to allow disabling of
11372           libnotify support.
11373
11374 2006-07-13  Dan Williams  <dcbw@redhat.com>
11375
11376         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11377         * gnome/applet/applet.glade
11378           gnome/applet/Makefile.am
11379           gnome/applet/nm-gconf-wso.c
11380           gnome/applet/nm-gconf-wso-leap.c
11381           gnome/applet/nm-gconf-wso-leap.h
11382           gnome/applet/wireless-security-manager.c
11383           gnome/applet/wso-leap.c
11384           gnome/applet/wso-leap.h
11385           include/NetworkManager.h
11386           libnm-util/dbus-helpers.c
11387           libnm-util/dbus-helpers.h
11388           src/Makefile.am
11389           src/NetworkManagerAP.c
11390           src/nm-ap-security.c
11391           src/nm-ap-security-leap.c
11392           src/nm-ap-security-leap.h
11393                 - Add LEAP authentication support
11394
11395 2006-07-13  Dan Williams  <dcbw@redhat.com>
11396
11397         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11398         * configure.in
11399           src/backends/NetworkManagerArch.c
11400           src/backends/NetworkManagerDebian.c
11401           src/backends/NetworkManagerGentoo.c
11402           src/backends/NetworkManagerPaldo.c
11403           src/backends/NetworkManagerRedHat.c
11404           src/backends/NetworkManagerSlackware.c
11405           src/backends/NetworkManagerSuSE.c
11406                 - Convert hardcoding of 'ip' path to configure-time
11407                         detected one
11408
11409 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11410
11411         * configure.in: added ru to ALL_LINGUAS
11412
11413 2006-07-10  Dan Williams  <dcbw@redhat.com>
11414
11415         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11416         * src/nm-device.c
11417                 - (real_act_stage3_ip_config_start): don't infinite loop when
11418                         dhcdbd isn't running (Gnome #346845)
11419
11420 2006-07-09  Dan Williams  <dcbw@redhat.com>
11421
11422         * gnome/applet/applet.c
11423                 - (nma_destroy): don't pass NULL to notify_notification_close
11424                         (RH #197917)
11425
11426 2006-07-09  Dan Williams  <dcbw@redhat.com>
11427
11428         * gnome/applet/applet.c
11429                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11430
11431 2006-07-04  Tor Krill  <tor@krill.nu>
11432
11433         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11434         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11435         (nm_system_restart_mdns_responder), (ArchReadConfig),
11436         (nm_system_device_get_system_config):
11437                 - Explicitly check for DHCP configuration
11438                 - Check if daemons are running before starting them
11439
11440 2006-06-25  Dan Williams  <dcbw@redhat.com>
11441
11442         * libnm-util/dbus-dict-helpers.[ch]
11443           test/libnm-util/test-dbus-dict-helpers.c
11444                 - Add string array support
11445
11446 2006-06-24  Dan Williams  <dcbw@redhat.com>
11447
11448         * src/dhcp-manager/nm-dhcp-manager.c
11449                 - (nm_dhcp_manager_process_signal): clean up spacing
11450
11451 2006-06-21  Dan Williams  <dcbw@redhat.com>
11452
11453         * src/nm-dbus-device.c
11454                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11455                         through dbus
11456
11457 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11458
11459         * configure.in: Added 'lv' to ALL_LINGUAS
11460
11461 2006-06-19  Dan Williams  <dcbw@redhat.com>
11462
11463         * src/NetworkManagerAP.c
11464                 - Clarify usage of user_created
11465
11466         * src/nm-ap-security-wep.c
11467           src/nm-ap-security-wpa-eap.c
11468           src/nm-ap-security-wpa-psk.c
11469           src/nm-ap-security.c
11470           src/nm-ap-security.h
11471                 - s/user_created/adhoc, because we really do mean adhoc
11472
11473         Patch from Bernard Blackham <bernard@blackham.com.au>
11474         * src/nm-device-802-11-wireless.c         
11475                 - (supplicant_send_network_config): instead of user_created,
11476                         use adhoc, and do AP_SCAN 2 for adhoc networks
11477
11478 2006-06-18  Robert Love  <rml@novell.com>
11479
11480         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11481           we have a value to set.  Gconf generates a warning if `val' is NULL.
11482         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11483           unless we actually received a valid private key file passphrase or
11484           password.  Otherwise, we don't know to later ask the applet to pull
11485           the key from the keyring.
11486
11487 2006-06-17  Dan Williams  <dcbw@redhat.com>
11488
11489         * libnm-util/dbus-dict-helpers.[ch]
11490           test/libnm-util/test-dbus-dict-helpers.c
11491                 - Fixes for zero-length byte arrays
11492                 - Replace return values of 0 with FALSE for clarity
11493                 - Test zero-length byte arrays
11494
11495 2006-06-17  Dan Williams  <dcbw@redhat.com>
11496
11497         * libnm-util/dbus-dict-helpers.[ch]
11498           test/libnm-util/test-dbus-dict-helpers.c
11499                 - Add helpers for byte arrays
11500                 - Rework bits of the testcase
11501
11502 2006-06-16  Dan Williams  <dcbw@redhat.com>
11503
11504         * libnm-util/Makefile.am
11505         * libnm-util/dbus-dict-helpers.[ch]
11506                 - Add some helpers to take the pain out of using dict types in
11507                         dbus.
11508
11509         * test/libnm-util/Makefile.am
11510         * test/libnm-util/test-dbus-dict-helpers.c
11511                 - Test cases for the dict helper functions
11512
11513 2006-06-15  Robert Love  <rml@novell.com>
11514
11515         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11516           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11517           if there is no key to pass.
11518         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11519           receiving a non-NULL key.
11520
11521 2006-06-14  Robert Love  <rml@novell.com>
11522
11523         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11524           copy the strings.
11525
11526
11527 2006-06-14  Dan Williams  <dcbw@redhat.com>
11528
11529         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11530         * src/nm-device-802-11-wireless.c
11531                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11532                         or ones where the driver is unknown
11533                 - (supplicant_exec): don't wait for supplicant startup here
11534                 - (supplicant_interface_init): finer grained polling for supplicant
11535                         startup
11536
11537 2006-06-13  Robert Love  <rml@novell.com>
11538
11539         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11540           if it is currently set to TRUE.  Otherwise, we will reset the value
11541           when we connect normally.
11542         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11543           the old BSSID is valid, too.  The recently added ESSID check may not be
11544           sufficient (we can remove it?).  What we really want to catch is the
11545           case of going from all-zeros to the BSSID of some other network, which
11546           happens on failure.
11547
11548 2006-06-09  Dan Williams  <dcbw@redhat.com>
11549
11550         * src/NetworkManagerSystem.[ch]
11551                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11552                         it was unused and pointless
11553                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11554                         fix for set_up_down_with_iface change
11555
11556         * src/vpn-manager/nm-vpn-connection.c
11557                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11558
11559         * src/backends/NetworkManagerPaldo.c
11560           src/backends/NetworkManagerRedHat.c
11561           src/backends/NetworkManagerSuSE.c
11562           src/backends/NetworkManagerArch.c
11563           src/backends/NetworkManagerDebian.c
11564           src/backends/NetworkManagerGentoo.c
11565                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11566                         appropriate
11567                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11568                         where appropriate
11569
11570 2006-06-09  Dan Williams  <dcbw@redhat.com>
11571
11572         Patch from Peter Jones:
11573         * src/nm-device-802-11-wireless.c
11574                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11575                         SSID hasn't changed from what we expect before automatically
11576                         updating the saved BSSID from a new AP
11577
11578 2006-06-08  Robert Love  <rml@novell.com>
11579
11580         Add 'fallback' support.  NetworkManager will attempt to brute-force
11581         connect to networks marked as fallback if there are no better wireless
11582         connections available.  This is useful as a method of last resort, to
11583         work around driver problems, and for use with hidden networks.
11584         * gnome/applet/applet-dbus-devices.c,
11585           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11586         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11587           pass it on via DBUS.
11588         * gnome/applet/applet.c: No fallback by default.
11589         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11590           Update other-network-dialog to add UI checkbox toggling fallback.
11591         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11592           propery from AP object.  Add "fallback" property to AP object.
11593         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11594         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11595         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11596           separate function.  Add get_best_fallback_ap() for returning an AP
11597           on which to attempt fallback.
11598         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11599         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11600
11601 2006-06-07  Robert Love  <rml@novell.com>
11602
11603         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11604           checked that the return type was GCONF_VALUE_STRING, not the correct
11605           GCONF_VALUE_BOOL, and thus it never worked.
11606         * src/NetworkManagerAPList.c: Before concluding that two networks are
11607           identical based on their BSSID, make sure that the BSSID in question
11608           is actually valid.  Specifically, an empty or all zero BSSID does not
11609           cut it.
11610         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11611           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11612           similar invariant clean up.
11613
11614 2006-06-02  Robert Love  <rml@novell.com>
11615
11616         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11617
11618 2006-05-28  Dan Williams  <dcbw@redhat.com>
11619
11620         * gnome/applet/applet.glade
11621           gnome/vpn-properties/nm-vpn-properties.glade
11622                 - Set window icons on dialogs  (Gnome.org #333420)
11623
11624 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11625
11626         * gnome/vpn-properties/nm-vpn-properties.glade:
11627         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11628         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11629         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11630                 - Make the VPN properties pages prettier and more HIG
11631                   compliant. Gnome Bug #336913.
11632
11633 2006-05-28  Dan Williams  <dcbw@redhat.com>
11634
11635         Patch from Christian Persch <chpe@gnome.org>
11636         * gnome/vpn-properties/nm-vpn-properties.c
11637         * gnome/vpn-properties/nm-vpn-properties.glade
11638                 - HIG-ification love  (Gnome.org #336846)
11639
11640 2006-05-28  Dan Williams  <dcbw@redhat.com>
11641
11642         Patch from Christian Persch <chpe@gnome.org>
11643         * configure.in
11644           gnome/vpn-properties/nm-vpn-properties.c
11645                 - (main): Fix option parsing.  Gnome.org #336847
11646
11647 2006-05-28  Dan Williams  <dcbw@redhat.com>
11648
11649         * gnome/vpn-properties/nm-vpn-properties.c
11650                 - (find_vpn_ui_by_service_name): protect against NULL service names
11651                 - (update_edit_del_sensitivity): protect against NULL service names
11652                         Gnome.org #341306
11653
11654 2006-05-28  Dan Williams  <dcbw@redhat.com>
11655
11656         Patch from Chris Fuller <crf@grandecom.net>:
11657         * src/nm-device-802-11-wireless.c
11658                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11659                         don't dispose of wireless-specific stuff unless it is actually
11660                         initialized.  Gnome.org #341263
11661
11662 2006-05-28  Dan Williams  <dcbw@redhat.com>
11663
11664         * src/NetworkManagerPolicy.c
11665                 - (nm_policy_device_change_check): don't switch devices if the "best"
11666                         AP is essentially the same as the current activation request, but
11667                         the current activation request isn't done activating yet.  Fixes
11668                         multiple requests for keyring password on startup for Gnome applet.
11669                         Gnome.org #341297
11670
11671 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11672
11673         * src/NetworkManager.c: use GOptions instead of getopt
11674         * configure.in: bump glib required version to >= 2.6 for GOption
11675           support
11676
11677 2006-05-25  Robert Love  <rml@novell.com>
11678
11679         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11680           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11681           instead of dumping ifdef's throughout the code.
11682         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11683           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11684           use nm_ioctl_info() in lieu.
11685
11686 2006-05-25  Robert Love  <rml@novell.com>
11687
11688         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11689         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11690           not using gcrypt.  Otherwise, we get a linker error.
11691
11692 2006-05-25  Robert Love  <rml@novell.com>
11693
11694         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11695         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11696           configure flag to disable building of the GNOME-based applet.
11697
11698 2006-05-25  Robert Love  <rml@novell.com>
11699
11700         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11701           parameter from link, because it shadows a global variable with some
11702           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11703           should never have exported to the entire system a common four letter
11704           word.  But we here at NetworkManager are team players.  Fixes
11705           GNOME bug #336532.
11706
11707 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11708
11709         * configure.in: Added mk.po, Macedonian translation.
11710
11711 2006-05-24  Robert Love  <rml@novell.com>
11712
11713         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11714           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11715           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11716
11717 2006-05-24  Robert Love  <rml@novell.com>
11718
11719         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11720           libnm-util/Makefile.am, src/Makefile.am,
11721           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11722           vpn-daemons/openvpn/properties/Makefile.am,
11723           vpn-daemons/pptp/auth-dialog/Makefile.am,
11724           vpn-daemons/pptp/properties/Makefile.am,
11725           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11726           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11727           user passed for --datadir, if anything, when setting the GNOME locale
11728           directory.  It should be a function of the specified datadir and not
11729           the prefix.
11730
11731 2006-05-24  Robert Love  <rml@novell.com>
11732
11733         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11734           src/NetworkManager.c: Take care to call bindtextdomain with the
11735           location of msgid files.
11736         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11737           files.
11738
11739 2006-05-22  Robert Love  <rml@novell.com>
11740
11741         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11742           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11743           99% of the time there is a real problem with wireless, and a
11744           seemingly successful connection via Zeroconf just confuses the user.
11745           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11746
11747 2006-05-22  Robert Love  <rml@novell.com>
11748
11749         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11750           autofs on interface up if NIS is configured.  On interface down, do
11751           nothing.
11752
11753 2006-05-22  Robert Love  <rml@novell.com>
11754
11755         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11756           to avoid calling g_object_unref() on stale pointers on error in
11757           nma_icons_free().  This happens because we short-circuit loaded the
11758           icons on the first failure but then free all icons.  Normally we have
11759           no issue because the icons were zero'ed out malloc, but we have stale
11760           pointer data after nma_icon_theme_changed().
11761         * gnome/applet/main.c: Return error code if nma_new() failed.
11762
11763 2060-05-21  Dan Williams  <dcbw@redhat.com>
11764
11765         * initscript/NetworkManager.in
11766                 - Ensure both dhcdbd and named are started before NM
11767
11768 2006-05-21  Dan Williams  <dcbw@redhat.com>
11769
11770         * configure.in
11771                 - Bump version to 0.7 to signify we are in 0.7 development
11772
11773 2006-05-21  Dan Williams  <dcbw@redhat.com>
11774
11775         Patch from Adam Schreiber <sadam@clemson.edu>
11776         * gnome/vpn-properties/nm-vpn-properties.c
11777                 - (main): correct Gnome program name  (gnome.org #342498)
11778
11779 2006-05-21  Dan Williams  <dcbw@redhat.com>
11780
11781         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11782
11783         * src/NetworkManagerDbus.[ch]
11784                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11785                         clarify that function's argument should be an escaped dbus object
11786                         path, and look for path segment end before returning a match
11787         * src/nm-dbus-nm.c:
11788                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11789
11790 2006-05-17  Robert Love  <rml@novell.com>
11791
11792         Functionality to differentiate Ad-Hoc networks from infrastructure
11793         networks in the applet, by displaying a special icon:
11794         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11795         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11796         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11797           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11798           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11799           networks, encrypted or not.
11800         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11801           accessor functions to get and set the mode of a given network,
11802           wireless_network_get_mode() and wireless_network_set_mode().
11803
11804 2006-05-17  Robert Love  <rml@novell.com>
11805
11806         Functionality to automatically add BSSIDs to the allowed-MAC list as
11807         one roams from access point to access point on a given network:
11808         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11809           helper function to compare two ether_addr structures and return TRUE
11810           if they contain the same MAC address.
11811         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11812           prototype.
11813         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11814           stored with the current AP.  If the BSSID has indeed changed, we
11815           send it out to the applet, allowing the allowed-MAC list to grow
11816           automatically in response to roaming.
11817
11818 2006-05-16  Robert Love  <rml@novell.com>
11819
11820         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11821           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11822
11823 2006-05-13  Dan Williams  <dcbw@redhat.com>
11824
11825         * src/nm-device-802-3-ethernet.c
11826                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11827                         carrier detect (Debian bug #366373)
11828
11829 2006-05-11  Dan Williams  <dcbw@redhat.com>
11830
11831         Patch from Michael Biebl <biebl@teco.edu>
11832         * src/backends/NetworkManagerDebian.c
11833                 - Debian backend fixups
11834
11835 2006-05-10  Robert Love  <rml@novell.com>
11836
11837         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11838
11839 2006-05-09  Robert Love  <rml@novell.com>
11840
11841         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11842           private certificate passphrase, if any, in the GNOME Keyring.
11843         * libnm-utils/dbus-helpers.c: Update.
11844
11845 2006-05-05  Dan Williams  <dcbw@redhat.com>
11846
11847         * src/nm-device-802-11-wireless.c
11848                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11849                         nm_device_802_11_wireless_disable_encryption() since that's all
11850                         we use it for anymore; we don't ever set WEP keys ourselves.
11851                 - (real_deactivate_quickly): reset SSID and encryption keys
11852                 - (real_deactivate): move SSID and encryption key reset to
11853                         real_deactivate_quickly(), which gets run before us anyway
11854
11855 2006-05-05  Robert Love  <rml@novell.com>
11856
11857         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11858           root has a wacky default of its own (or, more common, a user has a
11859           bad umask and uses su/sudo to restart NetworkManager).  Anything
11860           other than 0022 does not do what we want with, for example,
11861           resolv.conf.  This problem is amplified by our judicious use of
11862           fopen(), which uses mode 0666 -- implying that the only way to get
11863           the permissions we want is with a umask of 0022.
11864
11865 2006-05-05  Dan Williams  <dcbw@redhat.com>
11866
11867         * gnome/libnm_glib/libnm_glib.c
11868                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11869                         to reconnect; instead wait a bit more with each reconnect attempt
11870                         up to a max of one minute.
11871
11872 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11873
11874         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11875           the WirelessNetwork structure using the proper function instead of
11876           just casting it directly to (const char *) (gnome.org #336991)
11877
11878 2006-05-03  Robert Love  <rml@novell.com>
11879
11880         * src/backends/NetworkManagerSuSE.c: Respect the variable
11881           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11882           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11883           to dynamically update /etc/resolv.conf.
11884
11885 2006-05-02  Peter Jones  <pjones@redhat.com>
11886
11887         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11888
11889 2006-05-02  Robert Love  <rml@novell.com>
11890
11891         Patch by Timo Hoenig;
11892         * tests/nm-online.c: Print pretty status indicator as timeout winds
11893           down.  Also fix possible race between DBUS startup and failure
11894           return.
11895
11896 2006-05-01  Robert Love  <rml@novell.com>
11897
11898         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11899           empty, too.
11900
11901 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11902
11903         * src/nm-device.c (discover_device_type): Actually use the hal
11904         device type instead of ioctl poking
11905
11906 2006-04-26  Robert Love  <rml@novell.com>
11907
11908         * tests/nm-online.c: New file.  Simple utility that returns exit status
11909           noting whether the connection is offline or online.  If offline on
11910           start, it waits 30 seconds (or a command-line given value) for an
11911           online signal.  If it times out, it again returns offline.  This is
11912           useful for scripts that want to wait for network connections.
11913
11914 2006-04-25  Robert Love  <rml@novell.com>
11915
11916         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11917           key mode (the authentication algorithm), e.g. open or shared, when we
11918           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11919           only shared was broken.  If the user specified a shared key, set it
11920           explicitly, otherwise let wpa_supplicant go with the default.
11921
11922 2006-04-24  Dan Williams  <dcbw@redhat.com>
11923
11924         * src/nm-device-802-11-wireless.c
11925                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11926
11927 2006-04-24  Dan Williams  <dcbw@redhat.com>
11928
11929         Commit the async scanning patch
11930
11931         * src/nm-device-802-11-wireless.c
11932                 - get rid of scan_mutex
11933                 - (wireless_event_helper): act on wireless scan events
11934                 - (real_start): schedule a pending scan
11935                 - (link_to_specific_ap): fake the link to the AP during a scan
11936                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11937                         strength during scans
11938                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11939                         nm_device_set_bitrate): unused with new scanning code, disable
11940                 - (nm_device_wireless_schedule_scan): removed
11941                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11942                 - (request_and_convert_scan_results): new function; retrieve scan
11943                         results from the driver and schedule the processing function
11944                 - (scan_results_timeout): timeout triggered when card doesn't send
11945                         a scan results wireless event during a certain interval
11946                 - (schedule_scan_results_timeout): new function; schedule the scan
11947                         results timeout
11948                 - (cancel_scan_results_timeout): new function; cancel the scan
11949                         results timeout
11950                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11951                         to do the scanning.  Otherwise, just request a scan but don't
11952                         grab results here; instead schedule a timeout for scan results and
11953                         let netlink notify us of scan completion events
11954                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11955                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11956                 - (supplicant_status_cb): ignore disconnect events while scanning
11957                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11958                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11959                         timeouts
11960                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11961
11962 2006-04-24  Dan Williams  <dcbw@redhat.com>
11963
11964         * gnome/applet/applet-dbus.c
11965                 - Disable the pending call debug stuff, seems under control now
11966
11967 2006-04-20  Robert Love  <rml@novell.com>
11968
11969         Fix bug where hidden ESSID's would not show up in the applet, even
11970         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11971         because nm_policy_device_list_update_from_allowed_list() would merge
11972         the data, putting a name to the hidden networks, but never notify NMI
11973         of the changes.  Simple fix is to invoke the function
11974         nm_dbus_signal_wireless_network_change() if we make a mapping.
11975         * src/NetworkManagerAPList.c: Call the function
11976           nm_dbus_signal_wireless_network_change() if we made a successful
11977           BSSID to ESSID mapping, notifying the applet of the "new" network.
11978         * src/NetworkManagerAPList.h: Update the prototypes for both
11979           nm_ap_list_copy_essids_by_address() and
11980           nm_ap_list_copy_one_essid_by_address().
11981
11982 2006-04-20  Robert Love  <rml@novell.com>
11983
11984         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11985           not set.  Just return zero.
11986
11987 2006-04-20  Robert Love  <rml@novell.com>
11988
11989         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11990           only one copy of nm-vpn-properties is running at a time via the 'ol
11991           X selection trick.  This prevents the user from opening two "VPN
11992           Connections" windows from within the applet, which leads to mass
11993           hysteria.
11994         * clipboard.c: New file, implementing simple X selection logic.
11995         * clipboard.h: New file.
11996         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11997
11998 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11999
12000         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12001         * configure.in
12002           initscript/Gentoo/Makefile.am
12003           initscript/Gentoo/NetworkManagerDispatcher.in
12004                 - New script
12005         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12006           Gentopia
12007
12008 2006-04-16  Dan Williams  <dcbw@redhat.com>
12009
12010         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12011         * configure.in
12012           initscript/Slackware/Makefile.am
12013           initscript/Slackware/rc.networkmanager-dispatcher.in
12014           initscript/Slackware/rc.networkmanager.in
12015                 - Update slackware initscripts
12016
12017 2006-04-10  Robert Love  <rml@novell.com>
12018
12019         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12020           the "delete_event" signal on the druid's parent window and handle it
12021           our way, lest using the WM to close the druid results in a series of
12022           bloody and ultimately lethal errors.
12023
12024 2006-04-10  Robert Love  <rml@novell.com>
12025
12026         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12027           'Back' too or else the 'Forward' option is initially disabled despite
12028           valid input.
12029
12030 2006-04-06  Robert Love  <rml@novell.com>
12031
12032         Fix bad but simple bug where an active modem connection did not update
12033         NM's connection state, breaking any app that did online/offline:
12034         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12035           represented whether a dial up connection is active, or not.
12036         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12037           to modem activation and deactivation.
12038         * src/NetworkManagerDbus.c: When asked our state, do not return
12039           disconnected if the modem is active.
12040
12041 2006-04-04  Robert Love  <rml@novell.com>
12042
12043         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12044           applet.  It just confuses the crap out of people and does not make a
12045           lot of sense, as the daemon still runs.
12046
12047 2006-04-02  Tor Krill  <tor@krill.nu>
12048
12049         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12050           in start of service.
12051         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12052           get Archlinux backend up to date.
12053
12054 2006-03-29  Robert Love  <rml@novell.com>
12055
12056         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12057         to add support for per-route MSS and improve support for per-interface
12058         MTU:
12059         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12060           optionally take an MSS parameter and set it for the given route.
12061           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12062           NMIP4Config's stored MSS, if any.
12063         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12064           the interface's MTU and the route's MSS, respectively.  Add functions
12065           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12066           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12067           MSS.
12068         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12069           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12070           nm_ip4_config_set_mss.
12071         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12072           VPN daemon.
12073         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12074           Change the retval of nm_system_get_mtu to guint32.
12075         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12076           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12077           servers can specify MTU's, we should set it here if the MTU was not
12078           provided.
12079
12080 2006-03-27  Jürg Billeter  <j@bitron.ch>
12081
12082         * configure.in:
12083         * initscript/Makefile.am:
12084         * initscript/paldo/Makefile.am:
12085         * initscript/paldo/NetworkManager.in:
12086         * initscript/paldo/NetworkManagerDispatcher.in:
12087         * src/backends/Makefile.am:
12088         * src/backends/NetworkManagerPaldo.c:
12089                 - Add paldo support
12090
12091 2006-03-27  Dan Williams  <dcbw@redhat.com>
12092
12093         Patch from Christian Persch <chpe@gnome.org>
12094         * gnome/applet/applet.glade
12095                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12096
12097 2006-03-27  Dan Williams  <dcbw@redhat.com>
12098
12099         Patch from Diffe <diffie@blazebox.homeip.net>
12100         * src/backends/NetworkManagerSlackware.c
12101                 - Don't restart howl, since it's been replaced by Avahi
12102                         in most distributions
12103
12104 2006-03-27  Dan Williams  <dcbw@redhat.com>
12105
12106         Patch from Tor Krill <bugzilla@krill.nu>
12107         * configure.in
12108           initscript/Makefile.am
12109           src/backends/Makefile.am
12110           src/backends/NetworkManagerArch.c
12111           initscript/Arch/Makefile.am
12112           initscript/Arch/networkmanager-dispatcher.in
12113           initscript/Arch/networkmanager.in
12114                 - Add Arch Linux support, fixes gnome.org #335147
12115
12116 2006-03-27  Dan Williams  <dcbw@redhat.com>
12117
12118         Patch from Diffe <diffie@blazebox.homeip.net>
12119      * initscript/Slackware/rc.networkmanager
12120         - update, fixed gnome.org #333368
12121
12122 2006-03-27  Robert Love  <rml@novell.com>
12123
12124         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12125           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12126
12127 2006-03-27  Robert Love  <rml@novell.com>
12128
12129         Patch by Jürg Billeter <j@bitron.ch>:
12130         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12131           systems.
12132         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12133           as we prefer glibc over kernel headers, if possible.
12134
12135 2006-03-27  Robert Love  <rml@novell.com>
12136
12137         Patch by Jon Escombe <list@dresco.co.uk>:
12138         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12139         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12140           fail, don't bail out.  We don't expect all of the various WPA-EAP
12141           values to be present.
12142         * src/nm-ap-security.c: We need to match all capabilities for each
12143           encryption type, not any one of them.
12144
12145 2006-03-27  Robert Love  <rml@novell.com>
12146
12147         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12148           restart, not reload, ypbind.  Unfortunately there is no superior
12149           solution.
12150
12151 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12152
12153         * gnome/applet/applet-notifications.c:
12154         When displaying a notification, make sure to get rid of the
12155         previous notification so as to not have competing bubbles,
12156         and stop leaking the old one.
12157
12158         * gnome/applet/applet.c:
12159         * gnome/applet/applet.h:
12160         Add a new 'notification' member to the applet, and zero it out
12161         and free it appropriately.
12162
12163 2006-03-23  Robert Love  <rml@novell.com>
12164
12165         Patch by j <j@bootlab.org>:
12166         * gnome/applet/applet.glade: Don't set the invisible_char property,
12167           which simply overrides the GTK default.  By and by, this behavior
12168           ought to be fixed in Glade.
12169
12170 2006-03-22  Robert Love  <rml@novell.com>
12171
12172         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12173
12174 2006-03-22  Robert Love  <rml@novell.com>
12175
12176         Bug fix by Timo Hoenig <thoenig@suse.de>:
12177         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12178           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12179           and the applet going AWOL.
12180
12181 2006-03-22  Robert Love  <rml@novell.com>
12182
12183         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12184           preprocessor define and use it instead of open-coded the DHCP
12185           timeout, which is currently 25 seconds, everywhere.
12186
12187 2006-03-22  Robert Love  <rml@novell.com>
12188
12189         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12190         key exchange via WPA, ostensibly providing good security without
12191         requiring hardware that supports full WPA.  Also, add UI elements to
12192         allow the user to select the pairwise & group cipher for WPA Enterprise
12193         networks, too:
12194         * gnome/applet/applet.glade: Update glade file.
12195         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12196           key type, too, to and from gconf.
12197         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12198           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12199           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12200           the capabilities match.
12201         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12202           prototype.
12203         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12204           serialize from UI to DBUS.
12205         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12206           one element.
12207         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12208           nmu_security_serialize_wpa_eap_with_cipher(), and
12209           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12210           serialize/deserialize the key type via DBUS as the new third DBUS
12211           parameter.
12212         * libnm-util/dbus-helpers.h: Update prototypes.
12213         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12214           too.  If the key type is WEP104, do Dynamic WEP, which means
12215           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12216           pairwise and group ciphers (fixes a FIXME).
12217
12218 2006-03-21  Robert Love  <rml@novell.com>
12219
12220         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12221           nm_system_get_mtu(), which returns a user-provided or system-mandated
12222           MTU value for a given device, if any, or zero if no such value
12223           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12224           if we have a provided value.
12225         * src/nm-device.c: Set the MTU of devices.
12226         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12227         * src/backends/NetworkManagerDebian.c,
12228           src/backends/NetworkManagerGentoo.c,
12229           src/backends/NetworkManagerRedHat.c,
12230           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12231
12232 2006-03-21  Robert Love  <rml@novell.com>
12233
12234         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12235           configuration file.
12236
12237 2006-03-17  Robert Love  <rml@novell.com>
12238
12239         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12240           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12241           it, in case it is not running in the first place.  We just want its
12242           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12243
12244 2006-03-15  Robert Love  <rml@novell.com>
12245
12246         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12247           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12248           label "WEP 40/128-bit" is inconsistent because the physical key size
12249           is 40 or 104-bits, to which a 24-bit initialisation vector is
12250           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12251           to read "40/104" or "64/128".  I do not care much which, but most
12252           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12253           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12254           WEP passphrase support only handles 128-bit keys, and any future
12255           64-bit passphrase support will require a new option (no way to auto-
12256           detect the target key size), explicitly label our passphrase support
12257           "WEP 128-bit Passphrase".
12258
12259 2006-03-15  Robert Love  <rml@novell.com>
12260
12261         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12262           the system init scripts (or some other mechanism) starting it (or a
12263           compatible DBUS service) before NetworkManager runs.  This means that
12264           distributions might need to update their init scripts.  This fixes
12265           possible races and is quite a bit cleaner.
12266         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12267           starting the NetworkManager daemon.
12268
12269
12270 2006-03-14  Robert Love  <rml@novell.com>
12271
12272         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12273           before adding anything.
12274
12275 2006-03-13  Robert Love  <rml@novell.com>
12276
12277         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12278           widgets, too, if they exist, in case the user hit the back button.
12279           Fixes a bug where the details page contains the widgets of multiple
12280           VPN modules (Novell bug #157048).
12281
12282 2006-03-13  Robert Love  <rml@novell.com>
12283
12284         Patch by Timo Hoenig <thoenig@suse.de>:
12285         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12286           daemon survive DBUS restarts, too.
12287
12288 2006-03-10  Robert Love  <rml@novell.com>
12289
12290         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12291           passphrase or key.
12292         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12293           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12294           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12295           in response to "toggled" signal on new toggle.
12296
12297 2006-03-10  Robert Love  <rml@novell.com>
12298
12299         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12300           serialization if strings are NULL, lest DBUS get angry.
12301
12302 2006-03-10  Robert Love  <rml@novell.com>
12303
12304         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12305
12306 2006-03-09  Robert Love  <rml@novell.com>
12307
12308         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12309           configurations.
12310
12311 2006-03-09  Dan Williams  <dcbw@redhat.com>
12312
12313         Track pending call requests in the applet, and report how many are
12314         outstanding, and how long each completed one takes.
12315         
12316         * gnome/applet/applet-dbus-devices.c
12317           gnome/applet/applet-dbus-vpn.c
12318                 - Track pending calls
12319
12320         * gnome/applet/applet-dbus.[ch]
12321                 - Remove some unused enums
12322                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12323                         new functions to track dbus pending calls and spit out some
12324                         statistics about them
12325
12326 2006-03-09  Robert Love  <rml@novell.com>
12327
12328         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12329           nm_ap_set_timestamp() take the second and micro-second parameters as
12330           direct arguments, which avoids both a dynamic memory allocation and a
12331           structure-to-structure copy!  Add a new interface, the aptly named
12332           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12333           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12334           the return from nm_ap_get_timestamp().  New users should use the new
12335           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12336           the extreme benefit to performance.
12337         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12338           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12339
12340 2006-03-08  Robert Love  <rml@novell.com>
12341
12342         * gnome/applet/applet.glade: Hide the password entry text with
12343           asterisks.
12344
12345 2006-03-08  Robert Love  <rml@novell.com>
12346
12347         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12348           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12349           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12350           a second argument, NMData.
12351         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12352         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12353           config files as trusted.
12354
12355 2006-03-06  Robert Love  <rml@novell.com>
12356
12357         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12358         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12359           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12360           Rivera, detect if the applet was auto-started.  If so, ask the user
12361           if he or she would like to stop automatically running the applet on
12362           login.  If so, disable autostart.
12363
12364 2006-03-06  Robert Love  <rml@novell.com>
12365
12366         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12367           directory in CFLAGS so developers can actually use NetworkManager.h.
12368
12369 2006-03-06  Robert Love  <rml@novell.com>
12370
12371         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12372           open-coded integer constants.  Add state_to_string() to map a given
12373           state to a textual description, and provide that when notifying of
12374           state change.
12375         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12376           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12377           this header directly, but it is currently not installed on most
12378           systems.
12379
12380 2006-03-05  Dan Williams  <dcbw@redhat.com>
12381
12382         Process netlink messages in device subclasses rather than in
12383         NetworkManager.c.  Also add support for recognizing Wireless Events.
12384         
12385         * configure.in
12386                 - Find GLIB_GENMARSHAL
12387
12388         * src/Makefile.am
12389                 - Since we're marshalling custom types for wireless event signals,
12390                         we get to create our own marshallers using GLIB_GENMARSHAL
12391
12392         * src/NetworkManager.c
12393                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12394                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12395                         cut down somewhat.  We no longer process signals here.
12396                 - (nm_data_new): create the netlink monitor here, and remove a
12397                         useless call to nm_policy_schedule_device_change_check()
12398                 - (nm_data_free): get rid of the netlink monitor here
12399                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12400                 - (main): don't create the netlink monitor here, let nm_data_new
12401                         do that.  Call nm_policy_schedule_device_change_check() right
12402                         before we jump to the mainloop to figure out which device
12403                         to use first
12404
12405         * src/NetworkManagerSystem.[ch]
12406                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12407                         convert back and forth from interface names to interface
12408                         indexes
12409
12410         * src/nm-device-802-11-wireless.c
12411                 - (real_init): connect to wireless-event signals from the netlink
12412                         monitor object
12413                 - (nm_device_802_11_wireless_event): new function, schedule handler
12414                         for wireless event signals from the netlink monitor object.  We
12415                         want the handler to run in the device's context
12416                 - (wireless_event_helper): handle wireless-event signals from netlink
12417                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12418                         signal handler
12419
12420         * src/nm-device-802-11-wireless.h
12421                 - remove unused prototype for nm_device_802_11_wireless_new
12422
12423         * src/nm-device-802-3-ethernet.c
12424                 - (real_init): new function; set up signal handlers for link events
12425                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12426                         handler for netlink link activated events on device's main loop
12427                 - (link_activated_helper): when we get a link activated event, set
12428                         the device's link to be active
12429                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12430                         handler for netlink link deactivated events on device's main loop
12431                 - (link_deactivated_helper): when we get a link deactivated event, set
12432                         the device's link to be inactive
12433                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12434                         dispose
12435
12436         * src/nm-device-802-3-ethernet.h
12437                 - remove unused prototype for nm_device_802_3_ethernet_new
12438
12439         * src/nm-device.[ch]
12440                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12441                         but locks the device list
12442                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12443
12444         * src/nm-netlink-monitor.[ch]
12445                 - (nm_netlink_monitor_class_install_signals): New signal
12446                         "wireless-event"
12447                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12448                         at the device list
12449                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12450
12451         * src/nm-marshal-main.c
12452                 - Include generated nm-marshal.c and nm-marshal.h
12453
12454         * src/nm-marshal.list
12455                 - List of custom marshal functions
12456
12457 2006-03-05  Dan Williams  <dcbw@redhat.com>
12458
12459         * gnome/applet/applet-notifications.h
12460                 - Protect prototype of nma_send_event_notification() because it
12461                         includes libnotify-specific types
12462                 - Include libnotify/libnotify.h too, since we technically need it
12463
12464         * gnome/applet/applet.c
12465                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12466                 - (nma_show_vpn_login_banner_dialog): add some error checking
12467
12468 2006-03-04  Dan Williams  <dcbw@redhat.com>
12469
12470         Clean up activation cancellation.  Should be a lot faster now.  Observed
12471         an issue with wireless devices between stage 2 and 3 of activation, where
12472         activation would be cancelled, but the device thread wouldn't notice until
12473         the supplicant association timed out.  Reorganize activation such that
12474         a cancellation handler gets immediately scheduled in the device's thread,
12475         and devices have a chance to perform any custom cleanup too.
12476
12477         * src/nm-device.[ch]
12478                 - (activation_cancel_handler): new device-type-specific function
12479                         for cleaning up device-type-specific stuff on cancellation
12480                 - (cancel_activation): removed
12481                 - (nm_device_activation_cancel): subsume functionality of
12482                         real_cancel_activation, but instead of doing anything, punt
12483                         operation to a handler that's run in device-thread context
12484                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12485                         a warning message
12486                 - (activation_handle_cancel_helper): cancellation handler run in
12487                         device-thread context, calls device-type-specific cancelation,
12488                         then tears down the activation request
12489                 - (real_activation_cancel_handler): generic cancellation handler,
12490                         deals with cancelling any in-process DHCP request
12491                 - (nm_device_activate_stage1_device_prepare,
12492                    nm_device_activate_stage2_device_config,
12493                    nm_device_activate_stage3_ip_config_start,
12494                    nm_device_activate_stage4_ip_config_get,
12495                    nm_device_activate_stage4_ip_config_timeout,
12496                    nm_device_activate_stage5_ip_commit): don't call
12497                         nm_device_schedule_activation_handle_cancel() any more, since
12498                         cancellation will have been already scheduled for us by
12499                         nm_device_activation_cancel().  Just exit the function and
12500                         assume that the cancel handler will be called next.
12501
12502         * src/nm-device-802-3-ethernet.c
12503                 - (real_act_stage2_config): remove; didn't do anything anyway
12504
12505         * src/nm-device-802-11-wireless.c
12506                 - (supplicant_status_cb): ensure we don't do anything if the activation
12507                         got cancelled
12508                 - (real_activation_cancel_handler): implement; cancel user key request
12509                         on activation cancellation
12510
12511 2006-03-04  Dan Williams  <dcbw@redhat.com>
12512
12513         * src/nm-device-802-11-wireless.c
12514                 - (supplicant_send_network_config): assume that drivers that don't
12515                         support WPA pretty much suck, and can't handle NM scanning
12516                         along with wpa_supplicant.
12517
12518 2006-03-03  Robert Love  <rml@novell.com>
12519
12520         * configure.in: Bump version to 0.6.0.
12521         * NEWS: Update.
12522
12523 2006-03-03  Robert Love  <rml@novell.com>
12524
12525         * configure.in: Require DBUS 0.60 or later.
12526
12527 2006-03-03  Dan Williams  <dcbw@redhat.com>
12528
12529         Fix a crash if an "Other wireless network" was chosen, failed, then
12530         chosen again from the applet's menu.  If the other network wasn't
12531         noticed in a scan, it wouldn't have any capabilities, but would still
12532         be listed because the user forced the network.  To fix this, we set
12533         sensible capabilities on the forced network, which will get overwritten
12534         with the correct ones if the network shows up later in a scan.
12535         
12536         * src/nm-ap-security.h
12537                 - Add a new "get_default_capabilities_func" member to the
12538                         NMAPSecurity class
12539
12540         * src/nm-ap-security.c
12541                 - (nm_ap_security_get_default_capabilities): new function
12542
12543         * src/nm-ap-security.c
12544           src/nm-ap-security-wep.c
12545           src/nm-ap-security-wpa-psk.c
12546           src/nm-ap-security-wpa-eap.c
12547                 - Implement get_default_capabilities_func() for all, which
12548                         uses the information contained in a specific NMAPSecurity
12549                         object to determine default AP capabilites necessary
12550                         to support that object
12551
12552         As a secondary measure, we now prune artificial access points that fail
12553         to be activated right away.  The thing failed, and we have no scan data for
12554         it, so it's pretty much useless since security information is only saved
12555         in the applets when a connection is successful.
12556
12557         * src/NetworkManagerAPList.c
12558                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12559                         not artificial.  If we see it, it's no longer a figment of the
12560                         user's imagination :)
12561
12562         * src/NetworkManagerPolicy.c
12563                 - (nm_policy_activation_failed): send along the failed AP if we
12564                         have it
12565
12566         * src/nm-device-802-11-wireless.c
12567                 - (real_activation_failure_handler): remove artificial APs from
12568                         the device list, because activation failed
12569
12570 2006-03-02  Robert Love  <rml@novell.com>
12571
12572         Add support for retrieving both the per-device speed and the
12573         per-network maximum supported rate.  Then change the getProperties
12574         DBUS API for both networks and devices to report this informaiton.
12575         Finally, display the information via both nm-applet and nm-tool:
12576         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12577           and set it.
12578         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12579           Information' dialog.
12580         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12581         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12582           network_device_get_speed() and network_device_set_speed() for
12583           retrieving and setting, respectively, a network device's current
12584           speed.
12585         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12586         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12587           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12588           not matter (yet) what the units are, because we only feed it its own
12589           output.  Implement SIOCGIRATE and set the per-network maximum
12590           supported rate during scanning.
12591         * src/nm-device-802-11-wireless.h: Export the function
12592           nm_device_802_11_wireless_get_bitrate().
12593         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12594           function nm_device_802_3_ethernet_get_speed() for returning an
12595           802.3's current speed, in Mb/s.
12596         * test/nm-tool.c: Display the per-device current speed, if available,
12597           and the per-network maximum rate.
12598
12599 2006-03-02  Dan Williams  <dcbw@redhat.com>
12600
12601         * src/nm-device-802-11-wireless.c
12602                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12603                         card when it gets initialized.  Since devices don't get added to
12604                         the scan list until they are initialized, this function wasn't
12605                         setting the intitial scan interval correctly, and was leaving
12606                         it at 0.  This caused cards to get many scan requests in a short
12607                         amount of time when they were initialized
12608
12609 2006-03-02  Robert Love  <rml@novell.com>
12610
12611         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12612           active device.  But do not do what we used to do and override the
12613           state, which caused the dreaded icon race of '05.
12614
12615 2006-03-02  Robert Love  <rml@novell.com>
12616
12617         Commit Dan's update of my previous commit:
12618         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12619           set_mode() function itself does the check.  But do only set the
12620           frequency if in Ad-Hoc mode.
12621
12622 2006-03-02  Robert Love  <rml@novell.com>
12623
12624         Patch by Brian Magnuson <magnuson@rcn.com>:
12625         * src/nm-device-802-11-wireless.c: During scanning, only set the
12626           wireless mode to infrastructure if it is not currently in
12627           infrastructure mode.  For some driver, setting the mode is a costly
12628           operation, apparently.
12629
12630 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12631
12632         * Makefile.am: use the correct dir for autostart mechanism.
12633
12634 2006-02-28  Dan Williams  <dcbw@redhat.com>
12635
12636         Patch from Brian Magnuson <magnuson@rcn.com>
12637         * gnome/applet/applet.c
12638                 - (nma_show_vpn_failure_dialog): fix errors left over from
12639                         libnotify support changes
12640
12641 2006-02-28  Dan Williams  <dcbw@redhat.com>
12642
12643         * src/vpn-manager/nm-vpn-act-request.[ch]
12644                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12645                         just one value
12646                 - (nm_vpn_act_request_is_failed): new function; return whether or
12647                         not the vpn activation request has failed
12648
12649         * src/vpn-manager/nm-vpn-manager.c 
12650                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12651                         daemon to kill the connection when the activation request fails.
12652                         Fixes issue where NM would get confused if the VPN activation
12653                         request timed out, and would not allow further VPN connections
12654                         on that service.
12655
12656 2006-02-28  Dan Williams  <dcbw@redhat.com>
12657
12658         * gnome/applet/applet.c
12659                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12660                         overlapping connection requests, disable all VPN menu items
12661                         but the active VPN connection
12662
12663 2006-02-28  Dan Williams  <dcbw@redhat.com>
12664
12665         * src/vpn-manager/nm-vpn-connection.c
12666                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12667                         called g_object_unref() on the connection's parent device
12668                         when it should have been ref-ed instead.  Fixes crash with
12669                         repeated vpn connect requests
12670
12671 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12672
12673         * gnome/applet/applet.glade:
12674         Mark a few strings non-translatable, since they shouldn't be.
12675
12676 2006-02-28  Dan Williams  <dcbw@redhat.com>
12677
12678         * src/vpn-manager/nm-vpn-service.c
12679                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12680                         already running, don't blindly ask it to connect, but wait until
12681                         it's in the STOPPED state first.  Fixes an assertion when user
12682                         starts a second vpn connection without stopping the first.
12683                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12684                         dbus service exists before continuing with the connection
12685                         process, and reduce latency while waiting for it to become
12686                         available
12687                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12688                         waiting for the vpn service daemon to become available
12689                 - General log message cleanups; show progress via "Stage x of 4"
12690                         rather than not telling anyone how many stages there are
12691
12692 2006-02-28  Robert Love  <rml@novell.com>
12693
12694         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12695         * src/backends/NetworkManagerSuSE.c: Implement the interface
12696           nm_system_should_modify_resolv_conf() for SUSE.
12697         * src/backends/NetworkManagerDebian.c,
12698           src/backends/NetworkManagerGentoo.c,
12699           src/backends/NetworkManagerRedHat.c,
12700           src/backends/NetworkManagerSlackware.c: Add stub.
12701         * src/named-manager/Makefile.am: Grab includes from src.
12702         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12703           automatic updating of resolv.conf.  This is useful for testing,
12704           broken static configurations, and administrator lock-down.
12705
12706 2006-02-28  Dan Williams  <dcbw@redhat.com>
12707
12708         * src/nm-device-802-11-wireless.c
12709                 - Move all the wpa_supplicant-related management stuff into its
12710                         own struct, just for oranization's sake
12711                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12712                         to a GIOChannel/GSource
12713                 - (supplicant_log_stdout): new function; grab output from the
12714                         wpa_supplicant stdout pipe and write it to our logs.
12715
12716 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12717
12718         * src/nm-device-802-11-wireless.c:
12719         Err, fix thinko in my previous commit.
12720
12721 2006-02-28  Robert Love  <rml@novell.com>
12722
12723         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12724
12725 2006-02-28  Robert Love  <rml@novell.com>
12726
12727         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12728           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12729           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12730           deserializers are responsible for freeing the returned DBUS strings.
12731
12732 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12733
12734         * src/nm-device-802-11-wireless.c:
12735         The scan list is being pruned prematurely.  We should prune after
12736         the device has gone MIA for three scans, not one.  Split out the
12737         interval to realtime seconds function to better serve this.
12738
12739 2006-02-27  Robert Love  <rml@novell.com>
12740
12741         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12742           Open the pid file O_TRUNC, so if it already exists we truncate it to
12743           zero length.  Also, be more verbose about warnings generated during
12744           writing out the pid file.  Finally, always write out the pid file if
12745           in daemon mode.  Use "--pid-file" to override the default.
12746
12747 2006-02-27  Robert Love  <rml@novell.com>
12748
12749         Patch by R. Vinay <rvinay@novell.com>:
12750         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12751           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12752           Novell bug #153628).
12753           
12754 2006-02-27  Robert Love  <rml@novell.com>
12755
12756         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12757           entry so user can hit <ENTER> after entering passphrase (Novell bug
12758           #153738).
12759
12760 2006-02-27  Dan Williams  <dcbw@redhat.com>
12761
12762         * gnome/applet/*
12763                 - Mass search/replace of:
12764                         nmwa -> nma
12765                         NMWirelessApplet -> NMApplet
12766                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12767                    (it ain't just for wireless anymore, ma!)
12768                 - Fix duplicate function name printing when using nm_warning
12769                 - wireless-applet.glade -> applet.glade
12770
12771 2006-02-27  Dan Williams  <dcbw@redhat.com>
12772
12773         * dispatcher-daemon/NetworkManagerDispatcher.c
12774                 - Accept --pid-file with a path to a pidfile, write it out on
12775                         startup, and delete it on shutdown
12776
12777         * src/NetworkManager.c
12778                 - Accept --pid-file with a path to a pidfile, write it out on
12779                         startup, and delete it on shutdown
12780                 - Move nm_print_usage() lower
12781
12782         * initscripts/RedHat/NetworkManager.in
12783                 - Use new --pid-file option
12784                 - Fix service stopping to wait a bit for NM to quit
12785
12786         * initscripts/RedHat/NetworkManagerDispatcher.in
12787                 - Use new --pid-file option
12788
12789 2006-02-26  Dan Williams  <dcbw@redhat.com>
12790
12791         * src/Makefile.am
12792                 - make and install nm-crash-logger
12793
12794         * src/nm-logging.[ch]
12795                 - New files; consolidate logging and crash handling
12796
12797         * src/nm-crash-logger.c
12798           src/gdb-cmd
12799                 - Standalong crashlogger for NM, grab a backtrace
12800                         using GDB
12801
12802         * src/NetworkManager.[ch]
12803                 - Remove signal handling and put it into nm-logging.c
12804
12805 2006-02-26  Dan Williams  <dcbw@redhat.com>
12806
12807         * configure.in
12808           gnome/applet/Makefile.am
12809                 - Conditionalize all the notify stuff
12810
12811         Merge most of Chris Aillon's notification patch:
12812         
12813         * gnome/applet/applet-notifications.[ch]
12814                 - New files; show a notification
12815         
12816         * gnome/applet/applet-dbus-devices.[ch]
12817                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12818                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12819                         new functions, do the right thing when a device change occurs
12820
12821         * gnome/applet/applet-dbus.c
12822                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12823                         signals, so we can handle them specially
12824
12825         * gnome/applet/applet.[ch]
12826                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12827                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12828                 - (nmwa_notify_state): remove
12829                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12830                         notification work is now done when the appropriate dbus signals
12831                         are received.
12832                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12833                         defer execution of the notification/dialog stuff.  That was an
12834                         artifact of the previous multi-threaded nature of the applet
12835                         and is now pointless.
12836                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12837                         no longer needed.  Function folded into applet-notifications.c
12838
12839         * src/NetworkManagerPolicy.c
12840                 - (nm_policy_activation_finish): send the AP along with the device
12841                         status change signal, if the connection is wireless.  Should
12842                         fix the race where applet would show a connection to "unknown"
12843
12844 2006-02-25  Robert Love  <rml@novell.com>
12845
12846         Add WPA Enterprise support:
12847         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12848           nm-gconf-wso-wpa-eap.h.
12849         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12850           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12851           serialization and deserialization.
12852         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12853           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12854           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12855         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12856           settings related to WPA Enterprise.
12857         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12858           instantiate WPA Enterprise wireless-security-option.
12859         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12860           Implement WPA Enterprise wireless-security-option object.
12861         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12862           defines.  Cleanup.
12863         * libnm-util/cipher-wpa-psk-hex.c,
12864           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12865         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12866           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12867           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12868           including the cipher to DBUS method, and
12869           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12870           to output.
12871         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12872           nm-ap-security-wpa-eap.h
12873         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12874           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12875         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12876           files.  Implement NMAPSecurityWPA_EAP object.
12877         * src/nm-ap-security-wpa-psk.c: Cleanup.
12878         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12879           an NMAPSecurityWPA_EAP object via the method
12880           nm_ap_security_wpa_eap_new_deserialize().
12881         * src/nm-dbus-nm.c: Cleanup.
12882         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12883           WPA Enterprise support.
12884
12885 2006-02-24  Robert Love  <rml@novell.com>
12886
12887         Patch from Timo Hoenig <thoenig@suse.de>:
12888         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12889
12890 2006-02-24  Robert Love  <rml@novell.com>
12891
12892         Patch from Dan Winship <danw@novell.com>:
12893         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12894           area to transparent.
12895
12896 2006-02-21  Dan Williams  <dcbw@redhat.com>
12897
12898         * gnome/applet/applet.[ch]
12899           gnome/applet/applet-dbus.c
12900                 - Implement notification support for VPN messages too
12901
12902 2006-02-21  Dan Williams  <dcbw@redhat.com>
12903
12904         * gnome/applet/applet-dbus-info.c
12905                 - Clean up warning messages to not double-print the function
12906
12907 2006-02-21  Dan Williams  <dcbw@redhat.com>
12908
12909         * gnome/applet/applet-compat.c
12910                 - (convert_one_entry): accept entries without a key_type and
12911                         convert them to unencrypted networks
12912
12913 2006-02-21  Dan Williams  <dcbw@redhat.com>
12914
12915         * gnome/libnm_glib/libnm_glib.c
12916                 - Use __func__ everywhere we can
12917                 - Code cleanups
12918                 - Use dbus pending calls rather than blocking
12919                 - Reduce busywaits for our thread to start and stop
12920                         (gnome.org #330562)
12921                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12922                         stomp on others using the default shared dbus connection.
12923                         Fixes #rh177546# and gnome.org #326572
12924
12925 2006-02-21  Dan Williams  <dcbw@redhat.com>
12926
12927         Patch from Rodney Dawes <dobey@novell.com>
12928         * configure.in
12929           gnome/applet/Makefile.am
12930           gnome/applet/applet.c
12931                 - Add libnotify support if '--enable-notify=yes' is passed
12932                   at configure time
12933
12934 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12935
12936         * configure.in (ALL_LINGUAS): ko added. (Korean)
12937
12938 2006-02-15  Robert Love  <rml@novell.com>
12939
12940         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12941           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12942           and WPA_SUPPLICANT_CONTROL_SOCKET.
12943         
12944 2006-02-15  Robert Love  <rml@novell.com>
12945
12946         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12947           information about what connection stage we are at, provide the total
12948           number of stages, e.g. "Stage 2 of 5", so users know how far along
12949           they are if they experience problems.
12950
12951 2006-02-15  Robert Love  <rml@novell.com>
12952
12953         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12954           define to $sysconfdir.
12955         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12956           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12957           type of VPN and then editing another results in a mangled dialog
12958           box containing the widgets from both VPNs (fixes Novell #150854).
12959           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12960
12961 2006-02-14  Robert Love  <rml@novell.com>
12962
12963         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12964           syslog's file descriptor.
12965
12966 2006-02-14  Robert Love  <rml@novell.com>
12967
12968         Fix bug around since the change to "deal with APs changing settings on
12969         us," checked in on the fifth of February in the year of the dog, 
12970         wherein connecting to non-broadcast encrypted networks always fails
12971         because nm_ap_get_encrypted() always returns FALSE, even when the user
12972         provided a key, because the newly-created fake AP does not have any
12973         capabilities set, which is a sypmtom of security settings not matching
12974         capabilities (Novell bug #150784):
12975         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12976           nm_ap_add_capabilities_from_security(), which sets the given AP's
12977           capabilities off the given security settings.  Also improve our
12978           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12979           NM_AUTH_CIPHER_AUTO.
12980         * src/nm-device-802-11-wireless.c: Call the function
12981           nm_ap_add_capabilities_from_security() to ensure that capabilities
12982           match newly updated security settings.
12983
12984 2006-02-14  Robert Love  <rml@novell.com>
12985
12986         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12987           error as a string, not an integer, if possible; do not print the
12988           function name twice; always give the interface, if possible; misc.
12989           cleanup.
12990
12991 2006-02-12  Dan Williams  <dcbw@redhat.com>
12992
12993         Patch from Tom Parker <palfrey@tevp.net>
12994         * src/NetworkManagerSystem.h
12995                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12996                         no longer used
12997
12998         * src/backends/NetworkManagerDebian.c
12999                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13000                         unused variables
13001
13002 2006-02-12  Dan Williams  <dcbw@redhat.com>
13003
13004         * vpn-daemons/openvpn/intltool-extract.in
13005           vpn-daemons/openvpn/intltool-merge.in
13006           vpn-daemons/openvpn/intltool-update.in
13007           vpn-daemons/pptp/intltool-extract.in
13008           vpn-daemons/pptp/intltool-merge.in
13009           vpn-daemons/pptp/intltool-update.in
13010                 - Remove from CVS, they should get created by intltoolize,
13011                         shouldn't they?
13012
13013 2006-02-12  Dan Williams  <dcbw@redhat.com>
13014
13015         * vpn-daemons/pptp/src/pppd/patchlevel.h
13016         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13017                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13018                         Makefile-defined VERSION
13019
13020 2006-02-09  Dan Williams  <dcbw@redhat.com>
13021
13022         Patch from: Vinay A R <rvinay@novell.com>
13023         * src/vpn-manager/nm-vpn-act-request.[ch]
13024                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13025                         IPSec VPNs require them for std gateway.
13026                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13027                         and 'user_routes_count'
13028                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13029                         defined routes  from NMVPNActRequest object, returns the string
13030                         array of routes.
13031
13032         * src/vpn-manager/nm-vpn-manager.[ch]
13033                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13034                         for 'user_routes' and 'user_routes_count'
13035         
13036         * src/vpn-manager/nm-dbus-vpn.c
13037                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13038                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13039         
13040         * src/vpn-manager/nm-vpn-service.c
13041                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13042                         the vpn daemon
13043
13044         Modifications by Dan:
13045         * src/vpn-manager/nm-vpn-service.c
13046                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13047                         arrays into dbus
13048
13049         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13050         * vpn-daemons/pptp/src/nm-pptp-service.c
13051         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13052                 - Grab user routes from dbus message
13053                 - Free all string arrays we got from dbus
13054
13055 2006-02-07  Robert Love  <rml@novell.com>
13056
13057         Patch by Stefan Seyfried <seife@suse.de>:
13058         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13059
13060 2006-02-06  Robert Love  <rml@novell.com>
13061
13062         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13063
13064 2006-02-06  Robert Love  <rml@novell.com>
13065
13066         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13067           test ">=" is never false.  If no newline is found, we loop forever.
13068           We can just check for ">" because the following if() will see the
13069           zero-th argument if the while() gets that far.
13070
13071 2006-02-05  Dan Williams  <dcbw@redhat.com>
13072
13073         Refine handling of non-broadcast networks.
13074
13075         * src/NetworkManagerAPList.c
13076                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13077                         property from scanned AP to the AP from the device list
13078
13079         * src/nm-device-802-11-wireless.c
13080                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13081                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13082                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13083                         networks since those don't have APs.
13084                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13085                         AP as non-SSID-broadcasting
13086                 - (process_scan_results): don't handle non-SSID-broadcasting here
13087
13088 2006-02-05  Dan Williams  <dcbw@redhat.com>
13089
13090         * src/nm-device-802-11-wireless.c
13091                 - (get_supplicant_timeout): new function; return
13092                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13093                         14 channels.  These are likely a/b/g cards, like Atheros, and
13094                         slow as hell to scan.
13095                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13096                         get_supplicant_timeout()
13097
13098 2006-02-05  Dan Williams  <dcbw@redhat.com>
13099
13100         * src/dhcp-manager/nm-dhcp-manager.c
13101                 - Loose a commit race with Robert; make sure size check
13102                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13103
13104 2006-02-05  Robert Love  <rml@novell.com>
13105
13106         Patch by Christoph Brill <chrisbrill@gmx.net>:
13107         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13108           with DHCP_SERVICE_NAME.
13109
13110 2006-02-05  Dan Williams  <dcbw@redhat.com>
13111
13112         Remove anything having to do with device_setup_func from the
13113         AP security objects, since it's no longer used.
13114
13115         * src/nm-ap-security.h
13116                 - Kill device_setup_func and nm_ap_security_device_setup()
13117
13118         * src/nm-ap-security-wep.c
13119           src/nm-ap-security-wpa-psk.c
13120                 - (real_device_setup): remove
13121
13122         * src/nm-ap-security.c
13123                 - (real_device_setup): remove
13124                 - (nm_ap_security_device_setup): remove
13125
13126         * src/nm-device-802-11-wireless.[ch]
13127                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13128                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13129                         and done by wpa_supplicant now anyway
13130
13131 2006-02-05  Dan Williams  <dcbw@redhat.com>
13132
13133         * src/nm-device-802-11-wireless.c
13134                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13135                         settings on us.  Previously NM would loop asking for the
13136                         key but getting the same one back.  Now, if the NMI-supplied
13137                         cipher doesn't overlap with the scanned AP capabilities,
13138                         we request a completely new key from the user.
13139
13140 2006-02-05  Dan Williams  <dcbw@redhat.com>
13141
13142         * src/NetworkManagerUtils.c
13143                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13144                         Handle newline killing better
13145
13146 2006-02-05  Dan Williams  <dcbw@redhat.com>
13147
13148         * gnome/applet/nm-gconf-wso.c
13149                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13150                         of unencrypted access point security info.
13151
13152 2006-02-03  Robert Love  <rml@novell.com>
13153
13154         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13155           user's encryption key, so we print the err_msg_cmd not the command,
13156           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13157           sense.
13158
13159 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13160
13161         * initscript/RedHat/NetworkManagerDispatcher.in:
13162         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13163         Patch from Dan Walsh <dwalsh@redhat.com>
13164
13165 2006-02-03  Robert Love  <rml@novell.com>
13166
13167         * dispatcher-daemon/NetworkManagerDispatcher.c,
13168           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13169           but use the sysconfdir.
13170
13171 2006-02-03  Robert Love  <rml@novell.com>
13172
13173         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13174           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13175           'char *'.
13176         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13177           nm_ip4_config_get_hostname() and
13178           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13179         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13180           leak g_strdup() result.
13181
13182 2006-02-03  Robert Love  <rml@novell.com>
13183
13184         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13185           broadcast == TRUE.  Also, copy broadcast and artificial properties
13186           from source network to destination in nm_ap_copy().
13187         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13188           since we now default new networks to non-hidden.
13189
13190 2006-02-03  Dan Williams  <dcbw@redhat.com>
13191
13192         * gnome/applet/main.c
13193                 - (main): change the NEVER->ALWAYS so we start at the
13194                         beginning of the session, if being session-managed
13195
13196 2006-02-03  Dan Williams  <dcbw@redhat.com>
13197
13198         * gnome/applet/main.c
13199                 - (main): in a variation on Robert's patch, change
13200                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13201                         he wants.
13202
13203 2006-02-02  Robert Love  <rml@novell.com>
13204
13205         * src/Makefile.am: If we aren't going to create the run directory at,
13206           uh, run-time, create it during install.  Then users just doing
13207           'make install' are cool, too.  While we are here, create the
13208           dispatcher.d directory, too.
13209         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13210           the exact run directory.
13211         * Makefile.am: Install nm-applet.desktop.
13212
13213 2006-02-02  Robert Love  <rml@novell.com>
13214
13215         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13216           structure, which denotes whether or not the AP is hidden.  This is a
13217           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13218           can show up in the scan list.  Add nm_ap_get_broadcast() and
13219           nm_ap_set_broadcast() accessor interfaces.
13220         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13221           nm_ap_set_broadcast().
13222         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13223           "getProperties" method, which denotes whether or not the given
13224           network is hidden.
13225         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13226           an artificial network.  Set broadcast to TRUE when scanning returns
13227           an ESSID and FALSE when not.
13228         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13229           from "getProperties" method on a network.  Possible TODO is to
13230           somehow display this.
13231         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13232
13233 2006-02-02  Dan Williams  <dcbw@redhat.com>
13234
13235         * src/nm-device-802-11-wireless.c
13236                 - (supplicant_interface_init): don't try to create
13237                         /var/run/NetworkManager, since that should be done by
13238                         the distro package.  Causes problems for stuff like SELinux
13239
13240 2006-02-02  Robert Love  <rml@novell.com>
13241
13242         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13243         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13244           Check for and handle empty string for iface.
13245
13246 2006-02-01  Robert Love  <rml@novell.com>
13247
13248         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13249           manpage.
13250
13251 2006-01-31  Dan Williams  <dcbw@redhat.com>
13252
13253         * nm-applet.desktop
13254                 - Add --sm-disable to Exec arguments, presuming that when
13255                         using autostart, we don't want session management
13256
13257 2006-01-31  Robert Love  <rml@novell.com>
13258
13259         * src/NetworkManagerAP.c: Add two new manufacturer default network
13260           names: linksys-a and linksys-g.  These are found (at least) on the
13261           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13262           own ESSID.
13263
13264 2006-01-31  Robert Love  <rml@novell.com>
13265
13266         * src/NetworkManagerAP.c: Optimize the function
13267           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13268           machine code.  This is the first in a series of code tweaks aiming to
13269           generate better machine code and make NetworkManager all the better.
13270           Just kidding.  Who has time to go through the assembly generated for
13271           every function?  I certainly don't.  I have a wife, a kid, a job,
13272           a mortgage, a mistress.  But this function was so bad, I was called
13273           to arms.  Like the book.
13274
13275 2006-01-31  Robert Love  <rml@novell.com>
13276
13277         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13278           AP is not broadcasting, to scan with probe request frames.  Required
13279           for non-broadcast networks.
13280
13281 2006-01-31  Robert Love  <rml@novell.com>
13282
13283         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13284           preprocessor define (still 20s).  Fix message text in nm_info()
13285           s/too too/took too/.
13286
13287 2006-01-30  Dan Williams  <dcbw@redhat.com>
13288
13289         * src/nm-device-802-11-wireless.c
13290                 - (supplicant_monitor_start): increase connect/auth timeout to
13291                         20 seconds from 10 seconds
13292
13293 2006-01-30  Dan Williams  <dcbw@redhat.com>
13294
13295         * src/Makefile.am
13296                 - Define LOCALSTATEDIR
13297
13298         * src/nm-device-802-11-wireless.c
13299                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13300                         socket where we want it to
13301
13302         * src/wpa_ctrl.[ch]
13303                 - (wpa_ctrl_open): accept location to put local control socket
13304
13305 2006-01-30  Robert Love  <rml@novell.com>
13306
13307         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13308           get_ip4_string() for "domain_name".
13309
13310 2006-01-30  Robert Love  <rml@novell.com>
13311
13312         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13313           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13314           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13315           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13316           support for "Automatic" pairwise and group cipher configuration by
13317           letting wpa_supplicant handle the details.  Add UI elements, new
13318           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13319           charm.  Note this does more than add a nice feature, it fixes a bug.
13320           Apparently, some people have AP's where the pairwise cipher does not
13321           match the group cipher.  Insane, but true.
13322
13323 2006-01-30  Dan Williams  <dcbw@redhat.com>
13324
13325         * gnome/applet/applet-dbus-devices.c
13326                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13327                         functions, grab device driver name from NetworkManager
13328                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13329
13330         * gnome/applet/applet.c
13331                 - (nmwa_update_info): show driver name in Connection Information
13332                         dialog
13333
13334         * gnome/applet/nm-device.[ch]
13335                 - (network_device_get_driver, network_device_set_driver): add
13336                         accessors for driver name
13337
13338         * gnome/applet/wireless-applet.glade
13339                 - Add line for driver name to Connection Information dialog
13340
13341         * src/nm-dbus-device.c
13342                 - (nm_dbus_device_get_driver): new function to return driver name
13343                 - (nm_dbus_device_methods): hook up driver name function to dbus
13344
13345         * test/nm-tool.c
13346                 - (get_driver_name): new function
13347                 - (detail_device): grab and show driver name
13348
13349 2006-01-30  Robert Love  <rml@novell.com>
13350
13351         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13352           does not parse the markup if it is not part of the format.
13353
13354 2006-01-30  Robert Love  <rml@novell.com>
13355
13356         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13357           FALSE, we have no security options for this dialog, so we throw up
13358           an error dialog instead of a broken passphrase dialog.  Fixes
13359           Novell #138404.
13360         * gnome/applet/wireless-security-manager.c,
13361           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13362           does not add any security options, not even NONE, print a warning
13363           and return FALSE.  This let's functions constructing a dialog bail
13364           out if the device's capabilities and the network's requirements have
13365           zero overlap.
13366
13367 2006-01-27  Robert Love  <rml@novell.com>
13368
13369         * configure.in: Require wpa_supplicant.  Detect location of binary and
13370           use it.  Override with "--with-wpa_supplicant=foo".
13371         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13372           path to wpa_supplicant but use the auto-detected or user-provided
13373           value from configure.
13374
13375 2006-01-27  Robert Love  <rml@novell.com>
13376
13377         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13378           but the DHCP server did not return a hostname, try to look up our
13379           name via DNS and set the system hostname to that.
13380
13381 2006-01-27  Dan Williams  <dcbw@redhat.com>
13382
13383         * src/backends/NetworkManagerRedHat.c
13384                 - Add NM_CONTROLLED system network script support for RH/Fedora
13385
13386 2006-01-27  Dan Williams  <dcbw@redhat.com>
13387
13388         * src/backends/NetworkManagerGentoo.c
13389                 - (nm_system_device_get_disabled): add missing function.
13390                         Gnome BZ #328780
13391
13392 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13393
13394         * configure.in: Added vi in ALL_LINGUAS line.
13395         
13396 2006-01-26  Robert Love  <rml@novell.com>
13397
13398         * src/Makefile.am, src/kernel-types.h: Now that two different source
13399           files are feeling the crack-addled leakage of kernel types such as
13400           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13401           types in user-space -- define a header and include it as needed.
13402         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13403         * src/nm-device-802-3-ethernet.h: Remove defines.
13404         * src/wpa.c: Remove defines and include kernel-types.h.
13405
13406 2006-01-26  Robert Love  <rml@novell.com>
13407
13408         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13409           work.
13410
13411 2006-01-26  Robert Love  <rml@novell.com>
13412
13413         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13414         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13415           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13416           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13417           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13418           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13419           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13420           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13421           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13422           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13423           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13424           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13425           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13426           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13427           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13428           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13429           Kill unused variables, labels, and static functions.  Don't pass
13430           string literals as the format string for printf-like functions.
13431
13432 2006-01-25  Dan Williams  <dcbw@redhat.com>
13433
13434         * gnome/applet/wireless-applet.glade
13435                 - Remove WPA2 Checkbox
13436
13437         * gnome/applet/wireless-security-manager.c
13438                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13439                         This means the Wireless Security menu now has two WPA options,
13440                         one for "WPA Personal" and one for "WPA2 Personal"
13441
13442         * gnome/applet/wso-wpa-psk.[ch]
13443                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13444                         'wpa2' argument to determine WPA version to use
13445                 - (append_dbus_params_func): pass stored WPA version to cipher
13446                         rather than using the (removed) checkbox
13447
13448 2006-01-24  Robert Love  <rml@novell.com>
13449
13450         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13451           before we g_strdup(), not the ultimate string.
13452
13453 2006-01-23  Dan Williams  <dcbw@redhat.com>
13454
13455         * src/NetworkManagerAP.[ch]
13456                 - (nm_ap_new_from_ap): copy original essid too
13457                 - (nm_ap_unref): free original essid
13458                 - (nm_ap_get_orig_essid): new function
13459                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13460                         but keep original essid around too
13461
13462         * src/nm-device-802-11-wireless.c
13463                 - (supplicant_send_network_config): send wpa_supplicant the
13464                         _original_ essid, and not as a string, but in hex.  Should
13465                         allow us to connect to more APs that use wierd character
13466                         encodings for their essids
13467
13468         * utils/nm-utils.[ch]
13469                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13470                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13471                         use the current locale as a hint for what encoding the essid
13472                         might be in.  Obviously not 100% accurate, but the idea here is
13473                         that if a user's locale is ex. ja_JP, they are more likely than
13474                         not to be in Japan, where access points will likely be in some
13475                         Japanese encoding.
13476
13477 2006-01-23  Dan Williams  <dcbw@redhat.com>
13478
13479         * libnm-util/cipher-private.h
13480           libnm-util/cipher.c
13481           libnm-util/cipher.h
13482                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13483
13484 2006-01-23  Robert Love  <rml@novell.com>
13485
13486         Patch by Timo Hoenig <thoenig@suse.de>:
13487         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13488           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13489           by DHCP and pass it to the backends, allowing distribution-specific
13490           behavior with respect to the DHCP-supplied hostname (if nothing else,
13491           some distributions might not want to set the hostname).
13492         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13493           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13494           Also update our NIS behavior.
13495         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13496           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13497           Add stub functions.
13498
13499 2006-01-23  Robert Love  <rml@novell.com>
13500
13501         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13502           gnome-session does autostart.  TODO: We need to install this to
13503           $prefix/share/autostart/.
13504
13505 2006-01-22  Dan Williams  <dcbw@redhat.com>
13506
13507         * src/NetworkManagerAP.[ch]
13508           src/nm-dbus-nmi.c
13509           src/nm-device-802-11-wireless.c         
13510                 - Make nm_ap_get_essid return "const char *"
13511
13512 2006-01-22  Dan Williams  <dcbw@redhat.com>
13513
13514         * src/NetworkManagerAP.[ch]
13515                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13516
13517         * src/NetworkManagerAPList.[ch]
13518                 - (nm_ap_list_diff): removed
13519                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13520                         deal with access points changing essids on us
13521
13522         * src/nm-device-802-11-wireless.c
13523                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13524                         src/NetworkManagerAPList.c
13525                 - (real_can_interrupt_activation): new function; allow interruption
13526                         of device activation if we are waiting for a network key
13527
13528         * src/NetworkManagerPolicy.c
13529                 - (nm_policy_device_change_check): allow interruption of currently
13530                         activating devices if the device allows it.  Previous behavior
13531                         would refuse to activate a just-plugged wired device if a
13532                         wireless device was waiting for a key.
13533
13534         * src/nm-device.[ch]
13535                 - (nm_device_can_interrupt_activation): new function; ask devices
13536                         whether their activation can be interrupted
13537
13538 2006-01-20  Robert Love  <rml@novell.com>
13539
13540         * Makefile.am, configure.in: Add new man subdirectory.
13541         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13542           man/Makefile.am: Add man pages for NetworkManager and its
13543           crime-solving bumbling buddy, NetworkManagerDispatcher.
13544         * man/.cvsignore: Add.
13545         * initscript/Debian/NetworkManager,
13546           initscript/Gentoo/NetworkManager.in,
13547           initscript/RedHat/NetworkManager.in,
13548           initscript/RedHat/NetworkManagerDispatcher.in,
13549           initscript/SUSE/networkmanager-dispatcher.in,
13550           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13551
13552 2006-01-20  Robert Love  <rml@novell.com>
13553
13554         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13555           instead of queuing.  This prevents the running of multiple NM
13556           daemons concurrently, which does not work whatsoever and results in
13557           neither daemon working correctly.  Also, we don't handle queuing and
13558           name-owner-changes, anyhow.
13559
13560 2006-01-20  Robert Love  <rml@novell.com>
13561
13562         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13563         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13564           to sbin, not bin.
13565
13566 2006-01-19  Robert Love  <rml@novell.com>
13567
13568         * configure.in: Require hal 0.5.0 or later.
13569
13570 2006-01-18  Robert Love  <rml@novell.com>
13571
13572         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13573           Allow backends to flag a device (in whatever distro-dependent way
13574           they so desire) as disabled.  NM will ignore any such device.
13575         * src/backends/NetworkManagerDebian.c,
13576           src/backends/NetworkManagerRedHat.c,
13577           src/backends/NetworkManagerSlackware.c: Add stub function
13578           nm_system_device_get_disabled() that always returns FALSE (enabled).
13579         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13580           SUSE-specific configuration structure.  Fill it in from the
13581           NM_CONTROLLED variable in the system networking scripts.  If this var
13582           exists and is "no", we ignore the device.
13583
13584 2006-01-17  Robert Love  <rml@novell.com>
13585
13586         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13587           identical for NM.  For a full discussion, see the thread at
13588           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13589
13590 2006-01-17  Dan Williams  <dcbw@redhat.com>
13591
13592         * src/nm-device.c
13593                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13594                         function.  Fixes crash when wired DHCP fails.
13595
13596 2006-01-16  Robert Love  <rml@novell.com>
13597
13598         * src/Makefile.am: Don't install NMLoadModules
13599         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13600           from src/ to test/ as no one uses it anymore.  Note that I would be
13601           fine with removing it altogether.
13602
13603 2006-01-16  Robert Love  <rml@novell.com>
13604
13605         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13606           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13607           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13608           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13609           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13610           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13611           declarations, ever.
13612         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13613           NM_STATE_DISCONNECTED is zero).
13614
13615 2006-01-16  Robert Love  <rml@novell.com>
13616
13617         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13618           uninitialized parameter and buffer overflow.  Novell #143496.
13619
13620 2006-01-16  Dan Williams  <dcbw@redhat.com>
13621
13622         Apply the PtP Address bits of a patch from Tim Niemueller
13623
13624         * src/nm-ip4-config.[ch]
13625                 - Add ip4_ptp_address member to object
13626                 - (nm_ip4_config_copy): copy ptp address too
13627                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13628                         new functions
13629                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13630                         rather than local tunnel ip address
13631
13632         * src/vpn-manager/nm-vpn-service.c
13633                 - (print_vpn_config): update for PtP address
13634                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13635                         DBusMessageIters in preparation for getting routes from the VPN
13636                         service daemons too
13637
13638         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13639                 - (send_config_info): update for PtP address, clean up code
13640                 - (main): update for PtP address, clean up code, fix typo
13641
13642         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13643                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13644
13645         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13646                 - (pptp_ip_up): update for PtP address
13647
13648         * vpn-daemons/pptp/src/nm-pptp-service.c
13649                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13650
13651         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13652                 - (print_vpn_config): update for PtP address
13653                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13654
13655 2006-01-16  Dan Williams  <dcbw@redhat.com>
13656
13657         * gnome/applet/applet.c
13658                 - (nmwa_add_networks_helper): don't indicate an active network
13659                         if NM is disconnected or asleep
13660
13661 2006-01-16  Dan Williams  <dcbw@redhat.com>
13662
13663         * src/NetworkManagerPolicy.c
13664                 - (nm_policy_device_change_check): switch devices if we lose the link
13665                         on an ethernet device. 
13666
13667 2006-01-16  Dan Williams  <dcbw@redhat.com>
13668
13669         * gnome/applet/wso-wpa-psk-hex.[ch]
13670                 - Renamed -> wso-wpa-psk.[ch]
13671
13672         * gnome/applet/wso-wpa-psk.[ch]
13673                 - New files
13674
13675         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13676                 - Removed, rolled into wso-wpa-psk.[ch]
13677
13678         * gnome/applet/Makefile.am
13679                 - Updated for above changes
13680
13681         * gnome/applet/wireless-applet.glade
13682                 - Consolidate WPA-PSK options into one notebook
13683                         widget, and make dialogs invisible by default
13684                         to fix screen oddities
13685
13686         * gnome/applet/wireless-security-manager.c
13687                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13688                         than both the old hex & passphrase ones
13689
13690 2006-01-16  Dan Williams  <dcbw@redhat.com>
13691
13692         * gnome/applet/other-network-dialog.c
13693                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13694
13695 2006-01-16  Dan Williams  <dcbw@redhat.com>
13696
13697         * gnome/applet/applet.c
13698                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13699                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13700                         prevention to realize window before trying to get server
13701                         time
13702
13703         * gnome/applet/other-network-dialog.c
13704                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13705                         prevention to realize window before trying to get server
13706                         time
13707
13708         * gnome/applet/passphrase-dialog.c
13709                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13710                         prevention to realize window before trying to get server
13711                         time
13712
13713 2006-01-16  Robert Love  <rml@novell.com>
13714
13715         Patch from Timo Hoenig  <thoenig@suse.de:
13716         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13717           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13718           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13719           libnm-util/dbus-helpers.h: add checks whether headers are used
13720           within a C++ build.
13721
13722 2006-01-16  Dan Williams  <dcbw@redhat.com>
13723
13724         * gnome/applet/wireless-security-option.c
13725                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13726
13727 2006-01-16  Dan Williams  <dcbw@redhat.com>
13728
13729         * libnm-util/cipher-wpa-psk-passphrase.c
13730                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13731                         be 8 - 63 characters inclusive
13732
13733 2006-01-16  Dan Williams  <dcbw@redhat.com>
13734
13735         * src/nm-dbus-nm.c
13736                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13737
13738 2006-01-13  Robert Love  <rml@novell.com>
13739
13740         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13741         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13742           modules that do not use an interface.
13743
13744 2006-01-13  Dan Williams  <dcbw@redhat.com>
13745
13746         * src/nm-device.c
13747           src/nm-device.h
13748                 - Allow subclasses to implement deactivate_quickly()
13749                 - (nm_device_deactivate_quickly): call subclass
13750                         deactivate_quickly() methods
13751                 - (nm_device_set_active_link): small cleanups, and don't
13752                         deactivate the device right away because we risk a deadlock
13753                         when called from device thread, waiting for the device
13754                         thread to cancel activation
13755
13756         * src/nm-device-802-11-wireless.c
13757                 - (real_deactivate_quickly): new function
13758                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13759                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13760                         so that we kill the supplicant when we sleep too
13761                 - (supplicant_interface_init): work around naive naming attempts of
13762                         wpa_ctrl when naming sockets
13763
13764 2006-01-13  Dan Williams  <dcbw@redhat.com>
13765
13766         * src/nm-device-802-11-wireless.c
13767                 - (supplicant_cleanup): delete old device control sockets too
13768                 - (supplicant_get_device_socket_path): new function to consolidate
13769                         locations that need a path to a device's control socket
13770
13771 2006-01-12  Robert Love  <rml@novell.com>
13772
13773         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13774           description so that the description is unique for each
13775           pair (device,provider).  Fixes Novell #142773.
13776
13777 2006-01-12  Dan Williams  <dcbw@redhat.com>
13778
13779         * src/nm-device-802-11-wireless.c
13780                 - (supplicant_exec): ensure GError is correctly initialized
13781                         Reported by Diego González (gnome.org #326708)
13782
13783 2006-01-11  Robert Love  <rml@novell.com>
13784
13785         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13786           define if_mii(), open code the same results, and do so without any
13787           type punning.
13788
13789 2006-01-11  Robert Love  <rml@novell.com>
13790
13791         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13792           that wso_foo_new() returned non-NULL.  Instead, only append the new
13793           wso to wsm->options if the wso is non-NULL.  The crux is that we
13794           assume that the relevant key types are implied by WEP and WPA as
13795           appropriate.  To be sure, they should be, but we should not expect
13796           drivers to not be oozing piles of wolf fecal matter.
13797
13798 2006-01-11  Robert Love  <rml@novell.com>
13799
13800         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13801         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13802           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13803           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13804           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13805           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13806           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13807         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13808           comparing values within DBL_EPSILON.  Also fix shadowed variable
13809           usage.
13810
13811 2006-01-11  Dan Williams  <dcbw@redhat.com>
13812
13813         Add options for WPA2 and WPA1+CCMP (AES).
13814
13815         * gnome/applet/wireless-applet.glade
13816                 - Add UI bits for WPA+CCMP
13817
13818         * gnome/applet/other-network-dialog.c
13819                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13820                         and don't allow creation of WPA2 Ad-Hoc networks since
13821                         wpa_supplicant doesn't support them
13822
13823         * gnome/applet/wireless-security-manager.c
13824                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13825                         on to the specific wireless security option being created
13826
13827         * gnome/applet/wireless-security-option.[ch]
13828                 - (wso_wpa_create_key_type_model): new utility function to create
13829                         the model required for WPA Key Type combo box
13830
13831         * gnome/applet/wso-private.h
13832           gnome/applet/wireless-security-option.h
13833                 - Move private function prototypes into wso-private.h
13834
13835         * gnome/applet/wso-wpa-psk-hex.[ch]
13836           gnome/applet/wso-wpa-psk-passphrase.[ch]
13837                 - (append_dbus_params_func): get WPA version from checkbox and pass
13838                         it to the dbus serialization helper
13839                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13840                         key type combo changes
13841                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13842                         model and options
13843
13844         * libnm-util/cipher-wpa-psk-hex.c
13845           libnm-util/cipher-wpa-psk-passphrase.c
13846                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13847                         new function; allow the cipher to be changed after object creation
13848
13849         * src/nm-ap-security-wpa-psk.c
13850                 - (set_description): Do WPA2 descriptions too
13851
13852         * src/nm-ap-security.c
13853                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13854
13855 2006-01-11  Robert Love  <rml@novell.com>
13856
13857         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13858           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13859           from the ifreq structure in lieu of an open coded solution.  Removes
13860           a life-threatening type-punning.
13861         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13862           types, ever, whatsoever, baby.
13863
13864 2006-01-11  Robert Love  <rml@novell.com>
13865
13866         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13867           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13868           assignments to applet->nm_state into a new nmwa_set_state() function
13869           for both cleanliness and to help debugging.
13870
13871 2006-01-10  Robert Love  <rml@novell.com>
13872
13873         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13874           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13875           seconds, exclusive.  That is, we want to sleep x seconds such that
13876           1 < x < 2.
13877
13878 2006-01-10  Robert Love  <rml@novell.com>
13879
13880         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13881           the attr fields according to the example in the email available at
13882           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13883           Conversely, we do have to free 'name', so we do so, fixing a leak.
13884
13885 2006-01-10  Robert Love  <rml@novell.com>
13886
13887         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13888           sure that we close the socket!
13889
13890 2006-01-10  Robert Love  <rml@novell.com>
13891
13892         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13893           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13894           src/nm-device.c: Fix a FIXME!  Reimplement the function
13895           nm_device_update_hw_address() in device subclass variants,
13896           nm_device_802_3_ethernet_set_address() and
13897           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13898           This fixes the existing bug where MAC addresses are all zeros.
13899
13900 2006-01-10  Robert Love  <rml@novell.com>
13901
13902         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13903           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13904           option to give users ability to globally disconnect and put NM to
13905           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13906           clean disconnect.
13907
13908 2006-01-09  Robert Love  <rml@novell.com>
13909
13910         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13911           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13912           User-space does not supply these types, so we have to define them
13913           ourselves.  The relevant kernel maintainer refused to accept a patch
13914           switching these headers to the proper C99 types.
13915
13916 2006-01-09  Dan Williams  <dcbw@redhat.com>
13917
13918         Apply Robert's 'tray icon redo' patch with fixes
13919         * gnome/applet/applet.c
13920           gnome/applet/applet.h
13921                 - Instead of using a menu bar + menu item, simulate menu
13922                         behavior using a popup menu.  Highlight the area around
13923                         the icon more like a menu too, by playing with the
13924                         applet's size requisition
13925
13926 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13927         * libnm-util/dbus-helpers.c
13928           libnm-util/dbus-helpers.h
13929                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13930                         to 'exception_namespace' (:namespace is a keyword in
13931                         C++)
13932
13933 2006-01-09  Dan Williams  <dcbw@redhat.com>
13934
13935         * src/NetworkManagerPolicy.c
13936                 - (nm_policy_device_change_check): don't autoswitch away from
13937                         Ad-Hoc networks, since there's really no concept of
13938                         "link"
13939
13940         * src/nm-dbus-nm.c
13941                 - (nm_dbus_nm_create_wireless_network): mark created networks
13942                         as Ad-Hoc networks
13943
13944         * src/nm-device-802-11-wireless.c
13945                 - (real_activation_success_handler): add user-created Ad-Hoc
13946                         networks to the device's scan list
13947
13948 2006-01-08  Dan Williams  <dcbw@redhat.com>
13949
13950         We now require a patch for wpa_supplicant to support Ad-Hoc
13951         networks:
13952           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13953
13954         * src/nm-device-802-11-wireless.c
13955                 - (supplicant_send_network_config): turn off wpa_supplicant's
13956                         scanning.  Fixes Ad-Hoc networks.
13957
13958 2006-01-08  Dan Williams  <dcbw@redhat.com>
13959
13960         * src/nm-ap-security.c
13961           src/nm-ap-security.h
13962                 - Add a user_created argument to the write_supplicant_config
13963                         functions
13964
13965         * src/nm-ap-security-wep.c
13966           src/nm-ap-security-wpa-psk.c
13967           src/nm-device-802-11-wireless.c
13968                 - Make Ad-Hoc mode somewhat work, at least write the
13969                         correct options to wpa_supplicant
13970
13971 2006-01-08  Dan Williams  <dcbw@redhat.com>
13972
13973         * src/nm-device-802-11-wireless.c
13974                 - Remove unused code from the old device activation path
13975
13976 2006-01-08  Dan Williams  <dcbw@redhat.com>
13977
13978         * libnm-util/dbus-helpers.c
13979                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13980                         dbus when key == NULL
13981
13982 2006-01-08  Dan Williams  <dcbw@redhat.com>
13983
13984         * gnome/applet/nm-gconf-wso-wpa-psk.c
13985                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13986                         correct arguments to nmu_security_deserialize_wpa_psk()
13987
13988         * src/nm-ap-security-wpa-psk.c
13989                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13990                         arguments to nmu_security_deserialize_wpa_psk()
13991
13992 2006-01-08  Dan Williams  <dcbw@redhat.com>
13993
13994         * gnome/applet/wso-wpa-psk-hex.c
13995           gnome/applet/wso-wpa-psk-passphrase.c
13996                 - Hook up the append_dbus_params_func() function
13997
13998 2006-01-08  Dan Williams  <dcbw@redhat.com>
13999
14000         * src/nm-device-802-11-wireless.c
14001                 - (get_wireless_capabilities): correctly detect driver WPA
14002                         capabilities
14003
14004 2006-01-08  Dan Williams  <dcbw@redhat.com>
14005
14006         * gnome/applet/Makefile.am
14007           gnome/applet/wso-wpa-psk-hex.c
14008           gnome/applet/wso-wpa-psk-hex.h
14009                 - New files, implement WPA-PSK Hex key input
14010
14011         * gnome/applet/wireless-applet.glade
14012                 - Change existing wpa-psk stuff to wpa-psk-hex
14013                 - Add new widgets for wpa-psk-passphrase
14014
14015         * gnome/applet/wireless-security-manager.c
14016                 - (wsm_set_capabilities): enable WPA options
14017
14018         * gnome/applet/wso-wpa-psk-passphrase.c
14019                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14020                         for WPA-PSK passphrase
14021
14022 2006-01-08  Dan Williams  <dcbw@redhat.com>
14023
14024         * include/NetworkManager.h
14025                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14026                         applet/info-daemons
14027
14028         * gnome/applet/passphrase-dialog.c
14029                 - Use the constant.  Fixes a bug where the arguments to
14030                         dbus_message_new_error() were incorrect
14031
14032         * src/nm-dbus-nmi.c
14033                 - Use the constant
14034
14035 2006-01-07  Dan Williams  <dcbw@redhat.com>
14036
14037         * src/nm-device-802-11-wireless.c
14038                 - Add a link timeout so we allow the supplicant time to
14039                         reassociate if it can, before we deactivate the card
14040                 - Fix up link status and link updating so things work better
14041
14042 2006-01-07  Dan Williams  <dcbw@redhat.com>
14043
14044         * src/nm-device-802-11-wireless.c
14045                 - Switch over to using wpa_supplicant
14046                 - Add a timeout of 10s for association of the supplicant
14047                 - Start the monitor callback of the supplicant
14048
14049 2006-01-07  Dan Williams  <dcbw@redhat.com>
14050
14051         * src/NetworkManagerUtils.c
14052                 - (nm_utils_supplicant_request,
14053                   nm_utils_supplicant_request_with_check):
14054                         pass correct buffer length to wpa_ctrl_request()
14055
14056 2006-01-07  Dan Williams  <dcbw@redhat.com>
14057
14058         * src/nm-device-private.h
14059           src/nm-device.c
14060                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14061                         this function available to subclasses
14062
14063 2006-01-06  Robert Love  <rml@novell.com>
14064
14065         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14066           user plugging in a network cable signals their preference for to
14067           switch, unless the user explicitly selected a wireless network and
14068           therefore signaled their preference for said wireless network over
14069           wired.  In other words, do exactly what makes sense.
14070
14071 2006-01-06  Robert Love  <rml@novell.com>
14072
14073         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14074           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14075           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14076           showing up in my greps.
14077
14078 2006-01-06  Robert Love  <rml@novell.com>
14079
14080         * gnome/applet/applet-dbus-devices.c,
14081           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14082           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14083           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14084           New Network' both failed in the non-encrypted case because we were
14085           not appending the security options to the DBUS message.  And
14086           'Connect to Other' was also failing in the encrypted case because
14087           we were not incrementing to the next DBUS parameter.  All fixed.
14088           Thanks to dcdw for some debugging help.
14089
14090 2006-01-06  Robert Love  <rml@novell.com>
14091
14092         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14093           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14094           hangup code and add per-device hangup.  Tie last commit into the
14095           GNOME applet.  TODO:  Save, understand, and respond to the state of
14096           each dialup device.
14097
14098 2006-01-06  Robert Love  <rml@novell.com>
14099
14100         Patch by Timo Hoenig <thoenig@suse.de>:
14101         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14102           hangup specific dialup devices.
14103         * src/backends/NetworkManagerDebian.c,
14104           src/backends/NetworkManagerGentoo.c,
14105           src/backends/NetworkManagerRedHat.c,
14106           src/backends/NetworkManagerSlackware.c: Add stub backend.
14107         * src/backends/NetworkManagerRedHat.c,
14108           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14109           hangup specific dialup devices.
14110
14111 2006-01-04  Robert Love  <rml@novell.com>
14112
14113         * gnome/applet/applet-dbus-devices.c,
14114           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14115           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14116           connections.
14117
14118 2006-01-04  Dan Williams  <dcbw@redhat.com>
14119
14120         First dump of wpa_supplicant-related code.  It's not hooked up to
14121         anything yet though.  Thanks to Kay Sievers for
14122         wpa_supplicant_wrapper.c, which formed the basis for this work,
14123         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14124
14125         * src/Makefile.am
14126           src/wpa_ctrl.[ch]
14127                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14128
14129         * src/NetworkManagerUtils.[ch]
14130                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14131                         Add convenience functions for talking to wpa_supplicant
14132
14133         * src/nm-ap-security.[ch]
14134           src/nm-ap-security-wep.c
14135           src/nm-ap-security-wpa-psk.[ch]
14136                 - Update and implement real_write_supplicant_config functions
14137                         in all security types
14138                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14139                         nm-ap-security-wpa-psk.c
14140
14141         * src/nm-device-802-11-wireless.c
14142                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14143                    wpa_supplicant_start, wpa_supplicant_interface_init,
14144                    wpa_supplicant_send_network_config): add functions to talk to
14145                         wpa_supplicant and write network config to it
14146
14147 2006-01-04  Robert Love  <rml@novell.com>
14148
14149         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14150           values so that distribution-backends can differentiate between the
14151           various types (modem, ISDN, et cetera) of dialup device that they
14152           support.
14153         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14154           needed.
14155
14156 2006-01-03  Dan Williams  <dcbw@redhat.com>
14157
14158         * src/NetworkManagerPolicy.c
14159           src/nm-device.[ch]
14160           src/nm-device-802-11-wireless.c
14161                 - Move wireless-specific activation failure and success code
14162                         into wireless device class
14163
14164 2006-01-03  Robert Love  <rml@novell.com>
14165
14166         Patch by Preggna S:
14167         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14168           IPsec does not require that a VPN client be bound to an interface,
14169           due to the use of the in-kernel IPSec bits.  So make the tunnel
14170           device optional.
14171
14172 2006-01-03  Dan Williams  <dcbw@redhat.com>
14173
14174         * src/NetworkManagerAP.c
14175                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14176                         the WPA IE specifies that WEP is supported
14177
14178         * src/nm-device-802-11-wireless.c
14179                 - (process_scan_results): don't mark an AP as supporting WEP
14180                         if there's already other encryption capability info
14181
14182 2006-01-03  Dan Williams  <dcbw@redhat.com>
14183
14184         * src/dhcp-manager/nm-dhcp-manager.c
14185                 - Recognize activation cancellation when waiting for DHCP
14186                         configuration from dhcdbd
14187                 - Ignore non-dhcdbd messages
14188
14189         * src/nm-device.c
14190                 - (real_act_stage3_ip_config_start): return to correct behavior
14191                         of letting the dhcp-manager notify us of failure or
14192                         success rather than incorrectly doing that ourselves
14193                 - (nm_device_activate_stage4_ip_config_get): deal with
14194                         activation cancellation a bit earlier
14195
14196 2006-01-03  Dan Williams  <dcbw@redhat.com>
14197
14198         * src/nm-device-802-11-wireless.c
14199           src/nm-device.[ch]
14200                 - Add hooks to subclasses for stage3_ip_config_start and
14201                         stage4_ip_config_timeout
14202
14203         * src/nm-device-802-3-ethernet.c
14204                 - (real_get_generic_capabilities): make devices NM-supported
14205                         by default
14206
14207 2006-01-03  Robert Love  <rml@novell.com>
14208
14209         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14210           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14211           latter cannot differentiate between error and the address -1; misc.
14212           clean up.
14213
14214 2006-01-03  Dan Williams  <dcbw@redhat.com>
14215
14216         * src/NetworkManager.c
14217                 - Move link-checking/probing into the device subclasses
14218                         themselves
14219
14220         * src/nm-device.[ch]
14221           src/nm-device-802-11-wireless.c
14222           src/nm-device-802-3-ethernet.c
14223                 - Do periodic link checking in device subclasses rather
14224                         than being triggered from NetworkManager.c
14225                 - discover_wireless_capabilities -> get_wireless_capabilities
14226                 - discover_generic_capabilities -> get_generic_capabilities
14227                 - Device subclass activation routines now return a value of type
14228                         NMActStageReturn to indicate what step to perform next
14229                 - Devices now override stage4_get_ip4_config if they choose
14230
14231 2006-01-01  Dan Williams  <dcbw@redhat.com>
14232
14233         * src/nm-device-802-11-wireless.c
14234                 - (real_init): don't chain up to parent init because we don't
14235                         need to do that anymore
14236
14237         * src/nm-device.c
14238                 - (discover_device_type): fix arguments to ioctl() to correctly
14239                         pass interface name
14240                 - (nm_device_new): consolidate generic device initialization into
14241                         nm_device_new()
14242                 - (real_init): remove, consolidated to nm_device_new()
14243                 - (nm_device_deactivate, real_deactivate): consolidate
14244
14245 2006-01-01  Dan Williams  <dcbw@redhat.com>
14246
14247         * src/nm-activation-request.c
14248                 - Change dhcp_state member of the NMActRequest structure
14249                         from guint8 to guint32
14250
14251         * src/dhcp-manager/nm-dhcp-manager.[ch]
14252                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14253                         than guint8 to match the dbus argument.  Turns out we were
14254                         overwriting memory since we were passing in only a guint8
14255
14256 2005-12-31  Dan Williams  <dcbw@redhat.com>
14257
14258         * refactor NMDevice into a GObject-based framework with separate
14259                 objects for wired and wireless.  The following files are no
14260                 longer used but should stick around for a bit so we don't
14261                 loose code through the cracks:
14262                         NetworkManagerDevice.c
14263                         NetworkManagerDevice.h
14264                         NetworkManagerWireless.c
14265                         NetworkManagerWireless.h
14266
14267         The intent here is to allow each device type to manage its own
14268         connection & activation life-cycle, ie to allow wireless devices
14269         to interface with wpa_supplicant, etc.  There's a fair bit of
14270         encapsulation breakage right now that should gradually get pulled
14271         back into each device, along with things like periodic property
14272         updates and link probing.
14273
14274 2005-12-29  Dan Williams  <dcbw@redhat.com>
14275
14276         * include/NetworkManager.h
14277                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14278                         between networks that don't have any encryption at all
14279
14280 2005-12-29  Dan Williams  <dcbw@redhat.com>
14281
14282         * test/test-common.c
14283           test/test-common.h
14284           test/Makefile.am
14285                 - Move to a test-common subdirectory
14286
14287         * test/libnm-util/test-ciphers.c
14288                 - Move test data to test-inputs.h
14289                 - Test WPA ciphers too
14290
14291         * test/libnm-util/test-dbus-helpers.c
14292                 - Test serialization/deserialization of ciphers
14293
14294 2005-12-29  Dan Williams  <dcbw@redhat.com>
14295
14296         * gnome/applet/applet-dbus-devices.c
14297                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14298                         in dbus calls to NM
14299                 - Set capabilities on WirelessNetwork objects
14300                 - Receive and save type-specific device capabilities too
14301
14302         * gnome/applet/applet-dbus-info.c
14303           gnome/applet/applet-dbus.c
14304                 - Passphrase dialog no longer a singleton; new instance gets created
14305                         on each request.  Updates to deal with that.
14306
14307         * gnome/applet/applet.c
14308                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14309                         than single 'encrypted' flag
14310                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14311                         menu items
14312                 - Passphrase dialog updates per above
14313
14314         * gnome/applet/menu-items.c
14315                 - (network_menu_item_update): use AP capabilities to determine
14316                         encryption
14317
14318         * gnome/applet/nm-device.[ch]
14319                 - Add accessors for type-specific device capabilities
14320
14321         * gnome/applet/other-network-dialog.c
14322                 - Rework to respect device capabilities.  i.e., if the device doesn't
14323                         support WPA, remove that option from the security dropdown
14324
14325         * gnome/applet/passphrase-dialog.c
14326                 - Massive rework so that a new instance is created each time
14327                         it's used, to support wireless network capabilities
14328
14329         * gnome/applet/wireless-network.[ch]
14330                 - Add accessors and members for wireless network capabilities
14331
14332         * gnome/applet/wireless-security-manager.[ch]
14333                 - (wsm_set_capabilities): called after creation to set which
14334                         security options get shown to the user
14335
14336 2005-12-29  Dan Williams  <dcbw@redhat.com>
14337
14338         * libnm-util/cipher-wpa-psk-passphrase.c
14339                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14340                         like other ciphers
14341
14342 2005-12-23  Dan Williams  <dcbw@redhat.com>
14343
14344         * gnome/applet/applet-dbus-info.c
14345                 - (nmi_dbus_get_key_for_network): if there's no entry in
14346                         GConf for a network, assume we want a new key
14347                 - (nmi_save_network_info): serialize wireless security info
14348                         into GConf so its saved
14349
14350         * src/nm-dbus-nm.c
14351                 - Fix warning as we may not be passed security info when
14352                         connecting to a wireless network
14353
14354 2005-12-23  Dan Williams  <dcbw@redhat.com>
14355
14356         * gnome/applet/applet-compat.c
14357                 - Fix bugs in GConf entry conversion
14358
14359         * gnome/applet/applet-dbus-info.c
14360                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14361                         list being zero-length
14362
14363         * libnm-util/cipher-*
14364           libnm-util/dbus-helpers.c
14365                 - All ciphers must now return hashed keys as UTF-8 valid
14366                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14367                         through dbus as strings too.
14368                 - Consolidate various functions that do bin->hex and hex->bin
14369                         conversion into cipher.c
14370
14371         * src/nm-ap-security-wep.c
14372           src/nm-ap-security-wpa-psk.c
14373                 - Handle NULL keys since we may not know keys right away
14374
14375         * src/nm-dbus-nmi.c
14376                 - (nm_dbus_get_network_data_cb): actually advance to the start
14377                         of the wireless security info before we try to deserialize it
14378
14379         * libnm-util/test-ciphers.c
14380                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14381
14382 2005-12-22  Dan Williams  <dcbw@redhat.com>
14383
14384         * gnome/applet/applet-compat.[ch]
14385                 - Convert old-format GConf and keyring entries
14386                         when the applet starts up.
14387
14388         * gnome/applet/applet.c
14389                 - (nmwa_get_instance): Call the conversion function
14390                         on startup before dbus is initialized
14391
14392 2005-12-22  Dan Williams  <dcbw@redhat.com>
14393
14394         * gnome/applet/applet-dbus-info.c
14395                 - Remove nmi_dbus_create_error_message() in favor of
14396                         nmu_create_dbus_error_message()
14397                 - (nmi_dbus_get_network_properties): Error message cleanups
14398                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14399                         gconf key rather than 'addresses', since they really are BSSIDs
14400                 - (nmi_dbus_get_network_properties): Dispose of the security
14401                         object when we're done with it
14402
14403 2005-12-21  Dan Williams  <dcbw@redhat.com>
14404
14405         * Consolidate the info-daemon's "updateNetworkInfo" and
14406                 "addNetworkAddress" calls into just "updateNetworkInfo"
14407
14408 2005-12-21  Dan Williams  <dcbw@redhat.com>
14409
14410         * Make connection after key retrieval work again
14411
14412 2005-12-21  Dan Williams  <dcbw@redhat.com>
14413
14414         * gnome/applet/nm-gconf-wso*
14415                 - Make the serialize functions return gboolean
14416                         rather than int
14417
14418         * gnome/applet/nm-gconf-wso.c
14419                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14420                         parent class handling so we don't segfault
14421
14422         * src/NetworkManagerAP.[ch]
14423                 - (nm_ap_get_capabilities): new function, return capabilities
14424                         now that something can use them
14425                 - (nm_ap_set_encrypted): assume that an access point supports
14426                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14427                         we even tell whether it just supports WEP40?
14428
14429         * src/NetworkManagerDevice.c
14430                 - (ap_need_key): resurrect and update for the New World Order
14431                 - (nm_device_wireless_get_activation_ap): if we're not given
14432                         security info to use, create some based on access point
14433                         capabilities
14434
14435         * src/nm-ap-security-wep.c
14436                 - (nm_ap_security_wep_new_from_ap): create a new object
14437                         based on a certain access point's capabilities
14438
14439         * src/nm-ap-security.c
14440                 - (nm_ap_security_new_from_ap): delegate creation of a new
14441                         object based on access point capabilities to a subclass
14442                 - (nm_ap_security_copy_properties): don't segfault if we
14443                         don't have a key yet
14444
14445         * src/nm-dbus-nm.c
14446                 - (nm_dbus_nm_set_active_device): provide more informative
14447                         output when errors occur.  Also construct security info
14448                         for a given access point if we weren't given any
14449
14450 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14451
14452         * configure.in: Added Lithuanian to ALL_LINGUAS.
14453
14454 2005-12-21  Dan Williams  <dcbw@redhat.com>
14455
14456         * test/libnm-util
14457                 - Add some testcases for WEP ciphers
14458
14459 2005-12-17  Dan Williams  <dcbw@redhat.com>
14460
14461         * Fix bugs
14462
14463 2005-12-17  Dan Williams  <dcbw@redhat.com>
14464
14465         * include/NetworkManager.h
14466                 - Finally kill NMEncKeyType
14467
14468         * gnome/applet/applet-dbus-info.c
14469                 - (nmi_save_network_info): convert to NMGConfWSO
14470
14471         * gnome/applet/nm-gconf-wso-*.c
14472                 - Implement gconf serialization functions
14473
14474         * src/NetworkManagerPolicy.c
14475                 - (nm_policy_activation_finish): fix up meaning of
14476                         automatic/user_requested
14477
14478 2005-12-17  Dan Williams  <dcbw@redhat.com>
14479
14480         * gnome/applet/*
14481                 - More applet cleanups
14482                 - Use the dbus-method-dispatcher
14483
14484         * libnm-util/dbus-method-dispatcher.[ch]
14485                 - Generalize the implementation from NM in
14486                         NetworkManagerUtils.c
14487
14488 2005-12-16  Dan Williams  <dcbw@redhat.com>
14489
14490         * gnome/applet/*
14491                 - Fix up the passphrase dialog to use all the
14492                         WirelessSecurityOption stuff (untested)
14493
14494 2005-12-16  Dan Williams  <dcbw@redhat.com>
14495
14496         * Move nm_gconf_get_*_helper() functions to separate files,
14497                 gconf-helpers.c & gconf-helpers.h
14498
14499         * New NMGConfWSO objects for managing the gconf side of things.
14500                 Eventually these should be merged with the
14501                 WirelessSecurityOption objects and a common base (that can
14502                 serialize/deserialize from dbus & gconf) should be
14503                 refactored out, but for now they are separate.
14504
14505 2005-12-16  Robert Love  <rml@novell.com>
14506
14507         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14508           binaries unless they exist (nm_spawn_process() emits a warning if
14509           asked to spawn a non-existant process).
14510
14511 2005-12-16  Dan Williams  <dcbw@redhat.com>
14512
14513         * gnome/applet/applet-dbus-info.c
14514                 - Clean up lots of gconf-related code
14515
14516 2005-12-16  Robert Love  <rml@novell.com>
14517
14518         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14519
14520 2005-12-16  Dan Williams  <dcbw@redhat.com>
14521
14522         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14523
14524         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14525                 bits still to be done)
14526
14527 2005-12-16  Dan Williams  <dcbw@redhat.com>
14528
14529         * Finally move info-daemon related stuff out of
14530                 NetworkManagerDbus.c to nm-dbus-nmi.c
14531
14532 2005-12-16  Dan Williams  <dcbw@redhat.com>
14533
14534         * Kill auth_method for access points, since that's now done
14535                 by NMAPSecurity objects
14536
14537         * Add a copy-constructor of sorts to NMAPSecurity
14538                 (how do you do this properly in glib???)
14539
14540 2005-12-15  Dan Williams  <dcbw@redhat.com>
14541
14542         * Exorcise encryption key hashing on APs
14543         * Use libnm-util's serialization/deserialization in both the
14544                 applet and NM
14545         * Random other stuff
14546
14547 2005-12-15  Robert Love  <rml@novell.com>
14548
14549         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14550           is being added to the icon naming spec, so let's use that (Tango CVS
14551           has the icon).  Because it is new, however, we fall back to the
14552           current "gnome-lockscreen" if the new icon is not around, thus
14553           behavior is the same.
14554         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14555           factory junk.
14556
14557 2005-12-15  Robert Love  <rml@novell.com>
14558
14559         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14560           well, help to give.  Couple other misc. bits.
14561
14562 2005-12-15  Dan Williams  <dcbw@redhat.com>
14563
14564         * libnm-util/dbus-helpers.[ch]
14565                 - Make this the one-stop-shop for serializing/deserializing
14566                         AP & connection security settings over dbus.  Both NM
14567                         and applets should use this to ensure consistent dbus
14568                         API going forwared.
14569
14570 2005-12-15  Robert Love  <rml@novell.com>
14571
14572         Patch by Timo Hoenig  <thoenig@suse.de>:
14573         * src/NetworkManagerDbus.c
14574                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14575                         if HAL jumps off the system bus.  Otherwise libdbus
14576                         (dbus_connection_dispatch) will try to run the filter
14577                         function of our libhal context which is already freed.
14578
14579 2005-12-15  Alexander Shopov  <ash@contact.bg>
14580
14581         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14582
14583 2005-12-14  Dan Williams  <dcbw@redhat.com>
14584
14585         * include/NetworkManager.h
14586           src/NetworkManagerWireless.c
14587                 - Rearrange 802.11 wireless-specific capabilities again
14588
14589         * src/Makefile.am
14590                 - Forgot to add wpa.c/wpa.h to the makefiles
14591
14592         * src/NetworkManagerAP.[ch]
14593                 - Implement access point capabilities and parse the
14594                         WPA/RSN IEs into the capability bitfield
14595                 - Switch the "encrypted" attribute to utilize the bitfield
14596                         and capabilities rather than being independent
14597
14598         * src/NetworkManagerDevice.c
14599                 - (nm_device_wireless_get_activation_ap): break it horribly
14600                         until we can push NMAPSecurity objects into access point
14601                         objects and through the activation chain
14602                 - Stuff WPA & RSN IEs into AP capabilities
14603
14604         * src/nm-dbus-nm.c
14605                 - Take a shot at actually making setActiveDevice work
14606
14607         * src/wpa.[ch]
14608                 - Make the API a bit saner
14609
14610 2005-12-14  Dan Williams  <dcbw@redhat.com>
14611
14612         * include/NetworkManager.h
14613                 - Add 802.11-specific capability for 802.1x key
14614                         management
14615
14616         * src/wpa.[ch]
14617                 - Pull in WPA IE and RSN IE parsing code from
14618                         wpa_supplicant so we can determine access point
14619                         capabilities
14620                 - Move WPA-related constants here from NetworkManagerAP.h
14621                         and NetworkManagerDevice.c
14622
14623         * src/NetworkManagerDevice.c
14624           src/NetworkManagerAP.[ch]
14625                 - Use WPA-related constants from wpa.h
14626
14627 2005-12-14  Dan Williams  <dcbw@redhat.com>
14628
14629         * include/NetworkManager.h
14630                 - Update and split 802.11 wireless-specific capabilities from
14631                         generic device capabilities
14632
14633         * src/NetworkManagerDevice.c
14634           src/NetworkManagerDevicePrivate.h
14635                 - (nm_device_wireless_discover_capabilities): Move 802.11
14636                         wireless-specific capability checks to
14637                         NetworkManagerWireless.c
14638                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14639                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14640
14641         * src/NetworkManagerWireless.[ch]
14642                 - (nm_802_11_wireless_discover_capabilities): Check extended
14643                         802.11 wireless-specific capabilities of the driver
14644
14645 2005-12-14  Robert Love  <rml@novell.com>
14646
14647         Patch from Stefan Scheler <sscheler@suse.de>:
14648         * src/NetworkManagerDevice.c: call backend code to activate and
14649           deactivate NIS.
14650         * src/NetworkManagerSystem.h: add new NIS interfaces.
14651         * src/backends/NetworkManagerDebian.c,
14652           src/backends/NetworkManagerGentoo.c,
14653           src/backends/NetworkManagerRedHat.c,
14654           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14655           support.
14656         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14657
14658 2005-12-14  Dan Williams  <dcbw@redhat.com>
14659
14660         * src/nm-ap-security*.[ch]
14661                 - Add AP security abstractions to NetworkManager
14662
14663         * src/nm-dbus-device.c
14664                 - Begin to parse new format dbus messages from the applet
14665                         and construct an AP security object from the message
14666
14667         * libnm-util/dbus-helpers.c
14668                 - Use message iters so we can append the key as a fixed
14669                         array of bytes, which actually works rather than
14670                         using dbus_message_append_args() as we were before
14671
14672 2005-12-14  Dan Williams  <dcbw@redhat.com>
14673
14674         * src/NetworkManagerDbus.c
14675           gnome/applet/applet-dbus.c
14676                 - Fix up dbus service replacement options.  The applet
14677                         should allow replacement, NM itself should not.
14678
14679 2005-12-13  Robert Love  <rml@novell.com>
14680
14681         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14682           Instead, fail silently if config is NULL by not asserting and not
14683           returning FALSE.  Also, make sure we always fclose() the file.
14684
14685 2005-12-13  Robert Love  <rml@novell.com>
14686
14687         Patch by Stefan Scheler <sscheler@suse.de>:
14688         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14689            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14690            via DHCP.  Still need the backends to commit the NIS domain name and
14691            and servers to yp.conf as needed.
14692
14693 2005-12-13  Robert Love  <rml@novell.com>
14694
14695         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14696           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14697
14698 2005-12-13  Robert Love  <rml@novell.com>
14699
14700         * src/named-manager/nm-named-manager.c: Don't unref the config until
14701           after we call rewrite_resolv_conf(), because get_last_default_domain()
14702           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14703           `config != NULL' failed" assertion failures and "Could not commit DNS
14704           changes" warnings.
14705
14706 2005-12-12  Dan Williams  <dcbw@redhat.com>
14707
14708         * libnm-util/dbus-helpers.[ch]
14709           libnm-util/Makefile.am
14710                 - new helper calls to consolidate locations where
14711                         NM's setDevice method is called
14712
14713         * gnome/applet/applet-dbus-devices.c
14714           gnome/applet/wireless-security-option.c
14715           gnome/applet/wso-*
14716                 - Implement dbus message param append function for
14717                         all wireless security options
14718
14719 2005-12-12  Robert Love  <rml@novell.com>
14720
14721         * libnm-util/cipher-wep-passphrase.c,
14722           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14723           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14724           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14725           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14726           When handling keys, we don't care what the sign is.  The compiler
14727           guarantees us that we get our 8-bits, which is all we care about.
14728         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14729
14730 2005-12-12  Dan Williams  <dcbw@redhat.com>
14731
14732         * gnome/applet/applet-dbus-devices.[ch]
14733           gnome/applet/applet.c
14734           gnome/applet/other-network-dialog.c
14735           gnome/applet/wireless-security-manager.[ch]
14736           gnome/applet/wireless-security-option.[ch]
14737           gnome/applet/wso-*
14738                 - Push the wireless security options further into the applet
14739
14740 2005-12-12  Robert Love  <rml@novell.com>
14741
14742         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14743           return any name servers.  That is perfectly valid.  (Novell #134369).
14744
14745 2005-12-11  Dan Williams  <dcbw@redhat.com>
14746
14747         * gnome/applet/wso-*
14748           gnome/applet/wireless-security-option.*
14749           gnome/applet/Makefile.am
14750                 - split each security option out so we can eventually
14751                         have each one build up their own dbus message
14752                         arguments to send to NM
14753
14754 2005-12-11  Dan Williams  <dcbw@redhat.com>
14755
14756         * Make validation of the key work correctly
14757
14758 2005-12-11  Dan Williams  <dcbw@redhat.com>
14759
14760         * Hook more bits of the Other Network Dialog up to the
14761                 wireless security manager stuff, and restructure
14762                 bits of the dialog so there's less code.
14763
14764 2005-12-10  Dan Williams  <dcbw@redhat.com>
14765
14766         * gnome/applet/Makefile.am
14767                 - Add libnm-util to includes
14768                 - Add libnm-util to link list
14769                 - Add wireless-security-common.* to compile list
14770
14771         * gnome/applet/other-network-dialog.c
14772                 - Convert to using the WirelessSecurityManager code and
14773                         widgets
14774
14775         * gnome/applet/passphrase-dialog.c
14776                 - Comment out references to stuff in the glade file that
14777                         cause runtime errors until it can be fixed up
14778                         to use the WirelessSecurityManager code
14779
14780         * gnome/applet/wireless-applet.glade
14781                 - Rename some widgets
14782                 - Add widgets for the WirelessSecurityManager code
14783                 - Remove passphrase-related stuff since that's now
14784                         handled by the WirelessSecurityManager code
14785
14786 2005-12-10  Dan Williams  <dcbw@redhat.com>
14787
14788         * gnome/applet/applet-dbus-devices.c
14789                 - Print out error message details for dbus pending call callbacks
14790                 - Move nmwa_dbus_update_devices() up
14791
14792         * gnome/applet/applet-dbus-vpn.c
14793                 - Print out error message details for dbus pending call callbacks
14794
14795 2005-12-10  Dan Williams  <dcbw@redhat.com>
14796
14797         * libnm-util/*
14798                 - More fixups
14799                 - Remove cipher-manager.* because we don't need it
14800                 - Forgot to add gnome-keyring-md5 files to compile list
14801
14802 2005-12-09  Dan Williams  <dcbw@redhat.com>
14803
14804         * libnm-util/*
14805           configure.in
14806           Makefile.am
14807                 - Add a utility library for clients of NetworkManager.  It's
14808                         only targetted at applets for the moment, and contains
14809                         a generalized 802.11 cipher framework for different
14810                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14811
14812 2005-12-09  Robert Love  <rml@novell.com>
14813
14814         * src/NetworkManagerDevice.c: handle error better in
14815           nm_device_set_mode().
14816
14817 2005-12-08  Robert Love  <rml@novell.com>
14818
14819         * include/NetworkManager.h: add WPA capabilities constants
14820         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14821           or WPA2 and add the capabilities bits as appropriate.
14822
14823 2005-12-08  Robert Love  <rml@novell.com>
14824
14825         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14826           NetworkManagerDispatcher.
14827         * configure.in, initscript/SUSE/.cvsignore,
14828           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14829           initscript.
14830
14831 2005-12-08  Robert Love  <rml@novell.com>
14832
14833         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14834
14835 2005-12-08  Robert Love  <rml@novell.com>
14836
14837         * src/NetworkManagerDevice.c: We want to fall back on and default to
14838           IW_MODE_AUTO, not -1, which is more in line with our previous
14839           behavior.  Otherwise, we try to set the wireless mode to -1 in
14840           nm_device_set_mode().
14841
14842 2005-12-07  Robert Love  <rml@novell.com>
14843
14844         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14845           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14846           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14847           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14848           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14849           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14850           zero.
14851
14852 2005-12-07  Robert Love  <rml@novell.com>
14853
14854         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14855           supplied IP is invalid, fall back to DHCP.
14856
14857 2005-12-07  Dan Williams  <dcbw@redhat.com>
14858
14859         * Convert NETWORK_MODE_* constants to IW_MODE_*
14860         * Make all the get_mode/set_mode functions take and return 'int'
14861         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14862
14863 2005-12-07  Robert Love  <rml@novell.com>
14864
14865         * src/NetworkManagerDevice.c: strncpy() buffer check.
14866         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14867
14868 2005-12-06  Dan Williams  <dcbw@redhat.com>
14869
14870         * gnome/applet/applet-dbus.c
14871                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14872
14873         * gnome/applet/applet-dbus-vpn.c
14874                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14875                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14876                         to TRUE here if stage was ACTIVATED
14877
14878 2005-12-06  Dan Williams  <dcbw@redhat.com>
14879
14880         * Change nm_device_is_* functions to better names:
14881                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14882                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14883
14884 2005-12-06  Dan Williams  <dcbw@redhat.com>
14885
14886         * Change naming of NMDeviceType to something more sensible:
14887                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14888                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14889                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14890
14891 2005-12-06  Dan Williams  <dcbw@redhat.com>
14892
14893         * Move NetworkManager.h -> include/NetworkManager.h
14894         * Split out VPN stuff into include/NetworkManagerVPN.h
14895         * Fix up makefiles to include new location
14896         * Fix up sources to include NetworkManagerVPN.h
14897
14898 2005-12-06  Dan Williams  <dcbw@redhat.com>
14899
14900         Various changes in the applet to move VPN connection "state" -> "stage",
14901         which it actually is.  I'd like to change the signal as well when we
14902         break compat in the near future.
14903
14904 2005-12-06  Dan Williams  <dcbw@redhat.com>
14905
14906         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14907         * initscript/Slackware/rc.networkmanager
14908                 - Cosmetic fix
14909
14910         * src/backends/NetworkManagerSlackware.c
14911                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14912                         interfaces
14913
14914 2005-12-05  Robert Love  <rml@novell.com>
14915
14916         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14917           to free, particularly here as it just barfs.
14918
14919 2005-12-05  Dan Williams  <dcbw@redhat.com>
14920
14921         * gnome/applet/applet-dbus.c
14922                 - Work with dbus 0.6 too
14923
14924 2005-12-03  Dan Williams  <dcbw@redhat.com>
14925
14926         * src/NetworkManagerUtils.[ch]
14927           src/nm-ip4-config.c
14928                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14929                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14930
14931 2005-12-01  Robert Love  <rml@novell.com>
14932
14933         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14934           need a NULL for the '...' parameter, too, to fill the so-called
14935           sentinel.
14936
14937 2005-12-01  Robert Love  <rml@novell.com>
14938
14939         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14940           interface is already gone, so don't call rtnl_link_change() to down
14941           it (which will segfault, anyhow).
14942
14943 2005-11-22  Robert Love  <rml@novell.com>
14944
14945         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14946           gateway is not set, just print a little note.  Configurations without
14947           gateways are valid.
14948
14949 2005-11-22  Robert Love  <rml@novell.com>
14950
14951         * README: update
14952
14953 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14954
14955         * configure.in: Added Finnish translation to ALL_LINGUAS
14956
14957 2005-11-14  Robert Love  <rml@novell.com>
14958
14959         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14960           Niemueller <tim@niemueller.de>.
14961
14962 2005-11-08  Dan Williams  <dcbw@redhat.com>
14963
14964         Patch from Bill Moss <bmoss@clemson.edu>
14965         * src/NetworkManagerDevice.c
14966                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14967                         of nm_policy_schedule_activation_finish() to prevent a
14968                         race condition that causes the link to be dropped
14969
14970 2005-11-08  Dan Williams  <dcbw@redhat.com>
14971
14972         Patch from Bill Moss <bmoss@clemson.edu>
14973         * src/NetworkManagerAPList.c
14974           src/NetworkManagerDevice.c
14975           src/NetworkManagerDbus.c
14976                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14977                         we get more readable ether/mac addresses
14978
14979 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14980
14981         * gnome/applet/main.c: Don't set the restart command.  This fixes
14982         the issue where the restart command was getting copies of all its
14983         arguments for each time the applet was restarted.
14984
14985 2005-11-02  Robert Love  <rml@novell.com>
14986
14987         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14988           if the widget state differs from our saved state.  This ensures we
14989           do not enter an endless loop of death and destruction.  Also, this
14990           guarantees us that we enforce the widget state.
14991
14992 2005-11-02  Robert Love  <rml@novell.com>
14993
14994         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14995         * gnome/applet/applet-dbus-devices.c: invoke the new function
14996           nmwa_enable_wireless_set_active() to ensure that the state of the
14997           'Enable Wireless' checkbox matches the daemon's state.  This is a
14998           concern because the daemon remembers the state.
14999
15000 2005-11-02  Robert Love  <rml@novell.com>
15001
15002         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15003           Enabled", as checkboxes should be actions/commands not positive
15004           statements, otherwise they are confusing in the unselected case.  See
15005           examples in GNOME HIG, Chapter 6.
15006
15007 2005-11-02  Robert Love  <rml@novell.com>
15008
15009         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15010           show a list of wireless networks or the wireless devices or the
15011           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15012           a bad bug: If wireless is disabled and the user picks a wireless
15013           network, NM will switch to the network, only to immediately switch
15014           back, as wireless is disabled.  This also reassures people that NM
15015           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15016
15017 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15018
15019         * gnome/applet/applet.c:
15020         * gnome/applet/applet.h:
15021         Partial backout of Dan's timeout animation patch.
15022         Timeout IDs cannot legally be 0, so revert the code in place to handle
15023         a timeout ID of 0 to denote the timeout isn't running.
15024
15025 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15026
15027         * src/NetworkManagerPolicy.c:
15028         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15029
15030 2005-10-28  Robert Love  <rml@novell.com>
15031
15032         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15033           "Import Saved Configuration..." to make it clear that importing is
15034           not the next step, but an option.  As an aside, a nice TODO would be
15035           to move Importing out of the vpn-specific dialog and into the main
15036           property editor, as Importing goes with Adding, but that will require
15037           some rearchitecting of the VPN stuff I suspect.
15038
15039 2005-10-27  Dan Williams  <dcbw@redhat.com>
15040
15041         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15042         we should replace most of the distro-specific backend code
15043         with libnl stuff.
15044
15045         Get it here:  http://people.suug.ch/~tgr/libnl/
15046
15047         * configure.in
15048           src/Makefile.am
15049                 - Add checks for libnl pkgconfig file
15050                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15051
15052         * src/NetworkManagerSystem.c
15053           src/nm-ip4-config.[ch]
15054                 - Use libnl rather than ioctl() for most things
15055                 - Remove unused functions
15056
15057 2005-10-27  Robert Love  <rml@novell.com>
15058
15059         * src/backends/NetworkManagerSuSE.c: fix warning message text
15060
15061 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15062
15063         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15064
15065 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15066
15067         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15068         project page <http://www.gnome.org/projects/NetworkManager/>
15069
15070 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15071
15072         * gnome/applet.c: Also use translator credits if we don't have
15073         the new GtkAboutDialog (older versions of GTK+)
15074
15075 2005-10-26  Robert Love  <rml@novell.com>
15076
15077         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15078           failure; correct usage text for "--no-daemon"
15079
15080 2005-10-25  Dan Williams  <dcbw@redhat.com>
15081
15082         * src/NetworkManagerDevice.c
15083                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15084                         no scan results
15085                 - (free_process_scan_cb_data): unref the device when freeing results
15086                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15087                         so we don't unref the device underneath ourselves
15088
15089 2005-10-25  Dan Williams  <dcbw@redhat.com>
15090
15091         * Back out 2005-10-24 commit from Tor Krill.  Patch
15092                 causes nameservers never to be removed from named.
15093
15094 2005-10-24  Dan Williams  <dcbw@redhat.com>
15095
15096         Clean up wireless scanning and wireless link probing.
15097
15098         * src/NetworkManagerDevice.c
15099                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15100                         just see if there's an activation request on the device, and check the
15101                         current link against the activation request access point's ESSID.
15102                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15103                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15104                         don't call process_scan_results() on zero-length data
15105                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15106                         15 seconds (from 10)
15107
15108 2005-10-24  Dan Williams  <dcbw@redhat.com>
15109
15110         Cleanup some applet stuff:
15111
15112         - Animation timeouts.  If NM died while the applet was animating,
15113                 the applet would not hide itself.  This is now fixed.
15114
15115         - Remove some dead code
15116
15117         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15118                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15119
15120         - Track animation timeout using a gboolean rather than the timeout's
15121                 ID, since timeout IDs can legally be 0.
15122
15123 2005-10-24  Dan Williams  <dcbw@redhat.com>
15124
15125         * src/backends/interface_parser.c
15126                 - Add void to function declarations that need it
15127                         to match patch from Engin AYDOGAN
15128
15129         * src/backends/interface_parser.h
15130                 - Remove unused prototype for ifparser_interfaces()
15131
15132         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15133         * src/backends/interface_parser.h:
15134                 - Compile fixes for gcc 4.0.2 (add void)
15135
15136 2005-10-24  Dan Williams  <dcbw@redhat.com>
15137
15138         Patch from Tor Krill <tor@krill.nu>
15139         * src/named-manager/nm-named-manager.c
15140                 - Write more than just the first nameserver to /etc/resolv.conf
15141                 - Write out valid /etc/resolv.conf on exit
15142
15143 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15144
15145         * gnome/applet/applet-dbus-vpn.c:
15146         Get rid of spurious newlines in debug console output
15147
15148 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15149
15150         * src/backends/NetworkManagerGentoo.c:
15151         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15152
15153 2005-10-20  Robert Love  <rml@novell.com>
15154
15155         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15156           direct comparison of floating point values, which is never correct.
15157           Also some misc. cleanup.
15158
15159 2005-10-19  Robert Love  <rml@novell.com>
15160
15161         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15162
15163 2005-10-19  Robert Love  <rml@novell.com>
15164
15165         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15166           sensitivity of the buttons.  Specificaly, do the right thing if
15167           there are no entries.
15168
15169 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15170
15171         * configure.in: Update check for adequate wireless-tools
15172         with an AC_TRY_COMPILE for the new symbols we use.
15173
15174 2005-10-19  Dan Williams  <dcbw@redhat.com>
15175
15176         * src/NetworkManagerDevice.c
15177                 - (process_scan_results): don't drop the last (or only)
15178                         access point we see
15179
15180 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15181
15182         * src/backends/NetworkManagerSlackware.c:
15183         Patch from Nico <lordllucifer@gmail.com>
15184                 - Update the Slackware backend.
15185
15186 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15187
15188         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15189         if we've got GLib 2.8.0
15190
15191 2005-10-18  Robert Love  <rml@novell.com>
15192
15193         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15194           function nm_schedule_state_change_signal_broadcast() when we
15195           deactivate a device, too.
15196
15197 2005-10-18  Robert Love  <rml@novell.com>
15198
15199         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15200           be used uninitialized.
15201
15202 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15203
15204         * test/libnm_glib_test.c: Test unregistering, too.
15205
15206 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15207
15208         * configure.in: Bump to 0.5.0
15209
15210 2005-10-17  Dan Williams  <dcbw@redhat.com>
15211
15212         * NetworkManager.h
15213                 - Remove WPA-related constants so they aren't part of the
15214                         upcoming release.
15215
15216 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15217
15218         * gnome/applet/applet.c:
15219         * gnome/applet/applet.h:
15220         Desensitize the 'Connection Information' menu item when there is
15221         no active connection.
15222
15223 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15224
15225         * gnome/libnm_glib/libnm_glib.c:
15226         Make libnm_glib_unregister_callback () actually unregister the callback
15227
15228 2005-10-17  Robert Love  <rml@novell.com>
15229
15230         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15231           two seconds -- tries is updated every 1/10 of a second, not every
15232           second..
15233
15234 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15235
15236         * gnome/applet/applet-dbus-info.c:
15237         Let D-BUS know that we haven't handled a message when we haven't.
15238
15239 2005-10-17  Robert Love  <rml@novell.com>
15240
15241         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15242           in order to remain 64-bit clean.
15243
15244 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15245
15246         * gnome/applet/applet-dbus-info.c:
15247         Find network encryption keys asynchronously
15248
15249 2005-10-17  Robert Love  <rml@novell.com>
15250
15251         * src/backends/NetworkManagerDebian.c,
15252           src/backends/NetworkManagerRedHat,
15253           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15254           comment delimiter.
15255
15256 2005-10-17  Robert Love  <rml@novell.com>
15257
15258         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15259           "/etc"
15260
15261 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15262
15263         * src/NetworkManagerDevice.c: (process_scan_results)
15264         Fix logic that checks to see whether we have an ESSID.
15265
15266 2005-10-15  Dan Williams  <dcbw@redhat.com>
15267
15268         Move scanning code into NetworkManager rather than use iwlib's
15269         iw_scan() function, so that we can figure out AP capabilities.
15270
15271         * NetworkManager.h
15272                 - Add AP capability bits
15273
15274         * src/NetworkManagerAP.[ch]
15275                 - Add capability field to NMAccessPoint structure
15276                 - Add WPA & RSN Information Element fields and accessor
15277                         functions to NMAccessPoint
15278
15279         * src/NetworkManagerDevice.c
15280                 - Remove usage of iw_scan
15281                 - Add scanning code to NetworkManager rather than use
15282                         iw_scan() from iwlib
15283
15284         * src/NetworkManagerUtils.[ch]
15285                 - (nm_dispose_scan_results): remove, unused
15286
15287 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15288
15289         * gnome/libnm_glib/libnm_glib.c:
15290         * gnome/libnm_glib/libnm_glib.h:
15291         Use guint instead of gint for callback IDs.
15292
15293 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15294
15295         * gnome/applet/applet.c:
15296         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15297         every 1000ms.  It will unconditionally call nmwa_update_state which
15298         kills the existing animation timeout and registers a new one with a
15299         callback to draw a new frame every 100ms.  There are 11 connecting
15300         icon frames, so the last 2 frames kept getting dropped.  Only reset
15301         the animation timeout if we aren't animating.
15302
15303 2005-10-11  Dan Williams  <dcbw@redhat.com>
15304
15305         * gnome/applet/applet-dbus-devices.c
15306                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15307                         We want to grab the product & vendor from net.physical_dev
15308                         rather than info.parent.
15309
15310 2005-10-11  Dan Williams  <dcbw@redhat.com>
15311
15312         * src/NetworkManagerDevice.c
15313                 - Use the driver's WE version for scanning rather than
15314                         the WE version NM was compiled with.  Fixes random
15315                         crashes in iw_scan () in iwlib.
15316
15317 2005-10-10  Dan Williams  <dcbw@redhat.com>
15318
15319         * Remove nm_system_load_device_modules() from backend files
15320                 and from NetworkManager.c
15321
15322 2005-10-10  Dan Williams  <dcbw@redhat.com>
15323
15324         * src/NetworkManagerPolicy.c
15325                 - Fix some bugs introduced by the capabilities patch
15326
15327 2005-10-10  Dan Williams  <dcbw@redhat.com>
15328
15329         * gnome/applet/applet-dbus-info.c
15330                 - (nmi_dbus_get_network_key): hide the menu when putting up
15331                         the keyring dialog.  (not sure if the code is right...)
15332
15333 2005-10-09  Dan Williams  <dcbw@redhat.com>
15334
15335         Patch from Bill Moss <bmoss@clemson.edu>
15336         * src/NetworkManagerDevice.c
15337                 - (nm_device_set_user_key_for_network): don't try to set auth
15338                         mode on the AP from the allowed list if it's NULL
15339
15340 2005-10-09  Dan Williams  <dcbw@redhat.com>
15341
15342         * Replace the "driver support level" stuff with capabilities.  The
15343                 capability field is a bitfield that is more flexible than the
15344                 old driver support level thing.  It's mostly so we can easily
15345                 figure out what supports WPA and what doesn't, but should be
15346                 quite useful later.
15347
15348 2005-10-09  Dan Williams  <dcbw@redhat.com>
15349
15350         * test/nmtest.c
15351                 - Removed
15352
15353         * test/nm-tool.c
15354           test/Makefile.am
15355                 - Added new "nm-tool" tool that gives quite a bit more
15356                         information
15357
15358 2005-10-07  Robert Love  <rml@novell.com>
15359
15360         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15361           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15362           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15363           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15364           appropriate
15365
15366 2005-10-07  Robert Love  <rml@novell.com>
15367
15368         * configure.in: Change our compile flags for the betterment of mankind.
15369           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15370           prototype is very bad on 64-bit platforms as types default to int but
15371           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15372           "-Wmissing-declarations" to warn if we define an exported function
15373           but fail to put it in a header.
15374
15375 2005-10-07  Robert Love  <rml@novell.com>
15376
15377         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15378           by the name nm_update_device_wireless_timeouts() and once tried,
15379           without success, to steal my pet turtle.
15380
15381 2005-10-07  Robert Love  <rml@novell.com>
15382
15383         * Cleanup prototypes: put some functions in header files and mark
15384           others as 'static' -- feel free to invert
15385         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15386           nm_vpn_manager_vpn_connection_list_copy()
15387         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15388           nm_vpn_service_get_dbus_connection()
15389         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15390           nm_vpn_manager_vpn_connection_list_copy()
15391         * src/vpn-manager/nm-vpn-service.c: make
15392           nm_vpn_service_act_request_failed() and
15393           nm_vpn_service_stage2_daemon_wait() static
15394         * src/vpn-manager/nm-vpn-service.h: add prototype for
15395           nm_vpn_service_get_dbus_connection()
15396
15397 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15398
15399         * gnome/applet/applet.c:
15400         * gnome/applet/applet.h:
15401         * gnome/applet/icons/Makefile.am:
15402         Convey information about the current connection stage in the
15403         icons themselves instead of creating a separate progress bar.
15404
15405 2005-10-04  Robert Love  <rml@novell.com>
15406
15407         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15408           convert an ether_addr structure's MAC into a string, because the
15409           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15410           versus 07:3B:04, while the former will not.
15411
15412 2005-10-04  Robert Love  <rml@novell.com>
15413
15414         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15415           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15416           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15417           default route in the 'Connection Information' dialog, send primary
15418           and secondary name servers in in "getProperties" DBUS method, add
15419           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15420           secondary domain name servers are crucial pieces of information
15421           that a user might need in debugging a network problem.
15422
15423 2005-10-04  Robert Love  <rml@novell.com>
15424
15425         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15426           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15427           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15428           default route in the 'Connection Information' dialog, send default
15429           route in "getProperties" DBUS method, add network_device_set_route(),
15430           and network_device_get_route().  The Gateway is a crucial piece of
15431           connection-related information that a user might need in debugging a
15432           network problem.
15433
15434 2005-10-03  Robert Love  <rml@novell.com>
15435
15436         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15437           NULL.
15438
15439 2005-10-02  Dan Williams  <dcbw@redhat.com>
15440
15441         * Shorten time taken to sleep by fastpathing bits of device deactivation
15442                 necessary for sleep.
15443
15444         * Fix issue where deactivating a device might deactivate the active
15445                 VPN connection, even if the VPN was not using the device.
15446
15447 2005-10-02  Dan Williams  <dcbw@redhat.com>
15448
15449         * gnome/applet/applet.c
15450                 - Adjust signal strength -> icon mapping values slightly
15451                         (so that 51% signal doesn't show a 75% icon) by adding
15452                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15453                         shows 50% icon, etc.
15454
15455 2005-09-29  Robert Love  <rml@novell.com>
15456
15457         * src/NetworkManager.c: removed unused variable.
15458
15459 2005-09-28  Dan Williams  <dcbw@redhat.com>
15460
15461         Support for named + DBus, using Red Hat DBus patches for named.  You
15462         can find those patches here, with "dbus" in the patch's filename:
15463
15464                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15465
15466         Don't forget the named dbus service file either.
15467
15468         Instead of writing a config file and spawing a named process, NM will
15469         use an already-running dbus-enabled named if it finds one.  NM will
15470         update named's forwarder configuration on the fly using dbus.
15471
15472         If there is no dbus-enabled named running, NM will automatically fall
15473         back to writing the most-recent DNS server information to /etc/resolv.conf
15474         and calling nm_system_update_dns() to kick the system's resolver.
15475
15476         Accordingly, all named-related configure-time options have been removed.
15477
15478 2005-09-26  Robert Love  <rml@novell.com>
15479
15480         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15481           ISDN support!
15482         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15483           bug in error path if "ASKPASSWORD" is "no".
15484
15485 2005-09-26  Robert Love  <rml@novell.com>
15486
15487         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15488           comment in /etc/resolv.conf -- ';' is not.
15489
15490 2005-09-19  Dan Williams  <dcbw@redhat.com>
15491
15492         * src/backends/NetworkManagerRedHat.c:
15493         * src/backends/NetworkManagerDebian.c:
15494         * src/backends/NetworkManagerSlackware.c:
15495         * src/backends/NetworkManagerGentoo.c:
15496         * src/backends/NetworkManagerSUSE.c:
15497         Fix invocations of "/sbin/ip address" to use short form instead
15498
15499 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15500
15501         * src/nm-dbus-device.c: Don't assert when getting
15502         addresses of a not yet connected interface.
15503
15504         * gnome/applet/applet.c: Free icons if loading fails.
15505         Use translator-credits so translators can make themselves known.
15506
15507 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15508
15509         * src/NetworkManagerAP.c:
15510         * src/NetworkManagerAP.h:
15511         * src/NetworkManagerDevice.c:
15512         Set a blacklist for certain common manufacturer default ESSIDs:
15513         APs with these ESSIDs are extremely likely to be completely
15514         different networks: connecting to one should not make NM
15515         auto-connect to every other AP with the same default ESSID.
15516
15517 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15518
15519         * gnome/applet/wireless-applet.glade:
15520         The passphrase entry should also activate the default
15521
15522         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15523
15524         * gnome/applet/applet-dbus-devices.c:
15525         * gnome/applet/applet.c:
15526         * gnome/applet/nm-device.c:
15527         * gnome/applet/nm-device.h:
15528         * src/NetworkManagerUtils.c:
15529         * src/NetworkManagerUtils.h:
15530         * src/nm-dbus-device.c:
15531         I've got a fever, and the only cure for it is less ioctl.
15532         Make NM push IP data rather than make the applet open a socket
15533         to the device.
15534
15535 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15536
15537         * gnome/applet/applet.c:
15538         * gnome/applet/applet-dbus-devices.c:
15539         * gnome/applet/applet-dbus-info.c:
15540         * gnome/applet/passphrase-dialog.c:
15541         * gnome/libnm_glib/libnm_glib.c:
15542         * gnome/vpn-properties/nm-vpn-properties.c:
15543         * src/autoip.c:
15544         * src/backends/NetworkManagerRedHat.c:
15545         * src/named-manager/nm-named-manager.c:
15546         * src/NetworkManagerAPList.c:
15547         * src/NetworkManager.c:
15548         * src/NetworkManagerDbus.c:
15549         * src/NetworkManagerDevice.c:
15550         * src/NetworkManagerPolicy.c:
15551         * src/NetworkManagerSystem.c:
15552         * src/nm-dbus-device.c:
15553         * src/nm-dbus-nm.c:
15554         * src/vpn-manager/nm-vpn-manager.c:
15555         * src/vpn-manager/nm-vpn-service.c:
15556         * test/libnm_glib_test.c:
15557         * test/nminfotest.c:
15558         * test/nmtestdevices.c:
15559         Fix a bunch of 'unused variable' compiler warnings
15560
15561         * NetworkManager.h:
15562         * gnome/applet/applet-dbus-info.c:
15563         * gnome/applet/applet-dbus-info.h:
15564         * gnome/applet/applet.c:
15565         * gnome/applet/applet.h:
15566         * src/NetworkManager.c:
15567         * src/NetworkManagerDbus.c:
15568         * src/NetworkManagerDbus.h:
15569         * src/NetworkManagerDevice.c:
15570         * src/NetworkManagerDevice.h:
15571         * src/NetworkManagerMain.h:
15572         * src/NetworkManagerWireless.c:
15573         * src/NetworkManagerWireless.h:
15574         * src/nm-dbus-nm.c:
15575         Make NetworkManager be smart about how frequently to scan
15576         based on its current state.  Remove the UI for choosing when
15577         to scan.  Scanning still may disabled completely by the user
15578         via the "Wireless Enabled" menu item.
15579
15580 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15581
15582         * gnome/applet/applet.c:
15583         Also overlay the vpn connecting icons onto the wired icon,
15584         when appropriate.
15585
15586         * gnome/vpn-properties/nm-vpn-properties.glade:
15587         Clean up a few strings to use better grammar and proper casing.
15588
15589 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15590
15591         * gnome/applet/vpn-connection.c:
15592         * gnome/applet/vpn-connection.h:
15593         Add nmwa_vpn_connection_is_activating ()
15594
15595         * gnome/applet/applet.c:
15596         * gnome/applet/applet.h:
15597         * gnome/applet/icons/nm-vpn-connecting*.png:
15598         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15599         the user know something's happening between clicking the VPN item and it
15600         actually being connected.
15601
15602 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15603
15604         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15605         failure case as well.
15606
15607 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15608
15609         * gnome/panel/eggtrayicon.[ch]:
15610         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15611
15612 2005-09-07  Dan Williams  <dcbw@redhat.com>
15613
15614         Patch from Bill Moss <bmoss@clemson.edu>
15615         * src/applet-dbus.c
15616                 - (nmwa_dbus_filter): strip whitespace from beginning
15617                         and end of VPN login banner
15618
15619 2005-09-07  Dan Williams  <dcbw@redhat.com>
15620
15621         * The great VPN Manager rewrite of 2005
15622
15623 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15624
15625         * gnome/applet/menu-items.c:
15626         * gnome/applet/nm-device.c:
15627         * gnome/applet/wireless-network.c:
15628         * gnome/libnm_glib/libnm_glib.c:
15629         * src/NetworkManagerDbusUtils.c:
15630         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15631         g_malloc0 doesn't return NULL
15632
15633 2005-09-06  Dan Williams  <dcbw@redhat.com>
15634
15635         Patch from Tomislav Vujec <tvujec@redhat.com>
15636         * src/NetworkManagerDevice.c
15637                 - (nm_get_device_by_udi): don't return a device when we
15638                         actually didn't find what we were looking for
15639
15640 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15641
15642         * gnome/applet/applet-dbus-devices.c:
15643         * gnome/applet/applet-dbus-devices.h:
15644         * gnome/applet/applet-dbus.c:
15645         * src/NetworkManagerDbus.c:
15646         * src/NetworkManagerDbus.h:
15647         * src/NetworkManagerDevice.c:
15648         * src/nm-dbus-device.c:
15649         Make NM push updates about active device strength when it changes,
15650         rather than having the applet poll every 2s.
15651
15652 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15653
15654         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15655         network_device_set_strength
15656
15657 2005-09-04  Dan Williams  <dcbw@redhat.com>
15658
15659         Patch from Bill Nottingham <notting@redhat.com>
15660         * src/NetworkManagerDevice.c
15661                 - (nm_device_activation_cancel): reset the quit_activation flag
15662
15663 2005-09-04  Dan Williams  <dcbw@redhat.com>
15664
15665         * src/nm-activation-request.c
15666                 - (nm_act_request_unref): actually free the structure,
15667                         which we didn't seem to be doing before
15668
15669 2005-09-04  Dan Williams  <dcbw@redhat.com>
15670
15671         Patch from John Palmieri <johnp@redhat.com>
15672         * gnome/applet/applet-dbus-devices.c
15673                 - Fix up unreffing of DBusMessage objects
15674
15675 2005-09-04  Dan Williams  <dcbw@redhat.com>
15676
15677         Patch from John Palmieri <johnp@redhat.com>
15678         * gnome/applet/nm-device.c
15679                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15680
15681 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15682
15683         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15684
15685 2005-09-02  Bill Nottingham  <notting@redhat.com>
15686
15687         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15688
15689 2005-09-01  Dan Williams  <dcbw@redhat.com>
15690
15691         * src/NetworkManager.c
15692                 - (nm_remove_device_from_list): rename to nm_remove_device
15693                 - (nm_hal_device_removed): call nm_remove_device()
15694
15695         * src/NetworkManagerDevice.c
15696                 - Change the NMWirelessScanCB member 'reschedule' which
15697                         wasn't used to 'force' to indicate that we need to
15698                         force a scan when adding a device
15699
15700         * src/nm-dbus-nm.c
15701                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15702                         from the device list
15703                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15704
15705 2005-09-01  Robert Love  <rml@novell.com>
15706
15707         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15708           and the check "!iface" in the error case is probably never true.
15709
15710 2005-09-01  Dan Williams  <dcbw@redhat.com>
15711
15712         Patch from Bill Nottingham <notting@redhat.com>
15713         * src/backends/NetworkManagerRedHat.c
15714                 - Add initial dialup support to Red Hat/Fedora backend
15715
15716 2005-09-01  Dan Williams  <dcbw@redhat.com>
15717
15718         * gnome/applet/applet-dbus-devices.c
15719                 - Sort both wireless networks and devices again, which got
15720                         broken when removing threading
15721
15722 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15723
15724         * gnome/applet/applet.c:
15725         Only show the "Stop/Start All Wireless Devices" menuitem
15726         if we actually have wireless devices.
15727
15728         * gnome/applet/applet-dbus-info.c:
15729         * gnome/applet/applet.c:
15730         * gnome/applet/other-network-dialog.c:
15731         * gnome/applet/vpn-password-dialog.c:
15732         Drop the gtk_dialog_run () calls in favor of connecting to
15733         "response" signals, needed now that the applet is not threaded.
15734
15735 2005-08-31  Dan Williams  <dcbw@redhat.com>
15736
15737         Patch from Bill Moss <bmoss@clemson.edu>
15738         * src/NetworkManagerDevice.c
15739                 - (nm_device_wireless_scan): fix scan timeout values
15740
15741 2005-08-30  Dan Williams  <dcbw@redhat.com>
15742
15743         * gnome/applet/wireless-applet.glade
15744                 - HIG-ify the Other Wireless Networks dialog a bit more
15745                 - Fix some potential segfaults in the info dialog
15746
15747 2005-08-30  Dan Williams  <dcbw@redhat.com>
15748
15749         * gnome/applet/applet-dbus-devices.c
15750                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15751
15752 2005-08-30  Dan Williams  <dcbw@redhat.com>
15753
15754         * gnome/applet/applet-dbus.[ch]
15755                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15756                         they weren't being used anyway
15757
15758 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15759
15760         * test/nmtestdevices.c: (print_usage), (main):
15761         Check the number of arguments, and fix a typo
15762
15763 2005-08-29  Dan Williams  <dcbw@redhat.com>
15764
15765         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15766         * gnome/applet/applet.c
15767                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15768
15769 2005-08-29  Dan Williams  <dcbw@redhat.com>
15770
15771         * gnome/applet/*
15772                 - Don't use threads any more.  Anything that blocks
15773                         (like gtk_dialog_run()) will  have to get fixed up which
15774                         should happen quickly.  We really only had threads to make
15775                         the animation smooth, and when everything got converted over
15776                         to DBus Pending Calls, the need for threads kind of went away
15777
15778 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15779
15780         * gnome/applet/applet.c: Draw VPN connections as radio items
15781         since we don't yet support multiple VPNs.
15782         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15783         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15784
15785 2005-08-29  Dan Williams  <dcbw@redhat.com>
15786
15787         Patch from j@bootlab.org
15788         - Make --without-named work
15789         - Make --with-dhcdbd work correctly
15790
15791 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15792
15793         * configure.in: Added "ca" to ALL_LINGUAS.
15794
15795 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15796
15797         * Fix up VPN state handling between the applet and NetworkManager,
15798                 so that the applet doesn't show a VPN as connected when one
15799                 really is not
15800                         - The applet no longer has a pointer to the active VPN's
15801                                 name, but tracks each VPNs state individually
15802                         - NM no longer has a "getActiveVPNConnection" method
15803                         - NM no longer broadcasts the "VPNConnectionChange" signal
15804                         - NM now broadcasts a "VPNConnectionStateChange" signal
15805                                 whenever the state of a VPN changes
15806
15807 2005-08-26  Dan Williams <dcbw@redhat.com>
15808
15809         * gnome/applet/applet-dbus-devices.c
15810           gnome/applet/applet-dbus-vpn.c
15811                 - Remove calls to dbus_pending_call_ref() because we already
15812                         "own" the pending call
15813                 - Remove calls to dbus_pending_call_get_completed() because
15814                         when we are in the callback, the pending call is completed
15815                         by definition
15816
15817 2005-08-22  Dan Williams <dcbw@redhat.com>
15818
15819         Patch by Bill Moss <bmoss@clemson.edu>
15820         * src/dhcp-manager/nm-dhcp-manager.c
15821                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15822                         some time to send out a RELEASE if they like
15823
15824 2005-08-22  Dan Williams <dcbw@redhat.com>
15825
15826         Noticed by Bill Moss <bmoss@clemson.edu>
15827         * src/NetworkManagerDbus.c
15828                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15829                         instead of just cancelling its activation
15830
15831         * src/NetworkManagerDevice.c
15832                 - (nm_device_deactivate): some small cleanups
15833                 - (nm_device_set_user_key_for_network): deactivate the device
15834                         instead of just cancelling its activation
15835
15836 2005-08-22  Dan Williams <dcbw@redhat.com>
15837
15838         Noticed by Bill Moss <bmoss@clemson.edu>
15839         * src/NetworkManagerDevice.c
15840                 - (nm_device_wireless_scan): fix scan timeout, we were
15841                         waiting way too long for scans to complete
15842
15843 2005-08-22  Dan Williams <dcbw@redhat.com>
15844
15845         Patch from j@bootlab.org:
15846         * src/backends/NetworkManagerDebian.c
15847                 - Make the Debian backend work for static IP again
15848
15849 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15850
15851         * gnome/applet/other-network-dialog.c:
15852         The "Create New Network" and "Connect to Other Network"
15853         dialogs share alot of code, but shouldn't share a window
15854         title.  Give them different ones.
15855
15856         * gnome/applet/wireless-applet.glade:
15857         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15858         Some more minor UI tweaks.
15859
15860 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15861
15862         * gnome/applet/other-network-dialog.c:
15863         * gnome/applet/wireless-applet.glade:
15864         Also need mnemonic widgets, and underline enabled.
15865
15866 2005-08-19  Dan Williams <dcbw@redhat.com>
15867
15868         * vpn-daemons/vpnc/nm-vpnc-service.c
15869                 - (vpnc_watch_cb): remove no-longer-relevant comment
15870                 - (write_config_option): new function, helper to write
15871                         config options to vpnc's stdin
15872                 - (nm_vpnc_config_write): use the new helper, make the
15873                         code shorter
15874
15875 2005-08-19  Christopher Aillon <caillon@redhat.com>
15876
15877         * gnome/applet/passphrase-dialog.c:
15878         * gnome/applet/wireless-applet.glade:
15879         Make the passphrase dialog response based, and treat
15880         responses other than OK (such as Esc, [X]) as a cancel.
15881
15882 2005-08-18  Christopher Aillon <caillon@redhat.com>
15883
15884         * initscript/Gentoo/NetworkManager:
15885         * initscript/RedHat/NetworkManager:
15886         * initscript/RedHat/NetworkManagerDispatcher:
15887         * initscript/SUSE/networkmanager:
15888         CVS remove these in place of .in replacements
15889
15890         * configure.in:
15891         * initscript/Gentoo/NetworkManager.in:
15892         * initscript/RedHat/NetworkManager.in:
15893         * initscript/RedHat/NetworkManagerDispatcher.in:
15894         * initscript/SUSE/networkmanager.in:
15895         These scripts now are generated so they work still when
15896         NM is built using a bindir other than /usr/bin
15897
15898 2005-08-18  Dan Williams <dcbw@redhat.com>
15899
15900         * gnome/applet/main.c
15901                 - Revert previous change for --no-session since
15902                         --sm-disable does the same thing
15903
15904 2005-08-18  Dan Williams <dcbw@redhat.com>
15905
15906         * gnome/applet/applet-dbus-info.c
15907                 - (nmi_dbus_create_error_message): new function
15908                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15909                         functions.  Also don't check for both device _and_ network before
15910                         asking for a user's key, because we may not have gotten all our
15911                         networks back from NM quite yet (due to the dbus pending calls
15912                         coming in later).  Fixes a hang in NM/nm-applet.
15913
15914         * src/NetworkManagerDbus.c
15915                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15916                         slightly more sane manner, even though we are still broken for
15917                         certain other error conditions.
15918                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15919                         to the info-daemon too
15920
15921         * src/NetworkManagerDevice.c
15922                 - Fix some debug messages to be info messages instead
15923
15924 2005-08-18  Dan Williams <dcbw@redhat.com>
15925
15926         * gnome/applet/main.c
15927                 - Add new "--no-session" parameter that disables applet
15928                         session management, ie for testing
15929
15930 2005-08-18  Christopher Aillon <caillon@redhat.com>
15931
15932         * gnome/applet/other-network-dialog.c:
15933         * gnome/applet/wireless-applet.glade: More mnemonics
15934
15935 2005-08-17  Robert Love  <rml@novell.com>
15936
15937         * initscript/SUSE/networkmanager: update
15938
15939 2005-08-17  Dan Williams  <dcbw@redhat.com>
15940
15941         * Tag NM_0_4_1_RELEASE
15942
15943 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15944
15945         * gnome/applet/applet.c: More translatable string cleanup
15946
15947
15948 2005-08-17  Dan Williams  <dcbw@redhat.com>
15949
15950         * gnome/applet/applet-dbus-info.c
15951                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15952                         from the dbus message, which tells us to unconditionally
15953                         ask the user for a new key.  Otherwise, we pull the key from
15954                         the keyring and return it.  If we fail to get the key from the
15955                         keyring, we ask the user for a new key.
15956                 - (nmi_dbus_get_network_key): new function to grab the key for
15957                         an essid from the keyring.
15958                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15959                         Also, don't return any key in the dbus message.
15960
15961         * src/NetworkManagerDbus.[ch]
15962                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15963                         indicate that we unconditionally want a new key.  This function
15964                         is now also used to get keys from the info-daemon which are
15965                         pre-stored, not just for asking the user for a new key.  The
15966                         "new_key" parameter indicates whether or not we wish to ask the
15967                         user for a new key.
15968                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15969                         info-daemon in the return message, so use NULL instead.  The
15970                         key will be filled in at connect time by calling
15971                         nm_dbus_get_user_key_for_network()
15972
15973         * src/NetworkManagerDevice.c
15974                 - (nm_device_wireless_configure): update for "new_key" param to
15975                         nm_dbus_get_user_key_for_network().  We initially set new_key
15976                         to FALSE to see if we have a stored key in the info-daemon, but
15977                         if the connection is unsuccessful at this stage we request a
15978                         new one
15979
15980 2005-08-17  Dan Williams  <dcbw@redhat.com>
15981
15982         * gnome/applet/icons/nm-no-connection.png
15983           gnome/applet/icons/nm-device-wired.png
15984                 - Use Diana's new RJ45 connector icons
15985
15986 2005-08-17  Dan Williams  <dcbw@redhat.com>
15987
15988         * src/NetworkManagerPolicy.c
15989                 - (nm_policy_device_change_check): clarify switching rules if
15990                         both new and old devices are valid; mainly, don't switch
15991                         away from user-requested wireless connection back to a wired
15992                         one
15993
15994 2005-08-17  Dan Williams  <dcbw@redhat.com>
15995
15996         * gnome/applet/Makefile.am
15997                 - Relocate the applet to /usr/bin since it is no longer
15998                         executed by anything, but directly by the user
15999
16000 2005-08-17  Dan Williams  <dcbw@redhat.com>
16001
16002         Patch from Bill Moss <bmoss@clemson.edu>
16003
16004         * gnome/applet/applet-dbus-info.[ch]
16005                 - (nmi_save_network_info): save timestamp for network if it
16006                         was a change requested by the user
16007                 - (nmi_dbus_update_network_info): get user_requested from dbus
16008                         message and pass to nmi_save_network_info()
16009
16010         * gnome/applet/applet.c
16011                 - (nmwa_update_network_timestamp): remove
16012                 - (nmwa_menu_item_activate): don't set timestamp on networks
16013                         here, only after a successful connect in nmi_save_network_info()
16014
16015         * src/NetworkManagerDbus.[ch]
16016                 - (nm_dbus_update_network_info): pass user_requested into the 
16017                         dbus message
16018
16019         * src/NetworkManagerPolicy.c
16020                 - (nm_policy_activation_finish): pass user_requested to
16021                         nm_dbus_update_network_info()
16022
16023 2005-08-16  Robert Love  <rml@novell.com>
16024
16025         * gnome/applet/applet.c: Better "Dial Up" menu item.
16026
16027 2005-08-16  Robert Love  <rml@novell.com>
16028
16029         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16030           "Connection Information" menu item.
16031
16032 2005-08-16  Dan Williams  <dcbw@redhat.com>
16033
16034         Patch from j@bootlab.org
16035         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16036
16037         * configure.in: allow specifying the path to dhcdbd
16038
16039 2005-08-16  Robert Love  <rml@novell.com>
16040
16041         Patch from j@bootlab.org
16042         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16043           src/backends/interface_parser.h: Debian dialup support.
16044
16045 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16046
16047         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16048         * gnome/applet/applet.c: Add some mnemonics for VPNC
16049
16050         * vpn-daemons/.cvsignore: fix this up a little bit
16051
16052 2005-08-16  Robert Love  <rml@novell.com>
16053
16054         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16055           support.
16056
16057 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16058
16059         * gnome/applet/applet.c: Split markup out of translatable strings
16060         and clean up logic a little bit.  (fixes #309012)
16061
16062 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16063
16064         * gnome/vpn-properties/nm-vpn-properties.c:
16065         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16066         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16067         Makeshift fix to remove newlines from translatable strings.
16068         Note that we now return an allocated string, so callers of
16069         get_confirmation_details () must now call g_free () on the
16070         result. (fixes #309033).
16071
16072 2005-08-12  Robert Love  <rml@novell.com>
16073
16074         * gnome/applet/applet-dbus.c: remove newlines from translatable
16075           strings--not needed here anyway. (fix b.g.o #309011)
16076         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16077
16078 2005-08-11  Robert Love  <rml@novell.com>
16079
16080         * gnome/applet/applet.c: mark string as translatable.
16081
16082 2005-08-11  Robert Love  <rml@novell.com>
16083
16084         * initscript/SUSE/networkmanager: update.
16085
16086 2005-08-11  Dan Williams  <dcbw@redhat.com>
16087
16088         * src/nm-dhcp-manager.c
16089                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16090                         an gateway returned from DHCP, try to use the address of the DHCP
16091                         server as the gateway instead.  Found by Ralf Ertzinger.
16092
16093 2005-08-10  Robert Love  <rml@novell.com>
16094
16095         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16096           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16097
16098 2005-08-10  Dan Williams  <dcbw@redhat.com>
16099
16100         Patch from Bill Moss <bmoss@clemson.edu>
16101         * Consolidate writes of access point information updates to the info daemon
16102                 so that we only do it when the connection to the access point was
16103                 successful.  Also consolidates updates to GConf in the Gnome applet.
16104
16105         * src/nm-netlink-monitor.c
16106                 - Silence compile warning when calling g_object_new()
16107
16108 2005-08-08  Dan Williams  <dcbw@redhat.com>
16109
16110         Patch from Steev <steev@steev.net>:
16111         * src/backends/NetworkManagerGentoo.c
16112                 - Stub new dialup backend functions
16113
16114 2005-08-08  Dan Williams  <dcbw@redhat.com>
16115
16116         Patch from Colin Slater:
16117         * src/backends/NetworkManagerGentoo.c
16118                 - (nm_system_update_dns): Fix exit status check for restarting
16119                         nscd
16120
16121 2005-08-05  Robert Love  <rml@novell.com>
16122
16123         * NetworkManager.h,
16124           gnome/applet/applet-dbus-devices.c,
16125           gnome/applet/applet-dbus-devices.h,
16126           gnome/applet/applet-dbus.c,
16127           gnome/applet/applet.c,
16128           gnome/applet/applet.h,
16129           src/NetworkManager.c,
16130           src/NetworkManagerMain.h,
16131           src/NetworkManagerSystem.h,
16132           src/backends/NetworkManagerRedHat.c,
16133           src/backends/NetworkManagerSuSE.c,
16134           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16135
16136 2005-08-05  Robert Love  <rml@novell.com>
16137
16138         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16139           machine's hostname to make adhoc creation idiot-proof.
16140
16141 2005-08-04  Robert Love  <rml@novell.com>
16142
16143         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16144           freed.
16145
16146 2005-08-04  Dan Williams  <dcbw@redhat.com>
16147
16148         * gnome/applet/applet-dbus-info.c
16149           gnome/applet/applet-dbus-info.h
16150                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16151                         to store key, key type, and auth method rather than just auth method
16152                 - (nmi_dbus_update_network_info): new function
16153                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16154
16155         * gnome/applet/passphrase-dialog.c
16156                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16157                         of saving the info ourselves
16158
16159         * gnome/libnm_glib/libnm_glib.c
16160                 - Remove the stupid version check for dbus
16161
16162         * src/NetworkManagerAP.c
16163           src/NetworkManagerAP.h
16164                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16165
16166         * src/NetworkManagerDbus.c
16167           src/NetworkManagerDbus.h
16168                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16169                         more than just the auth method
16170
16171         * src/NetworkManagerDevice.c
16172                 - Update network info at the appropriate times
16173
16174 2005-07-29  Ray Strode  <rstrode@redhat.com>
16175
16176         * src/NetworkManager.c (nm_info_handler): don't use input as format
16177         string (Spotted by Ian Jackson).
16178
16179 2005-07-27  Dan Williams  <dcbw@redhat.com>
16180
16181         * src/nm-dbus-nm.c
16182           src/nm-dbus-net.c
16183                 - Random cleanups of spacing
16184
16185         * gnome/applet/applet.h
16186           gnome/applet/other-network-dialog.c
16187           gnome/applet/passphrase-dialog.c
16188                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16189
16190         Patch from Bill Moss:
16191                 - Make Other Wireless Networks work again with encryption keys
16192
16193 2005-07-26  Dan Williams  <dcbw@redhat.com>
16194
16195         Patch from Steev <steev@steev.net>:
16196         * src/backends/NetworkManagerGentoo.c
16197           src/backends/Makefile.am
16198                 - Fix up Gentoo backend
16199
16200 2005-07-26  Robert Love  <rml@novell.com>
16201
16202         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16203
16204 2005-07-25  Robert Love  <rml@novell.com>
16205
16206         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16207           in the same group as the wireless networks, since they are all
16208           mutually exclusive.
16209
16210 2005-07-24  Ray Strode  <rstrode@redhat.com>
16211
16212         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16213         remove unneeded NULL arg from g_object_new().  Any
16214         warnings caused by not having the extra NULL are just a
16215         result of a bug in glib 2.7.0 - 2.7.2.
16216
16217 2005-07-22  Robert Love  <rml@novell.com>
16218
16219         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16220
16221 2005-07-22  Robert Love  <rml@novell.com>
16222
16223         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16224           parameters (gcc 4.0.2 warning fix).
16225
16226 2005-07-18  Robert Love  <rml@novell.com>
16227
16228         Suggested by Aaron Bockover (abockover@novell.com)
16229         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16230           s/Ascii/ASCII
16231         * gnome/applet/passphrase-dialog.c: ditto
16232         * gnome/applet/wireless-applet.glade: ditto
16233
16234 2005-07-13  Dan Williams  <dcbw@redhat.com>
16235
16236         Patch from Ray Strode <halfline@gmail.com>
16237         * vpn-daemons/vpnc/nm-vpnc-service.c
16238                 - Don't let vpnc daemonize, fixes some races with PID file reading
16239
16240 2005-07-13  Dan Williams  <dcbw@redhat.com>
16241
16242         Patch from Ray Strode <halfline@gmail.com>
16243         * Random cleanups for strict CFLAGS
16244
16245 2005-07-07  Dan Williams  <dcbw@redhat.com>
16246
16247         Patch from Derek Atkins <warlord@MIT.EDU>
16248         * src/nm-dbus-net.c:
16249                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16250
16251 2005-07-07  Dan Williams  <dcbw@redhat.com>
16252
16253         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16254         * src/backends/NetworkManagerGentoo.c
16255                 - Gentoo backend Static IP nameserver fixes
16256                 - General Gentoo backend goodness
16257
16258 2005-07-07  Dan Williams  <dcbw@redhat.com>
16259
16260         Patch from Bastien Nocera:
16261         * gnome/applet/applet.c
16262                 - Fix up error reporting when icons or glade files are missing
16263
16264 2005-07-07  Robert Love  <rml@novell.com>
16265
16266         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16267           are not any VPN connections above it.
16268
16269 2005-07-07  Robert Love  <rml@novell.com>
16270
16271         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16272
16273 2005-07-05  Robert Love  <rml@novell.com>
16274
16275         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16276           zero.
16277
16278 2005-07-05  Robert Love  <rml@novell.com>
16279
16280         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16281           on wired or unencrypted wireless.
16282
16283 2005-07-01  Robert Love  <rml@novell.com>
16284
16285         * src/NetworkManagerSystem.c: Print the error via strerror().
16286
16287 2005-06-30  Robert Love  <rml@novell.com>
16288
16289         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16290           then exit if the glade file is not found.  currently the application
16291           just hangs.
16292
16293 2005-06-30  Robert Love  <rml@novell.com>
16294
16295         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16296           explicitly up all interfaces on wake from sleep.
16297
16298 2005-06-30  Robert Love  <rml@novell.com>
16299
16300         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16301           with information about the currently active connection.
16302         * gnome/applet/applet.h: (ditto)
16303         * gnome/applet/wireless-applet.glade: (ditto), new file
16304
16305 2005-06-30  Robert Love  <rml@novell.com>
16306
16307         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16308         * src/nm-dbus-nm.c: print when we sleep and wake up.
16309         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16310         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16311           in /sbin unless D-BUS is, folks).
16312         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16313
16314 2005-06-27  Robert Love  <rml@novell.com>
16315
16316         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16317           case.
16318
16319 2005-06-27  Robert Love  <rml@novell.com>
16320
16321         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16322           items radios.
16323
16324 2005-06-26  Robert Love  <rml@novell.com>
16325
16326         * src/NetworkManagerDevice.c: be specific about which device in
16327           nm_info() message.
16328
16329 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16330
16331         * src/nm-netlink-monitor.c: correct spelling error.
16332
16333 2005-06-23  Robert Love  <rml@novell.com>
16334
16335         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16336         * gnome/applet/passphrase-dialog.c: more of that keyring!
16337
16338 2005-06-23  Robert Love  <rml@novell.com>
16339
16340         * configure.in: remove extraneous GNOMEKEYRING directives.
16341         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16342         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16343         * gnome/applet/passphrase-dialog.c: whitespace.
16344
16345 2005-06-23  Robert Love  <rml@novell.com>
16346
16347         * src/NetworkManagerDevice.c: division in assignment was flipped.
16348
16349 2005-06-23  David Zeuthen  <david@fubar.dk>
16350
16351         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16352         signal to the child to indicate that we got what we wanted when we
16353         see two new-lines right after each other.
16354         (nmwa_vpn_request_password): Pass a structure with several members
16355         instead of just the passwords
16356
16357 2005-06-23  Dan Williams <dcbw@redhat.com>
16358
16359         * src/NetworkManager.c
16360           src/NetworkManagerMain.h
16361                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16362                 - (nm_hal_init): new function, init libhal context then add devices
16363                 - (nm_hal_deinit): new function, clean up libhal context
16364                 - (nm_data_free): Move Hal cleanup here
16365                 - (main): check whether Hal is running, and if so, get a list of
16366                         network devices from it
16367
16368         * src/NetworkManagerDbus.c
16369                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16370                         and when it appears, get a list of network devices from it.  If
16371                         Hal goes away, clean up the libhal context
16372
16373 2005-06-22  Robert Love  <rml@novell.com>
16374
16375         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16376           permissions of scripts before executing.
16377
16378 2005-06-21  Robert Love  <rml@novell.com>
16379
16380         * initscript/SUSE/networkmanager: update.
16381         * src/backends/NetworkManagerSuSE.c: cleanup.
16382
16383 2005-06-21  Robert Love <rml@novell.com>
16384
16385         * gnome/applet/applet.c: use menu mnemonics.
16386         * gnome/applet/menu-items.c: (ditto)
16387
16388 2005-06-21  Robert Love  <rml@novell.com>
16389
16390         * applet/applet-dbus-devices.c: mark non-static functions static.
16391         * applet/applet-dbus-vpn.c: (ditto)
16392         * applet/applet.c: (ditto)
16393         * applet/nm-device.h: (ditto)
16394         * applet/other-network-dialog.c: (ditto)
16395         * applet/passphrase-dialog.c: (ditto)
16396         * NetworkManager.c: (ditto)
16397         * NetworkManagerDbus.c: (ditto)
16398         * NetworkManagerDevice.c: (ditto)
16399         * NetworkManagerPolicy.c: (ditto)
16400         * NetworkManagerUtils.c: (ditto)
16401         * NetworkManagerWireless.c: (ditto)
16402         * NetworkManagerWireless.h: (ditto)
16403         * nm-netlink-monitor.c: (ditto)
16404         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16405         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16406         * autoip.c: include autoip.h.
16407         * autoip.h: new file.  define get_autoip().
16408         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16409         * NetworkManagerDbus.h: remove duplicate definitions.
16410
16411 2005-06-20  Robert Love  <rml@novell.com>
16412
16413         * Makefile.am: Add missing intltool-foo.in generated files to
16414           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16415           with the start of stuff to cleanup on 'distclea'.
16416         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16417           stuff right and 'distcheck' works.
16418         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16419           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16420           Makefile.am for each.  And systray/Makefile needs to be redone.
16421
16422 2005-06-19  Dan Williams <dcbw@redhat.com>
16423
16424         * src/NetworkManagerDevice.c
16425         - (nm_device_wireless_process_scan_results): scan every 20s when
16426           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16427
16428 2005-06-19  Dan Williams <dcbw@redhat.com>
16429
16430         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16431
16432 2005-06-18  Ray Strode <rstrode@redhat.com>
16433
16434         * src/nm-netlink-monitor.c 
16435         (nm_netlink_monitor_event_handler): check for the presence
16436         of either error condition not both. 
16437         
16438         (nm_netlink_monitor_error_handler): emit error signal if
16439         error occurs.
16440
16441         (nm_netlink_monitor_event_handler),
16442         (nm_netlink_monitor_error_handler),
16443         (nm_netlink_monitor_disconnect_handler): if an 
16444         assertion fails disconnect the event handler to prevent 
16445         infinite loops.
16446
16447         * src/nm-netlink-monitor.h: add new error condition
16448         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16449
16450 2005-06-18  Ray Strode <rstrode@redhat.com>
16451
16452         * src/nm-netlink-monitor.c 
16453         (nm_netlink_monitor_event_handler): remove bogus < 0
16454         check on unsigned value and return early if the kernel
16455         didn't send any bytes.
16456
16457 2005-06-17  Robert Love  <rml@novell.com>
16458
16459         * initscript/SUSE/networkmanager: Change the Provides and default
16460         run levels
16461
16462 2005-06-16  Dan Williams <dcbw@redhat.com>
16463
16464         Patch from Robert Love:
16465         * gnome/applet/applet.c
16466                 - Beautify some applet menu item names
16467
16468 2005-06-17  David Zeuthen  <davidz@redhat.com>
16469
16470         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16471         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16472         Also add new methods can_export, import_file and export.
16473
16474         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16475         to the main UI
16476
16477         * gnome/vpn-properties/nm-vpn-properties.c:
16478         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16479         nm-vpn-ui-interface.h.
16480         (update_edit_del_sensitivity): Also update "Export" sensitivity
16481         (add_vpn_connection): Also add new SVC_NAME column
16482         (import_settings): New function
16483         (retrieve_data_from_selected_connection): New function
16484         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16485         this function
16486         (export_cb): New function
16487         (init_app): Also setup the "export" widget
16488         (main): Support the --import-service and --import-file commandline
16489         arguments
16490
16491         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16492         D-BUS 0.34
16493
16494 2005-06-16  Dan Williams <dcbw@redhat.com>
16495
16496         Patch from Robert Love:
16497         * gnome/applet/menu-items.c
16498                 - (network_menu_item_new): pass -1 as wireless network
16499                         menu items height size request rather than ascent / 2
16500
16501 2005-06-16  Dan Williams <dcbw@redhat.com>
16502
16503         * Clean up wording in Wireless Scan Methods menu items and constants
16504
16505 2005-06-16  Robert Love  <rml@novell.com>
16506
16507         * po/POTFILES.in
16508                 - remove gtkcell* files
16509
16510 2005-06-15  Dan Williams <dcbw@redhat.com>
16511
16512         Patch from Robert Love: make the applet stetic
16513
16514         * gnome/applet/Makefile.am
16515                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16516
16517         * gnome/applet/gtkcellview.h
16518           gnome/applet/gtkcellview.c
16519           gnome/applet/gtkcellrendererprogress.h
16520           gnome/applet/gtkcellrendererprogress.c
16521                 - Removed
16522
16523         * gnome/applet/menu-items.c
16524                 - Progress bars are 5:1 size ratio
16525                 - Use GTK progress bars rather than internal ones
16526
16527 2005-06-15  Dan Williams <dcbw@redhat.com>
16528
16529         Patch from Robert Love:
16530         * initscript/SUSE/networkmanager
16531                 - Fix typo
16532
16533 2005-06-15  Dan Williams <dcbw@redhat.com>
16534
16535         * src/backends/NetworkManagerSuSE.c
16536           src/backends/NetworkManagerRedHat.c
16537           src/backends/NetworkManagerDebian.c
16538                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16539
16540 2005-06-15  Dan Williams <dcbw@redhat.com>
16541
16542         * src/backends/NetworkManagerDebian.c
16543                 - Add nm_system_device_get_use_dhcp() to debian backend
16544
16545         Patch from Kay Sievers:
16546         * src/backends/NetworkManagerSuSE.c
16547                 - Update debian backend for static IP nameservers
16548
16549         * src/NetworkManagerDevice.c
16550                 - Actually set the device to use static IP or DHCP rather
16551                         than always DHCP
16552
16553 2005-06-15  Dan Williams <dcbw@redhat.com>
16554
16555         Patch from Thom May:
16556         * src/backends/NetworkManagerDebian.c
16557                 - Update debian backend for static IP nameservers
16558
16559 2005-06-15  Dan Williams <dcbw@redhat.com>
16560
16561         Patches from Robert Love:
16562         * gnome/applet/wireless-applet.glade
16563                 - Tighten up wording
16564
16565         * src/NetworkManagerDevice.c
16566                 - Remove misplaced ';'
16567
16568         * configure.in
16569           initscript/Makefile.am
16570           initscript/SUSE/Makefile.am
16571           initscript/SUSE/networkmanager
16572                 - Add SUSE initscript
16573
16574 2005-06-12  David Zeuthen  <davidz@redhat.com>
16575
16576         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16577
16578         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16579
16580         * gnome/vpn-properties/nm-vpn-properties.c: New file
16581
16582         * gnome/vpn-properties/Makefile.am: New file
16583
16584         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16585         array of passwords
16586
16587         * src/vpn-manager/nm-vpn-manager.c
16588         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16589         instead of just a single one
16590
16591         * src/vpn-manager/nm-dbus-vpn.c:
16592         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16593         here
16594         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16595
16596         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16597         Change the interface here to give a list of passwords. Also, don't
16598         require username, but do require service
16599
16600         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16601         the binary for the auth-dialog and use that instead of putting up a
16602         dialog asking for a single password
16603
16604         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16605         however do remember the service
16606
16607         * gnome/applet/main.c (main): Setup i18n
16608
16609         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16610         connection to '%s'" to the tooltip if we are connected using VPN
16611         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16612         key to determine whether we the auth-dialog needs to
16613         reprompt. Also cope with the fact that the auth-dialog now returns
16614         an array of passwords.
16615         (nmwa_menu_configure_vpn_item_activate): New handler for
16616         "Configure VPN..." menu item
16617         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16618         (is_vpn_available): New function to determine if we got any
16619         NM-compatible VPN software installed
16620         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16621         items only if we have NM-compatible VPN software installed
16622         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16623         logic for detecting when VPN connections are removed
16624
16625         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16626         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16627         since these are defined elsewhere
16628
16629         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16630         function used to keep track of whether the last attempt succeded
16631         (nmwa_dbus_filter): Update last_attempt according to whether the
16632         VPN connection could be established or not
16633
16634         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16635         Change prototype to take an array of passwords, not just a single
16636         password
16637
16638         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16639         update service, not user
16640         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16641         dbus_active_vpn_name is not NULL before using it
16642         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16643         string array instead of assuming a single password
16644
16645         * gnome/applet/applet-dbus-info.c:
16646         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16647         user name; don't read from gconf
16648
16649         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16650         VPN_NAME_FILES_DIR
16651
16652         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16653
16654         * configure.in: Add checks for gmodule-2.0.
16655         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16656         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16657         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16658         for details
16659
16660         * vpn-daemons/Makefile.am: Removed
16661
16662         * vpn-daemons/README: New file to describe extensions points for VPN
16663         software
16664
16665 2005-06-10  Dan Williams <dcbw@redhat.com>
16666
16667         * src/backends/NetworkManagerRedHat.c
16668                 - (get_current_profile_name): new function, grab current network profile name from
16669                         /etc/sysconfig/network
16670                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16671                         update an IP4 Config structure's settings from it
16672                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16673                         get DNS info from current network profile
16674
16675 2005-06-09  Dan Williams <dcbw@redhat.com>
16676
16677         Patch from Robert Love:
16678         * src/NetworkManagerDevice.c
16679           src/NetworkManagerUtils.c
16680                 - 64-bit build fixes
16681
16682 2005-06-09  Dan Williams <dcbw@redhat.com>
16683
16684         Patch from Kay Sievers and Robert Love:
16685         * configure.in
16686           src/backends/Makefile.am
16687           src/backends/NetworkManagerSuSE.c
16688                 - Add SuSE support
16689
16690 2005-06-09  Dan Williams <dcbw@redhat.com>
16691
16692         * NetworkManager.h
16693                 - Add NMWirelessScanMethod enum for scan methods
16694
16695         * gnome/applet/applet-dbus-devices.c
16696                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16697                 - (nmwa_dbus_update_scanning_enabled): remove
16698                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16699                         since it got removed
16700                 - (nmwa_dbus_enable_scanning): remove
16701
16702         * gnome/applet/applet-dbus-info.c
16703                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16704                         update the wireless scanning method from NMI
16705                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16706                         method value to NetworkManager
16707                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16708
16709         * gnome/applet/applet-dbus-info.h
16710                 - Add prototype for nmi_dbus_signal_update_scan_method
16711
16712         * gnome/applet/applet.c
16713                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16714                         Wireless Scanning menu based on current wireless scan method
16715                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16716                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16717                         and update our menu items to make sure the right one is checked
16718                 - (nmwa_set_scanning_enabled_cb): remove
16719                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16720                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16721                         Scanning menu item
16722                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16723                         from GConf
16724                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16725                         so we get notified of preference values too
16726                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16727
16728         * gnome/applet/applet.h
16729                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16730                 - Add wireless scan method member to applet data
16731                 - Remove pause_scanning_item, add Wireless Scanning submenu
16732
16733         * src/NetworkManager.c
16734                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16735                 - (main): grab scanning method from NMI if we can
16736
16737         * src/NetworkManagerDbus.c
16738                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16739                         nm_dbus_update_wireless_scan_method()
16740                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16741                         from NMI
16742                 - (nm_dbus_nmi_is_running): redundant function, removed
16743                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16744                         when NMI comes back
16745
16746         * src/NetworkManagerDevice.c
16747                 - (nm_device_is_activated): return TRUE if the device is activated
16748                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16749                         and we are activated
16750
16751         * src/nm-dbus-nm.c
16752                 - (nm_dbus_nm_set_scanning_enabled): removed
16753                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16754                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16755
16756 2005-06-09  Dan Williams <dcbw@redhat.com>
16757
16758         * NetworkManager.h
16759           src/vpn-manager/nm-vpn-service.c
16760                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16761
16762 2005-05-27  Dan Williams <dcbw@redhat.com>
16763
16764         * vpn-daemons/vpnc/nm-vpnc-service.c
16765                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16766                         Should fix the bug where the VPN connection terminates the first time.
16767
16768 2005-05-20  Dan Williams <dcbw@redhat.com>
16769
16770         * NetworkManager.h
16771                 - Differentiate VPN config signals between bad VPN config options
16772                         and bad IP config
16773
16774         * gnome/applet/applet-dbus-info.h
16775                 - Add prototypes for wireless network and vpn connection update functions
16776
16777         * gnome/applet/applet-dbus.c
16778                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16779
16780         * gnome/applet/applet.c
16781                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16782                         error signals
16783                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16784                         propogation to NetworkManager
16785                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16786                         notify propogation to NetworkManager
16787
16788         * src/NetworkManagerDbus.c
16789                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16790                         are updating so a network can be removed from it if necessary
16791
16792         * src/vpn-manager/nm-vpn-manager.c
16793                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16794
16795         * vpn-daemons/vpnc/nm-vpnc-service.c
16796                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16797                 - (nm_vpnc_dbus_signal_launch_failed): remove
16798                 - (nm_vpnc_dbus_signal_connect_failed): remove
16799                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16800                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16801                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16802                         for new generalized error signal function, remove config file stuff
16803                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16804                         we can write configuration options to it
16805                 - (nm_vpnc_config_file_generate): removed
16806                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16807                 - (nm_vpnc_config_options_validate): validate the config options we receive
16808                         from NetworkManager to block potential exploits
16809                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16810                         starting vpnc
16811                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16812                         to NetworkManager
16813
16814 2005-05-16  Dan Williams  <dcbw@redhat.com>
16815
16816         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16817                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16818                         is not "connect"
16819
16820 2005-05-16  Dan Williams  <dcbw@redhat.com>
16821
16822         Patch from Tomislav Vujec <tvujec@redhat.com>
16823         * gnome/applet/applet-dbus-info.c
16824                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16825                         GConf and pass them to NetworkManager.  New key is 'routes' under
16826                         the VPN connection, and should be a string list
16827
16828         * src/NetworkManagerSystem.c
16829                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16830                         set them on the device when we set the rest of the VPN config.  Ensure
16831                         they are in the correct format since they are passed directly to the
16832                         command line.
16833
16834         * src/backends/NetworkManagerRedHat.c
16835           src/backends/NetworkManagerDebian.c
16836                 - (nm_system_device_add_route_via_device_with_iface): new function
16837
16838         * src/vpn-manager/nm-dbus-vpn.c
16839                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16840
16841         * src/vpn-manager/nm-vpn-manager.c
16842                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16843                         them into the IP4 config functions
16844
16845 2005-05-15  Dan Williams  <dcbw@redhat.com>
16846
16847         From Filip Miletic:
16848         * po/sr.po
16849           po/sr@Latn.po
16850           configure.in
16851                 - Serbian translation added
16852
16853 2005-05-15  Dan Williams  <dcbw@redhat.com>
16854
16855         * dispatcher-daemon/NetworkManagerDispatcher.c
16856                 - (main): sync arguments with NetworkManager and the applet, now use
16857                         "--no-daemon" rather than "daemon=no"
16858                 - (nmd_print_usage): Fix script path in usage message
16859
16860 2005-05-15  Dan Williams  <dcbw@redhat.com>
16861
16862         * src/NetworkManagerDevice.[ch]
16863           src/NetworkManagerPolicy.c
16864           src/NetworkManager.c
16865           src/nm-dbus-nm.c
16866                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16867                         longer send the DeviceNoLongerActive signal unconditionally, but only
16868                         when the device is actually active.
16869
16870         * dispatcher-daemon/NetworkManagerDispatcher.c
16871                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16872                         and simplify the logic
16873                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16874                         we free it later on
16875
16876         * initscript/RedHat/Makefile.am
16877           initscript/RedHat/NetworkManagerDispatcher
16878                 - Add initscript for NetworkManagerDispatcher
16879
16880
16881         Patch from Bill Moss:
16882         * dispatcher-daemon/NetworkManagerDispatcher.c
16883                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16884
16885         * src/NetworkManagerDbus.c
16886                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16887                         and DeviceNowActive gets signaled, then the device has a new IP address
16888                         anyway.  There's no need for a separate signal.
16889
16890         * src/NetworkManagerDevice.c
16891                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16892
16893         * src/NetworkManagerPolicy.c
16894                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16895                         activates successfully.  This kind of went missing when I reworked the
16896                         activation code.
16897
16898 2005-05-15  Dan Williams  <dcbw@redhat.com>
16899
16900         * configure.in
16901                 - Check for dhcdbd and error if its not found
16902
16903         * src/dhcp-manager/Makefile.am
16904           src/dhcp-manager/nm-dhcp-manager.c
16905                 - Use path to dhcdbd that configure found
16906
16907 2005-05-14  Dan Williams  <dcbw@redhat.com>
16908
16909         * gnome/applet/nm-device.c
16910                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16911                         sort wireless networks alphabetically
16912
16913         * gnome/applet/applet-dbus-devices.c
16914                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16915                         before copying them over to the GUI
16916
16917 2005-05-14  Dan Williams  <dcbw@redhat.com>
16918
16919         * src/NetworkManager.c
16920                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16921                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16922                         the device list, as does nm_get_active_device() which is called from
16923                         nm_vpn_manager_deactivate_vpn_connection().
16924
16925 2005-05-14  Dan Williams  <dcbw@redhat.com>
16926
16927         * NetworkManager.h
16928                 - Add signals for VPN Launch and Connect failures
16929
16930         * gnome/applet/applet-dbus.c
16931                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16932
16933         * gnome/applet/applet.c
16934                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16935                         function to handle all VPN failure messages
16936                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16937                         function to hanlde all VPN failure  messages
16938                 - (show_warning_dialog): work around focus-stealing prevention
16939
16940         * gnome/applet/other-network-dialog.c
16941           gnome/applet/passphrase-dialog.c
16942                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16943                         problem where it never enabled for ASCII Key and Hex Key types
16944
16945         * gnome/applet/wireless-applet.glade
16946                 - Add window title to Other Wireless Network Dialog
16947
16948         * src/vpn-manager/nm-dbus-vpn.c
16949                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16950                         function to handle all VPN failure messages
16951
16952         * src/vpn-manager/nm-vpn-manager.c
16953                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16954
16955         * vpn-daemons/vpnc/nm-vpnc-service.c
16956                 - (nm_vpnc_dbus_signal_launch_failed): new function
16957                 - (nm_vpnc_dbus_signal_connect_failed): new function
16958                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16959                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16960                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16961                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16962
16963 2005-05-11  Dan Williams  <dcbw@redhat.com>
16964
16965         * vpn-daemons/vpnc/nm-vpnc-service.c
16966                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16967                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16968                         file exists before trying to write it out.
16969
16970 2005-05-10  Dan Williams  <dcbw@redhat.com>
16971
16972     * gnome/applet/applet-dbus-device.c
16973         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16974             prevented just entering ESSID and leaving key and key type up to
16975             NetworkManager (which should have them already cached)
16976
16977 2005-05-08  Dan Williams  <dcbw@redhat.com>
16978
16979         * src/NetworkManagerPolicy.c
16980                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16981                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16982                         fix a situation where NM is told to terminate and the device stops activation,
16983                         but the main thread isn't aware of that because it would never have run
16984                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16985                         had already quit.
16986
16987         * src/NetworkManagerDevice.c
16988                 - (nm_device_probe_wired_link_state): cosmetic fixes
16989                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16990                         we've failed to activate or been canceled.
16991                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16992
16993 2005-05-08  Dan Williams  <dcbw@redhat.com>
16994
16995         * src/NetworkManagerWireless.c
16996                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16997                         value of WEXT quality structures, and add a debug message when we cannot
16998                         determine any quality % at all
16999
17000 2005-05-08  Dan Williams  <dcbw@redhat.com>
17001
17002         * src/dhcp-manager/nm-dhcp-manager.c
17003                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17004                         it goes down.
17005
17006 2005-05-06  Dan Williams  <dcbw@redhat.com>
17007
17008         * gnome/applet/applet-dbus-device.c
17009           gnome/applet/applet-dbus-info.c
17010           gnome/applet/applet-dbus.c
17011           gnome/applet/applet.c
17012           gnome/applet/applet.h
17013                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17014
17015         * gnome/applet/applet-dbus.c
17016                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17017                         so we notice when wired device's carriers come back on.  Should
17018                         fix issue with wired devices being grayed out even if the cable
17019                         is in, for devices that support carrier detection.
17020
17021         * gnome/applet/applet.c
17022                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17023                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17024                         tooltip message
17025                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17026                         Fix situation where applet wouldn't respond to menu selections
17027
17028         * src/NetworkManager.c
17029           src/NetworkManagerDevice.c
17030           src/NetworkManagerDbus.c
17031           src/NetworkManagerDbus.h
17032                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17033
17034         * src/NetworkManagerDbus.c
17035                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17036                         Remove, no longer used or relevant
17037                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17038                 - (nm_dbus_schedule_device_status_change_signal): add
17039
17040         * src/NetworkManagerDevice.c
17041                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17042                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17043                         ie don't deactivate them unless explicitly told to by the user.  Also send
17044                         CARRIER_OFF / CARRIER_ON signals when link changes
17045                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17046                         Don't print error message when device is no longer around
17047                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17048                         not just during activation
17049
17050         * src/NetworkManagerPolicy.c
17051                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17052                         auto-device-selection.
17053                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17054
17055         * src/NetworkManagerSystem.c
17056                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17057                         is no longer present (Bill Moss)
17058
17059         * src/backends/shvar.c
17060                 - (svOpenFile): Open read-only to make SELinux happy
17061
17062         * src/backends/NetworkManagerRedHat.c
17063                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17064                         the path to the ifcfg-* files
17065
17066 2005-05-05  Dan Williams  <dcbw@redhat.com>
17067
17068         * Expose activation stages to NetworkManager clients, like the applet
17069         * Add Diana's progress icons to the applet, cued off NM activation stage
17070         * Use more descriptive tooltips, cued off NM activation stage
17071
17072 2005-05-05  Ray Strode  <rstrode@redhat.com>
17073
17074         * src/nm-netlink-monitor.c:
17075                 - Use clear_event_source instead of g_nullify_pointer() again.
17076
17077 2005-05-05  Dan Williams  <dcbw@redhat.com>
17078
17079         * gnome/applet/main.c
17080                 - Fix session management so the applet is actually managed now
17081
17082         * gnome/applet/passphrase-dialog.c
17083                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17084
17085 2005-05-05  Dan Williams  <dcbw@redhat.com>
17086
17087         Patch from Bill Moss:
17088         * gnome/libnm_glib/libnm_glib.c
17089                 - Fix for dbus-0.33
17090
17091 2005-05-05  Dan Williams  <dcbw@redhat.com>
17092
17093         Suggestion from Bill Moss:
17094         * src/NetworkManagerSystem.c
17095                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17096
17097
17098         * src/NetworkManager.c
17099                 - (nm_data_free): move destruction of the various managers after
17100                         release of device list, because deactivating and freeing a device
17101                         requires at least the named manager
17102                 - (nm_poll_and_update_wireless_link_state):
17103                   (nm_device_link_activated):
17104                   (nm_device_link_deactivated):
17105                         don't grab the device list lock when actually updating device
17106                         link status or strength, since nm_device_set_link_active()
17107                         needs to call nm_get_active_device(), which also locks the device list.
17108
17109         * src/NetworkManagerDevice.c
17110                 - (nm_device_set_link_active): if a device's link switches from off->on,
17111                         and it's wired, and the active device is wireless (or there is no
17112                         active device), activate the new device whose link just came on
17113                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17114                         my only calling the link to the current ap "failed" when more than 2
17115                         consecutive link checks have failed
17116
17117 2005-05-04  Dan Williams  <dcbw@redhat.com>
17118
17119         * src/NetworkManagerDevice.c
17120                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17121                         but let link_to_specific_ap() do the locking where it needs
17122
17123         Patch from Bill Moss:
17124         * src/NetworkManagerSystem.c
17125                 - Set MTU of VPN devices to 1412
17126
17127 2005-05-04  Dan Williams  <dcbw@redhat.com>
17128
17129         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17130
17131         * Fix some holes in device activation and retaining the currently connected
17132                 access point
17133
17134 2005-05-03  Dan Williams  <dcbw@redhat.com>
17135
17136         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17137           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17138           means you need dhcdbd, which you can get here (get the latest one):
17139
17140                 http://people.redhat.com/jvdias/dhcdbd/
17141
17142           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17143           interface as dhcdbd.
17144
17145         * Rewrite device activation to facilitate the new DHCP infrastructure and
17146           future improvements.  Its now "activation request" based, ie there is a single
17147           activation request composed of the device, access point, and other info which
17148           follows the entire activation process.  There are 5 stages of the activation
17149           process which correspond to:
17150
17151                 1) Device preparation
17152                 2) Device configuration (bring it up, set ESSID/Key/etc)
17153                 3) IP Config Start (fire off DHCP if we're using it)
17154                 4) IP Config Get (grab config from DHCP or static config files)
17155                 5) IP Config Commit (set device's IP address, DNS, etc)
17156
17157           Note that there is no longer a "scanning" step, since the access point must
17158           be known _before_ activation starts.  If the access point drops out or does
17159           not exist for some reason, the entire activation process fails and must be
17160           restarted for a different access point or device.
17161
17162         Patch from Bill Moss:
17163         * gnome/applet/applet.c
17164                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17165
17166 2005-04-27  Dan Williams  <dcbw@redhat.com>
17167
17168         * gnome/applet/applet-dbus-vpn.c
17169           gnome/applet/applet.c
17170           gnome/applet/applet.h
17171                 - Fix up active VPN handling so that we reliably know when a VPN
17172                         connection has been deactivated
17173
17174         * src/vpn-manager/nm-vpn-manager.c
17175                 - Remove duplicate VPNConnectionChange signal
17176
17177 2005-04-27  Dan Williams  <dcbw@redhat.com>
17178
17179         Patch from Peter Jones:
17180         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17181
17182         Patch from Bill Moss:
17183         * src/NetworkManagerSystem.c
17184                 - Fix checking of return value from ioctl()
17185
17186 2005-04-27  Dan Williams  <dcbw@redhat.com>
17187
17188         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17189         * Warn and exit if icons cannot be found
17190
17191 2005-04-27  Dan Williams  <dcbw@redhat.com>
17192
17193         Patch from Tom Parker:
17194         * Update debian backend
17195
17196 2005-04-27  Dan Williams  <dcbw@redhat.com>
17197
17198         * Merge the applet and the info-daemon, and move the converged
17199                 applet under gnome/applet
17200         * Move libnm_glib to gnome/libnm_glib
17201         * Convert most dbus calls between the applet, info-daemon, and NM
17202                 into async calls
17203         * Fix a few things valgrind noticed
17204         * Make NM broadcast state more reliably
17205
17206 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17207
17208         * configure.in: Added ne in ALL_LINGUAS
17209
17210 2005-04-15  Dan Williams  <dcbw@redhat.com>
17211
17212         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17213                 code for dbus 0.2x versions
17214
17215 2005-04-15  Dan Williams  <dcbw@redhat.com>
17216
17217         Patches from Tom Parker:
17218         - Fix memleaks
17219         - Join with worker thread rather than polling for its exit
17220
17221         Patch from Bill Moss:
17222         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17223
17224 2005-04-15  Dan Williams  <dcbw@redhat.com>
17225
17226         - Fixes to pass 'make distcheck'
17227
17228 2005-04-15  Dan Williams  <dcbw@redhat.com>
17229
17230         Initial VPN Support
17231                 - supports 'vpnc'
17232                 - reworks device IP configuration, backend files have changed and will need
17233                         to be updated for all distributions.  I will try to do what I can for
17234                         them, but I cannot test them.
17235
17236         - Move named directory to src/named-manager
17237         - Make backends directory self-contained
17238
17239 2005-04-06  Dan Williams  <dcbw@redhat.com>
17240
17241         Add debug code for socket/file descriptor leaks.  We register every socket
17242         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17243         list of sockets that we forgot to close on shutdown.  This also consolidates
17244         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17245
17246 2005-04-06  Dan Williams  <dcbw@redhat.com>
17247
17248         * dhcpcd/dhcpcd.c
17249                 - (dhcp_interface_free): fix a file descriptor leak that may have
17250                         caused network drivers to not unload due to refcounts > 0
17251
17252 2005-04-04  Dan Williams  <dcbw@redhat.com>
17253
17254         * panel-applet/NMWirelessAppletDbus.c
17255                 - (nmwa_dbus_call_nm_method): remove some commented code
17256
17257         * src/NetworkManagerAPList.[ch]
17258                 - (nm_ap_list_remove_ap_by_essid): new function
17259
17260         * src/NetworkManagerDevice.c
17261                 - (nm_device_wireless_force_use): remove access points from the ignore list
17262                         when the user forces them
17263
17264         * src/nm-dbus-device.c
17265                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17266
17267 2005-04-04  Dan Williams  <dcbw@redhat.com>
17268
17269         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17270
17271 2005-04-04  Dan Williams  <dcbw@redhat.com>
17272
17273         * src/NetworkManagerDevice.c:
17274                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17275                         of only erroring after the second consecutive scan times out.  Also
17276                         don't exit when the card requires more time than we can give it, just
17277                         log the event and continue.
17278
17279 2005-04-01  Steve Murphy  <murf@e-tools.com>
17280
17281         * configure.in: Added "rw" to ALL_LINGUAS.
17282
17283 2005-04-01  Dan Williams <dcbw@redhat.com>
17284
17285         Perform scans during device activation, if needed.  Both activation 
17286         and scans run in the same GMainContext.  Therefore, if an access point
17287         is not found by the time the device starts activation, it will not
17288         be available until after activation.  We now try to scan during
17289         activation (in nm_wa_test) every 15s so that all available access
17290         points are more likely to be found and available for the activation
17291         procedure.
17292
17293         Also change nm_wireless_link_state_handle() to only update the "best"
17294         AP if we are not forcing a device and if we are not about to change
17295         state.  This attempts to work around a race when forcing a device,
17296         where the forced AP would get cleared out too soon by the link state
17297         checking timeout in the main thread, and the activation attempt with
17298         that AP would fail.
17299
17300 2005-04-01  Dan Williams <dcbw@redhat.com>
17301
17302         * po/POTFILES.in
17303                 - Update with new translatables
17304
17305 2005-03-31  Dan Williams <dcbw@redhat.com>
17306
17307         * panel-applet/NMWirelessAppletDbus.c
17308                 - Fix device names now that hal has changed device parenting for
17309                         network devices.
17310
17311 2005-03-31  Dan Williams <dcbw@redhat.com>
17312
17313         Tighten up handling of wireless devices that don't support wireless
17314         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17315         hadn't been doing pseudo-scanning for a while either and would just
17316         spin waiting for an access point.  They are now manual devices where
17317         the user must choose the access point from the menu every time.  All
17318         "allowed" access points are listed in the applet's menu regardless
17319         of whether or not they can be seen by the card, since it can't scan
17320         anyway.
17321
17322         * src/NetworkManager.c
17323                 - (nm_wireless_link_state_handle): new function, but only update
17324                         the "best" ap for non-scanning devices when its not activating,
17325                         and when no device is being forced on the card
17326                 - (nm_link_state_monitor): split wireless link state handling out
17327                         into separate function
17328
17329         * src/NetworkManagerDevice.c
17330                 - (nm_device_copy_allowed_to_dev_list): new function
17331                 - (nm_device_new): populate non-scanning cards' AP lists with
17332                         access points from the "allowed" list
17333                 - (nm_device_new): don't start a scanning timeout for devices that
17334                         can't scan
17335                 - (nm_device_activation_schedule_finish): new parameter, should be
17336                         the AP that failed to be connected to, pass it on to the
17337                         activation finish function in NetworkManagerPolicy.c
17338                 - (nm_device_activate_wireless): don't ever try to get a new AP
17339                         for non-scanning devices, just fail.  The user must choose
17340                         a new access point manually.
17341                 - (nm_device_activate): grab the AP that failed connection and
17342                         pass it on
17343                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17344                         a link to it, user must manually choose a new one
17345                 - (nm_device_do_pseudo_scan): remove function
17346                 - (nm_device_wireless_process_scan_results): remove bits for non-
17347                         scanning cards since they never get here
17348                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17349                         and fake the scan list for test devices a bit earlier
17350
17351         * src/NetworkManagerPolicy.c
17352                 - (nm_policy_activation_finish): use the failed_ap that we get
17353                         passed rather than getting the best_ap from the card, which
17354                         may have changed since we were scheduled
17355                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17356                         update their scan list directly from the allowed list when
17357                         we get updates to the allowed list from NetworkManagerInfo
17358
17359         * src/NetworkManagerPolicy.h
17360                 - New member for failed access point in NMActivationResult
17361
17362   -------------------------------------
17363
17364         Driver Notification patch: notifies the user when their driver
17365                 sucks.  Gives them the option to ignore further insertions
17366                 of the card that has the sucky driver.
17367
17368         * NetworkManager.h
17369                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17370                         enum and replace it with NO_CARRIER_DETECT and
17371                         NO_WIRELESS_SCAN
17372
17373         * panel-applet/NMWirelessApplet.[ch]
17374                 - Merge essid.glade -> wireless-applet.glade
17375                 - Implement the "Your driver sucks" notification dialog
17376
17377         * panel-applet/NMWirelessAppletDbus.c
17378                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17379                 - Grab hardware address for each device from NM too
17380                 - Check whether the driver for each device sucks or not whenever
17381                         a new device is noticed
17382
17383         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17384                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17385
17386         * src/NetworkManager.c
17387                 - Fix a double-unref on device removal
17388
17389         * src/NetworkManagerUtils.c
17390                 - Set appropriate driver support level on a device that doesn't
17391                         support scanning or carrier detection
17392
17393         * src/nm-dbus-device.c
17394                 - New "getHWAddress" dbus method on devices
17395                 - getSupportsCarrierDetect -> getDriverSupportLevel
17396
17397 2005-03-31  Dan Williams <dcbw@redhat.com>
17398
17399         * src/NetworkManagerDevice.c
17400                 - (nm_device_wireless_scan): Fix leak of scan results in some
17401                         instances
17402
17403 2005-03-29  Dan Williams <dcbw@redhat.com>
17404
17405         * src/NetworkManager.c
17406                 - (nm_poll_and_update_wireless_link_state): make code less indented
17407
17408         Patch from Bill Moss:
17409         * src/NetworkManager.c
17410                 - (nm_device_update_link_state): Update signal strength on wireless
17411                         devices every time we update link state too.
17412
17413 2005-03-29  Dan Williams <dcbw@redhat.com>
17414
17415         * src/NetworkManagerDevice.c
17416                 - (nm_device_set_essid): Work around Orinoco cards which need
17417                         extra time after setting the ESSID
17418
17419 2005-03-29  Dan Williams <dcbw@redhat.com>
17420
17421         * src/NetworkManagerDevice.c
17422                 - Merge one more bit of Peter Jones' completion patch
17423
17424 2005-03-29  Dan Williams <dcbw@redhat.com>
17425
17426         * src/NetworkManagerDevice.c
17427                 - (nm_device_force_use): Fix possible segfault
17428
17429 2005-03-29  Dan Williams <dcbw@redhat.com>
17430
17431         * src/NetworkManagerDevice.c
17432                 - Use iw_get_ext() where we should rather than iw_set_ext()
17433
17434 2005-03-29  Dan Williams <dcbw@redhat.com>
17435
17436         * src/NetworkManagerDevice.c
17437                 - (nm_device_set_up_down): remove check for unsupported devices
17438                         that caused NM to not bring devices up when they were
17439                         added to the device list.
17440
17441 2005-03-28  Dan Williams <dcbw@redhat.com>
17442
17443         * src/NetworkManagerDevice.c
17444                 - (mdio_read): Fix two bugs that caused all devices to fail
17445                         the MII carrier detection support checks
17446
17447 2005-03-26  Dan Williams <dcbw@redhat.com>
17448
17449         * src/NetworkManagerDevice.c
17450                 - (nm_device_wireless_scan): Remove duplicated scanning code
17451
17452 2005-03-25  Dan Williams <dcbw@redhat.com>
17453
17454         * panel-applet/NMWirelessApplet.c
17455                 - (nmwa_about_cb): Add some more contributors
17456                 - (nmwa_update_state): show the applet when there's no connection
17457                 - Enable the "Stop/Resume all wireless devices" option in the
17458                         context menu
17459                 - New "no connection" icon
17460
17461         * src/NetworkManager.c
17462                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17463                         wireless is disabled or we're asleep
17464
17465         * src/NetworkManagerDHCP.c
17466                 - Remove trailing "\n" on debug messages
17467
17468         * src/NetworkManagerDbus.c
17469                 - (nm_dbus_network_status_from_data): new state "asleep"
17470
17471         * src/NetworkManagerDevice.c
17472                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17473                         latency and wait times for most operations
17474                 - (nm_device_wireless_scan): Don't scan when asleep
17475
17476         * src/NetworkManagerPolicy.c
17477                 - (nm_policy_get_best_device): return no device when asleep
17478                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17479                         for all wireless devices on update, not just active device
17480
17481         * src/NetworkManagerUtils.c
17482                 - Merge Peter Jones' "completion" patch
17483
17484         * src/nm-dbus-nm.c
17485                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17486                         we're told to disable them
17487                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17488
17489         * utils/nm-utils.h
17490                 - New variants of the warn/info/error/debug print functions that can take
17491                         variables rather than static strings
17492
17493 2005-03-24  Dan Williams <dcbw@redhat.com>
17494
17495         * src/NetworkManagerUtils.c
17496                 - (nm_get_device_driver_name): driver names are now on the parents of
17497                         "Network Interface" objects, so look for them there
17498
17499 2005-03-24  Dan Williams <dcbw@redhat.com>
17500
17501         * test/nmtest.c
17502                 - Escape some forgotten object paths before we shove them through dbus
17503
17504 2005-03-24  Dan Williams <dcbw@redhat.com>
17505
17506         * dhcpcd/dhcpcd.[ch]
17507           src/NetworkManagerDHCP.c
17508                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17509                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17510
17511         * src/NetworkManagerDbus.c
17512                 - spacing cleanups
17513
17514         * src/nm-dbus-dhcp.c
17515                 - Make the API suck less.  There is now only 1 type of each function,
17516                         ie only "getInteger" and no longer also "getIntegerv".  All types
17517                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17518                         that will never have more than 1 element.  This should simplify
17519                         things greatly.
17520
17521         * test/nm-dhcp-opt-test.c
17522                 - Make the tool not segfault
17523                 - adapt to new DHCP Options API
17524
17525 2005-03-22  Dan Williams <dcbw@redhat.com>
17526
17527         * src/NetworkManager.c
17528                 - (nm_wired_link_deactivated): actually ignore netlink events from
17529                         wireless devices.
17530
17531 2005-03-22  Dan Williams <dcbw@redhat.com>
17532
17533         * src/NetworkManager.c
17534                 - (nm_wired_link_activated): actually ignore netlink events from
17535                         wireless devices.
17536
17537 2005-03-17  Dan Williams <dcbw@redhat.com>
17538
17539         Patch from Tom Parker:
17540         * src/nm-netlink-monitor.c
17541                 - Include unistd.h
17542         * info-daemon/NetworkManagerInfoDbus.c
17543                 - (nmi_dbus_update_network_auth_method): free GConf values
17544
17545         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17546         * src/NetworkManagerDevice.c
17547                 - (nm_device_set_wireless_config): wait for successful
17548                         association longer for some cards (Atheros a/b/g)
17549
17550 2005-03-15  Ray Strode  <rstrode@redhat.com>
17551
17552         * src/NetworkManager.c:
17553         (sigterm_pipe_handler):
17554         remove bogus FIXME
17555
17556 2005-03-15  Ray Strode  <rstrode@redhat.com>
17557
17558         * src/NetworkManagerDbus.c:
17559         Fix some sign weirdness that gcc4 doesn't like,
17560         and add a header file so PPC can hopefully find
17561         SIGTRAP
17562
17563 2005-03-14  Ray Strode  <rstrode@redhat.com>
17564         
17565         Fourth (probably working) cut at porting to
17566         dbus 0.30 api and new hal. This cut adds
17567         some new logging macros to make debugging
17568         easier.
17569
17570         * dispatcher-daemon/NetworkManagerDispatcher.c:
17571         * info-daemon/NetworkmanagerInfo.c:
17572         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17573         * info-daemon/NetworkManagerInfoVPN.c:
17574         * src/NetworkManager.c:
17575         * src/NetworkManagerAP.c:
17576         * src/NetworkManagerAPList.c:
17577         * src/NetworkManagerDHCP.c:
17578         * src/NetworkManagerDbus.c:
17579         * src/NetworkManagerDevice.c:
17580         * src/NetworkManagerPolicy.c:
17581         * src/NetworkManagerSystem.c:
17582         * src/NetworkManagerUtils.c:
17583         * src/NetworkManagerWireless.c:
17584         * src/autoip.c:
17585         * src/nm-dbus-nm.c:
17586         * src/backends/NetworkManagerDebian.c:
17587         * src/backends/NetworkManagerGentoo.c:
17588         * src/backends/NetworkManagerRedHat.c:
17589         * src/backends/NetworkManagerSlackware.c:
17590         use new logging macros.
17591
17592         * dispatcher-daemon/NetworkManagerDispatcher.c:
17593         (nmd_dbus_filter): s/dbus_free/g_free/
17594
17595         * info-daemon/Makefile.am: link in utils library.
17596         * info-daemon/NetworkmanagerInfo.c: use new logging 
17597         macros.
17598         (nmi_dbus_get_network): don't assume enumerations
17599         are 32-bit.
17600         (nmi_dbus_nmi_message_handler): don't free what 
17601         doesn't belong to us.
17602
17603         * libnm_glib/libnm_glib.c:
17604         (libnm_glib_get_nm_status): 
17605         (libnm_glib_init): don't free what doesn't
17606         belong to us.
17607         (libnm_glib_dbus): strdup result, so it doesn't get
17608         lost when message is unref'd.
17609
17610         * panel-applet/NMWirelessAppletDbus.c:
17611         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17612
17613         * src/NetworkManager.c:
17614         (nm_monitor_wired_link_state): request initial status 
17615         dump of all cards when we start up, instead of relying
17616         on /sys/.../carrier.
17617         (nm_info_handler), (nm_set_up_log_handlers): 
17618         log handlers to specify what syslog priorites 
17619         the logging macros default to.
17620
17621         * src/NetworkManagerAPList.c: 
17622         (nm_ap_list_populate_from_nmi):
17623         s/dbus_free_string_array/g_strfreev/
17624
17625         * src/NetworkManagerDbus.c:
17626         (nm_dbus_get_network_object):
17627         validate d-bus message argument types.
17628         Advance message iterator after reading argument,
17629         prepend instead of append to GSList.
17630
17631         * src/NetworkManagerDevice.c:
17632         (nm_device_probe_wired_link_status):
17633         remove redundant /sys in /sys path. remove wrong
17634         contents == NULL means has carrier assumption.
17635
17636         * src/nm-netlink-monitor.c 
17637         (nm_netlink_monitor_request_status): implement
17638         function to ask kernel to dump interface link
17639         status over netlink socket.
17640
17641         * test/*.c: s/dbus_free/g_free/
17642
17643         * utils/nm-utils.h:
17644         (nm_print_backtrace): new macro to print backtrace.
17645         (nm_get_timestamp): new macro to get sub-second precise
17646         unix timestamp.
17647         (nm_info), (nm_debug), (nm_warning), (nm_error):
17648         new logging functions. nm_info just prints,
17649         nm_debug includes timestamp and function,
17650         nm_warning includes function, nm_error includes
17651         backtrace and sigtrap.
17652
17653 2005-03-11  Ray Strode  <rstrode@redhat.com>
17654
17655         Third (unfinished, partially working) cut at porting to 
17656         dbus 0.30 api and new hal.
17657
17658         * info-daemon/NetworkManagerInfoDbus.c:
17659                 don't free null arrays.
17660
17661         * panel-applet/NMWirelessAppletDbus.c: 
17662         * src/nm-dbus-device.c:
17663         * src/nm-dbus-net.c: 
17664         * src/NetworkManagerDbus.c: more 
17665         STRING -> OBJECT_PATH fun
17666         * src/NetworkManagerDevice.c:
17667         * src/NetworkManagerDevice.h:
17668         (rename nm_device_get_link_active): rename to 
17669         nm_device_has_active_link
17670         (nm_device_wireless_link_active): rename to
17671         nm_device_probe_wireless_link_state
17672         (nm_device_wired_link_active): rename to
17673         nm_device_probe_wired_link_state.  Rewrite to
17674         use carrier file since hal doesn't maintain
17675         link state anymore.
17676         (nm_device_update_link_active): rename to
17677         nm_device_update_link_state
17678         * src/NetworkManagerPolicy.c 
17679           (nm_policy_activation_finish): check for NULL
17680           MAC address.
17681
17682         * src/Makefile.am:
17683         * src/NetworkManagerMain.h: 
17684         * src/NetworkManager.c:
17685         * src/nm-netlink-monitor.c:
17686         * src/nm-netlink-monitor.h: New class to support
17687         monitoring wired ethernet link status, since HAL
17688         doesn't export that information anymore.
17689
17690 2005-03-09  Ray Strode  <rstrode@redhat.com>
17691
17692         Second (unfinished, unworking) cut at porting to 
17693         dbus 0.30 api.
17694
17695         * dispatcher-daemon/NetworkManagerDispatcher.c:
17696         * info-daemon/NetworkManagerInfoDbus.c:
17697         * panel-applet/NMWirelessAppletDbus.c:
17698         * src/NetworkManagerDbusUtils.c:
17699         * src/NetworkManagerDbusUtils.h:
17700         * src/nm-dbus-device.c:
17701         * src/nm-dbus-nm.c:
17702         * test/nmtest.c: support dbus "object path" type
17703
17704         * configure.in: 
17705         * Makefile.am:
17706         * info-daemon/Makefile.am:
17707         * libnm_glib/Makefile.am:
17708         * panel-applet/Makefile.am:
17709         * dispatcher-daemon/Makefile.am
17710         * src/Makefile.am:
17711         * test/Makefile.am:
17712         * utils/Makefile.am: 
17713         * utils/nm-utils.c: 
17714         * utils/nm-utils.h: new utils static lib
17715
17716 2005-03-07  Ray Strode  <rstrode@redhat.com>
17717
17718         * info-daemon/NetworkManagerInfoDbus.c:
17719         * libnm_glib/libnm_glib.c:
17720         * panel-applet/NMWirelessAppletDbus.c:
17721         * src/NetworkManager.c:
17722         * src/NetworkManagerDbus.c:
17723         * src/NetworkManagerDevice.c:
17724         * src/NetworkManagerUtils.c:
17725         * src/nm-dbus-device.c:
17726         * src/nm-dbus-dhcp.c:
17727         * src/nm-dbus-net.c:
17728         * src/nm-dbus-nm.c:
17729         * test/nminfotest.c:
17730         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17731
17732 2005-03-04  Dan Williams  <dcbw@redhat.com>
17733
17734         * configure.in
17735                 - Mark HEAD as 0.4
17736
17737 2005-03-04  Dan Williams  <dcbw@redhat.com>
17738
17739         Patch from Peter Jones:
17740         - Make stuff work with gcc 4.0
17741
17742 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17743
17744         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17745
17746 2005-02-27  Jim Huang  <jserv@kaffe.org>
17747
17748         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17749
17750 2005-02-27  Dan Williams  <dcbw@redhat.com>
17751
17752         Patch from Bill Moss:
17753         * panel-applet/NMWirelessAppletDbus.c
17754                 - Make sure strength for current access point is up-to-date when we
17755                         update the gui data model
17756
17757 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17758
17759         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17760
17761 2005-02-27  Dan Williams  <dcbw@redhat.com>
17762
17763         * src/backends/NetworkManagerRedHat.c
17764                 - (nm_system_init): Kill any dhclient processes lying around as well
17765                         as stopping 'nifd' if its already been started.  NetworkManager
17766                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17767
17768 2005-02-27  Dan Williams  <dcbw@redhat.com>
17769
17770         * panel-applet/NMWirelessApplet.c
17771                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17772                         dbus data model, not the GUI data model twice.
17773
17774 2005-02-27  Dan Williams  <dcbw@redhat.com>
17775
17776         * panel-applet/NMWirelessApplet.[ch]
17777           panel-applet/NMWirelessAppletDbus.[ch]
17778                 - Move to incremental network updates.  Instead of blowing away our list
17779                         of devices every time we get a signal from NetworkManager, we now
17780                         incrementally add/remove networks when NetworkManager notifies us that
17781                         a new network has appeared or disappered.  Strength updates now happen
17782                         on-the-fly for each access point as well.  There are now two copies of
17783                         data from NetworkManager: one for the dbus side, and one for the gui side.
17784                         When the dbus side data is modified, it is copied over to the gui side
17785                         so we don't have to hold the data_mutex for long periods of time (and
17786                         therefore block animation of the applet's icon).
17787                 - Clean up some memleaks too
17788
17789         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17790                 - Minor code beautification
17791
17792         * src/NetworkManagerAPList.c
17793                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17794                         completely new and whether or not an existing one's strength was updated.
17795                         Try to fix multiple access points and signal strength by using the highest
17796                         signal strength in each scan for any given ESSID.
17797
17798         * src/NetworkManagerDbus.[ch]
17799                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17800                         wireless networks; now we have only WirelessNetworkUpdate which includes
17801                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17802                 - Kill usage of DbusMessageIter
17803
17804         * src/NetworkManagerDevice.c
17805                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17806                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17807                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17808                         currently associated with from the network list.
17809                 - Update for new signals during scan, send out Appeared, Disappeared, or
17810                         StrengthChanged when necessary.
17811
17812 2005-02-25  Dan Williams  <dcbw@redhat.com>
17813
17814         * README
17815                 - Line break the README
17816
17817 2005-02-25  Dan Williams  <dcbw@redhat.com>
17818
17819         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17820                 - Remove usage of gtk_window_set_default_size()
17821
17822         * panel-applet/essid.glade
17823                 - Stick default size here
17824                 - Add in random crap that current glade wants to add in now
17825
17826 2005-02-25  Dan Williams  <dcbw@redhat.com>
17827
17828         * src/backends/NetworkManagerRedHat.c
17829                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17830                         and that we actually tell nscd to reload the hosts cache when it changes
17831
17832 2005-02-25  Dan Williams  <dcbw@redhat.com>
17833
17834         * info-daemon/NetworkManagerInfoDbus.c
17835                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17836
17837         * test/nminfotest.c
17838                 - Whack usage of DbusMessageIter
17839                 - Clean up DbusError and DbusMessage handling and freeing
17840                 - Remove unused unregister handler
17841
17842         * test/nmtest.c
17843                 - Whack usage of DbusMessageIter
17844
17845         * test/nmtestdevices.c
17846                 - Whack usage of DbusMessageIter
17847
17848 2005-02-25  Dan Williams  <dcbw@redhat.com>
17849
17850         * NetworkManager.h
17851                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17852                         signal
17853
17854 2005-02-25  Dan Williams  <dcbw@redhat.com>
17855
17856         * named/nm-named-manager.c
17857                 - Ensure that pid and watch variables for child named process get cleared out
17858                         when the child goes away.
17859
17860 2005-02-22  Dan Williams  <dcbw@redhat.com>
17861
17862         * src/NetworkManagerPolicy.c
17863                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17864                         and NULL out data->active_device so that we have to choose another one.
17865                         This may make NetworkManager keep attempting to connect to a wired network
17866                         if it fails, but if it keeps failing the wired network has more problems than
17867                         just NetworkManager.
17868
17869         * src/backends/NetworkManagerRedHat.c
17870                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17871                         is already running
17872
17873         * named/nm-named-manager.c
17874                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17875                         named so that the distro can flush whatever name service caching
17876                         daemon it uses
17877
17878 2005-02-21  Dan Williams  <dcbw@redhat.com>
17879
17880         * src/NetworkManagerDHCP.[ch]
17881                 - (nm_device_dhcp_remove_timeouts): new function
17882
17883         * src/NetworkManagerDevice.c
17884                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17885                         remove the DHCP timeouts.
17886
17887 2005-02-21  Dan Williams  <dcbw@redhat.com>
17888
17889         * panel-applet/NMWirelessApplet.[ch]
17890           panel-applet/menu-info.[ch]
17891                 - Give the panel applet some major love: menu items are no longer
17892                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17893                         This allows the applet to actually reflect theme changes correctly,
17894                         since themeing of subclassed items in GTK _sucks_.
17895
17896 2005-02-18  Dan Williams  <dcbw@redhat.com>
17897
17898         * libnm_glib/libnm_glib.[ch]
17899           test/libnm_glib_test.c
17900                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17901                         and its data, and doesn't have to free the callback data anymore
17902
17903 2005-02-18  Dan Williams  <dcbw@redhat.com>
17904
17905         * panel-applet/NMWirelessApplet.c
17906                 - Revert 2005-02-18 William Jon McCann fix for standard
17907                         copyright string until it passes 'make distcheck'.
17908                         With standard copyright string, xgettext complains
17909                         about "Non-ASCII string at ...".
17910
17911 2005-02-18  Dan Williams  <dcbw@redhat.com>
17912
17913         * panel-applet/essid.glade
17914           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17915                 - Correct spelling of "adaptor"->"adapter"
17916
17917 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17918
17919         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17920         (nmwa_about_cb): Use standard copyright string.  Update comment
17921         text to reflect that it is a notification area applet.  Remove
17922         leading newline in authors list.
17923         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17924         instead of on parent menu item activation.  Fixes #167550.
17925
17926 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17927
17928         * panel-applet/essid.glade: Capitalize items as per HIG.
17929           Fixes #167632
17930
17931 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17932
17933         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17934         files for GTK 2.4 or lower, since now public in GTK 2.6.
17935
17936         * panel-applet/essid.glade: Don't specify window size.
17937         
17938 2005-02-17  Dan Williams  <dcbw@redhat.com>
17939
17940         Caught by Bill Moss:
17941         * dhcpcd/client.c
17942                 - Time remaining for DHCP transaction calculation was incorrectly
17943                         inside a #ifdef DEBUG
17944
17945 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17946
17947         * configure.in: Added fr (French) to ALL_LINGUAS.
17948
17949 2005-02-14  Dan Williams  <dcbw@redhat.com>
17950
17951         * src/NetworkManagerDHCP.c
17952                 - (set_domain_searches): Fix free of invalid pointer
17953
17954 2005-02-14  Dan Williams  <dcbw@redhat.com>
17955
17956         Patch from Peter Jones:
17957         * dhcpcd/client.c
17958                 - Ensure we return RET_DHCP_CEASED everywhere we should
17959         * dhcpcd/udpipgen.c
17960                 - Use faster TOS for IP packets
17961                 - Don't set ip_id since we're UDP
17962
17963         Patch from Tomislav Vujec:
17964         * src/nm-dbus-dhcp.c
17965           test/nm-dhcp-opt-test.c
17966                 - Clean up warnings to enable cvs tree compilation.
17967
17968 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17969
17970         * configure.in
17971           po/hr.po
17972                 - Add the Croatian locale.
17973
17974 2005-02-14  Colin Walters  <walters@verbum.org>
17975
17976         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17977         list of domains to search.
17978         
17979         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17980
17981 2005-02-13  Dan Williams  <dcbw@redhat.com>
17982
17983         * dhcpcd/client.c
17984                 - Debug output cleanups of DHCP option printing and parsing.
17985
17986 2005-02-13  Dan Williams  <dcbw@redhat.com>
17987
17988         Patch from Dan Reed:  DHCP options D-BUS API
17989                 Exposes the DHCP options that a device receives to clients over D-BUS.
17990
17991         * configure.in
17992                 - A few cleanups
17993
17994         * dhcpcd/client.h
17995                 - Correct names, option length, and types for DHCP options
17996
17997         * dhcpcd/dhcpcd.[ch]
17998                 - Clarify function names that access DHCP options & data
17999
18000         * src/NetworkManagerDHCP.c
18001                 - Use new DHCP data access functions
18002
18003         * src/NetworkManagerDbus.c
18004                 - Message handler for DHCP functions
18005
18006         * src/nm-dbus-dhcp.[ch] (new)
18007                 - DHCP dbus methods
18008
18009         * test/nm-dhcp-opt-test.c
18010                 - Test DHCP D-BUS API and return all present DHCP options
18011
18012 2005-02-12  Dan Williams  <dcbw@redhat.com>
18013
18014         * test/Makefile.am
18015           test/nmclienttest.c
18016           test/nmtest.c
18017                 - Move nmclienttest.c -> nmtest.c
18018
18019 2005-02-12  Dan Williams  <dcbw@redhat.com>
18020
18021         * dhcpcd/buildmsg.c
18022                 - Pad DHCP packets until they are at least 300 bytes in size.
18023
18024 2005-02-11  Dan Williams  <dcbw@redhat.com>
18025
18026         * dhcpcd/client.c
18027                 - (dhcp_init): only print out client ID and class ID if they are specified
18028
18029         * src/NetworkManagerDbus.[ch]
18030           src/nm-dbus-nm.[ch]
18031           src/nm-dbus-device.[ch]
18032           src/nm-dbus-net.[ch]
18033                 - Move NM, Device, and Net functions to separate files and use the
18034                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18035                         method dispatching
18036
18037         * src/NetworkManagerDbusUtils.c
18038                 - Add new validate_method called before each dispatch (if present)
18039                         that can validate the method call
18040
18041         * src/NetworkManagerWireless.c
18042                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18043                         levels never to be evaluated
18044
18045         Patch from j@bootlab.org
18046         * src/NetworkManagerDevice.c
18047                 - Add typedef for "u64"
18048
18049         * src/backends/NetworkManagerDebian.c
18050                 - Copy in Dave Woodhouse's fixes for IPv6
18051
18052 2005-02-11  Dan Williams  <dcbw@redhat.com>
18053
18054         Patch from Dave Woodhouse for IPv6:
18055         * src/NetworkManagerUtils.c
18056                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18057                         and multicast addresses
18058
18059         * src/NetworkManagerDevice.c
18060                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18061                         after bringing up a card.
18062
18063 2005-02-10  Dan Williams  <dcbw@redhat.com>
18064
18065         Patch from Dave Woodhouse:
18066         * src/NetworkManagerSystem.h
18067           src/backends/NetworkManagerDebian.c
18068           src/backends/NetworkManagerGentoo.c
18069           src/backends/NetworkManagerSlackware.c
18070                 - New nm_system_device_add_ip6_link_address() function to add link-local
18071                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18072
18073         * src/backends/NetworkManagerRedHat.c
18074                 - (nm_system_device_add_ip6_link_address): implement
18075                 - (nm_system_device_flush_addresses): revert to previous behavior of
18076                         flushing all addresses
18077
18078 2005-02-10  Dan Williams  <dcbw@redhat.com>
18079
18080         Patch from Tom Parker:
18081         * src/NetworkManagerDevice.c
18082                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18083                         mii.h headers are broken, and instead use our own typedefs
18084
18085 2005-02-10  Dan Williams  <dcbw@redhat.com>
18086
18087         * dhcpcd/buildmsg.c
18088                 - (fill_host_and_class_id): only fill in client and class IDs if
18089                         they are set by callers.
18090
18091         * dhcpcd/client.c
18092                 - (class_id_setup): don't autogenerate a class ID, only use one
18093                         we're given, if any.
18094                 - (client_id_setup): don't autogenerate a client ID, only use one
18095                         we're given, if any.
18096
18097         * dhcpcd/dhcpcd.c
18098                 - (dhcp_interface_init): ensure that client options are correctly
18099                         NULL terminated
18100
18101         * src/NetworkManagerDHCP.c
18102                 - (nm_device_dhcp_request): pass hostname to dhcp library
18103
18104 2005-02-10  Dan Williams  <dcbw@redhat.com>
18105
18106         * dhcpcd/client.c
18107                 - #rh147661# Don't send kernel version in DHCP requests
18108
18109         * src/NetworkManagerSystem.h
18110           src/backends/NetworkManagerDebian.c
18111           src/backends/NetworkManagerGentoo.c
18112           src/backends/NetworkManagerRedHat.c
18113           src/backends/NetworkManagerSlackware.c
18114                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18115                         functions, they are no longer used anyway
18116
18117         * src/backends/NetworkManagerRedHat.c
18118                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18119                         addresses in an attempt to keep IPv6 local-scope addresses around
18120
18121 2005-02-10  Dan Williams  <dcbw@redhat.com>
18122
18123         * src/NetworkManager.c
18124                 - (nm_create_device_and_add_to_list): change the add message slightly
18125
18126         * src/NetworkManagerUtils.c
18127                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18128                         Return driver name to calling function
18129                 - (nm_get_driver_support_level): print out the driver a device is using
18130                         during the support check
18131
18132         Patch from Dave Woodhouse:
18133         * dhcpcd/udpipgen.c
18134                 - (in_cksum): copy last byte of odd-sized packets into a
18135                         'u_short' rather than a 'u_char', should fix wrong checksums
18136                         on big-endian platforms
18137
18138 2005-02-09  Dan Williams  <dcbw@redhat.com>
18139
18140         * Clean up usage of GSList objects and looping through their members
18141         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18142                 now.
18143         * Fix problem where even if scanning was turned off, card would still
18144                 cycle through frequencies.
18145
18146 2005-02-08  Dan Williams  <dcbw@redhat.com>
18147
18148         * panel-applet/NMWirelessApplet.c
18149                 - Fix for gtk 2.4
18150
18151 2005-02-08  Dan Williams  <dcbw@redhat.com>
18152
18153         Patch from Bill Moss
18154         * panel-applet/NMWirelessApplet.c
18155                 - Restore correct ESSID in tooltips
18156
18157 2005-02-07  Dan Williams  <dcbw@redhat.com>
18158
18159         * panel-applet/NMWirelessApplet.[ch]
18160                 - Add a context menu that contains:
18161                         Pause/Resume Wireless Scanning
18162                         Stop/Start All Wireless Devices
18163                         About...
18164                 - Grab active device strength off active device,
18165                         not its network
18166
18167         * panel-applet/NMWirelessAppletDbus.[ch]
18168                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18169                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18170                 - Update active device strength every 2 seconds, not every 1 second
18171
18172         * panel-applet/menu-info.c
18173                 - Only disable wired devices in the menu when they support carrier detection,
18174                         and don't currently have a link.  Non-carrier-detect devices will always
18175                         remain choosable
18176
18177         * src/Makefile.am
18178           src/NetworkManagerDbusUtils.[ch]
18179                 - Add new new dbus utils sources
18180
18181         * src/NetworkManager.c
18182                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18183                         with the boolean parameter
18184                 - Set scanning_enabled & wireless_enabled to TRUE
18185
18186         * src/NetworkManagerDbus.c
18187                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18188                 - Implement scanning & wireless enable/disable calls
18189                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18190
18191         * src/NetworkManagerDevice.c
18192                 - New link detection stuff again...
18193                         o  Create device's mainloop earlier (but don't run it earlier)
18194                         o  Hook up new carrier-detect support stuff
18195                         o  Add in the ethtool & mii support detection code
18196                 - Don't scan if scanning is disabled
18197
18198         * src/NetworkManagerPolicy.c
18199                 - Never automatically choose a device that doesn't support carrier detection
18200                 - Don't automatically choose a wireless device if wireless is disabled
18201
18202 2005-02-07  Dan Williams  <dcbw@redhat.com>
18203
18204         * libnm_glib/libnm_glib.c
18205                 - Small cleanup in element list iteration
18206
18207 2005-02-07  Dan Williams  <dcbw@redhat.com>
18208
18209         * src/NetworkManagerWireless.c
18210                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18211                         to be in line with the WEXT quality specification
18212
18213 2005-02-02  Dan Williams  <dcbw@redhat.com>
18214
18215         Patch from Nathan Fredrickson <nathan@silverorange.com>
18216         * Fix up compile for deprecation of libgnomeui
18217                 - Switch to <glib/gi18n.h> from <libintl.h>
18218                 - Remove <libgnomeui/libgnomeui.h> includes
18219                 - Use gtk_window_set_default_icon_from_file() rather than
18220                         gnome_window_set_default_icon_from_file()
18221
18222         * named/nm-named-manager.c
18223                 - (generate_named_conf): Fix return-nothing in non-void
18224                         function
18225
18226 2005-02-02  Dan Williams  <dcbw@redhat.com>
18227
18228         * Clean up unused variables and the like
18229
18230 2005-02-02  Dan Williams  <dcbw@redhat.com>
18231
18232         * src/NetworkManagerAPList.c
18233                 - (nm_ap_list_merge_scanned_ap): merge strength too
18234
18235         * src/NetworkManagerUtils.c
18236                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18237                         of locking issues by printing out prettier information than g_mutex_lock
18238                 - Print out names of mutexes registered with nm_register_mutex_desc()
18239                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18240                         us to seemingly block here for too long
18241
18242         * src/NetworkManager.c
18243           src/NetworkManagerAPList.c
18244           src/NetworkManagerDevice.c
18245                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18246                         so we get better debug information printed
18247
18248         * src/NetworkManagerDbus.c
18249                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18250                         since it sometimes has locking side effects
18251                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18252                         from 10s
18253                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18254                         we don't need a switch.  This gets called often enough that we can't block
18255                         until the scan mutex is acquired, because we'll block on device activation
18256                         and a few other things, which hangs main thread for too long.
18257
18258         * src/NetworkManagerPolicy.c
18259                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18260                         nm_device_need_ap_switch() will be called               
18261
18262 2005-02-02  Dan Williams  <dcbw@redhat.com>
18263
18264         * panel-applet/NMWirelessApplet.c
18265                 - Display name of wireless network we are connecting to or connected to
18266                         in the tooltip of the applet
18267
18268 2005-02-02  Dan Williams  <dcbw@redhat.com>
18269
18270         * src/NetworkManagerDHCP.c
18271                 - Hopefully fix double-default-route problem by cleaning up the default
18272                         route added by DHCP code right before the DHCP transaction begins
18273
18274 2005-02-02  Dan Williams  <dcbw@redhat.com>
18275
18276         * named/nm-named-manager.c
18277                 - Write out valid resolv.conf when we exit
18278
18279 2005-02-01  Dan Williams  <dcbw@redhat.com>
18280
18281         Patch from Colin Walters:
18282         * named/nm-named-manager.c
18283                 - Make multi-domain search options work
18284
18285 2005-01-31  Dan Williams  <dcbw@redhat.com>
18286
18287         * info-daemon/NetworkManagerInfoDbus.c
18288                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18289
18290         * src/NetworkManagerDevice.c
18291                 - (nm_device_new): Don't store the entire range struct, use only what we need
18292                         (which is currently avg_quality, max_quality, and frequencies).  Also
18293                         zero device structure when we've free'd it to maybe expose errors down
18294                         the line.
18295                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18296                         quality data from the card since quality will be useless during a scan.
18297                         Call updated wireless qual-to-percent function with values stored in
18298                         nm_device_new() earlier.
18299                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18300                         nm_device_get_bad_crypt_packets())
18301                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18302                         nm_device_new()
18303                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18304                         list if available.  Problem was this: when the WEP key is wrong, NM will
18305                         try OS then SK modes, and then get stuck in SK mode after that.  This
18306                         should reset it.
18307                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18308                         function
18309
18310         * src/NetworkManagerWireless.c
18311                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18312                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18313                         if that's all present, otherwise fall back to signal-to-noise ratios.
18314
18315 2005-01-29  Dan Williams  <dcbw@redhat.com>
18316
18317         * initscript/RedHat/NetworkManager
18318                 - Don't spit out sysctl stuff to console
18319
18320         * libnm_glib/libnm_glib.c
18321                 - (libnm_glib_init): call dbus_g_thread_init()
18322
18323         * panel-applet/NMWirelessAppletDbus.c
18324                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18325
18326         * src/NetworkManager.c
18327                 - (main): call dbus_g_thread_init()
18328
18329         * src/NetworkManagerAPList.c
18330                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18331                         so we can actually see what's there in a normal syslog
18332
18333         * src/NetworkManagerDevice.c
18334                 - (nm_device_activate_wireless): print out the "waiting for access point"
18335                         message only once, then say what access point we actually got after
18336                         the wait.
18337                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18338                         function, wait until the scan is done.  Scans may change the ESSID of
18339                         the card, making this function think we need to switch access points
18340                 - (nm_device_wireless_process_scan_results): for artificial access points
18341                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18342                         prevents collisions with the scanning code, which may change the card's
18343                         ESSID and cause the access point to get dropped from the device's AP
18344                         list.  Also increase the keep-around time to 2m from 60s since the max
18345                         scan interval could be 60s in some cases.
18346
18347         * src/NetworkManagerPolicy.c
18348                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18349                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18350                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18351                         between NM and NMI.
18352
18353 2005-01-27  Dan Williams  <dcbw@redhat.com>
18354
18355         * info-daemon/NetworkManagerInfoDbus.c
18356                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18357                         GConf, make a minimal entry for it (essid & timestamp)
18358
18359         * src/NetworkManagerAPList.c
18360                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18361                         NetworkManagerInfo isn't running
18362
18363         * src/NetworkManagerDbus.[ch]
18364                 - (nm_dbus_nmi_is_running): new function
18365
18366         * src/NetworkManagerDevice.c
18367                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18368                         address to garbage.
18369
18370         * src/NetworkManagerPolicy.c
18371                 - (nm_policy_activation_finish): On successful activation, make sure
18372                         the "best" AP has a MAC address, and don't tell NMI to add the
18373                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18374                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18375                         access point after refreshing our allowed list if it doesn't already
18376                         have a "best" access point.
18377
18378 2005-01-25  Dan Williams  <dcbw@redhat.com>
18379
18380         * panel-applet/NMWirelessAppletDbus.c
18381                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18382                         so we check for NM_DBUS_SERVICE rather than not for it
18383
18384         * libnm_glib/libnm_glib.c
18385                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18386                         ServiceOwnerChanged signal
18387
18388 2005-01-25  Dan Williams  <dcbw@redhat.com>
18389
18390         * configure.in
18391                 - Check DBUS version in configure, and set the C macros
18392                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18393
18394         * info-daemon/NetworkManagerInfoDbus.c
18395                 - Remove #if 0-d section of code that quit NMI if NM went away.
18396
18397         * panel-applet/NMWirelessAppletDbus.c
18398                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18399
18400         * src/NetworkManager.c
18401           src/NetworkManagerMain.h
18402           src/NetworkManagerDbus.c
18403                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18404                 - Make updating of our Allowed Wireless Network lists from NMI
18405                         an idle function in the main thread now, with a high priority.
18406
18407 2005-01-24  Dan Williams  <dcbw@redhat.com>
18408
18409         * panel-applet/gtkcellview.[ch]
18410           panel-applet/menu-info.c
18411                 - Fix GTK version checks to be <= rather than <
18412
18413         * test/Makefile.am
18414                 - Include the libtool archive of libnm_glib rather than
18415                         trying to pull in the .so
18416
18417 2005-01-24  Dan Williams  <dcbw@redhat.com>
18418
18419         * src/NetworkManagerDevice.c
18420           src/NetworkManagerDevicePrivate.h
18421                 - Block nm_device_new() until our device's worker thread has had a
18422                         chance to start up.  Fixes a race between main thread and worker
18423                         thread starting that caused activation requests to get lost.
18424
18425 2005-01-24  Dan Williams  <dcbw@redhat.com>
18426
18427         * initscript/RedHat/NetworkManager
18428                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18429                         to add the NM startup script at priority 50, which was
18430                         way too early
18431
18432 2005-01-24  Colin Walters  <walters@redhat.com>
18433
18434         * named/named.conf: Use any port for query source instead of
18435         restricting to port 53.
18436
18437 2005-01-24  Dan Williams  <dcbw@redhat.com>
18438
18439         * initscript/RedHat/NetworkManager
18440                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18441                         to add the NM startup script at priority 50, which was
18442                         way too early
18443
18444 2005-01-24  Dan Williams  <dcbw@redhat.com>
18445
18446         Patch from Tom Parker <palfrey@tevp.net>
18447         * Fix up compile warnings & errors in the wireless applet
18448
18449 2005-01-24  Dan Williams  <dcbw@redhat.com>
18450
18451         * panel-applet/NMWirelessApplet.c
18452                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18453
18454 2005-01-24  Dan Williams  <dcbw@redhat.com>
18455
18456         * panel-applet/gtkcellview.[ch]
18457                 - Only compile these files for GTK 2.4 or lower, since 
18458                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18459                         when choosing "Other Wireless Networks" from the panel
18460                         applet menu
18461
18462 2005-01-21  Dan Williams  <dcbw@redhat.com>
18463
18464         * src/NetworkManager.c
18465                 - Daemonize earlier so that glib doesn't get confused (?)
18466
18467 2005-01-21  Dan Williams  <dcbw@redhat.com>
18468
18469         * panel-applet/NMWirelessApplet.[ch]
18470           panel-applet/NMWirelessAppletDbus.c
18471           panel-applet/menu-info.c
18472           src/NetworkManagerDevice.c
18473                 - Disable wired devices in the menu when they have no link.
18474
18475 2005-01-21  Dan Williams  <dcbw@redhat.com>
18476
18477         * Cache last-known-good wireless authentication method in
18478                 NetworkManagerInfo, and use that method first during
18479                 wireless device activation.  Should speed up devices that
18480                 need Shared Key authentication method since Open System is
18481                 now the default.
18482
18483         * Remove the hack to not do full activation on wired connections
18484                 that are active when we launch, it causes too many problems
18485                 with name resolution and was a hack in the first place.
18486
18487         * Re-work wireless device activation again somewhat to have a
18488                 clearer chain of events and to use last-known-good
18489                 authentication method of the access point.  Also provide
18490                 better status throughout activation to ensure the applet
18491                 can tell the user exactly what's going on.
18492
18493         * Remove the "find wireless network" code and now simply attempt
18494                 to activate with that access point.  This reduces the delay
18495                 between selecting "Other wireless Network" and actually
18496                 connecting to that network.
18497
18498         * Correctly stop the device's worker thread when its removed.
18499
18500 2005-01-21  Dan Williams  <dcbw@redhat.com>
18501
18502         * dhcpcd/client.c
18503                 - Clean up some of the debug messages
18504
18505 2005-01-21  Dan Williams  <dcbw@redhat.com>
18506
18507         * Add new icons, more frames of animation
18508         * Remove some hacks to get the panel applet to display correct
18509                 status, an NM update will soon follow that will fix the
18510                 real issue.
18511
18512 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18513
18514         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18515         the first include for working i18n. Also, don't include it in .h files
18516         * panel-applet/NMWirelessApplet.h: Same
18517         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18518         * panel-applet/menu-info.c: Same
18519
18520 2005-01-18  Dan Williams <dcbw@redhat.com>
18521
18522         * dhcpcd/client.c
18523                 - Remove some debug messages
18524                 - Wrap others in #ifdef DEBUG/#endif
18525
18526         * src/NetworkManager.c
18527                 - Remove some debug messages
18528                 - Clarify some debug messages
18529                 - Remove code related to old single-thread wireless scanning
18530
18531         * src/NetworkManagerAP.[ch]
18532                 - New AP property "last_seen" to track how recently an AP was
18533                         found in a scan
18534                 - Start using 'const' more in function arguments
18535
18536         * src/NetworkManagerAPList.[ch]
18537                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18538                         of an AP found in an AP list from a source AP, or if not found
18539                         in the list add the source AP
18540                 - (nm_ap_list_combine): remove, no longer needed
18541
18542         * src/NetworkManagerDevice.c
18543                 - Each device now has a "worker" thread from start to end of its life.
18544                         Scanning for wireless devices now happens in that thread,
18545                         not in a single "wireless scanning thread" for all devices as
18546                         previously.  Activation consists of adding an idle handler to the
18547                         thread's main loop/context, which gets run at the next available
18548                         opportunity.
18549                 - Wireless scanning is also simplified, there is now only one list of
18550                         access points per wireless device, and APs older than 60s are
18551                         removed from the list.  Previously, we kept results for the last
18552                         3 scans and merged whole lists, which was complicated.
18553                 - Cleaned up activation debug messages.
18554                 - Wireless activation and access-point search routines now use Open System
18555                         authentication before trying Shared Key.
18556                 - Removed some code in nm_device_update_best_ap() that could cause cards
18557                         to loose their link to the access point.
18558                 - Scanning now uses a backoff algorithm, where the inverval becomes
18559                         progressively longer between scans when the list of scanned access
18560                         points doesn't change.  A change will revert to the shortest scan
18561                         interval (20s).
18562
18563         * src/NetworkManagerWireless.[ch]
18564                 - Remove code related to old single-thread wireless scanning
18565
18566 2005-01-18  Colin Walters  <walters@redhat.com>
18567
18568         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18569         of older nameservers.
18570
18571 2005-01-18  Colin Walters  <walters@redhat.com>
18572
18573         * named/nm-named-manager.c (generate_named_conf): Many fixes
18574         to config file generation.
18575         (safer_kill): Remove, was too much trouble for little gain.
18576         (nm_named_manager_start): Run named as NM_NAMED_USER.
18577
18578         * configure.in: Add option --with-named-user.
18579
18580 2005-01-14  Colin Walters  <walters@redhat.com>
18581
18582         Patch from ed@catmur.co.uk (Ed Catmur)
18583
18584         * named/nm-named-manager.c: Add "context" property.
18585         Use it to add child watch source in specific GMainContext.
18586
18587         * src/NetworkManager.c (nm_data_new): Initialize
18588         named with correct main context.  Start named only
18589         after forking.
18590
18591 2005-01-14  Colin Walters  <walters@redhat.com>
18592
18593         * named/nm-named-manager.c (generate_named_conf): Write config
18594         and pid files into NM_NAMED_DATA_DIR; this allows things to
18595         work better with FC3 named SELinux policy.  Also fix up silly
18596         format error.
18597
18598         * configure.in: Add --with-named-dir option.
18599
18600 2005-01-14  Colin Walters  <walters@redhat.com>
18601
18602         * configure.in: Make named support require passing --with-named.
18603
18604         * named/nm-named-manager.c: Support writing resolv.conf directly
18605         without running named.
18606
18607 2005-01-13  Dan Williams <dcbw@redhat.com>
18608
18609         * named/nm-named-manager.c
18610                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18611
18612         * src/NetworkManagerDevice.c
18613                 - Rework wireless link detection code to be more reliable
18614
18615 2005-01-12  Dan Williams <dcbw@redhat.com>
18616
18617         * initscripts/RedHat/NetworkManager
18618                 - Change initial level to "-" rather than "345" so that
18619                         we don't activate ourselves by default on install
18620
18621 2005-01-12  Dan Williams <dcbw@redhat.com>
18622
18623         * libnm_glib/
18624                 - Client library for applications using glib
18625
18626         * configure.in
18627           various Makefiles
18628                 - Split NM_CFLAGS and NM_LIBS into separate variables
18629                         like DBUS_*, HAL_* and GLIB_*
18630
18631         * src/NetworkManager.c
18632           src/NetworkManagerMain.h
18633                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18634                         broadcast a status changed signal over DBUS from the main thread.
18635                         Still unused anywhere for the moment.
18636
18637         Patch from j@bootlab.org
18638         * panel_applet/NMWirelessAppletDbus.c
18639           src/NetworkManagerDbus.c
18640                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18641                         for the "getMode" method call
18642
18643 2005-01-10  Dan Williams <dcbw@redhat.com>
18644
18645         * src/NetworkManagerDevice.c
18646                 - Minor fixups & corrections to "auto" frequency mode, make it
18647                         less chatty with syslog
18648
18649 2005-01-10  Dan Williams <dcbw@redhat.com>
18650
18651         * src/NetworkManagerDevice.c
18652                 - Implement "auto" frequency/channel support, since cards like Atheros
18653                         can't use other frequencies at all when you've told it to use a
18654                         specific one, even for scanning.
18655                 - Grab the scan mutex around places where we can't tolerate wireless
18656                         settings changing underneath us, like nm_device_wireless_network_exists()
18657                         and nm_device_activate_wireless()
18658
18659         * src/NetworkManagerWireless.c
18660                 - Back scan interval off to 20s instead of 14s
18661
18662 2005-01-09  Dan Williams <dcbw@redhat.com>
18663
18664         * src/NetworkManagerDevice.c
18665                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18666                         already set.  Stops some drivers like Atmel from continually
18667                         reloading the firmware, which they do upon every configuration
18668                         change.
18669
18670 2005-01-09  Dan Williams <dcbw@redhat.com>
18671
18672         * dhcpcd/client.c
18673                 - Use correct timeout value
18674
18675         * info-daemon/NetworkManagerInfoDbus.c
18676           src/NetworkManagerDbus.c
18677                 - Consolidate communication between NM and NMI by doing only 1 dbus
18678                         method call to get Wireless Network info from NMI instead of 6
18679
18680         * src/NetworkManager.c
18681                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18682                         when we didn't have an AP to use, we'd wait for one forever without
18683                         quitting
18684
18685         * src/NetworkManagerDevice.c
18686                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18687                         activation, dhcp might not have started yet but we don't quit activation
18688                         before starting it, so the quit signal gets lost
18689
18690 2005-01-07  Dan Williams <dcbw@redhat.com>
18691
18692         * dhcpcd/client.c
18693                 - Rework the DHCP client code to be much less chatty when
18694                         it receives non-DHCP UDP packets during the DHCP run
18695                         (reported by and preliminary patches from Bill Moss)
18696
18697         * Move wireless scanning to a separate thread.  This thread forwards the
18698                 results to the main thread when done where they are integrated into
18699                 the device's access point lists.  This keeps the main thread (which
18700                 does all the DBUS communication) from being blocked for long periods
18701                 of time by wireless scanning.
18702
18703         * Make state modification an idle routine in the main loop, and trigger
18704                 state changes rather than polling for them.
18705
18706         * src/backends/NetworkManagerGentoo.c
18707                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18708
18709         * src/NetworkManagerDevice.c
18710                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18711                         router advertisements, causing problems and infinite loop
18712                         during "best" device determination due to link going up/down
18713                         (reported by Bill Moss)
18714
18715         Apply patch from Peter Jones
18716         * src/NetworkManagerDevice.c
18717                 - Shortcut for link-checking for ipw2x00 cards
18718                 - Split out association check into separate routine
18719
18720 2004-01-05  Colin Walters  <walters@redhat.com>
18721
18722         * named/named.conf: Add PID_FILE.
18723
18724         * named/nm-named-manager.c: Always generate a pid
18725         file, since older BIND versions don't support
18726         "pid-file none".
18727
18728 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18729
18730         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18731
18732 2004-12-22  Dan Williams <dcbw@redhat.com>
18733
18734         * src/NetworkManagerDevice.c
18735                 - Silently fail when setting bitrate doesn't work
18736
18737
18738         Patches from j@bootlab.org:
18739         * src/backends/NetworkManagerDebian
18740                 - Update backend to match functionality in RedHat backend
18741         * src/NetworkManagerDevice.c
18742                 - Take down then bring up wired devices after connection so
18743                 they send out ipv6 router advertisements
18744
18745 2004-12-21  Colin Walters  <walters@verbum.org>
18746
18747         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18748         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18749
18750 2004-12-21  Colin Walters  <walters@redhat.com>
18751
18752         * configure.in: Correct named detection.
18753
18754 2004-12-21  Colin Walters  <walters@redhat.com>
18755
18756         * src/NetworkManager.c (nm_data_new): Initialize named.
18757         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18758         the mainloop when these signals are received.
18759         (nm_data_free): Unref named.
18760         (sigterm_handler, sigterm_pipe_handler): New functions for
18761         exiting mainloop.
18762         
18763         * src/NetworkManagerMain.h (NMData): Add signal handling and
18764         nameserver bits.
18765
18766         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18767         unref.
18768
18769         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18770         set nameservers from DHCP response data.
18771         (set_domain_search): Set domain search from DHCP response.
18772         (nm_device_dhcp_configure): Invoke them.
18773
18774         * src/NetworkManagerSystem.c
18775         (nm_system_device_update_resolv_conf): Delete.  Deleting
18776         code is totally sweet.
18777
18778         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18779
18780         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18781         implements an object which controls a nameserver.  Currently
18782         uses bind 9.
18783
18784         * configure.in: Check for named.
18785
18786         * Makefile.am (SUBDIRS): Add named dir.
18787
18788         * named/named.conf: New template config file.
18789
18790 2004-12-20  Colin Walters  <walters@redhat.com>
18791
18792         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18793         instead of '='.
18794
18795 2004-12-17  Dan Williams  <dcbw@redhat.com>
18796
18797         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18798                 link-local addresses instead of doing DHCP.
18799
18800         * In the panel applet, there's a new "Create new Wireless Network..." item
18801
18802         * The panel applet also sticks around now even if NetworkManager dies, but
18803                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18804                 a bug, I'll fix that later.
18805
18806         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18807                 lookups after a switch rather than actually doing them.
18808
18809         * Clean up some of those warnings in nm_ap_list_* functions
18810
18811         * Delay between scans changed to 15s instead of 10s
18812
18813 2004-12-15  Dan Williams  <dcbw@redhat.com>
18814
18815         Patch from Tom Parker
18816         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18817                 address
18818
18819         * Longer pause after setting ESSID on cards that support a larger number
18820                 of channels to give the card time to find the right channel
18821
18822         * Add system hook to restart mDNSResponder (or whatever the local implementation
18823                 of Multicast DNS is) when we activate interfaces
18824
18825 2004-12-15  Dan Williams  <dcbw@redhat.com>
18826
18827         * Rework the DHCP code again to revert to sending full ethernet frames
18828                 rather then relying on the kernel to do the right thing with our
18829                 packets.
18830
18831 2004-12-06  Dan Williams  <dcbw@redhat.com>
18832
18833         * dhcpcd/client.c
18834                 - Fix some minor errors in dhcp_handle_transaction() that caused
18835                         unexpected early timeouts of DHCP transactions
18836
18837         * dhcpcd/client.h
18838                 - DHCP retransmit time from 4s -> 5s
18839
18840 2004-12-05  Dan Williams  <dcbw@redhat.com>
18841
18842         * Major rework of the DHCP code, taking some cues from pump.  We don't
18843                 write raw Ethernet packets anymore, which simplifies the code quite
18844                 a bit.  The new code should be more robust, not hang in recvfrom()
18845                 as much, and generally work better.  This also means that we need
18846                 to force HAL/dbus to use a created GMainContext rather than the
18847                 default context, since having the DHCP renew/rebind thread using
18848                 its own GMainContext seemed to give dbus a fit.  There is also more
18849                 debugging information printed from the DHCP loop to help with future
18850                 problems.
18851
18852         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18853                 assume that the default gateway should be the DHCP server.
18854
18855         Patch from Matthew Schick <matt oss-institute org>
18856         * src/backends/NetworkManagerGentoo.c
18857                 - Fix compilation error due to missing "ip4_broadcast"
18858
18859 2004-12-03  Dan Williams  <dcbw@redhat.com>
18860
18861         * initscript/Makefile.am
18862         * initscript/Debian/NetworkManager
18863         * initscript/Gentoo/NetworkManager
18864         * initscript/RedHat/NetworkManager
18865         * initscript/NMLaunchHelper.c
18866                 - Remove NMLaunchHelper, if you need to wait until the network
18867                         comes up, use the dead code from CVS.
18868
18869 2004-12-01  Colin Walters  <walters@redhat.com>
18870         
18871         * configure.in: Suck in gcc warnings code from Rhythmbox,
18872         but use fewer default flags, and in particular add -Wno-unused,
18873         since the codebase has a lot of unused variables.
18874
18875         * test/nmtestdevices.c (create_device): 
18876         * test/nminfotest.c (get_network_string_property) 
18877         (get_networks_of_type): 
18878         * test/nmclienttest.c (main): 
18879         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18880         * initscript/NMLaunchHelper.c (get_nm_status): 
18881         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18882         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18883         Fix declarations after statements.
18884
18885 2004-12-01  Colin Walters  <walters@redhat.com>
18886
18887         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18888         (nmi_dbus_get_vpn_userpass): New method.
18889         (nmi_dbus_nmi_message_handler): Invoke it.
18890
18891         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18892
18893         * info-daemon/NetworkManagerInfoVPN.h,
18894         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18895         to requests for VPN passwords.
18896
18897         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18898
18899 2004-12-01  Colin Walters  <walters@redhat.com>
18900
18901         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18902         includes.
18903
18904 2004-12-01  Colin Walters  <walters@redhat.com>
18905
18906         * panel-applet/NMWirelessAppletDbus.c
18907         (nmwa_dbus_update_active_device_strength): Fix missing
18908         return value.
18909
18910 2004-12-01  Colin Walters  <walters@redhat.com>
18911
18912         * panel-applet/NMWirelessApplet.c: Add missing include.
18913
18914 2004-12-01  Colin Walters  <walters@redhat.com>
18915
18916         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18917         Remove useless CLAMP (); the value is unsigned, and the case tests
18918         qual->qual < 100, so the value must always be between 0 and 100.
18919
18920 2004-12-01  Colin Walters  <walters@redhat.com>
18921
18922         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18923
18924 2004-11-22  Colin Walters  <walters@verbum.org>
18925
18926         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18927         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18928         which is essentially a noop since nscd caches hosts on disk too.
18929         
18930 2004-11-22  Colin Walters  <walters@redhat.com>
18931
18932         * src/Makefile.am (NetworkManager_SOURCES): Add
18933         NetworkManagerDevicePrivate.h.
18934
18935 2004-11-22  Dan Williams <dcbw@redhat.com>
18936
18937         * src/NetworkManagerDevicePrivate.h
18938                 - Split out the NMDevice struct to a different file so that stuff like
18939                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18940
18941         * dhcpcd/client.c
18942                 - fprintf->syslog
18943                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18944                         need to cancel the dhcp request during the send and recv
18945
18946         * dhcpcd/client.h
18947                 - Move the DHCP option enum to dhcpcd.h
18948
18949         * src/NetworkManagerDHCP.c
18950                 - Split out the actual IP/netmask/etc setting code
18951                 - New Renew/Rebind functions
18952                 - New timer setup function for renew/rebind operations
18953
18954         * src/NetworkManagerDevice.c
18955                 - For device activation, if we are using DHCP then keep the activation thread
18956                         alive until device deactivation.  We need to renew/rebind the DHCP address
18957                         after the T1 (renew) and T2 (rebind) times have expired.
18958                 - Increase some timeouts after bringing wireless cards up/down
18959
18960 2004-11-17  Dan Williams <dcbw@redhat.com>
18961
18962         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18963                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18964                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18965                 show known access points that don't broadcast their ESSID in the menus without
18966                 any user intervention whatsoever.
18967
18968         * info-daemon/NetworkManagerInfoDbus.c
18969                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18970                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18971
18972         * src/NetworkManagerAP.[ch]
18973                 - Add a "user_addresses" data member to the NMAccessPoint structure
18974                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18975                         the user_addresses data member
18976
18977         * src/NetworkManagerAPList.c
18978                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18979                         the AP's reported address
18980                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18981
18982         * src/NetworkManagerDHCP.c
18983                 - Increase DHCP timeout from 25s -> 30s
18984
18985         * src/NetworkManagerDbus.[ch]
18986                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18987                         user addresses
18988
18989         * src/NetworkManagerDevice.c
18990                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18991                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18992                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18993                         So, we take the card down to clear it out.
18994                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18995                         too, since that's where the user_addresses are
18996
18997         * src/NetworkManagerPolicy.c
18998                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18999                         that wireless networks' user_addresses list upon successful activation
19000
19001 2004-11-16  Dan Williams <dcbw@redhat.com>
19002
19003         * src/NetworkManagerDevice.[ch]
19004                 - (nm_device_clear_activation_fail): new function
19005
19006         * src/NetworkManagerPolicy.c
19007                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19008                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19009
19010 2004-11-16  Dan Williams <dcbw@redhat.com>
19011
19012         * src/NetworkManagerDevice.c
19013                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19014                         leak the structure, better updating of now_scanning status
19015                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19016
19017 2004-11-15  Dan Williams <dcbw@redhat.com>
19018
19019         Major rework of link detection code.  We now use DHCP
19020         as part of the link detection which proves to be much more robust,
19021         and also supports Open System authentication for wireless networks.
19022
19023         We no longer use external DHCP client programs.  Instead, we use 
19024         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19025         which was written by:
19026                 Yoichi Hariguchi <yoichi@fore.com>
19027                 Sergei Viznyuk <sv@phystech.com>
19028                 http://www.phystech.com/download/
19029         It resides in the "dhcpcd" directory and was refactored into a general
19030         purpose DHCP client library by me.
19031
19032         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19033         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19034
19035 2004-11-15  Dan Williams <dcbw@redhat.com>
19036
19037         Patch from Tom Parker <palfrey@tevp.net>:
19038
19039         * src/NetworkManagerDevice.c
19040                 - Less output to console when no access
19041                         points are found during a scan
19042
19043 2004-11-15  Dan Williams <dcbw@redhat.com>
19044
19045         Patch from Tom Parker <palfrey@tevp.net>:
19046
19047         * src/backends/interface_parser.c
19048                 - Use g_strdup ()
19049                 - Check for inp == NULL
19050                 - use syslog ()
19051
19052 2004-11-13  Colin Walters  <walters@redhat.com>
19053
19054         Patch from Tom Parker <palfrey@tevp.net>:
19055
19056         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19057         
19058         * src/backends/NetworkManagerRedHat.c: Switch to
19059         including shvar.h instead of shvar.c.
19060
19061         * src/backends/NetworkManagerDebian.c: Don't include
19062         interface_parser.c in source file.
19063
19064         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19065         and interface_parser.[ch].
19066         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19067         Include shvar.c and shvar.h here.
19068         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19069         interface_parser.c and interface_parser.h here.
19070
19071 2004-11-12  Colin Walters  <walters@redhat.com>
19072
19073         * configure.in: Strip out TARGET_DISTRO and
19074         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19075         conditionals.
19076
19077         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19078         (libnmbackend_la_SOURCES): Use Automake conditionals
19079         to add distro-specific files.
19080
19081         * initscript/Makefile.am (SUBDIRS): Update to
19082         use conditionals.
19083
19084 2004-11-12  Colin Walters  <walters@redhat.com>
19085
19086         Patches from j bootlab org
19087
19088         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19089         Add interface_parser.[ch].
19090
19091         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19092         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19093
19094 2004-11-12  Colin Walters  <walters@redhat.com>
19095
19096         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19097         call to nmi_dbus_is_running too, not necessary anymore.
19098         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19099         pick up exit().
19100
19101 2004-11-11  Colin Walters  <walters@verbum.org>
19102
19103         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19104         Delete.
19105         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19106         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19107         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19108         This avoids a race condition that made it pretty easily
19109         possible to get two NetworkManagerInfo daemons running.
19110
19111 2004-11-11  Colin Walters  <walters@verbum.org>
19112         
19113         * src/NetworkManager.c (main): Use daemon(3).
19114
19115         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19116
19117         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19118
19119 2004-11-10 Dan Williams <dcbw@redhat.com>
19120
19121         Patches from j bootlab org
19122         * src/NetworkManagerDevice.c
19123                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19124                         whether the card has a link or not, some cards are slow
19125                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19126
19127         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19128                 - Disable the "Login" button on the passphrase dialog until the user
19129                         enters a valid passphrase or key
19130
19131         Patches from Tom Parker <palfrey tevp net>
19132         * src/backends/NetworkManagerDebian.c
19133                 - Add static IP support to the debian backend
19134
19135         * src/backends/interface_parser.[ch]
19136                 - Parse debian interface config files
19137
19138 2004-11-08 Dan Williams <dcbw@redhat.com>
19139
19140         * src/NetworkManagerDevice.c
19141                 - Some random fprintf->syslog conversions
19142                 - (nm_device_wireless_network_exists): double-check for network
19143                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19144
19145         * src/NetworkManagerWireless.[ch]
19146                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19147                         so that the binary->ascii conversion works (if unsigned, the bitshift
19148                         will fill with zeros, which is what's required).  Also mask bitshift
19149                         result with 0xF for futher assurance.
19150
19151 2004-11-06 Dan Williams <dcbw@redhat.com>
19152
19153         * src/NetworkManagerUtils.c
19154                 - (nm_get_wireless_driver_support_level): default to
19155                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19156                         flip this when changing from whitelist->blacklist of
19157                         wireless drivers
19158
19159 2004-11-05 Dan Williams <dcbw@redhat.com>
19160
19161         Patch from Robert Paskowitz:
19162         * src/backends/NetworkManagerGentoo.c
19163                 - Update static IP config code
19164
19165 2004-11-05 Dan Williams <dcbw@redhat.com>
19166
19167         * info-daemon/NetworkManagerInfoDbus.c
19168           src/NetworkManagerDbus.[ch]
19169           src/NetworkManagerDevice.c
19170                 - Keep track of the # of attempts to get the WEP key
19171                         from the user and pass that along to the info daemon
19172
19173 2004-11-05 Dan Williams <dcbw@redhat.com>
19174
19175         * src/NetworkManagerUtils.c
19176                 - Blacklist wireless cards rather than whitelisting them.
19177                 - Grab driver name from HAL rather than trying to find it
19178                         ourselves.
19179
19180 2004-11-03 Dan Williams <dcbw@redhat.com>
19181
19182         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19183                 - Disable OK button until valid data is entered
19184                         for encryption stuff too
19185
19186         * panel-applet/NMWirelessApplet.c
19187                 - Report card strength for current AP if the card
19188                         doesn't report strength data for scanned access
19189                         points
19190
19191         * src/NetworkManagerDevice.c
19192                 - Smooth out cards reported quality, Atmel card was
19193                         intermittently reporting no quality data but soon
19194                         recovers
19195
19196         * src/NetworkManagerWireless.c
19197                 - Better quality data percentage calculation.  Atmel
19198                         cards (mine at least) seem to report the quality
19199                         in percentage format already, so honor that
19200
19201         Patch from <j@bootlab.org>
19202         * NetworkManager.h
19203           info-daemon/NetworkManagerInfoPassphraseDialog.c
19204           info-daemon/passphrase.glade
19205           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19206           panel-applet/essid.glade
19207           src/NetworkManagerAP.c
19208           src/NetworkManagerDevice.c
19209           src/NetworkManagerWireless.[ch]
19210                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19211
19212 2004-11-03 Dan Williams <dcbw@redhat.com>
19213
19214         * src/NetworkManagerDevice.[ch]
19215                 - (nm_device_set_enc_key): Add parameter to set Authentication
19216                         Mode (Open System, Shared Key, or None).  We're still using
19217                         Shared Key for now though.
19218
19219 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19220
19221         * panel-applet/menu-info.c: change from bold text to light
19222         colored, may cause problems with some themes, i've tested a lot
19223         and they seem fine. 
19224
19225         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19226
19227 2004-11-01  Colin Walters  <walters@verbum.org>
19228
19229         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19230         (nm_wireless_128bit_key_from_passphrase): Add const.
19231
19232         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19233         (nm_ap_set_enc_key_source): Add const.
19234         
19235 2004-11-01  Colin Walters  <walters@verbum.org>
19236
19237         * .cvsignore: Update.
19238
19239 2004-10-29 Dan Williams <dcbw@redhat.com>
19240
19241         * src/NetworkManagerDevice.c
19242                 - (nm_device_wireless_network_exists): Actually use the encryption
19243                         key we got from the applet when attempting to find a wireless network
19244                 - Don't bring devices down so much since on some cards it triggers
19245                         firmware hotplugs each time
19246
19247         * src/NetworkManagerDbus.c
19248                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19249                         from the caller
19250
19251 2004-10-29 Dan Williams <dcbw@redhat.com>
19252
19253         * src/NetworkManager.c
19254                 - (nm_hal_device_property_modified): unlock a locked active
19255                         wireless device when a wired connection gets a link.
19256                         (Means you'll switch to wired whenever you plug in no
19257                         matter what).
19258
19259 2004-10-29 Dan Williams <dcbw@redhat.com>
19260
19261         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19262                 - New files, implement the "Other wireless network" dialog
19263
19264         * panel-applet/NMWirelessApplet.c
19265                 - Move "other wireless network" dialog to separate file
19266
19267         * panel-applet/NMWirelessAppletDbus.[ch]
19268                 - Take key and key_type paramaters for the set_device function
19269
19270         * panel-applet/essid.glade
19271                 - Add UI bits for encryption settings
19272
19273         * src/NetworkManagerDbus.c
19274                 - Retrieve key and key_type params for "setActiveDevice" method call
19275                         and pass them on
19276                 - unref AP returned from nm_device_get_best_ap() when needed
19277
19278         * src/NetworkManagerDevice.c
19279                 - (nm_device_get_best_ap): ref the ap before returning it
19280                 - unref AP returned from nm_device_get_best_ap() when needed
19281                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19282                         need to call nm_device_get_best_ap() here, it was pretty much
19283                         redundant anyway
19284                 - (AP_NEED_KEY): break second link check condition out into separate
19285                         function, and fix segfault when ap->enc_key_source was NULL
19286                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19287                         pass them along to nm_device_wireless_network_exists().  If the
19288                         network does exist, set the passed-in key+key_type on the AP
19289
19290         * src/NetworkManagerPolicy.c
19291                 - unref AP returned from nm_device_get_best_ap() when needed
19292
19293 2004-10-28 Dan Williams <dcbw@redhat.com>
19294
19295         * src/NetworkManagerUtils.c
19296                 - (nm_spawn_process): Fix a potential dereference of NULL
19297
19298         Patches from Peter Jones:
19299
19300         * src/NetworkManagerDevice.c
19301                 - (nm_device_test_wireless_extensions): Better check for
19302                         wireless devices
19303
19304         * src/NetworkManagerUtils.c
19305                 - (nm_spawn_process): Pass in valid stdout and stderr so
19306                         executed programs don't randomly SIGPIPE and fail
19307                 - (nm_get_wired_driver_support_level): quash hal warning
19308                         when checking for USB ethernet device
19309
19310 2004-10-27 Dan Williams <dcbw@redhat.com>
19311
19312         * info-daemon/NetworkManagerInfo.c
19313           info-daemon/NetworkManagerInfoDbus.c
19314           info-daemon/NetworkManagerInfoPassphraseDialog.c
19315           panel-applet/NMWirelessApplet.c
19316                 - Properly escape gconf keys
19317
19318         * src/NetworkManager.c
19319                 - remove unused variables
19320
19321         * src/NetworkManagerAP.c
19322                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19323                         refcount since it got set in nm_ap_new()
19324
19325         * src/NetworkManagerAPList.c
19326                 - (nm_ap_list_combine): Give up ownership of newly created
19327                         access points to the ap list, fixes memleak
19328
19329         * src/NetworkManagerDevice.c
19330                 - Remove cached_ap_list4 member since its not really needed
19331                 - (nm_device_wireless_network_exists): Try to get correct
19332                         encryption status of a found AP if its already in our
19333                         device list
19334                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19335                         memory allocs/deallocs a bit clearer and shorter-lived
19336
19337 2004-10-26 Ray Strode <rstrode@redhat.com>
19338
19339         * panel-applet/NMWirelessApplet.c:
19340           (custom_essid_item_selected):  kill some compiler
19341         warnings 
19342
19343 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19344
19345         * info-daemon/NetworkManagerInfoDbus.c
19346                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19347                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19348
19349 2004-10-23 Dan Williams <dcbw@redhat.com>
19350
19351         * info-daemon/NetworkManagerInfoDbus.c
19352                 - Trap the "DeviceActivationFailed" signal
19353
19354         * docs/NetworkManager DBUS API.txt
19355                 - Add "DeviceActivationFailed" signal
19356
19357         * panel-applet/NMWirelessAppletDbus.c
19358                 - Quash the "NetworkManager service not available" message
19359
19360         * src/NetworkManagerDbus.[ch]
19361                 - Add the "DeviceActivationFailed" signal
19362
19363         * src/NetworkManagerDevice.c
19364                 - Add support for activation_failed flag
19365                 - Fix deadlock where activation thread didn't clean itself up, making
19366                         main thread still believe it was alive forever (didn't reset activation
19367                         flags like activating, just_activated, etc when IP configuration
19368                         failed)
19369
19370         * src/NetworkManagerPolicy.c
19371                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19372                         for wireless networks, try to fall back to some other access point
19373
19374 2004-10-23 Dan Williams <dcbw@redhat.com>
19375
19376         * panel-applet/NMWirelessApplet.[ch]
19377                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19378                         to the applet object, so we can get tooltips
19379                 - Add tooltips (RH #136866)
19380
19381         * src/NetworkManagerDevice.c
19382                 - When trying to find a wireless network, try to connect with encryption
19383                         turned on first, so that we can more accurately detect whether or not
19384                         we need to use encryption for the actual association later on
19385
19386 2004-10-21 Dan Williams <dcbw@redhat.com>
19387
19388         * Add some support for telling NetworkManagerInfo to tell the user
19389                 that they are using a device that's not fully supported
19390
19391         * Fix some assertions in debug messages due to null access point args
19392
19393 2004-10-21 Dan Williams <dcbw@redhat.com>
19394
19395         * src/NetworkManagerDevice.c
19396                 - Don't try to activate/bring up/down unsupported
19397                         devices
19398
19399         * src/NetworkManagerUtils.c
19400                 - Fix case of PCI ID checks for driver support levels
19401
19402 2004-10-21 Dan Williams <dcbw@redhat.com>
19403
19404         * NetworkManager.h
19405                 - New file, now contains commonly used structures and bits
19406                         for the dbus API of NetworkManager
19407
19408         * Makefile.am
19409                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19410
19411         * src/NetworkManager.h
19412                 - Rename -> src/NetworkManagerMain.c
19413
19414         * Various fixups all around to use NetworkManager.h and new
19415                 src/NetworkManagerMain.h, remove redundant bits that got
19416                 moved into NetworkManager.h
19417
19418         * src/NetworkManagerDevice.[ch]
19419           src/NetworkManagerUtils.[ch]
19420           src/NetworkManagerPolicy.c
19421           src/NetworkManagerDbus.c
19422                 - Whitelist wireless drivers, and blacklist some wired
19423                         drivers.  Also blacklist cipsec and ethernet-over-usb
19424                         devices at this time (RH #135722, RH #135648)
19425                 - Don't leak unsupported devices out over dbus, or allow
19426                         them to be set as the active device.  Skip over them
19427                         during automatic device picking
19428
19429         * test/nmclienttest.c
19430                 - Clean up the dbus code a lot
19431
19432 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19433
19434         * configure.in: post release bump.
19435
19436 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19437
19438         * configure.in:
19439         * NEWS: Released NetworkManager-0.3.1
19440
19441 2004-10-18 Dan Williams <dcbw@redhat.com>
19442
19443         Patches from Thom May:
19444         * test/nmtestdevices.c
19445                 - Include <string.h>
19446         * src/backends/NetworkManagerDebian.c:
19447                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19448                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19449                         Move to using g_strdup_printf rather than arbitrary buffers
19450                 - (nm_system_device_setup_static_ip4_config) Implement function.
19451                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19452
19453 2004-10-17 Dan Williams <dcbw@redhat.com>
19454
19455         * info-daemon/NetworkManagerInfoDbus.c
19456                 - Display name of network in the "network not found" dialog
19457
19458         * panel-applet/NMWirelessAppletDbus.c
19459                 - (nmwa_dbus_call_nm_method): new function replaces all other
19460                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19461                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19462                         consolidated into nmwa_dbus_get_object_name()
19463
19464 2004-10-15 Dan Williams <dcbw@redhat.com>
19465
19466         * src/NetworkManagerDbus.c
19467           info-daemon/NetworkManagerInfoDbus.c
19468                 - Display an error dialog when the user tries to use an
19469                         "Other wireless network" that's not found.
19470
19471 2004-10-15 Dan Williams <dcbw@redhat.com>
19472
19473         * panel-applet/NMWirelessApplet.[ch]
19474                 - Fix up corner cases in applet state, making it
19475                         look more responsive.  Change state to "connecting" when
19476                         the user is forcing a device too.
19477
19478 2004-10-15 Dan Williams <dcbw@redhat.com>
19479
19480         * src/NetworkManagerAPList.c
19481                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19482
19483         * src/NetworkManagerDbus.c
19484                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19485
19486         * src/NetworkManagerDevice.c
19487                 - Disown APs after the device's AP list takes ownership
19488
19489 2004-10-15 Dan Williams <dcbw@redhat.com>
19490
19491         * panel-applet/NMWirelessApplet.c
19492                 - Update our applet state from the GUI thread
19493
19494         * panel-applet/NMWirelessAppletDbus.c
19495                 - Greatly simplify the locking to make the GUI thread
19496                         smoother.  Update a private copy of the device list
19497                         and active device and only when done talking to
19498                         NetworkManager turn it over to the GUI thread.
19499
19500 2004-10-15 Dan Williams <dcbw@redhat.com>
19501
19502         * src/NetworkManagerAP.[ch]
19503                 - Add "artificial" get/set functions, set for APs that
19504                         aren't discovered as part of a scan but instead
19505                         discovered by force-setting the ESSID
19506
19507         * src/NetworkManagerDevice.[ch]
19508                 - (nm_device_wireless_network_exists): pass back whether
19509                         or not the discovered AP was encrypted.  Also, try
19510                         falling back to encrypted mode on the card if unencrypted
19511                         association doesn't work
19512                 - (nm_device_find_and_use_essid): If the network requested
19513                         did in fact exists, but it wasn't in our scan list, add
19514                         an "artificial" entry for it.  Some Cisco cards don't
19515                         see non-ESSID-broadcasting APs in their scan but can still
19516                         associate with them if you know the ESSID, this works around
19517                         that behavior
19518                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19519                         to scan if the card is currently associated with that AP
19520
19521 2004-10-15 Dan Williams <dcbw@redhat.com>
19522
19523         ---- We have a website ----
19524         http://people.redhat.com/dcbw/NetworkManager
19525
19526         Patch from Robert Paskowitz:
19527         * src/NetworkManager.c
19528                 - (main): Make sure we are run as root
19529         * src/NetworkManagerDevice.c
19530                 - Fix type in ad-hoc setting function
19531
19532         Patch from Thom May:
19533         * src/backends/NetworkManagerDebian.c
19534                 - Make Debian backend compile again
19535
19536 2004-10-14 Dan Williams <dcbw@redhat.com>
19537
19538         * Tagged NetworkManager-0_3
19539
19540 2004-10-14 Dan Williams <dcbw@redhat.com>
19541
19542         Patch from Robert Paskowitz:
19543         * NEWS
19544           src/NetworkManagerDevice.[ch]
19545           src/backends/NetworkManagerDebian.c
19546           src/backends/NetworkManagerGentoo.c
19547           src/backends/NetworkManagerRedHat.c
19548           src/backends/NetworkManagerSlackware.c
19549                 - Add support for grabbing and using a broadcast address
19550                         from system config files
19551                 - Some Gentoo backend fixes for grabbing network config
19552                 - Fix LOG_WARN->LOG_WARNING
19553
19554 2004-10-14 Dan Williams <dcbw@redhat.com>
19555
19556         * NEWS: a few small fixes in the credits
19557
19558 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19559
19560         * NEWS: prep for release.
19561
19562 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19563
19564         * panel-applet/NMWirelessAppletDbus.c
19565         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19566
19567 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19568
19569         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19570         applet->state == APPLET_STATE_NO_NM animation.
19571
19572         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19573         set the text correctly.
19574
19575 2004-10-14 Dan Williams <dcbw@redhat.com>
19576
19577         * src/NetworkManager.c
19578                 - Only accept and manager 802.3 and 802.11 devices
19579
19580         * src/NetworkManagerDbus.[ch]
19581                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19582                         logic into NetworkManagerDevice.c
19583                 - (nm_dbus_network_status_from_data): new function
19584                 - (nm_dbus_signal_network_status_change): new function, unused for now
19585                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19586
19587         * src/NetworkManagerDevice.[ch]
19588                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19589                         a random ESSID.
19590
19591 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19592
19593         * info-daemon/NetworkManagerInfo.c 
19594                 - (main): Added session management
19595
19596 2004-10-14 Dan Williams <dcbw@redhat.com>
19597
19598         * panel-applet/NMWirelessAppletDbus.[ch]
19599                 - Expose network_device_[un]ref()
19600                 - Expose wireless_network_[un]ref()
19601                 - (wireless_network_new_with_essid): new function, create and return
19602                         a wireless network with a particular essid
19603
19604         * panel-applet/NMWirelessApplet.c
19605                 - Hook up the "other network" dialog to do something
19606
19607 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19608
19609         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19610         doesn't work yet, but it looks okay.
19611
19612         * panel-applet/icons/*png: Resize to 22x22 and install in the
19613         right place.
19614
19615 2004-10-13 Dan Williams <dcbw@redhat.com>
19616
19617         * panel-applet/NMWirelessApplet.c
19618                 - Add function to print out applet_state in a readable
19619                         manner
19620
19621         * src/NetworkManager.c
19622                 - (main): Don't segfault when nm_dbus_init() fails, we had
19623                         a left-over call to hal_shutdown() into which we passed NULL
19624
19625         * src/NetworkManagerAP.c
19626                 - (nm_ap_set_essid): Allow NULL essids
19627
19628         * src/NetworkManagerAPList.[ch]
19629                 - More use of nm_ap_list_[un]lock ()
19630                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19631                         network/essid, just return nothing.  Also skip over NULL
19632                         essid access points in the list when searching
19633                 - (nm_ap_list_get_ap_by_address): new function
19634                 - (nm_ap_list_update_network): set the access point's key source to
19635                         NULL when the key returned from NetworkManagerInfo is NULL or
19636                         of 0 length
19637                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19638                         copy timestamp over too
19639                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19640                         find the correct ESSID for a blank-essid access point by searching
19641                         through another list and matching access point MAC addresses
19642                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19643
19644         * src/NetworkManagerDbus.c
19645                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19646                         may specify.  This is mainly for access points that don't
19647                         broadcast their essid.  So if the user tells us to associate with
19648                         some random ESSID that's not in our access point list, we find
19649                         out if the access point does in fact exist (by attempting association
19650                         and then matching that access point's MAC address with the essid the
19651                         user gave us) and then we switch to it.
19652                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19653                         to the returned list of networks for the "getNetworks" method
19654
19655         * src/NetworkManagerDevice.[ch]
19656                 - Extra debugging info for link detection
19657                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19658                         based on MAC address
19659                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19660                 - (nm_device_wireless_network_exists): new function, find out whether
19661                         a random ESSID exists by attempting to associate with it
19662                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19663                         device list as long as they have an AP MAC address we can use.
19664                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19665                         devices too.  Lets the applet update more frequently.
19666
19667         * src/backends/NetworkManagerGentoo.c
19668                 - Patch from: Robert Paskowitz
19669                         - Update backend code for Gentoo
19670                         - Implement nm_system_device_update_config_info ()
19671
19672         * test/nmclienttest.c
19673                 - (set_network_device): new function, takes a command-line argument
19674                         and tells NetworkManager to use that wireless network
19675
19676 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19677
19678         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19679         if the notification icon crashes 5 times within 5 seconds of each respawn 
19680
19681 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19682
19683         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19684         g_print.
19685
19686 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19687
19688         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19689
19690         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19691         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19692         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19693         Change the name of the icons.
19694
19695         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19696         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19697         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19698         (nm_menu_wireless_expose_event): Really bad hack to get the style
19699         to draw in the right color.
19700
19701 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19702
19703         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19704         Notification if it crashes
19705
19706 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19707
19708         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19709         (nmwa_dbus_get_string): remove unused functions
19710
19711         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19712         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19713         remove unused functions
19714
19715         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19716
19717 2004-10-12 Dan Williams <dcbw@redhat.com>
19718
19719         * panel-applet/NMWirelessAppletDbus.c
19720                 - New functions:
19721                         wireless_network_new
19722                         wireless_network_copy
19723                         network_device_new
19724                         network_device_copy
19725
19726         * src/NetworkManagerDevice.[ch]
19727                 - New functions:
19728                         nm_device_set_mode_managed
19729                         nm_device_set_mode_adhoc
19730                 - Use these functions where appropriate
19731                 - When creating a new wireless device, force the card
19732                         to managed/Infrastructure mode as soon as possible
19733
19734 2004-10-12 Dan Williams <dcbw@redhat.com>
19735
19736         * src/NetworkManagerDevice.c
19737                 - Force wireless cards into Infrastructure mode before we use them
19738
19739 2004-10-12 Dan Williams <dcbw@redhat.com>
19740
19741         * TODO
19742                 - Remove bit about static IP address support
19743
19744         * src/NetworkManagerUtils.c
19745                 - (nm_spawn_process): Add some error reporting
19746
19747         * src/NetworkManagerDevice.c
19748                 - (nm_device_activation_configure_ip): hook up to the static config
19749                         routines in the backends
19750
19751         * src/backends/NetworkManagerRedHat.c
19752                 - (nm_system_device_update_config_info): use shvar.c routines to
19753                         parse the config file iformation, not our own
19754                 - (nm_system_device_setup_static_ip4_config): new function, based
19755                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19756                         with a static IP address and gateway
19757
19758         * src/backends/shvar.[ch]
19759                 - Parser (filched from initscripts package) for ifcfg-* files
19760
19761         * src/backends/NetworkManagerSystem.h
19762           src/backends/NetworkManagerGentoo.c
19763           src/backends/NetworkManagerDebian.c
19764           src/backends/NetworkManagerSlackware.c
19765                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19766
19767 2004-10-11 Dan Williams <dcbw@redhat.com>
19768
19769         * TODO
19770                 - Remove bit about more robust AP diffing since I just implemented it
19771
19772 2004-10-11 Dan Williams <dcbw@redhat.com>
19773
19774         * src/NetworkManagerAP.c
19775                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19776                         enough RAM to allocate new AP structures, but return NULL instead
19777
19778         * src/NetworkManagerAPList.[ch]
19779                 - (nm_ap_list_is_empty): new function
19780                 - (nm_ap_list_combine): new function, combine two access point lists
19781                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19782                         into another
19783
19784         * src/NetworkManagerDevice.[ch]
19785                 - Rename some functions to be clearer:
19786                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19787                         nm_device_just_activated     -> nm_device_is_just_activated
19788                         nm_device_activating         -> nm_device_is_activating
19789                         nm_device_now_scanning       -> nm_device_is_scanning
19790                 - Cache the last 4 scans so that the access point list is more stable.
19791                         We combine the lastest two scans and use that as the AP list,
19792                         and diff that combined list against the combination of the earliest
19793                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19794
19795 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19796
19797         * info-daemon/NWManagerInfo.h
19798                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19799
19800         * info-daemon/NWManagerInfoDbus.c
19801                 - (shutdown_callback): new function
19802                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19803                         if NetworkManager goes away.  Kill the timeout
19804                         if NetworkManager restarts before the 30 seconds
19805                         are up.
19806                 - (nmi_dbus_service_init): 
19807                         - call gtk_main_quit if NetworkManager is not running
19808                         - add filters to monitor dbus service creations and
19809                                 deletions
19810         
19811 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19812
19813         * panel-applet/NMWirelessApplet.c
19814                 - (nmwa_update_state): Hide notification icon if we are only
19815                         showing one wired card and no wireless interfaces 
19816                         (Red Hat Bug #134895)
19817
19818         * panel-applet/NMWirelessAppletDbus.c
19819                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19820
19821         * info-daemon/NWManagerInfo.c
19822                 - (main): Terminated the notification_icon_cmd array with a NULL
19823
19824 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19825
19826         * configure.in (ALL_LINGUAS): Added de (German).
19827
19828 2004-10-08 Dan Williams <dcbw@redaht.com>
19829
19830         * src/NetworkManagerDevice.c
19831                 - Be a bit more robust about link checking, ie make sure that
19832                         the WEP key we were given actually has some data in it
19833
19834 2004-10-08 Dan Williams <dcbw@redhat.com>
19835
19836         * info-daemon/NetworkManagerInfo.c (main):
19837                 - Initialize GError object to NULL
19838
19839 2004-10-08 Dan Williams <dcbw@redhat.com>
19840
19841         * panel-applet/NMWirelessAppletDbus.c
19842                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19843
19844 2004-10-08 Dan Williams <dcbw@redhat.com>
19845
19846         * info-daemon/NetworkManagerInfo.[ch]
19847           info-dameon/NetworkManagerInfoDbus.[ch]
19848           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19849                 - Preserve original label text in the passphrase dialog so that
19850                         it actually gets updated with the new network name the next
19851                         time around.  Previously, we were overwriting it so you'd get
19852                         the wrong network name to enter a key for
19853                 - Add a "Key Type" combo to the passphrase dialog, user selects
19854                         encryption key type now, type is stored in GConf too
19855                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19856
19857         * src/NetworkManagerAP.[ch]
19858                 - Remove all the encyption method magic.  It's now set by the user
19859                         and NetworkManager retrieves the type of encryption key from
19860                         NetworkManagerInfo
19861
19862         * src/NetworkManagerAPList.[ch]
19863           src/NetworkManagerDbus.[ch]
19864                 - Adjust to new way of setting encryption key and method
19865                 - Pull encryption method down from NMI along with key
19866
19867         * src/NetworkManagerDevice.[ch]
19868                 - Removed encryption method fallback magic as the method is now
19869                         determined by the user.  This greatly simplifies the connection
19870                         logic.
19871                 - More robust connection/link logic.  Besides removing the encryption
19872                         method fallback magic, check whether or not the card is receiving
19873                         invalidly encrypted packets, which usually indicates that we have
19874                         a bad WEP key set.
19875                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19876
19877         * test/nminfotest.c
19878                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19879
19880 2004-10-07 Dan Williams <dcbw@redhat.com>
19881
19882         * info-daemon/NetworkManagerInfo.conf
19883                 - Allow root user to run NMI too
19884
19885 2004-10-06 Dan Williams <dcbw@redhat.com>
19886
19887         * src/NetworkManagerDevice.[ch]
19888           src/NetworkManagerDbus.c
19889           doc/NetworkManager DBUS API.txt
19890                 - Add a new status tag "scanning", which is set when there
19891                         is no active network connection, but NetworkManager is
19892                         looking for an access point to associate with
19893
19894         * panel-applet/main.c
19895                 - Cast the applet appropriately for gtk_widget_show_all ()
19896
19897 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19898
19899         * panel-applet/eggtrayicon.[ch]:
19900         * panel-applet/main.c: Add missing file
19901
19902 2004-10-04 Dan Williams <dcbw@redhat.com>
19903
19904         * src/NetworkManagerDevice.[ch]
19905                 - Add a slightly more robust method of determining if the WEP key
19906                         is correct or not, by checking the WEP-discarded packet count
19907                         on the card
19908
19909         * info-daemon/NetworkManagerInfo.c
19910                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19911                         un-escape values we pull out rather than escaping them
19912
19913 2004-10-03  Marcel Telka  <marcel@telka.sk>
19914
19915         * configure.in (ALL_LINGUAS): Added sk.
19916
19917 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19918
19919         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19920         and feel.  We should be back to working, and have a good, clean
19921         look.
19922
19923 2004-09-30 Dan Williams <dcbw@redhat.com>
19924
19925         * info-daemon/NetworkManagerInfo.c
19926           info-daemon/NetworkManagerInfoDbus.c
19927           test/nminfotest.c
19928                 - Escape ESSIDs in gconf
19929
19930         * src/NetworkManagerDevice.c
19931                 - Fix pseudo-scanning to use netowrk list from info daemon
19932
19933 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19934
19935         * configure.in: Add a temporary --enable-notification-icon.  This
19936         will prolly go away.
19937
19938         * info-daemon/Makefile.am:
19939         * info-daemon/NetworkManagerInfo.c:
19940         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19941
19942         * panel-applet/Makefile.am:
19943         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19944         * panel-applet/NMWirelessApplet.h:
19945
19946 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19947
19948         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19949         before 'select custom ESSID'.
19950
19951         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19952         fully complete, but syncing in prep for merge.
19953
19954         * panel-applet/icons/*png: New images
19955
19956 2004-09-28 Dan Williams <dcbw@redhat.com>
19957
19958         * src/NetworkManager.c
19959           src/NetworkManagerDevice.c
19960           src/NetworkManagerPolicy.c
19961                 - Don't blow away an active wired connection on startup
19962
19963 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19964
19965         Changes from J5
19966         
19967         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19968
19969         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19970         syslog output
19971
19972 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19973
19974         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19975         have a wireless card.
19976
19977 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19978
19979         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19980         Also, get the right device strings.
19981
19982 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19983
19984         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19985         the logic to make this right.
19986
19987         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19988         devices so that wired networks are always first.
19989
19990 2004-09-22    <clarkbw@cvs.gnome.org>
19991
19992         * initscript/Debian/.cvsignore:
19993         * initscript/Slackware/.cvsignore:
19994         Added new cvsignores for Makefile, Makefile.in
19995         
19996         * test/.cvsignore:
19997         Added nmtestdevices
19998         
19999         * src/NetworkManagerDevice.c: 
20000         * src/NetworkManager.c: 
20001         Updated the wireless/wired HAL device strings from net.ethernet to
20002         net.80203 or net.80211 depending on wired or wireless respectively
20003         
20004         * examples/python/NetworkManager.py: 
20005         s/Quality/Strength/
20006
20007         * examples/python/systray/network_tray.py:
20008         Lots of little changes and fixes.  been rotting for a while so I
20009         figured I'd finally sync them all with CVS
20010
20011 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20012
20013         * configure.in: Add graphics
20014
20015         * panel-applet/Makefile.am: Add graphics
20016
20017         * panel-applet/icons/*: Add graphics
20018
20019         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20020         the icons fully lined up.
20021
20022         * panel-applet/menu-info.c: 
20023         * panel-applet/menu-info.h: Add another menu type.
20024
20025 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20026
20027         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20028
20029         * panel-applet/menu-item.[ch]: Wireless menu item.
20030
20031 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20032
20033         * info-daemon/NetworkManagerInfo.conf
20034                 - Created a more robust security policy for the DBus service
20035                         - everything is denied by default
20036                         - root can own and send to the service
20037                         - users logged in at the console can send to the service
20038
20039 2004-09-13  Dan Williams <dcbw@redhat.com>
20040
20041         * src/NetworkManagerDevice.c
20042                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20043                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20044                         the latter
20045
20046 2004-09-13  Dan Williams <dcbw@redhat.com>
20047
20048         * TODO: fix typo
20049
20050         * docs/NetworkManager DBUS API.txt
20051                 - Update for new signal strength changes
20052
20053         * panel-applet/NMWirelessApplet.c
20054                 - Make panel icon show strength of the current connection
20055                 - Cleanups and memleak fixes
20056
20057         * panel-applet/NMWirelessApplet.h
20058                 - Add data members for signal strength on devices and networks
20059
20060         * panel-applet/NMWirelessAppletDbus.c
20061                 - Free more DBusErrors
20062                 - Update for new signal strength changes
20063                 - Make devices and networks more like real objects, use ref/unref methods
20064                 - Actually unlock the mutex when updating the active device
20065
20066         * src/NetworkManagerAP.c
20067                 - Change AP functions and data members from "quality"->"strength"
20068
20069         * src/NetworkManagerDbus.c
20070                 - Kill "getMaxQuality" and "getQuality" methods
20071                 - Add "getStrength" methods for Networks and Devices
20072
20073         * src/NetworkManagerDevice.[ch]
20074                 - Add accessors for device strength
20075                 - Add functions to update strength for a device.  Note that not all drivers
20076                         actually support signal strength for scanned access points (Atmel drivers
20077                         being one)
20078                 - Calculate signal strength for each AP during scan
20079
20080         * src/NetworkManagerWireless.[ch]
20081                 - Add function to return signal strength % from a device and a raw quality struct
20082
20083         * test/nmclienttest.c
20084                 - Update for new signal strength changes
20085
20086 2004-09-11  Dan Williams <dcbw@redhat.com>
20087
20088         * src/NetworkManager.c
20089                 - Fix race condition between initscripts and NM on card insertion
20090                         which could cause a card to keep an IP address and routes around
20091                         even when it was not the active device
20092
20093         * src/NetworkManagerDbus.c
20094                 - Fix compile errors, free more DBusErrors
20095
20096 2004-09-11  Dan Williams <dcbw@redhat.com>
20097
20098         * docs/NetworkManager DBUS API.txt
20099                 - Add an explanation of NM's API
20100
20101         * src/NetworkManagerDbus.c
20102                 - Free some more DBusErrors if needed
20103
20104 2004-09-11  Dan Williams <dcbw@redhat.com>
20105
20106         * panel-applet/NMWirelessApplet.c
20107           panel-applet/NMWirelessAppletDbus.c
20108                 - Start using NetworkDevice/WirelessNetwork structures in more places
20109                 - Update for unified device/network forcing in NetworkManager
20110
20111         * src/NetworkManager.c
20112                 - some code consolidation
20113
20114         * src/NetworkManagerDbus.c
20115                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20116                         or two arguments:  the first is the NM ID of the device to switch to,
20117                         and the second (optional) argument is the ESSID of a wireless network
20118                         to use as well.
20119                 - Get rid of "setNetwork" method due to above change
20120
20121         * src/NetworkManagerDevice.c
20122                 - (nm_device_new): perform scan and update best AP on device creation
20123                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20124                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20125                         spin waiting for cancellation to finish before returning
20126
20127         * src/NetworkManagerPolicy.c
20128                 - Changes here clarify the situations in which a device switch occurs, and 
20129                         make sure to keep using a forced device and network if the user gives
20130                         us one
20131                 - Remove old unused code
20132
20133 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20134
20135         * configure.in: Added Danish (da) to ALL_LINGUAS.
20136
20137 2004-09-09  Dan Williams <dcbw@redhat.com>
20138
20139         * panel-applet/NMWirelessAppletDbus.c
20140                 - Pull fresh devices and networks from NM when wireless networks
20141                         change.  Provides faster feedback of a forced wireless network
20142
20143         * src/NetworkManagerDbus.c
20144                 - Return error when "getMaxQuality" is called on a wired device
20145                 - Make best_ap freezing actually work again, and signal cancellation
20146                         of activation if there's already a device activation when the user
20147                         freezes the best_ap
20148
20149         * src/NetworkManagerDevice.c
20150                 - Don't clear out the best_ap for wireless devices when the link goes
20151                         down, that's done elsewhere
20152                 - Kill any dhcp daemons when cancelling device activation since they
20153                         may be stuck waiting for a DHCP address, and since we're cancelling
20154                         activation we don't care about that anymore
20155
20156         * src/NetworkManagerPolicy.c
20157                 - Make sure to unref the device we ref earlier (we refed it to make sure
20158                         it stuck around during device activation and such)
20159                 - If we were going to change the best device, but its activating currently
20160                         (and therefore the change didn't occur due to the check earlier)
20161                         we mark the state changed to we come back to it later when device
20162                         activation has canceled and its no longer activating
20163
20164         * src/backends/NetworkManagerRedHat.c
20165                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20166
20167 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20168
20169         * info-daemon/passphrase.glade: 
20170         set passphrase input to activates_default : True
20171
20172         * examples/python/systray/network_tray.py
20173         (network_tray.sort_networks):
20174
20175         Added support for having wireless always scanning
20176
20177 2004-09-09  Dan Williams <dcbw@redhat.com>
20178
20179         NOTE: this commit changes the behavior of wireless devices in
20180         NetworkManager.  They are now up all the time, scanning all
20181         the time.  Only the active device has an IP address and routing
20182         information set up however.  Also, NetworkManager will no longer
20183         opportunistically switch wireless networks when a better one
20184         comes in range, it will remain associated with one wireless network
20185         until that one drops out.
20186
20187         * panel-applet/NMWirelessApplet.c
20188           panel-applet/NMWirelessAppletDbus.c
20189                 - List all wireless cards and their respective networks
20190
20191         * src/NMLoadModules
20192                 - Use full path to /sbin/ip
20193
20194         * src/NetworkManager.c
20195                 - Keep wireless devices up all the time so they can scan
20196
20197         * src/NetworkManagerDbus.c
20198                 - On a WirelessNetworkUpdate signal from NMI, don't update
20199                         the "best" AP
20200
20201         * src/NetworkManagerDevice.c
20202                 - (nm_device_set_link_active): clear out the best ap for
20203                         wireless devices when the link is set to FALSE
20204                 - Scan on all wireless cards, all the time
20205                 - (nm_device_activation_worker): split out the wireless card
20206                         link-waiting code to a separate function
20207                 - Keep wireless cards up even if device activation fails
20208                 - Don't update the "best" ap as much
20209
20210         * src/NetworkManagerPolicy.c
20211                 - Don't update the best ap when checking if its frozen,
20212                         let link checking clear out a frozen best ap for us
20213
20214         * src/NetworkManagerWireless.c
20215                 - Scan on all wireless cards, all the time
20216
20217 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20218
20219         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20220
20221 2004-09-09  Ankit Patel <ankit@redhat.com>
20222
20223         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20224
20225 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20226
20227         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20228
20229 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20230
20231         * examples/python/NetworkManager.py: 
20232         added CONNECTED, CONNECTING, and DISCONNECTED states
20233         added methods to return number of devices of a single type
20234
20235         * examples/python/systray/network_tray.py: 
20236         did some tweaks to get the menu looking near what it is supposed
20237         to look like.  Also did a Airo card hack to make it show the
20238         correct AP quality
20239
20240 2004-09-08  Dan Williams <dcbw@redhat.com>
20241
20242         * panel-applet/no-networkmanager.png
20243           panel-applet/Makefile.am
20244           panel-applet/NMWirelessApplet.c
20245                 - Add a "NetworkManager not running" icon and use it
20246                 - Use new consolidated GConf keys rather than Preferred/Trusted
20247
20248         * TODO: update
20249
20250         * info-daemon/NetworkManagerInfo.c
20251           info-daemon/NetworkManagerInfoDbus.[ch]
20252           info-daemon/NetworkManagerInfoPassphraseDialog.c
20253                 - There are now no longer two separate lists of wireless networks,
20254                         but one list where each network is "trusted" or not trusted
20255                 - Add a "getNetworkTrusted" dbus method
20256                 - "WirelessNetworkUpdate" signal now sent rather than
20257                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20258                 - Start freeing some dbus errors (not completed yet)
20259
20260         * info-daemon/passphrase.glade
20261                 - Remove the "don't show" hints for pager and taskbar
20262                 - Add a title since its going to be in the taskbar
20263
20264         * src/NetworkManager.[ch]
20265           src/NetworkManagerAPList.[ch]
20266                 - There are now no longer two separate lists of wireless networks,
20267                         but one list where each network is "trusted" or not trusted
20268
20269         * src/NetworkManagerAP.[ch]
20270                 - Add get/set "trusted" accessors and data bit
20271
20272         * src/NetworkManagerDbus.[ch]
20273                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20274                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20275
20276         * src/NetworkManagerDevice.[ch]
20277                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20278                 - (nm_device_new): Get device config from backend when initializing devices
20279                 - (nm_device_activation_worker): Split out device configuration on
20280                         activation to deal with static/dynamic IP differences, and try encryption
20281                         fallbacks on a device if the encryption method for the best AP is not good
20282                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20283                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20284
20285         * src/NetworkManagerWireless.c
20286                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20287
20288         * src/backends/NetworkManagerRedHat.c
20289           src/backends/NetworkManagerSystem.h
20290                 - (nm_system_device_update_config_info): Add function to get device configuration
20291                         from system data in ifcfg-* files
20292
20293         * src/backends/NetworkManagerDebian.c
20294           src/backends/NetworkManagerGentoo.c
20295           src/backends/NetworkManagerSlackware.c
20296                 - Add stub functions for getting device configuration
20297
20298 2004-09-07  Dan Williams <dcbw@redhat.com>
20299
20300         * src/backends/NetworkManagerRedhat.c
20301           src/backends/NetworkManagerSlackware.c
20302                 - Use full path to /sbin/ip everywhere
20303
20304 2004-09-07  Dan Williams <dcbw@redhat.com>
20305
20306         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20307
20308         * configure.in
20309           initscript/Makefile.am
20310           initscript/Slackware/Makfile.am
20311           initscript/Slackware/rc.networkmanager
20312           src/Makefile.am
20313           src/backends/NetworkManagerSlackware.c
20314                 - Add Slackware support
20315
20316 2004-09-07  Dan Williams <dcbw@redhat.com>
20317
20318         Patches below from:
20319                 <j@bootlab.org>
20320                 Mark Roach <mrroach@okmaybe.com>
20321                 Thom May <thom@debian.org>
20322
20323         * configure.in
20324           initscript/Debian/NetworkManager
20325           initscript/Debian/Makefile.am
20326                 - Initscript for Debian
20327
20328         * src/backends/NetworkManagerDebian.c
20329                 - Add missing system init function to allow compilation
20330                         on Debian
20331
20332 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20333
20334         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20335
20336 2004-09-03  Akagic Amila <bono@linux.org.ba>
20337
20338         * configure.in: Added 'bs' to ALL_LINGUAS.
20339
20340 2004-09-02  Colin Walters  <walters@verbum.org>
20341
20342         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20343         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20344         g_strdup_printf instead of arbitrarily sized buffers.
20345
20346 2004-09-01  Colin Walters  <walters@verbum.org>
20347
20348         * NetworkManager.pc.in: New file.
20349
20350         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20351
20352 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20353         
20354         * configure.in: Punjabi(pa) is added to po/.
20355
20356 2004-08-31  Dan Williams <dcbw@redhat.com>
20357
20358         * Remove 'debug' extern global from all files since we now
20359                 use syslog()
20360
20361         * src/NetworkManager.[ch]
20362                 - Break out routine that get the net.interface property from HAL,
20363                         removing that logic from nm_create_device_and_add_to_list()
20364                 - (nm_create_device_and_add_to_list): make this a bit more general so
20365                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20366                         the create of test devices.
20367                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20368                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20369                         which makes NetworkManager listen for dbus commands to create test
20370                         devices, which have no backing hardware.  Use when you're on a plane
20371                         for example, and/or forgot your wireless card at home.  Test devices
20372                         _cannot_ be created unless NM is started with --enable-test-devices.
20373
20374         * src/NetworkManagerDbus.[ch]
20375                 - New "getLinkActive" method for devices
20376                 - New "setLinkActive" method for devices (only works on test devices)
20377                 - New "createTestDevice" method on NetworkManager object to create a test
20378                         device of a specified type (ie wired, wireless).  UDI is created from
20379                         scratch, as is the interface name.  Only works when NM is started with
20380                         --enable-test-devices switch.
20381                 - New "removeTestDevice" method on NetworkManager object which removes a
20382                         test device.  Only works when NM is started with --enable-test-devices
20383
20384         * src/NetworkManagerDevice.[ch]
20385                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20386                         whether a device is a test device or not, and what its link status is.
20387                 - Deal with test devices in most functions.  For those that work directly on hardware
20388                         special-case test devices.
20389                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20390                         command-line.
20391                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20392                         checking to separate functions to facilitate test device link checking.
20393                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20394                         don't make a distinction between System Authentication and Encryption
20395                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20396                         on the card.  We don't deal with Shared Key auth yet.
20397                 - (nm_device_activation_worker): split the activation cancel check logic out into
20398                         a separate routine nm_device_activation_cancel_if_needed()
20399                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20400                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20401                         a list of fake access points that they can "see"
20402                 - (nm_device_is_test_device): return whether or not a device is a test device
20403
20404         * src/NetworkManagerPolicy.c
20405                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20406                         previously if you "locked"/forced NM to use a wireless device but then
20407                         selected a wireless network for NM to use, it would switch to a wired device.
20408                         So, if the active device is wireless and it has a "forced" best AP, use it
20409                         if the "forced" best AP is still valid
20410                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20411                         there were no usable network devices, or the last one was removed
20412
20413         * src/backends/NetworkManager*.c
20414                 - Deal with test devices, mostly just return success for operations like getting
20415                         a DHCP address
20416
20417         * test/nmtestdevices.c
20418                 - Test tool to create/remove/link-switch test devices
20419
20420 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20421
20422         * examples/python/NetworkManager.py: 
20423         added convience functions has_wired_device and has_wireless_device
20424
20425         * examples/python/systray/network_tray.py: 
20426         cleaned up a bunch of cruft, added support for listing wireless
20427         networks just like the real applet.  This is probably all I'm
20428         going to work on this applet from now on.
20429         TODO: add support for actually changing networks and devices
20430
20431         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20432         changed "nm.networks" into a dict from a list so I can store all
20433         the cool information about networks in there
20434
20435         * examples/python/systray/network_tray.py: 
20436         Added nice message when you try to run without running make first
20437
20438         * examples/python/NetworkManager.py: 
20439         Bug fixes to the code so we get all the device information
20440         that we need in get_device()
20441         
20442         * examples/python/NMTester.py: 
20443         Fixed _print_device_list to print_device_list
20444
20445 2004-08-29  Seth Nickell  <seth@gnome.org>
20446
20447         * configure.in:
20448
20449         Actually properly setup the Debian backend in configure.
20450         
20451 2004-08-29  Colin Walters  <walters@verbum.org>
20452
20453         * test/nminfotest.c: Include string.h and stdlib.h.
20454         (get_network_string_property, get_networks_of_type): Return NULL.
20455
20456         * test/nmclienttest.c (get_device_name, get_active_device): Return
20457         NULL.
20458
20459         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20460         use strlen, fgets always NULL-terminates the string.
20461
20462         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20463         dbus_message_get_member): Remove /* in comment.
20464
20465         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20466
20467         * src/NetworkManager.c (quit): Unused, delete.
20468         (nm_data_free): Cast arg to GFunc.
20469
20470         * panel-applet/NMWirelessAppletDbus.c: Need to include
20471         string.h, and dbus-glib-lowlevel.h (the latter is needed
20472         for dbus_connection_setup_with_g_main at present).
20473         (nmwa_dbus_update_wireless_network_list): Parenthesize
20474         assignment in conditional.
20475         (nmwa_dbus_worker): Return NULL.
20476
20477         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20478         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20479         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20480         (nmwa_populate_menu): Return NULL on failure, instead of just
20481         return;
20482
20483         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20484
20485         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20486         variables.
20487
20488         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20489         delete.
20490         
20491 2004-08-29  Colin Walters  <walters@verbum.org>
20492
20493         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20494         a GTimeVal instead of time_t.  This is easier to work with,
20495         since time_t may be a long or double, we don't know.
20496
20497         * src/NetworkManagerDbus.h: Update prototype.
20498         
20499         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20500         instead of time_t.
20501         (nm_ap_get_timestamp): Update to return GTimeVal.
20502         (nm_ap_set_timestamp): Update to take GTimeVal.
20503         
20504         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20505         to handle GTimeVal.
20506
20507         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20508         GTimeVal change.
20509         (nm_ap_list_print_members): Fix warnings in printf format.
20510
20511 2004-08-29  Colin Walters  <walters@verbum.org>
20512         
20513         * panel-applet/NMWirelessApplet.c: Include config.h.
20514
20515 2004-08-29  Colin Walters  <walters@verbum.org>
20516
20517         * configure.in: Generate config.h.
20518
20519         * configure.in: Dump dependency on OpenSSL; we can't
20520         use it since this package is GPL:
20521         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20522         Instead, check for libgcrypt, use it if available,
20523         otherwise use included MD5 code.
20524
20525         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20526         Suck in from gnome-keyring, munge a bit.
20527         
20528         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20529         gnome-keyring-md5.h gnome-keyring-md5.c.
20530         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20531
20532         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20533         libgcrypt or included gnome-keyring md5 bits.
20534         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20535
20536 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20537
20538         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20539
20540 2004-08-27  Bryan Clark  <bclark@redhat.com>
20541
20542         * examples/python/systray/Makefile: 
20543
20544         Updated the clean section
20545         
20546         * examples/python/systray/trayiconmodule.c: 
20547         * examples/python/systray/trayicon.override: 
20548         * examples/python/systray/network_tray.py: 
20549         * examples/python/systray/eggtrayicon.h: 
20550         * examples/python/systray/eggtrayicon.c: 
20551         * examples/python/systray/Makefile: 
20552         * examples/python/README: 
20553         * examples/python/NetworkManager.py: 
20554         * examples/python/NMTester.py: 
20555
20556         Initial commit of these python example files
20557
20558 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20559
20560         * panel-applet/NMWirelessApplet.c
20561                 - Make current device bold
20562                 - Show more user-friendly device name if we got one from hal
20563
20564         * panel-applet/NMWirelessAppletDbus.c
20565                 - Grab "info.product" key from hal for network devices
20566                 - Cache the current active device
20567
20568 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20569
20570         * configure.in: Added en_CA to ALL_LINGUAS.
20571
20572 2004-08-27  Christian Rose  <menthos@menthos.com>
20573
20574         * configure.in: Added "sv" to ALL_LINGUAS.
20575
20576 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20577
20578         * Tag NetworkManager-0.2
20579
20580 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20581
20582         * initscripts/Makefile.am
20583         * configure.in: Make pass distcheck
20584
20585         * po/ChangeLog: added
20586
20587 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20588
20589         * panel-applet/NMWirelessApplet.c
20590                 - Remove debugging code
20591                 - Enable device switching from menus
20592
20593         * panel-applet/NMWirelessAppletDbus.[ch]
20594                 - Method for asking NM to switch devices
20595
20596         * src/NetworkManagerDevice.c
20597                 - Set dev->activating earlier, avoids race between
20598                         the dbus signal of "DeviceActivating" and setting
20599                         dev->activating (which is what NM's "status" method call
20600                         looks at)
20601
20602 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20603
20604         * panel-applet/NMWirelessApplet.[ch]
20605                 - Rework menu code to add devices to menu, and to show
20606                         signal strength for each access point.  Code cleanups
20607                         too.
20608
20609         * panel-applet/NMWirelessAppletDbus.c
20610                 - Grab network devices from NetworkManager too
20611                 - Grab quality information from NM for wireless networks
20612
20613         * src/NetworkManagerDbus.[ch]
20614                 - Add dbus methods for getting the HAL UDI from a device and
20615                         for getting its base quality, if its wireless
20616                 - Consolidate some functions (wireless network notifications,
20617                         device notifications)
20618                 - Add method for requesting NM to use a particular device
20619
20620         * src/NetworkManager.c
20621                 - Change for function consolidations from NetworkManagerDbus.c
20622                 - Implement active device locking and user-requested devices
20623                         (ie, tell NM to use a particular device instead of the one
20624                         it autochose)
20625
20626         * src/NetworkManagerDevice.c
20627                 - Add method for getting the base quality of a device, if its
20628                         wireless
20629                 - Grab device base quailty info from iwlib during scans
20630
20631         * src/NetworkManagerPolicy.c
20632                 - Use a user-requested device rather than the auto-chosen device
20633                         if we are told to
20634
20635 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20636
20637         * Makefile.am: add po as a supdir
20638
20639         * autogen.sh: use gnome-autogen.sh
20640
20641         * initscript/Gentoo/.cvsignore:
20642         * initscript/RedHat/.cvsignore: Shut up cvs
20643
20644         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20645
20646         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20647         (nmwa_fill): Use gettext.
20648
20649         * configure.in: add gettext support
20650         * po/.cvsignore:
20651         * po/NetworkManager.pot:
20652         * po/POTFILES.in:
20653
20654 2004-08-26  Seth Nickell  <seth@gnome.org>
20655
20656         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20657         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20658         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20659         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20660         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20661         * panel-applet/NMWirelessApplet.h:
20662
20663         Use a menu bar instead of a button for the main clickable
20664         thingy.
20665         
20666 2004-08-25  Dan Williams <dcbw@redhat.com>
20667
20668         * src/NetworkManagerDevice.c
20669                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20670                         turning encryption off, because the Cisco driver doesn't associate
20671                         with WEP-enabled access points unless we are in "open"
20672
20673 2004-08-25  Dan Williams <dcbw@redhat.com>
20674
20675         * src/NetworkManagerWireless.c
20676                 - Don't try to defererence blank passphrases
20677
20678 2004-08-25  Dan Williams <dcbw@redhat.com>
20679
20680         * panel-applet/NMWirelessApplet.c
20681                 - Rebuild the menu whenever a user clicks
20682
20683 2004-08-25  Dan Williams <dcbw@redhat.com>
20684
20685         * panel-applet/NMWirelessApplet.c
20686                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20687                         when NM isn't around or when its not connected
20688
20689         * src/NetworkManagerDevice.c
20690                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20691                         canceled.
20692
20693 2004-08-25  Dan Williams <dcbw@redhat.com>
20694
20695         * panel-applet/NMWirelessAppletDbus.c
20696                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20697                         for getting encryption, and don't stop on "val" once we've gotten it
20698                         from NetworkManager.  Short form:  encryption should now show up.
20699
20700 2004-08-25  Dan Williams <dcbw@redhat.com>
20701
20702         * panel-applet/NMWirelessApplet.c
20703                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20704                         network to associate with
20705
20706 2004-08-25  Dan Williams <dcbw@redhat.com>
20707
20708         * panel-applet/*
20709                 - Rework the panel applet to do all DBUS communication in a separate
20710                         thread
20711
20712 2004-08-25  Dan Williams <dcbw@redhat.com>
20713
20714         * info-daemon/NetworkManagerInfo.[ch]
20715                 - Remove "get_next_priority" function
20716
20717         * info-daemon/NetworkManagerInfoDbus.[ch]
20718                 - Convert "priority" functions to "timestamp"
20719
20720 2004-08-25  Dan Williams <dcbw@redhat.com>
20721
20722         * src/NetworkManagerAP.[ch]
20723                 - Add a "enc_method_good" member and accessors to an Access Point
20724                         to signal when we've found the correct encryption method
20725                         for an access point
20726                 - Add a "timestamp" member and accessors, remove "priority" member
20727                         and accessors (use timestamps instead)
20728                 - Rename "wep_key"->"enc_key"
20729                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20730                         for a specified encryption method using the access points
20731                         source encryption key/passphrase
20732
20733         * src/NetworkManagerAPList.c
20734                 - When updating a network with dbus, grab timestamp now instead of
20735                         priority
20736
20737         * src/NetworkManagerDBus.[ch]
20738                 - Add signal for "DeviceActivating"
20739                 - Switch priority->timestamp
20740
20741         * src/NetworkManagerDevice.c
20742                 - Change references of "wep_key" -> "enc_key" or "key"
20743                 - Signal DeviceActivating when starting activation
20744                 - When activating a wireless device, if the access point we are connecting
20745                         to is encrypted, and we have a source key, try to generate a mangled
20746                         key and use that (ie, generate real WEP key from a passphrase)
20747                 - Rework device activation to fallback to other encryption methods if
20748                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20749                         first, then if that doesn't work fall back to direct hex key).
20750                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20751                         priority.  We now prefer the latest access point used, rather than using
20752                         a priority scheme
20753                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20754                         points we've just discovered, and merge in correct info from the global
20755                         access point lists
20756
20757 2004-08-25  Seth Nickell  <seth@gnome.org>
20758
20759         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20760         Debian support.
20761         
20762         * src/Makefile.am:
20763         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20764         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20765         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20766         (nm_system_delete_default_route),
20767         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20768         (nm_system_load_device_modules):
20769
20770 2004-08-24  Dan Willemsen <dan@willemsen.us>
20771
20772         * src/NetworkManager.c
20773           src/backends/NetworkManagerGentoo.c
20774           src/backends/NetworkManagerRedHat.c
20775           src/backends/NetworkManagerSystem.h
20776                 - Implement preliminary Gentoo support, adding a
20777                         nm_system_init function to the backend specification
20778
20779         * configure.in
20780                 - Distribution auto-detection, lowercase any user-fed
20781                         distribution names
20782
20783         * initscript/.cvsignore
20784           initscript/Makefile.am
20785           initscript/RedHat/Makefile.am
20786           initscript/RedHat/NetworkManager
20787           initscript/Gentoo/Makefile.am
20788           initscript/Gentoo/NetworkManager
20789                 - Refactored initscript code separately for each
20790                         distribution
20791
20792 2004-08-23  Dan Williams <dcbw@redhat.com>
20793
20794         * configure.in
20795           src/Makefile.am
20796           src/NetworkManagerDevice.c
20797           src/NetworkManager.c
20798           src/NetworkManagerUtils.[ch]
20799           src/backends/NetworkManagerSystem.h
20800           src/backends/NetworkManagerRedHat.c
20801           src/backends/NetworkManagerGentoo.c
20802                 - Refactor system-specific code into separate backends for
20803                         each distribution
20804
20805 2004-08-23  Dan Willemsen <dan@willemsen.us>
20806
20807         * dispatcher-daemon/NetworkManagerDispatcher.c
20808           info-daemon/NetworkManagerInfo.[ch]
20809           info-daemon/NetworkManagerInfoDbus.c
20810           info-daemon/NetworkManagerInfoPassphraseDialog.c
20811           src/NetworkManager.c
20812           src/NetworkManagerAP.c
20813           src/NetworkManagerAPList.c
20814           src/NetworkManagerDbus.c
20815           src/NetworkManagerDevice.c
20816           src/NetworkManagerPolicy.c
20817           src/NetworkManagerUtils.[ch]
20818           src/NetworkManagerWireless.c
20819                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20820
20821         * src/NetworkManager.c
20822                 - Fixed usage wording for --no-daemon
20823
20824 2004-08-23  Dan Williams <dcbw@redhat.com>
20825
20826         * panel-applet/NMWirelessApplet.c
20827                 - Update our state every second to get more responsive panel icon
20828                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20829                         was causing our marching ants status blips to never move when
20830                         looking for a wireless network
20831
20832         * src/NetworkManagerDevice.c
20833                 - (nm_device_activation_begin): return if activation has already begun
20834                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20835                         trusted/preferred network into the device's access point when the
20836                         scan list is processed
20837
20838 2004-08-23  Dan Williams <dcbw@redhat.com>
20839
20840         * initscript/NetworkManager
20841                 - Use NMLaunchHelper rather than sleeping
20842
20843         * initscript/NMLaunchHelper.c
20844           Makefile.am
20845                 - Add helper program that exits only when NM activates a device,
20846                         or 10 seconds have passed, whichever happens first.  This
20847                         stops the boot processes until we have a network connection,
20848                         which NM can't do because it daemonizes and brings the connection
20849                         up in the background.  Allows stuff like NFS to not die.
20850
20851 2004-08-20  Dan Williams <dcbw@redhat.com>
20852
20853         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20854                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20855                         for a network, set the essid as well since it may not exist yet
20856                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20857                         since WEP keys/passphrases are long and prone to entry-error
20858
20859         * panel-applet/Makefile.am
20860           panel-applet/wired.png
20861                 - Add (pulled from system-config-network temporarily)
20862
20863         * panel-applet/NMWirelessApplet.[ch]
20864                 - Show wired picture when a wired connection is used
20865                 - Rename wireless icon enums, adding WIRELESS
20866
20867         * src/NetworkManagerDevice.c
20868                 - (nm_device_activate_wireless): unset encryption before bringing
20869                         down the card and setting the essid
20870                 - (nm_device_activatin_worker): request a key from the user if the
20871                         AP we are connecting to is encrypted but we don't have a key
20872                         for it yet
20873                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20874                         strcmp() that prevented a user-entered key from actually getting
20875                         used
20876
20877 2004-08-16  Dan Williams <dcbw@redhat.com>
20878
20879         * initscript/NetworkManager
20880                 - Check for /sbin/ip
20881                 - Do sysctl magic that network service does
20882                 - sleep 4s after start to allow network time to come up [hack]
20883
20884         * src/Makefile.am
20885           src/NMLoadModules
20886                 - Load all network device kernel modules (hal doesn't know devices
20887                         are ethernet until the module is loaded, and therefore we don't know)
20888
20889         * src/NetworkManager.c
20890                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20891                         network devices, and bring up the loopback device explicitly
20892
20893         * src/NetworkManagerUtils.[ch]
20894                 - (nm_enable_loopback): new function
20895
20896 2004-08-13  Dan Williams <dcbw@redhat.com>
20897
20898         * configure.in
20899           panel-applet/Makefile.am
20900                 - Fix up cleanfiles and server_DATA/server_in_files
20901
20902         * README
20903                 - Update with some comments on theory of operation
20904
20905         * CONTRIBUTING
20906           Makefile.am
20907                 - Add CONTRIBUTING
20908
20909 2004-08-12  Dan Williams <dcbw@redhat.com>
20910
20911         * info-daemon/passphrase.glade
20912                 - Set window title to " "
20913
20914         * panel-applet/Makefile.am
20915           panel-applet/keyring.png
20916                 - Deliver to correct place
20917
20918         * panel-applet/NMWirelessApplet.[ch]
20919                 - Add comments
20920                 - Remove applet->have_active_device as its no longer used
20921                 - (nmwa_load_theme): load keyring.png too
20922                 - (error_dialog): remove
20923                 - (show_warning_dialog): subsume functionality of error dialog too
20924                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20925                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20926                         the networks menu
20927                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20928                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20929                         and when we get broadcasts of changed wireless access points only, not when the
20930                         user clicks on the button to display the menu (too long of a wait)
20931                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20932                         networks that are encrypted
20933                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20934                         menu item with g_object_set_data()
20935
20936         * panel-applet/NMWirelessAppletDbus.[ch]
20937                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20938                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20939                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20940                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20941                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20942                         activation/deactivation signals and rebuild the menu when they happen
20943
20944         * src/NetworkManager.c
20945                 - (main): use new nm_spawn_process() rather than system()
20946
20947         * src/NetworkManagerDbus.c
20948                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20949                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20950                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20951                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20952                         to freeze the best_ap.
20953
20954         * src/NetworkManagerDevice.[ch]
20955                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20956                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20957                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20958                         ap list
20959
20960         * src/NetworkManagerUtils.[ch]
20961                 - (nm_spawn_process): add replacement for system() usage
20962
20963 2004-08-11  Dan Williams <dcbw@redhat.com>
20964
20965         * panel-applet/NMWirelessApplet.[ch]
20966                 - Fix up copyright and credits to include Bastien and Eskil,
20967                         who created the gnome-applets wireless applet, from whose
20968                         skeleton this one was created
20969                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20970                         pixmap to draw is computed during nmwa_update_state()
20971                 - Applet now shows itself all the time due to panel packing issues
20972                         which caused the applet to previously never come back after hiding.
20973                         When a wired device is the active device, the applet shows "not connected"
20974
20975         * panel-applet/NMWirelessAppletDbus.[ch]
20976                 - Clean up error messages and show what function they are from
20977                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20978                 - Add new device type getters, and a status getter
20979
20980         * src/NetworkManagerDbus.c
20981                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20982                         network is actually in the device's ap list
20983                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20984
20985         * src/NetworkManagerDevice.c
20986                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20987                         card
20988
20989         * test/nmclienttest.c
20990                 - Report status of NetworkManager too
20991
20992 2004-08-11  Dan Williams <dcbw@redhat.com>
20993
20994         * info-daemon/NetworkManagerInfo.c:
20995                 - (main): clean up Seth's code style
20996
20997         * info-daemon/NetworkManagerInfoDbus.c:
20998                 - Use the more aptly-named path/service/interface constants from NetworkManager
20999                 - Don't return empty strings ("") as object paths ever, instead return errors
21000
21001         * panel-applet/NMWirelessApplet.c:
21002                 - Clean up Seth's code style
21003
21004         * src/NetworkManager.[ch]
21005                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21006                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21007
21008         * src/NetworkManagerAPList.[ch]
21009                 - Move Iter struct right above the iter functions to preserve opacity
21010                 - (nm_ap_list_remove_ap): implement
21011                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21012                         remove AP if NetworkManagerInfo doesn't know anything about it
21013                 - (nm_ap_list_diff): user NMAPList iterators
21014                 - (nm_ap_list_print_members): implement debugging function
21015
21016         * src/NetworkManagerDbus.[ch]
21017                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21018                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21019                         and move the actual key setting stuff into NetworkManagerDevice.c
21020                 - (nm_dbus_get_network_priority): return -1 now on errors
21021                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21022                         get lost, and force the active device to update its "best" ap when AP lists change
21023                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21024                         method call due to pending_device member removal
21025
21026         * src/NetworkManagerDevice.[ch]
21027                 - Move NMDevice structure to the top
21028                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21029                 - Remove Pending Action stuff from everywhere
21030                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21031                         activation for us.  This thread blocks until all conditions for activation have
21032                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21033                         then setup up the interface and runs dhclient.  We have to do this because there
21034                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21035                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21036                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21037                         can tell nm_device_activation_worker() that we've got a key
21038                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21039                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21040                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21041                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21042
21043         * src/NetworkManagerPolicy.c
21044                 - Remove anything to do with pending_device
21045                 - Adjust device activation to deal with activation-in-worker-thread
21046
21047         * src/NetworkManagerUtils.c
21048                 - Clean up locking debugging a bit
21049
21050         * src/NetworkManagerWireless.[ch]
21051                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21052                         was badly named and is better as a device function
21053
21054         * panel-applet/.cvsignore: add
21055
21056 2004-08-09  Seth Nickell  <seth@gnome.org>
21057
21058         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21059         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21060         (nmwa_new):
21061         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21062
21063         Don't load the menus until clicked on (also removes a call outside
21064         normal code paths at first load).
21065
21066         Hide applet when NM is not present.
21067         
21068         Improve printf debugging stuff.
21069         
21070 2004-08-09  Dan Williams <dcbw@redhat.com>
21071
21072         * dispatcher-daemon/NetworkManagerDispatcher.c:
21073                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21074                 - Use constants for NetworkManager interface, service, and path
21075
21076 2004-08-09  Dan Williams <dcbw@redhat.com>
21077
21078         * src/NetworkManagerDbus.c:
21079                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21080                         instead return an error message
21081                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21082                         on a wired device.  Also never return an empty object path, instead return an error message
21083
21084 2004-08-06  Seth Nickell  <seth@gnome.org>
21085
21086         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21087
21088         Check the error code when getting a connection.
21089         
21090         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21091
21092         Check if the NM service exists when initializing (rather than
21093         assuming it does not).
21094         
21095         * src/NetworkManagerDbus.c: (nm_dbus_init):
21096
21097         Don't acquire the well-known service name until we have
21098         registered object/path handlers and can actually receive
21099         calls.
21100         
21101 2004-08-06  Dan Williams <dcbw@redhat.com>
21102
21103         * panel-applet/*
21104                 - Add panel applet
21105
21106         * src/NetworkManagerPolicy.c
21107           src/NetworkManager.c
21108                 - Get access point lists from NetworkManagerInfo on-demand,
21109                         and look for ServiceCreate/ServiceDeleted signals to see when
21110                         we should query NMI for lists
21111         * src/NetworkManagerAPList.c
21112                 - Make sure to init the list's mutex
21113                 - Convert traversals of the list over to the list iter functions
21114
21115         * src/NetworkManagerDbus.[ch]
21116                 - Use more aptly-named path/service/interface constants
21117                 - Treat both active and pending devices the same for "getActiveDevice"
21118                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21119
21120         * src/NetworkManagerDevice.c
21121                 - Honor "ignored" network list when picking best ap to use
21122
21123 2004-08-06  Seth Nickell  <seth@gnome.org>
21124
21125         * aclocal.m4:
21126
21127         Autogenerated, remove from CVS.
21128         
21129         * autogen.sh:
21130
21131         Don't hardcode automake version.
21132         
21133         * configure.in:
21134         * info-daemon/Makefile.am:
21135         * info-daemon/NetworkManagerInfo.c: (main):
21136
21137         Use GnomeProgram et al. for doing session management.
21138         Use popt stuff for argument parsing rather than doing
21139         it manugally.
21140         
21141 2004-08-05  Dan Williams <dcbw@redhat.com>
21142
21143         * test/nminfotest.c
21144                 - Update to new NMI dbus API, check different network types
21145
21146         * info-daemon/NetworkManagerInfoDbus.c
21147                 - Update to new NM dbus API, ie network type sent in query message
21148
21149 2004-08-05  Dan Williams <dcbw@redhat.com>
21150
21151         * An assload of changes
21152
21153 2004-08-02  Dan Williams <dcbw@redhat.com>
21154
21155         * TODO
21156                 - new task: proper logging support
21157
21158         * info-daemon/NetworkManagerInfo.c
21159                 - Correct spelling of "canceled"
21160                 - Correct casting of objects for g_signal_connect()
21161
21162         * info-daemon/NetworkManagerInfoDbus.c
21163                 - Add defines for NetworkManager namespace and object path, and use them
21164                 - Add filter function to trap new signals from NetworkManager:
21165                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21166
21167         * info-daemon/passphrase.glade
21168                 - Change name of "ok" button to "Login to Network..."
21169                 - Mark invisible
21170
21171         * src/NetworkManager.c
21172                 - Code and debug message cleanups
21173                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21174                 - (nm_add_initial_devices) Check returned string array of devices
21175                         and don't try to add devices if array is NULL
21176                 - (main) Initialize libhal a bit later, make code a bit clearer
21177
21178         * src/NetworkManagerAP.[ch]
21179                 - New accessor and data member "matched": used to speed up AP list
21180                         diffing
21181                 - New accessor and data member "enc_method": will be used during key
21182                         fallback to cache which passphrase->key conversion actually works
21183                         so we don't have to do it every time
21184
21185         * src/NetworkManagerAPList.[ch]
21186                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21187                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21188                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21189                         dbus in response to those differences
21190
21191         * src/NetworkManagerDbus.[ch]
21192                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21193                         make an object path for that access point (NOTE that we don't yet check to
21194                         make sure that access point is actually in the device's AP list yet)
21195                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21196                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21197                         New: signal appearance/disappearance of wireless networks
21198                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21199                         key entry
21200
21201         * src/NetworkManagerDevice.[ch]
21202                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21203                 - (nm_device_ap_list_get) New: return the AP list (static function)
21204                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21205                         new one resulting from the scan with the old one
21206
21207         * src/NetworkManagerWireless.c
21208                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21209
21210         * test/nminfotest.c
21211                 - #define object paths and namespaces and use the #defines rather than static strings
21212                 - Test out user-key functionality of NetworkManagerInfo too
21213
21214 2004-07-29  Dan Williams <dcbw@redhat.com>
21215
21216         * info-daemon/NetworkManagerInfoDbus.c
21217           src/NetworkManagerDbus.c
21218                 - Update to current DBus (ie don't use decomposed paths when registering
21219                         object paths/fallbacks)
21220
21221 2004-07-27  Dan Williams <dcbw@redhat.com>
21222
21223         * Remove various Makefile.in files
21224
21225         * TODO
21226                 - Add some more items
21227
21228         * configure.in
21229                 - Add checks for OpenSSL/md5 headers and libs
21230
21231         * src/Makefile.am
21232                 - Use OpenSSL CFLAGS
21233
21234         * src/NetworkManagerAP.[ch]
21235                 - Remove 'stamp' functions, replace with 'invalid' functions
21236                         to support user cancelling WEP key entry
21237
21238         * src/NetworkManagerDbus.c
21239                 - Remove 'stamp' return functions
21240                 - Treat returned user key as a passphrase and convert to a WEP key,
21241                         but don't actually use the WEP key yet.  We use the returned user
21242                         key as a hexadecimal WEP key until we can figure out a UI for
21243                         passphrase-vs-hex key
21244
21245         * src/NetworkManagerWireless.[ch]
21246                 - Add passphrase-to-128bit-key function
21247
21248 2004-07-27  Dan Williams <dcbw@redhat.com>
21249
21250         * TODO
21251                 - Add a couple of items
21252
21253 2004-07-27  Dan Williams <dcbw@redhat.com>
21254
21255         * info-daemon/NetworkManagerInfo.c
21256                 - Update allowed network's GConf key when user enters a WEP key explicitly
21257
21258         * info-daemon/NetworkManagerDbus.c
21259                 - Fix some comments
21260                 - nmi_dbus_get_allowed_networks(): kill warning
21261
21262 2004-07-27  Dan Williams <dcbw@redhat.com>
21263
21264         * initscript/Makefile.in
21265                 - Remove
21266
21267         * initscript/Makefile.am
21268                 - Add correct rules to install the init.d initscript
21269
21270         * info-daemon/NetworkManagerInfoDbus.c
21271                 - Remove debug fprintf
21272
21273         * src/NetworkManagerDbus.[ch]
21274                 - Remove debug fprintfs
21275                 - Add macros for NetworkManagerInfo object path/namespace
21276                 - Use said macros instead of constant strings
21277
21278 2004-07-27  Dan Williams <dcbw@redhat.com>
21279
21280         * initscript/.cvsignore
21281                 - Add
21282
21283         * info-daemon/Makefile.am
21284                 - Install .glade files and keyring.png
21285                 - Fix stupid omission of a \ that caused half the flags not to be
21286                         passed to gcc
21287
21288         * info-daemon/NetworkManagerInfo.c
21289                 - gtk_signal_connect->g_signal_connect
21290                 - Alert NetworkManagerInfo to new glade file location
21291
21292 2004-07-27  Dan Williams <dcbw@redhat.com>
21293
21294         * test/nmclienttest.c
21295           test/nminfotest.c
21296                 - Add missing <dbus/dbus.h> headers
21297                 - Add GPL message at top
21298
21299 2004-07-27  Dan Williams <dcbw@redhat.com>
21300
21301         * src/NetworkManagerAPList.[ch]
21302           src/Makefile.am
21303                 - Add.  Deal with allowed network list additions, deletions, and updates
21304
21305         * dispatcher-daemon/NetworkManagerDispatcher.c
21306                 - Add missing <dbus/dbus.h> header
21307
21308         * info-daemon/NetworkManagerInfo.[ch]
21309                 - Add missing <dbus/dbus.h> header
21310                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21311                         network change
21312                 - Better error checking
21313
21314         * info-daemon/NetworkManagerInfoDbus.[ch]
21315                 - Add missing <dbus/dbus.h> header
21316                 - Convert to using dbus_message_append_args/dbus_message_get_args
21317                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21318                         that an allowed network changed.  We don't want to signal on individual
21319                         keys _inside_ an allowed network really, just want NM to query the info
21320                         daemon for updated info on all keys.
21321                 - Better error checking
21322
21323         * src/NetworkManager.[ch]
21324                 - Add missing <dbus/dbus.h> header
21325                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21326                 - Zero out NMData structure on free
21327                 - No longer use a thread for allowed_ap_list updating, instead its now done
21328                         through dbus queries against NetworkManagerInfo
21329                 - Populate allowed_ap_list initially before adding existing network devices
21330                         to the device list, so wireless devices can get their "best" AP
21331
21332         * src/NetworkManagerDbus.[ch]
21333                 - Convert to using dbus_message_append_args/dbus_message_get_args
21334                 - Better error checking
21335                 - Implement Allowed Network info functions to request allowed network
21336                         info from NetworkManagerInfo
21337                 - Implement the filter function to process signals from NetworkManagerInfo
21338                         about changing allowed networks
21339
21340         * src/NetworkManagerDevice.c
21341                 - Fix file descriptor leak in nm_device_update_ip4_address()
21342
21343 2004-07-27  Dan Williams <dcbw@redhat.com>
21344
21345         * .cvsignore
21346           src/.cvsignore
21347           test/.cvsignore
21348           dispatcher-daemon/.cvsignore
21349           info-daemon/.cvsignore
21350                 - Add .cvsignore files to reduce noise when diffing
21351
21352 2004-07-24  Dan Williams <dcbw@redhat.com>
21353
21354         * src/NetworkManager.[ch]
21355           src/NetworkManagerDbus.[ch]
21356           src/NetworkManagerDevice.[ch]
21357           src/NetworkManagerPolicy.c
21358           src/NetworkManagerWireless.[ch]
21359                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21360                 - Pass the NMData application data structure through all calls
21361                         that need it so we can get rid of nm_get_global_data()
21362                 - Change deallocation of the allowed_ap_list GSList in preparation
21363                         for not completely clearing it every time we get an update,
21364                         but instead getting incremental updates via GConf/dbus
21365
21366 2004-07-22  Dan Williams <dcbw@redhat.com>
21367
21368         * configure.in
21369                 - Add checks for GConf libs & headers & flags
21370
21371         * info-daemon/Makefile.am
21372                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21373
21374         * info-daemon/NetworkManagerInfo.[ch]
21375                 - Don't use gquarks for data storage, just use normal data storage
21376                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21377
21378         * info-daemon/NetworkManagerDbus.[ch]
21379                 - Add method call for getting allowed networks
21380                 - Add method calls for getting an allowed network's essid, priority, and key
21381                 - Hook the method calls up to GConf
21382                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21383                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21384                 
21385         * src/NetworkManagerDbus.[ch]
21386                 - Switch for enumeration of networks to using essid instead
21387
21388         * test/Makefile.am
21389           test/nminfotest.c
21390                 - Add test program for NetworkManagerInfo
21391
21392 2004-07-19  Dan Williams <dcbw@redhat.com>
21393
21394         * src/NetworkManagerDbus.c
21395                 - Switch from indexed device paths to names.  Less code, more efficient.
21396                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21397
21398 2004-07-19  Dan Williams <dcbw@redhat.com>
21399
21400         * dispatcher-daemon/NetworkManagerDispatcher.c
21401                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21402
21403 2004-07-19  Dan Williams <dcbw@redhat.com>
21404
21405         * Makefile.am
21406                 - Add info-daemon directory
21407
21408         * configure.in
21409                 - Check for glade libs and headers
21410                 - Add info-daemon directory
21411
21412         * src/NetworkManagerAP.c
21413                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21414                         copied over to the new AP.
21415
21416         * src/NetworkManagerDbus.c
21417           src/NetworkManagerDbus.h
21418                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21419                 - Remove nm_dbus_signal_need_key_for_network()
21420                 - Add disabled code for asynchronous user wep key callbacks
21421                 - Add functions for getting, setting, and cancelling user key operations
21422                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21423                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21424
21425         * src/NetworkManagerDevice.c
21426           src/NetworkManagerDevice.h
21427                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21428                         logic is in device activation now
21429                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21430                         key is wrong) trigger get-user-key pending action
21431                 - Implement get-user-key pending action stuff, tie to dbus messages
21432                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21433                 - Add nm_device_ap_list_get_ap_by_essid()
21434                 - Instead of copying "best" access points, ref them instead so that the key we set
21435                         sticks around
21436
21437         * src/NetworkManagerPolicy.c
21438                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21439                 - Don't cancel pending actions on a device if its the same device as last iteration
21440                 - Only promote pending_device->active_device if activation was successfull
21441
21442         * src/Makefile.am
21443                 - Rename nmclienttest->nmtest
21444
21445         * info-daemon/Makefile.am
21446           info-daemon/NetworkManagerInfo.c
21447           info-daemon/NetworkManagerInfo.h
21448           info-daemon/NetworkManagerInfoDbus.c
21449           info-daemon/NetworkManagerInfoDbus.h
21450           info-daemon/passphrase.glade
21451           info-daemon/NetworkManagerInfo.conf
21452           info-daemon/keyring.png
21453                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21454                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21455                         lists to NetworkManager by proxying user's GConf
21456           
21457
21458 2004-07-15  Dan Williams <dcbw@redhat.com>
21459
21460         * src/Makefile.am
21461                 - Turn on warnings
21462
21463         * src/NetworkManager.c
21464                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21465                         that doing the deactivation ourselves
21466                 - Cancel an pending actions on a device if its being removed
21467                 - Break up link state checking a bit, make non-active wireless cards
21468                         deactivated to save power
21469                 - Remove unused variables
21470
21471         * src/NetworkManager.h
21472                 - Add support for "pending" device
21473
21474         * src/NetworkManagerAP.h
21475           src/NetworkManagerAP.c
21476                 - Add support for determining whether and AP has encryption enabled or not
21477                 - AP address is now "struct ether_addr" rather than a string
21478
21479         * src/NetworkManagerDbus.h
21480           src/NetworkManagerDbus.c
21481                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21482                 - Changes for AP address from struct ether_addr->string
21483
21484         * src/NetworkManagerDevice.h
21485           src/NetworkManagerDevice.c
21486                 - Remove unused variables, fix warnings
21487                 - Add support for Pending Actions (things that block a device from being "active"
21488                         until they are completed).
21489                 - First pending action:  Get a WEP key from the user
21490                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21491                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21492                 - Update wireless link checking to try to determine if the AP we are associated
21493                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21494                         trigger the GetUserKey pending action on the device
21495                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21496                         up in that case, otherwise we can't scan or link-check on it
21497                 - Add IP address change notifications at appropriate points (still needs some work)
21498                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21499
21500         * src/NetworkManagerPolicy.h
21501           src/NetworkManagerPolicy.c
21502                 - Split out "best" access point determiniation into separate function
21503                 - Make device activation 2-stage:  first the device is pending, then
21504                         in the next iteration through it becomes "active" unless it has
21505                         pending actions
21506
21507         * src/NetworkManagerUtils.h
21508           src/NetworkManagerUtils.c
21509                 - Clean up unused variables and warnings
21510                 - Wrap our debug macros in {} to prevent possible confusion
21511
21512         * src/NetworkManagerWireless.c
21513                 - Forgot to return current best priority, which lead to last available AP always
21514                         being chosen no matter what its priority was.  Corrected.
21515
21516 2004-07-15  Dan Williams <dcbw@redhat.com>
21517
21518         * dispatcher-daemon/Makefile.am
21519                 - Turn on warnings
21520
21521         * dispatcher-daemon/NetworkManagerDispatcher.c
21522                 - Remove unused variables due to warnings
21523                 - Fix some comments
21524                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21525
21526 2004-07-06  Dan Williams <dcbw@redhat.com>
21527
21528         * src/NetworkManager.c
21529                 - Add IPv4 address update for active device during link state check
21530                 - Don't allow wireless cards to be powered up when they are not the
21531                         active device
21532
21533         * src/NetworkManagerDbus.c
21534           src/NetworkManagerDbus.h
21535                 - Add DBUS IPv4 address change signal
21536                 - Add DBUS IPv4 address get method for devices
21537
21538         * src/NetworkManagerDevice.c
21539                 - Make setting the WEP key actually work
21540                 - Move IP address get/set/update stuff here, per-device
21541                 - Power down/bring down wireless device when deactivated
21542                 - For scanning wireless devices, if first scan returned ENODATA, try again
21543
21544         * src/NetworkManagerPolicy.c
21545                 - Only set the WEP key for an allowed access point if there is one.
21546                         We were setting it to be blank if one wasn't specified.
21547
21548         * src/NetworkManagerUtils.h
21549           src/NetworkManagerUtils.c
21550                 - Move the IP address stuff to NetworkManagerDevice.c
21551
21552         * dispatcher-daemon/NetworkManagerDispatcher.c
21553                 - Add device IPv4 address change notification stuff
21554
21555 2004-07-05  Dan Williams <dcbw@redhat.com>
21556
21557         * dispatcher-daemon/NetworkManagerDispatcher.c
21558                 - A bit more descriptive state message
21559                 - Don't segfault when reading directory
21560
21561         * src/NetworkManager.h
21562                 - Remove NMData desired_ap member, its now
21563                         per-device rather than global
21564
21565         * src/NetworkManager.c
21566                 - Remove references to desired_ap
21567                 - Move the allowed AP list refresh stuff into a thread
21568
21569         * src/NetworkManagerDevice.c
21570           src/NetworkManagerDevice.h
21571                 - Each wireless device now has a "best ap"
21572                 - Make device activate/deactivate functions per-device
21573                 - Make wireless scanning per-device
21574                 - Add IPv4 address discover functions, stub IPv6 ones
21575                 - Move ethernet address validation functions to NetworkManagerUtils.c
21576                 - Add wireless access point accessor function
21577                 - Get/Set functions for "best ap"
21578
21579         * src/NetworkManagerPolicy.c
21580                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21581                 - Deal with per-device "best ap" rather than data->desired_apa
21582                 - Implement allowed access point worker thread
21583                 - Add nm_policy_essid_is_allowed() function
21584
21585         * src/NetworkManagerUtils.c
21586           src/NetworkManagerUtils.h
21587                 - Add nm_ethernet_address_is_valid() function
21588                 - Add IPv4/IPv6 address get functions
21589
21590         * src/NetworkManagerWireless.c
21591           src/NetworkManagerWireless.h
21592                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21593
21594 2004-06-29  Dan Williams <dcbw@redhat.com>
21595
21596         * dispatcher-daemon/NetworkManagerDispatcher.c
21597                 - Implement script callout functionality
21598
21599 2004-06-24  Dan Williams <dcbw@redhat.com>
21600
21601         * NetworkManager.c
21602             - Spacing cleanups
21603             - Flush device routes and ip addresses when added to the device list
21604
21605         * NetworkManagerDbus.c
21606             - Spacing cleanups
21607             - Add missing returns in the two signal functions
21608         
21609         * NetworkManagerPolicy.c
21610             - Spacing and variable cleanups
21611
21612 2004-06-24  Dan Williams <dcbw@redhat.com>
21613
21614         * Makefile.am
21615           Makefile.in
21616           configure.in
21617           dispatcher-daemon/Makefile.am
21618           dispatcher-daemon/Makefile.in
21619           dispatcher-daemon/NetworkManagerDispatcher.c
21620             - Add a daemon that receives signals from NetworkManager
21621                         and will (eventually) call scripts in /etc/somewhere
21622                         when devices go up or down.
21623         
21624         * NetworkManager.c
21625             - Spacing cleanups
21626             - Flush device routes and ip addresses when added to the device list
21627
21628         * NetworkManagerDbus.c
21629             - Spacing cleanups
21630             - Add missing returns in the two signal functions
21631         
21632         * NetworkManagerPolicy.c
21633             - Spacing and variable cleanups
21634             - Rename nm_policy_switch_interface->nm_policy_switch_device
21635             - nm_policy_switch_device():
21636                                 Use kill (pid) instead of system ("kill <pid>")
21637             - nm_state_modification_monitor():
21638                                 Add wireless essid to output of debug statements
21639                                 Correct typo in device compare to switch or not (should be !=)
21640                                 Don't sleep after sending "no longer active" signal, was useless
21641
21642 2004-06-24  Dan Williams <dcbw@redhat.com>
21643
21644         * Initial import