2008-10-30 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-30  Dan Williams  <dcbw@redhat.com>
2
3         * src/ppp-manager/nm-ppp-manager.c
4                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
5                         ppp_generic module to create it (bgo #533064)
6
7 2008-10-30  Dan Williams  <dcbw@redhat.com>
8
9         Patch from Alexander Sack <asac@canonical.com>
10
11         Fix "ppp connections don't honour ip4 connection settings"
12
13         * src/nm-device-ethernet.c
14                 - (real_act_stage4_get_ip4_config): merge ip4config settings
15                         with results from ppp manager
16
17         * src/nm-serial-device.c
18                 - (real_act_stage4_get_ip4_config): merge ip4config settings
19                         with results from ppp manager
20
21 2008-10-29  Dan Williams  <dcbw@redhat.com>
22
23         * libnm-util/libnm-util.ver
24           libnm-util/nm-setting-ip4-config.c
25           libnm-util/nm-setting-ip4-config.h
26                 - Make properties private and add accessor functions
27
28         * callouts/nm-dispatcher-action.c
29           libnm-glib/libnm-glib-test.c
30           libnm-util/nm-utils.c
31           src/NetworkManagerPolicy.c
32           src/NetworkManagerSystem.c
33           src/NetworkManagerUtils.c
34           src/dhcp-manager/nm-dhcp-dhclient.c
35           src/dhcp-manager/nm-dhcp-manager.c
36           src/dnsmasq-manager/nm-dnsmasq-manager.c
37           src/nm-device-wifi.c
38           src/nm-device.c
39           src/nm-hso-gsm-device.c
40           src/nm-ip4-config.c
41           src/nm-ip4-config.h
42           src/ppp-manager/nm-ppp-manager.c
43           src/vpn-manager/nm-vpn-connection.c
44           system-settings/plugins/ifcfg-fedora/reader.c
45           system-settings/plugins/ifcfg-suse/parser.c
46           system-settings/plugins/ifcfg-suse/plugin.c
47           system-settings/plugins/ifupdown/parser.c
48           test/nm-tool.c
49           vpn-daemons/vpnc/properties/nm-vpnc.c
50                 - Use IP4 accessor functions
51
52 2008-10-29  Tambet Ingo  <tambet@gmail.com>
53
54         Half of it by Dan Williams <dcbw@redhat.com>
55
56         * libnm-util/libnm-util.ver
57         libnm-util/nm-setting-vpn.c
58         libnm-util/nm-setting-vpn.h
59                 - Make properties private and add accessor functions.
60
61         * src/vpn-manager/nm-vpn-connection.c
62         src/vpn-manager/nm-vpn-manager.c
63         system-settings/plugins/keyfile/reader.c
64         vpn-daemons/openvpn/properties/auth-helpers.c
65         vpn-daemons/openvpn/properties/import-export.c
66         vpn-daemons/openvpn/properties/nm-openvpn.c
67         vpn-daemons/openvpn/src/nm-openvpn-service.c
68         vpn-daemons/pptp/auth-dialog/main.c
69         vpn-daemons/pptp/properties/advanced-dialog.c
70         vpn-daemons/pptp/properties/nm-pptp.c
71         vpn-daemons/pptp/src/nm-pptp-service.c
72         vpn-daemons/vpnc/properties/nm-vpnc.c
73         vpn-daemons/vpnc/src/nm-vpnc-service.c
74                 - Use VPN setting accessors.
75
76 2008-10-28  Dan Williams  <dcbw@redhat.com>
77
78         Patch from Tambet Ingo <tambet@gmail.com>
79
80         * libnm-util/libnm-util.ver
81           libnm-util/nm-setting-wireless.c
82           libnm-util/nm-setting-wireless.h
83                 - Make properties private and add accessor functions
84
85         * src/NetworkManagerAP.c
86           src/nm-device-wifi.c
87           src/nm-manager.c
88           src/supplicant-manager/nm-supplicant-config.c
89           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
90           system-settings/plugins/ifcfg-fedora/reader.c
91           system-settings/plugins/ifcfg-suse/parser.c
92           system-settings/plugins/ifupdown/parser.c
93                 - Use wireless setting accessors
94
95 2008-10-27  Dan Williams  <dcbw@redhat.com>
96
97         Patch from Tambet Ingo <tambet@gmail.com>
98
99         * libnm-util/libnm-util.ver
100           libnm-util/nm-setting-ppp.c
101           libnm-util/nm-setting-ppp.h
102                 - Make properties private and add accessor functions
103
104         * src/ppp-manager/nm-ppp-manager.c
105                 - Use ppp setting accessors
106
107 2008-10-27  Dan Williams  <dcbw@redhat.com>
108
109         Patch from Tambet Ingo <tambet@gmail.com>
110
111         * libnm-util/nm-setting.h
112           libnm-util/nm-setting.c
113                 - Make properties private and add accessor functions
114
115         * libnm-util/nm-connection.c
116           libnm-util/nm-setting-8021x.c
117           libnm-util/nm-setting-cdma.c
118           libnm-util/nm-setting-connection.c
119           libnm-util/nm-setting-gsm.c
120           libnm-util/nm-setting-ip4-config.c
121           libnm-util/nm-setting-ip6-config.c
122           libnm-util/nm-setting-ppp.c
123           libnm-util/nm-setting-pppoe.c
124           libnm-util/nm-setting-serial.c
125           libnm-util/nm-setting-template.c
126           libnm-util/nm-setting-vpn.c
127           libnm-util/nm-setting-wired.c
128           libnm-util/nm-setting-wireless-security.c
129           libnm-util/nm-setting-wireless.c
130           system-settings/plugins/keyfile/reader.c
131           system-settings/plugins/keyfile/writer.c
132                 - Use setting accessors
133
134 2008-10-27  Dan Williams  <dcbw@redhat.com>
135
136         * libnm-util/libnm-util.ver
137           libnm-util/nm-setting-connection.c
138           libnm-util/nm-setting-connection.h
139                 - Add a 'read-only' property that indicates the connection cannot be
140                         modified
141
142         * system-settings/plugins/ifcfg-fedora/reader.c
143           system-settings/plugins/ifcfg-suse/parser.c
144           system-settings/plugins/ifupdown/parser.c
145                 - These plugins are read-only at the moment
146
147         * system-settings/plugins/keyfile/reader.c
148           system-settings/plugins/keyfile/writer.c
149                 - Read-only shouldn't get saved out to files or read in from them
150
151 2008-10-27  Tambet Ingo  <tambet@gmail.com>
152
153         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
154         correct speed reporting for fast devices (kernel >= 2.6.27).
155
156 2008-10-26  Dan Williams  <dcbw@redhat.com>
157
158         Attempt to compensate for modems that don't enable full AT parsing before
159         the PIN has been entered.
160
161         * src/nm-gsm-device.c
162                 - (init_modem): accept different init strings
163                 - (init_done): try different init strings on failure
164                 - (check_pin_done): on PIN success, do full modem init
165
166 2008-10-26  Dan Williams  <dcbw@redhat.com>
167
168         Patch from Tambet Ingo <tambet@gmail.com>
169
170         * libnm-util/libnm-util.ver
171           libnm-util/nm-setting-connection.c
172           libnm-util/nm-setting-connection.h
173                 - Make properties private and add accessor functions
174
175         * src/NetworkManagerPolicy.c
176           src/nm-cdma-device.c
177           src/nm-device-ethernet.c
178           src/nm-device-interface.c
179           src/nm-device-wifi.c
180           src/nm-gsm-device.c
181           src/nm-manager.c
182           src/ppp-manager/nm-ppp-manager.c
183           src/vpn-manager/nm-vpn-connection.c
184           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
185           system-settings/plugins/ifcfg-fedora/plugin.c
186           system-settings/plugins/ifcfg-fedora/reader.c
187           system-settings/plugins/ifcfg-suse/parser.c
188           system-settings/plugins/ifupdown/parser.c
189           system-settings/plugins/keyfile/nm-keyfile-connection.c
190           system-settings/plugins/keyfile/plugin.c
191           system-settings/plugins/keyfile/writer.c
192           system-settings/src/main.c
193                 - Use those accessors
194
195 2008-10-26  Dan Williams  <dcbw@redhat.com>
196
197         Patch from Tambet Ingo <tambet@gmail.com>
198
199         * libnm-util/libnm-util.ver
200           libnm-util/nm-setting-gsm.c
201           libnm-util/nm-setting-gsm.h
202                 - Make properties private and add accessor functions
203
204         * src/nm-gsm-device.c
205           src/nm-hso-gsm-device.c
206           src/ppp-manager/nm-ppp-manager.c
207                 - Use those accessors
208
209 2008-10-26  Dan Williams  <dcbw@redhat.com>
210
211         Patch from Tambet Ingo <tambet@gmail.com>
212
213         * libnm-util/libnm-util.ver
214           libnm-util/nm-setting-cdma.c
215           libnm-util/nm-setting-cdma.h
216                 - Make properties private and add accessor functions
217
218         * src/nm-cdma-device.c
219           src/ppp-manager/nm-ppp-manager.c
220                 - Use those accessors
221
222 2008-10-26  Dan Williams  <dcbw@redhat.com>
223
224         Patch from Tambet Ingo <tambet@gmail.com>
225
226         * libnm-util/libnm-util.ver
227           libnm-util/nm-setting-pppoe.c
228           libnm-util/nm-setting-pppoe.h
229                 - Make properties private and add accessor functions
230
231         * src/nm-device-ethernet.c
232           src/ppp-manager/nm-ppp-manager.c
233                 - Use those accessors
234
235 2008-10-26  Dan Williams  <dcbw@redhat.com>
236
237         Patch from Tambet Ingo <tambet@gmail.com>
238
239         * libnm-util/libnm-util.ver
240           libnm-util/nm-setting-wired.c
241           libnm-util/nm-setting-wired.h
242                 - Make properties private and add accessor functions
243
244         * src/nm-device-ethernet.c
245           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
246           system-settings/plugins/ifcfg-suse/parser.c
247           system-settings/src/main.c
248                 - Use those accessors
249
250 2008-10-26  Dan Williams  <dcbw@redhat.com>
251
252         Patch from Tambet Ingo <tambet@gmail.com>
253
254         * libnm-util/libnm-util.ver
255           libnm-util/nm-setting-serial.c
256           libnm-util/nm-setting-serial.h
257           src/nm-serial-device.c
258                 - Make properties private and use accessors instead
259
260 2008-10-26  Dan Williams  <dcbw@redhat.com>
261
262         * src/supplicant-manager/nm-supplicant-interface.c
263           src/supplicant-manager/nm-supplicant-interface.h
264           src/supplicant-manager/nm-supplicant-manager.c
265           src/supplicant-manager/nm-supplicant-manager.h
266                 - Add state-to-string conversion functions
267
268         * src/nm-device-wifi.c
269           src/nm-device-ethernet.c
270                 - Normalize state info logging and use strings instead of numbers
271
272 2008-10-26  Dan Williams  <dcbw@redhat.com>
273
274         * src/NetworkManagerPolicy.c
275                 - (update_routing_and_dns): ignore host routes when determining whether
276                         a VPN connection should own the default route (bgo #552594)
277
278 2008-10-24  Dan Williams  <dcbw@redhat.com>
279
280         * src/nm-gsm-device.c
281                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
282
283 2008-10-23  Dan Williams  <dcbw@redhat.com>
284
285         * src/ppp-manager/nm-ppp-manager.c
286                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
287                         add really important stuff to the command line to ensure that NM
288                         overrides /etc/ppp/options (bgo #556781)
289
290 2008-10-22  Dan Williams  <dcbw@redhat.com>
291
292         * src/NetworkManagerSystem.c
293           src/nm-device.c
294                 - Use the device's IP interface where appropriate (Per Hallsmark)
295
296 2008-10-22  Dan Williams  <dcbw@redhat.com>
297
298         * src/nm-gsm-device.c
299                 - (schedule_automatic_registration_again): use a short timeout here
300                         instead of an idle handler to avoid using too much CPU polling for
301                         something we should be waiting a bit for anyway
302
303 2008-10-22  Dan Williams  <dcbw@redhat.com>
304
305         * include/NetworkManager.h
306           introspection/nm-device.xml
307                 - Add device state change reason for carrier changes
308
309         * src/nm-device-ethernet.c
310                 - (set_carrier): use the carrier change reason when changing device
311                         state in response to carrier changes
312
313 2008-10-21  Dan Williams  <dcbw@redhat.com>
314
315         * src/NetworkManagerPolicy.c
316                 - (update_etc_hosts): don't leak errors, and ensure that
317                         g_file_set_contents() gets a valid error placeholder (rh #461933)
318
319 2008-10-21  Dan Williams  <dcbw@redhat.com>
320
321         * src/nm-manager.c
322                 - (free_get_settings_info): don't use the DBusGProxy which could be
323                         disposed of by the time the function is called
324                 - (internal_new_connection_cb): save connection scope
325                 - (connection_get_settings_cb): don't replace a connection unless it's
326                         actually different from the existing one; fixes an issue where
327                         killing the settings service wouldn't deactivate an active connection
328                         provided by that settings service, because it was using a connection
329                         that had already been replaced in the system or user hash
330
331 2008-10-21  Dan Williams  <dcbw@redhat.com>
332
333         * src/NetworkManager.c
334                 - (main): keep the DHCP manager around since it's a singleton; fixes
335                         a use-after-free exposed by r4196 since the DHCP manager singleton
336                         variable isn't cleared when the DHCP manager object is finalized
337
338 2008-10-20  Dan Williams  <dcbw@redhat.com>
339
340         * libnm-util/nm-setting-wireless-security.c
341                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
342
343 2008-10-20  Dan Williams  <dcbw@redhat.com>
344
345         * src/supplicant-manager/nm-supplicant-config.c
346                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
347
348 2008-10-20  Dan Williams  <dcbw@redhat.com>
349
350         * src/dhcp-manager/nm-dhcp-manager.c
351                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
352                         manager object already refs it once
353                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
354                         also get cleaned up by nm_dhcp_device_destroy() to prevent
355                         double-frees
356
357 2008-10-20  Dan Williams  <dcbw@redhat.com>
358
359         * src/nm-manager.c
360                 - (initial_get_connections): use private dbus manager, don't keep
361                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
362                         manager object.
363
364 2008-10-18  Dan Williams  <dcbw@redhat.com>
365
366         * libnm-glib/nm-settings.c
367           libnm-glib/nm-settings.h
368                 - Rename the "get_secrets" virtual function "service_get_secrets" to
369                         clarify when it's used; NMExportedConnetion is a base-class for both
370                         the client and service side, which is sort of confusing, and
371                         get_secrets only makes sense on the service side.
372
373         * libnm-glib/nm-dbus-connection.c
374                 - (get_secrets): remove, unused, and clients need to do extra work to
375                         get secrets anyway since the call can block on the remote side
376
377         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
378           system-settings/plugins/keyfile/nm-keyfile-connection.c
379                 - Fix up for get_secrets -> service_get_secrets
380
381 2008-10-16  Dan Williams  <dcbw@redhat.com>
382
383         * src/nm-device-wifi.c
384                 - (constructor): correctly determine encryption capabilities
385
386 2008-10-15  Dan Williams  <dcbw@redhat.com>
387
388         * src/nm-device-wifi.c
389                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
390                         (Johannes Berg)
391
392 2008-10-15  Dan Williams  <dcbw@redhat.com>
393
394         * src/NetworkManagerSystem.c
395                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
396                         if the ip4_dest is in a smaller subnet contained within a subnet
397                         the machine is currently on, the destination is in the same subnet
398                 - (nm_system_device_set_ip4_route): move subnet checks to callers
399                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
400                         subnet as the parent device, and if so, don't add the direct
401                         host route via the parent device's gateway (bgo #481620)
402                 - (nm_system_apply_ip4_config): check whether the route to be added
403                         is contained within a subnet the device is already on
404
405 2008-10-11  Dan Williams  <dcbw@redhat.com>
406
407         * include/NetworkManager.h
408           introspection/nm-device.xml
409           include/NetworkManagerVPN.h
410                 - Add a few more state reasons for the device deactivated state
411
412         * src/nm-device-interface.c
413           src/nm-device-interface.h
414                 - (nm_device_interface_deactivate): add a 'reason' argument
415
416         * src/nm-device.c
417           src/nm-device.h
418                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
419                 - (nm_device_state_changed): pass the state change reason to
420                         nm_device_take_down()
421                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
422                         to the state change function
423
424         * src/nm-manager.c
425           src/nm-manager.h
426                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
427                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
428                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
429                         something reasonable along to VPN deactivation
430
431         * src/vpn-manager/nm-vpn-manager.c
432           src/vpn-manager/nm-vpn-manager.h
433                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
434                         pass that along to nm_vpn_connection_disconnect()
435
436 2008-10-11  Dan Williams  <dcbw@redhat.com>
437
438         * src/nm-device-wifi.c
439                 - (can_scan): remove old madwifi hack for not scanning while connected
440
441 2008-10-11  Dan Williams  <dcbw@redhat.com>
442
443         Add support for VPN subnet gateways (bgo #549196)
444
445         * include/NetworkManager.h
446                 - Add key for internal VPN subnet gateway
447
448         * src/vpn-manager/nm-vpn-connection.c
449                 - (ip_address_to_string): return a const from a static buffer so we
450                         don't leak a lot of strings
451                 - (print_vpn_config): print internal VPN gateway as well
452                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
453                         VPN service too
454                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
455
456         * src/NetworkManagerSystem.c
457           src/NetworkManagerSystem.h
458                 - (nm_system_device_replace_default_ip4_route): split into two, one for
459                         VPN connections and one for normal devices
460                 - (replace_default_ip4_route): break out route stuff into its own function
461                 - (nm_system_replace_default_ip4_route_vpn,
462                    nm_system_replace_default_ip4_route): simplify by having two cases,
463                         one for VPNs and one for normal devices
464
465         * src/NetworkManagerPolicy.c
466                 - (update_routing_and_dns): simplify, use split default route replacement
467                         functions
468
469 2008-10-10  Dan Williams  <dcbw@redhat.com>
470
471         Rework default route handling to consolidate decisions in the policy,
472         and to take active VPN connections into account when changing the default
473         route (bgo #545912)
474
475         * src/NetworkManager.c
476                 - (main): pass the vpn_manager to the policy so it knows about active
477                         VPN connections; clean up the named manager which wasn't done before
478
479         * src/NetworkManagerPolicy.c
480           src/NetworkManagerPolicy.h
481                 - (nm_policy_new): get a clue about the vpn_manager
482                 - (update_default_route): remove, fold into update_routing_and_dns()
483                 - (update_routing_and_dns): handle active VPN connections too; an
484                         active VPN connection becomes the default route if it does not have
485                         server-specified or user-specified custom routes.  Otherwise, the
486                         best active device gets the default route
487                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
488                    nm_policy_destroy): track VPN connection activation and deactivation
489                         and update the default route when appropriate
490
491         * src/NetworkManagerSystem.c
492           src/NetworkManagerSystem.h
493                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
494                         in the VPN connection itself
495                 - (nm_system_vpn_device_set_from_ip4_config,
496                    nm_system_device_set_from_ip4_config): merge together to make
497                         nm_system_apply_ip4_config()
498                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
499                         via the parent device
500                 - (nm_system_apply_ip4_config): simplify
501                 - (add_ip4_route_to_gateway): new function; add a direct route to the
502                         gateway if needed
503                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
504                         route stuff out into add_ip4_route_to_gateway() for clarity
505
506         * src/nm-device.c
507                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
508
509         * src/vpn-manager/nm-vpn-connection.c
510           src/vpn-manager/nm-vpn-connection.h
511                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
512                    nm_vpn_connection_get_parent_device): add
513                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
514                         device explicit
515                 - (connection_state_changed): update the named manager now that
516                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
517                         useful on errors
518
519         * src/vpn-manager/nm-vpn-manager.c
520           src/vpn-manager/nm-vpn-manager.h
521                 - Add a 'connection-activated' signal
522                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
523                         policy to find out about active VPN connections
524
525 2008-10-10  Tambet Ingo  <tambet@gmail.com>
526
527         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
528         a daemon to prevent NM logging spew on console on startup and shutdown (due
529         to dependency loop between NM and syslog).
530
531 2008-10-10  Alexander Sack  <asac@ubuntu.com>
532
533         Implement managed mode. We bind devices configured in /etc/network/interfaces
534         to their connections by updating wired/wireless setting with the
535         mac address of the device.
536
537         * system-settings/plugins/ifupdown/plugin.c
538                 - (get_net_address_for_udi): implement function to retrieve MAC
539                         address of udi from hal in GByteArray format
540                 - (bind_device_to_connection): bind mac address of device to
541                         wired/wireless system connection
542                 - (hal_device_added_cb): call bind_device_to_connection for
543                         system connections with a matching interface.name
544                 - (hal_device_added_cb): ensure that all code paths
545                         properly free the "iface" string.
546
547 2008-10-10  Alexander Sack  <asac@ubuntu.com>
548
549         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
550         mode of the ifupdown system config plugin.
551
552         * system-settings/plugins/ifupdown/plugin.c
553                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
554                         private unmanage_well_known state field accordingly
555
556 2008-10-10  Alexander Sack  <asac@ubuntu.com>
557
558         Implement unmanaged mode that will prevent all devices in the
559         well_known_udis set from being touched by NetworkManager
560
561         * system-settings/plugins/ifupdown/plugin.c
562                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
563                         unmanage_well_known field used to turn on/off unmanaged
564                         mode
565                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
566                         signal when well_known_udis get added/removed
567                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
568                         if we are in unmanaged mode
569
570 2008-10-10  Alexander Sack  <asac@ubuntu.com>
571
572         Add support to track network devices that have a configuration
573         with a matching interface.name in /etc/network/interfaces
574
575         * system-settings/plugins/ifupdown/plugin.c
576                 - (typedef struct SCPluginIfupdownPrivate): add hash table
577                         to track |well_known_udis|
578                 - (get_iface_for_udi): helper function to get interface.name
579                         for a udi
580                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
581                         that add and remove devices to and from the well_known_udis
582                         set depending on whether their |interface.name| matches
583                         any interface definition in /etc/network/interfaces
584                 - (SCPluginIfupdown_init): connect callbacks from above with
585                         hal_mgr and setup well_known_udis hashtable
586                 - (GObject__dispose): destroy well_known_udis hashtable
587                 - (hal_device_added_cb2): implement wrapper callback with GFunc
588                         signature. user_data is supposed to be a triple (hal_mgr,
589                         config and devtype)
590                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
591                         startup and call hal_device_added_cb2
592
593 2008-10-10  Alexander Sack  <asac@ubuntu.com>
594
595         Remove implementation for not used NMSystemConfigInterface callback functions
596         in ifupdown plugin
597
598         * system-settings/plugins/ifupdown/plugin.c
599                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
600                 - (SCPluginIfupdown_connection_added): removed
601
602 2008-10-08  Dan Williams  <dcbw@redhat.com>
603
604         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
605
606         * src/NetworkManagerUtils.c
607                 - (nm_utils_call_dispatcher): add a 'hostname' action
608
609         * src/NetworkManagerPolicy.c
610                 - (set_system_hostname): dispatch hostname changes
611
612         * callouts/nm-dispatcher-action.c
613                 - (nm_dispatcher_action): handle 'hostname' actions
614
615 2008-10-08  Dan Williams  <dcbw@redhat.com>
616
617         * src/NetworkManagerSystem.c
618                 - (find_route): ref the route so it doesn't get destroyed when the cache
619                         is cleared
620                 - (nm_system_device_set_priority): unref the route here after it's done
621                         being used
622
623 2008-10-08  Dan Williams  <dcbw@redhat.com>
624
625         * src/nm-serial-device.c
626                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
627
628 2008-10-08  Tambet Ingo  <tambet@gmail.com>
629
630         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
631         connection with new settings before saving it.
632
633 2008-10-06  Dan Williams  <dcbw@redhat.com>
634
635         * src/nm-ip4-config.c
636           src/nm-ip4-config.h
637                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
638
639         * src/nm-device-interface.c
640                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
641                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
642                         by using '/' for the object path
643
644         * src/nm-device.c
645                 - (src/nm-device.c): marshal missing/unexported ip4-config through
646                         dbus as '/' since dbus-glib can't handle NULL objects nor can
647                         dbus handle NULL object paths
648
649 2008-10-03  Alexander Sack  <asac@ubuntu.com>
650
651         Implement system hostname support for debian/ubuntu
652
653         * system-settings/plugins/ifupdown/plugin.c
654                 - (GObject__get_property): extend announced capabilities; add
655                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
656                 - (GObject__set_property,write_system_hostname): implement
657                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
658                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
659                    update_system_hostname, get_hostname):
660                         implement hostname property that watches and
661                         parses /etc/hostname
662
663 2008-10-03  Alexander Sack  <asac@ubuntu.com>
664
665         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
666           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
667           system-settings/plugins/ifcfg-fedora/Makefile.am
668           system-settings/src/nm-inotify-helper.c
669           system-settings/src/nm-inotify-helper.h
670           src/Makefile.am
671                 - Move ifcfg-fedora inotify helpers to the system settings service so
672                         they are available to all plugins
673
674 2008-10-03  Alexander Sack  <asac@ubuntu.com>
675
676         Implement support for wep-tx-keyidx in ifupdown system
677         config plugin.
678
679         * system-settings/plugins/ifupdown/parser.c
680                 - (update_wireless_security_setting_from_if_block): introduce
681                         free_type_mapping func table; rename a few local
682                         variables to improve readability; add wpa security mapping
683                         for wep-tx-keyidx property
684                 - (string_to_gpointerint): new function used for the auto_type_mapping
685                         of new wep-tx-keyidx property
686                 - (slist_free_all): free func used for mapped slist types
687
688 2008-10-03  Alexander Sack  <asac@ubuntu.com>
689
690         * system-settings/src/main.c:
691                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
692                         always used as the hash key; fixes a crash when removing wired
693                         devices
694
695 2008-10-02  Dan Williams  <dcbw@redhat.com>
696
697         * src/nm-gsm-device.c
698                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
699                         pass the required GSM secret along via user_data rather than keeping
700                         it around in the private data where it sometimes didn't get cleared
701                 - (real_get_ppp_name): implement using the GSM username
702
703 2008-10-02  Dan Williams  <dcbw@redhat.com>
704
705         * src/ppp-manager/nm-ppp-manager.c
706           src/ppp-manager/nm-ppp-manager.h
707                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
708                         the settings daemon for completely new ones
709                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
710                         local PPP peer name; allow PPP debuging by launching NM with
711                         the environment variable NM_PPP_DEBUG defined
712                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
713                         create_pppd_cmd_line()
714
715         * src/nm-serial-device.c
716           src/nm-serial-device.h
717                 - New 'get_ppp_name' function for subclasses to implement to return the
718                         local PPP peer name
719                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
720                         and pass that name to the PPP manager
721
722         * src/nm-device-ethernet.c
723                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
724                         the local peer name
725
726         * src/nm-cdma-device.c
727                 - (real_get_ppp_name): implement using the CDMA username
728
729 2008-10-02  Dan Williams  <dcbw@redhat.com>
730
731         Patch from Alexander Sack <asac ubuntu com>
732
733         * system-settings/plugins/ifupdown/parser.c
734                 - Implement more graceful ip4 config parsing for cases where
735                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
736                   by using default values
737
738 2008-10-02  Dan Williams  <dcbw@redhat.com>
739
740         * src/NetworkManagerPolicy.c
741                 - (device_state_changed): when marking a connection invalid, clear its
742                         secrets too so that fresh secrets get requested the next time
743
744 2008-10-01  Dan Williams  <dcbw@redhat.com>
745
746         * system-settings/src/dbus-settings.c
747                 - (nm_sysconfig_settings_init): cache system hostname on startup as
748                         a fallback if no plugin provides a hostname
749                 - (get_property): fall back to cached hostname if no plugin provides
750                         a hostname
751
752 2008-10-01  Dan Williams  <dcbw@redhat.com>
753
754         Fix setting value comparison issue that caused some settings to look the
755         same when they were really different (rh #464417)
756
757         * libnm-util/nm-param-spec-specialized.c
758                 - (type_is_fixed_size): return fundamental size of the fixed type too
759                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
760                         in the comparison so that the _entire_ fixed type collection gets
761                         compared rather than just the first 'len1' bytes
762
763 2008-09-30  Dan Williams  <dcbw@redhat.com>
764
765         * src/NetworkManagerPolicy.c
766                 - (lookup_thread_worker): don't store the idle handler ID becuase the
767                         idle handler could have already run and freed the LookupThread
768                         structure
769
770 2008-09-30  Tambet Ingo  <tambet@gmail.com>
771
772         * src/nm-device.c (nm_device_get_priority): Implement.
773         (nm_device_set_ip4_config): Send the device priority to system ip4 
774         config setter.
775
776         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
777         Add priority argument and if it's >= 0, set the priority of the network
778         route added automatically by netlink (or kernel?).
779         (nm_system_device_set_priority): Implement.
780
781         * src/NetworkManagerPolicy.c (get_best_device): Use 
782         nm_device_get_priority() instead of home-grown version. Revert the
783         meaning, best priority is the lowest one.
784
785 2008-09-29  Dan Williams  <dcbw@redhat.com>
786
787         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
788         when it returns EAGAIN (rh #362421)
789
790         * src/nm-device-wifi.c
791                 - (wireless_get_range): try GIWRANGE a few times until the card responds
792                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
793
794 2008-09-28  Dan Williams  <dcbw@redhat.com>
795
796         * src/nm-serial-device.c
797           src/nm-serial-device.h
798                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
799                         cleaned at the right times when subclasses close the serial port too
800                 - (nm_serial_device_send_command): use a default send delay; don't
801                         spin forever on EAGAIN
802                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
803                         remove, no longer used
804                 - (find_response): return the matched response if any
805                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
806                         while doing so
807                 - (wait_for_reply_done): pass the matched response to the callback
808                 - (wait_for_reply_got_data): save the matched response; simplify timeout
809                         handling
810                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
811                         const since they never get modified
812                 - (cleanup_device): split out common cleanup stuff to a new function
813                 - (real_deactivate_quickly, finalize): use cleanup_device()
814
815         * src/nm-gsm-device.c
816                 - (modem_get_reply): remove, unused
817                 - (set_apn): give the card a bit more time to respond
818                 - (manual_registration_again, schedule_manual_registration_again,
819                    manual_registration_response, manual_registration): handle manual
820                         registration timeouts better by retrying registration a few times
821                         because cards are a bit slow after CFUN=1
822                 - (automatic_registration_get_network, get_network_response): use
823                         modem_wait_for_reply() because it interacts better with the serial
824                         buffer and does more intelligent matching; need to wait for 'OK'
825                         rather than just matching terminators
826                 - (schedule_automatic_registration_again,
827                    automatic_registration_response, automatic_registration): retry
828                         registration a few times on timeout or "searching" because cards
829                         take a bit to find a network after being powered up with CFUN=1
830                 - (power_up_response, power_up, init_full_done, enter_pin,
831                    check_pin_done): power up the card with CFUN=1 before trying to
832                         register with the network
833                 - (init_modem_full, init_modem): use more standard 3G init strings
834
835         * src/nm-hso-gsm-device.c
836                 - (modem_get_reply): remove, unused
837                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
838                         modem_wait_for_reply() to match actual responses instead of single
839                         termination characters; it doesn't leave stuff in the serial buffer
840                         that might confuse later calls
841                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
842                         to ensure that the call is really disconnected and not leave extra
843                         stuff in the serial buffer
844
845         * src/nm-cdma-device.c
846                 - (power_up_response, power_up, init_done): try Sierra-style modem
847                         power up before attempting to connect
848
849 2008-09-27  Dan Williams  <dcbw@redhat.com>
850
851         * libnm-util/nm-setting-gsm.c
852                 - (verify): verify GSM network ID
853
854 2008-09-25  Dan Williams  <dcbw@redhat.com>
855
856         * libnm-util/nm-setting-gsm.c
857           libnm-util/nm-setting-gsm.h
858                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
859                         technology terms (bgo #551361)
860
861 2008-09-25  Dan Williams  <dcbw@redhat.com>
862
863         Fix bgo #549401 (inspired by patch from Alexander Sack)
864
865         * src/nm-device-ethernet.c
866                 - (finish_supplicant_task): clean up scheduled tasks and free memory
867                 - (remove_supplicant_interface_error_handler): remove the supplicant
868                         error idle callback too
869                 - (supplicant_interface_release): rename from supplicant_interface_clean
870                         to match nm-device-wifi.c; clean up supplicant interface-related
871                         state tasks when the supplicant interface is disposed of
872                 - (schedule_state_handler): add scheduled tasks to a list so they can
873                         be cleaned up later
874                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
875                    supplicant_iface_connection_state_cb_handler): use
876                         finish_supplicant_task() to clean up each completed task
877                 - (supplicant_iface_connection_error_cb_handler,
878                    supplicant_connection_timeout_cb): clear source id when the task is
879                         complete
880                 - (supplicant_iface_connection_error_cb): save scheduled task id for
881                         later cleanup
882                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
883                         tasks
884
885         * src/nm-device-wifi.c
886                 - (finish_supplicant_task): clean up scheduled tasks and free memory
887                 - (remove_supplicant_interface_error_handler): remove the supplicant
888                         error idle callback too
889                 - (supplicant_interface_release): clean up supplicant interface-related
890                         state tasks when the supplicant interface is disposed of
891                 - (schedule_state_handler): add scheduled tasks to a list so they can
892                         be cleaned up later
893                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
894                    supplicant_iface_connection_state_cb_handler): use
895                         finish_supplicant_task() to clean up each completed task
896                 - (supplicant_iface_connection_error_cb_handler): clear source id when
897                         the task is complete
898                 - (supplicant_iface_connection_error_cb): save scheduled task id for
899                         later cleanup
900                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
901
902 2008-09-24  Tambet Ingo  <tambet@gmail.com>
903
904         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
905         method and get/set hostname property.
906
907 2008-09-24  Tambet Ingo  <tambet@gmail.com>
908
909         * src/supplicant-manager/nm-supplicant-interface.c
910         (nm_supplicant_interface_disconnect): Don't increment the reference 
911         count when disconnecting. The problem is on shutdown, when the replies
912         to these commands do not arrive before NM exits, resulting on never
913         calling supplicant interface's dispose(), which removes the interface
914         from supplicant.
915
916 2008-09-24  Tambet Ingo  <tambet@gmail.com>
917
918         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
919         all the public function arguments.
920
921 2008-09-22  Tambet Ingo  <tambet@gmail.com>
922
923         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
924         "Failure" signal from VPN plugins, store the failure reason, and
925         use it when the state is changed to failure.
926
927         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
928         description.
929
930         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
931         reason to the end of the list to not break the API.
932         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
933         so it can be shared by plugins and daemon.
934
935 2008-09-18  Dan Williams  <dcbw@redhat.com>
936
937         Patch from Alexander Sack <asac@ubuntu.com>
938
939         * configure.in
940           system-settings/plugins/Makefile.am
941           system-settings/plugins/ifupdown/Makefile.am
942           system-settings/plugins/ifupdown/interface_parser.c
943           system-settings/plugins/ifupdown/interface_parser.h
944           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
945           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
946           system-settings/plugins/ifupdown/parser.c
947           system-settings/plugins/ifupdown/parser.h
948           system-settings/plugins/ifupdown/plugin.c
949           system-settings/plugins/ifupdown/plugin.h
950                 - Implement a Debian/Ubuntu legacy network configuration plugin
951                         (gnome.org #551941)
952
953 2008-09-18  Dan Williams  <dcbw@redhat.com>
954
955         Implement support for honoring configured and automatic hostnames, and for
956         setting the configured hostname.
957
958         * introspection/nm-ip4-config.xml
959           src/nm-ip4-config.c
960           src/nm-ip4-config.h
961           src/dhcp-manager/nm-dhcp-manager.c
962                 - Remove useless hostname property; it's not really part of the IPv4
963                         config
964
965         * introspection/nm-settings-system.xml
966           libnm-glib/nm-dbus-settings-system.c
967           libnm-glib/nm-dbus-settings-system.h
968                 - Add SetHostname() call to system settings D-Bus interface
969                 - Add Hostname property to system settings D-Bus interface
970                 - (nm_dbus_settings_system_save_hostname,
971                    nm_dbus_settings_system_get_hostname): implement
972
973         * src/nm-device.c
974           src/nm-device.h
975                 - (nm_device_get_dhcp4_config): implement
976
977         * src/nm-manager.c
978           src/nm-manager.h
979                 - Fetch and track system settings service hostname changes, and proxy
980                         the changes via a GObject property of the manager
981
982         * system-settings/src/nm-system-config-interface.c
983           system-settings/src/nm-system-config-interface.h
984                 - Replace nm_system_config_interface_supports_add() with a capabilities
985                         bitfield
986
987         * system-settings/src/nm-system-config-error.c
988           system-settings/src/nm-system-config-error.h
989                 - Add additional errors
990
991         * system-settings/src/dbus-settings.c
992           system-settings/src/dbus-settings.h
993                 - (get_property, nm_sysconfig_settings_class_init): add hostname
994                         property; first plugin returning a hostname wins
995                 - (impl_settings_add_connection): use plugin capabilities instead of
996                         nm_system_config_interface_supports_add()
997                 - (impl_settings_save_hostname): implement hostname saving
998
999         * src/NetworkManagerPolicy.c
1000                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1001                    lookup_thread_die): implement an asynchronous hostname lookup thread
1002                         which given an IPv4 address tries to look up the hostname for that
1003                         address with reverse DNS
1004                 - (get_best_device): split out best device code from
1005                         update_routing_and_dns()
1006                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1007                         to preserve the 127.0.0.1 reverse mapping that so many things require
1008                 - (set_system_hostname): set a given hostname
1009                 - (update_system_hostname): implement hostname policy; a configured
1010                         hostname (from the system settings service) is used if available,
1011                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1012                         If there was no automatically determined hostname, reverse DNS of
1013                         the best device's IP address will be used, and as a last resort the
1014                         hostname 'localhost.localdomain' is set.
1015                 - (update_routing_and_dns): use get_best_device(); update the system
1016                         hostname when the network config changes
1017                 - (hostname_changed): update system hostname if the system settings
1018                         service signals a hostname change
1019                 - (nm_policy_new): list for system settings service hostname changes
1020                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1021                         gets told to die
1022
1023         * system-settings/plugins/keyfile/plugin.c
1024           system-settings/plugins/ifcfg-suse/plugin.c
1025                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1026                         capabilities properties
1027
1028         * system-settings/plugins/ifcfg-fedora/shvar.c
1029                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1030                         writes out /etc/sysconfig/network now
1031
1032         * system-settings/plugins/ifcfg-fedora/plugin.c
1033                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1034                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1035                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1036                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1037                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1038                         hostname get/set and capabilities get
1039
1040 2008-09-18  Dan Williams  <dcbw@redhat.com>
1041
1042         * libnm-util/nm-setting-wireless.c
1043                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1044                         group ciphers if the wireless-security setting explicitly specified
1045                         them, effectively making the default be "all ciphers"  (idea from
1046                         Alexander Sack)
1047
1048 2008-09-15  Dan Williams  <dcbw@redhat.com>
1049
1050         Patch from Alexander Sack <asac@ubuntu.com>
1051
1052         * src/named-manager/nm-named-manager.c
1053                 - (dispatch_resolvconf): respect resolvconf exit code
1054
1055 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1056
1057         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1058         again. Add some debugging.
1059
1060 2008-09-11  Dan Williams  <dcbw@redhat.com>
1061
1062         * system-settings/plugins/keyfile/plugin.c
1063                 - (update_connection_settings): update connection manually, since
1064                         nm_exported_connection_update() does authentication
1065                 - (dir_changed): update_connection_settings() doesn't need to return
1066                         an error
1067
1068 2008-09-09  Dan Williams  <dcbw@redhat.com>
1069
1070         * libnm-glib/nm-vpn-plugin-ui-interface.c
1071           libnm-glib/nm-vpn-plugin-ui-interface.h
1072           libnm-glib/libnm_glib_vpn.ver
1073                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1074                         should clean up resources related to the connection (like keyring
1075                         secrets)
1076                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1077                         should save user-scope secrets (like to the keyring)
1078
1079 2008-09-08  Dan Williams  <dcbw@redhat.com>
1080
1081         Patch from Alexander Sack <asac@ubuntu.com>
1082
1083         * libnm-util/crypto_gnutls.c
1084           libnm-util/crypto_nss.c
1085                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1086
1087         * libnm-util/nm-utils.c
1088           libnm-util/nm-utils.h
1089           libnm-util/libnm-util.ver
1090                 - (nm_utils_init): initialize libnm-util
1091                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1092
1093         * libnm-util/nm-setting-8021x.c
1094                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1095
1096 2008-09-05  Dan Williams  <dcbw@redhat.com>
1097
1098         Patch from Roy Marples <roy@marples.name> and others
1099
1100         * configure.in
1101           src/named-manager/nm-named-manager.c
1102                 - Add support for resolvconf; use --with-resolvconf at configure time
1103                         to enable it
1104
1105 2008-09-05  Dan Williams  <dcbw@redhat.com>
1106
1107         * libnm-util/crypto_nss.c
1108           libnm-util/crypto_gnutls.c
1109           libnm-util/crypto.h
1110                 - (crypto_init): return error when init fails
1111
1112 2008-09-05  Dan Williams  <dcbw@redhat.com>
1113
1114         * libnm-glib/nm-device-wifi.c
1115                 - (access_point_removed_proxy): clean up the active access point too
1116                         just in case the active ap changed signal didn't come through yet
1117                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1118
1119 2008-09-05  Dan Williams  <dcbw@redhat.com>
1120
1121         * libnm-glib/nm-client.c
1122                 - (constructor): get initial state after we know whether NM is running
1123                         or not
1124
1125 2008-09-05  Dan Williams  <dcbw@redhat.com>
1126
1127         * libnm-glib/nm-ip4-config.c
1128           libnm-glib/nm-dhcp4-config.c
1129                 - (finalize): clean up the DBusGProxy
1130
1131 2008-09-04  Dan Williams  <dcbw@redhat.com>
1132
1133         * src/nm-ip4-config.c
1134           src/nm-ip4-config.h
1135                 - (nm_ip4_config_new): don't export over D-Bus here
1136                 - (nm_ip4_config_export): new function; export the config over D-Bus
1137                 - (nm_ip4_config_is_exported): new function
1138
1139         * src/nm-device.c
1140                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1141                         objects by balancing the IP4Config constructor; the device holds
1142                         a reference to the IP4Config already
1143                 - (nm_device_set_ip4_config): export the IP4Config when needed
1144
1145 2008-09-04  Dan Williams  <dcbw@redhat.com>
1146
1147         * src/supplicant-manager/nm-supplicant-settings-verify.c
1148                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1149
1150 2008-09-04  Dan Williams  <dcbw@redhat.com>
1151
1152         * libnm-util/nm-setting-vpn.c
1153           libnm-util/nm-setting-vpn.h
1154                 - Split VPN secrets from VPN data so that settings services can actually
1155                         figure out that they are secrets and store them accordingly
1156
1157         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1158           system-settings/plugins/keyfile/reader.c
1159           system-settings/plugins/keyfile/reader.h
1160           system-settings/plugins/keyfile/writer.c
1161                 - Store VPN secrets separately from VPN data so that they can be fetched
1162                         on demand
1163                 - Implement the get_secrets() call so that (a) secrets don't leak out
1164                         to unprivileged callers, and (b) secrets can be sent to privileged
1165                         callers when needed
1166
1167         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1168                 - Handle split VPN secrets
1169
1170 2008-08-27  Dan Williams  <dcbw@redhat.com>
1171
1172         * system-settings/plugins/ifcfg-fedora/reader.c
1173                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1174
1175 2008-08-27  Dan Williams  <dcbw@redhat.com>
1176
1177         Ensure zombie children get cleaned up.  To get notifications when children
1178         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1179         that requires calling waitpid() yourself if you've removed the child watch
1180         handler before the process has actually died, which NM needs to do in a few
1181         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1182         cleans up after the child when required.  Should fix problems trying to
1183         activate mobile broadband connections after a previous failure.
1184
1185         * src/dhcp-manager/nm-dhcp-dhclient.c
1186           src/dhcp-manager/nm-dhcp-dhcpcd.c
1187                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1188
1189         * src/dhcp-manager/nm-dhcp-manager.c
1190                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1191                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1192                         block on child quitting, since the non-blocking functionality was
1193                         never actually used
1194
1195         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1196                 - (dm_watch_cb): child is already reaped here
1197                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1198
1199         * src/nm-device.c
1200                 - (aipd_cleanup): block until child is dead
1201
1202         * src/named-manager/nm-named-manager.c
1203                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1204                         event bothering to watch the child
1205
1206         * src/ppp-manager/nm-ppp-manager.c
1207                 - (ppp_watch_cb): child is already reaped here
1208                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1209
1210         * src/vpn-manager/nm-vpn-service.c
1211                 - (vpn_service_watch_cb): child is already reaped here
1212                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1213                         status of the child is actually tracked
1214                 - (ensure_killed, finalize): block until child is dead
1215
1216 2008-08-26  Dan Williams  <dcbw@redhat.com>
1217
1218         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1219                 - (update): Update filename of the connection if the connection id
1220                         was changed
1221
1222         * system-settings/plugins/keyfile/plugin.c
1223                 - (dir_changed): first pass at handling connection renames correctly
1224
1225         * system-settings/plugins/keyfile/writer.c
1226           system-settings/plugins/keyfile/writer.h
1227                 - (write_connection): replace '/' with '*' when writing out the filename
1228                         from the connection id
1229
1230 2008-08-26  Dan Williams  <dcbw@redhat.com>
1231
1232         Add connection UUIDs, since connection names can be changed, and since
1233         old-style connection IDs could change over the life of the connection.  The
1234         UUID should be assigned at connection creation time, be stable for a given
1235         connection, and should be unique among all connections for a given settings
1236         service.
1237
1238         * configure.in
1239           libnm-util/Makefile.am
1240                 - Require libuuid
1241
1242         * introspection/nm-exported-connection.xml
1243                 - Remove "GetID" method
1244
1245         * libnm-glib/nm-dbus-connection.c
1246           libnm-glib/nm-settings.c
1247           libnm-glib/nm-settings.h
1248                 - Remove id-related stuff
1249
1250         * libnm-util/nm-utils.c
1251           libnm-util/nm-utils.h
1252           libnm-util/libnm-util.ver
1253                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1254                         utility functions to generate UUIDs
1255
1256         * libnm-util/nm-setting-connection.c
1257           libnm-util/nm-setting-connection.h
1258                 - Add 'uuid' member to the connection setting
1259                 - (verify): require valid 'uuid' for a valid connection
1260
1261         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1262           system-settings/plugins/ifcfg-fedora/reader.c
1263           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1264           system-settings/plugins/ifcfg-suse/parser.c
1265           system-settings/plugins/keyfile/nm-keyfile-connection.c
1266           system-settings/src/main.c
1267                 - Remove id-related stuff
1268                 - Give connections UUIDs where needed
1269
1270 2008-08-25  Dan Williams  <dcbw@redhat.com>
1271
1272         * libnm-util/crypto_gnutls.c
1273           libnm-util/crypto_nss.c
1274                 - (crypto_init, crypto_deinit): refcount init/deinit
1275                 - (crypto_md5_hash): allow NULL salt
1276
1277 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1278
1279         * libnm-glib/Makefile.am
1280           libnm-util/Makefile.am
1281           libnm-glib/libnm_glib.ver
1282           libnm-glib/libnm_glib_vpn.ver
1283           libnm-util/libnm-util.ver
1284                 - Use linker version scripts to control the list of exported 
1285                 symbols. List each exported symbol explicitely.
1286         * libnm-util/Makefile.am
1287                 - Fix compilation of the test-crypto binary. The crypto
1288                 functions are no longer part of the libnm-util API. Add 
1289                 crypto_*.c to test_crypto_SOURCES and link against the correct
1290                 crypto libraries.
1291
1292 2008-08-19  Dan Williams  <dcbw@redhat.com>
1293
1294         * configure.in
1295           test/Makefile.am
1296                 - Don't build test/test-common
1297                 - Remove unused stuff
1298
1299         * test/nm-set-fallback
1300           test/nmtestdevices.c
1301           test/test-common/.cvsignore
1302           test/test-common/Makefile.am
1303           test/test-common/test-common.c
1304           test/test-common/test-common.h
1305                 - delete
1306
1307 2008-08-18  Dan Williams  <dcbw@redhat.com>
1308
1309         * libnm-util/nm-utils.c
1310           libnm-util/nm-utils.h
1311                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1312                         export anything that needs to be converted with this function
1313
1314         * src/dhcp-manager/nm-dhcp-manager.c
1315                 - (garray_to_string): convert a byte array to a UTF-8 string with
1316                         minimal validation; the DHCP client sends it in ASCII anyway
1317                 - (get_option, copy_option): use garray_to_string()
1318
1319 2008-08-18  Dan Williams  <dcbw@redhat.com>
1320
1321         * include/NetworkManager.h
1322           introspection/nm-device.xml
1323                 - Add a "missing firmware" device state reason
1324
1325         * src/NetworkManagerSystem.c
1326           src/NetworkManagerSystem.h
1327                 - (nm_system_device_set_up_down): add a no_firmware argument
1328                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1329                         IFF_UP is ENOENT, that almost always means missing firmware
1330
1331         * src/backends/NetworkManagerGeneric.c
1332           src/nm-device-ethernet.c
1333           src/nm-device-private.h
1334           src/nm-device-wifi.c
1335           src/nm-device.c
1336           src/nm-device.h
1337           src/nm-hso-gsm-device.c
1338           src/vpn-manager/nm-vpn-connection.c
1339                 - Pass no_firmware along; check it where appropriate
1340
1341 2008-08-18  Dan Williams  <dcbw@redhat.com>
1342
1343         Patch from Robert Buchholz <rbu@gentoo.org>
1344
1345         * autogen.sh
1346           configure.in
1347                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1348                         1003.1-1988, allowing for file names longer than 99 characters
1349
1350 2008-08-17  Dan Williams  <dcbw@redhat.com>
1351
1352         * include/NetworkManager.h
1353           introspection/nm-device.xml
1354           src/nm-gsm-device.c
1355                 - Finer-grained GSM registration failure error codes
1356
1357 2008-08-17  Dan Williams  <dcbw@redhat.com>
1358
1359         * callouts/Makefile.am
1360           src/Makefile.am
1361                 - Move dispatcher directory creation to callouts/Makefile.am
1362
1363         * system-settings/plugins/keyfile/Makefile.am
1364                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1365
1366 2008-08-15  Dan Williams  <dcbw@redhat.com>
1367
1368         Do connection sharing in a cleaner manner; all required iptables rules
1369         are now stored in the activation request and pertain only to the device
1370         which is being shared to other computers. (rh #458625)
1371
1372         * src/nm-activation-request.c
1373           src/nm-activation-request.h
1374                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1375                         the activation request which will get torn down automatically when
1376                         the activation request dies
1377                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1378                         is started, and tear them down when sharing is stopped
1379
1380         * src/nm-device.c
1381                 - (start_sharing): start up sharing by doing the required iptables magic
1382                 - (share_init): poke the right bits of the kernel and load the right
1383                         modules for NAT
1384                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1385                         connection if it's a 'shared' connection
1386
1387         * src/NetworkManagerPolicy.c
1388                 - Remove all sharing stuff; done in the device code itself
1389
1390 2008-08-15  Dan Williams  <dcbw@redhat.com>
1391
1392         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1393                 - (create_dm_cmd_line): send the right router address
1394
1395 2008-08-15  Dan Williams  <dcbw@redhat.com>
1396
1397         * src/ppp-manager/nm-ppp-manager.c
1398                 - (pppd_timed_out): ensure timeouts fail the connection
1399
1400 2008-08-14  Dan Williams  <dcbw@redhat.com>
1401
1402         * src/nm-properties-changed-signal.c
1403           src/nm-properties-changed-signal.h
1404                 - Add a property spec flag for "don't export this property" in
1405                         property changed signals
1406
1407         * src/nm-hso-gsm-device.c
1408           src/nm-gsm-device.c
1409           src/nm-cdma-device.c
1410                 - Don't export monitor interface or netdev interface properties
1411
1412 2008-08-14  Dan Williams  <dcbw@redhat.com>
1413
1414         * src/NetworkManagerPolicy.c
1415                 - (update_routing_and_dns): 'hso' devices can be default even if they
1416                         don't have a gateway
1417
1418 2008-08-14  Dan Williams  <dcbw@redhat.com>
1419
1420         * src/nm-device.c
1421                 - (nm_device_deactivate_quickly): tear down activation request after
1422                         calling device-specific deactivation
1423
1424         * src/nm-hso-gsm-device.c
1425                 - (real_deactivate_quickly): terminate connection when deactivating
1426
1427 2008-08-14  Dan Williams  <dcbw@redhat.com>
1428
1429         * src/nm-activation-request.h
1430                 - Add HSO secrets caller
1431
1432         * src/nm-gsm-device.c
1433           src/nm-gsm-device.h
1434                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1435                         something to the callback function
1436                 - (set_apn, set_apn_done): call class dial function, not a static one
1437                 - (nm_gsm_device_class_init): add a class 'dial' function
1438
1439         * src/nm-hal-manager.c
1440                 - (get_hso_netdev): find the hso-driven hardware's net device
1441                 - (modem_device_creator): recognize hso-driven hardware and create the
1442                         right type of device object for it
1443
1444         * src/Makefile.am
1445           src/nm-hso-gsm-device.c
1446           src/nm-hso-gsm-device.h
1447                 - Implement support for devices driven by the 'hso' driver as a subclass
1448                         of NMGsmDevice
1449
1450 2008-08-14  Dan Williams  <dcbw@redhat.com>
1451
1452         * src/NetworkManagerSystem.c
1453                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1454                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1455                         success if the operation really was successful
1456
1457 2008-08-14  Dan Williams  <dcbw@redhat.com>
1458
1459         * src/nm-netlink-monitor.c
1460           src/nm-netlink-monitor.h
1461           src/nm-device-ethernet.c
1462                 - (nm_netlink_monitor_request_status): return an error on failure
1463                 - (constructor): don't segfault on missing error
1464
1465 2008-08-13  Dan Williams  <dcbw@redhat.com>
1466
1467         * callouts/nm-dispatcher-action.c
1468                 - Add IP4 config info to script environment
1469
1470 2008-08-12  Dan Williams  <dcbw@redhat.com>
1471
1472         * src/nm-device.c
1473                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1474                         that want to use DHCP hostnames should use dispatcher scripts
1475                         for that
1476
1477         * src/NetworkManagerSystem.h
1478           src/backends/NetworkManagerArch.c
1479           src/backends/NetworkManagerDebian.c
1480           src/backends/NetworkManagerFrugalware.c
1481           src/backends/NetworkManagerGeneric.c
1482           src/backends/NetworkManagerGeneric.h
1483           src/backends/NetworkManagerGentoo.c
1484           src/backends/NetworkManagerMandriva.c
1485           src/backends/NetworkManagerPaldo.c
1486           src/backends/NetworkManagerRedHat.c
1487           src/backends/NetworkManagerSlackware.c
1488           src/backends/NetworkManagerSuSE.c
1489                 - Remove nm_system_set_hostname(), no longer used
1490           
1491         * src/backends/Makefile.am
1492           src/backends/shvar.c
1493           src/backends/shvar.h
1494                 - Remove shvar.*; no longer used
1495
1496 2008-08-12  Dan Williams  <dcbw@redhat.com>
1497
1498         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1499         hostname is updated at runtime.  Distros or users who want hostname updates
1500         can use dispatcher scripts to update the hostname if they need it.
1501
1502 2008-08-12  Dan Williams  <dcbw@redhat.com>
1503
1504         * introspection/nm-settings-system.xml
1505           system-settings/src/dbus-settings.c
1506           system-settings/src/dbus-settings.h
1507                 - Add a 'Hostname' property (rw) which represents the configured
1508                         hostname and domain of the system, if any
1509
1510         * system-settings/src/nm-system-config-error.c
1511           system-settings/src/nm-system-config-error.h
1512           system-settings/src/nm-system-config-interface.c
1513           system-settings/src/nm-system-config-interface.h
1514                 - Add a 'hostname' property to the plugin interface
1515                 - Add a method to send updated hostname to plugins to save in their
1516                         backing configuration store
1517
1518         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1519           system-settings/plugins/keyfile/plugin.c
1520           system-settings/plugins/keyfile/writer.c
1521           system-settings/plugins/keyfile/writer.h
1522           system-settings/plugins/ifcfg-suse/plugin.c
1523                 - Add minimal hostname support
1524
1525         * system-settings/plugins/ifcfg-fedora/plugin.c
1526                 - Add support for updating system hostname in /etc/sysconfig/network
1527
1528 2008-08-12  Dan Williams  <dcbw@redhat.com>
1529
1530         * system-settings/plugins/ifcfg-fedora/shvar.c
1531           system-settings/plugins/ifcfg-fedora/shvar.c
1532                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1533
1534 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1535
1536         * Makefile.am: Fix distcheck.
1537
1538 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1539
1540         * libnm-glib/*.c. Document some more.
1541
1542 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1543
1544         Start documenting libnm-glib public API using gtk-doc.
1545
1546         * libnm-glib/nm-serial-device.c: 
1547         * libnm-glib/nm-object.c: 
1548         * libnm-glib/nm-gsm-device.c: 
1549         * libnm-glib/nm-device.c: 
1550         * libnm-glib/nm-device-wifi.c: 
1551         * libnm-glib/nm-device-ethernet.c: 
1552         * libnm-glib/nm-client.c: 
1553         * libnm-glib/nm-cdma-device.c: Document the public API.
1554
1555         * docs/libnm-glib/libnm-glib.types: Implement.
1556
1557         * docs/libnm-glib/Makefile.am: Implement.
1558
1559         * autogen.sh: 
1560         * configure.in: 
1561         * Makefile.am: Add gtk-doc support.
1562
1563 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1564
1565         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1566
1567         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1568         the composite result of all the IP4 configurations and call a distro
1569         specific update_resolv_conf().
1570         (update_resolv_conf): Implement one for directly writing to 
1571         /etc/resolv.conf and one for opensuse to call netconfig.
1572
1573 2008-08-11  Dan Williams  <dcbw@redhat.com>
1574
1575         * src/ppp-manager/nm-ppp-manager.c
1576                 - (impl_ppp_manager_need_secrets): pass interface as required
1577
1578 2008-08-11  Dan Williams  <dcbw@redhat.com>
1579
1580         Merge the vpn-properties setting with the vpn setting since it was pointless
1581         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1582         of string:string (instead of string:variant) so that system settings plugins
1583         can have an easier time dealing with the arbitrary key/value pairs.
1584
1585 2008-08-11  Dan Williams  <dcbw@redhat.com>
1586
1587         * libnm-util/nm-utils.c
1588                 - (nm_utils_register_value_transformations): add value transform for
1589                         a hash table of string:string
1590
1591 2008-08-10  Dan Williams  <dcbw@redhat.com>
1592
1593         * libnm-glib/nm-vpn-plugin.c
1594                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1595                         an idle handler so the Connect reply gets delivered before the
1596                         stop StateChanged signal
1597
1598 2008-08-10  Dan Williams  <dcbw@redhat.com>
1599
1600         * src/nm-ip4-config.c
1601                 - (get_property): use common ip4 address/route conversion functions
1602                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1603                         copy the new route here, not take ownership
1604
1605 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1606
1607         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1608         Update the IP4 setting's method name.
1609
1610 2008-08-07  Dan Williams  <dcbw@redhat.com>
1611
1612         * introspection/nm-ip4-config.xml
1613           libnm-glib/libnm-glib-test.c
1614           libnm-glib/nm-ip4-config.c
1615           libnm-glib/nm-ip4-config.h
1616           src/NetworkManagerSystem.h
1617           src/backends/NetworkManagerArch.c
1618           src/backends/NetworkManagerDebian.c
1619           src/backends/NetworkManagerFrugalware.c
1620           src/backends/NetworkManagerGeneric.c
1621           src/backends/NetworkManagerGeneric.h
1622           src/backends/NetworkManagerGentoo.c
1623           src/backends/NetworkManagerMandriva.c
1624           src/backends/NetworkManagerPaldo.c
1625           src/backends/NetworkManagerRedHat.c
1626           src/backends/NetworkManagerSlackware.c
1627           src/backends/NetworkManagerSuSE.c
1628           src/dhcp-manager/nm-dhcp-manager.c
1629           src/nm-device.c
1630           src/nm-ip4-config.c
1631           src/nm-ip4-config.h
1632                 - Remove NIS logic; should be done from dispatcher scripts instead
1633
1634 2008-08-07  Dan Williams  <dcbw@redhat.com>
1635
1636         * src/dhcp-manager/nm-dhcp-manager.c
1637                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1638                         mis-handling of DHCP responses that returned more than one router
1639                         (found by Grant Williamson)
1640
1641 2008-08-07  Dan Williams  <dcbw@redhat.com>
1642
1643         * callouts/nm-dispatcher-action.c
1644                 - (nm_dispatcher_action): grab device path and create the device; pass
1645                         the device's DHCP4 config to script caller
1646                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1647                         scripts
1648
1649         * libnm-glib/nm-dhcp4-config.c
1650           libnm-glib/nm-dhcp4-config.h
1651                 - (nm_dhcp4_config_get_options): expose
1652                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1653
1654 2008-08-07  Dan Williams  <dcbw@redhat.com>
1655
1656         * include/NetworkManager.h
1657                 - Add the DHCP4Config D-Bus interface
1658
1659         * libnm-glib/Makefile.am
1660           libnm-glib/nm-dhcp4-config.c
1661           libnm-glib/nm-dhcp4-config.h
1662                 - Handle DHCP4 config objects exported by NM over D-Bus
1663
1664         * libnm-glib/nm-device.c
1665           libnm-glib/nm-device.h
1666                 - Add a 'dhcp4-config' property
1667
1668         * libnm-glib/libnm-glib-test.c
1669                 - Print out DHCP4 config for devices
1670                 - Fix some crashes when no connections are active
1671
1672         * src/nm-device-interface.c
1673           src/nm-device.c
1674           src/nm-dhcp4-config.c
1675           src/nm-dhcp4-config.h
1676                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1677                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1678                         doesn't let us do when the property type is G_TYPE_OBJECT
1679
1680 2008-08-07  Dan Williams  <dcbw@redhat.com>
1681
1682         * src/NetworkManager.c
1683           src/NetworkManagerSystem.h
1684           src/backends/NetworkManagerArch.c
1685           src/backends/NetworkManagerDebian.c
1686           src/backends/NetworkManagerFrugalware.c
1687           src/backends/NetworkManagerGeneric.c
1688           src/backends/NetworkManagerGeneric.h
1689           src/backends/NetworkManagerGentoo.c
1690           src/backends/NetworkManagerMandriva.c
1691           src/backends/NetworkManagerPaldo.c
1692           src/backends/NetworkManagerRedHat.c
1693           src/backends/NetworkManagerSlackware.c
1694           src/backends/NetworkManagerSuSE.c
1695                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1696
1697 2008-08-06  Dan Williams  <dcbw@redhat.com>
1698
1699         * libnm-glib/nm-ip4-config.c
1700           libnm-glib/nm-ip4-config.h
1701                 - Add 'routes' property
1702
1703         * libnm-util/nm-setting-vpn.c
1704           libnm-util/nm-setting-vpn.h
1705                 - Remove 'routes' property
1706
1707         * libnm-util/nm-setting-ip4-config.c
1708           libnm-util/nm-setting-ip4-config.h
1709                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1710                 - Add 'ignore-auto-routes' property
1711                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1712                         accomodate route metrics
1713                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1714
1715         * libnm-util/nm-utils.c
1716           libnm-util/nm-utils.h
1717                 - Add helpers for marshalling IP4 routes
1718
1719         * src/NetworkManagerUtils.c
1720                 - (nm_utils_merge_ip4_config): handle property renames and new route
1721                         structure
1722
1723         * src/NetworkManagerSystem.c
1724                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1725                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1726
1727         * src/dhcp-manager/nm-dhcp-manager.c
1728                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1729
1730         * system-settings/plugins/ifcfg-fedora/reader.c
1731           system-settings/plugins/ifcfg-fedora/writer.c
1732                 - Handle routes separately from addresses now that routes have a different
1733                         format
1734
1735         * introspection/nm-ip4-config.xml
1736           src/nm-ip4-config.c
1737           src/nm-ip4-config.h
1738                 - Rename internal routing functions
1739                 - 'static-routes' renamed to 'routes'
1740
1741 2008-08-04  Dan Williams  <dcbw@redhat.com>
1742
1743         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1744
1745         * src/NetworkManager.c
1746           src/nm-manager.c
1747           src/nm-manager.h
1748                 - More explicitly make the NMManager a singleton
1749
1750 2008-08-04  Dan Williams  <dcbw@redhat.com>
1751
1752         * libnm-util/nm-connection.c
1753           libnm-util/nm-connection.h
1754                 - (nm_connection_verify): return error on missing 'connection' setting
1755                         (found by Sjoerd Simons)
1756
1757 2008-08-04  Dan Williams  <dcbw@redhat.com>
1758
1759         Handle multiple concurrent PPP connections.
1760
1761         * src/ppp-manager/nm-ppp-manager.c
1762           src/ppp-manager/nm-ppp-manager.h
1763                 - (constructor): only PPP Manager request bus name once; each
1764                         NMPPPManager object gets a unique object path
1765                 - (nm_ppp_manager_class_init, get_property, set_property,
1766                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1767                         at construct time
1768                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1769                         remove timeout until PPP manager gets an IP4 config
1770                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1771                         the plugin can call back to this specific PPP manager instance
1772
1773         * src/nm-device-ethernet.c
1774           src/nm-serial-device.c
1775                 - Pass parent device in nm_ppp_manager_new()
1776
1777         * src/nm-gsm-device.c
1778           src/nm-cdma-device.c
1779                 - (device_state_changed): don't close serial device on NEED_AUTH
1780                         state changed, that's not a failure case like the rest are
1781
1782         * src/ppp-manager/nm-pppd-plugin.c
1783                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1784                         binds one interface to any pppd process, thus the correct index
1785                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1786                         problems; try harder to get a peer address in spite of pppd
1787                 - (plugin_init): use 'ipparam' as the object path back to our specific
1788                         PPP manager instance
1789
1790 2008-08-04  Dan Williams  <dcbw@redhat.com>
1791
1792         * src/ppp-manager/nm-ppp-manager.c
1793                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1794                         since the GSM and CDMA settings now implement need_secrets, we can
1795                         rely on them to do the right thing.  Where secrets are not required,
1796                         just pass empty strings back to the pppd plugin.
1797                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1798                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1799                         on successful IP4 config receipt
1800
1801 2008-08-04  Dan Williams  <dcbw@redhat.com>
1802
1803         * libnm-util/nm-setting-cdma.c
1804           libnm-util/nm-setting-gsm.c
1805                 - (verify): validate username & password if they exist
1806                 - (need_secrets): if username given, require a password too
1807
1808 2008-08-04  Dan Williams  <dcbw@redhat.com>
1809
1810         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1811                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1812                         manpage says about --listen-address without --interface
1813                         (bgo #546033)
1814
1815 2008-08-01  Dan Williams  <dcbw@redhat.com>
1816
1817         * libnm-glib/nm-device.c
1818                 - (proxy_get_string): util function for querying a HAL property
1819                 - (get_ancestor_device): split out from get_product_and_vendor()
1820                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1821                         from PCI devices by querying subsys properties
1822                 - (nm_device_update_description): simplify
1823
1824 2008-08-01  Dan Williams  <dcbw@redhat.com>
1825
1826         * libnm-util/nm-setting-ip4-config.c
1827           libnm-util/nm-setting-ip4-config.h
1828                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1829                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1830                         settings, and they don't necessarily use DHCP.
1831
1832         * src/NetworkManagerPolicy.c
1833           src/nm-device.c
1834           system-settings/plugins/ifcfg-fedora/reader.c
1835           system-settings/plugins/ifcfg-suse/parser.c
1836                 - Fixup for method changes
1837
1838 2008-07-31  Dan Williams  <dcbw@redhat.com>
1839
1840         * src/nm-activation-request.c
1841           src/vpn-manager/nm-vpn-connection.c
1842                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1843                         itself should be attached to the activation request or the VPN
1844                         connection, not the NMConnection object, since the call is not
1845                         expected to live as long as the NMConnection itself
1846
1847 2008-07-31  Dan Williams  <dcbw@redhat.com>
1848
1849         * src/nm-device-wifi.c
1850                 - (real_act_stage2_config): fix issue where association would continue
1851                         even though secrets were needed; 'goto out' was in wrong scope and
1852                         result of handle_auth_or_fail() should have been dumped directly to
1853                         'ret' to ensure that the association was postponed until secrets
1854                         are available
1855
1856 2008-07-31  Dan Williams  <dcbw@redhat.com>
1857
1858         * system-settings/plugins/ifcfg-fedora/plugin.c
1859           system-settings/plugins/ifcfg-fedora/reader.c
1860                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1861                         valid NM connection
1862
1863 2008-07-29  Dan Williams  <dcbw@redhat.com>
1864
1865         * src/nm-gsm-device.c
1866                 - (automatic_registration_response, automatic_registration): recognize
1867                         denied registration and reorder responses
1868
1869 2008-07-29  Dan Williams  <dcbw@redhat.com>
1870
1871         * src/nm-serial-device.c
1872                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1873                         time(2) is used for current time, which returns seconds, we shouldn't
1874                         be multiplying by 1000.
1875
1876 2008-07-28  Dan Williams  <dcbw@redhat.com>
1877
1878         Patch from Fabrice Bellet <fabrice@bellet.info>
1879
1880         * src/NetworkManagerSystem.c
1881                 - (route_in_same_subnet): mask addresses and compare them so that the
1882                         function actually does what it says it's going to do (rh #456685)
1883
1884 2008-07-27  Dan Williams  <dcbw@redhat.com>
1885
1886         * libnm-util/nm-setting-ip6-config.c
1887                 - (set_property): add missing break that caused routes to be overwritten
1888                         with addresses
1889
1890         * libnm-util/nm-setting-ip6-config.c
1891                 - (verify): validate routes and return GError everywhere on invalid setting
1892                 - (finalize): don't leak routes
1893                 - (set_property): add missing break that caused routes to be overwritten
1894                         with addresses
1895
1896 2008-07-27  Dan Williams  <dcbw@redhat.com>
1897
1898         * libnm-util/*
1899                 - Relicense to LGPLv2+
1900
1901 2008-07-27  Dan Williams  <dcbw@redhat.com>
1902
1903         * system-settings/plugins/ifcfg-fedora/reader.c
1904                 - (make_ip4_setting): fix parsing automatic configs
1905
1906 2008-07-27  Dan Williams  <dcbw@redhat.com>
1907
1908         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1909           src/nm-device.c
1910           src/ppp-manager/nm-ppp-manager.c
1911                 - Ensure child process gets reaped.  The child watch function may be
1912                         removed from the mainloop before the child gets killed, so we have
1913                         to make sure the child is reaped when it's told to die intentionally
1914
1915 2008-07-27  Dan Williams  <dcbw@redhat.com>
1916
1917         Patch from Roy Marples <roy@marples.name>
1918
1919         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1920                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1921
1922 2008-07-27  Dan Williams  <dcbw@redhat.com>
1923
1924         * src/nm-gsm-device.c
1925                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1926                         Huawei devices turn echo back on after CPIN (rh #456770)
1927
1928 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1929
1930         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1931         format argument to g_set_error() call.
1932
1933         * src/backends/interface_parser.[ch]: Remove.
1934
1935         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1936
1937 2008-07-21  Dan Williams  <dcbw@redhat.com>
1938
1939         * src/ppp-manager/nm-ppp-manager.c
1940                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1941                         to prevent pppd from picking up some random local address from an
1942                         interface that doesn't have anything to do with the one we're
1943                         interested in (rh #455348)
1944
1945 2008-07-17  Dan Williams  <dcbw@redhat.com>
1946
1947         * libnm-util/nm-utils.c
1948                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1949                         by locale
1950                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1951                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1952
1953 2008-07-17  Dan Williams  <dcbw@redhat.com>
1954
1955         * introspection/Makefile.am
1956           introspection/nm-device.xml
1957           introspection/nm-dhcp4-config.xml
1958                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1959                         itself
1960         * src/nm-device-interface.c
1961           src/nm-device-interface.h
1962                 - Add the DHCP4Config property
1963
1964         * src/nm-device.c
1965                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1966                         D-Bus clients when it changes
1967
1968         * src/nm-dhcp4-config.c
1969           src/nm-dhcp4-config.h
1970                 - Simple object to store DHCP4 options, export them over D-Bus, and
1971                         notify when they change
1972
1973         * src/dhcp-manager/nm-dhcp-manager.c
1974           src/dhcp-manager/nm-dhcp-manager.h
1975                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1976                         filter server-returned DHCP options into an NMDHCP4Config object
1977
1978 2008-07-16  Dan Williams  <dcbw@redhat.com>
1979
1980         * introspection/nm-device.xml
1981                 - Add device state reasons
1982
1983 2008-07-16  Dan Williams  <dcbw@redhat.com>
1984
1985         Patch from Roy Marples <roy@marples.name>
1986
1987         * configure.in
1988                 - Add --with-dhcp-client option
1989
1990         * src/dhcp-manager/Makefile.am
1991                 - pass DHCP_CLIENT_PATH on compile line
1992
1993         * src/dhcp-manager/nm-dhcp-manager.c
1994           src/dhcp-manager/nm-dhcp-manager.h
1995                 - Genericize for both dhcpcd and dhclient
1996
1997         * src/dhcp-manager/nm-dhcp-dhclient.c
1998                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1999
2000         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2001                 - Implement support for dhcpcd too
2002
2003 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2004
2005         * system-settings/src/nm-system-config-interface.c 
2006         (nm_system_config_interface_supports_add): Implement.
2007         (nm_system_config_interface_add_connection): Return a boolean to notify
2008         of errors.
2009
2010         * system-settings/src/nm-polkit-helpers.c: 
2011         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2012         a separate file.
2013
2014         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2015         Return an error when none of the plugins support add or if addition
2016         failed for some reason.
2017
2018         * system-settings/src/nm-system-config-error.h: 
2019         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2020         here from nm-polkit-helpers.[ch].
2021
2022         * system-settings/src/Makefile.am: Build new files.
2023
2024         * system-settings/plugins/keyfile/reader.c 
2025         (read_array_of_array_of_uint): Make it more general so that it would
2026         work for routes as well.
2027
2028         * system-settings/plugins/keyfile/writer.c
2029         (write_array_of_array_of_uint): Ditto.
2030         Fix the netmask/prefix writing.
2031
2032         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2033         boolean to notify errors.
2034
2035         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2036         Return more specific error.
2037         (delete): Ditto.
2038
2039 2008-07-11  Dan Williams  <dcbw@redhat.com>
2040
2041         Modify the NMDevice::state-changed signal to include the previous state
2042         and reason. Enables the applet to provide more information why device
2043         activation failed.
2044
2045 2008-07-09  Dan Williams  <dcbw@redhat.com>
2046
2047         * callouts/Makefile.am
2048           callouts/nm-avahi-autoipd-action.c
2049           callouts/nm-avahi-autoipd.conf
2050                 - avahi-autoipd callout to send options back to NM
2051
2052         * src/autoip.c
2053           src/autoip.h
2054                 - remove
2055
2056         * src/nm-device.c
2057           src/nm-device-private.h
2058           src/nm-manager.c
2059                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2060                         old custom stuff
2061
2062 2008-07-07  Dan Williams  <dcbw@redhat.com>
2063
2064         * system-settings/plugins/ifcfg-fedora/reader.c
2065                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2066                         handle PREFIX too; clean up
2067
2068 2008-07-07  Dan Williams  <dcbw@redhat.com>
2069
2070         Convert to using IPv4 prefixes instead of netmasks.
2071
2072 2008-07-03  Dan Williams  <dcbw@redhat.com>
2073
2074         * libnm-util/nm-setting-ip4-config.c
2075           libnm-util/nm-setting-ip4-config.h
2076                 - Add properties for DHCP Client Identifier and DHCP Hostname
2077
2078         * src/dhcp-manager/nm-dhcp-manager.c
2079           src/dhcp-manager/nm-dhcp-manager.h
2080                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2081                         setting as an argument to pass on to the dhclient config file
2082                         creation function
2083                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2084                         DHCP is torn down
2085                 - (dhclient_run): punt config file handling to create_dhclient_config()
2086                 - (create_dhclient_config): create an interface-specific dhclient
2087                         config file since there may need to be interface-specific options
2088                         passed to dhclient
2089                 - (merge_dhclient_config): merge normal distro dhclient config file and
2090                         add options from the connection
2091                 - (nm_dhcp_device_new): generate the interface specific dhclient
2092                         config file path once
2093                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2094                         dhclient config file path
2095
2096         * src/nm-device.c
2097                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2098                         DHCP manager when starting DHCP
2099
2100 2008-07-02  Dan Williams  <dcbw@redhat.com>
2101
2102         * libnm-util/nm-setting-8021x.c
2103                 - (verify): allow forcing the PEAP label to 0
2104
2105 2008-07-02  Dan Williams  <dcbw@redhat.com>
2106
2107         * introspection/nm-active-connection.xml
2108           introspection/nm-vpn-connection.xml
2109           libnm-glib/nm-active-connection.c
2110           src/nm-activation-request.c
2111           src/nm-active-connection.h
2112           src/vpn-manager/nm-vpn-connection.c
2113                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2114                         and libnm-glib API since sharing didn't get implemented that way
2115
2116 2008-07-02  Dan Williams  <dcbw@redhat.com>
2117
2118         * src/nm-device-wifi.c
2119                 - (can_scan): don't scan when a shared connection is activated since
2120                         that makes drivers mad (causing disconnects); also NM doesn't need
2121                         to hedge against disconnects by keeping up-to-date network topology
2122                         because the connection originates from the local machine, and thus
2123                         there should be no disconnects
2124
2125 2008-07-01  Dan Williams  <dcbw@redhat.com>
2126
2127         Fix mobile broadband username/password issues.  NM was never requesting
2128         mobile broadband secrets, nor was it passing back the username and password
2129         if it had them.
2130
2131         * marshallers/nm-marshal.list
2132                 - Add some new types for activation request objects
2133
2134         * src/nm-activation-request.c
2135           src/nm-activation-request.h
2136                 - (get_secrets_cb): pass the caller type in the signal
2137                 - (nm_act_request_request_connection_secrets): take a caller type, so
2138                         that GetSecrets() reply handlers know who asked for the secrets in
2139                         the first place; use secret hints too so the settings service can
2140                         figure out exactly what NM wants (ie, PIN or the PPP password)
2141
2142         * src/ppp-manager/nm-ppp-manager.c
2143           src/ppp-manager/nm-ppp-manager.h
2144                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2145                         detect needed secrets when the secret could be blank, like GSM/CDMA
2146                         passwords.  So always ask for secrets, and send a hint as to what
2147                         secret we really want.
2148                 - (nm_ppp_manager_update_secrets): make function more generic by making
2149                         the device specific class figure out the username and password, and
2150                         accept an error argument to return back over D-Bus
2151
2152         * src/nm-device-wifi.c
2153                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2154                         nm_act_request_request_connection_secrets()
2155                 - (real_connection_secrets_updated): update for 'caller' changes
2156
2157         * src/nm-device.c
2158           src/nm-device.h
2159                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2160                         for 'caller' changes
2161
2162         * src/nm-device-ethernet.c
2163                 - (real_connection_secrets_updated): update for 'caller' changes and
2164                         move logic for getting PPPoE username and password here before
2165                         calling nm_ppp_manager_update_secrets()
2166                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2167                         nm_act_request_request_connection_secrets()
2168
2169         * src/nm-cdma-device.c
2170                 - (real_connection_secrets_updated): pass username and password back
2171                         to the PPP manager when required
2172
2173         * src/nm-gsm-device.c
2174                 - (enter_pin): send the required secret name to the settings service
2175                 - (real_connection_secrets_updated): pass username and password back
2176                         to the PPP manager when required
2177
2178 2008-06-30  Dan Williams  <dcbw@redhat.com>
2179
2180         * src/nm-device-wifi.c
2181                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2182
2183 2008-06-30  Dan Williams  <dcbw@redhat.com>
2184
2185         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2186         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2187         priv->supplicant.iface.  When either condition is false, the device should
2188         transition back to UNAVAILABLE because it cannot be used.
2189
2190         * src/nm-device-wifi.c
2191                 - (constructor): cleanup; connect to supplicant manager here since the
2192                         supplicant manager is always around
2193                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2194                         ensure the supplicant manager is in the IDLE state
2195                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2196                         cancel any pending scans too
2197                 - (real_bring_up): don't set up the supplicnat interface here, because
2198                         we need the supplicant interface at times when the device may not
2199                         be "up"
2200                 - (real_take_down): just remove the periodic source
2201                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2202                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2203                         do anything if there's no supplicant interface
2204                 - (cleanup_association_attempt): cleanup
2205                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2206                         the interface enters the READY state; transition to UNAVAILABLE
2207                         state when the interface goes down because the device can't be used
2208                         without a supplicant interface
2209                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2210                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2211                         acquire the supplicant interface and transition to DISCONNECTED
2212                         if the radio isn't killed
2213                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2214                 - (state_changed_cb): release any existing supplicant interface; if the
2215                         radio is enabled then try to acquire a new supplicant interface;
2216                         if the radio is enabled and a supplicant interface has been acquired,
2217                         we can transition to DISCONNECTED
2218                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2219                         don't enable the radio, because HAL probably lied to us about the
2220                         killswitch being off.  If bringing the hardware up worked, then
2221                         try to grab a supplicant interface, and if that was successful,
2222                         transition to DISCONNECTED
2223
2224 2008-06-30  Dan Williams  <dcbw@redhat.com>
2225
2226         * src/supplicant-manager/nm-supplicant-interface.c
2227                 - (request_scan_results, nm_supplicant_interface_dispose,
2228                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2229                         the id of the timeout, not a GSource
2230
2231 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2232
2233         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2234         bunch of typoes introduced by "Patch from David Cantrell 
2235         <dcantrell@redhat.com> and me".
2236
2237 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2238
2239         * src/nm-serial-device.c: 
2240         * src/nm-gsm-device.c: 
2241         * src/nm-cdma-device.c: Move the pending call handling to a common location
2242         in serial device. Handle setting device state to failed in one place as well.
2243
2244 2008-06-29  Dan Williams <dcbw@redhat.com>
2245
2246         * src/nm-hal-manager.c
2247                 - Rework killswitch handling to query killswitch status immediately
2248                         when the first killswitch is added, so that rfkill state is
2249                         known as early as possible
2250                 - Also treat failure of GetPower() as rfkill when the dbus method
2251                         call times out (but not when the HAL callout returns an error)
2252
2253 2008-06-26  Dan Williams <dcbw@redhat.com>
2254
2255         Patch from David Cantrell <dcantrell@redhat.com> and me
2256
2257         * include/nm-dbus-glib-types.h
2258                 - Add IP6 address types
2259
2260         * libnm-util/Makefile.am
2261           libnm-util/nm-setting-ip6-config.c
2262           libnm-util/nm-setting-ip6-config.h
2263                 - Add IP6 settings object
2264
2265         * libnm-util/nm-connection.c
2266                 - (register_default_settings): register ip6 settings object
2267
2268         * libnm-util/nm-utils.c
2269           libnm-util/nm-utils.h
2270                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2271                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2272                         ip6 address conversion functions
2273         
2274 2008-06-26  Dan Williams <dcbw@redhat.com>
2275
2276         Patch from David Cantrell <dcantrell@redhat.com>
2277         
2278         * Use inet_ntop() and inet_pton() everwhere and check for errors
2279
2280 2008-06-26  Dan Williams <dcbw@redhat.com>
2281
2282         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2283
2284 2008-06-26  Dan Williams <dcbw@redhat.com>
2285
2286         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2287
2288         * src/nm-device-wifi.c
2289                 - (link_timeout_cb): don't ignore disconnects due to scanning
2290                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2291                         a longer timeout when scanning; avoids case where supplicant can't
2292                         find the AP and just keeps scanning forever but isn't connected
2293
2294 2008-06-26  Dan Williams <dcbw@redhat.com>
2295
2296         Patch from Michael Biebl <biebl@debian.org>
2297
2298         * Clean up build system stuff
2299
2300 2008-06-23  Christian Persch  <chpe@gnome.org>
2301
2302         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2303         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2304         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2305         (impl_get_object):
2306         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2307         (impl_get_object):
2308         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2309         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2310         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2311         (impl_get_object):
2312         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2313         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2314         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2315         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2316         * vpn-daemons/pptp/properties/vpnui_opt.c:
2317         (vpnui_opt_connect_signals):
2318         * vpn-daemons/pptp/properties/vpnui_opt.h:
2319         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2320         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2321         deprecated gtk type macros. Bug #539325.
2322
2323 2008-06-20  Dan Williams  <dcbw@redhat.com>
2324
2325         * libnm-glib/nm-vpn-plugin-ui-interface.c
2326           libnm-glib/nm-vpn-plugin-ui-interface.h
2327                 - 'validity-changed' -> 'changed' to work better with the connection
2328                         editor.  Plugin UI widgets should emit 'changed' whenever their
2329                         UI values change in a meaningful way.
2330                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2331                         update_connection member now returns validity of the UI widget
2332
2333 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2334
2335         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2336
2337 2008-06-17  Dan Williams  <dcbw@redhat.com>
2338
2339         * libnm-glib/nm-vpn-plugin-ui-interface.c
2340           libnm-glib/nm-vpn-plugin-ui-interface.h
2341                 - Add "desc" property for longer descriptions of the VPN plugin
2342
2343 2008-06-16  Dan Williams  <dcbw@redhat.com>
2344
2345         * configure.in
2346           libnm-glib/libnm_glib_vpn.pc.in
2347                 - add a .pc file for libnm_glib_vpn
2348
2349         * libnm-glib/nm-vpn-plugin-ui-interface.c
2350           libnm-glib/nm-vpn-plugin-ui-interface.h
2351                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2352                         rework it substantially
2353
2354 2008-06-12  Dan Williams  <dcbw@redhat.com>
2355
2356         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2357         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2358         returns a descriptive GError when verification fails.
2359
2360 2008-06-11  Dan Williams  <dcbw@redhat.com>
2361
2362         Patch from Tambet Ingo <tambet@gmail.com>
2363
2364         * libnm-util/nm-setting-gsm.c
2365                 - (verify): validate APN
2366
2367         * src/nm-gsm-device.c
2368                 - (manual_registration_done): start setting APN if needed
2369                 - (set_apn, set_apn_done): set the APN
2370                 - (do_dial): use the APN when dialing
2371
2372 2008-06-11  Dan Williams  <dcbw@redhat.com>
2373
2374         * src/NetworkManagerSystem.c
2375                 - (nm_system_device_set_ip4_route,
2376                    nm_system_device_replace_default_ip4_route): check for the right
2377                         return value from rtnl_route_add() to know when to add a gateway
2378                         route (from Tambet)
2379
2380 2008-06-11  Dan Williams  <dcbw@redhat.com>
2381
2382         * src/NetworkManagerPolicy.c
2383                 - do_ipt_cmd -> do_cmd
2384                 - (sharing_init): use do_cmd() instead of system()
2385
2386 2008-06-10  Dan Williams  <dcbw@redhat.com>
2387
2388         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2389         and use "wifi" everwhere instead.
2390
2391 2008-06-10  Dan Williams  <dcbw@redhat.com>
2392
2393         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2394
2395 2008-06-10  Dan Williams  <dcbw@redhat.com>
2396
2397         Patch from Tambet Ingo <tambet@gmail.com>
2398
2399         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2400                 changes.
2401
2402         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2403                 a signal to emit these changes over dbus.
2404
2405         * src/Makefile.am: Genereate nm-serial-device-glue.
2406
2407         * libnm-glib/nm-serial-device.[ch]: Implement.
2408
2409         * libnm-glib/nm-cdma-device.[ch]
2410           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2411
2412         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2413
2414         * introspection/nm-device-serial.xml: Implement.
2415
2416         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2417
2418         * introspection/Makefile.am: Add nm-device-serial.xml.
2419
2420         * include/NetworkManager.h: Add a DBus interface for serial device.
2421
2422 2008-06-10  Dan Williams  <dcbw@redhat.com>
2423
2424         * configure.in
2425                 - Add TARGET_* define to config.h to distinguish distros
2426
2427         * src/dhcp-manager/nm-dhcp-manager.c
2428                 - (dhclient_run): use distro-specific path for dhclient config file
2429
2430 2008-06-09  Dan Williams  <dcbw@redhat.com>
2431
2432         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2433           src/dnsmasq-manager/nm-dnsmasq-manager.h
2434                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2435                         calculate the addresses passed to dnsmasq instead of hard-coding
2436                         them
2437
2438         * src/nm-device.c
2439                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2440                         IP addresses for shared connections to guard against shared
2441                         connection address collisions
2442                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2443                         error conditions
2444                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2445                         the dnsmasq manager
2446
2447 2008-06-09  Dan Williams  <dcbw@redhat.com>
2448
2449         * src/NetworkManagerPolicy.c
2450                 - (update_routing_and_dns): set the default connection _after_ unsetting
2451                         default on all non-default connections so that two connections can
2452                         never be default at the same time
2453                 - (device_state_changed): start and stop connection sharing when
2454                         needed
2455                 - (active_connection_default_changed): restart or stop sharing when
2456                         the default connection changes to keep shared connections always
2457                         NAT-ed through the default connection
2458                 - (check_sharing): handle activation/deactivation of shared connections
2459                 - (sharing_restart): atom-bomb approach to connection sharing until we
2460                         can use libnl; reinit all sharing when the default connection or
2461                         shared connections change
2462                 - (sharing_init, sharing_stop): evil functions that init and deinit
2463                         iptables
2464
2465 2008-06-09  Dan Williams  <dcbw@redhat.com>
2466
2467         * src/nm-activation-request.c
2468           src/nm-activation-request.h
2469                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2470                    nm_act_request_get_device): new functions to facilitate connection
2471                         sharing
2472
2473 2008-06-09  Dan Williams  <dcbw@redhat.com>
2474
2475         * src/nm-device.c
2476                 - (clear_act_request): unset the 'default' property of the activation
2477                         request when clearing it to ensure the property changed signal gets
2478                         delivered and handled
2479
2480 2008-06-09  Dan Williams  <dcbw@redhat.com>
2481
2482         * libnm-glib/nm-device-802-11-wireless.c
2483                 - (access_point_removed_proxy): actually unref the AP after removing
2484                         it from the device's AP list.  Fixes refcounting bug for APs that
2485                         caused them to get mixed up in the applet's menu.
2486
2487 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2488
2489         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2490         (nm_dhcp_device_destroy): Destroy the device options hash table.
2491
2492 2008-06-06  Dan Williams <dcbw@redhat.com>
2493
2494         * system-settings/src/nm-polkit-helpers.c
2495                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2496                         unref the context if the initialization fails; also avoid spew when
2497                         the error isn't set
2498
2499 2008-06-06  Dan Williams <dcbw@redhat.com>
2500
2501         Patch from Tambet Ingo  <tambet@gmail.com>
2502
2503         * src/NetworkManagerSystem.c
2504           src/NetworkManagerSystem.h
2505                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2506                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2507                 - (nm_system_device_set_ip4_route): clean up
2508                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2509
2510         * src/nm-device.c
2511                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2512
2513         * src/vpn-manager/nm-vpn-connection.c
2514                 - (ip_address_to_string): new function
2515                 - (print_vpn_config): use ip_address_to_string
2516                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2517                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2518
2519         * include/NetworkManagerVPN.h
2520                 - Add 'routes' key
2521
2522 2008-06-05  Dan Williams <dcbw@redhat.com>
2523
2524         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2525
2526         * test/nm-tool.c
2527                 - Show which device is the default device
2528
2529 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2530
2531         Fix memory leaks.
2532
2533         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2534         Free data returned from dbus method call.
2535
2536         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2537         dbus_g_method_get_sender() returns a duplicated string, free it 
2538         when done.
2539         (check_polkit_privileges): Looks like policykit sometimes returns
2540         error and non-null return value, don't leak errors in that case.
2541
2542         * system-settings/src/main.c (find_plugin): Don't leak existing 
2543         plugin names.
2544         (load_stuff): Don't leak device list and list items.
2545         (have_connection_for_device): Don't leak connection list.
2546
2547         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2548         Free the data received from g_keyfile_get_*.
2549
2550         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2551         the key when the security object is updated.
2552
2553         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2554         Free data returned from dbus method call.
2555         (iface_state_cb): Ditto.
2556         (add_network_cb): Ditto.
2557         (nm_supplicant_interface_add_cb): Don't make another copy of already
2558         duplicated object path.
2559         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2560         when done.
2561
2562         * src/supplicant-manager/nm-supplicant-config.c 
2563         (ADD_STRING_LIST_VAL): Fix a memory leak.
2564
2565         * src/nm-manager.c (free_get_settings_info): Free the allocated
2566         memory slice.
2567         (list_connections_cb): Free data returned from dbus method call.
2568         (system_settings_get_unmanaged_devices_cb): Ditto.
2569
2570         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2571
2572         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2573         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2574         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2575         of the GList.
2576
2577         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2578         arguments after the object is created.
2579
2580 2008-06-04  Dan Williams <dcbw@redhat.com>
2581
2582         * libnm-util/Makefile.am
2583                 - Don't distribute nm-param-spec-specialized.h
2584
2585 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2586
2587         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2588
2589         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2590         NMIP4Address, update the getters and setters.
2591
2592         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2593         Use the updated NMIP4Config routes api.
2594
2595         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2596         static routes as well.
2597
2598         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2599         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2600         routes api.
2601
2602 2008-05-30  Dan Williams <dcbw@redhat.com>
2603
2604         * src/named-manager/nm-named-manager.c
2605           src/named-manager/nm-named-manager.h
2606                 - Remove stale/obsolete bits for controlling bind over DBus
2607
2608 2008-05-29  Dan Williams <dcbw@redhat.com>
2609
2610         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2611           src/dnsmasq-manager/nm-dnsmasq-manager.h
2612                 - (nm_dnsmasq_manager_new): move iface argument here
2613                 - (constructor): remove, not needed
2614                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2615                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2616
2617         * src/nm-device.c
2618                 - (real_act_stage4_get_ip4_config,
2619                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2620                         changes
2621
2622 2008-05-29  Dan Williams <dcbw@redhat.com>
2623
2624         * src/nm-device.c
2625                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2626                         something happens to dnsmasq
2627                 - (nm_device_new_ip4_shared_config): new function; create a new
2628                         ip4-config for shared connections.  Shared connections always use a
2629                         fixed static IP address.
2630                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2631                         autoip connections by actually using the returned ip4-config and
2632                         not leaking it
2633                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2634                         connections
2635                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2636                         if its active
2637
2638 2008-05-29  Dan Williams <dcbw@redhat.com>
2639
2640         * src/nm-device-802-11-wireless.c
2641                 - (real_get_best_auto_connection): auto-activate 'shared' method
2642                         connections too
2643
2644 2008-05-29  Dan Williams <dcbw@redhat.com>
2645
2646         * libnm-util/nm-setting-ip4-config.c
2647           libnm-util/nm-setting-ip4-config.h
2648                 - Add a 'shared' method to indicate that this connection should be
2649                         brought up with a DHCP and proxy DNS server to facilitate
2650                         connection sharing.
2651                 - (verify): 'shared' method doesn't allow DNS or searches either
2652
2653 2008-05-29  Dan Williams <dcbw@redhat.com>
2654
2655         * configure.in
2656           src/Makefile.am
2657           src/dnsmasq-manager/Makefile.am
2658           src/dnsmasq-manager/nm-dnsmasq-manager.c
2659           src/dnsmasq-manager/nm-dnsmasq-manager.h
2660                 - Add a dnsmasq daemon manager to facilitate connection sharing
2661
2662 2008-05-29  Dan Williams <dcbw@redhat.com>
2663
2664         * src/nm-device-private.h
2665                 - Remove unused prototypes and clean up
2666
2667         * src/nm-device.c
2668                 - Remove anything related to system_config_data, which is no longer used
2669                 - (nm_device_new_ip4_autoip_config): make static
2670
2671 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2672
2673         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2674         (file_changed): Fix a bug where suse system settings plugin didn't
2675         update the connections automatically when the files changed.
2676
2677 2008-05-28  Dan Williams  <dcbw@redhat.com>
2678
2679         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2680
2681 2008-05-28  Dan Williams  <dcbw@redhat.com>
2682
2683         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2684
2685         * src/NetworkManagerSystem.c
2686                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2687                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2688                         was causing -EINVAL errors since the libnl code actually does flush
2689                         the routes on VPN interfaces now
2690
2691         * src/backends/NetworkManagerArch.c
2692           src/backends/NetworkManagerDebian.c
2693           src/backends/NetworkManagerFrugalware.c
2694           src/backends/NetworkManagerGeneric.c
2695           src/backends/NetworkManagerGentoo.c
2696           src/backends/NetworkManagerMandriva.c
2697           src/backends/NetworkManagerPaldo.c
2698           src/backends/NetworkManagerRedHat.c
2699           src/backends/NetworkManagerSlackware.c
2700           src/backends/NetworkManagerSuSE.c
2701                 - (nm_system_device_flush_ip4_routes,
2702                    nm_system_device_flush_ip4_routes_with_iface): remove
2703
2704 2008-05-28  Dan Williams  <dcbw@redhat.com>
2705
2706         * libnm-util/nm-setting-wireless.c
2707           libnm-util/nm-setting-wireless.h
2708                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2709                         'adhoc-create' property, which when TRUE indicates that NM should
2710                         create this connection as an adhoc wifi network if it's not found
2711                         as an adhoc network during scanning.  Can be used to auto-create
2712                         adhoc networks when used in combination with autoconnect.
2713
2714 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2715
2716         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2717
2718         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2719         checked, it doesn't work on some devices.
2720
2721 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2722
2723         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2724         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2725
2726         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2727         Use inet_aton() everywhere to improve error detection.
2728         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2729         provided.
2730
2731 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2732
2733         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2734         Fix a typo.
2735
2736 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2737
2738         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2739         reference counting issue.
2740
2741 2008-05-23  Dan Williams  <dcbw@redhat.com>
2742
2743         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2744
2745         * src/backends/NetworkManagerGeneric.c
2746                 - (nm_generic_enable_loopback): use libnl
2747
2748 2008-05-23  Dan Williams  <dcbw@redhat.com>
2749
2750         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2751
2752         * src/NetworkManagerSystem.h
2753           src/backends/NetworkManagerArch.c
2754           src/backends/NetworkManagerDebian.c
2755           src/backends/NetworkManagerFrugalware.c
2756           src/backends/NetworkManagerGentoo.c
2757           src/backends/NetworkManagerMandriva.c
2758           src/backends/NetworkManagerPaldo.c
2759           src/backends/NetworkManagerRedHat.c
2760           src/backends/NetworkManagerSlackware.c
2761           src/backends/NetworkManagerSuSE.c
2762                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2763                    nm_system_flush_arp_cache): remove, unused
2764
2765         * src/backends/NetworkManagerGeneric.c
2766           src/backends/NetworkManagerGeneric.h
2767                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2768                    nm_generic_flush_arp_cache): remove, unused
2769
2770 2008-05-23  Dan Williams  <dcbw@redhat.com>
2771
2772         * system-settings/plugins/ifcfg-fedora/reader.c
2773                 - (make_ip4_setting): honor PEERDNS setting
2774
2775 2008-05-23  Dan Williams  <dcbw@redhat.com>
2776
2777         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2778
2779         * src/NetworkManagerSystem.c
2780                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2781                         libnl
2782
2783         * src/backends/NetworkManagerArch.c
2784           src/backends/NetworkManagerDebian.c
2785           src/backends/NetworkManagerFrugalware.c
2786           src/backends/NetworkManagerGentoo.c
2787           src/backends/NetworkManagerMandriva.c
2788           src/backends/NetworkManagerPaldo.c
2789           src/backends/NetworkManagerRedHat.c
2790           src/backends/NetworkManagerSlackware.c
2791           src/backends/NetworkManagerSuSE.c
2792                 - (nm_system_device_flush_ip4_addresses,
2793                    nm_system_device_flush_ip4_addresses_with_iface): remove
2794
2795         * src/backends/NetworkManagerGeneric.c
2796                 - (nm_generic_device_flush_ip4_addresses,
2797                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2798
2799 2008-05-23  Dan Williams  <dcbw@redhat.com>
2800
2801         * src/supplicant-manager/nm-supplicant-settings-verify.c
2802                 - Switch 'bssid' from bytes to keyword type
2803                 - (validate_type_keyword): allow NULL keyword lists
2804
2805         * src/supplicant-manager/nm-supplicant-config.c
2806                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2807                         a byte array to string form, which is what the supplicant expects
2808
2809 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2810
2811         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2812         information received from DHCP.
2813
2814         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2815         to make it possible to ignore the DNS information (both servers and 
2816         searches) returned by DHCP server.
2817
2818         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2819         name servers and searches if "ignore_dhcp_dns" is set.
2820
2821         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2822         (nm_ip4_config_reset_searches): Implement.
2823
2824 2008-05-22  Dan Williams  <dcbw@redhat.com>
2825
2826         Remove anything mDNS related.  This is better done from a distro-specific
2827         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2828         avahi, since avahi can handle interface changes just fine using netlink.
2829
2830         * configure.in
2831                 - Remove --with-mdns-provider
2832
2833         * src/NetworkManagerPolicy.c
2834                 - (global_state_changed): don't restart the mdns provider
2835
2836         * src/NetworkManagerSystem.h
2837           src/backends/NetworkManagerArch.c
2838           src/backends/NetworkManagerDebian.c
2839           src/backends/NetworkManagerFrugalware.c
2840           src/backends/NetworkManagerGentoo.c
2841           src/backends/NetworkManagerMandriva.c
2842           src/backends/NetworkManagerPaldo.c
2843           src/backends/NetworkManagerRedHat.c
2844           src/backends/NetworkManagerSlackware.c
2845           src/backends/NetworkManagerSuSE.c
2846                 - (nm_system_restart_mdns_responder): remove
2847
2848         * src/backends/NetworkManagerGeneric.c
2849           src/backends/NetworkManagerGeneric.h
2850                 - (nm_generic_restart_mdns_responder): remove
2851
2852 2008-05-22  Dan Williams  <dcbw@redhat.com>
2853
2854         * configure.in
2855                 - clean up crypto options; just use --with-crypto=nss or
2856                         --with-crypto=gnutls
2857
2858 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2859
2860         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2861         anymore, do it right away.
2862
2863 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2864
2865         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2866         serial device open when we're not connecting or connected.
2867
2868         * src/nm-cdma-device.c (device_state_changed): Ditto.
2869
2870 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2871
2872         Don't remove all devices on waking up, sync with HAL.
2873
2874         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2875         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2876         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2877
2878 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2879
2880         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2881         If the default gateway is unreachable, add a route to gateway and try
2882         again.
2883
2884 2008-05-20  Dan Williams  <dcbw@redhat.com>
2885
2886         * system-settings/plugins/ifcfg-fedora/reader.c
2887                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2888
2889 2008-05-19  Dan Williams  <dcbw@redhat.com>
2890
2891         * system-settings/plugins/ifcfg-fedora/reader.c
2892                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2893                         if the ifcfg doesn't specify one (rh #446527)
2894
2895 2008-05-19  Dan Williams  <dcbw@redhat.com>
2896
2897         Make the system settings service exit when the bus goes away.  Since it's
2898         a bus-activated service, it's lifetime is limited to the bus that activated
2899         it (rh #444976).
2900
2901         * system-settings/src/Makefile.am
2902           system-settings/src/nm-system-config-hal-manager-private.h
2903                 - Remove nm-system-config-hal-manager-private.h
2904
2905         * system-settings/src/nm-system-config-hal-manager.c
2906                 - (nm_system_config_hal_manager_reinit_dbus,
2907                    nm_system_config_hal_manager_deinit_dbus): remove
2908
2909         * system-settings/src/main.c
2910                 - (dbus_reconnect): remove
2911                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2912                 - (destroy_cb): just quit when the bus goes away
2913                 - (start_dbus_service, dbus_init): simplify
2914                 - (main): destroy the wired devices hash table after destroying
2915                         the HAL manager so we don't have to disconnect signals from the
2916                         HAL manager
2917
2918 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2919
2920         Move crypto functions from nm-applet to libnm-util.
2921
2922         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2923         (nm_setting_802_1x_set_client_cert)
2924         (nm_setting_802_1x_set_phase2_ca_cert)
2925         (nm_setting_802_1x_set_phase2_client_cert)
2926         (nm_setting_802_1x_set_private_key)
2927         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2928         file (or private key and it's password), read the certificate data.
2929
2930         * libnm-util/crypto_nss.c: 
2931         * libnm-util/crypto_gnutls.c: 
2932         * libnm-util/crypto.[ch]: Move here from nm-applet.
2933
2934         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2935
2936         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2937         Imlement WPA-EAP configuration reading from sysconfig.
2938
2939 2008-05-16  Dan Williams  <dcbw@redhat.com>
2940
2941         * src/nm-device-802-11-wireless.c
2942                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2943                         wireless
2944
2945 2008-05-14  Dan Williams  <dcbw@redhat.com>
2946
2947         Fix Linus' bug in rh #134886
2948
2949         * src/nm-device-802-3-ethernet.c
2950                 - (constructor): request initial carrier state
2951
2952         * src/nm-netlink-monitor.c
2953                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2954                         signals after refilling the link cache.  Because the refill is a 
2955                         synchronous operation, the normal message hander won't get called
2956                         since libnl has already consumed the messages.
2957                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2958
2959 2008-05-14  Dan Williams  <dcbw@redhat.com>
2960
2961         * src/NetworkManagerSystem.c
2962                 - (nm_system_device_is_up_with_iface): clean up
2963
2964 2008-05-13  Dan Williams  <dcbw@redhat.com>
2965
2966         Fix refcounting issues over sleep/wake when a VPN connection was active that
2967         caused NM to try registering an object path for a device upon wake that was
2968         the same as an already registered object path.
2969
2970         * src/nm-device.c
2971                 - (nm_device_take_down): properly handle cases where the device is
2972                         no longer active but was just active, and therefore must be
2973                         deactivated.  When a device moves to unmanaged mode, this function
2974                         previously would not deactivate the device, because the state was
2975                         already unmanaged by the time this function was called.
2976
2977         * src/vpn-manager/nm-vpn-connection.c
2978                 - (device_state_changed): properly handle multiple devices states in
2979                         which the device is now deactivated.  Code previously didn't handle
2980                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2981                         UNMANAGED states.
2982
2983 2008-05-13  Dan Williams  <dcbw@redhat.com>
2984
2985         * src/nm-device-private.h
2986           src/nm-device.c
2987                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2988
2989         * src/nm-device-802-11-wireless.c
2990                 - (nm_device_802_11_wireless_set_enabled): take devices up
2991                         and down as appropriate for the rfkill state
2992
2993 2008-05-13  Dan Williams  <dcbw@redhat.com>
2994
2995         * marshallers/nm-marshal.list
2996                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2997
2998         * system-settings/plugins/ifcfg-fedora/Makefile.am
2999           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3000           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3001                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3002                         events.  Solely for use watching ifcfg files to pick up changes
3003                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3004
3005         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3006                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3007                         file contents change
3008                 - (finalize): clean up inotify watches
3009                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3010                         and the connection ifcfg for changes on their hardlinks
3011                 - (files_changed_cb): proxy the changed signal back out to listeners
3012
3013         * system-settings/plugins/ifcfg-fedora/plugin.c
3014                 - (dir_changed): 
3015                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3016                         changes
3017                 - (read_one_connection): connect to change signals on the new connection
3018                 - (dir_changed, connection_changed_handler,
3019                    handle_connection_remove_or_new): break out connection change
3020                         handling and connection new/remove handling so it can be used from
3021                         both the GFileMonitor callback and the NMIfcfgConnection changed
3022                         signals
3023
3024         * system-settings/plugins/ifcfg-fedora/reader.c
3025           system-settings/plugins/ifcfg-fedora/reader.h
3026                 - (connection_from_file): return the keyfile path the connection would use
3027
3028 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3029
3030         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3031         single PolKitContext which is shared by all. PolKitContext::unref leaks
3032         just about everything, including all open file descriptiors and results
3033         in 99% cpu usage when data arrives to any of the fds that don't belong
3034         to any context anymore.
3035
3036 2008-05-12  Dan Williams  <dcbw@redhat.com>
3037
3038         * gfilemonitor/glocaldirectorymonitor.c
3039           gfilemonitor/glocaldirectorymonitor.h
3040                 - (g_local_directory_monitor_constructor): actually subscribe to the
3041                         watch
3042                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3043
3044         * gfilemonitor/glocalfilemonitor.c
3045           gfilemonitor/glocalfilemonitor.h
3046                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3047                 - (_g_local_file_monitor_new): ensure that inotify is started up
3048
3049 2008-05-11  Dan Williams  <dcbw@redhat.com>
3050
3051         * configure.in
3052                 - record PolicyKit version
3053
3054         * system-settings/src/nm-polkit-helpers.c
3055                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3056                         with PolicyKit <= 0.6
3057
3058 2008-05-11  Dan Williams  <dcbw@redhat.com>
3059
3060         Update Fedora system-settings plugin to support latest API and use
3061         GFileMonitor rather than home-rolled inotify code.
3062
3063         * system-settings/plugins/ifcfg-fedora/Makefile.am
3064           system-settings/plugins/ifcfg-fedora/common.h
3065           system-settings/plugins/ifcfg-fedora/plugin.c
3066                 - Update to latest system settings plugin API; use GIO instead of
3067                         custom inotify code; use NMIfcfgConnection objects instead of
3068                         ConnectionData structures tacked onto NMConnection objects
3069
3070         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3071           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3072                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3073                         connections
3074
3075         * system-settings/plugins/ifcfg-fedora/reader.c
3076           system-settings/plugins/ifcfg-fedora/reader.h
3077                 - Move ifcfg parsing bits here from parser.c
3078
3079         * system-settings/plugins/ifcfg-fedora/parser.c
3080           system-settings/plugins/ifcfg-fedora/parser.h
3081                 - Remove; most code moved to reader.c
3082
3083 2008-05-11  Dan Williams  <dcbw@redhat.com>
3084
3085         * configure.in
3086           Makefile.am
3087           gfilemonitor/*
3088                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3089                         implementation, so that the same change monitoring code can be used
3090                         on systems without glib-2.14 (like Fedora 8)
3091
3092         * system-settings/plugins/keyfile/Makefile.am
3093           system-settings/plugins/keyfile/plugin.c
3094           system-settings/plugins/ifcfg-suse/Makefile.am
3095           system-settings/plugins/ifcfg-suse/plugin.c
3096                 - Use private gfilemonitor code if GIO is not present
3097
3098 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3099
3100         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3101         NMExportedConnection's 'update' and 'delete' and return error with
3102         descriptive message.
3103
3104 2008-05-08  Dan Williams  <dcbw@redhat.com>
3105
3106         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3107
3108         * src/nm-gsm-device.c
3109           src/nm-cdma-device.c
3110                 - (real_get_best_auto_connection): implement; allow autoconnection
3111                         to GSM & CDMA devices
3112
3113 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3114
3115         Use PolicyKit to authorize the system settings' AddConnection method
3116         and the system settings connections' Update and Delete methods.
3117         
3118         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3119         (impl_exported_connection_delete, nm_exported_connection_update)
3120         (nm_exported_connection_delete): Return boolean and fill GError
3121         to notify the callers of the reasons why it might have failed.
3122
3123         * libnm-glib/nm-dbus-settings-system.c
3124         (nm_dbus_settings_system_add_connection): Return the error from dbus
3125         call so that the callers can see why it failed.
3126
3127         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3128         signatures.
3129
3130         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3131
3132         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3133         abstract base class that checks PolicyKit permissions.
3134
3135         * system-settings/src/dbus-settings.c:
3136         (impl_settings_add_connection): Check the policy before carring out
3137         the request.
3138
3139         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3140         Inherit from NMSysconfigConnection, check the policies before
3141         allowing updating or removing.
3142
3143         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3144         Inherit from NMSysconfigConnection.
3145
3146         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3147         "Delete" methods with async flag so that the implementations can get
3148         access to DBusGMethodInvocation.
3149
3150         * system-settings/src/dbus-settings.c 
3151         (settings_add_connection_check_privileges): Implement.
3152         (impl_settings_add_connection): Check the privileges before adding a new
3153         connection. Improve error reporting.
3154
3155         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3156         async so that the implementation can access DBusGMethodInvocation.
3157
3158         * configure.in: Check for PolicyKit.
3159
3160         * policy/org.freedesktop.network-manager-settings.system.policy: 
3161         New file.
3162
3163         * policy/Makefile.am: Install the policy file.
3164
3165         * configure.in: Add 'policy' subdir.
3166
3167 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3168
3169         Rewrite the suse system settings plugin.
3170
3171         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3172
3173         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3174
3175         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3176
3177         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3178
3179         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3180
3181         * system-settings/src/main.c (load_plugins): Improve error reporting.
3182
3183         * system-settings/src/sha1.[ch] Add.
3184
3185         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3186
3187 2008-05-07  Dan Williams  <dcbw@redhat.com>
3188
3189         * system-settings/plugins/keyfile/reader.c
3190                 - (read_one_setting_value): handle IP address items separately
3191                 - (read_array_of_uint): read IPv4 DNS option as a string array
3192                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3193                         array
3194
3195         * system-settings/plugins/keyfile/writer.c
3196                 - (write_setting_value): handle IP address items separately
3197                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3198                         not an array of uint, so that it's user-editable
3199                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3200                         arrays, so they are user-editable
3201
3202 2008-05-07  Dan Williams  <dcbw@redhat.com>
3203
3204         * system-settings/plugins/keyfile/Makefile.am
3205                 - Change location of the keyfile plugin settings to
3206                         /etc/NetworkManager/system-connections
3207
3208 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3209
3210         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3211
3212         * system-settings/plugins/keyfile/plugin.c: Work with
3213         NMKeyfileConnections.
3214
3215         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3216         Plugins are supposed to return NMExportedConnections now and handle the
3217         updated(), removed(), and GetSecrets().
3218         Store the internal list of connections in hash table to make it easier
3219         to find duplicates.
3220
3221 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3222
3223         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3224         for multiple IP addresses.
3225
3226 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3227
3228         Patch from André Lemos.
3229
3230         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3231         corruption.
3232
3233 2008-05-06  Dan Williams  <dcbw@redhat.com>
3234
3235         * src/dhcp-manager/nm-dhcp-manager.c
3236                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3237                         NMIP4Config to support multiple IP addresses
3238
3239         * src/NetworkManagerUtils.c
3240                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3241
3242         * src/nm-ip4-config.c
3243           src/nm-ip4-config.h
3244                 - Store a list of IPv4 address/netmask/gateway tuples
3245                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3246                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3247                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3248                    nm_ip4_config_set_address): remove
3249                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3250                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3251                         new functions; handle multiple IPv4 addresses
3252
3253         * src/nm-device.c
3254           src/ppp-manager/nm-ppp-manager.c
3255           src/vpn-manager/nm-vpn-connection.c
3256           src/NetworkManagerPolicy.c
3257           test/nm-tool.c
3258           libnm-glib/libnm-glib-test.c
3259                 - update for changes to NMIP4Config for multiple IPv4 addresses
3260
3261         * src/NetworkManagerSystem.c
3262                 - (nm_system_device_set_ip4_route): don't add the route if any address
3263                         is on the same subnet as the destination
3264                 - (check_one_address): ignore the exact match, just match family and
3265                         interface index
3266                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3267                         an interface
3268                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3269                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3270
3271         * introspection/nm-ip4-config.xml
3272                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3273                 - Add 'addresses' property which is an array of (uuu) tuples of
3274                         address/netmask/gateway
3275
3276         * libnm-util/nm-setting-ip4-config.c
3277                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3278
3279         * libnm-glib/nm-ip4-config.c
3280           libnm-glib/nm-ip4-config.h
3281                 - Handle D-Bus interface changes to support multiple IP addresses
3282
3283 2008-05-06  Dan Williams  <dcbw@redhat.com>
3284
3285         * libnm-util/nm-utils.c
3286           libnm-util/nm-utils.h
3287                 - (nm_utils_ip4_addresses_from_gvalue,
3288                    nm_utils_ip4_addresses_to_gvalue): new functions
3289
3290 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3291
3292         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3293         the returned connection paths.
3294
3295 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3296
3297         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3298         "PropertiesChanged" signal signature.
3299
3300         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3301         defined in nm-dbus-glib-types.h.
3302         Don't register the connection on dbus, we're a proxy class to 
3303         communicate with an already registered connection over dbus.
3304
3305 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3306
3307         Implement new subclasses of NMSettings and NMExportedConnection to make
3308         it easier for the applet to access and modify system settings.
3309
3310         * libnm-glib/nm-dbus-connection.[ch]:
3311         * libnm-glib/nm-dbus-settings.[ch]:
3312         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3313
3314         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3315         bindings and glue.
3316
3317         * include/NetworkManager.h: Define the system settings DBus interface.
3318
3319 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3320
3321         Implement additional C API for exported connections to make them identical
3322         with the DBus API. Change the (list_connections) virtual function to be
3323         more usable from C - instead of requiring implementers to return a GPtrArray
3324         of dbus paths, return a list of connections.
3325
3326         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3327         (nm_settings_list_connections):
3328         (nm_exported_connection_new):
3329         (nm_exported_connection_update):
3330         (nm_exported_connection_delete): Implement.
3331
3332         (impl_settings_list_connections):
3333         (impl_exported_connection_update):
3334         (impl_exported_connection_delete): Use the new public functions to make 
3335         sure the C and dbus interfaces stay in sync.
3336
3337         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3338         connections.
3339
3340 2008-05-02  Dan Williams  <dcbw@redhat.com>
3341
3342         * system-settings/plugins/ifcfg-fedora/plugin.c
3343                 - (dispose): use right unref call on the DBusGConnection
3344
3345 2008-05-02  Dan Williams  <dcbw@redhat.com>
3346
3347         * src/nm-serial-device.c
3348                 - (find_terminator): don't compare the whole line, just the size of the
3349                         terminator, since some modems put stuff after the terminator, like
3350                         "CONNECT 9600"
3351
3352 2008-05-01  Dan Williams  <dcbw@redhat.com>
3353
3354         Patch from Michael Biebl <biebl@debian.org>
3355
3356         * callouts/Makefile.am
3357           callouts/org.freedesktop.nm_dispatcher.service.in
3358           system-settings/src/Makefile.am
3359           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3360                 - use the right install location for dbus-activated stuff
3361
3362 2008-04-30  Dan Williams  <dcbw@redhat.com>
3363
3364         * src/nm-gsm-device.c
3365                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3366                         PIN or PUK
3367
3368 2008-04-30  Dan Williams  <dcbw@redhat.com>
3369
3370         * src/nm-manager.c
3371                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3372
3373 2008-04-30  Dan Williams  <dcbw@redhat.com>
3374
3375         * src/nm-device-802-3-ethernet.c
3376           src/nm-device-802-11-wireless.c
3377                 - (real_is_up): return true instead of chaining up to unimplemented
3378                         parent method
3379
3380 2008-04-30  Dan Williams  <dcbw@redhat.com>
3381
3382         * src/NetworkManagerSystem.c
3383           src/NetworkManagerSystem.h
3384                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3385                         functions to check device flags for IFF_UP
3386
3387         * src/nm-serial-device.c
3388                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3389                         implement is_up
3390
3391         * src/nm-device-802-3-ethernet.c
3392           src/nm-device-802-11-wireless.c
3393                 - (real_hw_is_up): call nm_system_device_is_up()
3394
3395         * src/nm-device.c
3396                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3397                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3398                         does not implement
3399
3400 2008-04-29  Dan Williams  <dcbw@redhat.com>
3401
3402         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3403
3404         * marshallers/nm-marshal.list
3405                 - Add marshaller
3406
3407         * src/NetworkManager.c
3408                 - (main): let the NMManager handle the NMHalManager
3409
3410         * src/nm-hal-manager.c
3411           src/nm-hal-manager.h
3412                 - convert to a GObject, and emit singals when stuff changes.  Let the
3413                         NMManager handle the signals, instead of the NMHalManager calling
3414                         into the NMManager.  
3415
3416         * src/nm-manager.c
3417           src/nm-manager.h
3418                 - (remove_one_device): consolidate device removals here
3419                 - (dispose): use remove_one_device()
3420                 - (nm_manager_get_device_by_udi): make static
3421                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3422                         manager for devices at startup or wakeup time
3423                 - (nm_manager_new): create and monitor the HAL manager
3424                 - (hal_manager_udi_added_cb): new function; do what
3425                         nm_manager_add_device() used to do when signalled by the hal manager
3426                 - (hal_manager_udi_removed_cb): new function; do what
3427                         nm_manager_remove_device() used to do when signalled by the hal
3428                         manager
3429                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3430                         hal manager
3431                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3432                         in our device list that aren't known to HAL
3433                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3434                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3435                         commits ago
3436                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3437                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3438                    nm_manager_wireless_hardware_enabled,
3439                    nm_manager_set_wireless_hardware_enabled): remove, unused
3440
3441 2008-04-28  Dan Williams  <dcbw@redhat.com>
3442
3443         Fix the device up/down ambiguities.  Up/down state used to be a
3444         conglomeration of hardware state (IFF_UP) and any device-specific things
3445         (supplicant, periodic timers, etc) that the device used to indicate
3446         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3447         reason, then the device specific stuff wouldn't get run, and the device
3448         would be stuck.
3449
3450         * src/nm-device.c
3451           src/nm-device.h
3452                 - Create hw_is_up, hw_bring_up, and hw_take_down
3453                 - Rename bring_down -> take_down
3454                 - (real_hw_is_up): check interface flags for IFF_UP
3455                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3456                 - (nm_device_is_up): make static; only used locally
3457                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3458                         if the device is already up; if the device isn't up, bring it up
3459                 - (nm_device_hw_take_down): just take down hardware
3460                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3461                 - (nm_device_take_down): always deactivate device when called; always
3462                         try to take hardware down too
3463                 - (nm_device_state_changed): take device down when entering unmanaged
3464                         state from a higher state
3465
3466         * src/nm-device-802-11-wireless.c
3467                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3468                         check IFF_UP really
3469                 - (real_take_down, supplicant_iface_state_cb_handler, 
3470                    supplicant_iface_connection_state_cb_handler,
3471                    supplicant_mgr_state_cb_handler): fix some messages
3472
3473         * src/nm-device-802-3-ethernet.c
3474                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3475                         check IFF_UP really
3476
3477 2008-04-28  Dan Williams  <dcbw@redhat.com>
3478
3479         * src/nm-manager.c
3480           src/nm-manager.h
3481                 - (nm_manager_error_get_type): add new error
3482                 - (nm_manager_remove_device): don't bother taking down the device here,
3483                         the state change from unmanaging the device will do it
3484                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3485                         uses it; when going to sleep, just unmanage the device instead of
3486                         taking it down, because stuff will cleaned up correctly when the
3487                         device gets unmanaged
3488
3489 2008-04-28  Dan Williams  <dcbw@redhat.com>
3490
3491         * src/nm-hal-manager.c
3492                 - (add_initial_devices): convert to a GSourceFunc prototype
3493                 - (nm_manager_state_changed): when coming out of sleep, punt the
3494                         device re-addition to an idle handler to let D-Bus events go out
3495                         first, fixing a potential dbus-glib assert if the old device was
3496                         not yet disposed (due to references held while emitting the D-Bus
3497                         signals) but the new device was found, because the mainloop didn't
3498                         run between signal emission and add_initial_devices()
3499
3500 2008-04-27  Dan Williams  <dcbw@redhat.com>
3501
3502         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3503
3504         * initscript/paldo/NetworkManager.in
3505           initscript/SUSE/networkmanager.in
3506                 - Remove last bits of dhcdbd
3507
3508 2008-04-27  Dan Williams  <dcbw@redhat.com>
3509
3510         * src/nm-device-802-11-wireless.c
3511                 - (link_timeout_cb): don't ask for secrets when disconnected during
3512                         association/authentication phase, drivers are still just too crappy
3513
3514 2008-04-27  Dan Williams  <dcbw@redhat.com>
3515
3516         * Makefile.am
3517           configure.in
3518           dispatcher-daemon/Makefile.am
3519           dispatcher-daemon/NetworkManagerDispatcher.c
3520           initscript/Arch/Makefile.am
3521           initscript/Arch/networkmanager-dispatcher.in
3522           initscript/Gentoo/Makefile.am
3523           initscript/Gentoo/NetworkManagerDispatcher.in
3524           initscript/Mandriva/Makefile.am
3525           initscript/Mandriva/networkmanagerdispatcher.in
3526           initscript/RedHat/Makefile.am
3527           initscript/RedHat/NetworkManagerDispatcher.in
3528           initscript/SUSE/Makefile.am
3529           initscript/SUSE/networkmanager-dispatcher.in
3530           initscript/Slackware/Makefile.am
3531           initscript/Slackware/rc.networkmanager-dispatcher.in
3532           initscript/paldo/Makefile.am
3533           initscript/paldo/NetworkManagerDispatcher.in
3534           man/Makefile.am
3535           man/NetworkManagerDispatcher.8.in
3536                 - Remove the dispatcher daemon
3537
3538 2008-04-27  Dan Williams  <dcbw@redhat.com>
3539
3540         * callouts/Makefile.am
3541           callouts/nm-dispatcher-action.c
3542           callouts/nm-dispatcher-action.h
3543           callouts/nm-dispatcher.conf
3544           callouts/nm-dispatcher.xml
3545           callouts/org.freedesktop.nm_dispatcher.service
3546                 - Re-implement the dispatcher as a system-bus activated service that
3547                         NM calls on-demand, rather than an always running daemon
3548
3549         * src/Makefile.am
3550                 - Add callouts dir to includes to pick up dispatcher defines
3551
3552         * src/nm-device.c
3553                 - (nm_device_state_changed): call dispatcher on device activated/
3554                         deactivated
3555
3556         * src/vpn-manager/nm-vpn-connection.c
3557                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3558                         go up and down
3559
3560         * src/NetworkManagerUtils.c
3561           src/NetworkManagerUtils.h
3562                 - (nm_utils_call_dispatcher): helper to call dispatcher
3563
3564 2008-04-27  Dan Williams  <dcbw@redhat.com>
3565
3566         * src/NetworkManagerUtils.c
3567           src/NetworkManagerUtils.h
3568                 - remove unneeded includes
3569                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3570                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3571                    nm_timeval_cmp, nm_timeval_add): remove, unused
3572                 - clean up formatting
3573                 - (nm_spawn_process): de-uglify
3574
3575         * src/nm-device-802-11-wireless.c
3576                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3577
3578 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3579
3580         * initscript/Gentoo/NetworkManager.in:
3581                 Fix for starting the daemon.
3582
3583 2008-04-25  Dan Williams  <dcbw@redhat.com>
3584
3585         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3586
3587         * src/NetworkManagerSystem.c
3588                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3589
3590 2008-04-25  Dan Williams  <dcbw@redhat.com>
3591
3592         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3593
3594         * src/NetworkManagerSystem.c
3595                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3596                         implementation of nm_system_device_replace_default_route()
3597
3598         * src/NetworkManagerPolicy.c
3599                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3600
3601         * src/backends/NetworkManagerArch.c
3602           src/backends/NetworkManagerDebian.c
3603           src/backends/NetworkManagerFrugalware.c
3604           src/backends/NetworkManagerGeneric.c
3605           src/backends/NetworkManagerGeneric.h
3606           src/backends/NetworkManagerGentoo.c
3607           src/backends/NetworkManagerMandriva.c
3608           src/backends/NetworkManagerPaldo.c
3609           src/backends/NetworkManagerRedHat.c
3610           src/backends/NetworkManagerSlackware.c
3611           src/backends/NetworkManagerSuSE.c
3612                 - (nm_system_device_replace_default_route): remove
3613
3614 2008-04-25  Dan Williams  <dcbw@redhat.com>
3615
3616         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3617
3618         * src/NetworkManagerSystem.c
3619                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3620                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3621                         replace nm_system_device_add_route_via_device_with_iface() in the
3622                         backends
3623
3624         * src/backends/NetworkManagerArch.c
3625           src/backends/NetworkManagerDebian.c
3626           src/backends/NetworkManagerFrugalware.c
3627           src/backends/NetworkManagerGeneric.c
3628           src/backends/NetworkManagerGeneric.h
3629           src/backends/NetworkManagerGentoo.c
3630           src/backends/NetworkManagerMandriva.c
3631           src/backends/NetworkManagerPaldo.c
3632           src/backends/NetworkManagerRedHat.c
3633           src/backends/NetworkManagerSlackware.c
3634           src/backends/NetworkManagerSuSE.c
3635                 - Remove nm_system_device_add_route_via_device_with_iface()
3636
3637 2008-04-25  Dan Williams  <dcbw@redhat.com>
3638
3639         * system-settings/plugins/ifcfg-fedora/parser.c
3640                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3641
3642 2008-04-24  Dan Williams  <dcbw@redhat.com>
3643
3644         * dispatcher-daemon/NetworkManagerDispatcher.c
3645                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3646
3647 2008-04-24  Dan Williams  <dcbw@redhat.com>
3648
3649         * initscript/RedHat/NetworkManager.in
3650           initscript/RedHat/NetworkManagerDispatcher.in
3651                 - Be active at runlevel 2
3652                 - Adjust priorities earlier
3653
3654 2008-04-22  Dan Williams  <dcbw@redhat.com>
3655
3656         * src/NetworkManagerPolicy.c
3657                 - (update_routing_and_dns): when checking for a gateway, look at the
3658                         composite IP4 config, not the connection's ip4-config setting, which
3659                         doesn't include DHCP-returned information
3660
3661 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3662
3663         Implement GKeyFile system settings plugin.
3664         Implement writing system settings (currently supported only by GKeyFile plugin).
3665
3666         * system-settings/src/main.c: 
3667         * system-settings/src/dbus-settings.c: Move the communication with plugins
3668         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3669         plugins for adding/updating/removing connections.
3670
3671         * system-settings/src/nm-system-config-interface.c
3672         (nm_system_config_interface_add_connection): Implement
3673         (nm_system_config_interface_update_connection): Implement.
3674         (nm_system_config_interface_remove_connection): Implement.
3675
3676         * system-settings/plugins/keyfile/Makefile.am:
3677         * system-settings/plugins/keyfile/plugin.[ch]:
3678         * system-settings/plugins/keyfile/writer.[ch]:
3679         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3680
3681         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3682
3683         * configure.in: Generate GKeyFile Makefile.
3684
3685         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3686         corruption, need to duplicate the returned string.
3687         (impl_exported_connection_update): Implement.
3688         (impl_exported_connection_delete): Implement.
3689
3690         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3691
3692         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3693
3694 2008-04-22  Dan Williams  <dcbw@redhat.com>
3695
3696         Patch from Charles R. Anderson (cra@wpi.edu)
3697
3698         * src/NetworkManagerPolicy.c
3699                 - (update_routing_and_dns): don't select devices without a gateway
3700                         as having the default route (rh #437338)
3701
3702 2008-04-21  Dan Williams  <dcbw@redhat.com>
3703
3704         * src/nm-activation-request.c
3705           src/nm-activation-request.h
3706                 - (dispose): ensure to disconnect from the device's state-changed signal
3707                         when appropriate so the signal doesn't get handled by an already
3708                         disposed NMActRequest
3709                 - (device_state_changed): update is_default here too just to make sure
3710                         default is only True when the child device is activated
3711                 - (nm_act_request_set_default): new function
3712
3713         * src/NetworkManagerPolicy.c
3714                 - (update_routing_and_dns): set 'default' on the active connection which
3715                         has the default route and DNS
3716
3717 2008-04-21  Dan Williams  <dcbw@redhat.com>
3718
3719         * src/NetworkManagerPolicy.c
3720                 - (device_state_changed): update routing and DNS when a device goes
3721                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3722
3723 2008-04-21  Dan Williams  <dcbw@redhat.com>
3724
3725         * include/NetworkManager.h
3726                 - Add NMActiveConnectionState enum
3727
3728         * introspection/nm-active-connection.xml
3729           introspection/nm-vpn-connection.xml
3730                 - Add 'State' property for overall active connection state
3731                 - Add 'Default' property, when True means this active connection
3732                         has the default route
3733                 - Add PropertyChanged signals so changes actually go out over the bus
3734
3735         * src/nm-active-connection.h
3736                 - Add defines for State & Default properties
3737
3738         * src/nm-activation-request.c
3739                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3740                         signal to determine active connection state
3741
3742         * src/vpn-manager/nm-vpn-connection.c
3743           src/vpn-manager/nm-vpn-connection.h
3744           src/vpn-manager/nm-vpn-manager.c
3745           src/vpn-manager/nm-vpn-service.c
3746                 - Rename old 'state' to 'vpn-state'
3747                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3748                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3749                         'vpn-state-changed' signal
3750
3751         * libnm-glib/nm-active-connection.c
3752           libnm-glib/nm-active-connection.h
3753                 - Add new 'state' and 'default' properties and accessors
3754
3755         * libnm-glib/nm-vpn-connection.c
3756           libnm-glib/nm-vpn-connection.h
3757                 - Rename old 'state' property to 'vpn-state'
3758                 - Add new 'state' and 'default' properties and accessors
3759
3760 2008-04-21  Dan Williams  <dcbw@redhat.com>
3761
3762         * src/nm-ip4-config.c
3763                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3764                         not specified (rh #443474)
3765
3766 2008-04-20  Dan Williams  <dcbw@redhat.com>
3767
3768         * src/NetworkManagerUtils.c
3769           src/NetworkManagerUtils.h
3770                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3771                         NMSettingIP4Config to an NMIP4Config object
3772
3773         * src/nm-device.c
3774                 - (merge_ip4_config): move to NetworkManagerUtils.c
3775
3776         * src/vpn-manager/nm-vpn-connection.c
3777                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3778                         too
3779
3780 2008-04-18  Dan Williams  <dcbw@redhat.com>
3781
3782         * libnm-util/nm-setting-ppp.c
3783           libnm-util/nm-setting-ppp.h
3784                 - Add 'no-vj-comp' option for TCP header compression
3785                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3786                         uint32
3787
3788 2008-04-18  Dan Williams  <dcbw@redhat.com>
3789
3790         * libnm-util/nm-setting-ppp.c
3791           libnm-util/nm-setting-ppp.h
3792           src/ppp-manager/nm-ppp-manager.c
3793                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3794
3795 2008-04-18  Dan Williams  <dcbw@redhat.com>
3796
3797         * libnm-util/nm-setting-ppp.c
3798           libnm-util/nm-setting-ppp.h
3799           src/ppp-manager/nm-ppp-manager.c
3800                 - Remove the 'usepeerdns' option and always request DNS servers from
3801                         the PPP server; the connection chooses to use/override/ignore the
3802                         DNS servers returned from the PPP server
3803
3804 2008-04-18  Dan Williams  <dcbw@redhat.com>
3805
3806         * libnm-util/nm-setting-ppp.c
3807           libnm-util/nm-setting-ppp.h
3808           src/ppp-manager/nm-ppp-manager.c
3809                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3810                         it seems to have been an erroneous addition to the PPTP plugin in
3811                         the first place (from which the ppp-manager is derived)
3812
3813 2008-04-17  Dan Williams  <dcbw@redhat.com>
3814
3815         * libnm-util/nm-setting-pppoe.c
3816                 - (verify): require a PPP setting too
3817
3818         * src/ppp-manager/nm-ppp-manager.c
3819                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3820                         segfaulting
3821
3822 2008-04-17  Dan Williams  <dcbw@redhat.com>
3823
3824         * src/nm-device.c
3825                 - (nm_device_state_changed): do deactivation and and promotion to
3826                         unavailable here, so that the device gets cleaned up before the
3827                         manager runs and starts emitting signals; do the
3828                         FAILED->DISCONNECTED transition from an idle handler rather than
3829                         immediately to guard against recursion
3830                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3831                         FAILED->DISCONNECTED handler if it's scheduled
3832
3833 2008-04-17  Dan Williams  <dcbw@redhat.com>
3834
3835         * src/nm-device-802-11-wireless.c
3836                 - (state_changed_cb): clear AP list when device transitions to
3837                         unavailable or unmanaged
3838                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3839                         since this is already done in device_cleanup()
3840                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3841                         isn't available or managed
3842                 - (device_cleanup): use remove_all_aps()
3843                 - (remove_all_aps): consolidate code removing all APs
3844
3845 2008-04-17  Dan Williams  <dcbw@redhat.com>
3846
3847         * src/nm-serial-device.c
3848           src/nm-serial-device.h
3849                 - (wait_for_reply_got_data): break input into lines, and search each
3850                         line for responses _and_ terminator strings; also make sure that
3851                         the read loop doesn't continue after the timeout is supposed to fire
3852                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3853
3854         * src/nm-gsm-device.c
3855           src/nm-cdma-device.c
3856                 - Send terminators to nm_serial_device_wait_for_reply()
3857
3858 2008-04-16  Dan Williams  <dcbw@redhat.com>
3859
3860         Patch from 陈鑫 <znscnchen@gmail.com>
3861
3862         * src/ppp-manager/nm-pppd-plugin.c
3863                 - (get_credentials): return correct value for success; handle case where
3864                         pppd just does some checking but doesn't want a password
3865                 - (plugin_init): make CHAP work too
3866
3867 2008-04-16  Dan Williams  <dcbw@redhat.com>
3868
3869         Patch from 陈鑫 <znscnchen@gmail.com>
3870
3871         * src/ppp-manager/nm-ppp-manager.c
3872                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3873
3874 2008-04-16  Dan Williams  <dcbw@redhat.com>
3875
3876         Patch from 陈鑫 <znscnchen@gmail.com>
3877
3878         * src/nm-device-802-3-ethernet.c
3879                 - (real_deactivate_quickly): clear the IP interface name on
3880                         deactivation, otherwise the wrong interface might get used later
3881                         for routing and IP management
3882
3883 2008-04-15  Dan Williams  <dcbw@redhat.com>
3884
3885         * libnm-glib/nm-device.c
3886                 - (get_product_and_vendor): handle serial devices correctly
3887                 - (nm_device_update_description): pass device to get_product_and_vendor()
3888
3889 2008-04-15  Dan Williams  <dcbw@redhat.com>
3890
3891         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3892
3893         * src/NetworkManagerSystem.h
3894           src/backends/NetworkManagerArch.c
3895           src/backends/NetworkManagerDebian.c
3896           src/backends/NetworkManagerFrugalware.c
3897           src/backends/NetworkManagerGeneric.c
3898           src/backends/NetworkManagerGeneric.h
3899           src/backends/NetworkManagerGentoo.c
3900           src/backends/NetworkManagerMandriva.c
3901           src/backends/NetworkManagerPaldo.c
3902           src/backends/NetworkManagerRedHat.c
3903           src/backends/NetworkManagerSlackware.c
3904           src/backends/NetworkManagerSuSE.c
3905           src/nm-device.c
3906                 - (nm_generic_device_add_ip6_link_address,
3907                    nm_system_device_add_ip6_link_address): remove
3908
3909 2008-04-15  Dan Williams  <dcbw@redhat.com>
3910
3911         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3912
3913         * src/backends/NetworkManagerArch.c
3914           src/backends/NetworkManagerDebian.c
3915           src/backends/NetworkManagerFrugalware.c
3916           src/backends/NetworkManagerGeneric.c
3917           src/backends/NetworkManagerGeneric.h
3918           src/backends/NetworkManagerGentoo.c
3919           src/backends/NetworkManagerMandriva.c
3920           src/backends/NetworkManagerPaldo.c
3921           src/backends/NetworkManagerRedHat.c
3922           src/backends/NetworkManagerSlackware.c
3923           src/backends/NetworkManagerSuSE.c
3924           src/NetworkManagerSystem.h
3925                 - flush_routes -> flush_ip4_routes
3926                 - flush_addresses -> flush_ip4_addresses
3927
3928         * src/NetworkManagerSystem.c
3929           src/nm-device.c
3930           src/vpn-manager/nm-vpn-connection.c
3931                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3932
3933 2008-04-15  Dan Williams  <dcbw@redhat.com>
3934
3935         Remove exposure of wireless-tools mode types in the API.
3936
3937         * include/NetworkManager.h
3938                 - Define NM80211Mode enum
3939
3940         * introspection/generic-types.xml
3941                 - Describe NM_802_11_MODE enum
3942                 - Remove IW_MODE_* enum
3943
3944         * introspection/nm-access-point.xml
3945           libnm-glib/nm-access-point.c
3946           libnm-glib/nm-access-point.h
3947                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3948
3949         * introspection/nm-device-802-11-wireless.xml
3950           libnm-glib/nm-device-802-11-wireless.c
3951           libnm-glib/nm-device-802-11-wireless.h
3952                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3953
3954         * libnm-util/nm-setting-wireless.c
3955           src/NetworkManagerAP.c
3956           src/NetworkManagerAP.h
3957           src/nm-device-802-11-wireless.c
3958           src/nm-device-802-11-wireless.h
3959           test/nm-tool.c
3960                 - Use NM80211Mode not IW_MODE_*
3961
3962 2008-04-15  Dan Williams  <dcbw@redhat.com>
3963
3964         Enhance nm-online based on a patch from Bill Nottingham.
3965
3966         * test/nm-online.c
3967                 - Add a '-q' option
3968                 - Add help messages and option summary
3969                 - Add long-format options
3970                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3971
3972 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3973
3974         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3975
3976         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3977
3978 2008-04-15  Dan Williams  <dcbw@redhat.com>
3979
3980         * nm-setting-ip4-config.c
3981                 - (ip4_addresses_from_gvalue): handle NULL address array
3982
3983         * nm-setting-8021x.c
3984                 - (verify_tls, verify_ttls): warn on failed verification
3985
3986 2008-04-10  Dan Williams  <dcbw@redhat.com>
3987
3988         * src/nm-gsm-device.c
3989                 - (automatic_registration): accept "+CREG: 0,0"
3990                 - (automatic_registration_response): fail on "+CREG: 0,0"
3991
3992 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3993
3994         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3995
3996 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3997
3998         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3999         Make it compile again by commenting out broken code that at first didn't work and
4000         now didn't compile either.
4001
4002 2008-04-08  Dan Williams  <dcbw@redhat.com>
4003
4004         * libnm-glib/nm-object-cache.c
4005           libnm-glib/nm-settings.c
4006           src/dhcp-manager/nm-dhcp-manager.c
4007           system-settings/plugins/ifcfg-fedora/plugin.c
4008           system-settings/plugins/ifcfg-suse/plugin.c
4009           system-settings/src/nm-system-config-hal-manager.c
4010           libnm-util/nm-utils.c
4011                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4012                         not threadsafe anyway
4013
4014 2008-04-08  Dan Williams  <dcbw@redhat.com>
4015
4016         * system-settings/src/main.c
4017                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4018                         callbacks take a device type too
4019
4020 2008-04-08  Dan Williams  <dcbw@redhat.com>
4021
4022         The system settings service will now create a new default DHCP connection
4023         for wired devices that have no existing applicable connection.
4024
4025         * system-settings/src/nm-system-config-hal-manager.c
4026           system-settings/src/nm-system-config-hal-manager.h
4027                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4028
4029         * system-settings/src/dbus-settings.c
4030           system-settings/src/dbus-settings.h
4031                 - (nm_sysconfig_settings_get_connections): new function
4032                 - (nm_sysconfig_settings_is_device_managed): new function
4033
4034         * system-settings/src/main.c
4035                 - (load_stuff): check for wired devices that need a default connection
4036                 - (get_details_for_udi): get interface and MAC address from HAL
4037                 - (add_default_dhcp_connection): add a default connection for a wired
4038                         device if needed
4039                 - (device_added_cb, device_removed_cb): do the right thing with
4040                         wired devices and their default connections on HAL device events
4041
4042 2008-04-07  Dan Williams  <dcbw@redhat.com>
4043
4044         * libnm-glib/nm-device.c
4045           libnm-glib/nm-device.h
4046                 - Proxy the 'managed' property
4047
4048 2008-04-07  Dan Williams  <dcbw@redhat.com>
4049
4050         * src/nm-gsm-device.c
4051           src/nm-cdma-device.c
4052                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4053                         handler to transition to DISCONNECTED
4054
4055 2008-04-07  Dan Williams  <dcbw@redhat.com>
4056
4057         Patch from Bill Nottingham
4058
4059         * dispatcher-daemon/NetworkManagerDispatcher.c
4060                 - ignore backup/packaging crufy (rh #440143)
4061
4062 2008-04-07  Dan Williams  <dcbw@redhat.com>
4063
4064         * include/NetworkManager.h
4065                 - Remove the DOWN and CANCELLED device states
4066                 - Add UNMANAGED and UNAVAILABLE device states
4067                 - Document the device states
4068
4069         * introspection/nm-device.xml
4070           src/nm-device-interface.c
4071           src/nm-device-interface.h
4072                 - Add the 'managed' property
4073
4074         * test/nm-tool.c
4075                 - (detail_device): print out device state
4076
4077         * src/NetworkManagerSystem.h
4078           src/backends/NetworkManagerArch.c
4079           src/backends/NetworkManagerDebian.c
4080           src/backends/NetworkManagerFrugalware.c
4081           src/backends/NetworkManagerGentoo.c
4082           src/backends/NetworkManagerMandriva.c
4083           src/backends/NetworkManagerPaldo.c
4084           src/backends/NetworkManagerRedHat.c
4085           src/backends/NetworkManagerSlackware.c
4086           src/backends/NetworkManagerSuSE.c
4087                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4088                    nm_system_device_free_system_config): remove; they were unused and
4089                         their functionality should be re-implemented in each distro's
4090                         system settings service plugin 
4091
4092         * src/nm-gsm-device.c
4093           src/nm-gsm-device.h
4094           src/nm-cdma-device.c
4095           src/nm-cdma-device.h
4096                 - (*_new): take the 'managed' argument
4097
4098         * src/nm-device.c
4099                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4100                 - (nm_device_init): start in unmanaged state, not disconnected
4101                 - (constructor): don't start device until the system settings service
4102                         has had a chance to figure out if the device is managed or not
4103                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4104                         don't set device state here, let callers handle that as appropriate
4105                 - (nm_device_dispose): don't touch the device if it's not managed
4106                 - (set_property, get_property, nm_device_class_init): implement the
4107                         'managed' property
4108                 - (nm_device_state_changed): bring the device up if its now managed,
4109                         and deactivate it if it used to be active
4110                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4111                         with the managed state
4112
4113         * src/nm-hal-manager.c
4114                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4115                         take initial managed state and pass it along to device constructors
4116                 - (create_device_and_add_to_list): get managed state and pass to
4117                         type creators
4118
4119         * src/nm-device-802-11-wireless.c
4120                 - (real_can_activate): fold in most of
4121                         nm_device_802_11_wireless_can_activate()
4122                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4123                 - (link_timeout_cb): instead of deactivating, change device state and
4124                         let the device state handler to it
4125                 - (real_update_hw_address): clean up
4126                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4127                         handler to transition to DISCONNECTED if the device isn't rfkilled
4128
4129         * src/nm-device-802-3-ethernet.c
4130                 - (set_carrier): move above callers and get rid of prototype
4131                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4132                         idle handler to transition to DISCONNECTED if the device has a
4133                         carrier
4134                 - (real_update_hw_address): clean up
4135                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4136                         deactivation directly as deactivation doesn't change state anymore
4137
4138         * src/NetworkManagerPolicy.c
4139                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4140                         the NMManager and wireless devices work that out themselves now
4141                 - (device_state_changed): change to a switch and update for new device
4142                         states
4143                 - (device_carrier_changed): remove; device handles this now through
4144                         state changes
4145                 - (device_added): don't care about carrier any more; the initial
4146                         activation check will happen when the device transitions to
4147                         DISCONNECTED
4148
4149         * src/nm-manager.c
4150                 - (dispose): clear unmanaged devices
4151                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4152                         the managed property on each device when needed
4153                 - (system_settings_properties_changed_cb): handle signals from the
4154                         system settings service
4155                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4156                         getting the unmanaged device list method call
4157                 - (query_unmanaged_devices): ask the system settings service for its
4158                         list of unmanaged devices
4159                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4160                         devices
4161                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4162                         devices directly and let them handle the necessary state transitions
4163                 - (manager_device_state_changed): update for new device states
4164                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4165                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4166                 - (nm_manager_activate_connection): return error if the device is
4167                         unmanaged
4168                 - (nm_manager_sleep): handle new device states correctly; don't change
4169                         the state of unavailable/unmanaged devices
4170
4171         * libnm-glib/nm-device-802-11-wireless.c
4172                 - (state_changed_cb): update for new device states
4173
4174 2008-04-07  Dan Williams  <dcbw@redhat.com>
4175
4176         * marshallers/nm-marshal.list
4177                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4178
4179 2008-04-07  Dan Williams  <dcbw@redhat.com>
4180
4181         * system-settings/src/main.c
4182                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4183                         plugins to the dbus settings object
4184                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4185                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4186                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4187                 - (main): switch default logging to syslog with a 'debug' option to
4188                         output to console; start up the HAL manager
4189
4190 2008-04-07  Dan Williams  <dcbw@redhat.com>
4191
4192         * introspection/nm-settings-system.xml
4193           introspection/Makefile.am
4194                 - Define the unmanaged devices interface for the system settings service
4195
4196         * system-settings/src/nm-system-config-hal-manager.c
4197           system-settings/src/nm-system-config-hal-manager.h
4198           system-settings/src/nm-system-config-hal-manager-private.h
4199           system-settings/src/Makefile.am
4200                 - Add a lightweight HAL manager object for tracking network devices for
4201                         the purpose of determining unmanaged devices and which devices need
4202                         the default DHCP connections
4203
4204         * system-settings/src/nm-system-config-interface.c
4205           system-settings/src/nm-system-config-interface.h
4206                 - (nm_system_config_interface_init): add the HAL manager as an argument
4207                 - (nm_system_config_interface_get_unmanaged_devices): implement
4208                 - Define 'unmanaged-devices-changed' signal
4209
4210         * system-settings/src/dbus-settings.c
4211           system-settings/src/dbus-settings.h
4212                 - Implement the unmanaged devices interface; some cleanups
4213
4214         * system-settings/plugins/ifcfg-suse/plugin.c
4215                 - Fixup for plugin interface changes
4216
4217         * system-settings/plugins/ifcfg-fedora/plugin.c
4218                 - (get_ether_device_udi): new function; find the device that has
4219                         a specified MAC address and return its UDI
4220                 - (get_udi_for_connection): new function; try to find the specific
4221                         device a connection is locked to, if any
4222                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4223                         response to HAL events
4224                 - (get_unmanaged_devices): new function; return unmanaged device list
4225                 - (build_one_connection): set the connection's locked device, if any
4226                 - (write_auto_wired_connection): remove
4227                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4228                 - (handle_connection_changed): alert listeners that the unmanaged device
4229                         list has changed
4230                 - (init): fixup for plugin interface changes, implement unmanaged devices
4231
4232         * system-settings/plugins/ifcfg-fedora/parser.c
4233           system-settings/plugins/ifcfg-fedora/parser.h
4234                 - (connection_data_free): clean up connection UDI
4235
4236 2008-04-07  Dan Williams  <dcbw@redhat.com>
4237
4238         * system-settings/plugins/ifcfg-fedora/parser.c
4239                 - (make_ip4_setting): fix parsing of DNS servers
4240
4241 2008-04-05  Dan Williams  <dcbw@redhat.com>
4242
4243         * Makefile.am
4244           configure.in
4245           marshallers/Makefile.am
4246           marshallers/nm-marshal-main.c
4247           marshallers/nm-marshal.list
4248                 - Consolidate marshallers
4249
4250         * libnm-glib/nm-marshal-main.c
4251           libnm-glib/nm-marshal.list
4252           src/marshallers/Makefile.am
4253           src/marshallers/nm-marshal-main.c
4254           src/marshallers/nm-marshal.list
4255                 - Remove
4256
4257         * libnm-glib/Makefile.am
4258           src/Makefile.am
4259           src/dhcp-manager/Makefile.am
4260           src/ppp-manager/Makefile.am
4261           src/supplicant-manager/Makefile.am
4262           src/vpn-manager/Makefile.am
4263                 - Use consolidated marshallers
4264
4265 2008-04-04  Dan Williams  <dcbw@redhat.com>
4266
4267         * src/nm-hal-manager.c
4268           src/nm-hal-manager.h
4269                 - (hal_init): don't look for hardware here
4270                 - (nm_hal_manager_start): new function; look for hardware here instead,
4271                         which can be done at a later time than hal_init()
4272
4273         * src/NetworkManager.c
4274                 - (main): start HAL manager after entering the main loop
4275
4276 2008-04-03  Dan Williams  <dcbw@redhat.com>
4277
4278         * libnm-glib/nm-settings.c
4279           libnm-glib/nm-settings.h
4280             - (nm_exported_connection_get_id): new function
4281                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4282
4283 2008-04-02  Dan Williams  <dcbw@redhat.com>
4284
4285         * src/nm-device-interface.c
4286           src/nm-device-interface.h
4287           src/nm-device.c
4288           src/nm-device.h
4289                 - Rename check_connection_conflicts() to check_connection_compatible()
4290
4291         * src/nm-device-802-11-wireless.c
4292                 - (real_check_connection_conflicts): remove
4293                 - (real_check_connection_compatible): implement; match MAC address
4294
4295         * src/nm-device-802-3-ethernet.c
4296                 - (real_check_connection_conflicts): remove
4297                 - (real_check_connection_compatible): implement; match MAC address
4298                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4299
4300         * src/nm-manager.c
4301                 - (check_connection_allowed): remove; unused until PolicyKit integration
4302                 - (internal_activate_device): check whether the connection is compatible
4303                         with the device before trying to activate it
4304
4305 2008-04-02  Dan Williams  <dcbw@redhat.com>
4306
4307         * system-settings/plugins/ifcfg-fedora/parser.c
4308                 - (read_mac_address): new function; read in MAC address and stuff it
4309                         into the connection
4310                 - (add_one_wep_key): remove debug spew
4311                 - (make_wireless_security_setting): validate the default TX key; don't
4312                         add the wireless-security setting if the connection doesn't need
4313                         security; don't leak the keys shvarFile on error cases
4314                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4315                         address
4316
4317 2008-04-02  Dan Williams  <dcbw@redhat.com>
4318
4319         * libnm-util/nm-setting-connection.c
4320           libnm-util/nm-setting-connection.h
4321                 - (set_property, get_property, nm_setting_connection_class_init): remove
4322                         the 'lockdown' property; it's functionality will be replaced by
4323                         PolicyKit instead
4324
4325 2008-04-01  Dan Williams  <dcbw@redhat.com>
4326
4327         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4328
4329         * configure.in
4330           initscript/Makefile.am
4331           initscript/Mandriva/Makefile.am
4332           initscript/Mandriva/networkmanager.in
4333           initscript/Mandriva/networkmanagerdispatcher.in
4334           src/backends/Makefile.am
4335           src/backends/NetworkManagerMandriva.c
4336           system-settings/plugins/Makefile.am
4337                 - Add Mandriva support
4338
4339 2008-03-31  Dan Williams  <dcbw@redhat.com>
4340
4341         * src/vpn-manager/nm-vpn-service.c
4342                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4343                         errors can be passed back to the caller; also no longer scheduled
4344                         as an idle handler, but called directly; and bump up VPN service
4345                         spawn timeout, 2s is really short
4346                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4347                         but call it directly so that errors are reported on return from
4348                         ActivateConnection() and don't get lost.  If scheduled as an idle
4349                         handler, clients don't have the time to query NM for the new VPN
4350                         connection's properties before the VPN connection is torn down again
4351                         if the service couldn't be launched, and therefore launch errors
4352                         get lost.
4353
4354 2008-03-31  Dan Williams  <dcbw@redhat.com>
4355
4356         * src/vpn-manager/nm-vpn-connection.c
4357                 - (device_state_changed): send correct state on device failure too
4358                 - (plugin_state_changed): failed state means unexpected disconnection,
4359                         thus if the service goes away while the VPN connection is activated
4360                         that's a failure too
4361
4362 2008-03-31  Dan Williams  <dcbw@redhat.com>
4363
4364         * src/vpn-manager/nm-vpn-manager.c
4365           src/vpn-manager/nm-vpn-manager.h
4366                 - Make VPNManager errors more available; add a service-start-failed error
4367
4368 2008-03-31  Dan Williams  <dcbw@redhat.com>
4369
4370         * libnm-glib/nm-client.c
4371           libnm-glib/nm-client.h
4372                 - (activate_cb): pass the new active connection to callback; fix
4373                         message when no callback is specified
4374
4375 2008-03-30  Dan Williams  <dcbw@redhat.com>
4376
4377         * libnm-util/nm-setting-wireless-security.c
4378                 - (need_secrets): only require key0 if the transmit key index is also
4379                         0
4380                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4381
4382 2008-03-29  Dan Williams  <dcbw@redhat.com>
4383
4384         * libnm-util/nm-setting-8021x.c
4385           libnm-util/nm-setting-ip4-config.c
4386           libnm-util/nm-setting-vpn-properties.c
4387           libnm-util/nm-setting-vpn.c
4388           libnm-util/nm-setting-wireless-security.c
4389           libnm-util/nm-setting-wireless.c
4390           libnm-util/nm-utils.c
4391           src/dhcp-manager/nm-dhcp-manager.c
4392           src/nm-activation-request.c
4393           src/nm-ip4-config.c
4394           src/nm-manager.c
4395           src/nm-properties-changed-signal.c
4396           src/ppp-manager/nm-pppd-plugin.c
4397           src/supplicant-manager/nm-supplicant-interface.c
4398           src/vpn-manager/nm-vpn-connection.c
4399                 - consistently use nm-dbus-glib-types.h
4400
4401 2008-03-29  Dan Williams  <dcbw@redhat.com>
4402
4403         * src/vpn-manager/nm-vpn-connection.c
4404                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4405                         not string
4406
4407         * src/nm-activation-request.c
4408                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4409                         not string
4410
4411 2008-03-29  Dan Williams  <dcbw@redhat.com>
4412
4413         * libnm-glib/nm-device-802-11-wireless.c
4414                 - (access_point_added_proxy): create new APs if not found
4415
4416 2008-03-29  Dan Williams  <dcbw@redhat.com>
4417
4418         * libnm-glib/nm-client.c
4419                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4420                         before freeing them
4421
4422 2008-03-29  Dan Williams  <dcbw@redhat.com>
4423
4424         * system-settings/plugins/ifcfg-fedora/parser.c
4425                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4426                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4427
4428 2008-03-29  Dan Williams  <dcbw@redhat.com>
4429
4430         * system-settings/plugins/ifcfg-fedora/parser.c
4431                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4432
4433 2008-03-27  Dan Williams  <dcbw@redhat.com>
4434
4435         * nm-object.c
4436                 - (nm_object_queue_notify): don't notify multiple times for the same
4437                         property
4438
4439         * nm-object-private.h
4440                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4441                         if it has zero elements
4442
4443         * nm-ip4-config.c
4444                 - (finalize): use g_ptr_array_foreach() when freeing domains
4445                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4446
4447         * nm-active-connection.c
4448                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4449
4450         * nm-device-802-11-wireless.c
4451           nm-device-802-11-wireless.h
4452                 - (nm_device_802_11_wireless_get_access_points): return const; use
4453                         handle_ptr_array_return()
4454
4455         * nm-types.c
4456                 - (nm_object_array_demarshal): always create an array, even of length
4457                         zero, to distinguish between "NM returned no items" and "haven't
4458                         asked NM yet"
4459
4460         * nm-client.c
4461                 - (dispose): free active connections too
4462                 - (proxy_name_owner_changed): free active connections too when NM goes
4463                         away
4464                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4465                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4466
4467 2008-03-26  Dan Williams  <dcbw@redhat.com>
4468
4469         Rework VPN connection handling for a more consistent D-Bus API.  The
4470         VPNManager object has been removed, and active VPN connections are now the
4471         same as any other active connection.  The Manager object's ActivateConnection
4472         and DeactivateConnection methods are used to start and stop a VPN connection,
4473         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4474         When activating a VPN connection, pass the path of the active connection
4475         to which the VPN connection is tied in the 'specific_object' argument.
4476
4477         Consequently, the libnm-glib API has been reworked to match this arrangement,
4478         with the VPNManager object removed, and the NMVPNConnection objects now
4479         being subclasses of NMActiveConnection.
4480
4481 2008-03-25  Dan Williams  <dcbw@redhat.com>
4482
4483         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4484
4485         * initscript/Arch/networkmanager.in
4486           initscript/Arch/networkmanager-dispatcher.in
4487                 - Updates for Arch Linux (gnome.org #523701)
4488
4489 2008-03-25  Dan Williams  <dcbw@redhat.com>
4490
4491         * libnm-glib/nm-ip4-config.c
4492           libnm-glib/nm-active-connection.c
4493           libnm-glib/nm-access-point.c
4494                 - Use nm_object_queue_notify() instead of g_object_notify()
4495
4496         * libnm-glib/nm-device.c
4497                 - (demarshal_ip4_config): distinguish between successful but missing
4498                         ip4-config request, and unsuccessful and missing ip4-config request
4499                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4500                         path
4501                 - Use nm_object_queue_notify() instead of g_object_notify()
4502
4503         * libnm-glib/nm-device-802-11-wireless.c
4504                 - (demarshal_active_ap): distinguish between successfull but missing
4505                         active-ap request, and unsuccessful and missing active-ap request
4506                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4507                         code
4508                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4509                         for the NMClient to notify the device that wireless is disabled,
4510                         and therefore to clear the AP list and active AP
4511                 - Use nm_object_queue_notify() instead of g_object_notify()
4512
4513         * libnm-glib/nm-client.c
4514                 - (poke_wireless_devices_with_rf_status): new function
4515                 - (update_wireless_status): notify wireless devices of the rfkill status
4516                         so they can clean up if needed
4517                 - Use nm_object_queue_notify() instead of g_object_notify()
4518
4519 2008-03-25  Dan Williams  <dcbw@redhat.com>
4520
4521         * libnm-glib/nm-object.c
4522           libnm-glib/nm-object-private.h
4523                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4524                         signals to an idle handler
4525                 - (nm_object_get_property): add a timeout to the D-Bus method call
4526
4527 2008-03-25  Dan Williams  <dcbw@redhat.com>
4528
4529         * introspection/nm-device-cdma.xml
4530           introspection/nm-device-gsm.xml
4531           introspection/Makefile.am
4532           introspection/all.xml
4533                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4534
4535         * src/nm-gsm-device.h
4536           src/nm-gsm-device.c
4537           src/nm-cdma-device.h
4538           src/nm-cdma-device.c
4539           src/Makefile.am
4540                 - Implement PropertiesChanged signals
4541
4542         * libnm-glib/nm-cdma-device.c
4543           libnm-glib/nm-cdma-device.c
4544                 - Attach to PropertiesChanged signals
4545
4546 2008-03-24  Dan Williams  <dcbw@redhat.com>
4547
4548         * libnm-glib/nm-client.c
4549                 - (client_device_added_proxy): add new devices to the internal device
4550                         list so they appear to clients
4551
4552 2008-03-24  Dan Williams  <dcbw@redhat.com>
4553
4554         Massive fixup of libnm-glib to:
4555         a) have all objects (with the exception of VPN) cache their properties and
4556                 update them asynchronously on PropertiesChanged signals from NM
4557         b) return internal const data for most attributes/properties instead of
4558                 allocated values that the caller must free
4559         c) cache wrapped objects such that a given D-Bus path will always map to the
4560                 same GObject returned by libnm-glib
4561         d) remove a few signals and move them to GObject property notifications
4562         e) match recent NM D-Bus API changes for activation/deactivation
4563         f) remove some private functions from libnm-glib headers
4564
4565 2008-03-20  Dan Williams  <dcbw@redhat.com>
4566
4567         * src/nm-manager.c
4568                 - (nm_manager_update_state, manager_device_state_changed,
4569                    nm_manager_activate_device, connection_added_default_handler,
4570                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4571                         queue PropertyChanged singals when the active connections change
4572
4573 2008-03-20  Dan Williams  <dcbw@redhat.com>
4574
4575         * introspection/nm-manager.xml
4576           introspection/nm-manager-client.xml
4577                 - (ActivateConnection): return the object path of the active connection
4578                         on success
4579                 - (GetActiveConnections): remove
4580                 - (DeactivateConnection): new function; deactivate a currently active
4581                         connection
4582                 - Add an ActiveConnections property which returns an array of
4583                         active connection object paths
4584
4585         * introspection/nm-device.xml
4586                 - (Deactivate): remove
4587
4588         * introspection/all.xml
4589                 - Add ActiveConnection introspection
4590
4591         * introspection/nm-active-connection.xml
4592                 - Add the ActiveConnection object
4593
4594         * include/NetworkManager.h
4595                 - Add the Connection.Active D-Bus interface
4596
4597         * src/nm-device-interface.c
4598                 - (impl_device_deactivate): remove
4599
4600         * src/nm-activation-request.c
4601           src/nm-activation-request.c
4602           src/Makefile.am
4603                 - Implement the Connection.Active D-Bus interface
4604
4605         * src/nm-manager.c
4606                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4607                 - (nm_manager_activate_device): return the active connection path
4608                 - (connection_added_default_handler, impl_manager_activate_connection):
4609                         return the active connection to the caller
4610                 - (add_one_connection_element, impl_manager_get_active_connections):
4611                         remove
4612                 - (impl_manager_deactivate_connection): new function; deactivate an
4613                         active connection
4614
4615         * libnm-glib/nm-device.c
4616           libnm-glib/nm-device.h
4617                 - Remove Deactivate() function
4618
4619 2008-03-19  Dan Williams  <dcbw@redhat.com>
4620
4621         * introspection/nm-manager.xml
4622           introspection/nm-manager-client.xml
4623                 - Rename the ActivateDevice method to ActivateConnection to better
4624                         reflect it's usage; it's arguments get reordered a bit too
4625                 - Convert GetActiveConnections method return from a struct to a dict
4626
4627         * include/NetworkManager.h
4628                 - Define the dict keys for return value of GetActiveConnections
4629
4630         * src/nm-manager.c
4631                 - impl_manager_activate_device -> impl_manager_activate_connection
4632                 - (add_one_connection_element): return a populated hash table, not
4633                         a structure
4634
4635         * libnm-glib/nm-client.c
4636           libnm-glib/nm-client.h
4637                 - nm_client_activate_device -> nm_client_activate_connection
4638                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4639                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4640                         instead of the custom structures.  Each element of the returned list
4641                         must be freed with nm_client_free_active_connections_element()
4642
4643 2008-03-18  Dan Williams  <dcbw@redhat.com>
4644
4645         * system-settings/plugins/ifcfg-fedora/parser.c
4646           system-settings/plugins/ifcfg-fedora/parser.h
4647           system-settings/plugins/ifcfg-fedora/plugin.c
4648                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4649                         profiles.  DNS servers and searches must now be stored in the ifcfg
4650                         files themselves
4651
4652 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4653
4654         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4655         print out username and password, it's supposed to be a secret.
4656
4657         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4658         request and set the device state accordingly.
4659
4660 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4661
4662         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4663
4664         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4665
4666 2008-03-18  Dan Williams  <dcbw@redhat.com>
4667
4668         * src/vpn-manager/nm-vpn-connection.c
4669                 - (get_secrets_cb): handle new GetSecrets return format
4670
4671 2008-03-18  Dan Williams  <dcbw@redhat.com>
4672
4673         Adapt system settings service for split 802.1x.
4674
4675         * system-settings/src/nm-system-config-interface.h
4676                 - clarify return value of get_secrets()
4677
4678         * system-settings/src/dbus-settings.c
4679                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4680                 - (check_for_secrets): check if there actually secrets returned by a
4681                         plugin
4682                 - (exported_connection_get_secrets): just return the plugin-returned
4683                         hash of settings' secrets if it looks valid
4684
4685         * system-settings/plugins/ifcfg-fedora/plugin.c
4686                 - (get_secrets): add split secrets with correct format to reply hash
4687
4688         * system-settings/plugins/ifcfg-fedora/parser.c
4689           system-settings/plugins/ifcfg-fedora/parser.h
4690                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4691                    connection_data_free, connection_data_add): keep secrets for
4692                         different settings in different hashes
4693
4694 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4695
4696         Clean up activating device deactivation.
4697
4698         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4699         should be done whether the device activation gets cancelled or the device
4700         is just getting deactivated.
4701         (nm_device_activation_cancel): Remove.
4702         (nm_device_deactivate_quickly): Handle the case where device is activating.
4703
4704         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4705         It does the exact same thing as real_deactivate_quickly().
4706
4707 2008-03-17  Dan Williams  <dcbw@redhat.com>
4708
4709         Split the 802.1x bits out of the wireless-security setting so they are
4710         generalized enough for wired 802.1x to use too.
4711
4712         * introspection/nm-exported-connection.xml
4713                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4714                         of just a hash of the secrets for one setting
4715
4716         * libnm-util/nm-setting-wireless-security.c
4717           libnm-util/nm-setting-wireless-security.h
4718                 - Remove 802.1x-specific stuff
4719                 - Added leap-username and leap-password properties for old-school LEAP
4720
4721         * src/nm-device.c
4722           src/nm-device.h
4723                 - (connection_secrets_updated_cb): take a list of updated settings names,
4724                         not just one
4725
4726         * src/supplicant-manager/nm-supplicant-config.c
4727           src/supplicant-manager/nm-supplicant-config.h
4728                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4729                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4730                         to nm_supplicant_config_add_setting_8021x()
4731                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4732                         the supplicant config
4733
4734         * src/nm-device-802-11-wireless.c
4735                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4736                 - (real_connection_secrets_updated): take a list of updated settings
4737                         names, not just one
4738
4739         * src/nm-device-802-3-ethernet.c
4740           src/nm-cdma-device.c
4741           src/nm-gsm-device.c
4742                 - (real_connection_secrets_updated_cb): take a list of updated settings
4743                         names, not just one
4744
4745         * src/nm-activation-request.c
4746           src/nm-activation-request.h
4747                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4748                         now passes a list of updated settings names, not just one
4749                 - (update_one_setting): new function; handle one updated setting
4750                 - (get_secrets_cb): handle multiple settings returned from the
4751                         settings service; have to be careful of ordering here as there are
4752                         some dependencies between settings (ex. wireless-security and 802.1x
4753                         in some cases)
4754
4755         * src/marshallers/nm-marshal.list
4756                 - new marshaller for connection-secrets-updated signal
4757
4758         * libnm-util/nm-setting-8021x.c
4759                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4760                         methods
4761                 - (verify): a valid 'eap' property is now required
4762
4763         * libnm-util/nm-connection.c
4764                 - (register_default_settings): add priorities to settings; there are
4765                         some dependencies between settings, and during the need_secrets
4766                         calls this priority needs to be respected.  For example, only the
4767                         wireless-security setting knows whether or not the connection is
4768                         going to use 802.1x or now, so it must be asked for secrets before
4769                         any existing 802.1x setting is
4770                 - (nm_connection_lookup_setting_type): expose
4771
4772         * libnm-util/nm-setting-wireless.c
4773                 - (verify): should verify even if all_settings is NULL; otherwise won't
4774                         catch the case where there is missing security
4775
4776         * libnm-util/nm-setting-wireless-security.c
4777                 - Remove everything to do with 802.1x
4778                 - Add old-school LEAP specific properties for username and password
4779                 - (need_secrets): rework LEAP secrets checking
4780                 - (verify): rework for LEAP and 802.1x verification
4781
4782 2008-03-17  Dan Williams  <dcbw@redhat.com>
4783
4784         * src/NetworkManagerPolicy.c
4785                 - (auto_activate_device): always remove the current activation check
4786                         from the pending activation list, otherwise when the policy gets
4787                         destroyed on NM exit it will attempt to free the already freed
4788                         activation check
4789
4790 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4791
4792         * src/backends/NetworkManagerSlackware.c 
4793         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4794
4795         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4796
4797 2008-03-14  Dan Williams  <dcbw@redhat.com>
4798
4799         * src/nm-manager.c
4800                 - (nm_device_interface_get_iface): g_object_get() will return an
4801                         allocated value, so this function must not return const
4802                 - (nm_device_interface_activate): free returned iface
4803
4804 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4805
4806         * libnm-util/Makefile.am: Add new files to build.
4807
4808         * libnm-util/nm-connection.c: Register NMSetting8021x.
4809
4810         * libnm-util/nm-setting-8021x.c
4811         * libnm-util/nm-setting-8021x.h: Implement.
4812
4813 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4814
4815         * libnm-util/Makefile.am: Add new files to build.
4816
4817         * libnm-util/nm-connection.c: Register NMSetting8021x.
4818
4819         * libnm-util/nm-setting-8021x.c
4820         * libnm-util/nm-setting-8021x.h: Implement.
4821
4822 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4823
4824         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4825         data.
4826
4827 2008-03-14  Dan Williams  <dcbw@redhat.com>
4828
4829         * include/wireless-helper.h
4830           include/Makefile.am
4831                 - One place for all the junk needed for #including wireless.h
4832
4833         * test/nm-tool.c
4834           src/NetworkManagerAP.c
4835           src/wpa.c
4836           src/Makefile.am
4837           libnm-util/nm-utils.c
4838           libnm-util/nm-setting-wireless.c
4839           libnm-glib/nm-device-802-11-wireless.c
4840           libnm-glib/nm-access-point.c
4841           libnm-glib/libnm-glib-test.c
4842                 - include wireless-helper.h, not iwlib.h
4843
4844         * configure.in
4845                 - Don't need libiw really, just need to check for wireless.h
4846
4847         * src/kernel-types.h
4848                 - Remove; used types moved into wpa.c
4849
4850         * src/nm-device-802-11-wireless.c
4851                 - (nm_device_802_11_wireless_update_signal_strength,
4852                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4853                    nm_device_802_11_wireless_set_mode,
4854                    nm_device_802_11_wireless_get_frequency,
4855                    nm_device_802_11_wireless_get_ssid,
4856                    nm_device_802_11_wireless_set_ssid,
4857                    nm_device_802_11_wireless_get_bitrate,
4858                    nm_device_802_11_wireless_get_bssid,
4859                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4860                         instead of iwlib functions
4861
4862 2008-03-14  Dan Williams  <dcbw@redhat.com>
4863
4864         * src/ppp-manager/nm-ppp-manager.c
4865                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4866                         should only take the DBusGMethodInvocation argument, not user/pass
4867                         too.  With dbus-glib, async functions only take 2 C arguments since
4868                         the real dbus method arguments get passed back with
4869                         dbus_g_method_return()
4870
4871 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4872
4873         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4874         Adapt the changes of NMSettingIP4Config.
4875
4876 2008-03-13  Dan Williams  <dcbw@redhat.com>
4877
4878         * src/NetworkManagerUtils.c
4879           src/NetworkManagerUtils.h
4880                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4881
4882         * src/NetworkManagerAP.c
4883           src/nm-device-802-11-wireless.c
4884           src/nm-device-802-3-ethernet.c
4885                 - s/iw_ether_ntop/nm_ether_ntop/g
4886
4887 2008-03-13  Dan Williams  <dcbw@redhat.com>
4888
4889         * src/NetworkManagerPolicy.c
4890                 - (update_routing_and_dns): never set the default route through an
4891                         IPv4LL addressed device
4892
4893 2008-03-13  Dan Williams  <dcbw@redhat.com>
4894
4895         * NetworkManagerUtils.c
4896           NetworkManagerUtils.h
4897                 - Remove NMSock stuff
4898                 - Remove the completion stuff
4899
4900         * nm-device.c
4901           nm-device.h
4902           NetworkManager.c
4903           NetworkManagerSystem.c
4904           autoip.c
4905           nm-device-802-11-wireless.c
4906           nm-device-802-3-ethernet.c
4907                 - Remove NMSock and completion stuff
4908                 - Remove nm_ioctl_info()
4909
4910 2008-03-12  Dan Williams  <dcbw@redhat.com>
4911
4912         * src/nm-device.c
4913                 - (merge_ip4_config): avoid duplicates
4914
4915 2008-03-12  Dan Williams  <dcbw@redhat.com>
4916
4917         * libnm-util/nm-setting-ip4-config.c
4918           libnm-util/nm-setting-ip4-config.h
4919                 - Remove 'manual' and 'autoip' properties
4920                 - Add 'method' property
4921                 - (verify): fix verification with 'method'
4922                 - (finalize): free 'method'
4923                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4924                         up for 'method'
4925
4926         * src/nm-device.c
4927                 - (real_act_stage3_ip_config_start): check IP4Config method
4928                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4929                         the future
4930                 - (merge_ip4_config): IP settings are valid with DHCP too
4931                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4932                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4933
4934         * src/nm-device-802-11-wireless.c
4935                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4936                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4937                         only on demand
4938
4939         * system-settings/plugins/ifcfg-fedora/parser.c
4940           system-settings/plugins/ifcfg-suse/parser.c
4941                 - (make_ip4_setting): fix up for 'method'
4942
4943 2008-03-12  Dan Williams  <dcbw@redhat.com>
4944
4945         * system-settings/plugins/ifcfg-fedora/parser.c
4946           system-settings/plugins/ifcfg-fedora/parser.h
4947                 - (get_ifcfg_name): ignore more file suffixes
4948                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4949
4950 2008-03-12  Dan Williams  <dcbw@redhat.com>
4951
4952         * configure.in
4953                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4954
4955 2008-03-12  Dan Williams  <dcbw@redhat.com>
4956
4957         * system-settings/plugins/ifcfg-fedora/plugin.c
4958                 - (write_auto_wired_connection): new function; write out an auto
4959                         wired connection file since the applet isn't doing it any more
4960                 - (reload_all_connections): write out the auto wired connection file
4961                         if there aren't any wired connections already
4962                 - (init): don't leak a GError
4963
4964 2008-03-12  Dan Williams  <dcbw@redhat.com>
4965
4966         * src/nm-device-interface.c
4967                 - (nm_device_interface_activate): print the ID of the connection
4968                         that's about to be activated
4969
4970 2008-03-12  Dan Williams  <dcbw@redhat.com>
4971
4972         Harmonize the 802.11 bitrate API
4973
4974         * introspection/nm-access-point.xml
4975                 - 'Rate' -> 'MaxBitrate'; clarify units
4976
4977         * introspection/nm-device-802-11-wireless.xml
4978                 - Clarify units of 'Bitrate'
4979
4980         * src/NetworkManagerAP.c
4981           src/NetworkManagerAP.h
4982                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4983                         property to 'max-bitrate'
4984                 - (foreach_property_cb): convert rate to Kb/s
4985
4986         * src/nm-device-802-11-wireless.c
4987                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4988
4989         * libnm-glib/nm-access-point.c
4990           libnm-glib/nm-access-point.h
4991                 - 'rate' -> 'max-bitrate'
4992
4993         * test/nm-tool.c
4994           libnm-glib/libnm-glib-test.c
4995                 - Fix up for these changes
4996
4997 2008-03-12  Dan Williams  <dcbw@redhat.com>
4998
4999         * src/nm-device.c
5000                 - (nm_device_set_ip4_config): don't send property notifications when
5001                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5002                         which dbus-glib can't parse because the value is NULL, which isn't
5003                         a legal object path.  Setting the IP4 config to NULL is only
5004                         valid when deactivating a device anyway, so the device state change
5005                         will alert listeners that the ip4 config is invalid.
5006
5007 2008-03-12  Dan Williams  <dcbw@redhat.com>
5008
5009         * src/nm-properties-changed-signal.c
5010                 - (add_to_string): better handling of NULL objects
5011
5012 2008-03-12  Dan Williams  <dcbw@redhat.com>
5013
5014         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5015         convert the libnm-glib NMDevice8023Ethernet to cached properties
5016
5017         * introspection/nm-device-802-3-ethernet.xml
5018                 - New 'Carrier' property
5019                 - New 'PropertiesChanged' signal
5020
5021         * introspection/nm-device.xml
5022                 - Remove 'Carrier' property
5023                 - Remove 'CarrierChanged' signal
5024
5025         * src/nm-device-interface.c
5026           src/nm-device-interface.h
5027                 - (nm_device_interface_init): remove 'carrier' property and
5028                         'carrier-changed' signal
5029
5030         * src/nm-device.c
5031           src/nm-device.h
5032                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5033                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5034                         the link here; wired device will handle that
5035                 - (handle_dhcp_lease_change): don't bother updating link here
5036                 - (get_property, nm_device_class_init): remove carrier property
5037
5038         * src/nm-device-802-11-wireless.c
5039                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5040                         real_update_link(); wireless devices don't use carrier at all
5041                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5042                    supplicant_iface_connection_state_cb_handler,
5043                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5044
5045         * src/nm-device-802-3-ethernet.c
5046           src/nm-device-802-3-ethernet.h
5047                 - (nm_device_802_3_ethernet_carrier_on,
5048                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5049                         instead of nm_device_set_carrier()
5050                 - (device_state_changed): update link from sysfs on activation;
5051                         replaces real_update_link()
5052                 - (real_update_link): remove, replaced by device_state_changed()
5053                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5054                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5055                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5056                         new get_carrier function
5057                 - (get_property): add 'carrier' property
5058                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5059                         hook into property-changed signal helper
5060
5061         * src/NetworkManagerPolicy.c
5062                 - (device_carrier_changed): will only ever be called with a wired device
5063                 - (device_added): only hook up to carrier-changed for wired devices
5064
5065         * libnm-glib/nm-device.c
5066           libnm-glib/nm-device.h
5067                 - (constructor, nm_device_class_init): remove carrier-changed signal
5068                 - (device_carrier_changed_proxy): remove; unused
5069                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5070
5071         * libnm-glib/nm-device-802-3-ethernet.c
5072           libnm-glib/nm-device-802-3-ethernet.h
5073                 - Convert to cached properties like AP and Wireless objects
5074                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5075                         instead of a 'char *', return value should not be freed
5076                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5077                 - (constructor): hook into properties-changed helper
5078                 - (set_property, get_property): new functions
5079                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5080
5081         * test/nm-tool.c
5082                 - (detail_device): strdup the wired hardware address too since it's
5083                         cached now
5084
5085         * libnm-glib/libnm-glib-test.c
5086                 - (dump_wired): strdup the wired hardware address too since it's
5087                         cached now
5088
5089 2008-03-12  Dan Williams  <dcbw@redhat.com>
5090
5091         * libnm-util/nm-setting-ip4-config.c
5092           libnm-util/nm-setting-ip4-config.h
5093                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5094                         the 'autoip' property from the spec
5095
5096 2008-03-11  Dan Williams  <dcbw@redhat.com>
5097
5098         * src/backends/NetworkManagerGeneric.c
5099           src/backends/NetworkManagerGeneric.h
5100                 - (nm_generic_device_get_use_dhcp): remove
5101
5102 2008-03-11  Dan Williams  <dcbw@redhat.com>
5103
5104         * src/nm-device.c
5105                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5106                         already in nm_device_set_ip4_config()
5107                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5108                         due to a DHCP rebind fails
5109                 - (nm_device_set_ip4_config): send property notifications when the
5110                         ip4 config changes
5111                 - (get_property): only report IP4Config property during valid states
5112
5113         * src/NetworkManagerPolicy.c
5114                 - (update_routing_and_dns): ignore devices that don't have an ip4
5115                         config; add parameter 'force_update' to allow callers to specify
5116                         that changes should be made even if the default device doesn't change
5117                 - (device_ip4_config_changed): update DNS and routing when the device's
5118                         IP4Config changes, like for DHCP updates
5119                 - (device_added): listen for ip4-config property changes
5120
5121 2008-03-11  Dan Williams  <dcbw@redhat.com>
5122
5123         Fix address handling as a result of DHCP rebind/renew/reboot.
5124
5125         * src/NetworkManagerSystem.c
5126                 - (check_one_address): delete an address if it doesn't match a given
5127                         one for the same interface
5128                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5129                         be smarter about flushing addresses (only flush ones that don't
5130                         match the one we're about to apply)
5131
5132         * src/backends/NetworkManagerDebian.c
5133           src/backends/NetworkManagerSuSE.c
5134           src/backends/NetworkManagerArch.c
5135           src/backends/NetworkManagerSlackware.c
5136           src/backends/NetworkManagerRedHat.c
5137           src/backends/NetworkManagerPaldo.c
5138           src/backends/NetworkManagerFrugalware.c
5139           src/backends/NetworkManagerGentoo.c
5140                 - (nm_system_delete_default_route): remove
5141
5142         * src/backends/NetworkManagerGeneric.c
5143           src/backends/NetworkManagerGeneric.h
5144                 - (nm_generic_enable_loopback): fix the loopback device label
5145                 - (nm_generic_delete_default_route): remove; no longer used
5146
5147 2008-03-11  Dan Williams  <dcbw@redhat.com>
5148
5149         * src/nm-device-interface.h
5150                 - Delimit property name words with '-', otherwise g_object_notify()
5151                         doesn't work the way we expect
5152
5153 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5154
5155         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5156
5157 2008-03-11  Dan Williams  <dcbw@redhat.com>
5158
5159         * src/NetworkManagerPolicy.c
5160                 - (update_routing_and_dns): don't change anything if the default device
5161                         hasn't changed; print something out when switching the default route
5162                         and DNS
5163
5164 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5165
5166         Implement PPPoE.
5167
5168         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5169         setting. Use "nic-$eth".
5170
5171         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5172         the device is activating here to fix a race condition.
5173
5174         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5175
5176         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5177         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5178         (nm_ppp_manager_start): Take activation request instead of connection, we might
5179         need it for asking secrets.
5180         (nm_ppp_manager_update_secrets): Implement.
5181
5182         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5183         ppp manager start. It might be needed for asking secrets.
5184
5185         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5186         (ppp_state_changed): Handle pppd daemon disappearing.
5187         (pppoe_stage2_config): Send activation request to ppp manager start.
5188
5189         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5190
5191         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5192         username and password.
5193         
5194 2008-03-10  Dan Williams  <dcbw@redhat.com>
5195
5196         * src/nm-device.c
5197                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5198                         response to a DHCP lease change
5199                 - (dhcp_state_changed): handle DHCP lease changes while activated
5200                 - (nm_device_set_ip4_config): remove a previously set named config
5201                         when setting an ip4 config
5202
5203 2008-03-10  Dan Williams  <dcbw@redhat.com>
5204
5205         * src/nm-serial-device.c
5206                 - (nm_serial_device_send_command): report errno on error
5207                 - (get_reply_got_data): limit the size of the overall buffer
5208                 - (wait_for_reply_info_destroy): destroy result string
5209                 - (wait_for_reply_got_data): append received data to an overall buffer
5210                         until timeout, filled buffer, or error instead of keeping a per-call
5211                         buffer.  Some devices send data slowly enough that this function
5212                         gets called multiple times for the same command stream.
5213                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5214                         wait_for_reply_got_data() here
5215
5216 2008-03-10  Dan Williams  <dcbw@redhat.com>
5217
5218         * src/nm-cdma-device.c
5219                 - (do_dial, init_modem): handle errors from
5220                         nm_serial_device_send_command_string()
5221
5222         * src/nm-gsm-device.c
5223                 - (do_dial, manual_registration, automatic_registration_get_network,
5224                    automatic_registration, enter_pin, check_pin, init_modem): handle
5225                         errors from nm_serial_device_send_command_string()
5226
5227 2008-03-10  Dan Williams  <dcbw@redhat.com>
5228
5229         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5230
5231         * src/named-manager/nm-named-manager.c
5232                 - (compute_searches): prefer searches before domains
5233                 - (compute_domain): new function
5234                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5235                 - (merge_one_ip4_config): if there are no searches in the source config,
5236                         merge domains of the source config into the target config
5237                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5238
5239 2008-03-10  Dan Williams  <dcbw@redhat.com>
5240
5241         * src/nm-serial-device.c
5242                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5243                 - (wait_for_reply_got_data): try to handle slower serial devices where
5244                         the reply is broken up into multiple reads by concatenating replies
5245                         together until either an error is received or the search string is
5246                         found
5247
5248 2008-03-10  Dan Williams  <dcbw@redhat.com>
5249
5250         * src/nm-device.c
5251                 - (nm_device_bring_down): deactivate the device if it's activating too,
5252                         not just if it's already activated.  This makes sure that everything
5253                         from an association attempt is cleaned up (like DHCP for example)
5254
5255 2008-03-10  Dan Williams  <dcbw@redhat.com>
5256
5257         * src/nm-serial-device.c
5258                 - (config_fd): report error from TCSETA
5259                 - (nm_serial_device_open): fail when config_fd() fails
5260
5261 2008-03-10  Dan Williams  <dcbw@redhat.com>
5262
5263         * src/nm-ip4-config.c
5264                 - (nm_ip4_config_init): allocate searches list
5265                 - (finalize): free searches list
5266
5267 2008-03-09  Dan Williams  <dcbw@redhat.com>
5268
5269         Patch from Bas Zoetekouw <bas@debian.org>
5270
5271         * src/dhcp-manager/nm-dhcp-manager.c
5272                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5273
5274 2008-03-09  Dan Williams  <dcbw@redhat.com>
5275
5276         Patch from Bas Zoetekouw <bas@debian.org>
5277
5278         * src/nm-ip4-config.c
5279           src/nm-ip4-config.h
5280                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5281                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5282                         domains.  'searches' is the correct way to store multiple search
5283                         domains, whereas 'domains' is really just supposed to store one
5284                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5285                         search domains to the client.
5286                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5287
5288 2008-03-09  Dan Williams  <dcbw@redhat.com>
5289
5290         * src/dhcp-manager/nm-dhcp-manager.c
5291                 - (dhclient_run): send interface-specific config files to dhclient
5292
5293 2008-03-07  Dan Williams  <dcbw@redhat.com>
5294
5295         * system-settings/plugins/ifcfg-fedora/parser.c
5296                 - (is_wireless_device): new function; test a device for wireless
5297                         extensions
5298                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5299                         test the device for wireless extensions to determine the type
5300
5301 2008-03-07  Dan Williams  <dcbw@redhat.com>
5302
5303         Change manager's StateChange signal to StateChanged for consistency.
5304
5305         * introspection/nm-manager.xml
5306                 - Add 'StateChanged' signal
5307                 - Move 'StateChange' down to the deprecated section
5308
5309         * src/nm-hal-manager.c
5310                 - (nm_hal_manager_new): connect to 'state-changed' instead
5311
5312         * src/NetworkManagerPolicy.c
5313                 - (nm_policy_new): connect to 'state-changed' instead
5314
5315         * src/nm-manager.c
5316           src/nm-manager.h
5317                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5318                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5319                         of 'state-change'
5320
5321         * libnm-glib/nm-client.c
5322           libnm-glib/nm-client.h
5323                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5324                         track and proxy 'state-changed' instead of 'state-change'
5325
5326 2008-03-07  Dan Williams  <dcbw@redhat.com>
5327
5328         First pass of multiple active device support.  Expect bugs.
5329
5330         * src/nm-ip4-config.c
5331           src/nm-ip4-config.h
5332                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5333                         there are better ways to do this in the named manager
5334
5335         * src/nm-device.c
5336           src/nm-device.h
5337                 - (nm_device_can_activate): return whether the device can activate a
5338                         connection right now; taking into account things like carrier state
5339                         and rfkill state
5340                 - (nm_device_get_best_auto_connection): renamed from
5341                         nm_device_get_best_connection
5342                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5343                         device subclasses themselves, so that each device can override the
5344                         MTU from it's NMSetting subclass if needed
5345                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5346                         in NetworkManagerSystem.c, not here
5347
5348         * src/named-manager/nm-named-manager.c
5349           src/named-manager/nm-named-manager.h
5350                 - (nm_named_manager_name_owner_changed,
5351                    nm_named_manager_dbus_connection_changed): fix for changes to
5352                         rewrite_resolv_conf()
5353                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5354                         from parameter list
5355                 - (merge_one_ip4_config): new function; merge ip4 configs together
5356                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5357                         ip4 configs; the VPN config takes precedence, then the best
5358                         device config, then the rest of the configs
5359                 - (get_domain_for_config): take the NMNamedManager as an argument
5360                         to check whether the config is the VPN config
5361                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5362                         attribute from ip4 configs
5363                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5364                 - (remove_ip4_config_from_named): fix for changes to
5365                         get_domain_for_config()
5366                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5367                         based on its type; callers must pass in the type now
5368                 - (get_last_default_domain): remove, unused
5369                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5370
5371         * src/nm-device-802-11-wireless.c
5372                 - (real_can_activate): new function
5373                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5374                 - (real_act_stage4_get_ip4_config): handle MTU override
5375
5376         * src/nm-device-802-3-ethernet.c
5377                 - (real_can_activate): new function
5378                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5379                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5380
5381         * src/vpn-manager/nm-vpn-connection.c
5382                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5383                         attribute on the ip4 config
5384
5385         * src/NetworkManagerPolicy.c
5386                 - (nm_policy_auto_get_best_device): remove
5387                 - (nm_policy_device_change_check): remove
5388                 - (update_default_route): new function; set the default route via
5389                         the specified device
5390                 - (get_device_priority): new function; return the priority number of
5391                         a device type WRT which one should have the default route.  Order is
5392                         (highest to lowest)  wired, wireless, GSM, CDMA.
5393                 - (update_routing_and_dns): new function; determine which device should
5394                         have the default route, then update the routing table and DNS
5395                 - (maybe_auto_activate_device): new function; if a device is now
5396                         available for activation, find out what connection it would like to
5397                         activate and do it
5398                 - (schedule_activate_check): new function; if a device can be activated
5399                         now, schedule the activation.  Each device may have only one
5400                         pending activation at a given time.
5401                 - (device_state_changed): if activation was canceled, try again,
5402                         possibly with another connection; if the device was activated,
5403                         update routing and DNS; if the device was deactivated, try again
5404                         with another connection
5405                 - (device_carrier_changed): if there is no carrier, deactivate the
5406                         device; otherwise schedule an activation check for the device
5407                 - (wireless_networks_changed): schedule an activation check for the
5408                         device
5409                 - (device_added): keep track of the signal handler IDs so they can
5410                         be removed when the device goes away
5411                 - (device_removed): remove any signal handlers that might be attached
5412                         to the device; update routing and DNS
5413                 - (schedule_activate_all): new function
5414                 - (connections_added, connection_added, connection_updated): when
5415                         connections change, schedule all devices for an activation check
5416                 - (connection_removed): when a device is deactivated because its
5417                         connection was removed, schedule another activation check for it
5418                 - (nm_policy_destroy): destroy pending activations and disconnect
5419                         all device signal handlers
5420
5421         * src/nm-manager.c
5422                 - (nm_manager_activate_device): if the device was already actived,
5423                         deactivate it
5424                 - (deactivate_old_device): remove
5425                 - (connection_added_default_handler, impl_manager_activate_device):
5426                         don't deactivate other devices when activating this one
5427
5428         * src/backends/NetworkManagerGentoo.c
5429           src/backends/NetworkManagerFrugalware.c
5430           src/backends/NetworkManagerPaldo.c
5431           src/backends/NetworkManagerRedHat.c
5432           src/backends/NetworkManagerSlackware.c
5433           src/backends/NetworkManagerArch.c
5434           src/backends/NetworkManagerSuSE.c
5435           src/backends/NetworkManagerDebian.c
5436                 - (nm_system_get_mtu): remove; MTU should be provided through the
5437                         distro's system settings service plugin instead
5438                 - (nm_system_device_add_default_route_via_device): remove
5439                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5440                 - (nm_system_device_replace_default_route): new function; call
5441                         generic implementation
5442
5443         * src/backends/NetworkManagerGeneric.c
5444           src/backends/NetworkManagerGeneric.h
5445                 - (nm_generic_device_add_default_route_via_device,
5446                    nm_generic_device_add_default_route_via_device_with_iface): remove
5447                 - (nm_generic_device_replace_default_route): replace the default route
5448                         with the given route via some gateway
5449
5450         * src/NetworkManagerSystem.c
5451           src/NetworkManagerSystem.h
5452                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5453                         to routing and DNS; but set the MTU here
5454                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5455                         ip_iface of the active device; use the standard MTU setting function
5456                 - (nm_system_set_mtu): remove
5457                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5458
5459 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5460
5461         Rework the interaction between ppp manager and pppd plugin. Register a well
5462         known DBUS service in manager and let the plugin call it's methods instead
5463         of listening plugin's signals.
5464
5465         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5466         of emitting signals.
5467
5468         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5469
5470         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5471
5472         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5473         nm_ppp_manager_start().
5474
5475         * introspection/nm-ppp-manager.xml: New file.
5476
5477         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5478         the case correctly where driver is trying to send -1 for the speed, which gets
5479         casted to u16 and thus is always > 0.
5480
5481 2008-03-07  Dan Williams  <dcbw@redhat.com>
5482
5483         * src/nm-hal-manager.c
5484                 - (nm_get_device_driver_name): use net.originating_device first, fall
5485                         back to physical device.  HAL has deprecated physical_device.
5486
5487         * libnm-glib/nm-device.c
5488                 - (get_product_and_vendor): use net.originating_device first, fall
5489                         back to physical device.  HAL has deprecated physical_device.
5490                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5491
5492 2008-03-07  Dan Williams  <dcbw@redhat.com>
5493
5494         * src/nm-netlink.c
5495                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5496                         last commit; fix that
5497                 - (get_link_cache): print error string
5498
5499 2008-03-07  Dan Williams  <dcbw@redhat.com>
5500
5501         * src/nm-netlink.c
5502                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5503                         don't need this hack any more (Benoit Boissinot)
5504
5505 2008-03-06  Dan Williams  <dcbw@redhat.com>
5506
5507         * autogen.sh
5508                 - Die gnome-common, die
5509
5510 2008-03-04  Dan Williams  <dcbw@redhat.com>
5511
5512         Patch from Michael Biebl <biebl@debian.org>
5513
5514         * NetworkManager.pc.in
5515                 - doesn't actually depend on dbus-1
5516
5517         * libnm-util/nm-utils.h
5518                 - remove unused #include <dbus/dbus.h>
5519
5520         * libnm-glib/libnm_glib.pc.in
5521                 - depends on glib and dbus-glib
5522
5523 2008-03-02  Dan Williams  <dcbw@redhat.com>
5524
5525         * src/NetworkManagerPolicy.c
5526                 - s/device_state_changed_idle_id/update_state_id/
5527
5528 2008-03-02  Dan Williams  <dcbw@redhat.com>
5529
5530         * src/nm-device.c
5531           src/nm-device.h
5532           src/nm-device-802-11-wireless.c
5533           src/nm-device-802-3-ethernet.c
5534           src/NetworkManagerPolicy.c
5535                 - s/link_active/carrier
5536                 - nm_device_set_active_link() -> nm_device_set_carrier()
5537                 - nm_device_has_active_link() -> nm_device_get_carrier()
5538
5539 2008-03-02  Dan Williams  <dcbw@redhat.com>
5540
5541         * system-settings/plugins/ifcfg-fedora/parser.c
5542                 - (make_wireless_setting): fail connection creation on missing SSID
5543
5544 2008-02-29  Dan Williams  <dcbw@redhat.com>
5545
5546         * src/NetworkManagerPolicy.c
5547                 - (nm_policy_device_change_check): ensure that a previously active
5548                         device with a system connection has a link before denying a switch
5549                         to a user connection
5550
5551 2008-02-29  Dan Williams  <dcbw@redhat.com>
5552
5553         * src/nm-device-802-11-wireless.c
5554                 - (link_timeout_cb): try again if scanning; deactivate the device when
5555                         activated if the link dies
5556                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5557                         15 seconds
5558
5559 2008-02-29  Dan Williams  <dcbw@redhat.com>
5560
5561         * src/nm-device-802-11-wireless.c
5562           src/nm-device-802-11-wireless.h
5563                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5564                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5565                 - (device_cleanup): reset the scan interval lower when the device
5566                         deactivates
5567                 - (can_scan): base decision mostly off device state, not supplicant
5568                         interface state since the supplicant interface state isn't a
5569                         great indicator of whether the device is active or not
5570                 - (request_wireless_scan): clean up; schedule the next scan here
5571                 - (schedule_scan): only back the scan interval off if a new scan
5572                         actually gets scheduled; and make scan intervals tighter when the
5573                         device is disconnected
5574                 - (supplicant_iface_state_cb_handler): fold in the bits of
5575                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5576                         interval to minimum
5577                 - (activation_success_handler): reset scan interval to something
5578                         reasonable 
5579
5580 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5581
5582         reviewed by: Steev <steev@steev.net>
5583
5584         * configure.in:
5585         * src/backends/NetworkManagerGentoo.c:
5586         (nm_system_restart_mdns_responder):
5587                 Howl is no longer a supported mDNS provider
5588
5589 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5590
5591         Get rid of a bunch of unused distro specific functions.
5592
5593 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5594
5595         Implement suse plugin for system settings daemon.
5596
5597         * system-settings/plugins/ifcfg-suse/*: Implement.
5598
5599         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5600         suse.
5601
5602         * configure.in: Check (without failing) for gio.
5603         Create ifcfg-suse plugin's Makefile.
5604
5605 2008-02-20  Dan Williams  <dcbw@redhat.com>
5606
5607         * libnm-util/nm-connection.c
5608           libnm-util/nm-connection.h
5609                 - (nm_connection_compare): accept compare flags and pass them to the
5610                         setting compare function
5611
5612         * libnm-util/nm-setting.c
5613           libnm-util/nm-setting.h
5614                 - (nm_setting_compare): accept compare flags; ignore properties that are
5615                         marked fuzzy
5616
5617         * libnm-util/nm-setting-connection.c
5618           libnm-util/nm-setting-wireless.c
5619           libnm-util/nm-setting-ppp.c
5620           libnm-util/nm-setting-wired.c
5621                 - Mark some setting properties as ignorable when doing a fuzzy compare
5622
5623         * src/nm-device.c
5624                 - (device_activation_precheck): use exact compare
5625
5626 2008-02-20  Dan Williams  <dcbw@redhat.com>
5627
5628         * src/NetworkManagerPolicy.c
5629                 - (nm_policy_device_change_check): get scope off the connection, not
5630                         using the manager helper
5631
5632         * src/nm-manager.c
5633           src/nm-manager.h
5634                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5635                 - (connection_get_settings_cb): set scope and path on connection, not
5636                         using GObject data items
5637                 - (get_connection_for_proxy): don't need to return path, since that
5638                         can be gotten from the connection
5639                 - (get_connection_for_proxy): get path off the connection, not from
5640                         parameters
5641                 - (connection_removed_cb, connection_updated_cb): don't need to get
5642                         path from get_connection_for_proxy(); get scope off the connection
5643                         instead of using GObject data items
5644                 - (connection_added_default_handler, add_one_connection_element): use
5645                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5646                 - (nm_manager_get_connection_dbus_path): remove
5647                 - (nm_manager_get_connection_scope): remove
5648
5649 2008-02-20  Dan Williams  <dcbw@redhat.com>
5650
5651         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5652                 on confusing names
5653
5654         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5655                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5656                 NMExportedConnection
5657
5658         * Internally rename NMConnectionType -> NMConnectionScope
5659
5660         * Provide default implementations of the 'get_id' and 'get_settings' methods
5661                 of NMExportedConnection
5662
5663 2008-02-15  Dan Williams  <dcbw@redhat.com>
5664
5665         * src/nm-device-802-11-wireless.c
5666                 - (device_cleanup): release the AP list here too so that the AP list
5667                         doesn't survive across suspend/resume and up/down.  There is some
5668                         room for optimization, for example blow the list away when the card
5669                         brought back up, but only if the device has only been down for a
5670                         minute or more.
5671
5672 2008-02-15  Dan Williams  <dcbw@redhat.com>
5673
5674         * src/nm-hal-manager.c
5675                 - (modem_device_creator): recognize new HAL modem capabilities
5676
5677 2008-02-12  Dan Williams  <dcbw@redhat.com>
5678
5679         * system-settings/plugins/ifcfg-fedora/plugin.c
5680                 - (watch_path): handle IN_DELETE_SELF too
5681                 - (handle_connection_changed): notify when removing a connection
5682                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5683                         case of a file moving out of the profile directory
5684
5685 2008-02-12  Dan Williams  <dcbw@redhat.com>
5686
5687         * system-settings/plugins/ifcfg-fedora/parser.c
5688                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5689
5690 2008-02-12  Dan Williams  <dcbw@redhat.com>
5691
5692         * libnm-util/nm-utils.c
5693                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5694                         just any empty array
5695
5696 2008-02-12  Dan Williams  <dcbw@redhat.com>
5697
5698         * system-settings/src/nm-system-config-interface.c
5699           system-settings/src/nm-system-config-interface.h
5700                 - (load_connections): get_connections() should now return an allocated
5701                         GSList that the system settings service will free
5702
5703         * system-settings/plugins/ifcfg-fedora/plugin.c
5704           system-settings/plugins/ifcfg-fedora/parser.h
5705           system-settings/plugins/ifcfg-fedora/parser.c
5706                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5707                         in the profile directory, handle resolv.conf file changes
5708
5709 2008-02-10  Dan Williams  <dcbw@redhat.com>
5710
5711         * src/nm-device-802-3-ethernet.c
5712                 - (real_bring_up): save the supplicant interface state signal id
5713                 - (real_bring_down): disconnect from the supplicant interface state
5714                         signal
5715
5716 2008-02-07  Dan Williams  <dcbw@redhat.com>
5717
5718         * initscript/RedHat/NetworkManager.in
5719           initscript/RedHat/NetworkManagerDispatcher.in
5720                 - Add new-style LSB init headers
5721
5722 2008-02-07  Dan Williams  <dcbw@redhat.com>
5723
5724         * system-settings/src/dbus-settings.c
5725           system-settings/src/dbus-settings.h
5726                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5727                         table of secrets
5728                 - (connection_settings_get_secrets): consolidate error returns into
5729                         one place; use the new get_secrets() plugin interface function to
5730                         get secrets from the plugin itself rather than using GObject data
5731                         magic
5732
5733         * system-settings/src/main.c
5734                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5735                    load_connections): keep a private list of the plugin-returned
5736                         connections, don't use the plugin's GSList
5737
5738         * system-settings/plugins/ifcfg-fedora/plugin.c
5739                 - (watch_path): watch the path, not the filename (duh)
5740                 - (reload_all_connections): use the direct hash/equal functions; the
5741                         ones for int aren't appropriate here
5742                 - (get_secrets, system_config_interface_init): implement the
5743                         get_secrets() function
5744                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5745                         now in the connection's ConnectionData instead of being a GObject
5746                         data property
5747                 - (handle_profile_item_changed): ifcfg file path is now in the
5748                         connection's ConnectionData instead of being a GObject data property;
5749                         be sure to copy secrets over from the new connection to the existing
5750                         connection when updating the connection's settings
5751                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5752                         file descriptor
5753
5754         * system-settings/plugins/ifcfg-fedora/parser.c
5755           system-settings/plugins/ifcfg-fedora/parser.h
5756                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5757                    connection_data_copy_secrets, connection_data_free,
5758                    connection_data_add): new functions; connection data manipulation
5759                 - (make_wireless_security_setting): stuff secrets into the
5760                         connection data, not as GObject data items; make sure to close
5761                         the keys ifcfg file
5762                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5763                         connection data to the connection
5764
5765 2008-02-07  Dan Williams  <dcbw@redhat.com>
5766
5767         * system-settings/src/nm-system-config-interface.c
5768           system-settings/src/nm-system-config-interface.h
5769                 - Add a get_secrets() interface function to retrieve secrets for a
5770                         specific setting of a specific connection.  Document the interface
5771                         a bit more too.
5772
5773 2008-02-07  Dan Williams  <dcbw@redhat.com>
5774
5775         * src/nm-device-802-11-wireless.c
5776                 - (handle_auth_or_fail): new function; consolidate device activation
5777                         failure check after a certain number of failures getting secrets
5778                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5779                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5780                         the connection if secrets were requested more than a few times
5781                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5782                         tries here; otherwise they are cleared before the IP configure
5783                         timeout, which happens with open system WEP when key is wrong
5784                 - (activation_success_handler): clear wireless secrets tries here too
5785
5786 2008-02-07  Dan Williams  <dcbw@redhat.com>
5787
5788         * src/NetworkManagerPolicy.c
5789                 - (connection_updated): clear invalid tag when connection gets updated
5790                         to allow that connection to be tried again
5791                 - (nm_policy_new): save signal ids so they can be disconnected when
5792                         the policy is destroyed
5793                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5794                         and disconnect all signals from the manager object so that none
5795                         of the policy functions gets called after the policy is destroyed
5796
5797 2008-02-06  Dan Williams  <dcbw@redhat.com>
5798
5799         * src/nm-manager.c
5800                 - (finalize): remove devices a bit earlier; clean up system settings
5801                         poke
5802                 - (nm_manager_name_owner_changed): clean up system settings poke when
5803                         the service appears, and try to restart it if it fails
5804                 - (poke_system_settings_daemon_cb): try to get the system settings
5805                         service started through D-Bus service activation
5806                 - (initial_get_connections): start the system settings daemon if it's
5807                         not already running
5808
5809 2008-02-05  Dan Williams  <dcbw@redhat.com>
5810
5811         * src/supplicant-manager/nm-supplicant-config.c
5812                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5813                         broadcast networks too
5814
5815 2008-02-04  Dan Williams  <dcbw@redhat.com>
5816
5817         * system-settings/plugins/ifcfg-fedora/parser.c
5818                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5819                         need key_mgmt set too
5820                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5821                         .bak files; ensure that an error is set whenever NULL gets returned
5822
5823 2008-02-04  Dan Williams  <dcbw@redhat.com>
5824
5825         * system-settings/src/Makefile.am
5826                 - Install D-Bus service activation file for the system settings
5827                         service
5828
5829         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5830                 - D-Bus service activation file for system settings service
5831
5832 2008-02-04  Dan Williams  <dcbw@redhat.com>
5833
5834         * system-settings/src/main.c
5835                 - (parse_config_file): parse a config file
5836                 - (main): accept --config option and read plugins from config file
5837
5838 2008-02-04  Dan Williams  <dcbw@redhat.com>
5839
5840         * system-settings/plugins/ifcfg-fedora/plugin.c
5841                 - Change reported name to 'ifcfg-fedora'
5842                 - Use IFCFG_PLUGIN_NAME
5843
5844         * system-settings/plugins/ifcfg-fedora/plugin.c
5845                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5846
5847 2008-02-04  Dan Williams  <dcbw@redhat.com>
5848
5849         * system-settings/plugins/ifcfg-fedora/parser.c
5850                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5851                 - (make_connection_setting): use get_ifcfg_name()
5852                 - (make_wireless_security_setting): handle shadow key files
5853                 - (get_one_wep_key): treat empty string as NULL
5854
5855 2008-02-04  Dan Williams  <dcbw@redhat.com>
5856
5857         * src/supplicant-manager/nm-supplicant-manager.c
5858                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5859                         glib automatically reschedule
5860                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5861                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5862                         the supplicant
5863
5864 2008-02-01  Dan Williams  <dcbw@redhat.com>
5865
5866         * src/NetworkManagerPolicy.c
5867                 - (device_state_changed): schedule a change check when a device gets
5868                         deactivated so something happens if you disconnect GSM/CDMA
5869
5870 2008-01-31  Dan Williams  <dcbw@redhat.com>
5871
5872         * src/nm-device-802-11-wireless.h
5873           src/nm-device-802-11-wireless.c
5874                 - (ap_list_get_ap_by_ssid, is_associated,
5875                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5876                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5877                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5878                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5879                         function
5880
5881 2008-01-30  Dan Williams  <dcbw@redhat.com>
5882
5883         * system-settings/plugins/ifcfg
5884         * system-settings/plugins/ifcfg-fedora
5885                 - Move the ifcfg plugin to ifcfg-fedora
5886
5887 2008-01-24  Dan Williams  <dcbw@redhat.com>
5888
5889         * libnm-glib/nm-device-802-11-wireless.c
5890                 - (get_access_point): move the "/" check here; check for invalid path
5891                         too
5892                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5893                         to get_access_point()
5894                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5895                         to send signals for non-existent access points
5896
5897 2008-01-24  Dan Williams  <dcbw@redhat.com>
5898
5899         * libnm-glib/nm-device-802-11-wireless.c
5900                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5901
5902 2008-01-23  Dan Williams  <dcbw@redhat.com>
5903
5904         * libnm-glib/libnm_glib.c
5905                 - (libnm_glib_init): make thread joinable
5906                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5907
5908 2008-01-23  Dan Williams  <dcbw@redhat.com>
5909
5910         * test/libnm_glib_test.c
5911                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5912                 - (main): set up signal handlers; call libnm_glib_shutdown
5913
5914 2008-01-21  Dan Williams  <dcbw@redhat.com>
5915
5916         * include/NetworkManager.h
5917                 - Add CDMA mobile broadband card device type
5918
5919         * src/nm-hal-manager.c
5920                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5921                         must now be tagged with 'cdma' or 'gsm' capability
5922
5923         * src/nm-cdma-device.c
5924           src/nm-cdma-device.h
5925           src/Makefile.am
5926                 - Add the CDMA mobile broadband card device class
5927
5928         * libnm-util/nm-connection.c
5929                 - (register_default_settings): add NMSettingCdma
5930
5931         * libnm-util/nm-setting-cdma.c
5932           libnm-util/nm-setting-cdma.h
5933           libnm-util/Makefile.am
5934                 - Add the CDMA mobile broadband card setting class
5935
5936         * libnm-glib/nm-cdma-device.c
5937           libnm-glib/nm-cdma-device.h
5938           libnm-glib/Makefile.am
5939                 - Add the CDMA mobile broadband card GLib proxy class
5940
5941         * libnm-glib/nm-client.c
5942                 - (get_device): handle CDMA devices too
5943
5944 2008-01-21  Dan Williams  <dcbw@redhat.com>
5945
5946         * src/ppp-manager/nm-ppp-manager.c
5947                 - (ip4_config_get): set peer address too
5948
5949         * src/ppp-manager/nm-pppd-plugin.c
5950                 - (nm_ip_up): try harder to get the peer's address
5951
5952         * src/NetworkManagerSystem.c
5953                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5954                         address, use that too.  Otherwise, some PPP connections won't work.
5955
5956 2008-01-19  Dan Williams  <dcbw@redhat.com>
5957
5958         * src/NetworkManagerPolicy.c
5959                 - (nm_policy_device_change_check): system connections override user
5960                         connections; don't activate a user connection if there's a currently
5961                         active system connection, and new, better system connections always
5962                         interrupt user connections
5963
5964 2008-01-19  Dan Williams  <dcbw@redhat.com>
5965
5966         * src/nm-manager.h
5967                 - (nm_manager_get_connection_type): new function
5968
5969 2008-01-19  Dan Williams  <dcbw@redhat.com>
5970
5971         * src/nm-device-802-11-wireless.c
5972                 - (real_get_best_connection): collapse find_best_connection() into this
5973                         function
5974
5975 2008-01-19  Dan Williams  <dcbw@redhat.com>
5976
5977         * src/nm-device-802-3-ethernet.c
5978                 - (real_get_best_connection): collapse find_best_connection() into this
5979                         function
5980
5981 2008-01-18  Dan Williams  <dcbw@redhat.com>
5982
5983         * src/nm-device-802-3-ethernet.c
5984                 - (find_best_connection): check MAC address too
5985                 - (real_get_best_connection): let autoconnect=True connections activate
5986                         for devices that don't have carrier detection
5987
5988         * src/nm-device-802-11-wireless.c
5989                 - (find_best_connection): check MAC address too
5990
5991 2008-01-18  Dan Williams  <dcbw@redhat.com>
5992
5993         * system-settings/plugins/ifcfg/parser.c
5994                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5995
5996 2008-01-17  Dan Williams  <dcbw@redhat.com>
5997
5998         * src/nm-device-802-3-ethernet.c
5999                 - (nm_device_802_3_ethernet_carrier_on,
6000                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6001                         carrier events that might come in for devices that don't support
6002                         carrier detect
6003
6004 2008-01-17  Dan Williams  <dcbw@redhat.com>
6005
6006         * src/nm-device-interface.c
6007                 - (nm_device_interface_check_connection_conflicts): need to actually
6008                         get the interface, not cast to the object
6009
6010         * src/nm-device.c
6011                 - (nm_device_check_connection_conflicts): need to get the device class,
6012                         not cast the device to the device class
6013
6014 2008-01-17  Dan Williams  <dcbw@redhat.com>
6015
6016         * src/nm-device-802-11-wireless.c
6017                 - (real_check_connection_conflicts): ignore connections that aren't
6018                         wireless connections
6019
6020 2008-01-17  Dan Williams  <dcbw@redhat.com>
6021
6022         * src/NetworkManagerPolicy.c
6023                 - (nm_policy_device_change_check): clear change check idle here
6024                 - (device_change_check_done): remove
6025                 - (schedule_change_check): simplify
6026
6027 2008-01-17  Dan Williams  <dcbw@redhat.com>
6028
6029         * src/nm-manager.c
6030                 - (check_connection_allowed): take an NMDeviceInterface instead of
6031                         an NMDevice object as an argument
6032                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6033                         check_connection_allowed()
6034
6035 2008-01-13  Dan Williams  <dcbw@redhat.com>
6036
6037         * libnm-glib/nm-device-802-11-wireless.c
6038                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6039
6040 2008-01-12  Dan Williams  <dcbw@redhat.com>
6041
6042         * src/nm-device-802-11-wireless.c
6043                 - (activation_success_handler): if a match was found in the scan list
6044                         and that match is a hidden AP, update that AP's SSID
6045
6046 2008-01-11  Dan Williams  <dcbw@redhat.com>
6047
6048         * src/NetworkManagerAP.c
6049                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6050
6051         * src/nm-device-802-11-wireless.c
6052                 - (get_active_ap): do two passes over the scan list if the caller
6053                         requests that hidden APs get matched too; during the second pass
6054                         when matching hidden APs, ignore the SSID since hidden APs in the
6055                         scan list don't have an SSID yet
6056                 - (periodic_update): move some checks to
6057                         nm_device_802_11_periodic_update() because not all callers need them
6058                 - (nm_device_802_11_periodic_update): move some checks here from
6059                         perodic_update()
6060                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6061                         matching on incoming scan results, because the fake AP's flags
6062                         might be slightly different (yet still compatible) with the incoming
6063                         scan result's flags and they might actually be the same AP; update
6064                         the rate on merged APs too
6065                 - (activation_success_handler): update the frequency of the fake AP
6066                         on successful connection; match hidden APs too since if the
6067                         current AP is fake, there might already be a scan result in the
6068                         scan list for the desired AP, just without it's SSID filled in yet
6069
6070 2008-01-10  Dan Williams  <dcbw@redhat.com>
6071
6072         * src/NetworkManagerAP.c
6073                 - (foreach_property_cb): catch more hidden SSID formats
6074
6075 2008-01-10  Dan Williams  <dcbw@redhat.com>
6076
6077         Fix gnome.org #464215.  Requires the kernel patch titled
6078         "Introduce WEXT scan capabilities" but will handle the patch not being
6079         present, you'll just continue to have problems with hidden SSIDs when
6080         using mac80211-based drivers.
6081
6082         * src/supplicant-manager/nm-supplicant-config.h
6083           src/supplicant-manager/nm-supplicant-config.c
6084                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6085                         whether the driver supports SSID scans or not.  If it does, and if
6086                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6087
6088         * src/nm-device-802-11-wireless.c
6089                 - (constructor): check whether or not the driver supports SSID scans
6090                 - (build_supplicant_config): pass driver SSID scan capability when
6091                         building the wireless bits of the supplicant config
6092
6093 2008-01-09  Dan Williams  <dcbw@redhat.com>
6094
6095         * src/nm-device.c
6096           src/nm-device.h
6097                 - (device_activation_precheck, check_connection_complete): remove this
6098                         virtual function; incomplete connections should be invalid by
6099                         definition, complete-ness should be checked in the setting's
6100                         verify function
6101
6102         * src/nm-serial-device.c
6103           src/nm-gsm-device.c
6104                 - (real_check_connection_complete): remove
6105
6106         * libnm-util/nm-setting-serial.c
6107                 - (verify): new function; ensure there is a PPP setting too
6108
6109         * libnm-util/nm-setting-gsm.c
6110                 - (verify): ensure there is a serial setting too
6111
6112 2008-01-06  Dan Williams  <dcbw@redhat.com>
6113
6114         * src/dhcp-manager/nm-dhcp-manager.c
6115                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6116                         (gnome.org #332953)
6117
6118 2008-01-04  Dan Williams  <dcbw@redhat.com>
6119
6120         * src/named-manager/nm-named-manager.c
6121                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6122                         nameservers if the secondary config doesn't have any
6123                         (gnome.org #346833)
6124
6125 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6126
6127         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6128         with G_PARAM_CONSTRUCT so that they get the default values.
6129
6130         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6131         the monitoring device and prints out the output for now. Or more precicely, doesn't
6132         do absolutely anything right now since the montoring device argument is never set.
6133
6134         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6135         requires it's own knob to turn it on.
6136         (config_fd): Add NMSettingSerial to the arguments list.
6137         (nm_serial_device_open): Ditto.
6138         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6139         (nm_serial_device_get_io_channel): Implement.
6140
6141         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6142         a new reference every time (and forgetting to release it sometimes) is a pain and
6143         it's not like NMManager could work without dbus.
6144         (nm_manager_add_device): Register the added device on dbus here.
6145
6146         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6147         device.
6148
6149         * src/nm-device.c (constructor): Don't export the device here, instead export
6150         it when it's added to the NMManager's device list.
6151
6152 2007-12-31  Dan Williams  <dcbw@redhat.com>
6153
6154         * src/nm-device-interface.c
6155           src/nm-device-interface.h
6156                 - (nm_device_interface_check_connection_conflicts): new function
6157
6158         * src/nm-device.c
6159           src/nm-device.h
6160                 - (nm_device_check_connection_conflicts): new function
6161                 - (device_activation_precheck): don't require subclasses to implement
6162                         check_connection_complete()
6163                 - check_connection() -> check_connection_complete()
6164
6165         * src/nm-device-802-11-wireless.c
6166                 - (real_check_connection): remove; unused
6167                 - (real_check_connection_conflicts): implement, handle lockdown for
6168                         system connections
6169
6170         * src/nm-device-802-3-ethernet.c
6171                 - (real_check_connection): remove; unused
6172
6173         * src/nm-manager.c
6174                 - (check_connection_allowed): new function
6175                 - (nm_manager_activate_device): ensure the connection being requested
6176                         is allowed to be activated
6177
6178         * src/nm-serial-device.c
6179           src/nm-gsm-device.c
6180                 - real_check_connection() -> real_check_connection_complete()
6181
6182 2007-12-27  Dan Williams  <dcbw@redhat.com>
6183
6184         * src/nm-device-interface.c
6185           src/nm-device-interface.h
6186                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6187                         normalize and expand errors
6188                 - (nm_device_interface_init): register errors so they can be marshalled
6189                         through dbus-glib
6190                 - (nm_device_interface_activate): ensure that failure of activation
6191                         returns an error
6192
6193         * src/nm-device.c
6194           src/nm-device.h
6195                 - (device_activation_precheck): implementations of check_connection()
6196                         now take a GError and must fill it in if the check fails.  Return
6197                         more descriptive error if the requested connection is already
6198                         activating
6199                 - (nm_device_activate): actually try to return descriptive errors on
6200                         failures
6201
6202         * src/nm-device-802-11-wireless.c
6203           src/nm-device-802-3-ethernet.c
6204           src/nm-serial-device.c
6205           src/nm-gsm-device.c
6206                 - (real_check_connection): return more descriptive errors on failure
6207
6208         * src/NetworkManagerPolicy.c
6209                 - (nm_policy_device_change_check): print activation errors in the logs
6210
6211         * src/nm-manager.c
6212                 - (nm_manager_error_quark, nm_manager_error_get_type,
6213                    nm_manager_class_init): new errors
6214                 - (nm_manager_activate_device): handle errors
6215                 - (nm_manager_error_new): removed
6216                 - (wait_for_connection_expired, connection_added_default_handler,
6217                    impl_manager_activate_device): better error handling
6218
6219 2007-12-27  Dan Williams  <dcbw@redhat.com>
6220
6221         Fixes gnome.org #466954
6222
6223         * src/supplicant-manager/nm-supplicant-settings-verify.c
6224                 - Allow 'frequency' network property
6225
6226         * src/supplicant-manager/nm-supplicant-config.c
6227           src/supplicant-manager/nm-supplicant-config.h
6228                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6229                         for callers to specify the frequency an Ad-Hoc network should operate
6230                         on.  Some drivers require this to successfully create an Ad-Hoc
6231                         network.
6232
6233         * src/nm-device-802-11-wireless.c
6234                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6235                         guint32 value in MHz
6236                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6237                         iw_freq_to_uint32()
6238                 - (find_supported_frequency): new function; find a free supported
6239                         frequency for a user-created Ad-Hoc network
6240                 - (build_supplicant_config): if no frequency was specified for a user-
6241                         created Ad-Hoc network, find a free one to use
6242                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6243                         a specific object as user-created
6244
6245 2007-12-27  Dan Williams  <dcbw@redhat.com>
6246
6247         * libnm-util/nm-utils.c
6248           libnm-util/nm-utils.h
6249                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6250                         for adhoc networks
6251
6252 2007-12-24  Dan Williams  <dcbw@redhat.com>
6253
6254         * libnm-util/nm-setting-wireless.c
6255                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6256                         185, 187, 188, 192, and 196
6257
6258 2007-12-24  Dan Williams  <dcbw@redhat.com>
6259
6260         * src/nm-device-802-11-wireless.c
6261                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6262                         a channel # instead of a frequency
6263
6264 2007-12-24  Dan Williams  <dcbw@redhat.com>
6265
6266         * src/NetworkManagerAP.c
6267           src/NetworkManagerAP.h
6268                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6269                 - (freq_to_channel): handle split band tables
6270                 - (channel_to_freq): handle split band tables, take a band argument
6271
6272 2007-12-24  Dan Williams  <dcbw@redhat.com>
6273
6274         * libnm-util/nm-setting-connection.h
6275           libnm-util/nm-setting-connection.c
6276                 - Add 'lockdown' member
6277
6278 2007-12-22  Dan Williams  <dcbw@redhat.com>
6279
6280         * libnm-util/nm-setting-wireless.c
6281                 - (nm_setting_wireless_class_init): add missing 'rate' property
6282                         specification
6283
6284 2007-12-18  Dan Williams  <dcbw@redhat.com>
6285
6286         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6287
6288         * src/nm-netlink-monitor.c
6289           src/nm-netlink-monitor.h
6290                 - Remove handrolled netlink, use libnl instead
6291
6292         * src/nm-device-802-3-ethernet.c
6293                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6294                    nm_device_802_3_ethernet_carrier_on): use new names
6295
6296 2007-12-17  Dan Williams  <dcbw@redhat.com>
6297
6298         * configure.in
6299                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6300                         and fixes memory leaks)
6301
6302         * src/nm-netlink.c
6303                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6304                         automatically handle the netlink PID
6305
6306 2007-12-17  Dan Williams  <dcbw@redhat.com>
6307
6308         Patch from Michael Biebl <biebl@debian.org>
6309
6310         * configure.in
6311           src/ppp-manager/Makefile.am
6312                 - fix up install dir of pppd plugin
6313                 - clean up configure.in a bit
6314
6315 2007-12-12  Dan Williams  <dcbw@redhat.com>
6316
6317         * system-settings/src/nm-system-settings.conf
6318                 - Allow non-root clients (like the applet) to read settings
6319
6320 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6321
6322         * Replace all occurences of 'UMTS' with 'GSM'.
6323
6324 2007-12-07  Dan Williams  <dcbw@redhat.com>
6325
6326         * src/nm-serial-device.c
6327                 - (real_is_up): serial devices are always "up"
6328
6329 2007-12-07  Dan Williams  <dcbw@redhat.com>
6330
6331         * src/nm-netlink.c
6332           src/NetworkManagerSystem.c
6333                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6334                         twice (gnome.org #491047)
6335                 - Make more robust against allocation-related failures should they occur
6336
6337 2007-12-07  Dan Williams  <dcbw@redhat.com>
6338
6339         Noticed by Christian Persch <chpe@gnome.org>
6340
6341         Always chain up to parent object in dispose and finalize handlers.
6342                 (gnome.org #433112)
6343
6344 2007-12-07  Dan Williams  <dcbw@redhat.com>
6345
6346         * src/nm-device-802-11-wireless.c
6347                 - Wrap #include of linux/mii.h to fix redefined structures due to
6348                         incorrect kernel headers (gnome.org #350061)
6349
6350 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6351
6352         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6353         before doing anything else.
6354         (init_modem): Move modem initialization here.
6355
6356         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6357         (nm_serial_device_flash): Implement.
6358
6359         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6360         changes signal is "StateChanged" and not "Status".
6361         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6362
6363 2007-12-06  Dan Williams  <dcbw@redhat.com>
6364
6365         * src/supplicant-manager/nm-supplicant-config.c
6366                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6367                         to only send some options when they make sense; also send phase2
6368                         option to the supplicant (possible fix for rh #399631)
6369
6370 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6371
6372         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6373         arguments: This whole file shouldn't really know anything about NMDevices, it
6374         should deal only with device interfaces. Devices might have different ifaces for
6375         different stuff and this place shouldn't know anything about it.
6376
6377         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6378         (global_state_changed): Implement. In the current NM it's not really important,
6379         but will be required in the case of multiple active devices. (Or even better,
6380         if stuff like that gets moved out from NM).
6381
6382         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6383         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6384         instead.
6385
6386         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6387         devices like serial devices (ttyS0 and ppp0 for example).
6388         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6389         set.
6390         (nm_device_set_ip_iface): Implement.
6391         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6392         after setting ip4_config from here ...
6393         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6394         than this function should call nm_system_device_set_from_ip4_config() because no
6395         other code has enough information on which arguments to use. So instead, other code
6396         could just set the new ip4 config using this function and everyone is happy.
6397
6398         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6399         if we happen to get deactivated while something is pending.
6400         (automatic_registration): Handle the response that indicates pending network
6401         registration and wait until the pending registration is done.
6402         (real_deactivate_quickly): If there's a pending operation, cancel it.
6403
6404         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6405         (real_deactivate_quickly): ... and remove it when it's down.
6406         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6407         it if needed.
6408         (nm_serial_device_wait_for_reply): Ditto.
6409
6410 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6411
6412         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6413         (get_network_done): Remove newline, nm_info() does it already.
6414         (real_act_stage1_prepare): Turn the modem echo off.
6415
6416         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6417         device, set the route to the device interface. This is a hack.
6418
6419         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6420         return, no need for a new-line.
6421         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6422         Change the device iface here (ugh).
6423         (real_act_stage4_get_ip4_config): Implement.
6424         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6425         Restore the device iface.
6426
6427         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6428         device is not wired or wireless (eg, automatically upped) device.
6429
6430         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6431         it isn't.
6432         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6433
6434         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6435         before calling it's is_device_fn().
6436
6437 2007-12-05  Dan Williams  <dcbw@redhat.com>
6438
6439         * libnm-util/nm-utils.c
6440                 - (nm_utils_register_value_transformations,
6441                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6442                         GHashTables of GValues too
6443
6444 2007-12-04  Dan Williams  <dcbw@redhat.com>
6445
6446         * initscript/RedHat/NetworkManager.in
6447                 - No longer start named; it's D-Bus interface is going away
6448
6449 2007-12-04  Dan Williams  <dcbw@redhat.com>
6450
6451         Patch from Michael Biebl <biebl@debian.org>
6452
6453         * system-settings/plugins/ifcfg/Makefile.am
6454           system-settings/src/main.c
6455           system-settings/src/Makefile.am
6456                 - Put system settings plugins in NM plugins dir
6457
6458         * src/ppp-manager/Makefile.am
6459           src/ppp-manager/nm-ppp-manager.c
6460                 - Move pppd plugin to NM plugins dir
6461
6462 2007-12-04  Dan Williams  <dcbw@redhat.com>
6463
6464         * libnm-util/nm-setting-vpn-properties.h
6465                 - Clarify usage of the 'data' member of the setting
6466
6467         * libnm-util/nm-setting-vpn-properties.c
6468                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6469                 - (set_property): just remove all the settings; don't recreate the has
6470                 - (update_one_secret): don't need to create the hash table here since
6471                         it should always be present
6472
6473 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6474
6475         Implement PIN and PUK requesting.
6476
6477         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6478         (enter_pin): Handle PIN and PUK requests.
6479         (real_act_stage1_prepare): Clear the secret type.
6480         (real_connection_secrets_updated): Implement this class method to get
6481         notified when new secrets arrive.
6482         (nm_umts_device_class_init): Add private data back to the umts device class
6483         to store the required secret type.
6484
6485 2007-12-01  Dan Williams  <dcbw@redhat.com>
6486
6487         * system-settings/plugins/ifcfg/parser.c
6488                 - (parser_parse_file): don't try to verify NULL connections
6489
6490 2007-12-01  Dan Williams  <dcbw@redhat.com>
6491
6492         * system-settings/src/main.c
6493                 - (load_connections, add_connection_to_settings): actually export
6494                         plugin-provided connections over D-Bus so NM can get them
6495
6496 2007-12-01  Dan Williams  <dcbw@redhat.com>
6497
6498         * system-settings/plugins/ifcfg/parser.c
6499           system-settings/plugins/ifcfg/parser.h
6500           system-settings/plugins/ifcfg/plugin.c
6501                 - Hook up more inotify bits (untested)
6502
6503 2007-11-29  Dan Williams  <dcbw@redhat.com>
6504
6505         * system-settings/src/nm-system-config-interface.h
6506           system-settings/src/nm-system-config-interface.c
6507                 - (nm_system_config_interface_init,
6508                    nm_system_config_interface_get_connections): add
6509
6510         * system-settings/src/main.c
6511                 - (load_plugins, load_connections, main): use a GSList for plugins
6512                         to ensure priority ordering
6513
6514         * system-settings/plugins/ifcfg/parser.c
6515                 - (ifcfg_error_quark): move to plugin.c, and rename
6516
6517         * system-settings/plugins/ifcfg/plugin.h
6518           system-settings/plugins/ifcfg/plugin.c
6519                 - (ifcfg_plugin_error_quark): move here from parser.c
6520                 - rework connection loading and initialization
6521                 - Add preliminary inotify support for network profile config file
6522
6523 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6524
6525         Merge the beginnings of the new GSM card support.
6526
6527         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6528         ppp watch source before killing pppd - If this happens from g_object_unref()
6529         then the ppp manager is already destroyed by the time the watch callback runs.
6530
6531         * src/nm-hal-manager.c: Add a device_type_name string to the device
6532         creators, so that we can print a nice human readable string when a
6533         device is added.
6534
6535         * src/nm-umts-device.c (automatic_registration_get_network): Query
6536         for the activated network, not much is done with the result thought.
6537
6538         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6539         (ppp_ip4_config): Change the device state to activated here for now.
6540         (real_check_connection): Make sure the connection includes ppp setting.
6541
6542         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6543
6544         * libnm-glib/Makefile.am: Add the new files to build.
6545
6546         * libnm-glib/nm-umts-device.c: 
6547         * libnm-glib/nm-umts-device.h: Implement.
6548
6549 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6550
6551         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6552         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6553
6554         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6555         the timeout source - this function is only called when the timeout source has
6556         been removed.
6557         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6558         to be big enough to contain the terminating zero element as well.
6559         The timeout argument is meant to be in seconds now.
6560         (real_deactivate_quickly): Implement.
6561
6562         * src/NetworkManager.conf: Allow root to own 
6563         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6564
6565         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6566         (not unsigned ints).
6567
6568         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6569         small issue with parity bounds - capital letters have lower ascii codes
6570         than lower case letters.
6571
6572         * libnm-util/nm-connection.c (register_default_settings): Register serial
6573         and umts settings.
6574
6575 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6576
6577         Remove the "index" property from devices as not all device types have this.
6578
6579         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6580
6581         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6582         (wired_device_creator): Get the device interface from hal to create the device.
6583         (wireless_device_creator): Ditto.
6584
6585         * src/nm-device.c (nm_device_init): Remove the index member.
6586         (constructor): Remove the checks for index property, make interface property
6587         a require constructor property.
6588         Use the HAL udi for DBus path for devices.
6589         (nm_device_get_index): Remove.
6590         (set_property): Remove index handling.
6591         (get_property): Ditto.
6592         (nm_device_get_dbus_path): Remove.
6593
6594         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6595         property.
6596
6597         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6598         Access the device index through it's interface.
6599         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6600         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6601         index argument. Add interface argument.
6602
6603         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6604         the useless test_dev argument. Remove index argument. Add interface arugment.
6605
6606         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6607         device index through interface.
6608         (nm_system_set_mtu): Ditto.
6609
6610         * introspection/nm-device.xml: Remove the "Index" property.
6611
6612 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6613
6614         * src/nm-serial-device.c: 
6615         * src/nm-serial-device.c: 
6616         * src/nm-umts-device.c:
6617         * src/nm-umts-device.h: Implement.
6618
6619         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6620         allocated by libhal.
6621         (modem_device_creator): Implement.
6622         (register_built_in_creators): Register the modem creator.
6623
6624         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6625         Remove the unused test_dev argument.
6626
6627         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6628
6629         * src/Makefile.am: Add new files to build.
6630         Link in ppp-manager.
6631
6632         * libnm-util/nm-setting-umts.c: 
6633         * libnm-util/nm-setting-umts.h: 
6634         * libnm-util/nm-setting-serial.c: 
6635         * libnm-util/nm-setting-serial.h: Implement.
6636
6637         * libnm-util/Makefile.am: Add new files to build.
6638
6639 2007-11-28  Dan Williams  <dcbw@redhat.com>
6640
6641         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6642
6643         Support DHCP-provided static routes.
6644
6645         * src/nm-ip4-config.h
6646           src/nm-ip4-config.c
6647                 - Add get/set functions for static routes
6648
6649         * src/dhcp-manager/nm-dhcp-manager.c
6650                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6651                         DHCP response
6652
6653         * src/NetworkManagerSystem.c
6654                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6655                         interface when applying the IP4Config
6656
6657 2007-11-28  Dan Williams  <dcbw@redhat.com>
6658
6659         * src/nm-device-802-11-wireless.c
6660                 - (real_act_stage1_prepare): mark APs created for hidden networks
6661                         as non-broadcasting
6662
6663 2007-11-27  Dan Williams  <dcbw@redhat.com>
6664
6665         * system-settings/src/nm-system-config-interface.h
6666                 - Note how to store secrets on NMSetting objects
6667
6668         * system-settings/src/dbus-settings.c
6669                 - (connection_settings_get_secrets): implement
6670
6671 2007-11-27  Dan Williams  <dcbw@redhat.com>
6672
6673         * system-settings/plugins/ifcfg/Makefile.am
6674           system-settings/plugins/ifcfg/parser.c
6675           system-settings/plugins/ifcfg/parser.h
6676           system-settings/plugins/ifcfg/plugin.c
6677                 - Parse wireless connections too
6678
6679         * system-settings/src/dbus-settings.c
6680           system-settings/src/dbus-settings.h
6681           system-settings/src/main.c
6682                 - Handle connection update/removal if the plugin supports it
6683
6684 2007-11-27  Dan Williams  <dcbw@redhat.com>
6685
6686         * src/nm-dbus-manager.h
6687           src/nm-hal-manager.c
6688                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6689                         do it for them
6690
6691         * src/Makefile.am
6692           src/NetworkManagerDbusUtils.c
6693           src/NetworkManagerDbusUtils.h
6694                 - Remove these two source files; they are unused
6695
6696 2007-11-27  Dan Williams  <dcbw@redhat.com>
6697
6698         * src/vpn-manager/nm-vpn-manager.c
6699                 - (impl_vpn_manager_connect): fix system settings check (found by
6700                         James M. Leddy)
6701
6702 2007-11-26  Dan Williams  <dcbw@redhat.com>
6703
6704         * Fix warnings so everything compiles with --enable-more-warnings
6705
6706 2007-11-25  Dan Williams  <dcbw@redhat.com>
6707
6708         * system-settings/*
6709                 - Rework structure and code to use GModule-loaded plugins and a plugin
6710                         interface that plugins export to the system settings service
6711
6712 2007-11-21  Dan Williams  <dcbw@redhat.com>
6713
6714         * system-settings/*
6715                 - Add Soren's system settings service.  Needs work for distros other
6716                         than Fedora; the backends from NM should mostly migrate to here
6717                         and be converted to GObjects
6718
6719 2007-11-21  Dan Williams  <dcbw@redhat.com>
6720
6721         * libnm-util/nm-setting-vpn-properties.c
6722                 - (set_property): must deep-copy the given settings hash, otherwise
6723                         double-free errors occur when the setting is disposed of
6724
6725 2007-11-21  Dan Williams  <dcbw@redhat.com>
6726
6727         * src/vpn-manager/nm-vpn-act-request.h
6728           src/vpn-manager/nm-vpn-act-request.c
6729                 - Remove; unused
6730
6731 2007-11-20  Dan Williams  <dcbw@redhat.com>
6732
6733         * libnm-util/nm-utils.c
6734                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6735                    nm_utils_convert_ip4_addr_struct_array_to_string,
6736                    nm_utils_register_value_transformations): print out the readable
6737                         values of more types of properties of NMSettings subclasses
6738
6739 2007-11-20  Dan Williams  <dcbw@redhat.com>
6740
6741         * libnm-util/nm-setting-ip4-config.c
6742                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6743                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6744                         marshal GValueArrays inside collections, so switch to types that it
6745                         can actually marshal/demarshal
6746
6747 2007-11-16  Dan Williams  <dcbw@redhat.com>
6748
6749         * libnm-util/nm-setting-wireless-security.c
6750                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6751                         minimal verification of EAP methods too
6752                 - (verify): verify phase1 eap methods too
6753
6754 2007-11-15  Dan Williams  <dcbw@redhat.com>
6755
6756         * libnm-glib/nm-device.h
6757           libnm-glib/nm-device.c
6758                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6759                         const char *
6760
6761 2007-11-15  Dan Williams  <dcbw@redhat.com>
6762
6763         * libnm-glib/nm-device.c
6764                 - (get_product_and_vendor): don't try to free things that should be
6765                         freed
6766
6767 2007-11-15  Dan Williams  <dcbw@redhat.com>
6768
6769         * src/NetworkManagerUtils.c
6770                 - (nm_ethernet_address_is_valid): unbreak previous fix
6771
6772 2007-11-15  Dan Williams  <dcbw@redhat.com>
6773
6774         * src/supplicant-manager/nm-supplicant-config.c
6775                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6776                         options
6777
6778 2007-11-15  Dan Williams  <dcbw@redhat.com>
6779
6780         * src/NetworkManagerUtils.c
6781                 - (nm_ethernet_address_is_valid): fix style, clarify
6782                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6783
6784         * src/nm-device-802-11-wireless.c
6785                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6786                 - (nm_device_802_11_wireless_get_ssid,
6787                    nm_device_802_11_wireless_get_bssid,
6788                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6789                         before calling the ioctl; fixes valgrind-reported jump depends on
6790                         uninitialized value errors
6791
6792 2007-11-15  Dan Williams  <dcbw@redhat.com>
6793
6794         * libnm-util/nm-setting.c
6795                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6796                         unecessary to serialize 'name'
6797
6798         * src/nm-activation-request.c
6799                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6800                         the GetSecrets call
6801
6802 2007-11-15  Dan Williams  <dcbw@redhat.com>
6803
6804         * libnm-util/nm-setting-connection.h
6805           libnm-util/nm-setting-connection.c
6806                 - Rename the 'name' property to 'id', because it conflicted with the
6807                         NMSetting superclass' 'name' property.
6808
6809         * libnm-util/nm-setting.c
6810                 - (nm_setting_to_hash): serialize the 'name' property
6811                 - (one_property_cb): ignore 'name' on deserialization of a connection
6812
6813         * src/nm-device-802-11-wireless.c
6814           src/vpn-manager/nm-vpn-connection.c
6815           src/NetworkManagerPolicy.c
6816                 - Fix up for NMSettingConnection 'name'->'id' changes
6817
6818 2007-11-13  Dan Williams  <dcbw@redhat.com>
6819
6820         * libnm-glib/nm-device-802-11-wireless.h
6821           libnm-glib/nm-device-802-11-wireless.c
6822                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6823
6824         * test/nm-tool.c
6825           libnm-glib/libnm-glib-test.c
6826                 - Fixes for above change
6827
6828 2007-11-12  Dan Williams  <dcbw@redhat.com>
6829
6830         * src/supplicant-manager/nm-supplicant-settings-verify.c
6831                 - Allow fragment_size option
6832
6833         * src/supplicant-manager/nm-supplicant-settings-verify.c
6834                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6835                         EAP fragment size than the default to help some TLS connections
6836
6837 2007-11-12  Dan Williams  <dcbw@redhat.com>
6838
6839         Make certs actually work.  The private key is now a secret, and should be
6840         decrypted when requested by NM.  The private key and phase2 private key
6841         passwords are no longer interesting to NM because they should be used by
6842         the settings service to decrypt the private key itself before passing it
6843         to NM, and hence have been removed as fields.
6844
6845         * libnm-util/nm-setting-wireless-security.h
6846           libnm-util/nm-setting-wireless-security.c
6847                 - Remove private-key-passwd and phase2-private-key-passwd from
6848                         properties
6849                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6850                    need_secrets): use property #defines instead strings to keep things
6851                         consistent
6852                 - (need_secrets_tls): if a client certificate is present but no
6853                         private key, request the private key
6854                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6855                         remove private key password stuff, mark private keys as secret
6856
6857         * src/supplicant-manager/nm-supplicant-settings-verify.c
6858                 - Remove private_key_passwd and private_key2_passwd from opt_table
6859
6860 2007-11-09  Dan Williams  <dcbw@redhat.com>
6861
6862         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6863         Since the vpn-properties are managed and known by the VPN daemons themselves,
6864         libnm-util doesn't know what's secret and what's in the setting's 'data'
6865         member.
6866
6867         * libnm-util/nm-setting.h
6868           libnm-util/nm-setting.c
6869                 - Add the ability for subclasses to override update_one_secret
6870
6871         * libnm-util/nm-setting-vpn-properties.c
6872                 - Override update_one_secret and just copy the values into the
6873                         internal table
6874
6875 2007-11-09  Dan Williams  <dcbw@redhat.com>
6876
6877         * libnm-glib/nm-settings.h
6878           libnm-glib/nm-settings.c
6879                 - (nm_settings_new_error): remove
6880                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6881                         clients should use g_set_error() with NM_SETTINGS_ERROR
6882
6883 2007-11-09  Dan Williams  <dcbw@redhat.com>
6884
6885         * src/supplicant-manager/nm-supplicant-config.c
6886                 - (nm_supplicant_config_add_setting_wireless_security): private key
6887                         passwords are never sent to wpa_supplicant, because the supplicant
6888                         should never be reading random files from the disk.  Clients like
6889                         the applet are required to decrypt the private keys and send NM
6890                         the decrypted blobs.
6891
6892 2007-11-08  Dan Williams  <dcbw@redhat.com>
6893
6894         * libnm-util/nm-setting-wireless-security.h
6895           libnm-util/nm-setting-wireless-security.c
6896                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6897                         members to 802-11-wireless-security structure.  This should be used
6898                         to indicate that the values in private-key and phase2-private-key
6899                         are already decrypted by the user agent, and that no
6900                         private-key-passwd or phase2-private-key-passwd should be expected.
6901                         It is not meant to be a stored configuration value, but meant to
6902                         be set when the conneciton is sent to NM over dbus.
6903
6904 2007-11-08  Dan Williams  <dcbw@redhat.com>
6905
6906         * libnm-util/nm-connection.h
6907           libnm-util/nm-connection.c
6908                 - (nm_connection_need_secrets): add argument to return hints
6909
6910         * src/nm-device-802-11-wireless.c
6911                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6912                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6913                         nm_connection_need_secrets() change
6914
6915 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6916
6917         Rework NMSetting structures: Move each setting to it's own file.
6918         Convert to GObject. Remove home grown setting types and use GTypes.
6919         Use GObject property introspection for hash conversion, enumerating
6920         properties, etc.
6921
6922         * libnm-util/nm-setting-connection.[ch]
6923         * libnm-util/nm-setting-ip4-config.[ch]
6924         * libnm-util/nm-setting-ppp.[ch]
6925         * libnm-util/nm-setting-vpn.[ch]
6926         * libnm-util/nm-setting-vpn-properties.[ch]
6927         * libnm-util/nm-setting-wired.[ch]
6928         * libnm-util/nm-setting-wireless.[ch]
6929         * libnm-util/nm-setting-wireless-security.[ch]
6930
6931         New files, each containing a setting.
6932
6933         * libnm-util/nm-setting-template.[ch]: A template for creating new
6934         settings. To use it, just replace 'template' with the new setting
6935         name, and you're half-way done.
6936
6937         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6938         introspection instead of internal types and tables.
6939
6940         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6941
6942         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6943         GValue types defined by dbus-glib for composed types like collections,
6944         structures and maps.
6945
6946         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6947         a setting from connection takes the setting type now. Also, since
6948         the settings are in multiple files, include relevant settings.
6949
6950 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6951
6952         * configure.in:
6953         * src/backends/NetworkManagerGentoo.c:
6954         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6955         providers in Gentoo.
6956
6957 2007-10-31  Dan Williams  <dcbw@redhat.com>
6958
6959         * libnm-util/nm-connection.c
6960                 - (gvalue_to_string): handle UINT32 arrays
6961
6962 2007-10-31  Dan Williams  <dcbw@redhat.com>
6963
6964         * libnm-glib/nm-device.h
6965           libnm-glib/nm-device.c
6966                 - (nm_device_get_description): remove
6967                 - (nm_device_get_product, nm_device_get_vendor): add
6968                 - (nm_device_update_description): new function (private); walk HAL
6969                         devices to get product and vendor IDs for a specific device
6970
6971 2007-10-31  Dan Williams  <dcbw@redhat.com>
6972
6973         * src/nm-device-802-11-wireless.c
6974                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6975
6976 2007-10-29  Dan Williams  <dcbw@redhat.com>
6977
6978         * src/nm-hal-manager.c
6979                 - (device_added, device_new_capability): ignore device additions while
6980                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6981                         kernel module is unloaded and reloaded and recognized by NM again.
6982
6983 2007-10-26  Dan Williams  <dcbw@redhat.com>
6984
6985         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6986
6987         * src/NetworkManagerAP.c
6988           src/NetworkManagerAP.h
6989           libnm-glib/nm-access-point.c
6990           libnm-glib/nm-access-point.h
6991                 - Make 'rate' property a guint32 to better match with WEXT and
6992                         wpa_supplicant and to allow representation of higher bitrates
6993
6994         * src/nm-device-802-11-wireless.c
6995           introspection/nm-device-802-11-wireless.xml
6996           libnm-glib/nm-device-802-11-wireless.c
6997           libnm-glib/nm-device-802-11-wireless.h
6998                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6999
7000         * src/nm-device-802-3-ethernet.c
7001           src/nm-device-802-3-ethernet.h
7002           introspection/nm-device-802-3-ethernet.xml
7003           libnm-glib/nm-device-802-3-ethernet.c
7004           libnm-glib/nm-device-802-3-ethernet.h
7005                 - Make 'speed' property a guint32 to match other speed/rate types
7006                 - Make nm_device_802_3_ethernet_get_speed() static
7007
7008         * test/nm-tool.c
7009                 - Update for the changes above
7010
7011 2007-10-26  Dan Williams  <dcbw@redhat.com>
7012
7013         * src/named-manager/nm-named-manager.c
7014                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7015                     not calling fclose() twice on some error conditions
7016
7017 2007-10-26  Dan Williams  <dcbw@redhat.com>
7018
7019         * src/nm-activation-request.c
7020                 - (dispose): clean up indentation; get the right DBusGProxy object to
7021                         cancel the GetSecrets pending call on.  Need to use the Secrets
7022                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7023                         pending call doesn't get canceled, and pressing Cancel in the
7024                         applet's password dialog could cause get_secrets_cb() to be called
7025                         after the activation request has already been destroyed
7026
7027 2007-10-24  Dan Williams  <dcbw@redhat.com>
7028
7029         * src/supplicant-manager/nm-supplicant-config.c
7030                 - (nm_supplicant_config_add_blob): pass blob data and length for
7031                         verification
7032                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7033
7034 2007-10-24  Dan Williams  <dcbw@redhat.com>
7035
7036         * src/supplicant-manager/nm-supplicant-settings-verify.c
7037                 - (opt_table): max length for certificates should be 65536
7038
7039 2007-10-24  Dan Williams  <dcbw@redhat.com>
7040
7041         * src/supplicant-manager/nm-supplicant-interface.c
7042                 - (blob_free): correctly free blob data after use
7043                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7044
7045 2007-10-24  Dan Williams  <dcbw@redhat.com>
7046
7047         * libnm-util/nm-setting.c
7048                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7049                         EAP method need secrets
7050
7051 2007-10-24  Dan Williams  <dcbw@redhat.com>
7052
7053         * src/backends/NetworkManagerRedHat.c
7054                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7055
7056 2007-10-23  Dan Williams  <dcbw@redhat.com>
7057
7058         * libnm-util/nm-setting.c
7059           libnm-util/nm-setting.c
7060                 - (nm_setting_compare): implement
7061                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7062                    compare_one_hash_gvalue): compare the contents of a setting
7063
7064         * libnm-util/nm-connection.c
7065                 - (nm_connection_compare): implement
7066
7067 2007-10-23  Dan Williams  <dcbw@redhat.com>
7068
7069         * src/nm-activation-request.c
7070                 - (get_secrets_cb): handle getting a setting back that is more than
7071                         just secrets (ie, user changed auth or EAP method or something)
7072
7073 2007-10-23  Dan Williams  <dcbw@redhat.com>
7074
7075         * libnm-util/nm-setting.c
7076           libnm-util/nm-setting.h
7077                 - (nm_setting_verify): new function; verify one setting
7078                 - (nm_settings_verify_all): rename from nm_settings_verify()
7079                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7080                         all_settings
7081
7082         * libnm-util/nm-connection.c
7083                 - (nm_connection_replace_settings, nm_connection_verify,
7084                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7085
7086 2007-10-23  Dan Williams  <dcbw@redhat.com>
7087
7088         * src/nm-device-802-11-wireless.c
7089                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7090                         desired behavior
7091
7092 2007-10-23  Dan Williams  <dcbw@redhat.com>
7093
7094         * src/supplicant-manager/nm-supplicant-settings-verify.c
7095                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7096                         nm-settings.c
7097
7098 2007-10-23  Dan Williams  <dcbw@redhat.com>
7099
7100         * src/nm-device-802-11-wireless.c
7101                 - (real_act_stage2_config): after the first association failure,
7102                         if the connection still needs secrets ask the user for them
7103                         explicitly.  After the fourth association failure due to bad
7104                         secrets, fail the connection entirely.  Handles the GetSecrets
7105                         loop that NM gets into when the provided secrets don't match up
7106                         with the connection details.
7107
7108 2007-10-23  Dan Williams  <dcbw@redhat.com>
7109
7110         * src/supplicant-manager/nm-supplicant-config.c
7111                 - (nm_supplicant_config_add_setting_wireless_security): only add
7112                         WPA-specific options when WPA is in use
7113
7114 2007-10-23  Dan Williams  <dcbw@redhat.com>
7115
7116         * src/supplicant-manager/nm-supplicant-config.c
7117                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7118                         secret doesn't need to be unhexified
7119
7120 2007-10-23  Dan Williams  <dcbw@redhat.com>
7121
7122         * libnm-util/nm-setting.c
7123                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7124                         before trying to do something with it
7125
7126 2007-10-23  Dan Williams  <dcbw@redhat.com>
7127
7128         * src/nm-device-802-11-wireless.c
7129                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7130
7131 2007-10-23  Dan Williams  <dcbw@redhat.com>
7132
7133         * src/nm-device-802-11-wireless.c
7134                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7135                         non-SSID-broadcasting APs
7136
7137 2007-10-23  Dan Williams  <dcbw@redhat.com>
7138
7139         * src/NetworkManagerAP.c
7140                 - (match_cipher, security_compatible): remove
7141                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7142                         libnm-util instead
7143
7144 2007-10-23  Dan Williams  <dcbw@redhat.com>
7145
7146         * libnm-util/nm-utils.c
7147           libnm-util/nm-utils.h
7148                 - (nm_utils_ap_security_compatible): common function for checking
7149                         whether a specific AP is compatible with an NMConnection
7150
7151 2007-10-23  Dan Williams  <dcbw@redhat.com>
7152
7153         * libnm-util/nm-setting.c
7154                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7155                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7156                    need_secrets_password, setting_wireless_security_verify): fix
7157                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7158                         secrets logic for each supported EAP method
7159
7160 2007-10-23  Dan Williams  <dcbw@redhat.com>
7161
7162         * src/supplicant-manager/nm-supplicant-config.c
7163                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7164                         config option name, should be "private_key2_passwd"
7165
7166 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7167
7168         Implement support for static IP addresses, additional/overridden DNS and
7169         DNS domain search lists.
7170
7171         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7172         (ip4_addresses_to_gvalue): Implement.
7173         (convert_array_to_byte_array): Implement.
7174         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7175         NM_S_TYPE_IP4_ADDRESSES.
7176         (nm_setting_hash): Ditto.
7177         (default_setting_clear_secrets): Add a default case for the switch: IP address
7178         shouldn't be secret, ever.
7179         (setting_ip4_config_verify): Update, requires addresses in case of manual
7180         configurations.
7181         (setting_ip4_config_destroy): Free stuff.
7182
7183         * src/nm-device.c (merge_ip4_config): Implement.
7184         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7185
7186 2007-10-22  Dan Williams  <dcbw@redhat.com>
7187
7188         * libnm-util/nm-setting.c
7189                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7190                         pairwise cipher options for Dynamic WEP
7191
7192 2007-10-21  Dan Williams  <dcbw@redhat.com>
7193
7194         * src/NetworkManagerAP.c
7195           src/NetworkManagerAP.h
7196                 - Rename 'articifical' -> 'fake' since that's what they are until
7197                         noticed in scans
7198                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7199                         from the attributes in an NMConnection object
7200                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7201                         WPA Enterprise
7202                 - (nm_ap_match_in_list): find a matching AP in a scan list
7203
7204         * src/nm-device-802-11-wireless.c
7205                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7206                         AP when searching the scan list; match on frequency and mode too
7207                 - (nm_device_802_11_wireless_get_frequency): implement
7208                 - (merge_scanned_ap): replace duplicate matching logic with
7209                         nm_ap_match_in_list()
7210                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7211                         the user is trying to connect to a hidden network that is not yet
7212                         known from the scan list
7213                 - (activation_success_handler): now that the card knows the AP's BSSID,
7214                         there may already be a scanned AP in the scan list that is what
7215                         we really wanted to connect to, but didn't know at the time.  Use
7216                         that instead of the 'fake' AP created at activation start and get
7217                         rid of the 'fake' AP 
7218                 - (cull_scan_list): don't remove fake APs
7219
7220 2007-10-21  Dan Williams  <dcbw@redhat.com>
7221
7222         * src/nm-activation-request.h
7223           src/nm-activation-request.c
7224                 - (nm_act_request_set_specific_object): new function; allow setting the
7225                         specific object if one isn't set yet
7226
7227 2007-10-20  Dan Williams  <dcbw@redhat.com>
7228
7229         * src/supplicant-manager/nm-supplicant-config.h
7230           src/supplicant-manager/nm-supplicant-config.c
7231                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7232                         table to store blobs
7233                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7234                         blob hash table
7235                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7236                 - (nm_supplicant_config_add_setting_wireless_security): handle
7237                         options that use certificates (ie, blobs)
7238
7239         * src/nm-device-802-11-wireless.c
7240                 - (build_supplicant_config): pass a UID (just use the connection path)
7241                         to the supplicant config as now required
7242
7243         * src/supplicant-manager/nm-supplicant-interface.c
7244                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7245                         there are any blobs to send to wpa_supplicant, send those first
7246                         before sending the network configuration
7247
7248 2007-10-19  Dan Williams  <dcbw@redhat.com>
7249
7250         Split the GetSecrets() call off to a separate D-Bus interface so that it
7251         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7252         should be able to call GetSecrets().
7253
7254         * include/NetworkManager.h
7255                 - Define the connection secrets D-Bus interface
7256
7257         * src/vpn-manager/nm-vpn-connection.c
7258                 - (clear_need_auth): get the right proxy object for the connection
7259                         secrets interface
7260                 - (get_connection_secrets): use the connection secrets proxy; send
7261                         empty hints in get secrets request
7262
7263         * src/nm-activation-request.c
7264                 - (nm_act_request_request_connection_secrets): use the connection
7265                         secrets proxy; send empty hints in get secrets request
7266
7267         * src/nm-manager.c
7268           src/nm-manager.h
7269                 - (connection_get_settings_cb): set the connection secrets proxy on
7270                         the connection object too
7271                 - (internal_new_connection_cb): create the connection secrets proxy
7272
7273         * introspection/nm-settings-connection.xml
7274                 - Define Connection.Secrets interface and move GetSecrets there
7275                 - Add a 'hints' argument to GetSecrets
7276
7277         * libnm-glib/nm-settings.c
7278           libnm-glib/nm-settings.h
7279                 - (impl_connection_settings_get_secrets): add 'hints' argument
7280
7281 2007-10-19  Dan Williams  <dcbw@redhat.com>
7282
7283         * src/nm-device.c
7284                 - (constructor): add message about what path a device is exported as
7285                         to help in debugging rh #339011
7286
7287 2007-10-17  Dan Williams  <dcbw@redhat.com>
7288
7289         * libnm-util/nm-utils.h
7290           libnm-util/nm-utils.c
7291                 - (nm_utils_security_valid): common function to help find the intersection
7292                         of capabilities of devices and (optionally) access points
7293
7294 2007-10-17  Dan Williams  <dcbw@redhat.com>
7295
7296         * src/nm-device-802-11-wireless.c
7297                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7298                         don't get erroneously cleared
7299
7300 2007-10-17  Dan Williams  <dcbw@redhat.com>
7301
7302         * src/nm-manager.h
7303           src/nm-manager.c
7304           src/nm-hal-manager.c
7305                 - (device_removed, finalize, nm_manager_remove_device,
7306                    nm_manager_sleep): add a 'deactivate' argument to 
7307                    nm_manager_remove_device() to fully deactivate devices when necessary
7308                    (ie, always except when waking up)
7309
7310 2007-10-16  Dan Williams  <dcbw@redhat.com>
7311
7312         * libnm-util/nm-setting.c
7313                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7314                         also isn't valid phase2 autheap method
7315
7316 2007-10-16  Dan Williams  <dcbw@redhat.com>
7317
7318         * libnm-glib/nm-client.c
7319                 - (update_wireless_status): consolidate updates of wireless status
7320                 - (constructor): use update_wireless_status()
7321                 - (manager_running): set wireless status off when NM goes away; requery
7322                         the wireless status when NM comes back
7323
7324 2007-10-16  Dan Williams  <dcbw@redhat.com>
7325
7326         * libnm-glib/nm-client.c
7327                 - (nm_client_activate_device): actually use the fixed-up specific
7328                         object path
7329
7330 2007-10-16  Dan Williams  <dcbw@redhat.com>
7331
7332         * src/nm-hal-manager.c
7333                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7334                         killswitch error messages once
7335
7336 2007-10-16  Dan Williams  <dcbw@redhat.com>
7337
7338         * src/nm-manager.c
7339                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7340                         if it's disabled in hardware; don't touch network devices while
7341                         NM is asleep
7342
7343 2007-10-16  Dan Williams  <dcbw@redhat.com>
7344
7345         * libnm-util/nm-client.c
7346                 - (nm_client_activate_device): convert NULL specific_object to "/",
7347                         which is used in place of NULL
7348
7349         * src/nm-manager.c
7350                 - (impl_manager_activate_device): convert "/" specific_object back into
7351                         NULL
7352
7353 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7354
7355         Implement a generic NMSetting creator from setting name.
7356         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7357         add a virtual function 'populate_fn'.
7358
7359         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7360         (register_default_creators): Register setting creators instead of functions
7361         that create and then populate.
7362         (parse_one_setting): Use the common setting creator and then setting specific
7363         poplulation function.
7364
7365         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7366         they all looked exactly the same.
7367         Add a 'populate_fn' virtual function to NMSetting.
7368         Use default virtual functions in case they are not overriden.
7369         (nm_setting_populate_from_hash): Implement.
7370
7371         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7372         name, use a defined string.
7373         (real_act_stage4_get_ip4_config): Ditto.
7374
7375 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7376
7377         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7378         HAL is int, not uint.
7379
7380 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7381
7382         Implement killswitch polling through HAL.
7383
7384         * src/nm-manager.c: Add wireless hardware status property. Add 
7385         'properties-changed' signal for changes in wireless and wireless hardware
7386         state changes.
7387
7388         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7389         and update NMManager's wireless hardware state when it has changed.
7390         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7391         already does that.
7392
7393         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7394         values of wireless state and wireless hardware state. Listen for the
7395         'properties-changed' signals, update the cached values and emit notify.
7396
7397         * include/NetworkManager.h: Fix a typo in a comment.
7398
7399 2007-10-14  Dan Williams  <dcbw@redhat.com>
7400
7401         * libnm-util/nm-setting.c
7402                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7403
7404 2007-10-13  Dan Williams  <dcbw@redhat.com>
7405
7406         * libnm-util/nm-setting.h
7407           libnm-util/nm-setting.c
7408           src/supplicant-manager/nm-supplicant-config.c
7409                 - Make the 'proto' field of the 802-11-wireless-security field a
7410                         string list
7411
7412 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7413
7414         Rework the "properties-changed" signal listening implementation.
7415         Add a generic implementation to NMObject class that listens for
7416         the signal and calls property setters of the target NMObject.
7417
7418         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7419
7420         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7421         code to the end of file so that all the static functions are available
7422         without extra declarations.
7423         Remove the "properties-changed" signal handling and use the framework from
7424         NMObject.
7425         Implement property setters for properties that change with 
7426         "properties-changed" signal.
7427
7428         * libnm-glib/nm-access-point.c: Ditto.
7429
7430 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7431
7432         Rework the "properties-changed" signal implementation.
7433         In classes that need to use it, just emit "GObject::notify" and the new
7434         framework takes care of the rest to make the signal available on dbus.
7435         The framework queues the notifications and tries to send as many together
7436         in one signal as possible.
7437
7438         * src/nm-properties-changed-signal.c:
7439         * src/nm-properties-changed-signal.h: Implement.
7440
7441         * src/Makefile.am: Add new files to build.
7442
7443         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7444         signal.
7445
7446         * src/nm-device-802-11-wireless.c: Ditto.
7447
7448 2007-10-10  Dan Williams  <dcbw@redhat.com>
7449
7450         * src/nm-manager.c
7451                 - (wait_for_connection_expired): ensure info is valid
7452                 - (connection_added_default_handler): Should only remove pending
7453                         connection info when the manager has the connection that it's
7454                         waiting for.  Fixes segfault in wait_for_connection_info().  
7455
7456 2007-10-10  Dan Williams  <dcbw@redhat.com>
7457
7458         * libnm-util/nm-setting.c
7459           libnm-util/nm-setting.h
7460                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7461                         can use if they choose.  Should be filled in by the settings service
7462                         on-the-fly with the currently logged in user's username
7463
7464 2007-10-10  Dan Williams  <dcbw@redhat.com>
7465
7466         * src/nm-device-802-11-wireless.c
7467                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7468                         as such, because even if the manager fills in the SSID, NM still
7469                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7470                         its SSID
7471
7472 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7473
7474         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7475         code that used NM's own version of dbus signal handling and custom dictionary
7476         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7477         and we get to maintain over 2000 lines less code.
7478
7479         * libnm-util/dbus-dict-helpers.c:
7480         * libnm-util/dbus-dict-helpers.h: Remove.
7481
7482         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7483
7484         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7485
7486         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7487         handlers.
7488
7489         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7490
7491         * configure.in: Remove test/libnm-util/Makefile creation.
7492
7493         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7494
7495         * test/libnm-util/: Remove the whole directory.
7496
7497 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7498
7499         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7500         device_state_changed_idle_id variable or it would contain some random value and the
7501         schedule_change_check calls would not do anything.
7502
7503 2007-10-09  Dan Williams  <dcbw@redhat.com>
7504
7505         * src/nm-device-802-11-wireless.c
7506                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7507                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7508                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7509                         merging of non-SSID-broadcasting APs
7510
7511 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7512
7513         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7514         "guint8 *" since it's usually used with GByteArray->data.
7515         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7516
7517 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7518
7519         * src/NetworkManagerUtils.c
7520         (nm_utils_is_empty_ssid):
7521         (nm_utils_escape_ssid):
7522         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7523         lot of places, so they belong to libnm-utils instead.
7524
7525         Now with 100% less compiler warnings:
7526
7527         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7528         (nm_dbus_unescape_object_path): Ditto.
7529         (nm_utils_ssid_to_utf8): Ditto.
7530         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7531         (nm_utils_escape_ssid): Ditto.
7532         (nm_utils_same_ssid): Ditto.
7533
7534         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7535         (add_one_connection_element): Remove an unused variable.
7536         (impl_manager_get_active_connections): Ditto.
7537
7538         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7539         variable.
7540
7541         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7542         from the previous commit.
7543
7544         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7545         (real_act_stage1_prepare): Ditto.
7546         (activation_success_handler): Ditto.
7547         (get_property): Ditto.
7548
7549         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7550         variable.
7551
7552         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7553         it's always set.
7554
7555         * src/supplicant-manager/nm-supplicant-config.c 
7556         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7557         to expected "char *".
7558         (nm_supplicant_config_add_setting_wireless): Ditto.
7559         (nm_supplicant_config_remove_option): Remove, not used.
7560
7561         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7562         not double.
7563         (test_wireless_enabled): Ifdef out unused function.
7564         (device_deactivate): Ditto.
7565         (device_state_changed): Ditto.
7566         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7567         (nm_utils_escape_ssid): Ditto.
7568
7569         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7570         (nm_utils_is_empty_ssid): Ditto.
7571
7572         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7573         unused variable.
7574
7575         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7576         (setting_vpn_properties_update_secrets): Ditto.
7577         (int_to_gvalue): Ifdef out for now, not used.
7578         (byte_to_gvalue): Ditto.
7579
7580         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7581         Unused, remove.
7582
7583 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7584
7585         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7586         about dbus manager, not named manager.
7587         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7588
7589         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7590         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7591         However, the same signal is emitted when we destroy it and there's 
7592         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7593
7594         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7595         releasing the DBusGConnection, since proxy needs a conneciton.
7596         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7597
7598 2007-10-08  Dan Williams  <dcbw@redhat.com>
7599
7600         * src/NetworkManager.c
7601                 - (main): error on unknown command-line options
7602
7603 2007-10-08  Dan Williams  <dcbw@redhat.com>
7604
7605         Reimplement the invalid connection list.  Don't try to re-activate a
7606         connection that just failed or was canceled.
7607
7608         * src/nm-device.c
7609                 - (connection_secrets_failed_cb): fail device activation, don't just
7610                         deactivate the device.  Listeners have to know about the failure.
7611
7612         * src/NetworkManagerPolicy.c
7613                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7614                         the connection list given to a device's get_best_connection()
7615                         method
7616                 - (device_state_changed): tag failed connections as invalid; clear the
7617                         tag from successful connections
7618
7619 2007-10-08  Dan Williams  <dcbw@redhat.com>
7620
7621         Fix problems with interrupted activation.  Previously, choosing an AP
7622         from the menu, then choosing another one before the first connection was
7623         successful wouldn't deactivate the device before starting the new connection
7624         on that same device.
7625
7626         * src/NetworkManagerPolicy.c
7627                 - (deactivate_old_device, device_state_changed, state_changed,
7628                    nm_policy_new): wrong place to deactivate old devices
7629
7630         * src/nm-manager.c
7631                 - (pending_connection_info_destroy, finalize,
7632                    wait_for_connection_expired): decouple destruction of the pending
7633                         connection info from the manager device
7634                 - (connection_added_default_handler): deactivate any active or
7635                         activating device before starting a new activation
7636                 - (impl_manager_activate_device): deactivate any active or activating
7637                         device before starting a new activation; be sure not to leak
7638                         pending connection info if a new activation request arrives but
7639                         there's already a pending one in-process
7640
7641 2007-10-08  Dan Williams  <dcbw@redhat.com>
7642
7643         * src/NetworkManagerAP.h
7644           src/NetworkManagerAP.c
7645                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7646                         should handle default SSIDs and whether or not to autoconnect
7647                         to them
7648
7649 2007-10-08  Dan Williams  <dcbw@redhat.com>
7650
7651         * src/NetworkManagerPolicy.c
7652                 - (nm_policy_device_change_check): print out connection name where
7653                         possible
7654
7655 2007-10-08  Dan Williams  <dcbw@redhat.com>
7656
7657         * src/nm-device-802-11-wireless.c
7658           src/nm-device-802-11-wireless.h
7659                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7660                         'hidden-ap-found' signal (for internal use only) that allows the
7661                         NMManager to fill in the AP's SSID if a connection has that AP's
7662                         BSSID in its seen-bssids list
7663
7664         * src/nm-manager.c
7665                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7666                         wireless device's hidden-ap-found signal and fill in the APs SSID
7667                         if possible
7668
7669 2007-10-07  Dan Williams  <dcbw@redhat.com>
7670
7671         * src/nm-manager.c
7672           src/nm-manager.h
7673                 - Add a 'connections-added' signal to batch together updates of large
7674                         numbers of connections, like when reading from a settings service
7675                         the first time.  Otherwise, the policy would just activate the first
7676                         suitable connection it saw rather than waiting for the full list
7677                         to arrive.
7678                 - (nm_manager_class_init): register new signal
7679                 - (get_type_for_proxy, connection_get_settings_cb,
7680                    get_connection_for_proxy): centralize places where a proxy's setting
7681                         service is determined
7682                 - (free_get_settings_info): if the call being freed is the last call
7683                         in a pending call group, fire off the connections-added signal
7684                 - (internal_new_connection_cb): add call to a pending call group if
7685                         requested
7686                 - (list_connections_cb): always create a call group here, because this
7687                         call results in a batch of new connections
7688                 - (initial_get_connections): start getting system connections first
7689                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7690                         removed signal when destroying connections
7691
7692         * src/NetworkManagerPolicy.c
7693                 - (nm_policy_new, connections_added): handle connections-added signal
7694                         from the manager
7695
7696 2007-10-06  Dan Williams  <dcbw@redhat.com>
7697
7698         * src/nm-device-802-11-wireless.c
7699                 - (constructor): fix leaked socket
7700
7701 2007-10-06  Dan Williams  <dcbw@redhat.com>
7702
7703         * src/NetworkManagerPolicy.c
7704                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7705                         connection in the list returned by nm_manager_get_connections() is
7706                         reffed, but they weren't getting unreffed before returning
7707
7708 2007-10-06  Dan Williams  <dcbw@redhat.com>
7709
7710         * src/nm-manager.c
7711                 - (connections_to_slist): sort connections first on autoconnect, then
7712                         on timestamp
7713
7714 2007-10-06  Dan Williams  <dcbw@redhat.com>
7715
7716         * libnm-util/nm-connection.c
7717                 - (gvalue_to_string): handle UINT64
7718
7719 2007-10-06  Dan Williams  <dcbw@redhat.com>
7720
7721         * src/NetworkManagerPolicy.c
7722                 - (connection_updated, nm_policy_new): recheck state when a connection
7723                         gets updated
7724
7725 2007-10-06  Dan Williams  <dcbw@redhat.com>
7726
7727         * src/nm-manager.c
7728           src/nm-manager.h
7729                 - (nm_manager_get_connection_dbus_path): make static
7730                 - (nm_manager_update_connections): remove; unused
7731                 - Add a connection-updated signal
7732                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7733                         handle connection object updates
7734
7735 2007-10-06  Dan Williams  <dcbw@redhat.com>
7736
7737         * src/NetworkManagerPolicy.c
7738                 - (connection_removed): deactivate removed connections
7739
7740 2007-10-06  Dan Williams  <dcbw@redhat.com>
7741
7742         * libnm-util/nm-connection.c
7743           libnm-util/nm-connection.h
7744                 - (nm_connection_replace_settings): new function
7745
7746 2007-10-06  Dan Williams  <dcbw@redhat.com>
7747
7748         * libnm-glib/nm-device-802-11-wireless.c
7749                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7750                         on error when getting the active access point over D-Bus from NM
7751
7752 2007-10-05  Dan Williams  <dcbw@redhat.com>
7753
7754         * libnm-util/nm-setting.c
7755                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7756                         to the NMSettingWireless table; it's now a string array not an array
7757                         of byte arrays
7758
7759 2007-10-05  Dan Williams  <dcbw@redhat.com>
7760
7761         * libnm-glib/nm-device-802-11-wireless.c
7762                 - Cache properties and update cached properties on D-Bus signals from NM
7763
7764 2007-10-05  Dan Williams  <dcbw@redhat.com>
7765
7766         * src/nm-device-802-11-wireless.c
7767                 - (set_current_ap): consolidate current_ap handling code into one place
7768                         to ensure that PropertiesChanged signals are emitted in all cases
7769                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7770                    nm_device_802_11_wireless_dispose): use set_current_ap()
7771
7772 2007-10-05  Dan Williams  <dcbw@redhat.com>
7773
7774         * libnm-glib/nm-access-point.c
7775           libnm-glib/nm-access-point.h
7776                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7777                         because the value is cached internally now.  Callers should not
7778                         free the internal value.
7779                 - Make signal name defines private
7780
7781         * test/nm-tool.c
7782           libnm-glib/libnm-glib-test.c
7783                 - Don't free value returned from nm_access_point_get_hw_address()
7784
7785 2007-10-04  Dan Williams  <dcbw@redhat.com>
7786
7787         * introspection/nm-device-802-11-wireless.xml
7788           src/nm-device-802-11-wireless.h
7789           src/nm-device-802-11-wireless.c
7790                 - Add a PropertiesChanged signal for wireless device
7791                 - Store currently associated access point
7792                 - (periodic_update): generalize; update rate here too and emit the
7793                         correct PropertiesChanged signal when stuff changes
7794                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7795                    real_activation_cancel_handler): clear current_ap when device is
7796                         deactivated
7797                 - (link_to_specific_ap, get_ap_blacklisted,
7798                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7799                         code
7800                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7801                         outside this file
7802                 - (real_set_hw_address): emit property changed signal if the card's
7803                         MAC address changes
7804                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7805                         the card is supposed to be connecting to
7806                 - (activation_success_handler): send out property updates on successful
7807                         activation
7808                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7809                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7810                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7811                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7812                         is now boxed; add PropertiesChanged signal
7813
7814 2007-10-04  Dan Williams  <dcbw@redhat.com>
7815
7816         * libnm-util/nm-connection.c
7817           libnm-util/nm-connection.h
7818                 - (nm_connection_verify): new function
7819
7820 2007-10-04  Dan Williams  <dcbw@redhat.com>
7821
7822         * libnm-util/nm-setting.c
7823                 - (nm_settings_verify): use #defines when possible rather than strings
7824                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7825                 - (setting_vpn_verify): tighter validity check on 'service_type'
7826
7827 2007-10-04  Dan Williams  <dcbw@redhat.com>
7828
7829         * libnm-glib/nm-settings.c
7830                 - (nm_connection_settings_class_init): provide correct type for argument
7831                         to the Updated signal so that dbus-glib knows how to marshal it
7832
7833 2007-10-03  Dan Williams  <dcbw@redhat.com>
7834
7835         * src/nm-device-802-3-ethernet.c
7836                 - (real_get_best_connection): don't create automatic connections
7837                         internally; clients should provide a setting that applies to
7838                         the device with 'autoconnect: True'.  Problem was that these
7839                         internally auto-created connections don't have a proxy or service
7840                         name becuase they weren't created by a settings daemon, and therefore
7841                         clients have no idea what to do with them.
7842
7843 2007-10-03  Dan Williams  <dcbw@redhat.com>
7844
7845         * src/nm-device-802-11-wireless.c
7846           src/nm-device-802-11-wireless.h
7847           introspection/nm-device-802-11-wireless.xml
7848                 - GetActiveNetworks -> GetAccessPoints
7849                 - ActiveNetwork -> ActiveAccessPoint
7850                 - NetworkAdded -> AccessPointAdded
7851                 - NetowrkRemoved -> AccessPointRemoved
7852
7853         * libnm-glib/nm-device-802-11-wireless.c
7854           libnm-glib/nm-device-802-11-wireless.h
7855                 - network-added signal -> access-point-added
7856                 - network-removed signal -> access-point-removed
7857                 - nm_device_802_11_wireless_get_active_network() ->
7858                         nm_device_802_11_wireless_get_active_access_point()
7859                 - nm_device_802_11_wireless_get_network_by_path() ->
7860                         nm_device_802_11_wireless_get_access_point_by_path()
7861                 - nm_device_802_11_wireless_get_networks() ->
7862                         nm_device_802_11_wireless_get_access_points()
7863
7864         * libnm-glib/libnm-glib-test.c
7865           test/nm-tool.c
7866           src/NetworkManagerPolicy.c
7867                 - Fixups for Network -> AccessPoint
7868
7869 2007-10-03  Dan Williams  <dcbw@redhat.com>
7870
7871         Add a GetActiveConnections() method on the Manager object.
7872
7873         * src/nm-manager.c
7874           src/nm-manager.h
7875           introspection/nm-manager.xml
7876                 - (connection_get_settings_cb): keep connection type around too
7877                 - (impl_manager_get_active_connections, add_one_connection_element):
7878                         implement; returns all active connections and what devices they
7879                         apply to
7880
7881         * libnm-glib/nm-client.c
7882           libnm-glib/nm-client.h
7883           introspection/nm-manager-client.xml
7884                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7885                         by the caller; free here to avoid memory leak
7886                 - (nm_client_get_active_connections): implement; return the list of
7887                         active connections
7888                 - (nm_client_free_active_connection_element): implement; free an element
7889                         of the GSList returned by nm_client_get_active_connections()
7890
7891 2007-10-03  Dan Williams  <dcbw@redhat.com>
7892
7893         * src/nm-device-802-11-wireless.c
7894                 - (nm_device_802_11_wireless_update_bssid): remove
7895                 - (get_active_ap): new function; find the AP in the scan list which
7896                         matches the current BSSID and SSID of the wireless device
7897                 - (nm_device_802_11_periodic_update): get current AP using
7898                         get_active_ap() and print AP roam messages
7899
7900 2007-10-01  Dan Williams  <dcbw@redhat.com>
7901
7902         * libnm-util/nm-setting.h
7903                 - Add a 'timestamp' option to NMSettingConnection
7904                 - Add a UINT64 type
7905
7906         * libnm-util/nm-setting.c
7907                 - (uint64_to_gvalue): new function
7908                 - (nm_setting_populate_from_hash, nm_setting_hash,
7909                    default_setting_clear_secrets): handle UINT64 type
7910                 - con_table: add 'timestamp' member
7911
7912 2007-10-01  Dan Williams  <dcbw@redhat.com>
7913
7914         * src/nm-manager.c
7915                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7916                         value when the connection can be activated immediately
7917
7918 2007-10-01  Dan Williams  <dcbw@redhat.com>
7919
7920         * libnm-glib/nm-device.c
7921                 - (nm_device_class_init): actually tell glib about the carrier-changed
7922                         signal
7923
7924 2007-10-01  Dan Williams  <dcbw@redhat.com>
7925
7926         * configure.in
7927           src/marshallers/Makefile.am
7928           src/marshallers/nm-marshal.list
7929           src/marshallers/nm-marshal-main.c
7930                 - Consolidate glib marshallers into one place
7931
7932         * src/dhcp-manager/Makefile.am
7933           src/dhcp-manager/nm-dhcp-manager.c
7934           src/supplicant-manager/Makefile.am
7935           src/supplicant-manager/nm-supplicant-manager.c
7936           src/supplicant-manager/nm-supplicant-interface.c
7937           src/ppp-manager/Makefile.am
7938           src/ppp-manager/nm-ppp-manager.c
7939           src/vpn-manager/Makefile.am
7940           src/vpn-manager/nm-vpn-connection.c
7941           src/Makefile.am
7942                 - Use consolidated marshallers
7943
7944         * src/dhcp-manager/nm-dhcp-marshal.list
7945           src/dhcp-manager/nm-dhcp-marshal-main.c
7946           src/supplicant-manager/nm-supplicant-marshal-main.c
7947           src/supplicant-manager/nm-supplicant-marshal.list
7948           src/nm-marshal-main.c
7949           src/nm-marshal.list
7950           src/ppp-manager/nm-ppp-marshal-main.c
7951           src/ppp-manager/nm-ppp-marshal.list
7952           src/vpn-manager/nm-vpn-marshal-main.c
7953           src/vpn-manager/nm-vpn-marshal.list
7954                 - Remove
7955
7956 2007-10-01  Dan Williams  <dcbw@redhat.com>
7957
7958         * include/NetworkManagerVPN.h
7959                 - define VPN connection state change reason codes
7960
7961         * src/vpn-manager/Makefile.am
7962           src/vpn-manager/nm-vpn-marshal.list
7963           src/vpn-manager/nm-vpn-marshal-main.c
7964                 - Add marshallers for StateChanged signal
7965
7966         * introspection/nm-vpn-connection.xml
7967                 - New Banner property
7968                 - StateChanged signal now includes a 'reason' argument
7969
7970         * src/vpn-manager/nm-vpn-connection.c
7971           src/vpn-manager/nm-vpn-connection.h
7972                 - Add a "Banner" property that contains the returned VPN server login
7973                         banner (if any); valid only in the ACTIVATED state
7974                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7975                         a 'reason' argument and emits that reason along with the
7976                         state-changed signal
7977                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7978                 - (nm_vpn_connection_ip4_config_get): save banner for later
7979                 - (nm_vpn_connection_get_banner, get_property,
7980                    nm_vpn_connection_class_init): implement Banner property
7981
7982         * src/vpn-manager/nm-vpn-service.c
7983                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7984                         connection list because elements may get added/removed from it
7985                         while iterating over the list
7986                 - (connection_state_changed): signal now includes the 'reason' argument
7987
7988         * libnm-glib/nm-vpn-connection.c
7989           libnm-glib/nm-vpn-connection.h
7990                 - (nm_vpn_connection_get_banner): new function
7991                 - (state_changed_proxy): handle reason argument
7992
7993 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7994
7995         * src/nm-manager.c:
7996         * src/nm-manager.h:
7997         Implement device activation through NMManager.
7998         Implement "pending device activation" here - If the connection isn't found,
7999         we try to wait for up to 5 seconds for the connection to be provided.
8000         Add NMConnectionType argument to "connection-added" and "connection-removed"
8001         signals.
8002         (nm_manager_get): Remove. Finally.
8003
8004         * src/nm-activation-request.c: 
8005         * src/nm-activation-request.h: 
8006         Remove all the deferred activation code.
8007
8008         * src/nm-device.c: Remove all the deferred activation code. Once the device
8009         activation is started, it's started. Update the activation virtual function
8010         signature.
8011
8012         * src/nm-device-interface.c:
8013         * src/nm-device-interface.h:
8014         Device activation now takes only NMActRequest argument.
8015         Don't expose device activation directly on dbus, it's supposed to go through
8016         NMManager now.
8017
8018         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8019         a bit more compact.
8020         Use the new device activation methods through NMManager.
8021
8022         * introspection/nm-manager-client.xml: 
8023         * introspection/nm-manager.xml: 
8024         * libnm-glib/nm-client.c:
8025         * libnm-glib/nm-client.h:
8026         Add device activation method.
8027         
8028         * libnm-glib/nm-device.c: 
8029         * libnm-glib/nm-device.h: 
8030         * introspection/nm-device.xml: 
8031         Remove device activation method. It's done through NMManager now.
8032
8033         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8034         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8035
8036 2007-09-28  Dan Williams  <dcbw@redhat.com>
8037
8038         * libnm-glib/nm-vpn-connection.c
8039                 - (nm_vpn_connection_get_state): try to update state if the current
8040                         state is UNKNOWN
8041
8042 2007-09-27  Dan Williams  <dcbw@redhat.com>
8043
8044         Patch from Bill Nottingham
8045
8046         * src/supplicant-manager/nm-supplicant-config.c
8047                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8048                         data to the supplicant
8049
8050 2007-09-27  Dan Williams  <dcbw@redhat.com>
8051
8052         * src/NetworkManagerSystem.c
8053                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8054                         and all address manipulation here should be happening on the
8055                         _VPN_ device, not the active device
8056
8057 2007-09-26  Dan Williams  <dcbw@redhat.com>
8058
8059         * src/nm-manager.c
8060           src/nm-manager.h
8061           src/nm-activation-request.c
8062           src/nm-activation-request.h
8063                 - Move the GetSecrets stuff out of the NMManager instance because it
8064                         doesn't really need to be there and complicates things
8065
8066         * src/nm-device.c
8067                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8068                         connection-secrets-failed signal and deactivate the device if
8069                         the GetSecrets call fails
8070
8071         * src/nm-device-802-11-wireless.c
8072                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8073                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8074                         secrets and give correct hints about whether new secrets should be
8075                         asked for by the client or not
8076
8077 2007-09-26  Dan Williams  <dcbw@redhat.com>
8078
8079         * src/vpn-manager/nm-vpn-connection.c
8080                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8081                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8082                         to the secrets-updated signal of the NMConnection since updating
8083                         the secrets is done within the scope of the NMVPNConnection object
8084                         already
8085                 - (get_connection_secrets): fix an uninialized variable usage error
8086
8087 2007-09-26  Dan Williams  <dcbw@redhat.com>
8088
8089         * libnm-util/nm-setting.c
8090                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8091                         actually get updated when the user enters them
8092
8093 2007-09-26  Dan Williams  <dcbw@redhat.com>
8094
8095         * libnm-glib/nm-vpn-plugin.c
8096                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8097
8098 2007-09-26  Dan Williams  <dcbw@redhat.com>
8099
8100         * include/NetworkManagerVPN.h
8101                 - Add a NEED_AUTH state
8102
8103         * src/vpn-manager/nm-vpn-connection.c
8104                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8105                         the connection needs secrets, and if so, then ask the settings
8106                         service to fill in the secrets.  Then start the connection.
8107
8108 2007-09-26  Dan Williams  <dcbw@redhat.com>
8109
8110         * src/vpn-manager/nm-vpn-manager.c
8111                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8112
8113 2007-09-26  Dan Williams  <dcbw@redhat.com>
8114
8115         * introspection/nm-vpn-plugin.xml
8116           libnm-glib/nm-vpn-plugin.c
8117           libnm-glib/nm-vpn-plugin.h
8118                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8119                         the name of the NMSetting in an NMConnection that may require
8120                         secrets specific to that VPN plugin
8121
8122 2007-09-26  Dan Williams  <dcbw@redhat.com>
8123
8124         * src/nm-manager.c
8125           src/nm-manager.h
8126                 - (nm_manager_get_connection_secrets): make static, unused outside
8127                         the file
8128                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8129
8130 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8131
8132         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8133         method.
8134         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8135         unreference the connection.
8136
8137         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8138         passing properties hash and routes string list, pass NMConnection (in hashed form).
8139
8140         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8141         as GSList, no need to copy stuff around anymore.
8142         (nm_vpn_connection_activate): Update the plugin activation method.
8143
8144         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8145         routes argument to GSList.
8146
8147 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8148
8149         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8150         state and try to get the secrets.
8151
8152         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8153         connections from NMManager and let the device to choose the best from the list.
8154         Since the connection list is sorted by system ones first and user ones later,
8155         the devices still prefer system connections like they did before.
8156         (deactivate_old_device): Implement. When a device starts activation, we have a
8157         policy (for now at least) to deactivate any other device that might be either
8158         active or still activating.
8159
8160         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8161         It's set on construction, there will be no other way to access it.
8162
8163         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8164         device events and drive the device, not the other way around.
8165
8166         * src/nm-device-802-3-ethernet.c: Ditto.
8167
8168         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8169         sent along, pass it on to virtual functions.
8170
8171         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8172         for now, but should really be public instead of nm_device_get_iface() since iface
8173         is a property of the DeviceInterface, not Device.
8174         (impl_device_activate): Don't touch NMManager!
8175
8176 2007-09-26  Jürg Billeter  <j@bitron.ch>
8177
8178         * initscript/paldo/NetworkManager.in:
8179         * initscript/paldo/NetworkManagerDispatcher.in:
8180         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8181         (nm_system_flush_loopback_routes): update paldo backend
8182
8183 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8184
8185         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8186         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8187         which means none of the devices get brought down properly, which in turn leaves
8188         DHCP client running.
8189
8190         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8191         (supplicant_connection_timeout_cb): Ditto.
8192
8193 2007-09-25  Dan Williams  <dcbw@redhat.com>
8194
8195         * src/nm-device.c
8196                 - (device_activation_go): small hack to work around race when
8197                         activating deferred connections; should solve this in a better way
8198
8199 2007-09-25  Dan Williams  <dcbw@redhat.com>
8200
8201         * introspection/nm-device.xml
8202           libnm-glib/nm-device.c
8203           libnm-glib/nm-device.h
8204                 - Add 'Carrier' property to exported NMDevice objects
8205
8206         * src/nm-device-interface.h
8207           src/nm-device-interface.c
8208           src/nm-device.c
8209                 - Add a 'carrier' property to internal NMDevice objects
8210
8211 2007-09-25  Dan Williams  <dcbw@redhat.com>
8212
8213         * src/nm-device-802-11-wireless.c
8214                 - (ap_auth_enforced): also return the encryption status of the AP so
8215                         that callers can differentiate easily between unencrypted APs
8216                         and encrypted ones, in addition to whether the AP has an
8217                         authenticator
8218                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8219                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8220                         previously would request secrets from unencrypted APs at times
8221
8222 2007-09-25  Dan Williams  <dcbw@redhat.com>
8223
8224         * src/nm-manager.c
8225                 - (nm_manager_update_state): new function; updates state and emits
8226                         appropriate signals ensuring a state-change signal for the same state
8227                         never gets emitted twice in a row.
8228                 - (manager_device_state_changed): handle more device state to get a
8229                         better picture of the overall NM state
8230
8231 2007-09-25  Dan Williams  <dcbw@redhat.com>
8232
8233         * libnm-glib/nm-settings.c
8234           libnm-glib/nm-settings.h
8235                 - (new_error -> nm_settings_new_error): make public so that subclasses
8236                         can use the same error domain.  Also pass a valid error code to
8237                         g_error_new_literal() so that libdbus doesn't assert when converting
8238                         the GError into a DBusError
8239                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8240                    impl_connection_settings_get_settings,
8241                    impl_connection_settings_get_secrets): use new error creator
8242                         function
8243
8244 2007-09-25  Dan Williams  <dcbw@redhat.com>
8245
8246         * src/NetworkManager.c
8247                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8248
8249 2007-09-25  Dan Williams  <dcbw@redhat.com>
8250
8251         * src/supplicant-manager/nm-supplicant-manager.c
8252                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8253                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8254                    nm_supplicant_manager_startup): when the supplicant isn't running,
8255                         try to start it periodically via system bus activation.  Fixes
8256                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8257                         for the supplicant to come back
8258
8259 2007-09-25  Dan Williams  <dcbw@redhat.com>
8260
8261         Ensure that old activation requests are forgotten about; previously
8262         hitting Cancel in the password dialog would deactivate whatever device
8263         that password was requested for, even if that wasn't the currently
8264         activating connection.
8265
8266         * src/nm-manager.c
8267           src/nm-manager.h
8268                 - (nm_manager_get_connection_secrets): track the pending call
8269                         object so it can be canceled later if needed
8270                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8271                         GetSecrets call for a particular connection
8272
8273         * src/nm-activation-request.c
8274                 - (dispose): cancel any outstanding GetSecrets calls on the
8275                         connection
8276
8277 2007-09-25  Dan Williams  <dcbw@redhat.com>
8278
8279         * src/NetworkManagerPolicy.c
8280                 - (nm_policy_device_change_check): handle devices that have a
8281                         deferred activation.  These devices are not really active _yet_,
8282                         but need to be treated as such here.  Don't interrupt them
8283                         automatically.
8284
8285         * src/nm-device-interface.c
8286                 - (impl_device_activate): handle devices that have a deferred activation
8287                         like activating or active devices.  When multiple active devices
8288                         get committed, the device shouldn't be deactivated until the
8289                         connection details are available to avoid DoS and such.  Currently,
8290                         any active, activating, or deferred activation device is deactivated
8291                         here before starting the new activation request.
8292
8293 2007-09-25  Dan Williams  <dcbw@redhat.com>
8294
8295         Properly re-query secrets from the settings daemon when stuff fails.
8296
8297         * src/nm-device-802-11-wireless.c
8298                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8299                         between Shared Key and Open System auth modes
8300                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8301                    real_act_stage4_ip_config_timeout): clear existing secrets and
8302                         request new ones when something fails due to a suspected wrong key
8303                 - (real_act_stage2_config): fix for new request_new argument to
8304                         nm_manager_get_connection_secrets()
8305
8306         * src/nm-manager.c
8307           src/nm-manager.h
8308                 - (nm_manager_get_connection_secrets): return error status; pass
8309                         new request_new argument on to the settings daemon
8310
8311         * introspection/nm-settings-connection.xml
8312                 - New 'request_new' argument to the GetSecrets call that hints to the
8313                         settings daemon to ask the user for completely new secrets
8314
8315         * libnm-glib/nm-settings.c
8316           libnm-glib/nm-settings.h
8317                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8318                         argument
8319
8320 2007-09-25  Dan Williams  <dcbw@redhat.com>
8321
8322         * libnm-util/nm-connection.c
8323           libnm-util/nm-connection.h
8324                 - (nm_connection_clear_secrets): new function; clear secrets out of
8325                         each NMSetting in an NMConnection
8326
8327         * libnm-util/nm-setting.h
8328           libnm-util/nm-setting.c
8329                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8330                         secrets out of an NMSetting
8331                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8332                    nm_setting_wired_new, nm_setting_wireless_new,
8333                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8334                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8335                         to default handler default_setting_clear_secrets()
8336
8337 2007-09-25  Dan Williams  <dcbw@redhat.com>
8338
8339         * src/nm-activation-request.c
8340           src/nm-activation-request.h
8341                 - (nm_act_request_is_deferred): new function
8342
8343 2007-09-24  Dan Williams  <dcbw@redhat.com>
8344
8345         * src/nm-device-802-11-wireless.c
8346                 - (activation_success_handler): update signal strength immediately
8347                         after activation
8348
8349 2007-09-24  Dan Williams  <dcbw@redhat.com>
8350
8351         * libnm-util/nm-setting.c
8352                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8353
8354 2007-09-24  Dan Williams  <dcbw@redhat.com>
8355
8356         * src/NetworkManagerPolicy.c
8357                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8358                         device by deactivating it because it doesn't have a "best connection".
8359                         Since autoconnect=False connections aren't automatically chosen,
8360                         NM would interrupt activation of such a connection because it
8361                         would never be "best" due to autoconnect=False.
8362
8363 2007-09-24  Dan Williams  <dcbw@redhat.com>
8364
8365         * src/nm-manager.c
8366                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8367                         actually has some time to enter a key before the GetSecrets call
8368                         times out
8369
8370 2007-09-24  Dan Williams  <dcbw@redhat.com>
8371
8372         * introspection/nm-manager.xml
8373           src/nm-manager.c
8374                 - (impl_manager_legacy_state): fix 'state' method call return value
8375
8376 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8377
8378         * test/Makefile.am: Install nm-tool
8379
8380 2007-09-24  Dan Williams  <dcbw@redhat.com>
8381
8382         Patch from Ross Burton <ross@burtonini.com>
8383
8384         * test/nm-tool.c
8385           callouts/nm-dhcp-client-action.c
8386           src/nm-netlink.c
8387           src/vpn-manager/nm-vpn-connection.c
8388           libnm-glib/libnm-glib-test.c
8389                 - warning fixes
8390
8391 2007-09-24  Dan Williams  <dcbw@redhat.com>
8392
8393         * libnm-util/nm-utils.h
8394           libnm-util/nm-utils.c
8395                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8396                         remove, unused
8397
8398 2007-09-23  Dan Williams  <dcbw@redhat.com>
8399
8400         * vpn-daemons/vpnc/properties/nm-vpnc.c
8401                 - Update for new VPN properties API bits; instead of passing around
8402                         a lot of random things, everything goes into the NMConnection
8403                         object.
8404
8405 2007-09-23  Dan Williams  <dcbw@redhat.com>
8406
8407         * libnm-util/nm-setting.c
8408                 - Correctly dispose of settings objects if creating them from a hash
8409                         table fails
8410
8411 2007-09-23  Dan Williams  <dcbw@redhat.com>
8412
8413         * libnm-util/nm-setting.c
8414                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8415                         the hash table in a standard manner.  Clients of libnm-util should
8416                         only call g_hash_table_remove_all(), never destroy the hash table
8417                         and recreate it.
8418
8419 2007-09-22  Dan Williams  <dcbw@redhat.com>
8420
8421         * src/nm-device-802-11-wireless.c
8422                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8423                         real reason to do it so often, and reduces wakeups for clients.
8424
8425 2007-09-21  Dan Williams  <dcbw@redhat.com>
8426
8427         * src/nm-device-802-11-wireless.c
8428                 - (build_supplicant_config): wpa_supplicant requires the option
8429                         key_mgmt=NONE for unencrypted networks
8430                 - (real_act_stage2_config): clarify log message on activation
8431
8432 2007-09-21  Dan Williams  <dcbw@redhat.com>
8433
8434         * test/nm-supplicant-test.c
8435           test/Makefile.am
8436                 - Remove supplicant test binary; no longer applicable
8437
8438 2007-09-21  Dan Williams  <dcbw@redhat.com>
8439
8440         * src/supplicant-manager/nm-supplicant-manager.c
8441                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8442                         activate it on the system bus
8443
8444 2007-09-20  Dan Williams  <dcbw@redhat.com>
8445
8446         * initscript/RedHat/NetworkManager.in
8447                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8448
8449 2007-09-20  Dan Williams  <dcbw@redhat.com>
8450
8451         * src/nm-device.c
8452                 - (nm_device_is_activating): work around a race between auto-activation
8453                         and the user activating the same device that is being auto-activated
8454
8455 2007-09-20  Dan Williams  <dcbw@redhat.com>
8456
8457         * src/nm-device-interface.c
8458                 - (impl_device_activate): until multiple active device support lands,
8459                         ensure only one device can be active at a time
8460
8461 2007-09-20  Dan Williams  <dcbw@redhat.com>
8462
8463         * src/supplicant-manager/nm-supplicant-config.c
8464           src/supplicant-manager/nm-supplicant-config.h
8465                 - (nm_supplicant_config_add_option): hide secrets from system logs
8466
8467 2007-09-20  Dan Williams  <dcbw@redhat.com>
8468
8469         * src/NetworkManagerPolicy.c
8470                 - (nm_policy_device_change_check): re-enable the wireless device change
8471                         checking code; insted of checking for SSIDs, check for the same
8472                         connection instead
8473
8474 2007-09-20  Dan Williams  <dcbw@redhat.com>
8475
8476         * src/nm-device-802-11-wireless.c
8477                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8478                         composite link state when determining when to start the disconnection
8479                         timer; that link state is already based on the supplicant interface's
8480                         status which is exactly what's already being examined, plus the link
8481                         state is a conglomeration of various things that we don't want here
8482
8483 2007-09-20  Dan Williams  <dcbw@redhat.com>
8484
8485         * libnm-glib/nm-access-point.c
8486                 - (handle_property_changed): strength is a UCHAR
8487
8488 2007-09-20  Dan Williams  <dcbw@redhat.com>
8489
8490         * src/supplicant-manager/nm-supplicant-config.c
8491                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8492                         string list keywords too since that's what wpa_supplicant wants
8493
8494 2007-09-20  Dan Williams  <dcbw@redhat.com>
8495
8496         * libnm-util/nm-setting.c
8497                 - (convert_strv_to_slist): dupe the values in the list because since
8498                         the list is a boxed value, it'll get destroyed when it's container
8499                         (like a hash table or whatever) gets destroyed
8500
8501 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8502
8503         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8504         GSList.
8505
8506         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8507
8508         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8509         just use (g_object_set_data_full).
8510
8511         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8512         that NMSettingVPN->routes is a GSList, convert it to char **.
8513         (nm_vpn_connection_ip4_config_get): Free routes when done.
8514         (nm_vpn_connection_activate): Ditto.
8515
8516         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8517         (real_act_stage2_config): Use defined setting names.
8518
8519 2007-09-20  Dan Williams  <dcbw@redhat.com>
8520
8521         * src/nm-device-802-11-wireless.c
8522           src/nm-manager.c
8523           src/nm-manager.h
8524                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8525                         so that the device can be deactivated if secrets are wrong
8526
8527 2007-09-20  Dan Williams  <dcbw@redhat.com>
8528
8529         * introspection/nm-settings-connection.xml
8530           libnm-glib/nm-settings.c
8531           libnm-glib/nm-settings.h
8532                 - Make GetSecrets asynchronous on the server side
8533
8534 2007-09-20  Dan Williams  <dcbw@redhat.com>
8535
8536         * src/nm-manager.h
8537           src/nm-device.c
8538                 - (nm_device_activate): actually check if a given connection
8539                         exists before assuming it doesn't
8540
8541 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8542
8543         * libnm-util/nm-connection.c (register_default_creators): Use defined
8544         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8545
8546         * libnm-util/nm-setting.c: Define property name strings, use them.
8547         Implement NMSettingVPN and NMSettingVPNProperties settings.
8548         Implement NM_S_TYPE_GVALUE_HASH.
8549         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8550         (setting_connection_verify): Rename 'devtype' property to 'type'.
8551
8552         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8553         properties.
8554
8555         * src/vpn-manager/nm-vpn-service.c: Ditto.
8556
8557         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8558
8559         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8560         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8561
8562         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8563         names. NMSettingConnection->devtype got renamed to 'type'.
8564
8565         * src/nm-device-802-3-ethernet.c (find_best_connection):
8566         (real_get_best_connection): Ditto.
8567
8568         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8569
8570         * libnm-glib/nm-vpn-manager.[ch]: Update.
8571
8572 2007-09-19  Dan Williams  <dcbw@redhat.com>
8573
8574         * src/NetworkManagerAP.c
8575           src/NetworkManagerAP.h
8576           introspection/nm-access-point.xml
8577                 - Change strength-changed signal into a properties-changed signal
8578                         for all properties, not just strength.  Export that signal over dbus
8579                         so listeners don't have to poll NM for changes.
8580                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8581                         get exported over D-Bus, so break up the logic and let other bits
8582                         decided when to export the AP
8583                 - (nm_ap_new_from_ap): remove, unused
8584
8585         * src/nm-device-802-11-wireless.c
8586                 - (merge_scanned_ap): only export APs that are actually on the device
8587                         list, not every AP created internally
8588
8589         * libnm-glib/nm-access-point.c
8590           libnm-glib/nm-access-point.h
8591                 - Cache properties internally and only hit DBus when needed.  Get
8592                         property updates from NM signals
8593
8594 2007-09-16  Dan Williams  <dcbw@redhat.com>
8595
8596         * libnm-util/nm-connection.c
8597           libnm-util/nm-connection.h
8598                 - (nm_connection_for_each_setting_value): new function; iterate over
8599                         each setting's value and call a user-provided function with details
8600                         about that value
8601
8602         * libnm-util/nm-setting.c
8603           libnm-util/nm-setting.h
8604                 - (nm_setting_enumerate_values): new function; enumerate the values
8605                         of a specific NMSetting subclass for a user-provided function with
8606                         details about that value
8607                 - Change wep_tx_keyidx to a uint32
8608                 - Create settings value tables for each setting defining their type,
8609                         key name, offset into the NMSetting subclass' structure, and whether
8610                         they are required and/or a secret
8611                 - (nm_setting_populate_from_hash): generic function to populate an
8612                         NMSetting from a GHash table, make all settings use it
8613                 - (nm_setting_hash): generic function to derive a GHashTable from
8614                         an NMSetting object, make all settings use it
8615
8616 2007-09-14  Dan Williams  <dcbw@redhat.com>
8617
8618         Remove unused stuff in libnm-util
8619
8620         * configure.in
8621           libnm-util/Makefile.am
8622           libnm-util/cipher-private.h
8623           libnm-util/cipher-wep-ascii.c
8624           libnm-util/cipher-wep-ascii.h
8625           libnm-util/cipher-wep-hex.c
8626           libnm-util/cipher-wep-hex.h
8627           libnm-util/cipher-wep-passphrase.c
8628           libnm-util/cipher-wep-passphrase.h
8629           libnm-util/cipher-wpa-psk-hex.c
8630           libnm-util/cipher-wpa-psk-hex.h
8631           libnm-util/cipher-wpa-psk-passphrase.c
8632           libnm-util/cipher-wpa-psk-passphrase.h
8633           libnm-util/cipher.c
8634           libnm-util/cipher.h
8635           libnm-util/dbus-helpers.c
8636           libnm-util/dbus-helpers.h
8637           libnm-util/gnome-keyring-md5.c
8638           libnm-util/gnome-keyring-md5.h
8639           libnm-util/sha1.c
8640           libnm-util/sha1.h
8641           src/nm-device-802-11-wireless.c
8642           test/libnm-util/Makefile.am
8643           test/libnm-util/test-ciphers.c
8644           test/libnm-util/test-dbus-helpers.c
8645           test/libnm-util/test-inputs.h
8646                 - Removed
8647
8648 2007-09-14  Dan Williams  <dcbw@redhat.com>
8649
8650         * libnm-util/dbus-method-dispatcher.c
8651           libnm-util/dbus-method-dispatcher.h
8652                 - Remove, unused
8653
8654 2007-09-14  Dan Williams  <dcbw@redhat.com>
8655
8656         Implement deferred activation support in the device class.
8657
8658         * src/nm-device-interface.c
8659           src/nm-device-interface.h
8660                 - (nm_device_interface_activate): take more arguments to support
8661                         deferred activation; callers must pass one of (connection) OR
8662                         (service_name, connection_path)
8663                 - (impl_device_activate): connection validation is punted to the device
8664                         to be able to handle deferred activation.  Yes, this means errors
8665                         don't get returned from the Activate() dbus call, and yes, that
8666                         should be fixed somehow later.
8667
8668         * src/nm-device.c
8669           src/nm-device.h
8670                 - (clear_act_request): clear additional deferred activation stuff too
8671                 - (deferred_activation_timeout_cb): new function; clean up when
8672                         deferred activation times out.
8673                 - (deferred_activation_start_cb): new function; when the connection
8674                         finally becomes available, start device activation
8675                 - (nm_device_activate): attach to the right signals of the activation
8676                         request if we need to defer activation until the connection is valid
8677
8678         * src/NetworkManagerPolicy.c
8679                 - (nm_policy_device_change_check): update for additional arguments
8680                         required for nm_device_interface_activate().  Pass NULL for these
8681                         though because this function already knows exactly which
8682                         NMConnection to use
8683
8684 2007-09-14  Dan Williams  <dcbw@redhat.com>
8685
8686         Implement deferred activation handling in the NMActRequest class.  When a
8687         client wants to activate a device but must create the NMConnection details
8688         on the fly, there likely hasn't been enough time yet for NM to receive the
8689         new connection signal and grab all the connection details.  So the
8690         activation is deferred (and bounded by a timer) for a while, and if the
8691         connection appears within the window, it is activated.
8692
8693         * src/nm-activation-request.c
8694           src/nm-activation-request.h
8695                 - (nm_act_request_class_init): two new signals to support deferred
8696                         activation, to allow the listener to handle both timeout and success
8697                 - (nm_act_request_new_deferred): new function, starts the deferred
8698                         activation timeout handler and listens to the NMManager for
8699                         new-connection signals to notice when the connection comes in
8700
8701 2007-09-14  Dan Williams  <dcbw@redhat.com>
8702
8703         * src/nm-manager.h
8704           src/nm-manager.c
8705                 - (nm_manager_get_connection_service_name,
8706                    nm_manager_get_connection_dbus_path): get details about a connection
8707                         known internally by the NMManager
8708                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8709                         because NMConnection is now a GObject subclass
8710                 - Use constant for the gobject data tag used on NMConnection objects for
8711                         storing the associated DBusGProxy
8712
8713 2007-09-14  Dan Williams  <dcbw@redhat.com>
8714
8715         * utils/Makefile.am
8716           utils/nm-utils.c
8717           utils/nm-utils.h
8718           src/supplicant-manager/Makefile.am
8719           src/dhcp-manager/Makefile.am
8720           src/backends/Makefile.am
8721           src/named-manager/Makefile.am
8722           src/ppp-manager/Makefile.am
8723           src/vpn-manager/Makefile.am
8724           test/libnm-util/Makefile.am
8725           test/test-common/Makefile.am
8726                 - Remove utils/; it was unused
8727
8728 2007-09-13  Dan Williams  <dcbw@redhat.com>
8729
8730         * libnm-glib/nm-vpn-manager.h
8731           libnm-glib/nm-vpn-manager.c
8732                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8733
8734 2007-09-13  Dan Williams  <dcbw@redhat.com>
8735
8736         * src/nm-device-802-3-ethernet.c
8737                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8738                         netlink monitor carrier signals on dispose, not bring down.  The
8739                         carrier signals should be handled over the entire lifetime of the
8740                         device anyway, not created/destroyed on up or down.
8741
8742 2007-09-13  Dan Williams  <dcbw@redhat.com>
8743
8744         * libnm-glib/nm-device.c
8745           libnm-glib/nm-device.h
8746                 - (nm_device_activate): take a connection object path rather than an
8747                         NMConnection because NMConnection isn't exported over D-Bus and
8748                         therefore it dbus-glib can't automatically get an object path from it
8749
8750 2007-09-13  Dan Williams  <dcbw@redhat.com>
8751
8752         * libnm-util/nm-setting.c
8753                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8754
8755 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8756
8757         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8758
8759 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8760
8761         * src/vpn-manager/nm-vpn-connection.[ch]: 
8762         * src/vpn-manager/nm-vpn-manager.[ch]:
8763         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8764         dbus-glib, GObjects, signals etc.
8765
8766         * libnm-glib/nm-vpn-manager.[ch]: 
8767         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8768         so much, rewrite these too.
8769
8770         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8771         the new introspection files.
8772
8773         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8774
8775         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8776         the header with the same name from libnm-utils.
8777
8778         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8779
8780         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8781
8782         * introspection/nm-vpn-plugin.xml: Implement.
8783
8784         * introspection/nm-vpn-connection.xml: Implement.
8785
8786         * introspection/nm-vpn-manager.xml: Implement.
8787
8788         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8789         the named manager argument, it can just as easily get it as the caller.
8790         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8791
8792         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8793
8794         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8795
8796         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8797         libnm-utils.
8798
8799         * libnm-util/nm-connection.c: Ditto.
8800
8801         * src/NetworkManagerMain.h: Remove, it's finally empty.
8802
8803         * configure.in: Remove utils/ from build.
8804
8805         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8806         of hard-coded strings.
8807
8808         * utils/: Move it over to libnm-util.
8809
8810         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8811
8812         * dispatcher-daemon/Makefile.am: Ditto.
8813
8814         * src/Makefile.am: Ditto.
8815
8816 2007-09-12  Dan Williams  <dcbw@redhat.com>
8817
8818         Wireless connections can be made with config data from the applet now.
8819         
8820         Yay.
8821
8822         * src/supplicant-manager/nm-supplicant-config.h
8823           src/supplicant-manager/nm-supplicant-config.c
8824                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8825                 - (nm_supplicant_config_add_setting_wireless,
8826                    nm_supplicant_config_add_setting_wireless_security): new functions;
8827                         add key/value pairs from the settings objects to the supplicant
8828                         config
8829
8830         * src/nm-device-802-11-wireless.c
8831                 - (cull_scan_list): fix check to not prune currently associated AP
8832                 - (build_supplicant_config, real_act_stage2_config): call the functions
8833                         of the NMSupplicantConfig that parse settings objects rather than
8834                         doing it manually here
8835
8836 2007-09-12  Dan Williams  <dcbw@redhat.com>
8837
8838         * src/supplicant-manager/nm-supplicant-interface.c
8839           src/supplicant-manager/nm-supplicant-marshal.list
8840                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8841                         "connection-error" signal arguments should be STRING not CHAR
8842
8843 2007-09-12  Dan Williams  <dcbw@redhat.com>
8844
8845         * src/NetworkManagerUtils.c
8846           src/NetworkManagerUtils.h
8847                 - (nm_utils_hexstr2bin): new function
8848
8849 2007-09-11  Dan Williams  <dcbw@redhat.com>
8850
8851         * src/nm-manager.c
8852                 - (connection_get_settings_cb): emit connection-added signal
8853                 - (connection_removed_cb): uncomment bits for system settings service,
8854                         send connection-removed when appropriate
8855                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8856                         the stack by trying to g_object_set_data() on something that's
8857                         not a GObject; handle case where settings service returns
8858                         empty settings hash table
8859
8860 2007-09-11  Dan Williams  <dcbw@redhat.com>
8861
8862         * src/NetworkManagerPolicy.c
8863                 - (connection_added, connection_removed): trigger device change checks
8864                         on connection changes
8865
8866 2007-09-11  Dan Williams  <dcbw@redhat.com>
8867
8868         * src/nm-activation-request.c
8869                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8870
8871 2007-09-11  Dan Williams  <dcbw@redhat.com>
8872
8873         * src/nm-device-802-11-wireless.c
8874                 - (real_connection_secrets_updated): fix erroneous check
8875
8876 2007-09-11  Dan Williams  <dcbw@redhat.com>
8877
8878         * introspection/nm-device.xml
8879           libnm-glib/nm-device.c
8880           libnm-glib/nm-device.c
8881                 - Fix Activate call argument borkage; Activate takes 3 arguments
8882
8883 2007-09-11  Dan Williams  <dcbw@redhat.com>
8884
8885         * libnm-glib/nm-access-point.c
8886           libnm-glib/nm-access-point.c
8887                 - (nm_access_point_get_frequency): now returns guint32 to match
8888                         property change on 2007-09-10
8889
8890 2007-09-11  Dan Williams  <dcbw@redhat.com>
8891
8892         * src/nm-device-802-11-wireless.c
8893                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8894                         somewhere defines 'index' and I missed this one when I fixed the
8895                         shadow declaration errors earlier
8896
8897 2007-09-11  Dan Williams  <dcbw@redhat.com>
8898
8899         * libnm-util/nm-connection.c
8900                 - (nm_connection_update_secrets, need_secrets_check): move
8901                         802-11-wireless-security need_secrets checks to the setting object
8902                         itself, where it belongs
8903
8904         * libnm-util/nm-setting.c
8905           libnm-util/nm-setting.h
8906                 - (nm_setting_need_secrets): new function
8907                 - (setting_wireless_security_verify,
8908                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8909                 - (setting_wireless_security_need_secrets): mostly copy code over
8910                         from nm-connection.c
8911
8912 2007-09-11  Dan Williams  <dcbw@redhat.com>
8913
8914         * libnm-util/nm-setting.c
8915           libnm-util/nm-setting.h
8916                 - (nm_setting_update_secrets): new function; add a virtual function that
8917                         subclasses can implement to update their secrets
8918                 - (setting_wireless_security_update_secrets): implement that function
8919                         for the 802-11-wireless-security subclass
8920
8921         * libnm-util/nm-connection.c
8922           libnm-util/nm-connection.h
8923                 - (nm_connection_update_secrets): update secrets for a Setting and
8924                         emit a signal on success
8925
8926         * src/nm-manager.c
8927           src/nm-manager.h
8928           src/nm-marshal.list
8929                 - (connection_get_settings_cb): enable system settings bits
8930                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8931                         to request secrets from the settings dbus service and to
8932                         push those secrets to the NMConnection itself
8933
8934         * src/nm-activation-request.c
8935           src/nm-activation-request.h
8936                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8937                         currently being activated, and proxy that signal to other listeners.
8938                         Goes through the activation request because the activation request
8939                         is the thing that manages the lifetime of the NMConnection that's
8940                         being activated.
8941
8942         * src/nm-device-802-11-wireless.c
8943                 - (real_connection_secrets_updated): implement the connection secrets
8944                         updated notification and restart activation when secrets are
8945                         received
8946                 - (real_act_stage2_config): request secrets from the settings dbus
8947                         service if secrets are needed
8948
8949         * src/nm-device.c
8950           src/nm-device.h
8951                 - (clear_act_request, nm_device_activation_cancel,
8952                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8953                         where the activation request is cleared
8954                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8955                         updated secrets signal of activation request and add a function
8956                         that subclasses can override to handle it easily
8957
8958 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8959
8960         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8961         removal of NetworkManagerAPList.
8962
8963 2007-09-10  Dan Williams  <dcbw@redhat.com>
8964
8965         * src/NetworkManagerAP.c
8966           src/NetworkManagerAP.h
8967           introspection/nm-access-point.xml
8968                 - Change 'freq' property to a guint32 instead of a double since we
8969                         weren't using the floating point bits anyway
8970
8971 2007-09-10  Dan Williams  <dcbw@redhat.com>
8972
8973         * NetworkManagerAP.c
8974           NetworkManagerAP.h
8975           NetworkManagerPolicy.c
8976           NetworkManagerSystem.c
8977           NetworkManagerUtils.c
8978           NetworkManagerUtils.h
8979           nm-device-802-11-wireless.c
8980           nm-device-802-3-ethernet.c
8981           nm-hal-manager.c
8982           nm-manager.c
8983           vpn-manager/nm-dbus-vpn.c
8984                 - Warning fixes; casts and removal of unused variables
8985
8986 2007-09-10  Dan Williams  <dcbw@redhat.com>
8987
8988         * include/NetworkManager.h
8989                 - Kill NMNetworkType; AP types don't matter any more
8990
8991         * src/NetworkManagerAPList.c
8992           src/NetworkManagerAPList.h
8993           src/Makefile.am
8994                 - Kill; NMAccessPointList has outlived it's usefulness
8995
8996         * src/NetworkManagerAP.c
8997           src/NetworkManagerAP.h
8998                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8999                         functions; check if an NMConnection object is compatible with the
9000                         settings of this AP
9001                 - (freq_to_channel, channel_to_freq): utility functions for
9002                         channel <-> frequency conversion
9003
9004         * src/nm-device.c
9005           src/nm-device.h
9006                 - (nm_device_get_best_connection): pass the specific object around
9007                          (which might be the object path of a specific AP to connect to).
9008                          The get_best_connection() call should populate this on return
9009                          if needed (wireless does).
9010
9011         * src/nm-device-802-3-ethernet.c
9012                 - (real_get_best_connection): handle specific_object argument
9013
9014         * src/NetworkManager.c
9015           src/NetworkManagerMain.h
9016                 - Remove unused includes
9017
9018         * src/nm-device-802-11-wireless.c
9019           src/nm-device-802-11-wireless.h
9020                 - Convert the ap_list into a GSList from an NMAccessPointList
9021                 - No need for caching the 'activation_ap' since this is now determined
9022                         from the specific_object of the activation request, which is
9023                         populated from the get_best_connection() call or from a user request
9024                 - (nm_device_802_11_wireless_update_bssid): fix warning
9025                 - (get_wireless_capabilities): fix error message format arguments
9026                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9027                 - (find_best_connection, real_get_best_connection): implement
9028                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9029                         move here from NetworkManagerAPList
9030                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9031                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9032                         already verified earlier
9033                 - (real_act_stage2_config): use nm_connection_need_secrets()
9034
9035         * src/NetworkManagerPolicy.c
9036                 - (nm_policy_auto_get_best_device): handle specific objects
9037                 - (create_connection): remove; automatic connection creation functionality
9038                         is handled by the Connection objects
9039                 - (nm_policy_device_change_check): handle specific_object
9040
9041         * libnm-util/nm-connection.c
9042                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9043
9044 2007-09-10  Dan Williams  <dcbw@redhat.com>
9045
9046         * src/nm-manager.c
9047                 - (query_connections): fix uninitialized variable problem that caused
9048                         segfault
9049                 - (nm_manager_add_device): take devices down on startup so that we can
9050                         be assured that nm_device_is_up() won't short-circuit the init
9051                         process.  Hack until the is_up check gets split into two pieces
9052                         that aren't behaviorally confusing.
9053
9054 2007-09-09  Dan Williams  <dcbw@redhat.com>
9055
9056         * introspection/nm-device.xml
9057                 - The 'Activate' method now takes 3 arguments, a service name for the
9058                 settings service (user or system), the object path of the connection
9059                 to activate, and the specific object to activate, if any
9060
9061         * src/nm-device-interface.c
9062                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9063                 Add error bits
9064                 - (impl_device_activate): adapt to new Activate arguments; validate
9065                 the service name and get the Connection object from the NMManager
9066                 before starting to activate the device with the specified connection
9067
9068         * src/nm-device-802-3-ethernet.c
9069                 - (real_get_best_connection): find the best connection, or create a
9070                 default one if no existing connections can be used
9071
9072         * src/NetworkManagerPolicy.c
9073                 - (nm_policy_auto_get_best_device): Get the device's best connection
9074                 and only pick the device if it has one
9075                 - (nm_policy_device_change_check): disable wireless bits for now until
9076                 wireless get_best_connection() can be implemented (replacing "best_ap");
9077                 don't create a default connection here as the device subclass will do
9078                 that if needed
9079
9080         * src/nm-manager.h
9081           src/nm-manager.c
9082                 - (nm_manager_get): make NMManager a singleton and expose the getter
9083                 internally
9084                 - Rework internal NMManager connection handling to use the same
9085                 routines for both the system and user settings services.  Most calls
9086                 take a new NMConnectionType argument specifying either system or user
9087                 connections
9088                 - (nm_manager_get_connection_by_object_path): new function; get a
9089                 connection keyed on its object path
9090
9091         * src/NetworkManager.c
9092                 - (main): use nm_manager_get()
9093
9094 2007-09-09  Dan Williams  <dcbw@redhat.com>
9095
9096         * src/nm-device.h
9097           src/nm-device.c
9098                 - (nm_device_get_best_connection): new function; get best connection
9099                         for the device at that time
9100
9101 2007-09-09  Dan Williams  <dcbw@redhat.com>
9102
9103         * src/nm-device-interface.h
9104                 - Add NMDeviceInterfaceError with an UnknownConnection error
9105
9106 2007-09-09  Dan Williams  <dcbw@redhat.com>
9107
9108         Stupid mistake on my part; object path and interface for settings service
9109         and connection objects can be the same, only the service name must be
9110         different for the system and user settings services.
9111
9112         * include/NetworkManager.h
9113           src/nm-manager.c
9114           introspection/nm-settings-connection.xml
9115           introspection/nm-settings.xml
9116           libnm-glib/nm-settings.c
9117                 - (nm_connection_settings_init, query_user_connections,
9118                    new_connection_cb): Unify NetworkManagerSettings and Connection
9119                    interface name and object path
9120
9121 2007-09-06  Dan Williams  <dcbw@redhat.com>
9122
9123         * libnm-glib/nm-object.c
9124                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9125                    nm_object_get_int_property, nm_object_get_uint_property,
9126                    nm_object_get_boolean_property, nm_object_get_byte_property,
9127                    nm_object_get_double_property, nm_object_get_byte_array_property):
9128                         clear GValues after copying their contents, fixes memory leaks
9129                         after every property access because dbus-glib copies the values
9130                         from the DBusMessage into the GValue already.
9131
9132 2007-09-06  Dan Williams  <dcbw@redhat.com>
9133
9134         * introspection/nm-access-point.xml
9135                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9136                         them to be.  There's some magic property name parsing going on in
9137                         dbus-glib that breaks up property names based on studly-caps and
9138                         puts - between words.
9139
9140         * libnm-glib/nm-access-point.c
9141                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9142                         Fix property names
9143
9144 2007-09-06  Dan Williams  <dcbw@redhat.com>
9145
9146         * src/nm-manager.c
9147                 - (nm_manager_user_connections_destroy): clear the user connections hash
9148                         table, don't destroy it
9149                 - (finalize): only destroy the hash table on NMManager finalization
9150
9151 2007-09-02  Dan Williams  <dcbw@redhat.com>
9152
9153         * include/NetworkManager.h
9154           libnm-glib/nm-settings.c
9155                 - defines for the user settings daemon D-Bus bits
9156
9157         * src/NetworkManager.c
9158                 - Remove stuff that referred to the old NetworkManagerInfo service
9159
9160         * src/vpn-manager/nm-dbus-vpn.h
9161                 - Move old NMI defines to the only place they are used still
9162
9163         * libnm-util/nm-connection.c
9164           libnm-util/nm-connection.h
9165           src/nm-activation-request.c
9166                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9167
9168         * src/nm-manager.c
9169           src/nm-manager.h
9170                 - Get connections and their settings from the user settings daemon
9171                         at the appropriate times
9172
9173 2007-09-02  Dan Williams  <dcbw@redhat.com>
9174
9175         * libnm-util/nm-setting.c
9176                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9177                 - (setting_wireless_hash): set the right value on the item
9178
9179 2007-09-02  Dan Williams  <dcbw@redhat.com>
9180
9181         * test/Makefile.am
9182           test/nminfotest.c
9183                 - Remove, no longer useful
9184
9185 2007-08-30  Dan Williams  <dcbw@redhat.com>
9186
9187         * src/Makefile.am
9188           src/NetworkManagerDbus.c
9189           src/NetworkManagerDbus.h
9190           src/vpn-manager/nm-dbus-vpn.c
9191                 - Remove, no longer necessary.  Move last bits to the only place its
9192                 used, in nm-dbus-vpn.c
9193
9194         * src/NetworkManagerAPList.c
9195           src/nm-device.c
9196           src/NetworkManager.c
9197           src/nm-device-802-11-wireless.c
9198           src/vpn-manager/nm-vpn-manager.c
9199           src/vpn-manager/nm-vpn-service.c
9200           src/NetworkManagerPolicy.c
9201           src/nm-manager.c
9202                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9203                 that was message_is_error()
9204
9205 2007-08-30  Dan Williams  <dcbw@redhat.com>
9206
9207         * libnm-util/sha1.c
9208                 - Include config.h to get defines for endiannes (gnome.org #420216)
9209
9210 2007-08-30  Dan Williams  <dcbw@redhat.com>
9211
9212         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9213
9214         * src/ppp-manager/Makefile.am
9215                 - use -fPIC (gnome.org #471825)
9216
9217 2007-08-29  Dan Williams  <dcbw@redhat.com>
9218
9219         * include/NetworkManager.h
9220                 - Keep NMConnection object path in sync
9221
9222         * libnm-glib/nm-settings.c
9223           libnm-glib/nm-settings.h
9224                 - Break D-Bus object registration out of the init function, because
9225                 every object that's exported over D-Bus needs to use the _same_
9226                 DBusConnection.  Otherwise, each object would get a different object
9227                 path tree and wouldn't be callable.
9228
9229 2007-08-29  Dan Williams  <dcbw@redhat.com>
9230
9231         * libnm-util/nm-setting.h
9232           libnm-util/nm-setting.c
9233           libnm-util/nm-connection.c
9234           src/NetworkManagerPolicy.c
9235                 - 'info' settings object should be 'connection' says the spec
9236                 at NetworkManagerConfigurationSpecification
9237
9238 2007-08-29  Dan Williams  <dcbw@redhat.com>
9239
9240         * libnm-glib/nm-settings.c
9241           libnm-glib/nm-settings.h
9242                 - make the dbus path a property of the object, and autogenerate it.
9243                 It can't be composed of the 'id' field becuase that's not available
9244                 yet during the GObject creation in nm_connection_settings_init()
9245
9246 2007-08-29  Dan Williams  <dcbw@redhat.com>
9247
9248         * introspection/nm-settings-connection.xml
9249           introspection/nm-settings.xml
9250                 - Service name -> NetworkManagerUserSettings because two services
9251                 can't share part of the same path.  I'm not really sure how we'll use
9252                 the same code with the system-settings daemon...
9253
9254 2007-08-28  Dan Williams  <dcbw@redhat.com>
9255
9256         * src/nm-device-interface.c
9257           src/nm-device-interface.h
9258                 - Kill one more bit of NMData
9259
9260 2007-08-28  Dan Williams  <dcbw@redhat.com>
9261
9262         * src/NetworkManagerSystem.h
9263           src/nm-device.c
9264           src/nm-device.h
9265           src/nm-hal-manager.c
9266           src/NetworkManager.c
9267           src/nm-device-802-11-wireless.c
9268           src/nm-hal-manager.h
9269           src/nm-device-802-3-ethernet.c
9270           src/vpn-manager/nm-vpn-service.h
9271           src/vpn-manager/nm-vpn-manager.c
9272           src/vpn-manager/nm-vpn-manager.h
9273           src/vpn-manager/nm-vpn-service.c
9274           src/nm-device-802-11-wireless.h
9275           src/NetworkManagerMain.h
9276           src/nm-device-802-3-ethernet.h
9277           src/backends/NetworkManagerGentoo.c
9278           src/backends/NetworkManagerPaldo.c
9279           src/backends/NetworkManagerFrugalware.c
9280           src/backends/NetworkManagerRedHat.c
9281           src/backends/NetworkManagerSlackware.c
9282           src/backends/NetworkManagerGeneric.c
9283           src/backends/NetworkManagerArch.c
9284           src/backends/NetworkManagerSuSE.c
9285           src/backends/NetworkManagerGeneric.h
9286           src/backends/NetworkManagerDebian.c
9287                 - Kill NMData
9288
9289 2007-08-28  Dan Williams  <dcbw@redhat.com>
9290
9291         * src/NetworkManagerMain.h
9292           src/nm-device-802-11-wireless.c
9293           src/NetworkManager.c
9294                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9295                 for now we should set the 'invalid' property on individual APs, and when
9296                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9297                 that ESS
9298
9299 2007-08-28  Dan Williams  <dcbw@redhat.com>
9300
9301         * src/NetworkManagerAP.c
9302           src/NetworkManagerAP.h
9303                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9304                         'autoconnect' property instead
9305
9306         * src/NetworkManager.c
9307           src/NetworkManagerMain.h
9308           src/NetworkManagerPolicy.c
9309           src/NetworkManagerPolicy.h
9310                 - Remove the 'allowed_ap_list', which should be replaced by 
9311                         NMConnection/NMSettings instead, since _those_ are the allowed
9312                         things that NM can connect to
9313
9314         * src/nm-device-802-11-wireless.c
9315                 - Remove both allowed_ap_list usage and 'fallback' checking
9316
9317 2007-08-28  Dan Williams  <dcbw@redhat.com>
9318
9319         * src/nm-device.c
9320           src/named-manager/nm-named-manager.c
9321           src/named-manager/nm-named-manager.h
9322           src/NetworkManager.c
9323           src/vpn-manager/nm-vpn-manager.c
9324           src/NetworkManagerMain.h
9325           src/NetworkManagerSystem.c
9326                 - Remove the named-manager object from NMData structure in preparation
9327                 for NMData's timely death.  Make the NMNamedManager the singleton that
9328                 it really is
9329
9330 2007-08-28  Dan Williams  <dcbw@redhat.com>
9331
9332         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9333         each AP's capabilities, and by NMConnection/NMSettings objects for user
9334         defined connections.
9335
9336         * include/NetworkManager.h
9337                 - Redefine 802.11 security properties.  There are now device capabilities
9338                         and AP flags and AP security flags.  It was way to unclear before.
9339
9340         * src/Makefile.am
9341           src/nm-ap-security-leap.h
9342           src/nm-ap-security-leap.c
9343           src/nm-ap-security-wpa-eap.c
9344           src/nm-ap-security-wpa-eap.h
9345           src/nm-ap-security-private.h
9346           src/nm-ap-security-wpa-psk.c
9347           src/nm-ap-security-wpa-psk.h
9348           src/nm-ap-security-wep.c
9349           src/nm-ap-security-wep.h
9350           src/nm-ap-security.c
9351           src/nm-ap-security.h
9352                 - Removed, to be replaced with NMConnection/NMSettings objects
9353
9354         * src/nm-dbus-nmi.c
9355           src/nm-dbus-nmi.h
9356                 - Removed, to be replaced by code that talks to the new info daemon
9357                         interface and gets NMConnection/NMSettings objects
9358
9359         * src/backends/NetworkManagerSuSE.c
9360                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9361                         info-daemon that does the same thing but talks the new info-daemon
9362                         D-Bus interface
9363
9364         * src/NetworkManagerAP.h
9365           src/NetworkManagerAP.c
9366           src/NetworkManagerAPList.c
9367           libnm-glib/libnm-glib-test.c
9368                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9369                         WPA/RSN
9370
9371         * libnm-glib/nm-access-point.c
9372           libnm-glib/nm-access-point.h
9373           introspection/nm-access-point.xml
9374           test/nm-tool.c
9375                 - Adjust to new flags for AP security
9376
9377         * utils/nm-utils.c
9378           utils/nm-utils.h
9379           src/vpn-manager/nm-dbus-vpn.c
9380                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9381                         stuff which is the only place it's used
9382
9383         * src/nm-device-interface.c
9384           src/nm-device-interface.h
9385           introspection/nm-device.xml
9386           src/nm-activation-request.c
9387           src/nm-activation-request.h
9388           src/nm-device.c
9389                 - Add a new 'specific_object' argument that hints to NM what actual
9390                         AP or other device-specific thing the connection should apply to.
9391                         NMConnection objects can apply to more than one actual device/AP.
9392
9393         * libnm-util/nm-connection.c
9394         * libnm-util/nm-connection.h
9395                 - Add 'have_secrets" call stubs
9396
9397         * libnm-util/cipher.h
9398                 - Move NM_AUTH_TYPE_* defines here for now
9399
9400         * src/nm-device-802-11-wireless.c
9401                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9402                         NMSettings objects
9403
9404         * src/NetworkManagerDbus.c
9405         * src/NetworkManagerPolicy.c
9406                 - Remove usage of update_allowed_networks, should be pushing data in
9407                         a different manner
9408
9409 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9410
9411         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9412         dbus-glib frees it when the call is done.
9413
9414 2007-08-26  Dan Williams  <dcbw@redhat.com>
9415
9416         * introspection/nm-device.xml
9417                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9418
9419 2007-08-26  Dan Williams  <dcbw@redhat.com>
9420
9421         * src/nm-device-802-3-ethernet.c
9422                 - (constructor): move connection of interface-connected/disconnected
9423                         signals here from real_bring_up().  Should be listening to netlink
9424                         for carrier events no matter what the initial state of the device
9425                         is.
9426
9427 2007-08-26  Dan Williams  <dcbw@redhat.com>
9428
9429         * src/nm-netlink-monitor.c
9430                 - (nm_netlink_monitor_class_init): fix marshalling types for
9431                         interface-connected/interface-disconnected
9432                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9433                         check
9434
9435 2007-08-26  Dan Williams  <dcbw@redhat.com>
9436
9437         Convert to using interface indexes as the primary method of identifying
9438         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9439         be renamed at any time.  Device object paths now refer to the device
9440         index rather than the name, and you can map those two manually if you like
9441         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9442         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9443         to use interface indexes rather than names.
9444
9445 2007-08-26  Dan Williams  <dcbw@redhat.com>
9446
9447         * src/nm-netlink-monitor.h
9448                 - Remove one last bit of wireless-event signal
9449
9450 2007-08-26  Dan Williams  <dcbw@redhat.com>
9451
9452         * src/nm-netlink-monitor.c
9453                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9454                         don't need the 'wireless-event' signal anymore since that's all
9455                         handled by wpa_supplicant
9456
9457 2007-08-25  Dan Williams  <dcbw@redhat.com>
9458
9459         It's 2007. Remove support for drivers that don't support wireless scanning.
9460
9461         * test/nm-tool.c
9462           include/NetworkManager.h
9463           src/NetworkManagerUtils.c
9464           src/NetworkManagerPolicy.c
9465           src/nm-device-802-11-wireless.c
9466                 - Remove special handling for non-scanning devices and mark them
9467                         as unsupported/unhandled
9468
9469 2007-08-20  Dan Williams  <dcbw@redhat.com>
9470
9471         * src/nm-device-802-11-wireless.c
9472           src/nm-device-802-3-ethernet.c
9473                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9474                         because when the card is pulled or the module removed, the device
9475                         is already !IFF_UP and then device-specific cleanup (removing
9476                         the supplicant interface, periodic checks, etc) never gets done
9477
9478 2007-08-20  Dan Williams  <dcbw@redhat.com>
9479
9480         * src/nm-manager.c
9481                 - (nm_manager_remove_device): bring device down before disconnecting
9482                         signal handlers, so that the 'state' signal will get broadcast when
9483                         the device enters the DOWN state
9484                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9485                         of states that cause the NMManager to recheck its state
9486
9487 2007-08-20  Dan Williams  <dcbw@redhat.com>
9488
9489         * src/supplicant-manager/nm-supplicant-interface.c
9490                 - (interface_disconnect_done): don't try to dispose of the net proxy
9491                         when it may already have been disposed of
9492
9493 2007-08-20  Dan Williams  <dcbw@redhat.com>
9494
9495         * src/nm-device-802-11-wireless.c
9496                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9497                         the SSID isn't available; this can happen when the card is pulled
9498                         or the module unloaded, during the post-removal deactivation
9499                         paths, when the ioctl returns ENODEV
9500
9501 2007-08-20  Dan Williams  <dcbw@redhat.com>
9502
9503         * src/nm-device-802-11-wireless.c
9504                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9505                         frequency, and mode match.  Applets are now responsible for grouping
9506                         access points
9507
9508 2007-08-20  Dan Williams  <dcbw@redhat.com>
9509
9510         * src/NetworkManagerAP.c
9511         * src/NetworkManagerAP.h
9512                 - (nm_ap_print_self): new function
9513
9514         * src/NetworkManagerAPList.c
9515                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9516                         to do it all here
9517         
9518 2007-08-17  Dan Williams  <dcbw@redhat.com>
9519
9520         * src/nm-device-802-3-ethernet.c
9521                 - (real_bring_down): don't try to dispose of stuff that might not
9522                         exist
9523
9524 2007-08-17  Dan Williams  <dcbw@redhat.com>
9525
9526         * src/NetworkManagerAP.c
9527                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9528                         applet.  This ensures that the case between the seen-bssids and
9529                         the bssids reported by the driver match.
9530
9531 2007-08-17  Dan Williams  <dcbw@redhat.com>
9532
9533         * src/nm-device-802-11-wireless.c
9534                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9535                         we dispose of the interface proxy in NM
9536
9537 2007-08-16  Dan Williams  <dcbw@redhat.com>
9538
9539         * libnm-glib/nm-client.c
9540                 - (nm_client_init): create VPN connections hash table with key free
9541                         function
9542                 - (proxy_vpn_connection_added): VPN connections hash table key should
9543                         be a duplicated value, not the same memory address as the VPN
9544                         connection name.  This is because the VPN connection name could
9545                         potentially be freed and set to something else during the lifetime
9546                         of the NMVPNConnection object.
9547
9548 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9549
9550         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9551         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9552         with the file descriptors. Send a child setup function to change the pppd
9553         progress group.
9554
9555 2007-08-15  Dan Williams  <dcbw@redhat.com>
9556
9557         * src/supplicant-manager/nm-supplicant-interface.c
9558                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9559                         an interface
9560                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9561                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9562                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9563                         the interface internally
9564
9565 2007-08-15  Dan Williams  <dcbw@redhat.com>
9566
9567         * src/nm-device-802-11-wireless.c
9568                 - (real_bring_down): move most of this function into device_cleanup()
9569                         so that it can be called from elsewhere
9570                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9571                         and stuff on dispose.  These would normally get cleaned up when
9572                         the device is marked down and deactivated, but when the device is
9573                         hot-unplugged, it's already down and real_down() never gets run
9574
9575 2007-08-15  Dan Williams  <dcbw@redhat.com>
9576
9577         * src/nm-dbus-nmi.c
9578                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9579                         caused a reference leak on device for which NM requested a key
9580
9581 2007-08-15  Dan Williams  <dcbw@redhat.com>
9582
9583         * libnm-glib/nm-client.c
9584                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9585
9586 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9587
9588         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9589         nothing is using it at the moment, but it'll be all useful and stuff later on.
9590
9591         * libnm-util/nm-setting.h: Define NMSettingPPP.
9592
9593         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9594
9595         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9596
9597         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9598
9599         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9600
9601         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9602
9603 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9604
9605         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9606
9607         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9608         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9609         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9610         name and different arguments and it won't compile anymore. To fix this, we now have
9611         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9612         that is new API + compatibility API and used by the daemon. The other, 
9613         nm-manager-client.xml is only the new API without compatibility bits and is used
9614         by libnm-glib to make it compile.
9615
9616         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9617
9618         * src/nm-manager.c (impl_manager_legacy_sleep)
9619         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9620         interface functions for 0.6 branch.
9621
9622 2007-08-14  Dan Williams  <dcbw@redhat.com>
9623
9624         * src/NetworkManagerAP.c
9625                 - (nm_ap_new_from_properties): fix mistaken check of return value
9626                         from memcmp (should expect 0)
9627
9628 2007-08-14  Dan Williams  <dcbw@redhat.com>
9629
9630         (force-commit to fix wrong comment and partial commit of r2685; this
9631          commit actually applies to r2685)
9632
9633         * src/NetworkManagerUtils.c
9634                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9635                         ignores trailing nulls in the SSID to work around mismatches in
9636                         expectations between WEXT and what the info-daemon passes back.  The
9637                         info-daemon would pass back the correct length, but due to the
9638                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9639                         the device would always have an SSID + 1 depending on what versions
9640                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9641                         visible by just quitting the applet and relaunching, which caused
9642                         NM to reassociated to the same network over again when reloading
9643                         the save networks.
9644
9645         * src/NetworkManagerPolicy.c
9646           src/NetworkManagerUtils.h
9647           src/nm-device-802-11-wireless.c
9648                 - Update for new parameter to nm_utils_same_ssid()
9649
9650 2007-08-14  Dan Williams  <dcbw@redhat.com>
9651
9652         * src/NetworkManagerAP.c
9653                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9654                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9655                         setting the BSSID to all 0s.  That confused the heck out of NM,
9656                         plus it's useless and probably out-of-spec.
9657
9658 2007-08-14  Dan Williams  <dcbw@redhat.com>
9659
9660         * callouts/Makefile.am
9661           src/dhcp-manager/nm-dhcp-manager.c
9662           src/dhcp-manager/nm-dhcp-manager.h
9663           src/dhcp-manager/Makefile.am
9664                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9665
9666 2007-08-14  Dan Williams  <dcbw@redhat.com>
9667
9668         * src/dhcp-manager/nm-dhcp-manager.c
9669                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9670                         it's really needed, get rid of unused xtra_args parameter
9671
9672 2007-08-14  Dan Williams  <dcbw@redhat.com>
9673
9674         * include/NetworkManagerVPN.h
9675           src/vpn-manager/nm-dbus-vpn.c
9676           src/vpn-manager/nm-dbus-vpn.h
9677           src/vpn-manager/nm-vpn-act-request.c
9678           src/vpn-manager/nm-vpn-act-request.h
9679           src/vpn-manager/nm-vpn-service.c
9680           src/vpn-manager/nm-vpn-service.h
9681           libnm-glib/nm-vpn-connection.c
9682           libnm-glib/nm-vpn-connection.h
9683           libnm-glib/nm-client.h
9684                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9685                         NMVPNServiceState to clarify what they apply to
9686                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9687                         NMVPNActStage -> NMVPNConnectionState for the same reason
9688
9689         * libnm-glib/nm-client.c
9690                 - Constant + type renames from above
9691                 - Properly handle NameOwnerChanged/manager_running signals
9692                         for NM service; only emit when state really changes
9693                 - Use hash tables correctly so that the key (which was previously owned
9694                         by the D-Bus message) now has the same lifetime as the value, since
9695                         the key is now taken from the the NMVPNConnection itself.  This
9696                         really fixes the double-VPN names in the applet
9697
9698 2007-08-13  Dan Williams  <dcbw@redhat.com>
9699
9700         Patch from Michael Biebl <biebl@debian.org>
9701
9702         * po/POTFILES.in
9703           po/POTFILES.skip
9704                 - Update for vpn-properties move
9705
9706 2007-08-13  Dan Williams  <dcbw@redhat.com>
9707
9708         * libnm-glib/nm-client.c
9709                 - Convert internal VPN connection tracking from a list to a hash table
9710                         to easily avoid duplicates
9711                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9712                         must be freed by the caller, like nm_client_get_devices()
9713                 - (nm_client_remove_vpn_connection): don't let the removal signal
9714                         leak through for NMVPNConnection objects that aren't actually
9715                         tracked.
9716                 - (manager_running): throw away VPN connection list when NM goes away,
9717                         like with the device list
9718
9719 2007-08-13  Dan Williams  <dcbw@redhat.com>
9720
9721         * src/dhcp-manager/nm-dhcp-manager.c
9722                 - Stop any dhclient instance that might be already running for a
9723                         particular interface before starting an NM spawned dhclient.  Fixes
9724                         dhclient processes left over if NM crashes, stuff like that.
9725
9726 2007-08-13  Dan Williams  <dcbw@redhat.com>
9727
9728         * src/NetworkManagerAP.c
9729                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9730                         when the AP wasn't broadcasting it's SSID
9731
9732 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9733
9734         * include/NetworkManager.h: added DBus path for connection settings.
9735
9736         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9737         nm_connection_settings_signal_updated,
9738         nm_connection_settings_signal_removed): new functions to wrap the
9739         objects' signals.
9740         (nm_connection_settings_init): register GObject with DBus.
9741         (nm_connection_settings_get_dbus_object_path): new function.
9742
9743         * libnm-glib/Makefile.am: added libnmutil to link flags.
9744
9745 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9746
9747         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9748
9749         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9750         libnm_glib directory got merged with libnm-glib/.
9751
9752         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9753
9754         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9755         Rename the library from libnm-glib to libnm_glib to maintain the library API
9756         compatibility with 0.6 branch.
9757
9758         * Makefile.am: Remove gnome/ SUBDIR.
9759
9760         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9761
9762         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9763
9764         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9765
9766         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9767         anymore.
9768         Remove checks for wpa_supplicant binary, it's used over dbus.
9769         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9770
9771         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9772         Link the binaries with libnm_glib.la.
9773
9774 2007-08-12  Dan Williams  <dcbw@redhat.com>
9775
9776         * src/NetworkManagerPolicy.c
9777                 - (nm_policy_device_change_check): fix policy to deactivate old device
9778                         before activating new one, at least until the multiple active
9779                         device support lands
9780
9781 2007-08-12  Dan Williams  <dcbw@redhat.com>
9782
9783         * src/NetworkManagerPolicy.c
9784                 - (nm_policy_new): hook up to connection-added / connection-removed
9785                         signals instead of connections-changed
9786
9787 2007-08-12  Dan Williams  <dcbw@redhat.com>
9788
9789         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9790         Robert Frank <rfrank@redhat.com>
9791
9792         * src/dhcp-manager/nm-dhcp-manager.c
9793           src/dhcp-manager/nm-dhcp-manager.c
9794           src/nm-device.c
9795                 - Spawn and communicate with dhclient directly, through means of a
9796                 custom dhclient callout script.  Process callout D-Bus signals
9797                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9798                 sent via gobject signals rather than being driven by the dhcp manager
9799                 directly.
9800
9801 2007-08-12  Dan Williams  <dcbw@redhat.com>
9802
9803         * callouts/nm-dhcp-client-action.c
9804                 - (build_message): ignore non-DHCP-related environment variables
9805
9806 2007-08-12  Dan Williams  <dcbw@redhat.com>
9807
9808         * Makefile.am
9809           configure.in
9810           callouts/Makefile.am
9811           callouts/nm-dhcp-client-action.c
9812           callouts/nm-dhcp-client.conf
9813                 - Add dhclient-executed callout that takes the place of dhclient-script
9814                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9815                 NM then listens for
9816
9817 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9818
9819         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9820
9821         * libnm-glib/nm-client.h:
9822         * libnm-glib/nm-object.h:
9823         * libnm-glib/nm-vpn-connection.h:
9824         * libnm-glib/nm-settings.h:
9825         * libnm-glib/nm-device.h:
9826         * libnm-glib/nm-ip4-config.h:
9827         * libnm-glib/nm-access-point.h:
9828         * libnm-glib/nm-device-802-3-ethernet.h:
9829         * libnm-util/nm-setting.h: 
9830         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9831
9832         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9833
9834         * libnm-glib/nm-access-point.c: Strength has type char.
9835
9836         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9837         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9838
9839         * introspection/nm-access-point.xml: Strength property is char, not int.
9840
9841         * src/NetworkManagerAP.c (set_property): Set strength from char.
9842         (get_property): Handle hidden APs (with empty SSID).
9843         Get strength value from char.
9844         (nm_ap_class_init): Strength property has char type.
9845
9846 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9847
9848         * introspection/Makefile.am:
9849         * introspection/nm-settings.xml:
9850         * introspection/nm-settings-connection.xml: added Settings interfaces.
9851
9852         * libnm-glib/nm-settings.[ch]:
9853         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9854         containing the DBus implementation.
9855
9856 2007-07-26  Dan Williams  <dcbw@redhat.com>
9857
9858         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9859
9860         * src/NetworkManagerSystem.c
9861                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9862                         same subnet (#437396)
9863
9864 2007-07-26  Dan Williams  <dcbw@redhat.com>
9865
9866         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9867
9868         * gnome/vpn-properties/nm-vpn-properties.c
9869                 - Fix translatable strings (#445865)
9870
9871 2007-07-26  Dan Williams  <dcbw@redhat.com>
9872
9873         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9874
9875         * configure.in
9876                 - Remove useless junk (#412530)
9877
9878 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9879
9880         Patch from Robert Buchholz <rbu@gentoo.org>:
9881
9882         * configure.in:
9883         * Makefile.am:
9884         * introspection/Makefile.am:
9885         Make make distcheck work again.
9886
9887 2007-06-27  Dan Williams  <dcbw@redhat.com>
9888
9889         * Make SSIDs GByteArrays everywhere
9890         * Rename "essid" -> "ssid" everywhere that's appropriate
9891         * Refcount activation_ap member of the 802.11 wireless device class
9892
9893 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9894
9895         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9896
9897 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9898
9899         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9900         that we got a new AP when we just update existing AP properties.
9901
9902 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9903
9904         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9905
9906         * nm-utils.[ch]: Remove.
9907
9908         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9909         objects for easy property access and dbus connection handling.
9910
9911         * libnm-glib/nm-client.c: Derive from NMObject.
9912
9913         * libnm-glib/nm-device.c: Ditto.
9914
9915         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9916
9917         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9918
9919         * libnm-glib/nm-ip4-config.c: Ditto.
9920
9921         * libnm-glib/nm-access-point.c: Ditto.
9922
9923         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9924         comparision. Currently used by the device activation code to determine if the new
9925         activation is the same as the old one.
9926
9927         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9928         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9929         able to ask password for the AP.
9930
9931         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9932         up if the device is already connected, tear down it's connection (if it isn't the
9933         same as new one) and start the activation.
9934
9935         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9936
9937         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9938         the issue where all APs are always listed as encrypted.
9939
9940         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9941         their own registered paths.
9942
9943         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9944         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9945
9946 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9947
9948         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9949         (0 & 0 == 0, doh)
9950
9951         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9952         because the handling code will cause the next state change and signal listeners
9953         get the signals in wrong order.
9954
9955         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9956         correctly in case of pending activation.
9957
9958         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9959         Convert the essid byte array to string correctly, including the terminating NULL.
9960
9961         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9962         mode with correct types.
9963
9964         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9965         constructed info to dbus call instead of the activation request.
9966
9967 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9968
9969         Patch from Christian Persch <chpe@gnome.org>
9970
9971         * libnm-glib/Makefile.am:
9972         * dispatcher-daemon/Makefile.am:
9973         Use the correct variables, the correct paths, and correct ordering. (446315)
9974
9975 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9976
9977         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9978         argument. The activation request is easy to retrieve.
9979
9980         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9981         just to be a convenient location for devices to store random stuff.
9982
9983 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9984
9985         Patch from Alex Smith <alex@alex-smith.me.uk>
9986
9987         * src/backends/NetworkManagerFrugalware.c:
9988         Update the FrugalWare backend to fix a few segfaults. (#392642)
9989
9990 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9991
9992         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9993
9994         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9995         setting.
9996         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9997
9998 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9999
10000         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10001         automagically.
10002         Implement NMSettingIP4Config.
10003         Finish NMSettingWired by adding all known members.
10004         (setting_wired_verify): Implement.
10005         Finish NMSettingWireless by adding all known members.
10006         (setting_wireless_verify): Implement.
10007
10008         * libnm-util/nm-connection.c: Register "ipv4" setting.
10009         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10010         dump function, we can introspect the GHashTable which is used for sending connections
10011         over dbus.
10012
10013         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10014         Take GByteArray for essid, it's really not a string.
10015
10016         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10017         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10018         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10019         means overriding the values we got from DHCP.
10020         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10021         (nm_device_deactivate_quickly): Ditto.
10022
10023         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10024         for debugging.
10025
10026 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10027
10028         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10029         NMConnection.
10030
10031         * libnm-glib/nm-device-802-11-wireless.c:
10032         (nm_device_802_3_ethernet_activate): Remove.
10033
10034         * libnm-glib/nm-device-802-3-ethernet.c
10035         (nm_device_802_3_ethernet_activate): Remove.
10036
10037         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10038
10039         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10040         NMConnection.
10041
10042         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10043         activation has started.
10044         Implement the new activation using NMConnection.
10045
10046         * src/nm-activation-request.c: Store a generic connection object instead
10047         of a wireless-specific AP.
10048
10049         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10050         on device type, create a device specific connection object suitable for
10051         device activation.
10052
10053         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10054         specific check to validate the connection and on success start the
10055         activation.
10056
10057         * src/nm-device-interface.h: Add a activate virtual function to the
10058         interface definition.
10059
10060         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10061         (impl_device_activate): Implement.
10062
10063         * introspection/nm-device.xml: Add a generic device activation interface
10064         that accepts an abstract NMConnection structure that has device-specific
10065         information in it.
10066
10067         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10068         activation interface.
10069
10070         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10071         activation interface.
10072
10073         * libnm-util/nm-connection.c: 
10074         * libnm-util/nm-connection.h: 
10075         * libnm-util/nm-setting.c:
10076         * libnm-util/nm-setting.h: Add.
10077
10078         * libnm-util/Makefile.am: Build the added files.
10079
10080         * src/nm-dbus-manager.c
10081         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10082         DbusConnection argument from 'name-owner-changed' signal. The manager
10083         is already passed as a first argument to the signal and the connection
10084         is easy enough to get from it.
10085
10086         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10087         Update the signature of the function.
10088
10089         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10090         Ditto.
10091
10092         * src/NetworkManager.c: Ditto.
10093
10094         * src/named-manager/nm-named-manager.c
10095         (nm_named_manager_name_owner_changed): Ditto.
10096
10097         * src/supplicant-manager/nm-supplicant-manager.c
10098         (nm_supplicant_manager_name_owner_changed): Ditto.
10099
10100         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10101
10102         * src/dhcp-manager/nm-dhcp-manager.c
10103         (nm_dhcp_manager_name_owner_changed): Ditto.
10104
10105         * src/nm-hal-manager.c: Add a list of device detectors and creators
10106         to make it easier to add new devices. Each device type has it's own
10107         entry in the table so adding new device types is only a matter of
10108         implementing a couple of functions, one for device detection and the
10109         other for device creation.
10110
10111 2007-04-25  Dan Williams  <dcbw@redhat.com>
10112
10113         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10114                 (gnome.org #432401)
10115
10116 2007-03-30  Dan Williams  <dcbw@redhat.com>
10117
10118         * src/NetworkManagerSystem.c
10119                 - (nm_system_device_set_ip4_route): clean up and fix argument
10120                         to nm_dev_sock_open()
10121
10122 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10123
10124         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10125         data to correct types instead of always using string.
10126
10127         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10128         _not_ have NM_802_11_CAP_PROTO_NONE.
10129         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10130         is not set.
10131
10132 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10133
10134         * libnm-glib/Makefile.am: Fix the build issue.
10135
10136 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10137
10138         * libnm-glib/nm-vpn-connection.h: 
10139         * libnm-glib/nm-vpn-connection.c: Implement.
10140
10141         * libnm-glib/nm-client.c: Add VPN support.
10142
10143         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10144         handler for VPN.
10145
10146         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10147         on DBUS again.
10148
10149 2007-03-26  Dan Williams  <dcbw@redhat.com>
10150
10151         * src/NetworkManagerAPList.c
10152         * src/nm-device-802-11-wireless.c
10153         * src/NetworkManagerAP.c:
10154                 - Store last seen as glong instead of GTimeVal.
10155                 - Fix the upper bound of capabilities, it's a bitfield.
10156
10157 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10158
10159         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10160
10161         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10162         "manager-running" signal that notifies the appearance/disappearance of NM.
10163         (nm_client_sleep): Implement.
10164
10165         * libnm-glib/nm-device.c:
10166         * libnm-glib/nm-device-802-11-wireless.c: 
10167         * libnm-glib/nm-device-802-3-ethernet.c: 
10168
10169         Don't inherit from DBusGProxy, add a proxy to private
10170         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10171         for anything but their own dbus interface. DBusGProxy objects support only one
10172         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10173         interface. The nice side effect of this change is that we do not create a new
10174         DBusGProxy object for each property access.
10175
10176 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10177
10178         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10179         with zeroes before passing them to functions - the functions never do that and
10180         reading the values back may produce wrong values.
10181         (real_bring_up): Store the signal handler id ...
10182         (real_bring_down): ... So that it can be removed here.
10183         Disconnect the supplicant interface here as well.
10184         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10185         from the access point instead of old $device/Networks/$essid.
10186
10187         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10188         device state is connected (instead of just having link/carrier).
10189
10190         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10191         already easily accessible through the device.
10192
10193         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10194         store it within the object.
10195         (nm_ap_get_dbus_path): Export it to public as well.
10196
10197         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10198         of the singleton.
10199
10200 2007-03-12  Dan Williams  <dcbw@redhat.com>
10201
10202         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10203         for non-carrier-detect capable devices, and useless for carrier-detect
10204         devices since we get notifications from netlink about carrier status anyway.
10205
10206         * src/nm-device-802-3-ethernet.c
10207                 - remove 'link_source_id' member from private data
10208                 - (probe_link): remove and collapse into real_update_link()
10209                 - (nm_device_802_3_periodic_update): remove
10210                 - (real_is_up): check for sup_iface rather than link_source_id
10211                 - (real_bring_up): return gboolean for success/fail; require that
10212                         sup_iface be valid for device bringup to succeed
10213                 - (real_bring_down): zero out link signal ids
10214
10215         * src/nm-device.c
10216                 - (nm_device_activate_stage2_device_config): fail activation if device
10217                         bringup fails
10218                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10219                         fails
10220                 - (nm_device_bring_up): return success/fail
10221
10222         * src/nm-device.h
10223                 - bring_up now returns success/fail
10224
10225         * src/nm-device-802-11-wireless.c
10226                 - (real_bring_up): return success from bringup
10227
10228 2007-03-07  Dan Williams  <dcbw@redhat.com>
10229
10230         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10231         * src/nm-ap-security-wpa-psk.c
10232                 - (real_write_supplicant_config): work with PSKs that may contain
10233                         zeros in the binary format rather than treating it as a string
10234
10235 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10236
10237         * libnm-glib/nm-device-802-11-wireless.c
10238         (nm_device_802_11_wireless_get_capabilities): Implement.
10239
10240         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10241
10242         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10243
10244         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10245         reply only if it's not NULL. Not sure why this started happening right now.
10246
10247         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10248         code paths for when devices get removed on shutdown or when a device is just
10249         removed.
10250         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10251         gets freed so any signal from a device (disconnected for instance) would invoke
10252         NMState update which would crash.
10253         (nm_manager_remove_device): Bring the device down when it gets removed.
10254
10255         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10256         the unused dev_type.
10257
10258         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10259         reference to the added device, NMManager will own it (if it wants).
10260
10261         * test/nm-tool.c: Rewrite using libnm-glib.
10262
10263         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10264         We get signalled when it changes.
10265
10266         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10267         when it changes.
10268
10269         * libnm-glib/nm-device.c: Cache the device state property.
10270
10271         * libnm-glib/nm-access-point.c: Cache the strength property.
10272
10273         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10274         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10275         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10276         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10277         the device is down, activating, or activated (in case of A/B/G cards).
10278         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10279         it's all done through supplicant now.
10280
10281         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10282         counting issues with pending calls which caused leaks and crashes when
10283         interface was removed (now that the interface actually gets removed).
10284
10285         * src/nm-call-store.c: Make a copy of data before running a foreach
10286         with user callback on it - The most common usage pattern is to cancel
10287         (and thus remove) all pending calls with foreach which would modify
10288         the hash table we're iterating over.
10289
10290         * src/nm-manager.c: When a device is added, make sure it is "up". When
10291         it's removed or disabled due to disabling wireless or networking, bring
10292         it down.
10293
10294         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10295
10296         * src/nm-device-802-11-wireless.c: 
10297         * src/nm-device-802-3-ethernet.c: 
10298         * src/nm-device.c:
10299                 - Remove "init" virtual function, all gobjects have a place for that
10300                   already (constructor).
10301                 - Replace "start" virtual function with "bring_up", devices can be
10302                   brought up and down more than just on startup now.
10303                 - Add "is_up" virtual function.
10304                 - Implement one way to bring a device down instead of previous 4 different
10305                   ways, each of witch did something different.
10306
10307         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10308         all it needs is the device interface.
10309
10310         Get rid of NMData.dev_list (3 members to go).
10311         Get rif of NMData in a lot of places.
10312
10313         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10314
10315 2007-02-23  Dan Williams  <dcbw@redhat.com>
10316
10317         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10318
10319         * src/NetworkManagerAP.c
10320                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10321                         OR-ing rather than AND-ing
10322
10323 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10324
10325         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10326         "network-removed" signals.
10327
10328         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10329
10330         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10331         when receiving the signal from dbus.
10332
10333         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10334         property.
10335
10336         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10337         deactivation of the previously activated device working again.
10338
10339         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10340         and setter.
10341
10342         * src/nm-device.c (nm_device_is_activated): Remove.
10343         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10344
10345         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10346         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10347         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10348         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10349         Remove NMNetworkStatus and NMActStage enums.
10350
10351 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10352
10353         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10354         Handle device state changes and disconnect VPN if it's device deactivates.
10355
10356         * src/nm-dbus-nm.c: 
10357         * src/nm-dbus-nm.h: 
10358         * src/nm-dbus-device.c: 
10359         * src/nm-dbus-device.c: 
10360         * src/nm-dbus-net.c: 
10361         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10362
10363         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10364
10365         * src/nm-device.c (nm_device_get_by_udi):
10366         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10367         implemented in the correct location (NMManager).
10368         Rip out all the test_device stuff.
10369
10370         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10371         failure handlers, it's all done by NMDevice already.
10372
10373         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10374         Remove the iochannel hack to route the unix signals to the main thread since
10375         we're not threaded anymore.
10376
10377         * src/NetworkManagerAP.c: Implement HWAddress property.
10378
10379         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10380         automatically with dbus-glib.
10381
10382         * src/nm-netlink-monitor.c: 
10383         * src/nm-netlink-monitor.h:
10384                 - Move it low in the class hierarchy, don't reference any NM types.
10385                 - Remove private data from the header.
10386                 - Use type safe checks in public API methods.
10387                 - Make it a singleton so we don't have to pass the single reference around.
10388
10389 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10390
10391         * introspection/nm-ip4-config.xml: Implement.
10392
10393         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10394
10395         * libnm-glib/nm-ip4-config.c:
10396         * libnm-glib/nm-ip4-config.c: Implement.
10397
10398         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10399         securities. APs reference security.
10400
10401         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10402         be exported over DBUS.
10403
10404         * src/nm-device-802-3-ethernet.c: Ditto.
10405
10406         * src/NetworkManagerAP.c:
10407         * src/NetworkManagerAP.h:
10408                 - Convert to GObject, export over DBUS.
10409
10410         * src/nm-ip4-config.h:
10411         * src/nm-ip4-config.h:
10412                 - Convert to GObject, export over DBUS.
10413
10414 2007-02-12  Dan Williams  <dcbw@redhat.com>
10415
10416         Patch from Helmut Schaa <hschaa@suse.de>
10417
10418         * vpn-daemons/pptp/configure.in
10419           vpn-daemons/pptp/Makefile.am
10420           vpn-daemons/openvpn/configure.in
10421           vpn-daemons/openvpn/Makefile.am
10422           vpn-daemons/vpnc/configure.in
10423           vpn-daemons/vpnc/Makefile.am
10424                 - Add --without-gnome switch which disables building gnome bits
10425
10426 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10427
10428         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10429
10430         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10431
10432         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10433         'HwAddress'.
10434
10435         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10436
10437         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10438
10439         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10440
10441         * src/:
10442                 - Remove old low-level dbus interface implementations and replace them
10443                   with dbus-glib one.
10444
10445         * configure.in:
10446                 - Require dbus-glib >= 0.72.
10447                 - Plug in new sources to build.
10448
10449         * libnm-glib/:
10450                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10451                   to make it more convenient to use from GObject based programs.
10452
10453         * introspection/:
10454                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10455
10456 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10457
10458         * src/nm-device-802-11-wireless.c:
10459                 - Add "network-added" and "network-removed" signals.
10460                 - Use gobject boilerplate macros to define the GObject.
10461                 - Implement wireless device activation.
10462                 - Remove activation_failure_handler and activation_success_handler
10463                   and instead listen on state-changed signals and run the same code
10464                   from there.
10465
10466         * src/nm-device.c:
10467                 - Implment NMDeviceInterface::deactivate.
10468                 - Remove activation_failure_handler and activation_success_handler
10469                   virtual methods. Each device which is interested in these events
10470                   can just listen on it's state changed signals.
10471
10472         * src/NetworkManagerPolicy.c:
10473                 - Move a bit more NMData usage to NMManager.
10474                 - Remove activation scheduling bits.
10475                 - Add listeners for wireless device's "network-added" and
10476                   "network-removed" signals.
10477                 - Listen device changed signals and deactivate currently activated
10478                   device when another device start activating (for now).
10479                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10480                   for calling this, the policy code knows exactly when this should happen,
10481                   by listening on events from NMManager and NMDevices.
10482
10483         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10484         Implement.
10485
10486         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10487         method on the specific device instead of going to through policy code
10488         and determining the device type by passed in AP's existance.
10489
10490         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10491         abstract NMDevice deactivation.
10492
10493 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10494
10495         * src/NetworkManager.c:
10496                 - Set up all the shiny new managers.
10497
10498         * src/NetworkManagerPolicy.c:
10499                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10500                   classes to call into policy code, make the policy code kind of like
10501                   a supervisor that monitors what's going on and drives the whole NM.
10502
10503         * src/nm-hal-manager.c: 
10504         * src/nm-hal-manager.h:
10505                 - Collect all libhal code scattered around NM to this one class.
10506                 - Listen libhal and NMManager events and add/remove devices to
10507                   NMManager.
10508
10509         * src/nm-manager.c:
10510         * src/nm-manager.h:
10511                 - Implment a replacement for NMData. NMData is now officially
10512                 deprecated.
10513
10514 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10515
10516         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10517         * src/supplicant-manager/nm-supplicant-interface.h
10518         * src/supplicant-manager/nm-supplicant-interface.c
10519         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10520         argument to boolean from enum.
10521
10522         Make NMDevice abstract class, remove almost all references to it's
10523         subclasses (the last place gets removed with new policy manager). Add
10524         NMDeviceInterface (which NMDevice implements) so that when we have
10525         NMDevice exported over DBUS, there's a common NMDevice interface which
10526         all instances have, plus there's a device specific interface for each
10527         specific type.
10528         Remove functions (nm_device_is_802_3_ethernet) and
10529         (nm_device_is_802_11_wireless). There are already standard GObject macros
10530         for type safe checks.
10531         Use the updated supplican manager API.
10532
10533         * src/nm-device-interface.h: 
10534         * src/nm-device-interface.c: 
10535         * src/nm-call-store.h: 
10536         * src/nm-call-store.c: Implement.
10537
10538         * src/supplicant-manager/nm-supplicant-interface.c:
10539         * src/supplicant-manager/nm-supplicant-interface.h:
10540         * src/supplicant-manager/nm-supplicant-manager.c:
10541         * src/supplicant-manager/nm-supplicant-manager.h:
10542                 - Remove all private data type references from public header files.
10543                 - Remove all references to other NM classes, this class is just a
10544                   proxy between wpa_supplicant and NM so it doesn't have to know
10545                   any internals.
10546                 - Convert to dbus-glib bindings.
10547                 - Type safe checks for public methods' arguments.
10548                 - Store pending DBUS call ids to NMCallStore.
10549
10550         * src/supplicant-manager/nm-supplicant-config.c:
10551                 - Store config values in a GHashTable instead of GSList.
10552
10553         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10554
10555         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10556         singleton now.
10557
10558         * src/nm-device.c: Use the new DHCP manager API.
10559
10560         * src/nm-activation-request.c:
10561         * src/nm-activation-request.h:
10562                 - Remove all dhcp related properties and methods.
10563
10564         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10565
10566         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10567
10568         * src/dhcp-manager/nm-dhcp-manager.c:
10569         * src/dhcp-manager/nm-dhcp-manager.h:
10570                 - Convert it to GObject since we need to signal state changes.
10571                 - Remove all references to other NM classes, this class is one
10572                   of the lowest classes in our hierarchy.
10573                 - One less class to use NMActRequest.
10574                 - Make it singleton, one less user of NMData.
10575                 - Remove a couple of sleep() calls.
10576                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10577                   One less class to use the NM's custom tailored signal handlig.
10578
10579         * Makefile.am: Generate marshallers, add them to build.
10580
10581 2007-02-02  Dan Williams  <dcbw@redhat.com>
10582
10583         * configure.in
10584           gnome/Makefile.am
10585           nm-applet.desktop
10586           Makefile.am
10587                 - Remove last bits referencing gnome applet
10588
10589 2007-02-02  Dan Williams  <dcbw@redhat.com>
10590
10591         * src/vpn-manager/nm-vpn-service.c
10592                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10593                         and NBNS server addresses
10594
10595 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10596
10597         * src/nm-dbus-manager.c:
10598         * src/nm-dbus-manager.h:
10599                 - Convert all internal DBUS code to use dbus-glib bindings.
10600                 - Remove GObject properties, we don't need them here.
10601                 - Don't explicitly set things to NULL after freeing, glib is
10602                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10603                 - Make public API argument checks type safe.
10604                 - Remove unnecessary (and wrong) cast to GObject for the first
10605                   argument to g_signal_* calls - The first argument is a gpointer.
10606                 - Export DBusGConnection to other cool classes that (are going to)
10607                   use dbus-glib.
10608
10609 2007-01-26  Dan Williams  <dcbw@redhat.com>
10610
10611         * libnm-util/dbus-dict-helpers.c
10612           libnm-util/dbus-dict-helpers.h
10613                 - Coordinate style with wpa_supplicant version to minimize diff
10614                 - Add uint32 array support
10615                 - (nmu_dbus_dict_append_uint32_array): new function
10616                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10617                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10618                         version; allow adding string array elements individually
10619
10620         * test/libnm-util/test-dbus-dict-helpers.c
10621                 - Test uint32 arrays
10622
10623 2007-01-27  Jürg Billeter  <j@bitron.ch>
10624
10625         * src/backends/NetworkManagerPaldo.c
10626                 - (nm_system_update_dns): clear nscd hosts cache
10627
10628 2007-01-04  Dan Williams  <dcbw@redhat.com>
10629
10630         Threading removal related cleanups:
10631
10632         - Use the glib default main context.  Remove the device main context
10633                 member from NMDevice, and the main_context member from NMData.  Change
10634                 all the idle and timeout scheduler functions to use plain
10635                 g_idle_add() and g_timeout_add().
10636
10637         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10638                 takes an argument; fix that up too.
10639
10640         - Remove all locking, which is useless since we no longer use threads.  For
10641                 example, nm_get_device_by_iface_locked() has been removed.  The global
10642                 device list lock, the AP List lock, and all static locks in
10643                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10644                 in NetworkManagerUtils.c have also been removed.
10645
10646         - Other cleanups in spacing and code style
10647
10648 2007-01-01  Dan Williams  <dcbw@redhat.com>
10649
10650         Found by Bill Moss:
10651
10652         * src/supplicant-manager/nm-supplicant-interface.c
10653                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10654                         the supplicant interface wasn't already disconnected.  Always
10655                         call removeNetwork and disconnect unless the supplicant interface
10656                         is in the DISCONNECTED or INACTIVE state.
10657
10658 2006-12-28  Dan Williams  <dcbw@redhat.com>
10659
10660         Use a single thread for everything.  With the move to wpa_supplicant
10661         and communication over D-Bus, there's no reason for multiple threads.
10662         Almost all of the blocking code has been removed, with one exception in
10663         the DHCP manager and a few in the VPN manager.  This commit removes the
10664         per-device worker thread and fixes activation cancellation in the absence
10665         of threads.  Further removal of thread-related code would be removing
10666         any locking code (like the device list lock) and simplification of logic
10667         around areas of code or data structures that are currently locked.
10668
10669         * autoip.c
10670           dhcp-manager/nm-dhcp-manager.c 
10671           nm-device-802-11-wireless.c
10672           nm-device-802-3-ethernet.c
10673           nm-device.c
10674           nm-device.h
10675                 - Remove usage of multiple threads
10676
10677 2006-12-19  Dan Williams  <dcbw@redhat.com>
10678
10679         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10680         plus a few other patches from wpa_supplicant bugzilla.
10681
10682         * src/Makefile.am
10683           src/NetworkManagerPolicy.c
10684           src/NetworkManagerUtils.c
10685           src/NetworkManagerUtils.h
10686           src/nm-ap-security-leap.c
10687           src/nm-ap-security-wep.c
10688           src/nm-ap-security-wpa-eap.c
10689           src/nm-ap-security-wpa-psk.c
10690           src/nm-ap-security.c
10691           src/nm-ap-security.h
10692           src/nm-device-802-11-wireless.c
10693           src/nm-device-802-11-wireless.h
10694           src/supplicant-manager/nm-supplicant-config.c
10695           src/supplicant-manager/nm-supplicant-config.h
10696           src/supplicant-manager/nm-supplicant-interface.c
10697           src/supplicant-manager/nm-supplicant-interface.h
10698           src/supplicant-manager/nm-supplicant-marshal.list
10699           src/supplicant-manager/nm-supplicant-settings-verify.c
10700           src/supplicant-manager/nm-supplicant-settings-verify.h
10701                 - Move all connection management and association handling to
10702                         wpa_supplicant over dbus, rather than spawning a private copy
10703
10704 2006-12-19  Dan Williams  <dcbw@redhat.com>
10705
10706         * src/NetworkManagerPolicy.c
10707                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10708                         better locking of the device change check handler ID.  Incorrect
10709                         locking was causing lost device change requests
10710
10711 2006-12-18  Dan Williams  <dcbw@redhat.com>
10712
10713         * libnm-util/dbus-dict-helpers.c
10714                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10715                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10716                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10717
10718 2006-12-18  Dan Williams  <dcbw@redhat.com>
10719
10720         * gnome/libnm_glib/libnm_glib.c
10721                 - Change dbus_connection_close() -> dbus_connection_unref()
10722
10723 2006-12-11  Dan Williams  <dcbw@redhat.com>
10724
10725         * src/supplicant-manager/nm-supplicant-interface.c
10726                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10727                         wpa_supplicant interface state
10728                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10729                         state before transitioning to READY state
10730
10731 2006-12-04  Dan Williams  <dcbw@redhat.com>
10732
10733         * src/nm-device-802-11-wireless.c
10734                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10735                         odd length of ESSID returned from ieee80211 stack-based drivers
10736
10737 2006-12-04  Dan Williams  <dcbw@redhat.com>
10738
10739         * src/nm-device-802-11-wireless.c
10740                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10741                         IE handling blocks that cause mis-parsing of the IE
10742
10743 2006-12-04  Dan Williams  <dcbw@redhat.com>
10744
10745         * src/nm-device-802-11-wireless.c
10746                 - (init_supplicant_interface): new function; pull supplicant interface
10747                         setup code out into standalone function since it must be called from
10748                         two different places
10749                 - (real_init): sup_mgr is now in private object data; get and track
10750                         the supplicant manager object over the NMDevice subclass' lifetime
10751                         and register a signal handler for its state signals; only try to
10752                         initialize the supplicant interface if the supplicant manager is in
10753                         the IDLE state (and therefore is ready for requests)
10754                 - (request_wireless_scan): reschedule the scan request if (a) there is
10755                         no supplicant interface yet (meaning wpa_supplicant isn't running
10756                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10757                         for requests yet
10758                 - (supplicant_iface_connection_state_cb): new function; stub for
10759                         handling supplicant interface connection state signals
10760                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10761                         comes and goes
10762                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10763                         supplicant manager object that's being tracked starting with this
10764                         commit
10765
10766 2006-12-04  Dan Williams  <dcbw@redhat.com>
10767
10768         * src/supplicant-manager/nm-supplicant-interface.c
10769                 - (nm_supplicant_interface_set_property): track signal handler ID
10770                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10771
10772 2006-12-04  Dan Williams  <dcbw@redhat.com>
10773
10774         * src/supplicant-manager/nm-supplicant-interface.[ch]
10775                 - (nm_supplicant_interface_get_state): new function
10776
10777 2006-12-04  Dan Williams  <dcbw@redhat.com>
10778
10779         * src/supplicant-manager/nm-supplicant-interface.c
10780                 - (bssid_properties_cb): don't treat DBus errors as valid
10781                         scanned AP messages
10782
10783 2006-12-04  Dan Williams  <dcbw@redhat.com>
10784
10785         * src/supplicant-manager/nm-supplicant-interface.[ch]
10786                 - (nm_supplicant_interface_get_connection_state): new function
10787                 - define new supplicant connection states
10788                 - send a signal when the supplicant connection state changes
10789
10790 2006-12-03  Dan Williams  <dcbw@redhat.com>
10791
10792         * src/supplicant-manager/Makefile.am
10793           src/supplicant-manager/nm-supplicant-connection.h
10794           src/supplicant-manager/nm-supplicant-connection.c
10795           src/supplicant-manager/nm-supplicant-config.h
10796           src/supplicant-manager/nm-supplicant-config.c
10797           src/supplicant-manager/nm-supplicant-types.h
10798           src/supplicant-manager/nm-supplicant-interface.h
10799           src/supplicant-manager/nm-supplicant-interface.c
10800                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10801
10802 2006-12-03  Dan Williams  <dcbw@redhat.com>
10803
10804         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10805
10806         * po/POTFILES.in
10807           po/POTFILES.skip
10808                 - Move VPN-related translatables to .skip
10809
10810         * vpn-daemons/pptp/po/POTFILES.in
10811                 - Update with new translatables
10812
10813 2006-12-02  Dan Williams  <dcbw@redhat.com>
10814
10815         Patch from Christian Persch <chpe@gnome.org>
10816
10817         * gnome/applet/Makefile.am
10818           gnome/applet/applet-dbus-devices.c
10819           gnome/applet/applet-notifications.c
10820           gnome/applet/applet.c
10821           gnome/applet/applet.h
10822           gnome/applet/main.c
10823                 - Be a GtkStatusIcon on GTK+ >= 2.10
10824
10825 2006-12-02  Dan Williams  <dcbw@redhat.com>
10826
10827         * gnome/applet/applet.c
10828                 - (nma_update_info): fix two unecessary allocations
10829
10830 2006-12-02  Dan Williams  <dcbw@redhat.com>
10831
10832         Patch from Michael Biebl <biebl@teco.edu>
10833         * configure.in
10834           man/NetworkManager.1.in
10835           man/NetworkManagerDispatcher.1.in
10836           man/NetworkManager.8.in
10837           man/NetworkManagerDispatcher.8.in
10838                 - Add .SH NAME stanzas
10839                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10840
10841 2006-12-02  Dan Williams  <dcbw@redhat.com>
10842
10843         Patch from Christian Persch <chpe@gnome.org>
10844
10845         * configure.in
10846                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10847
10848 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10849
10850         Patch by Timo Hoenig <thoenig@suse.de>:
10851         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10852         DBUS-1.0.
10853
10854         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10855         we can't use the one from the main source directory.
10856
10857 2006-11-27  Dan Williams  <dcbw@redhat.com>
10858
10859         Patch from Christian Persch <chpe@gnome.org>
10860
10861         * gnome/applet/applet-dbus-devices.c
10862                 - (hal_info_product_cb): fix memleak; free duped string.
10863                         Gnome.org #379908
10864
10865 2006-11-27  Dan Williams  <dcbw@redhat.com>
10866
10867         Patch from Christian Persch <chpe@gnome.org>
10868
10869         * gnome/applet/menu-items.c
10870                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10871                         as gtk_progress_set_percentage is deprecated.  Should
10872                         work as far back as GTK+ 2.4.  Gnome.org #379780
10873
10874 2006-11-26  Dan Williams  <dcbw@redhat.com>
10875
10876         Scan using wpa_supplicant over DBus.
10877
10878         * src/nm-device-802-11-wireless.c
10879                 - remove wireless extensions netlink event handler bits
10880                         (wireless_event_helper, nm_device_802_11_wireless_event)
10881                 - remove wireless extensions scan event handler bits
10882                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10883                         hex2byte, hex2num, request_and_convert_scan_results,
10884                         free_process_scan_cb_data, scan_results_timeout,
10885                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10886                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10887                         and request scans from the supplicant interface rather than directly
10888                 - Move functionality of convert_scan_results() to cull_scan_list() and
10889                         supplicant_iface_scanned_ap_cb()
10890                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10891                         at the scan interval when the current scan has finished
10892                 - (supplicant_iface_state_cb): start scanning when the supplicant
10893                         interface enters the READY state, and stop scanning when it
10894                         enters the DOWN state
10895                 - (cull_scan_list): weed out old access points from the scan list
10896                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10897                         point into an NMAccessPoint and merge it into the device's scan list
10898
10899         * src/supplicant-manager/nm-supplicant-interface.c
10900           src/supplicant-manager/nm-supplicant-interface.h
10901                 - Add a new signal "scan-result" which is issued when the supplicant
10902                         notifies NM that a scan has completed
10903                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10904                         point found in the scan.  Called once for each access point that
10905                         the supplicant interface object receives from the supplicant as a
10906                         result of the "scanResults" method call
10907                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10908                         for the initial scan results
10909                 - (scan_request_cb): new function; send listeners the result
10910                         (success, error) of a wireless scan request
10911                 - (nm_supplicant_interface_request_scan): new function; ask the
10912                         supplicant to perform an immediate wireless scan
10913
10914 2006-11-25  Dan Williams  <dcbw@redhat.com>
10915
10916         * src/supplicant-manager/Makefile.am
10917                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10918                         add HAL cflags/includes and named-manager includes directory
10919
10920         * src/supplicant-manager/nm-supplicant-interface.h
10921                 - New state STARTING to handle transition from INIT to READY where
10922                         the addInterface pending call is still outstanding
10923
10924         * src/supplicant-manager/nm-supplicant-interface.c
10925                 - track pending calls differently since we may have more than one
10926                         going on at any given time
10927                 - request scan results from wpa_supplicant; but don't do it more often
10928                         than every 4 seconds.  Drivers that do background scanning
10929                         (like the 'ipw' drivers) send a continuous stream of scan completion
10930                         notifications, so we don't want to hammer the supplicant or dbus
10931                         with requests for all scan results every time we get a completion
10932                         notification.
10933
10934 2006-11-25  Dan Williams  <dcbw@redhat.com>
10935
10936         * src/supplicant-manager/nm-supplicant-types.h
10937                 - new file; move all supplicant manager object typedefs here for
10938                         #include sanity
10939
10940         * src/supplicant-manager/nm-supplicant-interface.c
10941           src/supplicant-manager/nm-supplicant-interface.h
10942                 - new file; an object that interfaces an NMDevice object to the
10943                         supplicant and handles signals from the supplicant.  This object
10944                         does all necessary DBus communication with wpa_supplicant.
10945
10946         * src/supplicant-manager/nm-supplicant-manager.c
10947           src/supplicant-manager/nm-supplicant-manager.h
10948                 - Actually do something.  Track the state of the wpa_supplicant service
10949                         and deal with its comings & goings.  Handle life events of
10950                         supplicant interfaces too.
10951                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10952
10953         * src/supplicant-manager/nm-supplicant-connection.h
10954                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10955
10956         * src/supplicant-manager/Makefile.am
10957                 - Add new files to build, and add libnm-util to includes
10958
10959         * src/nm-marshal.list
10960                 - New marshaler type: VOID:UINT,UINT
10961
10962         * src/nm-device-802-3-ethernet.c
10963                 - (real_init): grab a supplicant interface
10964                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10965                 - (supplicant_iface_state_cb): new function, stub for handling
10966                         supplicant interface state changes
10967
10968         * src/nm-device-802-11-wireless.c
10969                 - (real_init): grab a supplicant interface
10970                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10971                 - (supplicant_iface_state_cb): new function, stub for handling
10972                         supplicant interface state changes
10973
10974         * src/NetworkManager.c
10975                 - (main): create and keep the supplicant manager around for the lifetime
10976                         of NetworkManager
10977
10978         * src/Makefile.am
10979                 - Link to the supplicant manager sub-library and use the supplicant
10980                         manager includes
10981
10982 2006-11-25  Dan Williams  <dcbw@redhat.com>
10983
10984         Rework DBus manager signal handling to be more flexible.  Previously,
10985         only one signal handler could be registered for a particular interface.
10986         The DBus manager now reference counts DBus bus matches and allows multiple
10987         clients to register signal handlers for the same interface and sender.
10988
10989         * src/NetworkManager.c
10990                 - (main): track NMI signal handler ID and remove it when we quit
10991
10992         * src/NetworkManagerMain.h
10993                 - Keep track of NMI signal handler ID
10994
10995         * src/nm-dbus-manager.c
10996           src/nm-dbus-manager.h
10997                 - rework signal handling; each signal handler references one signal
10998                         match, but a signal match may be referenced by one or more
10999                         signal handlers.  Matches are refcounted and are destroyed when the
11000                         last signal handler that references the match is removed.  This is
11001                         necessary because two signal handlers may end up requiring the same
11002                         dbus bus match, so the match must live until the last signal handler
11003                         is destroyed (for example, with the wpa_supplicant network interface
11004                         dbus interface).
11005
11006         * src/dhcp-manager/nm-dhcp-manager.c
11007                 - (nm_dhcp_manager_new): track DHCP signal handler id
11008                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11009
11010         * src/vpn-manager/nm-vpn-service.c
11011                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11012                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11013
11014 2006-11-25  Dan Williams  <dcbw@redhat.com>
11015
11016         Suggested by Helmut Schaa <hschaa@suse.de>
11017
11018         * src/vpn-daemons/nm-vpn-service.c
11019                 - (supplicant_child_setup): new function
11020                 - (supplicant_exec): make child process use a new process group id
11021
11022         * src/nm-device-802-11-wireless.c
11023                 - (nm_vpn_service_child_setup): new function
11024                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11025                         process group id
11026
11027 2006-11-19  Dan Williams  <dcbw@redhat.com>
11028
11029         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11030         * gnome/vpn-properties/nm-vpn-properties.c
11031                 - clean up after renamed VPN connection
11032
11033 2006-11-19  Dan Williams  <dcbw@redhat.com>
11034
11035         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11036         * gnome/applet/applet-dbus-vpn.c
11037                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11038
11039         * gnome/vpn-properties/nm-vpn-properties.c
11040                 - (init_app): sort VPN connections
11041
11042 2006-11-09  Dan Williams  <dcbw@redhat.com>
11043
11044         * src/NetworkManagerAPList.c
11045                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11046                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11047                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11048                 broke hidden SSID matching.  Found by Bill Moss.
11049
11050 2006-10-25  Dan Williams  <dcbw@redhat.com>
11051
11052         * src/nm-dbus-nm.c
11053                 - (nm_dbus_nm_set_active_device): return an empty success message on
11054                         success, rather than falling through to the error case.
11055
11056 2006-10-25  Dan Williams  <dcbw@redhat.com>
11057
11058         * src/NetworkManagerUtils.c
11059                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11060                         "SCAN" command
11061
11062 2006-10-24  Dan Williams  <dcbw@redhat.com>
11063
11064         Reduce the number of times the Gnome applet wakes up, especially when
11065         it's doing absolutely nothing and is hidden.  Initial patch by
11066         Chris Aillon.
11067
11068         * gnome/applet/applet-dbus.c
11069                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11070                         kill the redraw timeout.  When NM starts up, start the redraw
11071                         timeout.  Also, if we get kicked off the bus for some reason,
11072                         start the reconnection timeout if one's not already running.
11073                 - (nma_dbus_init): better handling of error conditions, don't leak
11074                         a half-initialized dbus connection
11075                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11076                         the applet's data, just call nm_dbus_init_helper()
11077                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11078                         timeout that calls nma_dbus_connection_watcher()
11079                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11080                         reconnection timeout, and don't start the reconnection timeout
11081                         unconditionally anymore
11082
11083         * gnome/applet/applet-dbus.h
11084                 - Expose nma_start_dbus_connection_watch()
11085
11086         * gnome/applet/applet.c
11087                 - (nma_update_state): no longer static, called from applet-dbus.c for
11088                         immediate UI updates on certain events
11089                 - (nma_set_running): new function; take over setting applet->running,
11090                         when not running (ie, NM is not active), don't activate the redraw
11091                         timeout because we're not showing the applet anyway.  When we are
11092                         running (ie, NM is active), and only when we're running, start the
11093                         redraw timeout.
11094                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11095                         kill any reconnection timeout
11096                 - (nma_get_instance): move one-off dbus initialization code here since
11097                         nm_dbus_init_helper() gets called more than once, possibly by the
11098                         reconnection timeout function too.  And, when we start up, if we
11099                         can't get a connection to the bus, start the reconnection timeout.
11100                         But don't start the redraw timeout yet, only do that when we get
11101                         NM's state and find out if it's running or not.
11102
11103         * gnome/applet/applet.h
11104                 - Add the reconnection GSource ID
11105                 - Add prototypes for nma_set_running() and the no-longer-static
11106                         nma_update_state()
11107
11108 2006-10-24  Dan Williams  <dcbw@redhat.com>
11109
11110         * src/vpn-daemons/nm-dbus-vpnc.c
11111                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11112                         pending call tracker
11113                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11114                         pending call tracker; register one-vpn-connection update pending
11115                         call in pending call tracker
11116                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11117                         update pending call in pending call tracker
11118                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11119                         update pending call in pending call tracker; don't block waiting
11120                         for call to return
11121
11122 2006-10-19  Robert Love  <rml@novell.com>
11123
11124         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11125           refresh the cache.
11126
11127 2006-10-14  Dan Williams  <dcbw@redhat.com>
11128
11129         * src/dhcp-manager/nm-dhcp-manager.c
11130                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11131                 the dbus connection and the device object path rather than
11132                 constructing it inside both functions.  Saves a bit of memory
11133                 and clarifies a failure path.
11134                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11135                 and allocate device path here rather than each of the two
11136                 functions above.
11137
11138 2006-10-13  Dan Williams  <dcbw@redhat.com>
11139
11140         * src/NetworkManager.c
11141                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11142                 this somehow droppout in the refactor
11143
11144 2006-10-13  Dan Williams  <dcbw@redhat.com>
11145
11146         * Huge DBus refactor:
11147                 - Create a "DBus Manager" object which manages the connection and
11148                 sends signals on NameOwnerChanged and connection/disconnection events,
11149                 handles reconnection to the bus if NM gets kicked off, and abstracts
11150                 signal handling
11151                 - Remove DBusConnection members from places where they are no
11152                 longer needed due to the refactor, like the dbus-connection
11153                 property of the named manager, and from NMData
11154                 - Reformats a bunch of the code to gnome style
11155                 (8-space tabs, braces on same line as statement, 80-col width).
11156                 Consider it open season to reformat any bits to gnome style.
11157                 style that aren't already.
11158
11159 2006-10-13  Dan Williams  <dcbw@redhat.com>
11160
11161         * src/supplicant-manager/Makefile.am
11162                 - Add new files
11163
11164         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11165                 - Make it a minimal GObject
11166
11167         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11168                 - Verify settings destined for wpa_supplicant
11169
11170         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11171                 - Minimal GObject to track wpa_supplicant controlled device
11172                 connections
11173
11174 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11175
11176         * gnome/applet/applet.c: (nma_update_info),
11177         (nma_act_stage_to_pixbuf), (nma_update_state):
11178         Mark missing strings for translation. Fixes bug #343306.
11179
11180 2006-10-01  Dan Williams  <dcbw@redhat.com>
11181
11182         * src/vpn-manager/nm-vpn-manager.c
11183                 - (nm_vpn_manager_load_services): split and clean up
11184                 for readability and correctness.  Restrict VPN service
11185                 files to ending in ".name", as was meant from the
11186                 beginning (but not coded in).  Better error reporting.
11187
11188 2006-10-01  Dan Williams  <dcbw@redhat.com>
11189
11190         * utils/nm-utils.h
11191                 - Clean up formatting of debug/info/warning log messages
11192
11193 2006-09-27  Robert Love  <rml@novell.com>
11194
11195         Patch by Tambet Ingo <tambet@ximian.com>:
11196         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11197           actually work.
11198
11199 2006-09-07  Dan Williams <dcbw@redhat.com>
11200
11201         * test/Makefile.am
11202           test/libnm-util/Makefile.am
11203           test/nm-supplicant-test.c
11204                 - Add test program emulating the way NM drives wpa_supplicant
11205                 to help debug supplicant issues
11206
11207 2006-08-24  Dan Williams <dcbw@redhat.com>
11208
11209         * configure.in
11210           src/Makefile.am
11211           src/supplicant-manager/Makefile.am
11212           src/supplicant-manager/nm-supplicant-manager.c
11213           src/supplicant-manager/nm-supplicant-manager.h
11214                 - Add skeleton bits of the wpa_supplicant manager
11215
11216 2006-08-24  Dan Williams <dcbw@redhat.com>
11217
11218         Patch from Ed Catmur:
11219         * src/NetworkManagerUtils.c
11220                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11221                 if netmask is 0 (Gnome #352634)
11222
11223 2006-08-17  Robert Love  <rml@novell.com>
11224
11225         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11226           package is now DBUS-enabled and listens for the NM signals.
11227
11228 2006-08-14  Dan Williams  <dcbw@redhat.com>
11229
11230         * Patch from Christian Persch <chpe gnome org>
11231         * configure.in
11232           po/LINGUAS
11233           vpn-daemons/openvpn/po/LINGUAS
11234           vpn-daemons/openvpn/configure.in
11235           vpn-daemons/pptp/po/LINGUAS
11236           vpn-daemons/pptp/configure.in
11237           vpn-daemons/vpnc/po/LINGUAS
11238           vpn-daemons/vpnc/configure.in
11239                 - Convert to LINGUAS method so translators don't have to modify
11240                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11241                 0.35 or higher
11242
11243 2006-08-14  Dan Williams  <dcbw@redhat.com>
11244
11245         Patch from Alex Smith <alex.extreme2@gmail.com>
11246         * configure.in
11247           src/backends/Makefile.am
11248           src/backends/NetworkManagerFrugalware.c
11249                 - Add support for Frugalware
11250
11251 2006-08-13  Dan Williams  <dcbw@redhat.com>
11252
11253         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11254         * src/nm-device-802-11-wireless.c
11255                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11256                 Gnome #346875
11257
11258 2006-08-13  Dan Williams  <dcbw@redhat.com>
11259
11260         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11261         * src/nm-ap-security.c
11262           src/nm-ap-security.h
11263                 - Add authentication_required bits for subclasses to specify whether
11264                 or not real authentication is required for connections, i.e. whether
11265                 the AP rejects us when an encryption key is wrong or not.
11266
11267         * src/nm-ap-security-wep.c
11268           src/nm-ap-security-wpa-eap.c
11269           src/nm-ap-security-wpa-psk.c
11270           src/nm-ap-security-leap.c
11271                 - Implement authentication_required appropriately for each method
11272
11273         * src/nm-device-802-11-wireless.c
11274                 - Be smarter about when to request a key; for example, using a wrong key
11275                 in WEP shared key mode previously just timed out and did not request
11276                 a new key
11277
11278 2006-08-13  Dan Williams  <dcbw@redhat.com>
11279
11280         * gnome/libnm_glib/libnm_glib.c
11281                 - dbus_connection_disconnect() -> dbus_connection_close() for
11282                 dbus >= 0.90
11283
11284 2006-08-07  Dan Williams  <dcbw@redhat.com>
11285
11286         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11287         * src/NetworkManagerSystem.c
11288                 - Respect specified MTU.  Gnome #344967
11289
11290 2006-08-07  Dan Williams  <dcbw@redhat.com>
11291
11292         * src/vpn-manager/nm-vpn-service.c
11293                 - Simplify print_vpn_config() arguments
11294
11295         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11296         * src/vpn-manager/Makefile.am
11297           src/vpn-manager/nm-vpn-service.c
11298                 - Add new API for passing VPN config options as a dict. Gnome #344967
11299
11300 2006-08-06  Dan Williams  <dcbw@redhat.com>
11301
11302         * gnome/applet/applet-dbus-devices.c
11303           gnome/applet/applet-dbus-vpn.c
11304           gnome/applet/applet-dbus.c
11305           gnome/applet/applet-dbus.h
11306           src/nm-dbus-nmi.c
11307           utils/nm-utils.c
11308           utils/nm-utils.h
11309                 - Make pending call tracking code generic,
11310                 so we can use it in NM as well as the applet
11311
11312 2006-08-06  Dan Williams  <dcbw@redhat.com>
11313
11314         * src/nm-activation-request.c
11315                 - Refcount pending call objects
11316
11317 2006-08-06  Dan Williams  <dcbw@redhat.com>
11318
11319         Patch from Christan Chiesa <christanc@gmail.com>
11320         * configure.in
11321                 - Tell sha1.c to use bigendian mode on PPC
11322
11323 2006-08-04  Robert Love  <rml@novell.com>
11324
11325         Glib Memory Slices!
11326         * configure.in: Require glib 2.10 or later.
11327         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11328           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11329           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11330           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11331           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11332           Memory Slices are the greatest thing since bread slices.
11333         * src/NetworkManagerAP.c: Also, fix memory leak.
11334
11335 2006-08-01  Robert Love  <rml@novell.com>
11336
11337         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11338
11339 2006-07-31  Robert Love  <rml@novell.com>
11340
11341         * src/backends/interface_parser.c: Declarations must begin the block.
11342
11343 2006-07-24  Dan Williams  <dcbw@redhat.com>
11344
11345         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11346         * src/backends/Makefile.am
11347           src/backends/NetworkManagerArch.c
11348           src/backends/NetworkManagerDebian.c
11349           src/backends/NetworkManagerGeneric.c
11350           src/backends/NetworkManagerGeneric.h
11351           src/backends/NetworkManagerGentoo.c
11352           src/backends/NetworkManagerPaldo.c
11353           src/backends/NetworkManagerRedHat.c
11354           src/backends/NetworkManagerSlackware.c
11355           src/backends/NetworkManagerSuSE.c
11356                 - Genericize common backend functions
11357
11358 2006-07-18  Robert Love  <rml@novell.com>
11359
11360         * configure.in: Add "--with-notify" option to allow disabling of
11361           libnotify support.
11362
11363 2006-07-13  Dan Williams  <dcbw@redhat.com>
11364
11365         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11366         * gnome/applet/applet.glade
11367           gnome/applet/Makefile.am
11368           gnome/applet/nm-gconf-wso.c
11369           gnome/applet/nm-gconf-wso-leap.c
11370           gnome/applet/nm-gconf-wso-leap.h
11371           gnome/applet/wireless-security-manager.c
11372           gnome/applet/wso-leap.c
11373           gnome/applet/wso-leap.h
11374           include/NetworkManager.h
11375           libnm-util/dbus-helpers.c
11376           libnm-util/dbus-helpers.h
11377           src/Makefile.am
11378           src/NetworkManagerAP.c
11379           src/nm-ap-security.c
11380           src/nm-ap-security-leap.c
11381           src/nm-ap-security-leap.h
11382                 - Add LEAP authentication support
11383
11384 2006-07-13  Dan Williams  <dcbw@redhat.com>
11385
11386         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11387         * configure.in
11388           src/backends/NetworkManagerArch.c
11389           src/backends/NetworkManagerDebian.c
11390           src/backends/NetworkManagerGentoo.c
11391           src/backends/NetworkManagerPaldo.c
11392           src/backends/NetworkManagerRedHat.c
11393           src/backends/NetworkManagerSlackware.c
11394           src/backends/NetworkManagerSuSE.c
11395                 - Convert hardcoding of 'ip' path to configure-time
11396                         detected one
11397
11398 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11399
11400         * configure.in: added ru to ALL_LINGUAS
11401
11402 2006-07-10  Dan Williams  <dcbw@redhat.com>
11403
11404         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11405         * src/nm-device.c
11406                 - (real_act_stage3_ip_config_start): don't infinite loop when
11407                         dhcdbd isn't running (Gnome #346845)
11408
11409 2006-07-09  Dan Williams  <dcbw@redhat.com>
11410
11411         * gnome/applet/applet.c
11412                 - (nma_destroy): don't pass NULL to notify_notification_close
11413                         (RH #197917)
11414
11415 2006-07-09  Dan Williams  <dcbw@redhat.com>
11416
11417         * gnome/applet/applet.c
11418                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11419
11420 2006-07-04  Tor Krill  <tor@krill.nu>
11421
11422         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11423         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11424         (nm_system_restart_mdns_responder), (ArchReadConfig),
11425         (nm_system_device_get_system_config):
11426                 - Explicitly check for DHCP configuration
11427                 - Check if daemons are running before starting them
11428
11429 2006-06-25  Dan Williams  <dcbw@redhat.com>
11430
11431         * libnm-util/dbus-dict-helpers.[ch]
11432           test/libnm-util/test-dbus-dict-helpers.c
11433                 - Add string array support
11434
11435 2006-06-24  Dan Williams  <dcbw@redhat.com>
11436
11437         * src/dhcp-manager/nm-dhcp-manager.c
11438                 - (nm_dhcp_manager_process_signal): clean up spacing
11439
11440 2006-06-21  Dan Williams  <dcbw@redhat.com>
11441
11442         * src/nm-dbus-device.c
11443                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11444                         through dbus
11445
11446 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11447
11448         * configure.in: Added 'lv' to ALL_LINGUAS
11449
11450 2006-06-19  Dan Williams  <dcbw@redhat.com>
11451
11452         * src/NetworkManagerAP.c
11453                 - Clarify usage of user_created
11454
11455         * src/nm-ap-security-wep.c
11456           src/nm-ap-security-wpa-eap.c
11457           src/nm-ap-security-wpa-psk.c
11458           src/nm-ap-security.c
11459           src/nm-ap-security.h
11460                 - s/user_created/adhoc, because we really do mean adhoc
11461
11462         Patch from Bernard Blackham <bernard@blackham.com.au>
11463         * src/nm-device-802-11-wireless.c         
11464                 - (supplicant_send_network_config): instead of user_created,
11465                         use adhoc, and do AP_SCAN 2 for adhoc networks
11466
11467 2006-06-18  Robert Love  <rml@novell.com>
11468
11469         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11470           we have a value to set.  Gconf generates a warning if `val' is NULL.
11471         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11472           unless we actually received a valid private key file passphrase or
11473           password.  Otherwise, we don't know to later ask the applet to pull
11474           the key from the keyring.
11475
11476 2006-06-17  Dan Williams  <dcbw@redhat.com>
11477
11478         * libnm-util/dbus-dict-helpers.[ch]
11479           test/libnm-util/test-dbus-dict-helpers.c
11480                 - Fixes for zero-length byte arrays
11481                 - Replace return values of 0 with FALSE for clarity
11482                 - Test zero-length byte arrays
11483
11484 2006-06-17  Dan Williams  <dcbw@redhat.com>
11485
11486         * libnm-util/dbus-dict-helpers.[ch]
11487           test/libnm-util/test-dbus-dict-helpers.c
11488                 - Add helpers for byte arrays
11489                 - Rework bits of the testcase
11490
11491 2006-06-16  Dan Williams  <dcbw@redhat.com>
11492
11493         * libnm-util/Makefile.am
11494         * libnm-util/dbus-dict-helpers.[ch]
11495                 - Add some helpers to take the pain out of using dict types in
11496                         dbus.
11497
11498         * test/libnm-util/Makefile.am
11499         * test/libnm-util/test-dbus-dict-helpers.c
11500                 - Test cases for the dict helper functions
11501
11502 2006-06-15  Robert Love  <rml@novell.com>
11503
11504         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11505           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11506           if there is no key to pass.
11507         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11508           receiving a non-NULL key.
11509
11510 2006-06-14  Robert Love  <rml@novell.com>
11511
11512         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11513           copy the strings.
11514
11515
11516 2006-06-14  Dan Williams  <dcbw@redhat.com>
11517
11518         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11519         * src/nm-device-802-11-wireless.c
11520                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11521                         or ones where the driver is unknown
11522                 - (supplicant_exec): don't wait for supplicant startup here
11523                 - (supplicant_interface_init): finer grained polling for supplicant
11524                         startup
11525
11526 2006-06-13  Robert Love  <rml@novell.com>
11527
11528         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11529           if it is currently set to TRUE.  Otherwise, we will reset the value
11530           when we connect normally.
11531         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11532           the old BSSID is valid, too.  The recently added ESSID check may not be
11533           sufficient (we can remove it?).  What we really want to catch is the
11534           case of going from all-zeros to the BSSID of some other network, which
11535           happens on failure.
11536
11537 2006-06-09  Dan Williams  <dcbw@redhat.com>
11538
11539         * src/NetworkManagerSystem.[ch]
11540                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11541                         it was unused and pointless
11542                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11543                         fix for set_up_down_with_iface change
11544
11545         * src/vpn-manager/nm-vpn-connection.c
11546                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11547
11548         * src/backends/NetworkManagerPaldo.c
11549           src/backends/NetworkManagerRedHat.c
11550           src/backends/NetworkManagerSuSE.c
11551           src/backends/NetworkManagerArch.c
11552           src/backends/NetworkManagerDebian.c
11553           src/backends/NetworkManagerGentoo.c
11554                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11555                         appropriate
11556                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11557                         where appropriate
11558
11559 2006-06-09  Dan Williams  <dcbw@redhat.com>
11560
11561         Patch from Peter Jones:
11562         * src/nm-device-802-11-wireless.c
11563                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11564                         SSID hasn't changed from what we expect before automatically
11565                         updating the saved BSSID from a new AP
11566
11567 2006-06-08  Robert Love  <rml@novell.com>
11568
11569         Add 'fallback' support.  NetworkManager will attempt to brute-force
11570         connect to networks marked as fallback if there are no better wireless
11571         connections available.  This is useful as a method of last resort, to
11572         work around driver problems, and for use with hidden networks.
11573         * gnome/applet/applet-dbus-devices.c,
11574           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11575         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11576           pass it on via DBUS.
11577         * gnome/applet/applet.c: No fallback by default.
11578         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11579           Update other-network-dialog to add UI checkbox toggling fallback.
11580         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11581           propery from AP object.  Add "fallback" property to AP object.
11582         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11583         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11584         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11585           separate function.  Add get_best_fallback_ap() for returning an AP
11586           on which to attempt fallback.
11587         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11588         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11589
11590 2006-06-07  Robert Love  <rml@novell.com>
11591
11592         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11593           checked that the return type was GCONF_VALUE_STRING, not the correct
11594           GCONF_VALUE_BOOL, and thus it never worked.
11595         * src/NetworkManagerAPList.c: Before concluding that two networks are
11596           identical based on their BSSID, make sure that the BSSID in question
11597           is actually valid.  Specifically, an empty or all zero BSSID does not
11598           cut it.
11599         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11600           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11601           similar invariant clean up.
11602
11603 2006-06-02  Robert Love  <rml@novell.com>
11604
11605         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11606
11607 2006-05-28  Dan Williams  <dcbw@redhat.com>
11608
11609         * gnome/applet/applet.glade
11610           gnome/vpn-properties/nm-vpn-properties.glade
11611                 - Set window icons on dialogs  (Gnome.org #333420)
11612
11613 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11614
11615         * gnome/vpn-properties/nm-vpn-properties.glade:
11616         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11617         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11618         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11619                 - Make the VPN properties pages prettier and more HIG
11620                   compliant. Gnome Bug #336913.
11621
11622 2006-05-28  Dan Williams  <dcbw@redhat.com>
11623
11624         Patch from Christian Persch <chpe@gnome.org>
11625         * gnome/vpn-properties/nm-vpn-properties.c
11626         * gnome/vpn-properties/nm-vpn-properties.glade
11627                 - HIG-ification love  (Gnome.org #336846)
11628
11629 2006-05-28  Dan Williams  <dcbw@redhat.com>
11630
11631         Patch from Christian Persch <chpe@gnome.org>
11632         * configure.in
11633           gnome/vpn-properties/nm-vpn-properties.c
11634                 - (main): Fix option parsing.  Gnome.org #336847
11635
11636 2006-05-28  Dan Williams  <dcbw@redhat.com>
11637
11638         * gnome/vpn-properties/nm-vpn-properties.c
11639                 - (find_vpn_ui_by_service_name): protect against NULL service names
11640                 - (update_edit_del_sensitivity): protect against NULL service names
11641                         Gnome.org #341306
11642
11643 2006-05-28  Dan Williams  <dcbw@redhat.com>
11644
11645         Patch from Chris Fuller <crf@grandecom.net>:
11646         * src/nm-device-802-11-wireless.c
11647                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11648                         don't dispose of wireless-specific stuff unless it is actually
11649                         initialized.  Gnome.org #341263
11650
11651 2006-05-28  Dan Williams  <dcbw@redhat.com>
11652
11653         * src/NetworkManagerPolicy.c
11654                 - (nm_policy_device_change_check): don't switch devices if the "best"
11655                         AP is essentially the same as the current activation request, but
11656                         the current activation request isn't done activating yet.  Fixes
11657                         multiple requests for keyring password on startup for Gnome applet.
11658                         Gnome.org #341297
11659
11660 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11661
11662         * src/NetworkManager.c: use GOptions instead of getopt
11663         * configure.in: bump glib required version to >= 2.6 for GOption
11664           support
11665
11666 2006-05-25  Robert Love  <rml@novell.com>
11667
11668         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11669           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11670           instead of dumping ifdef's throughout the code.
11671         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11672           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11673           use nm_ioctl_info() in lieu.
11674
11675 2006-05-25  Robert Love  <rml@novell.com>
11676
11677         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11678         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11679           not using gcrypt.  Otherwise, we get a linker error.
11680
11681 2006-05-25  Robert Love  <rml@novell.com>
11682
11683         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11684         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11685           configure flag to disable building of the GNOME-based applet.
11686
11687 2006-05-25  Robert Love  <rml@novell.com>
11688
11689         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11690           parameter from link, because it shadows a global variable with some
11691           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11692           should never have exported to the entire system a common four letter
11693           word.  But we here at NetworkManager are team players.  Fixes
11694           GNOME bug #336532.
11695
11696 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11697
11698         * configure.in: Added mk.po, Macedonian translation.
11699
11700 2006-05-24  Robert Love  <rml@novell.com>
11701
11702         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11703           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11704           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11705
11706 2006-05-24  Robert Love  <rml@novell.com>
11707
11708         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11709           libnm-util/Makefile.am, src/Makefile.am,
11710           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11711           vpn-daemons/openvpn/properties/Makefile.am,
11712           vpn-daemons/pptp/auth-dialog/Makefile.am,
11713           vpn-daemons/pptp/properties/Makefile.am,
11714           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11715           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11716           user passed for --datadir, if anything, when setting the GNOME locale
11717           directory.  It should be a function of the specified datadir and not
11718           the prefix.
11719
11720 2006-05-24  Robert Love  <rml@novell.com>
11721
11722         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11723           src/NetworkManager.c: Take care to call bindtextdomain with the
11724           location of msgid files.
11725         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11726           files.
11727
11728 2006-05-22  Robert Love  <rml@novell.com>
11729
11730         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11731           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11732           99% of the time there is a real problem with wireless, and a
11733           seemingly successful connection via Zeroconf just confuses the user.
11734           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11735
11736 2006-05-22  Robert Love  <rml@novell.com>
11737
11738         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11739           autofs on interface up if NIS is configured.  On interface down, do
11740           nothing.
11741
11742 2006-05-22  Robert Love  <rml@novell.com>
11743
11744         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11745           to avoid calling g_object_unref() on stale pointers on error in
11746           nma_icons_free().  This happens because we short-circuit loaded the
11747           icons on the first failure but then free all icons.  Normally we have
11748           no issue because the icons were zero'ed out malloc, but we have stale
11749           pointer data after nma_icon_theme_changed().
11750         * gnome/applet/main.c: Return error code if nma_new() failed.
11751
11752 2060-05-21  Dan Williams  <dcbw@redhat.com>
11753
11754         * initscript/NetworkManager.in
11755                 - Ensure both dhcdbd and named are started before NM
11756
11757 2006-05-21  Dan Williams  <dcbw@redhat.com>
11758
11759         * configure.in
11760                 - Bump version to 0.7 to signify we are in 0.7 development
11761
11762 2006-05-21  Dan Williams  <dcbw@redhat.com>
11763
11764         Patch from Adam Schreiber <sadam@clemson.edu>
11765         * gnome/vpn-properties/nm-vpn-properties.c
11766                 - (main): correct Gnome program name  (gnome.org #342498)
11767
11768 2006-05-21  Dan Williams  <dcbw@redhat.com>
11769
11770         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11771
11772         * src/NetworkManagerDbus.[ch]
11773                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11774                         clarify that function's argument should be an escaped dbus object
11775                         path, and look for path segment end before returning a match
11776         * src/nm-dbus-nm.c:
11777                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11778
11779 2006-05-17  Robert Love  <rml@novell.com>
11780
11781         Functionality to differentiate Ad-Hoc networks from infrastructure
11782         networks in the applet, by displaying a special icon:
11783         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11784         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11785         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11786           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11787           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11788           networks, encrypted or not.
11789         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11790           accessor functions to get and set the mode of a given network,
11791           wireless_network_get_mode() and wireless_network_set_mode().
11792
11793 2006-05-17  Robert Love  <rml@novell.com>
11794
11795         Functionality to automatically add BSSIDs to the allowed-MAC list as
11796         one roams from access point to access point on a given network:
11797         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11798           helper function to compare two ether_addr structures and return TRUE
11799           if they contain the same MAC address.
11800         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11801           prototype.
11802         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11803           stored with the current AP.  If the BSSID has indeed changed, we
11804           send it out to the applet, allowing the allowed-MAC list to grow
11805           automatically in response to roaming.
11806
11807 2006-05-16  Robert Love  <rml@novell.com>
11808
11809         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11810           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11811
11812 2006-05-13  Dan Williams  <dcbw@redhat.com>
11813
11814         * src/nm-device-802-3-ethernet.c
11815                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11816                         carrier detect (Debian bug #366373)
11817
11818 2006-05-11  Dan Williams  <dcbw@redhat.com>
11819
11820         Patch from Michael Biebl <biebl@teco.edu>
11821         * src/backends/NetworkManagerDebian.c
11822                 - Debian backend fixups
11823
11824 2006-05-10  Robert Love  <rml@novell.com>
11825
11826         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11827
11828 2006-05-09  Robert Love  <rml@novell.com>
11829
11830         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11831           private certificate passphrase, if any, in the GNOME Keyring.
11832         * libnm-utils/dbus-helpers.c: Update.
11833
11834 2006-05-05  Dan Williams  <dcbw@redhat.com>
11835
11836         * src/nm-device-802-11-wireless.c
11837                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11838                         nm_device_802_11_wireless_disable_encryption() since that's all
11839                         we use it for anymore; we don't ever set WEP keys ourselves.
11840                 - (real_deactivate_quickly): reset SSID and encryption keys
11841                 - (real_deactivate): move SSID and encryption key reset to
11842                         real_deactivate_quickly(), which gets run before us anyway
11843
11844 2006-05-05  Robert Love  <rml@novell.com>
11845
11846         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11847           root has a wacky default of its own (or, more common, a user has a
11848           bad umask and uses su/sudo to restart NetworkManager).  Anything
11849           other than 0022 does not do what we want with, for example,
11850           resolv.conf.  This problem is amplified by our judicious use of
11851           fopen(), which uses mode 0666 -- implying that the only way to get
11852           the permissions we want is with a umask of 0022.
11853
11854 2006-05-05  Dan Williams  <dcbw@redhat.com>
11855
11856         * gnome/libnm_glib/libnm_glib.c
11857                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11858                         to reconnect; instead wait a bit more with each reconnect attempt
11859                         up to a max of one minute.
11860
11861 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11862
11863         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11864           the WirelessNetwork structure using the proper function instead of
11865           just casting it directly to (const char *) (gnome.org #336991)
11866
11867 2006-05-03  Robert Love  <rml@novell.com>
11868
11869         * src/backends/NetworkManagerSuSE.c: Respect the variable
11870           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11871           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11872           to dynamically update /etc/resolv.conf.
11873
11874 2006-05-02  Peter Jones  <pjones@redhat.com>
11875
11876         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11877
11878 2006-05-02  Robert Love  <rml@novell.com>
11879
11880         Patch by Timo Hoenig;
11881         * tests/nm-online.c: Print pretty status indicator as timeout winds
11882           down.  Also fix possible race between DBUS startup and failure
11883           return.
11884
11885 2006-05-01  Robert Love  <rml@novell.com>
11886
11887         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11888           empty, too.
11889
11890 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11891
11892         * src/nm-device.c (discover_device_type): Actually use the hal
11893         device type instead of ioctl poking
11894
11895 2006-04-26  Robert Love  <rml@novell.com>
11896
11897         * tests/nm-online.c: New file.  Simple utility that returns exit status
11898           noting whether the connection is offline or online.  If offline on
11899           start, it waits 30 seconds (or a command-line given value) for an
11900           online signal.  If it times out, it again returns offline.  This is
11901           useful for scripts that want to wait for network connections.
11902
11903 2006-04-25  Robert Love  <rml@novell.com>
11904
11905         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11906           key mode (the authentication algorithm), e.g. open or shared, when we
11907           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11908           only shared was broken.  If the user specified a shared key, set it
11909           explicitly, otherwise let wpa_supplicant go with the default.
11910
11911 2006-04-24  Dan Williams  <dcbw@redhat.com>
11912
11913         * src/nm-device-802-11-wireless.c
11914                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11915
11916 2006-04-24  Dan Williams  <dcbw@redhat.com>
11917
11918         Commit the async scanning patch
11919
11920         * src/nm-device-802-11-wireless.c
11921                 - get rid of scan_mutex
11922                 - (wireless_event_helper): act on wireless scan events
11923                 - (real_start): schedule a pending scan
11924                 - (link_to_specific_ap): fake the link to the AP during a scan
11925                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11926                         strength during scans
11927                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11928                         nm_device_set_bitrate): unused with new scanning code, disable
11929                 - (nm_device_wireless_schedule_scan): removed
11930                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11931                 - (request_and_convert_scan_results): new function; retrieve scan
11932                         results from the driver and schedule the processing function
11933                 - (scan_results_timeout): timeout triggered when card doesn't send
11934                         a scan results wireless event during a certain interval
11935                 - (schedule_scan_results_timeout): new function; schedule the scan
11936                         results timeout
11937                 - (cancel_scan_results_timeout): new function; cancel the scan
11938                         results timeout
11939                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11940                         to do the scanning.  Otherwise, just request a scan but don't
11941                         grab results here; instead schedule a timeout for scan results and
11942                         let netlink notify us of scan completion events
11943                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11944                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11945                 - (supplicant_status_cb): ignore disconnect events while scanning
11946                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11947                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11948                         timeouts
11949                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11950
11951 2006-04-24  Dan Williams  <dcbw@redhat.com>
11952
11953         * gnome/applet/applet-dbus.c
11954                 - Disable the pending call debug stuff, seems under control now
11955
11956 2006-04-20  Robert Love  <rml@novell.com>
11957
11958         Fix bug where hidden ESSID's would not show up in the applet, even
11959         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11960         because nm_policy_device_list_update_from_allowed_list() would merge
11961         the data, putting a name to the hidden networks, but never notify NMI
11962         of the changes.  Simple fix is to invoke the function
11963         nm_dbus_signal_wireless_network_change() if we make a mapping.
11964         * src/NetworkManagerAPList.c: Call the function
11965           nm_dbus_signal_wireless_network_change() if we made a successful
11966           BSSID to ESSID mapping, notifying the applet of the "new" network.
11967         * src/NetworkManagerAPList.h: Update the prototypes for both
11968           nm_ap_list_copy_essids_by_address() and
11969           nm_ap_list_copy_one_essid_by_address().
11970
11971 2006-04-20  Robert Love  <rml@novell.com>
11972
11973         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11974           not set.  Just return zero.
11975
11976 2006-04-20  Robert Love  <rml@novell.com>
11977
11978         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11979           only one copy of nm-vpn-properties is running at a time via the 'ol
11980           X selection trick.  This prevents the user from opening two "VPN
11981           Connections" windows from within the applet, which leads to mass
11982           hysteria.
11983         * clipboard.c: New file, implementing simple X selection logic.
11984         * clipboard.h: New file.
11985         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11986
11987 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11988
11989         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11990         * configure.in
11991           initscript/Gentoo/Makefile.am
11992           initscript/Gentoo/NetworkManagerDispatcher.in
11993                 - New script
11994         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11995           Gentopia
11996
11997 2006-04-16  Dan Williams  <dcbw@redhat.com>
11998
11999         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12000         * configure.in
12001           initscript/Slackware/Makefile.am
12002           initscript/Slackware/rc.networkmanager-dispatcher.in
12003           initscript/Slackware/rc.networkmanager.in
12004                 - Update slackware initscripts
12005
12006 2006-04-10  Robert Love  <rml@novell.com>
12007
12008         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12009           the "delete_event" signal on the druid's parent window and handle it
12010           our way, lest using the WM to close the druid results in a series of
12011           bloody and ultimately lethal errors.
12012
12013 2006-04-10  Robert Love  <rml@novell.com>
12014
12015         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12016           'Back' too or else the 'Forward' option is initially disabled despite
12017           valid input.
12018
12019 2006-04-06  Robert Love  <rml@novell.com>
12020
12021         Fix bad but simple bug where an active modem connection did not update
12022         NM's connection state, breaking any app that did online/offline:
12023         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12024           represented whether a dial up connection is active, or not.
12025         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12026           to modem activation and deactivation.
12027         * src/NetworkManagerDbus.c: When asked our state, do not return
12028           disconnected if the modem is active.
12029
12030 2006-04-04  Robert Love  <rml@novell.com>
12031
12032         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12033           applet.  It just confuses the crap out of people and does not make a
12034           lot of sense, as the daemon still runs.
12035
12036 2006-04-02  Tor Krill  <tor@krill.nu>
12037
12038         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12039           in start of service.
12040         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12041           get Archlinux backend up to date.
12042
12043 2006-03-29  Robert Love  <rml@novell.com>
12044
12045         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12046         to add support for per-route MSS and improve support for per-interface
12047         MTU:
12048         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12049           optionally take an MSS parameter and set it for the given route.
12050           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12051           NMIP4Config's stored MSS, if any.
12052         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12053           the interface's MTU and the route's MSS, respectively.  Add functions
12054           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12055           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12056           MSS.
12057         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12058           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12059           nm_ip4_config_set_mss.
12060         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12061           VPN daemon.
12062         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12063           Change the retval of nm_system_get_mtu to guint32.
12064         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12065           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12066           servers can specify MTU's, we should set it here if the MTU was not
12067           provided.
12068
12069 2006-03-27  Jürg Billeter  <j@bitron.ch>
12070
12071         * configure.in:
12072         * initscript/Makefile.am:
12073         * initscript/paldo/Makefile.am:
12074         * initscript/paldo/NetworkManager.in:
12075         * initscript/paldo/NetworkManagerDispatcher.in:
12076         * src/backends/Makefile.am:
12077         * src/backends/NetworkManagerPaldo.c:
12078                 - Add paldo support
12079
12080 2006-03-27  Dan Williams  <dcbw@redhat.com>
12081
12082         Patch from Christian Persch <chpe@gnome.org>
12083         * gnome/applet/applet.glade
12084                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12085
12086 2006-03-27  Dan Williams  <dcbw@redhat.com>
12087
12088         Patch from Diffe <diffie@blazebox.homeip.net>
12089         * src/backends/NetworkManagerSlackware.c
12090                 - Don't restart howl, since it's been replaced by Avahi
12091                         in most distributions
12092
12093 2006-03-27  Dan Williams  <dcbw@redhat.com>
12094
12095         Patch from Tor Krill <bugzilla@krill.nu>
12096         * configure.in
12097           initscript/Makefile.am
12098           src/backends/Makefile.am
12099           src/backends/NetworkManagerArch.c
12100           initscript/Arch/Makefile.am
12101           initscript/Arch/networkmanager-dispatcher.in
12102           initscript/Arch/networkmanager.in
12103                 - Add Arch Linux support, fixes gnome.org #335147
12104
12105 2006-03-27  Dan Williams  <dcbw@redhat.com>
12106
12107         Patch from Diffe <diffie@blazebox.homeip.net>
12108      * initscript/Slackware/rc.networkmanager
12109         - update, fixed gnome.org #333368
12110
12111 2006-03-27  Robert Love  <rml@novell.com>
12112
12113         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12114           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12115
12116 2006-03-27  Robert Love  <rml@novell.com>
12117
12118         Patch by Jürg Billeter <j@bitron.ch>:
12119         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12120           systems.
12121         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12122           as we prefer glibc over kernel headers, if possible.
12123
12124 2006-03-27  Robert Love  <rml@novell.com>
12125
12126         Patch by Jon Escombe <list@dresco.co.uk>:
12127         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12128         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12129           fail, don't bail out.  We don't expect all of the various WPA-EAP
12130           values to be present.
12131         * src/nm-ap-security.c: We need to match all capabilities for each
12132           encryption type, not any one of them.
12133
12134 2006-03-27  Robert Love  <rml@novell.com>
12135
12136         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12137           restart, not reload, ypbind.  Unfortunately there is no superior
12138           solution.
12139
12140 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12141
12142         * gnome/applet/applet-notifications.c:
12143         When displaying a notification, make sure to get rid of the
12144         previous notification so as to not have competing bubbles,
12145         and stop leaking the old one.
12146
12147         * gnome/applet/applet.c:
12148         * gnome/applet/applet.h:
12149         Add a new 'notification' member to the applet, and zero it out
12150         and free it appropriately.
12151
12152 2006-03-23  Robert Love  <rml@novell.com>
12153
12154         Patch by j <j@bootlab.org>:
12155         * gnome/applet/applet.glade: Don't set the invisible_char property,
12156           which simply overrides the GTK default.  By and by, this behavior
12157           ought to be fixed in Glade.
12158
12159 2006-03-22  Robert Love  <rml@novell.com>
12160
12161         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12162
12163 2006-03-22  Robert Love  <rml@novell.com>
12164
12165         Bug fix by Timo Hoenig <thoenig@suse.de>:
12166         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12167           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12168           and the applet going AWOL.
12169
12170 2006-03-22  Robert Love  <rml@novell.com>
12171
12172         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12173           preprocessor define and use it instead of open-coded the DHCP
12174           timeout, which is currently 25 seconds, everywhere.
12175
12176 2006-03-22  Robert Love  <rml@novell.com>
12177
12178         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12179         key exchange via WPA, ostensibly providing good security without
12180         requiring hardware that supports full WPA.  Also, add UI elements to
12181         allow the user to select the pairwise & group cipher for WPA Enterprise
12182         networks, too:
12183         * gnome/applet/applet.glade: Update glade file.
12184         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12185           key type, too, to and from gconf.
12186         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12187           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12188           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12189           the capabilities match.
12190         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12191           prototype.
12192         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12193           serialize from UI to DBUS.
12194         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12195           one element.
12196         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12197           nmu_security_serialize_wpa_eap_with_cipher(), and
12198           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12199           serialize/deserialize the key type via DBUS as the new third DBUS
12200           parameter.
12201         * libnm-util/dbus-helpers.h: Update prototypes.
12202         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12203           too.  If the key type is WEP104, do Dynamic WEP, which means
12204           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12205           pairwise and group ciphers (fixes a FIXME).
12206
12207 2006-03-21  Robert Love  <rml@novell.com>
12208
12209         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12210           nm_system_get_mtu(), which returns a user-provided or system-mandated
12211           MTU value for a given device, if any, or zero if no such value
12212           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12213           if we have a provided value.
12214         * src/nm-device.c: Set the MTU of devices.
12215         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12216         * src/backends/NetworkManagerDebian.c,
12217           src/backends/NetworkManagerGentoo.c,
12218           src/backends/NetworkManagerRedHat.c,
12219           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12220
12221 2006-03-21  Robert Love  <rml@novell.com>
12222
12223         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12224           configuration file.
12225
12226 2006-03-17  Robert Love  <rml@novell.com>
12227
12228         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12229           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12230           it, in case it is not running in the first place.  We just want its
12231           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12232
12233 2006-03-15  Robert Love  <rml@novell.com>
12234
12235         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12236           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12237           label "WEP 40/128-bit" is inconsistent because the physical key size
12238           is 40 or 104-bits, to which a 24-bit initialisation vector is
12239           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12240           to read "40/104" or "64/128".  I do not care much which, but most
12241           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12242           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12243           WEP passphrase support only handles 128-bit keys, and any future
12244           64-bit passphrase support will require a new option (no way to auto-
12245           detect the target key size), explicitly label our passphrase support
12246           "WEP 128-bit Passphrase".
12247
12248 2006-03-15  Robert Love  <rml@novell.com>
12249
12250         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12251           the system init scripts (or some other mechanism) starting it (or a
12252           compatible DBUS service) before NetworkManager runs.  This means that
12253           distributions might need to update their init scripts.  This fixes
12254           possible races and is quite a bit cleaner.
12255         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12256           starting the NetworkManager daemon.
12257
12258
12259 2006-03-14  Robert Love  <rml@novell.com>
12260
12261         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12262           before adding anything.
12263
12264 2006-03-13  Robert Love  <rml@novell.com>
12265
12266         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12267           widgets, too, if they exist, in case the user hit the back button.
12268           Fixes a bug where the details page contains the widgets of multiple
12269           VPN modules (Novell bug #157048).
12270
12271 2006-03-13  Robert Love  <rml@novell.com>
12272
12273         Patch by Timo Hoenig <thoenig@suse.de>:
12274         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12275           daemon survive DBUS restarts, too.
12276
12277 2006-03-10  Robert Love  <rml@novell.com>
12278
12279         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12280           passphrase or key.
12281         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12282           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12283           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12284           in response to "toggled" signal on new toggle.
12285
12286 2006-03-10  Robert Love  <rml@novell.com>
12287
12288         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12289           serialization if strings are NULL, lest DBUS get angry.
12290
12291 2006-03-10  Robert Love  <rml@novell.com>
12292
12293         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12294
12295 2006-03-09  Robert Love  <rml@novell.com>
12296
12297         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12298           configurations.
12299
12300 2006-03-09  Dan Williams  <dcbw@redhat.com>
12301
12302         Track pending call requests in the applet, and report how many are
12303         outstanding, and how long each completed one takes.
12304         
12305         * gnome/applet/applet-dbus-devices.c
12306           gnome/applet/applet-dbus-vpn.c
12307                 - Track pending calls
12308
12309         * gnome/applet/applet-dbus.[ch]
12310                 - Remove some unused enums
12311                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12312                         new functions to track dbus pending calls and spit out some
12313                         statistics about them
12314
12315 2006-03-09  Robert Love  <rml@novell.com>
12316
12317         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12318           nm_ap_set_timestamp() take the second and micro-second parameters as
12319           direct arguments, which avoids both a dynamic memory allocation and a
12320           structure-to-structure copy!  Add a new interface, the aptly named
12321           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12322           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12323           the return from nm_ap_get_timestamp().  New users should use the new
12324           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12325           the extreme benefit to performance.
12326         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12327           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12328
12329 2006-03-08  Robert Love  <rml@novell.com>
12330
12331         * gnome/applet/applet.glade: Hide the password entry text with
12332           asterisks.
12333
12334 2006-03-08  Robert Love  <rml@novell.com>
12335
12336         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12337           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12338           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12339           a second argument, NMData.
12340         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12341         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12342           config files as trusted.
12343
12344 2006-03-06  Robert Love  <rml@novell.com>
12345
12346         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12347         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12348           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12349           Rivera, detect if the applet was auto-started.  If so, ask the user
12350           if he or she would like to stop automatically running the applet on
12351           login.  If so, disable autostart.
12352
12353 2006-03-06  Robert Love  <rml@novell.com>
12354
12355         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12356           directory in CFLAGS so developers can actually use NetworkManager.h.
12357
12358 2006-03-06  Robert Love  <rml@novell.com>
12359
12360         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12361           open-coded integer constants.  Add state_to_string() to map a given
12362           state to a textual description, and provide that when notifying of
12363           state change.
12364         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12365           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12366           this header directly, but it is currently not installed on most
12367           systems.
12368
12369 2006-03-05  Dan Williams  <dcbw@redhat.com>
12370
12371         Process netlink messages in device subclasses rather than in
12372         NetworkManager.c.  Also add support for recognizing Wireless Events.
12373         
12374         * configure.in
12375                 - Find GLIB_GENMARSHAL
12376
12377         * src/Makefile.am
12378                 - Since we're marshalling custom types for wireless event signals,
12379                         we get to create our own marshallers using GLIB_GENMARSHAL
12380
12381         * src/NetworkManager.c
12382                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12383                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12384                         cut down somewhat.  We no longer process signals here.
12385                 - (nm_data_new): create the netlink monitor here, and remove a
12386                         useless call to nm_policy_schedule_device_change_check()
12387                 - (nm_data_free): get rid of the netlink monitor here
12388                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12389                 - (main): don't create the netlink monitor here, let nm_data_new
12390                         do that.  Call nm_policy_schedule_device_change_check() right
12391                         before we jump to the mainloop to figure out which device
12392                         to use first
12393
12394         * src/NetworkManagerSystem.[ch]
12395                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12396                         convert back and forth from interface names to interface
12397                         indexes
12398
12399         * src/nm-device-802-11-wireless.c
12400                 - (real_init): connect to wireless-event signals from the netlink
12401                         monitor object
12402                 - (nm_device_802_11_wireless_event): new function, schedule handler
12403                         for wireless event signals from the netlink monitor object.  We
12404                         want the handler to run in the device's context
12405                 - (wireless_event_helper): handle wireless-event signals from netlink
12406                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12407                         signal handler
12408
12409         * src/nm-device-802-11-wireless.h
12410                 - remove unused prototype for nm_device_802_11_wireless_new
12411
12412         * src/nm-device-802-3-ethernet.c
12413                 - (real_init): new function; set up signal handlers for link events
12414                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12415                         handler for netlink link activated events on device's main loop
12416                 - (link_activated_helper): when we get a link activated event, set
12417                         the device's link to be active
12418                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12419                         handler for netlink link deactivated events on device's main loop
12420                 - (link_deactivated_helper): when we get a link deactivated event, set
12421                         the device's link to be inactive
12422                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12423                         dispose
12424
12425         * src/nm-device-802-3-ethernet.h
12426                 - remove unused prototype for nm_device_802_3_ethernet_new
12427
12428         * src/nm-device.[ch]
12429                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12430                         but locks the device list
12431                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12432
12433         * src/nm-netlink-monitor.[ch]
12434                 - (nm_netlink_monitor_class_install_signals): New signal
12435                         "wireless-event"
12436                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12437                         at the device list
12438                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12439
12440         * src/nm-marshal-main.c
12441                 - Include generated nm-marshal.c and nm-marshal.h
12442
12443         * src/nm-marshal.list
12444                 - List of custom marshal functions
12445
12446 2006-03-05  Dan Williams  <dcbw@redhat.com>
12447
12448         * gnome/applet/applet-notifications.h
12449                 - Protect prototype of nma_send_event_notification() because it
12450                         includes libnotify-specific types
12451                 - Include libnotify/libnotify.h too, since we technically need it
12452
12453         * gnome/applet/applet.c
12454                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12455                 - (nma_show_vpn_login_banner_dialog): add some error checking
12456
12457 2006-03-04  Dan Williams  <dcbw@redhat.com>
12458
12459         Clean up activation cancellation.  Should be a lot faster now.  Observed
12460         an issue with wireless devices between stage 2 and 3 of activation, where
12461         activation would be cancelled, but the device thread wouldn't notice until
12462         the supplicant association timed out.  Reorganize activation such that
12463         a cancellation handler gets immediately scheduled in the device's thread,
12464         and devices have a chance to perform any custom cleanup too.
12465
12466         * src/nm-device.[ch]
12467                 - (activation_cancel_handler): new device-type-specific function
12468                         for cleaning up device-type-specific stuff on cancellation
12469                 - (cancel_activation): removed
12470                 - (nm_device_activation_cancel): subsume functionality of
12471                         real_cancel_activation, but instead of doing anything, punt
12472                         operation to a handler that's run in device-thread context
12473                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12474                         a warning message
12475                 - (activation_handle_cancel_helper): cancellation handler run in
12476                         device-thread context, calls device-type-specific cancelation,
12477                         then tears down the activation request
12478                 - (real_activation_cancel_handler): generic cancellation handler,
12479                         deals with cancelling any in-process DHCP request
12480                 - (nm_device_activate_stage1_device_prepare,
12481                    nm_device_activate_stage2_device_config,
12482                    nm_device_activate_stage3_ip_config_start,
12483                    nm_device_activate_stage4_ip_config_get,
12484                    nm_device_activate_stage4_ip_config_timeout,
12485                    nm_device_activate_stage5_ip_commit): don't call
12486                         nm_device_schedule_activation_handle_cancel() any more, since
12487                         cancellation will have been already scheduled for us by
12488                         nm_device_activation_cancel().  Just exit the function and
12489                         assume that the cancel handler will be called next.
12490
12491         * src/nm-device-802-3-ethernet.c
12492                 - (real_act_stage2_config): remove; didn't do anything anyway
12493
12494         * src/nm-device-802-11-wireless.c
12495                 - (supplicant_status_cb): ensure we don't do anything if the activation
12496                         got cancelled
12497                 - (real_activation_cancel_handler): implement; cancel user key request
12498                         on activation cancellation
12499
12500 2006-03-04  Dan Williams  <dcbw@redhat.com>
12501
12502         * src/nm-device-802-11-wireless.c
12503                 - (supplicant_send_network_config): assume that drivers that don't
12504                         support WPA pretty much suck, and can't handle NM scanning
12505                         along with wpa_supplicant.
12506
12507 2006-03-03  Robert Love  <rml@novell.com>
12508
12509         * configure.in: Bump version to 0.6.0.
12510         * NEWS: Update.
12511
12512 2006-03-03  Robert Love  <rml@novell.com>
12513
12514         * configure.in: Require DBUS 0.60 or later.
12515
12516 2006-03-03  Dan Williams  <dcbw@redhat.com>
12517
12518         Fix a crash if an "Other wireless network" was chosen, failed, then
12519         chosen again from the applet's menu.  If the other network wasn't
12520         noticed in a scan, it wouldn't have any capabilities, but would still
12521         be listed because the user forced the network.  To fix this, we set
12522         sensible capabilities on the forced network, which will get overwritten
12523         with the correct ones if the network shows up later in a scan.
12524         
12525         * src/nm-ap-security.h
12526                 - Add a new "get_default_capabilities_func" member to the
12527                         NMAPSecurity class
12528
12529         * src/nm-ap-security.c
12530                 - (nm_ap_security_get_default_capabilities): new function
12531
12532         * src/nm-ap-security.c
12533           src/nm-ap-security-wep.c
12534           src/nm-ap-security-wpa-psk.c
12535           src/nm-ap-security-wpa-eap.c
12536                 - Implement get_default_capabilities_func() for all, which
12537                         uses the information contained in a specific NMAPSecurity
12538                         object to determine default AP capabilites necessary
12539                         to support that object
12540
12541         As a secondary measure, we now prune artificial access points that fail
12542         to be activated right away.  The thing failed, and we have no scan data for
12543         it, so it's pretty much useless since security information is only saved
12544         in the applets when a connection is successful.
12545
12546         * src/NetworkManagerAPList.c
12547                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12548                         not artificial.  If we see it, it's no longer a figment of the
12549                         user's imagination :)
12550
12551         * src/NetworkManagerPolicy.c
12552                 - (nm_policy_activation_failed): send along the failed AP if we
12553                         have it
12554
12555         * src/nm-device-802-11-wireless.c
12556                 - (real_activation_failure_handler): remove artificial APs from
12557                         the device list, because activation failed
12558
12559 2006-03-02  Robert Love  <rml@novell.com>
12560
12561         Add support for retrieving both the per-device speed and the
12562         per-network maximum supported rate.  Then change the getProperties
12563         DBUS API for both networks and devices to report this informaiton.
12564         Finally, display the information via both nm-applet and nm-tool:
12565         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12566           and set it.
12567         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12568           Information' dialog.
12569         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12570         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12571           network_device_get_speed() and network_device_set_speed() for
12572           retrieving and setting, respectively, a network device's current
12573           speed.
12574         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12575         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12576           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12577           not matter (yet) what the units are, because we only feed it its own
12578           output.  Implement SIOCGIRATE and set the per-network maximum
12579           supported rate during scanning.
12580         * src/nm-device-802-11-wireless.h: Export the function
12581           nm_device_802_11_wireless_get_bitrate().
12582         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12583           function nm_device_802_3_ethernet_get_speed() for returning an
12584           802.3's current speed, in Mb/s.
12585         * test/nm-tool.c: Display the per-device current speed, if available,
12586           and the per-network maximum rate.
12587
12588 2006-03-02  Dan Williams  <dcbw@redhat.com>
12589
12590         * src/nm-device-802-11-wireless.c
12591                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12592                         card when it gets initialized.  Since devices don't get added to
12593                         the scan list until they are initialized, this function wasn't
12594                         setting the intitial scan interval correctly, and was leaving
12595                         it at 0.  This caused cards to get many scan requests in a short
12596                         amount of time when they were initialized
12597
12598 2006-03-02  Robert Love  <rml@novell.com>
12599
12600         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12601           active device.  But do not do what we used to do and override the
12602           state, which caused the dreaded icon race of '05.
12603
12604 2006-03-02  Robert Love  <rml@novell.com>
12605
12606         Commit Dan's update of my previous commit:
12607         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12608           set_mode() function itself does the check.  But do only set the
12609           frequency if in Ad-Hoc mode.
12610
12611 2006-03-02  Robert Love  <rml@novell.com>
12612
12613         Patch by Brian Magnuson <magnuson@rcn.com>:
12614         * src/nm-device-802-11-wireless.c: During scanning, only set the
12615           wireless mode to infrastructure if it is not currently in
12616           infrastructure mode.  For some driver, setting the mode is a costly
12617           operation, apparently.
12618
12619 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12620
12621         * Makefile.am: use the correct dir for autostart mechanism.
12622
12623 2006-02-28  Dan Williams  <dcbw@redhat.com>
12624
12625         Patch from Brian Magnuson <magnuson@rcn.com>
12626         * gnome/applet/applet.c
12627                 - (nma_show_vpn_failure_dialog): fix errors left over from
12628                         libnotify support changes
12629
12630 2006-02-28  Dan Williams  <dcbw@redhat.com>
12631
12632         * src/vpn-manager/nm-vpn-act-request.[ch]
12633                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12634                         just one value
12635                 - (nm_vpn_act_request_is_failed): new function; return whether or
12636                         not the vpn activation request has failed
12637
12638         * src/vpn-manager/nm-vpn-manager.c 
12639                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12640                         daemon to kill the connection when the activation request fails.
12641                         Fixes issue where NM would get confused if the VPN activation
12642                         request timed out, and would not allow further VPN connections
12643                         on that service.
12644
12645 2006-02-28  Dan Williams  <dcbw@redhat.com>
12646
12647         * gnome/applet/applet.c
12648                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12649                         overlapping connection requests, disable all VPN menu items
12650                         but the active VPN connection
12651
12652 2006-02-28  Dan Williams  <dcbw@redhat.com>
12653
12654         * src/vpn-manager/nm-vpn-connection.c
12655                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12656                         called g_object_unref() on the connection's parent device
12657                         when it should have been ref-ed instead.  Fixes crash with
12658                         repeated vpn connect requests
12659
12660 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12661
12662         * gnome/applet/applet.glade:
12663         Mark a few strings non-translatable, since they shouldn't be.
12664
12665 2006-02-28  Dan Williams  <dcbw@redhat.com>
12666
12667         * src/vpn-manager/nm-vpn-service.c
12668                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12669                         already running, don't blindly ask it to connect, but wait until
12670                         it's in the STOPPED state first.  Fixes an assertion when user
12671                         starts a second vpn connection without stopping the first.
12672                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12673                         dbus service exists before continuing with the connection
12674                         process, and reduce latency while waiting for it to become
12675                         available
12676                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12677                         waiting for the vpn service daemon to become available
12678                 - General log message cleanups; show progress via "Stage x of 4"
12679                         rather than not telling anyone how many stages there are
12680
12681 2006-02-28  Robert Love  <rml@novell.com>
12682
12683         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12684         * src/backends/NetworkManagerSuSE.c: Implement the interface
12685           nm_system_should_modify_resolv_conf() for SUSE.
12686         * src/backends/NetworkManagerDebian.c,
12687           src/backends/NetworkManagerGentoo.c,
12688           src/backends/NetworkManagerRedHat.c,
12689           src/backends/NetworkManagerSlackware.c: Add stub.
12690         * src/named-manager/Makefile.am: Grab includes from src.
12691         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12692           automatic updating of resolv.conf.  This is useful for testing,
12693           broken static configurations, and administrator lock-down.
12694
12695 2006-02-28  Dan Williams  <dcbw@redhat.com>
12696
12697         * src/nm-device-802-11-wireless.c
12698                 - Move all the wpa_supplicant-related management stuff into its
12699                         own struct, just for oranization's sake
12700                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12701                         to a GIOChannel/GSource
12702                 - (supplicant_log_stdout): new function; grab output from the
12703                         wpa_supplicant stdout pipe and write it to our logs.
12704
12705 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12706
12707         * src/nm-device-802-11-wireless.c:
12708         Err, fix thinko in my previous commit.
12709
12710 2006-02-28  Robert Love  <rml@novell.com>
12711
12712         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12713
12714 2006-02-28  Robert Love  <rml@novell.com>
12715
12716         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12717           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12718           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12719           deserializers are responsible for freeing the returned DBUS strings.
12720
12721 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12722
12723         * src/nm-device-802-11-wireless.c:
12724         The scan list is being pruned prematurely.  We should prune after
12725         the device has gone MIA for three scans, not one.  Split out the
12726         interval to realtime seconds function to better serve this.
12727
12728 2006-02-27  Robert Love  <rml@novell.com>
12729
12730         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12731           Open the pid file O_TRUNC, so if it already exists we truncate it to
12732           zero length.  Also, be more verbose about warnings generated during
12733           writing out the pid file.  Finally, always write out the pid file if
12734           in daemon mode.  Use "--pid-file" to override the default.
12735
12736 2006-02-27  Robert Love  <rml@novell.com>
12737
12738         Patch by R. Vinay <rvinay@novell.com>:
12739         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12740           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12741           Novell bug #153628).
12742           
12743 2006-02-27  Robert Love  <rml@novell.com>
12744
12745         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12746           entry so user can hit <ENTER> after entering passphrase (Novell bug
12747           #153738).
12748
12749 2006-02-27  Dan Williams  <dcbw@redhat.com>
12750
12751         * gnome/applet/*
12752                 - Mass search/replace of:
12753                         nmwa -> nma
12754                         NMWirelessApplet -> NMApplet
12755                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12756                    (it ain't just for wireless anymore, ma!)
12757                 - Fix duplicate function name printing when using nm_warning
12758                 - wireless-applet.glade -> applet.glade
12759
12760 2006-02-27  Dan Williams  <dcbw@redhat.com>
12761
12762         * dispatcher-daemon/NetworkManagerDispatcher.c
12763                 - Accept --pid-file with a path to a pidfile, write it out on
12764                         startup, and delete it on shutdown
12765
12766         * src/NetworkManager.c
12767                 - Accept --pid-file with a path to a pidfile, write it out on
12768                         startup, and delete it on shutdown
12769                 - Move nm_print_usage() lower
12770
12771         * initscripts/RedHat/NetworkManager.in
12772                 - Use new --pid-file option
12773                 - Fix service stopping to wait a bit for NM to quit
12774
12775         * initscripts/RedHat/NetworkManagerDispatcher.in
12776                 - Use new --pid-file option
12777
12778 2006-02-26  Dan Williams  <dcbw@redhat.com>
12779
12780         * src/Makefile.am
12781                 - make and install nm-crash-logger
12782
12783         * src/nm-logging.[ch]
12784                 - New files; consolidate logging and crash handling
12785
12786         * src/nm-crash-logger.c
12787           src/gdb-cmd
12788                 - Standalong crashlogger for NM, grab a backtrace
12789                         using GDB
12790
12791         * src/NetworkManager.[ch]
12792                 - Remove signal handling and put it into nm-logging.c
12793
12794 2006-02-26  Dan Williams  <dcbw@redhat.com>
12795
12796         * configure.in
12797           gnome/applet/Makefile.am
12798                 - Conditionalize all the notify stuff
12799
12800         Merge most of Chris Aillon's notification patch:
12801         
12802         * gnome/applet/applet-notifications.[ch]
12803                 - New files; show a notification
12804         
12805         * gnome/applet/applet-dbus-devices.[ch]
12806                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12807                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12808                         new functions, do the right thing when a device change occurs
12809
12810         * gnome/applet/applet-dbus.c
12811                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12812                         signals, so we can handle them specially
12813
12814         * gnome/applet/applet.[ch]
12815                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12816                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12817                 - (nmwa_notify_state): remove
12818                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12819                         notification work is now done when the appropriate dbus signals
12820                         are received.
12821                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12822                         defer execution of the notification/dialog stuff.  That was an
12823                         artifact of the previous multi-threaded nature of the applet
12824                         and is now pointless.
12825                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12826                         no longer needed.  Function folded into applet-notifications.c
12827
12828         * src/NetworkManagerPolicy.c
12829                 - (nm_policy_activation_finish): send the AP along with the device
12830                         status change signal, if the connection is wireless.  Should
12831                         fix the race where applet would show a connection to "unknown"
12832
12833 2006-02-25  Robert Love  <rml@novell.com>
12834
12835         Add WPA Enterprise support:
12836         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12837           nm-gconf-wso-wpa-eap.h.
12838         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12839           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12840           serialization and deserialization.
12841         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12842           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12843           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12844         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12845           settings related to WPA Enterprise.
12846         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12847           instantiate WPA Enterprise wireless-security-option.
12848         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12849           Implement WPA Enterprise wireless-security-option object.
12850         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12851           defines.  Cleanup.
12852         * libnm-util/cipher-wpa-psk-hex.c,
12853           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12854         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12855           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12856           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12857           including the cipher to DBUS method, and
12858           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12859           to output.
12860         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12861           nm-ap-security-wpa-eap.h
12862         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12863           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12864         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12865           files.  Implement NMAPSecurityWPA_EAP object.
12866         * src/nm-ap-security-wpa-psk.c: Cleanup.
12867         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12868           an NMAPSecurityWPA_EAP object via the method
12869           nm_ap_security_wpa_eap_new_deserialize().
12870         * src/nm-dbus-nm.c: Cleanup.
12871         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12872           WPA Enterprise support.
12873
12874 2006-02-24  Robert Love  <rml@novell.com>
12875
12876         Patch from Timo Hoenig <thoenig@suse.de>:
12877         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12878
12879 2006-02-24  Robert Love  <rml@novell.com>
12880
12881         Patch from Dan Winship <danw@novell.com>:
12882         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12883           area to transparent.
12884
12885 2006-02-21  Dan Williams  <dcbw@redhat.com>
12886
12887         * gnome/applet/applet.[ch]
12888           gnome/applet/applet-dbus.c
12889                 - Implement notification support for VPN messages too
12890
12891 2006-02-21  Dan Williams  <dcbw@redhat.com>
12892
12893         * gnome/applet/applet-dbus-info.c
12894                 - Clean up warning messages to not double-print the function
12895
12896 2006-02-21  Dan Williams  <dcbw@redhat.com>
12897
12898         * gnome/applet/applet-compat.c
12899                 - (convert_one_entry): accept entries without a key_type and
12900                         convert them to unencrypted networks
12901
12902 2006-02-21  Dan Williams  <dcbw@redhat.com>
12903
12904         * gnome/libnm_glib/libnm_glib.c
12905                 - Use __func__ everywhere we can
12906                 - Code cleanups
12907                 - Use dbus pending calls rather than blocking
12908                 - Reduce busywaits for our thread to start and stop
12909                         (gnome.org #330562)
12910                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12911                         stomp on others using the default shared dbus connection.
12912                         Fixes #rh177546# and gnome.org #326572
12913
12914 2006-02-21  Dan Williams  <dcbw@redhat.com>
12915
12916         Patch from Rodney Dawes <dobey@novell.com>
12917         * configure.in
12918           gnome/applet/Makefile.am
12919           gnome/applet/applet.c
12920                 - Add libnotify support if '--enable-notify=yes' is passed
12921                   at configure time
12922
12923 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12924
12925         * configure.in (ALL_LINGUAS): ko added. (Korean)
12926
12927 2006-02-15  Robert Love  <rml@novell.com>
12928
12929         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12930           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12931           and WPA_SUPPLICANT_CONTROL_SOCKET.
12932         
12933 2006-02-15  Robert Love  <rml@novell.com>
12934
12935         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12936           information about what connection stage we are at, provide the total
12937           number of stages, e.g. "Stage 2 of 5", so users know how far along
12938           they are if they experience problems.
12939
12940 2006-02-15  Robert Love  <rml@novell.com>
12941
12942         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12943           define to $sysconfdir.
12944         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12945           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12946           type of VPN and then editing another results in a mangled dialog
12947           box containing the widgets from both VPNs (fixes Novell #150854).
12948           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12949
12950 2006-02-14  Robert Love  <rml@novell.com>
12951
12952         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12953           syslog's file descriptor.
12954
12955 2006-02-14  Robert Love  <rml@novell.com>
12956
12957         Fix bug around since the change to "deal with APs changing settings on
12958         us," checked in on the fifth of February in the year of the dog, 
12959         wherein connecting to non-broadcast encrypted networks always fails
12960         because nm_ap_get_encrypted() always returns FALSE, even when the user
12961         provided a key, because the newly-created fake AP does not have any
12962         capabilities set, which is a sypmtom of security settings not matching
12963         capabilities (Novell bug #150784):
12964         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12965           nm_ap_add_capabilities_from_security(), which sets the given AP's
12966           capabilities off the given security settings.  Also improve our
12967           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12968           NM_AUTH_CIPHER_AUTO.
12969         * src/nm-device-802-11-wireless.c: Call the function
12970           nm_ap_add_capabilities_from_security() to ensure that capabilities
12971           match newly updated security settings.
12972
12973 2006-02-14  Robert Love  <rml@novell.com>
12974
12975         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12976           error as a string, not an integer, if possible; do not print the
12977           function name twice; always give the interface, if possible; misc.
12978           cleanup.
12979
12980 2006-02-12  Dan Williams  <dcbw@redhat.com>
12981
12982         Patch from Tom Parker <palfrey@tevp.net>
12983         * src/NetworkManagerSystem.h
12984                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12985                         no longer used
12986
12987         * src/backends/NetworkManagerDebian.c
12988                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12989                         unused variables
12990
12991 2006-02-12  Dan Williams  <dcbw@redhat.com>
12992
12993         * vpn-daemons/openvpn/intltool-extract.in
12994           vpn-daemons/openvpn/intltool-merge.in
12995           vpn-daemons/openvpn/intltool-update.in
12996           vpn-daemons/pptp/intltool-extract.in
12997           vpn-daemons/pptp/intltool-merge.in
12998           vpn-daemons/pptp/intltool-update.in
12999                 - Remove from CVS, they should get created by intltoolize,
13000                         shouldn't they?
13001
13002 2006-02-12  Dan Williams  <dcbw@redhat.com>
13003
13004         * vpn-daemons/pptp/src/pppd/patchlevel.h
13005         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13006                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13007                         Makefile-defined VERSION
13008
13009 2006-02-09  Dan Williams  <dcbw@redhat.com>
13010
13011         Patch from: Vinay A R <rvinay@novell.com>
13012         * src/vpn-manager/nm-vpn-act-request.[ch]
13013                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13014                         IPSec VPNs require them for std gateway.
13015                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13016                         and 'user_routes_count'
13017                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13018                         defined routes  from NMVPNActRequest object, returns the string
13019                         array of routes.
13020
13021         * src/vpn-manager/nm-vpn-manager.[ch]
13022                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13023                         for 'user_routes' and 'user_routes_count'
13024         
13025         * src/vpn-manager/nm-dbus-vpn.c
13026                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13027                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13028         
13029         * src/vpn-manager/nm-vpn-service.c
13030                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13031                         the vpn daemon
13032
13033         Modifications by Dan:
13034         * src/vpn-manager/nm-vpn-service.c
13035                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13036                         arrays into dbus
13037
13038         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13039         * vpn-daemons/pptp/src/nm-pptp-service.c
13040         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13041                 - Grab user routes from dbus message
13042                 - Free all string arrays we got from dbus
13043
13044 2006-02-07  Robert Love  <rml@novell.com>
13045
13046         Patch by Stefan Seyfried <seife@suse.de>:
13047         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13048
13049 2006-02-06  Robert Love  <rml@novell.com>
13050
13051         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13052
13053 2006-02-06  Robert Love  <rml@novell.com>
13054
13055         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13056           test ">=" is never false.  If no newline is found, we loop forever.
13057           We can just check for ">" because the following if() will see the
13058           zero-th argument if the while() gets that far.
13059
13060 2006-02-05  Dan Williams  <dcbw@redhat.com>
13061
13062         Refine handling of non-broadcast networks.
13063
13064         * src/NetworkManagerAPList.c
13065                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13066                         property from scanned AP to the AP from the device list
13067
13068         * src/nm-device-802-11-wireless.c
13069                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13070                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13071                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13072                         networks since those don't have APs.
13073                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13074                         AP as non-SSID-broadcasting
13075                 - (process_scan_results): don't handle non-SSID-broadcasting here
13076
13077 2006-02-05  Dan Williams  <dcbw@redhat.com>
13078
13079         * src/nm-device-802-11-wireless.c
13080                 - (get_supplicant_timeout): new function; return
13081                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13082                         14 channels.  These are likely a/b/g cards, like Atheros, and
13083                         slow as hell to scan.
13084                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13085                         get_supplicant_timeout()
13086
13087 2006-02-05  Dan Williams  <dcbw@redhat.com>
13088
13089         * src/dhcp-manager/nm-dhcp-manager.c
13090                 - Loose a commit race with Robert; make sure size check
13091                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13092
13093 2006-02-05  Robert Love  <rml@novell.com>
13094
13095         Patch by Christoph Brill <chrisbrill@gmx.net>:
13096         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13097           with DHCP_SERVICE_NAME.
13098
13099 2006-02-05  Dan Williams  <dcbw@redhat.com>
13100
13101         Remove anything having to do with device_setup_func from the
13102         AP security objects, since it's no longer used.
13103
13104         * src/nm-ap-security.h
13105                 - Kill device_setup_func and nm_ap_security_device_setup()
13106
13107         * src/nm-ap-security-wep.c
13108           src/nm-ap-security-wpa-psk.c
13109                 - (real_device_setup): remove
13110
13111         * src/nm-ap-security.c
13112                 - (real_device_setup): remove
13113                 - (nm_ap_security_device_setup): remove
13114
13115         * src/nm-device-802-11-wireless.[ch]
13116                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13117                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13118                         and done by wpa_supplicant now anyway
13119
13120 2006-02-05  Dan Williams  <dcbw@redhat.com>
13121
13122         * src/nm-device-802-11-wireless.c
13123                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13124                         settings on us.  Previously NM would loop asking for the
13125                         key but getting the same one back.  Now, if the NMI-supplied
13126                         cipher doesn't overlap with the scanned AP capabilities,
13127                         we request a completely new key from the user.
13128
13129 2006-02-05  Dan Williams  <dcbw@redhat.com>
13130
13131         * src/NetworkManagerUtils.c
13132                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13133                         Handle newline killing better
13134
13135 2006-02-05  Dan Williams  <dcbw@redhat.com>
13136
13137         * gnome/applet/nm-gconf-wso.c
13138                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13139                         of unencrypted access point security info.
13140
13141 2006-02-03  Robert Love  <rml@novell.com>
13142
13143         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13144           user's encryption key, so we print the err_msg_cmd not the command,
13145           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13146           sense.
13147
13148 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13149
13150         * initscript/RedHat/NetworkManagerDispatcher.in:
13151         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13152         Patch from Dan Walsh <dwalsh@redhat.com>
13153
13154 2006-02-03  Robert Love  <rml@novell.com>
13155
13156         * dispatcher-daemon/NetworkManagerDispatcher.c,
13157           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13158           but use the sysconfdir.
13159
13160 2006-02-03  Robert Love  <rml@novell.com>
13161
13162         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13163           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13164           'char *'.
13165         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13166           nm_ip4_config_get_hostname() and
13167           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13168         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13169           leak g_strdup() result.
13170
13171 2006-02-03  Robert Love  <rml@novell.com>
13172
13173         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13174           broadcast == TRUE.  Also, copy broadcast and artificial properties
13175           from source network to destination in nm_ap_copy().
13176         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13177           since we now default new networks to non-hidden.
13178
13179 2006-02-03  Dan Williams  <dcbw@redhat.com>
13180
13181         * gnome/applet/main.c
13182                 - (main): change the NEVER->ALWAYS so we start at the
13183                         beginning of the session, if being session-managed
13184
13185 2006-02-03  Dan Williams  <dcbw@redhat.com>
13186
13187         * gnome/applet/main.c
13188                 - (main): in a variation on Robert's patch, change
13189                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13190                         he wants.
13191
13192 2006-02-02  Robert Love  <rml@novell.com>
13193
13194         * src/Makefile.am: If we aren't going to create the run directory at,
13195           uh, run-time, create it during install.  Then users just doing
13196           'make install' are cool, too.  While we are here, create the
13197           dispatcher.d directory, too.
13198         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13199           the exact run directory.
13200         * Makefile.am: Install nm-applet.desktop.
13201
13202 2006-02-02  Robert Love  <rml@novell.com>
13203
13204         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13205           structure, which denotes whether or not the AP is hidden.  This is a
13206           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13207           can show up in the scan list.  Add nm_ap_get_broadcast() and
13208           nm_ap_set_broadcast() accessor interfaces.
13209         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13210           nm_ap_set_broadcast().
13211         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13212           "getProperties" method, which denotes whether or not the given
13213           network is hidden.
13214         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13215           an artificial network.  Set broadcast to TRUE when scanning returns
13216           an ESSID and FALSE when not.
13217         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13218           from "getProperties" method on a network.  Possible TODO is to
13219           somehow display this.
13220         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13221
13222 2006-02-02  Dan Williams  <dcbw@redhat.com>
13223
13224         * src/nm-device-802-11-wireless.c
13225                 - (supplicant_interface_init): don't try to create
13226                         /var/run/NetworkManager, since that should be done by
13227                         the distro package.  Causes problems for stuff like SELinux
13228
13229 2006-02-02  Robert Love  <rml@novell.com>
13230
13231         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13232         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13233           Check for and handle empty string for iface.
13234
13235 2006-02-01  Robert Love  <rml@novell.com>
13236
13237         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13238           manpage.
13239
13240 2006-01-31  Dan Williams  <dcbw@redhat.com>
13241
13242         * nm-applet.desktop
13243                 - Add --sm-disable to Exec arguments, presuming that when
13244                         using autostart, we don't want session management
13245
13246 2006-01-31  Robert Love  <rml@novell.com>
13247
13248         * src/NetworkManagerAP.c: Add two new manufacturer default network
13249           names: linksys-a and linksys-g.  These are found (at least) on the
13250           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13251           own ESSID.
13252
13253 2006-01-31  Robert Love  <rml@novell.com>
13254
13255         * src/NetworkManagerAP.c: Optimize the function
13256           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13257           machine code.  This is the first in a series of code tweaks aiming to
13258           generate better machine code and make NetworkManager all the better.
13259           Just kidding.  Who has time to go through the assembly generated for
13260           every function?  I certainly don't.  I have a wife, a kid, a job,
13261           a mortgage, a mistress.  But this function was so bad, I was called
13262           to arms.  Like the book.
13263
13264 2006-01-31  Robert Love  <rml@novell.com>
13265
13266         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13267           AP is not broadcasting, to scan with probe request frames.  Required
13268           for non-broadcast networks.
13269
13270 2006-01-31  Robert Love  <rml@novell.com>
13271
13272         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13273           preprocessor define (still 20s).  Fix message text in nm_info()
13274           s/too too/took too/.
13275
13276 2006-01-30  Dan Williams  <dcbw@redhat.com>
13277
13278         * src/nm-device-802-11-wireless.c
13279                 - (supplicant_monitor_start): increase connect/auth timeout to
13280                         20 seconds from 10 seconds
13281
13282 2006-01-30  Dan Williams  <dcbw@redhat.com>
13283
13284         * src/Makefile.am
13285                 - Define LOCALSTATEDIR
13286
13287         * src/nm-device-802-11-wireless.c
13288                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13289                         socket where we want it to
13290
13291         * src/wpa_ctrl.[ch]
13292                 - (wpa_ctrl_open): accept location to put local control socket
13293
13294 2006-01-30  Robert Love  <rml@novell.com>
13295
13296         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13297           get_ip4_string() for "domain_name".
13298
13299 2006-01-30  Robert Love  <rml@novell.com>
13300
13301         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13302           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13303           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13304           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13305           support for "Automatic" pairwise and group cipher configuration by
13306           letting wpa_supplicant handle the details.  Add UI elements, new
13307           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13308           charm.  Note this does more than add a nice feature, it fixes a bug.
13309           Apparently, some people have AP's where the pairwise cipher does not
13310           match the group cipher.  Insane, but true.
13311
13312 2006-01-30  Dan Williams  <dcbw@redhat.com>
13313
13314         * gnome/applet/applet-dbus-devices.c
13315                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13316                         functions, grab device driver name from NetworkManager
13317                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13318
13319         * gnome/applet/applet.c
13320                 - (nmwa_update_info): show driver name in Connection Information
13321                         dialog
13322
13323         * gnome/applet/nm-device.[ch]
13324                 - (network_device_get_driver, network_device_set_driver): add
13325                         accessors for driver name
13326
13327         * gnome/applet/wireless-applet.glade
13328                 - Add line for driver name to Connection Information dialog
13329
13330         * src/nm-dbus-device.c
13331                 - (nm_dbus_device_get_driver): new function to return driver name
13332                 - (nm_dbus_device_methods): hook up driver name function to dbus
13333
13334         * test/nm-tool.c
13335                 - (get_driver_name): new function
13336                 - (detail_device): grab and show driver name
13337
13338 2006-01-30  Robert Love  <rml@novell.com>
13339
13340         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13341           does not parse the markup if it is not part of the format.
13342
13343 2006-01-30  Robert Love  <rml@novell.com>
13344
13345         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13346           FALSE, we have no security options for this dialog, so we throw up
13347           an error dialog instead of a broken passphrase dialog.  Fixes
13348           Novell #138404.
13349         * gnome/applet/wireless-security-manager.c,
13350           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13351           does not add any security options, not even NONE, print a warning
13352           and return FALSE.  This let's functions constructing a dialog bail
13353           out if the device's capabilities and the network's requirements have
13354           zero overlap.
13355
13356 2006-01-27  Robert Love  <rml@novell.com>
13357
13358         * configure.in: Require wpa_supplicant.  Detect location of binary and
13359           use it.  Override with "--with-wpa_supplicant=foo".
13360         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13361           path to wpa_supplicant but use the auto-detected or user-provided
13362           value from configure.
13363
13364 2006-01-27  Robert Love  <rml@novell.com>
13365
13366         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13367           but the DHCP server did not return a hostname, try to look up our
13368           name via DNS and set the system hostname to that.
13369
13370 2006-01-27  Dan Williams  <dcbw@redhat.com>
13371
13372         * src/backends/NetworkManagerRedHat.c
13373                 - Add NM_CONTROLLED system network script support for RH/Fedora
13374
13375 2006-01-27  Dan Williams  <dcbw@redhat.com>
13376
13377         * src/backends/NetworkManagerGentoo.c
13378                 - (nm_system_device_get_disabled): add missing function.
13379                         Gnome BZ #328780
13380
13381 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13382
13383         * configure.in: Added vi in ALL_LINGUAS line.
13384         
13385 2006-01-26  Robert Love  <rml@novell.com>
13386
13387         * src/Makefile.am, src/kernel-types.h: Now that two different source
13388           files are feeling the crack-addled leakage of kernel types such as
13389           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13390           types in user-space -- define a header and include it as needed.
13391         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13392         * src/nm-device-802-3-ethernet.h: Remove defines.
13393         * src/wpa.c: Remove defines and include kernel-types.h.
13394
13395 2006-01-26  Robert Love  <rml@novell.com>
13396
13397         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13398           work.
13399
13400 2006-01-26  Robert Love  <rml@novell.com>
13401
13402         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13403         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13404           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13405           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13406           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13407           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13408           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13409           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13410           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13411           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13412           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13413           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13414           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13415           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13416           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13417           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13418           Kill unused variables, labels, and static functions.  Don't pass
13419           string literals as the format string for printf-like functions.
13420
13421 2006-01-25  Dan Williams  <dcbw@redhat.com>
13422
13423         * gnome/applet/wireless-applet.glade
13424                 - Remove WPA2 Checkbox
13425
13426         * gnome/applet/wireless-security-manager.c
13427                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13428                         This means the Wireless Security menu now has two WPA options,
13429                         one for "WPA Personal" and one for "WPA2 Personal"
13430
13431         * gnome/applet/wso-wpa-psk.[ch]
13432                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13433                         'wpa2' argument to determine WPA version to use
13434                 - (append_dbus_params_func): pass stored WPA version to cipher
13435                         rather than using the (removed) checkbox
13436
13437 2006-01-24  Robert Love  <rml@novell.com>
13438
13439         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13440           before we g_strdup(), not the ultimate string.
13441
13442 2006-01-23  Dan Williams  <dcbw@redhat.com>
13443
13444         * src/NetworkManagerAP.[ch]
13445                 - (nm_ap_new_from_ap): copy original essid too
13446                 - (nm_ap_unref): free original essid
13447                 - (nm_ap_get_orig_essid): new function
13448                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13449                         but keep original essid around too
13450
13451         * src/nm-device-802-11-wireless.c
13452                 - (supplicant_send_network_config): send wpa_supplicant the
13453                         _original_ essid, and not as a string, but in hex.  Should
13454                         allow us to connect to more APs that use wierd character
13455                         encodings for their essids
13456
13457         * utils/nm-utils.[ch]
13458                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13459                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13460                         use the current locale as a hint for what encoding the essid
13461                         might be in.  Obviously not 100% accurate, but the idea here is
13462                         that if a user's locale is ex. ja_JP, they are more likely than
13463                         not to be in Japan, where access points will likely be in some
13464                         Japanese encoding.
13465
13466 2006-01-23  Dan Williams  <dcbw@redhat.com>
13467
13468         * libnm-util/cipher-private.h
13469           libnm-util/cipher.c
13470           libnm-util/cipher.h
13471                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13472
13473 2006-01-23  Robert Love  <rml@novell.com>
13474
13475         Patch by Timo Hoenig <thoenig@suse.de>:
13476         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13477           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13478           by DHCP and pass it to the backends, allowing distribution-specific
13479           behavior with respect to the DHCP-supplied hostname (if nothing else,
13480           some distributions might not want to set the hostname).
13481         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13482           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13483           Also update our NIS behavior.
13484         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13485           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13486           Add stub functions.
13487
13488 2006-01-23  Robert Love  <rml@novell.com>
13489
13490         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13491           gnome-session does autostart.  TODO: We need to install this to
13492           $prefix/share/autostart/.
13493
13494 2006-01-22  Dan Williams  <dcbw@redhat.com>
13495
13496         * src/NetworkManagerAP.[ch]
13497           src/nm-dbus-nmi.c
13498           src/nm-device-802-11-wireless.c         
13499                 - Make nm_ap_get_essid return "const char *"
13500
13501 2006-01-22  Dan Williams  <dcbw@redhat.com>
13502
13503         * src/NetworkManagerAP.[ch]
13504                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13505
13506         * src/NetworkManagerAPList.[ch]
13507                 - (nm_ap_list_diff): removed
13508                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13509                         deal with access points changing essids on us
13510
13511         * src/nm-device-802-11-wireless.c
13512                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13513                         src/NetworkManagerAPList.c
13514                 - (real_can_interrupt_activation): new function; allow interruption
13515                         of device activation if we are waiting for a network key
13516
13517         * src/NetworkManagerPolicy.c
13518                 - (nm_policy_device_change_check): allow interruption of currently
13519                         activating devices if the device allows it.  Previous behavior
13520                         would refuse to activate a just-plugged wired device if a
13521                         wireless device was waiting for a key.
13522
13523         * src/nm-device.[ch]
13524                 - (nm_device_can_interrupt_activation): new function; ask devices
13525                         whether their activation can be interrupted
13526
13527 2006-01-20  Robert Love  <rml@novell.com>
13528
13529         * Makefile.am, configure.in: Add new man subdirectory.
13530         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13531           man/Makefile.am: Add man pages for NetworkManager and its
13532           crime-solving bumbling buddy, NetworkManagerDispatcher.
13533         * man/.cvsignore: Add.
13534         * initscript/Debian/NetworkManager,
13535           initscript/Gentoo/NetworkManager.in,
13536           initscript/RedHat/NetworkManager.in,
13537           initscript/RedHat/NetworkManagerDispatcher.in,
13538           initscript/SUSE/networkmanager-dispatcher.in,
13539           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13540
13541 2006-01-20  Robert Love  <rml@novell.com>
13542
13543         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13544           instead of queuing.  This prevents the running of multiple NM
13545           daemons concurrently, which does not work whatsoever and results in
13546           neither daemon working correctly.  Also, we don't handle queuing and
13547           name-owner-changes, anyhow.
13548
13549 2006-01-20  Robert Love  <rml@novell.com>
13550
13551         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13552         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13553           to sbin, not bin.
13554
13555 2006-01-19  Robert Love  <rml@novell.com>
13556
13557         * configure.in: Require hal 0.5.0 or later.
13558
13559 2006-01-18  Robert Love  <rml@novell.com>
13560
13561         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13562           Allow backends to flag a device (in whatever distro-dependent way
13563           they so desire) as disabled.  NM will ignore any such device.
13564         * src/backends/NetworkManagerDebian.c,
13565           src/backends/NetworkManagerRedHat.c,
13566           src/backends/NetworkManagerSlackware.c: Add stub function
13567           nm_system_device_get_disabled() that always returns FALSE (enabled).
13568         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13569           SUSE-specific configuration structure.  Fill it in from the
13570           NM_CONTROLLED variable in the system networking scripts.  If this var
13571           exists and is "no", we ignore the device.
13572
13573 2006-01-17  Robert Love  <rml@novell.com>
13574
13575         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13576           identical for NM.  For a full discussion, see the thread at
13577           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13578
13579 2006-01-17  Dan Williams  <dcbw@redhat.com>
13580
13581         * src/nm-device.c
13582                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13583                         function.  Fixes crash when wired DHCP fails.
13584
13585 2006-01-16  Robert Love  <rml@novell.com>
13586
13587         * src/Makefile.am: Don't install NMLoadModules
13588         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13589           from src/ to test/ as no one uses it anymore.  Note that I would be
13590           fine with removing it altogether.
13591
13592 2006-01-16  Robert Love  <rml@novell.com>
13593
13594         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13595           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13596           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13597           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13598           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13599           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13600           declarations, ever.
13601         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13602           NM_STATE_DISCONNECTED is zero).
13603
13604 2006-01-16  Robert Love  <rml@novell.com>
13605
13606         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13607           uninitialized parameter and buffer overflow.  Novell #143496.
13608
13609 2006-01-16  Dan Williams  <dcbw@redhat.com>
13610
13611         Apply the PtP Address bits of a patch from Tim Niemueller
13612
13613         * src/nm-ip4-config.[ch]
13614                 - Add ip4_ptp_address member to object
13615                 - (nm_ip4_config_copy): copy ptp address too
13616                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13617                         new functions
13618                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13619                         rather than local tunnel ip address
13620
13621         * src/vpn-manager/nm-vpn-service.c
13622                 - (print_vpn_config): update for PtP address
13623                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13624                         DBusMessageIters in preparation for getting routes from the VPN
13625                         service daemons too
13626
13627         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13628                 - (send_config_info): update for PtP address, clean up code
13629                 - (main): update for PtP address, clean up code, fix typo
13630
13631         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13632                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13633
13634         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13635                 - (pptp_ip_up): update for PtP address
13636
13637         * vpn-daemons/pptp/src/nm-pptp-service.c
13638                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13639
13640         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13641                 - (print_vpn_config): update for PtP address
13642                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13643
13644 2006-01-16  Dan Williams  <dcbw@redhat.com>
13645
13646         * gnome/applet/applet.c
13647                 - (nmwa_add_networks_helper): don't indicate an active network
13648                         if NM is disconnected or asleep
13649
13650 2006-01-16  Dan Williams  <dcbw@redhat.com>
13651
13652         * src/NetworkManagerPolicy.c
13653                 - (nm_policy_device_change_check): switch devices if we lose the link
13654                         on an ethernet device. 
13655
13656 2006-01-16  Dan Williams  <dcbw@redhat.com>
13657
13658         * gnome/applet/wso-wpa-psk-hex.[ch]
13659                 - Renamed -> wso-wpa-psk.[ch]
13660
13661         * gnome/applet/wso-wpa-psk.[ch]
13662                 - New files
13663
13664         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13665                 - Removed, rolled into wso-wpa-psk.[ch]
13666
13667         * gnome/applet/Makefile.am
13668                 - Updated for above changes
13669
13670         * gnome/applet/wireless-applet.glade
13671                 - Consolidate WPA-PSK options into one notebook
13672                         widget, and make dialogs invisible by default
13673                         to fix screen oddities
13674
13675         * gnome/applet/wireless-security-manager.c
13676                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13677                         than both the old hex & passphrase ones
13678
13679 2006-01-16  Dan Williams  <dcbw@redhat.com>
13680
13681         * gnome/applet/other-network-dialog.c
13682                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13683
13684 2006-01-16  Dan Williams  <dcbw@redhat.com>
13685
13686         * gnome/applet/applet.c
13687                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13688                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13689                         prevention to realize window before trying to get server
13690                         time
13691
13692         * gnome/applet/other-network-dialog.c
13693                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13694                         prevention to realize window before trying to get server
13695                         time
13696
13697         * gnome/applet/passphrase-dialog.c
13698                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13699                         prevention to realize window before trying to get server
13700                         time
13701
13702 2006-01-16  Robert Love  <rml@novell.com>
13703
13704         Patch from Timo Hoenig  <thoenig@suse.de:
13705         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13706           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13707           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13708           libnm-util/dbus-helpers.h: add checks whether headers are used
13709           within a C++ build.
13710
13711 2006-01-16  Dan Williams  <dcbw@redhat.com>
13712
13713         * gnome/applet/wireless-security-option.c
13714                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13715
13716 2006-01-16  Dan Williams  <dcbw@redhat.com>
13717
13718         * libnm-util/cipher-wpa-psk-passphrase.c
13719                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13720                         be 8 - 63 characters inclusive
13721
13722 2006-01-16  Dan Williams  <dcbw@redhat.com>
13723
13724         * src/nm-dbus-nm.c
13725                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13726
13727 2006-01-13  Robert Love  <rml@novell.com>
13728
13729         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13730         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13731           modules that do not use an interface.
13732
13733 2006-01-13  Dan Williams  <dcbw@redhat.com>
13734
13735         * src/nm-device.c
13736           src/nm-device.h
13737                 - Allow subclasses to implement deactivate_quickly()
13738                 - (nm_device_deactivate_quickly): call subclass
13739                         deactivate_quickly() methods
13740                 - (nm_device_set_active_link): small cleanups, and don't
13741                         deactivate the device right away because we risk a deadlock
13742                         when called from device thread, waiting for the device
13743                         thread to cancel activation
13744
13745         * src/nm-device-802-11-wireless.c
13746                 - (real_deactivate_quickly): new function
13747                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13748                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13749                         so that we kill the supplicant when we sleep too
13750                 - (supplicant_interface_init): work around naive naming attempts of
13751                         wpa_ctrl when naming sockets
13752
13753 2006-01-13  Dan Williams  <dcbw@redhat.com>
13754
13755         * src/nm-device-802-11-wireless.c
13756                 - (supplicant_cleanup): delete old device control sockets too
13757                 - (supplicant_get_device_socket_path): new function to consolidate
13758                         locations that need a path to a device's control socket
13759
13760 2006-01-12  Robert Love  <rml@novell.com>
13761
13762         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13763           description so that the description is unique for each
13764           pair (device,provider).  Fixes Novell #142773.
13765
13766 2006-01-12  Dan Williams  <dcbw@redhat.com>
13767
13768         * src/nm-device-802-11-wireless.c
13769                 - (supplicant_exec): ensure GError is correctly initialized
13770                         Reported by Diego González (gnome.org #326708)
13771
13772 2006-01-11  Robert Love  <rml@novell.com>
13773
13774         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13775           define if_mii(), open code the same results, and do so without any
13776           type punning.
13777
13778 2006-01-11  Robert Love  <rml@novell.com>
13779
13780         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13781           that wso_foo_new() returned non-NULL.  Instead, only append the new
13782           wso to wsm->options if the wso is non-NULL.  The crux is that we
13783           assume that the relevant key types are implied by WEP and WPA as
13784           appropriate.  To be sure, they should be, but we should not expect
13785           drivers to not be oozing piles of wolf fecal matter.
13786
13787 2006-01-11  Robert Love  <rml@novell.com>
13788
13789         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13790         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13791           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13792           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13793           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13794           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13795           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13796         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13797           comparing values within DBL_EPSILON.  Also fix shadowed variable
13798           usage.
13799
13800 2006-01-11  Dan Williams  <dcbw@redhat.com>
13801
13802         Add options for WPA2 and WPA1+CCMP (AES).
13803
13804         * gnome/applet/wireless-applet.glade
13805                 - Add UI bits for WPA+CCMP
13806
13807         * gnome/applet/other-network-dialog.c
13808                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13809                         and don't allow creation of WPA2 Ad-Hoc networks since
13810                         wpa_supplicant doesn't support them
13811
13812         * gnome/applet/wireless-security-manager.c
13813                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13814                         on to the specific wireless security option being created
13815
13816         * gnome/applet/wireless-security-option.[ch]
13817                 - (wso_wpa_create_key_type_model): new utility function to create
13818                         the model required for WPA Key Type combo box
13819
13820         * gnome/applet/wso-private.h
13821           gnome/applet/wireless-security-option.h
13822                 - Move private function prototypes into wso-private.h
13823
13824         * gnome/applet/wso-wpa-psk-hex.[ch]
13825           gnome/applet/wso-wpa-psk-passphrase.[ch]
13826                 - (append_dbus_params_func): get WPA version from checkbox and pass
13827                         it to the dbus serialization helper
13828                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13829                         key type combo changes
13830                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13831                         model and options
13832
13833         * libnm-util/cipher-wpa-psk-hex.c
13834           libnm-util/cipher-wpa-psk-passphrase.c
13835                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13836                         new function; allow the cipher to be changed after object creation
13837
13838         * src/nm-ap-security-wpa-psk.c
13839                 - (set_description): Do WPA2 descriptions too
13840
13841         * src/nm-ap-security.c
13842                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13843
13844 2006-01-11  Robert Love  <rml@novell.com>
13845
13846         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13847           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13848           from the ifreq structure in lieu of an open coded solution.  Removes
13849           a life-threatening type-punning.
13850         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13851           types, ever, whatsoever, baby.
13852
13853 2006-01-11  Robert Love  <rml@novell.com>
13854
13855         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13856           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13857           assignments to applet->nm_state into a new nmwa_set_state() function
13858           for both cleanliness and to help debugging.
13859
13860 2006-01-10  Robert Love  <rml@novell.com>
13861
13862         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13863           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13864           seconds, exclusive.  That is, we want to sleep x seconds such that
13865           1 < x < 2.
13866
13867 2006-01-10  Robert Love  <rml@novell.com>
13868
13869         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13870           the attr fields according to the example in the email available at
13871           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13872           Conversely, we do have to free 'name', so we do so, fixing a leak.
13873
13874 2006-01-10  Robert Love  <rml@novell.com>
13875
13876         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13877           sure that we close the socket!
13878
13879 2006-01-10  Robert Love  <rml@novell.com>
13880
13881         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13882           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13883           src/nm-device.c: Fix a FIXME!  Reimplement the function
13884           nm_device_update_hw_address() in device subclass variants,
13885           nm_device_802_3_ethernet_set_address() and
13886           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13887           This fixes the existing bug where MAC addresses are all zeros.
13888
13889 2006-01-10  Robert Love  <rml@novell.com>
13890
13891         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13892           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13893           option to give users ability to globally disconnect and put NM to
13894           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13895           clean disconnect.
13896
13897 2006-01-09  Robert Love  <rml@novell.com>
13898
13899         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13900           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13901           User-space does not supply these types, so we have to define them
13902           ourselves.  The relevant kernel maintainer refused to accept a patch
13903           switching these headers to the proper C99 types.
13904
13905 2006-01-09  Dan Williams  <dcbw@redhat.com>
13906
13907         Apply Robert's 'tray icon redo' patch with fixes
13908         * gnome/applet/applet.c
13909           gnome/applet/applet.h
13910                 - Instead of using a menu bar + menu item, simulate menu
13911                         behavior using a popup menu.  Highlight the area around
13912                         the icon more like a menu too, by playing with the
13913                         applet's size requisition
13914
13915 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13916         * libnm-util/dbus-helpers.c
13917           libnm-util/dbus-helpers.h
13918                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13919                         to 'exception_namespace' (:namespace is a keyword in
13920                         C++)
13921
13922 2006-01-09  Dan Williams  <dcbw@redhat.com>
13923
13924         * src/NetworkManagerPolicy.c
13925                 - (nm_policy_device_change_check): don't autoswitch away from
13926                         Ad-Hoc networks, since there's really no concept of
13927                         "link"
13928
13929         * src/nm-dbus-nm.c
13930                 - (nm_dbus_nm_create_wireless_network): mark created networks
13931                         as Ad-Hoc networks
13932
13933         * src/nm-device-802-11-wireless.c
13934                 - (real_activation_success_handler): add user-created Ad-Hoc
13935                         networks to the device's scan list
13936
13937 2006-01-08  Dan Williams  <dcbw@redhat.com>
13938
13939         We now require a patch for wpa_supplicant to support Ad-Hoc
13940         networks:
13941           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13942
13943         * src/nm-device-802-11-wireless.c
13944                 - (supplicant_send_network_config): turn off wpa_supplicant's
13945                         scanning.  Fixes Ad-Hoc networks.
13946
13947 2006-01-08  Dan Williams  <dcbw@redhat.com>
13948
13949         * src/nm-ap-security.c
13950           src/nm-ap-security.h
13951                 - Add a user_created argument to the write_supplicant_config
13952                         functions
13953
13954         * src/nm-ap-security-wep.c
13955           src/nm-ap-security-wpa-psk.c
13956           src/nm-device-802-11-wireless.c
13957                 - Make Ad-Hoc mode somewhat work, at least write the
13958                         correct options to wpa_supplicant
13959
13960 2006-01-08  Dan Williams  <dcbw@redhat.com>
13961
13962         * src/nm-device-802-11-wireless.c
13963                 - Remove unused code from the old device activation path
13964
13965 2006-01-08  Dan Williams  <dcbw@redhat.com>
13966
13967         * libnm-util/dbus-helpers.c
13968                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13969                         dbus when key == NULL
13970
13971 2006-01-08  Dan Williams  <dcbw@redhat.com>
13972
13973         * gnome/applet/nm-gconf-wso-wpa-psk.c
13974                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13975                         correct arguments to nmu_security_deserialize_wpa_psk()
13976
13977         * src/nm-ap-security-wpa-psk.c
13978                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13979                         arguments to nmu_security_deserialize_wpa_psk()
13980
13981 2006-01-08  Dan Williams  <dcbw@redhat.com>
13982
13983         * gnome/applet/wso-wpa-psk-hex.c
13984           gnome/applet/wso-wpa-psk-passphrase.c
13985                 - Hook up the append_dbus_params_func() function
13986
13987 2006-01-08  Dan Williams  <dcbw@redhat.com>
13988
13989         * src/nm-device-802-11-wireless.c
13990                 - (get_wireless_capabilities): correctly detect driver WPA
13991                         capabilities
13992
13993 2006-01-08  Dan Williams  <dcbw@redhat.com>
13994
13995         * gnome/applet/Makefile.am
13996           gnome/applet/wso-wpa-psk-hex.c
13997           gnome/applet/wso-wpa-psk-hex.h
13998                 - New files, implement WPA-PSK Hex key input
13999
14000         * gnome/applet/wireless-applet.glade
14001                 - Change existing wpa-psk stuff to wpa-psk-hex
14002                 - Add new widgets for wpa-psk-passphrase
14003
14004         * gnome/applet/wireless-security-manager.c
14005                 - (wsm_set_capabilities): enable WPA options
14006
14007         * gnome/applet/wso-wpa-psk-passphrase.c
14008                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14009                         for WPA-PSK passphrase
14010
14011 2006-01-08  Dan Williams  <dcbw@redhat.com>
14012
14013         * include/NetworkManager.h
14014                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14015                         applet/info-daemons
14016
14017         * gnome/applet/passphrase-dialog.c
14018                 - Use the constant.  Fixes a bug where the arguments to
14019                         dbus_message_new_error() were incorrect
14020
14021         * src/nm-dbus-nmi.c
14022                 - Use the constant
14023
14024 2006-01-07  Dan Williams  <dcbw@redhat.com>
14025
14026         * src/nm-device-802-11-wireless.c
14027                 - Add a link timeout so we allow the supplicant time to
14028                         reassociate if it can, before we deactivate the card
14029                 - Fix up link status and link updating so things work better
14030
14031 2006-01-07  Dan Williams  <dcbw@redhat.com>
14032
14033         * src/nm-device-802-11-wireless.c
14034                 - Switch over to using wpa_supplicant
14035                 - Add a timeout of 10s for association of the supplicant
14036                 - Start the monitor callback of the supplicant
14037
14038 2006-01-07  Dan Williams  <dcbw@redhat.com>
14039
14040         * src/NetworkManagerUtils.c
14041                 - (nm_utils_supplicant_request,
14042                   nm_utils_supplicant_request_with_check):
14043                         pass correct buffer length to wpa_ctrl_request()
14044
14045 2006-01-07  Dan Williams  <dcbw@redhat.com>
14046
14047         * src/nm-device-private.h
14048           src/nm-device.c
14049                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14050                         this function available to subclasses
14051
14052 2006-01-06  Robert Love  <rml@novell.com>
14053
14054         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14055           user plugging in a network cable signals their preference for to
14056           switch, unless the user explicitly selected a wireless network and
14057           therefore signaled their preference for said wireless network over
14058           wired.  In other words, do exactly what makes sense.
14059
14060 2006-01-06  Robert Love  <rml@novell.com>
14061
14062         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14063           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14064           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14065           showing up in my greps.
14066
14067 2006-01-06  Robert Love  <rml@novell.com>
14068
14069         * gnome/applet/applet-dbus-devices.c,
14070           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14071           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14072           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14073           New Network' both failed in the non-encrypted case because we were
14074           not appending the security options to the DBUS message.  And
14075           'Connect to Other' was also failing in the encrypted case because
14076           we were not incrementing to the next DBUS parameter.  All fixed.
14077           Thanks to dcdw for some debugging help.
14078
14079 2006-01-06  Robert Love  <rml@novell.com>
14080
14081         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14082           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14083           hangup code and add per-device hangup.  Tie last commit into the
14084           GNOME applet.  TODO:  Save, understand, and respond to the state of
14085           each dialup device.
14086
14087 2006-01-06  Robert Love  <rml@novell.com>
14088
14089         Patch by Timo Hoenig <thoenig@suse.de>:
14090         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14091           hangup specific dialup devices.
14092         * src/backends/NetworkManagerDebian.c,
14093           src/backends/NetworkManagerGentoo.c,
14094           src/backends/NetworkManagerRedHat.c,
14095           src/backends/NetworkManagerSlackware.c: Add stub backend.
14096         * src/backends/NetworkManagerRedHat.c,
14097           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14098           hangup specific dialup devices.
14099
14100 2006-01-04  Robert Love  <rml@novell.com>
14101
14102         * gnome/applet/applet-dbus-devices.c,
14103           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14104           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14105           connections.
14106
14107 2006-01-04  Dan Williams  <dcbw@redhat.com>
14108
14109         First dump of wpa_supplicant-related code.  It's not hooked up to
14110         anything yet though.  Thanks to Kay Sievers for
14111         wpa_supplicant_wrapper.c, which formed the basis for this work,
14112         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14113
14114         * src/Makefile.am
14115           src/wpa_ctrl.[ch]
14116                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14117
14118         * src/NetworkManagerUtils.[ch]
14119                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14120                         Add convenience functions for talking to wpa_supplicant
14121
14122         * src/nm-ap-security.[ch]
14123           src/nm-ap-security-wep.c
14124           src/nm-ap-security-wpa-psk.[ch]
14125                 - Update and implement real_write_supplicant_config functions
14126                         in all security types
14127                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14128                         nm-ap-security-wpa-psk.c
14129
14130         * src/nm-device-802-11-wireless.c
14131                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14132                    wpa_supplicant_start, wpa_supplicant_interface_init,
14133                    wpa_supplicant_send_network_config): add functions to talk to
14134                         wpa_supplicant and write network config to it
14135
14136 2006-01-04  Robert Love  <rml@novell.com>
14137
14138         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14139           values so that distribution-backends can differentiate between the
14140           various types (modem, ISDN, et cetera) of dialup device that they
14141           support.
14142         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14143           needed.
14144
14145 2006-01-03  Dan Williams  <dcbw@redhat.com>
14146
14147         * src/NetworkManagerPolicy.c
14148           src/nm-device.[ch]
14149           src/nm-device-802-11-wireless.c
14150                 - Move wireless-specific activation failure and success code
14151                         into wireless device class
14152
14153 2006-01-03  Robert Love  <rml@novell.com>
14154
14155         Patch by Preggna S:
14156         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14157           IPsec does not require that a VPN client be bound to an interface,
14158           due to the use of the in-kernel IPSec bits.  So make the tunnel
14159           device optional.
14160
14161 2006-01-03  Dan Williams  <dcbw@redhat.com>
14162
14163         * src/NetworkManagerAP.c
14164                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14165                         the WPA IE specifies that WEP is supported
14166
14167         * src/nm-device-802-11-wireless.c
14168                 - (process_scan_results): don't mark an AP as supporting WEP
14169                         if there's already other encryption capability info
14170
14171 2006-01-03  Dan Williams  <dcbw@redhat.com>
14172
14173         * src/dhcp-manager/nm-dhcp-manager.c
14174                 - Recognize activation cancellation when waiting for DHCP
14175                         configuration from dhcdbd
14176                 - Ignore non-dhcdbd messages
14177
14178         * src/nm-device.c
14179                 - (real_act_stage3_ip_config_start): return to correct behavior
14180                         of letting the dhcp-manager notify us of failure or
14181                         success rather than incorrectly doing that ourselves
14182                 - (nm_device_activate_stage4_ip_config_get): deal with
14183                         activation cancellation a bit earlier
14184
14185 2006-01-03  Dan Williams  <dcbw@redhat.com>
14186
14187         * src/nm-device-802-11-wireless.c
14188           src/nm-device.[ch]
14189                 - Add hooks to subclasses for stage3_ip_config_start and
14190                         stage4_ip_config_timeout
14191
14192         * src/nm-device-802-3-ethernet.c
14193                 - (real_get_generic_capabilities): make devices NM-supported
14194                         by default
14195
14196 2006-01-03  Robert Love  <rml@novell.com>
14197
14198         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14199           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14200           latter cannot differentiate between error and the address -1; misc.
14201           clean up.
14202
14203 2006-01-03  Dan Williams  <dcbw@redhat.com>
14204
14205         * src/NetworkManager.c
14206                 - Move link-checking/probing into the device subclasses
14207                         themselves
14208
14209         * src/nm-device.[ch]
14210           src/nm-device-802-11-wireless.c
14211           src/nm-device-802-3-ethernet.c
14212                 - Do periodic link checking in device subclasses rather
14213                         than being triggered from NetworkManager.c
14214                 - discover_wireless_capabilities -> get_wireless_capabilities
14215                 - discover_generic_capabilities -> get_generic_capabilities
14216                 - Device subclass activation routines now return a value of type
14217                         NMActStageReturn to indicate what step to perform next
14218                 - Devices now override stage4_get_ip4_config if they choose
14219
14220 2006-01-01  Dan Williams  <dcbw@redhat.com>
14221
14222         * src/nm-device-802-11-wireless.c
14223                 - (real_init): don't chain up to parent init because we don't
14224                         need to do that anymore
14225
14226         * src/nm-device.c
14227                 - (discover_device_type): fix arguments to ioctl() to correctly
14228                         pass interface name
14229                 - (nm_device_new): consolidate generic device initialization into
14230                         nm_device_new()
14231                 - (real_init): remove, consolidated to nm_device_new()
14232                 - (nm_device_deactivate, real_deactivate): consolidate
14233
14234 2006-01-01  Dan Williams  <dcbw@redhat.com>
14235
14236         * src/nm-activation-request.c
14237                 - Change dhcp_state member of the NMActRequest structure
14238                         from guint8 to guint32
14239
14240         * src/dhcp-manager/nm-dhcp-manager.[ch]
14241                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14242                         than guint8 to match the dbus argument.  Turns out we were
14243                         overwriting memory since we were passing in only a guint8
14244
14245 2005-12-31  Dan Williams  <dcbw@redhat.com>
14246
14247         * refactor NMDevice into a GObject-based framework with separate
14248                 objects for wired and wireless.  The following files are no
14249                 longer used but should stick around for a bit so we don't
14250                 loose code through the cracks:
14251                         NetworkManagerDevice.c
14252                         NetworkManagerDevice.h
14253                         NetworkManagerWireless.c
14254                         NetworkManagerWireless.h
14255
14256         The intent here is to allow each device type to manage its own
14257         connection & activation life-cycle, ie to allow wireless devices
14258         to interface with wpa_supplicant, etc.  There's a fair bit of
14259         encapsulation breakage right now that should gradually get pulled
14260         back into each device, along with things like periodic property
14261         updates and link probing.
14262
14263 2005-12-29  Dan Williams  <dcbw@redhat.com>
14264
14265         * include/NetworkManager.h
14266                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14267                         between networks that don't have any encryption at all
14268
14269 2005-12-29  Dan Williams  <dcbw@redhat.com>
14270
14271         * test/test-common.c
14272           test/test-common.h
14273           test/Makefile.am
14274                 - Move to a test-common subdirectory
14275
14276         * test/libnm-util/test-ciphers.c
14277                 - Move test data to test-inputs.h
14278                 - Test WPA ciphers too
14279
14280         * test/libnm-util/test-dbus-helpers.c
14281                 - Test serialization/deserialization of ciphers
14282
14283 2005-12-29  Dan Williams  <dcbw@redhat.com>
14284
14285         * gnome/applet/applet-dbus-devices.c
14286                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14287                         in dbus calls to NM
14288                 - Set capabilities on WirelessNetwork objects
14289                 - Receive and save type-specific device capabilities too
14290
14291         * gnome/applet/applet-dbus-info.c
14292           gnome/applet/applet-dbus.c
14293                 - Passphrase dialog no longer a singleton; new instance gets created
14294                         on each request.  Updates to deal with that.
14295
14296         * gnome/applet/applet.c
14297                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14298                         than single 'encrypted' flag
14299                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14300                         menu items
14301                 - Passphrase dialog updates per above
14302
14303         * gnome/applet/menu-items.c
14304                 - (network_menu_item_update): use AP capabilities to determine
14305                         encryption
14306
14307         * gnome/applet/nm-device.[ch]
14308                 - Add accessors for type-specific device capabilities
14309
14310         * gnome/applet/other-network-dialog.c
14311                 - Rework to respect device capabilities.  i.e., if the device doesn't
14312                         support WPA, remove that option from the security dropdown
14313
14314         * gnome/applet/passphrase-dialog.c
14315                 - Massive rework so that a new instance is created each time
14316                         it's used, to support wireless network capabilities
14317
14318         * gnome/applet/wireless-network.[ch]
14319                 - Add accessors and members for wireless network capabilities
14320
14321         * gnome/applet/wireless-security-manager.[ch]
14322                 - (wsm_set_capabilities): called after creation to set which
14323                         security options get shown to the user
14324
14325 2005-12-29  Dan Williams  <dcbw@redhat.com>
14326
14327         * libnm-util/cipher-wpa-psk-passphrase.c
14328                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14329                         like other ciphers
14330
14331 2005-12-23  Dan Williams  <dcbw@redhat.com>
14332
14333         * gnome/applet/applet-dbus-info.c
14334                 - (nmi_dbus_get_key_for_network): if there's no entry in
14335                         GConf for a network, assume we want a new key
14336                 - (nmi_save_network_info): serialize wireless security info
14337                         into GConf so its saved
14338
14339         * src/nm-dbus-nm.c
14340                 - Fix warning as we may not be passed security info when
14341                         connecting to a wireless network
14342
14343 2005-12-23  Dan Williams  <dcbw@redhat.com>
14344
14345         * gnome/applet/applet-compat.c
14346                 - Fix bugs in GConf entry conversion
14347
14348         * gnome/applet/applet-dbus-info.c
14349                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14350                         list being zero-length
14351
14352         * libnm-util/cipher-*
14353           libnm-util/dbus-helpers.c
14354                 - All ciphers must now return hashed keys as UTF-8 valid
14355                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14356                         through dbus as strings too.
14357                 - Consolidate various functions that do bin->hex and hex->bin
14358                         conversion into cipher.c
14359
14360         * src/nm-ap-security-wep.c
14361           src/nm-ap-security-wpa-psk.c
14362                 - Handle NULL keys since we may not know keys right away
14363
14364         * src/nm-dbus-nmi.c
14365                 - (nm_dbus_get_network_data_cb): actually advance to the start
14366                         of the wireless security info before we try to deserialize it
14367
14368         * libnm-util/test-ciphers.c
14369                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14370
14371 2005-12-22  Dan Williams  <dcbw@redhat.com>
14372
14373         * gnome/applet/applet-compat.[ch]
14374                 - Convert old-format GConf and keyring entries
14375                         when the applet starts up.
14376
14377         * gnome/applet/applet.c
14378                 - (nmwa_get_instance): Call the conversion function
14379                         on startup before dbus is initialized
14380
14381 2005-12-22  Dan Williams  <dcbw@redhat.com>
14382
14383         * gnome/applet/applet-dbus-info.c
14384                 - Remove nmi_dbus_create_error_message() in favor of
14385                         nmu_create_dbus_error_message()
14386                 - (nmi_dbus_get_network_properties): Error message cleanups
14387                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14388                         gconf key rather than 'addresses', since they really are BSSIDs
14389                 - (nmi_dbus_get_network_properties): Dispose of the security
14390                         object when we're done with it
14391
14392 2005-12-21  Dan Williams  <dcbw@redhat.com>
14393
14394         * Consolidate the info-daemon's "updateNetworkInfo" and
14395                 "addNetworkAddress" calls into just "updateNetworkInfo"
14396
14397 2005-12-21  Dan Williams  <dcbw@redhat.com>
14398
14399         * Make connection after key retrieval work again
14400
14401 2005-12-21  Dan Williams  <dcbw@redhat.com>
14402
14403         * gnome/applet/nm-gconf-wso*
14404                 - Make the serialize functions return gboolean
14405                         rather than int
14406
14407         * gnome/applet/nm-gconf-wso.c
14408                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14409                         parent class handling so we don't segfault
14410
14411         * src/NetworkManagerAP.[ch]
14412                 - (nm_ap_get_capabilities): new function, return capabilities
14413                         now that something can use them
14414                 - (nm_ap_set_encrypted): assume that an access point supports
14415                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14416                         we even tell whether it just supports WEP40?
14417
14418         * src/NetworkManagerDevice.c
14419                 - (ap_need_key): resurrect and update for the New World Order
14420                 - (nm_device_wireless_get_activation_ap): if we're not given
14421                         security info to use, create some based on access point
14422                         capabilities
14423
14424         * src/nm-ap-security-wep.c
14425                 - (nm_ap_security_wep_new_from_ap): create a new object
14426                         based on a certain access point's capabilities
14427
14428         * src/nm-ap-security.c
14429                 - (nm_ap_security_new_from_ap): delegate creation of a new
14430                         object based on access point capabilities to a subclass
14431                 - (nm_ap_security_copy_properties): don't segfault if we
14432                         don't have a key yet
14433
14434         * src/nm-dbus-nm.c
14435                 - (nm_dbus_nm_set_active_device): provide more informative
14436                         output when errors occur.  Also construct security info
14437                         for a given access point if we weren't given any
14438
14439 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14440
14441         * configure.in: Added Lithuanian to ALL_LINGUAS.
14442
14443 2005-12-21  Dan Williams  <dcbw@redhat.com>
14444
14445         * test/libnm-util
14446                 - Add some testcases for WEP ciphers
14447
14448 2005-12-17  Dan Williams  <dcbw@redhat.com>
14449
14450         * Fix bugs
14451
14452 2005-12-17  Dan Williams  <dcbw@redhat.com>
14453
14454         * include/NetworkManager.h
14455                 - Finally kill NMEncKeyType
14456
14457         * gnome/applet/applet-dbus-info.c
14458                 - (nmi_save_network_info): convert to NMGConfWSO
14459
14460         * gnome/applet/nm-gconf-wso-*.c
14461                 - Implement gconf serialization functions
14462
14463         * src/NetworkManagerPolicy.c
14464                 - (nm_policy_activation_finish): fix up meaning of
14465                         automatic/user_requested
14466
14467 2005-12-17  Dan Williams  <dcbw@redhat.com>
14468
14469         * gnome/applet/*
14470                 - More applet cleanups
14471                 - Use the dbus-method-dispatcher
14472
14473         * libnm-util/dbus-method-dispatcher.[ch]
14474                 - Generalize the implementation from NM in
14475                         NetworkManagerUtils.c
14476
14477 2005-12-16  Dan Williams  <dcbw@redhat.com>
14478
14479         * gnome/applet/*
14480                 - Fix up the passphrase dialog to use all the
14481                         WirelessSecurityOption stuff (untested)
14482
14483 2005-12-16  Dan Williams  <dcbw@redhat.com>
14484
14485         * Move nm_gconf_get_*_helper() functions to separate files,
14486                 gconf-helpers.c & gconf-helpers.h
14487
14488         * New NMGConfWSO objects for managing the gconf side of things.
14489                 Eventually these should be merged with the
14490                 WirelessSecurityOption objects and a common base (that can
14491                 serialize/deserialize from dbus & gconf) should be
14492                 refactored out, but for now they are separate.
14493
14494 2005-12-16  Robert Love  <rml@novell.com>
14495
14496         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14497           binaries unless they exist (nm_spawn_process() emits a warning if
14498           asked to spawn a non-existant process).
14499
14500 2005-12-16  Dan Williams  <dcbw@redhat.com>
14501
14502         * gnome/applet/applet-dbus-info.c
14503                 - Clean up lots of gconf-related code
14504
14505 2005-12-16  Robert Love  <rml@novell.com>
14506
14507         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14508
14509 2005-12-16  Dan Williams  <dcbw@redhat.com>
14510
14511         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14512
14513         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14514                 bits still to be done)
14515
14516 2005-12-16  Dan Williams  <dcbw@redhat.com>
14517
14518         * Finally move info-daemon related stuff out of
14519                 NetworkManagerDbus.c to nm-dbus-nmi.c
14520
14521 2005-12-16  Dan Williams  <dcbw@redhat.com>
14522
14523         * Kill auth_method for access points, since that's now done
14524                 by NMAPSecurity objects
14525
14526         * Add a copy-constructor of sorts to NMAPSecurity
14527                 (how do you do this properly in glib???)
14528
14529 2005-12-15  Dan Williams  <dcbw@redhat.com>
14530
14531         * Exorcise encryption key hashing on APs
14532         * Use libnm-util's serialization/deserialization in both the
14533                 applet and NM
14534         * Random other stuff
14535
14536 2005-12-15  Robert Love  <rml@novell.com>
14537
14538         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14539           is being added to the icon naming spec, so let's use that (Tango CVS
14540           has the icon).  Because it is new, however, we fall back to the
14541           current "gnome-lockscreen" if the new icon is not around, thus
14542           behavior is the same.
14543         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14544           factory junk.
14545
14546 2005-12-15  Robert Love  <rml@novell.com>
14547
14548         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14549           well, help to give.  Couple other misc. bits.
14550
14551 2005-12-15  Dan Williams  <dcbw@redhat.com>
14552
14553         * libnm-util/dbus-helpers.[ch]
14554                 - Make this the one-stop-shop for serializing/deserializing
14555                         AP & connection security settings over dbus.  Both NM
14556                         and applets should use this to ensure consistent dbus
14557                         API going forwared.
14558
14559 2005-12-15  Robert Love  <rml@novell.com>
14560
14561         Patch by Timo Hoenig  <thoenig@suse.de>:
14562         * src/NetworkManagerDbus.c
14563                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14564                         if HAL jumps off the system bus.  Otherwise libdbus
14565                         (dbus_connection_dispatch) will try to run the filter
14566                         function of our libhal context which is already freed.
14567
14568 2005-12-15  Alexander Shopov  <ash@contact.bg>
14569
14570         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14571
14572 2005-12-14  Dan Williams  <dcbw@redhat.com>
14573
14574         * include/NetworkManager.h
14575           src/NetworkManagerWireless.c
14576                 - Rearrange 802.11 wireless-specific capabilities again
14577
14578         * src/Makefile.am
14579                 - Forgot to add wpa.c/wpa.h to the makefiles
14580
14581         * src/NetworkManagerAP.[ch]
14582                 - Implement access point capabilities and parse the
14583                         WPA/RSN IEs into the capability bitfield
14584                 - Switch the "encrypted" attribute to utilize the bitfield
14585                         and capabilities rather than being independent
14586
14587         * src/NetworkManagerDevice.c
14588                 - (nm_device_wireless_get_activation_ap): break it horribly
14589                         until we can push NMAPSecurity objects into access point
14590                         objects and through the activation chain
14591                 - Stuff WPA & RSN IEs into AP capabilities
14592
14593         * src/nm-dbus-nm.c
14594                 - Take a shot at actually making setActiveDevice work
14595
14596         * src/wpa.[ch]
14597                 - Make the API a bit saner
14598
14599 2005-12-14  Dan Williams  <dcbw@redhat.com>
14600
14601         * include/NetworkManager.h
14602                 - Add 802.11-specific capability for 802.1x key
14603                         management
14604
14605         * src/wpa.[ch]
14606                 - Pull in WPA IE and RSN IE parsing code from
14607                         wpa_supplicant so we can determine access point
14608                         capabilities
14609                 - Move WPA-related constants here from NetworkManagerAP.h
14610                         and NetworkManagerDevice.c
14611
14612         * src/NetworkManagerDevice.c
14613           src/NetworkManagerAP.[ch]
14614                 - Use WPA-related constants from wpa.h
14615
14616 2005-12-14  Dan Williams  <dcbw@redhat.com>
14617
14618         * include/NetworkManager.h
14619                 - Update and split 802.11 wireless-specific capabilities from
14620                         generic device capabilities
14621
14622         * src/NetworkManagerDevice.c
14623           src/NetworkManagerDevicePrivate.h
14624                 - (nm_device_wireless_discover_capabilities): Move 802.11
14625                         wireless-specific capability checks to
14626                         NetworkManagerWireless.c
14627                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14628                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14629
14630         * src/NetworkManagerWireless.[ch]
14631                 - (nm_802_11_wireless_discover_capabilities): Check extended
14632                         802.11 wireless-specific capabilities of the driver
14633
14634 2005-12-14  Robert Love  <rml@novell.com>
14635
14636         Patch from Stefan Scheler <sscheler@suse.de>:
14637         * src/NetworkManagerDevice.c: call backend code to activate and
14638           deactivate NIS.
14639         * src/NetworkManagerSystem.h: add new NIS interfaces.
14640         * src/backends/NetworkManagerDebian.c,
14641           src/backends/NetworkManagerGentoo.c,
14642           src/backends/NetworkManagerRedHat.c,
14643           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14644           support.
14645         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14646
14647 2005-12-14  Dan Williams  <dcbw@redhat.com>
14648
14649         * src/nm-ap-security*.[ch]
14650                 - Add AP security abstractions to NetworkManager
14651
14652         * src/nm-dbus-device.c
14653                 - Begin to parse new format dbus messages from the applet
14654                         and construct an AP security object from the message
14655
14656         * libnm-util/dbus-helpers.c
14657                 - Use message iters so we can append the key as a fixed
14658                         array of bytes, which actually works rather than
14659                         using dbus_message_append_args() as we were before
14660
14661 2005-12-14  Dan Williams  <dcbw@redhat.com>
14662
14663         * src/NetworkManagerDbus.c
14664           gnome/applet/applet-dbus.c
14665                 - Fix up dbus service replacement options.  The applet
14666                         should allow replacement, NM itself should not.
14667
14668 2005-12-13  Robert Love  <rml@novell.com>
14669
14670         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14671           Instead, fail silently if config is NULL by not asserting and not
14672           returning FALSE.  Also, make sure we always fclose() the file.
14673
14674 2005-12-13  Robert Love  <rml@novell.com>
14675
14676         Patch by Stefan Scheler <sscheler@suse.de>:
14677         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14678            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14679            via DHCP.  Still need the backends to commit the NIS domain name and
14680            and servers to yp.conf as needed.
14681
14682 2005-12-13  Robert Love  <rml@novell.com>
14683
14684         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14685           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14686
14687 2005-12-13  Robert Love  <rml@novell.com>
14688
14689         * src/named-manager/nm-named-manager.c: Don't unref the config until
14690           after we call rewrite_resolv_conf(), because get_last_default_domain()
14691           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14692           `config != NULL' failed" assertion failures and "Could not commit DNS
14693           changes" warnings.
14694
14695 2005-12-12  Dan Williams  <dcbw@redhat.com>
14696
14697         * libnm-util/dbus-helpers.[ch]
14698           libnm-util/Makefile.am
14699                 - new helper calls to consolidate locations where
14700                         NM's setDevice method is called
14701
14702         * gnome/applet/applet-dbus-devices.c
14703           gnome/applet/wireless-security-option.c
14704           gnome/applet/wso-*
14705                 - Implement dbus message param append function for
14706                         all wireless security options
14707
14708 2005-12-12  Robert Love  <rml@novell.com>
14709
14710         * libnm-util/cipher-wep-passphrase.c,
14711           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14712           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14713           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14714           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14715           When handling keys, we don't care what the sign is.  The compiler
14716           guarantees us that we get our 8-bits, which is all we care about.
14717         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14718
14719 2005-12-12  Dan Williams  <dcbw@redhat.com>
14720
14721         * gnome/applet/applet-dbus-devices.[ch]
14722           gnome/applet/applet.c
14723           gnome/applet/other-network-dialog.c
14724           gnome/applet/wireless-security-manager.[ch]
14725           gnome/applet/wireless-security-option.[ch]
14726           gnome/applet/wso-*
14727                 - Push the wireless security options further into the applet
14728
14729 2005-12-12  Robert Love  <rml@novell.com>
14730
14731         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14732           return any name servers.  That is perfectly valid.  (Novell #134369).
14733
14734 2005-12-11  Dan Williams  <dcbw@redhat.com>
14735
14736         * gnome/applet/wso-*
14737           gnome/applet/wireless-security-option.*
14738           gnome/applet/Makefile.am
14739                 - split each security option out so we can eventually
14740                         have each one build up their own dbus message
14741                         arguments to send to NM
14742
14743 2005-12-11  Dan Williams  <dcbw@redhat.com>
14744
14745         * Make validation of the key work correctly
14746
14747 2005-12-11  Dan Williams  <dcbw@redhat.com>
14748
14749         * Hook more bits of the Other Network Dialog up to the
14750                 wireless security manager stuff, and restructure
14751                 bits of the dialog so there's less code.
14752
14753 2005-12-10  Dan Williams  <dcbw@redhat.com>
14754
14755         * gnome/applet/Makefile.am
14756                 - Add libnm-util to includes
14757                 - Add libnm-util to link list
14758                 - Add wireless-security-common.* to compile list
14759
14760         * gnome/applet/other-network-dialog.c
14761                 - Convert to using the WirelessSecurityManager code and
14762                         widgets
14763
14764         * gnome/applet/passphrase-dialog.c
14765                 - Comment out references to stuff in the glade file that
14766                         cause runtime errors until it can be fixed up
14767                         to use the WirelessSecurityManager code
14768
14769         * gnome/applet/wireless-applet.glade
14770                 - Rename some widgets
14771                 - Add widgets for the WirelessSecurityManager code
14772                 - Remove passphrase-related stuff since that's now
14773                         handled by the WirelessSecurityManager code
14774
14775 2005-12-10  Dan Williams  <dcbw@redhat.com>
14776
14777         * gnome/applet/applet-dbus-devices.c
14778                 - Print out error message details for dbus pending call callbacks
14779                 - Move nmwa_dbus_update_devices() up
14780
14781         * gnome/applet/applet-dbus-vpn.c
14782                 - Print out error message details for dbus pending call callbacks
14783
14784 2005-12-10  Dan Williams  <dcbw@redhat.com>
14785
14786         * libnm-util/*
14787                 - More fixups
14788                 - Remove cipher-manager.* because we don't need it
14789                 - Forgot to add gnome-keyring-md5 files to compile list
14790
14791 2005-12-09  Dan Williams  <dcbw@redhat.com>
14792
14793         * libnm-util/*
14794           configure.in
14795           Makefile.am
14796                 - Add a utility library for clients of NetworkManager.  It's
14797                         only targetted at applets for the moment, and contains
14798                         a generalized 802.11 cipher framework for different
14799                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14800
14801 2005-12-09  Robert Love  <rml@novell.com>
14802
14803         * src/NetworkManagerDevice.c: handle error better in
14804           nm_device_set_mode().
14805
14806 2005-12-08  Robert Love  <rml@novell.com>
14807
14808         * include/NetworkManager.h: add WPA capabilities constants
14809         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14810           or WPA2 and add the capabilities bits as appropriate.
14811
14812 2005-12-08  Robert Love  <rml@novell.com>
14813
14814         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14815           NetworkManagerDispatcher.
14816         * configure.in, initscript/SUSE/.cvsignore,
14817           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14818           initscript.
14819
14820 2005-12-08  Robert Love  <rml@novell.com>
14821
14822         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14823
14824 2005-12-08  Robert Love  <rml@novell.com>
14825
14826         * src/NetworkManagerDevice.c: We want to fall back on and default to
14827           IW_MODE_AUTO, not -1, which is more in line with our previous
14828           behavior.  Otherwise, we try to set the wireless mode to -1 in
14829           nm_device_set_mode().
14830
14831 2005-12-07  Robert Love  <rml@novell.com>
14832
14833         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14834           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14835           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14836           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14837           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14838           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14839           zero.
14840
14841 2005-12-07  Robert Love  <rml@novell.com>
14842
14843         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14844           supplied IP is invalid, fall back to DHCP.
14845
14846 2005-12-07  Dan Williams  <dcbw@redhat.com>
14847
14848         * Convert NETWORK_MODE_* constants to IW_MODE_*
14849         * Make all the get_mode/set_mode functions take and return 'int'
14850         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14851
14852 2005-12-07  Robert Love  <rml@novell.com>
14853
14854         * src/NetworkManagerDevice.c: strncpy() buffer check.
14855         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14856
14857 2005-12-06  Dan Williams  <dcbw@redhat.com>
14858
14859         * gnome/applet/applet-dbus.c
14860                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14861
14862         * gnome/applet/applet-dbus-vpn.c
14863                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14864                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14865                         to TRUE here if stage was ACTIVATED
14866
14867 2005-12-06  Dan Williams  <dcbw@redhat.com>
14868
14869         * Change nm_device_is_* functions to better names:
14870                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14871                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14872
14873 2005-12-06  Dan Williams  <dcbw@redhat.com>
14874
14875         * Change naming of NMDeviceType to something more sensible:
14876                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14877                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14878                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14879
14880 2005-12-06  Dan Williams  <dcbw@redhat.com>
14881
14882         * Move NetworkManager.h -> include/NetworkManager.h
14883         * Split out VPN stuff into include/NetworkManagerVPN.h
14884         * Fix up makefiles to include new location
14885         * Fix up sources to include NetworkManagerVPN.h
14886
14887 2005-12-06  Dan Williams  <dcbw@redhat.com>
14888
14889         Various changes in the applet to move VPN connection "state" -> "stage",
14890         which it actually is.  I'd like to change the signal as well when we
14891         break compat in the near future.
14892
14893 2005-12-06  Dan Williams  <dcbw@redhat.com>
14894
14895         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14896         * initscript/Slackware/rc.networkmanager
14897                 - Cosmetic fix
14898
14899         * src/backends/NetworkManagerSlackware.c
14900                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14901                         interfaces
14902
14903 2005-12-05  Robert Love  <rml@novell.com>
14904
14905         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14906           to free, particularly here as it just barfs.
14907
14908 2005-12-05  Dan Williams  <dcbw@redhat.com>
14909
14910         * gnome/applet/applet-dbus.c
14911                 - Work with dbus 0.6 too
14912
14913 2005-12-03  Dan Williams  <dcbw@redhat.com>
14914
14915         * src/NetworkManagerUtils.[ch]
14916           src/nm-ip4-config.c
14917                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14918                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14919
14920 2005-12-01  Robert Love  <rml@novell.com>
14921
14922         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14923           need a NULL for the '...' parameter, too, to fill the so-called
14924           sentinel.
14925
14926 2005-12-01  Robert Love  <rml@novell.com>
14927
14928         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14929           interface is already gone, so don't call rtnl_link_change() to down
14930           it (which will segfault, anyhow).
14931
14932 2005-11-22  Robert Love  <rml@novell.com>
14933
14934         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14935           gateway is not set, just print a little note.  Configurations without
14936           gateways are valid.
14937
14938 2005-11-22  Robert Love  <rml@novell.com>
14939
14940         * README: update
14941
14942 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14943
14944         * configure.in: Added Finnish translation to ALL_LINGUAS
14945
14946 2005-11-14  Robert Love  <rml@novell.com>
14947
14948         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14949           Niemueller <tim@niemueller.de>.
14950
14951 2005-11-08  Dan Williams  <dcbw@redhat.com>
14952
14953         Patch from Bill Moss <bmoss@clemson.edu>
14954         * src/NetworkManagerDevice.c
14955                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14956                         of nm_policy_schedule_activation_finish() to prevent a
14957                         race condition that causes the link to be dropped
14958
14959 2005-11-08  Dan Williams  <dcbw@redhat.com>
14960
14961         Patch from Bill Moss <bmoss@clemson.edu>
14962         * src/NetworkManagerAPList.c
14963           src/NetworkManagerDevice.c
14964           src/NetworkManagerDbus.c
14965                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14966                         we get more readable ether/mac addresses
14967
14968 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14969
14970         * gnome/applet/main.c: Don't set the restart command.  This fixes
14971         the issue where the restart command was getting copies of all its
14972         arguments for each time the applet was restarted.
14973
14974 2005-11-02  Robert Love  <rml@novell.com>
14975
14976         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14977           if the widget state differs from our saved state.  This ensures we
14978           do not enter an endless loop of death and destruction.  Also, this
14979           guarantees us that we enforce the widget state.
14980
14981 2005-11-02  Robert Love  <rml@novell.com>
14982
14983         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14984         * gnome/applet/applet-dbus-devices.c: invoke the new function
14985           nmwa_enable_wireless_set_active() to ensure that the state of the
14986           'Enable Wireless' checkbox matches the daemon's state.  This is a
14987           concern because the daemon remembers the state.
14988
14989 2005-11-02  Robert Love  <rml@novell.com>
14990
14991         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14992           Enabled", as checkboxes should be actions/commands not positive
14993           statements, otherwise they are confusing in the unselected case.  See
14994           examples in GNOME HIG, Chapter 6.
14995
14996 2005-11-02  Robert Love  <rml@novell.com>
14997
14998         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14999           show a list of wireless networks or the wireless devices or the
15000           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15001           a bad bug: If wireless is disabled and the user picks a wireless
15002           network, NM will switch to the network, only to immediately switch
15003           back, as wireless is disabled.  This also reassures people that NM
15004           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15005
15006 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15007
15008         * gnome/applet/applet.c:
15009         * gnome/applet/applet.h:
15010         Partial backout of Dan's timeout animation patch.
15011         Timeout IDs cannot legally be 0, so revert the code in place to handle
15012         a timeout ID of 0 to denote the timeout isn't running.
15013
15014 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15015
15016         * src/NetworkManagerPolicy.c:
15017         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15018
15019 2005-10-28  Robert Love  <rml@novell.com>
15020
15021         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15022           "Import Saved Configuration..." to make it clear that importing is
15023           not the next step, but an option.  As an aside, a nice TODO would be
15024           to move Importing out of the vpn-specific dialog and into the main
15025           property editor, as Importing goes with Adding, but that will require
15026           some rearchitecting of the VPN stuff I suspect.
15027
15028 2005-10-27  Dan Williams  <dcbw@redhat.com>
15029
15030         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15031         we should replace most of the distro-specific backend code
15032         with libnl stuff.
15033
15034         Get it here:  http://people.suug.ch/~tgr/libnl/
15035
15036         * configure.in
15037           src/Makefile.am
15038                 - Add checks for libnl pkgconfig file
15039                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15040
15041         * src/NetworkManagerSystem.c
15042           src/nm-ip4-config.[ch]
15043                 - Use libnl rather than ioctl() for most things
15044                 - Remove unused functions
15045
15046 2005-10-27  Robert Love  <rml@novell.com>
15047
15048         * src/backends/NetworkManagerSuSE.c: fix warning message text
15049
15050 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15051
15052         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15053
15054 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15055
15056         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15057         project page <http://www.gnome.org/projects/NetworkManager/>
15058
15059 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15060
15061         * gnome/applet.c: Also use translator credits if we don't have
15062         the new GtkAboutDialog (older versions of GTK+)
15063
15064 2005-10-26  Robert Love  <rml@novell.com>
15065
15066         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15067           failure; correct usage text for "--no-daemon"
15068
15069 2005-10-25  Dan Williams  <dcbw@redhat.com>
15070
15071         * src/NetworkManagerDevice.c
15072                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15073                         no scan results
15074                 - (free_process_scan_cb_data): unref the device when freeing results
15075                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15076                         so we don't unref the device underneath ourselves
15077
15078 2005-10-25  Dan Williams  <dcbw@redhat.com>
15079
15080         * Back out 2005-10-24 commit from Tor Krill.  Patch
15081                 causes nameservers never to be removed from named.
15082
15083 2005-10-24  Dan Williams  <dcbw@redhat.com>
15084
15085         Clean up wireless scanning and wireless link probing.
15086
15087         * src/NetworkManagerDevice.c
15088                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15089                         just see if there's an activation request on the device, and check the
15090                         current link against the activation request access point's ESSID.
15091                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15092                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15093                         don't call process_scan_results() on zero-length data
15094                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15095                         15 seconds (from 10)
15096
15097 2005-10-24  Dan Williams  <dcbw@redhat.com>
15098
15099         Cleanup some applet stuff:
15100
15101         - Animation timeouts.  If NM died while the applet was animating,
15102                 the applet would not hide itself.  This is now fixed.
15103
15104         - Remove some dead code
15105
15106         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15107                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15108
15109         - Track animation timeout using a gboolean rather than the timeout's
15110                 ID, since timeout IDs can legally be 0.
15111
15112 2005-10-24  Dan Williams  <dcbw@redhat.com>
15113
15114         * src/backends/interface_parser.c
15115                 - Add void to function declarations that need it
15116                         to match patch from Engin AYDOGAN
15117
15118         * src/backends/interface_parser.h
15119                 - Remove unused prototype for ifparser_interfaces()
15120
15121         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15122         * src/backends/interface_parser.h:
15123                 - Compile fixes for gcc 4.0.2 (add void)
15124
15125 2005-10-24  Dan Williams  <dcbw@redhat.com>
15126
15127         Patch from Tor Krill <tor@krill.nu>
15128         * src/named-manager/nm-named-manager.c
15129                 - Write more than just the first nameserver to /etc/resolv.conf
15130                 - Write out valid /etc/resolv.conf on exit
15131
15132 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15133
15134         * gnome/applet/applet-dbus-vpn.c:
15135         Get rid of spurious newlines in debug console output
15136
15137 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15138
15139         * src/backends/NetworkManagerGentoo.c:
15140         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15141
15142 2005-10-20  Robert Love  <rml@novell.com>
15143
15144         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15145           direct comparison of floating point values, which is never correct.
15146           Also some misc. cleanup.
15147
15148 2005-10-19  Robert Love  <rml@novell.com>
15149
15150         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15151
15152 2005-10-19  Robert Love  <rml@novell.com>
15153
15154         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15155           sensitivity of the buttons.  Specificaly, do the right thing if
15156           there are no entries.
15157
15158 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15159
15160         * configure.in: Update check for adequate wireless-tools
15161         with an AC_TRY_COMPILE for the new symbols we use.
15162
15163 2005-10-19  Dan Williams  <dcbw@redhat.com>
15164
15165         * src/NetworkManagerDevice.c
15166                 - (process_scan_results): don't drop the last (or only)
15167                         access point we see
15168
15169 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15170
15171         * src/backends/NetworkManagerSlackware.c:
15172         Patch from Nico <lordllucifer@gmail.com>
15173                 - Update the Slackware backend.
15174
15175 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15176
15177         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15178         if we've got GLib 2.8.0
15179
15180 2005-10-18  Robert Love  <rml@novell.com>
15181
15182         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15183           function nm_schedule_state_change_signal_broadcast() when we
15184           deactivate a device, too.
15185
15186 2005-10-18  Robert Love  <rml@novell.com>
15187
15188         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15189           be used uninitialized.
15190
15191 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15192
15193         * test/libnm_glib_test.c: Test unregistering, too.
15194
15195 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15196
15197         * configure.in: Bump to 0.5.0
15198
15199 2005-10-17  Dan Williams  <dcbw@redhat.com>
15200
15201         * NetworkManager.h
15202                 - Remove WPA-related constants so they aren't part of the
15203                         upcoming release.
15204
15205 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15206
15207         * gnome/applet/applet.c:
15208         * gnome/applet/applet.h:
15209         Desensitize the 'Connection Information' menu item when there is
15210         no active connection.
15211
15212 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15213
15214         * gnome/libnm_glib/libnm_glib.c:
15215         Make libnm_glib_unregister_callback () actually unregister the callback
15216
15217 2005-10-17  Robert Love  <rml@novell.com>
15218
15219         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15220           two seconds -- tries is updated every 1/10 of a second, not every
15221           second..
15222
15223 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15224
15225         * gnome/applet/applet-dbus-info.c:
15226         Let D-BUS know that we haven't handled a message when we haven't.
15227
15228 2005-10-17  Robert Love  <rml@novell.com>
15229
15230         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15231           in order to remain 64-bit clean.
15232
15233 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15234
15235         * gnome/applet/applet-dbus-info.c:
15236         Find network encryption keys asynchronously
15237
15238 2005-10-17  Robert Love  <rml@novell.com>
15239
15240         * src/backends/NetworkManagerDebian.c,
15241           src/backends/NetworkManagerRedHat,
15242           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15243           comment delimiter.
15244
15245 2005-10-17  Robert Love  <rml@novell.com>
15246
15247         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15248           "/etc"
15249
15250 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15251
15252         * src/NetworkManagerDevice.c: (process_scan_results)
15253         Fix logic that checks to see whether we have an ESSID.
15254
15255 2005-10-15  Dan Williams  <dcbw@redhat.com>
15256
15257         Move scanning code into NetworkManager rather than use iwlib's
15258         iw_scan() function, so that we can figure out AP capabilities.
15259
15260         * NetworkManager.h
15261                 - Add AP capability bits
15262
15263         * src/NetworkManagerAP.[ch]
15264                 - Add capability field to NMAccessPoint structure
15265                 - Add WPA & RSN Information Element fields and accessor
15266                         functions to NMAccessPoint
15267
15268         * src/NetworkManagerDevice.c
15269                 - Remove usage of iw_scan
15270                 - Add scanning code to NetworkManager rather than use
15271                         iw_scan() from iwlib
15272
15273         * src/NetworkManagerUtils.[ch]
15274                 - (nm_dispose_scan_results): remove, unused
15275
15276 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15277
15278         * gnome/libnm_glib/libnm_glib.c:
15279         * gnome/libnm_glib/libnm_glib.h:
15280         Use guint instead of gint for callback IDs.
15281
15282 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15283
15284         * gnome/applet/applet.c:
15285         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15286         every 1000ms.  It will unconditionally call nmwa_update_state which
15287         kills the existing animation timeout and registers a new one with a
15288         callback to draw a new frame every 100ms.  There are 11 connecting
15289         icon frames, so the last 2 frames kept getting dropped.  Only reset
15290         the animation timeout if we aren't animating.
15291
15292 2005-10-11  Dan Williams  <dcbw@redhat.com>
15293
15294         * gnome/applet/applet-dbus-devices.c
15295                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15296                         We want to grab the product & vendor from net.physical_dev
15297                         rather than info.parent.
15298
15299 2005-10-11  Dan Williams  <dcbw@redhat.com>
15300
15301         * src/NetworkManagerDevice.c
15302                 - Use the driver's WE version for scanning rather than
15303                         the WE version NM was compiled with.  Fixes random
15304                         crashes in iw_scan () in iwlib.
15305
15306 2005-10-10  Dan Williams  <dcbw@redhat.com>
15307
15308         * Remove nm_system_load_device_modules() from backend files
15309                 and from NetworkManager.c
15310
15311 2005-10-10  Dan Williams  <dcbw@redhat.com>
15312
15313         * src/NetworkManagerPolicy.c
15314                 - Fix some bugs introduced by the capabilities patch
15315
15316 2005-10-10  Dan Williams  <dcbw@redhat.com>
15317
15318         * gnome/applet/applet-dbus-info.c
15319                 - (nmi_dbus_get_network_key): hide the menu when putting up
15320                         the keyring dialog.  (not sure if the code is right...)
15321
15322 2005-10-09  Dan Williams  <dcbw@redhat.com>
15323
15324         Patch from Bill Moss <bmoss@clemson.edu>
15325         * src/NetworkManagerDevice.c
15326                 - (nm_device_set_user_key_for_network): don't try to set auth
15327                         mode on the AP from the allowed list if it's NULL
15328
15329 2005-10-09  Dan Williams  <dcbw@redhat.com>
15330
15331         * Replace the "driver support level" stuff with capabilities.  The
15332                 capability field is a bitfield that is more flexible than the
15333                 old driver support level thing.  It's mostly so we can easily
15334                 figure out what supports WPA and what doesn't, but should be
15335                 quite useful later.
15336
15337 2005-10-09  Dan Williams  <dcbw@redhat.com>
15338
15339         * test/nmtest.c
15340                 - Removed
15341
15342         * test/nm-tool.c
15343           test/Makefile.am
15344                 - Added new "nm-tool" tool that gives quite a bit more
15345                         information
15346
15347 2005-10-07  Robert Love  <rml@novell.com>
15348
15349         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15350           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15351           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15352           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15353           appropriate
15354
15355 2005-10-07  Robert Love  <rml@novell.com>
15356
15357         * configure.in: Change our compile flags for the betterment of mankind.
15358           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15359           prototype is very bad on 64-bit platforms as types default to int but
15360           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15361           "-Wmissing-declarations" to warn if we define an exported function
15362           but fail to put it in a header.
15363
15364 2005-10-07  Robert Love  <rml@novell.com>
15365
15366         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15367           by the name nm_update_device_wireless_timeouts() and once tried,
15368           without success, to steal my pet turtle.
15369
15370 2005-10-07  Robert Love  <rml@novell.com>
15371
15372         * Cleanup prototypes: put some functions in header files and mark
15373           others as 'static' -- feel free to invert
15374         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15375           nm_vpn_manager_vpn_connection_list_copy()
15376         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15377           nm_vpn_service_get_dbus_connection()
15378         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15379           nm_vpn_manager_vpn_connection_list_copy()
15380         * src/vpn-manager/nm-vpn-service.c: make
15381           nm_vpn_service_act_request_failed() and
15382           nm_vpn_service_stage2_daemon_wait() static
15383         * src/vpn-manager/nm-vpn-service.h: add prototype for
15384           nm_vpn_service_get_dbus_connection()
15385
15386 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15387
15388         * gnome/applet/applet.c:
15389         * gnome/applet/applet.h:
15390         * gnome/applet/icons/Makefile.am:
15391         Convey information about the current connection stage in the
15392         icons themselves instead of creating a separate progress bar.
15393
15394 2005-10-04  Robert Love  <rml@novell.com>
15395
15396         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15397           convert an ether_addr structure's MAC into a string, because the
15398           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15399           versus 07:3B:04, while the former will not.
15400
15401 2005-10-04  Robert Love  <rml@novell.com>
15402
15403         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15404           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15405           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15406           default route in the 'Connection Information' dialog, send primary
15407           and secondary name servers in in "getProperties" DBUS method, add
15408           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15409           secondary domain name servers are crucial pieces of information
15410           that a user might need in debugging a network problem.
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 default
15418           route in "getProperties" DBUS method, add network_device_set_route(),
15419           and network_device_get_route().  The Gateway is a crucial piece of
15420           connection-related information that a user might need in debugging a
15421           network problem.
15422
15423 2005-10-03  Robert Love  <rml@novell.com>
15424
15425         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15426           NULL.
15427
15428 2005-10-02  Dan Williams  <dcbw@redhat.com>
15429
15430         * Shorten time taken to sleep by fastpathing bits of device deactivation
15431                 necessary for sleep.
15432
15433         * Fix issue where deactivating a device might deactivate the active
15434                 VPN connection, even if the VPN was not using the device.
15435
15436 2005-10-02  Dan Williams  <dcbw@redhat.com>
15437
15438         * gnome/applet/applet.c
15439                 - Adjust signal strength -> icon mapping values slightly
15440                         (so that 51% signal doesn't show a 75% icon) by adding
15441                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15442                         shows 50% icon, etc.
15443
15444 2005-09-29  Robert Love  <rml@novell.com>
15445
15446         * src/NetworkManager.c: removed unused variable.
15447
15448 2005-09-28  Dan Williams  <dcbw@redhat.com>
15449
15450         Support for named + DBus, using Red Hat DBus patches for named.  You
15451         can find those patches here, with "dbus" in the patch's filename:
15452
15453                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15454
15455         Don't forget the named dbus service file either.
15456
15457         Instead of writing a config file and spawing a named process, NM will
15458         use an already-running dbus-enabled named if it finds one.  NM will
15459         update named's forwarder configuration on the fly using dbus.
15460
15461         If there is no dbus-enabled named running, NM will automatically fall
15462         back to writing the most-recent DNS server information to /etc/resolv.conf
15463         and calling nm_system_update_dns() to kick the system's resolver.
15464
15465         Accordingly, all named-related configure-time options have been removed.
15466
15467 2005-09-26  Robert Love  <rml@novell.com>
15468
15469         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15470           ISDN support!
15471         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15472           bug in error path if "ASKPASSWORD" is "no".
15473
15474 2005-09-26  Robert Love  <rml@novell.com>
15475
15476         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15477           comment in /etc/resolv.conf -- ';' is not.
15478
15479 2005-09-19  Dan Williams  <dcbw@redhat.com>
15480
15481         * src/backends/NetworkManagerRedHat.c:
15482         * src/backends/NetworkManagerDebian.c:
15483         * src/backends/NetworkManagerSlackware.c:
15484         * src/backends/NetworkManagerGentoo.c:
15485         * src/backends/NetworkManagerSUSE.c:
15486         Fix invocations of "/sbin/ip address" to use short form instead
15487
15488 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15489
15490         * src/nm-dbus-device.c: Don't assert when getting
15491         addresses of a not yet connected interface.
15492
15493         * gnome/applet/applet.c: Free icons if loading fails.
15494         Use translator-credits so translators can make themselves known.
15495
15496 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15497
15498         * src/NetworkManagerAP.c:
15499         * src/NetworkManagerAP.h:
15500         * src/NetworkManagerDevice.c:
15501         Set a blacklist for certain common manufacturer default ESSIDs:
15502         APs with these ESSIDs are extremely likely to be completely
15503         different networks: connecting to one should not make NM
15504         auto-connect to every other AP with the same default ESSID.
15505
15506 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15507
15508         * gnome/applet/wireless-applet.glade:
15509         The passphrase entry should also activate the default
15510
15511         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15512
15513         * gnome/applet/applet-dbus-devices.c:
15514         * gnome/applet/applet.c:
15515         * gnome/applet/nm-device.c:
15516         * gnome/applet/nm-device.h:
15517         * src/NetworkManagerUtils.c:
15518         * src/NetworkManagerUtils.h:
15519         * src/nm-dbus-device.c:
15520         I've got a fever, and the only cure for it is less ioctl.
15521         Make NM push IP data rather than make the applet open a socket
15522         to the device.
15523
15524 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15525
15526         * gnome/applet/applet.c:
15527         * gnome/applet/applet-dbus-devices.c:
15528         * gnome/applet/applet-dbus-info.c:
15529         * gnome/applet/passphrase-dialog.c:
15530         * gnome/libnm_glib/libnm_glib.c:
15531         * gnome/vpn-properties/nm-vpn-properties.c:
15532         * src/autoip.c:
15533         * src/backends/NetworkManagerRedHat.c:
15534         * src/named-manager/nm-named-manager.c:
15535         * src/NetworkManagerAPList.c:
15536         * src/NetworkManager.c:
15537         * src/NetworkManagerDbus.c:
15538         * src/NetworkManagerDevice.c:
15539         * src/NetworkManagerPolicy.c:
15540         * src/NetworkManagerSystem.c:
15541         * src/nm-dbus-device.c:
15542         * src/nm-dbus-nm.c:
15543         * src/vpn-manager/nm-vpn-manager.c:
15544         * src/vpn-manager/nm-vpn-service.c:
15545         * test/libnm_glib_test.c:
15546         * test/nminfotest.c:
15547         * test/nmtestdevices.c:
15548         Fix a bunch of 'unused variable' compiler warnings
15549
15550         * NetworkManager.h:
15551         * gnome/applet/applet-dbus-info.c:
15552         * gnome/applet/applet-dbus-info.h:
15553         * gnome/applet/applet.c:
15554         * gnome/applet/applet.h:
15555         * src/NetworkManager.c:
15556         * src/NetworkManagerDbus.c:
15557         * src/NetworkManagerDbus.h:
15558         * src/NetworkManagerDevice.c:
15559         * src/NetworkManagerDevice.h:
15560         * src/NetworkManagerMain.h:
15561         * src/NetworkManagerWireless.c:
15562         * src/NetworkManagerWireless.h:
15563         * src/nm-dbus-nm.c:
15564         Make NetworkManager be smart about how frequently to scan
15565         based on its current state.  Remove the UI for choosing when
15566         to scan.  Scanning still may disabled completely by the user
15567         via the "Wireless Enabled" menu item.
15568
15569 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15570
15571         * gnome/applet/applet.c:
15572         Also overlay the vpn connecting icons onto the wired icon,
15573         when appropriate.
15574
15575         * gnome/vpn-properties/nm-vpn-properties.glade:
15576         Clean up a few strings to use better grammar and proper casing.
15577
15578 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15579
15580         * gnome/applet/vpn-connection.c:
15581         * gnome/applet/vpn-connection.h:
15582         Add nmwa_vpn_connection_is_activating ()
15583
15584         * gnome/applet/applet.c:
15585         * gnome/applet/applet.h:
15586         * gnome/applet/icons/nm-vpn-connecting*.png:
15587         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15588         the user know something's happening between clicking the VPN item and it
15589         actually being connected.
15590
15591 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15592
15593         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15594         failure case as well.
15595
15596 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15597
15598         * gnome/panel/eggtrayicon.[ch]:
15599         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15600
15601 2005-09-07  Dan Williams  <dcbw@redhat.com>
15602
15603         Patch from Bill Moss <bmoss@clemson.edu>
15604         * src/applet-dbus.c
15605                 - (nmwa_dbus_filter): strip whitespace from beginning
15606                         and end of VPN login banner
15607
15608 2005-09-07  Dan Williams  <dcbw@redhat.com>
15609
15610         * The great VPN Manager rewrite of 2005
15611
15612 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15613
15614         * gnome/applet/menu-items.c:
15615         * gnome/applet/nm-device.c:
15616         * gnome/applet/wireless-network.c:
15617         * gnome/libnm_glib/libnm_glib.c:
15618         * src/NetworkManagerDbusUtils.c:
15619         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15620         g_malloc0 doesn't return NULL
15621
15622 2005-09-06  Dan Williams  <dcbw@redhat.com>
15623
15624         Patch from Tomislav Vujec <tvujec@redhat.com>
15625         * src/NetworkManagerDevice.c
15626                 - (nm_get_device_by_udi): don't return a device when we
15627                         actually didn't find what we were looking for
15628
15629 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15630
15631         * gnome/applet/applet-dbus-devices.c:
15632         * gnome/applet/applet-dbus-devices.h:
15633         * gnome/applet/applet-dbus.c:
15634         * src/NetworkManagerDbus.c:
15635         * src/NetworkManagerDbus.h:
15636         * src/NetworkManagerDevice.c:
15637         * src/nm-dbus-device.c:
15638         Make NM push updates about active device strength when it changes,
15639         rather than having the applet poll every 2s.
15640
15641 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15642
15643         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15644         network_device_set_strength
15645
15646 2005-09-04  Dan Williams  <dcbw@redhat.com>
15647
15648         Patch from Bill Nottingham <notting@redhat.com>
15649         * src/NetworkManagerDevice.c
15650                 - (nm_device_activation_cancel): reset the quit_activation flag
15651
15652 2005-09-04  Dan Williams  <dcbw@redhat.com>
15653
15654         * src/nm-activation-request.c
15655                 - (nm_act_request_unref): actually free the structure,
15656                         which we didn't seem to be doing before
15657
15658 2005-09-04  Dan Williams  <dcbw@redhat.com>
15659
15660         Patch from John Palmieri <johnp@redhat.com>
15661         * gnome/applet/applet-dbus-devices.c
15662                 - Fix up unreffing of DBusMessage objects
15663
15664 2005-09-04  Dan Williams  <dcbw@redhat.com>
15665
15666         Patch from John Palmieri <johnp@redhat.com>
15667         * gnome/applet/nm-device.c
15668                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15669
15670 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15671
15672         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15673
15674 2005-09-02  Bill Nottingham  <notting@redhat.com>
15675
15676         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15677
15678 2005-09-01  Dan Williams  <dcbw@redhat.com>
15679
15680         * src/NetworkManager.c
15681                 - (nm_remove_device_from_list): rename to nm_remove_device
15682                 - (nm_hal_device_removed): call nm_remove_device()
15683
15684         * src/NetworkManagerDevice.c
15685                 - Change the NMWirelessScanCB member 'reschedule' which
15686                         wasn't used to 'force' to indicate that we need to
15687                         force a scan when adding a device
15688
15689         * src/nm-dbus-nm.c
15690                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15691                         from the device list
15692                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15693
15694 2005-09-01  Robert Love  <rml@novell.com>
15695
15696         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15697           and the check "!iface" in the error case is probably never true.
15698
15699 2005-09-01  Dan Williams  <dcbw@redhat.com>
15700
15701         Patch from Bill Nottingham <notting@redhat.com>
15702         * src/backends/NetworkManagerRedHat.c
15703                 - Add initial dialup support to Red Hat/Fedora backend
15704
15705 2005-09-01  Dan Williams  <dcbw@redhat.com>
15706
15707         * gnome/applet/applet-dbus-devices.c
15708                 - Sort both wireless networks and devices again, which got
15709                         broken when removing threading
15710
15711 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15712
15713         * gnome/applet/applet.c:
15714         Only show the "Stop/Start All Wireless Devices" menuitem
15715         if we actually have wireless devices.
15716
15717         * gnome/applet/applet-dbus-info.c:
15718         * gnome/applet/applet.c:
15719         * gnome/applet/other-network-dialog.c:
15720         * gnome/applet/vpn-password-dialog.c:
15721         Drop the gtk_dialog_run () calls in favor of connecting to
15722         "response" signals, needed now that the applet is not threaded.
15723
15724 2005-08-31  Dan Williams  <dcbw@redhat.com>
15725
15726         Patch from Bill Moss <bmoss@clemson.edu>
15727         * src/NetworkManagerDevice.c
15728                 - (nm_device_wireless_scan): fix scan timeout values
15729
15730 2005-08-30  Dan Williams  <dcbw@redhat.com>
15731
15732         * gnome/applet/wireless-applet.glade
15733                 - HIG-ify the Other Wireless Networks dialog a bit more
15734                 - Fix some potential segfaults in the info dialog
15735
15736 2005-08-30  Dan Williams  <dcbw@redhat.com>
15737
15738         * gnome/applet/applet-dbus-devices.c
15739                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15740
15741 2005-08-30  Dan Williams  <dcbw@redhat.com>
15742
15743         * gnome/applet/applet-dbus.[ch]
15744                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15745                         they weren't being used anyway
15746
15747 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15748
15749         * test/nmtestdevices.c: (print_usage), (main):
15750         Check the number of arguments, and fix a typo
15751
15752 2005-08-29  Dan Williams  <dcbw@redhat.com>
15753
15754         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15755         * gnome/applet/applet.c
15756                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15757
15758 2005-08-29  Dan Williams  <dcbw@redhat.com>
15759
15760         * gnome/applet/*
15761                 - Don't use threads any more.  Anything that blocks
15762                         (like gtk_dialog_run()) will  have to get fixed up which
15763                         should happen quickly.  We really only had threads to make
15764                         the animation smooth, and when everything got converted over
15765                         to DBus Pending Calls, the need for threads kind of went away
15766
15767 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15768
15769         * gnome/applet/applet.c: Draw VPN connections as radio items
15770         since we don't yet support multiple VPNs.
15771         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15772         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15773
15774 2005-08-29  Dan Williams  <dcbw@redhat.com>
15775
15776         Patch from j@bootlab.org
15777         - Make --without-named work
15778         - Make --with-dhcdbd work correctly
15779
15780 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15781
15782         * configure.in: Added "ca" to ALL_LINGUAS.
15783
15784 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15785
15786         * Fix up VPN state handling between the applet and NetworkManager,
15787                 so that the applet doesn't show a VPN as connected when one
15788                 really is not
15789                         - The applet no longer has a pointer to the active VPN's
15790                                 name, but tracks each VPNs state individually
15791                         - NM no longer has a "getActiveVPNConnection" method
15792                         - NM no longer broadcasts the "VPNConnectionChange" signal
15793                         - NM now broadcasts a "VPNConnectionStateChange" signal
15794                                 whenever the state of a VPN changes
15795
15796 2005-08-26  Dan Williams <dcbw@redhat.com>
15797
15798         * gnome/applet/applet-dbus-devices.c
15799           gnome/applet/applet-dbus-vpn.c
15800                 - Remove calls to dbus_pending_call_ref() because we already
15801                         "own" the pending call
15802                 - Remove calls to dbus_pending_call_get_completed() because
15803                         when we are in the callback, the pending call is completed
15804                         by definition
15805
15806 2005-08-22  Dan Williams <dcbw@redhat.com>
15807
15808         Patch by Bill Moss <bmoss@clemson.edu>
15809         * src/dhcp-manager/nm-dhcp-manager.c
15810                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15811                         some time to send out a RELEASE if they like
15812
15813 2005-08-22  Dan Williams <dcbw@redhat.com>
15814
15815         Noticed by Bill Moss <bmoss@clemson.edu>
15816         * src/NetworkManagerDbus.c
15817                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15818                         instead of just cancelling its activation
15819
15820         * src/NetworkManagerDevice.c
15821                 - (nm_device_deactivate): some small cleanups
15822                 - (nm_device_set_user_key_for_network): deactivate the device
15823                         instead of just cancelling its activation
15824
15825 2005-08-22  Dan Williams <dcbw@redhat.com>
15826
15827         Noticed by Bill Moss <bmoss@clemson.edu>
15828         * src/NetworkManagerDevice.c
15829                 - (nm_device_wireless_scan): fix scan timeout, we were
15830                         waiting way too long for scans to complete
15831
15832 2005-08-22  Dan Williams <dcbw@redhat.com>
15833
15834         Patch from j@bootlab.org:
15835         * src/backends/NetworkManagerDebian.c
15836                 - Make the Debian backend work for static IP again
15837
15838 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15839
15840         * gnome/applet/other-network-dialog.c:
15841         The "Create New Network" and "Connect to Other Network"
15842         dialogs share alot of code, but shouldn't share a window
15843         title.  Give them different ones.
15844
15845         * gnome/applet/wireless-applet.glade:
15846         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15847         Some more minor UI tweaks.
15848
15849 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15850
15851         * gnome/applet/other-network-dialog.c:
15852         * gnome/applet/wireless-applet.glade:
15853         Also need mnemonic widgets, and underline enabled.
15854
15855 2005-08-19  Dan Williams <dcbw@redhat.com>
15856
15857         * vpn-daemons/vpnc/nm-vpnc-service.c
15858                 - (vpnc_watch_cb): remove no-longer-relevant comment
15859                 - (write_config_option): new function, helper to write
15860                         config options to vpnc's stdin
15861                 - (nm_vpnc_config_write): use the new helper, make the
15862                         code shorter
15863
15864 2005-08-19  Christopher Aillon <caillon@redhat.com>
15865
15866         * gnome/applet/passphrase-dialog.c:
15867         * gnome/applet/wireless-applet.glade:
15868         Make the passphrase dialog response based, and treat
15869         responses other than OK (such as Esc, [X]) as a cancel.
15870
15871 2005-08-18  Christopher Aillon <caillon@redhat.com>
15872
15873         * initscript/Gentoo/NetworkManager:
15874         * initscript/RedHat/NetworkManager:
15875         * initscript/RedHat/NetworkManagerDispatcher:
15876         * initscript/SUSE/networkmanager:
15877         CVS remove these in place of .in replacements
15878
15879         * configure.in:
15880         * initscript/Gentoo/NetworkManager.in:
15881         * initscript/RedHat/NetworkManager.in:
15882         * initscript/RedHat/NetworkManagerDispatcher.in:
15883         * initscript/SUSE/networkmanager.in:
15884         These scripts now are generated so they work still when
15885         NM is built using a bindir other than /usr/bin
15886
15887 2005-08-18  Dan Williams <dcbw@redhat.com>
15888
15889         * gnome/applet/main.c
15890                 - Revert previous change for --no-session since
15891                         --sm-disable does the same thing
15892
15893 2005-08-18  Dan Williams <dcbw@redhat.com>
15894
15895         * gnome/applet/applet-dbus-info.c
15896                 - (nmi_dbus_create_error_message): new function
15897                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15898                         functions.  Also don't check for both device _and_ network before
15899                         asking for a user's key, because we may not have gotten all our
15900                         networks back from NM quite yet (due to the dbus pending calls
15901                         coming in later).  Fixes a hang in NM/nm-applet.
15902
15903         * src/NetworkManagerDbus.c
15904                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15905                         slightly more sane manner, even though we are still broken for
15906                         certain other error conditions.
15907                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15908                         to the info-daemon too
15909
15910         * src/NetworkManagerDevice.c
15911                 - Fix some debug messages to be info messages instead
15912
15913 2005-08-18  Dan Williams <dcbw@redhat.com>
15914
15915         * gnome/applet/main.c
15916                 - Add new "--no-session" parameter that disables applet
15917                         session management, ie for testing
15918
15919 2005-08-18  Christopher Aillon <caillon@redhat.com>
15920
15921         * gnome/applet/other-network-dialog.c:
15922         * gnome/applet/wireless-applet.glade: More mnemonics
15923
15924 2005-08-17  Robert Love  <rml@novell.com>
15925
15926         * initscript/SUSE/networkmanager: update
15927
15928 2005-08-17  Dan Williams  <dcbw@redhat.com>
15929
15930         * Tag NM_0_4_1_RELEASE
15931
15932 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15933
15934         * gnome/applet/applet.c: More translatable string cleanup
15935
15936
15937 2005-08-17  Dan Williams  <dcbw@redhat.com>
15938
15939         * gnome/applet/applet-dbus-info.c
15940                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15941                         from the dbus message, which tells us to unconditionally
15942                         ask the user for a new key.  Otherwise, we pull the key from
15943                         the keyring and return it.  If we fail to get the key from the
15944                         keyring, we ask the user for a new key.
15945                 - (nmi_dbus_get_network_key): new function to grab the key for
15946                         an essid from the keyring.
15947                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15948                         Also, don't return any key in the dbus message.
15949
15950         * src/NetworkManagerDbus.[ch]
15951                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15952                         indicate that we unconditionally want a new key.  This function
15953                         is now also used to get keys from the info-daemon which are
15954                         pre-stored, not just for asking the user for a new key.  The
15955                         "new_key" parameter indicates whether or not we wish to ask the
15956                         user for a new key.
15957                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15958                         info-daemon in the return message, so use NULL instead.  The
15959                         key will be filled in at connect time by calling
15960                         nm_dbus_get_user_key_for_network()
15961
15962         * src/NetworkManagerDevice.c
15963                 - (nm_device_wireless_configure): update for "new_key" param to
15964                         nm_dbus_get_user_key_for_network().  We initially set new_key
15965                         to FALSE to see if we have a stored key in the info-daemon, but
15966                         if the connection is unsuccessful at this stage we request a
15967                         new one
15968
15969 2005-08-17  Dan Williams  <dcbw@redhat.com>
15970
15971         * gnome/applet/icons/nm-no-connection.png
15972           gnome/applet/icons/nm-device-wired.png
15973                 - Use Diana's new RJ45 connector icons
15974
15975 2005-08-17  Dan Williams  <dcbw@redhat.com>
15976
15977         * src/NetworkManagerPolicy.c
15978                 - (nm_policy_device_change_check): clarify switching rules if
15979                         both new and old devices are valid; mainly, don't switch
15980                         away from user-requested wireless connection back to a wired
15981                         one
15982
15983 2005-08-17  Dan Williams  <dcbw@redhat.com>
15984
15985         * gnome/applet/Makefile.am
15986                 - Relocate the applet to /usr/bin since it is no longer
15987                         executed by anything, but directly by the user
15988
15989 2005-08-17  Dan Williams  <dcbw@redhat.com>
15990
15991         Patch from Bill Moss <bmoss@clemson.edu>
15992
15993         * gnome/applet/applet-dbus-info.[ch]
15994                 - (nmi_save_network_info): save timestamp for network if it
15995                         was a change requested by the user
15996                 - (nmi_dbus_update_network_info): get user_requested from dbus
15997                         message and pass to nmi_save_network_info()
15998
15999         * gnome/applet/applet.c
16000                 - (nmwa_update_network_timestamp): remove
16001                 - (nmwa_menu_item_activate): don't set timestamp on networks
16002                         here, only after a successful connect in nmi_save_network_info()
16003
16004         * src/NetworkManagerDbus.[ch]
16005                 - (nm_dbus_update_network_info): pass user_requested into the 
16006                         dbus message
16007
16008         * src/NetworkManagerPolicy.c
16009                 - (nm_policy_activation_finish): pass user_requested to
16010                         nm_dbus_update_network_info()
16011
16012 2005-08-16  Robert Love  <rml@novell.com>
16013
16014         * gnome/applet/applet.c: Better "Dial Up" menu item.
16015
16016 2005-08-16  Robert Love  <rml@novell.com>
16017
16018         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16019           "Connection Information" menu item.
16020
16021 2005-08-16  Dan Williams  <dcbw@redhat.com>
16022
16023         Patch from j@bootlab.org
16024         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16025
16026         * configure.in: allow specifying the path to dhcdbd
16027
16028 2005-08-16  Robert Love  <rml@novell.com>
16029
16030         Patch from j@bootlab.org
16031         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16032           src/backends/interface_parser.h: Debian dialup support.
16033
16034 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16035
16036         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16037         * gnome/applet/applet.c: Add some mnemonics for VPNC
16038
16039         * vpn-daemons/.cvsignore: fix this up a little bit
16040
16041 2005-08-16  Robert Love  <rml@novell.com>
16042
16043         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16044           support.
16045
16046 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16047
16048         * gnome/applet/applet.c: Split markup out of translatable strings
16049         and clean up logic a little bit.  (fixes #309012)
16050
16051 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16052
16053         * gnome/vpn-properties/nm-vpn-properties.c:
16054         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16055         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16056         Makeshift fix to remove newlines from translatable strings.
16057         Note that we now return an allocated string, so callers of
16058         get_confirmation_details () must now call g_free () on the
16059         result. (fixes #309033).
16060
16061 2005-08-12  Robert Love  <rml@novell.com>
16062
16063         * gnome/applet/applet-dbus.c: remove newlines from translatable
16064           strings--not needed here anyway. (fix b.g.o #309011)
16065         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16066
16067 2005-08-11  Robert Love  <rml@novell.com>
16068
16069         * gnome/applet/applet.c: mark string as translatable.
16070
16071 2005-08-11  Robert Love  <rml@novell.com>
16072
16073         * initscript/SUSE/networkmanager: update.
16074
16075 2005-08-11  Dan Williams  <dcbw@redhat.com>
16076
16077         * src/nm-dhcp-manager.c
16078                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16079                         an gateway returned from DHCP, try to use the address of the DHCP
16080                         server as the gateway instead.  Found by Ralf Ertzinger.
16081
16082 2005-08-10  Robert Love  <rml@novell.com>
16083
16084         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16085           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16086
16087 2005-08-10  Dan Williams  <dcbw@redhat.com>
16088
16089         Patch from Bill Moss <bmoss@clemson.edu>
16090         * Consolidate writes of access point information updates to the info daemon
16091                 so that we only do it when the connection to the access point was
16092                 successful.  Also consolidates updates to GConf in the Gnome applet.
16093
16094         * src/nm-netlink-monitor.c
16095                 - Silence compile warning when calling g_object_new()
16096
16097 2005-08-08  Dan Williams  <dcbw@redhat.com>
16098
16099         Patch from Steev <steev@steev.net>:
16100         * src/backends/NetworkManagerGentoo.c
16101                 - Stub new dialup backend functions
16102
16103 2005-08-08  Dan Williams  <dcbw@redhat.com>
16104
16105         Patch from Colin Slater:
16106         * src/backends/NetworkManagerGentoo.c
16107                 - (nm_system_update_dns): Fix exit status check for restarting
16108                         nscd
16109
16110 2005-08-05  Robert Love  <rml@novell.com>
16111
16112         * NetworkManager.h,
16113           gnome/applet/applet-dbus-devices.c,
16114           gnome/applet/applet-dbus-devices.h,
16115           gnome/applet/applet-dbus.c,
16116           gnome/applet/applet.c,
16117           gnome/applet/applet.h,
16118           src/NetworkManager.c,
16119           src/NetworkManagerMain.h,
16120           src/NetworkManagerSystem.h,
16121           src/backends/NetworkManagerRedHat.c,
16122           src/backends/NetworkManagerSuSE.c,
16123           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16124
16125 2005-08-05  Robert Love  <rml@novell.com>
16126
16127         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16128           machine's hostname to make adhoc creation idiot-proof.
16129
16130 2005-08-04  Robert Love  <rml@novell.com>
16131
16132         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16133           freed.
16134
16135 2005-08-04  Dan Williams  <dcbw@redhat.com>
16136
16137         * gnome/applet/applet-dbus-info.c
16138           gnome/applet/applet-dbus-info.h
16139                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16140                         to store key, key type, and auth method rather than just auth method
16141                 - (nmi_dbus_update_network_info): new function
16142                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16143
16144         * gnome/applet/passphrase-dialog.c
16145                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16146                         of saving the info ourselves
16147
16148         * gnome/libnm_glib/libnm_glib.c
16149                 - Remove the stupid version check for dbus
16150
16151         * src/NetworkManagerAP.c
16152           src/NetworkManagerAP.h
16153                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16154
16155         * src/NetworkManagerDbus.c
16156           src/NetworkManagerDbus.h
16157                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16158                         more than just the auth method
16159
16160         * src/NetworkManagerDevice.c
16161                 - Update network info at the appropriate times
16162
16163 2005-07-29  Ray Strode  <rstrode@redhat.com>
16164
16165         * src/NetworkManager.c (nm_info_handler): don't use input as format
16166         string (Spotted by Ian Jackson).
16167
16168 2005-07-27  Dan Williams  <dcbw@redhat.com>
16169
16170         * src/nm-dbus-nm.c
16171           src/nm-dbus-net.c
16172                 - Random cleanups of spacing
16173
16174         * gnome/applet/applet.h
16175           gnome/applet/other-network-dialog.c
16176           gnome/applet/passphrase-dialog.c
16177                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16178
16179         Patch from Bill Moss:
16180                 - Make Other Wireless Networks work again with encryption keys
16181
16182 2005-07-26  Dan Williams  <dcbw@redhat.com>
16183
16184         Patch from Steev <steev@steev.net>:
16185         * src/backends/NetworkManagerGentoo.c
16186           src/backends/Makefile.am
16187                 - Fix up Gentoo backend
16188
16189 2005-07-26  Robert Love  <rml@novell.com>
16190
16191         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16192
16193 2005-07-25  Robert Love  <rml@novell.com>
16194
16195         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16196           in the same group as the wireless networks, since they are all
16197           mutually exclusive.
16198
16199 2005-07-24  Ray Strode  <rstrode@redhat.com>
16200
16201         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16202         remove unneeded NULL arg from g_object_new().  Any
16203         warnings caused by not having the extra NULL are just a
16204         result of a bug in glib 2.7.0 - 2.7.2.
16205
16206 2005-07-22  Robert Love  <rml@novell.com>
16207
16208         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16209
16210 2005-07-22  Robert Love  <rml@novell.com>
16211
16212         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16213           parameters (gcc 4.0.2 warning fix).
16214
16215 2005-07-18  Robert Love  <rml@novell.com>
16216
16217         Suggested by Aaron Bockover (abockover@novell.com)
16218         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16219           s/Ascii/ASCII
16220         * gnome/applet/passphrase-dialog.c: ditto
16221         * gnome/applet/wireless-applet.glade: ditto
16222
16223 2005-07-13  Dan Williams  <dcbw@redhat.com>
16224
16225         Patch from Ray Strode <halfline@gmail.com>
16226         * vpn-daemons/vpnc/nm-vpnc-service.c
16227                 - Don't let vpnc daemonize, fixes some races with PID file reading
16228
16229 2005-07-13  Dan Williams  <dcbw@redhat.com>
16230
16231         Patch from Ray Strode <halfline@gmail.com>
16232         * Random cleanups for strict CFLAGS
16233
16234 2005-07-07  Dan Williams  <dcbw@redhat.com>
16235
16236         Patch from Derek Atkins <warlord@MIT.EDU>
16237         * src/nm-dbus-net.c:
16238                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16239
16240 2005-07-07  Dan Williams  <dcbw@redhat.com>
16241
16242         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16243         * src/backends/NetworkManagerGentoo.c
16244                 - Gentoo backend Static IP nameserver fixes
16245                 - General Gentoo backend goodness
16246
16247 2005-07-07  Dan Williams  <dcbw@redhat.com>
16248
16249         Patch from Bastien Nocera:
16250         * gnome/applet/applet.c
16251                 - Fix up error reporting when icons or glade files are missing
16252
16253 2005-07-07  Robert Love  <rml@novell.com>
16254
16255         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16256           are not any VPN connections above it.
16257
16258 2005-07-07  Robert Love  <rml@novell.com>
16259
16260         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16261
16262 2005-07-05  Robert Love  <rml@novell.com>
16263
16264         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16265           zero.
16266
16267 2005-07-05  Robert Love  <rml@novell.com>
16268
16269         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16270           on wired or unencrypted wireless.
16271
16272 2005-07-01  Robert Love  <rml@novell.com>
16273
16274         * src/NetworkManagerSystem.c: Print the error via strerror().
16275
16276 2005-06-30  Robert Love  <rml@novell.com>
16277
16278         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16279           then exit if the glade file is not found.  currently the application
16280           just hangs.
16281
16282 2005-06-30  Robert Love  <rml@novell.com>
16283
16284         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16285           explicitly up all interfaces on wake from sleep.
16286
16287 2005-06-30  Robert Love  <rml@novell.com>
16288
16289         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16290           with information about the currently active connection.
16291         * gnome/applet/applet.h: (ditto)
16292         * gnome/applet/wireless-applet.glade: (ditto), new file
16293
16294 2005-06-30  Robert Love  <rml@novell.com>
16295
16296         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16297         * src/nm-dbus-nm.c: print when we sleep and wake up.
16298         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16299         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16300           in /sbin unless D-BUS is, folks).
16301         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16302
16303 2005-06-27  Robert Love  <rml@novell.com>
16304
16305         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16306           case.
16307
16308 2005-06-27  Robert Love  <rml@novell.com>
16309
16310         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16311           items radios.
16312
16313 2005-06-26  Robert Love  <rml@novell.com>
16314
16315         * src/NetworkManagerDevice.c: be specific about which device in
16316           nm_info() message.
16317
16318 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16319
16320         * src/nm-netlink-monitor.c: correct spelling error.
16321
16322 2005-06-23  Robert Love  <rml@novell.com>
16323
16324         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16325         * gnome/applet/passphrase-dialog.c: more of that keyring!
16326
16327 2005-06-23  Robert Love  <rml@novell.com>
16328
16329         * configure.in: remove extraneous GNOMEKEYRING directives.
16330         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16331         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16332         * gnome/applet/passphrase-dialog.c: whitespace.
16333
16334 2005-06-23  Robert Love  <rml@novell.com>
16335
16336         * src/NetworkManagerDevice.c: division in assignment was flipped.
16337
16338 2005-06-23  David Zeuthen  <david@fubar.dk>
16339
16340         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16341         signal to the child to indicate that we got what we wanted when we
16342         see two new-lines right after each other.
16343         (nmwa_vpn_request_password): Pass a structure with several members
16344         instead of just the passwords
16345
16346 2005-06-23  Dan Williams <dcbw@redhat.com>
16347
16348         * src/NetworkManager.c
16349           src/NetworkManagerMain.h
16350                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16351                 - (nm_hal_init): new function, init libhal context then add devices
16352                 - (nm_hal_deinit): new function, clean up libhal context
16353                 - (nm_data_free): Move Hal cleanup here
16354                 - (main): check whether Hal is running, and if so, get a list of
16355                         network devices from it
16356
16357         * src/NetworkManagerDbus.c
16358                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16359                         and when it appears, get a list of network devices from it.  If
16360                         Hal goes away, clean up the libhal context
16361
16362 2005-06-22  Robert Love  <rml@novell.com>
16363
16364         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16365           permissions of scripts before executing.
16366
16367 2005-06-21  Robert Love  <rml@novell.com>
16368
16369         * initscript/SUSE/networkmanager: update.
16370         * src/backends/NetworkManagerSuSE.c: cleanup.
16371
16372 2005-06-21  Robert Love <rml@novell.com>
16373
16374         * gnome/applet/applet.c: use menu mnemonics.
16375         * gnome/applet/menu-items.c: (ditto)
16376
16377 2005-06-21  Robert Love  <rml@novell.com>
16378
16379         * applet/applet-dbus-devices.c: mark non-static functions static.
16380         * applet/applet-dbus-vpn.c: (ditto)
16381         * applet/applet.c: (ditto)
16382         * applet/nm-device.h: (ditto)
16383         * applet/other-network-dialog.c: (ditto)
16384         * applet/passphrase-dialog.c: (ditto)
16385         * NetworkManager.c: (ditto)
16386         * NetworkManagerDbus.c: (ditto)
16387         * NetworkManagerDevice.c: (ditto)
16388         * NetworkManagerPolicy.c: (ditto)
16389         * NetworkManagerUtils.c: (ditto)
16390         * NetworkManagerWireless.c: (ditto)
16391         * NetworkManagerWireless.h: (ditto)
16392         * nm-netlink-monitor.c: (ditto)
16393         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16394         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16395         * autoip.c: include autoip.h.
16396         * autoip.h: new file.  define get_autoip().
16397         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16398         * NetworkManagerDbus.h: remove duplicate definitions.
16399
16400 2005-06-20  Robert Love  <rml@novell.com>
16401
16402         * Makefile.am: Add missing intltool-foo.in generated files to
16403           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16404           with the start of stuff to cleanup on 'distclea'.
16405         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16406           stuff right and 'distcheck' works.
16407         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16408           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16409           Makefile.am for each.  And systray/Makefile needs to be redone.
16410
16411 2005-06-19  Dan Williams <dcbw@redhat.com>
16412
16413         * src/NetworkManagerDevice.c
16414         - (nm_device_wireless_process_scan_results): scan every 20s when
16415           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16416
16417 2005-06-19  Dan Williams <dcbw@redhat.com>
16418
16419         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16420
16421 2005-06-18  Ray Strode <rstrode@redhat.com>
16422
16423         * src/nm-netlink-monitor.c 
16424         (nm_netlink_monitor_event_handler): check for the presence
16425         of either error condition not both. 
16426         
16427         (nm_netlink_monitor_error_handler): emit error signal if
16428         error occurs.
16429
16430         (nm_netlink_monitor_event_handler),
16431         (nm_netlink_monitor_error_handler),
16432         (nm_netlink_monitor_disconnect_handler): if an 
16433         assertion fails disconnect the event handler to prevent 
16434         infinite loops.
16435
16436         * src/nm-netlink-monitor.h: add new error condition
16437         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16438
16439 2005-06-18  Ray Strode <rstrode@redhat.com>
16440
16441         * src/nm-netlink-monitor.c 
16442         (nm_netlink_monitor_event_handler): remove bogus < 0
16443         check on unsigned value and return early if the kernel
16444         didn't send any bytes.
16445
16446 2005-06-17  Robert Love  <rml@novell.com>
16447
16448         * initscript/SUSE/networkmanager: Change the Provides and default
16449         run levels
16450
16451 2005-06-16  Dan Williams <dcbw@redhat.com>
16452
16453         Patch from Robert Love:
16454         * gnome/applet/applet.c
16455                 - Beautify some applet menu item names
16456
16457 2005-06-17  David Zeuthen  <davidz@redhat.com>
16458
16459         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16460         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16461         Also add new methods can_export, import_file and export.
16462
16463         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16464         to the main UI
16465
16466         * gnome/vpn-properties/nm-vpn-properties.c:
16467         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16468         nm-vpn-ui-interface.h.
16469         (update_edit_del_sensitivity): Also update "Export" sensitivity
16470         (add_vpn_connection): Also add new SVC_NAME column
16471         (import_settings): New function
16472         (retrieve_data_from_selected_connection): New function
16473         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16474         this function
16475         (export_cb): New function
16476         (init_app): Also setup the "export" widget
16477         (main): Support the --import-service and --import-file commandline
16478         arguments
16479
16480         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16481         D-BUS 0.34
16482
16483 2005-06-16  Dan Williams <dcbw@redhat.com>
16484
16485         Patch from Robert Love:
16486         * gnome/applet/menu-items.c
16487                 - (network_menu_item_new): pass -1 as wireless network
16488                         menu items height size request rather than ascent / 2
16489
16490 2005-06-16  Dan Williams <dcbw@redhat.com>
16491
16492         * Clean up wording in Wireless Scan Methods menu items and constants
16493
16494 2005-06-16  Robert Love  <rml@novell.com>
16495
16496         * po/POTFILES.in
16497                 - remove gtkcell* files
16498
16499 2005-06-15  Dan Williams <dcbw@redhat.com>
16500
16501         Patch from Robert Love: make the applet stetic
16502
16503         * gnome/applet/Makefile.am
16504                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16505
16506         * gnome/applet/gtkcellview.h
16507           gnome/applet/gtkcellview.c
16508           gnome/applet/gtkcellrendererprogress.h
16509           gnome/applet/gtkcellrendererprogress.c
16510                 - Removed
16511
16512         * gnome/applet/menu-items.c
16513                 - Progress bars are 5:1 size ratio
16514                 - Use GTK progress bars rather than internal ones
16515
16516 2005-06-15  Dan Williams <dcbw@redhat.com>
16517
16518         Patch from Robert Love:
16519         * initscript/SUSE/networkmanager
16520                 - Fix typo
16521
16522 2005-06-15  Dan Williams <dcbw@redhat.com>
16523
16524         * src/backends/NetworkManagerSuSE.c
16525           src/backends/NetworkManagerRedHat.c
16526           src/backends/NetworkManagerDebian.c
16527                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16528
16529 2005-06-15  Dan Williams <dcbw@redhat.com>
16530
16531         * src/backends/NetworkManagerDebian.c
16532                 - Add nm_system_device_get_use_dhcp() to debian backend
16533
16534         Patch from Kay Sievers:
16535         * src/backends/NetworkManagerSuSE.c
16536                 - Update debian backend for static IP nameservers
16537
16538         * src/NetworkManagerDevice.c
16539                 - Actually set the device to use static IP or DHCP rather
16540                         than always DHCP
16541
16542 2005-06-15  Dan Williams <dcbw@redhat.com>
16543
16544         Patch from Thom May:
16545         * src/backends/NetworkManagerDebian.c
16546                 - Update debian backend for static IP nameservers
16547
16548 2005-06-15  Dan Williams <dcbw@redhat.com>
16549
16550         Patches from Robert Love:
16551         * gnome/applet/wireless-applet.glade
16552                 - Tighten up wording
16553
16554         * src/NetworkManagerDevice.c
16555                 - Remove misplaced ';'
16556
16557         * configure.in
16558           initscript/Makefile.am
16559           initscript/SUSE/Makefile.am
16560           initscript/SUSE/networkmanager
16561                 - Add SUSE initscript
16562
16563 2005-06-12  David Zeuthen  <davidz@redhat.com>
16564
16565         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16566
16567         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16568
16569         * gnome/vpn-properties/nm-vpn-properties.c: New file
16570
16571         * gnome/vpn-properties/Makefile.am: New file
16572
16573         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16574         array of passwords
16575
16576         * src/vpn-manager/nm-vpn-manager.c
16577         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16578         instead of just a single one
16579
16580         * src/vpn-manager/nm-dbus-vpn.c:
16581         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16582         here
16583         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16584
16585         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16586         Change the interface here to give a list of passwords. Also, don't
16587         require username, but do require service
16588
16589         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16590         the binary for the auth-dialog and use that instead of putting up a
16591         dialog asking for a single password
16592
16593         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16594         however do remember the service
16595
16596         * gnome/applet/main.c (main): Setup i18n
16597
16598         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16599         connection to '%s'" to the tooltip if we are connected using VPN
16600         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16601         key to determine whether we the auth-dialog needs to
16602         reprompt. Also cope with the fact that the auth-dialog now returns
16603         an array of passwords.
16604         (nmwa_menu_configure_vpn_item_activate): New handler for
16605         "Configure VPN..." menu item
16606         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16607         (is_vpn_available): New function to determine if we got any
16608         NM-compatible VPN software installed
16609         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16610         items only if we have NM-compatible VPN software installed
16611         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16612         logic for detecting when VPN connections are removed
16613
16614         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16615         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16616         since these are defined elsewhere
16617
16618         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16619         function used to keep track of whether the last attempt succeded
16620         (nmwa_dbus_filter): Update last_attempt according to whether the
16621         VPN connection could be established or not
16622
16623         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16624         Change prototype to take an array of passwords, not just a single
16625         password
16626
16627         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16628         update service, not user
16629         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16630         dbus_active_vpn_name is not NULL before using it
16631         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16632         string array instead of assuming a single password
16633
16634         * gnome/applet/applet-dbus-info.c:
16635         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16636         user name; don't read from gconf
16637
16638         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16639         VPN_NAME_FILES_DIR
16640
16641         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16642
16643         * configure.in: Add checks for gmodule-2.0.
16644         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16645         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16646         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16647         for details
16648
16649         * vpn-daemons/Makefile.am: Removed
16650
16651         * vpn-daemons/README: New file to describe extensions points for VPN
16652         software
16653
16654 2005-06-10  Dan Williams <dcbw@redhat.com>
16655
16656         * src/backends/NetworkManagerRedHat.c
16657                 - (get_current_profile_name): new function, grab current network profile name from
16658                         /etc/sysconfig/network
16659                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16660                         update an IP4 Config structure's settings from it
16661                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16662                         get DNS info from current network profile
16663
16664 2005-06-09  Dan Williams <dcbw@redhat.com>
16665
16666         Patch from Robert Love:
16667         * src/NetworkManagerDevice.c
16668           src/NetworkManagerUtils.c
16669                 - 64-bit build fixes
16670
16671 2005-06-09  Dan Williams <dcbw@redhat.com>
16672
16673         Patch from Kay Sievers and Robert Love:
16674         * configure.in
16675           src/backends/Makefile.am
16676           src/backends/NetworkManagerSuSE.c
16677                 - Add SuSE support
16678
16679 2005-06-09  Dan Williams <dcbw@redhat.com>
16680
16681         * NetworkManager.h
16682                 - Add NMWirelessScanMethod enum for scan methods
16683
16684         * gnome/applet/applet-dbus-devices.c
16685                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16686                 - (nmwa_dbus_update_scanning_enabled): remove
16687                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16688                         since it got removed
16689                 - (nmwa_dbus_enable_scanning): remove
16690
16691         * gnome/applet/applet-dbus-info.c
16692                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16693                         update the wireless scanning method from NMI
16694                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16695                         method value to NetworkManager
16696                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16697
16698         * gnome/applet/applet-dbus-info.h
16699                 - Add prototype for nmi_dbus_signal_update_scan_method
16700
16701         * gnome/applet/applet.c
16702                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16703                         Wireless Scanning menu based on current wireless scan method
16704                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16705                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16706                         and update our menu items to make sure the right one is checked
16707                 - (nmwa_set_scanning_enabled_cb): remove
16708                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16709                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16710                         Scanning menu item
16711                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16712                         from GConf
16713                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16714                         so we get notified of preference values too
16715                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16716
16717         * gnome/applet/applet.h
16718                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16719                 - Add wireless scan method member to applet data
16720                 - Remove pause_scanning_item, add Wireless Scanning submenu
16721
16722         * src/NetworkManager.c
16723                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16724                 - (main): grab scanning method from NMI if we can
16725
16726         * src/NetworkManagerDbus.c
16727                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16728                         nm_dbus_update_wireless_scan_method()
16729                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16730                         from NMI
16731                 - (nm_dbus_nmi_is_running): redundant function, removed
16732                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16733                         when NMI comes back
16734
16735         * src/NetworkManagerDevice.c
16736                 - (nm_device_is_activated): return TRUE if the device is activated
16737                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16738                         and we are activated
16739
16740         * src/nm-dbus-nm.c
16741                 - (nm_dbus_nm_set_scanning_enabled): removed
16742                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16743                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16744
16745 2005-06-09  Dan Williams <dcbw@redhat.com>
16746
16747         * NetworkManager.h
16748           src/vpn-manager/nm-vpn-service.c
16749                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16750
16751 2005-05-27  Dan Williams <dcbw@redhat.com>
16752
16753         * vpn-daemons/vpnc/nm-vpnc-service.c
16754                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16755                         Should fix the bug where the VPN connection terminates the first time.
16756
16757 2005-05-20  Dan Williams <dcbw@redhat.com>
16758
16759         * NetworkManager.h
16760                 - Differentiate VPN config signals between bad VPN config options
16761                         and bad IP config
16762
16763         * gnome/applet/applet-dbus-info.h
16764                 - Add prototypes for wireless network and vpn connection update functions
16765
16766         * gnome/applet/applet-dbus.c
16767                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16768
16769         * gnome/applet/applet.c
16770                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16771                         error signals
16772                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16773                         propogation to NetworkManager
16774                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16775                         notify propogation to NetworkManager
16776
16777         * src/NetworkManagerDbus.c
16778                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16779                         are updating so a network can be removed from it if necessary
16780
16781         * src/vpn-manager/nm-vpn-manager.c
16782                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16783
16784         * vpn-daemons/vpnc/nm-vpnc-service.c
16785                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16786                 - (nm_vpnc_dbus_signal_launch_failed): remove
16787                 - (nm_vpnc_dbus_signal_connect_failed): remove
16788                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16789                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16790                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16791                         for new generalized error signal function, remove config file stuff
16792                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16793                         we can write configuration options to it
16794                 - (nm_vpnc_config_file_generate): removed
16795                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16796                 - (nm_vpnc_config_options_validate): validate the config options we receive
16797                         from NetworkManager to block potential exploits
16798                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16799                         starting vpnc
16800                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16801                         to NetworkManager
16802
16803 2005-05-16  Dan Williams  <dcbw@redhat.com>
16804
16805         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16806                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16807                         is not "connect"
16808
16809 2005-05-16  Dan Williams  <dcbw@redhat.com>
16810
16811         Patch from Tomislav Vujec <tvujec@redhat.com>
16812         * gnome/applet/applet-dbus-info.c
16813                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16814                         GConf and pass them to NetworkManager.  New key is 'routes' under
16815                         the VPN connection, and should be a string list
16816
16817         * src/NetworkManagerSystem.c
16818                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16819                         set them on the device when we set the rest of the VPN config.  Ensure
16820                         they are in the correct format since they are passed directly to the
16821                         command line.
16822
16823         * src/backends/NetworkManagerRedHat.c
16824           src/backends/NetworkManagerDebian.c
16825                 - (nm_system_device_add_route_via_device_with_iface): new function
16826
16827         * src/vpn-manager/nm-dbus-vpn.c
16828                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16829
16830         * src/vpn-manager/nm-vpn-manager.c
16831                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16832                         them into the IP4 config functions
16833
16834 2005-05-15  Dan Williams  <dcbw@redhat.com>
16835
16836         From Filip Miletic:
16837         * po/sr.po
16838           po/sr@Latn.po
16839           configure.in
16840                 - Serbian translation added
16841
16842 2005-05-15  Dan Williams  <dcbw@redhat.com>
16843
16844         * dispatcher-daemon/NetworkManagerDispatcher.c
16845                 - (main): sync arguments with NetworkManager and the applet, now use
16846                         "--no-daemon" rather than "daemon=no"
16847                 - (nmd_print_usage): Fix script path in usage message
16848
16849 2005-05-15  Dan Williams  <dcbw@redhat.com>
16850
16851         * src/NetworkManagerDevice.[ch]
16852           src/NetworkManagerPolicy.c
16853           src/NetworkManager.c
16854           src/nm-dbus-nm.c
16855                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16856                         longer send the DeviceNoLongerActive signal unconditionally, but only
16857                         when the device is actually active.
16858
16859         * dispatcher-daemon/NetworkManagerDispatcher.c
16860                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16861                         and simplify the logic
16862                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16863                         we free it later on
16864
16865         * initscript/RedHat/Makefile.am
16866           initscript/RedHat/NetworkManagerDispatcher
16867                 - Add initscript for NetworkManagerDispatcher
16868
16869
16870         Patch from Bill Moss:
16871         * dispatcher-daemon/NetworkManagerDispatcher.c
16872                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16873
16874         * src/NetworkManagerDbus.c
16875                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16876                         and DeviceNowActive gets signaled, then the device has a new IP address
16877                         anyway.  There's no need for a separate signal.
16878
16879         * src/NetworkManagerDevice.c
16880                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16881
16882         * src/NetworkManagerPolicy.c
16883                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16884                         activates successfully.  This kind of went missing when I reworked the
16885                         activation code.
16886
16887 2005-05-15  Dan Williams  <dcbw@redhat.com>
16888
16889         * configure.in
16890                 - Check for dhcdbd and error if its not found
16891
16892         * src/dhcp-manager/Makefile.am
16893           src/dhcp-manager/nm-dhcp-manager.c
16894                 - Use path to dhcdbd that configure found
16895
16896 2005-05-14  Dan Williams  <dcbw@redhat.com>
16897
16898         * gnome/applet/nm-device.c
16899                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16900                         sort wireless networks alphabetically
16901
16902         * gnome/applet/applet-dbus-devices.c
16903                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16904                         before copying them over to the GUI
16905
16906 2005-05-14  Dan Williams  <dcbw@redhat.com>
16907
16908         * src/NetworkManager.c
16909                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16910                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16911                         the device list, as does nm_get_active_device() which is called from
16912                         nm_vpn_manager_deactivate_vpn_connection().
16913
16914 2005-05-14  Dan Williams  <dcbw@redhat.com>
16915
16916         * NetworkManager.h
16917                 - Add signals for VPN Launch and Connect failures
16918
16919         * gnome/applet/applet-dbus.c
16920                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16921
16922         * gnome/applet/applet.c
16923                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16924                         function to handle all VPN failure messages
16925                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16926                         function to hanlde all VPN failure  messages
16927                 - (show_warning_dialog): work around focus-stealing prevention
16928
16929         * gnome/applet/other-network-dialog.c
16930           gnome/applet/passphrase-dialog.c
16931                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16932                         problem where it never enabled for ASCII Key and Hex Key types
16933
16934         * gnome/applet/wireless-applet.glade
16935                 - Add window title to Other Wireless Network Dialog
16936
16937         * src/vpn-manager/nm-dbus-vpn.c
16938                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16939                         function to handle all VPN failure messages
16940
16941         * src/vpn-manager/nm-vpn-manager.c
16942                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16943
16944         * vpn-daemons/vpnc/nm-vpnc-service.c
16945                 - (nm_vpnc_dbus_signal_launch_failed): new function
16946                 - (nm_vpnc_dbus_signal_connect_failed): new function
16947                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16948                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16949                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16950                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16951
16952 2005-05-11  Dan Williams  <dcbw@redhat.com>
16953
16954         * vpn-daemons/vpnc/nm-vpnc-service.c
16955                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16956                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16957                         file exists before trying to write it out.
16958
16959 2005-05-10  Dan Williams  <dcbw@redhat.com>
16960
16961     * gnome/applet/applet-dbus-device.c
16962         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16963             prevented just entering ESSID and leaving key and key type up to
16964             NetworkManager (which should have them already cached)
16965
16966 2005-05-08  Dan Williams  <dcbw@redhat.com>
16967
16968         * src/NetworkManagerPolicy.c
16969                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16970                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16971                         fix a situation where NM is told to terminate and the device stops activation,
16972                         but the main thread isn't aware of that because it would never have run
16973                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16974                         had already quit.
16975
16976         * src/NetworkManagerDevice.c
16977                 - (nm_device_probe_wired_link_state): cosmetic fixes
16978                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16979                         we've failed to activate or been canceled.
16980                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16981
16982 2005-05-08  Dan Williams  <dcbw@redhat.com>
16983
16984         * src/NetworkManagerWireless.c
16985                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16986                         value of WEXT quality structures, and add a debug message when we cannot
16987                         determine any quality % at all
16988
16989 2005-05-08  Dan Williams  <dcbw@redhat.com>
16990
16991         * src/dhcp-manager/nm-dhcp-manager.c
16992                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16993                         it goes down.
16994
16995 2005-05-06  Dan Williams  <dcbw@redhat.com>
16996
16997         * gnome/applet/applet-dbus-device.c
16998           gnome/applet/applet-dbus-info.c
16999           gnome/applet/applet-dbus.c
17000           gnome/applet/applet.c
17001           gnome/applet/applet.h
17002                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17003
17004         * gnome/applet/applet-dbus.c
17005                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17006                         so we notice when wired device's carriers come back on.  Should
17007                         fix issue with wired devices being grayed out even if the cable
17008                         is in, for devices that support carrier detection.
17009
17010         * gnome/applet/applet.c
17011                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17012                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17013                         tooltip message
17014                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17015                         Fix situation where applet wouldn't respond to menu selections
17016
17017         * src/NetworkManager.c
17018           src/NetworkManagerDevice.c
17019           src/NetworkManagerDbus.c
17020           src/NetworkManagerDbus.h
17021                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17022
17023         * src/NetworkManagerDbus.c
17024                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17025                         Remove, no longer used or relevant
17026                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17027                 - (nm_dbus_schedule_device_status_change_signal): add
17028
17029         * src/NetworkManagerDevice.c
17030                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17031                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17032                         ie don't deactivate them unless explicitly told to by the user.  Also send
17033                         CARRIER_OFF / CARRIER_ON signals when link changes
17034                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17035                         Don't print error message when device is no longer around
17036                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17037                         not just during activation
17038
17039         * src/NetworkManagerPolicy.c
17040                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17041                         auto-device-selection.
17042                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17043
17044         * src/NetworkManagerSystem.c
17045                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17046                         is no longer present (Bill Moss)
17047
17048         * src/backends/shvar.c
17049                 - (svOpenFile): Open read-only to make SELinux happy
17050
17051         * src/backends/NetworkManagerRedHat.c
17052                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17053                         the path to the ifcfg-* files
17054
17055 2005-05-05  Dan Williams  <dcbw@redhat.com>
17056
17057         * Expose activation stages to NetworkManager clients, like the applet
17058         * Add Diana's progress icons to the applet, cued off NM activation stage
17059         * Use more descriptive tooltips, cued off NM activation stage
17060
17061 2005-05-05  Ray Strode  <rstrode@redhat.com>
17062
17063         * src/nm-netlink-monitor.c:
17064                 - Use clear_event_source instead of g_nullify_pointer() again.
17065
17066 2005-05-05  Dan Williams  <dcbw@redhat.com>
17067
17068         * gnome/applet/main.c
17069                 - Fix session management so the applet is actually managed now
17070
17071         * gnome/applet/passphrase-dialog.c
17072                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17073
17074 2005-05-05  Dan Williams  <dcbw@redhat.com>
17075
17076         Patch from Bill Moss:
17077         * gnome/libnm_glib/libnm_glib.c
17078                 - Fix for dbus-0.33
17079
17080 2005-05-05  Dan Williams  <dcbw@redhat.com>
17081
17082         Suggestion from Bill Moss:
17083         * src/NetworkManagerSystem.c
17084                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17085
17086
17087         * src/NetworkManager.c
17088                 - (nm_data_free): move destruction of the various managers after
17089                         release of device list, because deactivating and freeing a device
17090                         requires at least the named manager
17091                 - (nm_poll_and_update_wireless_link_state):
17092                   (nm_device_link_activated):
17093                   (nm_device_link_deactivated):
17094                         don't grab the device list lock when actually updating device
17095                         link status or strength, since nm_device_set_link_active()
17096                         needs to call nm_get_active_device(), which also locks the device list.
17097
17098         * src/NetworkManagerDevice.c
17099                 - (nm_device_set_link_active): if a device's link switches from off->on,
17100                         and it's wired, and the active device is wireless (or there is no
17101                         active device), activate the new device whose link just came on
17102                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17103                         my only calling the link to the current ap "failed" when more than 2
17104                         consecutive link checks have failed
17105
17106 2005-05-04  Dan Williams  <dcbw@redhat.com>
17107
17108         * src/NetworkManagerDevice.c
17109                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17110                         but let link_to_specific_ap() do the locking where it needs
17111
17112         Patch from Bill Moss:
17113         * src/NetworkManagerSystem.c
17114                 - Set MTU of VPN devices to 1412
17115
17116 2005-05-04  Dan Williams  <dcbw@redhat.com>
17117
17118         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17119
17120         * Fix some holes in device activation and retaining the currently connected
17121                 access point
17122
17123 2005-05-03  Dan Williams  <dcbw@redhat.com>
17124
17125         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17126           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17127           means you need dhcdbd, which you can get here (get the latest one):
17128
17129                 http://people.redhat.com/jvdias/dhcdbd/
17130
17131           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17132           interface as dhcdbd.
17133
17134         * Rewrite device activation to facilitate the new DHCP infrastructure and
17135           future improvements.  Its now "activation request" based, ie there is a single
17136           activation request composed of the device, access point, and other info which
17137           follows the entire activation process.  There are 5 stages of the activation
17138           process which correspond to:
17139
17140                 1) Device preparation
17141                 2) Device configuration (bring it up, set ESSID/Key/etc)
17142                 3) IP Config Start (fire off DHCP if we're using it)
17143                 4) IP Config Get (grab config from DHCP or static config files)
17144                 5) IP Config Commit (set device's IP address, DNS, etc)
17145
17146           Note that there is no longer a "scanning" step, since the access point must
17147           be known _before_ activation starts.  If the access point drops out or does
17148           not exist for some reason, the entire activation process fails and must be
17149           restarted for a different access point or device.
17150
17151         Patch from Bill Moss:
17152         * gnome/applet/applet.c
17153                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17154
17155 2005-04-27  Dan Williams  <dcbw@redhat.com>
17156
17157         * gnome/applet/applet-dbus-vpn.c
17158           gnome/applet/applet.c
17159           gnome/applet/applet.h
17160                 - Fix up active VPN handling so that we reliably know when a VPN
17161                         connection has been deactivated
17162
17163         * src/vpn-manager/nm-vpn-manager.c
17164                 - Remove duplicate VPNConnectionChange signal
17165
17166 2005-04-27  Dan Williams  <dcbw@redhat.com>
17167
17168         Patch from Peter Jones:
17169         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17170
17171         Patch from Bill Moss:
17172         * src/NetworkManagerSystem.c
17173                 - Fix checking of return value from ioctl()
17174
17175 2005-04-27  Dan Williams  <dcbw@redhat.com>
17176
17177         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17178         * Warn and exit if icons cannot be found
17179
17180 2005-04-27  Dan Williams  <dcbw@redhat.com>
17181
17182         Patch from Tom Parker:
17183         * Update debian backend
17184
17185 2005-04-27  Dan Williams  <dcbw@redhat.com>
17186
17187         * Merge the applet and the info-daemon, and move the converged
17188                 applet under gnome/applet
17189         * Move libnm_glib to gnome/libnm_glib
17190         * Convert most dbus calls between the applet, info-daemon, and NM
17191                 into async calls
17192         * Fix a few things valgrind noticed
17193         * Make NM broadcast state more reliably
17194
17195 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17196
17197         * configure.in: Added ne in ALL_LINGUAS
17198
17199 2005-04-15  Dan Williams  <dcbw@redhat.com>
17200
17201         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17202                 code for dbus 0.2x versions
17203
17204 2005-04-15  Dan Williams  <dcbw@redhat.com>
17205
17206         Patches from Tom Parker:
17207         - Fix memleaks
17208         - Join with worker thread rather than polling for its exit
17209
17210         Patch from Bill Moss:
17211         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17212
17213 2005-04-15  Dan Williams  <dcbw@redhat.com>
17214
17215         - Fixes to pass 'make distcheck'
17216
17217 2005-04-15  Dan Williams  <dcbw@redhat.com>
17218
17219         Initial VPN Support
17220                 - supports 'vpnc'
17221                 - reworks device IP configuration, backend files have changed and will need
17222                         to be updated for all distributions.  I will try to do what I can for
17223                         them, but I cannot test them.
17224
17225         - Move named directory to src/named-manager
17226         - Make backends directory self-contained
17227
17228 2005-04-06  Dan Williams  <dcbw@redhat.com>
17229
17230         Add debug code for socket/file descriptor leaks.  We register every socket
17231         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17232         list of sockets that we forgot to close on shutdown.  This also consolidates
17233         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17234
17235 2005-04-06  Dan Williams  <dcbw@redhat.com>
17236
17237         * dhcpcd/dhcpcd.c
17238                 - (dhcp_interface_free): fix a file descriptor leak that may have
17239                         caused network drivers to not unload due to refcounts > 0
17240
17241 2005-04-04  Dan Williams  <dcbw@redhat.com>
17242
17243         * panel-applet/NMWirelessAppletDbus.c
17244                 - (nmwa_dbus_call_nm_method): remove some commented code
17245
17246         * src/NetworkManagerAPList.[ch]
17247                 - (nm_ap_list_remove_ap_by_essid): new function
17248
17249         * src/NetworkManagerDevice.c
17250                 - (nm_device_wireless_force_use): remove access points from the ignore list
17251                         when the user forces them
17252
17253         * src/nm-dbus-device.c
17254                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17255
17256 2005-04-04  Dan Williams  <dcbw@redhat.com>
17257
17258         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17259
17260 2005-04-04  Dan Williams  <dcbw@redhat.com>
17261
17262         * src/NetworkManagerDevice.c:
17263                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17264                         of only erroring after the second consecutive scan times out.  Also
17265                         don't exit when the card requires more time than we can give it, just
17266                         log the event and continue.
17267
17268 2005-04-01  Steve Murphy  <murf@e-tools.com>
17269
17270         * configure.in: Added "rw" to ALL_LINGUAS.
17271
17272 2005-04-01  Dan Williams <dcbw@redhat.com>
17273
17274         Perform scans during device activation, if needed.  Both activation 
17275         and scans run in the same GMainContext.  Therefore, if an access point
17276         is not found by the time the device starts activation, it will not
17277         be available until after activation.  We now try to scan during
17278         activation (in nm_wa_test) every 15s so that all available access
17279         points are more likely to be found and available for the activation
17280         procedure.
17281
17282         Also change nm_wireless_link_state_handle() to only update the "best"
17283         AP if we are not forcing a device and if we are not about to change
17284         state.  This attempts to work around a race when forcing a device,
17285         where the forced AP would get cleared out too soon by the link state
17286         checking timeout in the main thread, and the activation attempt with
17287         that AP would fail.
17288
17289 2005-04-01  Dan Williams <dcbw@redhat.com>
17290
17291         * po/POTFILES.in
17292                 - Update with new translatables
17293
17294 2005-03-31  Dan Williams <dcbw@redhat.com>
17295
17296         * panel-applet/NMWirelessAppletDbus.c
17297                 - Fix device names now that hal has changed device parenting for
17298                         network devices.
17299
17300 2005-03-31  Dan Williams <dcbw@redhat.com>
17301
17302         Tighten up handling of wireless devices that don't support wireless
17303         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17304         hadn't been doing pseudo-scanning for a while either and would just
17305         spin waiting for an access point.  They are now manual devices where
17306         the user must choose the access point from the menu every time.  All
17307         "allowed" access points are listed in the applet's menu regardless
17308         of whether or not they can be seen by the card, since it can't scan
17309         anyway.
17310
17311         * src/NetworkManager.c
17312                 - (nm_wireless_link_state_handle): new function, but only update
17313                         the "best" ap for non-scanning devices when its not activating,
17314                         and when no device is being forced on the card
17315                 - (nm_link_state_monitor): split wireless link state handling out
17316                         into separate function
17317
17318         * src/NetworkManagerDevice.c
17319                 - (nm_device_copy_allowed_to_dev_list): new function
17320                 - (nm_device_new): populate non-scanning cards' AP lists with
17321                         access points from the "allowed" list
17322                 - (nm_device_new): don't start a scanning timeout for devices that
17323                         can't scan
17324                 - (nm_device_activation_schedule_finish): new parameter, should be
17325                         the AP that failed to be connected to, pass it on to the
17326                         activation finish function in NetworkManagerPolicy.c
17327                 - (nm_device_activate_wireless): don't ever try to get a new AP
17328                         for non-scanning devices, just fail.  The user must choose
17329                         a new access point manually.
17330                 - (nm_device_activate): grab the AP that failed connection and
17331                         pass it on
17332                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17333                         a link to it, user must manually choose a new one
17334                 - (nm_device_do_pseudo_scan): remove function
17335                 - (nm_device_wireless_process_scan_results): remove bits for non-
17336                         scanning cards since they never get here
17337                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17338                         and fake the scan list for test devices a bit earlier
17339
17340         * src/NetworkManagerPolicy.c
17341                 - (nm_policy_activation_finish): use the failed_ap that we get
17342                         passed rather than getting the best_ap from the card, which
17343                         may have changed since we were scheduled
17344                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17345                         update their scan list directly from the allowed list when
17346                         we get updates to the allowed list from NetworkManagerInfo
17347
17348         * src/NetworkManagerPolicy.h
17349                 - New member for failed access point in NMActivationResult
17350
17351   -------------------------------------
17352
17353         Driver Notification patch: notifies the user when their driver
17354                 sucks.  Gives them the option to ignore further insertions
17355                 of the card that has the sucky driver.
17356
17357         * NetworkManager.h
17358                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17359                         enum and replace it with NO_CARRIER_DETECT and
17360                         NO_WIRELESS_SCAN
17361
17362         * panel-applet/NMWirelessApplet.[ch]
17363                 - Merge essid.glade -> wireless-applet.glade
17364                 - Implement the "Your driver sucks" notification dialog
17365
17366         * panel-applet/NMWirelessAppletDbus.c
17367                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17368                 - Grab hardware address for each device from NM too
17369                 - Check whether the driver for each device sucks or not whenever
17370                         a new device is noticed
17371
17372         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17373                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17374
17375         * src/NetworkManager.c
17376                 - Fix a double-unref on device removal
17377
17378         * src/NetworkManagerUtils.c
17379                 - Set appropriate driver support level on a device that doesn't
17380                         support scanning or carrier detection
17381
17382         * src/nm-dbus-device.c
17383                 - New "getHWAddress" dbus method on devices
17384                 - getSupportsCarrierDetect -> getDriverSupportLevel
17385
17386 2005-03-31  Dan Williams <dcbw@redhat.com>
17387
17388         * src/NetworkManagerDevice.c
17389                 - (nm_device_wireless_scan): Fix leak of scan results in some
17390                         instances
17391
17392 2005-03-29  Dan Williams <dcbw@redhat.com>
17393
17394         * src/NetworkManager.c
17395                 - (nm_poll_and_update_wireless_link_state): make code less indented
17396
17397         Patch from Bill Moss:
17398         * src/NetworkManager.c
17399                 - (nm_device_update_link_state): Update signal strength on wireless
17400                         devices every time we update link state too.
17401
17402 2005-03-29  Dan Williams <dcbw@redhat.com>
17403
17404         * src/NetworkManagerDevice.c
17405                 - (nm_device_set_essid): Work around Orinoco cards which need
17406                         extra time after setting the ESSID
17407
17408 2005-03-29  Dan Williams <dcbw@redhat.com>
17409
17410         * src/NetworkManagerDevice.c
17411                 - Merge one more bit of Peter Jones' completion patch
17412
17413 2005-03-29  Dan Williams <dcbw@redhat.com>
17414
17415         * src/NetworkManagerDevice.c
17416                 - (nm_device_force_use): Fix possible segfault
17417
17418 2005-03-29  Dan Williams <dcbw@redhat.com>
17419
17420         * src/NetworkManagerDevice.c
17421                 - Use iw_get_ext() where we should rather than iw_set_ext()
17422
17423 2005-03-29  Dan Williams <dcbw@redhat.com>
17424
17425         * src/NetworkManagerDevice.c
17426                 - (nm_device_set_up_down): remove check for unsupported devices
17427                         that caused NM to not bring devices up when they were
17428                         added to the device list.
17429
17430 2005-03-28  Dan Williams <dcbw@redhat.com>
17431
17432         * src/NetworkManagerDevice.c
17433                 - (mdio_read): Fix two bugs that caused all devices to fail
17434                         the MII carrier detection support checks
17435
17436 2005-03-26  Dan Williams <dcbw@redhat.com>
17437
17438         * src/NetworkManagerDevice.c
17439                 - (nm_device_wireless_scan): Remove duplicated scanning code
17440
17441 2005-03-25  Dan Williams <dcbw@redhat.com>
17442
17443         * panel-applet/NMWirelessApplet.c
17444                 - (nmwa_about_cb): Add some more contributors
17445                 - (nmwa_update_state): show the applet when there's no connection
17446                 - Enable the "Stop/Resume all wireless devices" option in the
17447                         context menu
17448                 - New "no connection" icon
17449
17450         * src/NetworkManager.c
17451                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17452                         wireless is disabled or we're asleep
17453
17454         * src/NetworkManagerDHCP.c
17455                 - Remove trailing "\n" on debug messages
17456
17457         * src/NetworkManagerDbus.c
17458                 - (nm_dbus_network_status_from_data): new state "asleep"
17459
17460         * src/NetworkManagerDevice.c
17461                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17462                         latency and wait times for most operations
17463                 - (nm_device_wireless_scan): Don't scan when asleep
17464
17465         * src/NetworkManagerPolicy.c
17466                 - (nm_policy_get_best_device): return no device when asleep
17467                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17468                         for all wireless devices on update, not just active device
17469
17470         * src/NetworkManagerUtils.c
17471                 - Merge Peter Jones' "completion" patch
17472
17473         * src/nm-dbus-nm.c
17474                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17475                         we're told to disable them
17476                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17477
17478         * utils/nm-utils.h
17479                 - New variants of the warn/info/error/debug print functions that can take
17480                         variables rather than static strings
17481
17482 2005-03-24  Dan Williams <dcbw@redhat.com>
17483
17484         * src/NetworkManagerUtils.c
17485                 - (nm_get_device_driver_name): driver names are now on the parents of
17486                         "Network Interface" objects, so look for them there
17487
17488 2005-03-24  Dan Williams <dcbw@redhat.com>
17489
17490         * test/nmtest.c
17491                 - Escape some forgotten object paths before we shove them through dbus
17492
17493 2005-03-24  Dan Williams <dcbw@redhat.com>
17494
17495         * dhcpcd/dhcpcd.[ch]
17496           src/NetworkManagerDHCP.c
17497                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17498                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17499
17500         * src/NetworkManagerDbus.c
17501                 - spacing cleanups
17502
17503         * src/nm-dbus-dhcp.c
17504                 - Make the API suck less.  There is now only 1 type of each function,
17505                         ie only "getInteger" and no longer also "getIntegerv".  All types
17506                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17507                         that will never have more than 1 element.  This should simplify
17508                         things greatly.
17509
17510         * test/nm-dhcp-opt-test.c
17511                 - Make the tool not segfault
17512                 - adapt to new DHCP Options API
17513
17514 2005-03-22  Dan Williams <dcbw@redhat.com>
17515
17516         * src/NetworkManager.c
17517                 - (nm_wired_link_deactivated): actually ignore netlink events from
17518                         wireless devices.
17519
17520 2005-03-22  Dan Williams <dcbw@redhat.com>
17521
17522         * src/NetworkManager.c
17523                 - (nm_wired_link_activated): actually ignore netlink events from
17524                         wireless devices.
17525
17526 2005-03-17  Dan Williams <dcbw@redhat.com>
17527
17528         Patch from Tom Parker:
17529         * src/nm-netlink-monitor.c
17530                 - Include unistd.h
17531         * info-daemon/NetworkManagerInfoDbus.c
17532                 - (nmi_dbus_update_network_auth_method): free GConf values
17533
17534         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17535         * src/NetworkManagerDevice.c
17536                 - (nm_device_set_wireless_config): wait for successful
17537                         association longer for some cards (Atheros a/b/g)
17538
17539 2005-03-15  Ray Strode  <rstrode@redhat.com>
17540
17541         * src/NetworkManager.c:
17542         (sigterm_pipe_handler):
17543         remove bogus FIXME
17544
17545 2005-03-15  Ray Strode  <rstrode@redhat.com>
17546
17547         * src/NetworkManagerDbus.c:
17548         Fix some sign weirdness that gcc4 doesn't like,
17549         and add a header file so PPC can hopefully find
17550         SIGTRAP
17551
17552 2005-03-14  Ray Strode  <rstrode@redhat.com>
17553         
17554         Fourth (probably working) cut at porting to
17555         dbus 0.30 api and new hal. This cut adds
17556         some new logging macros to make debugging
17557         easier.
17558
17559         * dispatcher-daemon/NetworkManagerDispatcher.c:
17560         * info-daemon/NetworkmanagerInfo.c:
17561         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17562         * info-daemon/NetworkManagerInfoVPN.c:
17563         * src/NetworkManager.c:
17564         * src/NetworkManagerAP.c:
17565         * src/NetworkManagerAPList.c:
17566         * src/NetworkManagerDHCP.c:
17567         * src/NetworkManagerDbus.c:
17568         * src/NetworkManagerDevice.c:
17569         * src/NetworkManagerPolicy.c:
17570         * src/NetworkManagerSystem.c:
17571         * src/NetworkManagerUtils.c:
17572         * src/NetworkManagerWireless.c:
17573         * src/autoip.c:
17574         * src/nm-dbus-nm.c:
17575         * src/backends/NetworkManagerDebian.c:
17576         * src/backends/NetworkManagerGentoo.c:
17577         * src/backends/NetworkManagerRedHat.c:
17578         * src/backends/NetworkManagerSlackware.c:
17579         use new logging macros.
17580
17581         * dispatcher-daemon/NetworkManagerDispatcher.c:
17582         (nmd_dbus_filter): s/dbus_free/g_free/
17583
17584         * info-daemon/Makefile.am: link in utils library.
17585         * info-daemon/NetworkmanagerInfo.c: use new logging 
17586         macros.
17587         (nmi_dbus_get_network): don't assume enumerations
17588         are 32-bit.
17589         (nmi_dbus_nmi_message_handler): don't free what 
17590         doesn't belong to us.
17591
17592         * libnm_glib/libnm_glib.c:
17593         (libnm_glib_get_nm_status): 
17594         (libnm_glib_init): don't free what doesn't
17595         belong to us.
17596         (libnm_glib_dbus): strdup result, so it doesn't get
17597         lost when message is unref'd.
17598
17599         * panel-applet/NMWirelessAppletDbus.c:
17600         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17601
17602         * src/NetworkManager.c:
17603         (nm_monitor_wired_link_state): request initial status 
17604         dump of all cards when we start up, instead of relying
17605         on /sys/.../carrier.
17606         (nm_info_handler), (nm_set_up_log_handlers): 
17607         log handlers to specify what syslog priorites 
17608         the logging macros default to.
17609
17610         * src/NetworkManagerAPList.c: 
17611         (nm_ap_list_populate_from_nmi):
17612         s/dbus_free_string_array/g_strfreev/
17613
17614         * src/NetworkManagerDbus.c:
17615         (nm_dbus_get_network_object):
17616         validate d-bus message argument types.
17617         Advance message iterator after reading argument,
17618         prepend instead of append to GSList.
17619
17620         * src/NetworkManagerDevice.c:
17621         (nm_device_probe_wired_link_status):
17622         remove redundant /sys in /sys path. remove wrong
17623         contents == NULL means has carrier assumption.
17624
17625         * src/nm-netlink-monitor.c 
17626         (nm_netlink_monitor_request_status): implement
17627         function to ask kernel to dump interface link
17628         status over netlink socket.
17629
17630         * test/*.c: s/dbus_free/g_free/
17631
17632         * utils/nm-utils.h:
17633         (nm_print_backtrace): new macro to print backtrace.
17634         (nm_get_timestamp): new macro to get sub-second precise
17635         unix timestamp.
17636         (nm_info), (nm_debug), (nm_warning), (nm_error):
17637         new logging functions. nm_info just prints,
17638         nm_debug includes timestamp and function,
17639         nm_warning includes function, nm_error includes
17640         backtrace and sigtrap.
17641
17642 2005-03-11  Ray Strode  <rstrode@redhat.com>
17643
17644         Third (unfinished, partially working) cut at porting to 
17645         dbus 0.30 api and new hal.
17646
17647         * info-daemon/NetworkManagerInfoDbus.c:
17648                 don't free null arrays.
17649
17650         * panel-applet/NMWirelessAppletDbus.c: 
17651         * src/nm-dbus-device.c:
17652         * src/nm-dbus-net.c: 
17653         * src/NetworkManagerDbus.c: more 
17654         STRING -> OBJECT_PATH fun
17655         * src/NetworkManagerDevice.c:
17656         * src/NetworkManagerDevice.h:
17657         (rename nm_device_get_link_active): rename to 
17658         nm_device_has_active_link
17659         (nm_device_wireless_link_active): rename to
17660         nm_device_probe_wireless_link_state
17661         (nm_device_wired_link_active): rename to
17662         nm_device_probe_wired_link_state.  Rewrite to
17663         use carrier file since hal doesn't maintain
17664         link state anymore.
17665         (nm_device_update_link_active): rename to
17666         nm_device_update_link_state
17667         * src/NetworkManagerPolicy.c 
17668           (nm_policy_activation_finish): check for NULL
17669           MAC address.
17670
17671         * src/Makefile.am:
17672         * src/NetworkManagerMain.h: 
17673         * src/NetworkManager.c:
17674         * src/nm-netlink-monitor.c:
17675         * src/nm-netlink-monitor.h: New class to support
17676         monitoring wired ethernet link status, since HAL
17677         doesn't export that information anymore.
17678
17679 2005-03-09  Ray Strode  <rstrode@redhat.com>
17680
17681         Second (unfinished, unworking) cut at porting to 
17682         dbus 0.30 api.
17683
17684         * dispatcher-daemon/NetworkManagerDispatcher.c:
17685         * info-daemon/NetworkManagerInfoDbus.c:
17686         * panel-applet/NMWirelessAppletDbus.c:
17687         * src/NetworkManagerDbusUtils.c:
17688         * src/NetworkManagerDbusUtils.h:
17689         * src/nm-dbus-device.c:
17690         * src/nm-dbus-nm.c:
17691         * test/nmtest.c: support dbus "object path" type
17692
17693         * configure.in: 
17694         * Makefile.am:
17695         * info-daemon/Makefile.am:
17696         * libnm_glib/Makefile.am:
17697         * panel-applet/Makefile.am:
17698         * dispatcher-daemon/Makefile.am
17699         * src/Makefile.am:
17700         * test/Makefile.am:
17701         * utils/Makefile.am: 
17702         * utils/nm-utils.c: 
17703         * utils/nm-utils.h: new utils static lib
17704
17705 2005-03-07  Ray Strode  <rstrode@redhat.com>
17706
17707         * info-daemon/NetworkManagerInfoDbus.c:
17708         * libnm_glib/libnm_glib.c:
17709         * panel-applet/NMWirelessAppletDbus.c:
17710         * src/NetworkManager.c:
17711         * src/NetworkManagerDbus.c:
17712         * src/NetworkManagerDevice.c:
17713         * src/NetworkManagerUtils.c:
17714         * src/nm-dbus-device.c:
17715         * src/nm-dbus-dhcp.c:
17716         * src/nm-dbus-net.c:
17717         * src/nm-dbus-nm.c:
17718         * test/nminfotest.c:
17719         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17720
17721 2005-03-04  Dan Williams  <dcbw@redhat.com>
17722
17723         * configure.in
17724                 - Mark HEAD as 0.4
17725
17726 2005-03-04  Dan Williams  <dcbw@redhat.com>
17727
17728         Patch from Peter Jones:
17729         - Make stuff work with gcc 4.0
17730
17731 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17732
17733         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17734
17735 2005-02-27  Jim Huang  <jserv@kaffe.org>
17736
17737         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17738
17739 2005-02-27  Dan Williams  <dcbw@redhat.com>
17740
17741         Patch from Bill Moss:
17742         * panel-applet/NMWirelessAppletDbus.c
17743                 - Make sure strength for current access point is up-to-date when we
17744                         update the gui data model
17745
17746 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17747
17748         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17749
17750 2005-02-27  Dan Williams  <dcbw@redhat.com>
17751
17752         * src/backends/NetworkManagerRedHat.c
17753                 - (nm_system_init): Kill any dhclient processes lying around as well
17754                         as stopping 'nifd' if its already been started.  NetworkManager
17755                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17756
17757 2005-02-27  Dan Williams  <dcbw@redhat.com>
17758
17759         * panel-applet/NMWirelessApplet.c
17760                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17761                         dbus data model, not the GUI data model twice.
17762
17763 2005-02-27  Dan Williams  <dcbw@redhat.com>
17764
17765         * panel-applet/NMWirelessApplet.[ch]
17766           panel-applet/NMWirelessAppletDbus.[ch]
17767                 - Move to incremental network updates.  Instead of blowing away our list
17768                         of devices every time we get a signal from NetworkManager, we now
17769                         incrementally add/remove networks when NetworkManager notifies us that
17770                         a new network has appeared or disappered.  Strength updates now happen
17771                         on-the-fly for each access point as well.  There are now two copies of
17772                         data from NetworkManager: one for the dbus side, and one for the gui side.
17773                         When the dbus side data is modified, it is copied over to the gui side
17774                         so we don't have to hold the data_mutex for long periods of time (and
17775                         therefore block animation of the applet's icon).
17776                 - Clean up some memleaks too
17777
17778         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17779                 - Minor code beautification
17780
17781         * src/NetworkManagerAPList.c
17782                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17783                         completely new and whether or not an existing one's strength was updated.
17784                         Try to fix multiple access points and signal strength by using the highest
17785                         signal strength in each scan for any given ESSID.
17786
17787         * src/NetworkManagerDbus.[ch]
17788                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17789                         wireless networks; now we have only WirelessNetworkUpdate which includes
17790                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17791                 - Kill usage of DbusMessageIter
17792
17793         * src/NetworkManagerDevice.c
17794                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17795                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17796                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17797                         currently associated with from the network list.
17798                 - Update for new signals during scan, send out Appeared, Disappeared, or
17799                         StrengthChanged when necessary.
17800
17801 2005-02-25  Dan Williams  <dcbw@redhat.com>
17802
17803         * README
17804                 - Line break the README
17805
17806 2005-02-25  Dan Williams  <dcbw@redhat.com>
17807
17808         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17809                 - Remove usage of gtk_window_set_default_size()
17810
17811         * panel-applet/essid.glade
17812                 - Stick default size here
17813                 - Add in random crap that current glade wants to add in now
17814
17815 2005-02-25  Dan Williams  <dcbw@redhat.com>
17816
17817         * src/backends/NetworkManagerRedHat.c
17818                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17819                         and that we actually tell nscd to reload the hosts cache when it changes
17820
17821 2005-02-25  Dan Williams  <dcbw@redhat.com>
17822
17823         * info-daemon/NetworkManagerInfoDbus.c
17824                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17825
17826         * test/nminfotest.c
17827                 - Whack usage of DbusMessageIter
17828                 - Clean up DbusError and DbusMessage handling and freeing
17829                 - Remove unused unregister handler
17830
17831         * test/nmtest.c
17832                 - Whack usage of DbusMessageIter
17833
17834         * test/nmtestdevices.c
17835                 - Whack usage of DbusMessageIter
17836
17837 2005-02-25  Dan Williams  <dcbw@redhat.com>
17838
17839         * NetworkManager.h
17840                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17841                         signal
17842
17843 2005-02-25  Dan Williams  <dcbw@redhat.com>
17844
17845         * named/nm-named-manager.c
17846                 - Ensure that pid and watch variables for child named process get cleared out
17847                         when the child goes away.
17848
17849 2005-02-22  Dan Williams  <dcbw@redhat.com>
17850
17851         * src/NetworkManagerPolicy.c
17852                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17853                         and NULL out data->active_device so that we have to choose another one.
17854                         This may make NetworkManager keep attempting to connect to a wired network
17855                         if it fails, but if it keeps failing the wired network has more problems than
17856                         just NetworkManager.
17857
17858         * src/backends/NetworkManagerRedHat.c
17859                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17860                         is already running
17861
17862         * named/nm-named-manager.c
17863                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17864                         named so that the distro can flush whatever name service caching
17865                         daemon it uses
17866
17867 2005-02-21  Dan Williams  <dcbw@redhat.com>
17868
17869         * src/NetworkManagerDHCP.[ch]
17870                 - (nm_device_dhcp_remove_timeouts): new function
17871
17872         * src/NetworkManagerDevice.c
17873                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17874                         remove the DHCP timeouts.
17875
17876 2005-02-21  Dan Williams  <dcbw@redhat.com>
17877
17878         * panel-applet/NMWirelessApplet.[ch]
17879           panel-applet/menu-info.[ch]
17880                 - Give the panel applet some major love: menu items are no longer
17881                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17882                         This allows the applet to actually reflect theme changes correctly,
17883                         since themeing of subclassed items in GTK _sucks_.
17884
17885 2005-02-18  Dan Williams  <dcbw@redhat.com>
17886
17887         * libnm_glib/libnm_glib.[ch]
17888           test/libnm_glib_test.c
17889                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17890                         and its data, and doesn't have to free the callback data anymore
17891
17892 2005-02-18  Dan Williams  <dcbw@redhat.com>
17893
17894         * panel-applet/NMWirelessApplet.c
17895                 - Revert 2005-02-18 William Jon McCann fix for standard
17896                         copyright string until it passes 'make distcheck'.
17897                         With standard copyright string, xgettext complains
17898                         about "Non-ASCII string at ...".
17899
17900 2005-02-18  Dan Williams  <dcbw@redhat.com>
17901
17902         * panel-applet/essid.glade
17903           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17904                 - Correct spelling of "adaptor"->"adapter"
17905
17906 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17907
17908         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17909         (nmwa_about_cb): Use standard copyright string.  Update comment
17910         text to reflect that it is a notification area applet.  Remove
17911         leading newline in authors list.
17912         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17913         instead of on parent menu item activation.  Fixes #167550.
17914
17915 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17916
17917         * panel-applet/essid.glade: Capitalize items as per HIG.
17918           Fixes #167632
17919
17920 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17921
17922         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17923         files for GTK 2.4 or lower, since now public in GTK 2.6.
17924
17925         * panel-applet/essid.glade: Don't specify window size.
17926         
17927 2005-02-17  Dan Williams  <dcbw@redhat.com>
17928
17929         Caught by Bill Moss:
17930         * dhcpcd/client.c
17931                 - Time remaining for DHCP transaction calculation was incorrectly
17932                         inside a #ifdef DEBUG
17933
17934 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17935
17936         * configure.in: Added fr (French) to ALL_LINGUAS.
17937
17938 2005-02-14  Dan Williams  <dcbw@redhat.com>
17939
17940         * src/NetworkManagerDHCP.c
17941                 - (set_domain_searches): Fix free of invalid pointer
17942
17943 2005-02-14  Dan Williams  <dcbw@redhat.com>
17944
17945         Patch from Peter Jones:
17946         * dhcpcd/client.c
17947                 - Ensure we return RET_DHCP_CEASED everywhere we should
17948         * dhcpcd/udpipgen.c
17949                 - Use faster TOS for IP packets
17950                 - Don't set ip_id since we're UDP
17951
17952         Patch from Tomislav Vujec:
17953         * src/nm-dbus-dhcp.c
17954           test/nm-dhcp-opt-test.c
17955                 - Clean up warnings to enable cvs tree compilation.
17956
17957 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17958
17959         * configure.in
17960           po/hr.po
17961                 - Add the Croatian locale.
17962
17963 2005-02-14  Colin Walters  <walters@verbum.org>
17964
17965         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17966         list of domains to search.
17967         
17968         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17969
17970 2005-02-13  Dan Williams  <dcbw@redhat.com>
17971
17972         * dhcpcd/client.c
17973                 - Debug output cleanups of DHCP option printing and parsing.
17974
17975 2005-02-13  Dan Williams  <dcbw@redhat.com>
17976
17977         Patch from Dan Reed:  DHCP options D-BUS API
17978                 Exposes the DHCP options that a device receives to clients over D-BUS.
17979
17980         * configure.in
17981                 - A few cleanups
17982
17983         * dhcpcd/client.h
17984                 - Correct names, option length, and types for DHCP options
17985
17986         * dhcpcd/dhcpcd.[ch]
17987                 - Clarify function names that access DHCP options & data
17988
17989         * src/NetworkManagerDHCP.c
17990                 - Use new DHCP data access functions
17991
17992         * src/NetworkManagerDbus.c
17993                 - Message handler for DHCP functions
17994
17995         * src/nm-dbus-dhcp.[ch] (new)
17996                 - DHCP dbus methods
17997
17998         * test/nm-dhcp-opt-test.c
17999                 - Test DHCP D-BUS API and return all present DHCP options
18000
18001 2005-02-12  Dan Williams  <dcbw@redhat.com>
18002
18003         * test/Makefile.am
18004           test/nmclienttest.c
18005           test/nmtest.c
18006                 - Move nmclienttest.c -> nmtest.c
18007
18008 2005-02-12  Dan Williams  <dcbw@redhat.com>
18009
18010         * dhcpcd/buildmsg.c
18011                 - Pad DHCP packets until they are at least 300 bytes in size.
18012
18013 2005-02-11  Dan Williams  <dcbw@redhat.com>
18014
18015         * dhcpcd/client.c
18016                 - (dhcp_init): only print out client ID and class ID if they are specified
18017
18018         * src/NetworkManagerDbus.[ch]
18019           src/nm-dbus-nm.[ch]
18020           src/nm-dbus-device.[ch]
18021           src/nm-dbus-net.[ch]
18022                 - Move NM, Device, and Net functions to separate files and use the
18023                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18024                         method dispatching
18025
18026         * src/NetworkManagerDbusUtils.c
18027                 - Add new validate_method called before each dispatch (if present)
18028                         that can validate the method call
18029
18030         * src/NetworkManagerWireless.c
18031                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18032                         levels never to be evaluated
18033
18034         Patch from j@bootlab.org
18035         * src/NetworkManagerDevice.c
18036                 - Add typedef for "u64"
18037
18038         * src/backends/NetworkManagerDebian.c
18039                 - Copy in Dave Woodhouse's fixes for IPv6
18040
18041 2005-02-11  Dan Williams  <dcbw@redhat.com>
18042
18043         Patch from Dave Woodhouse for IPv6:
18044         * src/NetworkManagerUtils.c
18045                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18046                         and multicast addresses
18047
18048         * src/NetworkManagerDevice.c
18049                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18050                         after bringing up a card.
18051
18052 2005-02-10  Dan Williams  <dcbw@redhat.com>
18053
18054         Patch from Dave Woodhouse:
18055         * src/NetworkManagerSystem.h
18056           src/backends/NetworkManagerDebian.c
18057           src/backends/NetworkManagerGentoo.c
18058           src/backends/NetworkManagerSlackware.c
18059                 - New nm_system_device_add_ip6_link_address() function to add link-local
18060                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18061
18062         * src/backends/NetworkManagerRedHat.c
18063                 - (nm_system_device_add_ip6_link_address): implement
18064                 - (nm_system_device_flush_addresses): revert to previous behavior of
18065                         flushing all addresses
18066
18067 2005-02-10  Dan Williams  <dcbw@redhat.com>
18068
18069         Patch from Tom Parker:
18070         * src/NetworkManagerDevice.c
18071                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18072                         mii.h headers are broken, and instead use our own typedefs
18073
18074 2005-02-10  Dan Williams  <dcbw@redhat.com>
18075
18076         * dhcpcd/buildmsg.c
18077                 - (fill_host_and_class_id): only fill in client and class IDs if
18078                         they are set by callers.
18079
18080         * dhcpcd/client.c
18081                 - (class_id_setup): don't autogenerate a class ID, only use one
18082                         we're given, if any.
18083                 - (client_id_setup): don't autogenerate a client ID, only use one
18084                         we're given, if any.
18085
18086         * dhcpcd/dhcpcd.c
18087                 - (dhcp_interface_init): ensure that client options are correctly
18088                         NULL terminated
18089
18090         * src/NetworkManagerDHCP.c
18091                 - (nm_device_dhcp_request): pass hostname to dhcp library
18092
18093 2005-02-10  Dan Williams  <dcbw@redhat.com>
18094
18095         * dhcpcd/client.c
18096                 - #rh147661# Don't send kernel version in DHCP requests
18097
18098         * src/NetworkManagerSystem.h
18099           src/backends/NetworkManagerDebian.c
18100           src/backends/NetworkManagerGentoo.c
18101           src/backends/NetworkManagerRedHat.c
18102           src/backends/NetworkManagerSlackware.c
18103                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18104                         functions, they are no longer used anyway
18105
18106         * src/backends/NetworkManagerRedHat.c
18107                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18108                         addresses in an attempt to keep IPv6 local-scope addresses around
18109
18110 2005-02-10  Dan Williams  <dcbw@redhat.com>
18111
18112         * src/NetworkManager.c
18113                 - (nm_create_device_and_add_to_list): change the add message slightly
18114
18115         * src/NetworkManagerUtils.c
18116                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18117                         Return driver name to calling function
18118                 - (nm_get_driver_support_level): print out the driver a device is using
18119                         during the support check
18120
18121         Patch from Dave Woodhouse:
18122         * dhcpcd/udpipgen.c
18123                 - (in_cksum): copy last byte of odd-sized packets into a
18124                         'u_short' rather than a 'u_char', should fix wrong checksums
18125                         on big-endian platforms
18126
18127 2005-02-09  Dan Williams  <dcbw@redhat.com>
18128
18129         * Clean up usage of GSList objects and looping through their members
18130         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18131                 now.
18132         * Fix problem where even if scanning was turned off, card would still
18133                 cycle through frequencies.
18134
18135 2005-02-08  Dan Williams  <dcbw@redhat.com>
18136
18137         * panel-applet/NMWirelessApplet.c
18138                 - Fix for gtk 2.4
18139
18140 2005-02-08  Dan Williams  <dcbw@redhat.com>
18141
18142         Patch from Bill Moss
18143         * panel-applet/NMWirelessApplet.c
18144                 - Restore correct ESSID in tooltips
18145
18146 2005-02-07  Dan Williams  <dcbw@redhat.com>
18147
18148         * panel-applet/NMWirelessApplet.[ch]
18149                 - Add a context menu that contains:
18150                         Pause/Resume Wireless Scanning
18151                         Stop/Start All Wireless Devices
18152                         About...
18153                 - Grab active device strength off active device,
18154                         not its network
18155
18156         * panel-applet/NMWirelessAppletDbus.[ch]
18157                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18158                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18159                 - Update active device strength every 2 seconds, not every 1 second
18160
18161         * panel-applet/menu-info.c
18162                 - Only disable wired devices in the menu when they support carrier detection,
18163                         and don't currently have a link.  Non-carrier-detect devices will always
18164                         remain choosable
18165
18166         * src/Makefile.am
18167           src/NetworkManagerDbusUtils.[ch]
18168                 - Add new new dbus utils sources
18169
18170         * src/NetworkManager.c
18171                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18172                         with the boolean parameter
18173                 - Set scanning_enabled & wireless_enabled to TRUE
18174
18175         * src/NetworkManagerDbus.c
18176                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18177                 - Implement scanning & wireless enable/disable calls
18178                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18179
18180         * src/NetworkManagerDevice.c
18181                 - New link detection stuff again...
18182                         o  Create device's mainloop earlier (but don't run it earlier)
18183                         o  Hook up new carrier-detect support stuff
18184                         o  Add in the ethtool & mii support detection code
18185                 - Don't scan if scanning is disabled
18186
18187         * src/NetworkManagerPolicy.c
18188                 - Never automatically choose a device that doesn't support carrier detection
18189                 - Don't automatically choose a wireless device if wireless is disabled
18190
18191 2005-02-07  Dan Williams  <dcbw@redhat.com>
18192
18193         * libnm_glib/libnm_glib.c
18194                 - Small cleanup in element list iteration
18195
18196 2005-02-07  Dan Williams  <dcbw@redhat.com>
18197
18198         * src/NetworkManagerWireless.c
18199                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18200                         to be in line with the WEXT quality specification
18201
18202 2005-02-02  Dan Williams  <dcbw@redhat.com>
18203
18204         Patch from Nathan Fredrickson <nathan@silverorange.com>
18205         * Fix up compile for deprecation of libgnomeui
18206                 - Switch to <glib/gi18n.h> from <libintl.h>
18207                 - Remove <libgnomeui/libgnomeui.h> includes
18208                 - Use gtk_window_set_default_icon_from_file() rather than
18209                         gnome_window_set_default_icon_from_file()
18210
18211         * named/nm-named-manager.c
18212                 - (generate_named_conf): Fix return-nothing in non-void
18213                         function
18214
18215 2005-02-02  Dan Williams  <dcbw@redhat.com>
18216
18217         * Clean up unused variables and the like
18218
18219 2005-02-02  Dan Williams  <dcbw@redhat.com>
18220
18221         * src/NetworkManagerAPList.c
18222                 - (nm_ap_list_merge_scanned_ap): merge strength too
18223
18224         * src/NetworkManagerUtils.c
18225                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18226                         of locking issues by printing out prettier information than g_mutex_lock
18227                 - Print out names of mutexes registered with nm_register_mutex_desc()
18228                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18229                         us to seemingly block here for too long
18230
18231         * src/NetworkManager.c
18232           src/NetworkManagerAPList.c
18233           src/NetworkManagerDevice.c
18234                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18235                         so we get better debug information printed
18236
18237         * src/NetworkManagerDbus.c
18238                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18239                         since it sometimes has locking side effects
18240                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18241                         from 10s
18242                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18243                         we don't need a switch.  This gets called often enough that we can't block
18244                         until the scan mutex is acquired, because we'll block on device activation
18245                         and a few other things, which hangs main thread for too long.
18246
18247         * src/NetworkManagerPolicy.c
18248                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18249                         nm_device_need_ap_switch() will be called               
18250
18251 2005-02-02  Dan Williams  <dcbw@redhat.com>
18252
18253         * panel-applet/NMWirelessApplet.c
18254                 - Display name of wireless network we are connecting to or connected to
18255                         in the tooltip of the applet
18256
18257 2005-02-02  Dan Williams  <dcbw@redhat.com>
18258
18259         * src/NetworkManagerDHCP.c
18260                 - Hopefully fix double-default-route problem by cleaning up the default
18261                         route added by DHCP code right before the DHCP transaction begins
18262
18263 2005-02-02  Dan Williams  <dcbw@redhat.com>
18264
18265         * named/nm-named-manager.c
18266                 - Write out valid resolv.conf when we exit
18267
18268 2005-02-01  Dan Williams  <dcbw@redhat.com>
18269
18270         Patch from Colin Walters:
18271         * named/nm-named-manager.c
18272                 - Make multi-domain search options work
18273
18274 2005-01-31  Dan Williams  <dcbw@redhat.com>
18275
18276         * info-daemon/NetworkManagerInfoDbus.c
18277                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18278
18279         * src/NetworkManagerDevice.c
18280                 - (nm_device_new): Don't store the entire range struct, use only what we need
18281                         (which is currently avg_quality, max_quality, and frequencies).  Also
18282                         zero device structure when we've free'd it to maybe expose errors down
18283                         the line.
18284                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18285                         quality data from the card since quality will be useless during a scan.
18286                         Call updated wireless qual-to-percent function with values stored in
18287                         nm_device_new() earlier.
18288                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18289                         nm_device_get_bad_crypt_packets())
18290                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18291                         nm_device_new()
18292                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18293                         list if available.  Problem was this: when the WEP key is wrong, NM will
18294                         try OS then SK modes, and then get stuck in SK mode after that.  This
18295                         should reset it.
18296                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18297                         function
18298
18299         * src/NetworkManagerWireless.c
18300                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18301                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18302                         if that's all present, otherwise fall back to signal-to-noise ratios.
18303
18304 2005-01-29  Dan Williams  <dcbw@redhat.com>
18305
18306         * initscript/RedHat/NetworkManager
18307                 - Don't spit out sysctl stuff to console
18308
18309         * libnm_glib/libnm_glib.c
18310                 - (libnm_glib_init): call dbus_g_thread_init()
18311
18312         * panel-applet/NMWirelessAppletDbus.c
18313                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18314
18315         * src/NetworkManager.c
18316                 - (main): call dbus_g_thread_init()
18317
18318         * src/NetworkManagerAPList.c
18319                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18320                         so we can actually see what's there in a normal syslog
18321
18322         * src/NetworkManagerDevice.c
18323                 - (nm_device_activate_wireless): print out the "waiting for access point"
18324                         message only once, then say what access point we actually got after
18325                         the wait.
18326                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18327                         function, wait until the scan is done.  Scans may change the ESSID of
18328                         the card, making this function think we need to switch access points
18329                 - (nm_device_wireless_process_scan_results): for artificial access points
18330                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18331                         prevents collisions with the scanning code, which may change the card's
18332                         ESSID and cause the access point to get dropped from the device's AP
18333                         list.  Also increase the keep-around time to 2m from 60s since the max
18334                         scan interval could be 60s in some cases.
18335
18336         * src/NetworkManagerPolicy.c
18337                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18338                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18339                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18340                         between NM and NMI.
18341
18342 2005-01-27  Dan Williams  <dcbw@redhat.com>
18343
18344         * info-daemon/NetworkManagerInfoDbus.c
18345                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18346                         GConf, make a minimal entry for it (essid & timestamp)
18347
18348         * src/NetworkManagerAPList.c
18349                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18350                         NetworkManagerInfo isn't running
18351
18352         * src/NetworkManagerDbus.[ch]
18353                 - (nm_dbus_nmi_is_running): new function
18354
18355         * src/NetworkManagerDevice.c
18356                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18357                         address to garbage.
18358
18359         * src/NetworkManagerPolicy.c
18360                 - (nm_policy_activation_finish): On successful activation, make sure
18361                         the "best" AP has a MAC address, and don't tell NMI to add the
18362                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18363                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18364                         access point after refreshing our allowed list if it doesn't already
18365                         have a "best" access point.
18366
18367 2005-01-25  Dan Williams  <dcbw@redhat.com>
18368
18369         * panel-applet/NMWirelessAppletDbus.c
18370                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18371                         so we check for NM_DBUS_SERVICE rather than not for it
18372
18373         * libnm_glib/libnm_glib.c
18374                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18375                         ServiceOwnerChanged signal
18376
18377 2005-01-25  Dan Williams  <dcbw@redhat.com>
18378
18379         * configure.in
18380                 - Check DBUS version in configure, and set the C macros
18381                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18382
18383         * info-daemon/NetworkManagerInfoDbus.c
18384                 - Remove #if 0-d section of code that quit NMI if NM went away.
18385
18386         * panel-applet/NMWirelessAppletDbus.c
18387                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18388
18389         * src/NetworkManager.c
18390           src/NetworkManagerMain.h
18391           src/NetworkManagerDbus.c
18392                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18393                 - Make updating of our Allowed Wireless Network lists from NMI
18394                         an idle function in the main thread now, with a high priority.
18395
18396 2005-01-24  Dan Williams  <dcbw@redhat.com>
18397
18398         * panel-applet/gtkcellview.[ch]
18399           panel-applet/menu-info.c
18400                 - Fix GTK version checks to be <= rather than <
18401
18402         * test/Makefile.am
18403                 - Include the libtool archive of libnm_glib rather than
18404                         trying to pull in the .so
18405
18406 2005-01-24  Dan Williams  <dcbw@redhat.com>
18407
18408         * src/NetworkManagerDevice.c
18409           src/NetworkManagerDevicePrivate.h
18410                 - Block nm_device_new() until our device's worker thread has had a
18411                         chance to start up.  Fixes a race between main thread and worker
18412                         thread starting that caused activation requests to get lost.
18413
18414 2005-01-24  Dan Williams  <dcbw@redhat.com>
18415
18416         * initscript/RedHat/NetworkManager
18417                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18418                         to add the NM startup script at priority 50, which was
18419                         way too early
18420
18421 2005-01-24  Colin Walters  <walters@redhat.com>
18422
18423         * named/named.conf: Use any port for query source instead of
18424         restricting to port 53.
18425
18426 2005-01-24  Dan Williams  <dcbw@redhat.com>
18427
18428         * initscript/RedHat/NetworkManager
18429                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18430                         to add the NM startup script at priority 50, which was
18431                         way too early
18432
18433 2005-01-24  Dan Williams  <dcbw@redhat.com>
18434
18435         Patch from Tom Parker <palfrey@tevp.net>
18436         * Fix up compile warnings & errors in the wireless applet
18437
18438 2005-01-24  Dan Williams  <dcbw@redhat.com>
18439
18440         * panel-applet/NMWirelessApplet.c
18441                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18442
18443 2005-01-24  Dan Williams  <dcbw@redhat.com>
18444
18445         * panel-applet/gtkcellview.[ch]
18446                 - Only compile these files for GTK 2.4 or lower, since 
18447                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18448                         when choosing "Other Wireless Networks" from the panel
18449                         applet menu
18450
18451 2005-01-21  Dan Williams  <dcbw@redhat.com>
18452
18453         * src/NetworkManager.c
18454                 - Daemonize earlier so that glib doesn't get confused (?)
18455
18456 2005-01-21  Dan Williams  <dcbw@redhat.com>
18457
18458         * panel-applet/NMWirelessApplet.[ch]
18459           panel-applet/NMWirelessAppletDbus.c
18460           panel-applet/menu-info.c
18461           src/NetworkManagerDevice.c
18462                 - Disable wired devices in the menu when they have no link.
18463
18464 2005-01-21  Dan Williams  <dcbw@redhat.com>
18465
18466         * Cache last-known-good wireless authentication method in
18467                 NetworkManagerInfo, and use that method first during
18468                 wireless device activation.  Should speed up devices that
18469                 need Shared Key authentication method since Open System is
18470                 now the default.
18471
18472         * Remove the hack to not do full activation on wired connections
18473                 that are active when we launch, it causes too many problems
18474                 with name resolution and was a hack in the first place.
18475
18476         * Re-work wireless device activation again somewhat to have a
18477                 clearer chain of events and to use last-known-good
18478                 authentication method of the access point.  Also provide
18479                 better status throughout activation to ensure the applet
18480                 can tell the user exactly what's going on.
18481
18482         * Remove the "find wireless network" code and now simply attempt
18483                 to activate with that access point.  This reduces the delay
18484                 between selecting "Other wireless Network" and actually
18485                 connecting to that network.
18486
18487         * Correctly stop the device's worker thread when its removed.
18488
18489 2005-01-21  Dan Williams  <dcbw@redhat.com>
18490
18491         * dhcpcd/client.c
18492                 - Clean up some of the debug messages
18493
18494 2005-01-21  Dan Williams  <dcbw@redhat.com>
18495
18496         * Add new icons, more frames of animation
18497         * Remove some hacks to get the panel applet to display correct
18498                 status, an NM update will soon follow that will fix the
18499                 real issue.
18500
18501 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18502
18503         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18504         the first include for working i18n. Also, don't include it in .h files
18505         * panel-applet/NMWirelessApplet.h: Same
18506         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18507         * panel-applet/menu-info.c: Same
18508
18509 2005-01-18  Dan Williams <dcbw@redhat.com>
18510
18511         * dhcpcd/client.c
18512                 - Remove some debug messages
18513                 - Wrap others in #ifdef DEBUG/#endif
18514
18515         * src/NetworkManager.c
18516                 - Remove some debug messages
18517                 - Clarify some debug messages
18518                 - Remove code related to old single-thread wireless scanning
18519
18520         * src/NetworkManagerAP.[ch]
18521                 - New AP property "last_seen" to track how recently an AP was
18522                         found in a scan
18523                 - Start using 'const' more in function arguments
18524
18525         * src/NetworkManagerAPList.[ch]
18526                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18527                         of an AP found in an AP list from a source AP, or if not found
18528                         in the list add the source AP
18529                 - (nm_ap_list_combine): remove, no longer needed
18530
18531         * src/NetworkManagerDevice.c
18532                 - Each device now has a "worker" thread from start to end of its life.
18533                         Scanning for wireless devices now happens in that thread,
18534                         not in a single "wireless scanning thread" for all devices as
18535                         previously.  Activation consists of adding an idle handler to the
18536                         thread's main loop/context, which gets run at the next available
18537                         opportunity.
18538                 - Wireless scanning is also simplified, there is now only one list of
18539                         access points per wireless device, and APs older than 60s are
18540                         removed from the list.  Previously, we kept results for the last
18541                         3 scans and merged whole lists, which was complicated.
18542                 - Cleaned up activation debug messages.
18543                 - Wireless activation and access-point search routines now use Open System
18544                         authentication before trying Shared Key.
18545                 - Removed some code in nm_device_update_best_ap() that could cause cards
18546                         to loose their link to the access point.
18547                 - Scanning now uses a backoff algorithm, where the inverval becomes
18548                         progressively longer between scans when the list of scanned access
18549                         points doesn't change.  A change will revert to the shortest scan
18550                         interval (20s).
18551
18552         * src/NetworkManagerWireless.[ch]
18553                 - Remove code related to old single-thread wireless scanning
18554
18555 2005-01-18  Colin Walters  <walters@redhat.com>
18556
18557         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18558         of older nameservers.
18559
18560 2005-01-18  Colin Walters  <walters@redhat.com>
18561
18562         * named/nm-named-manager.c (generate_named_conf): Many fixes
18563         to config file generation.
18564         (safer_kill): Remove, was too much trouble for little gain.
18565         (nm_named_manager_start): Run named as NM_NAMED_USER.
18566
18567         * configure.in: Add option --with-named-user.
18568
18569 2005-01-14  Colin Walters  <walters@redhat.com>
18570
18571         Patch from ed@catmur.co.uk (Ed Catmur)
18572
18573         * named/nm-named-manager.c: Add "context" property.
18574         Use it to add child watch source in specific GMainContext.
18575
18576         * src/NetworkManager.c (nm_data_new): Initialize
18577         named with correct main context.  Start named only
18578         after forking.
18579
18580 2005-01-14  Colin Walters  <walters@redhat.com>
18581
18582         * named/nm-named-manager.c (generate_named_conf): Write config
18583         and pid files into NM_NAMED_DATA_DIR; this allows things to
18584         work better with FC3 named SELinux policy.  Also fix up silly
18585         format error.
18586
18587         * configure.in: Add --with-named-dir option.
18588
18589 2005-01-14  Colin Walters  <walters@redhat.com>
18590
18591         * configure.in: Make named support require passing --with-named.
18592
18593         * named/nm-named-manager.c: Support writing resolv.conf directly
18594         without running named.
18595
18596 2005-01-13  Dan Williams <dcbw@redhat.com>
18597
18598         * named/nm-named-manager.c
18599                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18600
18601         * src/NetworkManagerDevice.c
18602                 - Rework wireless link detection code to be more reliable
18603
18604 2005-01-12  Dan Williams <dcbw@redhat.com>
18605
18606         * initscripts/RedHat/NetworkManager
18607                 - Change initial level to "-" rather than "345" so that
18608                         we don't activate ourselves by default on install
18609
18610 2005-01-12  Dan Williams <dcbw@redhat.com>
18611
18612         * libnm_glib/
18613                 - Client library for applications using glib
18614
18615         * configure.in
18616           various Makefiles
18617                 - Split NM_CFLAGS and NM_LIBS into separate variables
18618                         like DBUS_*, HAL_* and GLIB_*
18619
18620         * src/NetworkManager.c
18621           src/NetworkManagerMain.h
18622                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18623                         broadcast a status changed signal over DBUS from the main thread.
18624                         Still unused anywhere for the moment.
18625
18626         Patch from j@bootlab.org
18627         * panel_applet/NMWirelessAppletDbus.c
18628           src/NetworkManagerDbus.c
18629                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18630                         for the "getMode" method call
18631
18632 2005-01-10  Dan Williams <dcbw@redhat.com>
18633
18634         * src/NetworkManagerDevice.c
18635                 - Minor fixups & corrections to "auto" frequency mode, make it
18636                         less chatty with syslog
18637
18638 2005-01-10  Dan Williams <dcbw@redhat.com>
18639
18640         * src/NetworkManagerDevice.c
18641                 - Implement "auto" frequency/channel support, since cards like Atheros
18642                         can't use other frequencies at all when you've told it to use a
18643                         specific one, even for scanning.
18644                 - Grab the scan mutex around places where we can't tolerate wireless
18645                         settings changing underneath us, like nm_device_wireless_network_exists()
18646                         and nm_device_activate_wireless()
18647
18648         * src/NetworkManagerWireless.c
18649                 - Back scan interval off to 20s instead of 14s
18650
18651 2005-01-09  Dan Williams <dcbw@redhat.com>
18652
18653         * src/NetworkManagerDevice.c
18654                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18655                         already set.  Stops some drivers like Atmel from continually
18656                         reloading the firmware, which they do upon every configuration
18657                         change.
18658
18659 2005-01-09  Dan Williams <dcbw@redhat.com>
18660
18661         * dhcpcd/client.c
18662                 - Use correct timeout value
18663
18664         * info-daemon/NetworkManagerInfoDbus.c
18665           src/NetworkManagerDbus.c
18666                 - Consolidate communication between NM and NMI by doing only 1 dbus
18667                         method call to get Wireless Network info from NMI instead of 6
18668
18669         * src/NetworkManager.c
18670                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18671                         when we didn't have an AP to use, we'd wait for one forever without
18672                         quitting
18673
18674         * src/NetworkManagerDevice.c
18675                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18676                         activation, dhcp might not have started yet but we don't quit activation
18677                         before starting it, so the quit signal gets lost
18678
18679 2005-01-07  Dan Williams <dcbw@redhat.com>
18680
18681         * dhcpcd/client.c
18682                 - Rework the DHCP client code to be much less chatty when
18683                         it receives non-DHCP UDP packets during the DHCP run
18684                         (reported by and preliminary patches from Bill Moss)
18685
18686         * Move wireless scanning to a separate thread.  This thread forwards the
18687                 results to the main thread when done where they are integrated into
18688                 the device's access point lists.  This keeps the main thread (which
18689                 does all the DBUS communication) from being blocked for long periods
18690                 of time by wireless scanning.
18691
18692         * Make state modification an idle routine in the main loop, and trigger
18693                 state changes rather than polling for them.
18694
18695         * src/backends/NetworkManagerGentoo.c
18696                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18697
18698         * src/NetworkManagerDevice.c
18699                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18700                         router advertisements, causing problems and infinite loop
18701                         during "best" device determination due to link going up/down
18702                         (reported by Bill Moss)
18703
18704         Apply patch from Peter Jones
18705         * src/NetworkManagerDevice.c
18706                 - Shortcut for link-checking for ipw2x00 cards
18707                 - Split out association check into separate routine
18708
18709 2004-01-05  Colin Walters  <walters@redhat.com>
18710
18711         * named/named.conf: Add PID_FILE.
18712
18713         * named/nm-named-manager.c: Always generate a pid
18714         file, since older BIND versions don't support
18715         "pid-file none".
18716
18717 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18718
18719         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18720
18721 2004-12-22  Dan Williams <dcbw@redhat.com>
18722
18723         * src/NetworkManagerDevice.c
18724                 - Silently fail when setting bitrate doesn't work
18725
18726
18727         Patches from j@bootlab.org:
18728         * src/backends/NetworkManagerDebian
18729                 - Update backend to match functionality in RedHat backend
18730         * src/NetworkManagerDevice.c
18731                 - Take down then bring up wired devices after connection so
18732                 they send out ipv6 router advertisements
18733
18734 2004-12-21  Colin Walters  <walters@verbum.org>
18735
18736         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18737         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18738
18739 2004-12-21  Colin Walters  <walters@redhat.com>
18740
18741         * configure.in: Correct named detection.
18742
18743 2004-12-21  Colin Walters  <walters@redhat.com>
18744
18745         * src/NetworkManager.c (nm_data_new): Initialize named.
18746         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18747         the mainloop when these signals are received.
18748         (nm_data_free): Unref named.
18749         (sigterm_handler, sigterm_pipe_handler): New functions for
18750         exiting mainloop.
18751         
18752         * src/NetworkManagerMain.h (NMData): Add signal handling and
18753         nameserver bits.
18754
18755         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18756         unref.
18757
18758         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18759         set nameservers from DHCP response data.
18760         (set_domain_search): Set domain search from DHCP response.
18761         (nm_device_dhcp_configure): Invoke them.
18762
18763         * src/NetworkManagerSystem.c
18764         (nm_system_device_update_resolv_conf): Delete.  Deleting
18765         code is totally sweet.
18766
18767         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18768
18769         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18770         implements an object which controls a nameserver.  Currently
18771         uses bind 9.
18772
18773         * configure.in: Check for named.
18774
18775         * Makefile.am (SUBDIRS): Add named dir.
18776
18777         * named/named.conf: New template config file.
18778
18779 2004-12-20  Colin Walters  <walters@redhat.com>
18780
18781         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18782         instead of '='.
18783
18784 2004-12-17  Dan Williams  <dcbw@redhat.com>
18785
18786         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18787                 link-local addresses instead of doing DHCP.
18788
18789         * In the panel applet, there's a new "Create new Wireless Network..." item
18790
18791         * The panel applet also sticks around now even if NetworkManager dies, but
18792                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18793                 a bug, I'll fix that later.
18794
18795         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18796                 lookups after a switch rather than actually doing them.
18797
18798         * Clean up some of those warnings in nm_ap_list_* functions
18799
18800         * Delay between scans changed to 15s instead of 10s
18801
18802 2004-12-15  Dan Williams  <dcbw@redhat.com>
18803
18804         Patch from Tom Parker
18805         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18806                 address
18807
18808         * Longer pause after setting ESSID on cards that support a larger number
18809                 of channels to give the card time to find the right channel
18810
18811         * Add system hook to restart mDNSResponder (or whatever the local implementation
18812                 of Multicast DNS is) when we activate interfaces
18813
18814 2004-12-15  Dan Williams  <dcbw@redhat.com>
18815
18816         * Rework the DHCP code again to revert to sending full ethernet frames
18817                 rather then relying on the kernel to do the right thing with our
18818                 packets.
18819
18820 2004-12-06  Dan Williams  <dcbw@redhat.com>
18821
18822         * dhcpcd/client.c
18823                 - Fix some minor errors in dhcp_handle_transaction() that caused
18824                         unexpected early timeouts of DHCP transactions
18825
18826         * dhcpcd/client.h
18827                 - DHCP retransmit time from 4s -> 5s
18828
18829 2004-12-05  Dan Williams  <dcbw@redhat.com>
18830
18831         * Major rework of the DHCP code, taking some cues from pump.  We don't
18832                 write raw Ethernet packets anymore, which simplifies the code quite
18833                 a bit.  The new code should be more robust, not hang in recvfrom()
18834                 as much, and generally work better.  This also means that we need
18835                 to force HAL/dbus to use a created GMainContext rather than the
18836                 default context, since having the DHCP renew/rebind thread using
18837                 its own GMainContext seemed to give dbus a fit.  There is also more
18838                 debugging information printed from the DHCP loop to help with future
18839                 problems.
18840
18841         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18842                 assume that the default gateway should be the DHCP server.
18843
18844         Patch from Matthew Schick <matt oss-institute org>
18845         * src/backends/NetworkManagerGentoo.c
18846                 - Fix compilation error due to missing "ip4_broadcast"
18847
18848 2004-12-03  Dan Williams  <dcbw@redhat.com>
18849
18850         * initscript/Makefile.am
18851         * initscript/Debian/NetworkManager
18852         * initscript/Gentoo/NetworkManager
18853         * initscript/RedHat/NetworkManager
18854         * initscript/NMLaunchHelper.c
18855                 - Remove NMLaunchHelper, if you need to wait until the network
18856                         comes up, use the dead code from CVS.
18857
18858 2004-12-01  Colin Walters  <walters@redhat.com>
18859         
18860         * configure.in: Suck in gcc warnings code from Rhythmbox,
18861         but use fewer default flags, and in particular add -Wno-unused,
18862         since the codebase has a lot of unused variables.
18863
18864         * test/nmtestdevices.c (create_device): 
18865         * test/nminfotest.c (get_network_string_property) 
18866         (get_networks_of_type): 
18867         * test/nmclienttest.c (main): 
18868         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18869         * initscript/NMLaunchHelper.c (get_nm_status): 
18870         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18871         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18872         Fix declarations after statements.
18873
18874 2004-12-01  Colin Walters  <walters@redhat.com>
18875
18876         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18877         (nmi_dbus_get_vpn_userpass): New method.
18878         (nmi_dbus_nmi_message_handler): Invoke it.
18879
18880         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18881
18882         * info-daemon/NetworkManagerInfoVPN.h,
18883         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18884         to requests for VPN passwords.
18885
18886         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18887
18888 2004-12-01  Colin Walters  <walters@redhat.com>
18889
18890         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18891         includes.
18892
18893 2004-12-01  Colin Walters  <walters@redhat.com>
18894
18895         * panel-applet/NMWirelessAppletDbus.c
18896         (nmwa_dbus_update_active_device_strength): Fix missing
18897         return value.
18898
18899 2004-12-01  Colin Walters  <walters@redhat.com>
18900
18901         * panel-applet/NMWirelessApplet.c: Add missing include.
18902
18903 2004-12-01  Colin Walters  <walters@redhat.com>
18904
18905         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18906         Remove useless CLAMP (); the value is unsigned, and the case tests
18907         qual->qual < 100, so the value must always be between 0 and 100.
18908
18909 2004-12-01  Colin Walters  <walters@redhat.com>
18910
18911         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18912
18913 2004-11-22  Colin Walters  <walters@verbum.org>
18914
18915         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18916         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18917         which is essentially a noop since nscd caches hosts on disk too.
18918         
18919 2004-11-22  Colin Walters  <walters@redhat.com>
18920
18921         * src/Makefile.am (NetworkManager_SOURCES): Add
18922         NetworkManagerDevicePrivate.h.
18923
18924 2004-11-22  Dan Williams <dcbw@redhat.com>
18925
18926         * src/NetworkManagerDevicePrivate.h
18927                 - Split out the NMDevice struct to a different file so that stuff like
18928                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18929
18930         * dhcpcd/client.c
18931                 - fprintf->syslog
18932                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18933                         need to cancel the dhcp request during the send and recv
18934
18935         * dhcpcd/client.h
18936                 - Move the DHCP option enum to dhcpcd.h
18937
18938         * src/NetworkManagerDHCP.c
18939                 - Split out the actual IP/netmask/etc setting code
18940                 - New Renew/Rebind functions
18941                 - New timer setup function for renew/rebind operations
18942
18943         * src/NetworkManagerDevice.c
18944                 - For device activation, if we are using DHCP then keep the activation thread
18945                         alive until device deactivation.  We need to renew/rebind the DHCP address
18946                         after the T1 (renew) and T2 (rebind) times have expired.
18947                 - Increase some timeouts after bringing wireless cards up/down
18948
18949 2004-11-17  Dan Williams <dcbw@redhat.com>
18950
18951         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18952                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18953                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18954                 show known access points that don't broadcast their ESSID in the menus without
18955                 any user intervention whatsoever.
18956
18957         * info-daemon/NetworkManagerInfoDbus.c
18958                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18959                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18960
18961         * src/NetworkManagerAP.[ch]
18962                 - Add a "user_addresses" data member to the NMAccessPoint structure
18963                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18964                         the user_addresses data member
18965
18966         * src/NetworkManagerAPList.c
18967                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18968                         the AP's reported address
18969                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18970
18971         * src/NetworkManagerDHCP.c
18972                 - Increase DHCP timeout from 25s -> 30s
18973
18974         * src/NetworkManagerDbus.[ch]
18975                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18976                         user addresses
18977
18978         * src/NetworkManagerDevice.c
18979                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18980                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18981                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18982                         So, we take the card down to clear it out.
18983                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18984                         too, since that's where the user_addresses are
18985
18986         * src/NetworkManagerPolicy.c
18987                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18988                         that wireless networks' user_addresses list upon successful activation
18989
18990 2004-11-16  Dan Williams <dcbw@redhat.com>
18991
18992         * src/NetworkManagerDevice.[ch]
18993                 - (nm_device_clear_activation_fail): new function
18994
18995         * src/NetworkManagerPolicy.c
18996                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18997                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18998
18999 2004-11-16  Dan Williams <dcbw@redhat.com>
19000
19001         * src/NetworkManagerDevice.c
19002                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19003                         leak the structure, better updating of now_scanning status
19004                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19005
19006 2004-11-15  Dan Williams <dcbw@redhat.com>
19007
19008         Major rework of link detection code.  We now use DHCP
19009         as part of the link detection which proves to be much more robust,
19010         and also supports Open System authentication for wireless networks.
19011
19012         We no longer use external DHCP client programs.  Instead, we use 
19013         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19014         which was written by:
19015                 Yoichi Hariguchi <yoichi@fore.com>
19016                 Sergei Viznyuk <sv@phystech.com>
19017                 http://www.phystech.com/download/
19018         It resides in the "dhcpcd" directory and was refactored into a general
19019         purpose DHCP client library by me.
19020
19021         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19022         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19023
19024 2004-11-15  Dan Williams <dcbw@redhat.com>
19025
19026         Patch from Tom Parker <palfrey@tevp.net>:
19027
19028         * src/NetworkManagerDevice.c
19029                 - Less output to console when no access
19030                         points are found during a scan
19031
19032 2004-11-15  Dan Williams <dcbw@redhat.com>
19033
19034         Patch from Tom Parker <palfrey@tevp.net>:
19035
19036         * src/backends/interface_parser.c
19037                 - Use g_strdup ()
19038                 - Check for inp == NULL
19039                 - use syslog ()
19040
19041 2004-11-13  Colin Walters  <walters@redhat.com>
19042
19043         Patch from Tom Parker <palfrey@tevp.net>:
19044
19045         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19046         
19047         * src/backends/NetworkManagerRedHat.c: Switch to
19048         including shvar.h instead of shvar.c.
19049
19050         * src/backends/NetworkManagerDebian.c: Don't include
19051         interface_parser.c in source file.
19052
19053         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19054         and interface_parser.[ch].
19055         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19056         Include shvar.c and shvar.h here.
19057         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19058         interface_parser.c and interface_parser.h here.
19059
19060 2004-11-12  Colin Walters  <walters@redhat.com>
19061
19062         * configure.in: Strip out TARGET_DISTRO and
19063         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19064         conditionals.
19065
19066         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19067         (libnmbackend_la_SOURCES): Use Automake conditionals
19068         to add distro-specific files.
19069
19070         * initscript/Makefile.am (SUBDIRS): Update to
19071         use conditionals.
19072
19073 2004-11-12  Colin Walters  <walters@redhat.com>
19074
19075         Patches from j bootlab org
19076
19077         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19078         Add interface_parser.[ch].
19079
19080         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19081         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19082
19083 2004-11-12  Colin Walters  <walters@redhat.com>
19084
19085         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19086         call to nmi_dbus_is_running too, not necessary anymore.
19087         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19088         pick up exit().
19089
19090 2004-11-11  Colin Walters  <walters@verbum.org>
19091
19092         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19093         Delete.
19094         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19095         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19096         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19097         This avoids a race condition that made it pretty easily
19098         possible to get two NetworkManagerInfo daemons running.
19099
19100 2004-11-11  Colin Walters  <walters@verbum.org>
19101         
19102         * src/NetworkManager.c (main): Use daemon(3).
19103
19104         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19105
19106         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19107
19108 2004-11-10 Dan Williams <dcbw@redhat.com>
19109
19110         Patches from j bootlab org
19111         * src/NetworkManagerDevice.c
19112                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19113                         whether the card has a link or not, some cards are slow
19114                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19115
19116         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19117                 - Disable the "Login" button on the passphrase dialog until the user
19118                         enters a valid passphrase or key
19119
19120         Patches from Tom Parker <palfrey tevp net>
19121         * src/backends/NetworkManagerDebian.c
19122                 - Add static IP support to the debian backend
19123
19124         * src/backends/interface_parser.[ch]
19125                 - Parse debian interface config files
19126
19127 2004-11-08 Dan Williams <dcbw@redhat.com>
19128
19129         * src/NetworkManagerDevice.c
19130                 - Some random fprintf->syslog conversions
19131                 - (nm_device_wireless_network_exists): double-check for network
19132                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19133
19134         * src/NetworkManagerWireless.[ch]
19135                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19136                         so that the binary->ascii conversion works (if unsigned, the bitshift
19137                         will fill with zeros, which is what's required).  Also mask bitshift
19138                         result with 0xF for futher assurance.
19139
19140 2004-11-06 Dan Williams <dcbw@redhat.com>
19141
19142         * src/NetworkManagerUtils.c
19143                 - (nm_get_wireless_driver_support_level): default to
19144                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19145                         flip this when changing from whitelist->blacklist of
19146                         wireless drivers
19147
19148 2004-11-05 Dan Williams <dcbw@redhat.com>
19149
19150         Patch from Robert Paskowitz:
19151         * src/backends/NetworkManagerGentoo.c
19152                 - Update static IP config code
19153
19154 2004-11-05 Dan Williams <dcbw@redhat.com>
19155
19156         * info-daemon/NetworkManagerInfoDbus.c
19157           src/NetworkManagerDbus.[ch]
19158           src/NetworkManagerDevice.c
19159                 - Keep track of the # of attempts to get the WEP key
19160                         from the user and pass that along to the info daemon
19161
19162 2004-11-05 Dan Williams <dcbw@redhat.com>
19163
19164         * src/NetworkManagerUtils.c
19165                 - Blacklist wireless cards rather than whitelisting them.
19166                 - Grab driver name from HAL rather than trying to find it
19167                         ourselves.
19168
19169 2004-11-03 Dan Williams <dcbw@redhat.com>
19170
19171         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19172                 - Disable OK button until valid data is entered
19173                         for encryption stuff too
19174
19175         * panel-applet/NMWirelessApplet.c
19176                 - Report card strength for current AP if the card
19177                         doesn't report strength data for scanned access
19178                         points
19179
19180         * src/NetworkManagerDevice.c
19181                 - Smooth out cards reported quality, Atmel card was
19182                         intermittently reporting no quality data but soon
19183                         recovers
19184
19185         * src/NetworkManagerWireless.c
19186                 - Better quality data percentage calculation.  Atmel
19187                         cards (mine at least) seem to report the quality
19188                         in percentage format already, so honor that
19189
19190         Patch from <j@bootlab.org>
19191         * NetworkManager.h
19192           info-daemon/NetworkManagerInfoPassphraseDialog.c
19193           info-daemon/passphrase.glade
19194           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19195           panel-applet/essid.glade
19196           src/NetworkManagerAP.c
19197           src/NetworkManagerDevice.c
19198           src/NetworkManagerWireless.[ch]
19199                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19200
19201 2004-11-03 Dan Williams <dcbw@redhat.com>
19202
19203         * src/NetworkManagerDevice.[ch]
19204                 - (nm_device_set_enc_key): Add parameter to set Authentication
19205                         Mode (Open System, Shared Key, or None).  We're still using
19206                         Shared Key for now though.
19207
19208 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19209
19210         * panel-applet/menu-info.c: change from bold text to light
19211         colored, may cause problems with some themes, i've tested a lot
19212         and they seem fine. 
19213
19214         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19215
19216 2004-11-01  Colin Walters  <walters@verbum.org>
19217
19218         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19219         (nm_wireless_128bit_key_from_passphrase): Add const.
19220
19221         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19222         (nm_ap_set_enc_key_source): Add const.
19223         
19224 2004-11-01  Colin Walters  <walters@verbum.org>
19225
19226         * .cvsignore: Update.
19227
19228 2004-10-29 Dan Williams <dcbw@redhat.com>
19229
19230         * src/NetworkManagerDevice.c
19231                 - (nm_device_wireless_network_exists): Actually use the encryption
19232                         key we got from the applet when attempting to find a wireless network
19233                 - Don't bring devices down so much since on some cards it triggers
19234                         firmware hotplugs each time
19235
19236         * src/NetworkManagerDbus.c
19237                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19238                         from the caller
19239
19240 2004-10-29 Dan Williams <dcbw@redhat.com>
19241
19242         * src/NetworkManager.c
19243                 - (nm_hal_device_property_modified): unlock a locked active
19244                         wireless device when a wired connection gets a link.
19245                         (Means you'll switch to wired whenever you plug in no
19246                         matter what).
19247
19248 2004-10-29 Dan Williams <dcbw@redhat.com>
19249
19250         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19251                 - New files, implement the "Other wireless network" dialog
19252
19253         * panel-applet/NMWirelessApplet.c
19254                 - Move "other wireless network" dialog to separate file
19255
19256         * panel-applet/NMWirelessAppletDbus.[ch]
19257                 - Take key and key_type paramaters for the set_device function
19258
19259         * panel-applet/essid.glade
19260                 - Add UI bits for encryption settings
19261
19262         * src/NetworkManagerDbus.c
19263                 - Retrieve key and key_type params for "setActiveDevice" method call
19264                         and pass them on
19265                 - unref AP returned from nm_device_get_best_ap() when needed
19266
19267         * src/NetworkManagerDevice.c
19268                 - (nm_device_get_best_ap): ref the ap before returning it
19269                 - unref AP returned from nm_device_get_best_ap() when needed
19270                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19271                         need to call nm_device_get_best_ap() here, it was pretty much
19272                         redundant anyway
19273                 - (AP_NEED_KEY): break second link check condition out into separate
19274                         function, and fix segfault when ap->enc_key_source was NULL
19275                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19276                         pass them along to nm_device_wireless_network_exists().  If the
19277                         network does exist, set the passed-in key+key_type on the AP
19278
19279         * src/NetworkManagerPolicy.c
19280                 - unref AP returned from nm_device_get_best_ap() when needed
19281
19282 2004-10-28 Dan Williams <dcbw@redhat.com>
19283
19284         * src/NetworkManagerUtils.c
19285                 - (nm_spawn_process): Fix a potential dereference of NULL
19286
19287         Patches from Peter Jones:
19288
19289         * src/NetworkManagerDevice.c
19290                 - (nm_device_test_wireless_extensions): Better check for
19291                         wireless devices
19292
19293         * src/NetworkManagerUtils.c
19294                 - (nm_spawn_process): Pass in valid stdout and stderr so
19295                         executed programs don't randomly SIGPIPE and fail
19296                 - (nm_get_wired_driver_support_level): quash hal warning
19297                         when checking for USB ethernet device
19298
19299 2004-10-27 Dan Williams <dcbw@redhat.com>
19300
19301         * info-daemon/NetworkManagerInfo.c
19302           info-daemon/NetworkManagerInfoDbus.c
19303           info-daemon/NetworkManagerInfoPassphraseDialog.c
19304           panel-applet/NMWirelessApplet.c
19305                 - Properly escape gconf keys
19306
19307         * src/NetworkManager.c
19308                 - remove unused variables
19309
19310         * src/NetworkManagerAP.c
19311                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19312                         refcount since it got set in nm_ap_new()
19313
19314         * src/NetworkManagerAPList.c
19315                 - (nm_ap_list_combine): Give up ownership of newly created
19316                         access points to the ap list, fixes memleak
19317
19318         * src/NetworkManagerDevice.c
19319                 - Remove cached_ap_list4 member since its not really needed
19320                 - (nm_device_wireless_network_exists): Try to get correct
19321                         encryption status of a found AP if its already in our
19322                         device list
19323                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19324                         memory allocs/deallocs a bit clearer and shorter-lived
19325
19326 2004-10-26 Ray Strode <rstrode@redhat.com>
19327
19328         * panel-applet/NMWirelessApplet.c:
19329           (custom_essid_item_selected):  kill some compiler
19330         warnings 
19331
19332 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19333
19334         * info-daemon/NetworkManagerInfoDbus.c
19335                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19336                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19337
19338 2004-10-23 Dan Williams <dcbw@redhat.com>
19339
19340         * info-daemon/NetworkManagerInfoDbus.c
19341                 - Trap the "DeviceActivationFailed" signal
19342
19343         * docs/NetworkManager DBUS API.txt
19344                 - Add "DeviceActivationFailed" signal
19345
19346         * panel-applet/NMWirelessAppletDbus.c
19347                 - Quash the "NetworkManager service not available" message
19348
19349         * src/NetworkManagerDbus.[ch]
19350                 - Add the "DeviceActivationFailed" signal
19351
19352         * src/NetworkManagerDevice.c
19353                 - Add support for activation_failed flag
19354                 - Fix deadlock where activation thread didn't clean itself up, making
19355                         main thread still believe it was alive forever (didn't reset activation
19356                         flags like activating, just_activated, etc when IP configuration
19357                         failed)
19358
19359         * src/NetworkManagerPolicy.c
19360                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19361                         for wireless networks, try to fall back to some other access point
19362
19363 2004-10-23 Dan Williams <dcbw@redhat.com>
19364
19365         * panel-applet/NMWirelessApplet.[ch]
19366                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19367                         to the applet object, so we can get tooltips
19368                 - Add tooltips (RH #136866)
19369
19370         * src/NetworkManagerDevice.c
19371                 - When trying to find a wireless network, try to connect with encryption
19372                         turned on first, so that we can more accurately detect whether or not
19373                         we need to use encryption for the actual association later on
19374
19375 2004-10-21 Dan Williams <dcbw@redhat.com>
19376
19377         * Add some support for telling NetworkManagerInfo to tell the user
19378                 that they are using a device that's not fully supported
19379
19380         * Fix some assertions in debug messages due to null access point args
19381
19382 2004-10-21 Dan Williams <dcbw@redhat.com>
19383
19384         * src/NetworkManagerDevice.c
19385                 - Don't try to activate/bring up/down unsupported
19386                         devices
19387
19388         * src/NetworkManagerUtils.c
19389                 - Fix case of PCI ID checks for driver support levels
19390
19391 2004-10-21 Dan Williams <dcbw@redhat.com>
19392
19393         * NetworkManager.h
19394                 - New file, now contains commonly used structures and bits
19395                         for the dbus API of NetworkManager
19396
19397         * Makefile.am
19398                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19399
19400         * src/NetworkManager.h
19401                 - Rename -> src/NetworkManagerMain.c
19402
19403         * Various fixups all around to use NetworkManager.h and new
19404                 src/NetworkManagerMain.h, remove redundant bits that got
19405                 moved into NetworkManager.h
19406
19407         * src/NetworkManagerDevice.[ch]
19408           src/NetworkManagerUtils.[ch]
19409           src/NetworkManagerPolicy.c
19410           src/NetworkManagerDbus.c
19411                 - Whitelist wireless drivers, and blacklist some wired
19412                         drivers.  Also blacklist cipsec and ethernet-over-usb
19413                         devices at this time (RH #135722, RH #135648)
19414                 - Don't leak unsupported devices out over dbus, or allow
19415                         them to be set as the active device.  Skip over them
19416                         during automatic device picking
19417
19418         * test/nmclienttest.c
19419                 - Clean up the dbus code a lot
19420
19421 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19422
19423         * configure.in: post release bump.
19424
19425 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19426
19427         * configure.in:
19428         * NEWS: Released NetworkManager-0.3.1
19429
19430 2004-10-18 Dan Williams <dcbw@redhat.com>
19431
19432         Patches from Thom May:
19433         * test/nmtestdevices.c
19434                 - Include <string.h>
19435         * src/backends/NetworkManagerDebian.c:
19436                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19437                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19438                         Move to using g_strdup_printf rather than arbitrary buffers
19439                 - (nm_system_device_setup_static_ip4_config) Implement function.
19440                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19441
19442 2004-10-17 Dan Williams <dcbw@redhat.com>
19443
19444         * info-daemon/NetworkManagerInfoDbus.c
19445                 - Display name of network in the "network not found" dialog
19446
19447         * panel-applet/NMWirelessAppletDbus.c
19448                 - (nmwa_dbus_call_nm_method): new function replaces all other
19449                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19450                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19451                         consolidated into nmwa_dbus_get_object_name()
19452
19453 2004-10-15 Dan Williams <dcbw@redhat.com>
19454
19455         * src/NetworkManagerDbus.c
19456           info-daemon/NetworkManagerInfoDbus.c
19457                 - Display an error dialog when the user tries to use an
19458                         "Other wireless network" that's not found.
19459
19460 2004-10-15 Dan Williams <dcbw@redhat.com>
19461
19462         * panel-applet/NMWirelessApplet.[ch]
19463                 - Fix up corner cases in applet state, making it
19464                         look more responsive.  Change state to "connecting" when
19465                         the user is forcing a device too.
19466
19467 2004-10-15 Dan Williams <dcbw@redhat.com>
19468
19469         * src/NetworkManagerAPList.c
19470                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19471
19472         * src/NetworkManagerDbus.c
19473                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19474
19475         * src/NetworkManagerDevice.c
19476                 - Disown APs after the device's AP list takes ownership
19477
19478 2004-10-15 Dan Williams <dcbw@redhat.com>
19479
19480         * panel-applet/NMWirelessApplet.c
19481                 - Update our applet state from the GUI thread
19482
19483         * panel-applet/NMWirelessAppletDbus.c
19484                 - Greatly simplify the locking to make the GUI thread
19485                         smoother.  Update a private copy of the device list
19486                         and active device and only when done talking to
19487                         NetworkManager turn it over to the GUI thread.
19488
19489 2004-10-15 Dan Williams <dcbw@redhat.com>
19490
19491         * src/NetworkManagerAP.[ch]
19492                 - Add "artificial" get/set functions, set for APs that
19493                         aren't discovered as part of a scan but instead
19494                         discovered by force-setting the ESSID
19495
19496         * src/NetworkManagerDevice.[ch]
19497                 - (nm_device_wireless_network_exists): pass back whether
19498                         or not the discovered AP was encrypted.  Also, try
19499                         falling back to encrypted mode on the card if unencrypted
19500                         association doesn't work
19501                 - (nm_device_find_and_use_essid): If the network requested
19502                         did in fact exists, but it wasn't in our scan list, add
19503                         an "artificial" entry for it.  Some Cisco cards don't
19504                         see non-ESSID-broadcasting APs in their scan but can still
19505                         associate with them if you know the ESSID, this works around
19506                         that behavior
19507                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19508                         to scan if the card is currently associated with that AP
19509
19510 2004-10-15 Dan Williams <dcbw@redhat.com>
19511
19512         ---- We have a website ----
19513         http://people.redhat.com/dcbw/NetworkManager
19514
19515         Patch from Robert Paskowitz:
19516         * src/NetworkManager.c
19517                 - (main): Make sure we are run as root
19518         * src/NetworkManagerDevice.c
19519                 - Fix type in ad-hoc setting function
19520
19521         Patch from Thom May:
19522         * src/backends/NetworkManagerDebian.c
19523                 - Make Debian backend compile again
19524
19525 2004-10-14 Dan Williams <dcbw@redhat.com>
19526
19527         * Tagged NetworkManager-0_3
19528
19529 2004-10-14 Dan Williams <dcbw@redhat.com>
19530
19531         Patch from Robert Paskowitz:
19532         * NEWS
19533           src/NetworkManagerDevice.[ch]
19534           src/backends/NetworkManagerDebian.c
19535           src/backends/NetworkManagerGentoo.c
19536           src/backends/NetworkManagerRedHat.c
19537           src/backends/NetworkManagerSlackware.c
19538                 - Add support for grabbing and using a broadcast address
19539                         from system config files
19540                 - Some Gentoo backend fixes for grabbing network config
19541                 - Fix LOG_WARN->LOG_WARNING
19542
19543 2004-10-14 Dan Williams <dcbw@redhat.com>
19544
19545         * NEWS: a few small fixes in the credits
19546
19547 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19548
19549         * NEWS: prep for release.
19550
19551 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19552
19553         * panel-applet/NMWirelessAppletDbus.c
19554         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19555
19556 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19557
19558         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19559         applet->state == APPLET_STATE_NO_NM animation.
19560
19561         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19562         set the text correctly.
19563
19564 2004-10-14 Dan Williams <dcbw@redhat.com>
19565
19566         * src/NetworkManager.c
19567                 - Only accept and manager 802.3 and 802.11 devices
19568
19569         * src/NetworkManagerDbus.[ch]
19570                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19571                         logic into NetworkManagerDevice.c
19572                 - (nm_dbus_network_status_from_data): new function
19573                 - (nm_dbus_signal_network_status_change): new function, unused for now
19574                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19575
19576         * src/NetworkManagerDevice.[ch]
19577                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19578                         a random ESSID.
19579
19580 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19581
19582         * info-daemon/NetworkManagerInfo.c 
19583                 - (main): Added session management
19584
19585 2004-10-14 Dan Williams <dcbw@redhat.com>
19586
19587         * panel-applet/NMWirelessAppletDbus.[ch]
19588                 - Expose network_device_[un]ref()
19589                 - Expose wireless_network_[un]ref()
19590                 - (wireless_network_new_with_essid): new function, create and return
19591                         a wireless network with a particular essid
19592
19593         * panel-applet/NMWirelessApplet.c
19594                 - Hook up the "other network" dialog to do something
19595
19596 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19597
19598         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19599         doesn't work yet, but it looks okay.
19600
19601         * panel-applet/icons/*png: Resize to 22x22 and install in the
19602         right place.
19603
19604 2004-10-13 Dan Williams <dcbw@redhat.com>
19605
19606         * panel-applet/NMWirelessApplet.c
19607                 - Add function to print out applet_state in a readable
19608                         manner
19609
19610         * src/NetworkManager.c
19611                 - (main): Don't segfault when nm_dbus_init() fails, we had
19612                         a left-over call to hal_shutdown() into which we passed NULL
19613
19614         * src/NetworkManagerAP.c
19615                 - (nm_ap_set_essid): Allow NULL essids
19616
19617         * src/NetworkManagerAPList.[ch]
19618                 - More use of nm_ap_list_[un]lock ()
19619                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19620                         network/essid, just return nothing.  Also skip over NULL
19621                         essid access points in the list when searching
19622                 - (nm_ap_list_get_ap_by_address): new function
19623                 - (nm_ap_list_update_network): set the access point's key source to
19624                         NULL when the key returned from NetworkManagerInfo is NULL or
19625                         of 0 length
19626                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19627                         copy timestamp over too
19628                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19629                         find the correct ESSID for a blank-essid access point by searching
19630                         through another list and matching access point MAC addresses
19631                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19632
19633         * src/NetworkManagerDbus.c
19634                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19635                         may specify.  This is mainly for access points that don't
19636                         broadcast their essid.  So if the user tells us to associate with
19637                         some random ESSID that's not in our access point list, we find
19638                         out if the access point does in fact exist (by attempting association
19639                         and then matching that access point's MAC address with the essid the
19640                         user gave us) and then we switch to it.
19641                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19642                         to the returned list of networks for the "getNetworks" method
19643
19644         * src/NetworkManagerDevice.[ch]
19645                 - Extra debugging info for link detection
19646                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19647                         based on MAC address
19648                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19649                 - (nm_device_wireless_network_exists): new function, find out whether
19650                         a random ESSID exists by attempting to associate with it
19651                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19652                         device list as long as they have an AP MAC address we can use.
19653                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19654                         devices too.  Lets the applet update more frequently.
19655
19656         * src/backends/NetworkManagerGentoo.c
19657                 - Patch from: Robert Paskowitz
19658                         - Update backend code for Gentoo
19659                         - Implement nm_system_device_update_config_info ()
19660
19661         * test/nmclienttest.c
19662                 - (set_network_device): new function, takes a command-line argument
19663                         and tells NetworkManager to use that wireless network
19664
19665 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19666
19667         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19668         if the notification icon crashes 5 times within 5 seconds of each respawn 
19669
19670 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19671
19672         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19673         g_print.
19674
19675 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19676
19677         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19678
19679         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19680         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19681         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19682         Change the name of the icons.
19683
19684         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19685         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19686         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19687         (nm_menu_wireless_expose_event): Really bad hack to get the style
19688         to draw in the right color.
19689
19690 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19691
19692         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19693         Notification if it crashes
19694
19695 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19696
19697         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19698         (nmwa_dbus_get_string): remove unused functions
19699
19700         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19701         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19702         remove unused functions
19703
19704         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19705
19706 2004-10-12 Dan Williams <dcbw@redhat.com>
19707
19708         * panel-applet/NMWirelessAppletDbus.c
19709                 - New functions:
19710                         wireless_network_new
19711                         wireless_network_copy
19712                         network_device_new
19713                         network_device_copy
19714
19715         * src/NetworkManagerDevice.[ch]
19716                 - New functions:
19717                         nm_device_set_mode_managed
19718                         nm_device_set_mode_adhoc
19719                 - Use these functions where appropriate
19720                 - When creating a new wireless device, force the card
19721                         to managed/Infrastructure mode as soon as possible
19722
19723 2004-10-12 Dan Williams <dcbw@redhat.com>
19724
19725         * src/NetworkManagerDevice.c
19726                 - Force wireless cards into Infrastructure mode before we use them
19727
19728 2004-10-12 Dan Williams <dcbw@redhat.com>
19729
19730         * TODO
19731                 - Remove bit about static IP address support
19732
19733         * src/NetworkManagerUtils.c
19734                 - (nm_spawn_process): Add some error reporting
19735
19736         * src/NetworkManagerDevice.c
19737                 - (nm_device_activation_configure_ip): hook up to the static config
19738                         routines in the backends
19739
19740         * src/backends/NetworkManagerRedHat.c
19741                 - (nm_system_device_update_config_info): use shvar.c routines to
19742                         parse the config file iformation, not our own
19743                 - (nm_system_device_setup_static_ip4_config): new function, based
19744                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19745                         with a static IP address and gateway
19746
19747         * src/backends/shvar.[ch]
19748                 - Parser (filched from initscripts package) for ifcfg-* files
19749
19750         * src/backends/NetworkManagerSystem.h
19751           src/backends/NetworkManagerGentoo.c
19752           src/backends/NetworkManagerDebian.c
19753           src/backends/NetworkManagerSlackware.c
19754                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19755
19756 2004-10-11 Dan Williams <dcbw@redhat.com>
19757
19758         * TODO
19759                 - Remove bit about more robust AP diffing since I just implemented it
19760
19761 2004-10-11 Dan Williams <dcbw@redhat.com>
19762
19763         * src/NetworkManagerAP.c
19764                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19765                         enough RAM to allocate new AP structures, but return NULL instead
19766
19767         * src/NetworkManagerAPList.[ch]
19768                 - (nm_ap_list_is_empty): new function
19769                 - (nm_ap_list_combine): new function, combine two access point lists
19770                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19771                         into another
19772
19773         * src/NetworkManagerDevice.[ch]
19774                 - Rename some functions to be clearer:
19775                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19776                         nm_device_just_activated     -> nm_device_is_just_activated
19777                         nm_device_activating         -> nm_device_is_activating
19778                         nm_device_now_scanning       -> nm_device_is_scanning
19779                 - Cache the last 4 scans so that the access point list is more stable.
19780                         We combine the lastest two scans and use that as the AP list,
19781                         and diff that combined list against the combination of the earliest
19782                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19783
19784 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19785
19786         * info-daemon/NWManagerInfo.h
19787                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19788
19789         * info-daemon/NWManagerInfoDbus.c
19790                 - (shutdown_callback): new function
19791                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19792                         if NetworkManager goes away.  Kill the timeout
19793                         if NetworkManager restarts before the 30 seconds
19794                         are up.
19795                 - (nmi_dbus_service_init): 
19796                         - call gtk_main_quit if NetworkManager is not running
19797                         - add filters to monitor dbus service creations and
19798                                 deletions
19799         
19800 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19801
19802         * panel-applet/NMWirelessApplet.c
19803                 - (nmwa_update_state): Hide notification icon if we are only
19804                         showing one wired card and no wireless interfaces 
19805                         (Red Hat Bug #134895)
19806
19807         * panel-applet/NMWirelessAppletDbus.c
19808                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19809
19810         * info-daemon/NWManagerInfo.c
19811                 - (main): Terminated the notification_icon_cmd array with a NULL
19812
19813 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19814
19815         * configure.in (ALL_LINGUAS): Added de (German).
19816
19817 2004-10-08 Dan Williams <dcbw@redaht.com>
19818
19819         * src/NetworkManagerDevice.c
19820                 - Be a bit more robust about link checking, ie make sure that
19821                         the WEP key we were given actually has some data in it
19822
19823 2004-10-08 Dan Williams <dcbw@redhat.com>
19824
19825         * info-daemon/NetworkManagerInfo.c (main):
19826                 - Initialize GError object to NULL
19827
19828 2004-10-08 Dan Williams <dcbw@redhat.com>
19829
19830         * panel-applet/NMWirelessAppletDbus.c
19831                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19832
19833 2004-10-08 Dan Williams <dcbw@redhat.com>
19834
19835         * info-daemon/NetworkManagerInfo.[ch]
19836           info-dameon/NetworkManagerInfoDbus.[ch]
19837           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19838                 - Preserve original label text in the passphrase dialog so that
19839                         it actually gets updated with the new network name the next
19840                         time around.  Previously, we were overwriting it so you'd get
19841                         the wrong network name to enter a key for
19842                 - Add a "Key Type" combo to the passphrase dialog, user selects
19843                         encryption key type now, type is stored in GConf too
19844                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19845
19846         * src/NetworkManagerAP.[ch]
19847                 - Remove all the encyption method magic.  It's now set by the user
19848                         and NetworkManager retrieves the type of encryption key from
19849                         NetworkManagerInfo
19850
19851         * src/NetworkManagerAPList.[ch]
19852           src/NetworkManagerDbus.[ch]
19853                 - Adjust to new way of setting encryption key and method
19854                 - Pull encryption method down from NMI along with key
19855
19856         * src/NetworkManagerDevice.[ch]
19857                 - Removed encryption method fallback magic as the method is now
19858                         determined by the user.  This greatly simplifies the connection
19859                         logic.
19860                 - More robust connection/link logic.  Besides removing the encryption
19861                         method fallback magic, check whether or not the card is receiving
19862                         invalidly encrypted packets, which usually indicates that we have
19863                         a bad WEP key set.
19864                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19865
19866         * test/nminfotest.c
19867                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19868
19869 2004-10-07 Dan Williams <dcbw@redhat.com>
19870
19871         * info-daemon/NetworkManagerInfo.conf
19872                 - Allow root user to run NMI too
19873
19874 2004-10-06 Dan Williams <dcbw@redhat.com>
19875
19876         * src/NetworkManagerDevice.[ch]
19877           src/NetworkManagerDbus.c
19878           doc/NetworkManager DBUS API.txt
19879                 - Add a new status tag "scanning", which is set when there
19880                         is no active network connection, but NetworkManager is
19881                         looking for an access point to associate with
19882
19883         * panel-applet/main.c
19884                 - Cast the applet appropriately for gtk_widget_show_all ()
19885
19886 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19887
19888         * panel-applet/eggtrayicon.[ch]:
19889         * panel-applet/main.c: Add missing file
19890
19891 2004-10-04 Dan Williams <dcbw@redhat.com>
19892
19893         * src/NetworkManagerDevice.[ch]
19894                 - Add a slightly more robust method of determining if the WEP key
19895                         is correct or not, by checking the WEP-discarded packet count
19896                         on the card
19897
19898         * info-daemon/NetworkManagerInfo.c
19899                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19900                         un-escape values we pull out rather than escaping them
19901
19902 2004-10-03  Marcel Telka  <marcel@telka.sk>
19903
19904         * configure.in (ALL_LINGUAS): Added sk.
19905
19906 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19907
19908         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19909         and feel.  We should be back to working, and have a good, clean
19910         look.
19911
19912 2004-09-30 Dan Williams <dcbw@redhat.com>
19913
19914         * info-daemon/NetworkManagerInfo.c
19915           info-daemon/NetworkManagerInfoDbus.c
19916           test/nminfotest.c
19917                 - Escape ESSIDs in gconf
19918
19919         * src/NetworkManagerDevice.c
19920                 - Fix pseudo-scanning to use netowrk list from info daemon
19921
19922 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19923
19924         * configure.in: Add a temporary --enable-notification-icon.  This
19925         will prolly go away.
19926
19927         * info-daemon/Makefile.am:
19928         * info-daemon/NetworkManagerInfo.c:
19929         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19930
19931         * panel-applet/Makefile.am:
19932         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19933         * panel-applet/NMWirelessApplet.h:
19934
19935 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19936
19937         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19938         before 'select custom ESSID'.
19939
19940         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19941         fully complete, but syncing in prep for merge.
19942
19943         * panel-applet/icons/*png: New images
19944
19945 2004-09-28 Dan Williams <dcbw@redhat.com>
19946
19947         * src/NetworkManager.c
19948           src/NetworkManagerDevice.c
19949           src/NetworkManagerPolicy.c
19950                 - Don't blow away an active wired connection on startup
19951
19952 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19953
19954         Changes from J5
19955         
19956         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19957
19958         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19959         syslog output
19960
19961 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19962
19963         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19964         have a wireless card.
19965
19966 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19967
19968         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19969         Also, get the right device strings.
19970
19971 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19972
19973         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19974         the logic to make this right.
19975
19976         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19977         devices so that wired networks are always first.
19978
19979 2004-09-22    <clarkbw@cvs.gnome.org>
19980
19981         * initscript/Debian/.cvsignore:
19982         * initscript/Slackware/.cvsignore:
19983         Added new cvsignores for Makefile, Makefile.in
19984         
19985         * test/.cvsignore:
19986         Added nmtestdevices
19987         
19988         * src/NetworkManagerDevice.c: 
19989         * src/NetworkManager.c: 
19990         Updated the wireless/wired HAL device strings from net.ethernet to
19991         net.80203 or net.80211 depending on wired or wireless respectively
19992         
19993         * examples/python/NetworkManager.py: 
19994         s/Quality/Strength/
19995
19996         * examples/python/systray/network_tray.py:
19997         Lots of little changes and fixes.  been rotting for a while so I
19998         figured I'd finally sync them all with CVS
19999
20000 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20001
20002         * configure.in: Add graphics
20003
20004         * panel-applet/Makefile.am: Add graphics
20005
20006         * panel-applet/icons/*: Add graphics
20007
20008         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20009         the icons fully lined up.
20010
20011         * panel-applet/menu-info.c: 
20012         * panel-applet/menu-info.h: Add another menu type.
20013
20014 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20015
20016         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20017
20018         * panel-applet/menu-item.[ch]: Wireless menu item.
20019
20020 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20021
20022         * info-daemon/NetworkManagerInfo.conf
20023                 - Created a more robust security policy for the DBus service
20024                         - everything is denied by default
20025                         - root can own and send to the service
20026                         - users logged in at the console can send to the service
20027
20028 2004-09-13  Dan Williams <dcbw@redhat.com>
20029
20030         * src/NetworkManagerDevice.c
20031                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20032                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20033                         the latter
20034
20035 2004-09-13  Dan Williams <dcbw@redhat.com>
20036
20037         * TODO: fix typo
20038
20039         * docs/NetworkManager DBUS API.txt
20040                 - Update for new signal strength changes
20041
20042         * panel-applet/NMWirelessApplet.c
20043                 - Make panel icon show strength of the current connection
20044                 - Cleanups and memleak fixes
20045
20046         * panel-applet/NMWirelessApplet.h
20047                 - Add data members for signal strength on devices and networks
20048
20049         * panel-applet/NMWirelessAppletDbus.c
20050                 - Free more DBusErrors
20051                 - Update for new signal strength changes
20052                 - Make devices and networks more like real objects, use ref/unref methods
20053                 - Actually unlock the mutex when updating the active device
20054
20055         * src/NetworkManagerAP.c
20056                 - Change AP functions and data members from "quality"->"strength"
20057
20058         * src/NetworkManagerDbus.c
20059                 - Kill "getMaxQuality" and "getQuality" methods
20060                 - Add "getStrength" methods for Networks and Devices
20061
20062         * src/NetworkManagerDevice.[ch]
20063                 - Add accessors for device strength
20064                 - Add functions to update strength for a device.  Note that not all drivers
20065                         actually support signal strength for scanned access points (Atmel drivers
20066                         being one)
20067                 - Calculate signal strength for each AP during scan
20068
20069         * src/NetworkManagerWireless.[ch]
20070                 - Add function to return signal strength % from a device and a raw quality struct
20071
20072         * test/nmclienttest.c
20073                 - Update for new signal strength changes
20074
20075 2004-09-11  Dan Williams <dcbw@redhat.com>
20076
20077         * src/NetworkManager.c
20078                 - Fix race condition between initscripts and NM on card insertion
20079                         which could cause a card to keep an IP address and routes around
20080                         even when it was not the active device
20081
20082         * src/NetworkManagerDbus.c
20083                 - Fix compile errors, free more DBusErrors
20084
20085 2004-09-11  Dan Williams <dcbw@redhat.com>
20086
20087         * docs/NetworkManager DBUS API.txt
20088                 - Add an explanation of NM's API
20089
20090         * src/NetworkManagerDbus.c
20091                 - Free some more DBusErrors if needed
20092
20093 2004-09-11  Dan Williams <dcbw@redhat.com>
20094
20095         * panel-applet/NMWirelessApplet.c
20096           panel-applet/NMWirelessAppletDbus.c
20097                 - Start using NetworkDevice/WirelessNetwork structures in more places
20098                 - Update for unified device/network forcing in NetworkManager
20099
20100         * src/NetworkManager.c
20101                 - some code consolidation
20102
20103         * src/NetworkManagerDbus.c
20104                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20105                         or two arguments:  the first is the NM ID of the device to switch to,
20106                         and the second (optional) argument is the ESSID of a wireless network
20107                         to use as well.
20108                 - Get rid of "setNetwork" method due to above change
20109
20110         * src/NetworkManagerDevice.c
20111                 - (nm_device_new): perform scan and update best AP on device creation
20112                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20113                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20114                         spin waiting for cancellation to finish before returning
20115
20116         * src/NetworkManagerPolicy.c
20117                 - Changes here clarify the situations in which a device switch occurs, and 
20118                         make sure to keep using a forced device and network if the user gives
20119                         us one
20120                 - Remove old unused code
20121
20122 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20123
20124         * configure.in: Added Danish (da) to ALL_LINGUAS.
20125
20126 2004-09-09  Dan Williams <dcbw@redhat.com>
20127
20128         * panel-applet/NMWirelessAppletDbus.c
20129                 - Pull fresh devices and networks from NM when wireless networks
20130                         change.  Provides faster feedback of a forced wireless network
20131
20132         * src/NetworkManagerDbus.c
20133                 - Return error when "getMaxQuality" is called on a wired device
20134                 - Make best_ap freezing actually work again, and signal cancellation
20135                         of activation if there's already a device activation when the user
20136                         freezes the best_ap
20137
20138         * src/NetworkManagerDevice.c
20139                 - Don't clear out the best_ap for wireless devices when the link goes
20140                         down, that's done elsewhere
20141                 - Kill any dhcp daemons when cancelling device activation since they
20142                         may be stuck waiting for a DHCP address, and since we're cancelling
20143                         activation we don't care about that anymore
20144
20145         * src/NetworkManagerPolicy.c
20146                 - Make sure to unref the device we ref earlier (we refed it to make sure
20147                         it stuck around during device activation and such)
20148                 - If we were going to change the best device, but its activating currently
20149                         (and therefore the change didn't occur due to the check earlier)
20150                         we mark the state changed to we come back to it later when device
20151                         activation has canceled and its no longer activating
20152
20153         * src/backends/NetworkManagerRedHat.c
20154                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20155
20156 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20157
20158         * info-daemon/passphrase.glade: 
20159         set passphrase input to activates_default : True
20160
20161         * examples/python/systray/network_tray.py
20162         (network_tray.sort_networks):
20163
20164         Added support for having wireless always scanning
20165
20166 2004-09-09  Dan Williams <dcbw@redhat.com>
20167
20168         NOTE: this commit changes the behavior of wireless devices in
20169         NetworkManager.  They are now up all the time, scanning all
20170         the time.  Only the active device has an IP address and routing
20171         information set up however.  Also, NetworkManager will no longer
20172         opportunistically switch wireless networks when a better one
20173         comes in range, it will remain associated with one wireless network
20174         until that one drops out.
20175
20176         * panel-applet/NMWirelessApplet.c
20177           panel-applet/NMWirelessAppletDbus.c
20178                 - List all wireless cards and their respective networks
20179
20180         * src/NMLoadModules
20181                 - Use full path to /sbin/ip
20182
20183         * src/NetworkManager.c
20184                 - Keep wireless devices up all the time so they can scan
20185
20186         * src/NetworkManagerDbus.c
20187                 - On a WirelessNetworkUpdate signal from NMI, don't update
20188                         the "best" AP
20189
20190         * src/NetworkManagerDevice.c
20191                 - (nm_device_set_link_active): clear out the best ap for
20192                         wireless devices when the link is set to FALSE
20193                 - Scan on all wireless cards, all the time
20194                 - (nm_device_activation_worker): split out the wireless card
20195                         link-waiting code to a separate function
20196                 - Keep wireless cards up even if device activation fails
20197                 - Don't update the "best" ap as much
20198
20199         * src/NetworkManagerPolicy.c
20200                 - Don't update the best ap when checking if its frozen,
20201                         let link checking clear out a frozen best ap for us
20202
20203         * src/NetworkManagerWireless.c
20204                 - Scan on all wireless cards, all the time
20205
20206 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20207
20208         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20209
20210 2004-09-09  Ankit Patel <ankit@redhat.com>
20211
20212         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20213
20214 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20215
20216         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20217
20218 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20219
20220         * examples/python/NetworkManager.py: 
20221         added CONNECTED, CONNECTING, and DISCONNECTED states
20222         added methods to return number of devices of a single type
20223
20224         * examples/python/systray/network_tray.py: 
20225         did some tweaks to get the menu looking near what it is supposed
20226         to look like.  Also did a Airo card hack to make it show the
20227         correct AP quality
20228
20229 2004-09-08  Dan Williams <dcbw@redhat.com>
20230
20231         * panel-applet/no-networkmanager.png
20232           panel-applet/Makefile.am
20233           panel-applet/NMWirelessApplet.c
20234                 - Add a "NetworkManager not running" icon and use it
20235                 - Use new consolidated GConf keys rather than Preferred/Trusted
20236
20237         * TODO: update
20238
20239         * info-daemon/NetworkManagerInfo.c
20240           info-daemon/NetworkManagerInfoDbus.[ch]
20241           info-daemon/NetworkManagerInfoPassphraseDialog.c
20242                 - There are now no longer two separate lists of wireless networks,
20243                         but one list where each network is "trusted" or not trusted
20244                 - Add a "getNetworkTrusted" dbus method
20245                 - "WirelessNetworkUpdate" signal now sent rather than
20246                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20247                 - Start freeing some dbus errors (not completed yet)
20248
20249         * info-daemon/passphrase.glade
20250                 - Remove the "don't show" hints for pager and taskbar
20251                 - Add a title since its going to be in the taskbar
20252
20253         * src/NetworkManager.[ch]
20254           src/NetworkManagerAPList.[ch]
20255                 - There are now no longer two separate lists of wireless networks,
20256                         but one list where each network is "trusted" or not trusted
20257
20258         * src/NetworkManagerAP.[ch]
20259                 - Add get/set "trusted" accessors and data bit
20260
20261         * src/NetworkManagerDbus.[ch]
20262                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20263                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20264
20265         * src/NetworkManagerDevice.[ch]
20266                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20267                 - (nm_device_new): Get device config from backend when initializing devices
20268                 - (nm_device_activation_worker): Split out device configuration on
20269                         activation to deal with static/dynamic IP differences, and try encryption
20270                         fallbacks on a device if the encryption method for the best AP is not good
20271                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20272                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20273
20274         * src/NetworkManagerWireless.c
20275                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20276
20277         * src/backends/NetworkManagerRedHat.c
20278           src/backends/NetworkManagerSystem.h
20279                 - (nm_system_device_update_config_info): Add function to get device configuration
20280                         from system data in ifcfg-* files
20281
20282         * src/backends/NetworkManagerDebian.c
20283           src/backends/NetworkManagerGentoo.c
20284           src/backends/NetworkManagerSlackware.c
20285                 - Add stub functions for getting device configuration
20286
20287 2004-09-07  Dan Williams <dcbw@redhat.com>
20288
20289         * src/backends/NetworkManagerRedhat.c
20290           src/backends/NetworkManagerSlackware.c
20291                 - Use full path to /sbin/ip everywhere
20292
20293 2004-09-07  Dan Williams <dcbw@redhat.com>
20294
20295         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20296
20297         * configure.in
20298           initscript/Makefile.am
20299           initscript/Slackware/Makfile.am
20300           initscript/Slackware/rc.networkmanager
20301           src/Makefile.am
20302           src/backends/NetworkManagerSlackware.c
20303                 - Add Slackware support
20304
20305 2004-09-07  Dan Williams <dcbw@redhat.com>
20306
20307         Patches below from:
20308                 <j@bootlab.org>
20309                 Mark Roach <mrroach@okmaybe.com>
20310                 Thom May <thom@debian.org>
20311
20312         * configure.in
20313           initscript/Debian/NetworkManager
20314           initscript/Debian/Makefile.am
20315                 - Initscript for Debian
20316
20317         * src/backends/NetworkManagerDebian.c
20318                 - Add missing system init function to allow compilation
20319                         on Debian
20320
20321 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20322
20323         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20324
20325 2004-09-03  Akagic Amila <bono@linux.org.ba>
20326
20327         * configure.in: Added 'bs' to ALL_LINGUAS.
20328
20329 2004-09-02  Colin Walters  <walters@verbum.org>
20330
20331         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20332         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20333         g_strdup_printf instead of arbitrarily sized buffers.
20334
20335 2004-09-01  Colin Walters  <walters@verbum.org>
20336
20337         * NetworkManager.pc.in: New file.
20338
20339         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20340
20341 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20342         
20343         * configure.in: Punjabi(pa) is added to po/.
20344
20345 2004-08-31  Dan Williams <dcbw@redhat.com>
20346
20347         * Remove 'debug' extern global from all files since we now
20348                 use syslog()
20349
20350         * src/NetworkManager.[ch]
20351                 - Break out routine that get the net.interface property from HAL,
20352                         removing that logic from nm_create_device_and_add_to_list()
20353                 - (nm_create_device_and_add_to_list): make this a bit more general so
20354                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20355                         the create of test devices.
20356                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20357                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20358                         which makes NetworkManager listen for dbus commands to create test
20359                         devices, which have no backing hardware.  Use when you're on a plane
20360                         for example, and/or forgot your wireless card at home.  Test devices
20361                         _cannot_ be created unless NM is started with --enable-test-devices.
20362
20363         * src/NetworkManagerDbus.[ch]
20364                 - New "getLinkActive" method for devices
20365                 - New "setLinkActive" method for devices (only works on test devices)
20366                 - New "createTestDevice" method on NetworkManager object to create a test
20367                         device of a specified type (ie wired, wireless).  UDI is created from
20368                         scratch, as is the interface name.  Only works when NM is started with
20369                         --enable-test-devices switch.
20370                 - New "removeTestDevice" method on NetworkManager object which removes a
20371                         test device.  Only works when NM is started with --enable-test-devices
20372
20373         * src/NetworkManagerDevice.[ch]
20374                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20375                         whether a device is a test device or not, and what its link status is.
20376                 - Deal with test devices in most functions.  For those that work directly on hardware
20377                         special-case test devices.
20378                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20379                         command-line.
20380                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20381                         checking to separate functions to facilitate test device link checking.
20382                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20383                         don't make a distinction between System Authentication and Encryption
20384                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20385                         on the card.  We don't deal with Shared Key auth yet.
20386                 - (nm_device_activation_worker): split the activation cancel check logic out into
20387                         a separate routine nm_device_activation_cancel_if_needed()
20388                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20389                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20390                         a list of fake access points that they can "see"
20391                 - (nm_device_is_test_device): return whether or not a device is a test device
20392
20393         * src/NetworkManagerPolicy.c
20394                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20395                         previously if you "locked"/forced NM to use a wireless device but then
20396                         selected a wireless network for NM to use, it would switch to a wired device.
20397                         So, if the active device is wireless and it has a "forced" best AP, use it
20398                         if the "forced" best AP is still valid
20399                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20400                         there were no usable network devices, or the last one was removed
20401
20402         * src/backends/NetworkManager*.c
20403                 - Deal with test devices, mostly just return success for operations like getting
20404                         a DHCP address
20405
20406         * test/nmtestdevices.c
20407                 - Test tool to create/remove/link-switch test devices
20408
20409 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20410
20411         * examples/python/NetworkManager.py: 
20412         added convience functions has_wired_device and has_wireless_device
20413
20414         * examples/python/systray/network_tray.py: 
20415         cleaned up a bunch of cruft, added support for listing wireless
20416         networks just like the real applet.  This is probably all I'm
20417         going to work on this applet from now on.
20418         TODO: add support for actually changing networks and devices
20419
20420         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20421         changed "nm.networks" into a dict from a list so I can store all
20422         the cool information about networks in there
20423
20424         * examples/python/systray/network_tray.py: 
20425         Added nice message when you try to run without running make first
20426
20427         * examples/python/NetworkManager.py: 
20428         Bug fixes to the code so we get all the device information
20429         that we need in get_device()
20430         
20431         * examples/python/NMTester.py: 
20432         Fixed _print_device_list to print_device_list
20433
20434 2004-08-29  Seth Nickell  <seth@gnome.org>
20435
20436         * configure.in:
20437
20438         Actually properly setup the Debian backend in configure.
20439         
20440 2004-08-29  Colin Walters  <walters@verbum.org>
20441
20442         * test/nminfotest.c: Include string.h and stdlib.h.
20443         (get_network_string_property, get_networks_of_type): Return NULL.
20444
20445         * test/nmclienttest.c (get_device_name, get_active_device): Return
20446         NULL.
20447
20448         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20449         use strlen, fgets always NULL-terminates the string.
20450
20451         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20452         dbus_message_get_member): Remove /* in comment.
20453
20454         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20455
20456         * src/NetworkManager.c (quit): Unused, delete.
20457         (nm_data_free): Cast arg to GFunc.
20458
20459         * panel-applet/NMWirelessAppletDbus.c: Need to include
20460         string.h, and dbus-glib-lowlevel.h (the latter is needed
20461         for dbus_connection_setup_with_g_main at present).
20462         (nmwa_dbus_update_wireless_network_list): Parenthesize
20463         assignment in conditional.
20464         (nmwa_dbus_worker): Return NULL.
20465
20466         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20467         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20468         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20469         (nmwa_populate_menu): Return NULL on failure, instead of just
20470         return;
20471
20472         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20473
20474         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20475         variables.
20476
20477         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20478         delete.
20479         
20480 2004-08-29  Colin Walters  <walters@verbum.org>
20481
20482         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20483         a GTimeVal instead of time_t.  This is easier to work with,
20484         since time_t may be a long or double, we don't know.
20485
20486         * src/NetworkManagerDbus.h: Update prototype.
20487         
20488         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20489         instead of time_t.
20490         (nm_ap_get_timestamp): Update to return GTimeVal.
20491         (nm_ap_set_timestamp): Update to take GTimeVal.
20492         
20493         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20494         to handle GTimeVal.
20495
20496         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20497         GTimeVal change.
20498         (nm_ap_list_print_members): Fix warnings in printf format.
20499
20500 2004-08-29  Colin Walters  <walters@verbum.org>
20501         
20502         * panel-applet/NMWirelessApplet.c: Include config.h.
20503
20504 2004-08-29  Colin Walters  <walters@verbum.org>
20505
20506         * configure.in: Generate config.h.
20507
20508         * configure.in: Dump dependency on OpenSSL; we can't
20509         use it since this package is GPL:
20510         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20511         Instead, check for libgcrypt, use it if available,
20512         otherwise use included MD5 code.
20513
20514         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20515         Suck in from gnome-keyring, munge a bit.
20516         
20517         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20518         gnome-keyring-md5.h gnome-keyring-md5.c.
20519         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20520
20521         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20522         libgcrypt or included gnome-keyring md5 bits.
20523         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20524
20525 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20526
20527         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20528
20529 2004-08-27  Bryan Clark  <bclark@redhat.com>
20530
20531         * examples/python/systray/Makefile: 
20532
20533         Updated the clean section
20534         
20535         * examples/python/systray/trayiconmodule.c: 
20536         * examples/python/systray/trayicon.override: 
20537         * examples/python/systray/network_tray.py: 
20538         * examples/python/systray/eggtrayicon.h: 
20539         * examples/python/systray/eggtrayicon.c: 
20540         * examples/python/systray/Makefile: 
20541         * examples/python/README: 
20542         * examples/python/NetworkManager.py: 
20543         * examples/python/NMTester.py: 
20544
20545         Initial commit of these python example files
20546
20547 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20548
20549         * panel-applet/NMWirelessApplet.c
20550                 - Make current device bold
20551                 - Show more user-friendly device name if we got one from hal
20552
20553         * panel-applet/NMWirelessAppletDbus.c
20554                 - Grab "info.product" key from hal for network devices
20555                 - Cache the current active device
20556
20557 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20558
20559         * configure.in: Added en_CA to ALL_LINGUAS.
20560
20561 2004-08-27  Christian Rose  <menthos@menthos.com>
20562
20563         * configure.in: Added "sv" to ALL_LINGUAS.
20564
20565 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20566
20567         * Tag NetworkManager-0.2
20568
20569 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20570
20571         * initscripts/Makefile.am
20572         * configure.in: Make pass distcheck
20573
20574         * po/ChangeLog: added
20575
20576 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20577
20578         * panel-applet/NMWirelessApplet.c
20579                 - Remove debugging code
20580                 - Enable device switching from menus
20581
20582         * panel-applet/NMWirelessAppletDbus.[ch]
20583                 - Method for asking NM to switch devices
20584
20585         * src/NetworkManagerDevice.c
20586                 - Set dev->activating earlier, avoids race between
20587                         the dbus signal of "DeviceActivating" and setting
20588                         dev->activating (which is what NM's "status" method call
20589                         looks at)
20590
20591 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20592
20593         * panel-applet/NMWirelessApplet.[ch]
20594                 - Rework menu code to add devices to menu, and to show
20595                         signal strength for each access point.  Code cleanups
20596                         too.
20597
20598         * panel-applet/NMWirelessAppletDbus.c
20599                 - Grab network devices from NetworkManager too
20600                 - Grab quality information from NM for wireless networks
20601
20602         * src/NetworkManagerDbus.[ch]
20603                 - Add dbus methods for getting the HAL UDI from a device and
20604                         for getting its base quality, if its wireless
20605                 - Consolidate some functions (wireless network notifications,
20606                         device notifications)
20607                 - Add method for requesting NM to use a particular device
20608
20609         * src/NetworkManager.c
20610                 - Change for function consolidations from NetworkManagerDbus.c
20611                 - Implement active device locking and user-requested devices
20612                         (ie, tell NM to use a particular device instead of the one
20613                         it autochose)
20614
20615         * src/NetworkManagerDevice.c
20616                 - Add method for getting the base quality of a device, if its
20617                         wireless
20618                 - Grab device base quailty info from iwlib during scans
20619
20620         * src/NetworkManagerPolicy.c
20621                 - Use a user-requested device rather than the auto-chosen device
20622                         if we are told to
20623
20624 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20625
20626         * Makefile.am: add po as a supdir
20627
20628         * autogen.sh: use gnome-autogen.sh
20629
20630         * initscript/Gentoo/.cvsignore:
20631         * initscript/RedHat/.cvsignore: Shut up cvs
20632
20633         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20634
20635         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20636         (nmwa_fill): Use gettext.
20637
20638         * configure.in: add gettext support
20639         * po/.cvsignore:
20640         * po/NetworkManager.pot:
20641         * po/POTFILES.in:
20642
20643 2004-08-26  Seth Nickell  <seth@gnome.org>
20644
20645         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20646         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20647         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20648         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20649         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20650         * panel-applet/NMWirelessApplet.h:
20651
20652         Use a menu bar instead of a button for the main clickable
20653         thingy.
20654         
20655 2004-08-25  Dan Williams <dcbw@redhat.com>
20656
20657         * src/NetworkManagerDevice.c
20658                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20659                         turning encryption off, because the Cisco driver doesn't associate
20660                         with WEP-enabled access points unless we are in "open"
20661
20662 2004-08-25  Dan Williams <dcbw@redhat.com>
20663
20664         * src/NetworkManagerWireless.c
20665                 - Don't try to defererence blank passphrases
20666
20667 2004-08-25  Dan Williams <dcbw@redhat.com>
20668
20669         * panel-applet/NMWirelessApplet.c
20670                 - Rebuild the menu whenever a user clicks
20671
20672 2004-08-25  Dan Williams <dcbw@redhat.com>
20673
20674         * panel-applet/NMWirelessApplet.c
20675                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20676                         when NM isn't around or when its not connected
20677
20678         * src/NetworkManagerDevice.c
20679                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20680                         canceled.
20681
20682 2004-08-25  Dan Williams <dcbw@redhat.com>
20683
20684         * panel-applet/NMWirelessAppletDbus.c
20685                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20686                         for getting encryption, and don't stop on "val" once we've gotten it
20687                         from NetworkManager.  Short form:  encryption should now show up.
20688
20689 2004-08-25  Dan Williams <dcbw@redhat.com>
20690
20691         * panel-applet/NMWirelessApplet.c
20692                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20693                         network to associate with
20694
20695 2004-08-25  Dan Williams <dcbw@redhat.com>
20696
20697         * panel-applet/*
20698                 - Rework the panel applet to do all DBUS communication in a separate
20699                         thread
20700
20701 2004-08-25  Dan Williams <dcbw@redhat.com>
20702
20703         * info-daemon/NetworkManagerInfo.[ch]
20704                 - Remove "get_next_priority" function
20705
20706         * info-daemon/NetworkManagerInfoDbus.[ch]
20707                 - Convert "priority" functions to "timestamp"
20708
20709 2004-08-25  Dan Williams <dcbw@redhat.com>
20710
20711         * src/NetworkManagerAP.[ch]
20712                 - Add a "enc_method_good" member and accessors to an Access Point
20713                         to signal when we've found the correct encryption method
20714                         for an access point
20715                 - Add a "timestamp" member and accessors, remove "priority" member
20716                         and accessors (use timestamps instead)
20717                 - Rename "wep_key"->"enc_key"
20718                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20719                         for a specified encryption method using the access points
20720                         source encryption key/passphrase
20721
20722         * src/NetworkManagerAPList.c
20723                 - When updating a network with dbus, grab timestamp now instead of
20724                         priority
20725
20726         * src/NetworkManagerDBus.[ch]
20727                 - Add signal for "DeviceActivating"
20728                 - Switch priority->timestamp
20729
20730         * src/NetworkManagerDevice.c
20731                 - Change references of "wep_key" -> "enc_key" or "key"
20732                 - Signal DeviceActivating when starting activation
20733                 - When activating a wireless device, if the access point we are connecting
20734                         to is encrypted, and we have a source key, try to generate a mangled
20735                         key and use that (ie, generate real WEP key from a passphrase)
20736                 - Rework device activation to fallback to other encryption methods if
20737                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20738                         first, then if that doesn't work fall back to direct hex key).
20739                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20740                         priority.  We now prefer the latest access point used, rather than using
20741                         a priority scheme
20742                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20743                         points we've just discovered, and merge in correct info from the global
20744                         access point lists
20745
20746 2004-08-25  Seth Nickell  <seth@gnome.org>
20747
20748         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20749         Debian support.
20750         
20751         * src/Makefile.am:
20752         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20753         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20754         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20755         (nm_system_delete_default_route),
20756         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20757         (nm_system_load_device_modules):
20758
20759 2004-08-24  Dan Willemsen <dan@willemsen.us>
20760
20761         * src/NetworkManager.c
20762           src/backends/NetworkManagerGentoo.c
20763           src/backends/NetworkManagerRedHat.c
20764           src/backends/NetworkManagerSystem.h
20765                 - Implement preliminary Gentoo support, adding a
20766                         nm_system_init function to the backend specification
20767
20768         * configure.in
20769                 - Distribution auto-detection, lowercase any user-fed
20770                         distribution names
20771
20772         * initscript/.cvsignore
20773           initscript/Makefile.am
20774           initscript/RedHat/Makefile.am
20775           initscript/RedHat/NetworkManager
20776           initscript/Gentoo/Makefile.am
20777           initscript/Gentoo/NetworkManager
20778                 - Refactored initscript code separately for each
20779                         distribution
20780
20781 2004-08-23  Dan Williams <dcbw@redhat.com>
20782
20783         * configure.in
20784           src/Makefile.am
20785           src/NetworkManagerDevice.c
20786           src/NetworkManager.c
20787           src/NetworkManagerUtils.[ch]
20788           src/backends/NetworkManagerSystem.h
20789           src/backends/NetworkManagerRedHat.c
20790           src/backends/NetworkManagerGentoo.c
20791                 - Refactor system-specific code into separate backends for
20792                         each distribution
20793
20794 2004-08-23  Dan Willemsen <dan@willemsen.us>
20795
20796         * dispatcher-daemon/NetworkManagerDispatcher.c
20797           info-daemon/NetworkManagerInfo.[ch]
20798           info-daemon/NetworkManagerInfoDbus.c
20799           info-daemon/NetworkManagerInfoPassphraseDialog.c
20800           src/NetworkManager.c
20801           src/NetworkManagerAP.c
20802           src/NetworkManagerAPList.c
20803           src/NetworkManagerDbus.c
20804           src/NetworkManagerDevice.c
20805           src/NetworkManagerPolicy.c
20806           src/NetworkManagerUtils.[ch]
20807           src/NetworkManagerWireless.c
20808                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20809
20810         * src/NetworkManager.c
20811                 - Fixed usage wording for --no-daemon
20812
20813 2004-08-23  Dan Williams <dcbw@redhat.com>
20814
20815         * panel-applet/NMWirelessApplet.c
20816                 - Update our state every second to get more responsive panel icon
20817                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20818                         was causing our marching ants status blips to never move when
20819                         looking for a wireless network
20820
20821         * src/NetworkManagerDevice.c
20822                 - (nm_device_activation_begin): return if activation has already begun
20823                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20824                         trusted/preferred network into the device's access point when the
20825                         scan list is processed
20826
20827 2004-08-23  Dan Williams <dcbw@redhat.com>
20828
20829         * initscript/NetworkManager
20830                 - Use NMLaunchHelper rather than sleeping
20831
20832         * initscript/NMLaunchHelper.c
20833           Makefile.am
20834                 - Add helper program that exits only when NM activates a device,
20835                         or 10 seconds have passed, whichever happens first.  This
20836                         stops the boot processes until we have a network connection,
20837                         which NM can't do because it daemonizes and brings the connection
20838                         up in the background.  Allows stuff like NFS to not die.
20839
20840 2004-08-20  Dan Williams <dcbw@redhat.com>
20841
20842         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20843                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20844                         for a network, set the essid as well since it may not exist yet
20845                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20846                         since WEP keys/passphrases are long and prone to entry-error
20847
20848         * panel-applet/Makefile.am
20849           panel-applet/wired.png
20850                 - Add (pulled from system-config-network temporarily)
20851
20852         * panel-applet/NMWirelessApplet.[ch]
20853                 - Show wired picture when a wired connection is used
20854                 - Rename wireless icon enums, adding WIRELESS
20855
20856         * src/NetworkManagerDevice.c
20857                 - (nm_device_activate_wireless): unset encryption before bringing
20858                         down the card and setting the essid
20859                 - (nm_device_activatin_worker): request a key from the user if the
20860                         AP we are connecting to is encrypted but we don't have a key
20861                         for it yet
20862                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20863                         strcmp() that prevented a user-entered key from actually getting
20864                         used
20865
20866 2004-08-16  Dan Williams <dcbw@redhat.com>
20867
20868         * initscript/NetworkManager
20869                 - Check for /sbin/ip
20870                 - Do sysctl magic that network service does
20871                 - sleep 4s after start to allow network time to come up [hack]
20872
20873         * src/Makefile.am
20874           src/NMLoadModules
20875                 - Load all network device kernel modules (hal doesn't know devices
20876                         are ethernet until the module is loaded, and therefore we don't know)
20877
20878         * src/NetworkManager.c
20879                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20880                         network devices, and bring up the loopback device explicitly
20881
20882         * src/NetworkManagerUtils.[ch]
20883                 - (nm_enable_loopback): new function
20884
20885 2004-08-13  Dan Williams <dcbw@redhat.com>
20886
20887         * configure.in
20888           panel-applet/Makefile.am
20889                 - Fix up cleanfiles and server_DATA/server_in_files
20890
20891         * README
20892                 - Update with some comments on theory of operation
20893
20894         * CONTRIBUTING
20895           Makefile.am
20896                 - Add CONTRIBUTING
20897
20898 2004-08-12  Dan Williams <dcbw@redhat.com>
20899
20900         * info-daemon/passphrase.glade
20901                 - Set window title to " "
20902
20903         * panel-applet/Makefile.am
20904           panel-applet/keyring.png
20905                 - Deliver to correct place
20906
20907         * panel-applet/NMWirelessApplet.[ch]
20908                 - Add comments
20909                 - Remove applet->have_active_device as its no longer used
20910                 - (nmwa_load_theme): load keyring.png too
20911                 - (error_dialog): remove
20912                 - (show_warning_dialog): subsume functionality of error dialog too
20913                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20914                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20915                         the networks menu
20916                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20917                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20918                         and when we get broadcasts of changed wireless access points only, not when the
20919                         user clicks on the button to display the menu (too long of a wait)
20920                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20921                         networks that are encrypted
20922                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20923                         menu item with g_object_set_data()
20924
20925         * panel-applet/NMWirelessAppletDbus.[ch]
20926                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20927                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20928                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20929                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20930                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20931                         activation/deactivation signals and rebuild the menu when they happen
20932
20933         * src/NetworkManager.c
20934                 - (main): use new nm_spawn_process() rather than system()
20935
20936         * src/NetworkManagerDbus.c
20937                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20938                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20939                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20940                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20941                         to freeze the best_ap.
20942
20943         * src/NetworkManagerDevice.[ch]
20944                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20945                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20946                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20947                         ap list
20948
20949         * src/NetworkManagerUtils.[ch]
20950                 - (nm_spawn_process): add replacement for system() usage
20951
20952 2004-08-11  Dan Williams <dcbw@redhat.com>
20953
20954         * panel-applet/NMWirelessApplet.[ch]
20955                 - Fix up copyright and credits to include Bastien and Eskil,
20956                         who created the gnome-applets wireless applet, from whose
20957                         skeleton this one was created
20958                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20959                         pixmap to draw is computed during nmwa_update_state()
20960                 - Applet now shows itself all the time due to panel packing issues
20961                         which caused the applet to previously never come back after hiding.
20962                         When a wired device is the active device, the applet shows "not connected"
20963
20964         * panel-applet/NMWirelessAppletDbus.[ch]
20965                 - Clean up error messages and show what function they are from
20966                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20967                 - Add new device type getters, and a status getter
20968
20969         * src/NetworkManagerDbus.c
20970                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20971                         network is actually in the device's ap list
20972                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20973
20974         * src/NetworkManagerDevice.c
20975                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20976                         card
20977
20978         * test/nmclienttest.c
20979                 - Report status of NetworkManager too
20980
20981 2004-08-11  Dan Williams <dcbw@redhat.com>
20982
20983         * info-daemon/NetworkManagerInfo.c:
20984                 - (main): clean up Seth's code style
20985
20986         * info-daemon/NetworkManagerInfoDbus.c:
20987                 - Use the more aptly-named path/service/interface constants from NetworkManager
20988                 - Don't return empty strings ("") as object paths ever, instead return errors
20989
20990         * panel-applet/NMWirelessApplet.c:
20991                 - Clean up Seth's code style
20992
20993         * src/NetworkManager.[ch]
20994                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20995                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20996
20997         * src/NetworkManagerAPList.[ch]
20998                 - Move Iter struct right above the iter functions to preserve opacity
20999                 - (nm_ap_list_remove_ap): implement
21000                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21001                         remove AP if NetworkManagerInfo doesn't know anything about it
21002                 - (nm_ap_list_diff): user NMAPList iterators
21003                 - (nm_ap_list_print_members): implement debugging function
21004
21005         * src/NetworkManagerDbus.[ch]
21006                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21007                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21008                         and move the actual key setting stuff into NetworkManagerDevice.c
21009                 - (nm_dbus_get_network_priority): return -1 now on errors
21010                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21011                         get lost, and force the active device to update its "best" ap when AP lists change
21012                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21013                         method call due to pending_device member removal
21014
21015         * src/NetworkManagerDevice.[ch]
21016                 - Move NMDevice structure to the top
21017                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21018                 - Remove Pending Action stuff from everywhere
21019                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21020                         activation for us.  This thread blocks until all conditions for activation have
21021                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21022                         then setup up the interface and runs dhclient.  We have to do this because there
21023                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21024                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21025                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21026                         can tell nm_device_activation_worker() that we've got a key
21027                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21028                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21029                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21030                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21031
21032         * src/NetworkManagerPolicy.c
21033                 - Remove anything to do with pending_device
21034                 - Adjust device activation to deal with activation-in-worker-thread
21035
21036         * src/NetworkManagerUtils.c
21037                 - Clean up locking debugging a bit
21038
21039         * src/NetworkManagerWireless.[ch]
21040                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21041                         was badly named and is better as a device function
21042
21043         * panel-applet/.cvsignore: add
21044
21045 2004-08-09  Seth Nickell  <seth@gnome.org>
21046
21047         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21048         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21049         (nmwa_new):
21050         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21051
21052         Don't load the menus until clicked on (also removes a call outside
21053         normal code paths at first load).
21054
21055         Hide applet when NM is not present.
21056         
21057         Improve printf debugging stuff.
21058         
21059 2004-08-09  Dan Williams <dcbw@redhat.com>
21060
21061         * dispatcher-daemon/NetworkManagerDispatcher.c:
21062                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21063                 - Use constants for NetworkManager interface, service, and path
21064
21065 2004-08-09  Dan Williams <dcbw@redhat.com>
21066
21067         * src/NetworkManagerDbus.c:
21068                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21069                         instead return an error message
21070                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21071                         on a wired device.  Also never return an empty object path, instead return an error message
21072
21073 2004-08-06  Seth Nickell  <seth@gnome.org>
21074
21075         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21076
21077         Check the error code when getting a connection.
21078         
21079         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21080
21081         Check if the NM service exists when initializing (rather than
21082         assuming it does not).
21083         
21084         * src/NetworkManagerDbus.c: (nm_dbus_init):
21085
21086         Don't acquire the well-known service name until we have
21087         registered object/path handlers and can actually receive
21088         calls.
21089         
21090 2004-08-06  Dan Williams <dcbw@redhat.com>
21091
21092         * panel-applet/*
21093                 - Add panel applet
21094
21095         * src/NetworkManagerPolicy.c
21096           src/NetworkManager.c
21097                 - Get access point lists from NetworkManagerInfo on-demand,
21098                         and look for ServiceCreate/ServiceDeleted signals to see when
21099                         we should query NMI for lists
21100         * src/NetworkManagerAPList.c
21101                 - Make sure to init the list's mutex
21102                 - Convert traversals of the list over to the list iter functions
21103
21104         * src/NetworkManagerDbus.[ch]
21105                 - Use more aptly-named path/service/interface constants
21106                 - Treat both active and pending devices the same for "getActiveDevice"
21107                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21108
21109         * src/NetworkManagerDevice.c
21110                 - Honor "ignored" network list when picking best ap to use
21111
21112 2004-08-06  Seth Nickell  <seth@gnome.org>
21113
21114         * aclocal.m4:
21115
21116         Autogenerated, remove from CVS.
21117         
21118         * autogen.sh:
21119
21120         Don't hardcode automake version.
21121         
21122         * configure.in:
21123         * info-daemon/Makefile.am:
21124         * info-daemon/NetworkManagerInfo.c: (main):
21125
21126         Use GnomeProgram et al. for doing session management.
21127         Use popt stuff for argument parsing rather than doing
21128         it manugally.
21129         
21130 2004-08-05  Dan Williams <dcbw@redhat.com>
21131
21132         * test/nminfotest.c
21133                 - Update to new NMI dbus API, check different network types
21134
21135         * info-daemon/NetworkManagerInfoDbus.c
21136                 - Update to new NM dbus API, ie network type sent in query message
21137
21138 2004-08-05  Dan Williams <dcbw@redhat.com>
21139
21140         * An assload of changes
21141
21142 2004-08-02  Dan Williams <dcbw@redhat.com>
21143
21144         * TODO
21145                 - new task: proper logging support
21146
21147         * info-daemon/NetworkManagerInfo.c
21148                 - Correct spelling of "canceled"
21149                 - Correct casting of objects for g_signal_connect()
21150
21151         * info-daemon/NetworkManagerInfoDbus.c
21152                 - Add defines for NetworkManager namespace and object path, and use them
21153                 - Add filter function to trap new signals from NetworkManager:
21154                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21155
21156         * info-daemon/passphrase.glade
21157                 - Change name of "ok" button to "Login to Network..."
21158                 - Mark invisible
21159
21160         * src/NetworkManager.c
21161                 - Code and debug message cleanups
21162                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21163                 - (nm_add_initial_devices) Check returned string array of devices
21164                         and don't try to add devices if array is NULL
21165                 - (main) Initialize libhal a bit later, make code a bit clearer
21166
21167         * src/NetworkManagerAP.[ch]
21168                 - New accessor and data member "matched": used to speed up AP list
21169                         diffing
21170                 - New accessor and data member "enc_method": will be used during key
21171                         fallback to cache which passphrase->key conversion actually works
21172                         so we don't have to do it every time
21173
21174         * src/NetworkManagerAPList.[ch]
21175                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21176                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21177                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21178                         dbus in response to those differences
21179
21180         * src/NetworkManagerDbus.[ch]
21181                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21182                         make an object path for that access point (NOTE that we don't yet check to
21183                         make sure that access point is actually in the device's AP list yet)
21184                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21185                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21186                         New: signal appearance/disappearance of wireless networks
21187                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21188                         key entry
21189
21190         * src/NetworkManagerDevice.[ch]
21191                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21192                 - (nm_device_ap_list_get) New: return the AP list (static function)
21193                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21194                         new one resulting from the scan with the old one
21195
21196         * src/NetworkManagerWireless.c
21197                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21198
21199         * test/nminfotest.c
21200                 - #define object paths and namespaces and use the #defines rather than static strings
21201                 - Test out user-key functionality of NetworkManagerInfo too
21202
21203 2004-07-29  Dan Williams <dcbw@redhat.com>
21204
21205         * info-daemon/NetworkManagerInfoDbus.c
21206           src/NetworkManagerDbus.c
21207                 - Update to current DBus (ie don't use decomposed paths when registering
21208                         object paths/fallbacks)
21209
21210 2004-07-27  Dan Williams <dcbw@redhat.com>
21211
21212         * Remove various Makefile.in files
21213
21214         * TODO
21215                 - Add some more items
21216
21217         * configure.in
21218                 - Add checks for OpenSSL/md5 headers and libs
21219
21220         * src/Makefile.am
21221                 - Use OpenSSL CFLAGS
21222
21223         * src/NetworkManagerAP.[ch]
21224                 - Remove 'stamp' functions, replace with 'invalid' functions
21225                         to support user cancelling WEP key entry
21226
21227         * src/NetworkManagerDbus.c
21228                 - Remove 'stamp' return functions
21229                 - Treat returned user key as a passphrase and convert to a WEP key,
21230                         but don't actually use the WEP key yet.  We use the returned user
21231                         key as a hexadecimal WEP key until we can figure out a UI for
21232                         passphrase-vs-hex key
21233
21234         * src/NetworkManagerWireless.[ch]
21235                 - Add passphrase-to-128bit-key function
21236
21237 2004-07-27  Dan Williams <dcbw@redhat.com>
21238
21239         * TODO
21240                 - Add a couple of items
21241
21242 2004-07-27  Dan Williams <dcbw@redhat.com>
21243
21244         * info-daemon/NetworkManagerInfo.c
21245                 - Update allowed network's GConf key when user enters a WEP key explicitly
21246
21247         * info-daemon/NetworkManagerDbus.c
21248                 - Fix some comments
21249                 - nmi_dbus_get_allowed_networks(): kill warning
21250
21251 2004-07-27  Dan Williams <dcbw@redhat.com>
21252
21253         * initscript/Makefile.in
21254                 - Remove
21255
21256         * initscript/Makefile.am
21257                 - Add correct rules to install the init.d initscript
21258
21259         * info-daemon/NetworkManagerInfoDbus.c
21260                 - Remove debug fprintf
21261
21262         * src/NetworkManagerDbus.[ch]
21263                 - Remove debug fprintfs
21264                 - Add macros for NetworkManagerInfo object path/namespace
21265                 - Use said macros instead of constant strings
21266
21267 2004-07-27  Dan Williams <dcbw@redhat.com>
21268
21269         * initscript/.cvsignore
21270                 - Add
21271
21272         * info-daemon/Makefile.am
21273                 - Install .glade files and keyring.png
21274                 - Fix stupid omission of a \ that caused half the flags not to be
21275                         passed to gcc
21276
21277         * info-daemon/NetworkManagerInfo.c
21278                 - gtk_signal_connect->g_signal_connect
21279                 - Alert NetworkManagerInfo to new glade file location
21280
21281 2004-07-27  Dan Williams <dcbw@redhat.com>
21282
21283         * test/nmclienttest.c
21284           test/nminfotest.c
21285                 - Add missing <dbus/dbus.h> headers
21286                 - Add GPL message at top
21287
21288 2004-07-27  Dan Williams <dcbw@redhat.com>
21289
21290         * src/NetworkManagerAPList.[ch]
21291           src/Makefile.am
21292                 - Add.  Deal with allowed network list additions, deletions, and updates
21293
21294         * dispatcher-daemon/NetworkManagerDispatcher.c
21295                 - Add missing <dbus/dbus.h> header
21296
21297         * info-daemon/NetworkManagerInfo.[ch]
21298                 - Add missing <dbus/dbus.h> header
21299                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21300                         network change
21301                 - Better error checking
21302
21303         * info-daemon/NetworkManagerInfoDbus.[ch]
21304                 - Add missing <dbus/dbus.h> header
21305                 - Convert to using dbus_message_append_args/dbus_message_get_args
21306                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21307                         that an allowed network changed.  We don't want to signal on individual
21308                         keys _inside_ an allowed network really, just want NM to query the info
21309                         daemon for updated info on all keys.
21310                 - Better error checking
21311
21312         * src/NetworkManager.[ch]
21313                 - Add missing <dbus/dbus.h> header
21314                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21315                 - Zero out NMData structure on free
21316                 - No longer use a thread for allowed_ap_list updating, instead its now done
21317                         through dbus queries against NetworkManagerInfo
21318                 - Populate allowed_ap_list initially before adding existing network devices
21319                         to the device list, so wireless devices can get their "best" AP
21320
21321         * src/NetworkManagerDbus.[ch]
21322                 - Convert to using dbus_message_append_args/dbus_message_get_args
21323                 - Better error checking
21324                 - Implement Allowed Network info functions to request allowed network
21325                         info from NetworkManagerInfo
21326                 - Implement the filter function to process signals from NetworkManagerInfo
21327                         about changing allowed networks
21328
21329         * src/NetworkManagerDevice.c
21330                 - Fix file descriptor leak in nm_device_update_ip4_address()
21331
21332 2004-07-27  Dan Williams <dcbw@redhat.com>
21333
21334         * .cvsignore
21335           src/.cvsignore
21336           test/.cvsignore
21337           dispatcher-daemon/.cvsignore
21338           info-daemon/.cvsignore
21339                 - Add .cvsignore files to reduce noise when diffing
21340
21341 2004-07-24  Dan Williams <dcbw@redhat.com>
21342
21343         * src/NetworkManager.[ch]
21344           src/NetworkManagerDbus.[ch]
21345           src/NetworkManagerDevice.[ch]
21346           src/NetworkManagerPolicy.c
21347           src/NetworkManagerWireless.[ch]
21348                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21349                 - Pass the NMData application data structure through all calls
21350                         that need it so we can get rid of nm_get_global_data()
21351                 - Change deallocation of the allowed_ap_list GSList in preparation
21352                         for not completely clearing it every time we get an update,
21353                         but instead getting incremental updates via GConf/dbus
21354
21355 2004-07-22  Dan Williams <dcbw@redhat.com>
21356
21357         * configure.in
21358                 - Add checks for GConf libs & headers & flags
21359
21360         * info-daemon/Makefile.am
21361                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21362
21363         * info-daemon/NetworkManagerInfo.[ch]
21364                 - Don't use gquarks for data storage, just use normal data storage
21365                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21366
21367         * info-daemon/NetworkManagerDbus.[ch]
21368                 - Add method call for getting allowed networks
21369                 - Add method calls for getting an allowed network's essid, priority, and key
21370                 - Hook the method calls up to GConf
21371                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21372                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21373                 
21374         * src/NetworkManagerDbus.[ch]
21375                 - Switch for enumeration of networks to using essid instead
21376
21377         * test/Makefile.am
21378           test/nminfotest.c
21379                 - Add test program for NetworkManagerInfo
21380
21381 2004-07-19  Dan Williams <dcbw@redhat.com>
21382
21383         * src/NetworkManagerDbus.c
21384                 - Switch from indexed device paths to names.  Less code, more efficient.
21385                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21386
21387 2004-07-19  Dan Williams <dcbw@redhat.com>
21388
21389         * dispatcher-daemon/NetworkManagerDispatcher.c
21390                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21391
21392 2004-07-19  Dan Williams <dcbw@redhat.com>
21393
21394         * Makefile.am
21395                 - Add info-daemon directory
21396
21397         * configure.in
21398                 - Check for glade libs and headers
21399                 - Add info-daemon directory
21400
21401         * src/NetworkManagerAP.c
21402                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21403                         copied over to the new AP.
21404
21405         * src/NetworkManagerDbus.c
21406           src/NetworkManagerDbus.h
21407                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21408                 - Remove nm_dbus_signal_need_key_for_network()
21409                 - Add disabled code for asynchronous user wep key callbacks
21410                 - Add functions for getting, setting, and cancelling user key operations
21411                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21412                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21413
21414         * src/NetworkManagerDevice.c
21415           src/NetworkManagerDevice.h
21416                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21417                         logic is in device activation now
21418                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21419                         key is wrong) trigger get-user-key pending action
21420                 - Implement get-user-key pending action stuff, tie to dbus messages
21421                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21422                 - Add nm_device_ap_list_get_ap_by_essid()
21423                 - Instead of copying "best" access points, ref them instead so that the key we set
21424                         sticks around
21425
21426         * src/NetworkManagerPolicy.c
21427                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21428                 - Don't cancel pending actions on a device if its the same device as last iteration
21429                 - Only promote pending_device->active_device if activation was successfull
21430
21431         * src/Makefile.am
21432                 - Rename nmclienttest->nmtest
21433
21434         * info-daemon/Makefile.am
21435           info-daemon/NetworkManagerInfo.c
21436           info-daemon/NetworkManagerInfo.h
21437           info-daemon/NetworkManagerInfoDbus.c
21438           info-daemon/NetworkManagerInfoDbus.h
21439           info-daemon/passphrase.glade
21440           info-daemon/NetworkManagerInfo.conf
21441           info-daemon/keyring.png
21442                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21443                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21444                         lists to NetworkManager by proxying user's GConf
21445           
21446
21447 2004-07-15  Dan Williams <dcbw@redhat.com>
21448
21449         * src/Makefile.am
21450                 - Turn on warnings
21451
21452         * src/NetworkManager.c
21453                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21454                         that doing the deactivation ourselves
21455                 - Cancel an pending actions on a device if its being removed
21456                 - Break up link state checking a bit, make non-active wireless cards
21457                         deactivated to save power
21458                 - Remove unused variables
21459
21460         * src/NetworkManager.h
21461                 - Add support for "pending" device
21462
21463         * src/NetworkManagerAP.h
21464           src/NetworkManagerAP.c
21465                 - Add support for determining whether and AP has encryption enabled or not
21466                 - AP address is now "struct ether_addr" rather than a string
21467
21468         * src/NetworkManagerDbus.h
21469           src/NetworkManagerDbus.c
21470                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21471                 - Changes for AP address from struct ether_addr->string
21472
21473         * src/NetworkManagerDevice.h
21474           src/NetworkManagerDevice.c
21475                 - Remove unused variables, fix warnings
21476                 - Add support for Pending Actions (things that block a device from being "active"
21477                         until they are completed).
21478                 - First pending action:  Get a WEP key from the user
21479                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21480                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21481                 - Update wireless link checking to try to determine if the AP we are associated
21482                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21483                         trigger the GetUserKey pending action on the device
21484                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21485                         up in that case, otherwise we can't scan or link-check on it
21486                 - Add IP address change notifications at appropriate points (still needs some work)
21487                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21488
21489         * src/NetworkManagerPolicy.h
21490           src/NetworkManagerPolicy.c
21491                 - Split out "best" access point determiniation into separate function
21492                 - Make device activation 2-stage:  first the device is pending, then
21493                         in the next iteration through it becomes "active" unless it has
21494                         pending actions
21495
21496         * src/NetworkManagerUtils.h
21497           src/NetworkManagerUtils.c
21498                 - Clean up unused variables and warnings
21499                 - Wrap our debug macros in {} to prevent possible confusion
21500
21501         * src/NetworkManagerWireless.c
21502                 - Forgot to return current best priority, which lead to last available AP always
21503                         being chosen no matter what its priority was.  Corrected.
21504
21505 2004-07-15  Dan Williams <dcbw@redhat.com>
21506
21507         * dispatcher-daemon/Makefile.am
21508                 - Turn on warnings
21509
21510         * dispatcher-daemon/NetworkManagerDispatcher.c
21511                 - Remove unused variables due to warnings
21512                 - Fix some comments
21513                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21514
21515 2004-07-06  Dan Williams <dcbw@redhat.com>
21516
21517         * src/NetworkManager.c
21518                 - Add IPv4 address update for active device during link state check
21519                 - Don't allow wireless cards to be powered up when they are not the
21520                         active device
21521
21522         * src/NetworkManagerDbus.c
21523           src/NetworkManagerDbus.h
21524                 - Add DBUS IPv4 address change signal
21525                 - Add DBUS IPv4 address get method for devices
21526
21527         * src/NetworkManagerDevice.c
21528                 - Make setting the WEP key actually work
21529                 - Move IP address get/set/update stuff here, per-device
21530                 - Power down/bring down wireless device when deactivated
21531                 - For scanning wireless devices, if first scan returned ENODATA, try again
21532
21533         * src/NetworkManagerPolicy.c
21534                 - Only set the WEP key for an allowed access point if there is one.
21535                         We were setting it to be blank if one wasn't specified.
21536
21537         * src/NetworkManagerUtils.h
21538           src/NetworkManagerUtils.c
21539                 - Move the IP address stuff to NetworkManagerDevice.c
21540
21541         * dispatcher-daemon/NetworkManagerDispatcher.c
21542                 - Add device IPv4 address change notification stuff
21543
21544 2004-07-05  Dan Williams <dcbw@redhat.com>
21545
21546         * dispatcher-daemon/NetworkManagerDispatcher.c
21547                 - A bit more descriptive state message
21548                 - Don't segfault when reading directory
21549
21550         * src/NetworkManager.h
21551                 - Remove NMData desired_ap member, its now
21552                         per-device rather than global
21553
21554         * src/NetworkManager.c
21555                 - Remove references to desired_ap
21556                 - Move the allowed AP list refresh stuff into a thread
21557
21558         * src/NetworkManagerDevice.c
21559           src/NetworkManagerDevice.h
21560                 - Each wireless device now has a "best ap"
21561                 - Make device activate/deactivate functions per-device
21562                 - Make wireless scanning per-device
21563                 - Add IPv4 address discover functions, stub IPv6 ones
21564                 - Move ethernet address validation functions to NetworkManagerUtils.c
21565                 - Add wireless access point accessor function
21566                 - Get/Set functions for "best ap"
21567
21568         * src/NetworkManagerPolicy.c
21569                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21570                 - Deal with per-device "best ap" rather than data->desired_apa
21571                 - Implement allowed access point worker thread
21572                 - Add nm_policy_essid_is_allowed() function
21573
21574         * src/NetworkManagerUtils.c
21575           src/NetworkManagerUtils.h
21576                 - Add nm_ethernet_address_is_valid() function
21577                 - Add IPv4/IPv6 address get functions
21578
21579         * src/NetworkManagerWireless.c
21580           src/NetworkManagerWireless.h
21581                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21582
21583 2004-06-29  Dan Williams <dcbw@redhat.com>
21584
21585         * dispatcher-daemon/NetworkManagerDispatcher.c
21586                 - Implement script callout functionality
21587
21588 2004-06-24  Dan Williams <dcbw@redhat.com>
21589
21590         * NetworkManager.c
21591             - Spacing cleanups
21592             - Flush device routes and ip addresses when added to the device list
21593
21594         * NetworkManagerDbus.c
21595             - Spacing cleanups
21596             - Add missing returns in the two signal functions
21597         
21598         * NetworkManagerPolicy.c
21599             - Spacing and variable cleanups
21600
21601 2004-06-24  Dan Williams <dcbw@redhat.com>
21602
21603         * Makefile.am
21604           Makefile.in
21605           configure.in
21606           dispatcher-daemon/Makefile.am
21607           dispatcher-daemon/Makefile.in
21608           dispatcher-daemon/NetworkManagerDispatcher.c
21609             - Add a daemon that receives signals from NetworkManager
21610                         and will (eventually) call scripts in /etc/somewhere
21611                         when devices go up or down.
21612         
21613         * NetworkManager.c
21614             - Spacing cleanups
21615             - Flush device routes and ip addresses when added to the device list
21616
21617         * NetworkManagerDbus.c
21618             - Spacing cleanups
21619             - Add missing returns in the two signal functions
21620         
21621         * NetworkManagerPolicy.c
21622             - Spacing and variable cleanups
21623             - Rename nm_policy_switch_interface->nm_policy_switch_device
21624             - nm_policy_switch_device():
21625                                 Use kill (pid) instead of system ("kill <pid>")
21626             - nm_state_modification_monitor():
21627                                 Add wireless essid to output of debug statements
21628                                 Correct typo in device compare to switch or not (should be !=)
21629                                 Don't sleep after sending "no longer active" signal, was useless
21630
21631 2004-06-24  Dan Williams <dcbw@redhat.com>
21632
21633         * Initial import