2008-10-29 Tambet Ingo <tambet@gmail.com>
[NetworkManager.git] / ChangeLog
1 2008-10-29  Tambet Ingo  <tambet@gmail.com>
2
3         Half of it by Dan Williams <dcbw@redhat.com>
4
5         * libnm-util/libnm-util.ver
6         libnm-util/nm-setting-vpn.c
7         libnm-util/nm-setting-vpn.h
8                 - Make properties private and add accessor functions.
9
10         * src/vpn-manager/nm-vpn-connection.c
11         src/vpn-manager/nm-vpn-manager.c
12         system-settings/plugins/keyfile/reader.c
13         vpn-daemons/openvpn/properties/auth-helpers.c
14         vpn-daemons/openvpn/properties/import-export.c
15         vpn-daemons/openvpn/properties/nm-openvpn.c
16         vpn-daemons/openvpn/src/nm-openvpn-service.c
17         vpn-daemons/pptp/auth-dialog/main.c
18         vpn-daemons/pptp/properties/advanced-dialog.c
19         vpn-daemons/pptp/properties/nm-pptp.c
20         vpn-daemons/pptp/src/nm-pptp-service.c
21         vpn-daemons/vpnc/properties/nm-vpnc.c
22         vpn-daemons/vpnc/src/nm-vpnc-service.c
23                 - Use VPN setting accessors.
24
25 2008-10-28  Dan Williams  <dcbw@redhat.com>
26
27         Patch from Tambet Ingo <tambet@gmail.com>
28
29         * libnm-util/libnm-util.ver
30           libnm-util/nm-setting-wireless.c
31           libnm-util/nm-setting-wireless.h
32                 - Make properties private and add accessor functions
33
34         * src/NetworkManagerAP.c
35           src/nm-device-wifi.c
36           src/nm-manager.c
37           src/supplicant-manager/nm-supplicant-config.c
38           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
39           system-settings/plugins/ifcfg-fedora/reader.c
40           system-settings/plugins/ifcfg-suse/parser.c
41           system-settings/plugins/ifupdown/parser.c
42                 - Use wireless setting accessors
43
44 2008-10-27  Dan Williams  <dcbw@redhat.com>
45
46         Patch from Tambet Ingo <tambet@gmail.com>
47
48         * libnm-util/libnm-util.ver
49           libnm-util/nm-setting-ppp.c
50           libnm-util/nm-setting-ppp.h
51                 - Make properties private and add accessor functions
52
53         * src/ppp-manager/nm-ppp-manager.c
54                 - Use ppp setting accessors
55
56 2008-10-27  Dan Williams  <dcbw@redhat.com>
57
58         Patch from Tambet Ingo <tambet@gmail.com>
59
60         * libnm-util/nm-setting.h
61           libnm-util/nm-setting.c
62                 - Make properties private and add accessor functions
63
64         * libnm-util/nm-connection.c
65           libnm-util/nm-setting-8021x.c
66           libnm-util/nm-setting-cdma.c
67           libnm-util/nm-setting-connection.c
68           libnm-util/nm-setting-gsm.c
69           libnm-util/nm-setting-ip4-config.c
70           libnm-util/nm-setting-ip6-config.c
71           libnm-util/nm-setting-ppp.c
72           libnm-util/nm-setting-pppoe.c
73           libnm-util/nm-setting-serial.c
74           libnm-util/nm-setting-template.c
75           libnm-util/nm-setting-vpn.c
76           libnm-util/nm-setting-wired.c
77           libnm-util/nm-setting-wireless-security.c
78           libnm-util/nm-setting-wireless.c
79           system-settings/plugins/keyfile/reader.c
80           system-settings/plugins/keyfile/writer.c
81                 - Use setting accessors
82
83 2008-10-27  Dan Williams  <dcbw@redhat.com>
84
85         * libnm-util/libnm-util.ver
86           libnm-util/nm-setting-connection.c
87           libnm-util/nm-setting-connection.h
88                 - Add a 'read-only' property that indicates the connection cannot be
89                         modified
90
91         * system-settings/plugins/ifcfg-fedora/reader.c
92           system-settings/plugins/ifcfg-suse/parser.c
93           system-settings/plugins/ifupdown/parser.c
94                 - These plugins are read-only at the moment
95
96         * system-settings/plugins/keyfile/reader.c
97           system-settings/plugins/keyfile/writer.c
98                 - Read-only shouldn't get saved out to files or read in from them
99
100 2008-10-27  Tambet Ingo  <tambet@gmail.com>
101
102         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
103         correct speed reporting for fast devices (kernel >= 2.6.27).
104
105 2008-10-26  Dan Williams  <dcbw@redhat.com>
106
107         Attempt to compensate for modems that don't enable full AT parsing before
108         the PIN has been entered.
109
110         * src/nm-gsm-device.c
111                 - (init_modem): accept different init strings
112                 - (init_done): try different init strings on failure
113                 - (check_pin_done): on PIN success, do full modem init
114
115 2008-10-26  Dan Williams  <dcbw@redhat.com>
116
117         Patch from Tambet Ingo <tambet@gmail.com>
118
119         * libnm-util/libnm-util.ver
120           libnm-util/nm-setting-connection.c
121           libnm-util/nm-setting-connection.h
122                 - Make properties private and add accessor functions
123
124         * src/NetworkManagerPolicy.c
125           src/nm-cdma-device.c
126           src/nm-device-ethernet.c
127           src/nm-device-interface.c
128           src/nm-device-wifi.c
129           src/nm-gsm-device.c
130           src/nm-manager.c
131           src/ppp-manager/nm-ppp-manager.c
132           src/vpn-manager/nm-vpn-connection.c
133           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
134           system-settings/plugins/ifcfg-fedora/plugin.c
135           system-settings/plugins/ifcfg-fedora/reader.c
136           system-settings/plugins/ifcfg-suse/parser.c
137           system-settings/plugins/ifupdown/parser.c
138           system-settings/plugins/keyfile/nm-keyfile-connection.c
139           system-settings/plugins/keyfile/plugin.c
140           system-settings/plugins/keyfile/writer.c
141           system-settings/src/main.c
142                 - Use those accessors
143
144 2008-10-26  Dan Williams  <dcbw@redhat.com>
145
146         Patch from Tambet Ingo <tambet@gmail.com>
147
148         * libnm-util/libnm-util.ver
149           libnm-util/nm-setting-gsm.c
150           libnm-util/nm-setting-gsm.h
151                 - Make properties private and add accessor functions
152
153         * src/nm-gsm-device.c
154           src/nm-hso-gsm-device.c
155           src/ppp-manager/nm-ppp-manager.c
156                 - Use those accessors
157
158 2008-10-26  Dan Williams  <dcbw@redhat.com>
159
160         Patch from Tambet Ingo <tambet@gmail.com>
161
162         * libnm-util/libnm-util.ver
163           libnm-util/nm-setting-cdma.c
164           libnm-util/nm-setting-cdma.h
165                 - Make properties private and add accessor functions
166
167         * src/nm-cdma-device.c
168           src/ppp-manager/nm-ppp-manager.c
169                 - Use those accessors
170
171 2008-10-26  Dan Williams  <dcbw@redhat.com>
172
173         Patch from Tambet Ingo <tambet@gmail.com>
174
175         * libnm-util/libnm-util.ver
176           libnm-util/nm-setting-pppoe.c
177           libnm-util/nm-setting-pppoe.h
178                 - Make properties private and add accessor functions
179
180         * src/nm-device-ethernet.c
181           src/ppp-manager/nm-ppp-manager.c
182                 - Use those accessors
183
184 2008-10-26  Dan Williams  <dcbw@redhat.com>
185
186         Patch from Tambet Ingo <tambet@gmail.com>
187
188         * libnm-util/libnm-util.ver
189           libnm-util/nm-setting-wired.c
190           libnm-util/nm-setting-wired.h
191                 - Make properties private and add accessor functions
192
193         * src/nm-device-ethernet.c
194           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
195           system-settings/plugins/ifcfg-suse/parser.c
196           system-settings/src/main.c
197                 - Use those accessors
198
199 2008-10-26  Dan Williams  <dcbw@redhat.com>
200
201         Patch from Tambet Ingo <tambet@gmail.com>
202
203         * libnm-util/libnm-util.ver
204           libnm-util/nm-setting-serial.c
205           libnm-util/nm-setting-serial.h
206           src/nm-serial-device.c
207                 - Make properties private and use accessors instead
208
209 2008-10-26  Dan Williams  <dcbw@redhat.com>
210
211         * src/supplicant-manager/nm-supplicant-interface.c
212           src/supplicant-manager/nm-supplicant-interface.h
213           src/supplicant-manager/nm-supplicant-manager.c
214           src/supplicant-manager/nm-supplicant-manager.h
215                 - Add state-to-string conversion functions
216
217         * src/nm-device-wifi.c
218           src/nm-device-ethernet.c
219                 - Normalize state info logging and use strings instead of numbers
220
221 2008-10-26  Dan Williams  <dcbw@redhat.com>
222
223         * src/NetworkManagerPolicy.c
224                 - (update_routing_and_dns): ignore host routes when determining whether
225                         a VPN connection should own the default route (bgo #552594)
226
227 2008-10-24  Dan Williams  <dcbw@redhat.com>
228
229         * src/nm-gsm-device.c
230                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
231
232 2008-10-23  Dan Williams  <dcbw@redhat.com>
233
234         * src/ppp-manager/nm-ppp-manager.c
235                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
236                         add really important stuff to the command line to ensure that NM
237                         overrides /etc/ppp/options (bgo #556781)
238
239 2008-10-22  Dan Williams  <dcbw@redhat.com>
240
241         * src/NetworkManagerSystem.c
242           src/nm-device.c
243                 - Use the device's IP interface where appropriate (Per Hallsmark)
244
245 2008-10-22  Dan Williams  <dcbw@redhat.com>
246
247         * src/nm-gsm-device.c
248                 - (schedule_automatic_registration_again): use a short timeout here
249                         instead of an idle handler to avoid using too much CPU polling for
250                         something we should be waiting a bit for anyway
251
252 2008-10-22  Dan Williams  <dcbw@redhat.com>
253
254         * include/NetworkManager.h
255           introspection/nm-device.xml
256                 - Add device state change reason for carrier changes
257
258         * src/nm-device-ethernet.c
259                 - (set_carrier): use the carrier change reason when changing device
260                         state in response to carrier changes
261
262 2008-10-21  Dan Williams  <dcbw@redhat.com>
263
264         * src/NetworkManagerPolicy.c
265                 - (update_etc_hosts): don't leak errors, and ensure that
266                         g_file_set_contents() gets a valid error placeholder (rh #461933)
267
268 2008-10-21  Dan Williams  <dcbw@redhat.com>
269
270         * src/nm-manager.c
271                 - (free_get_settings_info): don't use the DBusGProxy which could be
272                         disposed of by the time the function is called
273                 - (internal_new_connection_cb): save connection scope
274                 - (connection_get_settings_cb): don't replace a connection unless it's
275                         actually different from the existing one; fixes an issue where
276                         killing the settings service wouldn't deactivate an active connection
277                         provided by that settings service, because it was using a connection
278                         that had already been replaced in the system or user hash
279
280 2008-10-21  Dan Williams  <dcbw@redhat.com>
281
282         * src/NetworkManager.c
283                 - (main): keep the DHCP manager around since it's a singleton; fixes
284                         a use-after-free exposed by r4196 since the DHCP manager singleton
285                         variable isn't cleared when the DHCP manager object is finalized
286
287 2008-10-20  Dan Williams  <dcbw@redhat.com>
288
289         * libnm-util/nm-setting-wireless-security.c
290                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
291
292 2008-10-20  Dan Williams  <dcbw@redhat.com>
293
294         * src/supplicant-manager/nm-supplicant-config.c
295                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
296
297 2008-10-20  Dan Williams  <dcbw@redhat.com>
298
299         * src/dhcp-manager/nm-dhcp-manager.c
300                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
301                         manager object already refs it once
302                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
303                         also get cleaned up by nm_dhcp_device_destroy() to prevent
304                         double-frees
305
306 2008-10-20  Dan Williams  <dcbw@redhat.com>
307
308         * src/nm-manager.c
309                 - (initial_get_connections): use private dbus manager, don't keep
310                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
311                         manager object.
312
313 2008-10-18  Dan Williams  <dcbw@redhat.com>
314
315         * libnm-glib/nm-settings.c
316           libnm-glib/nm-settings.h
317                 - Rename the "get_secrets" virtual function "service_get_secrets" to
318                         clarify when it's used; NMExportedConnetion is a base-class for both
319                         the client and service side, which is sort of confusing, and
320                         get_secrets only makes sense on the service side.
321
322         * libnm-glib/nm-dbus-connection.c
323                 - (get_secrets): remove, unused, and clients need to do extra work to
324                         get secrets anyway since the call can block on the remote side
325
326         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
327           system-settings/plugins/keyfile/nm-keyfile-connection.c
328                 - Fix up for get_secrets -> service_get_secrets
329
330 2008-10-16  Dan Williams  <dcbw@redhat.com>
331
332         * src/nm-device-wifi.c
333                 - (constructor): correctly determine encryption capabilities
334
335 2008-10-15  Dan Williams  <dcbw@redhat.com>
336
337         * src/nm-device-wifi.c
338                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
339                         (Johannes Berg)
340
341 2008-10-15  Dan Williams  <dcbw@redhat.com>
342
343         * src/NetworkManagerSystem.c
344                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
345                         if the ip4_dest is in a smaller subnet contained within a subnet
346                         the machine is currently on, the destination is in the same subnet
347                 - (nm_system_device_set_ip4_route): move subnet checks to callers
348                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
349                         subnet as the parent device, and if so, don't add the direct
350                         host route via the parent device's gateway (bgo #481620)
351                 - (nm_system_apply_ip4_config): check whether the route to be added
352                         is contained within a subnet the device is already on
353
354 2008-10-11  Dan Williams  <dcbw@redhat.com>
355
356         * include/NetworkManager.h
357           introspection/nm-device.xml
358           include/NetworkManagerVPN.h
359                 - Add a few more state reasons for the device deactivated state
360
361         * src/nm-device-interface.c
362           src/nm-device-interface.h
363                 - (nm_device_interface_deactivate): add a 'reason' argument
364
365         * src/nm-device.c
366           src/nm-device.h
367                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
368                 - (nm_device_state_changed): pass the state change reason to
369                         nm_device_take_down()
370                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
371                         to the state change function
372
373         * src/nm-manager.c
374           src/nm-manager.h
375                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
376                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
377                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
378                         something reasonable along to VPN deactivation
379
380         * src/vpn-manager/nm-vpn-manager.c
381           src/vpn-manager/nm-vpn-manager.h
382                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
383                         pass that along to nm_vpn_connection_disconnect()
384
385 2008-10-11  Dan Williams  <dcbw@redhat.com>
386
387         * src/nm-device-wifi.c
388                 - (can_scan): remove old madwifi hack for not scanning while connected
389
390 2008-10-11  Dan Williams  <dcbw@redhat.com>
391
392         Add support for VPN subnet gateways (bgo #549196)
393
394         * include/NetworkManager.h
395                 - Add key for internal VPN subnet gateway
396
397         * src/vpn-manager/nm-vpn-connection.c
398                 - (ip_address_to_string): return a const from a static buffer so we
399                         don't leak a lot of strings
400                 - (print_vpn_config): print internal VPN gateway as well
401                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
402                         VPN service too
403                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
404
405         * src/NetworkManagerSystem.c
406           src/NetworkManagerSystem.h
407                 - (nm_system_device_replace_default_ip4_route): split into two, one for
408                         VPN connections and one for normal devices
409                 - (replace_default_ip4_route): break out route stuff into its own function
410                 - (nm_system_replace_default_ip4_route_vpn,
411                    nm_system_replace_default_ip4_route): simplify by having two cases,
412                         one for VPNs and one for normal devices
413
414         * src/NetworkManagerPolicy.c
415                 - (update_routing_and_dns): simplify, use split default route replacement
416                         functions
417
418 2008-10-10  Dan Williams  <dcbw@redhat.com>
419
420         Rework default route handling to consolidate decisions in the policy,
421         and to take active VPN connections into account when changing the default
422         route (bgo #545912)
423
424         * src/NetworkManager.c
425                 - (main): pass the vpn_manager to the policy so it knows about active
426                         VPN connections; clean up the named manager which wasn't done before
427
428         * src/NetworkManagerPolicy.c
429           src/NetworkManagerPolicy.h
430                 - (nm_policy_new): get a clue about the vpn_manager
431                 - (update_default_route): remove, fold into update_routing_and_dns()
432                 - (update_routing_and_dns): handle active VPN connections too; an
433                         active VPN connection becomes the default route if it does not have
434                         server-specified or user-specified custom routes.  Otherwise, the
435                         best active device gets the default route
436                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
437                    nm_policy_destroy): track VPN connection activation and deactivation
438                         and update the default route when appropriate
439
440         * src/NetworkManagerSystem.c
441           src/NetworkManagerSystem.h
442                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
443                         in the VPN connection itself
444                 - (nm_system_vpn_device_set_from_ip4_config,
445                    nm_system_device_set_from_ip4_config): merge together to make
446                         nm_system_apply_ip4_config()
447                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
448                         via the parent device
449                 - (nm_system_apply_ip4_config): simplify
450                 - (add_ip4_route_to_gateway): new function; add a direct route to the
451                         gateway if needed
452                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
453                         route stuff out into add_ip4_route_to_gateway() for clarity
454
455         * src/nm-device.c
456                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
457
458         * src/vpn-manager/nm-vpn-connection.c
459           src/vpn-manager/nm-vpn-connection.h
460                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
461                    nm_vpn_connection_get_parent_device): add
462                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
463                         device explicit
464                 - (connection_state_changed): update the named manager now that
465                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
466                         useful on errors
467
468         * src/vpn-manager/nm-vpn-manager.c
469           src/vpn-manager/nm-vpn-manager.h
470                 - Add a 'connection-activated' signal
471                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
472                         policy to find out about active VPN connections
473
474 2008-10-10  Tambet Ingo  <tambet@gmail.com>
475
476         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
477         a daemon to prevent NM logging spew on console on startup and shutdown (due
478         to dependency loop between NM and syslog).
479
480 2008-10-10  Alexander Sack  <asac@ubuntu.com>
481
482         Implement managed mode. We bind devices configured in /etc/network/interfaces
483         to their connections by updating wired/wireless setting with the
484         mac address of the device.
485
486         * system-settings/plugins/ifupdown/plugin.c
487                 - (get_net_address_for_udi): implement function to retrieve MAC
488                         address of udi from hal in GByteArray format
489                 - (bind_device_to_connection): bind mac address of device to
490                         wired/wireless system connection
491                 - (hal_device_added_cb): call bind_device_to_connection for
492                         system connections with a matching interface.name
493                 - (hal_device_added_cb): ensure that all code paths
494                         properly free the "iface" string.
495
496 2008-10-10  Alexander Sack  <asac@ubuntu.com>
497
498         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
499         mode of the ifupdown system config plugin.
500
501         * system-settings/plugins/ifupdown/plugin.c
502                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
503                         private unmanage_well_known state field accordingly
504
505 2008-10-10  Alexander Sack  <asac@ubuntu.com>
506
507         Implement unmanaged mode that will prevent all devices in the
508         well_known_udis set from being touched by NetworkManager
509
510         * system-settings/plugins/ifupdown/plugin.c
511                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
512                         unmanage_well_known field used to turn on/off unmanaged
513                         mode
514                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
515                         signal when well_known_udis get added/removed
516                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
517                         if we are in unmanaged mode
518
519 2008-10-10  Alexander Sack  <asac@ubuntu.com>
520
521         Add support to track network devices that have a configuration
522         with a matching interface.name in /etc/network/interfaces
523
524         * system-settings/plugins/ifupdown/plugin.c
525                 - (typedef struct SCPluginIfupdownPrivate): add hash table
526                         to track |well_known_udis|
527                 - (get_iface_for_udi): helper function to get interface.name
528                         for a udi
529                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
530                         that add and remove devices to and from the well_known_udis
531                         set depending on whether their |interface.name| matches
532                         any interface definition in /etc/network/interfaces
533                 - (SCPluginIfupdown_init): connect callbacks from above with
534                         hal_mgr and setup well_known_udis hashtable
535                 - (GObject__dispose): destroy well_known_udis hashtable
536                 - (hal_device_added_cb2): implement wrapper callback with GFunc
537                         signature. user_data is supposed to be a triple (hal_mgr,
538                         config and devtype)
539                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
540                         startup and call hal_device_added_cb2
541
542 2008-10-10  Alexander Sack  <asac@ubuntu.com>
543
544         Remove implementation for not used NMSystemConfigInterface callback functions
545         in ifupdown plugin
546
547         * system-settings/plugins/ifupdown/plugin.c
548                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
549                 - (SCPluginIfupdown_connection_added): removed
550
551 2008-10-08  Dan Williams  <dcbw@redhat.com>
552
553         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
554
555         * src/NetworkManagerUtils.c
556                 - (nm_utils_call_dispatcher): add a 'hostname' action
557
558         * src/NetworkManagerPolicy.c
559                 - (set_system_hostname): dispatch hostname changes
560
561         * callouts/nm-dispatcher-action.c
562                 - (nm_dispatcher_action): handle 'hostname' actions
563
564 2008-10-08  Dan Williams  <dcbw@redhat.com>
565
566         * src/NetworkManagerSystem.c
567                 - (find_route): ref the route so it doesn't get destroyed when the cache
568                         is cleared
569                 - (nm_system_device_set_priority): unref the route here after it's done
570                         being used
571
572 2008-10-08  Dan Williams  <dcbw@redhat.com>
573
574         * src/nm-serial-device.c
575                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
576
577 2008-10-08  Tambet Ingo  <tambet@gmail.com>
578
579         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
580         connection with new settings before saving it.
581
582 2008-10-06  Dan Williams  <dcbw@redhat.com>
583
584         * src/nm-ip4-config.c
585           src/nm-ip4-config.h
586                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
587
588         * src/nm-device-interface.c
589                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
590                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
591                         by using '/' for the object path
592
593         * src/nm-device.c
594                 - (src/nm-device.c): marshal missing/unexported ip4-config through
595                         dbus as '/' since dbus-glib can't handle NULL objects nor can
596                         dbus handle NULL object paths
597
598 2008-10-03  Alexander Sack  <asac@ubuntu.com>
599
600         Implement system hostname support for debian/ubuntu
601
602         * system-settings/plugins/ifupdown/plugin.c
603                 - (GObject__get_property): extend announced capabilities; add
604                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
605                 - (GObject__set_property,write_system_hostname): implement
606                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
607                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
608                    update_system_hostname, get_hostname):
609                         implement hostname property that watches and
610                         parses /etc/hostname
611
612 2008-10-03  Alexander Sack  <asac@ubuntu.com>
613
614         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
615           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
616           system-settings/plugins/ifcfg-fedora/Makefile.am
617           system-settings/src/nm-inotify-helper.c
618           system-settings/src/nm-inotify-helper.h
619           src/Makefile.am
620                 - Move ifcfg-fedora inotify helpers to the system settings service so
621                         they are available to all plugins
622
623 2008-10-03  Alexander Sack  <asac@ubuntu.com>
624
625         Implement support for wep-tx-keyidx in ifupdown system
626         config plugin.
627
628         * system-settings/plugins/ifupdown/parser.c
629                 - (update_wireless_security_setting_from_if_block): introduce
630                         free_type_mapping func table; rename a few local
631                         variables to improve readability; add wpa security mapping
632                         for wep-tx-keyidx property
633                 - (string_to_gpointerint): new function used for the auto_type_mapping
634                         of new wep-tx-keyidx property
635                 - (slist_free_all): free func used for mapped slist types
636
637 2008-10-03  Alexander Sack  <asac@ubuntu.com>
638
639         * system-settings/src/main.c:
640                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
641                         always used as the hash key; fixes a crash when removing wired
642                         devices
643
644 2008-10-02  Dan Williams  <dcbw@redhat.com>
645
646         * src/nm-gsm-device.c
647                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
648                         pass the required GSM secret along via user_data rather than keeping
649                         it around in the private data where it sometimes didn't get cleared
650                 - (real_get_ppp_name): implement using the GSM username
651
652 2008-10-02  Dan Williams  <dcbw@redhat.com>
653
654         * src/ppp-manager/nm-ppp-manager.c
655           src/ppp-manager/nm-ppp-manager.h
656                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
657                         the settings daemon for completely new ones
658                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
659                         local PPP peer name; allow PPP debuging by launching NM with
660                         the environment variable NM_PPP_DEBUG defined
661                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
662                         create_pppd_cmd_line()
663
664         * src/nm-serial-device.c
665           src/nm-serial-device.h
666                 - New 'get_ppp_name' function for subclasses to implement to return the
667                         local PPP peer name
668                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
669                         and pass that name to the PPP manager
670
671         * src/nm-device-ethernet.c
672                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
673                         the local peer name
674
675         * src/nm-cdma-device.c
676                 - (real_get_ppp_name): implement using the CDMA username
677
678 2008-10-02  Dan Williams  <dcbw@redhat.com>
679
680         Patch from Alexander Sack <asac ubuntu com>
681
682         * system-settings/plugins/ifupdown/parser.c
683                 - Implement more graceful ip4 config parsing for cases where
684                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
685                   by using default values
686
687 2008-10-02  Dan Williams  <dcbw@redhat.com>
688
689         * src/NetworkManagerPolicy.c
690                 - (device_state_changed): when marking a connection invalid, clear its
691                         secrets too so that fresh secrets get requested the next time
692
693 2008-10-01  Dan Williams  <dcbw@redhat.com>
694
695         * system-settings/src/dbus-settings.c
696                 - (nm_sysconfig_settings_init): cache system hostname on startup as
697                         a fallback if no plugin provides a hostname
698                 - (get_property): fall back to cached hostname if no plugin provides
699                         a hostname
700
701 2008-10-01  Dan Williams  <dcbw@redhat.com>
702
703         Fix setting value comparison issue that caused some settings to look the
704         same when they were really different (rh #464417)
705
706         * libnm-util/nm-param-spec-specialized.c
707                 - (type_is_fixed_size): return fundamental size of the fixed type too
708                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
709                         in the comparison so that the _entire_ fixed type collection gets
710                         compared rather than just the first 'len1' bytes
711
712 2008-09-30  Dan Williams  <dcbw@redhat.com>
713
714         * src/NetworkManagerPolicy.c
715                 - (lookup_thread_worker): don't store the idle handler ID becuase the
716                         idle handler could have already run and freed the LookupThread
717                         structure
718
719 2008-09-30  Tambet Ingo  <tambet@gmail.com>
720
721         * src/nm-device.c (nm_device_get_priority): Implement.
722         (nm_device_set_ip4_config): Send the device priority to system ip4 
723         config setter.
724
725         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
726         Add priority argument and if it's >= 0, set the priority of the network
727         route added automatically by netlink (or kernel?).
728         (nm_system_device_set_priority): Implement.
729
730         * src/NetworkManagerPolicy.c (get_best_device): Use 
731         nm_device_get_priority() instead of home-grown version. Revert the
732         meaning, best priority is the lowest one.
733
734 2008-09-29  Dan Williams  <dcbw@redhat.com>
735
736         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
737         when it returns EAGAIN (rh #362421)
738
739         * src/nm-device-wifi.c
740                 - (wireless_get_range): try GIWRANGE a few times until the card responds
741                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
742
743 2008-09-28  Dan Williams  <dcbw@redhat.com>
744
745         * src/nm-serial-device.c
746           src/nm-serial-device.h
747                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
748                         cleaned at the right times when subclasses close the serial port too
749                 - (nm_serial_device_send_command): use a default send delay; don't
750                         spin forever on EAGAIN
751                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
752                         remove, no longer used
753                 - (find_response): return the matched response if any
754                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
755                         while doing so
756                 - (wait_for_reply_done): pass the matched response to the callback
757                 - (wait_for_reply_got_data): save the matched response; simplify timeout
758                         handling
759                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
760                         const since they never get modified
761                 - (cleanup_device): split out common cleanup stuff to a new function
762                 - (real_deactivate_quickly, finalize): use cleanup_device()
763
764         * src/nm-gsm-device.c
765                 - (modem_get_reply): remove, unused
766                 - (set_apn): give the card a bit more time to respond
767                 - (manual_registration_again, schedule_manual_registration_again,
768                    manual_registration_response, manual_registration): handle manual
769                         registration timeouts better by retrying registration a few times
770                         because cards are a bit slow after CFUN=1
771                 - (automatic_registration_get_network, get_network_response): use
772                         modem_wait_for_reply() because it interacts better with the serial
773                         buffer and does more intelligent matching; need to wait for 'OK'
774                         rather than just matching terminators
775                 - (schedule_automatic_registration_again,
776                    automatic_registration_response, automatic_registration): retry
777                         registration a few times on timeout or "searching" because cards
778                         take a bit to find a network after being powered up with CFUN=1
779                 - (power_up_response, power_up, init_full_done, enter_pin,
780                    check_pin_done): power up the card with CFUN=1 before trying to
781                         register with the network
782                 - (init_modem_full, init_modem): use more standard 3G init strings
783
784         * src/nm-hso-gsm-device.c
785                 - (modem_get_reply): remove, unused
786                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
787                         modem_wait_for_reply() to match actual responses instead of single
788                         termination characters; it doesn't leave stuff in the serial buffer
789                         that might confuse later calls
790                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
791                         to ensure that the call is really disconnected and not leave extra
792                         stuff in the serial buffer
793
794         * src/nm-cdma-device.c
795                 - (power_up_response, power_up, init_done): try Sierra-style modem
796                         power up before attempting to connect
797
798 2008-09-27  Dan Williams  <dcbw@redhat.com>
799
800         * libnm-util/nm-setting-gsm.c
801                 - (verify): verify GSM network ID
802
803 2008-09-25  Dan Williams  <dcbw@redhat.com>
804
805         * libnm-util/nm-setting-gsm.c
806           libnm-util/nm-setting-gsm.h
807                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
808                         technology terms (bgo #551361)
809
810 2008-09-25  Dan Williams  <dcbw@redhat.com>
811
812         Fix bgo #549401 (inspired by patch from Alexander Sack)
813
814         * src/nm-device-ethernet.c
815                 - (finish_supplicant_task): clean up scheduled tasks and free memory
816                 - (remove_supplicant_interface_error_handler): remove the supplicant
817                         error idle callback too
818                 - (supplicant_interface_release): rename from supplicant_interface_clean
819                         to match nm-device-wifi.c; clean up supplicant interface-related
820                         state tasks when the supplicant interface is disposed of
821                 - (schedule_state_handler): add scheduled tasks to a list so they can
822                         be cleaned up later
823                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
824                    supplicant_iface_connection_state_cb_handler): use
825                         finish_supplicant_task() to clean up each completed task
826                 - (supplicant_iface_connection_error_cb_handler,
827                    supplicant_connection_timeout_cb): clear source id when the task is
828                         complete
829                 - (supplicant_iface_connection_error_cb): save scheduled task id for
830                         later cleanup
831                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
832                         tasks
833
834         * src/nm-device-wifi.c
835                 - (finish_supplicant_task): clean up scheduled tasks and free memory
836                 - (remove_supplicant_interface_error_handler): remove the supplicant
837                         error idle callback too
838                 - (supplicant_interface_release): clean up supplicant interface-related
839                         state tasks when the supplicant interface is disposed of
840                 - (schedule_state_handler): add scheduled tasks to a list so they can
841                         be cleaned up later
842                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
843                    supplicant_iface_connection_state_cb_handler): use
844                         finish_supplicant_task() to clean up each completed task
845                 - (supplicant_iface_connection_error_cb_handler): clear source id when
846                         the task is complete
847                 - (supplicant_iface_connection_error_cb): save scheduled task id for
848                         later cleanup
849                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
850
851 2008-09-24  Tambet Ingo  <tambet@gmail.com>
852
853         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
854         method and get/set hostname property.
855
856 2008-09-24  Tambet Ingo  <tambet@gmail.com>
857
858         * src/supplicant-manager/nm-supplicant-interface.c
859         (nm_supplicant_interface_disconnect): Don't increment the reference 
860         count when disconnecting. The problem is on shutdown, when the replies
861         to these commands do not arrive before NM exits, resulting on never
862         calling supplicant interface's dispose(), which removes the interface
863         from supplicant.
864
865 2008-09-24  Tambet Ingo  <tambet@gmail.com>
866
867         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
868         all the public function arguments.
869
870 2008-09-22  Tambet Ingo  <tambet@gmail.com>
871
872         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
873         "Failure" signal from VPN plugins, store the failure reason, and
874         use it when the state is changed to failure.
875
876         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
877         description.
878
879         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
880         reason to the end of the list to not break the API.
881         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
882         so it can be shared by plugins and daemon.
883
884 2008-09-18  Dan Williams  <dcbw@redhat.com>
885
886         Patch from Alexander Sack <asac@ubuntu.com>
887
888         * configure.in
889           system-settings/plugins/Makefile.am
890           system-settings/plugins/ifupdown/Makefile.am
891           system-settings/plugins/ifupdown/interface_parser.c
892           system-settings/plugins/ifupdown/interface_parser.h
893           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
894           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
895           system-settings/plugins/ifupdown/parser.c
896           system-settings/plugins/ifupdown/parser.h
897           system-settings/plugins/ifupdown/plugin.c
898           system-settings/plugins/ifupdown/plugin.h
899                 - Implement a Debian/Ubuntu legacy network configuration plugin
900                         (gnome.org #551941)
901
902 2008-09-18  Dan Williams  <dcbw@redhat.com>
903
904         Implement support for honoring configured and automatic hostnames, and for
905         setting the configured hostname.
906
907         * introspection/nm-ip4-config.xml
908           src/nm-ip4-config.c
909           src/nm-ip4-config.h
910           src/dhcp-manager/nm-dhcp-manager.c
911                 - Remove useless hostname property; it's not really part of the IPv4
912                         config
913
914         * introspection/nm-settings-system.xml
915           libnm-glib/nm-dbus-settings-system.c
916           libnm-glib/nm-dbus-settings-system.h
917                 - Add SetHostname() call to system settings D-Bus interface
918                 - Add Hostname property to system settings D-Bus interface
919                 - (nm_dbus_settings_system_save_hostname,
920                    nm_dbus_settings_system_get_hostname): implement
921
922         * src/nm-device.c
923           src/nm-device.h
924                 - (nm_device_get_dhcp4_config): implement
925
926         * src/nm-manager.c
927           src/nm-manager.h
928                 - Fetch and track system settings service hostname changes, and proxy
929                         the changes via a GObject property of the manager
930
931         * system-settings/src/nm-system-config-interface.c
932           system-settings/src/nm-system-config-interface.h
933                 - Replace nm_system_config_interface_supports_add() with a capabilities
934                         bitfield
935
936         * system-settings/src/nm-system-config-error.c
937           system-settings/src/nm-system-config-error.h
938                 - Add additional errors
939
940         * system-settings/src/dbus-settings.c
941           system-settings/src/dbus-settings.h
942                 - (get_property, nm_sysconfig_settings_class_init): add hostname
943                         property; first plugin returning a hostname wins
944                 - (impl_settings_add_connection): use plugin capabilities instead of
945                         nm_system_config_interface_supports_add()
946                 - (impl_settings_save_hostname): implement hostname saving
947
948         * src/NetworkManagerPolicy.c
949                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
950                    lookup_thread_die): implement an asynchronous hostname lookup thread
951                         which given an IPv4 address tries to look up the hostname for that
952                         address with reverse DNS
953                 - (get_best_device): split out best device code from
954                         update_routing_and_dns()
955                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
956                         to preserve the 127.0.0.1 reverse mapping that so many things require
957                 - (set_system_hostname): set a given hostname
958                 - (update_system_hostname): implement hostname policy; a configured
959                         hostname (from the system settings service) is used if available,
960                         otherwise an automatically determined hostname from DHCP, VPN, etc.
961                         If there was no automatically determined hostname, reverse DNS of
962                         the best device's IP address will be used, and as a last resort the
963                         hostname 'localhost.localdomain' is set.
964                 - (update_routing_and_dns): use get_best_device(); update the system
965                         hostname when the network config changes
966                 - (hostname_changed): update system hostname if the system settings
967                         service signals a hostname change
968                 - (nm_policy_new): list for system settings service hostname changes
969                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
970                         gets told to die
971
972         * system-settings/plugins/keyfile/plugin.c
973           system-settings/plugins/ifcfg-suse/plugin.c
974                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
975                         capabilities properties
976
977         * system-settings/plugins/ifcfg-fedora/shvar.c
978                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
979                         writes out /etc/sysconfig/network now
980
981         * system-settings/plugins/ifcfg-fedora/plugin.c
982                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
983                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
984                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
985                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
986                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
987                         hostname get/set and capabilities get
988
989 2008-09-18  Dan Williams  <dcbw@redhat.com>
990
991         * libnm-util/nm-setting-wireless.c
992                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
993                         group ciphers if the wireless-security setting explicitly specified
994                         them, effectively making the default be "all ciphers"  (idea from
995                         Alexander Sack)
996
997 2008-09-15  Dan Williams  <dcbw@redhat.com>
998
999         Patch from Alexander Sack <asac@ubuntu.com>
1000
1001         * src/named-manager/nm-named-manager.c
1002                 - (dispatch_resolvconf): respect resolvconf exit code
1003
1004 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1005
1006         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1007         again. Add some debugging.
1008
1009 2008-09-11  Dan Williams  <dcbw@redhat.com>
1010
1011         * system-settings/plugins/keyfile/plugin.c
1012                 - (update_connection_settings): update connection manually, since
1013                         nm_exported_connection_update() does authentication
1014                 - (dir_changed): update_connection_settings() doesn't need to return
1015                         an error
1016
1017 2008-09-09  Dan Williams  <dcbw@redhat.com>
1018
1019         * libnm-glib/nm-vpn-plugin-ui-interface.c
1020           libnm-glib/nm-vpn-plugin-ui-interface.h
1021           libnm-glib/libnm_glib_vpn.ver
1022                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1023                         should clean up resources related to the connection (like keyring
1024                         secrets)
1025                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1026                         should save user-scope secrets (like to the keyring)
1027
1028 2008-09-08  Dan Williams  <dcbw@redhat.com>
1029
1030         Patch from Alexander Sack <asac@ubuntu.com>
1031
1032         * libnm-util/crypto_gnutls.c
1033           libnm-util/crypto_nss.c
1034                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1035
1036         * libnm-util/nm-utils.c
1037           libnm-util/nm-utils.h
1038           libnm-util/libnm-util.ver
1039                 - (nm_utils_init): initialize libnm-util
1040                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1041
1042         * libnm-util/nm-setting-8021x.c
1043                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1044
1045 2008-09-05  Dan Williams  <dcbw@redhat.com>
1046
1047         Patch from Roy Marples <roy@marples.name> and others
1048
1049         * configure.in
1050           src/named-manager/nm-named-manager.c
1051                 - Add support for resolvconf; use --with-resolvconf at configure time
1052                         to enable it
1053
1054 2008-09-05  Dan Williams  <dcbw@redhat.com>
1055
1056         * libnm-util/crypto_nss.c
1057           libnm-util/crypto_gnutls.c
1058           libnm-util/crypto.h
1059                 - (crypto_init): return error when init fails
1060
1061 2008-09-05  Dan Williams  <dcbw@redhat.com>
1062
1063         * libnm-glib/nm-device-wifi.c
1064                 - (access_point_removed_proxy): clean up the active access point too
1065                         just in case the active ap changed signal didn't come through yet
1066                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1067
1068 2008-09-05  Dan Williams  <dcbw@redhat.com>
1069
1070         * libnm-glib/nm-client.c
1071                 - (constructor): get initial state after we know whether NM is running
1072                         or not
1073
1074 2008-09-05  Dan Williams  <dcbw@redhat.com>
1075
1076         * libnm-glib/nm-ip4-config.c
1077           libnm-glib/nm-dhcp4-config.c
1078                 - (finalize): clean up the DBusGProxy
1079
1080 2008-09-04  Dan Williams  <dcbw@redhat.com>
1081
1082         * src/nm-ip4-config.c
1083           src/nm-ip4-config.h
1084                 - (nm_ip4_config_new): don't export over D-Bus here
1085                 - (nm_ip4_config_export): new function; export the config over D-Bus
1086                 - (nm_ip4_config_is_exported): new function
1087
1088         * src/nm-device.c
1089                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1090                         objects by balancing the IP4Config constructor; the device holds
1091                         a reference to the IP4Config already
1092                 - (nm_device_set_ip4_config): export the IP4Config when needed
1093
1094 2008-09-04  Dan Williams  <dcbw@redhat.com>
1095
1096         * src/supplicant-manager/nm-supplicant-settings-verify.c
1097                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1098
1099 2008-09-04  Dan Williams  <dcbw@redhat.com>
1100
1101         * libnm-util/nm-setting-vpn.c
1102           libnm-util/nm-setting-vpn.h
1103                 - Split VPN secrets from VPN data so that settings services can actually
1104                         figure out that they are secrets and store them accordingly
1105
1106         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1107           system-settings/plugins/keyfile/reader.c
1108           system-settings/plugins/keyfile/reader.h
1109           system-settings/plugins/keyfile/writer.c
1110                 - Store VPN secrets separately from VPN data so that they can be fetched
1111                         on demand
1112                 - Implement the get_secrets() call so that (a) secrets don't leak out
1113                         to unprivileged callers, and (b) secrets can be sent to privileged
1114                         callers when needed
1115
1116         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1117                 - Handle split VPN secrets
1118
1119 2008-08-27  Dan Williams  <dcbw@redhat.com>
1120
1121         * system-settings/plugins/ifcfg-fedora/reader.c
1122                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1123
1124 2008-08-27  Dan Williams  <dcbw@redhat.com>
1125
1126         Ensure zombie children get cleaned up.  To get notifications when children
1127         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1128         that requires calling waitpid() yourself if you've removed the child watch
1129         handler before the process has actually died, which NM needs to do in a few
1130         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1131         cleans up after the child when required.  Should fix problems trying to
1132         activate mobile broadband connections after a previous failure.
1133
1134         * src/dhcp-manager/nm-dhcp-dhclient.c
1135           src/dhcp-manager/nm-dhcp-dhcpcd.c
1136                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1137
1138         * src/dhcp-manager/nm-dhcp-manager.c
1139                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1140                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1141                         block on child quitting, since the non-blocking functionality was
1142                         never actually used
1143
1144         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1145                 - (dm_watch_cb): child is already reaped here
1146                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1147
1148         * src/nm-device.c
1149                 - (aipd_cleanup): block until child is dead
1150
1151         * src/named-manager/nm-named-manager.c
1152                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1153                         event bothering to watch the child
1154
1155         * src/ppp-manager/nm-ppp-manager.c
1156                 - (ppp_watch_cb): child is already reaped here
1157                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1158
1159         * src/vpn-manager/nm-vpn-service.c
1160                 - (vpn_service_watch_cb): child is already reaped here
1161                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1162                         status of the child is actually tracked
1163                 - (ensure_killed, finalize): block until child is dead
1164
1165 2008-08-26  Dan Williams  <dcbw@redhat.com>
1166
1167         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1168                 - (update): Update filename of the connection if the connection id
1169                         was changed
1170
1171         * system-settings/plugins/keyfile/plugin.c
1172                 - (dir_changed): first pass at handling connection renames correctly
1173
1174         * system-settings/plugins/keyfile/writer.c
1175           system-settings/plugins/keyfile/writer.h
1176                 - (write_connection): replace '/' with '*' when writing out the filename
1177                         from the connection id
1178
1179 2008-08-26  Dan Williams  <dcbw@redhat.com>
1180
1181         Add connection UUIDs, since connection names can be changed, and since
1182         old-style connection IDs could change over the life of the connection.  The
1183         UUID should be assigned at connection creation time, be stable for a given
1184         connection, and should be unique among all connections for a given settings
1185         service.
1186
1187         * configure.in
1188           libnm-util/Makefile.am
1189                 - Require libuuid
1190
1191         * introspection/nm-exported-connection.xml
1192                 - Remove "GetID" method
1193
1194         * libnm-glib/nm-dbus-connection.c
1195           libnm-glib/nm-settings.c
1196           libnm-glib/nm-settings.h
1197                 - Remove id-related stuff
1198
1199         * libnm-util/nm-utils.c
1200           libnm-util/nm-utils.h
1201           libnm-util/libnm-util.ver
1202                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1203                         utility functions to generate UUIDs
1204
1205         * libnm-util/nm-setting-connection.c
1206           libnm-util/nm-setting-connection.h
1207                 - Add 'uuid' member to the connection setting
1208                 - (verify): require valid 'uuid' for a valid connection
1209
1210         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1211           system-settings/plugins/ifcfg-fedora/reader.c
1212           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1213           system-settings/plugins/ifcfg-suse/parser.c
1214           system-settings/plugins/keyfile/nm-keyfile-connection.c
1215           system-settings/src/main.c
1216                 - Remove id-related stuff
1217                 - Give connections UUIDs where needed
1218
1219 2008-08-25  Dan Williams  <dcbw@redhat.com>
1220
1221         * libnm-util/crypto_gnutls.c
1222           libnm-util/crypto_nss.c
1223                 - (crypto_init, crypto_deinit): refcount init/deinit
1224                 - (crypto_md5_hash): allow NULL salt
1225
1226 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1227
1228         * libnm-glib/Makefile.am
1229           libnm-util/Makefile.am
1230           libnm-glib/libnm_glib.ver
1231           libnm-glib/libnm_glib_vpn.ver
1232           libnm-util/libnm-util.ver
1233                 - Use linker version scripts to control the list of exported 
1234                 symbols. List each exported symbol explicitely.
1235         * libnm-util/Makefile.am
1236                 - Fix compilation of the test-crypto binary. The crypto
1237                 functions are no longer part of the libnm-util API. Add 
1238                 crypto_*.c to test_crypto_SOURCES and link against the correct
1239                 crypto libraries.
1240
1241 2008-08-19  Dan Williams  <dcbw@redhat.com>
1242
1243         * configure.in
1244           test/Makefile.am
1245                 - Don't build test/test-common
1246                 - Remove unused stuff
1247
1248         * test/nm-set-fallback
1249           test/nmtestdevices.c
1250           test/test-common/.cvsignore
1251           test/test-common/Makefile.am
1252           test/test-common/test-common.c
1253           test/test-common/test-common.h
1254                 - delete
1255
1256 2008-08-18  Dan Williams  <dcbw@redhat.com>
1257
1258         * libnm-util/nm-utils.c
1259           libnm-util/nm-utils.h
1260                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1261                         export anything that needs to be converted with this function
1262
1263         * src/dhcp-manager/nm-dhcp-manager.c
1264                 - (garray_to_string): convert a byte array to a UTF-8 string with
1265                         minimal validation; the DHCP client sends it in ASCII anyway
1266                 - (get_option, copy_option): use garray_to_string()
1267
1268 2008-08-18  Dan Williams  <dcbw@redhat.com>
1269
1270         * include/NetworkManager.h
1271           introspection/nm-device.xml
1272                 - Add a "missing firmware" device state reason
1273
1274         * src/NetworkManagerSystem.c
1275           src/NetworkManagerSystem.h
1276                 - (nm_system_device_set_up_down): add a no_firmware argument
1277                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1278                         IFF_UP is ENOENT, that almost always means missing firmware
1279
1280         * src/backends/NetworkManagerGeneric.c
1281           src/nm-device-ethernet.c
1282           src/nm-device-private.h
1283           src/nm-device-wifi.c
1284           src/nm-device.c
1285           src/nm-device.h
1286           src/nm-hso-gsm-device.c
1287           src/vpn-manager/nm-vpn-connection.c
1288                 - Pass no_firmware along; check it where appropriate
1289
1290 2008-08-18  Dan Williams  <dcbw@redhat.com>
1291
1292         Patch from Robert Buchholz <rbu@gentoo.org>
1293
1294         * autogen.sh
1295           configure.in
1296                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1297                         1003.1-1988, allowing for file names longer than 99 characters
1298
1299 2008-08-17  Dan Williams  <dcbw@redhat.com>
1300
1301         * include/NetworkManager.h
1302           introspection/nm-device.xml
1303           src/nm-gsm-device.c
1304                 - Finer-grained GSM registration failure error codes
1305
1306 2008-08-17  Dan Williams  <dcbw@redhat.com>
1307
1308         * callouts/Makefile.am
1309           src/Makefile.am
1310                 - Move dispatcher directory creation to callouts/Makefile.am
1311
1312         * system-settings/plugins/keyfile/Makefile.am
1313                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1314
1315 2008-08-15  Dan Williams  <dcbw@redhat.com>
1316
1317         Do connection sharing in a cleaner manner; all required iptables rules
1318         are now stored in the activation request and pertain only to the device
1319         which is being shared to other computers. (rh #458625)
1320
1321         * src/nm-activation-request.c
1322           src/nm-activation-request.h
1323                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1324                         the activation request which will get torn down automatically when
1325                         the activation request dies
1326                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1327                         is started, and tear them down when sharing is stopped
1328
1329         * src/nm-device.c
1330                 - (start_sharing): start up sharing by doing the required iptables magic
1331                 - (share_init): poke the right bits of the kernel and load the right
1332                         modules for NAT
1333                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1334                         connection if it's a 'shared' connection
1335
1336         * src/NetworkManagerPolicy.c
1337                 - Remove all sharing stuff; done in the device code itself
1338
1339 2008-08-15  Dan Williams  <dcbw@redhat.com>
1340
1341         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1342                 - (create_dm_cmd_line): send the right router address
1343
1344 2008-08-15  Dan Williams  <dcbw@redhat.com>
1345
1346         * src/ppp-manager/nm-ppp-manager.c
1347                 - (pppd_timed_out): ensure timeouts fail the connection
1348
1349 2008-08-14  Dan Williams  <dcbw@redhat.com>
1350
1351         * src/nm-properties-changed-signal.c
1352           src/nm-properties-changed-signal.h
1353                 - Add a property spec flag for "don't export this property" in
1354                         property changed signals
1355
1356         * src/nm-hso-gsm-device.c
1357           src/nm-gsm-device.c
1358           src/nm-cdma-device.c
1359                 - Don't export monitor interface or netdev interface properties
1360
1361 2008-08-14  Dan Williams  <dcbw@redhat.com>
1362
1363         * src/NetworkManagerPolicy.c
1364                 - (update_routing_and_dns): 'hso' devices can be default even if they
1365                         don't have a gateway
1366
1367 2008-08-14  Dan Williams  <dcbw@redhat.com>
1368
1369         * src/nm-device.c
1370                 - (nm_device_deactivate_quickly): tear down activation request after
1371                         calling device-specific deactivation
1372
1373         * src/nm-hso-gsm-device.c
1374                 - (real_deactivate_quickly): terminate connection when deactivating
1375
1376 2008-08-14  Dan Williams  <dcbw@redhat.com>
1377
1378         * src/nm-activation-request.h
1379                 - Add HSO secrets caller
1380
1381         * src/nm-gsm-device.c
1382           src/nm-gsm-device.h
1383                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1384                         something to the callback function
1385                 - (set_apn, set_apn_done): call class dial function, not a static one
1386                 - (nm_gsm_device_class_init): add a class 'dial' function
1387
1388         * src/nm-hal-manager.c
1389                 - (get_hso_netdev): find the hso-driven hardware's net device
1390                 - (modem_device_creator): recognize hso-driven hardware and create the
1391                         right type of device object for it
1392
1393         * src/Makefile.am
1394           src/nm-hso-gsm-device.c
1395           src/nm-hso-gsm-device.h
1396                 - Implement support for devices driven by the 'hso' driver as a subclass
1397                         of NMGsmDevice
1398
1399 2008-08-14  Dan Williams  <dcbw@redhat.com>
1400
1401         * src/NetworkManagerSystem.c
1402                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1403                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1404                         success if the operation really was successful
1405
1406 2008-08-14  Dan Williams  <dcbw@redhat.com>
1407
1408         * src/nm-netlink-monitor.c
1409           src/nm-netlink-monitor.h
1410           src/nm-device-ethernet.c
1411                 - (nm_netlink_monitor_request_status): return an error on failure
1412                 - (constructor): don't segfault on missing error
1413
1414 2008-08-13  Dan Williams  <dcbw@redhat.com>
1415
1416         * callouts/nm-dispatcher-action.c
1417                 - Add IP4 config info to script environment
1418
1419 2008-08-12  Dan Williams  <dcbw@redhat.com>
1420
1421         * src/nm-device.c
1422                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1423                         that want to use DHCP hostnames should use dispatcher scripts
1424                         for that
1425
1426         * src/NetworkManagerSystem.h
1427           src/backends/NetworkManagerArch.c
1428           src/backends/NetworkManagerDebian.c
1429           src/backends/NetworkManagerFrugalware.c
1430           src/backends/NetworkManagerGeneric.c
1431           src/backends/NetworkManagerGeneric.h
1432           src/backends/NetworkManagerGentoo.c
1433           src/backends/NetworkManagerMandriva.c
1434           src/backends/NetworkManagerPaldo.c
1435           src/backends/NetworkManagerRedHat.c
1436           src/backends/NetworkManagerSlackware.c
1437           src/backends/NetworkManagerSuSE.c
1438                 - Remove nm_system_set_hostname(), no longer used
1439           
1440         * src/backends/Makefile.am
1441           src/backends/shvar.c
1442           src/backends/shvar.h
1443                 - Remove shvar.*; no longer used
1444
1445 2008-08-12  Dan Williams  <dcbw@redhat.com>
1446
1447         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1448         hostname is updated at runtime.  Distros or users who want hostname updates
1449         can use dispatcher scripts to update the hostname if they need it.
1450
1451 2008-08-12  Dan Williams  <dcbw@redhat.com>
1452
1453         * introspection/nm-settings-system.xml
1454           system-settings/src/dbus-settings.c
1455           system-settings/src/dbus-settings.h
1456                 - Add a 'Hostname' property (rw) which represents the configured
1457                         hostname and domain of the system, if any
1458
1459         * system-settings/src/nm-system-config-error.c
1460           system-settings/src/nm-system-config-error.h
1461           system-settings/src/nm-system-config-interface.c
1462           system-settings/src/nm-system-config-interface.h
1463                 - Add a 'hostname' property to the plugin interface
1464                 - Add a method to send updated hostname to plugins to save in their
1465                         backing configuration store
1466
1467         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1468           system-settings/plugins/keyfile/plugin.c
1469           system-settings/plugins/keyfile/writer.c
1470           system-settings/plugins/keyfile/writer.h
1471           system-settings/plugins/ifcfg-suse/plugin.c
1472                 - Add minimal hostname support
1473
1474         * system-settings/plugins/ifcfg-fedora/plugin.c
1475                 - Add support for updating system hostname in /etc/sysconfig/network
1476
1477 2008-08-12  Dan Williams  <dcbw@redhat.com>
1478
1479         * system-settings/plugins/ifcfg-fedora/shvar.c
1480           system-settings/plugins/ifcfg-fedora/shvar.c
1481                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1482
1483 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1484
1485         * Makefile.am: Fix distcheck.
1486
1487 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1488
1489         * libnm-glib/*.c. Document some more.
1490
1491 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1492
1493         Start documenting libnm-glib public API using gtk-doc.
1494
1495         * libnm-glib/nm-serial-device.c: 
1496         * libnm-glib/nm-object.c: 
1497         * libnm-glib/nm-gsm-device.c: 
1498         * libnm-glib/nm-device.c: 
1499         * libnm-glib/nm-device-wifi.c: 
1500         * libnm-glib/nm-device-ethernet.c: 
1501         * libnm-glib/nm-client.c: 
1502         * libnm-glib/nm-cdma-device.c: Document the public API.
1503
1504         * docs/libnm-glib/libnm-glib.types: Implement.
1505
1506         * docs/libnm-glib/Makefile.am: Implement.
1507
1508         * autogen.sh: 
1509         * configure.in: 
1510         * Makefile.am: Add gtk-doc support.
1511
1512 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1513
1514         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1515
1516         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1517         the composite result of all the IP4 configurations and call a distro
1518         specific update_resolv_conf().
1519         (update_resolv_conf): Implement one for directly writing to 
1520         /etc/resolv.conf and one for opensuse to call netconfig.
1521
1522 2008-08-11  Dan Williams  <dcbw@redhat.com>
1523
1524         * src/ppp-manager/nm-ppp-manager.c
1525                 - (impl_ppp_manager_need_secrets): pass interface as required
1526
1527 2008-08-11  Dan Williams  <dcbw@redhat.com>
1528
1529         Merge the vpn-properties setting with the vpn setting since it was pointless
1530         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1531         of string:string (instead of string:variant) so that system settings plugins
1532         can have an easier time dealing with the arbitrary key/value pairs.
1533
1534 2008-08-11  Dan Williams  <dcbw@redhat.com>
1535
1536         * libnm-util/nm-utils.c
1537                 - (nm_utils_register_value_transformations): add value transform for
1538                         a hash table of string:string
1539
1540 2008-08-10  Dan Williams  <dcbw@redhat.com>
1541
1542         * libnm-glib/nm-vpn-plugin.c
1543                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1544                         an idle handler so the Connect reply gets delivered before the
1545                         stop StateChanged signal
1546
1547 2008-08-10  Dan Williams  <dcbw@redhat.com>
1548
1549         * src/nm-ip4-config.c
1550                 - (get_property): use common ip4 address/route conversion functions
1551                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1552                         copy the new route here, not take ownership
1553
1554 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1555
1556         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1557         Update the IP4 setting's method name.
1558
1559 2008-08-07  Dan Williams  <dcbw@redhat.com>
1560
1561         * introspection/nm-ip4-config.xml
1562           libnm-glib/libnm-glib-test.c
1563           libnm-glib/nm-ip4-config.c
1564           libnm-glib/nm-ip4-config.h
1565           src/NetworkManagerSystem.h
1566           src/backends/NetworkManagerArch.c
1567           src/backends/NetworkManagerDebian.c
1568           src/backends/NetworkManagerFrugalware.c
1569           src/backends/NetworkManagerGeneric.c
1570           src/backends/NetworkManagerGeneric.h
1571           src/backends/NetworkManagerGentoo.c
1572           src/backends/NetworkManagerMandriva.c
1573           src/backends/NetworkManagerPaldo.c
1574           src/backends/NetworkManagerRedHat.c
1575           src/backends/NetworkManagerSlackware.c
1576           src/backends/NetworkManagerSuSE.c
1577           src/dhcp-manager/nm-dhcp-manager.c
1578           src/nm-device.c
1579           src/nm-ip4-config.c
1580           src/nm-ip4-config.h
1581                 - Remove NIS logic; should be done from dispatcher scripts instead
1582
1583 2008-08-07  Dan Williams  <dcbw@redhat.com>
1584
1585         * src/dhcp-manager/nm-dhcp-manager.c
1586                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1587                         mis-handling of DHCP responses that returned more than one router
1588                         (found by Grant Williamson)
1589
1590 2008-08-07  Dan Williams  <dcbw@redhat.com>
1591
1592         * callouts/nm-dispatcher-action.c
1593                 - (nm_dispatcher_action): grab device path and create the device; pass
1594                         the device's DHCP4 config to script caller
1595                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1596                         scripts
1597
1598         * libnm-glib/nm-dhcp4-config.c
1599           libnm-glib/nm-dhcp4-config.h
1600                 - (nm_dhcp4_config_get_options): expose
1601                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1602
1603 2008-08-07  Dan Williams  <dcbw@redhat.com>
1604
1605         * include/NetworkManager.h
1606                 - Add the DHCP4Config D-Bus interface
1607
1608         * libnm-glib/Makefile.am
1609           libnm-glib/nm-dhcp4-config.c
1610           libnm-glib/nm-dhcp4-config.h
1611                 - Handle DHCP4 config objects exported by NM over D-Bus
1612
1613         * libnm-glib/nm-device.c
1614           libnm-glib/nm-device.h
1615                 - Add a 'dhcp4-config' property
1616
1617         * libnm-glib/libnm-glib-test.c
1618                 - Print out DHCP4 config for devices
1619                 - Fix some crashes when no connections are active
1620
1621         * src/nm-device-interface.c
1622           src/nm-device.c
1623           src/nm-dhcp4-config.c
1624           src/nm-dhcp4-config.h
1625                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1626                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1627                         doesn't let us do when the property type is G_TYPE_OBJECT
1628
1629 2008-08-07  Dan Williams  <dcbw@redhat.com>
1630
1631         * src/NetworkManager.c
1632           src/NetworkManagerSystem.h
1633           src/backends/NetworkManagerArch.c
1634           src/backends/NetworkManagerDebian.c
1635           src/backends/NetworkManagerFrugalware.c
1636           src/backends/NetworkManagerGeneric.c
1637           src/backends/NetworkManagerGeneric.h
1638           src/backends/NetworkManagerGentoo.c
1639           src/backends/NetworkManagerMandriva.c
1640           src/backends/NetworkManagerPaldo.c
1641           src/backends/NetworkManagerRedHat.c
1642           src/backends/NetworkManagerSlackware.c
1643           src/backends/NetworkManagerSuSE.c
1644                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1645
1646 2008-08-06  Dan Williams  <dcbw@redhat.com>
1647
1648         * libnm-glib/nm-ip4-config.c
1649           libnm-glib/nm-ip4-config.h
1650                 - Add 'routes' property
1651
1652         * libnm-util/nm-setting-vpn.c
1653           libnm-util/nm-setting-vpn.h
1654                 - Remove 'routes' property
1655
1656         * libnm-util/nm-setting-ip4-config.c
1657           libnm-util/nm-setting-ip4-config.h
1658                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1659                 - Add 'ignore-auto-routes' property
1660                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1661                         accomodate route metrics
1662                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1663
1664         * libnm-util/nm-utils.c
1665           libnm-util/nm-utils.h
1666                 - Add helpers for marshalling IP4 routes
1667
1668         * src/NetworkManagerUtils.c
1669                 - (nm_utils_merge_ip4_config): handle property renames and new route
1670                         structure
1671
1672         * src/NetworkManagerSystem.c
1673                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1674                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1675
1676         * src/dhcp-manager/nm-dhcp-manager.c
1677                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1678
1679         * system-settings/plugins/ifcfg-fedora/reader.c
1680           system-settings/plugins/ifcfg-fedora/writer.c
1681                 - Handle routes separately from addresses now that routes have a different
1682                         format
1683
1684         * introspection/nm-ip4-config.xml
1685           src/nm-ip4-config.c
1686           src/nm-ip4-config.h
1687                 - Rename internal routing functions
1688                 - 'static-routes' renamed to 'routes'
1689
1690 2008-08-04  Dan Williams  <dcbw@redhat.com>
1691
1692         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1693
1694         * src/NetworkManager.c
1695           src/nm-manager.c
1696           src/nm-manager.h
1697                 - More explicitly make the NMManager a singleton
1698
1699 2008-08-04  Dan Williams  <dcbw@redhat.com>
1700
1701         * libnm-util/nm-connection.c
1702           libnm-util/nm-connection.h
1703                 - (nm_connection_verify): return error on missing 'connection' setting
1704                         (found by Sjoerd Simons)
1705
1706 2008-08-04  Dan Williams  <dcbw@redhat.com>
1707
1708         Handle multiple concurrent PPP connections.
1709
1710         * src/ppp-manager/nm-ppp-manager.c
1711           src/ppp-manager/nm-ppp-manager.h
1712                 - (constructor): only PPP Manager request bus name once; each
1713                         NMPPPManager object gets a unique object path
1714                 - (nm_ppp_manager_class_init, get_property, set_property,
1715                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1716                         at construct time
1717                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1718                         remove timeout until PPP manager gets an IP4 config
1719                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1720                         the plugin can call back to this specific PPP manager instance
1721
1722         * src/nm-device-ethernet.c
1723           src/nm-serial-device.c
1724                 - Pass parent device in nm_ppp_manager_new()
1725
1726         * src/nm-gsm-device.c
1727           src/nm-cdma-device.c
1728                 - (device_state_changed): don't close serial device on NEED_AUTH
1729                         state changed, that's not a failure case like the rest are
1730
1731         * src/ppp-manager/nm-pppd-plugin.c
1732                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1733                         binds one interface to any pppd process, thus the correct index
1734                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1735                         problems; try harder to get a peer address in spite of pppd
1736                 - (plugin_init): use 'ipparam' as the object path back to our specific
1737                         PPP manager instance
1738
1739 2008-08-04  Dan Williams  <dcbw@redhat.com>
1740
1741         * src/ppp-manager/nm-ppp-manager.c
1742                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1743                         since the GSM and CDMA settings now implement need_secrets, we can
1744                         rely on them to do the right thing.  Where secrets are not required,
1745                         just pass empty strings back to the pppd plugin.
1746                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1747                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1748                         on successful IP4 config receipt
1749
1750 2008-08-04  Dan Williams  <dcbw@redhat.com>
1751
1752         * libnm-util/nm-setting-cdma.c
1753           libnm-util/nm-setting-gsm.c
1754                 - (verify): validate username & password if they exist
1755                 - (need_secrets): if username given, require a password too
1756
1757 2008-08-04  Dan Williams  <dcbw@redhat.com>
1758
1759         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1760                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1761                         manpage says about --listen-address without --interface
1762                         (bgo #546033)
1763
1764 2008-08-01  Dan Williams  <dcbw@redhat.com>
1765
1766         * libnm-glib/nm-device.c
1767                 - (proxy_get_string): util function for querying a HAL property
1768                 - (get_ancestor_device): split out from get_product_and_vendor()
1769                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1770                         from PCI devices by querying subsys properties
1771                 - (nm_device_update_description): simplify
1772
1773 2008-08-01  Dan Williams  <dcbw@redhat.com>
1774
1775         * libnm-util/nm-setting-ip4-config.c
1776           libnm-util/nm-setting-ip4-config.h
1777                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1778                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1779                         settings, and they don't necessarily use DHCP.
1780
1781         * src/NetworkManagerPolicy.c
1782           src/nm-device.c
1783           system-settings/plugins/ifcfg-fedora/reader.c
1784           system-settings/plugins/ifcfg-suse/parser.c
1785                 - Fixup for method changes
1786
1787 2008-07-31  Dan Williams  <dcbw@redhat.com>
1788
1789         * src/nm-activation-request.c
1790           src/vpn-manager/nm-vpn-connection.c
1791                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1792                         itself should be attached to the activation request or the VPN
1793                         connection, not the NMConnection object, since the call is not
1794                         expected to live as long as the NMConnection itself
1795
1796 2008-07-31  Dan Williams  <dcbw@redhat.com>
1797
1798         * src/nm-device-wifi.c
1799                 - (real_act_stage2_config): fix issue where association would continue
1800                         even though secrets were needed; 'goto out' was in wrong scope and
1801                         result of handle_auth_or_fail() should have been dumped directly to
1802                         'ret' to ensure that the association was postponed until secrets
1803                         are available
1804
1805 2008-07-31  Dan Williams  <dcbw@redhat.com>
1806
1807         * system-settings/plugins/ifcfg-fedora/plugin.c
1808           system-settings/plugins/ifcfg-fedora/reader.c
1809                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1810                         valid NM connection
1811
1812 2008-07-29  Dan Williams  <dcbw@redhat.com>
1813
1814         * src/nm-gsm-device.c
1815                 - (automatic_registration_response, automatic_registration): recognize
1816                         denied registration and reorder responses
1817
1818 2008-07-29  Dan Williams  <dcbw@redhat.com>
1819
1820         * src/nm-serial-device.c
1821                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1822                         time(2) is used for current time, which returns seconds, we shouldn't
1823                         be multiplying by 1000.
1824
1825 2008-07-28  Dan Williams  <dcbw@redhat.com>
1826
1827         Patch from Fabrice Bellet <fabrice@bellet.info>
1828
1829         * src/NetworkManagerSystem.c
1830                 - (route_in_same_subnet): mask addresses and compare them so that the
1831                         function actually does what it says it's going to do (rh #456685)
1832
1833 2008-07-27  Dan Williams  <dcbw@redhat.com>
1834
1835         * libnm-util/nm-setting-ip6-config.c
1836                 - (set_property): add missing break that caused routes to be overwritten
1837                         with addresses
1838
1839         * libnm-util/nm-setting-ip6-config.c
1840                 - (verify): validate routes and return GError everywhere on invalid setting
1841                 - (finalize): don't leak routes
1842                 - (set_property): add missing break that caused routes to be overwritten
1843                         with addresses
1844
1845 2008-07-27  Dan Williams  <dcbw@redhat.com>
1846
1847         * libnm-util/*
1848                 - Relicense to LGPLv2+
1849
1850 2008-07-27  Dan Williams  <dcbw@redhat.com>
1851
1852         * system-settings/plugins/ifcfg-fedora/reader.c
1853                 - (make_ip4_setting): fix parsing automatic configs
1854
1855 2008-07-27  Dan Williams  <dcbw@redhat.com>
1856
1857         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1858           src/nm-device.c
1859           src/ppp-manager/nm-ppp-manager.c
1860                 - Ensure child process gets reaped.  The child watch function may be
1861                         removed from the mainloop before the child gets killed, so we have
1862                         to make sure the child is reaped when it's told to die intentionally
1863
1864 2008-07-27  Dan Williams  <dcbw@redhat.com>
1865
1866         Patch from Roy Marples <roy@marples.name>
1867
1868         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1869                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1870
1871 2008-07-27  Dan Williams  <dcbw@redhat.com>
1872
1873         * src/nm-gsm-device.c
1874                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1875                         Huawei devices turn echo back on after CPIN (rh #456770)
1876
1877 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1878
1879         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1880         format argument to g_set_error() call.
1881
1882         * src/backends/interface_parser.[ch]: Remove.
1883
1884         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1885
1886 2008-07-21  Dan Williams  <dcbw@redhat.com>
1887
1888         * src/ppp-manager/nm-ppp-manager.c
1889                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1890                         to prevent pppd from picking up some random local address from an
1891                         interface that doesn't have anything to do with the one we're
1892                         interested in (rh #455348)
1893
1894 2008-07-17  Dan Williams  <dcbw@redhat.com>
1895
1896         * libnm-util/nm-utils.c
1897                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1898                         by locale
1899                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1900                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1901
1902 2008-07-17  Dan Williams  <dcbw@redhat.com>
1903
1904         * introspection/Makefile.am
1905           introspection/nm-device.xml
1906           introspection/nm-dhcp4-config.xml
1907                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1908                         itself
1909         * src/nm-device-interface.c
1910           src/nm-device-interface.h
1911                 - Add the DHCP4Config property
1912
1913         * src/nm-device.c
1914                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1915                         D-Bus clients when it changes
1916
1917         * src/nm-dhcp4-config.c
1918           src/nm-dhcp4-config.h
1919                 - Simple object to store DHCP4 options, export them over D-Bus, and
1920                         notify when they change
1921
1922         * src/dhcp-manager/nm-dhcp-manager.c
1923           src/dhcp-manager/nm-dhcp-manager.h
1924                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1925                         filter server-returned DHCP options into an NMDHCP4Config object
1926
1927 2008-07-16  Dan Williams  <dcbw@redhat.com>
1928
1929         * introspection/nm-device.xml
1930                 - Add device state reasons
1931
1932 2008-07-16  Dan Williams  <dcbw@redhat.com>
1933
1934         Patch from Roy Marples <roy@marples.name>
1935
1936         * configure.in
1937                 - Add --with-dhcp-client option
1938
1939         * src/dhcp-manager/Makefile.am
1940                 - pass DHCP_CLIENT_PATH on compile line
1941
1942         * src/dhcp-manager/nm-dhcp-manager.c
1943           src/dhcp-manager/nm-dhcp-manager.h
1944                 - Genericize for both dhcpcd and dhclient
1945
1946         * src/dhcp-manager/nm-dhcp-dhclient.c
1947                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1948
1949         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1950                 - Implement support for dhcpcd too
1951
1952 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1953
1954         * system-settings/src/nm-system-config-interface.c 
1955         (nm_system_config_interface_supports_add): Implement.
1956         (nm_system_config_interface_add_connection): Return a boolean to notify
1957         of errors.
1958
1959         * system-settings/src/nm-polkit-helpers.c: 
1960         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1961         a separate file.
1962
1963         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1964         Return an error when none of the plugins support add or if addition
1965         failed for some reason.
1966
1967         * system-settings/src/nm-system-config-error.h: 
1968         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1969         here from nm-polkit-helpers.[ch].
1970
1971         * system-settings/src/Makefile.am: Build new files.
1972
1973         * system-settings/plugins/keyfile/reader.c 
1974         (read_array_of_array_of_uint): Make it more general so that it would
1975         work for routes as well.
1976
1977         * system-settings/plugins/keyfile/writer.c
1978         (write_array_of_array_of_uint): Ditto.
1979         Fix the netmask/prefix writing.
1980
1981         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1982         boolean to notify errors.
1983
1984         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1985         Return more specific error.
1986         (delete): Ditto.
1987
1988 2008-07-11  Dan Williams  <dcbw@redhat.com>
1989
1990         Modify the NMDevice::state-changed signal to include the previous state
1991         and reason. Enables the applet to provide more information why device
1992         activation failed.
1993
1994 2008-07-09  Dan Williams  <dcbw@redhat.com>
1995
1996         * callouts/Makefile.am
1997           callouts/nm-avahi-autoipd-action.c
1998           callouts/nm-avahi-autoipd.conf
1999                 - avahi-autoipd callout to send options back to NM
2000
2001         * src/autoip.c
2002           src/autoip.h
2003                 - remove
2004
2005         * src/nm-device.c
2006           src/nm-device-private.h
2007           src/nm-manager.c
2008                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2009                         old custom stuff
2010
2011 2008-07-07  Dan Williams  <dcbw@redhat.com>
2012
2013         * system-settings/plugins/ifcfg-fedora/reader.c
2014                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2015                         handle PREFIX too; clean up
2016
2017 2008-07-07  Dan Williams  <dcbw@redhat.com>
2018
2019         Convert to using IPv4 prefixes instead of netmasks.
2020
2021 2008-07-03  Dan Williams  <dcbw@redhat.com>
2022
2023         * libnm-util/nm-setting-ip4-config.c
2024           libnm-util/nm-setting-ip4-config.h
2025                 - Add properties for DHCP Client Identifier and DHCP Hostname
2026
2027         * src/dhcp-manager/nm-dhcp-manager.c
2028           src/dhcp-manager/nm-dhcp-manager.h
2029                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2030                         setting as an argument to pass on to the dhclient config file
2031                         creation function
2032                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2033                         DHCP is torn down
2034                 - (dhclient_run): punt config file handling to create_dhclient_config()
2035                 - (create_dhclient_config): create an interface-specific dhclient
2036                         config file since there may need to be interface-specific options
2037                         passed to dhclient
2038                 - (merge_dhclient_config): merge normal distro dhclient config file and
2039                         add options from the connection
2040                 - (nm_dhcp_device_new): generate the interface specific dhclient
2041                         config file path once
2042                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2043                         dhclient config file path
2044
2045         * src/nm-device.c
2046                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2047                         DHCP manager when starting DHCP
2048
2049 2008-07-02  Dan Williams  <dcbw@redhat.com>
2050
2051         * libnm-util/nm-setting-8021x.c
2052                 - (verify): allow forcing the PEAP label to 0
2053
2054 2008-07-02  Dan Williams  <dcbw@redhat.com>
2055
2056         * introspection/nm-active-connection.xml
2057           introspection/nm-vpn-connection.xml
2058           libnm-glib/nm-active-connection.c
2059           src/nm-activation-request.c
2060           src/nm-active-connection.h
2061           src/vpn-manager/nm-vpn-connection.c
2062                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2063                         and libnm-glib API since sharing didn't get implemented that way
2064
2065 2008-07-02  Dan Williams  <dcbw@redhat.com>
2066
2067         * src/nm-device-wifi.c
2068                 - (can_scan): don't scan when a shared connection is activated since
2069                         that makes drivers mad (causing disconnects); also NM doesn't need
2070                         to hedge against disconnects by keeping up-to-date network topology
2071                         because the connection originates from the local machine, and thus
2072                         there should be no disconnects
2073
2074 2008-07-01  Dan Williams  <dcbw@redhat.com>
2075
2076         Fix mobile broadband username/password issues.  NM was never requesting
2077         mobile broadband secrets, nor was it passing back the username and password
2078         if it had them.
2079
2080         * marshallers/nm-marshal.list
2081                 - Add some new types for activation request objects
2082
2083         * src/nm-activation-request.c
2084           src/nm-activation-request.h
2085                 - (get_secrets_cb): pass the caller type in the signal
2086                 - (nm_act_request_request_connection_secrets): take a caller type, so
2087                         that GetSecrets() reply handlers know who asked for the secrets in
2088                         the first place; use secret hints too so the settings service can
2089                         figure out exactly what NM wants (ie, PIN or the PPP password)
2090
2091         * src/ppp-manager/nm-ppp-manager.c
2092           src/ppp-manager/nm-ppp-manager.h
2093                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2094                         detect needed secrets when the secret could be blank, like GSM/CDMA
2095                         passwords.  So always ask for secrets, and send a hint as to what
2096                         secret we really want.
2097                 - (nm_ppp_manager_update_secrets): make function more generic by making
2098                         the device specific class figure out the username and password, and
2099                         accept an error argument to return back over D-Bus
2100
2101         * src/nm-device-wifi.c
2102                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2103                         nm_act_request_request_connection_secrets()
2104                 - (real_connection_secrets_updated): update for 'caller' changes
2105
2106         * src/nm-device.c
2107           src/nm-device.h
2108                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2109                         for 'caller' changes
2110
2111         * src/nm-device-ethernet.c
2112                 - (real_connection_secrets_updated): update for 'caller' changes and
2113                         move logic for getting PPPoE username and password here before
2114                         calling nm_ppp_manager_update_secrets()
2115                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2116                         nm_act_request_request_connection_secrets()
2117
2118         * src/nm-cdma-device.c
2119                 - (real_connection_secrets_updated): pass username and password back
2120                         to the PPP manager when required
2121
2122         * src/nm-gsm-device.c
2123                 - (enter_pin): send the required secret name to the settings service
2124                 - (real_connection_secrets_updated): pass username and password back
2125                         to the PPP manager when required
2126
2127 2008-06-30  Dan Williams  <dcbw@redhat.com>
2128
2129         * src/nm-device-wifi.c
2130                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2131
2132 2008-06-30  Dan Williams  <dcbw@redhat.com>
2133
2134         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2135         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2136         priv->supplicant.iface.  When either condition is false, the device should
2137         transition back to UNAVAILABLE because it cannot be used.
2138
2139         * src/nm-device-wifi.c
2140                 - (constructor): cleanup; connect to supplicant manager here since the
2141                         supplicant manager is always around
2142                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2143                         ensure the supplicant manager is in the IDLE state
2144                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2145                         cancel any pending scans too
2146                 - (real_bring_up): don't set up the supplicnat interface here, because
2147                         we need the supplicant interface at times when the device may not
2148                         be "up"
2149                 - (real_take_down): just remove the periodic source
2150                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2151                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2152                         do anything if there's no supplicant interface
2153                 - (cleanup_association_attempt): cleanup
2154                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2155                         the interface enters the READY state; transition to UNAVAILABLE
2156                         state when the interface goes down because the device can't be used
2157                         without a supplicant interface
2158                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2159                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2160                         acquire the supplicant interface and transition to DISCONNECTED
2161                         if the radio isn't killed
2162                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2163                 - (state_changed_cb): release any existing supplicant interface; if the
2164                         radio is enabled then try to acquire a new supplicant interface;
2165                         if the radio is enabled and a supplicant interface has been acquired,
2166                         we can transition to DISCONNECTED
2167                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2168                         don't enable the radio, because HAL probably lied to us about the
2169                         killswitch being off.  If bringing the hardware up worked, then
2170                         try to grab a supplicant interface, and if that was successful,
2171                         transition to DISCONNECTED
2172
2173 2008-06-30  Dan Williams  <dcbw@redhat.com>
2174
2175         * src/supplicant-manager/nm-supplicant-interface.c
2176                 - (request_scan_results, nm_supplicant_interface_dispose,
2177                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2178                         the id of the timeout, not a GSource
2179
2180 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2181
2182         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2183         bunch of typoes introduced by "Patch from David Cantrell 
2184         <dcantrell@redhat.com> and me".
2185
2186 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2187
2188         * src/nm-serial-device.c: 
2189         * src/nm-gsm-device.c: 
2190         * src/nm-cdma-device.c: Move the pending call handling to a common location
2191         in serial device. Handle setting device state to failed in one place as well.
2192
2193 2008-06-29  Dan Williams <dcbw@redhat.com>
2194
2195         * src/nm-hal-manager.c
2196                 - Rework killswitch handling to query killswitch status immediately
2197                         when the first killswitch is added, so that rfkill state is
2198                         known as early as possible
2199                 - Also treat failure of GetPower() as rfkill when the dbus method
2200                         call times out (but not when the HAL callout returns an error)
2201
2202 2008-06-26  Dan Williams <dcbw@redhat.com>
2203
2204         Patch from David Cantrell <dcantrell@redhat.com> and me
2205
2206         * include/nm-dbus-glib-types.h
2207                 - Add IP6 address types
2208
2209         * libnm-util/Makefile.am
2210           libnm-util/nm-setting-ip6-config.c
2211           libnm-util/nm-setting-ip6-config.h
2212                 - Add IP6 settings object
2213
2214         * libnm-util/nm-connection.c
2215                 - (register_default_settings): register ip6 settings object
2216
2217         * libnm-util/nm-utils.c
2218           libnm-util/nm-utils.h
2219                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2220                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2221                         ip6 address conversion functions
2222         
2223 2008-06-26  Dan Williams <dcbw@redhat.com>
2224
2225         Patch from David Cantrell <dcantrell@redhat.com>
2226         
2227         * Use inet_ntop() and inet_pton() everwhere and check for errors
2228
2229 2008-06-26  Dan Williams <dcbw@redhat.com>
2230
2231         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2232
2233 2008-06-26  Dan Williams <dcbw@redhat.com>
2234
2235         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2236
2237         * src/nm-device-wifi.c
2238                 - (link_timeout_cb): don't ignore disconnects due to scanning
2239                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2240                         a longer timeout when scanning; avoids case where supplicant can't
2241                         find the AP and just keeps scanning forever but isn't connected
2242
2243 2008-06-26  Dan Williams <dcbw@redhat.com>
2244
2245         Patch from Michael Biebl <biebl@debian.org>
2246
2247         * Clean up build system stuff
2248
2249 2008-06-23  Christian Persch  <chpe@gnome.org>
2250
2251         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2252         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2253         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2254         (impl_get_object):
2255         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2256         (impl_get_object):
2257         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2258         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2259         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2260         (impl_get_object):
2261         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2262         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2263         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2264         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2265         * vpn-daemons/pptp/properties/vpnui_opt.c:
2266         (vpnui_opt_connect_signals):
2267         * vpn-daemons/pptp/properties/vpnui_opt.h:
2268         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2269         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2270         deprecated gtk type macros. Bug #539325.
2271
2272 2008-06-20  Dan Williams  <dcbw@redhat.com>
2273
2274         * libnm-glib/nm-vpn-plugin-ui-interface.c
2275           libnm-glib/nm-vpn-plugin-ui-interface.h
2276                 - 'validity-changed' -> 'changed' to work better with the connection
2277                         editor.  Plugin UI widgets should emit 'changed' whenever their
2278                         UI values change in a meaningful way.
2279                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2280                         update_connection member now returns validity of the UI widget
2281
2282 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2283
2284         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2285
2286 2008-06-17  Dan Williams  <dcbw@redhat.com>
2287
2288         * libnm-glib/nm-vpn-plugin-ui-interface.c
2289           libnm-glib/nm-vpn-plugin-ui-interface.h
2290                 - Add "desc" property for longer descriptions of the VPN plugin
2291
2292 2008-06-16  Dan Williams  <dcbw@redhat.com>
2293
2294         * configure.in
2295           libnm-glib/libnm_glib_vpn.pc.in
2296                 - add a .pc file for libnm_glib_vpn
2297
2298         * libnm-glib/nm-vpn-plugin-ui-interface.c
2299           libnm-glib/nm-vpn-plugin-ui-interface.h
2300                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2301                         rework it substantially
2302
2303 2008-06-12  Dan Williams  <dcbw@redhat.com>
2304
2305         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2306         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2307         returns a descriptive GError when verification fails.
2308
2309 2008-06-11  Dan Williams  <dcbw@redhat.com>
2310
2311         Patch from Tambet Ingo <tambet@gmail.com>
2312
2313         * libnm-util/nm-setting-gsm.c
2314                 - (verify): validate APN
2315
2316         * src/nm-gsm-device.c
2317                 - (manual_registration_done): start setting APN if needed
2318                 - (set_apn, set_apn_done): set the APN
2319                 - (do_dial): use the APN when dialing
2320
2321 2008-06-11  Dan Williams  <dcbw@redhat.com>
2322
2323         * src/NetworkManagerSystem.c
2324                 - (nm_system_device_set_ip4_route,
2325                    nm_system_device_replace_default_ip4_route): check for the right
2326                         return value from rtnl_route_add() to know when to add a gateway
2327                         route (from Tambet)
2328
2329 2008-06-11  Dan Williams  <dcbw@redhat.com>
2330
2331         * src/NetworkManagerPolicy.c
2332                 - do_ipt_cmd -> do_cmd
2333                 - (sharing_init): use do_cmd() instead of system()
2334
2335 2008-06-10  Dan Williams  <dcbw@redhat.com>
2336
2337         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2338         and use "wifi" everwhere instead.
2339
2340 2008-06-10  Dan Williams  <dcbw@redhat.com>
2341
2342         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2343
2344 2008-06-10  Dan Williams  <dcbw@redhat.com>
2345
2346         Patch from Tambet Ingo <tambet@gmail.com>
2347
2348         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2349                 changes.
2350
2351         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2352                 a signal to emit these changes over dbus.
2353
2354         * src/Makefile.am: Genereate nm-serial-device-glue.
2355
2356         * libnm-glib/nm-serial-device.[ch]: Implement.
2357
2358         * libnm-glib/nm-cdma-device.[ch]
2359           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2360
2361         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2362
2363         * introspection/nm-device-serial.xml: Implement.
2364
2365         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2366
2367         * introspection/Makefile.am: Add nm-device-serial.xml.
2368
2369         * include/NetworkManager.h: Add a DBus interface for serial device.
2370
2371 2008-06-10  Dan Williams  <dcbw@redhat.com>
2372
2373         * configure.in
2374                 - Add TARGET_* define to config.h to distinguish distros
2375
2376         * src/dhcp-manager/nm-dhcp-manager.c
2377                 - (dhclient_run): use distro-specific path for dhclient config file
2378
2379 2008-06-09  Dan Williams  <dcbw@redhat.com>
2380
2381         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2382           src/dnsmasq-manager/nm-dnsmasq-manager.h
2383                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2384                         calculate the addresses passed to dnsmasq instead of hard-coding
2385                         them
2386
2387         * src/nm-device.c
2388                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2389                         IP addresses for shared connections to guard against shared
2390                         connection address collisions
2391                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2392                         error conditions
2393                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2394                         the dnsmasq manager
2395
2396 2008-06-09  Dan Williams  <dcbw@redhat.com>
2397
2398         * src/NetworkManagerPolicy.c
2399                 - (update_routing_and_dns): set the default connection _after_ unsetting
2400                         default on all non-default connections so that two connections can
2401                         never be default at the same time
2402                 - (device_state_changed): start and stop connection sharing when
2403                         needed
2404                 - (active_connection_default_changed): restart or stop sharing when
2405                         the default connection changes to keep shared connections always
2406                         NAT-ed through the default connection
2407                 - (check_sharing): handle activation/deactivation of shared connections
2408                 - (sharing_restart): atom-bomb approach to connection sharing until we
2409                         can use libnl; reinit all sharing when the default connection or
2410                         shared connections change
2411                 - (sharing_init, sharing_stop): evil functions that init and deinit
2412                         iptables
2413
2414 2008-06-09  Dan Williams  <dcbw@redhat.com>
2415
2416         * src/nm-activation-request.c
2417           src/nm-activation-request.h
2418                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2419                    nm_act_request_get_device): new functions to facilitate connection
2420                         sharing
2421
2422 2008-06-09  Dan Williams  <dcbw@redhat.com>
2423
2424         * src/nm-device.c
2425                 - (clear_act_request): unset the 'default' property of the activation
2426                         request when clearing it to ensure the property changed signal gets
2427                         delivered and handled
2428
2429 2008-06-09  Dan Williams  <dcbw@redhat.com>
2430
2431         * libnm-glib/nm-device-802-11-wireless.c
2432                 - (access_point_removed_proxy): actually unref the AP after removing
2433                         it from the device's AP list.  Fixes refcounting bug for APs that
2434                         caused them to get mixed up in the applet's menu.
2435
2436 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2437
2438         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2439         (nm_dhcp_device_destroy): Destroy the device options hash table.
2440
2441 2008-06-06  Dan Williams <dcbw@redhat.com>
2442
2443         * system-settings/src/nm-polkit-helpers.c
2444                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2445                         unref the context if the initialization fails; also avoid spew when
2446                         the error isn't set
2447
2448 2008-06-06  Dan Williams <dcbw@redhat.com>
2449
2450         Patch from Tambet Ingo  <tambet@gmail.com>
2451
2452         * src/NetworkManagerSystem.c
2453           src/NetworkManagerSystem.h
2454                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2455                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2456                 - (nm_system_device_set_ip4_route): clean up
2457                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2458
2459         * src/nm-device.c
2460                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2461
2462         * src/vpn-manager/nm-vpn-connection.c
2463                 - (ip_address_to_string): new function
2464                 - (print_vpn_config): use ip_address_to_string
2465                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2466                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2467
2468         * include/NetworkManagerVPN.h
2469                 - Add 'routes' key
2470
2471 2008-06-05  Dan Williams <dcbw@redhat.com>
2472
2473         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2474
2475         * test/nm-tool.c
2476                 - Show which device is the default device
2477
2478 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2479
2480         Fix memory leaks.
2481
2482         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2483         Free data returned from dbus method call.
2484
2485         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2486         dbus_g_method_get_sender() returns a duplicated string, free it 
2487         when done.
2488         (check_polkit_privileges): Looks like policykit sometimes returns
2489         error and non-null return value, don't leak errors in that case.
2490
2491         * system-settings/src/main.c (find_plugin): Don't leak existing 
2492         plugin names.
2493         (load_stuff): Don't leak device list and list items.
2494         (have_connection_for_device): Don't leak connection list.
2495
2496         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2497         Free the data received from g_keyfile_get_*.
2498
2499         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2500         the key when the security object is updated.
2501
2502         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2503         Free data returned from dbus method call.
2504         (iface_state_cb): Ditto.
2505         (add_network_cb): Ditto.
2506         (nm_supplicant_interface_add_cb): Don't make another copy of already
2507         duplicated object path.
2508         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2509         when done.
2510
2511         * src/supplicant-manager/nm-supplicant-config.c 
2512         (ADD_STRING_LIST_VAL): Fix a memory leak.
2513
2514         * src/nm-manager.c (free_get_settings_info): Free the allocated
2515         memory slice.
2516         (list_connections_cb): Free data returned from dbus method call.
2517         (system_settings_get_unmanaged_devices_cb): Ditto.
2518
2519         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2520
2521         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2522         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2523         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2524         of the GList.
2525
2526         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2527         arguments after the object is created.
2528
2529 2008-06-04  Dan Williams <dcbw@redhat.com>
2530
2531         * libnm-util/Makefile.am
2532                 - Don't distribute nm-param-spec-specialized.h
2533
2534 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2535
2536         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2537
2538         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2539         NMIP4Address, update the getters and setters.
2540
2541         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2542         Use the updated NMIP4Config routes api.
2543
2544         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2545         static routes as well.
2546
2547         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2548         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2549         routes api.
2550
2551 2008-05-30  Dan Williams <dcbw@redhat.com>
2552
2553         * src/named-manager/nm-named-manager.c
2554           src/named-manager/nm-named-manager.h
2555                 - Remove stale/obsolete bits for controlling bind over DBus
2556
2557 2008-05-29  Dan Williams <dcbw@redhat.com>
2558
2559         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2560           src/dnsmasq-manager/nm-dnsmasq-manager.h
2561                 - (nm_dnsmasq_manager_new): move iface argument here
2562                 - (constructor): remove, not needed
2563                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2564                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2565
2566         * src/nm-device.c
2567                 - (real_act_stage4_get_ip4_config,
2568                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2569                         changes
2570
2571 2008-05-29  Dan Williams <dcbw@redhat.com>
2572
2573         * src/nm-device.c
2574                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2575                         something happens to dnsmasq
2576                 - (nm_device_new_ip4_shared_config): new function; create a new
2577                         ip4-config for shared connections.  Shared connections always use a
2578                         fixed static IP address.
2579                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2580                         autoip connections by actually using the returned ip4-config and
2581                         not leaking it
2582                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2583                         connections
2584                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2585                         if its active
2586
2587 2008-05-29  Dan Williams <dcbw@redhat.com>
2588
2589         * src/nm-device-802-11-wireless.c
2590                 - (real_get_best_auto_connection): auto-activate 'shared' method
2591                         connections too
2592
2593 2008-05-29  Dan Williams <dcbw@redhat.com>
2594
2595         * libnm-util/nm-setting-ip4-config.c
2596           libnm-util/nm-setting-ip4-config.h
2597                 - Add a 'shared' method to indicate that this connection should be
2598                         brought up with a DHCP and proxy DNS server to facilitate
2599                         connection sharing.
2600                 - (verify): 'shared' method doesn't allow DNS or searches either
2601
2602 2008-05-29  Dan Williams <dcbw@redhat.com>
2603
2604         * configure.in
2605           src/Makefile.am
2606           src/dnsmasq-manager/Makefile.am
2607           src/dnsmasq-manager/nm-dnsmasq-manager.c
2608           src/dnsmasq-manager/nm-dnsmasq-manager.h
2609                 - Add a dnsmasq daemon manager to facilitate connection sharing
2610
2611 2008-05-29  Dan Williams <dcbw@redhat.com>
2612
2613         * src/nm-device-private.h
2614                 - Remove unused prototypes and clean up
2615
2616         * src/nm-device.c
2617                 - Remove anything related to system_config_data, which is no longer used
2618                 - (nm_device_new_ip4_autoip_config): make static
2619
2620 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2621
2622         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2623         (file_changed): Fix a bug where suse system settings plugin didn't
2624         update the connections automatically when the files changed.
2625
2626 2008-05-28  Dan Williams  <dcbw@redhat.com>
2627
2628         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2629
2630 2008-05-28  Dan Williams  <dcbw@redhat.com>
2631
2632         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2633
2634         * src/NetworkManagerSystem.c
2635                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2636                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2637                         was causing -EINVAL errors since the libnl code actually does flush
2638                         the routes on VPN interfaces now
2639
2640         * src/backends/NetworkManagerArch.c
2641           src/backends/NetworkManagerDebian.c
2642           src/backends/NetworkManagerFrugalware.c
2643           src/backends/NetworkManagerGeneric.c
2644           src/backends/NetworkManagerGentoo.c
2645           src/backends/NetworkManagerMandriva.c
2646           src/backends/NetworkManagerPaldo.c
2647           src/backends/NetworkManagerRedHat.c
2648           src/backends/NetworkManagerSlackware.c
2649           src/backends/NetworkManagerSuSE.c
2650                 - (nm_system_device_flush_ip4_routes,
2651                    nm_system_device_flush_ip4_routes_with_iface): remove
2652
2653 2008-05-28  Dan Williams  <dcbw@redhat.com>
2654
2655         * libnm-util/nm-setting-wireless.c
2656           libnm-util/nm-setting-wireless.h
2657                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2658                         'adhoc-create' property, which when TRUE indicates that NM should
2659                         create this connection as an adhoc wifi network if it's not found
2660                         as an adhoc network during scanning.  Can be used to auto-create
2661                         adhoc networks when used in combination with autoconnect.
2662
2663 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2664
2665         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2666
2667         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2668         checked, it doesn't work on some devices.
2669
2670 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2671
2672         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2673         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2674
2675         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2676         Use inet_aton() everywhere to improve error detection.
2677         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2678         provided.
2679
2680 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2681
2682         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2683         Fix a typo.
2684
2685 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2686
2687         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2688         reference counting issue.
2689
2690 2008-05-23  Dan Williams  <dcbw@redhat.com>
2691
2692         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2693
2694         * src/backends/NetworkManagerGeneric.c
2695                 - (nm_generic_enable_loopback): use libnl
2696
2697 2008-05-23  Dan Williams  <dcbw@redhat.com>
2698
2699         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2700
2701         * src/NetworkManagerSystem.h
2702           src/backends/NetworkManagerArch.c
2703           src/backends/NetworkManagerDebian.c
2704           src/backends/NetworkManagerFrugalware.c
2705           src/backends/NetworkManagerGentoo.c
2706           src/backends/NetworkManagerMandriva.c
2707           src/backends/NetworkManagerPaldo.c
2708           src/backends/NetworkManagerRedHat.c
2709           src/backends/NetworkManagerSlackware.c
2710           src/backends/NetworkManagerSuSE.c
2711                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2712                    nm_system_flush_arp_cache): remove, unused
2713
2714         * src/backends/NetworkManagerGeneric.c
2715           src/backends/NetworkManagerGeneric.h
2716                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2717                    nm_generic_flush_arp_cache): remove, unused
2718
2719 2008-05-23  Dan Williams  <dcbw@redhat.com>
2720
2721         * system-settings/plugins/ifcfg-fedora/reader.c
2722                 - (make_ip4_setting): honor PEERDNS setting
2723
2724 2008-05-23  Dan Williams  <dcbw@redhat.com>
2725
2726         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2727
2728         * src/NetworkManagerSystem.c
2729                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2730                         libnl
2731
2732         * src/backends/NetworkManagerArch.c
2733           src/backends/NetworkManagerDebian.c
2734           src/backends/NetworkManagerFrugalware.c
2735           src/backends/NetworkManagerGentoo.c
2736           src/backends/NetworkManagerMandriva.c
2737           src/backends/NetworkManagerPaldo.c
2738           src/backends/NetworkManagerRedHat.c
2739           src/backends/NetworkManagerSlackware.c
2740           src/backends/NetworkManagerSuSE.c
2741                 - (nm_system_device_flush_ip4_addresses,
2742                    nm_system_device_flush_ip4_addresses_with_iface): remove
2743
2744         * src/backends/NetworkManagerGeneric.c
2745                 - (nm_generic_device_flush_ip4_addresses,
2746                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2747
2748 2008-05-23  Dan Williams  <dcbw@redhat.com>
2749
2750         * src/supplicant-manager/nm-supplicant-settings-verify.c
2751                 - Switch 'bssid' from bytes to keyword type
2752                 - (validate_type_keyword): allow NULL keyword lists
2753
2754         * src/supplicant-manager/nm-supplicant-config.c
2755                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2756                         a byte array to string form, which is what the supplicant expects
2757
2758 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2759
2760         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2761         information received from DHCP.
2762
2763         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2764         to make it possible to ignore the DNS information (both servers and 
2765         searches) returned by DHCP server.
2766
2767         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2768         name servers and searches if "ignore_dhcp_dns" is set.
2769
2770         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2771         (nm_ip4_config_reset_searches): Implement.
2772
2773 2008-05-22  Dan Williams  <dcbw@redhat.com>
2774
2775         Remove anything mDNS related.  This is better done from a distro-specific
2776         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2777         avahi, since avahi can handle interface changes just fine using netlink.
2778
2779         * configure.in
2780                 - Remove --with-mdns-provider
2781
2782         * src/NetworkManagerPolicy.c
2783                 - (global_state_changed): don't restart the mdns provider
2784
2785         * src/NetworkManagerSystem.h
2786           src/backends/NetworkManagerArch.c
2787           src/backends/NetworkManagerDebian.c
2788           src/backends/NetworkManagerFrugalware.c
2789           src/backends/NetworkManagerGentoo.c
2790           src/backends/NetworkManagerMandriva.c
2791           src/backends/NetworkManagerPaldo.c
2792           src/backends/NetworkManagerRedHat.c
2793           src/backends/NetworkManagerSlackware.c
2794           src/backends/NetworkManagerSuSE.c
2795                 - (nm_system_restart_mdns_responder): remove
2796
2797         * src/backends/NetworkManagerGeneric.c
2798           src/backends/NetworkManagerGeneric.h
2799                 - (nm_generic_restart_mdns_responder): remove
2800
2801 2008-05-22  Dan Williams  <dcbw@redhat.com>
2802
2803         * configure.in
2804                 - clean up crypto options; just use --with-crypto=nss or
2805                         --with-crypto=gnutls
2806
2807 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2808
2809         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2810         anymore, do it right away.
2811
2812 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2813
2814         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2815         serial device open when we're not connecting or connected.
2816
2817         * src/nm-cdma-device.c (device_state_changed): Ditto.
2818
2819 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2820
2821         Don't remove all devices on waking up, sync with HAL.
2822
2823         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2824         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2825         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2826
2827 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2828
2829         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2830         If the default gateway is unreachable, add a route to gateway and try
2831         again.
2832
2833 2008-05-20  Dan Williams  <dcbw@redhat.com>
2834
2835         * system-settings/plugins/ifcfg-fedora/reader.c
2836                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2837
2838 2008-05-19  Dan Williams  <dcbw@redhat.com>
2839
2840         * system-settings/plugins/ifcfg-fedora/reader.c
2841                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2842                         if the ifcfg doesn't specify one (rh #446527)
2843
2844 2008-05-19  Dan Williams  <dcbw@redhat.com>
2845
2846         Make the system settings service exit when the bus goes away.  Since it's
2847         a bus-activated service, it's lifetime is limited to the bus that activated
2848         it (rh #444976).
2849
2850         * system-settings/src/Makefile.am
2851           system-settings/src/nm-system-config-hal-manager-private.h
2852                 - Remove nm-system-config-hal-manager-private.h
2853
2854         * system-settings/src/nm-system-config-hal-manager.c
2855                 - (nm_system_config_hal_manager_reinit_dbus,
2856                    nm_system_config_hal_manager_deinit_dbus): remove
2857
2858         * system-settings/src/main.c
2859                 - (dbus_reconnect): remove
2860                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2861                 - (destroy_cb): just quit when the bus goes away
2862                 - (start_dbus_service, dbus_init): simplify
2863                 - (main): destroy the wired devices hash table after destroying
2864                         the HAL manager so we don't have to disconnect signals from the
2865                         HAL manager
2866
2867 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2868
2869         Move crypto functions from nm-applet to libnm-util.
2870
2871         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2872         (nm_setting_802_1x_set_client_cert)
2873         (nm_setting_802_1x_set_phase2_ca_cert)
2874         (nm_setting_802_1x_set_phase2_client_cert)
2875         (nm_setting_802_1x_set_private_key)
2876         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2877         file (or private key and it's password), read the certificate data.
2878
2879         * libnm-util/crypto_nss.c: 
2880         * libnm-util/crypto_gnutls.c: 
2881         * libnm-util/crypto.[ch]: Move here from nm-applet.
2882
2883         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2884
2885         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2886         Imlement WPA-EAP configuration reading from sysconfig.
2887
2888 2008-05-16  Dan Williams  <dcbw@redhat.com>
2889
2890         * src/nm-device-802-11-wireless.c
2891                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2892                         wireless
2893
2894 2008-05-14  Dan Williams  <dcbw@redhat.com>
2895
2896         Fix Linus' bug in rh #134886
2897
2898         * src/nm-device-802-3-ethernet.c
2899                 - (constructor): request initial carrier state
2900
2901         * src/nm-netlink-monitor.c
2902                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2903                         signals after refilling the link cache.  Because the refill is a 
2904                         synchronous operation, the normal message hander won't get called
2905                         since libnl has already consumed the messages.
2906                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2907
2908 2008-05-14  Dan Williams  <dcbw@redhat.com>
2909
2910         * src/NetworkManagerSystem.c
2911                 - (nm_system_device_is_up_with_iface): clean up
2912
2913 2008-05-13  Dan Williams  <dcbw@redhat.com>
2914
2915         Fix refcounting issues over sleep/wake when a VPN connection was active that
2916         caused NM to try registering an object path for a device upon wake that was
2917         the same as an already registered object path.
2918
2919         * src/nm-device.c
2920                 - (nm_device_take_down): properly handle cases where the device is
2921                         no longer active but was just active, and therefore must be
2922                         deactivated.  When a device moves to unmanaged mode, this function
2923                         previously would not deactivate the device, because the state was
2924                         already unmanaged by the time this function was called.
2925
2926         * src/vpn-manager/nm-vpn-connection.c
2927                 - (device_state_changed): properly handle multiple devices states in
2928                         which the device is now deactivated.  Code previously didn't handle
2929                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2930                         UNMANAGED states.
2931
2932 2008-05-13  Dan Williams  <dcbw@redhat.com>
2933
2934         * src/nm-device-private.h
2935           src/nm-device.c
2936                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2937
2938         * src/nm-device-802-11-wireless.c
2939                 - (nm_device_802_11_wireless_set_enabled): take devices up
2940                         and down as appropriate for the rfkill state
2941
2942 2008-05-13  Dan Williams  <dcbw@redhat.com>
2943
2944         * marshallers/nm-marshal.list
2945                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2946
2947         * system-settings/plugins/ifcfg-fedora/Makefile.am
2948           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2949           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2950                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2951                         events.  Solely for use watching ifcfg files to pick up changes
2952                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2953
2954         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2955                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2956                         file contents change
2957                 - (finalize): clean up inotify watches
2958                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2959                         and the connection ifcfg for changes on their hardlinks
2960                 - (files_changed_cb): proxy the changed signal back out to listeners
2961
2962         * system-settings/plugins/ifcfg-fedora/plugin.c
2963                 - (dir_changed): 
2964                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2965                         changes
2966                 - (read_one_connection): connect to change signals on the new connection
2967                 - (dir_changed, connection_changed_handler,
2968                    handle_connection_remove_or_new): break out connection change
2969                         handling and connection new/remove handling so it can be used from
2970                         both the GFileMonitor callback and the NMIfcfgConnection changed
2971                         signals
2972
2973         * system-settings/plugins/ifcfg-fedora/reader.c
2974           system-settings/plugins/ifcfg-fedora/reader.h
2975                 - (connection_from_file): return the keyfile path the connection would use
2976
2977 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2978
2979         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2980         single PolKitContext which is shared by all. PolKitContext::unref leaks
2981         just about everything, including all open file descriptiors and results
2982         in 99% cpu usage when data arrives to any of the fds that don't belong
2983         to any context anymore.
2984
2985 2008-05-12  Dan Williams  <dcbw@redhat.com>
2986
2987         * gfilemonitor/glocaldirectorymonitor.c
2988           gfilemonitor/glocaldirectorymonitor.h
2989                 - (g_local_directory_monitor_constructor): actually subscribe to the
2990                         watch
2991                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2992
2993         * gfilemonitor/glocalfilemonitor.c
2994           gfilemonitor/glocalfilemonitor.h
2995                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2996                 - (_g_local_file_monitor_new): ensure that inotify is started up
2997
2998 2008-05-11  Dan Williams  <dcbw@redhat.com>
2999
3000         * configure.in
3001                 - record PolicyKit version
3002
3003         * system-settings/src/nm-polkit-helpers.c
3004                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3005                         with PolicyKit <= 0.6
3006
3007 2008-05-11  Dan Williams  <dcbw@redhat.com>
3008
3009         Update Fedora system-settings plugin to support latest API and use
3010         GFileMonitor rather than home-rolled inotify code.
3011
3012         * system-settings/plugins/ifcfg-fedora/Makefile.am
3013           system-settings/plugins/ifcfg-fedora/common.h
3014           system-settings/plugins/ifcfg-fedora/plugin.c
3015                 - Update to latest system settings plugin API; use GIO instead of
3016                         custom inotify code; use NMIfcfgConnection objects instead of
3017                         ConnectionData structures tacked onto NMConnection objects
3018
3019         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3020           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3021                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3022                         connections
3023
3024         * system-settings/plugins/ifcfg-fedora/reader.c
3025           system-settings/plugins/ifcfg-fedora/reader.h
3026                 - Move ifcfg parsing bits here from parser.c
3027
3028         * system-settings/plugins/ifcfg-fedora/parser.c
3029           system-settings/plugins/ifcfg-fedora/parser.h
3030                 - Remove; most code moved to reader.c
3031
3032 2008-05-11  Dan Williams  <dcbw@redhat.com>
3033
3034         * configure.in
3035           Makefile.am
3036           gfilemonitor/*
3037                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3038                         implementation, so that the same change monitoring code can be used
3039                         on systems without glib-2.14 (like Fedora 8)
3040
3041         * system-settings/plugins/keyfile/Makefile.am
3042           system-settings/plugins/keyfile/plugin.c
3043           system-settings/plugins/ifcfg-suse/Makefile.am
3044           system-settings/plugins/ifcfg-suse/plugin.c
3045                 - Use private gfilemonitor code if GIO is not present
3046
3047 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3048
3049         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3050         NMExportedConnection's 'update' and 'delete' and return error with
3051         descriptive message.
3052
3053 2008-05-08  Dan Williams  <dcbw@redhat.com>
3054
3055         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3056
3057         * src/nm-gsm-device.c
3058           src/nm-cdma-device.c
3059                 - (real_get_best_auto_connection): implement; allow autoconnection
3060                         to GSM & CDMA devices
3061
3062 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3063
3064         Use PolicyKit to authorize the system settings' AddConnection method
3065         and the system settings connections' Update and Delete methods.
3066         
3067         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3068         (impl_exported_connection_delete, nm_exported_connection_update)
3069         (nm_exported_connection_delete): Return boolean and fill GError
3070         to notify the callers of the reasons why it might have failed.
3071
3072         * libnm-glib/nm-dbus-settings-system.c
3073         (nm_dbus_settings_system_add_connection): Return the error from dbus
3074         call so that the callers can see why it failed.
3075
3076         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3077         signatures.
3078
3079         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3080
3081         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3082         abstract base class that checks PolicyKit permissions.
3083
3084         * system-settings/src/dbus-settings.c:
3085         (impl_settings_add_connection): Check the policy before carring out
3086         the request.
3087
3088         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3089         Inherit from NMSysconfigConnection, check the policies before
3090         allowing updating or removing.
3091
3092         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3093         Inherit from NMSysconfigConnection.
3094
3095         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3096         "Delete" methods with async flag so that the implementations can get
3097         access to DBusGMethodInvocation.
3098
3099         * system-settings/src/dbus-settings.c 
3100         (settings_add_connection_check_privileges): Implement.
3101         (impl_settings_add_connection): Check the privileges before adding a new
3102         connection. Improve error reporting.
3103
3104         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3105         async so that the implementation can access DBusGMethodInvocation.
3106
3107         * configure.in: Check for PolicyKit.
3108
3109         * policy/org.freedesktop.network-manager-settings.system.policy: 
3110         New file.
3111
3112         * policy/Makefile.am: Install the policy file.
3113
3114         * configure.in: Add 'policy' subdir.
3115
3116 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3117
3118         Rewrite the suse system settings plugin.
3119
3120         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3121
3122         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3123
3124         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3125
3126         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3127
3128         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3129
3130         * system-settings/src/main.c (load_plugins): Improve error reporting.
3131
3132         * system-settings/src/sha1.[ch] Add.
3133
3134         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3135
3136 2008-05-07  Dan Williams  <dcbw@redhat.com>
3137
3138         * system-settings/plugins/keyfile/reader.c
3139                 - (read_one_setting_value): handle IP address items separately
3140                 - (read_array_of_uint): read IPv4 DNS option as a string array
3141                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3142                         array
3143
3144         * system-settings/plugins/keyfile/writer.c
3145                 - (write_setting_value): handle IP address items separately
3146                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3147                         not an array of uint, so that it's user-editable
3148                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3149                         arrays, so they are user-editable
3150
3151 2008-05-07  Dan Williams  <dcbw@redhat.com>
3152
3153         * system-settings/plugins/keyfile/Makefile.am
3154                 - Change location of the keyfile plugin settings to
3155                         /etc/NetworkManager/system-connections
3156
3157 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3158
3159         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3160
3161         * system-settings/plugins/keyfile/plugin.c: Work with
3162         NMKeyfileConnections.
3163
3164         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3165         Plugins are supposed to return NMExportedConnections now and handle the
3166         updated(), removed(), and GetSecrets().
3167         Store the internal list of connections in hash table to make it easier
3168         to find duplicates.
3169
3170 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3171
3172         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3173         for multiple IP addresses.
3174
3175 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3176
3177         Patch from André Lemos.
3178
3179         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3180         corruption.
3181
3182 2008-05-06  Dan Williams  <dcbw@redhat.com>
3183
3184         * src/dhcp-manager/nm-dhcp-manager.c
3185                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3186                         NMIP4Config to support multiple IP addresses
3187
3188         * src/NetworkManagerUtils.c
3189                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3190
3191         * src/nm-ip4-config.c
3192           src/nm-ip4-config.h
3193                 - Store a list of IPv4 address/netmask/gateway tuples
3194                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3195                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3196                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3197                    nm_ip4_config_set_address): remove
3198                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3199                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3200                         new functions; handle multiple IPv4 addresses
3201
3202         * src/nm-device.c
3203           src/ppp-manager/nm-ppp-manager.c
3204           src/vpn-manager/nm-vpn-connection.c
3205           src/NetworkManagerPolicy.c
3206           test/nm-tool.c
3207           libnm-glib/libnm-glib-test.c
3208                 - update for changes to NMIP4Config for multiple IPv4 addresses
3209
3210         * src/NetworkManagerSystem.c
3211                 - (nm_system_device_set_ip4_route): don't add the route if any address
3212                         is on the same subnet as the destination
3213                 - (check_one_address): ignore the exact match, just match family and
3214                         interface index
3215                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3216                         an interface
3217                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3218                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3219
3220         * introspection/nm-ip4-config.xml
3221                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3222                 - Add 'addresses' property which is an array of (uuu) tuples of
3223                         address/netmask/gateway
3224
3225         * libnm-util/nm-setting-ip4-config.c
3226                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3227
3228         * libnm-glib/nm-ip4-config.c
3229           libnm-glib/nm-ip4-config.h
3230                 - Handle D-Bus interface changes to support multiple IP addresses
3231
3232 2008-05-06  Dan Williams  <dcbw@redhat.com>
3233
3234         * libnm-util/nm-utils.c
3235           libnm-util/nm-utils.h
3236                 - (nm_utils_ip4_addresses_from_gvalue,
3237                    nm_utils_ip4_addresses_to_gvalue): new functions
3238
3239 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3240
3241         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3242         the returned connection paths.
3243
3244 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3245
3246         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3247         "PropertiesChanged" signal signature.
3248
3249         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3250         defined in nm-dbus-glib-types.h.
3251         Don't register the connection on dbus, we're a proxy class to 
3252         communicate with an already registered connection over dbus.
3253
3254 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3255
3256         Implement new subclasses of NMSettings and NMExportedConnection to make
3257         it easier for the applet to access and modify system settings.
3258
3259         * libnm-glib/nm-dbus-connection.[ch]:
3260         * libnm-glib/nm-dbus-settings.[ch]:
3261         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3262
3263         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3264         bindings and glue.
3265
3266         * include/NetworkManager.h: Define the system settings DBus interface.
3267
3268 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3269
3270         Implement additional C API for exported connections to make them identical
3271         with the DBus API. Change the (list_connections) virtual function to be
3272         more usable from C - instead of requiring implementers to return a GPtrArray
3273         of dbus paths, return a list of connections.
3274
3275         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3276         (nm_settings_list_connections):
3277         (nm_exported_connection_new):
3278         (nm_exported_connection_update):
3279         (nm_exported_connection_delete): Implement.
3280
3281         (impl_settings_list_connections):
3282         (impl_exported_connection_update):
3283         (impl_exported_connection_delete): Use the new public functions to make 
3284         sure the C and dbus interfaces stay in sync.
3285
3286         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3287         connections.
3288
3289 2008-05-02  Dan Williams  <dcbw@redhat.com>
3290
3291         * system-settings/plugins/ifcfg-fedora/plugin.c
3292                 - (dispose): use right unref call on the DBusGConnection
3293
3294 2008-05-02  Dan Williams  <dcbw@redhat.com>
3295
3296         * src/nm-serial-device.c
3297                 - (find_terminator): don't compare the whole line, just the size of the
3298                         terminator, since some modems put stuff after the terminator, like
3299                         "CONNECT 9600"
3300
3301 2008-05-01  Dan Williams  <dcbw@redhat.com>
3302
3303         Patch from Michael Biebl <biebl@debian.org>
3304
3305         * callouts/Makefile.am
3306           callouts/org.freedesktop.nm_dispatcher.service.in
3307           system-settings/src/Makefile.am
3308           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3309                 - use the right install location for dbus-activated stuff
3310
3311 2008-04-30  Dan Williams  <dcbw@redhat.com>
3312
3313         * src/nm-gsm-device.c
3314                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3315                         PIN or PUK
3316
3317 2008-04-30  Dan Williams  <dcbw@redhat.com>
3318
3319         * src/nm-manager.c
3320                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3321
3322 2008-04-30  Dan Williams  <dcbw@redhat.com>
3323
3324         * src/nm-device-802-3-ethernet.c
3325           src/nm-device-802-11-wireless.c
3326                 - (real_is_up): return true instead of chaining up to unimplemented
3327                         parent method
3328
3329 2008-04-30  Dan Williams  <dcbw@redhat.com>
3330
3331         * src/NetworkManagerSystem.c
3332           src/NetworkManagerSystem.h
3333                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3334                         functions to check device flags for IFF_UP
3335
3336         * src/nm-serial-device.c
3337                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3338                         implement is_up
3339
3340         * src/nm-device-802-3-ethernet.c
3341           src/nm-device-802-11-wireless.c
3342                 - (real_hw_is_up): call nm_system_device_is_up()
3343
3344         * src/nm-device.c
3345                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3346                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3347                         does not implement
3348
3349 2008-04-29  Dan Williams  <dcbw@redhat.com>
3350
3351         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3352
3353         * marshallers/nm-marshal.list
3354                 - Add marshaller
3355
3356         * src/NetworkManager.c
3357                 - (main): let the NMManager handle the NMHalManager
3358
3359         * src/nm-hal-manager.c
3360           src/nm-hal-manager.h
3361                 - convert to a GObject, and emit singals when stuff changes.  Let the
3362                         NMManager handle the signals, instead of the NMHalManager calling
3363                         into the NMManager.  
3364
3365         * src/nm-manager.c
3366           src/nm-manager.h
3367                 - (remove_one_device): consolidate device removals here
3368                 - (dispose): use remove_one_device()
3369                 - (nm_manager_get_device_by_udi): make static
3370                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3371                         manager for devices at startup or wakeup time
3372                 - (nm_manager_new): create and monitor the HAL manager
3373                 - (hal_manager_udi_added_cb): new function; do what
3374                         nm_manager_add_device() used to do when signalled by the hal manager
3375                 - (hal_manager_udi_removed_cb): new function; do what
3376                         nm_manager_remove_device() used to do when signalled by the hal
3377                         manager
3378                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3379                         hal manager
3380                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3381                         in our device list that aren't known to HAL
3382                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3383                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3384                         commits ago
3385                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3386                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3387                    nm_manager_wireless_hardware_enabled,
3388                    nm_manager_set_wireless_hardware_enabled): remove, unused
3389
3390 2008-04-28  Dan Williams  <dcbw@redhat.com>
3391
3392         Fix the device up/down ambiguities.  Up/down state used to be a
3393         conglomeration of hardware state (IFF_UP) and any device-specific things
3394         (supplicant, periodic timers, etc) that the device used to indicate
3395         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3396         reason, then the device specific stuff wouldn't get run, and the device
3397         would be stuck.
3398
3399         * src/nm-device.c
3400           src/nm-device.h
3401                 - Create hw_is_up, hw_bring_up, and hw_take_down
3402                 - Rename bring_down -> take_down
3403                 - (real_hw_is_up): check interface flags for IFF_UP
3404                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3405                 - (nm_device_is_up): make static; only used locally
3406                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3407                         if the device is already up; if the device isn't up, bring it up
3408                 - (nm_device_hw_take_down): just take down hardware
3409                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3410                 - (nm_device_take_down): always deactivate device when called; always
3411                         try to take hardware down too
3412                 - (nm_device_state_changed): take device down when entering unmanaged
3413                         state from a higher state
3414
3415         * src/nm-device-802-11-wireless.c
3416                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3417                         check IFF_UP really
3418                 - (real_take_down, supplicant_iface_state_cb_handler, 
3419                    supplicant_iface_connection_state_cb_handler,
3420                    supplicant_mgr_state_cb_handler): fix some messages
3421
3422         * src/nm-device-802-3-ethernet.c
3423                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3424                         check IFF_UP really
3425
3426 2008-04-28  Dan Williams  <dcbw@redhat.com>
3427
3428         * src/nm-manager.c
3429           src/nm-manager.h
3430                 - (nm_manager_error_get_type): add new error
3431                 - (nm_manager_remove_device): don't bother taking down the device here,
3432                         the state change from unmanaging the device will do it
3433                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3434                         uses it; when going to sleep, just unmanage the device instead of
3435                         taking it down, because stuff will cleaned up correctly when the
3436                         device gets unmanaged
3437
3438 2008-04-28  Dan Williams  <dcbw@redhat.com>
3439
3440         * src/nm-hal-manager.c
3441                 - (add_initial_devices): convert to a GSourceFunc prototype
3442                 - (nm_manager_state_changed): when coming out of sleep, punt the
3443                         device re-addition to an idle handler to let D-Bus events go out
3444                         first, fixing a potential dbus-glib assert if the old device was
3445                         not yet disposed (due to references held while emitting the D-Bus
3446                         signals) but the new device was found, because the mainloop didn't
3447                         run between signal emission and add_initial_devices()
3448
3449 2008-04-27  Dan Williams  <dcbw@redhat.com>
3450
3451         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3452
3453         * initscript/paldo/NetworkManager.in
3454           initscript/SUSE/networkmanager.in
3455                 - Remove last bits of dhcdbd
3456
3457 2008-04-27  Dan Williams  <dcbw@redhat.com>
3458
3459         * src/nm-device-802-11-wireless.c
3460                 - (link_timeout_cb): don't ask for secrets when disconnected during
3461                         association/authentication phase, drivers are still just too crappy
3462
3463 2008-04-27  Dan Williams  <dcbw@redhat.com>
3464
3465         * Makefile.am
3466           configure.in
3467           dispatcher-daemon/Makefile.am
3468           dispatcher-daemon/NetworkManagerDispatcher.c
3469           initscript/Arch/Makefile.am
3470           initscript/Arch/networkmanager-dispatcher.in
3471           initscript/Gentoo/Makefile.am
3472           initscript/Gentoo/NetworkManagerDispatcher.in
3473           initscript/Mandriva/Makefile.am
3474           initscript/Mandriva/networkmanagerdispatcher.in
3475           initscript/RedHat/Makefile.am
3476           initscript/RedHat/NetworkManagerDispatcher.in
3477           initscript/SUSE/Makefile.am
3478           initscript/SUSE/networkmanager-dispatcher.in
3479           initscript/Slackware/Makefile.am
3480           initscript/Slackware/rc.networkmanager-dispatcher.in
3481           initscript/paldo/Makefile.am
3482           initscript/paldo/NetworkManagerDispatcher.in
3483           man/Makefile.am
3484           man/NetworkManagerDispatcher.8.in
3485                 - Remove the dispatcher daemon
3486
3487 2008-04-27  Dan Williams  <dcbw@redhat.com>
3488
3489         * callouts/Makefile.am
3490           callouts/nm-dispatcher-action.c
3491           callouts/nm-dispatcher-action.h
3492           callouts/nm-dispatcher.conf
3493           callouts/nm-dispatcher.xml
3494           callouts/org.freedesktop.nm_dispatcher.service
3495                 - Re-implement the dispatcher as a system-bus activated service that
3496                         NM calls on-demand, rather than an always running daemon
3497
3498         * src/Makefile.am
3499                 - Add callouts dir to includes to pick up dispatcher defines
3500
3501         * src/nm-device.c
3502                 - (nm_device_state_changed): call dispatcher on device activated/
3503                         deactivated
3504
3505         * src/vpn-manager/nm-vpn-connection.c
3506                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3507                         go up and down
3508
3509         * src/NetworkManagerUtils.c
3510           src/NetworkManagerUtils.h
3511                 - (nm_utils_call_dispatcher): helper to call dispatcher
3512
3513 2008-04-27  Dan Williams  <dcbw@redhat.com>
3514
3515         * src/NetworkManagerUtils.c
3516           src/NetworkManagerUtils.h
3517                 - remove unneeded includes
3518                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3519                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3520                    nm_timeval_cmp, nm_timeval_add): remove, unused
3521                 - clean up formatting
3522                 - (nm_spawn_process): de-uglify
3523
3524         * src/nm-device-802-11-wireless.c
3525                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3526
3527 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3528
3529         * initscript/Gentoo/NetworkManager.in:
3530                 Fix for starting the daemon.
3531
3532 2008-04-25  Dan Williams  <dcbw@redhat.com>
3533
3534         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3535
3536         * src/NetworkManagerSystem.c
3537                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3538
3539 2008-04-25  Dan Williams  <dcbw@redhat.com>
3540
3541         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3542
3543         * src/NetworkManagerSystem.c
3544                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3545                         implementation of nm_system_device_replace_default_route()
3546
3547         * src/NetworkManagerPolicy.c
3548                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3549
3550         * src/backends/NetworkManagerArch.c
3551           src/backends/NetworkManagerDebian.c
3552           src/backends/NetworkManagerFrugalware.c
3553           src/backends/NetworkManagerGeneric.c
3554           src/backends/NetworkManagerGeneric.h
3555           src/backends/NetworkManagerGentoo.c
3556           src/backends/NetworkManagerMandriva.c
3557           src/backends/NetworkManagerPaldo.c
3558           src/backends/NetworkManagerRedHat.c
3559           src/backends/NetworkManagerSlackware.c
3560           src/backends/NetworkManagerSuSE.c
3561                 - (nm_system_device_replace_default_route): remove
3562
3563 2008-04-25  Dan Williams  <dcbw@redhat.com>
3564
3565         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3566
3567         * src/NetworkManagerSystem.c
3568                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3569                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3570                         replace nm_system_device_add_route_via_device_with_iface() in the
3571                         backends
3572
3573         * src/backends/NetworkManagerArch.c
3574           src/backends/NetworkManagerDebian.c
3575           src/backends/NetworkManagerFrugalware.c
3576           src/backends/NetworkManagerGeneric.c
3577           src/backends/NetworkManagerGeneric.h
3578           src/backends/NetworkManagerGentoo.c
3579           src/backends/NetworkManagerMandriva.c
3580           src/backends/NetworkManagerPaldo.c
3581           src/backends/NetworkManagerRedHat.c
3582           src/backends/NetworkManagerSlackware.c
3583           src/backends/NetworkManagerSuSE.c
3584                 - Remove nm_system_device_add_route_via_device_with_iface()
3585
3586 2008-04-25  Dan Williams  <dcbw@redhat.com>
3587
3588         * system-settings/plugins/ifcfg-fedora/parser.c
3589                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3590
3591 2008-04-24  Dan Williams  <dcbw@redhat.com>
3592
3593         * dispatcher-daemon/NetworkManagerDispatcher.c
3594                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3595
3596 2008-04-24  Dan Williams  <dcbw@redhat.com>
3597
3598         * initscript/RedHat/NetworkManager.in
3599           initscript/RedHat/NetworkManagerDispatcher.in
3600                 - Be active at runlevel 2
3601                 - Adjust priorities earlier
3602
3603 2008-04-22  Dan Williams  <dcbw@redhat.com>
3604
3605         * src/NetworkManagerPolicy.c
3606                 - (update_routing_and_dns): when checking for a gateway, look at the
3607                         composite IP4 config, not the connection's ip4-config setting, which
3608                         doesn't include DHCP-returned information
3609
3610 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3611
3612         Implement GKeyFile system settings plugin.
3613         Implement writing system settings (currently supported only by GKeyFile plugin).
3614
3615         * system-settings/src/main.c: 
3616         * system-settings/src/dbus-settings.c: Move the communication with plugins
3617         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3618         plugins for adding/updating/removing connections.
3619
3620         * system-settings/src/nm-system-config-interface.c
3621         (nm_system_config_interface_add_connection): Implement
3622         (nm_system_config_interface_update_connection): Implement.
3623         (nm_system_config_interface_remove_connection): Implement.
3624
3625         * system-settings/plugins/keyfile/Makefile.am:
3626         * system-settings/plugins/keyfile/plugin.[ch]:
3627         * system-settings/plugins/keyfile/writer.[ch]:
3628         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3629
3630         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3631
3632         * configure.in: Generate GKeyFile Makefile.
3633
3634         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3635         corruption, need to duplicate the returned string.
3636         (impl_exported_connection_update): Implement.
3637         (impl_exported_connection_delete): Implement.
3638
3639         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3640
3641         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3642
3643 2008-04-22  Dan Williams  <dcbw@redhat.com>
3644
3645         Patch from Charles R. Anderson (cra@wpi.edu)
3646
3647         * src/NetworkManagerPolicy.c
3648                 - (update_routing_and_dns): don't select devices without a gateway
3649                         as having the default route (rh #437338)
3650
3651 2008-04-21  Dan Williams  <dcbw@redhat.com>
3652
3653         * src/nm-activation-request.c
3654           src/nm-activation-request.h
3655                 - (dispose): ensure to disconnect from the device's state-changed signal
3656                         when appropriate so the signal doesn't get handled by an already
3657                         disposed NMActRequest
3658                 - (device_state_changed): update is_default here too just to make sure
3659                         default is only True when the child device is activated
3660                 - (nm_act_request_set_default): new function
3661
3662         * src/NetworkManagerPolicy.c
3663                 - (update_routing_and_dns): set 'default' on the active connection which
3664                         has the default route and DNS
3665
3666 2008-04-21  Dan Williams  <dcbw@redhat.com>
3667
3668         * src/NetworkManagerPolicy.c
3669                 - (device_state_changed): update routing and DNS when a device goes
3670                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3671
3672 2008-04-21  Dan Williams  <dcbw@redhat.com>
3673
3674         * include/NetworkManager.h
3675                 - Add NMActiveConnectionState enum
3676
3677         * introspection/nm-active-connection.xml
3678           introspection/nm-vpn-connection.xml
3679                 - Add 'State' property for overall active connection state
3680                 - Add 'Default' property, when True means this active connection
3681                         has the default route
3682                 - Add PropertyChanged signals so changes actually go out over the bus
3683
3684         * src/nm-active-connection.h
3685                 - Add defines for State & Default properties
3686
3687         * src/nm-activation-request.c
3688                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3689                         signal to determine active connection state
3690
3691         * src/vpn-manager/nm-vpn-connection.c
3692           src/vpn-manager/nm-vpn-connection.h
3693           src/vpn-manager/nm-vpn-manager.c
3694           src/vpn-manager/nm-vpn-service.c
3695                 - Rename old 'state' to 'vpn-state'
3696                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3697                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3698                         'vpn-state-changed' signal
3699
3700         * libnm-glib/nm-active-connection.c
3701           libnm-glib/nm-active-connection.h
3702                 - Add new 'state' and 'default' properties and accessors
3703
3704         * libnm-glib/nm-vpn-connection.c
3705           libnm-glib/nm-vpn-connection.h
3706                 - Rename old 'state' property to 'vpn-state'
3707                 - Add new 'state' and 'default' properties and accessors
3708
3709 2008-04-21  Dan Williams  <dcbw@redhat.com>
3710
3711         * src/nm-ip4-config.c
3712                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3713                         not specified (rh #443474)
3714
3715 2008-04-20  Dan Williams  <dcbw@redhat.com>
3716
3717         * src/NetworkManagerUtils.c
3718           src/NetworkManagerUtils.h
3719                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3720                         NMSettingIP4Config to an NMIP4Config object
3721
3722         * src/nm-device.c
3723                 - (merge_ip4_config): move to NetworkManagerUtils.c
3724
3725         * src/vpn-manager/nm-vpn-connection.c
3726                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3727                         too
3728
3729 2008-04-18  Dan Williams  <dcbw@redhat.com>
3730
3731         * libnm-util/nm-setting-ppp.c
3732           libnm-util/nm-setting-ppp.h
3733                 - Add 'no-vj-comp' option for TCP header compression
3734                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3735                         uint32
3736
3737 2008-04-18  Dan Williams  <dcbw@redhat.com>
3738
3739         * libnm-util/nm-setting-ppp.c
3740           libnm-util/nm-setting-ppp.h
3741           src/ppp-manager/nm-ppp-manager.c
3742                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3743
3744 2008-04-18  Dan Williams  <dcbw@redhat.com>
3745
3746         * libnm-util/nm-setting-ppp.c
3747           libnm-util/nm-setting-ppp.h
3748           src/ppp-manager/nm-ppp-manager.c
3749                 - Remove the 'usepeerdns' option and always request DNS servers from
3750                         the PPP server; the connection chooses to use/override/ignore the
3751                         DNS servers returned from the PPP server
3752
3753 2008-04-18  Dan Williams  <dcbw@redhat.com>
3754
3755         * libnm-util/nm-setting-ppp.c
3756           libnm-util/nm-setting-ppp.h
3757           src/ppp-manager/nm-ppp-manager.c
3758                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3759                         it seems to have been an erroneous addition to the PPTP plugin in
3760                         the first place (from which the ppp-manager is derived)
3761
3762 2008-04-17  Dan Williams  <dcbw@redhat.com>
3763
3764         * libnm-util/nm-setting-pppoe.c
3765                 - (verify): require a PPP setting too
3766
3767         * src/ppp-manager/nm-ppp-manager.c
3768                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3769                         segfaulting
3770
3771 2008-04-17  Dan Williams  <dcbw@redhat.com>
3772
3773         * src/nm-device.c
3774                 - (nm_device_state_changed): do deactivation and and promotion to
3775                         unavailable here, so that the device gets cleaned up before the
3776                         manager runs and starts emitting signals; do the
3777                         FAILED->DISCONNECTED transition from an idle handler rather than
3778                         immediately to guard against recursion
3779                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3780                         FAILED->DISCONNECTED handler if it's scheduled
3781
3782 2008-04-17  Dan Williams  <dcbw@redhat.com>
3783
3784         * src/nm-device-802-11-wireless.c
3785                 - (state_changed_cb): clear AP list when device transitions to
3786                         unavailable or unmanaged
3787                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3788                         since this is already done in device_cleanup()
3789                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3790                         isn't available or managed
3791                 - (device_cleanup): use remove_all_aps()
3792                 - (remove_all_aps): consolidate code removing all APs
3793
3794 2008-04-17  Dan Williams  <dcbw@redhat.com>
3795
3796         * src/nm-serial-device.c
3797           src/nm-serial-device.h
3798                 - (wait_for_reply_got_data): break input into lines, and search each
3799                         line for responses _and_ terminator strings; also make sure that
3800                         the read loop doesn't continue after the timeout is supposed to fire
3801                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3802
3803         * src/nm-gsm-device.c
3804           src/nm-cdma-device.c
3805                 - Send terminators to nm_serial_device_wait_for_reply()
3806
3807 2008-04-16  Dan Williams  <dcbw@redhat.com>
3808
3809         Patch from 陈鑫 <znscnchen@gmail.com>
3810
3811         * src/ppp-manager/nm-pppd-plugin.c
3812                 - (get_credentials): return correct value for success; handle case where
3813                         pppd just does some checking but doesn't want a password
3814                 - (plugin_init): make CHAP work too
3815
3816 2008-04-16  Dan Williams  <dcbw@redhat.com>
3817
3818         Patch from 陈鑫 <znscnchen@gmail.com>
3819
3820         * src/ppp-manager/nm-ppp-manager.c
3821                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3822
3823 2008-04-16  Dan Williams  <dcbw@redhat.com>
3824
3825         Patch from 陈鑫 <znscnchen@gmail.com>
3826
3827         * src/nm-device-802-3-ethernet.c
3828                 - (real_deactivate_quickly): clear the IP interface name on
3829                         deactivation, otherwise the wrong interface might get used later
3830                         for routing and IP management
3831
3832 2008-04-15  Dan Williams  <dcbw@redhat.com>
3833
3834         * libnm-glib/nm-device.c
3835                 - (get_product_and_vendor): handle serial devices correctly
3836                 - (nm_device_update_description): pass device to get_product_and_vendor()
3837
3838 2008-04-15  Dan Williams  <dcbw@redhat.com>
3839
3840         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3841
3842         * src/NetworkManagerSystem.h
3843           src/backends/NetworkManagerArch.c
3844           src/backends/NetworkManagerDebian.c
3845           src/backends/NetworkManagerFrugalware.c
3846           src/backends/NetworkManagerGeneric.c
3847           src/backends/NetworkManagerGeneric.h
3848           src/backends/NetworkManagerGentoo.c
3849           src/backends/NetworkManagerMandriva.c
3850           src/backends/NetworkManagerPaldo.c
3851           src/backends/NetworkManagerRedHat.c
3852           src/backends/NetworkManagerSlackware.c
3853           src/backends/NetworkManagerSuSE.c
3854           src/nm-device.c
3855                 - (nm_generic_device_add_ip6_link_address,
3856                    nm_system_device_add_ip6_link_address): remove
3857
3858 2008-04-15  Dan Williams  <dcbw@redhat.com>
3859
3860         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3861
3862         * src/backends/NetworkManagerArch.c
3863           src/backends/NetworkManagerDebian.c
3864           src/backends/NetworkManagerFrugalware.c
3865           src/backends/NetworkManagerGeneric.c
3866           src/backends/NetworkManagerGeneric.h
3867           src/backends/NetworkManagerGentoo.c
3868           src/backends/NetworkManagerMandriva.c
3869           src/backends/NetworkManagerPaldo.c
3870           src/backends/NetworkManagerRedHat.c
3871           src/backends/NetworkManagerSlackware.c
3872           src/backends/NetworkManagerSuSE.c
3873           src/NetworkManagerSystem.h
3874                 - flush_routes -> flush_ip4_routes
3875                 - flush_addresses -> flush_ip4_addresses
3876
3877         * src/NetworkManagerSystem.c
3878           src/nm-device.c
3879           src/vpn-manager/nm-vpn-connection.c
3880                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3881
3882 2008-04-15  Dan Williams  <dcbw@redhat.com>
3883
3884         Remove exposure of wireless-tools mode types in the API.
3885
3886         * include/NetworkManager.h
3887                 - Define NM80211Mode enum
3888
3889         * introspection/generic-types.xml
3890                 - Describe NM_802_11_MODE enum
3891                 - Remove IW_MODE_* enum
3892
3893         * introspection/nm-access-point.xml
3894           libnm-glib/nm-access-point.c
3895           libnm-glib/nm-access-point.h
3896                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3897
3898         * introspection/nm-device-802-11-wireless.xml
3899           libnm-glib/nm-device-802-11-wireless.c
3900           libnm-glib/nm-device-802-11-wireless.h
3901                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3902
3903         * libnm-util/nm-setting-wireless.c
3904           src/NetworkManagerAP.c
3905           src/NetworkManagerAP.h
3906           src/nm-device-802-11-wireless.c
3907           src/nm-device-802-11-wireless.h
3908           test/nm-tool.c
3909                 - Use NM80211Mode not IW_MODE_*
3910
3911 2008-04-15  Dan Williams  <dcbw@redhat.com>
3912
3913         Enhance nm-online based on a patch from Bill Nottingham.
3914
3915         * test/nm-online.c
3916                 - Add a '-q' option
3917                 - Add help messages and option summary
3918                 - Add long-format options
3919                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3920
3921 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3922
3923         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3924
3925         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3926
3927 2008-04-15  Dan Williams  <dcbw@redhat.com>
3928
3929         * nm-setting-ip4-config.c
3930                 - (ip4_addresses_from_gvalue): handle NULL address array
3931
3932         * nm-setting-8021x.c
3933                 - (verify_tls, verify_ttls): warn on failed verification
3934
3935 2008-04-10  Dan Williams  <dcbw@redhat.com>
3936
3937         * src/nm-gsm-device.c
3938                 - (automatic_registration): accept "+CREG: 0,0"
3939                 - (automatic_registration_response): fail on "+CREG: 0,0"
3940
3941 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3942
3943         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3944
3945 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3946
3947         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3948         Make it compile again by commenting out broken code that at first didn't work and
3949         now didn't compile either.
3950
3951 2008-04-08  Dan Williams  <dcbw@redhat.com>
3952
3953         * libnm-glib/nm-object-cache.c
3954           libnm-glib/nm-settings.c
3955           src/dhcp-manager/nm-dhcp-manager.c
3956           system-settings/plugins/ifcfg-fedora/plugin.c
3957           system-settings/plugins/ifcfg-suse/plugin.c
3958           system-settings/src/nm-system-config-hal-manager.c
3959           libnm-util/nm-utils.c
3960                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3961                         not threadsafe anyway
3962
3963 2008-04-08  Dan Williams  <dcbw@redhat.com>
3964
3965         * system-settings/src/main.c
3966                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3967                         callbacks take a device type too
3968
3969 2008-04-08  Dan Williams  <dcbw@redhat.com>
3970
3971         The system settings service will now create a new default DHCP connection
3972         for wired devices that have no existing applicable connection.
3973
3974         * system-settings/src/nm-system-config-hal-manager.c
3975           system-settings/src/nm-system-config-hal-manager.h
3976                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3977
3978         * system-settings/src/dbus-settings.c
3979           system-settings/src/dbus-settings.h
3980                 - (nm_sysconfig_settings_get_connections): new function
3981                 - (nm_sysconfig_settings_is_device_managed): new function
3982
3983         * system-settings/src/main.c
3984                 - (load_stuff): check for wired devices that need a default connection
3985                 - (get_details_for_udi): get interface and MAC address from HAL
3986                 - (add_default_dhcp_connection): add a default connection for a wired
3987                         device if needed
3988                 - (device_added_cb, device_removed_cb): do the right thing with
3989                         wired devices and their default connections on HAL device events
3990
3991 2008-04-07  Dan Williams  <dcbw@redhat.com>
3992
3993         * libnm-glib/nm-device.c
3994           libnm-glib/nm-device.h
3995                 - Proxy the 'managed' property
3996
3997 2008-04-07  Dan Williams  <dcbw@redhat.com>
3998
3999         * src/nm-gsm-device.c
4000           src/nm-cdma-device.c
4001                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4002                         handler to transition to DISCONNECTED
4003
4004 2008-04-07  Dan Williams  <dcbw@redhat.com>
4005
4006         Patch from Bill Nottingham
4007
4008         * dispatcher-daemon/NetworkManagerDispatcher.c
4009                 - ignore backup/packaging crufy (rh #440143)
4010
4011 2008-04-07  Dan Williams  <dcbw@redhat.com>
4012
4013         * include/NetworkManager.h
4014                 - Remove the DOWN and CANCELLED device states
4015                 - Add UNMANAGED and UNAVAILABLE device states
4016                 - Document the device states
4017
4018         * introspection/nm-device.xml
4019           src/nm-device-interface.c
4020           src/nm-device-interface.h
4021                 - Add the 'managed' property
4022
4023         * test/nm-tool.c
4024                 - (detail_device): print out device state
4025
4026         * src/NetworkManagerSystem.h
4027           src/backends/NetworkManagerArch.c
4028           src/backends/NetworkManagerDebian.c
4029           src/backends/NetworkManagerFrugalware.c
4030           src/backends/NetworkManagerGentoo.c
4031           src/backends/NetworkManagerMandriva.c
4032           src/backends/NetworkManagerPaldo.c
4033           src/backends/NetworkManagerRedHat.c
4034           src/backends/NetworkManagerSlackware.c
4035           src/backends/NetworkManagerSuSE.c
4036                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4037                    nm_system_device_free_system_config): remove; they were unused and
4038                         their functionality should be re-implemented in each distro's
4039                         system settings service plugin 
4040
4041         * src/nm-gsm-device.c
4042           src/nm-gsm-device.h
4043           src/nm-cdma-device.c
4044           src/nm-cdma-device.h
4045                 - (*_new): take the 'managed' argument
4046
4047         * src/nm-device.c
4048                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4049                 - (nm_device_init): start in unmanaged state, not disconnected
4050                 - (constructor): don't start device until the system settings service
4051                         has had a chance to figure out if the device is managed or not
4052                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4053                         don't set device state here, let callers handle that as appropriate
4054                 - (nm_device_dispose): don't touch the device if it's not managed
4055                 - (set_property, get_property, nm_device_class_init): implement the
4056                         'managed' property
4057                 - (nm_device_state_changed): bring the device up if its now managed,
4058                         and deactivate it if it used to be active
4059                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4060                         with the managed state
4061
4062         * src/nm-hal-manager.c
4063                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4064                         take initial managed state and pass it along to device constructors
4065                 - (create_device_and_add_to_list): get managed state and pass to
4066                         type creators
4067
4068         * src/nm-device-802-11-wireless.c
4069                 - (real_can_activate): fold in most of
4070                         nm_device_802_11_wireless_can_activate()
4071                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4072                 - (link_timeout_cb): instead of deactivating, change device state and
4073                         let the device state handler to it
4074                 - (real_update_hw_address): clean up
4075                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4076                         handler to transition to DISCONNECTED if the device isn't rfkilled
4077
4078         * src/nm-device-802-3-ethernet.c
4079                 - (set_carrier): move above callers and get rid of prototype
4080                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4081                         idle handler to transition to DISCONNECTED if the device has a
4082                         carrier
4083                 - (real_update_hw_address): clean up
4084                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4085                         deactivation directly as deactivation doesn't change state anymore
4086
4087         * src/NetworkManagerPolicy.c
4088                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4089                         the NMManager and wireless devices work that out themselves now
4090                 - (device_state_changed): change to a switch and update for new device
4091                         states
4092                 - (device_carrier_changed): remove; device handles this now through
4093                         state changes
4094                 - (device_added): don't care about carrier any more; the initial
4095                         activation check will happen when the device transitions to
4096                         DISCONNECTED
4097
4098         * src/nm-manager.c
4099                 - (dispose): clear unmanaged devices
4100                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4101                         the managed property on each device when needed
4102                 - (system_settings_properties_changed_cb): handle signals from the
4103                         system settings service
4104                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4105                         getting the unmanaged device list method call
4106                 - (query_unmanaged_devices): ask the system settings service for its
4107                         list of unmanaged devices
4108                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4109                         devices
4110                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4111                         devices directly and let them handle the necessary state transitions
4112                 - (manager_device_state_changed): update for new device states
4113                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4114                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4115                 - (nm_manager_activate_connection): return error if the device is
4116                         unmanaged
4117                 - (nm_manager_sleep): handle new device states correctly; don't change
4118                         the state of unavailable/unmanaged devices
4119
4120         * libnm-glib/nm-device-802-11-wireless.c
4121                 - (state_changed_cb): update for new device states
4122
4123 2008-04-07  Dan Williams  <dcbw@redhat.com>
4124
4125         * marshallers/nm-marshal.list
4126                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4127
4128 2008-04-07  Dan Williams  <dcbw@redhat.com>
4129
4130         * system-settings/src/main.c
4131                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4132                         plugins to the dbus settings object
4133                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4134                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4135                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4136                 - (main): switch default logging to syslog with a 'debug' option to
4137                         output to console; start up the HAL manager
4138
4139 2008-04-07  Dan Williams  <dcbw@redhat.com>
4140
4141         * introspection/nm-settings-system.xml
4142           introspection/Makefile.am
4143                 - Define the unmanaged devices interface for the system settings service
4144
4145         * system-settings/src/nm-system-config-hal-manager.c
4146           system-settings/src/nm-system-config-hal-manager.h
4147           system-settings/src/nm-system-config-hal-manager-private.h
4148           system-settings/src/Makefile.am
4149                 - Add a lightweight HAL manager object for tracking network devices for
4150                         the purpose of determining unmanaged devices and which devices need
4151                         the default DHCP connections
4152
4153         * system-settings/src/nm-system-config-interface.c
4154           system-settings/src/nm-system-config-interface.h
4155                 - (nm_system_config_interface_init): add the HAL manager as an argument
4156                 - (nm_system_config_interface_get_unmanaged_devices): implement
4157                 - Define 'unmanaged-devices-changed' signal
4158
4159         * system-settings/src/dbus-settings.c
4160           system-settings/src/dbus-settings.h
4161                 - Implement the unmanaged devices interface; some cleanups
4162
4163         * system-settings/plugins/ifcfg-suse/plugin.c
4164                 - Fixup for plugin interface changes
4165
4166         * system-settings/plugins/ifcfg-fedora/plugin.c
4167                 - (get_ether_device_udi): new function; find the device that has
4168                         a specified MAC address and return its UDI
4169                 - (get_udi_for_connection): new function; try to find the specific
4170                         device a connection is locked to, if any
4171                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4172                         response to HAL events
4173                 - (get_unmanaged_devices): new function; return unmanaged device list
4174                 - (build_one_connection): set the connection's locked device, if any
4175                 - (write_auto_wired_connection): remove
4176                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4177                 - (handle_connection_changed): alert listeners that the unmanaged device
4178                         list has changed
4179                 - (init): fixup for plugin interface changes, implement unmanaged devices
4180
4181         * system-settings/plugins/ifcfg-fedora/parser.c
4182           system-settings/plugins/ifcfg-fedora/parser.h
4183                 - (connection_data_free): clean up connection UDI
4184
4185 2008-04-07  Dan Williams  <dcbw@redhat.com>
4186
4187         * system-settings/plugins/ifcfg-fedora/parser.c
4188                 - (make_ip4_setting): fix parsing of DNS servers
4189
4190 2008-04-05  Dan Williams  <dcbw@redhat.com>
4191
4192         * Makefile.am
4193           configure.in
4194           marshallers/Makefile.am
4195           marshallers/nm-marshal-main.c
4196           marshallers/nm-marshal.list
4197                 - Consolidate marshallers
4198
4199         * libnm-glib/nm-marshal-main.c
4200           libnm-glib/nm-marshal.list
4201           src/marshallers/Makefile.am
4202           src/marshallers/nm-marshal-main.c
4203           src/marshallers/nm-marshal.list
4204                 - Remove
4205
4206         * libnm-glib/Makefile.am
4207           src/Makefile.am
4208           src/dhcp-manager/Makefile.am
4209           src/ppp-manager/Makefile.am
4210           src/supplicant-manager/Makefile.am
4211           src/vpn-manager/Makefile.am
4212                 - Use consolidated marshallers
4213
4214 2008-04-04  Dan Williams  <dcbw@redhat.com>
4215
4216         * src/nm-hal-manager.c
4217           src/nm-hal-manager.h
4218                 - (hal_init): don't look for hardware here
4219                 - (nm_hal_manager_start): new function; look for hardware here instead,
4220                         which can be done at a later time than hal_init()
4221
4222         * src/NetworkManager.c
4223                 - (main): start HAL manager after entering the main loop
4224
4225 2008-04-03  Dan Williams  <dcbw@redhat.com>
4226
4227         * libnm-glib/nm-settings.c
4228           libnm-glib/nm-settings.h
4229             - (nm_exported_connection_get_id): new function
4230                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4231
4232 2008-04-02  Dan Williams  <dcbw@redhat.com>
4233
4234         * src/nm-device-interface.c
4235           src/nm-device-interface.h
4236           src/nm-device.c
4237           src/nm-device.h
4238                 - Rename check_connection_conflicts() to check_connection_compatible()
4239
4240         * src/nm-device-802-11-wireless.c
4241                 - (real_check_connection_conflicts): remove
4242                 - (real_check_connection_compatible): implement; match MAC address
4243
4244         * src/nm-device-802-3-ethernet.c
4245                 - (real_check_connection_conflicts): remove
4246                 - (real_check_connection_compatible): implement; match MAC address
4247                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4248
4249         * src/nm-manager.c
4250                 - (check_connection_allowed): remove; unused until PolicyKit integration
4251                 - (internal_activate_device): check whether the connection is compatible
4252                         with the device before trying to activate it
4253
4254 2008-04-02  Dan Williams  <dcbw@redhat.com>
4255
4256         * system-settings/plugins/ifcfg-fedora/parser.c
4257                 - (read_mac_address): new function; read in MAC address and stuff it
4258                         into the connection
4259                 - (add_one_wep_key): remove debug spew
4260                 - (make_wireless_security_setting): validate the default TX key; don't
4261                         add the wireless-security setting if the connection doesn't need
4262                         security; don't leak the keys shvarFile on error cases
4263                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4264                         address
4265
4266 2008-04-02  Dan Williams  <dcbw@redhat.com>
4267
4268         * libnm-util/nm-setting-connection.c
4269           libnm-util/nm-setting-connection.h
4270                 - (set_property, get_property, nm_setting_connection_class_init): remove
4271                         the 'lockdown' property; it's functionality will be replaced by
4272                         PolicyKit instead
4273
4274 2008-04-01  Dan Williams  <dcbw@redhat.com>
4275
4276         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4277
4278         * configure.in
4279           initscript/Makefile.am
4280           initscript/Mandriva/Makefile.am
4281           initscript/Mandriva/networkmanager.in
4282           initscript/Mandriva/networkmanagerdispatcher.in
4283           src/backends/Makefile.am
4284           src/backends/NetworkManagerMandriva.c
4285           system-settings/plugins/Makefile.am
4286                 - Add Mandriva support
4287
4288 2008-03-31  Dan Williams  <dcbw@redhat.com>
4289
4290         * src/vpn-manager/nm-vpn-service.c
4291                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4292                         errors can be passed back to the caller; also no longer scheduled
4293                         as an idle handler, but called directly; and bump up VPN service
4294                         spawn timeout, 2s is really short
4295                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4296                         but call it directly so that errors are reported on return from
4297                         ActivateConnection() and don't get lost.  If scheduled as an idle
4298                         handler, clients don't have the time to query NM for the new VPN
4299                         connection's properties before the VPN connection is torn down again
4300                         if the service couldn't be launched, and therefore launch errors
4301                         get lost.
4302
4303 2008-03-31  Dan Williams  <dcbw@redhat.com>
4304
4305         * src/vpn-manager/nm-vpn-connection.c
4306                 - (device_state_changed): send correct state on device failure too
4307                 - (plugin_state_changed): failed state means unexpected disconnection,
4308                         thus if the service goes away while the VPN connection is activated
4309                         that's a failure too
4310
4311 2008-03-31  Dan Williams  <dcbw@redhat.com>
4312
4313         * src/vpn-manager/nm-vpn-manager.c
4314           src/vpn-manager/nm-vpn-manager.h
4315                 - Make VPNManager errors more available; add a service-start-failed error
4316
4317 2008-03-31  Dan Williams  <dcbw@redhat.com>
4318
4319         * libnm-glib/nm-client.c
4320           libnm-glib/nm-client.h
4321                 - (activate_cb): pass the new active connection to callback; fix
4322                         message when no callback is specified
4323
4324 2008-03-30  Dan Williams  <dcbw@redhat.com>
4325
4326         * libnm-util/nm-setting-wireless-security.c
4327                 - (need_secrets): only require key0 if the transmit key index is also
4328                         0
4329                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4330
4331 2008-03-29  Dan Williams  <dcbw@redhat.com>
4332
4333         * libnm-util/nm-setting-8021x.c
4334           libnm-util/nm-setting-ip4-config.c
4335           libnm-util/nm-setting-vpn-properties.c
4336           libnm-util/nm-setting-vpn.c
4337           libnm-util/nm-setting-wireless-security.c
4338           libnm-util/nm-setting-wireless.c
4339           libnm-util/nm-utils.c
4340           src/dhcp-manager/nm-dhcp-manager.c
4341           src/nm-activation-request.c
4342           src/nm-ip4-config.c
4343           src/nm-manager.c
4344           src/nm-properties-changed-signal.c
4345           src/ppp-manager/nm-pppd-plugin.c
4346           src/supplicant-manager/nm-supplicant-interface.c
4347           src/vpn-manager/nm-vpn-connection.c
4348                 - consistently use nm-dbus-glib-types.h
4349
4350 2008-03-29  Dan Williams  <dcbw@redhat.com>
4351
4352         * src/vpn-manager/nm-vpn-connection.c
4353                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4354                         not string
4355
4356         * src/nm-activation-request.c
4357                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4358                         not string
4359
4360 2008-03-29  Dan Williams  <dcbw@redhat.com>
4361
4362         * libnm-glib/nm-device-802-11-wireless.c
4363                 - (access_point_added_proxy): create new APs if not found
4364
4365 2008-03-29  Dan Williams  <dcbw@redhat.com>
4366
4367         * libnm-glib/nm-client.c
4368                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4369                         before freeing them
4370
4371 2008-03-29  Dan Williams  <dcbw@redhat.com>
4372
4373         * system-settings/plugins/ifcfg-fedora/parser.c
4374                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4375                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4376
4377 2008-03-29  Dan Williams  <dcbw@redhat.com>
4378
4379         * system-settings/plugins/ifcfg-fedora/parser.c
4380                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4381
4382 2008-03-27  Dan Williams  <dcbw@redhat.com>
4383
4384         * nm-object.c
4385                 - (nm_object_queue_notify): don't notify multiple times for the same
4386                         property
4387
4388         * nm-object-private.h
4389                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4390                         if it has zero elements
4391
4392         * nm-ip4-config.c
4393                 - (finalize): use g_ptr_array_foreach() when freeing domains
4394                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4395
4396         * nm-active-connection.c
4397                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4398
4399         * nm-device-802-11-wireless.c
4400           nm-device-802-11-wireless.h
4401                 - (nm_device_802_11_wireless_get_access_points): return const; use
4402                         handle_ptr_array_return()
4403
4404         * nm-types.c
4405                 - (nm_object_array_demarshal): always create an array, even of length
4406                         zero, to distinguish between "NM returned no items" and "haven't
4407                         asked NM yet"
4408
4409         * nm-client.c
4410                 - (dispose): free active connections too
4411                 - (proxy_name_owner_changed): free active connections too when NM goes
4412                         away
4413                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4414                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4415
4416 2008-03-26  Dan Williams  <dcbw@redhat.com>
4417
4418         Rework VPN connection handling for a more consistent D-Bus API.  The
4419         VPNManager object has been removed, and active VPN connections are now the
4420         same as any other active connection.  The Manager object's ActivateConnection
4421         and DeactivateConnection methods are used to start and stop a VPN connection,
4422         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4423         When activating a VPN connection, pass the path of the active connection
4424         to which the VPN connection is tied in the 'specific_object' argument.
4425
4426         Consequently, the libnm-glib API has been reworked to match this arrangement,
4427         with the VPNManager object removed, and the NMVPNConnection objects now
4428         being subclasses of NMActiveConnection.
4429
4430 2008-03-25  Dan Williams  <dcbw@redhat.com>
4431
4432         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4433
4434         * initscript/Arch/networkmanager.in
4435           initscript/Arch/networkmanager-dispatcher.in
4436                 - Updates for Arch Linux (gnome.org #523701)
4437
4438 2008-03-25  Dan Williams  <dcbw@redhat.com>
4439
4440         * libnm-glib/nm-ip4-config.c
4441           libnm-glib/nm-active-connection.c
4442           libnm-glib/nm-access-point.c
4443                 - Use nm_object_queue_notify() instead of g_object_notify()
4444
4445         * libnm-glib/nm-device.c
4446                 - (demarshal_ip4_config): distinguish between successful but missing
4447                         ip4-config request, and unsuccessful and missing ip4-config request
4448                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4449                         path
4450                 - Use nm_object_queue_notify() instead of g_object_notify()
4451
4452         * libnm-glib/nm-device-802-11-wireless.c
4453                 - (demarshal_active_ap): distinguish between successfull but missing
4454                         active-ap request, and unsuccessful and missing active-ap request
4455                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4456                         code
4457                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4458                         for the NMClient to notify the device that wireless is disabled,
4459                         and therefore to clear the AP list and active AP
4460                 - Use nm_object_queue_notify() instead of g_object_notify()
4461
4462         * libnm-glib/nm-client.c
4463                 - (poke_wireless_devices_with_rf_status): new function
4464                 - (update_wireless_status): notify wireless devices of the rfkill status
4465                         so they can clean up if needed
4466                 - Use nm_object_queue_notify() instead of g_object_notify()
4467
4468 2008-03-25  Dan Williams  <dcbw@redhat.com>
4469
4470         * libnm-glib/nm-object.c
4471           libnm-glib/nm-object-private.h
4472                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4473                         signals to an idle handler
4474                 - (nm_object_get_property): add a timeout to the D-Bus method call
4475
4476 2008-03-25  Dan Williams  <dcbw@redhat.com>
4477
4478         * introspection/nm-device-cdma.xml
4479           introspection/nm-device-gsm.xml
4480           introspection/Makefile.am
4481           introspection/all.xml
4482                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4483
4484         * src/nm-gsm-device.h
4485           src/nm-gsm-device.c
4486           src/nm-cdma-device.h
4487           src/nm-cdma-device.c
4488           src/Makefile.am
4489                 - Implement PropertiesChanged signals
4490
4491         * libnm-glib/nm-cdma-device.c
4492           libnm-glib/nm-cdma-device.c
4493                 - Attach to PropertiesChanged signals
4494
4495 2008-03-24  Dan Williams  <dcbw@redhat.com>
4496
4497         * libnm-glib/nm-client.c
4498                 - (client_device_added_proxy): add new devices to the internal device
4499                         list so they appear to clients
4500
4501 2008-03-24  Dan Williams  <dcbw@redhat.com>
4502
4503         Massive fixup of libnm-glib to:
4504         a) have all objects (with the exception of VPN) cache their properties and
4505                 update them asynchronously on PropertiesChanged signals from NM
4506         b) return internal const data for most attributes/properties instead of
4507                 allocated values that the caller must free
4508         c) cache wrapped objects such that a given D-Bus path will always map to the
4509                 same GObject returned by libnm-glib
4510         d) remove a few signals and move them to GObject property notifications
4511         e) match recent NM D-Bus API changes for activation/deactivation
4512         f) remove some private functions from libnm-glib headers
4513
4514 2008-03-20  Dan Williams  <dcbw@redhat.com>
4515
4516         * src/nm-manager.c
4517                 - (nm_manager_update_state, manager_device_state_changed,
4518                    nm_manager_activate_device, connection_added_default_handler,
4519                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4520                         queue PropertyChanged singals when the active connections change
4521
4522 2008-03-20  Dan Williams  <dcbw@redhat.com>
4523
4524         * introspection/nm-manager.xml
4525           introspection/nm-manager-client.xml
4526                 - (ActivateConnection): return the object path of the active connection
4527                         on success
4528                 - (GetActiveConnections): remove
4529                 - (DeactivateConnection): new function; deactivate a currently active
4530                         connection
4531                 - Add an ActiveConnections property which returns an array of
4532                         active connection object paths
4533
4534         * introspection/nm-device.xml
4535                 - (Deactivate): remove
4536
4537         * introspection/all.xml
4538                 - Add ActiveConnection introspection
4539
4540         * introspection/nm-active-connection.xml
4541                 - Add the ActiveConnection object
4542
4543         * include/NetworkManager.h
4544                 - Add the Connection.Active D-Bus interface
4545
4546         * src/nm-device-interface.c
4547                 - (impl_device_deactivate): remove
4548
4549         * src/nm-activation-request.c
4550           src/nm-activation-request.c
4551           src/Makefile.am
4552                 - Implement the Connection.Active D-Bus interface
4553
4554         * src/nm-manager.c
4555                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4556                 - (nm_manager_activate_device): return the active connection path
4557                 - (connection_added_default_handler, impl_manager_activate_connection):
4558                         return the active connection to the caller
4559                 - (add_one_connection_element, impl_manager_get_active_connections):
4560                         remove
4561                 - (impl_manager_deactivate_connection): new function; deactivate an
4562                         active connection
4563
4564         * libnm-glib/nm-device.c
4565           libnm-glib/nm-device.h
4566                 - Remove Deactivate() function
4567
4568 2008-03-19  Dan Williams  <dcbw@redhat.com>
4569
4570         * introspection/nm-manager.xml
4571           introspection/nm-manager-client.xml
4572                 - Rename the ActivateDevice method to ActivateConnection to better
4573                         reflect it's usage; it's arguments get reordered a bit too
4574                 - Convert GetActiveConnections method return from a struct to a dict
4575
4576         * include/NetworkManager.h
4577                 - Define the dict keys for return value of GetActiveConnections
4578
4579         * src/nm-manager.c
4580                 - impl_manager_activate_device -> impl_manager_activate_connection
4581                 - (add_one_connection_element): return a populated hash table, not
4582                         a structure
4583
4584         * libnm-glib/nm-client.c
4585           libnm-glib/nm-client.h
4586                 - nm_client_activate_device -> nm_client_activate_connection
4587                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4588                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4589                         instead of the custom structures.  Each element of the returned list
4590                         must be freed with nm_client_free_active_connections_element()
4591
4592 2008-03-18  Dan Williams  <dcbw@redhat.com>
4593
4594         * system-settings/plugins/ifcfg-fedora/parser.c
4595           system-settings/plugins/ifcfg-fedora/parser.h
4596           system-settings/plugins/ifcfg-fedora/plugin.c
4597                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4598                         profiles.  DNS servers and searches must now be stored in the ifcfg
4599                         files themselves
4600
4601 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4602
4603         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4604         print out username and password, it's supposed to be a secret.
4605
4606         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4607         request and set the device state accordingly.
4608
4609 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4610
4611         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4612
4613         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4614
4615 2008-03-18  Dan Williams  <dcbw@redhat.com>
4616
4617         * src/vpn-manager/nm-vpn-connection.c
4618                 - (get_secrets_cb): handle new GetSecrets return format
4619
4620 2008-03-18  Dan Williams  <dcbw@redhat.com>
4621
4622         Adapt system settings service for split 802.1x.
4623
4624         * system-settings/src/nm-system-config-interface.h
4625                 - clarify return value of get_secrets()
4626
4627         * system-settings/src/dbus-settings.c
4628                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4629                 - (check_for_secrets): check if there actually secrets returned by a
4630                         plugin
4631                 - (exported_connection_get_secrets): just return the plugin-returned
4632                         hash of settings' secrets if it looks valid
4633
4634         * system-settings/plugins/ifcfg-fedora/plugin.c
4635                 - (get_secrets): add split secrets with correct format to reply hash
4636
4637         * system-settings/plugins/ifcfg-fedora/parser.c
4638           system-settings/plugins/ifcfg-fedora/parser.h
4639                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4640                    connection_data_free, connection_data_add): keep secrets for
4641                         different settings in different hashes
4642
4643 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4644
4645         Clean up activating device deactivation.
4646
4647         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4648         should be done whether the device activation gets cancelled or the device
4649         is just getting deactivated.
4650         (nm_device_activation_cancel): Remove.
4651         (nm_device_deactivate_quickly): Handle the case where device is activating.
4652
4653         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4654         It does the exact same thing as real_deactivate_quickly().
4655
4656 2008-03-17  Dan Williams  <dcbw@redhat.com>
4657
4658         Split the 802.1x bits out of the wireless-security setting so they are
4659         generalized enough for wired 802.1x to use too.
4660
4661         * introspection/nm-exported-connection.xml
4662                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4663                         of just a hash of the secrets for one setting
4664
4665         * libnm-util/nm-setting-wireless-security.c
4666           libnm-util/nm-setting-wireless-security.h
4667                 - Remove 802.1x-specific stuff
4668                 - Added leap-username and leap-password properties for old-school LEAP
4669
4670         * src/nm-device.c
4671           src/nm-device.h
4672                 - (connection_secrets_updated_cb): take a list of updated settings names,
4673                         not just one
4674
4675         * src/supplicant-manager/nm-supplicant-config.c
4676           src/supplicant-manager/nm-supplicant-config.h
4677                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4678                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4679                         to nm_supplicant_config_add_setting_8021x()
4680                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4681                         the supplicant config
4682
4683         * src/nm-device-802-11-wireless.c
4684                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4685                 - (real_connection_secrets_updated): take a list of updated settings
4686                         names, not just one
4687
4688         * src/nm-device-802-3-ethernet.c
4689           src/nm-cdma-device.c
4690           src/nm-gsm-device.c
4691                 - (real_connection_secrets_updated_cb): take a list of updated settings
4692                         names, not just one
4693
4694         * src/nm-activation-request.c
4695           src/nm-activation-request.h
4696                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4697                         now passes a list of updated settings names, not just one
4698                 - (update_one_setting): new function; handle one updated setting
4699                 - (get_secrets_cb): handle multiple settings returned from the
4700                         settings service; have to be careful of ordering here as there are
4701                         some dependencies between settings (ex. wireless-security and 802.1x
4702                         in some cases)
4703
4704         * src/marshallers/nm-marshal.list
4705                 - new marshaller for connection-secrets-updated signal
4706
4707         * libnm-util/nm-setting-8021x.c
4708                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4709                         methods
4710                 - (verify): a valid 'eap' property is now required
4711
4712         * libnm-util/nm-connection.c
4713                 - (register_default_settings): add priorities to settings; there are
4714                         some dependencies between settings, and during the need_secrets
4715                         calls this priority needs to be respected.  For example, only the
4716                         wireless-security setting knows whether or not the connection is
4717                         going to use 802.1x or now, so it must be asked for secrets before
4718                         any existing 802.1x setting is
4719                 - (nm_connection_lookup_setting_type): expose
4720
4721         * libnm-util/nm-setting-wireless.c
4722                 - (verify): should verify even if all_settings is NULL; otherwise won't
4723                         catch the case where there is missing security
4724
4725         * libnm-util/nm-setting-wireless-security.c
4726                 - Remove everything to do with 802.1x
4727                 - Add old-school LEAP specific properties for username and password
4728                 - (need_secrets): rework LEAP secrets checking
4729                 - (verify): rework for LEAP and 802.1x verification
4730
4731 2008-03-17  Dan Williams  <dcbw@redhat.com>
4732
4733         * src/NetworkManagerPolicy.c
4734                 - (auto_activate_device): always remove the current activation check
4735                         from the pending activation list, otherwise when the policy gets
4736                         destroyed on NM exit it will attempt to free the already freed
4737                         activation check
4738
4739 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4740
4741         * src/backends/NetworkManagerSlackware.c 
4742         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4743
4744         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4745
4746 2008-03-14  Dan Williams  <dcbw@redhat.com>
4747
4748         * src/nm-manager.c
4749                 - (nm_device_interface_get_iface): g_object_get() will return an
4750                         allocated value, so this function must not return const
4751                 - (nm_device_interface_activate): free returned iface
4752
4753 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4754
4755         * libnm-util/Makefile.am: Add new files to build.
4756
4757         * libnm-util/nm-connection.c: Register NMSetting8021x.
4758
4759         * libnm-util/nm-setting-8021x.c
4760         * libnm-util/nm-setting-8021x.h: Implement.
4761
4762 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4763
4764         * libnm-util/Makefile.am: Add new files to build.
4765
4766         * libnm-util/nm-connection.c: Register NMSetting8021x.
4767
4768         * libnm-util/nm-setting-8021x.c
4769         * libnm-util/nm-setting-8021x.h: Implement.
4770
4771 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4772
4773         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4774         data.
4775
4776 2008-03-14  Dan Williams  <dcbw@redhat.com>
4777
4778         * include/wireless-helper.h
4779           include/Makefile.am
4780                 - One place for all the junk needed for #including wireless.h
4781
4782         * test/nm-tool.c
4783           src/NetworkManagerAP.c
4784           src/wpa.c
4785           src/Makefile.am
4786           libnm-util/nm-utils.c
4787           libnm-util/nm-setting-wireless.c
4788           libnm-glib/nm-device-802-11-wireless.c
4789           libnm-glib/nm-access-point.c
4790           libnm-glib/libnm-glib-test.c
4791                 - include wireless-helper.h, not iwlib.h
4792
4793         * configure.in
4794                 - Don't need libiw really, just need to check for wireless.h
4795
4796         * src/kernel-types.h
4797                 - Remove; used types moved into wpa.c
4798
4799         * src/nm-device-802-11-wireless.c
4800                 - (nm_device_802_11_wireless_update_signal_strength,
4801                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4802                    nm_device_802_11_wireless_set_mode,
4803                    nm_device_802_11_wireless_get_frequency,
4804                    nm_device_802_11_wireless_get_ssid,
4805                    nm_device_802_11_wireless_set_ssid,
4806                    nm_device_802_11_wireless_get_bitrate,
4807                    nm_device_802_11_wireless_get_bssid,
4808                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4809                         instead of iwlib functions
4810
4811 2008-03-14  Dan Williams  <dcbw@redhat.com>
4812
4813         * src/ppp-manager/nm-ppp-manager.c
4814                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4815                         should only take the DBusGMethodInvocation argument, not user/pass
4816                         too.  With dbus-glib, async functions only take 2 C arguments since
4817                         the real dbus method arguments get passed back with
4818                         dbus_g_method_return()
4819
4820 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4821
4822         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4823         Adapt the changes of NMSettingIP4Config.
4824
4825 2008-03-13  Dan Williams  <dcbw@redhat.com>
4826
4827         * src/NetworkManagerUtils.c
4828           src/NetworkManagerUtils.h
4829                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4830
4831         * src/NetworkManagerAP.c
4832           src/nm-device-802-11-wireless.c
4833           src/nm-device-802-3-ethernet.c
4834                 - s/iw_ether_ntop/nm_ether_ntop/g
4835
4836 2008-03-13  Dan Williams  <dcbw@redhat.com>
4837
4838         * src/NetworkManagerPolicy.c
4839                 - (update_routing_and_dns): never set the default route through an
4840                         IPv4LL addressed device
4841
4842 2008-03-13  Dan Williams  <dcbw@redhat.com>
4843
4844         * NetworkManagerUtils.c
4845           NetworkManagerUtils.h
4846                 - Remove NMSock stuff
4847                 - Remove the completion stuff
4848
4849         * nm-device.c
4850           nm-device.h
4851           NetworkManager.c
4852           NetworkManagerSystem.c
4853           autoip.c
4854           nm-device-802-11-wireless.c
4855           nm-device-802-3-ethernet.c
4856                 - Remove NMSock and completion stuff
4857                 - Remove nm_ioctl_info()
4858
4859 2008-03-12  Dan Williams  <dcbw@redhat.com>
4860
4861         * src/nm-device.c
4862                 - (merge_ip4_config): avoid duplicates
4863
4864 2008-03-12  Dan Williams  <dcbw@redhat.com>
4865
4866         * libnm-util/nm-setting-ip4-config.c
4867           libnm-util/nm-setting-ip4-config.h
4868                 - Remove 'manual' and 'autoip' properties
4869                 - Add 'method' property
4870                 - (verify): fix verification with 'method'
4871                 - (finalize): free 'method'
4872                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4873                         up for 'method'
4874
4875         * src/nm-device.c
4876                 - (real_act_stage3_ip_config_start): check IP4Config method
4877                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4878                         the future
4879                 - (merge_ip4_config): IP settings are valid with DHCP too
4880                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4881                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4882
4883         * src/nm-device-802-11-wireless.c
4884                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4885                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4886                         only on demand
4887
4888         * system-settings/plugins/ifcfg-fedora/parser.c
4889           system-settings/plugins/ifcfg-suse/parser.c
4890                 - (make_ip4_setting): fix up for 'method'
4891
4892 2008-03-12  Dan Williams  <dcbw@redhat.com>
4893
4894         * system-settings/plugins/ifcfg-fedora/parser.c
4895           system-settings/plugins/ifcfg-fedora/parser.h
4896                 - (get_ifcfg_name): ignore more file suffixes
4897                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4898
4899 2008-03-12  Dan Williams  <dcbw@redhat.com>
4900
4901         * configure.in
4902                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4903
4904 2008-03-12  Dan Williams  <dcbw@redhat.com>
4905
4906         * system-settings/plugins/ifcfg-fedora/plugin.c
4907                 - (write_auto_wired_connection): new function; write out an auto
4908                         wired connection file since the applet isn't doing it any more
4909                 - (reload_all_connections): write out the auto wired connection file
4910                         if there aren't any wired connections already
4911                 - (init): don't leak a GError
4912
4913 2008-03-12  Dan Williams  <dcbw@redhat.com>
4914
4915         * src/nm-device-interface.c
4916                 - (nm_device_interface_activate): print the ID of the connection
4917                         that's about to be activated
4918
4919 2008-03-12  Dan Williams  <dcbw@redhat.com>
4920
4921         Harmonize the 802.11 bitrate API
4922
4923         * introspection/nm-access-point.xml
4924                 - 'Rate' -> 'MaxBitrate'; clarify units
4925
4926         * introspection/nm-device-802-11-wireless.xml
4927                 - Clarify units of 'Bitrate'
4928
4929         * src/NetworkManagerAP.c
4930           src/NetworkManagerAP.h
4931                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4932                         property to 'max-bitrate'
4933                 - (foreach_property_cb): convert rate to Kb/s
4934
4935         * src/nm-device-802-11-wireless.c
4936                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4937
4938         * libnm-glib/nm-access-point.c
4939           libnm-glib/nm-access-point.h
4940                 - 'rate' -> 'max-bitrate'
4941
4942         * test/nm-tool.c
4943           libnm-glib/libnm-glib-test.c
4944                 - Fix up for these changes
4945
4946 2008-03-12  Dan Williams  <dcbw@redhat.com>
4947
4948         * src/nm-device.c
4949                 - (nm_device_set_ip4_config): don't send property notifications when
4950                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4951                         which dbus-glib can't parse because the value is NULL, which isn't
4952                         a legal object path.  Setting the IP4 config to NULL is only
4953                         valid when deactivating a device anyway, so the device state change
4954                         will alert listeners that the ip4 config is invalid.
4955
4956 2008-03-12  Dan Williams  <dcbw@redhat.com>
4957
4958         * src/nm-properties-changed-signal.c
4959                 - (add_to_string): better handling of NULL objects
4960
4961 2008-03-12  Dan Williams  <dcbw@redhat.com>
4962
4963         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4964         convert the libnm-glib NMDevice8023Ethernet to cached properties
4965
4966         * introspection/nm-device-802-3-ethernet.xml
4967                 - New 'Carrier' property
4968                 - New 'PropertiesChanged' signal
4969
4970         * introspection/nm-device.xml
4971                 - Remove 'Carrier' property
4972                 - Remove 'CarrierChanged' signal
4973
4974         * src/nm-device-interface.c
4975           src/nm-device-interface.h
4976                 - (nm_device_interface_init): remove 'carrier' property and
4977                         'carrier-changed' signal
4978
4979         * src/nm-device.c
4980           src/nm-device.h
4981                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4982                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4983                         the link here; wired device will handle that
4984                 - (handle_dhcp_lease_change): don't bother updating link here
4985                 - (get_property, nm_device_class_init): remove carrier property
4986
4987         * src/nm-device-802-11-wireless.c
4988                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4989                         real_update_link(); wireless devices don't use carrier at all
4990                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4991                    supplicant_iface_connection_state_cb_handler,
4992                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4993
4994         * src/nm-device-802-3-ethernet.c
4995           src/nm-device-802-3-ethernet.h
4996                 - (nm_device_802_3_ethernet_carrier_on,
4997                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4998                         instead of nm_device_set_carrier()
4999                 - (device_state_changed): update link from sysfs on activation;
5000                         replaces real_update_link()
5001                 - (real_update_link): remove, replaced by device_state_changed()
5002                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5003                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5004                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5005                         new get_carrier function
5006                 - (get_property): add 'carrier' property
5007                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5008                         hook into property-changed signal helper
5009
5010         * src/NetworkManagerPolicy.c
5011                 - (device_carrier_changed): will only ever be called with a wired device
5012                 - (device_added): only hook up to carrier-changed for wired devices
5013
5014         * libnm-glib/nm-device.c
5015           libnm-glib/nm-device.h
5016                 - (constructor, nm_device_class_init): remove carrier-changed signal
5017                 - (device_carrier_changed_proxy): remove; unused
5018                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5019
5020         * libnm-glib/nm-device-802-3-ethernet.c
5021           libnm-glib/nm-device-802-3-ethernet.h
5022                 - Convert to cached properties like AP and Wireless objects
5023                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5024                         instead of a 'char *', return value should not be freed
5025                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5026                 - (constructor): hook into properties-changed helper
5027                 - (set_property, get_property): new functions
5028                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5029
5030         * test/nm-tool.c
5031                 - (detail_device): strdup the wired hardware address too since it's
5032                         cached now
5033
5034         * libnm-glib/libnm-glib-test.c
5035                 - (dump_wired): strdup the wired hardware address too since it's
5036                         cached now
5037
5038 2008-03-12  Dan Williams  <dcbw@redhat.com>
5039
5040         * libnm-util/nm-setting-ip4-config.c
5041           libnm-util/nm-setting-ip4-config.h
5042                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5043                         the 'autoip' property from the spec
5044
5045 2008-03-11  Dan Williams  <dcbw@redhat.com>
5046
5047         * src/backends/NetworkManagerGeneric.c
5048           src/backends/NetworkManagerGeneric.h
5049                 - (nm_generic_device_get_use_dhcp): remove
5050
5051 2008-03-11  Dan Williams  <dcbw@redhat.com>
5052
5053         * src/nm-device.c
5054                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5055                         already in nm_device_set_ip4_config()
5056                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5057                         due to a DHCP rebind fails
5058                 - (nm_device_set_ip4_config): send property notifications when the
5059                         ip4 config changes
5060                 - (get_property): only report IP4Config property during valid states
5061
5062         * src/NetworkManagerPolicy.c
5063                 - (update_routing_and_dns): ignore devices that don't have an ip4
5064                         config; add parameter 'force_update' to allow callers to specify
5065                         that changes should be made even if the default device doesn't change
5066                 - (device_ip4_config_changed): update DNS and routing when the device's
5067                         IP4Config changes, like for DHCP updates
5068                 - (device_added): listen for ip4-config property changes
5069
5070 2008-03-11  Dan Williams  <dcbw@redhat.com>
5071
5072         Fix address handling as a result of DHCP rebind/renew/reboot.
5073
5074         * src/NetworkManagerSystem.c
5075                 - (check_one_address): delete an address if it doesn't match a given
5076                         one for the same interface
5077                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5078                         be smarter about flushing addresses (only flush ones that don't
5079                         match the one we're about to apply)
5080
5081         * src/backends/NetworkManagerDebian.c
5082           src/backends/NetworkManagerSuSE.c
5083           src/backends/NetworkManagerArch.c
5084           src/backends/NetworkManagerSlackware.c
5085           src/backends/NetworkManagerRedHat.c
5086           src/backends/NetworkManagerPaldo.c
5087           src/backends/NetworkManagerFrugalware.c
5088           src/backends/NetworkManagerGentoo.c
5089                 - (nm_system_delete_default_route): remove
5090
5091         * src/backends/NetworkManagerGeneric.c
5092           src/backends/NetworkManagerGeneric.h
5093                 - (nm_generic_enable_loopback): fix the loopback device label
5094                 - (nm_generic_delete_default_route): remove; no longer used
5095
5096 2008-03-11  Dan Williams  <dcbw@redhat.com>
5097
5098         * src/nm-device-interface.h
5099                 - Delimit property name words with '-', otherwise g_object_notify()
5100                         doesn't work the way we expect
5101
5102 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5103
5104         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5105
5106 2008-03-11  Dan Williams  <dcbw@redhat.com>
5107
5108         * src/NetworkManagerPolicy.c
5109                 - (update_routing_and_dns): don't change anything if the default device
5110                         hasn't changed; print something out when switching the default route
5111                         and DNS
5112
5113 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5114
5115         Implement PPPoE.
5116
5117         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5118         setting. Use "nic-$eth".
5119
5120         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5121         the device is activating here to fix a race condition.
5122
5123         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5124
5125         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5126         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5127         (nm_ppp_manager_start): Take activation request instead of connection, we might
5128         need it for asking secrets.
5129         (nm_ppp_manager_update_secrets): Implement.
5130
5131         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5132         ppp manager start. It might be needed for asking secrets.
5133
5134         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5135         (ppp_state_changed): Handle pppd daemon disappearing.
5136         (pppoe_stage2_config): Send activation request to ppp manager start.
5137
5138         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5139
5140         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5141         username and password.
5142         
5143 2008-03-10  Dan Williams  <dcbw@redhat.com>
5144
5145         * src/nm-device.c
5146                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5147                         response to a DHCP lease change
5148                 - (dhcp_state_changed): handle DHCP lease changes while activated
5149                 - (nm_device_set_ip4_config): remove a previously set named config
5150                         when setting an ip4 config
5151
5152 2008-03-10  Dan Williams  <dcbw@redhat.com>
5153
5154         * src/nm-serial-device.c
5155                 - (nm_serial_device_send_command): report errno on error
5156                 - (get_reply_got_data): limit the size of the overall buffer
5157                 - (wait_for_reply_info_destroy): destroy result string
5158                 - (wait_for_reply_got_data): append received data to an overall buffer
5159                         until timeout, filled buffer, or error instead of keeping a per-call
5160                         buffer.  Some devices send data slowly enough that this function
5161                         gets called multiple times for the same command stream.
5162                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5163                         wait_for_reply_got_data() here
5164
5165 2008-03-10  Dan Williams  <dcbw@redhat.com>
5166
5167         * src/nm-cdma-device.c
5168                 - (do_dial, init_modem): handle errors from
5169                         nm_serial_device_send_command_string()
5170
5171         * src/nm-gsm-device.c
5172                 - (do_dial, manual_registration, automatic_registration_get_network,
5173                    automatic_registration, enter_pin, check_pin, init_modem): handle
5174                         errors from nm_serial_device_send_command_string()
5175
5176 2008-03-10  Dan Williams  <dcbw@redhat.com>
5177
5178         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5179
5180         * src/named-manager/nm-named-manager.c
5181                 - (compute_searches): prefer searches before domains
5182                 - (compute_domain): new function
5183                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5184                 - (merge_one_ip4_config): if there are no searches in the source config,
5185                         merge domains of the source config into the target config
5186                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5187
5188 2008-03-10  Dan Williams  <dcbw@redhat.com>
5189
5190         * src/nm-serial-device.c
5191                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5192                 - (wait_for_reply_got_data): try to handle slower serial devices where
5193                         the reply is broken up into multiple reads by concatenating replies
5194                         together until either an error is received or the search string is
5195                         found
5196
5197 2008-03-10  Dan Williams  <dcbw@redhat.com>
5198
5199         * src/nm-device.c
5200                 - (nm_device_bring_down): deactivate the device if it's activating too,
5201                         not just if it's already activated.  This makes sure that everything
5202                         from an association attempt is cleaned up (like DHCP for example)
5203
5204 2008-03-10  Dan Williams  <dcbw@redhat.com>
5205
5206         * src/nm-serial-device.c
5207                 - (config_fd): report error from TCSETA
5208                 - (nm_serial_device_open): fail when config_fd() fails
5209
5210 2008-03-10  Dan Williams  <dcbw@redhat.com>
5211
5212         * src/nm-ip4-config.c
5213                 - (nm_ip4_config_init): allocate searches list
5214                 - (finalize): free searches list
5215
5216 2008-03-09  Dan Williams  <dcbw@redhat.com>
5217
5218         Patch from Bas Zoetekouw <bas@debian.org>
5219
5220         * src/dhcp-manager/nm-dhcp-manager.c
5221                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5222
5223 2008-03-09  Dan Williams  <dcbw@redhat.com>
5224
5225         Patch from Bas Zoetekouw <bas@debian.org>
5226
5227         * src/nm-ip4-config.c
5228           src/nm-ip4-config.h
5229                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5230                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5231                         domains.  'searches' is the correct way to store multiple search
5232                         domains, whereas 'domains' is really just supposed to store one
5233                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5234                         search domains to the client.
5235                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5236
5237 2008-03-09  Dan Williams  <dcbw@redhat.com>
5238
5239         * src/dhcp-manager/nm-dhcp-manager.c
5240                 - (dhclient_run): send interface-specific config files to dhclient
5241
5242 2008-03-07  Dan Williams  <dcbw@redhat.com>
5243
5244         * system-settings/plugins/ifcfg-fedora/parser.c
5245                 - (is_wireless_device): new function; test a device for wireless
5246                         extensions
5247                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5248                         test the device for wireless extensions to determine the type
5249
5250 2008-03-07  Dan Williams  <dcbw@redhat.com>
5251
5252         Change manager's StateChange signal to StateChanged for consistency.
5253
5254         * introspection/nm-manager.xml
5255                 - Add 'StateChanged' signal
5256                 - Move 'StateChange' down to the deprecated section
5257
5258         * src/nm-hal-manager.c
5259                 - (nm_hal_manager_new): connect to 'state-changed' instead
5260
5261         * src/NetworkManagerPolicy.c
5262                 - (nm_policy_new): connect to 'state-changed' instead
5263
5264         * src/nm-manager.c
5265           src/nm-manager.h
5266                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5267                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5268                         of 'state-change'
5269
5270         * libnm-glib/nm-client.c
5271           libnm-glib/nm-client.h
5272                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5273                         track and proxy 'state-changed' instead of 'state-change'
5274
5275 2008-03-07  Dan Williams  <dcbw@redhat.com>
5276
5277         First pass of multiple active device support.  Expect bugs.
5278
5279         * src/nm-ip4-config.c
5280           src/nm-ip4-config.h
5281                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5282                         there are better ways to do this in the named manager
5283
5284         * src/nm-device.c
5285           src/nm-device.h
5286                 - (nm_device_can_activate): return whether the device can activate a
5287                         connection right now; taking into account things like carrier state
5288                         and rfkill state
5289                 - (nm_device_get_best_auto_connection): renamed from
5290                         nm_device_get_best_connection
5291                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5292                         device subclasses themselves, so that each device can override the
5293                         MTU from it's NMSetting subclass if needed
5294                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5295                         in NetworkManagerSystem.c, not here
5296
5297         * src/named-manager/nm-named-manager.c
5298           src/named-manager/nm-named-manager.h
5299                 - (nm_named_manager_name_owner_changed,
5300                    nm_named_manager_dbus_connection_changed): fix for changes to
5301                         rewrite_resolv_conf()
5302                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5303                         from parameter list
5304                 - (merge_one_ip4_config): new function; merge ip4 configs together
5305                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5306                         ip4 configs; the VPN config takes precedence, then the best
5307                         device config, then the rest of the configs
5308                 - (get_domain_for_config): take the NMNamedManager as an argument
5309                         to check whether the config is the VPN config
5310                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5311                         attribute from ip4 configs
5312                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5313                 - (remove_ip4_config_from_named): fix for changes to
5314                         get_domain_for_config()
5315                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5316                         based on its type; callers must pass in the type now
5317                 - (get_last_default_domain): remove, unused
5318                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5319
5320         * src/nm-device-802-11-wireless.c
5321                 - (real_can_activate): new function
5322                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5323                 - (real_act_stage4_get_ip4_config): handle MTU override
5324
5325         * src/nm-device-802-3-ethernet.c
5326                 - (real_can_activate): new function
5327                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5328                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5329
5330         * src/vpn-manager/nm-vpn-connection.c
5331                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5332                         attribute on the ip4 config
5333
5334         * src/NetworkManagerPolicy.c
5335                 - (nm_policy_auto_get_best_device): remove
5336                 - (nm_policy_device_change_check): remove
5337                 - (update_default_route): new function; set the default route via
5338                         the specified device
5339                 - (get_device_priority): new function; return the priority number of
5340                         a device type WRT which one should have the default route.  Order is
5341                         (highest to lowest)  wired, wireless, GSM, CDMA.
5342                 - (update_routing_and_dns): new function; determine which device should
5343                         have the default route, then update the routing table and DNS
5344                 - (maybe_auto_activate_device): new function; if a device is now
5345                         available for activation, find out what connection it would like to
5346                         activate and do it
5347                 - (schedule_activate_check): new function; if a device can be activated
5348                         now, schedule the activation.  Each device may have only one
5349                         pending activation at a given time.
5350                 - (device_state_changed): if activation was canceled, try again,
5351                         possibly with another connection; if the device was activated,
5352                         update routing and DNS; if the device was deactivated, try again
5353                         with another connection
5354                 - (device_carrier_changed): if there is no carrier, deactivate the
5355                         device; otherwise schedule an activation check for the device
5356                 - (wireless_networks_changed): schedule an activation check for the
5357                         device
5358                 - (device_added): keep track of the signal handler IDs so they can
5359                         be removed when the device goes away
5360                 - (device_removed): remove any signal handlers that might be attached
5361                         to the device; update routing and DNS
5362                 - (schedule_activate_all): new function
5363                 - (connections_added, connection_added, connection_updated): when
5364                         connections change, schedule all devices for an activation check
5365                 - (connection_removed): when a device is deactivated because its
5366                         connection was removed, schedule another activation check for it
5367                 - (nm_policy_destroy): destroy pending activations and disconnect
5368                         all device signal handlers
5369
5370         * src/nm-manager.c
5371                 - (nm_manager_activate_device): if the device was already actived,
5372                         deactivate it
5373                 - (deactivate_old_device): remove
5374                 - (connection_added_default_handler, impl_manager_activate_device):
5375                         don't deactivate other devices when activating this one
5376
5377         * src/backends/NetworkManagerGentoo.c
5378           src/backends/NetworkManagerFrugalware.c
5379           src/backends/NetworkManagerPaldo.c
5380           src/backends/NetworkManagerRedHat.c
5381           src/backends/NetworkManagerSlackware.c
5382           src/backends/NetworkManagerArch.c
5383           src/backends/NetworkManagerSuSE.c
5384           src/backends/NetworkManagerDebian.c
5385                 - (nm_system_get_mtu): remove; MTU should be provided through the
5386                         distro's system settings service plugin instead
5387                 - (nm_system_device_add_default_route_via_device): remove
5388                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5389                 - (nm_system_device_replace_default_route): new function; call
5390                         generic implementation
5391
5392         * src/backends/NetworkManagerGeneric.c
5393           src/backends/NetworkManagerGeneric.h
5394                 - (nm_generic_device_add_default_route_via_device,
5395                    nm_generic_device_add_default_route_via_device_with_iface): remove
5396                 - (nm_generic_device_replace_default_route): replace the default route
5397                         with the given route via some gateway
5398
5399         * src/NetworkManagerSystem.c
5400           src/NetworkManagerSystem.h
5401                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5402                         to routing and DNS; but set the MTU here
5403                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5404                         ip_iface of the active device; use the standard MTU setting function
5405                 - (nm_system_set_mtu): remove
5406                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5407
5408 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5409
5410         Rework the interaction between ppp manager and pppd plugin. Register a well
5411         known DBUS service in manager and let the plugin call it's methods instead
5412         of listening plugin's signals.
5413
5414         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5415         of emitting signals.
5416
5417         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5418
5419         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5420
5421         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5422         nm_ppp_manager_start().
5423
5424         * introspection/nm-ppp-manager.xml: New file.
5425
5426         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5427         the case correctly where driver is trying to send -1 for the speed, which gets
5428         casted to u16 and thus is always > 0.
5429
5430 2008-03-07  Dan Williams  <dcbw@redhat.com>
5431
5432         * src/nm-hal-manager.c
5433                 - (nm_get_device_driver_name): use net.originating_device first, fall
5434                         back to physical device.  HAL has deprecated physical_device.
5435
5436         * libnm-glib/nm-device.c
5437                 - (get_product_and_vendor): use net.originating_device first, fall
5438                         back to physical device.  HAL has deprecated physical_device.
5439                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5440
5441 2008-03-07  Dan Williams  <dcbw@redhat.com>
5442
5443         * src/nm-netlink.c
5444                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5445                         last commit; fix that
5446                 - (get_link_cache): print error string
5447
5448 2008-03-07  Dan Williams  <dcbw@redhat.com>
5449
5450         * src/nm-netlink.c
5451                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5452                         don't need this hack any more (Benoit Boissinot)
5453
5454 2008-03-06  Dan Williams  <dcbw@redhat.com>
5455
5456         * autogen.sh
5457                 - Die gnome-common, die
5458
5459 2008-03-04  Dan Williams  <dcbw@redhat.com>
5460
5461         Patch from Michael Biebl <biebl@debian.org>
5462
5463         * NetworkManager.pc.in
5464                 - doesn't actually depend on dbus-1
5465
5466         * libnm-util/nm-utils.h
5467                 - remove unused #include <dbus/dbus.h>
5468
5469         * libnm-glib/libnm_glib.pc.in
5470                 - depends on glib and dbus-glib
5471
5472 2008-03-02  Dan Williams  <dcbw@redhat.com>
5473
5474         * src/NetworkManagerPolicy.c
5475                 - s/device_state_changed_idle_id/update_state_id/
5476
5477 2008-03-02  Dan Williams  <dcbw@redhat.com>
5478
5479         * src/nm-device.c
5480           src/nm-device.h
5481           src/nm-device-802-11-wireless.c
5482           src/nm-device-802-3-ethernet.c
5483           src/NetworkManagerPolicy.c
5484                 - s/link_active/carrier
5485                 - nm_device_set_active_link() -> nm_device_set_carrier()
5486                 - nm_device_has_active_link() -> nm_device_get_carrier()
5487
5488 2008-03-02  Dan Williams  <dcbw@redhat.com>
5489
5490         * system-settings/plugins/ifcfg-fedora/parser.c
5491                 - (make_wireless_setting): fail connection creation on missing SSID
5492
5493 2008-02-29  Dan Williams  <dcbw@redhat.com>
5494
5495         * src/NetworkManagerPolicy.c
5496                 - (nm_policy_device_change_check): ensure that a previously active
5497                         device with a system connection has a link before denying a switch
5498                         to a user connection
5499
5500 2008-02-29  Dan Williams  <dcbw@redhat.com>
5501
5502         * src/nm-device-802-11-wireless.c
5503                 - (link_timeout_cb): try again if scanning; deactivate the device when
5504                         activated if the link dies
5505                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5506                         15 seconds
5507
5508 2008-02-29  Dan Williams  <dcbw@redhat.com>
5509
5510         * src/nm-device-802-11-wireless.c
5511           src/nm-device-802-11-wireless.h
5512                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5513                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5514                 - (device_cleanup): reset the scan interval lower when the device
5515                         deactivates
5516                 - (can_scan): base decision mostly off device state, not supplicant
5517                         interface state since the supplicant interface state isn't a
5518                         great indicator of whether the device is active or not
5519                 - (request_wireless_scan): clean up; schedule the next scan here
5520                 - (schedule_scan): only back the scan interval off if a new scan
5521                         actually gets scheduled; and make scan intervals tighter when the
5522                         device is disconnected
5523                 - (supplicant_iface_state_cb_handler): fold in the bits of
5524                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5525                         interval to minimum
5526                 - (activation_success_handler): reset scan interval to something
5527                         reasonable 
5528
5529 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5530
5531         reviewed by: Steev <steev@steev.net>
5532
5533         * configure.in:
5534         * src/backends/NetworkManagerGentoo.c:
5535         (nm_system_restart_mdns_responder):
5536                 Howl is no longer a supported mDNS provider
5537
5538 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5539
5540         Get rid of a bunch of unused distro specific functions.
5541
5542 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5543
5544         Implement suse plugin for system settings daemon.
5545
5546         * system-settings/plugins/ifcfg-suse/*: Implement.
5547
5548         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5549         suse.
5550
5551         * configure.in: Check (without failing) for gio.
5552         Create ifcfg-suse plugin's Makefile.
5553
5554 2008-02-20  Dan Williams  <dcbw@redhat.com>
5555
5556         * libnm-util/nm-connection.c
5557           libnm-util/nm-connection.h
5558                 - (nm_connection_compare): accept compare flags and pass them to the
5559                         setting compare function
5560
5561         * libnm-util/nm-setting.c
5562           libnm-util/nm-setting.h
5563                 - (nm_setting_compare): accept compare flags; ignore properties that are
5564                         marked fuzzy
5565
5566         * libnm-util/nm-setting-connection.c
5567           libnm-util/nm-setting-wireless.c
5568           libnm-util/nm-setting-ppp.c
5569           libnm-util/nm-setting-wired.c
5570                 - Mark some setting properties as ignorable when doing a fuzzy compare
5571
5572         * src/nm-device.c
5573                 - (device_activation_precheck): use exact compare
5574
5575 2008-02-20  Dan Williams  <dcbw@redhat.com>
5576
5577         * src/NetworkManagerPolicy.c
5578                 - (nm_policy_device_change_check): get scope off the connection, not
5579                         using the manager helper
5580
5581         * src/nm-manager.c
5582           src/nm-manager.h
5583                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5584                 - (connection_get_settings_cb): set scope and path on connection, not
5585                         using GObject data items
5586                 - (get_connection_for_proxy): don't need to return path, since that
5587                         can be gotten from the connection
5588                 - (get_connection_for_proxy): get path off the connection, not from
5589                         parameters
5590                 - (connection_removed_cb, connection_updated_cb): don't need to get
5591                         path from get_connection_for_proxy(); get scope off the connection
5592                         instead of using GObject data items
5593                 - (connection_added_default_handler, add_one_connection_element): use
5594                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5595                 - (nm_manager_get_connection_dbus_path): remove
5596                 - (nm_manager_get_connection_scope): remove
5597
5598 2008-02-20  Dan Williams  <dcbw@redhat.com>
5599
5600         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5601                 on confusing names
5602
5603         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5604                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5605                 NMExportedConnection
5606
5607         * Internally rename NMConnectionType -> NMConnectionScope
5608
5609         * Provide default implementations of the 'get_id' and 'get_settings' methods
5610                 of NMExportedConnection
5611
5612 2008-02-15  Dan Williams  <dcbw@redhat.com>
5613
5614         * src/nm-device-802-11-wireless.c
5615                 - (device_cleanup): release the AP list here too so that the AP list
5616                         doesn't survive across suspend/resume and up/down.  There is some
5617                         room for optimization, for example blow the list away when the card
5618                         brought back up, but only if the device has only been down for a
5619                         minute or more.
5620
5621 2008-02-15  Dan Williams  <dcbw@redhat.com>
5622
5623         * src/nm-hal-manager.c
5624                 - (modem_device_creator): recognize new HAL modem capabilities
5625
5626 2008-02-12  Dan Williams  <dcbw@redhat.com>
5627
5628         * system-settings/plugins/ifcfg-fedora/plugin.c
5629                 - (watch_path): handle IN_DELETE_SELF too
5630                 - (handle_connection_changed): notify when removing a connection
5631                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5632                         case of a file moving out of the profile directory
5633
5634 2008-02-12  Dan Williams  <dcbw@redhat.com>
5635
5636         * system-settings/plugins/ifcfg-fedora/parser.c
5637                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5638
5639 2008-02-12  Dan Williams  <dcbw@redhat.com>
5640
5641         * libnm-util/nm-utils.c
5642                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5643                         just any empty array
5644
5645 2008-02-12  Dan Williams  <dcbw@redhat.com>
5646
5647         * system-settings/src/nm-system-config-interface.c
5648           system-settings/src/nm-system-config-interface.h
5649                 - (load_connections): get_connections() should now return an allocated
5650                         GSList that the system settings service will free
5651
5652         * system-settings/plugins/ifcfg-fedora/plugin.c
5653           system-settings/plugins/ifcfg-fedora/parser.h
5654           system-settings/plugins/ifcfg-fedora/parser.c
5655                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5656                         in the profile directory, handle resolv.conf file changes
5657
5658 2008-02-10  Dan Williams  <dcbw@redhat.com>
5659
5660         * src/nm-device-802-3-ethernet.c
5661                 - (real_bring_up): save the supplicant interface state signal id
5662                 - (real_bring_down): disconnect from the supplicant interface state
5663                         signal
5664
5665 2008-02-07  Dan Williams  <dcbw@redhat.com>
5666
5667         * initscript/RedHat/NetworkManager.in
5668           initscript/RedHat/NetworkManagerDispatcher.in
5669                 - Add new-style LSB init headers
5670
5671 2008-02-07  Dan Williams  <dcbw@redhat.com>
5672
5673         * system-settings/src/dbus-settings.c
5674           system-settings/src/dbus-settings.h
5675                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5676                         table of secrets
5677                 - (connection_settings_get_secrets): consolidate error returns into
5678                         one place; use the new get_secrets() plugin interface function to
5679                         get secrets from the plugin itself rather than using GObject data
5680                         magic
5681
5682         * system-settings/src/main.c
5683                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5684                    load_connections): keep a private list of the plugin-returned
5685                         connections, don't use the plugin's GSList
5686
5687         * system-settings/plugins/ifcfg-fedora/plugin.c
5688                 - (watch_path): watch the path, not the filename (duh)
5689                 - (reload_all_connections): use the direct hash/equal functions; the
5690                         ones for int aren't appropriate here
5691                 - (get_secrets, system_config_interface_init): implement the
5692                         get_secrets() function
5693                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5694                         now in the connection's ConnectionData instead of being a GObject
5695                         data property
5696                 - (handle_profile_item_changed): ifcfg file path is now in the
5697                         connection's ConnectionData instead of being a GObject data property;
5698                         be sure to copy secrets over from the new connection to the existing
5699                         connection when updating the connection's settings
5700                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5701                         file descriptor
5702
5703         * system-settings/plugins/ifcfg-fedora/parser.c
5704           system-settings/plugins/ifcfg-fedora/parser.h
5705                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5706                    connection_data_copy_secrets, connection_data_free,
5707                    connection_data_add): new functions; connection data manipulation
5708                 - (make_wireless_security_setting): stuff secrets into the
5709                         connection data, not as GObject data items; make sure to close
5710                         the keys ifcfg file
5711                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5712                         connection data to the connection
5713
5714 2008-02-07  Dan Williams  <dcbw@redhat.com>
5715
5716         * system-settings/src/nm-system-config-interface.c
5717           system-settings/src/nm-system-config-interface.h
5718                 - Add a get_secrets() interface function to retrieve secrets for a
5719                         specific setting of a specific connection.  Document the interface
5720                         a bit more too.
5721
5722 2008-02-07  Dan Williams  <dcbw@redhat.com>
5723
5724         * src/nm-device-802-11-wireless.c
5725                 - (handle_auth_or_fail): new function; consolidate device activation
5726                         failure check after a certain number of failures getting secrets
5727                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5728                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5729                         the connection if secrets were requested more than a few times
5730                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5731                         tries here; otherwise they are cleared before the IP configure
5732                         timeout, which happens with open system WEP when key is wrong
5733                 - (activation_success_handler): clear wireless secrets tries here too
5734
5735 2008-02-07  Dan Williams  <dcbw@redhat.com>
5736
5737         * src/NetworkManagerPolicy.c
5738                 - (connection_updated): clear invalid tag when connection gets updated
5739                         to allow that connection to be tried again
5740                 - (nm_policy_new): save signal ids so they can be disconnected when
5741                         the policy is destroyed
5742                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5743                         and disconnect all signals from the manager object so that none
5744                         of the policy functions gets called after the policy is destroyed
5745
5746 2008-02-06  Dan Williams  <dcbw@redhat.com>
5747
5748         * src/nm-manager.c
5749                 - (finalize): remove devices a bit earlier; clean up system settings
5750                         poke
5751                 - (nm_manager_name_owner_changed): clean up system settings poke when
5752                         the service appears, and try to restart it if it fails
5753                 - (poke_system_settings_daemon_cb): try to get the system settings
5754                         service started through D-Bus service activation
5755                 - (initial_get_connections): start the system settings daemon if it's
5756                         not already running
5757
5758 2008-02-05  Dan Williams  <dcbw@redhat.com>
5759
5760         * src/supplicant-manager/nm-supplicant-config.c
5761                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5762                         broadcast networks too
5763
5764 2008-02-04  Dan Williams  <dcbw@redhat.com>
5765
5766         * system-settings/plugins/ifcfg-fedora/parser.c
5767                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5768                         need key_mgmt set too
5769                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5770                         .bak files; ensure that an error is set whenever NULL gets returned
5771
5772 2008-02-04  Dan Williams  <dcbw@redhat.com>
5773
5774         * system-settings/src/Makefile.am
5775                 - Install D-Bus service activation file for the system settings
5776                         service
5777
5778         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5779                 - D-Bus service activation file for system settings service
5780
5781 2008-02-04  Dan Williams  <dcbw@redhat.com>
5782
5783         * system-settings/src/main.c
5784                 - (parse_config_file): parse a config file
5785                 - (main): accept --config option and read plugins from config file
5786
5787 2008-02-04  Dan Williams  <dcbw@redhat.com>
5788
5789         * system-settings/plugins/ifcfg-fedora/plugin.c
5790                 - Change reported name to 'ifcfg-fedora'
5791                 - Use IFCFG_PLUGIN_NAME
5792
5793         * system-settings/plugins/ifcfg-fedora/plugin.c
5794                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5795
5796 2008-02-04  Dan Williams  <dcbw@redhat.com>
5797
5798         * system-settings/plugins/ifcfg-fedora/parser.c
5799                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5800                 - (make_connection_setting): use get_ifcfg_name()
5801                 - (make_wireless_security_setting): handle shadow key files
5802                 - (get_one_wep_key): treat empty string as NULL
5803
5804 2008-02-04  Dan Williams  <dcbw@redhat.com>
5805
5806         * src/supplicant-manager/nm-supplicant-manager.c
5807                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5808                         glib automatically reschedule
5809                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5810                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5811                         the supplicant
5812
5813 2008-02-01  Dan Williams  <dcbw@redhat.com>
5814
5815         * src/NetworkManagerPolicy.c
5816                 - (device_state_changed): schedule a change check when a device gets
5817                         deactivated so something happens if you disconnect GSM/CDMA
5818
5819 2008-01-31  Dan Williams  <dcbw@redhat.com>
5820
5821         * src/nm-device-802-11-wireless.h
5822           src/nm-device-802-11-wireless.c
5823                 - (ap_list_get_ap_by_ssid, is_associated,
5824                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5825                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5826                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5827                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5828                         function
5829
5830 2008-01-30  Dan Williams  <dcbw@redhat.com>
5831
5832         * system-settings/plugins/ifcfg
5833         * system-settings/plugins/ifcfg-fedora
5834                 - Move the ifcfg plugin to ifcfg-fedora
5835
5836 2008-01-24  Dan Williams  <dcbw@redhat.com>
5837
5838         * libnm-glib/nm-device-802-11-wireless.c
5839                 - (get_access_point): move the "/" check here; check for invalid path
5840                         too
5841                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5842                         to get_access_point()
5843                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5844                         to send signals for non-existent access points
5845
5846 2008-01-24  Dan Williams  <dcbw@redhat.com>
5847
5848         * libnm-glib/nm-device-802-11-wireless.c
5849                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5850
5851 2008-01-23  Dan Williams  <dcbw@redhat.com>
5852
5853         * libnm-glib/libnm_glib.c
5854                 - (libnm_glib_init): make thread joinable
5855                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5856
5857 2008-01-23  Dan Williams  <dcbw@redhat.com>
5858
5859         * test/libnm_glib_test.c
5860                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5861                 - (main): set up signal handlers; call libnm_glib_shutdown
5862
5863 2008-01-21  Dan Williams  <dcbw@redhat.com>
5864
5865         * include/NetworkManager.h
5866                 - Add CDMA mobile broadband card device type
5867
5868         * src/nm-hal-manager.c
5869                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5870                         must now be tagged with 'cdma' or 'gsm' capability
5871
5872         * src/nm-cdma-device.c
5873           src/nm-cdma-device.h
5874           src/Makefile.am
5875                 - Add the CDMA mobile broadband card device class
5876
5877         * libnm-util/nm-connection.c
5878                 - (register_default_settings): add NMSettingCdma
5879
5880         * libnm-util/nm-setting-cdma.c
5881           libnm-util/nm-setting-cdma.h
5882           libnm-util/Makefile.am
5883                 - Add the CDMA mobile broadband card setting class
5884
5885         * libnm-glib/nm-cdma-device.c
5886           libnm-glib/nm-cdma-device.h
5887           libnm-glib/Makefile.am
5888                 - Add the CDMA mobile broadband card GLib proxy class
5889
5890         * libnm-glib/nm-client.c
5891                 - (get_device): handle CDMA devices too
5892
5893 2008-01-21  Dan Williams  <dcbw@redhat.com>
5894
5895         * src/ppp-manager/nm-ppp-manager.c
5896                 - (ip4_config_get): set peer address too
5897
5898         * src/ppp-manager/nm-pppd-plugin.c
5899                 - (nm_ip_up): try harder to get the peer's address
5900
5901         * src/NetworkManagerSystem.c
5902                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5903                         address, use that too.  Otherwise, some PPP connections won't work.
5904
5905 2008-01-19  Dan Williams  <dcbw@redhat.com>
5906
5907         * src/NetworkManagerPolicy.c
5908                 - (nm_policy_device_change_check): system connections override user
5909                         connections; don't activate a user connection if there's a currently
5910                         active system connection, and new, better system connections always
5911                         interrupt user connections
5912
5913 2008-01-19  Dan Williams  <dcbw@redhat.com>
5914
5915         * src/nm-manager.h
5916                 - (nm_manager_get_connection_type): new function
5917
5918 2008-01-19  Dan Williams  <dcbw@redhat.com>
5919
5920         * src/nm-device-802-11-wireless.c
5921                 - (real_get_best_connection): collapse find_best_connection() into this
5922                         function
5923
5924 2008-01-19  Dan Williams  <dcbw@redhat.com>
5925
5926         * src/nm-device-802-3-ethernet.c
5927                 - (real_get_best_connection): collapse find_best_connection() into this
5928                         function
5929
5930 2008-01-18  Dan Williams  <dcbw@redhat.com>
5931
5932         * src/nm-device-802-3-ethernet.c
5933                 - (find_best_connection): check MAC address too
5934                 - (real_get_best_connection): let autoconnect=True connections activate
5935                         for devices that don't have carrier detection
5936
5937         * src/nm-device-802-11-wireless.c
5938                 - (find_best_connection): check MAC address too
5939
5940 2008-01-18  Dan Williams  <dcbw@redhat.com>
5941
5942         * system-settings/plugins/ifcfg/parser.c
5943                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5944
5945 2008-01-17  Dan Williams  <dcbw@redhat.com>
5946
5947         * src/nm-device-802-3-ethernet.c
5948                 - (nm_device_802_3_ethernet_carrier_on,
5949                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5950                         carrier events that might come in for devices that don't support
5951                         carrier detect
5952
5953 2008-01-17  Dan Williams  <dcbw@redhat.com>
5954
5955         * src/nm-device-interface.c
5956                 - (nm_device_interface_check_connection_conflicts): need to actually
5957                         get the interface, not cast to the object
5958
5959         * src/nm-device.c
5960                 - (nm_device_check_connection_conflicts): need to get the device class,
5961                         not cast the device to the device class
5962
5963 2008-01-17  Dan Williams  <dcbw@redhat.com>
5964
5965         * src/nm-device-802-11-wireless.c
5966                 - (real_check_connection_conflicts): ignore connections that aren't
5967                         wireless connections
5968
5969 2008-01-17  Dan Williams  <dcbw@redhat.com>
5970
5971         * src/NetworkManagerPolicy.c
5972                 - (nm_policy_device_change_check): clear change check idle here
5973                 - (device_change_check_done): remove
5974                 - (schedule_change_check): simplify
5975
5976 2008-01-17  Dan Williams  <dcbw@redhat.com>
5977
5978         * src/nm-manager.c
5979                 - (check_connection_allowed): take an NMDeviceInterface instead of
5980                         an NMDevice object as an argument
5981                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5982                         check_connection_allowed()
5983
5984 2008-01-13  Dan Williams  <dcbw@redhat.com>
5985
5986         * libnm-glib/nm-device-802-11-wireless.c
5987                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5988
5989 2008-01-12  Dan Williams  <dcbw@redhat.com>
5990
5991         * src/nm-device-802-11-wireless.c
5992                 - (activation_success_handler): if a match was found in the scan list
5993                         and that match is a hidden AP, update that AP's SSID
5994
5995 2008-01-11  Dan Williams  <dcbw@redhat.com>
5996
5997         * src/NetworkManagerAP.c
5998                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5999
6000         * src/nm-device-802-11-wireless.c
6001                 - (get_active_ap): do two passes over the scan list if the caller
6002                         requests that hidden APs get matched too; during the second pass
6003                         when matching hidden APs, ignore the SSID since hidden APs in the
6004                         scan list don't have an SSID yet
6005                 - (periodic_update): move some checks to
6006                         nm_device_802_11_periodic_update() because not all callers need them
6007                 - (nm_device_802_11_periodic_update): move some checks here from
6008                         perodic_update()
6009                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6010                         matching on incoming scan results, because the fake AP's flags
6011                         might be slightly different (yet still compatible) with the incoming
6012                         scan result's flags and they might actually be the same AP; update
6013                         the rate on merged APs too
6014                 - (activation_success_handler): update the frequency of the fake AP
6015                         on successful connection; match hidden APs too since if the
6016                         current AP is fake, there might already be a scan result in the
6017                         scan list for the desired AP, just without it's SSID filled in yet
6018
6019 2008-01-10  Dan Williams  <dcbw@redhat.com>
6020
6021         * src/NetworkManagerAP.c
6022                 - (foreach_property_cb): catch more hidden SSID formats
6023
6024 2008-01-10  Dan Williams  <dcbw@redhat.com>
6025
6026         Fix gnome.org #464215.  Requires the kernel patch titled
6027         "Introduce WEXT scan capabilities" but will handle the patch not being
6028         present, you'll just continue to have problems with hidden SSIDs when
6029         using mac80211-based drivers.
6030
6031         * src/supplicant-manager/nm-supplicant-config.h
6032           src/supplicant-manager/nm-supplicant-config.c
6033                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6034                         whether the driver supports SSID scans or not.  If it does, and if
6035                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6036
6037         * src/nm-device-802-11-wireless.c
6038                 - (constructor): check whether or not the driver supports SSID scans
6039                 - (build_supplicant_config): pass driver SSID scan capability when
6040                         building the wireless bits of the supplicant config
6041
6042 2008-01-09  Dan Williams  <dcbw@redhat.com>
6043
6044         * src/nm-device.c
6045           src/nm-device.h
6046                 - (device_activation_precheck, check_connection_complete): remove this
6047                         virtual function; incomplete connections should be invalid by
6048                         definition, complete-ness should be checked in the setting's
6049                         verify function
6050
6051         * src/nm-serial-device.c
6052           src/nm-gsm-device.c
6053                 - (real_check_connection_complete): remove
6054
6055         * libnm-util/nm-setting-serial.c
6056                 - (verify): new function; ensure there is a PPP setting too
6057
6058         * libnm-util/nm-setting-gsm.c
6059                 - (verify): ensure there is a serial setting too
6060
6061 2008-01-06  Dan Williams  <dcbw@redhat.com>
6062
6063         * src/dhcp-manager/nm-dhcp-manager.c
6064                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6065                         (gnome.org #332953)
6066
6067 2008-01-04  Dan Williams  <dcbw@redhat.com>
6068
6069         * src/named-manager/nm-named-manager.c
6070                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6071                         nameservers if the secondary config doesn't have any
6072                         (gnome.org #346833)
6073
6074 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6075
6076         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6077         with G_PARAM_CONSTRUCT so that they get the default values.
6078
6079         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6080         the monitoring device and prints out the output for now. Or more precicely, doesn't
6081         do absolutely anything right now since the montoring device argument is never set.
6082
6083         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6084         requires it's own knob to turn it on.
6085         (config_fd): Add NMSettingSerial to the arguments list.
6086         (nm_serial_device_open): Ditto.
6087         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6088         (nm_serial_device_get_io_channel): Implement.
6089
6090         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6091         a new reference every time (and forgetting to release it sometimes) is a pain and
6092         it's not like NMManager could work without dbus.
6093         (nm_manager_add_device): Register the added device on dbus here.
6094
6095         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6096         device.
6097
6098         * src/nm-device.c (constructor): Don't export the device here, instead export
6099         it when it's added to the NMManager's device list.
6100
6101 2007-12-31  Dan Williams  <dcbw@redhat.com>
6102
6103         * src/nm-device-interface.c
6104           src/nm-device-interface.h
6105                 - (nm_device_interface_check_connection_conflicts): new function
6106
6107         * src/nm-device.c
6108           src/nm-device.h
6109                 - (nm_device_check_connection_conflicts): new function
6110                 - (device_activation_precheck): don't require subclasses to implement
6111                         check_connection_complete()
6112                 - check_connection() -> check_connection_complete()
6113
6114         * src/nm-device-802-11-wireless.c
6115                 - (real_check_connection): remove; unused
6116                 - (real_check_connection_conflicts): implement, handle lockdown for
6117                         system connections
6118
6119         * src/nm-device-802-3-ethernet.c
6120                 - (real_check_connection): remove; unused
6121
6122         * src/nm-manager.c
6123                 - (check_connection_allowed): new function
6124                 - (nm_manager_activate_device): ensure the connection being requested
6125                         is allowed to be activated
6126
6127         * src/nm-serial-device.c
6128           src/nm-gsm-device.c
6129                 - real_check_connection() -> real_check_connection_complete()
6130
6131 2007-12-27  Dan Williams  <dcbw@redhat.com>
6132
6133         * src/nm-device-interface.c
6134           src/nm-device-interface.h
6135                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6136                         normalize and expand errors
6137                 - (nm_device_interface_init): register errors so they can be marshalled
6138                         through dbus-glib
6139                 - (nm_device_interface_activate): ensure that failure of activation
6140                         returns an error
6141
6142         * src/nm-device.c
6143           src/nm-device.h
6144                 - (device_activation_precheck): implementations of check_connection()
6145                         now take a GError and must fill it in if the check fails.  Return
6146                         more descriptive error if the requested connection is already
6147                         activating
6148                 - (nm_device_activate): actually try to return descriptive errors on
6149                         failures
6150
6151         * src/nm-device-802-11-wireless.c
6152           src/nm-device-802-3-ethernet.c
6153           src/nm-serial-device.c
6154           src/nm-gsm-device.c
6155                 - (real_check_connection): return more descriptive errors on failure
6156
6157         * src/NetworkManagerPolicy.c
6158                 - (nm_policy_device_change_check): print activation errors in the logs
6159
6160         * src/nm-manager.c
6161                 - (nm_manager_error_quark, nm_manager_error_get_type,
6162                    nm_manager_class_init): new errors
6163                 - (nm_manager_activate_device): handle errors
6164                 - (nm_manager_error_new): removed
6165                 - (wait_for_connection_expired, connection_added_default_handler,
6166                    impl_manager_activate_device): better error handling
6167
6168 2007-12-27  Dan Williams  <dcbw@redhat.com>
6169
6170         Fixes gnome.org #466954
6171
6172         * src/supplicant-manager/nm-supplicant-settings-verify.c
6173                 - Allow 'frequency' network property
6174
6175         * src/supplicant-manager/nm-supplicant-config.c
6176           src/supplicant-manager/nm-supplicant-config.h
6177                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6178                         for callers to specify the frequency an Ad-Hoc network should operate
6179                         on.  Some drivers require this to successfully create an Ad-Hoc
6180                         network.
6181
6182         * src/nm-device-802-11-wireless.c
6183                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6184                         guint32 value in MHz
6185                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6186                         iw_freq_to_uint32()
6187                 - (find_supported_frequency): new function; find a free supported
6188                         frequency for a user-created Ad-Hoc network
6189                 - (build_supplicant_config): if no frequency was specified for a user-
6190                         created Ad-Hoc network, find a free one to use
6191                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6192                         a specific object as user-created
6193
6194 2007-12-27  Dan Williams  <dcbw@redhat.com>
6195
6196         * libnm-util/nm-utils.c
6197           libnm-util/nm-utils.h
6198                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6199                         for adhoc networks
6200
6201 2007-12-24  Dan Williams  <dcbw@redhat.com>
6202
6203         * libnm-util/nm-setting-wireless.c
6204                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6205                         185, 187, 188, 192, and 196
6206
6207 2007-12-24  Dan Williams  <dcbw@redhat.com>
6208
6209         * src/nm-device-802-11-wireless.c
6210                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6211                         a channel # instead of a frequency
6212
6213 2007-12-24  Dan Williams  <dcbw@redhat.com>
6214
6215         * src/NetworkManagerAP.c
6216           src/NetworkManagerAP.h
6217                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6218                 - (freq_to_channel): handle split band tables
6219                 - (channel_to_freq): handle split band tables, take a band argument
6220
6221 2007-12-24  Dan Williams  <dcbw@redhat.com>
6222
6223         * libnm-util/nm-setting-connection.h
6224           libnm-util/nm-setting-connection.c
6225                 - Add 'lockdown' member
6226
6227 2007-12-22  Dan Williams  <dcbw@redhat.com>
6228
6229         * libnm-util/nm-setting-wireless.c
6230                 - (nm_setting_wireless_class_init): add missing 'rate' property
6231                         specification
6232
6233 2007-12-18  Dan Williams  <dcbw@redhat.com>
6234
6235         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6236
6237         * src/nm-netlink-monitor.c
6238           src/nm-netlink-monitor.h
6239                 - Remove handrolled netlink, use libnl instead
6240
6241         * src/nm-device-802-3-ethernet.c
6242                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6243                    nm_device_802_3_ethernet_carrier_on): use new names
6244
6245 2007-12-17  Dan Williams  <dcbw@redhat.com>
6246
6247         * configure.in
6248                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6249                         and fixes memory leaks)
6250
6251         * src/nm-netlink.c
6252                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6253                         automatically handle the netlink PID
6254
6255 2007-12-17  Dan Williams  <dcbw@redhat.com>
6256
6257         Patch from Michael Biebl <biebl@debian.org>
6258
6259         * configure.in
6260           src/ppp-manager/Makefile.am
6261                 - fix up install dir of pppd plugin
6262                 - clean up configure.in a bit
6263
6264 2007-12-12  Dan Williams  <dcbw@redhat.com>
6265
6266         * system-settings/src/nm-system-settings.conf
6267                 - Allow non-root clients (like the applet) to read settings
6268
6269 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6270
6271         * Replace all occurences of 'UMTS' with 'GSM'.
6272
6273 2007-12-07  Dan Williams  <dcbw@redhat.com>
6274
6275         * src/nm-serial-device.c
6276                 - (real_is_up): serial devices are always "up"
6277
6278 2007-12-07  Dan Williams  <dcbw@redhat.com>
6279
6280         * src/nm-netlink.c
6281           src/NetworkManagerSystem.c
6282                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6283                         twice (gnome.org #491047)
6284                 - Make more robust against allocation-related failures should they occur
6285
6286 2007-12-07  Dan Williams  <dcbw@redhat.com>
6287
6288         Noticed by Christian Persch <chpe@gnome.org>
6289
6290         Always chain up to parent object in dispose and finalize handlers.
6291                 (gnome.org #433112)
6292
6293 2007-12-07  Dan Williams  <dcbw@redhat.com>
6294
6295         * src/nm-device-802-11-wireless.c
6296                 - Wrap #include of linux/mii.h to fix redefined structures due to
6297                         incorrect kernel headers (gnome.org #350061)
6298
6299 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6300
6301         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6302         before doing anything else.
6303         (init_modem): Move modem initialization here.
6304
6305         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6306         (nm_serial_device_flash): Implement.
6307
6308         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6309         changes signal is "StateChanged" and not "Status".
6310         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6311
6312 2007-12-06  Dan Williams  <dcbw@redhat.com>
6313
6314         * src/supplicant-manager/nm-supplicant-config.c
6315                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6316                         to only send some options when they make sense; also send phase2
6317                         option to the supplicant (possible fix for rh #399631)
6318
6319 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6320
6321         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6322         arguments: This whole file shouldn't really know anything about NMDevices, it
6323         should deal only with device interfaces. Devices might have different ifaces for
6324         different stuff and this place shouldn't know anything about it.
6325
6326         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6327         (global_state_changed): Implement. In the current NM it's not really important,
6328         but will be required in the case of multiple active devices. (Or even better,
6329         if stuff like that gets moved out from NM).
6330
6331         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6332         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6333         instead.
6334
6335         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6336         devices like serial devices (ttyS0 and ppp0 for example).
6337         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6338         set.
6339         (nm_device_set_ip_iface): Implement.
6340         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6341         after setting ip4_config from here ...
6342         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6343         than this function should call nm_system_device_set_from_ip4_config() because no
6344         other code has enough information on which arguments to use. So instead, other code
6345         could just set the new ip4 config using this function and everyone is happy.
6346
6347         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6348         if we happen to get deactivated while something is pending.
6349         (automatic_registration): Handle the response that indicates pending network
6350         registration and wait until the pending registration is done.
6351         (real_deactivate_quickly): If there's a pending operation, cancel it.
6352
6353         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6354         (real_deactivate_quickly): ... and remove it when it's down.
6355         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6356         it if needed.
6357         (nm_serial_device_wait_for_reply): Ditto.
6358
6359 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6360
6361         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6362         (get_network_done): Remove newline, nm_info() does it already.
6363         (real_act_stage1_prepare): Turn the modem echo off.
6364
6365         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6366         device, set the route to the device interface. This is a hack.
6367
6368         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6369         return, no need for a new-line.
6370         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6371         Change the device iface here (ugh).
6372         (real_act_stage4_get_ip4_config): Implement.
6373         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6374         Restore the device iface.
6375
6376         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6377         device is not wired or wireless (eg, automatically upped) device.
6378
6379         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6380         it isn't.
6381         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6382
6383         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6384         before calling it's is_device_fn().
6385
6386 2007-12-05  Dan Williams  <dcbw@redhat.com>
6387
6388         * libnm-util/nm-utils.c
6389                 - (nm_utils_register_value_transformations,
6390                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6391                         GHashTables of GValues too
6392
6393 2007-12-04  Dan Williams  <dcbw@redhat.com>
6394
6395         * initscript/RedHat/NetworkManager.in
6396                 - No longer start named; it's D-Bus interface is going away
6397
6398 2007-12-04  Dan Williams  <dcbw@redhat.com>
6399
6400         Patch from Michael Biebl <biebl@debian.org>
6401
6402         * system-settings/plugins/ifcfg/Makefile.am
6403           system-settings/src/main.c
6404           system-settings/src/Makefile.am
6405                 - Put system settings plugins in NM plugins dir
6406
6407         * src/ppp-manager/Makefile.am
6408           src/ppp-manager/nm-ppp-manager.c
6409                 - Move pppd plugin to NM plugins dir
6410
6411 2007-12-04  Dan Williams  <dcbw@redhat.com>
6412
6413         * libnm-util/nm-setting-vpn-properties.h
6414                 - Clarify usage of the 'data' member of the setting
6415
6416         * libnm-util/nm-setting-vpn-properties.c
6417                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6418                 - (set_property): just remove all the settings; don't recreate the has
6419                 - (update_one_secret): don't need to create the hash table here since
6420                         it should always be present
6421
6422 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6423
6424         Implement PIN and PUK requesting.
6425
6426         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6427         (enter_pin): Handle PIN and PUK requests.
6428         (real_act_stage1_prepare): Clear the secret type.
6429         (real_connection_secrets_updated): Implement this class method to get
6430         notified when new secrets arrive.
6431         (nm_umts_device_class_init): Add private data back to the umts device class
6432         to store the required secret type.
6433
6434 2007-12-01  Dan Williams  <dcbw@redhat.com>
6435
6436         * system-settings/plugins/ifcfg/parser.c
6437                 - (parser_parse_file): don't try to verify NULL connections
6438
6439 2007-12-01  Dan Williams  <dcbw@redhat.com>
6440
6441         * system-settings/src/main.c
6442                 - (load_connections, add_connection_to_settings): actually export
6443                         plugin-provided connections over D-Bus so NM can get them
6444
6445 2007-12-01  Dan Williams  <dcbw@redhat.com>
6446
6447         * system-settings/plugins/ifcfg/parser.c
6448           system-settings/plugins/ifcfg/parser.h
6449           system-settings/plugins/ifcfg/plugin.c
6450                 - Hook up more inotify bits (untested)
6451
6452 2007-11-29  Dan Williams  <dcbw@redhat.com>
6453
6454         * system-settings/src/nm-system-config-interface.h
6455           system-settings/src/nm-system-config-interface.c
6456                 - (nm_system_config_interface_init,
6457                    nm_system_config_interface_get_connections): add
6458
6459         * system-settings/src/main.c
6460                 - (load_plugins, load_connections, main): use a GSList for plugins
6461                         to ensure priority ordering
6462
6463         * system-settings/plugins/ifcfg/parser.c
6464                 - (ifcfg_error_quark): move to plugin.c, and rename
6465
6466         * system-settings/plugins/ifcfg/plugin.h
6467           system-settings/plugins/ifcfg/plugin.c
6468                 - (ifcfg_plugin_error_quark): move here from parser.c
6469                 - rework connection loading and initialization
6470                 - Add preliminary inotify support for network profile config file
6471
6472 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6473
6474         Merge the beginnings of the new GSM card support.
6475
6476         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6477         ppp watch source before killing pppd - If this happens from g_object_unref()
6478         then the ppp manager is already destroyed by the time the watch callback runs.
6479
6480         * src/nm-hal-manager.c: Add a device_type_name string to the device
6481         creators, so that we can print a nice human readable string when a
6482         device is added.
6483
6484         * src/nm-umts-device.c (automatic_registration_get_network): Query
6485         for the activated network, not much is done with the result thought.
6486
6487         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6488         (ppp_ip4_config): Change the device state to activated here for now.
6489         (real_check_connection): Make sure the connection includes ppp setting.
6490
6491         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6492
6493         * libnm-glib/Makefile.am: Add the new files to build.
6494
6495         * libnm-glib/nm-umts-device.c: 
6496         * libnm-glib/nm-umts-device.h: Implement.
6497
6498 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6499
6500         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6501         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6502
6503         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6504         the timeout source - this function is only called when the timeout source has
6505         been removed.
6506         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6507         to be big enough to contain the terminating zero element as well.
6508         The timeout argument is meant to be in seconds now.
6509         (real_deactivate_quickly): Implement.
6510
6511         * src/NetworkManager.conf: Allow root to own 
6512         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6513
6514         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6515         (not unsigned ints).
6516
6517         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6518         small issue with parity bounds - capital letters have lower ascii codes
6519         than lower case letters.
6520
6521         * libnm-util/nm-connection.c (register_default_settings): Register serial
6522         and umts settings.
6523
6524 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6525
6526         Remove the "index" property from devices as not all device types have this.
6527
6528         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6529
6530         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6531         (wired_device_creator): Get the device interface from hal to create the device.
6532         (wireless_device_creator): Ditto.
6533
6534         * src/nm-device.c (nm_device_init): Remove the index member.
6535         (constructor): Remove the checks for index property, make interface property
6536         a require constructor property.
6537         Use the HAL udi for DBus path for devices.
6538         (nm_device_get_index): Remove.
6539         (set_property): Remove index handling.
6540         (get_property): Ditto.
6541         (nm_device_get_dbus_path): Remove.
6542
6543         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6544         property.
6545
6546         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6547         Access the device index through it's interface.
6548         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6549         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6550         index argument. Add interface argument.
6551
6552         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6553         the useless test_dev argument. Remove index argument. Add interface arugment.
6554
6555         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6556         device index through interface.
6557         (nm_system_set_mtu): Ditto.
6558
6559         * introspection/nm-device.xml: Remove the "Index" property.
6560
6561 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6562
6563         * src/nm-serial-device.c: 
6564         * src/nm-serial-device.c: 
6565         * src/nm-umts-device.c:
6566         * src/nm-umts-device.h: Implement.
6567
6568         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6569         allocated by libhal.
6570         (modem_device_creator): Implement.
6571         (register_built_in_creators): Register the modem creator.
6572
6573         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6574         Remove the unused test_dev argument.
6575
6576         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6577
6578         * src/Makefile.am: Add new files to build.
6579         Link in ppp-manager.
6580
6581         * libnm-util/nm-setting-umts.c: 
6582         * libnm-util/nm-setting-umts.h: 
6583         * libnm-util/nm-setting-serial.c: 
6584         * libnm-util/nm-setting-serial.h: Implement.
6585
6586         * libnm-util/Makefile.am: Add new files to build.
6587
6588 2007-11-28  Dan Williams  <dcbw@redhat.com>
6589
6590         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6591
6592         Support DHCP-provided static routes.
6593
6594         * src/nm-ip4-config.h
6595           src/nm-ip4-config.c
6596                 - Add get/set functions for static routes
6597
6598         * src/dhcp-manager/nm-dhcp-manager.c
6599                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6600                         DHCP response
6601
6602         * src/NetworkManagerSystem.c
6603                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6604                         interface when applying the IP4Config
6605
6606 2007-11-28  Dan Williams  <dcbw@redhat.com>
6607
6608         * src/nm-device-802-11-wireless.c
6609                 - (real_act_stage1_prepare): mark APs created for hidden networks
6610                         as non-broadcasting
6611
6612 2007-11-27  Dan Williams  <dcbw@redhat.com>
6613
6614         * system-settings/src/nm-system-config-interface.h
6615                 - Note how to store secrets on NMSetting objects
6616
6617         * system-settings/src/dbus-settings.c
6618                 - (connection_settings_get_secrets): implement
6619
6620 2007-11-27  Dan Williams  <dcbw@redhat.com>
6621
6622         * system-settings/plugins/ifcfg/Makefile.am
6623           system-settings/plugins/ifcfg/parser.c
6624           system-settings/plugins/ifcfg/parser.h
6625           system-settings/plugins/ifcfg/plugin.c
6626                 - Parse wireless connections too
6627
6628         * system-settings/src/dbus-settings.c
6629           system-settings/src/dbus-settings.h
6630           system-settings/src/main.c
6631                 - Handle connection update/removal if the plugin supports it
6632
6633 2007-11-27  Dan Williams  <dcbw@redhat.com>
6634
6635         * src/nm-dbus-manager.h
6636           src/nm-hal-manager.c
6637                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6638                         do it for them
6639
6640         * src/Makefile.am
6641           src/NetworkManagerDbusUtils.c
6642           src/NetworkManagerDbusUtils.h
6643                 - Remove these two source files; they are unused
6644
6645 2007-11-27  Dan Williams  <dcbw@redhat.com>
6646
6647         * src/vpn-manager/nm-vpn-manager.c
6648                 - (impl_vpn_manager_connect): fix system settings check (found by
6649                         James M. Leddy)
6650
6651 2007-11-26  Dan Williams  <dcbw@redhat.com>
6652
6653         * Fix warnings so everything compiles with --enable-more-warnings
6654
6655 2007-11-25  Dan Williams  <dcbw@redhat.com>
6656
6657         * system-settings/*
6658                 - Rework structure and code to use GModule-loaded plugins and a plugin
6659                         interface that plugins export to the system settings service
6660
6661 2007-11-21  Dan Williams  <dcbw@redhat.com>
6662
6663         * system-settings/*
6664                 - Add Soren's system settings service.  Needs work for distros other
6665                         than Fedora; the backends from NM should mostly migrate to here
6666                         and be converted to GObjects
6667
6668 2007-11-21  Dan Williams  <dcbw@redhat.com>
6669
6670         * libnm-util/nm-setting-vpn-properties.c
6671                 - (set_property): must deep-copy the given settings hash, otherwise
6672                         double-free errors occur when the setting is disposed of
6673
6674 2007-11-21  Dan Williams  <dcbw@redhat.com>
6675
6676         * src/vpn-manager/nm-vpn-act-request.h
6677           src/vpn-manager/nm-vpn-act-request.c
6678                 - Remove; unused
6679
6680 2007-11-20  Dan Williams  <dcbw@redhat.com>
6681
6682         * libnm-util/nm-utils.c
6683                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6684                    nm_utils_convert_ip4_addr_struct_array_to_string,
6685                    nm_utils_register_value_transformations): print out the readable
6686                         values of more types of properties of NMSettings subclasses
6687
6688 2007-11-20  Dan Williams  <dcbw@redhat.com>
6689
6690         * libnm-util/nm-setting-ip4-config.c
6691                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6692                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6693                         marshal GValueArrays inside collections, so switch to types that it
6694                         can actually marshal/demarshal
6695
6696 2007-11-16  Dan Williams  <dcbw@redhat.com>
6697
6698         * libnm-util/nm-setting-wireless-security.c
6699                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6700                         minimal verification of EAP methods too
6701                 - (verify): verify phase1 eap methods too
6702
6703 2007-11-15  Dan Williams  <dcbw@redhat.com>
6704
6705         * libnm-glib/nm-device.h
6706           libnm-glib/nm-device.c
6707                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6708                         const char *
6709
6710 2007-11-15  Dan Williams  <dcbw@redhat.com>
6711
6712         * libnm-glib/nm-device.c
6713                 - (get_product_and_vendor): don't try to free things that should be
6714                         freed
6715
6716 2007-11-15  Dan Williams  <dcbw@redhat.com>
6717
6718         * src/NetworkManagerUtils.c
6719                 - (nm_ethernet_address_is_valid): unbreak previous fix
6720
6721 2007-11-15  Dan Williams  <dcbw@redhat.com>
6722
6723         * src/supplicant-manager/nm-supplicant-config.c
6724                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6725                         options
6726
6727 2007-11-15  Dan Williams  <dcbw@redhat.com>
6728
6729         * src/NetworkManagerUtils.c
6730                 - (nm_ethernet_address_is_valid): fix style, clarify
6731                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6732
6733         * src/nm-device-802-11-wireless.c
6734                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6735                 - (nm_device_802_11_wireless_get_ssid,
6736                    nm_device_802_11_wireless_get_bssid,
6737                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6738                         before calling the ioctl; fixes valgrind-reported jump depends on
6739                         uninitialized value errors
6740
6741 2007-11-15  Dan Williams  <dcbw@redhat.com>
6742
6743         * libnm-util/nm-setting.c
6744                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6745                         unecessary to serialize 'name'
6746
6747         * src/nm-activation-request.c
6748                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6749                         the GetSecrets call
6750
6751 2007-11-15  Dan Williams  <dcbw@redhat.com>
6752
6753         * libnm-util/nm-setting-connection.h
6754           libnm-util/nm-setting-connection.c
6755                 - Rename the 'name' property to 'id', because it conflicted with the
6756                         NMSetting superclass' 'name' property.
6757
6758         * libnm-util/nm-setting.c
6759                 - (nm_setting_to_hash): serialize the 'name' property
6760                 - (one_property_cb): ignore 'name' on deserialization of a connection
6761
6762         * src/nm-device-802-11-wireless.c
6763           src/vpn-manager/nm-vpn-connection.c
6764           src/NetworkManagerPolicy.c
6765                 - Fix up for NMSettingConnection 'name'->'id' changes
6766
6767 2007-11-13  Dan Williams  <dcbw@redhat.com>
6768
6769         * libnm-glib/nm-device-802-11-wireless.h
6770           libnm-glib/nm-device-802-11-wireless.c
6771                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6772
6773         * test/nm-tool.c
6774           libnm-glib/libnm-glib-test.c
6775                 - Fixes for above change
6776
6777 2007-11-12  Dan Williams  <dcbw@redhat.com>
6778
6779         * src/supplicant-manager/nm-supplicant-settings-verify.c
6780                 - Allow fragment_size option
6781
6782         * src/supplicant-manager/nm-supplicant-settings-verify.c
6783                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6784                         EAP fragment size than the default to help some TLS connections
6785
6786 2007-11-12  Dan Williams  <dcbw@redhat.com>
6787
6788         Make certs actually work.  The private key is now a secret, and should be
6789         decrypted when requested by NM.  The private key and phase2 private key
6790         passwords are no longer interesting to NM because they should be used by
6791         the settings service to decrypt the private key itself before passing it
6792         to NM, and hence have been removed as fields.
6793
6794         * libnm-util/nm-setting-wireless-security.h
6795           libnm-util/nm-setting-wireless-security.c
6796                 - Remove private-key-passwd and phase2-private-key-passwd from
6797                         properties
6798                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6799                    need_secrets): use property #defines instead strings to keep things
6800                         consistent
6801                 - (need_secrets_tls): if a client certificate is present but no
6802                         private key, request the private key
6803                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6804                         remove private key password stuff, mark private keys as secret
6805
6806         * src/supplicant-manager/nm-supplicant-settings-verify.c
6807                 - Remove private_key_passwd and private_key2_passwd from opt_table
6808
6809 2007-11-09  Dan Williams  <dcbw@redhat.com>
6810
6811         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6812         Since the vpn-properties are managed and known by the VPN daemons themselves,
6813         libnm-util doesn't know what's secret and what's in the setting's 'data'
6814         member.
6815
6816         * libnm-util/nm-setting.h
6817           libnm-util/nm-setting.c
6818                 - Add the ability for subclasses to override update_one_secret
6819
6820         * libnm-util/nm-setting-vpn-properties.c
6821                 - Override update_one_secret and just copy the values into the
6822                         internal table
6823
6824 2007-11-09  Dan Williams  <dcbw@redhat.com>
6825
6826         * libnm-glib/nm-settings.h
6827           libnm-glib/nm-settings.c
6828                 - (nm_settings_new_error): remove
6829                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6830                         clients should use g_set_error() with NM_SETTINGS_ERROR
6831
6832 2007-11-09  Dan Williams  <dcbw@redhat.com>
6833
6834         * src/supplicant-manager/nm-supplicant-config.c
6835                 - (nm_supplicant_config_add_setting_wireless_security): private key
6836                         passwords are never sent to wpa_supplicant, because the supplicant
6837                         should never be reading random files from the disk.  Clients like
6838                         the applet are required to decrypt the private keys and send NM
6839                         the decrypted blobs.
6840
6841 2007-11-08  Dan Williams  <dcbw@redhat.com>
6842
6843         * libnm-util/nm-setting-wireless-security.h
6844           libnm-util/nm-setting-wireless-security.c
6845                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6846                         members to 802-11-wireless-security structure.  This should be used
6847                         to indicate that the values in private-key and phase2-private-key
6848                         are already decrypted by the user agent, and that no
6849                         private-key-passwd or phase2-private-key-passwd should be expected.
6850                         It is not meant to be a stored configuration value, but meant to
6851                         be set when the conneciton is sent to NM over dbus.
6852
6853 2007-11-08  Dan Williams  <dcbw@redhat.com>
6854
6855         * libnm-util/nm-connection.h
6856           libnm-util/nm-connection.c
6857                 - (nm_connection_need_secrets): add argument to return hints
6858
6859         * src/nm-device-802-11-wireless.c
6860                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6861                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6862                         nm_connection_need_secrets() change
6863
6864 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6865
6866         Rework NMSetting structures: Move each setting to it's own file.
6867         Convert to GObject. Remove home grown setting types and use GTypes.
6868         Use GObject property introspection for hash conversion, enumerating
6869         properties, etc.
6870
6871         * libnm-util/nm-setting-connection.[ch]
6872         * libnm-util/nm-setting-ip4-config.[ch]
6873         * libnm-util/nm-setting-ppp.[ch]
6874         * libnm-util/nm-setting-vpn.[ch]
6875         * libnm-util/nm-setting-vpn-properties.[ch]
6876         * libnm-util/nm-setting-wired.[ch]
6877         * libnm-util/nm-setting-wireless.[ch]
6878         * libnm-util/nm-setting-wireless-security.[ch]
6879
6880         New files, each containing a setting.
6881
6882         * libnm-util/nm-setting-template.[ch]: A template for creating new
6883         settings. To use it, just replace 'template' with the new setting
6884         name, and you're half-way done.
6885
6886         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6887         introspection instead of internal types and tables.
6888
6889         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6890
6891         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6892         GValue types defined by dbus-glib for composed types like collections,
6893         structures and maps.
6894
6895         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6896         a setting from connection takes the setting type now. Also, since
6897         the settings are in multiple files, include relevant settings.
6898
6899 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6900
6901         * configure.in:
6902         * src/backends/NetworkManagerGentoo.c:
6903         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6904         providers in Gentoo.
6905
6906 2007-10-31  Dan Williams  <dcbw@redhat.com>
6907
6908         * libnm-util/nm-connection.c
6909                 - (gvalue_to_string): handle UINT32 arrays
6910
6911 2007-10-31  Dan Williams  <dcbw@redhat.com>
6912
6913         * libnm-glib/nm-device.h
6914           libnm-glib/nm-device.c
6915                 - (nm_device_get_description): remove
6916                 - (nm_device_get_product, nm_device_get_vendor): add
6917                 - (nm_device_update_description): new function (private); walk HAL
6918                         devices to get product and vendor IDs for a specific device
6919
6920 2007-10-31  Dan Williams  <dcbw@redhat.com>
6921
6922         * src/nm-device-802-11-wireless.c
6923                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6924
6925 2007-10-29  Dan Williams  <dcbw@redhat.com>
6926
6927         * src/nm-hal-manager.c
6928                 - (device_added, device_new_capability): ignore device additions while
6929                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6930                         kernel module is unloaded and reloaded and recognized by NM again.
6931
6932 2007-10-26  Dan Williams  <dcbw@redhat.com>
6933
6934         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6935
6936         * src/NetworkManagerAP.c
6937           src/NetworkManagerAP.h
6938           libnm-glib/nm-access-point.c
6939           libnm-glib/nm-access-point.h
6940                 - Make 'rate' property a guint32 to better match with WEXT and
6941                         wpa_supplicant and to allow representation of higher bitrates
6942
6943         * src/nm-device-802-11-wireless.c
6944           introspection/nm-device-802-11-wireless.xml
6945           libnm-glib/nm-device-802-11-wireless.c
6946           libnm-glib/nm-device-802-11-wireless.h
6947                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6948
6949         * src/nm-device-802-3-ethernet.c
6950           src/nm-device-802-3-ethernet.h
6951           introspection/nm-device-802-3-ethernet.xml
6952           libnm-glib/nm-device-802-3-ethernet.c
6953           libnm-glib/nm-device-802-3-ethernet.h
6954                 - Make 'speed' property a guint32 to match other speed/rate types
6955                 - Make nm_device_802_3_ethernet_get_speed() static
6956
6957         * test/nm-tool.c
6958                 - Update for the changes above
6959
6960 2007-10-26  Dan Williams  <dcbw@redhat.com>
6961
6962         * src/named-manager/nm-named-manager.c
6963                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6964                     not calling fclose() twice on some error conditions
6965
6966 2007-10-26  Dan Williams  <dcbw@redhat.com>
6967
6968         * src/nm-activation-request.c
6969                 - (dispose): clean up indentation; get the right DBusGProxy object to
6970                         cancel the GetSecrets pending call on.  Need to use the Secrets
6971                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6972                         pending call doesn't get canceled, and pressing Cancel in the
6973                         applet's password dialog could cause get_secrets_cb() to be called
6974                         after the activation request has already been destroyed
6975
6976 2007-10-24  Dan Williams  <dcbw@redhat.com>
6977
6978         * src/supplicant-manager/nm-supplicant-config.c
6979                 - (nm_supplicant_config_add_blob): pass blob data and length for
6980                         verification
6981                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6982
6983 2007-10-24  Dan Williams  <dcbw@redhat.com>
6984
6985         * src/supplicant-manager/nm-supplicant-settings-verify.c
6986                 - (opt_table): max length for certificates should be 65536
6987
6988 2007-10-24  Dan Williams  <dcbw@redhat.com>
6989
6990         * src/supplicant-manager/nm-supplicant-interface.c
6991                 - (blob_free): correctly free blob data after use
6992                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6993
6994 2007-10-24  Dan Williams  <dcbw@redhat.com>
6995
6996         * libnm-util/nm-setting.c
6997                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6998                         EAP method need secrets
6999
7000 2007-10-24  Dan Williams  <dcbw@redhat.com>
7001
7002         * src/backends/NetworkManagerRedHat.c
7003                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7004
7005 2007-10-23  Dan Williams  <dcbw@redhat.com>
7006
7007         * libnm-util/nm-setting.c
7008           libnm-util/nm-setting.c
7009                 - (nm_setting_compare): implement
7010                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7011                    compare_one_hash_gvalue): compare the contents of a setting
7012
7013         * libnm-util/nm-connection.c
7014                 - (nm_connection_compare): implement
7015
7016 2007-10-23  Dan Williams  <dcbw@redhat.com>
7017
7018         * src/nm-activation-request.c
7019                 - (get_secrets_cb): handle getting a setting back that is more than
7020                         just secrets (ie, user changed auth or EAP method or something)
7021
7022 2007-10-23  Dan Williams  <dcbw@redhat.com>
7023
7024         * libnm-util/nm-setting.c
7025           libnm-util/nm-setting.h
7026                 - (nm_setting_verify): new function; verify one setting
7027                 - (nm_settings_verify_all): rename from nm_settings_verify()
7028                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7029                         all_settings
7030
7031         * libnm-util/nm-connection.c
7032                 - (nm_connection_replace_settings, nm_connection_verify,
7033                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7034
7035 2007-10-23  Dan Williams  <dcbw@redhat.com>
7036
7037         * src/nm-device-802-11-wireless.c
7038                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7039                         desired behavior
7040
7041 2007-10-23  Dan Williams  <dcbw@redhat.com>
7042
7043         * src/supplicant-manager/nm-supplicant-settings-verify.c
7044                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7045                         nm-settings.c
7046
7047 2007-10-23  Dan Williams  <dcbw@redhat.com>
7048
7049         * src/nm-device-802-11-wireless.c
7050                 - (real_act_stage2_config): after the first association failure,
7051                         if the connection still needs secrets ask the user for them
7052                         explicitly.  After the fourth association failure due to bad
7053                         secrets, fail the connection entirely.  Handles the GetSecrets
7054                         loop that NM gets into when the provided secrets don't match up
7055                         with the connection details.
7056
7057 2007-10-23  Dan Williams  <dcbw@redhat.com>
7058
7059         * src/supplicant-manager/nm-supplicant-config.c
7060                 - (nm_supplicant_config_add_setting_wireless_security): only add
7061                         WPA-specific options when WPA is in use
7062
7063 2007-10-23  Dan Williams  <dcbw@redhat.com>
7064
7065         * src/supplicant-manager/nm-supplicant-config.c
7066                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7067                         secret doesn't need to be unhexified
7068
7069 2007-10-23  Dan Williams  <dcbw@redhat.com>
7070
7071         * libnm-util/nm-setting.c
7072                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7073                         before trying to do something with it
7074
7075 2007-10-23  Dan Williams  <dcbw@redhat.com>
7076
7077         * src/nm-device-802-11-wireless.c
7078                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7079
7080 2007-10-23  Dan Williams  <dcbw@redhat.com>
7081
7082         * src/nm-device-802-11-wireless.c
7083                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7084                         non-SSID-broadcasting APs
7085
7086 2007-10-23  Dan Williams  <dcbw@redhat.com>
7087
7088         * src/NetworkManagerAP.c
7089                 - (match_cipher, security_compatible): remove
7090                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7091                         libnm-util instead
7092
7093 2007-10-23  Dan Williams  <dcbw@redhat.com>
7094
7095         * libnm-util/nm-utils.c
7096           libnm-util/nm-utils.h
7097                 - (nm_utils_ap_security_compatible): common function for checking
7098                         whether a specific AP is compatible with an NMConnection
7099
7100 2007-10-23  Dan Williams  <dcbw@redhat.com>
7101
7102         * libnm-util/nm-setting.c
7103                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7104                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7105                    need_secrets_password, setting_wireless_security_verify): fix
7106                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7107                         secrets logic for each supported EAP method
7108
7109 2007-10-23  Dan Williams  <dcbw@redhat.com>
7110
7111         * src/supplicant-manager/nm-supplicant-config.c
7112                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7113                         config option name, should be "private_key2_passwd"
7114
7115 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7116
7117         Implement support for static IP addresses, additional/overridden DNS and
7118         DNS domain search lists.
7119
7120         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7121         (ip4_addresses_to_gvalue): Implement.
7122         (convert_array_to_byte_array): Implement.
7123         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7124         NM_S_TYPE_IP4_ADDRESSES.
7125         (nm_setting_hash): Ditto.
7126         (default_setting_clear_secrets): Add a default case for the switch: IP address
7127         shouldn't be secret, ever.
7128         (setting_ip4_config_verify): Update, requires addresses in case of manual
7129         configurations.
7130         (setting_ip4_config_destroy): Free stuff.
7131
7132         * src/nm-device.c (merge_ip4_config): Implement.
7133         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7134
7135 2007-10-22  Dan Williams  <dcbw@redhat.com>
7136
7137         * libnm-util/nm-setting.c
7138                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7139                         pairwise cipher options for Dynamic WEP
7140
7141 2007-10-21  Dan Williams  <dcbw@redhat.com>
7142
7143         * src/NetworkManagerAP.c
7144           src/NetworkManagerAP.h
7145                 - Rename 'articifical' -> 'fake' since that's what they are until
7146                         noticed in scans
7147                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7148                         from the attributes in an NMConnection object
7149                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7150                         WPA Enterprise
7151                 - (nm_ap_match_in_list): find a matching AP in a scan list
7152
7153         * src/nm-device-802-11-wireless.c
7154                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7155                         AP when searching the scan list; match on frequency and mode too
7156                 - (nm_device_802_11_wireless_get_frequency): implement
7157                 - (merge_scanned_ap): replace duplicate matching logic with
7158                         nm_ap_match_in_list()
7159                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7160                         the user is trying to connect to a hidden network that is not yet
7161                         known from the scan list
7162                 - (activation_success_handler): now that the card knows the AP's BSSID,
7163                         there may already be a scanned AP in the scan list that is what
7164                         we really wanted to connect to, but didn't know at the time.  Use
7165                         that instead of the 'fake' AP created at activation start and get
7166                         rid of the 'fake' AP 
7167                 - (cull_scan_list): don't remove fake APs
7168
7169 2007-10-21  Dan Williams  <dcbw@redhat.com>
7170
7171         * src/nm-activation-request.h
7172           src/nm-activation-request.c
7173                 - (nm_act_request_set_specific_object): new function; allow setting the
7174                         specific object if one isn't set yet
7175
7176 2007-10-20  Dan Williams  <dcbw@redhat.com>
7177
7178         * src/supplicant-manager/nm-supplicant-config.h
7179           src/supplicant-manager/nm-supplicant-config.c
7180                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7181                         table to store blobs
7182                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7183                         blob hash table
7184                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7185                 - (nm_supplicant_config_add_setting_wireless_security): handle
7186                         options that use certificates (ie, blobs)
7187
7188         * src/nm-device-802-11-wireless.c
7189                 - (build_supplicant_config): pass a UID (just use the connection path)
7190                         to the supplicant config as now required
7191
7192         * src/supplicant-manager/nm-supplicant-interface.c
7193                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7194                         there are any blobs to send to wpa_supplicant, send those first
7195                         before sending the network configuration
7196
7197 2007-10-19  Dan Williams  <dcbw@redhat.com>
7198
7199         Split the GetSecrets() call off to a separate D-Bus interface so that it
7200         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7201         should be able to call GetSecrets().
7202
7203         * include/NetworkManager.h
7204                 - Define the connection secrets D-Bus interface
7205
7206         * src/vpn-manager/nm-vpn-connection.c
7207                 - (clear_need_auth): get the right proxy object for the connection
7208                         secrets interface
7209                 - (get_connection_secrets): use the connection secrets proxy; send
7210                         empty hints in get secrets request
7211
7212         * src/nm-activation-request.c
7213                 - (nm_act_request_request_connection_secrets): use the connection
7214                         secrets proxy; send empty hints in get secrets request
7215
7216         * src/nm-manager.c
7217           src/nm-manager.h
7218                 - (connection_get_settings_cb): set the connection secrets proxy on
7219                         the connection object too
7220                 - (internal_new_connection_cb): create the connection secrets proxy
7221
7222         * introspection/nm-settings-connection.xml
7223                 - Define Connection.Secrets interface and move GetSecrets there
7224                 - Add a 'hints' argument to GetSecrets
7225
7226         * libnm-glib/nm-settings.c
7227           libnm-glib/nm-settings.h
7228                 - (impl_connection_settings_get_secrets): add 'hints' argument
7229
7230 2007-10-19  Dan Williams  <dcbw@redhat.com>
7231
7232         * src/nm-device.c
7233                 - (constructor): add message about what path a device is exported as
7234                         to help in debugging rh #339011
7235
7236 2007-10-17  Dan Williams  <dcbw@redhat.com>
7237
7238         * libnm-util/nm-utils.h
7239           libnm-util/nm-utils.c
7240                 - (nm_utils_security_valid): common function to help find the intersection
7241                         of capabilities of devices and (optionally) access points
7242
7243 2007-10-17  Dan Williams  <dcbw@redhat.com>
7244
7245         * src/nm-device-802-11-wireless.c
7246                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7247                         don't get erroneously cleared
7248
7249 2007-10-17  Dan Williams  <dcbw@redhat.com>
7250
7251         * src/nm-manager.h
7252           src/nm-manager.c
7253           src/nm-hal-manager.c
7254                 - (device_removed, finalize, nm_manager_remove_device,
7255                    nm_manager_sleep): add a 'deactivate' argument to 
7256                    nm_manager_remove_device() to fully deactivate devices when necessary
7257                    (ie, always except when waking up)
7258
7259 2007-10-16  Dan Williams  <dcbw@redhat.com>
7260
7261         * libnm-util/nm-setting.c
7262                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7263                         also isn't valid phase2 autheap method
7264
7265 2007-10-16  Dan Williams  <dcbw@redhat.com>
7266
7267         * libnm-glib/nm-client.c
7268                 - (update_wireless_status): consolidate updates of wireless status
7269                 - (constructor): use update_wireless_status()
7270                 - (manager_running): set wireless status off when NM goes away; requery
7271                         the wireless status when NM comes back
7272
7273 2007-10-16  Dan Williams  <dcbw@redhat.com>
7274
7275         * libnm-glib/nm-client.c
7276                 - (nm_client_activate_device): actually use the fixed-up specific
7277                         object path
7278
7279 2007-10-16  Dan Williams  <dcbw@redhat.com>
7280
7281         * src/nm-hal-manager.c
7282                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7283                         killswitch error messages once
7284
7285 2007-10-16  Dan Williams  <dcbw@redhat.com>
7286
7287         * src/nm-manager.c
7288                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7289                         if it's disabled in hardware; don't touch network devices while
7290                         NM is asleep
7291
7292 2007-10-16  Dan Williams  <dcbw@redhat.com>
7293
7294         * libnm-util/nm-client.c
7295                 - (nm_client_activate_device): convert NULL specific_object to "/",
7296                         which is used in place of NULL
7297
7298         * src/nm-manager.c
7299                 - (impl_manager_activate_device): convert "/" specific_object back into
7300                         NULL
7301
7302 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7303
7304         Implement a generic NMSetting creator from setting name.
7305         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7306         add a virtual function 'populate_fn'.
7307
7308         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7309         (register_default_creators): Register setting creators instead of functions
7310         that create and then populate.
7311         (parse_one_setting): Use the common setting creator and then setting specific
7312         poplulation function.
7313
7314         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7315         they all looked exactly the same.
7316         Add a 'populate_fn' virtual function to NMSetting.
7317         Use default virtual functions in case they are not overriden.
7318         (nm_setting_populate_from_hash): Implement.
7319
7320         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7321         name, use a defined string.
7322         (real_act_stage4_get_ip4_config): Ditto.
7323
7324 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7325
7326         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7327         HAL is int, not uint.
7328
7329 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7330
7331         Implement killswitch polling through HAL.
7332
7333         * src/nm-manager.c: Add wireless hardware status property. Add 
7334         'properties-changed' signal for changes in wireless and wireless hardware
7335         state changes.
7336
7337         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7338         and update NMManager's wireless hardware state when it has changed.
7339         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7340         already does that.
7341
7342         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7343         values of wireless state and wireless hardware state. Listen for the
7344         'properties-changed' signals, update the cached values and emit notify.
7345
7346         * include/NetworkManager.h: Fix a typo in a comment.
7347
7348 2007-10-14  Dan Williams  <dcbw@redhat.com>
7349
7350         * libnm-util/nm-setting.c
7351                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7352
7353 2007-10-13  Dan Williams  <dcbw@redhat.com>
7354
7355         * libnm-util/nm-setting.h
7356           libnm-util/nm-setting.c
7357           src/supplicant-manager/nm-supplicant-config.c
7358                 - Make the 'proto' field of the 802-11-wireless-security field a
7359                         string list
7360
7361 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7362
7363         Rework the "properties-changed" signal listening implementation.
7364         Add a generic implementation to NMObject class that listens for
7365         the signal and calls property setters of the target NMObject.
7366
7367         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7368
7369         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7370         code to the end of file so that all the static functions are available
7371         without extra declarations.
7372         Remove the "properties-changed" signal handling and use the framework from
7373         NMObject.
7374         Implement property setters for properties that change with 
7375         "properties-changed" signal.
7376
7377         * libnm-glib/nm-access-point.c: Ditto.
7378
7379 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7380
7381         Rework the "properties-changed" signal implementation.
7382         In classes that need to use it, just emit "GObject::notify" and the new
7383         framework takes care of the rest to make the signal available on dbus.
7384         The framework queues the notifications and tries to send as many together
7385         in one signal as possible.
7386
7387         * src/nm-properties-changed-signal.c:
7388         * src/nm-properties-changed-signal.h: Implement.
7389
7390         * src/Makefile.am: Add new files to build.
7391
7392         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7393         signal.
7394
7395         * src/nm-device-802-11-wireless.c: Ditto.
7396
7397 2007-10-10  Dan Williams  <dcbw@redhat.com>
7398
7399         * src/nm-manager.c
7400                 - (wait_for_connection_expired): ensure info is valid
7401                 - (connection_added_default_handler): Should only remove pending
7402                         connection info when the manager has the connection that it's
7403                         waiting for.  Fixes segfault in wait_for_connection_info().  
7404
7405 2007-10-10  Dan Williams  <dcbw@redhat.com>
7406
7407         * libnm-util/nm-setting.c
7408           libnm-util/nm-setting.h
7409                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7410                         can use if they choose.  Should be filled in by the settings service
7411                         on-the-fly with the currently logged in user's username
7412
7413 2007-10-10  Dan Williams  <dcbw@redhat.com>
7414
7415         * src/nm-device-802-11-wireless.c
7416                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7417                         as such, because even if the manager fills in the SSID, NM still
7418                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7419                         its SSID
7420
7421 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7422
7423         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7424         code that used NM's own version of dbus signal handling and custom dictionary
7425         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7426         and we get to maintain over 2000 lines less code.
7427
7428         * libnm-util/dbus-dict-helpers.c:
7429         * libnm-util/dbus-dict-helpers.h: Remove.
7430
7431         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7432
7433         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7434
7435         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7436         handlers.
7437
7438         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7439
7440         * configure.in: Remove test/libnm-util/Makefile creation.
7441
7442         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7443
7444         * test/libnm-util/: Remove the whole directory.
7445
7446 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7447
7448         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7449         device_state_changed_idle_id variable or it would contain some random value and the
7450         schedule_change_check calls would not do anything.
7451
7452 2007-10-09  Dan Williams  <dcbw@redhat.com>
7453
7454         * src/nm-device-802-11-wireless.c
7455                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7456                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7457                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7458                         merging of non-SSID-broadcasting APs
7459
7460 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7461
7462         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7463         "guint8 *" since it's usually used with GByteArray->data.
7464         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7465
7466 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7467
7468         * src/NetworkManagerUtils.c
7469         (nm_utils_is_empty_ssid):
7470         (nm_utils_escape_ssid):
7471         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7472         lot of places, so they belong to libnm-utils instead.
7473
7474         Now with 100% less compiler warnings:
7475
7476         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7477         (nm_dbus_unescape_object_path): Ditto.
7478         (nm_utils_ssid_to_utf8): Ditto.
7479         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7480         (nm_utils_escape_ssid): Ditto.
7481         (nm_utils_same_ssid): Ditto.
7482
7483         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7484         (add_one_connection_element): Remove an unused variable.
7485         (impl_manager_get_active_connections): Ditto.
7486
7487         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7488         variable.
7489
7490         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7491         from the previous commit.
7492
7493         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7494         (real_act_stage1_prepare): Ditto.
7495         (activation_success_handler): Ditto.
7496         (get_property): Ditto.
7497
7498         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7499         variable.
7500
7501         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7502         it's always set.
7503
7504         * src/supplicant-manager/nm-supplicant-config.c 
7505         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7506         to expected "char *".
7507         (nm_supplicant_config_add_setting_wireless): Ditto.
7508         (nm_supplicant_config_remove_option): Remove, not used.
7509
7510         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7511         not double.
7512         (test_wireless_enabled): Ifdef out unused function.
7513         (device_deactivate): Ditto.
7514         (device_state_changed): Ditto.
7515         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7516         (nm_utils_escape_ssid): Ditto.
7517
7518         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7519         (nm_utils_is_empty_ssid): Ditto.
7520
7521         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7522         unused variable.
7523
7524         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7525         (setting_vpn_properties_update_secrets): Ditto.
7526         (int_to_gvalue): Ifdef out for now, not used.
7527         (byte_to_gvalue): Ditto.
7528
7529         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7530         Unused, remove.
7531
7532 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7533
7534         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7535         about dbus manager, not named manager.
7536         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7537
7538         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7539         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7540         However, the same signal is emitted when we destroy it and there's 
7541         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7542
7543         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7544         releasing the DBusGConnection, since proxy needs a conneciton.
7545         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7546
7547 2007-10-08  Dan Williams  <dcbw@redhat.com>
7548
7549         * src/NetworkManager.c
7550                 - (main): error on unknown command-line options
7551
7552 2007-10-08  Dan Williams  <dcbw@redhat.com>
7553
7554         Reimplement the invalid connection list.  Don't try to re-activate a
7555         connection that just failed or was canceled.
7556
7557         * src/nm-device.c
7558                 - (connection_secrets_failed_cb): fail device activation, don't just
7559                         deactivate the device.  Listeners have to know about the failure.
7560
7561         * src/NetworkManagerPolicy.c
7562                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7563                         the connection list given to a device's get_best_connection()
7564                         method
7565                 - (device_state_changed): tag failed connections as invalid; clear the
7566                         tag from successful connections
7567
7568 2007-10-08  Dan Williams  <dcbw@redhat.com>
7569
7570         Fix problems with interrupted activation.  Previously, choosing an AP
7571         from the menu, then choosing another one before the first connection was
7572         successful wouldn't deactivate the device before starting the new connection
7573         on that same device.
7574
7575         * src/NetworkManagerPolicy.c
7576                 - (deactivate_old_device, device_state_changed, state_changed,
7577                    nm_policy_new): wrong place to deactivate old devices
7578
7579         * src/nm-manager.c
7580                 - (pending_connection_info_destroy, finalize,
7581                    wait_for_connection_expired): decouple destruction of the pending
7582                         connection info from the manager device
7583                 - (connection_added_default_handler): deactivate any active or
7584                         activating device before starting a new activation
7585                 - (impl_manager_activate_device): deactivate any active or activating
7586                         device before starting a new activation; be sure not to leak
7587                         pending connection info if a new activation request arrives but
7588                         there's already a pending one in-process
7589
7590 2007-10-08  Dan Williams  <dcbw@redhat.com>
7591
7592         * src/NetworkManagerAP.h
7593           src/NetworkManagerAP.c
7594                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7595                         should handle default SSIDs and whether or not to autoconnect
7596                         to them
7597
7598 2007-10-08  Dan Williams  <dcbw@redhat.com>
7599
7600         * src/NetworkManagerPolicy.c
7601                 - (nm_policy_device_change_check): print out connection name where
7602                         possible
7603
7604 2007-10-08  Dan Williams  <dcbw@redhat.com>
7605
7606         * src/nm-device-802-11-wireless.c
7607           src/nm-device-802-11-wireless.h
7608                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7609                         'hidden-ap-found' signal (for internal use only) that allows the
7610                         NMManager to fill in the AP's SSID if a connection has that AP's
7611                         BSSID in its seen-bssids list
7612
7613         * src/nm-manager.c
7614                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7615                         wireless device's hidden-ap-found signal and fill in the APs SSID
7616                         if possible
7617
7618 2007-10-07  Dan Williams  <dcbw@redhat.com>
7619
7620         * src/nm-manager.c
7621           src/nm-manager.h
7622                 - Add a 'connections-added' signal to batch together updates of large
7623                         numbers of connections, like when reading from a settings service
7624                         the first time.  Otherwise, the policy would just activate the first
7625                         suitable connection it saw rather than waiting for the full list
7626                         to arrive.
7627                 - (nm_manager_class_init): register new signal
7628                 - (get_type_for_proxy, connection_get_settings_cb,
7629                    get_connection_for_proxy): centralize places where a proxy's setting
7630                         service is determined
7631                 - (free_get_settings_info): if the call being freed is the last call
7632                         in a pending call group, fire off the connections-added signal
7633                 - (internal_new_connection_cb): add call to a pending call group if
7634                         requested
7635                 - (list_connections_cb): always create a call group here, because this
7636                         call results in a batch of new connections
7637                 - (initial_get_connections): start getting system connections first
7638                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7639                         removed signal when destroying connections
7640
7641         * src/NetworkManagerPolicy.c
7642                 - (nm_policy_new, connections_added): handle connections-added signal
7643                         from the manager
7644
7645 2007-10-06  Dan Williams  <dcbw@redhat.com>
7646
7647         * src/nm-device-802-11-wireless.c
7648                 - (constructor): fix leaked socket
7649
7650 2007-10-06  Dan Williams  <dcbw@redhat.com>
7651
7652         * src/NetworkManagerPolicy.c
7653                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7654                         connection in the list returned by nm_manager_get_connections() is
7655                         reffed, but they weren't getting unreffed before returning
7656
7657 2007-10-06  Dan Williams  <dcbw@redhat.com>
7658
7659         * src/nm-manager.c
7660                 - (connections_to_slist): sort connections first on autoconnect, then
7661                         on timestamp
7662
7663 2007-10-06  Dan Williams  <dcbw@redhat.com>
7664
7665         * libnm-util/nm-connection.c
7666                 - (gvalue_to_string): handle UINT64
7667
7668 2007-10-06  Dan Williams  <dcbw@redhat.com>
7669
7670         * src/NetworkManagerPolicy.c
7671                 - (connection_updated, nm_policy_new): recheck state when a connection
7672                         gets updated
7673
7674 2007-10-06  Dan Williams  <dcbw@redhat.com>
7675
7676         * src/nm-manager.c
7677           src/nm-manager.h
7678                 - (nm_manager_get_connection_dbus_path): make static
7679                 - (nm_manager_update_connections): remove; unused
7680                 - Add a connection-updated signal
7681                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7682                         handle connection object updates
7683
7684 2007-10-06  Dan Williams  <dcbw@redhat.com>
7685
7686         * src/NetworkManagerPolicy.c
7687                 - (connection_removed): deactivate removed connections
7688
7689 2007-10-06  Dan Williams  <dcbw@redhat.com>
7690
7691         * libnm-util/nm-connection.c
7692           libnm-util/nm-connection.h
7693                 - (nm_connection_replace_settings): new function
7694
7695 2007-10-06  Dan Williams  <dcbw@redhat.com>
7696
7697         * libnm-glib/nm-device-802-11-wireless.c
7698                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7699                         on error when getting the active access point over D-Bus from NM
7700
7701 2007-10-05  Dan Williams  <dcbw@redhat.com>
7702
7703         * libnm-util/nm-setting.c
7704                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7705                         to the NMSettingWireless table; it's now a string array not an array
7706                         of byte arrays
7707
7708 2007-10-05  Dan Williams  <dcbw@redhat.com>
7709
7710         * libnm-glib/nm-device-802-11-wireless.c
7711                 - Cache properties and update cached properties on D-Bus signals from NM
7712
7713 2007-10-05  Dan Williams  <dcbw@redhat.com>
7714
7715         * src/nm-device-802-11-wireless.c
7716                 - (set_current_ap): consolidate current_ap handling code into one place
7717                         to ensure that PropertiesChanged signals are emitted in all cases
7718                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7719                    nm_device_802_11_wireless_dispose): use set_current_ap()
7720
7721 2007-10-05  Dan Williams  <dcbw@redhat.com>
7722
7723         * libnm-glib/nm-access-point.c
7724           libnm-glib/nm-access-point.h
7725                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7726                         because the value is cached internally now.  Callers should not
7727                         free the internal value.
7728                 - Make signal name defines private
7729
7730         * test/nm-tool.c
7731           libnm-glib/libnm-glib-test.c
7732                 - Don't free value returned from nm_access_point_get_hw_address()
7733
7734 2007-10-04  Dan Williams  <dcbw@redhat.com>
7735
7736         * introspection/nm-device-802-11-wireless.xml
7737           src/nm-device-802-11-wireless.h
7738           src/nm-device-802-11-wireless.c
7739                 - Add a PropertiesChanged signal for wireless device
7740                 - Store currently associated access point
7741                 - (periodic_update): generalize; update rate here too and emit the
7742                         correct PropertiesChanged signal when stuff changes
7743                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7744                    real_activation_cancel_handler): clear current_ap when device is
7745                         deactivated
7746                 - (link_to_specific_ap, get_ap_blacklisted,
7747                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7748                         code
7749                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7750                         outside this file
7751                 - (real_set_hw_address): emit property changed signal if the card's
7752                         MAC address changes
7753                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7754                         the card is supposed to be connecting to
7755                 - (activation_success_handler): send out property updates on successful
7756                         activation
7757                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7758                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7759                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7760                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7761                         is now boxed; add PropertiesChanged signal
7762
7763 2007-10-04  Dan Williams  <dcbw@redhat.com>
7764
7765         * libnm-util/nm-connection.c
7766           libnm-util/nm-connection.h
7767                 - (nm_connection_verify): new function
7768
7769 2007-10-04  Dan Williams  <dcbw@redhat.com>
7770
7771         * libnm-util/nm-setting.c
7772                 - (nm_settings_verify): use #defines when possible rather than strings
7773                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7774                 - (setting_vpn_verify): tighter validity check on 'service_type'
7775
7776 2007-10-04  Dan Williams  <dcbw@redhat.com>
7777
7778         * libnm-glib/nm-settings.c
7779                 - (nm_connection_settings_class_init): provide correct type for argument
7780                         to the Updated signal so that dbus-glib knows how to marshal it
7781
7782 2007-10-03  Dan Williams  <dcbw@redhat.com>
7783
7784         * src/nm-device-802-3-ethernet.c
7785                 - (real_get_best_connection): don't create automatic connections
7786                         internally; clients should provide a setting that applies to
7787                         the device with 'autoconnect: True'.  Problem was that these
7788                         internally auto-created connections don't have a proxy or service
7789                         name becuase they weren't created by a settings daemon, and therefore
7790                         clients have no idea what to do with them.
7791
7792 2007-10-03  Dan Williams  <dcbw@redhat.com>
7793
7794         * src/nm-device-802-11-wireless.c
7795           src/nm-device-802-11-wireless.h
7796           introspection/nm-device-802-11-wireless.xml
7797                 - GetActiveNetworks -> GetAccessPoints
7798                 - ActiveNetwork -> ActiveAccessPoint
7799                 - NetworkAdded -> AccessPointAdded
7800                 - NetowrkRemoved -> AccessPointRemoved
7801
7802         * libnm-glib/nm-device-802-11-wireless.c
7803           libnm-glib/nm-device-802-11-wireless.h
7804                 - network-added signal -> access-point-added
7805                 - network-removed signal -> access-point-removed
7806                 - nm_device_802_11_wireless_get_active_network() ->
7807                         nm_device_802_11_wireless_get_active_access_point()
7808                 - nm_device_802_11_wireless_get_network_by_path() ->
7809                         nm_device_802_11_wireless_get_access_point_by_path()
7810                 - nm_device_802_11_wireless_get_networks() ->
7811                         nm_device_802_11_wireless_get_access_points()
7812
7813         * libnm-glib/libnm-glib-test.c
7814           test/nm-tool.c
7815           src/NetworkManagerPolicy.c
7816                 - Fixups for Network -> AccessPoint
7817
7818 2007-10-03  Dan Williams  <dcbw@redhat.com>
7819
7820         Add a GetActiveConnections() method on the Manager object.
7821
7822         * src/nm-manager.c
7823           src/nm-manager.h
7824           introspection/nm-manager.xml
7825                 - (connection_get_settings_cb): keep connection type around too
7826                 - (impl_manager_get_active_connections, add_one_connection_element):
7827                         implement; returns all active connections and what devices they
7828                         apply to
7829
7830         * libnm-glib/nm-client.c
7831           libnm-glib/nm-client.h
7832           introspection/nm-manager-client.xml
7833                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7834                         by the caller; free here to avoid memory leak
7835                 - (nm_client_get_active_connections): implement; return the list of
7836                         active connections
7837                 - (nm_client_free_active_connection_element): implement; free an element
7838                         of the GSList returned by nm_client_get_active_connections()
7839
7840 2007-10-03  Dan Williams  <dcbw@redhat.com>
7841
7842         * src/nm-device-802-11-wireless.c
7843                 - (nm_device_802_11_wireless_update_bssid): remove
7844                 - (get_active_ap): new function; find the AP in the scan list which
7845                         matches the current BSSID and SSID of the wireless device
7846                 - (nm_device_802_11_periodic_update): get current AP using
7847                         get_active_ap() and print AP roam messages
7848
7849 2007-10-01  Dan Williams  <dcbw@redhat.com>
7850
7851         * libnm-util/nm-setting.h
7852                 - Add a 'timestamp' option to NMSettingConnection
7853                 - Add a UINT64 type
7854
7855         * libnm-util/nm-setting.c
7856                 - (uint64_to_gvalue): new function
7857                 - (nm_setting_populate_from_hash, nm_setting_hash,
7858                    default_setting_clear_secrets): handle UINT64 type
7859                 - con_table: add 'timestamp' member
7860
7861 2007-10-01  Dan Williams  <dcbw@redhat.com>
7862
7863         * src/nm-manager.c
7864                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7865                         value when the connection can be activated immediately
7866
7867 2007-10-01  Dan Williams  <dcbw@redhat.com>
7868
7869         * libnm-glib/nm-device.c
7870                 - (nm_device_class_init): actually tell glib about the carrier-changed
7871                         signal
7872
7873 2007-10-01  Dan Williams  <dcbw@redhat.com>
7874
7875         * configure.in
7876           src/marshallers/Makefile.am
7877           src/marshallers/nm-marshal.list
7878           src/marshallers/nm-marshal-main.c
7879                 - Consolidate glib marshallers into one place
7880
7881         * src/dhcp-manager/Makefile.am
7882           src/dhcp-manager/nm-dhcp-manager.c
7883           src/supplicant-manager/Makefile.am
7884           src/supplicant-manager/nm-supplicant-manager.c
7885           src/supplicant-manager/nm-supplicant-interface.c
7886           src/ppp-manager/Makefile.am
7887           src/ppp-manager/nm-ppp-manager.c
7888           src/vpn-manager/Makefile.am
7889           src/vpn-manager/nm-vpn-connection.c
7890           src/Makefile.am
7891                 - Use consolidated marshallers
7892
7893         * src/dhcp-manager/nm-dhcp-marshal.list
7894           src/dhcp-manager/nm-dhcp-marshal-main.c
7895           src/supplicant-manager/nm-supplicant-marshal-main.c
7896           src/supplicant-manager/nm-supplicant-marshal.list
7897           src/nm-marshal-main.c
7898           src/nm-marshal.list
7899           src/ppp-manager/nm-ppp-marshal-main.c
7900           src/ppp-manager/nm-ppp-marshal.list
7901           src/vpn-manager/nm-vpn-marshal-main.c
7902           src/vpn-manager/nm-vpn-marshal.list
7903                 - Remove
7904
7905 2007-10-01  Dan Williams  <dcbw@redhat.com>
7906
7907         * include/NetworkManagerVPN.h
7908                 - define VPN connection state change reason codes
7909
7910         * src/vpn-manager/Makefile.am
7911           src/vpn-manager/nm-vpn-marshal.list
7912           src/vpn-manager/nm-vpn-marshal-main.c
7913                 - Add marshallers for StateChanged signal
7914
7915         * introspection/nm-vpn-connection.xml
7916                 - New Banner property
7917                 - StateChanged signal now includes a 'reason' argument
7918
7919         * src/vpn-manager/nm-vpn-connection.c
7920           src/vpn-manager/nm-vpn-connection.h
7921                 - Add a "Banner" property that contains the returned VPN server login
7922                         banner (if any); valid only in the ACTIVATED state
7923                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7924                         a 'reason' argument and emits that reason along with the
7925                         state-changed signal
7926                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7927                 - (nm_vpn_connection_ip4_config_get): save banner for later
7928                 - (nm_vpn_connection_get_banner, get_property,
7929                    nm_vpn_connection_class_init): implement Banner property
7930
7931         * src/vpn-manager/nm-vpn-service.c
7932                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7933                         connection list because elements may get added/removed from it
7934                         while iterating over the list
7935                 - (connection_state_changed): signal now includes the 'reason' argument
7936
7937         * libnm-glib/nm-vpn-connection.c
7938           libnm-glib/nm-vpn-connection.h
7939                 - (nm_vpn_connection_get_banner): new function
7940                 - (state_changed_proxy): handle reason argument
7941
7942 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7943
7944         * src/nm-manager.c:
7945         * src/nm-manager.h:
7946         Implement device activation through NMManager.
7947         Implement "pending device activation" here - If the connection isn't found,
7948         we try to wait for up to 5 seconds for the connection to be provided.
7949         Add NMConnectionType argument to "connection-added" and "connection-removed"
7950         signals.
7951         (nm_manager_get): Remove. Finally.
7952
7953         * src/nm-activation-request.c: 
7954         * src/nm-activation-request.h: 
7955         Remove all the deferred activation code.
7956
7957         * src/nm-device.c: Remove all the deferred activation code. Once the device
7958         activation is started, it's started. Update the activation virtual function
7959         signature.
7960
7961         * src/nm-device-interface.c:
7962         * src/nm-device-interface.h:
7963         Device activation now takes only NMActRequest argument.
7964         Don't expose device activation directly on dbus, it's supposed to go through
7965         NMManager now.
7966
7967         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7968         a bit more compact.
7969         Use the new device activation methods through NMManager.
7970
7971         * introspection/nm-manager-client.xml: 
7972         * introspection/nm-manager.xml: 
7973         * libnm-glib/nm-client.c:
7974         * libnm-glib/nm-client.h:
7975         Add device activation method.
7976         
7977         * libnm-glib/nm-device.c: 
7978         * libnm-glib/nm-device.h: 
7979         * introspection/nm-device.xml: 
7980         Remove device activation method. It's done through NMManager now.
7981
7982         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7983         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7984
7985 2007-09-28  Dan Williams  <dcbw@redhat.com>
7986
7987         * libnm-glib/nm-vpn-connection.c
7988                 - (nm_vpn_connection_get_state): try to update state if the current
7989                         state is UNKNOWN
7990
7991 2007-09-27  Dan Williams  <dcbw@redhat.com>
7992
7993         Patch from Bill Nottingham
7994
7995         * src/supplicant-manager/nm-supplicant-config.c
7996                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7997                         data to the supplicant
7998
7999 2007-09-27  Dan Williams  <dcbw@redhat.com>
8000
8001         * src/NetworkManagerSystem.c
8002                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8003                         and all address manipulation here should be happening on the
8004                         _VPN_ device, not the active device
8005
8006 2007-09-26  Dan Williams  <dcbw@redhat.com>
8007
8008         * src/nm-manager.c
8009           src/nm-manager.h
8010           src/nm-activation-request.c
8011           src/nm-activation-request.h
8012                 - Move the GetSecrets stuff out of the NMManager instance because it
8013                         doesn't really need to be there and complicates things
8014
8015         * src/nm-device.c
8016                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8017                         connection-secrets-failed signal and deactivate the device if
8018                         the GetSecrets call fails
8019
8020         * src/nm-device-802-11-wireless.c
8021                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8022                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8023                         secrets and give correct hints about whether new secrets should be
8024                         asked for by the client or not
8025
8026 2007-09-26  Dan Williams  <dcbw@redhat.com>
8027
8028         * src/vpn-manager/nm-vpn-connection.c
8029                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8030                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8031                         to the secrets-updated signal of the NMConnection since updating
8032                         the secrets is done within the scope of the NMVPNConnection object
8033                         already
8034                 - (get_connection_secrets): fix an uninialized variable usage error
8035
8036 2007-09-26  Dan Williams  <dcbw@redhat.com>
8037
8038         * libnm-util/nm-setting.c
8039                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8040                         actually get updated when the user enters them
8041
8042 2007-09-26  Dan Williams  <dcbw@redhat.com>
8043
8044         * libnm-glib/nm-vpn-plugin.c
8045                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8046
8047 2007-09-26  Dan Williams  <dcbw@redhat.com>
8048
8049         * include/NetworkManagerVPN.h
8050                 - Add a NEED_AUTH state
8051
8052         * src/vpn-manager/nm-vpn-connection.c
8053                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8054                         the connection needs secrets, and if so, then ask the settings
8055                         service to fill in the secrets.  Then start the connection.
8056
8057 2007-09-26  Dan Williams  <dcbw@redhat.com>
8058
8059         * src/vpn-manager/nm-vpn-manager.c
8060                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8061
8062 2007-09-26  Dan Williams  <dcbw@redhat.com>
8063
8064         * introspection/nm-vpn-plugin.xml
8065           libnm-glib/nm-vpn-plugin.c
8066           libnm-glib/nm-vpn-plugin.h
8067                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8068                         the name of the NMSetting in an NMConnection that may require
8069                         secrets specific to that VPN plugin
8070
8071 2007-09-26  Dan Williams  <dcbw@redhat.com>
8072
8073         * src/nm-manager.c
8074           src/nm-manager.h
8075                 - (nm_manager_get_connection_secrets): make static, unused outside
8076                         the file
8077                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8078
8079 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8080
8081         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8082         method.
8083         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8084         unreference the connection.
8085
8086         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8087         passing properties hash and routes string list, pass NMConnection (in hashed form).
8088
8089         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8090         as GSList, no need to copy stuff around anymore.
8091         (nm_vpn_connection_activate): Update the plugin activation method.
8092
8093         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8094         routes argument to GSList.
8095
8096 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8097
8098         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8099         state and try to get the secrets.
8100
8101         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8102         connections from NMManager and let the device to choose the best from the list.
8103         Since the connection list is sorted by system ones first and user ones later,
8104         the devices still prefer system connections like they did before.
8105         (deactivate_old_device): Implement. When a device starts activation, we have a
8106         policy (for now at least) to deactivate any other device that might be either
8107         active or still activating.
8108
8109         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8110         It's set on construction, there will be no other way to access it.
8111
8112         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8113         device events and drive the device, not the other way around.
8114
8115         * src/nm-device-802-3-ethernet.c: Ditto.
8116
8117         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8118         sent along, pass it on to virtual functions.
8119
8120         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8121         for now, but should really be public instead of nm_device_get_iface() since iface
8122         is a property of the DeviceInterface, not Device.
8123         (impl_device_activate): Don't touch NMManager!
8124
8125 2007-09-26  Jürg Billeter  <j@bitron.ch>
8126
8127         * initscript/paldo/NetworkManager.in:
8128         * initscript/paldo/NetworkManagerDispatcher.in:
8129         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8130         (nm_system_flush_loopback_routes): update paldo backend
8131
8132 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8133
8134         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8135         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8136         which means none of the devices get brought down properly, which in turn leaves
8137         DHCP client running.
8138
8139         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8140         (supplicant_connection_timeout_cb): Ditto.
8141
8142 2007-09-25  Dan Williams  <dcbw@redhat.com>
8143
8144         * src/nm-device.c
8145                 - (device_activation_go): small hack to work around race when
8146                         activating deferred connections; should solve this in a better way
8147
8148 2007-09-25  Dan Williams  <dcbw@redhat.com>
8149
8150         * introspection/nm-device.xml
8151           libnm-glib/nm-device.c
8152           libnm-glib/nm-device.h
8153                 - Add 'Carrier' property to exported NMDevice objects
8154
8155         * src/nm-device-interface.h
8156           src/nm-device-interface.c
8157           src/nm-device.c
8158                 - Add a 'carrier' property to internal NMDevice objects
8159
8160 2007-09-25  Dan Williams  <dcbw@redhat.com>
8161
8162         * src/nm-device-802-11-wireless.c
8163                 - (ap_auth_enforced): also return the encryption status of the AP so
8164                         that callers can differentiate easily between unencrypted APs
8165                         and encrypted ones, in addition to whether the AP has an
8166                         authenticator
8167                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8168                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8169                         previously would request secrets from unencrypted APs at times
8170
8171 2007-09-25  Dan Williams  <dcbw@redhat.com>
8172
8173         * src/nm-manager.c
8174                 - (nm_manager_update_state): new function; updates state and emits
8175                         appropriate signals ensuring a state-change signal for the same state
8176                         never gets emitted twice in a row.
8177                 - (manager_device_state_changed): handle more device state to get a
8178                         better picture of the overall NM state
8179
8180 2007-09-25  Dan Williams  <dcbw@redhat.com>
8181
8182         * libnm-glib/nm-settings.c
8183           libnm-glib/nm-settings.h
8184                 - (new_error -> nm_settings_new_error): make public so that subclasses
8185                         can use the same error domain.  Also pass a valid error code to
8186                         g_error_new_literal() so that libdbus doesn't assert when converting
8187                         the GError into a DBusError
8188                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8189                    impl_connection_settings_get_settings,
8190                    impl_connection_settings_get_secrets): use new error creator
8191                         function
8192
8193 2007-09-25  Dan Williams  <dcbw@redhat.com>
8194
8195         * src/NetworkManager.c
8196                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8197
8198 2007-09-25  Dan Williams  <dcbw@redhat.com>
8199
8200         * src/supplicant-manager/nm-supplicant-manager.c
8201                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8202                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8203                    nm_supplicant_manager_startup): when the supplicant isn't running,
8204                         try to start it periodically via system bus activation.  Fixes
8205                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8206                         for the supplicant to come back
8207
8208 2007-09-25  Dan Williams  <dcbw@redhat.com>
8209
8210         Ensure that old activation requests are forgotten about; previously
8211         hitting Cancel in the password dialog would deactivate whatever device
8212         that password was requested for, even if that wasn't the currently
8213         activating connection.
8214
8215         * src/nm-manager.c
8216           src/nm-manager.h
8217                 - (nm_manager_get_connection_secrets): track the pending call
8218                         object so it can be canceled later if needed
8219                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8220                         GetSecrets call for a particular connection
8221
8222         * src/nm-activation-request.c
8223                 - (dispose): cancel any outstanding GetSecrets calls on the
8224                         connection
8225
8226 2007-09-25  Dan Williams  <dcbw@redhat.com>
8227
8228         * src/NetworkManagerPolicy.c
8229                 - (nm_policy_device_change_check): handle devices that have a
8230                         deferred activation.  These devices are not really active _yet_,
8231                         but need to be treated as such here.  Don't interrupt them
8232                         automatically.
8233
8234         * src/nm-device-interface.c
8235                 - (impl_device_activate): handle devices that have a deferred activation
8236                         like activating or active devices.  When multiple active devices
8237                         get committed, the device shouldn't be deactivated until the
8238                         connection details are available to avoid DoS and such.  Currently,
8239                         any active, activating, or deferred activation device is deactivated
8240                         here before starting the new activation request.
8241
8242 2007-09-25  Dan Williams  <dcbw@redhat.com>
8243
8244         Properly re-query secrets from the settings daemon when stuff fails.
8245
8246         * src/nm-device-802-11-wireless.c
8247                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8248                         between Shared Key and Open System auth modes
8249                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8250                    real_act_stage4_ip_config_timeout): clear existing secrets and
8251                         request new ones when something fails due to a suspected wrong key
8252                 - (real_act_stage2_config): fix for new request_new argument to
8253                         nm_manager_get_connection_secrets()
8254
8255         * src/nm-manager.c
8256           src/nm-manager.h
8257                 - (nm_manager_get_connection_secrets): return error status; pass
8258                         new request_new argument on to the settings daemon
8259
8260         * introspection/nm-settings-connection.xml
8261                 - New 'request_new' argument to the GetSecrets call that hints to the
8262                         settings daemon to ask the user for completely new secrets
8263
8264         * libnm-glib/nm-settings.c
8265           libnm-glib/nm-settings.h
8266                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8267                         argument
8268
8269 2007-09-25  Dan Williams  <dcbw@redhat.com>
8270
8271         * libnm-util/nm-connection.c
8272           libnm-util/nm-connection.h
8273                 - (nm_connection_clear_secrets): new function; clear secrets out of
8274                         each NMSetting in an NMConnection
8275
8276         * libnm-util/nm-setting.h
8277           libnm-util/nm-setting.c
8278                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8279                         secrets out of an NMSetting
8280                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8281                    nm_setting_wired_new, nm_setting_wireless_new,
8282                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8283                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8284                         to default handler default_setting_clear_secrets()
8285
8286 2007-09-25  Dan Williams  <dcbw@redhat.com>
8287
8288         * src/nm-activation-request.c
8289           src/nm-activation-request.h
8290                 - (nm_act_request_is_deferred): new function
8291
8292 2007-09-24  Dan Williams  <dcbw@redhat.com>
8293
8294         * src/nm-device-802-11-wireless.c
8295                 - (activation_success_handler): update signal strength immediately
8296                         after activation
8297
8298 2007-09-24  Dan Williams  <dcbw@redhat.com>
8299
8300         * libnm-util/nm-setting.c
8301                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8302
8303 2007-09-24  Dan Williams  <dcbw@redhat.com>
8304
8305         * src/NetworkManagerPolicy.c
8306                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8307                         device by deactivating it because it doesn't have a "best connection".
8308                         Since autoconnect=False connections aren't automatically chosen,
8309                         NM would interrupt activation of such a connection because it
8310                         would never be "best" due to autoconnect=False.
8311
8312 2007-09-24  Dan Williams  <dcbw@redhat.com>
8313
8314         * src/nm-manager.c
8315                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8316                         actually has some time to enter a key before the GetSecrets call
8317                         times out
8318
8319 2007-09-24  Dan Williams  <dcbw@redhat.com>
8320
8321         * introspection/nm-manager.xml
8322           src/nm-manager.c
8323                 - (impl_manager_legacy_state): fix 'state' method call return value
8324
8325 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8326
8327         * test/Makefile.am: Install nm-tool
8328
8329 2007-09-24  Dan Williams  <dcbw@redhat.com>
8330
8331         Patch from Ross Burton <ross@burtonini.com>
8332
8333         * test/nm-tool.c
8334           callouts/nm-dhcp-client-action.c
8335           src/nm-netlink.c
8336           src/vpn-manager/nm-vpn-connection.c
8337           libnm-glib/libnm-glib-test.c
8338                 - warning fixes
8339
8340 2007-09-24  Dan Williams  <dcbw@redhat.com>
8341
8342         * libnm-util/nm-utils.h
8343           libnm-util/nm-utils.c
8344                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8345                         remove, unused
8346
8347 2007-09-23  Dan Williams  <dcbw@redhat.com>
8348
8349         * vpn-daemons/vpnc/properties/nm-vpnc.c
8350                 - Update for new VPN properties API bits; instead of passing around
8351                         a lot of random things, everything goes into the NMConnection
8352                         object.
8353
8354 2007-09-23  Dan Williams  <dcbw@redhat.com>
8355
8356         * libnm-util/nm-setting.c
8357                 - Correctly dispose of settings objects if creating them from a hash
8358                         table fails
8359
8360 2007-09-23  Dan Williams  <dcbw@redhat.com>
8361
8362         * libnm-util/nm-setting.c
8363                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8364                         the hash table in a standard manner.  Clients of libnm-util should
8365                         only call g_hash_table_remove_all(), never destroy the hash table
8366                         and recreate it.
8367
8368 2007-09-22  Dan Williams  <dcbw@redhat.com>
8369
8370         * src/nm-device-802-11-wireless.c
8371                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8372                         real reason to do it so often, and reduces wakeups for clients.
8373
8374 2007-09-21  Dan Williams  <dcbw@redhat.com>
8375
8376         * src/nm-device-802-11-wireless.c
8377                 - (build_supplicant_config): wpa_supplicant requires the option
8378                         key_mgmt=NONE for unencrypted networks
8379                 - (real_act_stage2_config): clarify log message on activation
8380
8381 2007-09-21  Dan Williams  <dcbw@redhat.com>
8382
8383         * test/nm-supplicant-test.c
8384           test/Makefile.am
8385                 - Remove supplicant test binary; no longer applicable
8386
8387 2007-09-21  Dan Williams  <dcbw@redhat.com>
8388
8389         * src/supplicant-manager/nm-supplicant-manager.c
8390                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8391                         activate it on the system bus
8392
8393 2007-09-20  Dan Williams  <dcbw@redhat.com>
8394
8395         * initscript/RedHat/NetworkManager.in
8396                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8397
8398 2007-09-20  Dan Williams  <dcbw@redhat.com>
8399
8400         * src/nm-device.c
8401                 - (nm_device_is_activating): work around a race between auto-activation
8402                         and the user activating the same device that is being auto-activated
8403
8404 2007-09-20  Dan Williams  <dcbw@redhat.com>
8405
8406         * src/nm-device-interface.c
8407                 - (impl_device_activate): until multiple active device support lands,
8408                         ensure only one device can be active at a time
8409
8410 2007-09-20  Dan Williams  <dcbw@redhat.com>
8411
8412         * src/supplicant-manager/nm-supplicant-config.c
8413           src/supplicant-manager/nm-supplicant-config.h
8414                 - (nm_supplicant_config_add_option): hide secrets from system logs
8415
8416 2007-09-20  Dan Williams  <dcbw@redhat.com>
8417
8418         * src/NetworkManagerPolicy.c
8419                 - (nm_policy_device_change_check): re-enable the wireless device change
8420                         checking code; insted of checking for SSIDs, check for the same
8421                         connection instead
8422
8423 2007-09-20  Dan Williams  <dcbw@redhat.com>
8424
8425         * src/nm-device-802-11-wireless.c
8426                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8427                         composite link state when determining when to start the disconnection
8428                         timer; that link state is already based on the supplicant interface's
8429                         status which is exactly what's already being examined, plus the link
8430                         state is a conglomeration of various things that we don't want here
8431
8432 2007-09-20  Dan Williams  <dcbw@redhat.com>
8433
8434         * libnm-glib/nm-access-point.c
8435                 - (handle_property_changed): strength is a UCHAR
8436
8437 2007-09-20  Dan Williams  <dcbw@redhat.com>
8438
8439         * src/supplicant-manager/nm-supplicant-config.c
8440                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8441                         string list keywords too since that's what wpa_supplicant wants
8442
8443 2007-09-20  Dan Williams  <dcbw@redhat.com>
8444
8445         * libnm-util/nm-setting.c
8446                 - (convert_strv_to_slist): dupe the values in the list because since
8447                         the list is a boxed value, it'll get destroyed when it's container
8448                         (like a hash table or whatever) gets destroyed
8449
8450 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8451
8452         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8453         GSList.
8454
8455         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8456
8457         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8458         just use (g_object_set_data_full).
8459
8460         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8461         that NMSettingVPN->routes is a GSList, convert it to char **.
8462         (nm_vpn_connection_ip4_config_get): Free routes when done.
8463         (nm_vpn_connection_activate): Ditto.
8464
8465         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8466         (real_act_stage2_config): Use defined setting names.
8467
8468 2007-09-20  Dan Williams  <dcbw@redhat.com>
8469
8470         * src/nm-device-802-11-wireless.c
8471           src/nm-manager.c
8472           src/nm-manager.h
8473                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8474                         so that the device can be deactivated if secrets are wrong
8475
8476 2007-09-20  Dan Williams  <dcbw@redhat.com>
8477
8478         * introspection/nm-settings-connection.xml
8479           libnm-glib/nm-settings.c
8480           libnm-glib/nm-settings.h
8481                 - Make GetSecrets asynchronous on the server side
8482
8483 2007-09-20  Dan Williams  <dcbw@redhat.com>
8484
8485         * src/nm-manager.h
8486           src/nm-device.c
8487                 - (nm_device_activate): actually check if a given connection
8488                         exists before assuming it doesn't
8489
8490 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8491
8492         * libnm-util/nm-connection.c (register_default_creators): Use defined
8493         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8494
8495         * libnm-util/nm-setting.c: Define property name strings, use them.
8496         Implement NMSettingVPN and NMSettingVPNProperties settings.
8497         Implement NM_S_TYPE_GVALUE_HASH.
8498         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8499         (setting_connection_verify): Rename 'devtype' property to 'type'.
8500
8501         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8502         properties.
8503
8504         * src/vpn-manager/nm-vpn-service.c: Ditto.
8505
8506         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8507
8508         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8509         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8510
8511         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8512         names. NMSettingConnection->devtype got renamed to 'type'.
8513
8514         * src/nm-device-802-3-ethernet.c (find_best_connection):
8515         (real_get_best_connection): Ditto.
8516
8517         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8518
8519         * libnm-glib/nm-vpn-manager.[ch]: Update.
8520
8521 2007-09-19  Dan Williams  <dcbw@redhat.com>
8522
8523         * src/NetworkManagerAP.c
8524           src/NetworkManagerAP.h
8525           introspection/nm-access-point.xml
8526                 - Change strength-changed signal into a properties-changed signal
8527                         for all properties, not just strength.  Export that signal over dbus
8528                         so listeners don't have to poll NM for changes.
8529                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8530                         get exported over D-Bus, so break up the logic and let other bits
8531                         decided when to export the AP
8532                 - (nm_ap_new_from_ap): remove, unused
8533
8534         * src/nm-device-802-11-wireless.c
8535                 - (merge_scanned_ap): only export APs that are actually on the device
8536                         list, not every AP created internally
8537
8538         * libnm-glib/nm-access-point.c
8539           libnm-glib/nm-access-point.h
8540                 - Cache properties internally and only hit DBus when needed.  Get
8541                         property updates from NM signals
8542
8543 2007-09-16  Dan Williams  <dcbw@redhat.com>
8544
8545         * libnm-util/nm-connection.c
8546           libnm-util/nm-connection.h
8547                 - (nm_connection_for_each_setting_value): new function; iterate over
8548                         each setting's value and call a user-provided function with details
8549                         about that value
8550
8551         * libnm-util/nm-setting.c
8552           libnm-util/nm-setting.h
8553                 - (nm_setting_enumerate_values): new function; enumerate the values
8554                         of a specific NMSetting subclass for a user-provided function with
8555                         details about that value
8556                 - Change wep_tx_keyidx to a uint32
8557                 - Create settings value tables for each setting defining their type,
8558                         key name, offset into the NMSetting subclass' structure, and whether
8559                         they are required and/or a secret
8560                 - (nm_setting_populate_from_hash): generic function to populate an
8561                         NMSetting from a GHash table, make all settings use it
8562                 - (nm_setting_hash): generic function to derive a GHashTable from
8563                         an NMSetting object, make all settings use it
8564
8565 2007-09-14  Dan Williams  <dcbw@redhat.com>
8566
8567         Remove unused stuff in libnm-util
8568
8569         * configure.in
8570           libnm-util/Makefile.am
8571           libnm-util/cipher-private.h
8572           libnm-util/cipher-wep-ascii.c
8573           libnm-util/cipher-wep-ascii.h
8574           libnm-util/cipher-wep-hex.c
8575           libnm-util/cipher-wep-hex.h
8576           libnm-util/cipher-wep-passphrase.c
8577           libnm-util/cipher-wep-passphrase.h
8578           libnm-util/cipher-wpa-psk-hex.c
8579           libnm-util/cipher-wpa-psk-hex.h
8580           libnm-util/cipher-wpa-psk-passphrase.c
8581           libnm-util/cipher-wpa-psk-passphrase.h
8582           libnm-util/cipher.c
8583           libnm-util/cipher.h
8584           libnm-util/dbus-helpers.c
8585           libnm-util/dbus-helpers.h
8586           libnm-util/gnome-keyring-md5.c
8587           libnm-util/gnome-keyring-md5.h
8588           libnm-util/sha1.c
8589           libnm-util/sha1.h
8590           src/nm-device-802-11-wireless.c
8591           test/libnm-util/Makefile.am
8592           test/libnm-util/test-ciphers.c
8593           test/libnm-util/test-dbus-helpers.c
8594           test/libnm-util/test-inputs.h
8595                 - Removed
8596
8597 2007-09-14  Dan Williams  <dcbw@redhat.com>
8598
8599         * libnm-util/dbus-method-dispatcher.c
8600           libnm-util/dbus-method-dispatcher.h
8601                 - Remove, unused
8602
8603 2007-09-14  Dan Williams  <dcbw@redhat.com>
8604
8605         Implement deferred activation support in the device class.
8606
8607         * src/nm-device-interface.c
8608           src/nm-device-interface.h
8609                 - (nm_device_interface_activate): take more arguments to support
8610                         deferred activation; callers must pass one of (connection) OR
8611                         (service_name, connection_path)
8612                 - (impl_device_activate): connection validation is punted to the device
8613                         to be able to handle deferred activation.  Yes, this means errors
8614                         don't get returned from the Activate() dbus call, and yes, that
8615                         should be fixed somehow later.
8616
8617         * src/nm-device.c
8618           src/nm-device.h
8619                 - (clear_act_request): clear additional deferred activation stuff too
8620                 - (deferred_activation_timeout_cb): new function; clean up when
8621                         deferred activation times out.
8622                 - (deferred_activation_start_cb): new function; when the connection
8623                         finally becomes available, start device activation
8624                 - (nm_device_activate): attach to the right signals of the activation
8625                         request if we need to defer activation until the connection is valid
8626
8627         * src/NetworkManagerPolicy.c
8628                 - (nm_policy_device_change_check): update for additional arguments
8629                         required for nm_device_interface_activate().  Pass NULL for these
8630                         though because this function already knows exactly which
8631                         NMConnection to use
8632
8633 2007-09-14  Dan Williams  <dcbw@redhat.com>
8634
8635         Implement deferred activation handling in the NMActRequest class.  When a
8636         client wants to activate a device but must create the NMConnection details
8637         on the fly, there likely hasn't been enough time yet for NM to receive the
8638         new connection signal and grab all the connection details.  So the
8639         activation is deferred (and bounded by a timer) for a while, and if the
8640         connection appears within the window, it is activated.
8641
8642         * src/nm-activation-request.c
8643           src/nm-activation-request.h
8644                 - (nm_act_request_class_init): two new signals to support deferred
8645                         activation, to allow the listener to handle both timeout and success
8646                 - (nm_act_request_new_deferred): new function, starts the deferred
8647                         activation timeout handler and listens to the NMManager for
8648                         new-connection signals to notice when the connection comes in
8649
8650 2007-09-14  Dan Williams  <dcbw@redhat.com>
8651
8652         * src/nm-manager.h
8653           src/nm-manager.c
8654                 - (nm_manager_get_connection_service_name,
8655                    nm_manager_get_connection_dbus_path): get details about a connection
8656                         known internally by the NMManager
8657                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8658                         because NMConnection is now a GObject subclass
8659                 - Use constant for the gobject data tag used on NMConnection objects for
8660                         storing the associated DBusGProxy
8661
8662 2007-09-14  Dan Williams  <dcbw@redhat.com>
8663
8664         * utils/Makefile.am
8665           utils/nm-utils.c
8666           utils/nm-utils.h
8667           src/supplicant-manager/Makefile.am
8668           src/dhcp-manager/Makefile.am
8669           src/backends/Makefile.am
8670           src/named-manager/Makefile.am
8671           src/ppp-manager/Makefile.am
8672           src/vpn-manager/Makefile.am
8673           test/libnm-util/Makefile.am
8674           test/test-common/Makefile.am
8675                 - Remove utils/; it was unused
8676
8677 2007-09-13  Dan Williams  <dcbw@redhat.com>
8678
8679         * libnm-glib/nm-vpn-manager.h
8680           libnm-glib/nm-vpn-manager.c
8681                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8682
8683 2007-09-13  Dan Williams  <dcbw@redhat.com>
8684
8685         * src/nm-device-802-3-ethernet.c
8686                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8687                         netlink monitor carrier signals on dispose, not bring down.  The
8688                         carrier signals should be handled over the entire lifetime of the
8689                         device anyway, not created/destroyed on up or down.
8690
8691 2007-09-13  Dan Williams  <dcbw@redhat.com>
8692
8693         * libnm-glib/nm-device.c
8694           libnm-glib/nm-device.h
8695                 - (nm_device_activate): take a connection object path rather than an
8696                         NMConnection because NMConnection isn't exported over D-Bus and
8697                         therefore it dbus-glib can't automatically get an object path from it
8698
8699 2007-09-13  Dan Williams  <dcbw@redhat.com>
8700
8701         * libnm-util/nm-setting.c
8702                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8703
8704 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8705
8706         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8707
8708 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8709
8710         * src/vpn-manager/nm-vpn-connection.[ch]: 
8711         * src/vpn-manager/nm-vpn-manager.[ch]:
8712         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8713         dbus-glib, GObjects, signals etc.
8714
8715         * libnm-glib/nm-vpn-manager.[ch]: 
8716         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8717         so much, rewrite these too.
8718
8719         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8720         the new introspection files.
8721
8722         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8723
8724         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8725         the header with the same name from libnm-utils.
8726
8727         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8728
8729         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8730
8731         * introspection/nm-vpn-plugin.xml: Implement.
8732
8733         * introspection/nm-vpn-connection.xml: Implement.
8734
8735         * introspection/nm-vpn-manager.xml: Implement.
8736
8737         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8738         the named manager argument, it can just as easily get it as the caller.
8739         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8740
8741         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8742
8743         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8744
8745         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8746         libnm-utils.
8747
8748         * libnm-util/nm-connection.c: Ditto.
8749
8750         * src/NetworkManagerMain.h: Remove, it's finally empty.
8751
8752         * configure.in: Remove utils/ from build.
8753
8754         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8755         of hard-coded strings.
8756
8757         * utils/: Move it over to libnm-util.
8758
8759         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8760
8761         * dispatcher-daemon/Makefile.am: Ditto.
8762
8763         * src/Makefile.am: Ditto.
8764
8765 2007-09-12  Dan Williams  <dcbw@redhat.com>
8766
8767         Wireless connections can be made with config data from the applet now.
8768         
8769         Yay.
8770
8771         * src/supplicant-manager/nm-supplicant-config.h
8772           src/supplicant-manager/nm-supplicant-config.c
8773                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8774                 - (nm_supplicant_config_add_setting_wireless,
8775                    nm_supplicant_config_add_setting_wireless_security): new functions;
8776                         add key/value pairs from the settings objects to the supplicant
8777                         config
8778
8779         * src/nm-device-802-11-wireless.c
8780                 - (cull_scan_list): fix check to not prune currently associated AP
8781                 - (build_supplicant_config, real_act_stage2_config): call the functions
8782                         of the NMSupplicantConfig that parse settings objects rather than
8783                         doing it manually here
8784
8785 2007-09-12  Dan Williams  <dcbw@redhat.com>
8786
8787         * src/supplicant-manager/nm-supplicant-interface.c
8788           src/supplicant-manager/nm-supplicant-marshal.list
8789                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8790                         "connection-error" signal arguments should be STRING not CHAR
8791
8792 2007-09-12  Dan Williams  <dcbw@redhat.com>
8793
8794         * src/NetworkManagerUtils.c
8795           src/NetworkManagerUtils.h
8796                 - (nm_utils_hexstr2bin): new function
8797
8798 2007-09-11  Dan Williams  <dcbw@redhat.com>
8799
8800         * src/nm-manager.c
8801                 - (connection_get_settings_cb): emit connection-added signal
8802                 - (connection_removed_cb): uncomment bits for system settings service,
8803                         send connection-removed when appropriate
8804                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8805                         the stack by trying to g_object_set_data() on something that's
8806                         not a GObject; handle case where settings service returns
8807                         empty settings hash table
8808
8809 2007-09-11  Dan Williams  <dcbw@redhat.com>
8810
8811         * src/NetworkManagerPolicy.c
8812                 - (connection_added, connection_removed): trigger device change checks
8813                         on connection changes
8814
8815 2007-09-11  Dan Williams  <dcbw@redhat.com>
8816
8817         * src/nm-activation-request.c
8818                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8819
8820 2007-09-11  Dan Williams  <dcbw@redhat.com>
8821
8822         * src/nm-device-802-11-wireless.c
8823                 - (real_connection_secrets_updated): fix erroneous check
8824
8825 2007-09-11  Dan Williams  <dcbw@redhat.com>
8826
8827         * introspection/nm-device.xml
8828           libnm-glib/nm-device.c
8829           libnm-glib/nm-device.c
8830                 - Fix Activate call argument borkage; Activate takes 3 arguments
8831
8832 2007-09-11  Dan Williams  <dcbw@redhat.com>
8833
8834         * libnm-glib/nm-access-point.c
8835           libnm-glib/nm-access-point.c
8836                 - (nm_access_point_get_frequency): now returns guint32 to match
8837                         property change on 2007-09-10
8838
8839 2007-09-11  Dan Williams  <dcbw@redhat.com>
8840
8841         * src/nm-device-802-11-wireless.c
8842                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8843                         somewhere defines 'index' and I missed this one when I fixed the
8844                         shadow declaration errors earlier
8845
8846 2007-09-11  Dan Williams  <dcbw@redhat.com>
8847
8848         * libnm-util/nm-connection.c
8849                 - (nm_connection_update_secrets, need_secrets_check): move
8850                         802-11-wireless-security need_secrets checks to the setting object
8851                         itself, where it belongs
8852
8853         * libnm-util/nm-setting.c
8854           libnm-util/nm-setting.h
8855                 - (nm_setting_need_secrets): new function
8856                 - (setting_wireless_security_verify,
8857                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8858                 - (setting_wireless_security_need_secrets): mostly copy code over
8859                         from nm-connection.c
8860
8861 2007-09-11  Dan Williams  <dcbw@redhat.com>
8862
8863         * libnm-util/nm-setting.c
8864           libnm-util/nm-setting.h
8865                 - (nm_setting_update_secrets): new function; add a virtual function that
8866                         subclasses can implement to update their secrets
8867                 - (setting_wireless_security_update_secrets): implement that function
8868                         for the 802-11-wireless-security subclass
8869
8870         * libnm-util/nm-connection.c
8871           libnm-util/nm-connection.h
8872                 - (nm_connection_update_secrets): update secrets for a Setting and
8873                         emit a signal on success
8874
8875         * src/nm-manager.c
8876           src/nm-manager.h
8877           src/nm-marshal.list
8878                 - (connection_get_settings_cb): enable system settings bits
8879                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8880                         to request secrets from the settings dbus service and to
8881                         push those secrets to the NMConnection itself
8882
8883         * src/nm-activation-request.c
8884           src/nm-activation-request.h
8885                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8886                         currently being activated, and proxy that signal to other listeners.
8887                         Goes through the activation request because the activation request
8888                         is the thing that manages the lifetime of the NMConnection that's
8889                         being activated.
8890
8891         * src/nm-device-802-11-wireless.c
8892                 - (real_connection_secrets_updated): implement the connection secrets
8893                         updated notification and restart activation when secrets are
8894                         received
8895                 - (real_act_stage2_config): request secrets from the settings dbus
8896                         service if secrets are needed
8897
8898         * src/nm-device.c
8899           src/nm-device.h
8900                 - (clear_act_request, nm_device_activation_cancel,
8901                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8902                         where the activation request is cleared
8903                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8904                         updated secrets signal of activation request and add a function
8905                         that subclasses can override to handle it easily
8906
8907 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8908
8909         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8910         removal of NetworkManagerAPList.
8911
8912 2007-09-10  Dan Williams  <dcbw@redhat.com>
8913
8914         * src/NetworkManagerAP.c
8915           src/NetworkManagerAP.h
8916           introspection/nm-access-point.xml
8917                 - Change 'freq' property to a guint32 instead of a double since we
8918                         weren't using the floating point bits anyway
8919
8920 2007-09-10  Dan Williams  <dcbw@redhat.com>
8921
8922         * NetworkManagerAP.c
8923           NetworkManagerAP.h
8924           NetworkManagerPolicy.c
8925           NetworkManagerSystem.c
8926           NetworkManagerUtils.c
8927           NetworkManagerUtils.h
8928           nm-device-802-11-wireless.c
8929           nm-device-802-3-ethernet.c
8930           nm-hal-manager.c
8931           nm-manager.c
8932           vpn-manager/nm-dbus-vpn.c
8933                 - Warning fixes; casts and removal of unused variables
8934
8935 2007-09-10  Dan Williams  <dcbw@redhat.com>
8936
8937         * include/NetworkManager.h
8938                 - Kill NMNetworkType; AP types don't matter any more
8939
8940         * src/NetworkManagerAPList.c
8941           src/NetworkManagerAPList.h
8942           src/Makefile.am
8943                 - Kill; NMAccessPointList has outlived it's usefulness
8944
8945         * src/NetworkManagerAP.c
8946           src/NetworkManagerAP.h
8947                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8948                         functions; check if an NMConnection object is compatible with the
8949                         settings of this AP
8950                 - (freq_to_channel, channel_to_freq): utility functions for
8951                         channel <-> frequency conversion
8952
8953         * src/nm-device.c
8954           src/nm-device.h
8955                 - (nm_device_get_best_connection): pass the specific object around
8956                          (which might be the object path of a specific AP to connect to).
8957                          The get_best_connection() call should populate this on return
8958                          if needed (wireless does).
8959
8960         * src/nm-device-802-3-ethernet.c
8961                 - (real_get_best_connection): handle specific_object argument
8962
8963         * src/NetworkManager.c
8964           src/NetworkManagerMain.h
8965                 - Remove unused includes
8966
8967         * src/nm-device-802-11-wireless.c
8968           src/nm-device-802-11-wireless.h
8969                 - Convert the ap_list into a GSList from an NMAccessPointList
8970                 - No need for caching the 'activation_ap' since this is now determined
8971                         from the specific_object of the activation request, which is
8972                         populated from the get_best_connection() call or from a user request
8973                 - (nm_device_802_11_wireless_update_bssid): fix warning
8974                 - (get_wireless_capabilities): fix error message format arguments
8975                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8976                 - (find_best_connection, real_get_best_connection): implement
8977                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8978                         move here from NetworkManagerAPList
8979                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8980                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8981                         already verified earlier
8982                 - (real_act_stage2_config): use nm_connection_need_secrets()
8983
8984         * src/NetworkManagerPolicy.c
8985                 - (nm_policy_auto_get_best_device): handle specific objects
8986                 - (create_connection): remove; automatic connection creation functionality
8987                         is handled by the Connection objects
8988                 - (nm_policy_device_change_check): handle specific_object
8989
8990         * libnm-util/nm-connection.c
8991                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8992
8993 2007-09-10  Dan Williams  <dcbw@redhat.com>
8994
8995         * src/nm-manager.c
8996                 - (query_connections): fix uninitialized variable problem that caused
8997                         segfault
8998                 - (nm_manager_add_device): take devices down on startup so that we can
8999                         be assured that nm_device_is_up() won't short-circuit the init
9000                         process.  Hack until the is_up check gets split into two pieces
9001                         that aren't behaviorally confusing.
9002
9003 2007-09-09  Dan Williams  <dcbw@redhat.com>
9004
9005         * introspection/nm-device.xml
9006                 - The 'Activate' method now takes 3 arguments, a service name for the
9007                 settings service (user or system), the object path of the connection
9008                 to activate, and the specific object to activate, if any
9009
9010         * src/nm-device-interface.c
9011                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9012                 Add error bits
9013                 - (impl_device_activate): adapt to new Activate arguments; validate
9014                 the service name and get the Connection object from the NMManager
9015                 before starting to activate the device with the specified connection
9016
9017         * src/nm-device-802-3-ethernet.c
9018                 - (real_get_best_connection): find the best connection, or create a
9019                 default one if no existing connections can be used
9020
9021         * src/NetworkManagerPolicy.c
9022                 - (nm_policy_auto_get_best_device): Get the device's best connection
9023                 and only pick the device if it has one
9024                 - (nm_policy_device_change_check): disable wireless bits for now until
9025                 wireless get_best_connection() can be implemented (replacing "best_ap");
9026                 don't create a default connection here as the device subclass will do
9027                 that if needed
9028
9029         * src/nm-manager.h
9030           src/nm-manager.c
9031                 - (nm_manager_get): make NMManager a singleton and expose the getter
9032                 internally
9033                 - Rework internal NMManager connection handling to use the same
9034                 routines for both the system and user settings services.  Most calls
9035                 take a new NMConnectionType argument specifying either system or user
9036                 connections
9037                 - (nm_manager_get_connection_by_object_path): new function; get a
9038                 connection keyed on its object path
9039
9040         * src/NetworkManager.c
9041                 - (main): use nm_manager_get()
9042
9043 2007-09-09  Dan Williams  <dcbw@redhat.com>
9044
9045         * src/nm-device.h
9046           src/nm-device.c
9047                 - (nm_device_get_best_connection): new function; get best connection
9048                         for the device at that time
9049
9050 2007-09-09  Dan Williams  <dcbw@redhat.com>
9051
9052         * src/nm-device-interface.h
9053                 - Add NMDeviceInterfaceError with an UnknownConnection error
9054
9055 2007-09-09  Dan Williams  <dcbw@redhat.com>
9056
9057         Stupid mistake on my part; object path and interface for settings service
9058         and connection objects can be the same, only the service name must be
9059         different for the system and user settings services.
9060
9061         * include/NetworkManager.h
9062           src/nm-manager.c
9063           introspection/nm-settings-connection.xml
9064           introspection/nm-settings.xml
9065           libnm-glib/nm-settings.c
9066                 - (nm_connection_settings_init, query_user_connections,
9067                    new_connection_cb): Unify NetworkManagerSettings and Connection
9068                    interface name and object path
9069
9070 2007-09-06  Dan Williams  <dcbw@redhat.com>
9071
9072         * libnm-glib/nm-object.c
9073                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9074                    nm_object_get_int_property, nm_object_get_uint_property,
9075                    nm_object_get_boolean_property, nm_object_get_byte_property,
9076                    nm_object_get_double_property, nm_object_get_byte_array_property):
9077                         clear GValues after copying their contents, fixes memory leaks
9078                         after every property access because dbus-glib copies the values
9079                         from the DBusMessage into the GValue already.
9080
9081 2007-09-06  Dan Williams  <dcbw@redhat.com>
9082
9083         * introspection/nm-access-point.xml
9084                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9085                         them to be.  There's some magic property name parsing going on in
9086                         dbus-glib that breaks up property names based on studly-caps and
9087                         puts - between words.
9088
9089         * libnm-glib/nm-access-point.c
9090                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9091                         Fix property names
9092
9093 2007-09-06  Dan Williams  <dcbw@redhat.com>
9094
9095         * src/nm-manager.c
9096                 - (nm_manager_user_connections_destroy): clear the user connections hash
9097                         table, don't destroy it
9098                 - (finalize): only destroy the hash table on NMManager finalization
9099
9100 2007-09-02  Dan Williams  <dcbw@redhat.com>
9101
9102         * include/NetworkManager.h
9103           libnm-glib/nm-settings.c
9104                 - defines for the user settings daemon D-Bus bits
9105
9106         * src/NetworkManager.c
9107                 - Remove stuff that referred to the old NetworkManagerInfo service
9108
9109         * src/vpn-manager/nm-dbus-vpn.h
9110                 - Move old NMI defines to the only place they are used still
9111
9112         * libnm-util/nm-connection.c
9113           libnm-util/nm-connection.h
9114           src/nm-activation-request.c
9115                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9116
9117         * src/nm-manager.c
9118           src/nm-manager.h
9119                 - Get connections and their settings from the user settings daemon
9120                         at the appropriate times
9121
9122 2007-09-02  Dan Williams  <dcbw@redhat.com>
9123
9124         * libnm-util/nm-setting.c
9125                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9126                 - (setting_wireless_hash): set the right value on the item
9127
9128 2007-09-02  Dan Williams  <dcbw@redhat.com>
9129
9130         * test/Makefile.am
9131           test/nminfotest.c
9132                 - Remove, no longer useful
9133
9134 2007-08-30  Dan Williams  <dcbw@redhat.com>
9135
9136         * src/Makefile.am
9137           src/NetworkManagerDbus.c
9138           src/NetworkManagerDbus.h
9139           src/vpn-manager/nm-dbus-vpn.c
9140                 - Remove, no longer necessary.  Move last bits to the only place its
9141                 used, in nm-dbus-vpn.c
9142
9143         * src/NetworkManagerAPList.c
9144           src/nm-device.c
9145           src/NetworkManager.c
9146           src/nm-device-802-11-wireless.c
9147           src/vpn-manager/nm-vpn-manager.c
9148           src/vpn-manager/nm-vpn-service.c
9149           src/NetworkManagerPolicy.c
9150           src/nm-manager.c
9151                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9152                 that was message_is_error()
9153
9154 2007-08-30  Dan Williams  <dcbw@redhat.com>
9155
9156         * libnm-util/sha1.c
9157                 - Include config.h to get defines for endiannes (gnome.org #420216)
9158
9159 2007-08-30  Dan Williams  <dcbw@redhat.com>
9160
9161         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9162
9163         * src/ppp-manager/Makefile.am
9164                 - use -fPIC (gnome.org #471825)
9165
9166 2007-08-29  Dan Williams  <dcbw@redhat.com>
9167
9168         * include/NetworkManager.h
9169                 - Keep NMConnection object path in sync
9170
9171         * libnm-glib/nm-settings.c
9172           libnm-glib/nm-settings.h
9173                 - Break D-Bus object registration out of the init function, because
9174                 every object that's exported over D-Bus needs to use the _same_
9175                 DBusConnection.  Otherwise, each object would get a different object
9176                 path tree and wouldn't be callable.
9177
9178 2007-08-29  Dan Williams  <dcbw@redhat.com>
9179
9180         * libnm-util/nm-setting.h
9181           libnm-util/nm-setting.c
9182           libnm-util/nm-connection.c
9183           src/NetworkManagerPolicy.c
9184                 - 'info' settings object should be 'connection' says the spec
9185                 at NetworkManagerConfigurationSpecification
9186
9187 2007-08-29  Dan Williams  <dcbw@redhat.com>
9188
9189         * libnm-glib/nm-settings.c
9190           libnm-glib/nm-settings.h
9191                 - make the dbus path a property of the object, and autogenerate it.
9192                 It can't be composed of the 'id' field becuase that's not available
9193                 yet during the GObject creation in nm_connection_settings_init()
9194
9195 2007-08-29  Dan Williams  <dcbw@redhat.com>
9196
9197         * introspection/nm-settings-connection.xml
9198           introspection/nm-settings.xml
9199                 - Service name -> NetworkManagerUserSettings because two services
9200                 can't share part of the same path.  I'm not really sure how we'll use
9201                 the same code with the system-settings daemon...
9202
9203 2007-08-28  Dan Williams  <dcbw@redhat.com>
9204
9205         * src/nm-device-interface.c
9206           src/nm-device-interface.h
9207                 - Kill one more bit of NMData
9208
9209 2007-08-28  Dan Williams  <dcbw@redhat.com>
9210
9211         * src/NetworkManagerSystem.h
9212           src/nm-device.c
9213           src/nm-device.h
9214           src/nm-hal-manager.c
9215           src/NetworkManager.c
9216           src/nm-device-802-11-wireless.c
9217           src/nm-hal-manager.h
9218           src/nm-device-802-3-ethernet.c
9219           src/vpn-manager/nm-vpn-service.h
9220           src/vpn-manager/nm-vpn-manager.c
9221           src/vpn-manager/nm-vpn-manager.h
9222           src/vpn-manager/nm-vpn-service.c
9223           src/nm-device-802-11-wireless.h
9224           src/NetworkManagerMain.h
9225           src/nm-device-802-3-ethernet.h
9226           src/backends/NetworkManagerGentoo.c
9227           src/backends/NetworkManagerPaldo.c
9228           src/backends/NetworkManagerFrugalware.c
9229           src/backends/NetworkManagerRedHat.c
9230           src/backends/NetworkManagerSlackware.c
9231           src/backends/NetworkManagerGeneric.c
9232           src/backends/NetworkManagerArch.c
9233           src/backends/NetworkManagerSuSE.c
9234           src/backends/NetworkManagerGeneric.h
9235           src/backends/NetworkManagerDebian.c
9236                 - Kill NMData
9237
9238 2007-08-28  Dan Williams  <dcbw@redhat.com>
9239
9240         * src/NetworkManagerMain.h
9241           src/nm-device-802-11-wireless.c
9242           src/NetworkManager.c
9243                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9244                 for now we should set the 'invalid' property on individual APs, and when
9245                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9246                 that ESS
9247
9248 2007-08-28  Dan Williams  <dcbw@redhat.com>
9249
9250         * src/NetworkManagerAP.c
9251           src/NetworkManagerAP.h
9252                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9253                         'autoconnect' property instead
9254
9255         * src/NetworkManager.c
9256           src/NetworkManagerMain.h
9257           src/NetworkManagerPolicy.c
9258           src/NetworkManagerPolicy.h
9259                 - Remove the 'allowed_ap_list', which should be replaced by 
9260                         NMConnection/NMSettings instead, since _those_ are the allowed
9261                         things that NM can connect to
9262
9263         * src/nm-device-802-11-wireless.c
9264                 - Remove both allowed_ap_list usage and 'fallback' checking
9265
9266 2007-08-28  Dan Williams  <dcbw@redhat.com>
9267
9268         * src/nm-device.c
9269           src/named-manager/nm-named-manager.c
9270           src/named-manager/nm-named-manager.h
9271           src/NetworkManager.c
9272           src/vpn-manager/nm-vpn-manager.c
9273           src/NetworkManagerMain.h
9274           src/NetworkManagerSystem.c
9275                 - Remove the named-manager object from NMData structure in preparation
9276                 for NMData's timely death.  Make the NMNamedManager the singleton that
9277                 it really is
9278
9279 2007-08-28  Dan Williams  <dcbw@redhat.com>
9280
9281         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9282         each AP's capabilities, and by NMConnection/NMSettings objects for user
9283         defined connections.
9284
9285         * include/NetworkManager.h
9286                 - Redefine 802.11 security properties.  There are now device capabilities
9287                         and AP flags and AP security flags.  It was way to unclear before.
9288
9289         * src/Makefile.am
9290           src/nm-ap-security-leap.h
9291           src/nm-ap-security-leap.c
9292           src/nm-ap-security-wpa-eap.c
9293           src/nm-ap-security-wpa-eap.h
9294           src/nm-ap-security-private.h
9295           src/nm-ap-security-wpa-psk.c
9296           src/nm-ap-security-wpa-psk.h
9297           src/nm-ap-security-wep.c
9298           src/nm-ap-security-wep.h
9299           src/nm-ap-security.c
9300           src/nm-ap-security.h
9301                 - Removed, to be replaced with NMConnection/NMSettings objects
9302
9303         * src/nm-dbus-nmi.c
9304           src/nm-dbus-nmi.h
9305                 - Removed, to be replaced by code that talks to the new info daemon
9306                         interface and gets NMConnection/NMSettings objects
9307
9308         * src/backends/NetworkManagerSuSE.c
9309                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9310                         info-daemon that does the same thing but talks the new info-daemon
9311                         D-Bus interface
9312
9313         * src/NetworkManagerAP.h
9314           src/NetworkManagerAP.c
9315           src/NetworkManagerAPList.c
9316           libnm-glib/libnm-glib-test.c
9317                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9318                         WPA/RSN
9319
9320         * libnm-glib/nm-access-point.c
9321           libnm-glib/nm-access-point.h
9322           introspection/nm-access-point.xml
9323           test/nm-tool.c
9324                 - Adjust to new flags for AP security
9325
9326         * utils/nm-utils.c
9327           utils/nm-utils.h
9328           src/vpn-manager/nm-dbus-vpn.c
9329                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9330                         stuff which is the only place it's used
9331
9332         * src/nm-device-interface.c
9333           src/nm-device-interface.h
9334           introspection/nm-device.xml
9335           src/nm-activation-request.c
9336           src/nm-activation-request.h
9337           src/nm-device.c
9338                 - Add a new 'specific_object' argument that hints to NM what actual
9339                         AP or other device-specific thing the connection should apply to.
9340                         NMConnection objects can apply to more than one actual device/AP.
9341
9342         * libnm-util/nm-connection.c
9343         * libnm-util/nm-connection.h
9344                 - Add 'have_secrets" call stubs
9345
9346         * libnm-util/cipher.h
9347                 - Move NM_AUTH_TYPE_* defines here for now
9348
9349         * src/nm-device-802-11-wireless.c
9350                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9351                         NMSettings objects
9352
9353         * src/NetworkManagerDbus.c
9354         * src/NetworkManagerPolicy.c
9355                 - Remove usage of update_allowed_networks, should be pushing data in
9356                         a different manner
9357
9358 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9359
9360         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9361         dbus-glib frees it when the call is done.
9362
9363 2007-08-26  Dan Williams  <dcbw@redhat.com>
9364
9365         * introspection/nm-device.xml
9366                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9367
9368 2007-08-26  Dan Williams  <dcbw@redhat.com>
9369
9370         * src/nm-device-802-3-ethernet.c
9371                 - (constructor): move connection of interface-connected/disconnected
9372                         signals here from real_bring_up().  Should be listening to netlink
9373                         for carrier events no matter what the initial state of the device
9374                         is.
9375
9376 2007-08-26  Dan Williams  <dcbw@redhat.com>
9377
9378         * src/nm-netlink-monitor.c
9379                 - (nm_netlink_monitor_class_init): fix marshalling types for
9380                         interface-connected/interface-disconnected
9381                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9382                         check
9383
9384 2007-08-26  Dan Williams  <dcbw@redhat.com>
9385
9386         Convert to using interface indexes as the primary method of identifying
9387         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9388         be renamed at any time.  Device object paths now refer to the device
9389         index rather than the name, and you can map those two manually if you like
9390         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9391         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9392         to use interface indexes rather than names.
9393
9394 2007-08-26  Dan Williams  <dcbw@redhat.com>
9395
9396         * src/nm-netlink-monitor.h
9397                 - Remove one last bit of wireless-event signal
9398
9399 2007-08-26  Dan Williams  <dcbw@redhat.com>
9400
9401         * src/nm-netlink-monitor.c
9402                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9403                         don't need the 'wireless-event' signal anymore since that's all
9404                         handled by wpa_supplicant
9405
9406 2007-08-25  Dan Williams  <dcbw@redhat.com>
9407
9408         It's 2007. Remove support for drivers that don't support wireless scanning.
9409
9410         * test/nm-tool.c
9411           include/NetworkManager.h
9412           src/NetworkManagerUtils.c
9413           src/NetworkManagerPolicy.c
9414           src/nm-device-802-11-wireless.c
9415                 - Remove special handling for non-scanning devices and mark them
9416                         as unsupported/unhandled
9417
9418 2007-08-20  Dan Williams  <dcbw@redhat.com>
9419
9420         * src/nm-device-802-11-wireless.c
9421           src/nm-device-802-3-ethernet.c
9422                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9423                         because when the card is pulled or the module removed, the device
9424                         is already !IFF_UP and then device-specific cleanup (removing
9425                         the supplicant interface, periodic checks, etc) never gets done
9426
9427 2007-08-20  Dan Williams  <dcbw@redhat.com>
9428
9429         * src/nm-manager.c
9430                 - (nm_manager_remove_device): bring device down before disconnecting
9431                         signal handlers, so that the 'state' signal will get broadcast when
9432                         the device enters the DOWN state
9433                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9434                         of states that cause the NMManager to recheck its state
9435
9436 2007-08-20  Dan Williams  <dcbw@redhat.com>
9437
9438         * src/supplicant-manager/nm-supplicant-interface.c
9439                 - (interface_disconnect_done): don't try to dispose of the net proxy
9440                         when it may already have been disposed of
9441
9442 2007-08-20  Dan Williams  <dcbw@redhat.com>
9443
9444         * src/nm-device-802-11-wireless.c
9445                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9446                         the SSID isn't available; this can happen when the card is pulled
9447                         or the module unloaded, during the post-removal deactivation
9448                         paths, when the ioctl returns ENODEV
9449
9450 2007-08-20  Dan Williams  <dcbw@redhat.com>
9451
9452         * src/nm-device-802-11-wireless.c
9453                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9454                         frequency, and mode match.  Applets are now responsible for grouping
9455                         access points
9456
9457 2007-08-20  Dan Williams  <dcbw@redhat.com>
9458
9459         * src/NetworkManagerAP.c
9460         * src/NetworkManagerAP.h
9461                 - (nm_ap_print_self): new function
9462
9463         * src/NetworkManagerAPList.c
9464                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9465                         to do it all here
9466         
9467 2007-08-17  Dan Williams  <dcbw@redhat.com>
9468
9469         * src/nm-device-802-3-ethernet.c
9470                 - (real_bring_down): don't try to dispose of stuff that might not
9471                         exist
9472
9473 2007-08-17  Dan Williams  <dcbw@redhat.com>
9474
9475         * src/NetworkManagerAP.c
9476                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9477                         applet.  This ensures that the case between the seen-bssids and
9478                         the bssids reported by the driver match.
9479
9480 2007-08-17  Dan Williams  <dcbw@redhat.com>
9481
9482         * src/nm-device-802-11-wireless.c
9483                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9484                         we dispose of the interface proxy in NM
9485
9486 2007-08-16  Dan Williams  <dcbw@redhat.com>
9487
9488         * libnm-glib/nm-client.c
9489                 - (nm_client_init): create VPN connections hash table with key free
9490                         function
9491                 - (proxy_vpn_connection_added): VPN connections hash table key should
9492                         be a duplicated value, not the same memory address as the VPN
9493                         connection name.  This is because the VPN connection name could
9494                         potentially be freed and set to something else during the lifetime
9495                         of the NMVPNConnection object.
9496
9497 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9498
9499         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9500         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9501         with the file descriptors. Send a child setup function to change the pppd
9502         progress group.
9503
9504 2007-08-15  Dan Williams  <dcbw@redhat.com>
9505
9506         * src/supplicant-manager/nm-supplicant-interface.c
9507                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9508                         an interface
9509                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9510                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9511                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9512                         the interface internally
9513
9514 2007-08-15  Dan Williams  <dcbw@redhat.com>
9515
9516         * src/nm-device-802-11-wireless.c
9517                 - (real_bring_down): move most of this function into device_cleanup()
9518                         so that it can be called from elsewhere
9519                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9520                         and stuff on dispose.  These would normally get cleaned up when
9521                         the device is marked down and deactivated, but when the device is
9522                         hot-unplugged, it's already down and real_down() never gets run
9523
9524 2007-08-15  Dan Williams  <dcbw@redhat.com>
9525
9526         * src/nm-dbus-nmi.c
9527                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9528                         caused a reference leak on device for which NM requested a key
9529
9530 2007-08-15  Dan Williams  <dcbw@redhat.com>
9531
9532         * libnm-glib/nm-client.c
9533                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9534
9535 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9536
9537         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9538         nothing is using it at the moment, but it'll be all useful and stuff later on.
9539
9540         * libnm-util/nm-setting.h: Define NMSettingPPP.
9541
9542         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9543
9544         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9545
9546         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9547
9548         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9549
9550         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9551
9552 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9553
9554         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9555
9556         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9557         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9558         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9559         name and different arguments and it won't compile anymore. To fix this, we now have
9560         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9561         that is new API + compatibility API and used by the daemon. The other, 
9562         nm-manager-client.xml is only the new API without compatibility bits and is used
9563         by libnm-glib to make it compile.
9564
9565         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9566
9567         * src/nm-manager.c (impl_manager_legacy_sleep)
9568         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9569         interface functions for 0.6 branch.
9570
9571 2007-08-14  Dan Williams  <dcbw@redhat.com>
9572
9573         * src/NetworkManagerAP.c
9574                 - (nm_ap_new_from_properties): fix mistaken check of return value
9575                         from memcmp (should expect 0)
9576
9577 2007-08-14  Dan Williams  <dcbw@redhat.com>
9578
9579         (force-commit to fix wrong comment and partial commit of r2685; this
9580          commit actually applies to r2685)
9581
9582         * src/NetworkManagerUtils.c
9583                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9584                         ignores trailing nulls in the SSID to work around mismatches in
9585                         expectations between WEXT and what the info-daemon passes back.  The
9586                         info-daemon would pass back the correct length, but due to the
9587                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9588                         the device would always have an SSID + 1 depending on what versions
9589                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9590                         visible by just quitting the applet and relaunching, which caused
9591                         NM to reassociated to the same network over again when reloading
9592                         the save networks.
9593
9594         * src/NetworkManagerPolicy.c
9595           src/NetworkManagerUtils.h
9596           src/nm-device-802-11-wireless.c
9597                 - Update for new parameter to nm_utils_same_ssid()
9598
9599 2007-08-14  Dan Williams  <dcbw@redhat.com>
9600
9601         * src/NetworkManagerAP.c
9602                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9603                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9604                         setting the BSSID to all 0s.  That confused the heck out of NM,
9605                         plus it's useless and probably out-of-spec.
9606
9607 2007-08-14  Dan Williams  <dcbw@redhat.com>
9608
9609         * callouts/Makefile.am
9610           src/dhcp-manager/nm-dhcp-manager.c
9611           src/dhcp-manager/nm-dhcp-manager.h
9612           src/dhcp-manager/Makefile.am
9613                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9614
9615 2007-08-14  Dan Williams  <dcbw@redhat.com>
9616
9617         * src/dhcp-manager/nm-dhcp-manager.c
9618                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9619                         it's really needed, get rid of unused xtra_args parameter
9620
9621 2007-08-14  Dan Williams  <dcbw@redhat.com>
9622
9623         * include/NetworkManagerVPN.h
9624           src/vpn-manager/nm-dbus-vpn.c
9625           src/vpn-manager/nm-dbus-vpn.h
9626           src/vpn-manager/nm-vpn-act-request.c
9627           src/vpn-manager/nm-vpn-act-request.h
9628           src/vpn-manager/nm-vpn-service.c
9629           src/vpn-manager/nm-vpn-service.h
9630           libnm-glib/nm-vpn-connection.c
9631           libnm-glib/nm-vpn-connection.h
9632           libnm-glib/nm-client.h
9633                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9634                         NMVPNServiceState to clarify what they apply to
9635                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9636                         NMVPNActStage -> NMVPNConnectionState for the same reason
9637
9638         * libnm-glib/nm-client.c
9639                 - Constant + type renames from above
9640                 - Properly handle NameOwnerChanged/manager_running signals
9641                         for NM service; only emit when state really changes
9642                 - Use hash tables correctly so that the key (which was previously owned
9643                         by the D-Bus message) now has the same lifetime as the value, since
9644                         the key is now taken from the the NMVPNConnection itself.  This
9645                         really fixes the double-VPN names in the applet
9646
9647 2007-08-13  Dan Williams  <dcbw@redhat.com>
9648
9649         Patch from Michael Biebl <biebl@debian.org>
9650
9651         * po/POTFILES.in
9652           po/POTFILES.skip
9653                 - Update for vpn-properties move
9654
9655 2007-08-13  Dan Williams  <dcbw@redhat.com>
9656
9657         * libnm-glib/nm-client.c
9658                 - Convert internal VPN connection tracking from a list to a hash table
9659                         to easily avoid duplicates
9660                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9661                         must be freed by the caller, like nm_client_get_devices()
9662                 - (nm_client_remove_vpn_connection): don't let the removal signal
9663                         leak through for NMVPNConnection objects that aren't actually
9664                         tracked.
9665                 - (manager_running): throw away VPN connection list when NM goes away,
9666                         like with the device list
9667
9668 2007-08-13  Dan Williams  <dcbw@redhat.com>
9669
9670         * src/dhcp-manager/nm-dhcp-manager.c
9671                 - Stop any dhclient instance that might be already running for a
9672                         particular interface before starting an NM spawned dhclient.  Fixes
9673                         dhclient processes left over if NM crashes, stuff like that.
9674
9675 2007-08-13  Dan Williams  <dcbw@redhat.com>
9676
9677         * src/NetworkManagerAP.c
9678                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9679                         when the AP wasn't broadcasting it's SSID
9680
9681 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9682
9683         * include/NetworkManager.h: added DBus path for connection settings.
9684
9685         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9686         nm_connection_settings_signal_updated,
9687         nm_connection_settings_signal_removed): new functions to wrap the
9688         objects' signals.
9689         (nm_connection_settings_init): register GObject with DBus.
9690         (nm_connection_settings_get_dbus_object_path): new function.
9691
9692         * libnm-glib/Makefile.am: added libnmutil to link flags.
9693
9694 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9695
9696         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9697
9698         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9699         libnm_glib directory got merged with libnm-glib/.
9700
9701         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9702
9703         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9704         Rename the library from libnm-glib to libnm_glib to maintain the library API
9705         compatibility with 0.6 branch.
9706
9707         * Makefile.am: Remove gnome/ SUBDIR.
9708
9709         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9710
9711         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9712
9713         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9714
9715         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9716         anymore.
9717         Remove checks for wpa_supplicant binary, it's used over dbus.
9718         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9719
9720         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9721         Link the binaries with libnm_glib.la.
9722
9723 2007-08-12  Dan Williams  <dcbw@redhat.com>
9724
9725         * src/NetworkManagerPolicy.c
9726                 - (nm_policy_device_change_check): fix policy to deactivate old device
9727                         before activating new one, at least until the multiple active
9728                         device support lands
9729
9730 2007-08-12  Dan Williams  <dcbw@redhat.com>
9731
9732         * src/NetworkManagerPolicy.c
9733                 - (nm_policy_new): hook up to connection-added / connection-removed
9734                         signals instead of connections-changed
9735
9736 2007-08-12  Dan Williams  <dcbw@redhat.com>
9737
9738         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9739         Robert Frank <rfrank@redhat.com>
9740
9741         * src/dhcp-manager/nm-dhcp-manager.c
9742           src/dhcp-manager/nm-dhcp-manager.c
9743           src/nm-device.c
9744                 - Spawn and communicate with dhclient directly, through means of a
9745                 custom dhclient callout script.  Process callout D-Bus signals
9746                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9747                 sent via gobject signals rather than being driven by the dhcp manager
9748                 directly.
9749
9750 2007-08-12  Dan Williams  <dcbw@redhat.com>
9751
9752         * callouts/nm-dhcp-client-action.c
9753                 - (build_message): ignore non-DHCP-related environment variables
9754
9755 2007-08-12  Dan Williams  <dcbw@redhat.com>
9756
9757         * Makefile.am
9758           configure.in
9759           callouts/Makefile.am
9760           callouts/nm-dhcp-client-action.c
9761           callouts/nm-dhcp-client.conf
9762                 - Add dhclient-executed callout that takes the place of dhclient-script
9763                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9764                 NM then listens for
9765
9766 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9767
9768         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9769
9770         * libnm-glib/nm-client.h:
9771         * libnm-glib/nm-object.h:
9772         * libnm-glib/nm-vpn-connection.h:
9773         * libnm-glib/nm-settings.h:
9774         * libnm-glib/nm-device.h:
9775         * libnm-glib/nm-ip4-config.h:
9776         * libnm-glib/nm-access-point.h:
9777         * libnm-glib/nm-device-802-3-ethernet.h:
9778         * libnm-util/nm-setting.h: 
9779         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9780
9781         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9782
9783         * libnm-glib/nm-access-point.c: Strength has type char.
9784
9785         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9786         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9787
9788         * introspection/nm-access-point.xml: Strength property is char, not int.
9789
9790         * src/NetworkManagerAP.c (set_property): Set strength from char.
9791         (get_property): Handle hidden APs (with empty SSID).
9792         Get strength value from char.
9793         (nm_ap_class_init): Strength property has char type.
9794
9795 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9796
9797         * introspection/Makefile.am:
9798         * introspection/nm-settings.xml:
9799         * introspection/nm-settings-connection.xml: added Settings interfaces.
9800
9801         * libnm-glib/nm-settings.[ch]:
9802         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9803         containing the DBus implementation.
9804
9805 2007-07-26  Dan Williams  <dcbw@redhat.com>
9806
9807         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9808
9809         * src/NetworkManagerSystem.c
9810                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9811                         same subnet (#437396)
9812
9813 2007-07-26  Dan Williams  <dcbw@redhat.com>
9814
9815         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9816
9817         * gnome/vpn-properties/nm-vpn-properties.c
9818                 - Fix translatable strings (#445865)
9819
9820 2007-07-26  Dan Williams  <dcbw@redhat.com>
9821
9822         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9823
9824         * configure.in
9825                 - Remove useless junk (#412530)
9826
9827 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9828
9829         Patch from Robert Buchholz <rbu@gentoo.org>:
9830
9831         * configure.in:
9832         * Makefile.am:
9833         * introspection/Makefile.am:
9834         Make make distcheck work again.
9835
9836 2007-06-27  Dan Williams  <dcbw@redhat.com>
9837
9838         * Make SSIDs GByteArrays everywhere
9839         * Rename "essid" -> "ssid" everywhere that's appropriate
9840         * Refcount activation_ap member of the 802.11 wireless device class
9841
9842 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9843
9844         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9845
9846 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9847
9848         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9849         that we got a new AP when we just update existing AP properties.
9850
9851 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9852
9853         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9854
9855         * nm-utils.[ch]: Remove.
9856
9857         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9858         objects for easy property access and dbus connection handling.
9859
9860         * libnm-glib/nm-client.c: Derive from NMObject.
9861
9862         * libnm-glib/nm-device.c: Ditto.
9863
9864         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9865
9866         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9867
9868         * libnm-glib/nm-ip4-config.c: Ditto.
9869
9870         * libnm-glib/nm-access-point.c: Ditto.
9871
9872         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9873         comparision. Currently used by the device activation code to determine if the new
9874         activation is the same as the old one.
9875
9876         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9877         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9878         able to ask password for the AP.
9879
9880         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9881         up if the device is already connected, tear down it's connection (if it isn't the
9882         same as new one) and start the activation.
9883
9884         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9885
9886         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9887         the issue where all APs are always listed as encrypted.
9888
9889         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9890         their own registered paths.
9891
9892         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9893         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9894
9895 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9896
9897         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9898         (0 & 0 == 0, doh)
9899
9900         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9901         because the handling code will cause the next state change and signal listeners
9902         get the signals in wrong order.
9903
9904         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9905         correctly in case of pending activation.
9906
9907         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9908         Convert the essid byte array to string correctly, including the terminating NULL.
9909
9910         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9911         mode with correct types.
9912
9913         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9914         constructed info to dbus call instead of the activation request.
9915
9916 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9917
9918         Patch from Christian Persch <chpe@gnome.org>
9919
9920         * libnm-glib/Makefile.am:
9921         * dispatcher-daemon/Makefile.am:
9922         Use the correct variables, the correct paths, and correct ordering. (446315)
9923
9924 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9925
9926         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9927         argument. The activation request is easy to retrieve.
9928
9929         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9930         just to be a convenient location for devices to store random stuff.
9931
9932 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9933
9934         Patch from Alex Smith <alex@alex-smith.me.uk>
9935
9936         * src/backends/NetworkManagerFrugalware.c:
9937         Update the FrugalWare backend to fix a few segfaults. (#392642)
9938
9939 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9940
9941         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9942
9943         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9944         setting.
9945         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9946
9947 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9948
9949         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9950         automagically.
9951         Implement NMSettingIP4Config.
9952         Finish NMSettingWired by adding all known members.
9953         (setting_wired_verify): Implement.
9954         Finish NMSettingWireless by adding all known members.
9955         (setting_wireless_verify): Implement.
9956
9957         * libnm-util/nm-connection.c: Register "ipv4" setting.
9958         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9959         dump function, we can introspect the GHashTable which is used for sending connections
9960         over dbus.
9961
9962         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9963         Take GByteArray for essid, it's really not a string.
9964
9965         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9966         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9967         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9968         means overriding the values we got from DHCP.
9969         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9970         (nm_device_deactivate_quickly): Ditto.
9971
9972         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9973         for debugging.
9974
9975 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9976
9977         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9978         NMConnection.
9979
9980         * libnm-glib/nm-device-802-11-wireless.c:
9981         (nm_device_802_3_ethernet_activate): Remove.
9982
9983         * libnm-glib/nm-device-802-3-ethernet.c
9984         (nm_device_802_3_ethernet_activate): Remove.
9985
9986         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9987
9988         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9989         NMConnection.
9990
9991         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9992         activation has started.
9993         Implement the new activation using NMConnection.
9994
9995         * src/nm-activation-request.c: Store a generic connection object instead
9996         of a wireless-specific AP.
9997
9998         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9999         on device type, create a device specific connection object suitable for
10000         device activation.
10001
10002         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10003         specific check to validate the connection and on success start the
10004         activation.
10005
10006         * src/nm-device-interface.h: Add a activate virtual function to the
10007         interface definition.
10008
10009         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10010         (impl_device_activate): Implement.
10011
10012         * introspection/nm-device.xml: Add a generic device activation interface
10013         that accepts an abstract NMConnection structure that has device-specific
10014         information in it.
10015
10016         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10017         activation interface.
10018
10019         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10020         activation interface.
10021
10022         * libnm-util/nm-connection.c: 
10023         * libnm-util/nm-connection.h: 
10024         * libnm-util/nm-setting.c:
10025         * libnm-util/nm-setting.h: Add.
10026
10027         * libnm-util/Makefile.am: Build the added files.
10028
10029         * src/nm-dbus-manager.c
10030         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10031         DbusConnection argument from 'name-owner-changed' signal. The manager
10032         is already passed as a first argument to the signal and the connection
10033         is easy enough to get from it.
10034
10035         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10036         Update the signature of the function.
10037
10038         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10039         Ditto.
10040
10041         * src/NetworkManager.c: Ditto.
10042
10043         * src/named-manager/nm-named-manager.c
10044         (nm_named_manager_name_owner_changed): Ditto.
10045
10046         * src/supplicant-manager/nm-supplicant-manager.c
10047         (nm_supplicant_manager_name_owner_changed): Ditto.
10048
10049         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10050
10051         * src/dhcp-manager/nm-dhcp-manager.c
10052         (nm_dhcp_manager_name_owner_changed): Ditto.
10053
10054         * src/nm-hal-manager.c: Add a list of device detectors and creators
10055         to make it easier to add new devices. Each device type has it's own
10056         entry in the table so adding new device types is only a matter of
10057         implementing a couple of functions, one for device detection and the
10058         other for device creation.
10059
10060 2007-04-25  Dan Williams  <dcbw@redhat.com>
10061
10062         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10063                 (gnome.org #432401)
10064
10065 2007-03-30  Dan Williams  <dcbw@redhat.com>
10066
10067         * src/NetworkManagerSystem.c
10068                 - (nm_system_device_set_ip4_route): clean up and fix argument
10069                         to nm_dev_sock_open()
10070
10071 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10072
10073         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10074         data to correct types instead of always using string.
10075
10076         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10077         _not_ have NM_802_11_CAP_PROTO_NONE.
10078         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10079         is not set.
10080
10081 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10082
10083         * libnm-glib/Makefile.am: Fix the build issue.
10084
10085 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10086
10087         * libnm-glib/nm-vpn-connection.h: 
10088         * libnm-glib/nm-vpn-connection.c: Implement.
10089
10090         * libnm-glib/nm-client.c: Add VPN support.
10091
10092         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10093         handler for VPN.
10094
10095         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10096         on DBUS again.
10097
10098 2007-03-26  Dan Williams  <dcbw@redhat.com>
10099
10100         * src/NetworkManagerAPList.c
10101         * src/nm-device-802-11-wireless.c
10102         * src/NetworkManagerAP.c:
10103                 - Store last seen as glong instead of GTimeVal.
10104                 - Fix the upper bound of capabilities, it's a bitfield.
10105
10106 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10107
10108         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10109
10110         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10111         "manager-running" signal that notifies the appearance/disappearance of NM.
10112         (nm_client_sleep): Implement.
10113
10114         * libnm-glib/nm-device.c:
10115         * libnm-glib/nm-device-802-11-wireless.c: 
10116         * libnm-glib/nm-device-802-3-ethernet.c: 
10117
10118         Don't inherit from DBusGProxy, add a proxy to private
10119         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10120         for anything but their own dbus interface. DBusGProxy objects support only one
10121         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10122         interface. The nice side effect of this change is that we do not create a new
10123         DBusGProxy object for each property access.
10124
10125 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10126
10127         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10128         with zeroes before passing them to functions - the functions never do that and
10129         reading the values back may produce wrong values.
10130         (real_bring_up): Store the signal handler id ...
10131         (real_bring_down): ... So that it can be removed here.
10132         Disconnect the supplicant interface here as well.
10133         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10134         from the access point instead of old $device/Networks/$essid.
10135
10136         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10137         device state is connected (instead of just having link/carrier).
10138
10139         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10140         already easily accessible through the device.
10141
10142         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10143         store it within the object.
10144         (nm_ap_get_dbus_path): Export it to public as well.
10145
10146         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10147         of the singleton.
10148
10149 2007-03-12  Dan Williams  <dcbw@redhat.com>
10150
10151         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10152         for non-carrier-detect capable devices, and useless for carrier-detect
10153         devices since we get notifications from netlink about carrier status anyway.
10154
10155         * src/nm-device-802-3-ethernet.c
10156                 - remove 'link_source_id' member from private data
10157                 - (probe_link): remove and collapse into real_update_link()
10158                 - (nm_device_802_3_periodic_update): remove
10159                 - (real_is_up): check for sup_iface rather than link_source_id
10160                 - (real_bring_up): return gboolean for success/fail; require that
10161                         sup_iface be valid for device bringup to succeed
10162                 - (real_bring_down): zero out link signal ids
10163
10164         * src/nm-device.c
10165                 - (nm_device_activate_stage2_device_config): fail activation if device
10166                         bringup fails
10167                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10168                         fails
10169                 - (nm_device_bring_up): return success/fail
10170
10171         * src/nm-device.h
10172                 - bring_up now returns success/fail
10173
10174         * src/nm-device-802-11-wireless.c
10175                 - (real_bring_up): return success from bringup
10176
10177 2007-03-07  Dan Williams  <dcbw@redhat.com>
10178
10179         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10180         * src/nm-ap-security-wpa-psk.c
10181                 - (real_write_supplicant_config): work with PSKs that may contain
10182                         zeros in the binary format rather than treating it as a string
10183
10184 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10185
10186         * libnm-glib/nm-device-802-11-wireless.c
10187         (nm_device_802_11_wireless_get_capabilities): Implement.
10188
10189         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10190
10191         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10192
10193         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10194         reply only if it's not NULL. Not sure why this started happening right now.
10195
10196         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10197         code paths for when devices get removed on shutdown or when a device is just
10198         removed.
10199         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10200         gets freed so any signal from a device (disconnected for instance) would invoke
10201         NMState update which would crash.
10202         (nm_manager_remove_device): Bring the device down when it gets removed.
10203
10204         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10205         the unused dev_type.
10206
10207         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10208         reference to the added device, NMManager will own it (if it wants).
10209
10210         * test/nm-tool.c: Rewrite using libnm-glib.
10211
10212         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10213         We get signalled when it changes.
10214
10215         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10216         when it changes.
10217
10218         * libnm-glib/nm-device.c: Cache the device state property.
10219
10220         * libnm-glib/nm-access-point.c: Cache the strength property.
10221
10222         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10223         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10224         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10225         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10226         the device is down, activating, or activated (in case of A/B/G cards).
10227         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10228         it's all done through supplicant now.
10229
10230         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10231         counting issues with pending calls which caused leaks and crashes when
10232         interface was removed (now that the interface actually gets removed).
10233
10234         * src/nm-call-store.c: Make a copy of data before running a foreach
10235         with user callback on it - The most common usage pattern is to cancel
10236         (and thus remove) all pending calls with foreach which would modify
10237         the hash table we're iterating over.
10238
10239         * src/nm-manager.c: When a device is added, make sure it is "up". When
10240         it's removed or disabled due to disabling wireless or networking, bring
10241         it down.
10242
10243         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10244
10245         * src/nm-device-802-11-wireless.c: 
10246         * src/nm-device-802-3-ethernet.c: 
10247         * src/nm-device.c:
10248                 - Remove "init" virtual function, all gobjects have a place for that
10249                   already (constructor).
10250                 - Replace "start" virtual function with "bring_up", devices can be
10251                   brought up and down more than just on startup now.
10252                 - Add "is_up" virtual function.
10253                 - Implement one way to bring a device down instead of previous 4 different
10254                   ways, each of witch did something different.
10255
10256         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10257         all it needs is the device interface.
10258
10259         Get rid of NMData.dev_list (3 members to go).
10260         Get rif of NMData in a lot of places.
10261
10262         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10263
10264 2007-02-23  Dan Williams  <dcbw@redhat.com>
10265
10266         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10267
10268         * src/NetworkManagerAP.c
10269                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10270                         OR-ing rather than AND-ing
10271
10272 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10273
10274         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10275         "network-removed" signals.
10276
10277         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10278
10279         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10280         when receiving the signal from dbus.
10281
10282         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10283         property.
10284
10285         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10286         deactivation of the previously activated device working again.
10287
10288         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10289         and setter.
10290
10291         * src/nm-device.c (nm_device_is_activated): Remove.
10292         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10293
10294         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10295         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10296         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10297         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10298         Remove NMNetworkStatus and NMActStage enums.
10299
10300 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10301
10302         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10303         Handle device state changes and disconnect VPN if it's device deactivates.
10304
10305         * src/nm-dbus-nm.c: 
10306         * src/nm-dbus-nm.h: 
10307         * src/nm-dbus-device.c: 
10308         * src/nm-dbus-device.c: 
10309         * src/nm-dbus-net.c: 
10310         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10311
10312         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10313
10314         * src/nm-device.c (nm_device_get_by_udi):
10315         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10316         implemented in the correct location (NMManager).
10317         Rip out all the test_device stuff.
10318
10319         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10320         failure handlers, it's all done by NMDevice already.
10321
10322         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10323         Remove the iochannel hack to route the unix signals to the main thread since
10324         we're not threaded anymore.
10325
10326         * src/NetworkManagerAP.c: Implement HWAddress property.
10327
10328         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10329         automatically with dbus-glib.
10330
10331         * src/nm-netlink-monitor.c: 
10332         * src/nm-netlink-monitor.h:
10333                 - Move it low in the class hierarchy, don't reference any NM types.
10334                 - Remove private data from the header.
10335                 - Use type safe checks in public API methods.
10336                 - Make it a singleton so we don't have to pass the single reference around.
10337
10338 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10339
10340         * introspection/nm-ip4-config.xml: Implement.
10341
10342         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10343
10344         * libnm-glib/nm-ip4-config.c:
10345         * libnm-glib/nm-ip4-config.c: Implement.
10346
10347         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10348         securities. APs reference security.
10349
10350         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10351         be exported over DBUS.
10352
10353         * src/nm-device-802-3-ethernet.c: Ditto.
10354
10355         * src/NetworkManagerAP.c:
10356         * src/NetworkManagerAP.h:
10357                 - Convert to GObject, export over DBUS.
10358
10359         * src/nm-ip4-config.h:
10360         * src/nm-ip4-config.h:
10361                 - Convert to GObject, export over DBUS.
10362
10363 2007-02-12  Dan Williams  <dcbw@redhat.com>
10364
10365         Patch from Helmut Schaa <hschaa@suse.de>
10366
10367         * vpn-daemons/pptp/configure.in
10368           vpn-daemons/pptp/Makefile.am
10369           vpn-daemons/openvpn/configure.in
10370           vpn-daemons/openvpn/Makefile.am
10371           vpn-daemons/vpnc/configure.in
10372           vpn-daemons/vpnc/Makefile.am
10373                 - Add --without-gnome switch which disables building gnome bits
10374
10375 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10376
10377         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10378
10379         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10380
10381         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10382         'HwAddress'.
10383
10384         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10385
10386         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10387
10388         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10389
10390         * src/:
10391                 - Remove old low-level dbus interface implementations and replace them
10392                   with dbus-glib one.
10393
10394         * configure.in:
10395                 - Require dbus-glib >= 0.72.
10396                 - Plug in new sources to build.
10397
10398         * libnm-glib/:
10399                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10400                   to make it more convenient to use from GObject based programs.
10401
10402         * introspection/:
10403                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10404
10405 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10406
10407         * src/nm-device-802-11-wireless.c:
10408                 - Add "network-added" and "network-removed" signals.
10409                 - Use gobject boilerplate macros to define the GObject.
10410                 - Implement wireless device activation.
10411                 - Remove activation_failure_handler and activation_success_handler
10412                   and instead listen on state-changed signals and run the same code
10413                   from there.
10414
10415         * src/nm-device.c:
10416                 - Implment NMDeviceInterface::deactivate.
10417                 - Remove activation_failure_handler and activation_success_handler
10418                   virtual methods. Each device which is interested in these events
10419                   can just listen on it's state changed signals.
10420
10421         * src/NetworkManagerPolicy.c:
10422                 - Move a bit more NMData usage to NMManager.
10423                 - Remove activation scheduling bits.
10424                 - Add listeners for wireless device's "network-added" and
10425                   "network-removed" signals.
10426                 - Listen device changed signals and deactivate currently activated
10427                   device when another device start activating (for now).
10428                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10429                   for calling this, the policy code knows exactly when this should happen,
10430                   by listening on events from NMManager and NMDevices.
10431
10432         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10433         Implement.
10434
10435         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10436         method on the specific device instead of going to through policy code
10437         and determining the device type by passed in AP's existance.
10438
10439         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10440         abstract NMDevice deactivation.
10441
10442 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10443
10444         * src/NetworkManager.c:
10445                 - Set up all the shiny new managers.
10446
10447         * src/NetworkManagerPolicy.c:
10448                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10449                   classes to call into policy code, make the policy code kind of like
10450                   a supervisor that monitors what's going on and drives the whole NM.
10451
10452         * src/nm-hal-manager.c: 
10453         * src/nm-hal-manager.h:
10454                 - Collect all libhal code scattered around NM to this one class.
10455                 - Listen libhal and NMManager events and add/remove devices to
10456                   NMManager.
10457
10458         * src/nm-manager.c:
10459         * src/nm-manager.h:
10460                 - Implment a replacement for NMData. NMData is now officially
10461                 deprecated.
10462
10463 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10464
10465         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10466         * src/supplicant-manager/nm-supplicant-interface.h
10467         * src/supplicant-manager/nm-supplicant-interface.c
10468         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10469         argument to boolean from enum.
10470
10471         Make NMDevice abstract class, remove almost all references to it's
10472         subclasses (the last place gets removed with new policy manager). Add
10473         NMDeviceInterface (which NMDevice implements) so that when we have
10474         NMDevice exported over DBUS, there's a common NMDevice interface which
10475         all instances have, plus there's a device specific interface for each
10476         specific type.
10477         Remove functions (nm_device_is_802_3_ethernet) and
10478         (nm_device_is_802_11_wireless). There are already standard GObject macros
10479         for type safe checks.
10480         Use the updated supplican manager API.
10481
10482         * src/nm-device-interface.h: 
10483         * src/nm-device-interface.c: 
10484         * src/nm-call-store.h: 
10485         * src/nm-call-store.c: Implement.
10486
10487         * src/supplicant-manager/nm-supplicant-interface.c:
10488         * src/supplicant-manager/nm-supplicant-interface.h:
10489         * src/supplicant-manager/nm-supplicant-manager.c:
10490         * src/supplicant-manager/nm-supplicant-manager.h:
10491                 - Remove all private data type references from public header files.
10492                 - Remove all references to other NM classes, this class is just a
10493                   proxy between wpa_supplicant and NM so it doesn't have to know
10494                   any internals.
10495                 - Convert to dbus-glib bindings.
10496                 - Type safe checks for public methods' arguments.
10497                 - Store pending DBUS call ids to NMCallStore.
10498
10499         * src/supplicant-manager/nm-supplicant-config.c:
10500                 - Store config values in a GHashTable instead of GSList.
10501
10502         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10503
10504         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10505         singleton now.
10506
10507         * src/nm-device.c: Use the new DHCP manager API.
10508
10509         * src/nm-activation-request.c:
10510         * src/nm-activation-request.h:
10511                 - Remove all dhcp related properties and methods.
10512
10513         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10514
10515         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10516
10517         * src/dhcp-manager/nm-dhcp-manager.c:
10518         * src/dhcp-manager/nm-dhcp-manager.h:
10519                 - Convert it to GObject since we need to signal state changes.
10520                 - Remove all references to other NM classes, this class is one
10521                   of the lowest classes in our hierarchy.
10522                 - One less class to use NMActRequest.
10523                 - Make it singleton, one less user of NMData.
10524                 - Remove a couple of sleep() calls.
10525                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10526                   One less class to use the NM's custom tailored signal handlig.
10527
10528         * Makefile.am: Generate marshallers, add them to build.
10529
10530 2007-02-02  Dan Williams  <dcbw@redhat.com>
10531
10532         * configure.in
10533           gnome/Makefile.am
10534           nm-applet.desktop
10535           Makefile.am
10536                 - Remove last bits referencing gnome applet
10537
10538 2007-02-02  Dan Williams  <dcbw@redhat.com>
10539
10540         * src/vpn-manager/nm-vpn-service.c
10541                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10542                         and NBNS server addresses
10543
10544 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10545
10546         * src/nm-dbus-manager.c:
10547         * src/nm-dbus-manager.h:
10548                 - Convert all internal DBUS code to use dbus-glib bindings.
10549                 - Remove GObject properties, we don't need them here.
10550                 - Don't explicitly set things to NULL after freeing, glib is
10551                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10552                 - Make public API argument checks type safe.
10553                 - Remove unnecessary (and wrong) cast to GObject for the first
10554                   argument to g_signal_* calls - The first argument is a gpointer.
10555                 - Export DBusGConnection to other cool classes that (are going to)
10556                   use dbus-glib.
10557
10558 2007-01-26  Dan Williams  <dcbw@redhat.com>
10559
10560         * libnm-util/dbus-dict-helpers.c
10561           libnm-util/dbus-dict-helpers.h
10562                 - Coordinate style with wpa_supplicant version to minimize diff
10563                 - Add uint32 array support
10564                 - (nmu_dbus_dict_append_uint32_array): new function
10565                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10566                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10567                         version; allow adding string array elements individually
10568
10569         * test/libnm-util/test-dbus-dict-helpers.c
10570                 - Test uint32 arrays
10571
10572 2007-01-27  Jürg Billeter  <j@bitron.ch>
10573
10574         * src/backends/NetworkManagerPaldo.c
10575                 - (nm_system_update_dns): clear nscd hosts cache
10576
10577 2007-01-04  Dan Williams  <dcbw@redhat.com>
10578
10579         Threading removal related cleanups:
10580
10581         - Use the glib default main context.  Remove the device main context
10582                 member from NMDevice, and the main_context member from NMData.  Change
10583                 all the idle and timeout scheduler functions to use plain
10584                 g_idle_add() and g_timeout_add().
10585
10586         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10587                 takes an argument; fix that up too.
10588
10589         - Remove all locking, which is useless since we no longer use threads.  For
10590                 example, nm_get_device_by_iface_locked() has been removed.  The global
10591                 device list lock, the AP List lock, and all static locks in
10592                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10593                 in NetworkManagerUtils.c have also been removed.
10594
10595         - Other cleanups in spacing and code style
10596
10597 2007-01-01  Dan Williams  <dcbw@redhat.com>
10598
10599         Found by Bill Moss:
10600
10601         * src/supplicant-manager/nm-supplicant-interface.c
10602                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10603                         the supplicant interface wasn't already disconnected.  Always
10604                         call removeNetwork and disconnect unless the supplicant interface
10605                         is in the DISCONNECTED or INACTIVE state.
10606
10607 2006-12-28  Dan Williams  <dcbw@redhat.com>
10608
10609         Use a single thread for everything.  With the move to wpa_supplicant
10610         and communication over D-Bus, there's no reason for multiple threads.
10611         Almost all of the blocking code has been removed, with one exception in
10612         the DHCP manager and a few in the VPN manager.  This commit removes the
10613         per-device worker thread and fixes activation cancellation in the absence
10614         of threads.  Further removal of thread-related code would be removing
10615         any locking code (like the device list lock) and simplification of logic
10616         around areas of code or data structures that are currently locked.
10617
10618         * autoip.c
10619           dhcp-manager/nm-dhcp-manager.c 
10620           nm-device-802-11-wireless.c
10621           nm-device-802-3-ethernet.c
10622           nm-device.c
10623           nm-device.h
10624                 - Remove usage of multiple threads
10625
10626 2006-12-19  Dan Williams  <dcbw@redhat.com>
10627
10628         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10629         plus a few other patches from wpa_supplicant bugzilla.
10630
10631         * src/Makefile.am
10632           src/NetworkManagerPolicy.c
10633           src/NetworkManagerUtils.c
10634           src/NetworkManagerUtils.h
10635           src/nm-ap-security-leap.c
10636           src/nm-ap-security-wep.c
10637           src/nm-ap-security-wpa-eap.c
10638           src/nm-ap-security-wpa-psk.c
10639           src/nm-ap-security.c
10640           src/nm-ap-security.h
10641           src/nm-device-802-11-wireless.c
10642           src/nm-device-802-11-wireless.h
10643           src/supplicant-manager/nm-supplicant-config.c
10644           src/supplicant-manager/nm-supplicant-config.h
10645           src/supplicant-manager/nm-supplicant-interface.c
10646           src/supplicant-manager/nm-supplicant-interface.h
10647           src/supplicant-manager/nm-supplicant-marshal.list
10648           src/supplicant-manager/nm-supplicant-settings-verify.c
10649           src/supplicant-manager/nm-supplicant-settings-verify.h
10650                 - Move all connection management and association handling to
10651                         wpa_supplicant over dbus, rather than spawning a private copy
10652
10653 2006-12-19  Dan Williams  <dcbw@redhat.com>
10654
10655         * src/NetworkManagerPolicy.c
10656                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10657                         better locking of the device change check handler ID.  Incorrect
10658                         locking was causing lost device change requests
10659
10660 2006-12-18  Dan Williams  <dcbw@redhat.com>
10661
10662         * libnm-util/dbus-dict-helpers.c
10663                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10664                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10665                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10666
10667 2006-12-18  Dan Williams  <dcbw@redhat.com>
10668
10669         * gnome/libnm_glib/libnm_glib.c
10670                 - Change dbus_connection_close() -> dbus_connection_unref()
10671
10672 2006-12-11  Dan Williams  <dcbw@redhat.com>
10673
10674         * src/supplicant-manager/nm-supplicant-interface.c
10675                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10676                         wpa_supplicant interface state
10677                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10678                         state before transitioning to READY state
10679
10680 2006-12-04  Dan Williams  <dcbw@redhat.com>
10681
10682         * src/nm-device-802-11-wireless.c
10683                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10684                         odd length of ESSID returned from ieee80211 stack-based drivers
10685
10686 2006-12-04  Dan Williams  <dcbw@redhat.com>
10687
10688         * src/nm-device-802-11-wireless.c
10689                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10690                         IE handling blocks that cause mis-parsing of the IE
10691
10692 2006-12-04  Dan Williams  <dcbw@redhat.com>
10693
10694         * src/nm-device-802-11-wireless.c
10695                 - (init_supplicant_interface): new function; pull supplicant interface
10696                         setup code out into standalone function since it must be called from
10697                         two different places
10698                 - (real_init): sup_mgr is now in private object data; get and track
10699                         the supplicant manager object over the NMDevice subclass' lifetime
10700                         and register a signal handler for its state signals; only try to
10701                         initialize the supplicant interface if the supplicant manager is in
10702                         the IDLE state (and therefore is ready for requests)
10703                 - (request_wireless_scan): reschedule the scan request if (a) there is
10704                         no supplicant interface yet (meaning wpa_supplicant isn't running
10705                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10706                         for requests yet
10707                 - (supplicant_iface_connection_state_cb): new function; stub for
10708                         handling supplicant interface connection state signals
10709                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10710                         comes and goes
10711                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10712                         supplicant manager object that's being tracked starting with this
10713                         commit
10714
10715 2006-12-04  Dan Williams  <dcbw@redhat.com>
10716
10717         * src/supplicant-manager/nm-supplicant-interface.c
10718                 - (nm_supplicant_interface_set_property): track signal handler ID
10719                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10720
10721 2006-12-04  Dan Williams  <dcbw@redhat.com>
10722
10723         * src/supplicant-manager/nm-supplicant-interface.[ch]
10724                 - (nm_supplicant_interface_get_state): new function
10725
10726 2006-12-04  Dan Williams  <dcbw@redhat.com>
10727
10728         * src/supplicant-manager/nm-supplicant-interface.c
10729                 - (bssid_properties_cb): don't treat DBus errors as valid
10730                         scanned AP messages
10731
10732 2006-12-04  Dan Williams  <dcbw@redhat.com>
10733
10734         * src/supplicant-manager/nm-supplicant-interface.[ch]
10735                 - (nm_supplicant_interface_get_connection_state): new function
10736                 - define new supplicant connection states
10737                 - send a signal when the supplicant connection state changes
10738
10739 2006-12-03  Dan Williams  <dcbw@redhat.com>
10740
10741         * src/supplicant-manager/Makefile.am
10742           src/supplicant-manager/nm-supplicant-connection.h
10743           src/supplicant-manager/nm-supplicant-connection.c
10744           src/supplicant-manager/nm-supplicant-config.h
10745           src/supplicant-manager/nm-supplicant-config.c
10746           src/supplicant-manager/nm-supplicant-types.h
10747           src/supplicant-manager/nm-supplicant-interface.h
10748           src/supplicant-manager/nm-supplicant-interface.c
10749                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10750
10751 2006-12-03  Dan Williams  <dcbw@redhat.com>
10752
10753         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10754
10755         * po/POTFILES.in
10756           po/POTFILES.skip
10757                 - Move VPN-related translatables to .skip
10758
10759         * vpn-daemons/pptp/po/POTFILES.in
10760                 - Update with new translatables
10761
10762 2006-12-02  Dan Williams  <dcbw@redhat.com>
10763
10764         Patch from Christian Persch <chpe@gnome.org>
10765
10766         * gnome/applet/Makefile.am
10767           gnome/applet/applet-dbus-devices.c
10768           gnome/applet/applet-notifications.c
10769           gnome/applet/applet.c
10770           gnome/applet/applet.h
10771           gnome/applet/main.c
10772                 - Be a GtkStatusIcon on GTK+ >= 2.10
10773
10774 2006-12-02  Dan Williams  <dcbw@redhat.com>
10775
10776         * gnome/applet/applet.c
10777                 - (nma_update_info): fix two unecessary allocations
10778
10779 2006-12-02  Dan Williams  <dcbw@redhat.com>
10780
10781         Patch from Michael Biebl <biebl@teco.edu>
10782         * configure.in
10783           man/NetworkManager.1.in
10784           man/NetworkManagerDispatcher.1.in
10785           man/NetworkManager.8.in
10786           man/NetworkManagerDispatcher.8.in
10787                 - Add .SH NAME stanzas
10788                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10789
10790 2006-12-02  Dan Williams  <dcbw@redhat.com>
10791
10792         Patch from Christian Persch <chpe@gnome.org>
10793
10794         * configure.in
10795                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10796
10797 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10798
10799         Patch by Timo Hoenig <thoenig@suse.de>:
10800         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10801         DBUS-1.0.
10802
10803         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10804         we can't use the one from the main source directory.
10805
10806 2006-11-27  Dan Williams  <dcbw@redhat.com>
10807
10808         Patch from Christian Persch <chpe@gnome.org>
10809
10810         * gnome/applet/applet-dbus-devices.c
10811                 - (hal_info_product_cb): fix memleak; free duped string.
10812                         Gnome.org #379908
10813
10814 2006-11-27  Dan Williams  <dcbw@redhat.com>
10815
10816         Patch from Christian Persch <chpe@gnome.org>
10817
10818         * gnome/applet/menu-items.c
10819                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10820                         as gtk_progress_set_percentage is deprecated.  Should
10821                         work as far back as GTK+ 2.4.  Gnome.org #379780
10822
10823 2006-11-26  Dan Williams  <dcbw@redhat.com>
10824
10825         Scan using wpa_supplicant over DBus.
10826
10827         * src/nm-device-802-11-wireless.c
10828                 - remove wireless extensions netlink event handler bits
10829                         (wireless_event_helper, nm_device_802_11_wireless_event)
10830                 - remove wireless extensions scan event handler bits
10831                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10832                         hex2byte, hex2num, request_and_convert_scan_results,
10833                         free_process_scan_cb_data, scan_results_timeout,
10834                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10835                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10836                         and request scans from the supplicant interface rather than directly
10837                 - Move functionality of convert_scan_results() to cull_scan_list() and
10838                         supplicant_iface_scanned_ap_cb()
10839                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10840                         at the scan interval when the current scan has finished
10841                 - (supplicant_iface_state_cb): start scanning when the supplicant
10842                         interface enters the READY state, and stop scanning when it
10843                         enters the DOWN state
10844                 - (cull_scan_list): weed out old access points from the scan list
10845                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10846                         point into an NMAccessPoint and merge it into the device's scan list
10847
10848         * src/supplicant-manager/nm-supplicant-interface.c
10849           src/supplicant-manager/nm-supplicant-interface.h
10850                 - Add a new signal "scan-result" which is issued when the supplicant
10851                         notifies NM that a scan has completed
10852                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10853                         point found in the scan.  Called once for each access point that
10854                         the supplicant interface object receives from the supplicant as a
10855                         result of the "scanResults" method call
10856                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10857                         for the initial scan results
10858                 - (scan_request_cb): new function; send listeners the result
10859                         (success, error) of a wireless scan request
10860                 - (nm_supplicant_interface_request_scan): new function; ask the
10861                         supplicant to perform an immediate wireless scan
10862
10863 2006-11-25  Dan Williams  <dcbw@redhat.com>
10864
10865         * src/supplicant-manager/Makefile.am
10866                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10867                         add HAL cflags/includes and named-manager includes directory
10868
10869         * src/supplicant-manager/nm-supplicant-interface.h
10870                 - New state STARTING to handle transition from INIT to READY where
10871                         the addInterface pending call is still outstanding
10872
10873         * src/supplicant-manager/nm-supplicant-interface.c
10874                 - track pending calls differently since we may have more than one
10875                         going on at any given time
10876                 - request scan results from wpa_supplicant; but don't do it more often
10877                         than every 4 seconds.  Drivers that do background scanning
10878                         (like the 'ipw' drivers) send a continuous stream of scan completion
10879                         notifications, so we don't want to hammer the supplicant or dbus
10880                         with requests for all scan results every time we get a completion
10881                         notification.
10882
10883 2006-11-25  Dan Williams  <dcbw@redhat.com>
10884
10885         * src/supplicant-manager/nm-supplicant-types.h
10886                 - new file; move all supplicant manager object typedefs here for
10887                         #include sanity
10888
10889         * src/supplicant-manager/nm-supplicant-interface.c
10890           src/supplicant-manager/nm-supplicant-interface.h
10891                 - new file; an object that interfaces an NMDevice object to the
10892                         supplicant and handles signals from the supplicant.  This object
10893                         does all necessary DBus communication with wpa_supplicant.
10894
10895         * src/supplicant-manager/nm-supplicant-manager.c
10896           src/supplicant-manager/nm-supplicant-manager.h
10897                 - Actually do something.  Track the state of the wpa_supplicant service
10898                         and deal with its comings & goings.  Handle life events of
10899                         supplicant interfaces too.
10900                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10901
10902         * src/supplicant-manager/nm-supplicant-connection.h
10903                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10904
10905         * src/supplicant-manager/Makefile.am
10906                 - Add new files to build, and add libnm-util to includes
10907
10908         * src/nm-marshal.list
10909                 - New marshaler type: VOID:UINT,UINT
10910
10911         * src/nm-device-802-3-ethernet.c
10912                 - (real_init): grab a supplicant interface
10913                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10914                 - (supplicant_iface_state_cb): new function, stub for handling
10915                         supplicant interface state changes
10916
10917         * src/nm-device-802-11-wireless.c
10918                 - (real_init): grab a supplicant interface
10919                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10920                 - (supplicant_iface_state_cb): new function, stub for handling
10921                         supplicant interface state changes
10922
10923         * src/NetworkManager.c
10924                 - (main): create and keep the supplicant manager around for the lifetime
10925                         of NetworkManager
10926
10927         * src/Makefile.am
10928                 - Link to the supplicant manager sub-library and use the supplicant
10929                         manager includes
10930
10931 2006-11-25  Dan Williams  <dcbw@redhat.com>
10932
10933         Rework DBus manager signal handling to be more flexible.  Previously,
10934         only one signal handler could be registered for a particular interface.
10935         The DBus manager now reference counts DBus bus matches and allows multiple
10936         clients to register signal handlers for the same interface and sender.
10937
10938         * src/NetworkManager.c
10939                 - (main): track NMI signal handler ID and remove it when we quit
10940
10941         * src/NetworkManagerMain.h
10942                 - Keep track of NMI signal handler ID
10943
10944         * src/nm-dbus-manager.c
10945           src/nm-dbus-manager.h
10946                 - rework signal handling; each signal handler references one signal
10947                         match, but a signal match may be referenced by one or more
10948                         signal handlers.  Matches are refcounted and are destroyed when the
10949                         last signal handler that references the match is removed.  This is
10950                         necessary because two signal handlers may end up requiring the same
10951                         dbus bus match, so the match must live until the last signal handler
10952                         is destroyed (for example, with the wpa_supplicant network interface
10953                         dbus interface).
10954
10955         * src/dhcp-manager/nm-dhcp-manager.c
10956                 - (nm_dhcp_manager_new): track DHCP signal handler id
10957                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10958
10959         * src/vpn-manager/nm-vpn-service.c
10960                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10961                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10962
10963 2006-11-25  Dan Williams  <dcbw@redhat.com>
10964
10965         Suggested by Helmut Schaa <hschaa@suse.de>
10966
10967         * src/vpn-daemons/nm-vpn-service.c
10968                 - (supplicant_child_setup): new function
10969                 - (supplicant_exec): make child process use a new process group id
10970
10971         * src/nm-device-802-11-wireless.c
10972                 - (nm_vpn_service_child_setup): new function
10973                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10974                         process group id
10975
10976 2006-11-19  Dan Williams  <dcbw@redhat.com>
10977
10978         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10979         * gnome/vpn-properties/nm-vpn-properties.c
10980                 - clean up after renamed VPN connection
10981
10982 2006-11-19  Dan Williams  <dcbw@redhat.com>
10983
10984         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10985         * gnome/applet/applet-dbus-vpn.c
10986                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10987
10988         * gnome/vpn-properties/nm-vpn-properties.c
10989                 - (init_app): sort VPN connections
10990
10991 2006-11-09  Dan Williams  <dcbw@redhat.com>
10992
10993         * src/NetworkManagerAPList.c
10994                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10995                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10996                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10997                 broke hidden SSID matching.  Found by Bill Moss.
10998
10999 2006-10-25  Dan Williams  <dcbw@redhat.com>
11000
11001         * src/nm-dbus-nm.c
11002                 - (nm_dbus_nm_set_active_device): return an empty success message on
11003                         success, rather than falling through to the error case.
11004
11005 2006-10-25  Dan Williams  <dcbw@redhat.com>
11006
11007         * src/NetworkManagerUtils.c
11008                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11009                         "SCAN" command
11010
11011 2006-10-24  Dan Williams  <dcbw@redhat.com>
11012
11013         Reduce the number of times the Gnome applet wakes up, especially when
11014         it's doing absolutely nothing and is hidden.  Initial patch by
11015         Chris Aillon.
11016
11017         * gnome/applet/applet-dbus.c
11018                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11019                         kill the redraw timeout.  When NM starts up, start the redraw
11020                         timeout.  Also, if we get kicked off the bus for some reason,
11021                         start the reconnection timeout if one's not already running.
11022                 - (nma_dbus_init): better handling of error conditions, don't leak
11023                         a half-initialized dbus connection
11024                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11025                         the applet's data, just call nm_dbus_init_helper()
11026                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11027                         timeout that calls nma_dbus_connection_watcher()
11028                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11029                         reconnection timeout, and don't start the reconnection timeout
11030                         unconditionally anymore
11031
11032         * gnome/applet/applet-dbus.h
11033                 - Expose nma_start_dbus_connection_watch()
11034
11035         * gnome/applet/applet.c
11036                 - (nma_update_state): no longer static, called from applet-dbus.c for
11037                         immediate UI updates on certain events
11038                 - (nma_set_running): new function; take over setting applet->running,
11039                         when not running (ie, NM is not active), don't activate the redraw
11040                         timeout because we're not showing the applet anyway.  When we are
11041                         running (ie, NM is active), and only when we're running, start the
11042                         redraw timeout.
11043                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11044                         kill any reconnection timeout
11045                 - (nma_get_instance): move one-off dbus initialization code here since
11046                         nm_dbus_init_helper() gets called more than once, possibly by the
11047                         reconnection timeout function too.  And, when we start up, if we
11048                         can't get a connection to the bus, start the reconnection timeout.
11049                         But don't start the redraw timeout yet, only do that when we get
11050                         NM's state and find out if it's running or not.
11051
11052         * gnome/applet/applet.h
11053                 - Add the reconnection GSource ID
11054                 - Add prototypes for nma_set_running() and the no-longer-static
11055                         nma_update_state()
11056
11057 2006-10-24  Dan Williams  <dcbw@redhat.com>
11058
11059         * src/vpn-daemons/nm-dbus-vpnc.c
11060                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11061                         pending call tracker
11062                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11063                         pending call tracker; register one-vpn-connection update pending
11064                         call in pending call tracker
11065                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11066                         update pending call in pending call tracker
11067                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11068                         update pending call in pending call tracker; don't block waiting
11069                         for call to return
11070
11071 2006-10-19  Robert Love  <rml@novell.com>
11072
11073         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11074           refresh the cache.
11075
11076 2006-10-14  Dan Williams  <dcbw@redhat.com>
11077
11078         * src/dhcp-manager/nm-dhcp-manager.c
11079                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11080                 the dbus connection and the device object path rather than
11081                 constructing it inside both functions.  Saves a bit of memory
11082                 and clarifies a failure path.
11083                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11084                 and allocate device path here rather than each of the two
11085                 functions above.
11086
11087 2006-10-13  Dan Williams  <dcbw@redhat.com>
11088
11089         * src/NetworkManager.c
11090                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11091                 this somehow droppout in the refactor
11092
11093 2006-10-13  Dan Williams  <dcbw@redhat.com>
11094
11095         * Huge DBus refactor:
11096                 - Create a "DBus Manager" object which manages the connection and
11097                 sends signals on NameOwnerChanged and connection/disconnection events,
11098                 handles reconnection to the bus if NM gets kicked off, and abstracts
11099                 signal handling
11100                 - Remove DBusConnection members from places where they are no
11101                 longer needed due to the refactor, like the dbus-connection
11102                 property of the named manager, and from NMData
11103                 - Reformats a bunch of the code to gnome style
11104                 (8-space tabs, braces on same line as statement, 80-col width).
11105                 Consider it open season to reformat any bits to gnome style.
11106                 style that aren't already.
11107
11108 2006-10-13  Dan Williams  <dcbw@redhat.com>
11109
11110         * src/supplicant-manager/Makefile.am
11111                 - Add new files
11112
11113         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11114                 - Make it a minimal GObject
11115
11116         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11117                 - Verify settings destined for wpa_supplicant
11118
11119         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11120                 - Minimal GObject to track wpa_supplicant controlled device
11121                 connections
11122
11123 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11124
11125         * gnome/applet/applet.c: (nma_update_info),
11126         (nma_act_stage_to_pixbuf), (nma_update_state):
11127         Mark missing strings for translation. Fixes bug #343306.
11128
11129 2006-10-01  Dan Williams  <dcbw@redhat.com>
11130
11131         * src/vpn-manager/nm-vpn-manager.c
11132                 - (nm_vpn_manager_load_services): split and clean up
11133                 for readability and correctness.  Restrict VPN service
11134                 files to ending in ".name", as was meant from the
11135                 beginning (but not coded in).  Better error reporting.
11136
11137 2006-10-01  Dan Williams  <dcbw@redhat.com>
11138
11139         * utils/nm-utils.h
11140                 - Clean up formatting of debug/info/warning log messages
11141
11142 2006-09-27  Robert Love  <rml@novell.com>
11143
11144         Patch by Tambet Ingo <tambet@ximian.com>:
11145         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11146           actually work.
11147
11148 2006-09-07  Dan Williams <dcbw@redhat.com>
11149
11150         * test/Makefile.am
11151           test/libnm-util/Makefile.am
11152           test/nm-supplicant-test.c
11153                 - Add test program emulating the way NM drives wpa_supplicant
11154                 to help debug supplicant issues
11155
11156 2006-08-24  Dan Williams <dcbw@redhat.com>
11157
11158         * configure.in
11159           src/Makefile.am
11160           src/supplicant-manager/Makefile.am
11161           src/supplicant-manager/nm-supplicant-manager.c
11162           src/supplicant-manager/nm-supplicant-manager.h
11163                 - Add skeleton bits of the wpa_supplicant manager
11164
11165 2006-08-24  Dan Williams <dcbw@redhat.com>
11166
11167         Patch from Ed Catmur:
11168         * src/NetworkManagerUtils.c
11169                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11170                 if netmask is 0 (Gnome #352634)
11171
11172 2006-08-17  Robert Love  <rml@novell.com>
11173
11174         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11175           package is now DBUS-enabled and listens for the NM signals.
11176
11177 2006-08-14  Dan Williams  <dcbw@redhat.com>
11178
11179         * Patch from Christian Persch <chpe gnome org>
11180         * configure.in
11181           po/LINGUAS
11182           vpn-daemons/openvpn/po/LINGUAS
11183           vpn-daemons/openvpn/configure.in
11184           vpn-daemons/pptp/po/LINGUAS
11185           vpn-daemons/pptp/configure.in
11186           vpn-daemons/vpnc/po/LINGUAS
11187           vpn-daemons/vpnc/configure.in
11188                 - Convert to LINGUAS method so translators don't have to modify
11189                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11190                 0.35 or higher
11191
11192 2006-08-14  Dan Williams  <dcbw@redhat.com>
11193
11194         Patch from Alex Smith <alex.extreme2@gmail.com>
11195         * configure.in
11196           src/backends/Makefile.am
11197           src/backends/NetworkManagerFrugalware.c
11198                 - Add support for Frugalware
11199
11200 2006-08-13  Dan Williams  <dcbw@redhat.com>
11201
11202         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11203         * src/nm-device-802-11-wireless.c
11204                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11205                 Gnome #346875
11206
11207 2006-08-13  Dan Williams  <dcbw@redhat.com>
11208
11209         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11210         * src/nm-ap-security.c
11211           src/nm-ap-security.h
11212                 - Add authentication_required bits for subclasses to specify whether
11213                 or not real authentication is required for connections, i.e. whether
11214                 the AP rejects us when an encryption key is wrong or not.
11215
11216         * src/nm-ap-security-wep.c
11217           src/nm-ap-security-wpa-eap.c
11218           src/nm-ap-security-wpa-psk.c
11219           src/nm-ap-security-leap.c
11220                 - Implement authentication_required appropriately for each method
11221
11222         * src/nm-device-802-11-wireless.c
11223                 - Be smarter about when to request a key; for example, using a wrong key
11224                 in WEP shared key mode previously just timed out and did not request
11225                 a new key
11226
11227 2006-08-13  Dan Williams  <dcbw@redhat.com>
11228
11229         * gnome/libnm_glib/libnm_glib.c
11230                 - dbus_connection_disconnect() -> dbus_connection_close() for
11231                 dbus >= 0.90
11232
11233 2006-08-07  Dan Williams  <dcbw@redhat.com>
11234
11235         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11236         * src/NetworkManagerSystem.c
11237                 - Respect specified MTU.  Gnome #344967
11238
11239 2006-08-07  Dan Williams  <dcbw@redhat.com>
11240
11241         * src/vpn-manager/nm-vpn-service.c
11242                 - Simplify print_vpn_config() arguments
11243
11244         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11245         * src/vpn-manager/Makefile.am
11246           src/vpn-manager/nm-vpn-service.c
11247                 - Add new API for passing VPN config options as a dict. Gnome #344967
11248
11249 2006-08-06  Dan Williams  <dcbw@redhat.com>
11250
11251         * gnome/applet/applet-dbus-devices.c
11252           gnome/applet/applet-dbus-vpn.c
11253           gnome/applet/applet-dbus.c
11254           gnome/applet/applet-dbus.h
11255           src/nm-dbus-nmi.c
11256           utils/nm-utils.c
11257           utils/nm-utils.h
11258                 - Make pending call tracking code generic,
11259                 so we can use it in NM as well as the applet
11260
11261 2006-08-06  Dan Williams  <dcbw@redhat.com>
11262
11263         * src/nm-activation-request.c
11264                 - Refcount pending call objects
11265
11266 2006-08-06  Dan Williams  <dcbw@redhat.com>
11267
11268         Patch from Christan Chiesa <christanc@gmail.com>
11269         * configure.in
11270                 - Tell sha1.c to use bigendian mode on PPC
11271
11272 2006-08-04  Robert Love  <rml@novell.com>
11273
11274         Glib Memory Slices!
11275         * configure.in: Require glib 2.10 or later.
11276         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11277           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11278           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11279           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11280           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11281           Memory Slices are the greatest thing since bread slices.
11282         * src/NetworkManagerAP.c: Also, fix memory leak.
11283
11284 2006-08-01  Robert Love  <rml@novell.com>
11285
11286         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11287
11288 2006-07-31  Robert Love  <rml@novell.com>
11289
11290         * src/backends/interface_parser.c: Declarations must begin the block.
11291
11292 2006-07-24  Dan Williams  <dcbw@redhat.com>
11293
11294         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11295         * src/backends/Makefile.am
11296           src/backends/NetworkManagerArch.c
11297           src/backends/NetworkManagerDebian.c
11298           src/backends/NetworkManagerGeneric.c
11299           src/backends/NetworkManagerGeneric.h
11300           src/backends/NetworkManagerGentoo.c
11301           src/backends/NetworkManagerPaldo.c
11302           src/backends/NetworkManagerRedHat.c
11303           src/backends/NetworkManagerSlackware.c
11304           src/backends/NetworkManagerSuSE.c
11305                 - Genericize common backend functions
11306
11307 2006-07-18  Robert Love  <rml@novell.com>
11308
11309         * configure.in: Add "--with-notify" option to allow disabling of
11310           libnotify support.
11311
11312 2006-07-13  Dan Williams  <dcbw@redhat.com>
11313
11314         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11315         * gnome/applet/applet.glade
11316           gnome/applet/Makefile.am
11317           gnome/applet/nm-gconf-wso.c
11318           gnome/applet/nm-gconf-wso-leap.c
11319           gnome/applet/nm-gconf-wso-leap.h
11320           gnome/applet/wireless-security-manager.c
11321           gnome/applet/wso-leap.c
11322           gnome/applet/wso-leap.h
11323           include/NetworkManager.h
11324           libnm-util/dbus-helpers.c
11325           libnm-util/dbus-helpers.h
11326           src/Makefile.am
11327           src/NetworkManagerAP.c
11328           src/nm-ap-security.c
11329           src/nm-ap-security-leap.c
11330           src/nm-ap-security-leap.h
11331                 - Add LEAP authentication support
11332
11333 2006-07-13  Dan Williams  <dcbw@redhat.com>
11334
11335         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11336         * configure.in
11337           src/backends/NetworkManagerArch.c
11338           src/backends/NetworkManagerDebian.c
11339           src/backends/NetworkManagerGentoo.c
11340           src/backends/NetworkManagerPaldo.c
11341           src/backends/NetworkManagerRedHat.c
11342           src/backends/NetworkManagerSlackware.c
11343           src/backends/NetworkManagerSuSE.c
11344                 - Convert hardcoding of 'ip' path to configure-time
11345                         detected one
11346
11347 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11348
11349         * configure.in: added ru to ALL_LINGUAS
11350
11351 2006-07-10  Dan Williams  <dcbw@redhat.com>
11352
11353         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11354         * src/nm-device.c
11355                 - (real_act_stage3_ip_config_start): don't infinite loop when
11356                         dhcdbd isn't running (Gnome #346845)
11357
11358 2006-07-09  Dan Williams  <dcbw@redhat.com>
11359
11360         * gnome/applet/applet.c
11361                 - (nma_destroy): don't pass NULL to notify_notification_close
11362                         (RH #197917)
11363
11364 2006-07-09  Dan Williams  <dcbw@redhat.com>
11365
11366         * gnome/applet/applet.c
11367                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11368
11369 2006-07-04  Tor Krill  <tor@krill.nu>
11370
11371         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11372         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11373         (nm_system_restart_mdns_responder), (ArchReadConfig),
11374         (nm_system_device_get_system_config):
11375                 - Explicitly check for DHCP configuration
11376                 - Check if daemons are running before starting them
11377
11378 2006-06-25  Dan Williams  <dcbw@redhat.com>
11379
11380         * libnm-util/dbus-dict-helpers.[ch]
11381           test/libnm-util/test-dbus-dict-helpers.c
11382                 - Add string array support
11383
11384 2006-06-24  Dan Williams  <dcbw@redhat.com>
11385
11386         * src/dhcp-manager/nm-dhcp-manager.c
11387                 - (nm_dhcp_manager_process_signal): clean up spacing
11388
11389 2006-06-21  Dan Williams  <dcbw@redhat.com>
11390
11391         * src/nm-dbus-device.c
11392                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11393                         through dbus
11394
11395 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11396
11397         * configure.in: Added 'lv' to ALL_LINGUAS
11398
11399 2006-06-19  Dan Williams  <dcbw@redhat.com>
11400
11401         * src/NetworkManagerAP.c
11402                 - Clarify usage of user_created
11403
11404         * src/nm-ap-security-wep.c
11405           src/nm-ap-security-wpa-eap.c
11406           src/nm-ap-security-wpa-psk.c
11407           src/nm-ap-security.c
11408           src/nm-ap-security.h
11409                 - s/user_created/adhoc, because we really do mean adhoc
11410
11411         Patch from Bernard Blackham <bernard@blackham.com.au>
11412         * src/nm-device-802-11-wireless.c         
11413                 - (supplicant_send_network_config): instead of user_created,
11414                         use adhoc, and do AP_SCAN 2 for adhoc networks
11415
11416 2006-06-18  Robert Love  <rml@novell.com>
11417
11418         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11419           we have a value to set.  Gconf generates a warning if `val' is NULL.
11420         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11421           unless we actually received a valid private key file passphrase or
11422           password.  Otherwise, we don't know to later ask the applet to pull
11423           the key from the keyring.
11424
11425 2006-06-17  Dan Williams  <dcbw@redhat.com>
11426
11427         * libnm-util/dbus-dict-helpers.[ch]
11428           test/libnm-util/test-dbus-dict-helpers.c
11429                 - Fixes for zero-length byte arrays
11430                 - Replace return values of 0 with FALSE for clarity
11431                 - Test zero-length byte arrays
11432
11433 2006-06-17  Dan Williams  <dcbw@redhat.com>
11434
11435         * libnm-util/dbus-dict-helpers.[ch]
11436           test/libnm-util/test-dbus-dict-helpers.c
11437                 - Add helpers for byte arrays
11438                 - Rework bits of the testcase
11439
11440 2006-06-16  Dan Williams  <dcbw@redhat.com>
11441
11442         * libnm-util/Makefile.am
11443         * libnm-util/dbus-dict-helpers.[ch]
11444                 - Add some helpers to take the pain out of using dict types in
11445                         dbus.
11446
11447         * test/libnm-util/Makefile.am
11448         * test/libnm-util/test-dbus-dict-helpers.c
11449                 - Test cases for the dict helper functions
11450
11451 2006-06-15  Robert Love  <rml@novell.com>
11452
11453         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11454           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11455           if there is no key to pass.
11456         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11457           receiving a non-NULL key.
11458
11459 2006-06-14  Robert Love  <rml@novell.com>
11460
11461         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11462           copy the strings.
11463
11464
11465 2006-06-14  Dan Williams  <dcbw@redhat.com>
11466
11467         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11468         * src/nm-device-802-11-wireless.c
11469                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11470                         or ones where the driver is unknown
11471                 - (supplicant_exec): don't wait for supplicant startup here
11472                 - (supplicant_interface_init): finer grained polling for supplicant
11473                         startup
11474
11475 2006-06-13  Robert Love  <rml@novell.com>
11476
11477         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11478           if it is currently set to TRUE.  Otherwise, we will reset the value
11479           when we connect normally.
11480         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11481           the old BSSID is valid, too.  The recently added ESSID check may not be
11482           sufficient (we can remove it?).  What we really want to catch is the
11483           case of going from all-zeros to the BSSID of some other network, which
11484           happens on failure.
11485
11486 2006-06-09  Dan Williams  <dcbw@redhat.com>
11487
11488         * src/NetworkManagerSystem.[ch]
11489                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11490                         it was unused and pointless
11491                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11492                         fix for set_up_down_with_iface change
11493
11494         * src/vpn-manager/nm-vpn-connection.c
11495                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11496
11497         * src/backends/NetworkManagerPaldo.c
11498           src/backends/NetworkManagerRedHat.c
11499           src/backends/NetworkManagerSuSE.c
11500           src/backends/NetworkManagerArch.c
11501           src/backends/NetworkManagerDebian.c
11502           src/backends/NetworkManagerGentoo.c
11503                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11504                         appropriate
11505                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11506                         where appropriate
11507
11508 2006-06-09  Dan Williams  <dcbw@redhat.com>
11509
11510         Patch from Peter Jones:
11511         * src/nm-device-802-11-wireless.c
11512                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11513                         SSID hasn't changed from what we expect before automatically
11514                         updating the saved BSSID from a new AP
11515
11516 2006-06-08  Robert Love  <rml@novell.com>
11517
11518         Add 'fallback' support.  NetworkManager will attempt to brute-force
11519         connect to networks marked as fallback if there are no better wireless
11520         connections available.  This is useful as a method of last resort, to
11521         work around driver problems, and for use with hidden networks.
11522         * gnome/applet/applet-dbus-devices.c,
11523           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11524         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11525           pass it on via DBUS.
11526         * gnome/applet/applet.c: No fallback by default.
11527         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11528           Update other-network-dialog to add UI checkbox toggling fallback.
11529         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11530           propery from AP object.  Add "fallback" property to AP object.
11531         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11532         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11533         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11534           separate function.  Add get_best_fallback_ap() for returning an AP
11535           on which to attempt fallback.
11536         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11537         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11538
11539 2006-06-07  Robert Love  <rml@novell.com>
11540
11541         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11542           checked that the return type was GCONF_VALUE_STRING, not the correct
11543           GCONF_VALUE_BOOL, and thus it never worked.
11544         * src/NetworkManagerAPList.c: Before concluding that two networks are
11545           identical based on their BSSID, make sure that the BSSID in question
11546           is actually valid.  Specifically, an empty or all zero BSSID does not
11547           cut it.
11548         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11549           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11550           similar invariant clean up.
11551
11552 2006-06-02  Robert Love  <rml@novell.com>
11553
11554         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11555
11556 2006-05-28  Dan Williams  <dcbw@redhat.com>
11557
11558         * gnome/applet/applet.glade
11559           gnome/vpn-properties/nm-vpn-properties.glade
11560                 - Set window icons on dialogs  (Gnome.org #333420)
11561
11562 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11563
11564         * gnome/vpn-properties/nm-vpn-properties.glade:
11565         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11566         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11567         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11568                 - Make the VPN properties pages prettier and more HIG
11569                   compliant. Gnome Bug #336913.
11570
11571 2006-05-28  Dan Williams  <dcbw@redhat.com>
11572
11573         Patch from Christian Persch <chpe@gnome.org>
11574         * gnome/vpn-properties/nm-vpn-properties.c
11575         * gnome/vpn-properties/nm-vpn-properties.glade
11576                 - HIG-ification love  (Gnome.org #336846)
11577
11578 2006-05-28  Dan Williams  <dcbw@redhat.com>
11579
11580         Patch from Christian Persch <chpe@gnome.org>
11581         * configure.in
11582           gnome/vpn-properties/nm-vpn-properties.c
11583                 - (main): Fix option parsing.  Gnome.org #336847
11584
11585 2006-05-28  Dan Williams  <dcbw@redhat.com>
11586
11587         * gnome/vpn-properties/nm-vpn-properties.c
11588                 - (find_vpn_ui_by_service_name): protect against NULL service names
11589                 - (update_edit_del_sensitivity): protect against NULL service names
11590                         Gnome.org #341306
11591
11592 2006-05-28  Dan Williams  <dcbw@redhat.com>
11593
11594         Patch from Chris Fuller <crf@grandecom.net>:
11595         * src/nm-device-802-11-wireless.c
11596                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11597                         don't dispose of wireless-specific stuff unless it is actually
11598                         initialized.  Gnome.org #341263
11599
11600 2006-05-28  Dan Williams  <dcbw@redhat.com>
11601
11602         * src/NetworkManagerPolicy.c
11603                 - (nm_policy_device_change_check): don't switch devices if the "best"
11604                         AP is essentially the same as the current activation request, but
11605                         the current activation request isn't done activating yet.  Fixes
11606                         multiple requests for keyring password on startup for Gnome applet.
11607                         Gnome.org #341297
11608
11609 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11610
11611         * src/NetworkManager.c: use GOptions instead of getopt
11612         * configure.in: bump glib required version to >= 2.6 for GOption
11613           support
11614
11615 2006-05-25  Robert Love  <rml@novell.com>
11616
11617         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11618           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11619           instead of dumping ifdef's throughout the code.
11620         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11621           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11622           use nm_ioctl_info() in lieu.
11623
11624 2006-05-25  Robert Love  <rml@novell.com>
11625
11626         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11627         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11628           not using gcrypt.  Otherwise, we get a linker error.
11629
11630 2006-05-25  Robert Love  <rml@novell.com>
11631
11632         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11633         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11634           configure flag to disable building of the GNOME-based applet.
11635
11636 2006-05-25  Robert Love  <rml@novell.com>
11637
11638         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11639           parameter from link, because it shadows a global variable with some
11640           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11641           should never have exported to the entire system a common four letter
11642           word.  But we here at NetworkManager are team players.  Fixes
11643           GNOME bug #336532.
11644
11645 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11646
11647         * configure.in: Added mk.po, Macedonian translation.
11648
11649 2006-05-24  Robert Love  <rml@novell.com>
11650
11651         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11652           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11653           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11654
11655 2006-05-24  Robert Love  <rml@novell.com>
11656
11657         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11658           libnm-util/Makefile.am, src/Makefile.am,
11659           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11660           vpn-daemons/openvpn/properties/Makefile.am,
11661           vpn-daemons/pptp/auth-dialog/Makefile.am,
11662           vpn-daemons/pptp/properties/Makefile.am,
11663           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11664           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11665           user passed for --datadir, if anything, when setting the GNOME locale
11666           directory.  It should be a function of the specified datadir and not
11667           the prefix.
11668
11669 2006-05-24  Robert Love  <rml@novell.com>
11670
11671         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11672           src/NetworkManager.c: Take care to call bindtextdomain with the
11673           location of msgid files.
11674         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11675           files.
11676
11677 2006-05-22  Robert Love  <rml@novell.com>
11678
11679         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11680           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11681           99% of the time there is a real problem with wireless, and a
11682           seemingly successful connection via Zeroconf just confuses the user.
11683           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11684
11685 2006-05-22  Robert Love  <rml@novell.com>
11686
11687         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11688           autofs on interface up if NIS is configured.  On interface down, do
11689           nothing.
11690
11691 2006-05-22  Robert Love  <rml@novell.com>
11692
11693         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11694           to avoid calling g_object_unref() on stale pointers on error in
11695           nma_icons_free().  This happens because we short-circuit loaded the
11696           icons on the first failure but then free all icons.  Normally we have
11697           no issue because the icons were zero'ed out malloc, but we have stale
11698           pointer data after nma_icon_theme_changed().
11699         * gnome/applet/main.c: Return error code if nma_new() failed.
11700
11701 2060-05-21  Dan Williams  <dcbw@redhat.com>
11702
11703         * initscript/NetworkManager.in
11704                 - Ensure both dhcdbd and named are started before NM
11705
11706 2006-05-21  Dan Williams  <dcbw@redhat.com>
11707
11708         * configure.in
11709                 - Bump version to 0.7 to signify we are in 0.7 development
11710
11711 2006-05-21  Dan Williams  <dcbw@redhat.com>
11712
11713         Patch from Adam Schreiber <sadam@clemson.edu>
11714         * gnome/vpn-properties/nm-vpn-properties.c
11715                 - (main): correct Gnome program name  (gnome.org #342498)
11716
11717 2006-05-21  Dan Williams  <dcbw@redhat.com>
11718
11719         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11720
11721         * src/NetworkManagerDbus.[ch]
11722                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11723                         clarify that function's argument should be an escaped dbus object
11724                         path, and look for path segment end before returning a match
11725         * src/nm-dbus-nm.c:
11726                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11727
11728 2006-05-17  Robert Love  <rml@novell.com>
11729
11730         Functionality to differentiate Ad-Hoc networks from infrastructure
11731         networks in the applet, by displaying a special icon:
11732         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11733         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11734         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11735           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11736           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11737           networks, encrypted or not.
11738         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11739           accessor functions to get and set the mode of a given network,
11740           wireless_network_get_mode() and wireless_network_set_mode().
11741
11742 2006-05-17  Robert Love  <rml@novell.com>
11743
11744         Functionality to automatically add BSSIDs to the allowed-MAC list as
11745         one roams from access point to access point on a given network:
11746         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11747           helper function to compare two ether_addr structures and return TRUE
11748           if they contain the same MAC address.
11749         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11750           prototype.
11751         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11752           stored with the current AP.  If the BSSID has indeed changed, we
11753           send it out to the applet, allowing the allowed-MAC list to grow
11754           automatically in response to roaming.
11755
11756 2006-05-16  Robert Love  <rml@novell.com>
11757
11758         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11759           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11760
11761 2006-05-13  Dan Williams  <dcbw@redhat.com>
11762
11763         * src/nm-device-802-3-ethernet.c
11764                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11765                         carrier detect (Debian bug #366373)
11766
11767 2006-05-11  Dan Williams  <dcbw@redhat.com>
11768
11769         Patch from Michael Biebl <biebl@teco.edu>
11770         * src/backends/NetworkManagerDebian.c
11771                 - Debian backend fixups
11772
11773 2006-05-10  Robert Love  <rml@novell.com>
11774
11775         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11776
11777 2006-05-09  Robert Love  <rml@novell.com>
11778
11779         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11780           private certificate passphrase, if any, in the GNOME Keyring.
11781         * libnm-utils/dbus-helpers.c: Update.
11782
11783 2006-05-05  Dan Williams  <dcbw@redhat.com>
11784
11785         * src/nm-device-802-11-wireless.c
11786                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11787                         nm_device_802_11_wireless_disable_encryption() since that's all
11788                         we use it for anymore; we don't ever set WEP keys ourselves.
11789                 - (real_deactivate_quickly): reset SSID and encryption keys
11790                 - (real_deactivate): move SSID and encryption key reset to
11791                         real_deactivate_quickly(), which gets run before us anyway
11792
11793 2006-05-05  Robert Love  <rml@novell.com>
11794
11795         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11796           root has a wacky default of its own (or, more common, a user has a
11797           bad umask and uses su/sudo to restart NetworkManager).  Anything
11798           other than 0022 does not do what we want with, for example,
11799           resolv.conf.  This problem is amplified by our judicious use of
11800           fopen(), which uses mode 0666 -- implying that the only way to get
11801           the permissions we want is with a umask of 0022.
11802
11803 2006-05-05  Dan Williams  <dcbw@redhat.com>
11804
11805         * gnome/libnm_glib/libnm_glib.c
11806                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11807                         to reconnect; instead wait a bit more with each reconnect attempt
11808                         up to a max of one minute.
11809
11810 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11811
11812         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11813           the WirelessNetwork structure using the proper function instead of
11814           just casting it directly to (const char *) (gnome.org #336991)
11815
11816 2006-05-03  Robert Love  <rml@novell.com>
11817
11818         * src/backends/NetworkManagerSuSE.c: Respect the variable
11819           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11820           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11821           to dynamically update /etc/resolv.conf.
11822
11823 2006-05-02  Peter Jones  <pjones@redhat.com>
11824
11825         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11826
11827 2006-05-02  Robert Love  <rml@novell.com>
11828
11829         Patch by Timo Hoenig;
11830         * tests/nm-online.c: Print pretty status indicator as timeout winds
11831           down.  Also fix possible race between DBUS startup and failure
11832           return.
11833
11834 2006-05-01  Robert Love  <rml@novell.com>
11835
11836         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11837           empty, too.
11838
11839 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11840
11841         * src/nm-device.c (discover_device_type): Actually use the hal
11842         device type instead of ioctl poking
11843
11844 2006-04-26  Robert Love  <rml@novell.com>
11845
11846         * tests/nm-online.c: New file.  Simple utility that returns exit status
11847           noting whether the connection is offline or online.  If offline on
11848           start, it waits 30 seconds (or a command-line given value) for an
11849           online signal.  If it times out, it again returns offline.  This is
11850           useful for scripts that want to wait for network connections.
11851
11852 2006-04-25  Robert Love  <rml@novell.com>
11853
11854         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11855           key mode (the authentication algorithm), e.g. open or shared, when we
11856           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11857           only shared was broken.  If the user specified a shared key, set it
11858           explicitly, otherwise let wpa_supplicant go with the default.
11859
11860 2006-04-24  Dan Williams  <dcbw@redhat.com>
11861
11862         * src/nm-device-802-11-wireless.c
11863                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11864
11865 2006-04-24  Dan Williams  <dcbw@redhat.com>
11866
11867         Commit the async scanning patch
11868
11869         * src/nm-device-802-11-wireless.c
11870                 - get rid of scan_mutex
11871                 - (wireless_event_helper): act on wireless scan events
11872                 - (real_start): schedule a pending scan
11873                 - (link_to_specific_ap): fake the link to the AP during a scan
11874                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11875                         strength during scans
11876                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11877                         nm_device_set_bitrate): unused with new scanning code, disable
11878                 - (nm_device_wireless_schedule_scan): removed
11879                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11880                 - (request_and_convert_scan_results): new function; retrieve scan
11881                         results from the driver and schedule the processing function
11882                 - (scan_results_timeout): timeout triggered when card doesn't send
11883                         a scan results wireless event during a certain interval
11884                 - (schedule_scan_results_timeout): new function; schedule the scan
11885                         results timeout
11886                 - (cancel_scan_results_timeout): new function; cancel the scan
11887                         results timeout
11888                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11889                         to do the scanning.  Otherwise, just request a scan but don't
11890                         grab results here; instead schedule a timeout for scan results and
11891                         let netlink notify us of scan completion events
11892                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11893                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11894                 - (supplicant_status_cb): ignore disconnect events while scanning
11895                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11896                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11897                         timeouts
11898                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11899
11900 2006-04-24  Dan Williams  <dcbw@redhat.com>
11901
11902         * gnome/applet/applet-dbus.c
11903                 - Disable the pending call debug stuff, seems under control now
11904
11905 2006-04-20  Robert Love  <rml@novell.com>
11906
11907         Fix bug where hidden ESSID's would not show up in the applet, even
11908         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11909         because nm_policy_device_list_update_from_allowed_list() would merge
11910         the data, putting a name to the hidden networks, but never notify NMI
11911         of the changes.  Simple fix is to invoke the function
11912         nm_dbus_signal_wireless_network_change() if we make a mapping.
11913         * src/NetworkManagerAPList.c: Call the function
11914           nm_dbus_signal_wireless_network_change() if we made a successful
11915           BSSID to ESSID mapping, notifying the applet of the "new" network.
11916         * src/NetworkManagerAPList.h: Update the prototypes for both
11917           nm_ap_list_copy_essids_by_address() and
11918           nm_ap_list_copy_one_essid_by_address().
11919
11920 2006-04-20  Robert Love  <rml@novell.com>
11921
11922         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11923           not set.  Just return zero.
11924
11925 2006-04-20  Robert Love  <rml@novell.com>
11926
11927         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11928           only one copy of nm-vpn-properties is running at a time via the 'ol
11929           X selection trick.  This prevents the user from opening two "VPN
11930           Connections" windows from within the applet, which leads to mass
11931           hysteria.
11932         * clipboard.c: New file, implementing simple X selection logic.
11933         * clipboard.h: New file.
11934         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11935
11936 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11937
11938         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11939         * configure.in
11940           initscript/Gentoo/Makefile.am
11941           initscript/Gentoo/NetworkManagerDispatcher.in
11942                 - New script
11943         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11944           Gentopia
11945
11946 2006-04-16  Dan Williams  <dcbw@redhat.com>
11947
11948         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11949         * configure.in
11950           initscript/Slackware/Makefile.am
11951           initscript/Slackware/rc.networkmanager-dispatcher.in
11952           initscript/Slackware/rc.networkmanager.in
11953                 - Update slackware initscripts
11954
11955 2006-04-10  Robert Love  <rml@novell.com>
11956
11957         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11958           the "delete_event" signal on the druid's parent window and handle it
11959           our way, lest using the WM to close the druid results in a series of
11960           bloody and ultimately lethal errors.
11961
11962 2006-04-10  Robert Love  <rml@novell.com>
11963
11964         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11965           'Back' too or else the 'Forward' option is initially disabled despite
11966           valid input.
11967
11968 2006-04-06  Robert Love  <rml@novell.com>
11969
11970         Fix bad but simple bug where an active modem connection did not update
11971         NM's connection state, breaking any app that did online/offline:
11972         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11973           represented whether a dial up connection is active, or not.
11974         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11975           to modem activation and deactivation.
11976         * src/NetworkManagerDbus.c: When asked our state, do not return
11977           disconnected if the modem is active.
11978
11979 2006-04-04  Robert Love  <rml@novell.com>
11980
11981         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11982           applet.  It just confuses the crap out of people and does not make a
11983           lot of sense, as the daemon still runs.
11984
11985 2006-04-02  Tor Krill  <tor@krill.nu>
11986
11987         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11988           in start of service.
11989         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11990           get Archlinux backend up to date.
11991
11992 2006-03-29  Robert Love  <rml@novell.com>
11993
11994         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11995         to add support for per-route MSS and improve support for per-interface
11996         MTU:
11997         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11998           optionally take an MSS parameter and set it for the given route.
11999           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12000           NMIP4Config's stored MSS, if any.
12001         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12002           the interface's MTU and the route's MSS, respectively.  Add functions
12003           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12004           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12005           MSS.
12006         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12007           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12008           nm_ip4_config_set_mss.
12009         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12010           VPN daemon.
12011         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12012           Change the retval of nm_system_get_mtu to guint32.
12013         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12014           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12015           servers can specify MTU's, we should set it here if the MTU was not
12016           provided.
12017
12018 2006-03-27  Jürg Billeter  <j@bitron.ch>
12019
12020         * configure.in:
12021         * initscript/Makefile.am:
12022         * initscript/paldo/Makefile.am:
12023         * initscript/paldo/NetworkManager.in:
12024         * initscript/paldo/NetworkManagerDispatcher.in:
12025         * src/backends/Makefile.am:
12026         * src/backends/NetworkManagerPaldo.c:
12027                 - Add paldo support
12028
12029 2006-03-27  Dan Williams  <dcbw@redhat.com>
12030
12031         Patch from Christian Persch <chpe@gnome.org>
12032         * gnome/applet/applet.glade
12033                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12034
12035 2006-03-27  Dan Williams  <dcbw@redhat.com>
12036
12037         Patch from Diffe <diffie@blazebox.homeip.net>
12038         * src/backends/NetworkManagerSlackware.c
12039                 - Don't restart howl, since it's been replaced by Avahi
12040                         in most distributions
12041
12042 2006-03-27  Dan Williams  <dcbw@redhat.com>
12043
12044         Patch from Tor Krill <bugzilla@krill.nu>
12045         * configure.in
12046           initscript/Makefile.am
12047           src/backends/Makefile.am
12048           src/backends/NetworkManagerArch.c
12049           initscript/Arch/Makefile.am
12050           initscript/Arch/networkmanager-dispatcher.in
12051           initscript/Arch/networkmanager.in
12052                 - Add Arch Linux support, fixes gnome.org #335147
12053
12054 2006-03-27  Dan Williams  <dcbw@redhat.com>
12055
12056         Patch from Diffe <diffie@blazebox.homeip.net>
12057      * initscript/Slackware/rc.networkmanager
12058         - update, fixed gnome.org #333368
12059
12060 2006-03-27  Robert Love  <rml@novell.com>
12061
12062         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12063           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12064
12065 2006-03-27  Robert Love  <rml@novell.com>
12066
12067         Patch by Jürg Billeter <j@bitron.ch>:
12068         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12069           systems.
12070         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12071           as we prefer glibc over kernel headers, if possible.
12072
12073 2006-03-27  Robert Love  <rml@novell.com>
12074
12075         Patch by Jon Escombe <list@dresco.co.uk>:
12076         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12077         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12078           fail, don't bail out.  We don't expect all of the various WPA-EAP
12079           values to be present.
12080         * src/nm-ap-security.c: We need to match all capabilities for each
12081           encryption type, not any one of them.
12082
12083 2006-03-27  Robert Love  <rml@novell.com>
12084
12085         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12086           restart, not reload, ypbind.  Unfortunately there is no superior
12087           solution.
12088
12089 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12090
12091         * gnome/applet/applet-notifications.c:
12092         When displaying a notification, make sure to get rid of the
12093         previous notification so as to not have competing bubbles,
12094         and stop leaking the old one.
12095
12096         * gnome/applet/applet.c:
12097         * gnome/applet/applet.h:
12098         Add a new 'notification' member to the applet, and zero it out
12099         and free it appropriately.
12100
12101 2006-03-23  Robert Love  <rml@novell.com>
12102
12103         Patch by j <j@bootlab.org>:
12104         * gnome/applet/applet.glade: Don't set the invisible_char property,
12105           which simply overrides the GTK default.  By and by, this behavior
12106           ought to be fixed in Glade.
12107
12108 2006-03-22  Robert Love  <rml@novell.com>
12109
12110         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12111
12112 2006-03-22  Robert Love  <rml@novell.com>
12113
12114         Bug fix by Timo Hoenig <thoenig@suse.de>:
12115         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12116           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12117           and the applet going AWOL.
12118
12119 2006-03-22  Robert Love  <rml@novell.com>
12120
12121         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12122           preprocessor define and use it instead of open-coded the DHCP
12123           timeout, which is currently 25 seconds, everywhere.
12124
12125 2006-03-22  Robert Love  <rml@novell.com>
12126
12127         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12128         key exchange via WPA, ostensibly providing good security without
12129         requiring hardware that supports full WPA.  Also, add UI elements to
12130         allow the user to select the pairwise & group cipher for WPA Enterprise
12131         networks, too:
12132         * gnome/applet/applet.glade: Update glade file.
12133         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12134           key type, too, to and from gconf.
12135         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12136           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12137           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12138           the capabilities match.
12139         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12140           prototype.
12141         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12142           serialize from UI to DBUS.
12143         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12144           one element.
12145         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12146           nmu_security_serialize_wpa_eap_with_cipher(), and
12147           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12148           serialize/deserialize the key type via DBUS as the new third DBUS
12149           parameter.
12150         * libnm-util/dbus-helpers.h: Update prototypes.
12151         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12152           too.  If the key type is WEP104, do Dynamic WEP, which means
12153           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12154           pairwise and group ciphers (fixes a FIXME).
12155
12156 2006-03-21  Robert Love  <rml@novell.com>
12157
12158         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12159           nm_system_get_mtu(), which returns a user-provided or system-mandated
12160           MTU value for a given device, if any, or zero if no such value
12161           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12162           if we have a provided value.
12163         * src/nm-device.c: Set the MTU of devices.
12164         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12165         * src/backends/NetworkManagerDebian.c,
12166           src/backends/NetworkManagerGentoo.c,
12167           src/backends/NetworkManagerRedHat.c,
12168           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12169
12170 2006-03-21  Robert Love  <rml@novell.com>
12171
12172         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12173           configuration file.
12174
12175 2006-03-17  Robert Love  <rml@novell.com>
12176
12177         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12178           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12179           it, in case it is not running in the first place.  We just want its
12180           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12181
12182 2006-03-15  Robert Love  <rml@novell.com>
12183
12184         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12185           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12186           label "WEP 40/128-bit" is inconsistent because the physical key size
12187           is 40 or 104-bits, to which a 24-bit initialisation vector is
12188           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12189           to read "40/104" or "64/128".  I do not care much which, but most
12190           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12191           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12192           WEP passphrase support only handles 128-bit keys, and any future
12193           64-bit passphrase support will require a new option (no way to auto-
12194           detect the target key size), explicitly label our passphrase support
12195           "WEP 128-bit Passphrase".
12196
12197 2006-03-15  Robert Love  <rml@novell.com>
12198
12199         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12200           the system init scripts (or some other mechanism) starting it (or a
12201           compatible DBUS service) before NetworkManager runs.  This means that
12202           distributions might need to update their init scripts.  This fixes
12203           possible races and is quite a bit cleaner.
12204         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12205           starting the NetworkManager daemon.
12206
12207
12208 2006-03-14  Robert Love  <rml@novell.com>
12209
12210         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12211           before adding anything.
12212
12213 2006-03-13  Robert Love  <rml@novell.com>
12214
12215         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12216           widgets, too, if they exist, in case the user hit the back button.
12217           Fixes a bug where the details page contains the widgets of multiple
12218           VPN modules (Novell bug #157048).
12219
12220 2006-03-13  Robert Love  <rml@novell.com>
12221
12222         Patch by Timo Hoenig <thoenig@suse.de>:
12223         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12224           daemon survive DBUS restarts, too.
12225
12226 2006-03-10  Robert Love  <rml@novell.com>
12227
12228         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12229           passphrase or key.
12230         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12231           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12232           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12233           in response to "toggled" signal on new toggle.
12234
12235 2006-03-10  Robert Love  <rml@novell.com>
12236
12237         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12238           serialization if strings are NULL, lest DBUS get angry.
12239
12240 2006-03-10  Robert Love  <rml@novell.com>
12241
12242         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12243
12244 2006-03-09  Robert Love  <rml@novell.com>
12245
12246         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12247           configurations.
12248
12249 2006-03-09  Dan Williams  <dcbw@redhat.com>
12250
12251         Track pending call requests in the applet, and report how many are
12252         outstanding, and how long each completed one takes.
12253         
12254         * gnome/applet/applet-dbus-devices.c
12255           gnome/applet/applet-dbus-vpn.c
12256                 - Track pending calls
12257
12258         * gnome/applet/applet-dbus.[ch]
12259                 - Remove some unused enums
12260                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12261                         new functions to track dbus pending calls and spit out some
12262                         statistics about them
12263
12264 2006-03-09  Robert Love  <rml@novell.com>
12265
12266         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12267           nm_ap_set_timestamp() take the second and micro-second parameters as
12268           direct arguments, which avoids both a dynamic memory allocation and a
12269           structure-to-structure copy!  Add a new interface, the aptly named
12270           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12271           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12272           the return from nm_ap_get_timestamp().  New users should use the new
12273           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12274           the extreme benefit to performance.
12275         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12276           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12277
12278 2006-03-08  Robert Love  <rml@novell.com>
12279
12280         * gnome/applet/applet.glade: Hide the password entry text with
12281           asterisks.
12282
12283 2006-03-08  Robert Love  <rml@novell.com>
12284
12285         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12286           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12287           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12288           a second argument, NMData.
12289         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12290         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12291           config files as trusted.
12292
12293 2006-03-06  Robert Love  <rml@novell.com>
12294
12295         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12296         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12297           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12298           Rivera, detect if the applet was auto-started.  If so, ask the user
12299           if he or she would like to stop automatically running the applet on
12300           login.  If so, disable autostart.
12301
12302 2006-03-06  Robert Love  <rml@novell.com>
12303
12304         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12305           directory in CFLAGS so developers can actually use NetworkManager.h.
12306
12307 2006-03-06  Robert Love  <rml@novell.com>
12308
12309         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12310           open-coded integer constants.  Add state_to_string() to map a given
12311           state to a textual description, and provide that when notifying of
12312           state change.
12313         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12314           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12315           this header directly, but it is currently not installed on most
12316           systems.
12317
12318 2006-03-05  Dan Williams  <dcbw@redhat.com>
12319
12320         Process netlink messages in device subclasses rather than in
12321         NetworkManager.c.  Also add support for recognizing Wireless Events.
12322         
12323         * configure.in
12324                 - Find GLIB_GENMARSHAL
12325
12326         * src/Makefile.am
12327                 - Since we're marshalling custom types for wireless event signals,
12328                         we get to create our own marshallers using GLIB_GENMARSHAL
12329
12330         * src/NetworkManager.c
12331                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12332                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12333                         cut down somewhat.  We no longer process signals here.
12334                 - (nm_data_new): create the netlink monitor here, and remove a
12335                         useless call to nm_policy_schedule_device_change_check()
12336                 - (nm_data_free): get rid of the netlink monitor here
12337                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12338                 - (main): don't create the netlink monitor here, let nm_data_new
12339                         do that.  Call nm_policy_schedule_device_change_check() right
12340                         before we jump to the mainloop to figure out which device
12341                         to use first
12342
12343         * src/NetworkManagerSystem.[ch]
12344                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12345                         convert back and forth from interface names to interface
12346                         indexes
12347
12348         * src/nm-device-802-11-wireless.c
12349                 - (real_init): connect to wireless-event signals from the netlink
12350                         monitor object
12351                 - (nm_device_802_11_wireless_event): new function, schedule handler
12352                         for wireless event signals from the netlink monitor object.  We
12353                         want the handler to run in the device's context
12354                 - (wireless_event_helper): handle wireless-event signals from netlink
12355                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12356                         signal handler
12357
12358         * src/nm-device-802-11-wireless.h
12359                 - remove unused prototype for nm_device_802_11_wireless_new
12360
12361         * src/nm-device-802-3-ethernet.c
12362                 - (real_init): new function; set up signal handlers for link events
12363                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12364                         handler for netlink link activated events on device's main loop
12365                 - (link_activated_helper): when we get a link activated event, set
12366                         the device's link to be active
12367                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12368                         handler for netlink link deactivated events on device's main loop
12369                 - (link_deactivated_helper): when we get a link deactivated event, set
12370                         the device's link to be inactive
12371                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12372                         dispose
12373
12374         * src/nm-device-802-3-ethernet.h
12375                 - remove unused prototype for nm_device_802_3_ethernet_new
12376
12377         * src/nm-device.[ch]
12378                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12379                         but locks the device list
12380                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12381
12382         * src/nm-netlink-monitor.[ch]
12383                 - (nm_netlink_monitor_class_install_signals): New signal
12384                         "wireless-event"
12385                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12386                         at the device list
12387                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12388
12389         * src/nm-marshal-main.c
12390                 - Include generated nm-marshal.c and nm-marshal.h
12391
12392         * src/nm-marshal.list
12393                 - List of custom marshal functions
12394
12395 2006-03-05  Dan Williams  <dcbw@redhat.com>
12396
12397         * gnome/applet/applet-notifications.h
12398                 - Protect prototype of nma_send_event_notification() because it
12399                         includes libnotify-specific types
12400                 - Include libnotify/libnotify.h too, since we technically need it
12401
12402         * gnome/applet/applet.c
12403                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12404                 - (nma_show_vpn_login_banner_dialog): add some error checking
12405
12406 2006-03-04  Dan Williams  <dcbw@redhat.com>
12407
12408         Clean up activation cancellation.  Should be a lot faster now.  Observed
12409         an issue with wireless devices between stage 2 and 3 of activation, where
12410         activation would be cancelled, but the device thread wouldn't notice until
12411         the supplicant association timed out.  Reorganize activation such that
12412         a cancellation handler gets immediately scheduled in the device's thread,
12413         and devices have a chance to perform any custom cleanup too.
12414
12415         * src/nm-device.[ch]
12416                 - (activation_cancel_handler): new device-type-specific function
12417                         for cleaning up device-type-specific stuff on cancellation
12418                 - (cancel_activation): removed
12419                 - (nm_device_activation_cancel): subsume functionality of
12420                         real_cancel_activation, but instead of doing anything, punt
12421                         operation to a handler that's run in device-thread context
12422                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12423                         a warning message
12424                 - (activation_handle_cancel_helper): cancellation handler run in
12425                         device-thread context, calls device-type-specific cancelation,
12426                         then tears down the activation request
12427                 - (real_activation_cancel_handler): generic cancellation handler,
12428                         deals with cancelling any in-process DHCP request
12429                 - (nm_device_activate_stage1_device_prepare,
12430                    nm_device_activate_stage2_device_config,
12431                    nm_device_activate_stage3_ip_config_start,
12432                    nm_device_activate_stage4_ip_config_get,
12433                    nm_device_activate_stage4_ip_config_timeout,
12434                    nm_device_activate_stage5_ip_commit): don't call
12435                         nm_device_schedule_activation_handle_cancel() any more, since
12436                         cancellation will have been already scheduled for us by
12437                         nm_device_activation_cancel().  Just exit the function and
12438                         assume that the cancel handler will be called next.
12439
12440         * src/nm-device-802-3-ethernet.c
12441                 - (real_act_stage2_config): remove; didn't do anything anyway
12442
12443         * src/nm-device-802-11-wireless.c
12444                 - (supplicant_status_cb): ensure we don't do anything if the activation
12445                         got cancelled
12446                 - (real_activation_cancel_handler): implement; cancel user key request
12447                         on activation cancellation
12448
12449 2006-03-04  Dan Williams  <dcbw@redhat.com>
12450
12451         * src/nm-device-802-11-wireless.c
12452                 - (supplicant_send_network_config): assume that drivers that don't
12453                         support WPA pretty much suck, and can't handle NM scanning
12454                         along with wpa_supplicant.
12455
12456 2006-03-03  Robert Love  <rml@novell.com>
12457
12458         * configure.in: Bump version to 0.6.0.
12459         * NEWS: Update.
12460
12461 2006-03-03  Robert Love  <rml@novell.com>
12462
12463         * configure.in: Require DBUS 0.60 or later.
12464
12465 2006-03-03  Dan Williams  <dcbw@redhat.com>
12466
12467         Fix a crash if an "Other wireless network" was chosen, failed, then
12468         chosen again from the applet's menu.  If the other network wasn't
12469         noticed in a scan, it wouldn't have any capabilities, but would still
12470         be listed because the user forced the network.  To fix this, we set
12471         sensible capabilities on the forced network, which will get overwritten
12472         with the correct ones if the network shows up later in a scan.
12473         
12474         * src/nm-ap-security.h
12475                 - Add a new "get_default_capabilities_func" member to the
12476                         NMAPSecurity class
12477
12478         * src/nm-ap-security.c
12479                 - (nm_ap_security_get_default_capabilities): new function
12480
12481         * src/nm-ap-security.c
12482           src/nm-ap-security-wep.c
12483           src/nm-ap-security-wpa-psk.c
12484           src/nm-ap-security-wpa-eap.c
12485                 - Implement get_default_capabilities_func() for all, which
12486                         uses the information contained in a specific NMAPSecurity
12487                         object to determine default AP capabilites necessary
12488                         to support that object
12489
12490         As a secondary measure, we now prune artificial access points that fail
12491         to be activated right away.  The thing failed, and we have no scan data for
12492         it, so it's pretty much useless since security information is only saved
12493         in the applets when a connection is successful.
12494
12495         * src/NetworkManagerAPList.c
12496                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12497                         not artificial.  If we see it, it's no longer a figment of the
12498                         user's imagination :)
12499
12500         * src/NetworkManagerPolicy.c
12501                 - (nm_policy_activation_failed): send along the failed AP if we
12502                         have it
12503
12504         * src/nm-device-802-11-wireless.c
12505                 - (real_activation_failure_handler): remove artificial APs from
12506                         the device list, because activation failed
12507
12508 2006-03-02  Robert Love  <rml@novell.com>
12509
12510         Add support for retrieving both the per-device speed and the
12511         per-network maximum supported rate.  Then change the getProperties
12512         DBUS API for both networks and devices to report this informaiton.
12513         Finally, display the information via both nm-applet and nm-tool:
12514         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12515           and set it.
12516         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12517           Information' dialog.
12518         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12519         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12520           network_device_get_speed() and network_device_set_speed() for
12521           retrieving and setting, respectively, a network device's current
12522           speed.
12523         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12524         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12525           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12526           not matter (yet) what the units are, because we only feed it its own
12527           output.  Implement SIOCGIRATE and set the per-network maximum
12528           supported rate during scanning.
12529         * src/nm-device-802-11-wireless.h: Export the function
12530           nm_device_802_11_wireless_get_bitrate().
12531         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12532           function nm_device_802_3_ethernet_get_speed() for returning an
12533           802.3's current speed, in Mb/s.
12534         * test/nm-tool.c: Display the per-device current speed, if available,
12535           and the per-network maximum rate.
12536
12537 2006-03-02  Dan Williams  <dcbw@redhat.com>
12538
12539         * src/nm-device-802-11-wireless.c
12540                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12541                         card when it gets initialized.  Since devices don't get added to
12542                         the scan list until they are initialized, this function wasn't
12543                         setting the intitial scan interval correctly, and was leaving
12544                         it at 0.  This caused cards to get many scan requests in a short
12545                         amount of time when they were initialized
12546
12547 2006-03-02  Robert Love  <rml@novell.com>
12548
12549         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12550           active device.  But do not do what we used to do and override the
12551           state, which caused the dreaded icon race of '05.
12552
12553 2006-03-02  Robert Love  <rml@novell.com>
12554
12555         Commit Dan's update of my previous commit:
12556         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12557           set_mode() function itself does the check.  But do only set the
12558           frequency if in Ad-Hoc mode.
12559
12560 2006-03-02  Robert Love  <rml@novell.com>
12561
12562         Patch by Brian Magnuson <magnuson@rcn.com>:
12563         * src/nm-device-802-11-wireless.c: During scanning, only set the
12564           wireless mode to infrastructure if it is not currently in
12565           infrastructure mode.  For some driver, setting the mode is a costly
12566           operation, apparently.
12567
12568 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12569
12570         * Makefile.am: use the correct dir for autostart mechanism.
12571
12572 2006-02-28  Dan Williams  <dcbw@redhat.com>
12573
12574         Patch from Brian Magnuson <magnuson@rcn.com>
12575         * gnome/applet/applet.c
12576                 - (nma_show_vpn_failure_dialog): fix errors left over from
12577                         libnotify support changes
12578
12579 2006-02-28  Dan Williams  <dcbw@redhat.com>
12580
12581         * src/vpn-manager/nm-vpn-act-request.[ch]
12582                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12583                         just one value
12584                 - (nm_vpn_act_request_is_failed): new function; return whether or
12585                         not the vpn activation request has failed
12586
12587         * src/vpn-manager/nm-vpn-manager.c 
12588                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12589                         daemon to kill the connection when the activation request fails.
12590                         Fixes issue where NM would get confused if the VPN activation
12591                         request timed out, and would not allow further VPN connections
12592                         on that service.
12593
12594 2006-02-28  Dan Williams  <dcbw@redhat.com>
12595
12596         * gnome/applet/applet.c
12597                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12598                         overlapping connection requests, disable all VPN menu items
12599                         but the active VPN connection
12600
12601 2006-02-28  Dan Williams  <dcbw@redhat.com>
12602
12603         * src/vpn-manager/nm-vpn-connection.c
12604                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12605                         called g_object_unref() on the connection's parent device
12606                         when it should have been ref-ed instead.  Fixes crash with
12607                         repeated vpn connect requests
12608
12609 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12610
12611         * gnome/applet/applet.glade:
12612         Mark a few strings non-translatable, since they shouldn't be.
12613
12614 2006-02-28  Dan Williams  <dcbw@redhat.com>
12615
12616         * src/vpn-manager/nm-vpn-service.c
12617                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12618                         already running, don't blindly ask it to connect, but wait until
12619                         it's in the STOPPED state first.  Fixes an assertion when user
12620                         starts a second vpn connection without stopping the first.
12621                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12622                         dbus service exists before continuing with the connection
12623                         process, and reduce latency while waiting for it to become
12624                         available
12625                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12626                         waiting for the vpn service daemon to become available
12627                 - General log message cleanups; show progress via "Stage x of 4"
12628                         rather than not telling anyone how many stages there are
12629
12630 2006-02-28  Robert Love  <rml@novell.com>
12631
12632         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12633         * src/backends/NetworkManagerSuSE.c: Implement the interface
12634           nm_system_should_modify_resolv_conf() for SUSE.
12635         * src/backends/NetworkManagerDebian.c,
12636           src/backends/NetworkManagerGentoo.c,
12637           src/backends/NetworkManagerRedHat.c,
12638           src/backends/NetworkManagerSlackware.c: Add stub.
12639         * src/named-manager/Makefile.am: Grab includes from src.
12640         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12641           automatic updating of resolv.conf.  This is useful for testing,
12642           broken static configurations, and administrator lock-down.
12643
12644 2006-02-28  Dan Williams  <dcbw@redhat.com>
12645
12646         * src/nm-device-802-11-wireless.c
12647                 - Move all the wpa_supplicant-related management stuff into its
12648                         own struct, just for oranization's sake
12649                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12650                         to a GIOChannel/GSource
12651                 - (supplicant_log_stdout): new function; grab output from the
12652                         wpa_supplicant stdout pipe and write it to our logs.
12653
12654 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12655
12656         * src/nm-device-802-11-wireless.c:
12657         Err, fix thinko in my previous commit.
12658
12659 2006-02-28  Robert Love  <rml@novell.com>
12660
12661         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12662
12663 2006-02-28  Robert Love  <rml@novell.com>
12664
12665         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12666           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12667           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12668           deserializers are responsible for freeing the returned DBUS strings.
12669
12670 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12671
12672         * src/nm-device-802-11-wireless.c:
12673         The scan list is being pruned prematurely.  We should prune after
12674         the device has gone MIA for three scans, not one.  Split out the
12675         interval to realtime seconds function to better serve this.
12676
12677 2006-02-27  Robert Love  <rml@novell.com>
12678
12679         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12680           Open the pid file O_TRUNC, so if it already exists we truncate it to
12681           zero length.  Also, be more verbose about warnings generated during
12682           writing out the pid file.  Finally, always write out the pid file if
12683           in daemon mode.  Use "--pid-file" to override the default.
12684
12685 2006-02-27  Robert Love  <rml@novell.com>
12686
12687         Patch by R. Vinay <rvinay@novell.com>:
12688         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12689           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12690           Novell bug #153628).
12691           
12692 2006-02-27  Robert Love  <rml@novell.com>
12693
12694         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12695           entry so user can hit <ENTER> after entering passphrase (Novell bug
12696           #153738).
12697
12698 2006-02-27  Dan Williams  <dcbw@redhat.com>
12699
12700         * gnome/applet/*
12701                 - Mass search/replace of:
12702                         nmwa -> nma
12703                         NMWirelessApplet -> NMApplet
12704                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12705                    (it ain't just for wireless anymore, ma!)
12706                 - Fix duplicate function name printing when using nm_warning
12707                 - wireless-applet.glade -> applet.glade
12708
12709 2006-02-27  Dan Williams  <dcbw@redhat.com>
12710
12711         * dispatcher-daemon/NetworkManagerDispatcher.c
12712                 - Accept --pid-file with a path to a pidfile, write it out on
12713                         startup, and delete it on shutdown
12714
12715         * src/NetworkManager.c
12716                 - Accept --pid-file with a path to a pidfile, write it out on
12717                         startup, and delete it on shutdown
12718                 - Move nm_print_usage() lower
12719
12720         * initscripts/RedHat/NetworkManager.in
12721                 - Use new --pid-file option
12722                 - Fix service stopping to wait a bit for NM to quit
12723
12724         * initscripts/RedHat/NetworkManagerDispatcher.in
12725                 - Use new --pid-file option
12726
12727 2006-02-26  Dan Williams  <dcbw@redhat.com>
12728
12729         * src/Makefile.am
12730                 - make and install nm-crash-logger
12731
12732         * src/nm-logging.[ch]
12733                 - New files; consolidate logging and crash handling
12734
12735         * src/nm-crash-logger.c
12736           src/gdb-cmd
12737                 - Standalong crashlogger for NM, grab a backtrace
12738                         using GDB
12739
12740         * src/NetworkManager.[ch]
12741                 - Remove signal handling and put it into nm-logging.c
12742
12743 2006-02-26  Dan Williams  <dcbw@redhat.com>
12744
12745         * configure.in
12746           gnome/applet/Makefile.am
12747                 - Conditionalize all the notify stuff
12748
12749         Merge most of Chris Aillon's notification patch:
12750         
12751         * gnome/applet/applet-notifications.[ch]
12752                 - New files; show a notification
12753         
12754         * gnome/applet/applet-dbus-devices.[ch]
12755                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12756                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12757                         new functions, do the right thing when a device change occurs
12758
12759         * gnome/applet/applet-dbus.c
12760                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12761                         signals, so we can handle them specially
12762
12763         * gnome/applet/applet.[ch]
12764                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12765                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12766                 - (nmwa_notify_state): remove
12767                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12768                         notification work is now done when the appropriate dbus signals
12769                         are received.
12770                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12771                         defer execution of the notification/dialog stuff.  That was an
12772                         artifact of the previous multi-threaded nature of the applet
12773                         and is now pointless.
12774                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12775                         no longer needed.  Function folded into applet-notifications.c
12776
12777         * src/NetworkManagerPolicy.c
12778                 - (nm_policy_activation_finish): send the AP along with the device
12779                         status change signal, if the connection is wireless.  Should
12780                         fix the race where applet would show a connection to "unknown"
12781
12782 2006-02-25  Robert Love  <rml@novell.com>
12783
12784         Add WPA Enterprise support:
12785         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12786           nm-gconf-wso-wpa-eap.h.
12787         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12788           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12789           serialization and deserialization.
12790         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12791           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12792           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12793         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12794           settings related to WPA Enterprise.
12795         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12796           instantiate WPA Enterprise wireless-security-option.
12797         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12798           Implement WPA Enterprise wireless-security-option object.
12799         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12800           defines.  Cleanup.
12801         * libnm-util/cipher-wpa-psk-hex.c,
12802           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12803         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12804           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12805           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12806           including the cipher to DBUS method, and
12807           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12808           to output.
12809         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12810           nm-ap-security-wpa-eap.h
12811         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12812           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12813         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12814           files.  Implement NMAPSecurityWPA_EAP object.
12815         * src/nm-ap-security-wpa-psk.c: Cleanup.
12816         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12817           an NMAPSecurityWPA_EAP object via the method
12818           nm_ap_security_wpa_eap_new_deserialize().
12819         * src/nm-dbus-nm.c: Cleanup.
12820         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12821           WPA Enterprise support.
12822
12823 2006-02-24  Robert Love  <rml@novell.com>
12824
12825         Patch from Timo Hoenig <thoenig@suse.de>:
12826         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12827
12828 2006-02-24  Robert Love  <rml@novell.com>
12829
12830         Patch from Dan Winship <danw@novell.com>:
12831         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12832           area to transparent.
12833
12834 2006-02-21  Dan Williams  <dcbw@redhat.com>
12835
12836         * gnome/applet/applet.[ch]
12837           gnome/applet/applet-dbus.c
12838                 - Implement notification support for VPN messages too
12839
12840 2006-02-21  Dan Williams  <dcbw@redhat.com>
12841
12842         * gnome/applet/applet-dbus-info.c
12843                 - Clean up warning messages to not double-print the function
12844
12845 2006-02-21  Dan Williams  <dcbw@redhat.com>
12846
12847         * gnome/applet/applet-compat.c
12848                 - (convert_one_entry): accept entries without a key_type and
12849                         convert them to unencrypted networks
12850
12851 2006-02-21  Dan Williams  <dcbw@redhat.com>
12852
12853         * gnome/libnm_glib/libnm_glib.c
12854                 - Use __func__ everywhere we can
12855                 - Code cleanups
12856                 - Use dbus pending calls rather than blocking
12857                 - Reduce busywaits for our thread to start and stop
12858                         (gnome.org #330562)
12859                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12860                         stomp on others using the default shared dbus connection.
12861                         Fixes #rh177546# and gnome.org #326572
12862
12863 2006-02-21  Dan Williams  <dcbw@redhat.com>
12864
12865         Patch from Rodney Dawes <dobey@novell.com>
12866         * configure.in
12867           gnome/applet/Makefile.am
12868           gnome/applet/applet.c
12869                 - Add libnotify support if '--enable-notify=yes' is passed
12870                   at configure time
12871
12872 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12873
12874         * configure.in (ALL_LINGUAS): ko added. (Korean)
12875
12876 2006-02-15  Robert Love  <rml@novell.com>
12877
12878         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12879           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12880           and WPA_SUPPLICANT_CONTROL_SOCKET.
12881         
12882 2006-02-15  Robert Love  <rml@novell.com>
12883
12884         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12885           information about what connection stage we are at, provide the total
12886           number of stages, e.g. "Stage 2 of 5", so users know how far along
12887           they are if they experience problems.
12888
12889 2006-02-15  Robert Love  <rml@novell.com>
12890
12891         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12892           define to $sysconfdir.
12893         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12894           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12895           type of VPN and then editing another results in a mangled dialog
12896           box containing the widgets from both VPNs (fixes Novell #150854).
12897           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12898
12899 2006-02-14  Robert Love  <rml@novell.com>
12900
12901         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12902           syslog's file descriptor.
12903
12904 2006-02-14  Robert Love  <rml@novell.com>
12905
12906         Fix bug around since the change to "deal with APs changing settings on
12907         us," checked in on the fifth of February in the year of the dog, 
12908         wherein connecting to non-broadcast encrypted networks always fails
12909         because nm_ap_get_encrypted() always returns FALSE, even when the user
12910         provided a key, because the newly-created fake AP does not have any
12911         capabilities set, which is a sypmtom of security settings not matching
12912         capabilities (Novell bug #150784):
12913         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12914           nm_ap_add_capabilities_from_security(), which sets the given AP's
12915           capabilities off the given security settings.  Also improve our
12916           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12917           NM_AUTH_CIPHER_AUTO.
12918         * src/nm-device-802-11-wireless.c: Call the function
12919           nm_ap_add_capabilities_from_security() to ensure that capabilities
12920           match newly updated security settings.
12921
12922 2006-02-14  Robert Love  <rml@novell.com>
12923
12924         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12925           error as a string, not an integer, if possible; do not print the
12926           function name twice; always give the interface, if possible; misc.
12927           cleanup.
12928
12929 2006-02-12  Dan Williams  <dcbw@redhat.com>
12930
12931         Patch from Tom Parker <palfrey@tevp.net>
12932         * src/NetworkManagerSystem.h
12933                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12934                         no longer used
12935
12936         * src/backends/NetworkManagerDebian.c
12937                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12938                         unused variables
12939
12940 2006-02-12  Dan Williams  <dcbw@redhat.com>
12941
12942         * vpn-daemons/openvpn/intltool-extract.in
12943           vpn-daemons/openvpn/intltool-merge.in
12944           vpn-daemons/openvpn/intltool-update.in
12945           vpn-daemons/pptp/intltool-extract.in
12946           vpn-daemons/pptp/intltool-merge.in
12947           vpn-daemons/pptp/intltool-update.in
12948                 - Remove from CVS, they should get created by intltoolize,
12949                         shouldn't they?
12950
12951 2006-02-12  Dan Williams  <dcbw@redhat.com>
12952
12953         * vpn-daemons/pptp/src/pppd/patchlevel.h
12954         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12955                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12956                         Makefile-defined VERSION
12957
12958 2006-02-09  Dan Williams  <dcbw@redhat.com>
12959
12960         Patch from: Vinay A R <rvinay@novell.com>
12961         * src/vpn-manager/nm-vpn-act-request.[ch]
12962                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12963                         IPSec VPNs require them for std gateway.
12964                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12965                         and 'user_routes_count'
12966                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12967                         defined routes  from NMVPNActRequest object, returns the string
12968                         array of routes.
12969
12970         * src/vpn-manager/nm-vpn-manager.[ch]
12971                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12972                         for 'user_routes' and 'user_routes_count'
12973         
12974         * src/vpn-manager/nm-dbus-vpn.c
12975                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12976                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12977         
12978         * src/vpn-manager/nm-vpn-service.c
12979                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12980                         the vpn daemon
12981
12982         Modifications by Dan:
12983         * src/vpn-manager/nm-vpn-service.c
12984                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12985                         arrays into dbus
12986
12987         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12988         * vpn-daemons/pptp/src/nm-pptp-service.c
12989         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12990                 - Grab user routes from dbus message
12991                 - Free all string arrays we got from dbus
12992
12993 2006-02-07  Robert Love  <rml@novell.com>
12994
12995         Patch by Stefan Seyfried <seife@suse.de>:
12996         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12997
12998 2006-02-06  Robert Love  <rml@novell.com>
12999
13000         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13001
13002 2006-02-06  Robert Love  <rml@novell.com>
13003
13004         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13005           test ">=" is never false.  If no newline is found, we loop forever.
13006           We can just check for ">" because the following if() will see the
13007           zero-th argument if the while() gets that far.
13008
13009 2006-02-05  Dan Williams  <dcbw@redhat.com>
13010
13011         Refine handling of non-broadcast networks.
13012
13013         * src/NetworkManagerAPList.c
13014                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13015                         property from scanned AP to the AP from the device list
13016
13017         * src/nm-device-802-11-wireless.c
13018                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13019                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13020                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13021                         networks since those don't have APs.
13022                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13023                         AP as non-SSID-broadcasting
13024                 - (process_scan_results): don't handle non-SSID-broadcasting here
13025
13026 2006-02-05  Dan Williams  <dcbw@redhat.com>
13027
13028         * src/nm-device-802-11-wireless.c
13029                 - (get_supplicant_timeout): new function; return
13030                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13031                         14 channels.  These are likely a/b/g cards, like Atheros, and
13032                         slow as hell to scan.
13033                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13034                         get_supplicant_timeout()
13035
13036 2006-02-05  Dan Williams  <dcbw@redhat.com>
13037
13038         * src/dhcp-manager/nm-dhcp-manager.c
13039                 - Loose a commit race with Robert; make sure size check
13040                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13041
13042 2006-02-05  Robert Love  <rml@novell.com>
13043
13044         Patch by Christoph Brill <chrisbrill@gmx.net>:
13045         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13046           with DHCP_SERVICE_NAME.
13047
13048 2006-02-05  Dan Williams  <dcbw@redhat.com>
13049
13050         Remove anything having to do with device_setup_func from the
13051         AP security objects, since it's no longer used.
13052
13053         * src/nm-ap-security.h
13054                 - Kill device_setup_func and nm_ap_security_device_setup()
13055
13056         * src/nm-ap-security-wep.c
13057           src/nm-ap-security-wpa-psk.c
13058                 - (real_device_setup): remove
13059
13060         * src/nm-ap-security.c
13061                 - (real_device_setup): remove
13062                 - (nm_ap_security_device_setup): remove
13063
13064         * src/nm-device-802-11-wireless.[ch]
13065                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13066                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13067                         and done by wpa_supplicant now anyway
13068
13069 2006-02-05  Dan Williams  <dcbw@redhat.com>
13070
13071         * src/nm-device-802-11-wireless.c
13072                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13073                         settings on us.  Previously NM would loop asking for the
13074                         key but getting the same one back.  Now, if the NMI-supplied
13075                         cipher doesn't overlap with the scanned AP capabilities,
13076                         we request a completely new key from the user.
13077
13078 2006-02-05  Dan Williams  <dcbw@redhat.com>
13079
13080         * src/NetworkManagerUtils.c
13081                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13082                         Handle newline killing better
13083
13084 2006-02-05  Dan Williams  <dcbw@redhat.com>
13085
13086         * gnome/applet/nm-gconf-wso.c
13087                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13088                         of unencrypted access point security info.
13089
13090 2006-02-03  Robert Love  <rml@novell.com>
13091
13092         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13093           user's encryption key, so we print the err_msg_cmd not the command,
13094           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13095           sense.
13096
13097 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13098
13099         * initscript/RedHat/NetworkManagerDispatcher.in:
13100         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13101         Patch from Dan Walsh <dwalsh@redhat.com>
13102
13103 2006-02-03  Robert Love  <rml@novell.com>
13104
13105         * dispatcher-daemon/NetworkManagerDispatcher.c,
13106           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13107           but use the sysconfdir.
13108
13109 2006-02-03  Robert Love  <rml@novell.com>
13110
13111         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13112           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13113           'char *'.
13114         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13115           nm_ip4_config_get_hostname() and
13116           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13117         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13118           leak g_strdup() result.
13119
13120 2006-02-03  Robert Love  <rml@novell.com>
13121
13122         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13123           broadcast == TRUE.  Also, copy broadcast and artificial properties
13124           from source network to destination in nm_ap_copy().
13125         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13126           since we now default new networks to non-hidden.
13127
13128 2006-02-03  Dan Williams  <dcbw@redhat.com>
13129
13130         * gnome/applet/main.c
13131                 - (main): change the NEVER->ALWAYS so we start at the
13132                         beginning of the session, if being session-managed
13133
13134 2006-02-03  Dan Williams  <dcbw@redhat.com>
13135
13136         * gnome/applet/main.c
13137                 - (main): in a variation on Robert's patch, change
13138                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13139                         he wants.
13140
13141 2006-02-02  Robert Love  <rml@novell.com>
13142
13143         * src/Makefile.am: If we aren't going to create the run directory at,
13144           uh, run-time, create it during install.  Then users just doing
13145           'make install' are cool, too.  While we are here, create the
13146           dispatcher.d directory, too.
13147         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13148           the exact run directory.
13149         * Makefile.am: Install nm-applet.desktop.
13150
13151 2006-02-02  Robert Love  <rml@novell.com>
13152
13153         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13154           structure, which denotes whether or not the AP is hidden.  This is a
13155           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13156           can show up in the scan list.  Add nm_ap_get_broadcast() and
13157           nm_ap_set_broadcast() accessor interfaces.
13158         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13159           nm_ap_set_broadcast().
13160         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13161           "getProperties" method, which denotes whether or not the given
13162           network is hidden.
13163         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13164           an artificial network.  Set broadcast to TRUE when scanning returns
13165           an ESSID and FALSE when not.
13166         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13167           from "getProperties" method on a network.  Possible TODO is to
13168           somehow display this.
13169         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13170
13171 2006-02-02  Dan Williams  <dcbw@redhat.com>
13172
13173         * src/nm-device-802-11-wireless.c
13174                 - (supplicant_interface_init): don't try to create
13175                         /var/run/NetworkManager, since that should be done by
13176                         the distro package.  Causes problems for stuff like SELinux
13177
13178 2006-02-02  Robert Love  <rml@novell.com>
13179
13180         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13181         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13182           Check for and handle empty string for iface.
13183
13184 2006-02-01  Robert Love  <rml@novell.com>
13185
13186         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13187           manpage.
13188
13189 2006-01-31  Dan Williams  <dcbw@redhat.com>
13190
13191         * nm-applet.desktop
13192                 - Add --sm-disable to Exec arguments, presuming that when
13193                         using autostart, we don't want session management
13194
13195 2006-01-31  Robert Love  <rml@novell.com>
13196
13197         * src/NetworkManagerAP.c: Add two new manufacturer default network
13198           names: linksys-a and linksys-g.  These are found (at least) on the
13199           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13200           own ESSID.
13201
13202 2006-01-31  Robert Love  <rml@novell.com>
13203
13204         * src/NetworkManagerAP.c: Optimize the function
13205           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13206           machine code.  This is the first in a series of code tweaks aiming to
13207           generate better machine code and make NetworkManager all the better.
13208           Just kidding.  Who has time to go through the assembly generated for
13209           every function?  I certainly don't.  I have a wife, a kid, a job,
13210           a mortgage, a mistress.  But this function was so bad, I was called
13211           to arms.  Like the book.
13212
13213 2006-01-31  Robert Love  <rml@novell.com>
13214
13215         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13216           AP is not broadcasting, to scan with probe request frames.  Required
13217           for non-broadcast networks.
13218
13219 2006-01-31  Robert Love  <rml@novell.com>
13220
13221         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13222           preprocessor define (still 20s).  Fix message text in nm_info()
13223           s/too too/took too/.
13224
13225 2006-01-30  Dan Williams  <dcbw@redhat.com>
13226
13227         * src/nm-device-802-11-wireless.c
13228                 - (supplicant_monitor_start): increase connect/auth timeout to
13229                         20 seconds from 10 seconds
13230
13231 2006-01-30  Dan Williams  <dcbw@redhat.com>
13232
13233         * src/Makefile.am
13234                 - Define LOCALSTATEDIR
13235
13236         * src/nm-device-802-11-wireless.c
13237                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13238                         socket where we want it to
13239
13240         * src/wpa_ctrl.[ch]
13241                 - (wpa_ctrl_open): accept location to put local control socket
13242
13243 2006-01-30  Robert Love  <rml@novell.com>
13244
13245         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13246           get_ip4_string() for "domain_name".
13247
13248 2006-01-30  Robert Love  <rml@novell.com>
13249
13250         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13251           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13252           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13253           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13254           support for "Automatic" pairwise and group cipher configuration by
13255           letting wpa_supplicant handle the details.  Add UI elements, new
13256           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13257           charm.  Note this does more than add a nice feature, it fixes a bug.
13258           Apparently, some people have AP's where the pairwise cipher does not
13259           match the group cipher.  Insane, but true.
13260
13261 2006-01-30  Dan Williams  <dcbw@redhat.com>
13262
13263         * gnome/applet/applet-dbus-devices.c
13264                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13265                         functions, grab device driver name from NetworkManager
13266                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13267
13268         * gnome/applet/applet.c
13269                 - (nmwa_update_info): show driver name in Connection Information
13270                         dialog
13271
13272         * gnome/applet/nm-device.[ch]
13273                 - (network_device_get_driver, network_device_set_driver): add
13274                         accessors for driver name
13275
13276         * gnome/applet/wireless-applet.glade
13277                 - Add line for driver name to Connection Information dialog
13278
13279         * src/nm-dbus-device.c
13280                 - (nm_dbus_device_get_driver): new function to return driver name
13281                 - (nm_dbus_device_methods): hook up driver name function to dbus
13282
13283         * test/nm-tool.c
13284                 - (get_driver_name): new function
13285                 - (detail_device): grab and show driver name
13286
13287 2006-01-30  Robert Love  <rml@novell.com>
13288
13289         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13290           does not parse the markup if it is not part of the format.
13291
13292 2006-01-30  Robert Love  <rml@novell.com>
13293
13294         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13295           FALSE, we have no security options for this dialog, so we throw up
13296           an error dialog instead of a broken passphrase dialog.  Fixes
13297           Novell #138404.
13298         * gnome/applet/wireless-security-manager.c,
13299           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13300           does not add any security options, not even NONE, print a warning
13301           and return FALSE.  This let's functions constructing a dialog bail
13302           out if the device's capabilities and the network's requirements have
13303           zero overlap.
13304
13305 2006-01-27  Robert Love  <rml@novell.com>
13306
13307         * configure.in: Require wpa_supplicant.  Detect location of binary and
13308           use it.  Override with "--with-wpa_supplicant=foo".
13309         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13310           path to wpa_supplicant but use the auto-detected or user-provided
13311           value from configure.
13312
13313 2006-01-27  Robert Love  <rml@novell.com>
13314
13315         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13316           but the DHCP server did not return a hostname, try to look up our
13317           name via DNS and set the system hostname to that.
13318
13319 2006-01-27  Dan Williams  <dcbw@redhat.com>
13320
13321         * src/backends/NetworkManagerRedHat.c
13322                 - Add NM_CONTROLLED system network script support for RH/Fedora
13323
13324 2006-01-27  Dan Williams  <dcbw@redhat.com>
13325
13326         * src/backends/NetworkManagerGentoo.c
13327                 - (nm_system_device_get_disabled): add missing function.
13328                         Gnome BZ #328780
13329
13330 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13331
13332         * configure.in: Added vi in ALL_LINGUAS line.
13333         
13334 2006-01-26  Robert Love  <rml@novell.com>
13335
13336         * src/Makefile.am, src/kernel-types.h: Now that two different source
13337           files are feeling the crack-addled leakage of kernel types such as
13338           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13339           types in user-space -- define a header and include it as needed.
13340         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13341         * src/nm-device-802-3-ethernet.h: Remove defines.
13342         * src/wpa.c: Remove defines and include kernel-types.h.
13343
13344 2006-01-26  Robert Love  <rml@novell.com>
13345
13346         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13347           work.
13348
13349 2006-01-26  Robert Love  <rml@novell.com>
13350
13351         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13352         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13353           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13354           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13355           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13356           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13357           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13358           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13359           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13360           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13361           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13362           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13363           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13364           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13365           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13366           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13367           Kill unused variables, labels, and static functions.  Don't pass
13368           string literals as the format string for printf-like functions.
13369
13370 2006-01-25  Dan Williams  <dcbw@redhat.com>
13371
13372         * gnome/applet/wireless-applet.glade
13373                 - Remove WPA2 Checkbox
13374
13375         * gnome/applet/wireless-security-manager.c
13376                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13377                         This means the Wireless Security menu now has two WPA options,
13378                         one for "WPA Personal" and one for "WPA2 Personal"
13379
13380         * gnome/applet/wso-wpa-psk.[ch]
13381                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13382                         'wpa2' argument to determine WPA version to use
13383                 - (append_dbus_params_func): pass stored WPA version to cipher
13384                         rather than using the (removed) checkbox
13385
13386 2006-01-24  Robert Love  <rml@novell.com>
13387
13388         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13389           before we g_strdup(), not the ultimate string.
13390
13391 2006-01-23  Dan Williams  <dcbw@redhat.com>
13392
13393         * src/NetworkManagerAP.[ch]
13394                 - (nm_ap_new_from_ap): copy original essid too
13395                 - (nm_ap_unref): free original essid
13396                 - (nm_ap_get_orig_essid): new function
13397                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13398                         but keep original essid around too
13399
13400         * src/nm-device-802-11-wireless.c
13401                 - (supplicant_send_network_config): send wpa_supplicant the
13402                         _original_ essid, and not as a string, but in hex.  Should
13403                         allow us to connect to more APs that use wierd character
13404                         encodings for their essids
13405
13406         * utils/nm-utils.[ch]
13407                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13408                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13409                         use the current locale as a hint for what encoding the essid
13410                         might be in.  Obviously not 100% accurate, but the idea here is
13411                         that if a user's locale is ex. ja_JP, they are more likely than
13412                         not to be in Japan, where access points will likely be in some
13413                         Japanese encoding.
13414
13415 2006-01-23  Dan Williams  <dcbw@redhat.com>
13416
13417         * libnm-util/cipher-private.h
13418           libnm-util/cipher.c
13419           libnm-util/cipher.h
13420                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13421
13422 2006-01-23  Robert Love  <rml@novell.com>
13423
13424         Patch by Timo Hoenig <thoenig@suse.de>:
13425         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13426           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13427           by DHCP and pass it to the backends, allowing distribution-specific
13428           behavior with respect to the DHCP-supplied hostname (if nothing else,
13429           some distributions might not want to set the hostname).
13430         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13431           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13432           Also update our NIS behavior.
13433         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13434           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13435           Add stub functions.
13436
13437 2006-01-23  Robert Love  <rml@novell.com>
13438
13439         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13440           gnome-session does autostart.  TODO: We need to install this to
13441           $prefix/share/autostart/.
13442
13443 2006-01-22  Dan Williams  <dcbw@redhat.com>
13444
13445         * src/NetworkManagerAP.[ch]
13446           src/nm-dbus-nmi.c
13447           src/nm-device-802-11-wireless.c         
13448                 - Make nm_ap_get_essid return "const char *"
13449
13450 2006-01-22  Dan Williams  <dcbw@redhat.com>
13451
13452         * src/NetworkManagerAP.[ch]
13453                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13454
13455         * src/NetworkManagerAPList.[ch]
13456                 - (nm_ap_list_diff): removed
13457                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13458                         deal with access points changing essids on us
13459
13460         * src/nm-device-802-11-wireless.c
13461                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13462                         src/NetworkManagerAPList.c
13463                 - (real_can_interrupt_activation): new function; allow interruption
13464                         of device activation if we are waiting for a network key
13465
13466         * src/NetworkManagerPolicy.c
13467                 - (nm_policy_device_change_check): allow interruption of currently
13468                         activating devices if the device allows it.  Previous behavior
13469                         would refuse to activate a just-plugged wired device if a
13470                         wireless device was waiting for a key.
13471
13472         * src/nm-device.[ch]
13473                 - (nm_device_can_interrupt_activation): new function; ask devices
13474                         whether their activation can be interrupted
13475
13476 2006-01-20  Robert Love  <rml@novell.com>
13477
13478         * Makefile.am, configure.in: Add new man subdirectory.
13479         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13480           man/Makefile.am: Add man pages for NetworkManager and its
13481           crime-solving bumbling buddy, NetworkManagerDispatcher.
13482         * man/.cvsignore: Add.
13483         * initscript/Debian/NetworkManager,
13484           initscript/Gentoo/NetworkManager.in,
13485           initscript/RedHat/NetworkManager.in,
13486           initscript/RedHat/NetworkManagerDispatcher.in,
13487           initscript/SUSE/networkmanager-dispatcher.in,
13488           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13489
13490 2006-01-20  Robert Love  <rml@novell.com>
13491
13492         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13493           instead of queuing.  This prevents the running of multiple NM
13494           daemons concurrently, which does not work whatsoever and results in
13495           neither daemon working correctly.  Also, we don't handle queuing and
13496           name-owner-changes, anyhow.
13497
13498 2006-01-20  Robert Love  <rml@novell.com>
13499
13500         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13501         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13502           to sbin, not bin.
13503
13504 2006-01-19  Robert Love  <rml@novell.com>
13505
13506         * configure.in: Require hal 0.5.0 or later.
13507
13508 2006-01-18  Robert Love  <rml@novell.com>
13509
13510         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13511           Allow backends to flag a device (in whatever distro-dependent way
13512           they so desire) as disabled.  NM will ignore any such device.
13513         * src/backends/NetworkManagerDebian.c,
13514           src/backends/NetworkManagerRedHat.c,
13515           src/backends/NetworkManagerSlackware.c: Add stub function
13516           nm_system_device_get_disabled() that always returns FALSE (enabled).
13517         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13518           SUSE-specific configuration structure.  Fill it in from the
13519           NM_CONTROLLED variable in the system networking scripts.  If this var
13520           exists and is "no", we ignore the device.
13521
13522 2006-01-17  Robert Love  <rml@novell.com>
13523
13524         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13525           identical for NM.  For a full discussion, see the thread at
13526           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13527
13528 2006-01-17  Dan Williams  <dcbw@redhat.com>
13529
13530         * src/nm-device.c
13531                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13532                         function.  Fixes crash when wired DHCP fails.
13533
13534 2006-01-16  Robert Love  <rml@novell.com>
13535
13536         * src/Makefile.am: Don't install NMLoadModules
13537         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13538           from src/ to test/ as no one uses it anymore.  Note that I would be
13539           fine with removing it altogether.
13540
13541 2006-01-16  Robert Love  <rml@novell.com>
13542
13543         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13544           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13545           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13546           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13547           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13548           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13549           declarations, ever.
13550         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13551           NM_STATE_DISCONNECTED is zero).
13552
13553 2006-01-16  Robert Love  <rml@novell.com>
13554
13555         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13556           uninitialized parameter and buffer overflow.  Novell #143496.
13557
13558 2006-01-16  Dan Williams  <dcbw@redhat.com>
13559
13560         Apply the PtP Address bits of a patch from Tim Niemueller
13561
13562         * src/nm-ip4-config.[ch]
13563                 - Add ip4_ptp_address member to object
13564                 - (nm_ip4_config_copy): copy ptp address too
13565                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13566                         new functions
13567                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13568                         rather than local tunnel ip address
13569
13570         * src/vpn-manager/nm-vpn-service.c
13571                 - (print_vpn_config): update for PtP address
13572                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13573                         DBusMessageIters in preparation for getting routes from the VPN
13574                         service daemons too
13575
13576         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13577                 - (send_config_info): update for PtP address, clean up code
13578                 - (main): update for PtP address, clean up code, fix typo
13579
13580         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13581                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13582
13583         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13584                 - (pptp_ip_up): update for PtP address
13585
13586         * vpn-daemons/pptp/src/nm-pptp-service.c
13587                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13588
13589         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13590                 - (print_vpn_config): update for PtP address
13591                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13592
13593 2006-01-16  Dan Williams  <dcbw@redhat.com>
13594
13595         * gnome/applet/applet.c
13596                 - (nmwa_add_networks_helper): don't indicate an active network
13597                         if NM is disconnected or asleep
13598
13599 2006-01-16  Dan Williams  <dcbw@redhat.com>
13600
13601         * src/NetworkManagerPolicy.c
13602                 - (nm_policy_device_change_check): switch devices if we lose the link
13603                         on an ethernet device. 
13604
13605 2006-01-16  Dan Williams  <dcbw@redhat.com>
13606
13607         * gnome/applet/wso-wpa-psk-hex.[ch]
13608                 - Renamed -> wso-wpa-psk.[ch]
13609
13610         * gnome/applet/wso-wpa-psk.[ch]
13611                 - New files
13612
13613         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13614                 - Removed, rolled into wso-wpa-psk.[ch]
13615
13616         * gnome/applet/Makefile.am
13617                 - Updated for above changes
13618
13619         * gnome/applet/wireless-applet.glade
13620                 - Consolidate WPA-PSK options into one notebook
13621                         widget, and make dialogs invisible by default
13622                         to fix screen oddities
13623
13624         * gnome/applet/wireless-security-manager.c
13625                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13626                         than both the old hex & passphrase ones
13627
13628 2006-01-16  Dan Williams  <dcbw@redhat.com>
13629
13630         * gnome/applet/other-network-dialog.c
13631                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13632
13633 2006-01-16  Dan Williams  <dcbw@redhat.com>
13634
13635         * gnome/applet/applet.c
13636                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13637                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13638                         prevention to realize window before trying to get server
13639                         time
13640
13641         * gnome/applet/other-network-dialog.c
13642                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13643                         prevention to realize window before trying to get server
13644                         time
13645
13646         * gnome/applet/passphrase-dialog.c
13647                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13648                         prevention to realize window before trying to get server
13649                         time
13650
13651 2006-01-16  Robert Love  <rml@novell.com>
13652
13653         Patch from Timo Hoenig  <thoenig@suse.de:
13654         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13655           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13656           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13657           libnm-util/dbus-helpers.h: add checks whether headers are used
13658           within a C++ build.
13659
13660 2006-01-16  Dan Williams  <dcbw@redhat.com>
13661
13662         * gnome/applet/wireless-security-option.c
13663                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13664
13665 2006-01-16  Dan Williams  <dcbw@redhat.com>
13666
13667         * libnm-util/cipher-wpa-psk-passphrase.c
13668                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13669                         be 8 - 63 characters inclusive
13670
13671 2006-01-16  Dan Williams  <dcbw@redhat.com>
13672
13673         * src/nm-dbus-nm.c
13674                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13675
13676 2006-01-13  Robert Love  <rml@novell.com>
13677
13678         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13679         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13680           modules that do not use an interface.
13681
13682 2006-01-13  Dan Williams  <dcbw@redhat.com>
13683
13684         * src/nm-device.c
13685           src/nm-device.h
13686                 - Allow subclasses to implement deactivate_quickly()
13687                 - (nm_device_deactivate_quickly): call subclass
13688                         deactivate_quickly() methods
13689                 - (nm_device_set_active_link): small cleanups, and don't
13690                         deactivate the device right away because we risk a deadlock
13691                         when called from device thread, waiting for the device
13692                         thread to cancel activation
13693
13694         * src/nm-device-802-11-wireless.c
13695                 - (real_deactivate_quickly): new function
13696                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13697                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13698                         so that we kill the supplicant when we sleep too
13699                 - (supplicant_interface_init): work around naive naming attempts of
13700                         wpa_ctrl when naming sockets
13701
13702 2006-01-13  Dan Williams  <dcbw@redhat.com>
13703
13704         * src/nm-device-802-11-wireless.c
13705                 - (supplicant_cleanup): delete old device control sockets too
13706                 - (supplicant_get_device_socket_path): new function to consolidate
13707                         locations that need a path to a device's control socket
13708
13709 2006-01-12  Robert Love  <rml@novell.com>
13710
13711         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13712           description so that the description is unique for each
13713           pair (device,provider).  Fixes Novell #142773.
13714
13715 2006-01-12  Dan Williams  <dcbw@redhat.com>
13716
13717         * src/nm-device-802-11-wireless.c
13718                 - (supplicant_exec): ensure GError is correctly initialized
13719                         Reported by Diego González (gnome.org #326708)
13720
13721 2006-01-11  Robert Love  <rml@novell.com>
13722
13723         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13724           define if_mii(), open code the same results, and do so without any
13725           type punning.
13726
13727 2006-01-11  Robert Love  <rml@novell.com>
13728
13729         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13730           that wso_foo_new() returned non-NULL.  Instead, only append the new
13731           wso to wsm->options if the wso is non-NULL.  The crux is that we
13732           assume that the relevant key types are implied by WEP and WPA as
13733           appropriate.  To be sure, they should be, but we should not expect
13734           drivers to not be oozing piles of wolf fecal matter.
13735
13736 2006-01-11  Robert Love  <rml@novell.com>
13737
13738         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13739         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13740           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13741           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13742           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13743           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13744           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13745         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13746           comparing values within DBL_EPSILON.  Also fix shadowed variable
13747           usage.
13748
13749 2006-01-11  Dan Williams  <dcbw@redhat.com>
13750
13751         Add options for WPA2 and WPA1+CCMP (AES).
13752
13753         * gnome/applet/wireless-applet.glade
13754                 - Add UI bits for WPA+CCMP
13755
13756         * gnome/applet/other-network-dialog.c
13757                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13758                         and don't allow creation of WPA2 Ad-Hoc networks since
13759                         wpa_supplicant doesn't support them
13760
13761         * gnome/applet/wireless-security-manager.c
13762                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13763                         on to the specific wireless security option being created
13764
13765         * gnome/applet/wireless-security-option.[ch]
13766                 - (wso_wpa_create_key_type_model): new utility function to create
13767                         the model required for WPA Key Type combo box
13768
13769         * gnome/applet/wso-private.h
13770           gnome/applet/wireless-security-option.h
13771                 - Move private function prototypes into wso-private.h
13772
13773         * gnome/applet/wso-wpa-psk-hex.[ch]
13774           gnome/applet/wso-wpa-psk-passphrase.[ch]
13775                 - (append_dbus_params_func): get WPA version from checkbox and pass
13776                         it to the dbus serialization helper
13777                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13778                         key type combo changes
13779                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13780                         model and options
13781
13782         * libnm-util/cipher-wpa-psk-hex.c
13783           libnm-util/cipher-wpa-psk-passphrase.c
13784                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13785                         new function; allow the cipher to be changed after object creation
13786
13787         * src/nm-ap-security-wpa-psk.c
13788                 - (set_description): Do WPA2 descriptions too
13789
13790         * src/nm-ap-security.c
13791                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13792
13793 2006-01-11  Robert Love  <rml@novell.com>
13794
13795         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13796           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13797           from the ifreq structure in lieu of an open coded solution.  Removes
13798           a life-threatening type-punning.
13799         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13800           types, ever, whatsoever, baby.
13801
13802 2006-01-11  Robert Love  <rml@novell.com>
13803
13804         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13805           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13806           assignments to applet->nm_state into a new nmwa_set_state() function
13807           for both cleanliness and to help debugging.
13808
13809 2006-01-10  Robert Love  <rml@novell.com>
13810
13811         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13812           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13813           seconds, exclusive.  That is, we want to sleep x seconds such that
13814           1 < x < 2.
13815
13816 2006-01-10  Robert Love  <rml@novell.com>
13817
13818         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13819           the attr fields according to the example in the email available at
13820           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13821           Conversely, we do have to free 'name', so we do so, fixing a leak.
13822
13823 2006-01-10  Robert Love  <rml@novell.com>
13824
13825         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13826           sure that we close the socket!
13827
13828 2006-01-10  Robert Love  <rml@novell.com>
13829
13830         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13831           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13832           src/nm-device.c: Fix a FIXME!  Reimplement the function
13833           nm_device_update_hw_address() in device subclass variants,
13834           nm_device_802_3_ethernet_set_address() and
13835           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13836           This fixes the existing bug where MAC addresses are all zeros.
13837
13838 2006-01-10  Robert Love  <rml@novell.com>
13839
13840         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13841           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13842           option to give users ability to globally disconnect and put NM to
13843           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13844           clean disconnect.
13845
13846 2006-01-09  Robert Love  <rml@novell.com>
13847
13848         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13849           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13850           User-space does not supply these types, so we have to define them
13851           ourselves.  The relevant kernel maintainer refused to accept a patch
13852           switching these headers to the proper C99 types.
13853
13854 2006-01-09  Dan Williams  <dcbw@redhat.com>
13855
13856         Apply Robert's 'tray icon redo' patch with fixes
13857         * gnome/applet/applet.c
13858           gnome/applet/applet.h
13859                 - Instead of using a menu bar + menu item, simulate menu
13860                         behavior using a popup menu.  Highlight the area around
13861                         the icon more like a menu too, by playing with the
13862                         applet's size requisition
13863
13864 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13865         * libnm-util/dbus-helpers.c
13866           libnm-util/dbus-helpers.h
13867                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13868                         to 'exception_namespace' (:namespace is a keyword in
13869                         C++)
13870
13871 2006-01-09  Dan Williams  <dcbw@redhat.com>
13872
13873         * src/NetworkManagerPolicy.c
13874                 - (nm_policy_device_change_check): don't autoswitch away from
13875                         Ad-Hoc networks, since there's really no concept of
13876                         "link"
13877
13878         * src/nm-dbus-nm.c
13879                 - (nm_dbus_nm_create_wireless_network): mark created networks
13880                         as Ad-Hoc networks
13881
13882         * src/nm-device-802-11-wireless.c
13883                 - (real_activation_success_handler): add user-created Ad-Hoc
13884                         networks to the device's scan list
13885
13886 2006-01-08  Dan Williams  <dcbw@redhat.com>
13887
13888         We now require a patch for wpa_supplicant to support Ad-Hoc
13889         networks:
13890           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13891
13892         * src/nm-device-802-11-wireless.c
13893                 - (supplicant_send_network_config): turn off wpa_supplicant's
13894                         scanning.  Fixes Ad-Hoc networks.
13895
13896 2006-01-08  Dan Williams  <dcbw@redhat.com>
13897
13898         * src/nm-ap-security.c
13899           src/nm-ap-security.h
13900                 - Add a user_created argument to the write_supplicant_config
13901                         functions
13902
13903         * src/nm-ap-security-wep.c
13904           src/nm-ap-security-wpa-psk.c
13905           src/nm-device-802-11-wireless.c
13906                 - Make Ad-Hoc mode somewhat work, at least write the
13907                         correct options to wpa_supplicant
13908
13909 2006-01-08  Dan Williams  <dcbw@redhat.com>
13910
13911         * src/nm-device-802-11-wireless.c
13912                 - Remove unused code from the old device activation path
13913
13914 2006-01-08  Dan Williams  <dcbw@redhat.com>
13915
13916         * libnm-util/dbus-helpers.c
13917                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13918                         dbus when key == NULL
13919
13920 2006-01-08  Dan Williams  <dcbw@redhat.com>
13921
13922         * gnome/applet/nm-gconf-wso-wpa-psk.c
13923                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13924                         correct arguments to nmu_security_deserialize_wpa_psk()
13925
13926         * src/nm-ap-security-wpa-psk.c
13927                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13928                         arguments to nmu_security_deserialize_wpa_psk()
13929
13930 2006-01-08  Dan Williams  <dcbw@redhat.com>
13931
13932         * gnome/applet/wso-wpa-psk-hex.c
13933           gnome/applet/wso-wpa-psk-passphrase.c
13934                 - Hook up the append_dbus_params_func() function
13935
13936 2006-01-08  Dan Williams  <dcbw@redhat.com>
13937
13938         * src/nm-device-802-11-wireless.c
13939                 - (get_wireless_capabilities): correctly detect driver WPA
13940                         capabilities
13941
13942 2006-01-08  Dan Williams  <dcbw@redhat.com>
13943
13944         * gnome/applet/Makefile.am
13945           gnome/applet/wso-wpa-psk-hex.c
13946           gnome/applet/wso-wpa-psk-hex.h
13947                 - New files, implement WPA-PSK Hex key input
13948
13949         * gnome/applet/wireless-applet.glade
13950                 - Change existing wpa-psk stuff to wpa-psk-hex
13951                 - Add new widgets for wpa-psk-passphrase
13952
13953         * gnome/applet/wireless-security-manager.c
13954                 - (wsm_set_capabilities): enable WPA options
13955
13956         * gnome/applet/wso-wpa-psk-passphrase.c
13957                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13958                         for WPA-PSK passphrase
13959
13960 2006-01-08  Dan Williams  <dcbw@redhat.com>
13961
13962         * include/NetworkManager.h
13963                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13964                         applet/info-daemons
13965
13966         * gnome/applet/passphrase-dialog.c
13967                 - Use the constant.  Fixes a bug where the arguments to
13968                         dbus_message_new_error() were incorrect
13969
13970         * src/nm-dbus-nmi.c
13971                 - Use the constant
13972
13973 2006-01-07  Dan Williams  <dcbw@redhat.com>
13974
13975         * src/nm-device-802-11-wireless.c
13976                 - Add a link timeout so we allow the supplicant time to
13977                         reassociate if it can, before we deactivate the card
13978                 - Fix up link status and link updating so things work better
13979
13980 2006-01-07  Dan Williams  <dcbw@redhat.com>
13981
13982         * src/nm-device-802-11-wireless.c
13983                 - Switch over to using wpa_supplicant
13984                 - Add a timeout of 10s for association of the supplicant
13985                 - Start the monitor callback of the supplicant
13986
13987 2006-01-07  Dan Williams  <dcbw@redhat.com>
13988
13989         * src/NetworkManagerUtils.c
13990                 - (nm_utils_supplicant_request,
13991                   nm_utils_supplicant_request_with_check):
13992                         pass correct buffer length to wpa_ctrl_request()
13993
13994 2006-01-07  Dan Williams  <dcbw@redhat.com>
13995
13996         * src/nm-device-private.h
13997           src/nm-device.c
13998                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13999                         this function available to subclasses
14000
14001 2006-01-06  Robert Love  <rml@novell.com>
14002
14003         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14004           user plugging in a network cable signals their preference for to
14005           switch, unless the user explicitly selected a wireless network and
14006           therefore signaled their preference for said wireless network over
14007           wired.  In other words, do exactly what makes sense.
14008
14009 2006-01-06  Robert Love  <rml@novell.com>
14010
14011         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14012           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14013           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14014           showing up in my greps.
14015
14016 2006-01-06  Robert Love  <rml@novell.com>
14017
14018         * gnome/applet/applet-dbus-devices.c,
14019           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14020           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14021           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14022           New Network' both failed in the non-encrypted case because we were
14023           not appending the security options to the DBUS message.  And
14024           'Connect to Other' was also failing in the encrypted case because
14025           we were not incrementing to the next DBUS parameter.  All fixed.
14026           Thanks to dcdw for some debugging help.
14027
14028 2006-01-06  Robert Love  <rml@novell.com>
14029
14030         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14031           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14032           hangup code and add per-device hangup.  Tie last commit into the
14033           GNOME applet.  TODO:  Save, understand, and respond to the state of
14034           each dialup device.
14035
14036 2006-01-06  Robert Love  <rml@novell.com>
14037
14038         Patch by Timo Hoenig <thoenig@suse.de>:
14039         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14040           hangup specific dialup devices.
14041         * src/backends/NetworkManagerDebian.c,
14042           src/backends/NetworkManagerGentoo.c,
14043           src/backends/NetworkManagerRedHat.c,
14044           src/backends/NetworkManagerSlackware.c: Add stub backend.
14045         * src/backends/NetworkManagerRedHat.c,
14046           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14047           hangup specific dialup devices.
14048
14049 2006-01-04  Robert Love  <rml@novell.com>
14050
14051         * gnome/applet/applet-dbus-devices.c,
14052           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14053           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14054           connections.
14055
14056 2006-01-04  Dan Williams  <dcbw@redhat.com>
14057
14058         First dump of wpa_supplicant-related code.  It's not hooked up to
14059         anything yet though.  Thanks to Kay Sievers for
14060         wpa_supplicant_wrapper.c, which formed the basis for this work,
14061         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14062
14063         * src/Makefile.am
14064           src/wpa_ctrl.[ch]
14065                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14066
14067         * src/NetworkManagerUtils.[ch]
14068                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14069                         Add convenience functions for talking to wpa_supplicant
14070
14071         * src/nm-ap-security.[ch]
14072           src/nm-ap-security-wep.c
14073           src/nm-ap-security-wpa-psk.[ch]
14074                 - Update and implement real_write_supplicant_config functions
14075                         in all security types
14076                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14077                         nm-ap-security-wpa-psk.c
14078
14079         * src/nm-device-802-11-wireless.c
14080                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14081                    wpa_supplicant_start, wpa_supplicant_interface_init,
14082                    wpa_supplicant_send_network_config): add functions to talk to
14083                         wpa_supplicant and write network config to it
14084
14085 2006-01-04  Robert Love  <rml@novell.com>
14086
14087         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14088           values so that distribution-backends can differentiate between the
14089           various types (modem, ISDN, et cetera) of dialup device that they
14090           support.
14091         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14092           needed.
14093
14094 2006-01-03  Dan Williams  <dcbw@redhat.com>
14095
14096         * src/NetworkManagerPolicy.c
14097           src/nm-device.[ch]
14098           src/nm-device-802-11-wireless.c
14099                 - Move wireless-specific activation failure and success code
14100                         into wireless device class
14101
14102 2006-01-03  Robert Love  <rml@novell.com>
14103
14104         Patch by Preggna S:
14105         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14106           IPsec does not require that a VPN client be bound to an interface,
14107           due to the use of the in-kernel IPSec bits.  So make the tunnel
14108           device optional.
14109
14110 2006-01-03  Dan Williams  <dcbw@redhat.com>
14111
14112         * src/NetworkManagerAP.c
14113                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14114                         the WPA IE specifies that WEP is supported
14115
14116         * src/nm-device-802-11-wireless.c
14117                 - (process_scan_results): don't mark an AP as supporting WEP
14118                         if there's already other encryption capability info
14119
14120 2006-01-03  Dan Williams  <dcbw@redhat.com>
14121
14122         * src/dhcp-manager/nm-dhcp-manager.c
14123                 - Recognize activation cancellation when waiting for DHCP
14124                         configuration from dhcdbd
14125                 - Ignore non-dhcdbd messages
14126
14127         * src/nm-device.c
14128                 - (real_act_stage3_ip_config_start): return to correct behavior
14129                         of letting the dhcp-manager notify us of failure or
14130                         success rather than incorrectly doing that ourselves
14131                 - (nm_device_activate_stage4_ip_config_get): deal with
14132                         activation cancellation a bit earlier
14133
14134 2006-01-03  Dan Williams  <dcbw@redhat.com>
14135
14136         * src/nm-device-802-11-wireless.c
14137           src/nm-device.[ch]
14138                 - Add hooks to subclasses for stage3_ip_config_start and
14139                         stage4_ip_config_timeout
14140
14141         * src/nm-device-802-3-ethernet.c
14142                 - (real_get_generic_capabilities): make devices NM-supported
14143                         by default
14144
14145 2006-01-03  Robert Love  <rml@novell.com>
14146
14147         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14148           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14149           latter cannot differentiate between error and the address -1; misc.
14150           clean up.
14151
14152 2006-01-03  Dan Williams  <dcbw@redhat.com>
14153
14154         * src/NetworkManager.c
14155                 - Move link-checking/probing into the device subclasses
14156                         themselves
14157
14158         * src/nm-device.[ch]
14159           src/nm-device-802-11-wireless.c
14160           src/nm-device-802-3-ethernet.c
14161                 - Do periodic link checking in device subclasses rather
14162                         than being triggered from NetworkManager.c
14163                 - discover_wireless_capabilities -> get_wireless_capabilities
14164                 - discover_generic_capabilities -> get_generic_capabilities
14165                 - Device subclass activation routines now return a value of type
14166                         NMActStageReturn to indicate what step to perform next
14167                 - Devices now override stage4_get_ip4_config if they choose
14168
14169 2006-01-01  Dan Williams  <dcbw@redhat.com>
14170
14171         * src/nm-device-802-11-wireless.c
14172                 - (real_init): don't chain up to parent init because we don't
14173                         need to do that anymore
14174
14175         * src/nm-device.c
14176                 - (discover_device_type): fix arguments to ioctl() to correctly
14177                         pass interface name
14178                 - (nm_device_new): consolidate generic device initialization into
14179                         nm_device_new()
14180                 - (real_init): remove, consolidated to nm_device_new()
14181                 - (nm_device_deactivate, real_deactivate): consolidate
14182
14183 2006-01-01  Dan Williams  <dcbw@redhat.com>
14184
14185         * src/nm-activation-request.c
14186                 - Change dhcp_state member of the NMActRequest structure
14187                         from guint8 to guint32
14188
14189         * src/dhcp-manager/nm-dhcp-manager.[ch]
14190                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14191                         than guint8 to match the dbus argument.  Turns out we were
14192                         overwriting memory since we were passing in only a guint8
14193
14194 2005-12-31  Dan Williams  <dcbw@redhat.com>
14195
14196         * refactor NMDevice into a GObject-based framework with separate
14197                 objects for wired and wireless.  The following files are no
14198                 longer used but should stick around for a bit so we don't
14199                 loose code through the cracks:
14200                         NetworkManagerDevice.c
14201                         NetworkManagerDevice.h
14202                         NetworkManagerWireless.c
14203                         NetworkManagerWireless.h
14204
14205         The intent here is to allow each device type to manage its own
14206         connection & activation life-cycle, ie to allow wireless devices
14207         to interface with wpa_supplicant, etc.  There's a fair bit of
14208         encapsulation breakage right now that should gradually get pulled
14209         back into each device, along with things like periodic property
14210         updates and link probing.
14211
14212 2005-12-29  Dan Williams  <dcbw@redhat.com>
14213
14214         * include/NetworkManager.h
14215                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14216                         between networks that don't have any encryption at all
14217
14218 2005-12-29  Dan Williams  <dcbw@redhat.com>
14219
14220         * test/test-common.c
14221           test/test-common.h
14222           test/Makefile.am
14223                 - Move to a test-common subdirectory
14224
14225         * test/libnm-util/test-ciphers.c
14226                 - Move test data to test-inputs.h
14227                 - Test WPA ciphers too
14228
14229         * test/libnm-util/test-dbus-helpers.c
14230                 - Test serialization/deserialization of ciphers
14231
14232 2005-12-29  Dan Williams  <dcbw@redhat.com>
14233
14234         * gnome/applet/applet-dbus-devices.c
14235                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14236                         in dbus calls to NM
14237                 - Set capabilities on WirelessNetwork objects
14238                 - Receive and save type-specific device capabilities too
14239
14240         * gnome/applet/applet-dbus-info.c
14241           gnome/applet/applet-dbus.c
14242                 - Passphrase dialog no longer a singleton; new instance gets created
14243                         on each request.  Updates to deal with that.
14244
14245         * gnome/applet/applet.c
14246                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14247                         than single 'encrypted' flag
14248                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14249                         menu items
14250                 - Passphrase dialog updates per above
14251
14252         * gnome/applet/menu-items.c
14253                 - (network_menu_item_update): use AP capabilities to determine
14254                         encryption
14255
14256         * gnome/applet/nm-device.[ch]
14257                 - Add accessors for type-specific device capabilities
14258
14259         * gnome/applet/other-network-dialog.c
14260                 - Rework to respect device capabilities.  i.e., if the device doesn't
14261                         support WPA, remove that option from the security dropdown
14262
14263         * gnome/applet/passphrase-dialog.c
14264                 - Massive rework so that a new instance is created each time
14265                         it's used, to support wireless network capabilities
14266
14267         * gnome/applet/wireless-network.[ch]
14268                 - Add accessors and members for wireless network capabilities
14269
14270         * gnome/applet/wireless-security-manager.[ch]
14271                 - (wsm_set_capabilities): called after creation to set which
14272                         security options get shown to the user
14273
14274 2005-12-29  Dan Williams  <dcbw@redhat.com>
14275
14276         * libnm-util/cipher-wpa-psk-passphrase.c
14277                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14278                         like other ciphers
14279
14280 2005-12-23  Dan Williams  <dcbw@redhat.com>
14281
14282         * gnome/applet/applet-dbus-info.c
14283                 - (nmi_dbus_get_key_for_network): if there's no entry in
14284                         GConf for a network, assume we want a new key
14285                 - (nmi_save_network_info): serialize wireless security info
14286                         into GConf so its saved
14287
14288         * src/nm-dbus-nm.c
14289                 - Fix warning as we may not be passed security info when
14290                         connecting to a wireless network
14291
14292 2005-12-23  Dan Williams  <dcbw@redhat.com>
14293
14294         * gnome/applet/applet-compat.c
14295                 - Fix bugs in GConf entry conversion
14296
14297         * gnome/applet/applet-dbus-info.c
14298                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14299                         list being zero-length
14300
14301         * libnm-util/cipher-*
14302           libnm-util/dbus-helpers.c
14303                 - All ciphers must now return hashed keys as UTF-8 valid
14304                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14305                         through dbus as strings too.
14306                 - Consolidate various functions that do bin->hex and hex->bin
14307                         conversion into cipher.c
14308
14309         * src/nm-ap-security-wep.c
14310           src/nm-ap-security-wpa-psk.c
14311                 - Handle NULL keys since we may not know keys right away
14312
14313         * src/nm-dbus-nmi.c
14314                 - (nm_dbus_get_network_data_cb): actually advance to the start
14315                         of the wireless security info before we try to deserialize it
14316
14317         * libnm-util/test-ciphers.c
14318                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14319
14320 2005-12-22  Dan Williams  <dcbw@redhat.com>
14321
14322         * gnome/applet/applet-compat.[ch]
14323                 - Convert old-format GConf and keyring entries
14324                         when the applet starts up.
14325
14326         * gnome/applet/applet.c
14327                 - (nmwa_get_instance): Call the conversion function
14328                         on startup before dbus is initialized
14329
14330 2005-12-22  Dan Williams  <dcbw@redhat.com>
14331
14332         * gnome/applet/applet-dbus-info.c
14333                 - Remove nmi_dbus_create_error_message() in favor of
14334                         nmu_create_dbus_error_message()
14335                 - (nmi_dbus_get_network_properties): Error message cleanups
14336                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14337                         gconf key rather than 'addresses', since they really are BSSIDs
14338                 - (nmi_dbus_get_network_properties): Dispose of the security
14339                         object when we're done with it
14340
14341 2005-12-21  Dan Williams  <dcbw@redhat.com>
14342
14343         * Consolidate the info-daemon's "updateNetworkInfo" and
14344                 "addNetworkAddress" calls into just "updateNetworkInfo"
14345
14346 2005-12-21  Dan Williams  <dcbw@redhat.com>
14347
14348         * Make connection after key retrieval work again
14349
14350 2005-12-21  Dan Williams  <dcbw@redhat.com>
14351
14352         * gnome/applet/nm-gconf-wso*
14353                 - Make the serialize functions return gboolean
14354                         rather than int
14355
14356         * gnome/applet/nm-gconf-wso.c
14357                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14358                         parent class handling so we don't segfault
14359
14360         * src/NetworkManagerAP.[ch]
14361                 - (nm_ap_get_capabilities): new function, return capabilities
14362                         now that something can use them
14363                 - (nm_ap_set_encrypted): assume that an access point supports
14364                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14365                         we even tell whether it just supports WEP40?
14366
14367         * src/NetworkManagerDevice.c
14368                 - (ap_need_key): resurrect and update for the New World Order
14369                 - (nm_device_wireless_get_activation_ap): if we're not given
14370                         security info to use, create some based on access point
14371                         capabilities
14372
14373         * src/nm-ap-security-wep.c
14374                 - (nm_ap_security_wep_new_from_ap): create a new object
14375                         based on a certain access point's capabilities
14376
14377         * src/nm-ap-security.c
14378                 - (nm_ap_security_new_from_ap): delegate creation of a new
14379                         object based on access point capabilities to a subclass
14380                 - (nm_ap_security_copy_properties): don't segfault if we
14381                         don't have a key yet
14382
14383         * src/nm-dbus-nm.c
14384                 - (nm_dbus_nm_set_active_device): provide more informative
14385                         output when errors occur.  Also construct security info
14386                         for a given access point if we weren't given any
14387
14388 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14389
14390         * configure.in: Added Lithuanian to ALL_LINGUAS.
14391
14392 2005-12-21  Dan Williams  <dcbw@redhat.com>
14393
14394         * test/libnm-util
14395                 - Add some testcases for WEP ciphers
14396
14397 2005-12-17  Dan Williams  <dcbw@redhat.com>
14398
14399         * Fix bugs
14400
14401 2005-12-17  Dan Williams  <dcbw@redhat.com>
14402
14403         * include/NetworkManager.h
14404                 - Finally kill NMEncKeyType
14405
14406         * gnome/applet/applet-dbus-info.c
14407                 - (nmi_save_network_info): convert to NMGConfWSO
14408
14409         * gnome/applet/nm-gconf-wso-*.c
14410                 - Implement gconf serialization functions
14411
14412         * src/NetworkManagerPolicy.c
14413                 - (nm_policy_activation_finish): fix up meaning of
14414                         automatic/user_requested
14415
14416 2005-12-17  Dan Williams  <dcbw@redhat.com>
14417
14418         * gnome/applet/*
14419                 - More applet cleanups
14420                 - Use the dbus-method-dispatcher
14421
14422         * libnm-util/dbus-method-dispatcher.[ch]
14423                 - Generalize the implementation from NM in
14424                         NetworkManagerUtils.c
14425
14426 2005-12-16  Dan Williams  <dcbw@redhat.com>
14427
14428         * gnome/applet/*
14429                 - Fix up the passphrase dialog to use all the
14430                         WirelessSecurityOption stuff (untested)
14431
14432 2005-12-16  Dan Williams  <dcbw@redhat.com>
14433
14434         * Move nm_gconf_get_*_helper() functions to separate files,
14435                 gconf-helpers.c & gconf-helpers.h
14436
14437         * New NMGConfWSO objects for managing the gconf side of things.
14438                 Eventually these should be merged with the
14439                 WirelessSecurityOption objects and a common base (that can
14440                 serialize/deserialize from dbus & gconf) should be
14441                 refactored out, but for now they are separate.
14442
14443 2005-12-16  Robert Love  <rml@novell.com>
14444
14445         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14446           binaries unless they exist (nm_spawn_process() emits a warning if
14447           asked to spawn a non-existant process).
14448
14449 2005-12-16  Dan Williams  <dcbw@redhat.com>
14450
14451         * gnome/applet/applet-dbus-info.c
14452                 - Clean up lots of gconf-related code
14453
14454 2005-12-16  Robert Love  <rml@novell.com>
14455
14456         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14457
14458 2005-12-16  Dan Williams  <dcbw@redhat.com>
14459
14460         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14461
14462         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14463                 bits still to be done)
14464
14465 2005-12-16  Dan Williams  <dcbw@redhat.com>
14466
14467         * Finally move info-daemon related stuff out of
14468                 NetworkManagerDbus.c to nm-dbus-nmi.c
14469
14470 2005-12-16  Dan Williams  <dcbw@redhat.com>
14471
14472         * Kill auth_method for access points, since that's now done
14473                 by NMAPSecurity objects
14474
14475         * Add a copy-constructor of sorts to NMAPSecurity
14476                 (how do you do this properly in glib???)
14477
14478 2005-12-15  Dan Williams  <dcbw@redhat.com>
14479
14480         * Exorcise encryption key hashing on APs
14481         * Use libnm-util's serialization/deserialization in both the
14482                 applet and NM
14483         * Random other stuff
14484
14485 2005-12-15  Robert Love  <rml@novell.com>
14486
14487         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14488           is being added to the icon naming spec, so let's use that (Tango CVS
14489           has the icon).  Because it is new, however, we fall back to the
14490           current "gnome-lockscreen" if the new icon is not around, thus
14491           behavior is the same.
14492         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14493           factory junk.
14494
14495 2005-12-15  Robert Love  <rml@novell.com>
14496
14497         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14498           well, help to give.  Couple other misc. bits.
14499
14500 2005-12-15  Dan Williams  <dcbw@redhat.com>
14501
14502         * libnm-util/dbus-helpers.[ch]
14503                 - Make this the one-stop-shop for serializing/deserializing
14504                         AP & connection security settings over dbus.  Both NM
14505                         and applets should use this to ensure consistent dbus
14506                         API going forwared.
14507
14508 2005-12-15  Robert Love  <rml@novell.com>
14509
14510         Patch by Timo Hoenig  <thoenig@suse.de>:
14511         * src/NetworkManagerDbus.c
14512                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14513                         if HAL jumps off the system bus.  Otherwise libdbus
14514                         (dbus_connection_dispatch) will try to run the filter
14515                         function of our libhal context which is already freed.
14516
14517 2005-12-15  Alexander Shopov  <ash@contact.bg>
14518
14519         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14520
14521 2005-12-14  Dan Williams  <dcbw@redhat.com>
14522
14523         * include/NetworkManager.h
14524           src/NetworkManagerWireless.c
14525                 - Rearrange 802.11 wireless-specific capabilities again
14526
14527         * src/Makefile.am
14528                 - Forgot to add wpa.c/wpa.h to the makefiles
14529
14530         * src/NetworkManagerAP.[ch]
14531                 - Implement access point capabilities and parse the
14532                         WPA/RSN IEs into the capability bitfield
14533                 - Switch the "encrypted" attribute to utilize the bitfield
14534                         and capabilities rather than being independent
14535
14536         * src/NetworkManagerDevice.c
14537                 - (nm_device_wireless_get_activation_ap): break it horribly
14538                         until we can push NMAPSecurity objects into access point
14539                         objects and through the activation chain
14540                 - Stuff WPA & RSN IEs into AP capabilities
14541
14542         * src/nm-dbus-nm.c
14543                 - Take a shot at actually making setActiveDevice work
14544
14545         * src/wpa.[ch]
14546                 - Make the API a bit saner
14547
14548 2005-12-14  Dan Williams  <dcbw@redhat.com>
14549
14550         * include/NetworkManager.h
14551                 - Add 802.11-specific capability for 802.1x key
14552                         management
14553
14554         * src/wpa.[ch]
14555                 - Pull in WPA IE and RSN IE parsing code from
14556                         wpa_supplicant so we can determine access point
14557                         capabilities
14558                 - Move WPA-related constants here from NetworkManagerAP.h
14559                         and NetworkManagerDevice.c
14560
14561         * src/NetworkManagerDevice.c
14562           src/NetworkManagerAP.[ch]
14563                 - Use WPA-related constants from wpa.h
14564
14565 2005-12-14  Dan Williams  <dcbw@redhat.com>
14566
14567         * include/NetworkManager.h
14568                 - Update and split 802.11 wireless-specific capabilities from
14569                         generic device capabilities
14570
14571         * src/NetworkManagerDevice.c
14572           src/NetworkManagerDevicePrivate.h
14573                 - (nm_device_wireless_discover_capabilities): Move 802.11
14574                         wireless-specific capability checks to
14575                         NetworkManagerWireless.c
14576                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14577                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14578
14579         * src/NetworkManagerWireless.[ch]
14580                 - (nm_802_11_wireless_discover_capabilities): Check extended
14581                         802.11 wireless-specific capabilities of the driver
14582
14583 2005-12-14  Robert Love  <rml@novell.com>
14584
14585         Patch from Stefan Scheler <sscheler@suse.de>:
14586         * src/NetworkManagerDevice.c: call backend code to activate and
14587           deactivate NIS.
14588         * src/NetworkManagerSystem.h: add new NIS interfaces.
14589         * src/backends/NetworkManagerDebian.c,
14590           src/backends/NetworkManagerGentoo.c,
14591           src/backends/NetworkManagerRedHat.c,
14592           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14593           support.
14594         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14595
14596 2005-12-14  Dan Williams  <dcbw@redhat.com>
14597
14598         * src/nm-ap-security*.[ch]
14599                 - Add AP security abstractions to NetworkManager
14600
14601         * src/nm-dbus-device.c
14602                 - Begin to parse new format dbus messages from the applet
14603                         and construct an AP security object from the message
14604
14605         * libnm-util/dbus-helpers.c
14606                 - Use message iters so we can append the key as a fixed
14607                         array of bytes, which actually works rather than
14608                         using dbus_message_append_args() as we were before
14609
14610 2005-12-14  Dan Williams  <dcbw@redhat.com>
14611
14612         * src/NetworkManagerDbus.c
14613           gnome/applet/applet-dbus.c
14614                 - Fix up dbus service replacement options.  The applet
14615                         should allow replacement, NM itself should not.
14616
14617 2005-12-13  Robert Love  <rml@novell.com>
14618
14619         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14620           Instead, fail silently if config is NULL by not asserting and not
14621           returning FALSE.  Also, make sure we always fclose() the file.
14622
14623 2005-12-13  Robert Love  <rml@novell.com>
14624
14625         Patch by Stefan Scheler <sscheler@suse.de>:
14626         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14627            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14628            via DHCP.  Still need the backends to commit the NIS domain name and
14629            and servers to yp.conf as needed.
14630
14631 2005-12-13  Robert Love  <rml@novell.com>
14632
14633         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14634           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14635
14636 2005-12-13  Robert Love  <rml@novell.com>
14637
14638         * src/named-manager/nm-named-manager.c: Don't unref the config until
14639           after we call rewrite_resolv_conf(), because get_last_default_domain()
14640           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14641           `config != NULL' failed" assertion failures and "Could not commit DNS
14642           changes" warnings.
14643
14644 2005-12-12  Dan Williams  <dcbw@redhat.com>
14645
14646         * libnm-util/dbus-helpers.[ch]
14647           libnm-util/Makefile.am
14648                 - new helper calls to consolidate locations where
14649                         NM's setDevice method is called
14650
14651         * gnome/applet/applet-dbus-devices.c
14652           gnome/applet/wireless-security-option.c
14653           gnome/applet/wso-*
14654                 - Implement dbus message param append function for
14655                         all wireless security options
14656
14657 2005-12-12  Robert Love  <rml@novell.com>
14658
14659         * libnm-util/cipher-wep-passphrase.c,
14660           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14661           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14662           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14663           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14664           When handling keys, we don't care what the sign is.  The compiler
14665           guarantees us that we get our 8-bits, which is all we care about.
14666         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14667
14668 2005-12-12  Dan Williams  <dcbw@redhat.com>
14669
14670         * gnome/applet/applet-dbus-devices.[ch]
14671           gnome/applet/applet.c
14672           gnome/applet/other-network-dialog.c
14673           gnome/applet/wireless-security-manager.[ch]
14674           gnome/applet/wireless-security-option.[ch]
14675           gnome/applet/wso-*
14676                 - Push the wireless security options further into the applet
14677
14678 2005-12-12  Robert Love  <rml@novell.com>
14679
14680         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14681           return any name servers.  That is perfectly valid.  (Novell #134369).
14682
14683 2005-12-11  Dan Williams  <dcbw@redhat.com>
14684
14685         * gnome/applet/wso-*
14686           gnome/applet/wireless-security-option.*
14687           gnome/applet/Makefile.am
14688                 - split each security option out so we can eventually
14689                         have each one build up their own dbus message
14690                         arguments to send to NM
14691
14692 2005-12-11  Dan Williams  <dcbw@redhat.com>
14693
14694         * Make validation of the key work correctly
14695
14696 2005-12-11  Dan Williams  <dcbw@redhat.com>
14697
14698         * Hook more bits of the Other Network Dialog up to the
14699                 wireless security manager stuff, and restructure
14700                 bits of the dialog so there's less code.
14701
14702 2005-12-10  Dan Williams  <dcbw@redhat.com>
14703
14704         * gnome/applet/Makefile.am
14705                 - Add libnm-util to includes
14706                 - Add libnm-util to link list
14707                 - Add wireless-security-common.* to compile list
14708
14709         * gnome/applet/other-network-dialog.c
14710                 - Convert to using the WirelessSecurityManager code and
14711                         widgets
14712
14713         * gnome/applet/passphrase-dialog.c
14714                 - Comment out references to stuff in the glade file that
14715                         cause runtime errors until it can be fixed up
14716                         to use the WirelessSecurityManager code
14717
14718         * gnome/applet/wireless-applet.glade
14719                 - Rename some widgets
14720                 - Add widgets for the WirelessSecurityManager code
14721                 - Remove passphrase-related stuff since that's now
14722                         handled by the WirelessSecurityManager code
14723
14724 2005-12-10  Dan Williams  <dcbw@redhat.com>
14725
14726         * gnome/applet/applet-dbus-devices.c
14727                 - Print out error message details for dbus pending call callbacks
14728                 - Move nmwa_dbus_update_devices() up
14729
14730         * gnome/applet/applet-dbus-vpn.c
14731                 - Print out error message details for dbus pending call callbacks
14732
14733 2005-12-10  Dan Williams  <dcbw@redhat.com>
14734
14735         * libnm-util/*
14736                 - More fixups
14737                 - Remove cipher-manager.* because we don't need it
14738                 - Forgot to add gnome-keyring-md5 files to compile list
14739
14740 2005-12-09  Dan Williams  <dcbw@redhat.com>
14741
14742         * libnm-util/*
14743           configure.in
14744           Makefile.am
14745                 - Add a utility library for clients of NetworkManager.  It's
14746                         only targetted at applets for the moment, and contains
14747                         a generalized 802.11 cipher framework for different
14748                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14749
14750 2005-12-09  Robert Love  <rml@novell.com>
14751
14752         * src/NetworkManagerDevice.c: handle error better in
14753           nm_device_set_mode().
14754
14755 2005-12-08  Robert Love  <rml@novell.com>
14756
14757         * include/NetworkManager.h: add WPA capabilities constants
14758         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14759           or WPA2 and add the capabilities bits as appropriate.
14760
14761 2005-12-08  Robert Love  <rml@novell.com>
14762
14763         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14764           NetworkManagerDispatcher.
14765         * configure.in, initscript/SUSE/.cvsignore,
14766           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14767           initscript.
14768
14769 2005-12-08  Robert Love  <rml@novell.com>
14770
14771         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14772
14773 2005-12-08  Robert Love  <rml@novell.com>
14774
14775         * src/NetworkManagerDevice.c: We want to fall back on and default to
14776           IW_MODE_AUTO, not -1, which is more in line with our previous
14777           behavior.  Otherwise, we try to set the wireless mode to -1 in
14778           nm_device_set_mode().
14779
14780 2005-12-07  Robert Love  <rml@novell.com>
14781
14782         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14783           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14784           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14785           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14786           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14787           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14788           zero.
14789
14790 2005-12-07  Robert Love  <rml@novell.com>
14791
14792         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14793           supplied IP is invalid, fall back to DHCP.
14794
14795 2005-12-07  Dan Williams  <dcbw@redhat.com>
14796
14797         * Convert NETWORK_MODE_* constants to IW_MODE_*
14798         * Make all the get_mode/set_mode functions take and return 'int'
14799         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14800
14801 2005-12-07  Robert Love  <rml@novell.com>
14802
14803         * src/NetworkManagerDevice.c: strncpy() buffer check.
14804         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14805
14806 2005-12-06  Dan Williams  <dcbw@redhat.com>
14807
14808         * gnome/applet/applet-dbus.c
14809                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14810
14811         * gnome/applet/applet-dbus-vpn.c
14812                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14813                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14814                         to TRUE here if stage was ACTIVATED
14815
14816 2005-12-06  Dan Williams  <dcbw@redhat.com>
14817
14818         * Change nm_device_is_* functions to better names:
14819                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14820                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14821
14822 2005-12-06  Dan Williams  <dcbw@redhat.com>
14823
14824         * Change naming of NMDeviceType to something more sensible:
14825                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14826                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14827                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14828
14829 2005-12-06  Dan Williams  <dcbw@redhat.com>
14830
14831         * Move NetworkManager.h -> include/NetworkManager.h
14832         * Split out VPN stuff into include/NetworkManagerVPN.h
14833         * Fix up makefiles to include new location
14834         * Fix up sources to include NetworkManagerVPN.h
14835
14836 2005-12-06  Dan Williams  <dcbw@redhat.com>
14837
14838         Various changes in the applet to move VPN connection "state" -> "stage",
14839         which it actually is.  I'd like to change the signal as well when we
14840         break compat in the near future.
14841
14842 2005-12-06  Dan Williams  <dcbw@redhat.com>
14843
14844         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14845         * initscript/Slackware/rc.networkmanager
14846                 - Cosmetic fix
14847
14848         * src/backends/NetworkManagerSlackware.c
14849                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14850                         interfaces
14851
14852 2005-12-05  Robert Love  <rml@novell.com>
14853
14854         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14855           to free, particularly here as it just barfs.
14856
14857 2005-12-05  Dan Williams  <dcbw@redhat.com>
14858
14859         * gnome/applet/applet-dbus.c
14860                 - Work with dbus 0.6 too
14861
14862 2005-12-03  Dan Williams  <dcbw@redhat.com>
14863
14864         * src/NetworkManagerUtils.[ch]
14865           src/nm-ip4-config.c
14866                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14867                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14868
14869 2005-12-01  Robert Love  <rml@novell.com>
14870
14871         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14872           need a NULL for the '...' parameter, too, to fill the so-called
14873           sentinel.
14874
14875 2005-12-01  Robert Love  <rml@novell.com>
14876
14877         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14878           interface is already gone, so don't call rtnl_link_change() to down
14879           it (which will segfault, anyhow).
14880
14881 2005-11-22  Robert Love  <rml@novell.com>
14882
14883         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14884           gateway is not set, just print a little note.  Configurations without
14885           gateways are valid.
14886
14887 2005-11-22  Robert Love  <rml@novell.com>
14888
14889         * README: update
14890
14891 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14892
14893         * configure.in: Added Finnish translation to ALL_LINGUAS
14894
14895 2005-11-14  Robert Love  <rml@novell.com>
14896
14897         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14898           Niemueller <tim@niemueller.de>.
14899
14900 2005-11-08  Dan Williams  <dcbw@redhat.com>
14901
14902         Patch from Bill Moss <bmoss@clemson.edu>
14903         * src/NetworkManagerDevice.c
14904                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14905                         of nm_policy_schedule_activation_finish() to prevent a
14906                         race condition that causes the link to be dropped
14907
14908 2005-11-08  Dan Williams  <dcbw@redhat.com>
14909
14910         Patch from Bill Moss <bmoss@clemson.edu>
14911         * src/NetworkManagerAPList.c
14912           src/NetworkManagerDevice.c
14913           src/NetworkManagerDbus.c
14914                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14915                         we get more readable ether/mac addresses
14916
14917 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14918
14919         * gnome/applet/main.c: Don't set the restart command.  This fixes
14920         the issue where the restart command was getting copies of all its
14921         arguments for each time the applet was restarted.
14922
14923 2005-11-02  Robert Love  <rml@novell.com>
14924
14925         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14926           if the widget state differs from our saved state.  This ensures we
14927           do not enter an endless loop of death and destruction.  Also, this
14928           guarantees us that we enforce the widget state.
14929
14930 2005-11-02  Robert Love  <rml@novell.com>
14931
14932         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14933         * gnome/applet/applet-dbus-devices.c: invoke the new function
14934           nmwa_enable_wireless_set_active() to ensure that the state of the
14935           'Enable Wireless' checkbox matches the daemon's state.  This is a
14936           concern because the daemon remembers the state.
14937
14938 2005-11-02  Robert Love  <rml@novell.com>
14939
14940         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14941           Enabled", as checkboxes should be actions/commands not positive
14942           statements, otherwise they are confusing in the unselected case.  See
14943           examples in GNOME HIG, Chapter 6.
14944
14945 2005-11-02  Robert Love  <rml@novell.com>
14946
14947         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14948           show a list of wireless networks or the wireless devices or the
14949           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14950           a bad bug: If wireless is disabled and the user picks a wireless
14951           network, NM will switch to the network, only to immediately switch
14952           back, as wireless is disabled.  This also reassures people that NM
14953           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14954
14955 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14956
14957         * gnome/applet/applet.c:
14958         * gnome/applet/applet.h:
14959         Partial backout of Dan's timeout animation patch.
14960         Timeout IDs cannot legally be 0, so revert the code in place to handle
14961         a timeout ID of 0 to denote the timeout isn't running.
14962
14963 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14964
14965         * src/NetworkManagerPolicy.c:
14966         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14967
14968 2005-10-28  Robert Love  <rml@novell.com>
14969
14970         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14971           "Import Saved Configuration..." to make it clear that importing is
14972           not the next step, but an option.  As an aside, a nice TODO would be
14973           to move Importing out of the vpn-specific dialog and into the main
14974           property editor, as Importing goes with Adding, but that will require
14975           some rearchitecting of the VPN stuff I suspect.
14976
14977 2005-10-27  Dan Williams  <dcbw@redhat.com>
14978
14979         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14980         we should replace most of the distro-specific backend code
14981         with libnl stuff.
14982
14983         Get it here:  http://people.suug.ch/~tgr/libnl/
14984
14985         * configure.in
14986           src/Makefile.am
14987                 - Add checks for libnl pkgconfig file
14988                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14989
14990         * src/NetworkManagerSystem.c
14991           src/nm-ip4-config.[ch]
14992                 - Use libnl rather than ioctl() for most things
14993                 - Remove unused functions
14994
14995 2005-10-27  Robert Love  <rml@novell.com>
14996
14997         * src/backends/NetworkManagerSuSE.c: fix warning message text
14998
14999 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15000
15001         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15002
15003 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15004
15005         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15006         project page <http://www.gnome.org/projects/NetworkManager/>
15007
15008 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15009
15010         * gnome/applet.c: Also use translator credits if we don't have
15011         the new GtkAboutDialog (older versions of GTK+)
15012
15013 2005-10-26  Robert Love  <rml@novell.com>
15014
15015         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15016           failure; correct usage text for "--no-daemon"
15017
15018 2005-10-25  Dan Williams  <dcbw@redhat.com>
15019
15020         * src/NetworkManagerDevice.c
15021                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15022                         no scan results
15023                 - (free_process_scan_cb_data): unref the device when freeing results
15024                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15025                         so we don't unref the device underneath ourselves
15026
15027 2005-10-25  Dan Williams  <dcbw@redhat.com>
15028
15029         * Back out 2005-10-24 commit from Tor Krill.  Patch
15030                 causes nameservers never to be removed from named.
15031
15032 2005-10-24  Dan Williams  <dcbw@redhat.com>
15033
15034         Clean up wireless scanning and wireless link probing.
15035
15036         * src/NetworkManagerDevice.c
15037                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15038                         just see if there's an activation request on the device, and check the
15039                         current link against the activation request access point's ESSID.
15040                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15041                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15042                         don't call process_scan_results() on zero-length data
15043                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15044                         15 seconds (from 10)
15045
15046 2005-10-24  Dan Williams  <dcbw@redhat.com>
15047
15048         Cleanup some applet stuff:
15049
15050         - Animation timeouts.  If NM died while the applet was animating,
15051                 the applet would not hide itself.  This is now fixed.
15052
15053         - Remove some dead code
15054
15055         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15056                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15057
15058         - Track animation timeout using a gboolean rather than the timeout's
15059                 ID, since timeout IDs can legally be 0.
15060
15061 2005-10-24  Dan Williams  <dcbw@redhat.com>
15062
15063         * src/backends/interface_parser.c
15064                 - Add void to function declarations that need it
15065                         to match patch from Engin AYDOGAN
15066
15067         * src/backends/interface_parser.h
15068                 - Remove unused prototype for ifparser_interfaces()
15069
15070         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15071         * src/backends/interface_parser.h:
15072                 - Compile fixes for gcc 4.0.2 (add void)
15073
15074 2005-10-24  Dan Williams  <dcbw@redhat.com>
15075
15076         Patch from Tor Krill <tor@krill.nu>
15077         * src/named-manager/nm-named-manager.c
15078                 - Write more than just the first nameserver to /etc/resolv.conf
15079                 - Write out valid /etc/resolv.conf on exit
15080
15081 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15082
15083         * gnome/applet/applet-dbus-vpn.c:
15084         Get rid of spurious newlines in debug console output
15085
15086 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15087
15088         * src/backends/NetworkManagerGentoo.c:
15089         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15090
15091 2005-10-20  Robert Love  <rml@novell.com>
15092
15093         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15094           direct comparison of floating point values, which is never correct.
15095           Also some misc. cleanup.
15096
15097 2005-10-19  Robert Love  <rml@novell.com>
15098
15099         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15100
15101 2005-10-19  Robert Love  <rml@novell.com>
15102
15103         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15104           sensitivity of the buttons.  Specificaly, do the right thing if
15105           there are no entries.
15106
15107 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15108
15109         * configure.in: Update check for adequate wireless-tools
15110         with an AC_TRY_COMPILE for the new symbols we use.
15111
15112 2005-10-19  Dan Williams  <dcbw@redhat.com>
15113
15114         * src/NetworkManagerDevice.c
15115                 - (process_scan_results): don't drop the last (or only)
15116                         access point we see
15117
15118 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15119
15120         * src/backends/NetworkManagerSlackware.c:
15121         Patch from Nico <lordllucifer@gmail.com>
15122                 - Update the Slackware backend.
15123
15124 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15125
15126         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15127         if we've got GLib 2.8.0
15128
15129 2005-10-18  Robert Love  <rml@novell.com>
15130
15131         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15132           function nm_schedule_state_change_signal_broadcast() when we
15133           deactivate a device, too.
15134
15135 2005-10-18  Robert Love  <rml@novell.com>
15136
15137         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15138           be used uninitialized.
15139
15140 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15141
15142         * test/libnm_glib_test.c: Test unregistering, too.
15143
15144 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15145
15146         * configure.in: Bump to 0.5.0
15147
15148 2005-10-17  Dan Williams  <dcbw@redhat.com>
15149
15150         * NetworkManager.h
15151                 - Remove WPA-related constants so they aren't part of the
15152                         upcoming release.
15153
15154 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15155
15156         * gnome/applet/applet.c:
15157         * gnome/applet/applet.h:
15158         Desensitize the 'Connection Information' menu item when there is
15159         no active connection.
15160
15161 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15162
15163         * gnome/libnm_glib/libnm_glib.c:
15164         Make libnm_glib_unregister_callback () actually unregister the callback
15165
15166 2005-10-17  Robert Love  <rml@novell.com>
15167
15168         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15169           two seconds -- tries is updated every 1/10 of a second, not every
15170           second..
15171
15172 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15173
15174         * gnome/applet/applet-dbus-info.c:
15175         Let D-BUS know that we haven't handled a message when we haven't.
15176
15177 2005-10-17  Robert Love  <rml@novell.com>
15178
15179         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15180           in order to remain 64-bit clean.
15181
15182 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15183
15184         * gnome/applet/applet-dbus-info.c:
15185         Find network encryption keys asynchronously
15186
15187 2005-10-17  Robert Love  <rml@novell.com>
15188
15189         * src/backends/NetworkManagerDebian.c,
15190           src/backends/NetworkManagerRedHat,
15191           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15192           comment delimiter.
15193
15194 2005-10-17  Robert Love  <rml@novell.com>
15195
15196         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15197           "/etc"
15198
15199 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15200
15201         * src/NetworkManagerDevice.c: (process_scan_results)
15202         Fix logic that checks to see whether we have an ESSID.
15203
15204 2005-10-15  Dan Williams  <dcbw@redhat.com>
15205
15206         Move scanning code into NetworkManager rather than use iwlib's
15207         iw_scan() function, so that we can figure out AP capabilities.
15208
15209         * NetworkManager.h
15210                 - Add AP capability bits
15211
15212         * src/NetworkManagerAP.[ch]
15213                 - Add capability field to NMAccessPoint structure
15214                 - Add WPA & RSN Information Element fields and accessor
15215                         functions to NMAccessPoint
15216
15217         * src/NetworkManagerDevice.c
15218                 - Remove usage of iw_scan
15219                 - Add scanning code to NetworkManager rather than use
15220                         iw_scan() from iwlib
15221
15222         * src/NetworkManagerUtils.[ch]
15223                 - (nm_dispose_scan_results): remove, unused
15224
15225 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15226
15227         * gnome/libnm_glib/libnm_glib.c:
15228         * gnome/libnm_glib/libnm_glib.h:
15229         Use guint instead of gint for callback IDs.
15230
15231 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15232
15233         * gnome/applet/applet.c:
15234         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15235         every 1000ms.  It will unconditionally call nmwa_update_state which
15236         kills the existing animation timeout and registers a new one with a
15237         callback to draw a new frame every 100ms.  There are 11 connecting
15238         icon frames, so the last 2 frames kept getting dropped.  Only reset
15239         the animation timeout if we aren't animating.
15240
15241 2005-10-11  Dan Williams  <dcbw@redhat.com>
15242
15243         * gnome/applet/applet-dbus-devices.c
15244                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15245                         We want to grab the product & vendor from net.physical_dev
15246                         rather than info.parent.
15247
15248 2005-10-11  Dan Williams  <dcbw@redhat.com>
15249
15250         * src/NetworkManagerDevice.c
15251                 - Use the driver's WE version for scanning rather than
15252                         the WE version NM was compiled with.  Fixes random
15253                         crashes in iw_scan () in iwlib.
15254
15255 2005-10-10  Dan Williams  <dcbw@redhat.com>
15256
15257         * Remove nm_system_load_device_modules() from backend files
15258                 and from NetworkManager.c
15259
15260 2005-10-10  Dan Williams  <dcbw@redhat.com>
15261
15262         * src/NetworkManagerPolicy.c
15263                 - Fix some bugs introduced by the capabilities patch
15264
15265 2005-10-10  Dan Williams  <dcbw@redhat.com>
15266
15267         * gnome/applet/applet-dbus-info.c
15268                 - (nmi_dbus_get_network_key): hide the menu when putting up
15269                         the keyring dialog.  (not sure if the code is right...)
15270
15271 2005-10-09  Dan Williams  <dcbw@redhat.com>
15272
15273         Patch from Bill Moss <bmoss@clemson.edu>
15274         * src/NetworkManagerDevice.c
15275                 - (nm_device_set_user_key_for_network): don't try to set auth
15276                         mode on the AP from the allowed list if it's NULL
15277
15278 2005-10-09  Dan Williams  <dcbw@redhat.com>
15279
15280         * Replace the "driver support level" stuff with capabilities.  The
15281                 capability field is a bitfield that is more flexible than the
15282                 old driver support level thing.  It's mostly so we can easily
15283                 figure out what supports WPA and what doesn't, but should be
15284                 quite useful later.
15285
15286 2005-10-09  Dan Williams  <dcbw@redhat.com>
15287
15288         * test/nmtest.c
15289                 - Removed
15290
15291         * test/nm-tool.c
15292           test/Makefile.am
15293                 - Added new "nm-tool" tool that gives quite a bit more
15294                         information
15295
15296 2005-10-07  Robert Love  <rml@novell.com>
15297
15298         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15299           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15300           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15301           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15302           appropriate
15303
15304 2005-10-07  Robert Love  <rml@novell.com>
15305
15306         * configure.in: Change our compile flags for the betterment of mankind.
15307           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15308           prototype is very bad on 64-bit platforms as types default to int but
15309           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15310           "-Wmissing-declarations" to warn if we define an exported function
15311           but fail to put it in a header.
15312
15313 2005-10-07  Robert Love  <rml@novell.com>
15314
15315         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15316           by the name nm_update_device_wireless_timeouts() and once tried,
15317           without success, to steal my pet turtle.
15318
15319 2005-10-07  Robert Love  <rml@novell.com>
15320
15321         * Cleanup prototypes: put some functions in header files and mark
15322           others as 'static' -- feel free to invert
15323         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15324           nm_vpn_manager_vpn_connection_list_copy()
15325         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15326           nm_vpn_service_get_dbus_connection()
15327         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15328           nm_vpn_manager_vpn_connection_list_copy()
15329         * src/vpn-manager/nm-vpn-service.c: make
15330           nm_vpn_service_act_request_failed() and
15331           nm_vpn_service_stage2_daemon_wait() static
15332         * src/vpn-manager/nm-vpn-service.h: add prototype for
15333           nm_vpn_service_get_dbus_connection()
15334
15335 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15336
15337         * gnome/applet/applet.c:
15338         * gnome/applet/applet.h:
15339         * gnome/applet/icons/Makefile.am:
15340         Convey information about the current connection stage in the
15341         icons themselves instead of creating a separate progress bar.
15342
15343 2005-10-04  Robert Love  <rml@novell.com>
15344
15345         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15346           convert an ether_addr structure's MAC into a string, because the
15347           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15348           versus 07:3B:04, while the former will not.
15349
15350 2005-10-04  Robert Love  <rml@novell.com>
15351
15352         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15353           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15354           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15355           default route in the 'Connection Information' dialog, send primary
15356           and secondary name servers in in "getProperties" DBUS method, add
15357           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15358           secondary domain name servers are crucial pieces of information
15359           that a user might need in debugging a network problem.
15360
15361 2005-10-04  Robert Love  <rml@novell.com>
15362
15363         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15364           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15365           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15366           default route in the 'Connection Information' dialog, send default
15367           route in "getProperties" DBUS method, add network_device_set_route(),
15368           and network_device_get_route().  The Gateway is a crucial piece of
15369           connection-related information that a user might need in debugging a
15370           network problem.
15371
15372 2005-10-03  Robert Love  <rml@novell.com>
15373
15374         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15375           NULL.
15376
15377 2005-10-02  Dan Williams  <dcbw@redhat.com>
15378
15379         * Shorten time taken to sleep by fastpathing bits of device deactivation
15380                 necessary for sleep.
15381
15382         * Fix issue where deactivating a device might deactivate the active
15383                 VPN connection, even if the VPN was not using the device.
15384
15385 2005-10-02  Dan Williams  <dcbw@redhat.com>
15386
15387         * gnome/applet/applet.c
15388                 - Adjust signal strength -> icon mapping values slightly
15389                         (so that 51% signal doesn't show a 75% icon) by adding
15390                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15391                         shows 50% icon, etc.
15392
15393 2005-09-29  Robert Love  <rml@novell.com>
15394
15395         * src/NetworkManager.c: removed unused variable.
15396
15397 2005-09-28  Dan Williams  <dcbw@redhat.com>
15398
15399         Support for named + DBus, using Red Hat DBus patches for named.  You
15400         can find those patches here, with "dbus" in the patch's filename:
15401
15402                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15403
15404         Don't forget the named dbus service file either.
15405
15406         Instead of writing a config file and spawing a named process, NM will
15407         use an already-running dbus-enabled named if it finds one.  NM will
15408         update named's forwarder configuration on the fly using dbus.
15409
15410         If there is no dbus-enabled named running, NM will automatically fall
15411         back to writing the most-recent DNS server information to /etc/resolv.conf
15412         and calling nm_system_update_dns() to kick the system's resolver.
15413
15414         Accordingly, all named-related configure-time options have been removed.
15415
15416 2005-09-26  Robert Love  <rml@novell.com>
15417
15418         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15419           ISDN support!
15420         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15421           bug in error path if "ASKPASSWORD" is "no".
15422
15423 2005-09-26  Robert Love  <rml@novell.com>
15424
15425         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15426           comment in /etc/resolv.conf -- ';' is not.
15427
15428 2005-09-19  Dan Williams  <dcbw@redhat.com>
15429
15430         * src/backends/NetworkManagerRedHat.c:
15431         * src/backends/NetworkManagerDebian.c:
15432         * src/backends/NetworkManagerSlackware.c:
15433         * src/backends/NetworkManagerGentoo.c:
15434         * src/backends/NetworkManagerSUSE.c:
15435         Fix invocations of "/sbin/ip address" to use short form instead
15436
15437 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15438
15439         * src/nm-dbus-device.c: Don't assert when getting
15440         addresses of a not yet connected interface.
15441
15442         * gnome/applet/applet.c: Free icons if loading fails.
15443         Use translator-credits so translators can make themselves known.
15444
15445 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15446
15447         * src/NetworkManagerAP.c:
15448         * src/NetworkManagerAP.h:
15449         * src/NetworkManagerDevice.c:
15450         Set a blacklist for certain common manufacturer default ESSIDs:
15451         APs with these ESSIDs are extremely likely to be completely
15452         different networks: connecting to one should not make NM
15453         auto-connect to every other AP with the same default ESSID.
15454
15455 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15456
15457         * gnome/applet/wireless-applet.glade:
15458         The passphrase entry should also activate the default
15459
15460         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15461
15462         * gnome/applet/applet-dbus-devices.c:
15463         * gnome/applet/applet.c:
15464         * gnome/applet/nm-device.c:
15465         * gnome/applet/nm-device.h:
15466         * src/NetworkManagerUtils.c:
15467         * src/NetworkManagerUtils.h:
15468         * src/nm-dbus-device.c:
15469         I've got a fever, and the only cure for it is less ioctl.
15470         Make NM push IP data rather than make the applet open a socket
15471         to the device.
15472
15473 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15474
15475         * gnome/applet/applet.c:
15476         * gnome/applet/applet-dbus-devices.c:
15477         * gnome/applet/applet-dbus-info.c:
15478         * gnome/applet/passphrase-dialog.c:
15479         * gnome/libnm_glib/libnm_glib.c:
15480         * gnome/vpn-properties/nm-vpn-properties.c:
15481         * src/autoip.c:
15482         * src/backends/NetworkManagerRedHat.c:
15483         * src/named-manager/nm-named-manager.c:
15484         * src/NetworkManagerAPList.c:
15485         * src/NetworkManager.c:
15486         * src/NetworkManagerDbus.c:
15487         * src/NetworkManagerDevice.c:
15488         * src/NetworkManagerPolicy.c:
15489         * src/NetworkManagerSystem.c:
15490         * src/nm-dbus-device.c:
15491         * src/nm-dbus-nm.c:
15492         * src/vpn-manager/nm-vpn-manager.c:
15493         * src/vpn-manager/nm-vpn-service.c:
15494         * test/libnm_glib_test.c:
15495         * test/nminfotest.c:
15496         * test/nmtestdevices.c:
15497         Fix a bunch of 'unused variable' compiler warnings
15498
15499         * NetworkManager.h:
15500         * gnome/applet/applet-dbus-info.c:
15501         * gnome/applet/applet-dbus-info.h:
15502         * gnome/applet/applet.c:
15503         * gnome/applet/applet.h:
15504         * src/NetworkManager.c:
15505         * src/NetworkManagerDbus.c:
15506         * src/NetworkManagerDbus.h:
15507         * src/NetworkManagerDevice.c:
15508         * src/NetworkManagerDevice.h:
15509         * src/NetworkManagerMain.h:
15510         * src/NetworkManagerWireless.c:
15511         * src/NetworkManagerWireless.h:
15512         * src/nm-dbus-nm.c:
15513         Make NetworkManager be smart about how frequently to scan
15514         based on its current state.  Remove the UI for choosing when
15515         to scan.  Scanning still may disabled completely by the user
15516         via the "Wireless Enabled" menu item.
15517
15518 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15519
15520         * gnome/applet/applet.c:
15521         Also overlay the vpn connecting icons onto the wired icon,
15522         when appropriate.
15523
15524         * gnome/vpn-properties/nm-vpn-properties.glade:
15525         Clean up a few strings to use better grammar and proper casing.
15526
15527 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15528
15529         * gnome/applet/vpn-connection.c:
15530         * gnome/applet/vpn-connection.h:
15531         Add nmwa_vpn_connection_is_activating ()
15532
15533         * gnome/applet/applet.c:
15534         * gnome/applet/applet.h:
15535         * gnome/applet/icons/nm-vpn-connecting*.png:
15536         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15537         the user know something's happening between clicking the VPN item and it
15538         actually being connected.
15539
15540 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15541
15542         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15543         failure case as well.
15544
15545 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15546
15547         * gnome/panel/eggtrayicon.[ch]:
15548         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15549
15550 2005-09-07  Dan Williams  <dcbw@redhat.com>
15551
15552         Patch from Bill Moss <bmoss@clemson.edu>
15553         * src/applet-dbus.c
15554                 - (nmwa_dbus_filter): strip whitespace from beginning
15555                         and end of VPN login banner
15556
15557 2005-09-07  Dan Williams  <dcbw@redhat.com>
15558
15559         * The great VPN Manager rewrite of 2005
15560
15561 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15562
15563         * gnome/applet/menu-items.c:
15564         * gnome/applet/nm-device.c:
15565         * gnome/applet/wireless-network.c:
15566         * gnome/libnm_glib/libnm_glib.c:
15567         * src/NetworkManagerDbusUtils.c:
15568         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15569         g_malloc0 doesn't return NULL
15570
15571 2005-09-06  Dan Williams  <dcbw@redhat.com>
15572
15573         Patch from Tomislav Vujec <tvujec@redhat.com>
15574         * src/NetworkManagerDevice.c
15575                 - (nm_get_device_by_udi): don't return a device when we
15576                         actually didn't find what we were looking for
15577
15578 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15579
15580         * gnome/applet/applet-dbus-devices.c:
15581         * gnome/applet/applet-dbus-devices.h:
15582         * gnome/applet/applet-dbus.c:
15583         * src/NetworkManagerDbus.c:
15584         * src/NetworkManagerDbus.h:
15585         * src/NetworkManagerDevice.c:
15586         * src/nm-dbus-device.c:
15587         Make NM push updates about active device strength when it changes,
15588         rather than having the applet poll every 2s.
15589
15590 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15591
15592         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15593         network_device_set_strength
15594
15595 2005-09-04  Dan Williams  <dcbw@redhat.com>
15596
15597         Patch from Bill Nottingham <notting@redhat.com>
15598         * src/NetworkManagerDevice.c
15599                 - (nm_device_activation_cancel): reset the quit_activation flag
15600
15601 2005-09-04  Dan Williams  <dcbw@redhat.com>
15602
15603         * src/nm-activation-request.c
15604                 - (nm_act_request_unref): actually free the structure,
15605                         which we didn't seem to be doing before
15606
15607 2005-09-04  Dan Williams  <dcbw@redhat.com>
15608
15609         Patch from John Palmieri <johnp@redhat.com>
15610         * gnome/applet/applet-dbus-devices.c
15611                 - Fix up unreffing of DBusMessage objects
15612
15613 2005-09-04  Dan Williams  <dcbw@redhat.com>
15614
15615         Patch from John Palmieri <johnp@redhat.com>
15616         * gnome/applet/nm-device.c
15617                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15618
15619 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15620
15621         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15622
15623 2005-09-02  Bill Nottingham  <notting@redhat.com>
15624
15625         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15626
15627 2005-09-01  Dan Williams  <dcbw@redhat.com>
15628
15629         * src/NetworkManager.c
15630                 - (nm_remove_device_from_list): rename to nm_remove_device
15631                 - (nm_hal_device_removed): call nm_remove_device()
15632
15633         * src/NetworkManagerDevice.c
15634                 - Change the NMWirelessScanCB member 'reschedule' which
15635                         wasn't used to 'force' to indicate that we need to
15636                         force a scan when adding a device
15637
15638         * src/nm-dbus-nm.c
15639                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15640                         from the device list
15641                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15642
15643 2005-09-01  Robert Love  <rml@novell.com>
15644
15645         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15646           and the check "!iface" in the error case is probably never true.
15647
15648 2005-09-01  Dan Williams  <dcbw@redhat.com>
15649
15650         Patch from Bill Nottingham <notting@redhat.com>
15651         * src/backends/NetworkManagerRedHat.c
15652                 - Add initial dialup support to Red Hat/Fedora backend
15653
15654 2005-09-01  Dan Williams  <dcbw@redhat.com>
15655
15656         * gnome/applet/applet-dbus-devices.c
15657                 - Sort both wireless networks and devices again, which got
15658                         broken when removing threading
15659
15660 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15661
15662         * gnome/applet/applet.c:
15663         Only show the "Stop/Start All Wireless Devices" menuitem
15664         if we actually have wireless devices.
15665
15666         * gnome/applet/applet-dbus-info.c:
15667         * gnome/applet/applet.c:
15668         * gnome/applet/other-network-dialog.c:
15669         * gnome/applet/vpn-password-dialog.c:
15670         Drop the gtk_dialog_run () calls in favor of connecting to
15671         "response" signals, needed now that the applet is not threaded.
15672
15673 2005-08-31  Dan Williams  <dcbw@redhat.com>
15674
15675         Patch from Bill Moss <bmoss@clemson.edu>
15676         * src/NetworkManagerDevice.c
15677                 - (nm_device_wireless_scan): fix scan timeout values
15678
15679 2005-08-30  Dan Williams  <dcbw@redhat.com>
15680
15681         * gnome/applet/wireless-applet.glade
15682                 - HIG-ify the Other Wireless Networks dialog a bit more
15683                 - Fix some potential segfaults in the info dialog
15684
15685 2005-08-30  Dan Williams  <dcbw@redhat.com>
15686
15687         * gnome/applet/applet-dbus-devices.c
15688                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15689
15690 2005-08-30  Dan Williams  <dcbw@redhat.com>
15691
15692         * gnome/applet/applet-dbus.[ch]
15693                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15694                         they weren't being used anyway
15695
15696 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15697
15698         * test/nmtestdevices.c: (print_usage), (main):
15699         Check the number of arguments, and fix a typo
15700
15701 2005-08-29  Dan Williams  <dcbw@redhat.com>
15702
15703         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15704         * gnome/applet/applet.c
15705                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15706
15707 2005-08-29  Dan Williams  <dcbw@redhat.com>
15708
15709         * gnome/applet/*
15710                 - Don't use threads any more.  Anything that blocks
15711                         (like gtk_dialog_run()) will  have to get fixed up which
15712                         should happen quickly.  We really only had threads to make
15713                         the animation smooth, and when everything got converted over
15714                         to DBus Pending Calls, the need for threads kind of went away
15715
15716 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15717
15718         * gnome/applet/applet.c: Draw VPN connections as radio items
15719         since we don't yet support multiple VPNs.
15720         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15721         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15722
15723 2005-08-29  Dan Williams  <dcbw@redhat.com>
15724
15725         Patch from j@bootlab.org
15726         - Make --without-named work
15727         - Make --with-dhcdbd work correctly
15728
15729 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15730
15731         * configure.in: Added "ca" to ALL_LINGUAS.
15732
15733 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15734
15735         * Fix up VPN state handling between the applet and NetworkManager,
15736                 so that the applet doesn't show a VPN as connected when one
15737                 really is not
15738                         - The applet no longer has a pointer to the active VPN's
15739                                 name, but tracks each VPNs state individually
15740                         - NM no longer has a "getActiveVPNConnection" method
15741                         - NM no longer broadcasts the "VPNConnectionChange" signal
15742                         - NM now broadcasts a "VPNConnectionStateChange" signal
15743                                 whenever the state of a VPN changes
15744
15745 2005-08-26  Dan Williams <dcbw@redhat.com>
15746
15747         * gnome/applet/applet-dbus-devices.c
15748           gnome/applet/applet-dbus-vpn.c
15749                 - Remove calls to dbus_pending_call_ref() because we already
15750                         "own" the pending call
15751                 - Remove calls to dbus_pending_call_get_completed() because
15752                         when we are in the callback, the pending call is completed
15753                         by definition
15754
15755 2005-08-22  Dan Williams <dcbw@redhat.com>
15756
15757         Patch by Bill Moss <bmoss@clemson.edu>
15758         * src/dhcp-manager/nm-dhcp-manager.c
15759                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15760                         some time to send out a RELEASE if they like
15761
15762 2005-08-22  Dan Williams <dcbw@redhat.com>
15763
15764         Noticed by Bill Moss <bmoss@clemson.edu>
15765         * src/NetworkManagerDbus.c
15766                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15767                         instead of just cancelling its activation
15768
15769         * src/NetworkManagerDevice.c
15770                 - (nm_device_deactivate): some small cleanups
15771                 - (nm_device_set_user_key_for_network): deactivate the device
15772                         instead of just cancelling its activation
15773
15774 2005-08-22  Dan Williams <dcbw@redhat.com>
15775
15776         Noticed by Bill Moss <bmoss@clemson.edu>
15777         * src/NetworkManagerDevice.c
15778                 - (nm_device_wireless_scan): fix scan timeout, we were
15779                         waiting way too long for scans to complete
15780
15781 2005-08-22  Dan Williams <dcbw@redhat.com>
15782
15783         Patch from j@bootlab.org:
15784         * src/backends/NetworkManagerDebian.c
15785                 - Make the Debian backend work for static IP again
15786
15787 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15788
15789         * gnome/applet/other-network-dialog.c:
15790         The "Create New Network" and "Connect to Other Network"
15791         dialogs share alot of code, but shouldn't share a window
15792         title.  Give them different ones.
15793
15794         * gnome/applet/wireless-applet.glade:
15795         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15796         Some more minor UI tweaks.
15797
15798 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15799
15800         * gnome/applet/other-network-dialog.c:
15801         * gnome/applet/wireless-applet.glade:
15802         Also need mnemonic widgets, and underline enabled.
15803
15804 2005-08-19  Dan Williams <dcbw@redhat.com>
15805
15806         * vpn-daemons/vpnc/nm-vpnc-service.c
15807                 - (vpnc_watch_cb): remove no-longer-relevant comment
15808                 - (write_config_option): new function, helper to write
15809                         config options to vpnc's stdin
15810                 - (nm_vpnc_config_write): use the new helper, make the
15811                         code shorter
15812
15813 2005-08-19  Christopher Aillon <caillon@redhat.com>
15814
15815         * gnome/applet/passphrase-dialog.c:
15816         * gnome/applet/wireless-applet.glade:
15817         Make the passphrase dialog response based, and treat
15818         responses other than OK (such as Esc, [X]) as a cancel.
15819
15820 2005-08-18  Christopher Aillon <caillon@redhat.com>
15821
15822         * initscript/Gentoo/NetworkManager:
15823         * initscript/RedHat/NetworkManager:
15824         * initscript/RedHat/NetworkManagerDispatcher:
15825         * initscript/SUSE/networkmanager:
15826         CVS remove these in place of .in replacements
15827
15828         * configure.in:
15829         * initscript/Gentoo/NetworkManager.in:
15830         * initscript/RedHat/NetworkManager.in:
15831         * initscript/RedHat/NetworkManagerDispatcher.in:
15832         * initscript/SUSE/networkmanager.in:
15833         These scripts now are generated so they work still when
15834         NM is built using a bindir other than /usr/bin
15835
15836 2005-08-18  Dan Williams <dcbw@redhat.com>
15837
15838         * gnome/applet/main.c
15839                 - Revert previous change for --no-session since
15840                         --sm-disable does the same thing
15841
15842 2005-08-18  Dan Williams <dcbw@redhat.com>
15843
15844         * gnome/applet/applet-dbus-info.c
15845                 - (nmi_dbus_create_error_message): new function
15846                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15847                         functions.  Also don't check for both device _and_ network before
15848                         asking for a user's key, because we may not have gotten all our
15849                         networks back from NM quite yet (due to the dbus pending calls
15850                         coming in later).  Fixes a hang in NM/nm-applet.
15851
15852         * src/NetworkManagerDbus.c
15853                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15854                         slightly more sane manner, even though we are still broken for
15855                         certain other error conditions.
15856                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15857                         to the info-daemon too
15858
15859         * src/NetworkManagerDevice.c
15860                 - Fix some debug messages to be info messages instead
15861
15862 2005-08-18  Dan Williams <dcbw@redhat.com>
15863
15864         * gnome/applet/main.c
15865                 - Add new "--no-session" parameter that disables applet
15866                         session management, ie for testing
15867
15868 2005-08-18  Christopher Aillon <caillon@redhat.com>
15869
15870         * gnome/applet/other-network-dialog.c:
15871         * gnome/applet/wireless-applet.glade: More mnemonics
15872
15873 2005-08-17  Robert Love  <rml@novell.com>
15874
15875         * initscript/SUSE/networkmanager: update
15876
15877 2005-08-17  Dan Williams  <dcbw@redhat.com>
15878
15879         * Tag NM_0_4_1_RELEASE
15880
15881 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15882
15883         * gnome/applet/applet.c: More translatable string cleanup
15884
15885
15886 2005-08-17  Dan Williams  <dcbw@redhat.com>
15887
15888         * gnome/applet/applet-dbus-info.c
15889                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15890                         from the dbus message, which tells us to unconditionally
15891                         ask the user for a new key.  Otherwise, we pull the key from
15892                         the keyring and return it.  If we fail to get the key from the
15893                         keyring, we ask the user for a new key.
15894                 - (nmi_dbus_get_network_key): new function to grab the key for
15895                         an essid from the keyring.
15896                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15897                         Also, don't return any key in the dbus message.
15898
15899         * src/NetworkManagerDbus.[ch]
15900                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15901                         indicate that we unconditionally want a new key.  This function
15902                         is now also used to get keys from the info-daemon which are
15903                         pre-stored, not just for asking the user for a new key.  The
15904                         "new_key" parameter indicates whether or not we wish to ask the
15905                         user for a new key.
15906                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15907                         info-daemon in the return message, so use NULL instead.  The
15908                         key will be filled in at connect time by calling
15909                         nm_dbus_get_user_key_for_network()
15910
15911         * src/NetworkManagerDevice.c
15912                 - (nm_device_wireless_configure): update for "new_key" param to
15913                         nm_dbus_get_user_key_for_network().  We initially set new_key
15914                         to FALSE to see if we have a stored key in the info-daemon, but
15915                         if the connection is unsuccessful at this stage we request a
15916                         new one
15917
15918 2005-08-17  Dan Williams  <dcbw@redhat.com>
15919
15920         * gnome/applet/icons/nm-no-connection.png
15921           gnome/applet/icons/nm-device-wired.png
15922                 - Use Diana's new RJ45 connector icons
15923
15924 2005-08-17  Dan Williams  <dcbw@redhat.com>
15925
15926         * src/NetworkManagerPolicy.c
15927                 - (nm_policy_device_change_check): clarify switching rules if
15928                         both new and old devices are valid; mainly, don't switch
15929                         away from user-requested wireless connection back to a wired
15930                         one
15931
15932 2005-08-17  Dan Williams  <dcbw@redhat.com>
15933
15934         * gnome/applet/Makefile.am
15935                 - Relocate the applet to /usr/bin since it is no longer
15936                         executed by anything, but directly by the user
15937
15938 2005-08-17  Dan Williams  <dcbw@redhat.com>
15939
15940         Patch from Bill Moss <bmoss@clemson.edu>
15941
15942         * gnome/applet/applet-dbus-info.[ch]
15943                 - (nmi_save_network_info): save timestamp for network if it
15944                         was a change requested by the user
15945                 - (nmi_dbus_update_network_info): get user_requested from dbus
15946                         message and pass to nmi_save_network_info()
15947
15948         * gnome/applet/applet.c
15949                 - (nmwa_update_network_timestamp): remove
15950                 - (nmwa_menu_item_activate): don't set timestamp on networks
15951                         here, only after a successful connect in nmi_save_network_info()
15952
15953         * src/NetworkManagerDbus.[ch]
15954                 - (nm_dbus_update_network_info): pass user_requested into the 
15955                         dbus message
15956
15957         * src/NetworkManagerPolicy.c
15958                 - (nm_policy_activation_finish): pass user_requested to
15959                         nm_dbus_update_network_info()
15960
15961 2005-08-16  Robert Love  <rml@novell.com>
15962
15963         * gnome/applet/applet.c: Better "Dial Up" menu item.
15964
15965 2005-08-16  Robert Love  <rml@novell.com>
15966
15967         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15968           "Connection Information" menu item.
15969
15970 2005-08-16  Dan Williams  <dcbw@redhat.com>
15971
15972         Patch from j@bootlab.org
15973         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15974
15975         * configure.in: allow specifying the path to dhcdbd
15976
15977 2005-08-16  Robert Love  <rml@novell.com>
15978
15979         Patch from j@bootlab.org
15980         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15981           src/backends/interface_parser.h: Debian dialup support.
15982
15983 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15984
15985         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15986         * gnome/applet/applet.c: Add some mnemonics for VPNC
15987
15988         * vpn-daemons/.cvsignore: fix this up a little bit
15989
15990 2005-08-16  Robert Love  <rml@novell.com>
15991
15992         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15993           support.
15994
15995 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15996
15997         * gnome/applet/applet.c: Split markup out of translatable strings
15998         and clean up logic a little bit.  (fixes #309012)
15999
16000 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16001
16002         * gnome/vpn-properties/nm-vpn-properties.c:
16003         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16004         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16005         Makeshift fix to remove newlines from translatable strings.
16006         Note that we now return an allocated string, so callers of
16007         get_confirmation_details () must now call g_free () on the
16008         result. (fixes #309033).
16009
16010 2005-08-12  Robert Love  <rml@novell.com>
16011
16012         * gnome/applet/applet-dbus.c: remove newlines from translatable
16013           strings--not needed here anyway. (fix b.g.o #309011)
16014         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16015
16016 2005-08-11  Robert Love  <rml@novell.com>
16017
16018         * gnome/applet/applet.c: mark string as translatable.
16019
16020 2005-08-11  Robert Love  <rml@novell.com>
16021
16022         * initscript/SUSE/networkmanager: update.
16023
16024 2005-08-11  Dan Williams  <dcbw@redhat.com>
16025
16026         * src/nm-dhcp-manager.c
16027                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16028                         an gateway returned from DHCP, try to use the address of the DHCP
16029                         server as the gateway instead.  Found by Ralf Ertzinger.
16030
16031 2005-08-10  Robert Love  <rml@novell.com>
16032
16033         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16034           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16035
16036 2005-08-10  Dan Williams  <dcbw@redhat.com>
16037
16038         Patch from Bill Moss <bmoss@clemson.edu>
16039         * Consolidate writes of access point information updates to the info daemon
16040                 so that we only do it when the connection to the access point was
16041                 successful.  Also consolidates updates to GConf in the Gnome applet.
16042
16043         * src/nm-netlink-monitor.c
16044                 - Silence compile warning when calling g_object_new()
16045
16046 2005-08-08  Dan Williams  <dcbw@redhat.com>
16047
16048         Patch from Steev <steev@steev.net>:
16049         * src/backends/NetworkManagerGentoo.c
16050                 - Stub new dialup backend functions
16051
16052 2005-08-08  Dan Williams  <dcbw@redhat.com>
16053
16054         Patch from Colin Slater:
16055         * src/backends/NetworkManagerGentoo.c
16056                 - (nm_system_update_dns): Fix exit status check for restarting
16057                         nscd
16058
16059 2005-08-05  Robert Love  <rml@novell.com>
16060
16061         * NetworkManager.h,
16062           gnome/applet/applet-dbus-devices.c,
16063           gnome/applet/applet-dbus-devices.h,
16064           gnome/applet/applet-dbus.c,
16065           gnome/applet/applet.c,
16066           gnome/applet/applet.h,
16067           src/NetworkManager.c,
16068           src/NetworkManagerMain.h,
16069           src/NetworkManagerSystem.h,
16070           src/backends/NetworkManagerRedHat.c,
16071           src/backends/NetworkManagerSuSE.c,
16072           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16073
16074 2005-08-05  Robert Love  <rml@novell.com>
16075
16076         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16077           machine's hostname to make adhoc creation idiot-proof.
16078
16079 2005-08-04  Robert Love  <rml@novell.com>
16080
16081         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16082           freed.
16083
16084 2005-08-04  Dan Williams  <dcbw@redhat.com>
16085
16086         * gnome/applet/applet-dbus-info.c
16087           gnome/applet/applet-dbus-info.h
16088                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16089                         to store key, key type, and auth method rather than just auth method
16090                 - (nmi_dbus_update_network_info): new function
16091                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16092
16093         * gnome/applet/passphrase-dialog.c
16094                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16095                         of saving the info ourselves
16096
16097         * gnome/libnm_glib/libnm_glib.c
16098                 - Remove the stupid version check for dbus
16099
16100         * src/NetworkManagerAP.c
16101           src/NetworkManagerAP.h
16102                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16103
16104         * src/NetworkManagerDbus.c
16105           src/NetworkManagerDbus.h
16106                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16107                         more than just the auth method
16108
16109         * src/NetworkManagerDevice.c
16110                 - Update network info at the appropriate times
16111
16112 2005-07-29  Ray Strode  <rstrode@redhat.com>
16113
16114         * src/NetworkManager.c (nm_info_handler): don't use input as format
16115         string (Spotted by Ian Jackson).
16116
16117 2005-07-27  Dan Williams  <dcbw@redhat.com>
16118
16119         * src/nm-dbus-nm.c
16120           src/nm-dbus-net.c
16121                 - Random cleanups of spacing
16122
16123         * gnome/applet/applet.h
16124           gnome/applet/other-network-dialog.c
16125           gnome/applet/passphrase-dialog.c
16126                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16127
16128         Patch from Bill Moss:
16129                 - Make Other Wireless Networks work again with encryption keys
16130
16131 2005-07-26  Dan Williams  <dcbw@redhat.com>
16132
16133         Patch from Steev <steev@steev.net>:
16134         * src/backends/NetworkManagerGentoo.c
16135           src/backends/Makefile.am
16136                 - Fix up Gentoo backend
16137
16138 2005-07-26  Robert Love  <rml@novell.com>
16139
16140         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16141
16142 2005-07-25  Robert Love  <rml@novell.com>
16143
16144         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16145           in the same group as the wireless networks, since they are all
16146           mutually exclusive.
16147
16148 2005-07-24  Ray Strode  <rstrode@redhat.com>
16149
16150         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16151         remove unneeded NULL arg from g_object_new().  Any
16152         warnings caused by not having the extra NULL are just a
16153         result of a bug in glib 2.7.0 - 2.7.2.
16154
16155 2005-07-22  Robert Love  <rml@novell.com>
16156
16157         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16158
16159 2005-07-22  Robert Love  <rml@novell.com>
16160
16161         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16162           parameters (gcc 4.0.2 warning fix).
16163
16164 2005-07-18  Robert Love  <rml@novell.com>
16165
16166         Suggested by Aaron Bockover (abockover@novell.com)
16167         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16168           s/Ascii/ASCII
16169         * gnome/applet/passphrase-dialog.c: ditto
16170         * gnome/applet/wireless-applet.glade: ditto
16171
16172 2005-07-13  Dan Williams  <dcbw@redhat.com>
16173
16174         Patch from Ray Strode <halfline@gmail.com>
16175         * vpn-daemons/vpnc/nm-vpnc-service.c
16176                 - Don't let vpnc daemonize, fixes some races with PID file reading
16177
16178 2005-07-13  Dan Williams  <dcbw@redhat.com>
16179
16180         Patch from Ray Strode <halfline@gmail.com>
16181         * Random cleanups for strict CFLAGS
16182
16183 2005-07-07  Dan Williams  <dcbw@redhat.com>
16184
16185         Patch from Derek Atkins <warlord@MIT.EDU>
16186         * src/nm-dbus-net.c:
16187                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16188
16189 2005-07-07  Dan Williams  <dcbw@redhat.com>
16190
16191         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16192         * src/backends/NetworkManagerGentoo.c
16193                 - Gentoo backend Static IP nameserver fixes
16194                 - General Gentoo backend goodness
16195
16196 2005-07-07  Dan Williams  <dcbw@redhat.com>
16197
16198         Patch from Bastien Nocera:
16199         * gnome/applet/applet.c
16200                 - Fix up error reporting when icons or glade files are missing
16201
16202 2005-07-07  Robert Love  <rml@novell.com>
16203
16204         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16205           are not any VPN connections above it.
16206
16207 2005-07-07  Robert Love  <rml@novell.com>
16208
16209         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16210
16211 2005-07-05  Robert Love  <rml@novell.com>
16212
16213         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16214           zero.
16215
16216 2005-07-05  Robert Love  <rml@novell.com>
16217
16218         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16219           on wired or unencrypted wireless.
16220
16221 2005-07-01  Robert Love  <rml@novell.com>
16222
16223         * src/NetworkManagerSystem.c: Print the error via strerror().
16224
16225 2005-06-30  Robert Love  <rml@novell.com>
16226
16227         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16228           then exit if the glade file is not found.  currently the application
16229           just hangs.
16230
16231 2005-06-30  Robert Love  <rml@novell.com>
16232
16233         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16234           explicitly up all interfaces on wake from sleep.
16235
16236 2005-06-30  Robert Love  <rml@novell.com>
16237
16238         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16239           with information about the currently active connection.
16240         * gnome/applet/applet.h: (ditto)
16241         * gnome/applet/wireless-applet.glade: (ditto), new file
16242
16243 2005-06-30  Robert Love  <rml@novell.com>
16244
16245         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16246         * src/nm-dbus-nm.c: print when we sleep and wake up.
16247         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16248         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16249           in /sbin unless D-BUS is, folks).
16250         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16251
16252 2005-06-27  Robert Love  <rml@novell.com>
16253
16254         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16255           case.
16256
16257 2005-06-27  Robert Love  <rml@novell.com>
16258
16259         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16260           items radios.
16261
16262 2005-06-26  Robert Love  <rml@novell.com>
16263
16264         * src/NetworkManagerDevice.c: be specific about which device in
16265           nm_info() message.
16266
16267 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16268
16269         * src/nm-netlink-monitor.c: correct spelling error.
16270
16271 2005-06-23  Robert Love  <rml@novell.com>
16272
16273         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16274         * gnome/applet/passphrase-dialog.c: more of that keyring!
16275
16276 2005-06-23  Robert Love  <rml@novell.com>
16277
16278         * configure.in: remove extraneous GNOMEKEYRING directives.
16279         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16280         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16281         * gnome/applet/passphrase-dialog.c: whitespace.
16282
16283 2005-06-23  Robert Love  <rml@novell.com>
16284
16285         * src/NetworkManagerDevice.c: division in assignment was flipped.
16286
16287 2005-06-23  David Zeuthen  <david@fubar.dk>
16288
16289         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16290         signal to the child to indicate that we got what we wanted when we
16291         see two new-lines right after each other.
16292         (nmwa_vpn_request_password): Pass a structure with several members
16293         instead of just the passwords
16294
16295 2005-06-23  Dan Williams <dcbw@redhat.com>
16296
16297         * src/NetworkManager.c
16298           src/NetworkManagerMain.h
16299                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16300                 - (nm_hal_init): new function, init libhal context then add devices
16301                 - (nm_hal_deinit): new function, clean up libhal context
16302                 - (nm_data_free): Move Hal cleanup here
16303                 - (main): check whether Hal is running, and if so, get a list of
16304                         network devices from it
16305
16306         * src/NetworkManagerDbus.c
16307                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16308                         and when it appears, get a list of network devices from it.  If
16309                         Hal goes away, clean up the libhal context
16310
16311 2005-06-22  Robert Love  <rml@novell.com>
16312
16313         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16314           permissions of scripts before executing.
16315
16316 2005-06-21  Robert Love  <rml@novell.com>
16317
16318         * initscript/SUSE/networkmanager: update.
16319         * src/backends/NetworkManagerSuSE.c: cleanup.
16320
16321 2005-06-21  Robert Love <rml@novell.com>
16322
16323         * gnome/applet/applet.c: use menu mnemonics.
16324         * gnome/applet/menu-items.c: (ditto)
16325
16326 2005-06-21  Robert Love  <rml@novell.com>
16327
16328         * applet/applet-dbus-devices.c: mark non-static functions static.
16329         * applet/applet-dbus-vpn.c: (ditto)
16330         * applet/applet.c: (ditto)
16331         * applet/nm-device.h: (ditto)
16332         * applet/other-network-dialog.c: (ditto)
16333         * applet/passphrase-dialog.c: (ditto)
16334         * NetworkManager.c: (ditto)
16335         * NetworkManagerDbus.c: (ditto)
16336         * NetworkManagerDevice.c: (ditto)
16337         * NetworkManagerPolicy.c: (ditto)
16338         * NetworkManagerUtils.c: (ditto)
16339         * NetworkManagerWireless.c: (ditto)
16340         * NetworkManagerWireless.h: (ditto)
16341         * nm-netlink-monitor.c: (ditto)
16342         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16343         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16344         * autoip.c: include autoip.h.
16345         * autoip.h: new file.  define get_autoip().
16346         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16347         * NetworkManagerDbus.h: remove duplicate definitions.
16348
16349 2005-06-20  Robert Love  <rml@novell.com>
16350
16351         * Makefile.am: Add missing intltool-foo.in generated files to
16352           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16353           with the start of stuff to cleanup on 'distclea'.
16354         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16355           stuff right and 'distcheck' works.
16356         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16357           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16358           Makefile.am for each.  And systray/Makefile needs to be redone.
16359
16360 2005-06-19  Dan Williams <dcbw@redhat.com>
16361
16362         * src/NetworkManagerDevice.c
16363         - (nm_device_wireless_process_scan_results): scan every 20s when
16364           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16365
16366 2005-06-19  Dan Williams <dcbw@redhat.com>
16367
16368         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16369
16370 2005-06-18  Ray Strode <rstrode@redhat.com>
16371
16372         * src/nm-netlink-monitor.c 
16373         (nm_netlink_monitor_event_handler): check for the presence
16374         of either error condition not both. 
16375         
16376         (nm_netlink_monitor_error_handler): emit error signal if
16377         error occurs.
16378
16379         (nm_netlink_monitor_event_handler),
16380         (nm_netlink_monitor_error_handler),
16381         (nm_netlink_monitor_disconnect_handler): if an 
16382         assertion fails disconnect the event handler to prevent 
16383         infinite loops.
16384
16385         * src/nm-netlink-monitor.h: add new error condition
16386         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16387
16388 2005-06-18  Ray Strode <rstrode@redhat.com>
16389
16390         * src/nm-netlink-monitor.c 
16391         (nm_netlink_monitor_event_handler): remove bogus < 0
16392         check on unsigned value and return early if the kernel
16393         didn't send any bytes.
16394
16395 2005-06-17  Robert Love  <rml@novell.com>
16396
16397         * initscript/SUSE/networkmanager: Change the Provides and default
16398         run levels
16399
16400 2005-06-16  Dan Williams <dcbw@redhat.com>
16401
16402         Patch from Robert Love:
16403         * gnome/applet/applet.c
16404                 - Beautify some applet menu item names
16405
16406 2005-06-17  David Zeuthen  <davidz@redhat.com>
16407
16408         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16409         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16410         Also add new methods can_export, import_file and export.
16411
16412         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16413         to the main UI
16414
16415         * gnome/vpn-properties/nm-vpn-properties.c:
16416         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16417         nm-vpn-ui-interface.h.
16418         (update_edit_del_sensitivity): Also update "Export" sensitivity
16419         (add_vpn_connection): Also add new SVC_NAME column
16420         (import_settings): New function
16421         (retrieve_data_from_selected_connection): New function
16422         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16423         this function
16424         (export_cb): New function
16425         (init_app): Also setup the "export" widget
16426         (main): Support the --import-service and --import-file commandline
16427         arguments
16428
16429         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16430         D-BUS 0.34
16431
16432 2005-06-16  Dan Williams <dcbw@redhat.com>
16433
16434         Patch from Robert Love:
16435         * gnome/applet/menu-items.c
16436                 - (network_menu_item_new): pass -1 as wireless network
16437                         menu items height size request rather than ascent / 2
16438
16439 2005-06-16  Dan Williams <dcbw@redhat.com>
16440
16441         * Clean up wording in Wireless Scan Methods menu items and constants
16442
16443 2005-06-16  Robert Love  <rml@novell.com>
16444
16445         * po/POTFILES.in
16446                 - remove gtkcell* files
16447
16448 2005-06-15  Dan Williams <dcbw@redhat.com>
16449
16450         Patch from Robert Love: make the applet stetic
16451
16452         * gnome/applet/Makefile.am
16453                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16454
16455         * gnome/applet/gtkcellview.h
16456           gnome/applet/gtkcellview.c
16457           gnome/applet/gtkcellrendererprogress.h
16458           gnome/applet/gtkcellrendererprogress.c
16459                 - Removed
16460
16461         * gnome/applet/menu-items.c
16462                 - Progress bars are 5:1 size ratio
16463                 - Use GTK progress bars rather than internal ones
16464
16465 2005-06-15  Dan Williams <dcbw@redhat.com>
16466
16467         Patch from Robert Love:
16468         * initscript/SUSE/networkmanager
16469                 - Fix typo
16470
16471 2005-06-15  Dan Williams <dcbw@redhat.com>
16472
16473         * src/backends/NetworkManagerSuSE.c
16474           src/backends/NetworkManagerRedHat.c
16475           src/backends/NetworkManagerDebian.c
16476                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16477
16478 2005-06-15  Dan Williams <dcbw@redhat.com>
16479
16480         * src/backends/NetworkManagerDebian.c
16481                 - Add nm_system_device_get_use_dhcp() to debian backend
16482
16483         Patch from Kay Sievers:
16484         * src/backends/NetworkManagerSuSE.c
16485                 - Update debian backend for static IP nameservers
16486
16487         * src/NetworkManagerDevice.c
16488                 - Actually set the device to use static IP or DHCP rather
16489                         than always DHCP
16490
16491 2005-06-15  Dan Williams <dcbw@redhat.com>
16492
16493         Patch from Thom May:
16494         * src/backends/NetworkManagerDebian.c
16495                 - Update debian backend for static IP nameservers
16496
16497 2005-06-15  Dan Williams <dcbw@redhat.com>
16498
16499         Patches from Robert Love:
16500         * gnome/applet/wireless-applet.glade
16501                 - Tighten up wording
16502
16503         * src/NetworkManagerDevice.c
16504                 - Remove misplaced ';'
16505
16506         * configure.in
16507           initscript/Makefile.am
16508           initscript/SUSE/Makefile.am
16509           initscript/SUSE/networkmanager
16510                 - Add SUSE initscript
16511
16512 2005-06-12  David Zeuthen  <davidz@redhat.com>
16513
16514         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16515
16516         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16517
16518         * gnome/vpn-properties/nm-vpn-properties.c: New file
16519
16520         * gnome/vpn-properties/Makefile.am: New file
16521
16522         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16523         array of passwords
16524
16525         * src/vpn-manager/nm-vpn-manager.c
16526         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16527         instead of just a single one
16528
16529         * src/vpn-manager/nm-dbus-vpn.c:
16530         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16531         here
16532         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16533
16534         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16535         Change the interface here to give a list of passwords. Also, don't
16536         require username, but do require service
16537
16538         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16539         the binary for the auth-dialog and use that instead of putting up a
16540         dialog asking for a single password
16541
16542         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16543         however do remember the service
16544
16545         * gnome/applet/main.c (main): Setup i18n
16546
16547         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16548         connection to '%s'" to the tooltip if we are connected using VPN
16549         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16550         key to determine whether we the auth-dialog needs to
16551         reprompt. Also cope with the fact that the auth-dialog now returns
16552         an array of passwords.
16553         (nmwa_menu_configure_vpn_item_activate): New handler for
16554         "Configure VPN..." menu item
16555         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16556         (is_vpn_available): New function to determine if we got any
16557         NM-compatible VPN software installed
16558         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16559         items only if we have NM-compatible VPN software installed
16560         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16561         logic for detecting when VPN connections are removed
16562
16563         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16564         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16565         since these are defined elsewhere
16566
16567         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16568         function used to keep track of whether the last attempt succeded
16569         (nmwa_dbus_filter): Update last_attempt according to whether the
16570         VPN connection could be established or not
16571
16572         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16573         Change prototype to take an array of passwords, not just a single
16574         password
16575
16576         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16577         update service, not user
16578         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16579         dbus_active_vpn_name is not NULL before using it
16580         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16581         string array instead of assuming a single password
16582
16583         * gnome/applet/applet-dbus-info.c:
16584         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16585         user name; don't read from gconf
16586
16587         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16588         VPN_NAME_FILES_DIR
16589
16590         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16591
16592         * configure.in: Add checks for gmodule-2.0.
16593         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16594         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16595         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16596         for details
16597
16598         * vpn-daemons/Makefile.am: Removed
16599
16600         * vpn-daemons/README: New file to describe extensions points for VPN
16601         software
16602
16603 2005-06-10  Dan Williams <dcbw@redhat.com>
16604
16605         * src/backends/NetworkManagerRedHat.c
16606                 - (get_current_profile_name): new function, grab current network profile name from
16607                         /etc/sysconfig/network
16608                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16609                         update an IP4 Config structure's settings from it
16610                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16611                         get DNS info from current network profile
16612
16613 2005-06-09  Dan Williams <dcbw@redhat.com>
16614
16615         Patch from Robert Love:
16616         * src/NetworkManagerDevice.c
16617           src/NetworkManagerUtils.c
16618                 - 64-bit build fixes
16619
16620 2005-06-09  Dan Williams <dcbw@redhat.com>
16621
16622         Patch from Kay Sievers and Robert Love:
16623         * configure.in
16624           src/backends/Makefile.am
16625           src/backends/NetworkManagerSuSE.c
16626                 - Add SuSE support
16627
16628 2005-06-09  Dan Williams <dcbw@redhat.com>
16629
16630         * NetworkManager.h
16631                 - Add NMWirelessScanMethod enum for scan methods
16632
16633         * gnome/applet/applet-dbus-devices.c
16634                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16635                 - (nmwa_dbus_update_scanning_enabled): remove
16636                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16637                         since it got removed
16638                 - (nmwa_dbus_enable_scanning): remove
16639
16640         * gnome/applet/applet-dbus-info.c
16641                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16642                         update the wireless scanning method from NMI
16643                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16644                         method value to NetworkManager
16645                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16646
16647         * gnome/applet/applet-dbus-info.h
16648                 - Add prototype for nmi_dbus_signal_update_scan_method
16649
16650         * gnome/applet/applet.c
16651                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16652                         Wireless Scanning menu based on current wireless scan method
16653                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16654                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16655                         and update our menu items to make sure the right one is checked
16656                 - (nmwa_set_scanning_enabled_cb): remove
16657                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16658                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16659                         Scanning menu item
16660                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16661                         from GConf
16662                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16663                         so we get notified of preference values too
16664                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16665
16666         * gnome/applet/applet.h
16667                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16668                 - Add wireless scan method member to applet data
16669                 - Remove pause_scanning_item, add Wireless Scanning submenu
16670
16671         * src/NetworkManager.c
16672                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16673                 - (main): grab scanning method from NMI if we can
16674
16675         * src/NetworkManagerDbus.c
16676                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16677                         nm_dbus_update_wireless_scan_method()
16678                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16679                         from NMI
16680                 - (nm_dbus_nmi_is_running): redundant function, removed
16681                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16682                         when NMI comes back
16683
16684         * src/NetworkManagerDevice.c
16685                 - (nm_device_is_activated): return TRUE if the device is activated
16686                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16687                         and we are activated
16688
16689         * src/nm-dbus-nm.c
16690                 - (nm_dbus_nm_set_scanning_enabled): removed
16691                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16692                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16693
16694 2005-06-09  Dan Williams <dcbw@redhat.com>
16695
16696         * NetworkManager.h
16697           src/vpn-manager/nm-vpn-service.c
16698                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16699
16700 2005-05-27  Dan Williams <dcbw@redhat.com>
16701
16702         * vpn-daemons/vpnc/nm-vpnc-service.c
16703                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16704                         Should fix the bug where the VPN connection terminates the first time.
16705
16706 2005-05-20  Dan Williams <dcbw@redhat.com>
16707
16708         * NetworkManager.h
16709                 - Differentiate VPN config signals between bad VPN config options
16710                         and bad IP config
16711
16712         * gnome/applet/applet-dbus-info.h
16713                 - Add prototypes for wireless network and vpn connection update functions
16714
16715         * gnome/applet/applet-dbus.c
16716                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16717
16718         * gnome/applet/applet.c
16719                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16720                         error signals
16721                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16722                         propogation to NetworkManager
16723                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16724                         notify propogation to NetworkManager
16725
16726         * src/NetworkManagerDbus.c
16727                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16728                         are updating so a network can be removed from it if necessary
16729
16730         * src/vpn-manager/nm-vpn-manager.c
16731                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16732
16733         * vpn-daemons/vpnc/nm-vpnc-service.c
16734                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16735                 - (nm_vpnc_dbus_signal_launch_failed): remove
16736                 - (nm_vpnc_dbus_signal_connect_failed): remove
16737                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16738                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16739                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16740                         for new generalized error signal function, remove config file stuff
16741                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16742                         we can write configuration options to it
16743                 - (nm_vpnc_config_file_generate): removed
16744                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16745                 - (nm_vpnc_config_options_validate): validate the config options we receive
16746                         from NetworkManager to block potential exploits
16747                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16748                         starting vpnc
16749                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16750                         to NetworkManager
16751
16752 2005-05-16  Dan Williams  <dcbw@redhat.com>
16753
16754         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16755                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16756                         is not "connect"
16757
16758 2005-05-16  Dan Williams  <dcbw@redhat.com>
16759
16760         Patch from Tomislav Vujec <tvujec@redhat.com>
16761         * gnome/applet/applet-dbus-info.c
16762                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16763                         GConf and pass them to NetworkManager.  New key is 'routes' under
16764                         the VPN connection, and should be a string list
16765
16766         * src/NetworkManagerSystem.c
16767                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16768                         set them on the device when we set the rest of the VPN config.  Ensure
16769                         they are in the correct format since they are passed directly to the
16770                         command line.
16771
16772         * src/backends/NetworkManagerRedHat.c
16773           src/backends/NetworkManagerDebian.c
16774                 - (nm_system_device_add_route_via_device_with_iface): new function
16775
16776         * src/vpn-manager/nm-dbus-vpn.c
16777                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16778
16779         * src/vpn-manager/nm-vpn-manager.c
16780                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16781                         them into the IP4 config functions
16782
16783 2005-05-15  Dan Williams  <dcbw@redhat.com>
16784
16785         From Filip Miletic:
16786         * po/sr.po
16787           po/sr@Latn.po
16788           configure.in
16789                 - Serbian translation added
16790
16791 2005-05-15  Dan Williams  <dcbw@redhat.com>
16792
16793         * dispatcher-daemon/NetworkManagerDispatcher.c
16794                 - (main): sync arguments with NetworkManager and the applet, now use
16795                         "--no-daemon" rather than "daemon=no"
16796                 - (nmd_print_usage): Fix script path in usage message
16797
16798 2005-05-15  Dan Williams  <dcbw@redhat.com>
16799
16800         * src/NetworkManagerDevice.[ch]
16801           src/NetworkManagerPolicy.c
16802           src/NetworkManager.c
16803           src/nm-dbus-nm.c
16804                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16805                         longer send the DeviceNoLongerActive signal unconditionally, but only
16806                         when the device is actually active.
16807
16808         * dispatcher-daemon/NetworkManagerDispatcher.c
16809                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16810                         and simplify the logic
16811                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16812                         we free it later on
16813
16814         * initscript/RedHat/Makefile.am
16815           initscript/RedHat/NetworkManagerDispatcher
16816                 - Add initscript for NetworkManagerDispatcher
16817
16818
16819         Patch from Bill Moss:
16820         * dispatcher-daemon/NetworkManagerDispatcher.c
16821                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16822
16823         * src/NetworkManagerDbus.c
16824                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16825                         and DeviceNowActive gets signaled, then the device has a new IP address
16826                         anyway.  There's no need for a separate signal.
16827
16828         * src/NetworkManagerDevice.c
16829                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16830
16831         * src/NetworkManagerPolicy.c
16832                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16833                         activates successfully.  This kind of went missing when I reworked the
16834                         activation code.
16835
16836 2005-05-15  Dan Williams  <dcbw@redhat.com>
16837
16838         * configure.in
16839                 - Check for dhcdbd and error if its not found
16840
16841         * src/dhcp-manager/Makefile.am
16842           src/dhcp-manager/nm-dhcp-manager.c
16843                 - Use path to dhcdbd that configure found
16844
16845 2005-05-14  Dan Williams  <dcbw@redhat.com>
16846
16847         * gnome/applet/nm-device.c
16848                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16849                         sort wireless networks alphabetically
16850
16851         * gnome/applet/applet-dbus-devices.c
16852                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16853                         before copying them over to the GUI
16854
16855 2005-05-14  Dan Williams  <dcbw@redhat.com>
16856
16857         * src/NetworkManager.c
16858                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16859                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16860                         the device list, as does nm_get_active_device() which is called from
16861                         nm_vpn_manager_deactivate_vpn_connection().
16862
16863 2005-05-14  Dan Williams  <dcbw@redhat.com>
16864
16865         * NetworkManager.h
16866                 - Add signals for VPN Launch and Connect failures
16867
16868         * gnome/applet/applet-dbus.c
16869                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16870
16871         * gnome/applet/applet.c
16872                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16873                         function to handle all VPN failure messages
16874                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16875                         function to hanlde all VPN failure  messages
16876                 - (show_warning_dialog): work around focus-stealing prevention
16877
16878         * gnome/applet/other-network-dialog.c
16879           gnome/applet/passphrase-dialog.c
16880                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16881                         problem where it never enabled for ASCII Key and Hex Key types
16882
16883         * gnome/applet/wireless-applet.glade
16884                 - Add window title to Other Wireless Network Dialog
16885
16886         * src/vpn-manager/nm-dbus-vpn.c
16887                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16888                         function to handle all VPN failure messages
16889
16890         * src/vpn-manager/nm-vpn-manager.c
16891                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16892
16893         * vpn-daemons/vpnc/nm-vpnc-service.c
16894                 - (nm_vpnc_dbus_signal_launch_failed): new function
16895                 - (nm_vpnc_dbus_signal_connect_failed): new function
16896                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16897                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16898                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16899                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16900
16901 2005-05-11  Dan Williams  <dcbw@redhat.com>
16902
16903         * vpn-daemons/vpnc/nm-vpnc-service.c
16904                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16905                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16906                         file exists before trying to write it out.
16907
16908 2005-05-10  Dan Williams  <dcbw@redhat.com>
16909
16910     * gnome/applet/applet-dbus-device.c
16911         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16912             prevented just entering ESSID and leaving key and key type up to
16913             NetworkManager (which should have them already cached)
16914
16915 2005-05-08  Dan Williams  <dcbw@redhat.com>
16916
16917         * src/NetworkManagerPolicy.c
16918                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16919                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16920                         fix a situation where NM is told to terminate and the device stops activation,
16921                         but the main thread isn't aware of that because it would never have run
16922                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16923                         had already quit.
16924
16925         * src/NetworkManagerDevice.c
16926                 - (nm_device_probe_wired_link_state): cosmetic fixes
16927                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16928                         we've failed to activate or been canceled.
16929                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16930
16931 2005-05-08  Dan Williams  <dcbw@redhat.com>
16932
16933         * src/NetworkManagerWireless.c
16934                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16935                         value of WEXT quality structures, and add a debug message when we cannot
16936                         determine any quality % at all
16937
16938 2005-05-08  Dan Williams  <dcbw@redhat.com>
16939
16940         * src/dhcp-manager/nm-dhcp-manager.c
16941                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16942                         it goes down.
16943
16944 2005-05-06  Dan Williams  <dcbw@redhat.com>
16945
16946         * gnome/applet/applet-dbus-device.c
16947           gnome/applet/applet-dbus-info.c
16948           gnome/applet/applet-dbus.c
16949           gnome/applet/applet.c
16950           gnome/applet/applet.h
16951                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16952
16953         * gnome/applet/applet-dbus.c
16954                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16955                         so we notice when wired device's carriers come back on.  Should
16956                         fix issue with wired devices being grayed out even if the cable
16957                         is in, for devices that support carrier detection.
16958
16959         * gnome/applet/applet.c
16960                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16961                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16962                         tooltip message
16963                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16964                         Fix situation where applet wouldn't respond to menu selections
16965
16966         * src/NetworkManager.c
16967           src/NetworkManagerDevice.c
16968           src/NetworkManagerDbus.c
16969           src/NetworkManagerDbus.h
16970                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16971
16972         * src/NetworkManagerDbus.c
16973                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16974                         Remove, no longer used or relevant
16975                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16976                 - (nm_dbus_schedule_device_status_change_signal): add
16977
16978         * src/NetworkManagerDevice.c
16979                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16980                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16981                         ie don't deactivate them unless explicitly told to by the user.  Also send
16982                         CARRIER_OFF / CARRIER_ON signals when link changes
16983                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16984                         Don't print error message when device is no longer around
16985                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16986                         not just during activation
16987
16988         * src/NetworkManagerPolicy.c
16989                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16990                         auto-device-selection.
16991                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16992
16993         * src/NetworkManagerSystem.c
16994                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16995                         is no longer present (Bill Moss)
16996
16997         * src/backends/shvar.c
16998                 - (svOpenFile): Open read-only to make SELinux happy
16999
17000         * src/backends/NetworkManagerRedHat.c
17001                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17002                         the path to the ifcfg-* files
17003
17004 2005-05-05  Dan Williams  <dcbw@redhat.com>
17005
17006         * Expose activation stages to NetworkManager clients, like the applet
17007         * Add Diana's progress icons to the applet, cued off NM activation stage
17008         * Use more descriptive tooltips, cued off NM activation stage
17009
17010 2005-05-05  Ray Strode  <rstrode@redhat.com>
17011
17012         * src/nm-netlink-monitor.c:
17013                 - Use clear_event_source instead of g_nullify_pointer() again.
17014
17015 2005-05-05  Dan Williams  <dcbw@redhat.com>
17016
17017         * gnome/applet/main.c
17018                 - Fix session management so the applet is actually managed now
17019
17020         * gnome/applet/passphrase-dialog.c
17021                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17022
17023 2005-05-05  Dan Williams  <dcbw@redhat.com>
17024
17025         Patch from Bill Moss:
17026         * gnome/libnm_glib/libnm_glib.c
17027                 - Fix for dbus-0.33
17028
17029 2005-05-05  Dan Williams  <dcbw@redhat.com>
17030
17031         Suggestion from Bill Moss:
17032         * src/NetworkManagerSystem.c
17033                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17034
17035
17036         * src/NetworkManager.c
17037                 - (nm_data_free): move destruction of the various managers after
17038                         release of device list, because deactivating and freeing a device
17039                         requires at least the named manager
17040                 - (nm_poll_and_update_wireless_link_state):
17041                   (nm_device_link_activated):
17042                   (nm_device_link_deactivated):
17043                         don't grab the device list lock when actually updating device
17044                         link status or strength, since nm_device_set_link_active()
17045                         needs to call nm_get_active_device(), which also locks the device list.
17046
17047         * src/NetworkManagerDevice.c
17048                 - (nm_device_set_link_active): if a device's link switches from off->on,
17049                         and it's wired, and the active device is wireless (or there is no
17050                         active device), activate the new device whose link just came on
17051                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17052                         my only calling the link to the current ap "failed" when more than 2
17053                         consecutive link checks have failed
17054
17055 2005-05-04  Dan Williams  <dcbw@redhat.com>
17056
17057         * src/NetworkManagerDevice.c
17058                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17059                         but let link_to_specific_ap() do the locking where it needs
17060
17061         Patch from Bill Moss:
17062         * src/NetworkManagerSystem.c
17063                 - Set MTU of VPN devices to 1412
17064
17065 2005-05-04  Dan Williams  <dcbw@redhat.com>
17066
17067         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17068
17069         * Fix some holes in device activation and retaining the currently connected
17070                 access point
17071
17072 2005-05-03  Dan Williams  <dcbw@redhat.com>
17073
17074         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17075           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17076           means you need dhcdbd, which you can get here (get the latest one):
17077
17078                 http://people.redhat.com/jvdias/dhcdbd/
17079
17080           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17081           interface as dhcdbd.
17082
17083         * Rewrite device activation to facilitate the new DHCP infrastructure and
17084           future improvements.  Its now "activation request" based, ie there is a single
17085           activation request composed of the device, access point, and other info which
17086           follows the entire activation process.  There are 5 stages of the activation
17087           process which correspond to:
17088
17089                 1) Device preparation
17090                 2) Device configuration (bring it up, set ESSID/Key/etc)
17091                 3) IP Config Start (fire off DHCP if we're using it)
17092                 4) IP Config Get (grab config from DHCP or static config files)
17093                 5) IP Config Commit (set device's IP address, DNS, etc)
17094
17095           Note that there is no longer a "scanning" step, since the access point must
17096           be known _before_ activation starts.  If the access point drops out or does
17097           not exist for some reason, the entire activation process fails and must be
17098           restarted for a different access point or device.
17099
17100         Patch from Bill Moss:
17101         * gnome/applet/applet.c
17102                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17103
17104 2005-04-27  Dan Williams  <dcbw@redhat.com>
17105
17106         * gnome/applet/applet-dbus-vpn.c
17107           gnome/applet/applet.c
17108           gnome/applet/applet.h
17109                 - Fix up active VPN handling so that we reliably know when a VPN
17110                         connection has been deactivated
17111
17112         * src/vpn-manager/nm-vpn-manager.c
17113                 - Remove duplicate VPNConnectionChange signal
17114
17115 2005-04-27  Dan Williams  <dcbw@redhat.com>
17116
17117         Patch from Peter Jones:
17118         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17119
17120         Patch from Bill Moss:
17121         * src/NetworkManagerSystem.c
17122                 - Fix checking of return value from ioctl()
17123
17124 2005-04-27  Dan Williams  <dcbw@redhat.com>
17125
17126         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17127         * Warn and exit if icons cannot be found
17128
17129 2005-04-27  Dan Williams  <dcbw@redhat.com>
17130
17131         Patch from Tom Parker:
17132         * Update debian backend
17133
17134 2005-04-27  Dan Williams  <dcbw@redhat.com>
17135
17136         * Merge the applet and the info-daemon, and move the converged
17137                 applet under gnome/applet
17138         * Move libnm_glib to gnome/libnm_glib
17139         * Convert most dbus calls between the applet, info-daemon, and NM
17140                 into async calls
17141         * Fix a few things valgrind noticed
17142         * Make NM broadcast state more reliably
17143
17144 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17145
17146         * configure.in: Added ne in ALL_LINGUAS
17147
17148 2005-04-15  Dan Williams  <dcbw@redhat.com>
17149
17150         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17151                 code for dbus 0.2x versions
17152
17153 2005-04-15  Dan Williams  <dcbw@redhat.com>
17154
17155         Patches from Tom Parker:
17156         - Fix memleaks
17157         - Join with worker thread rather than polling for its exit
17158
17159         Patch from Bill Moss:
17160         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17161
17162 2005-04-15  Dan Williams  <dcbw@redhat.com>
17163
17164         - Fixes to pass 'make distcheck'
17165
17166 2005-04-15  Dan Williams  <dcbw@redhat.com>
17167
17168         Initial VPN Support
17169                 - supports 'vpnc'
17170                 - reworks device IP configuration, backend files have changed and will need
17171                         to be updated for all distributions.  I will try to do what I can for
17172                         them, but I cannot test them.
17173
17174         - Move named directory to src/named-manager
17175         - Make backends directory self-contained
17176
17177 2005-04-06  Dan Williams  <dcbw@redhat.com>
17178
17179         Add debug code for socket/file descriptor leaks.  We register every socket
17180         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17181         list of sockets that we forgot to close on shutdown.  This also consolidates
17182         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17183
17184 2005-04-06  Dan Williams  <dcbw@redhat.com>
17185
17186         * dhcpcd/dhcpcd.c
17187                 - (dhcp_interface_free): fix a file descriptor leak that may have
17188                         caused network drivers to not unload due to refcounts > 0
17189
17190 2005-04-04  Dan Williams  <dcbw@redhat.com>
17191
17192         * panel-applet/NMWirelessAppletDbus.c
17193                 - (nmwa_dbus_call_nm_method): remove some commented code
17194
17195         * src/NetworkManagerAPList.[ch]
17196                 - (nm_ap_list_remove_ap_by_essid): new function
17197
17198         * src/NetworkManagerDevice.c
17199                 - (nm_device_wireless_force_use): remove access points from the ignore list
17200                         when the user forces them
17201
17202         * src/nm-dbus-device.c
17203                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17204
17205 2005-04-04  Dan Williams  <dcbw@redhat.com>
17206
17207         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17208
17209 2005-04-04  Dan Williams  <dcbw@redhat.com>
17210
17211         * src/NetworkManagerDevice.c:
17212                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17213                         of only erroring after the second consecutive scan times out.  Also
17214                         don't exit when the card requires more time than we can give it, just
17215                         log the event and continue.
17216
17217 2005-04-01  Steve Murphy  <murf@e-tools.com>
17218
17219         * configure.in: Added "rw" to ALL_LINGUAS.
17220
17221 2005-04-01  Dan Williams <dcbw@redhat.com>
17222
17223         Perform scans during device activation, if needed.  Both activation 
17224         and scans run in the same GMainContext.  Therefore, if an access point
17225         is not found by the time the device starts activation, it will not
17226         be available until after activation.  We now try to scan during
17227         activation (in nm_wa_test) every 15s so that all available access
17228         points are more likely to be found and available for the activation
17229         procedure.
17230
17231         Also change nm_wireless_link_state_handle() to only update the "best"
17232         AP if we are not forcing a device and if we are not about to change
17233         state.  This attempts to work around a race when forcing a device,
17234         where the forced AP would get cleared out too soon by the link state
17235         checking timeout in the main thread, and the activation attempt with
17236         that AP would fail.
17237
17238 2005-04-01  Dan Williams <dcbw@redhat.com>
17239
17240         * po/POTFILES.in
17241                 - Update with new translatables
17242
17243 2005-03-31  Dan Williams <dcbw@redhat.com>
17244
17245         * panel-applet/NMWirelessAppletDbus.c
17246                 - Fix device names now that hal has changed device parenting for
17247                         network devices.
17248
17249 2005-03-31  Dan Williams <dcbw@redhat.com>
17250
17251         Tighten up handling of wireless devices that don't support wireless
17252         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17253         hadn't been doing pseudo-scanning for a while either and would just
17254         spin waiting for an access point.  They are now manual devices where
17255         the user must choose the access point from the menu every time.  All
17256         "allowed" access points are listed in the applet's menu regardless
17257         of whether or not they can be seen by the card, since it can't scan
17258         anyway.
17259
17260         * src/NetworkManager.c
17261                 - (nm_wireless_link_state_handle): new function, but only update
17262                         the "best" ap for non-scanning devices when its not activating,
17263                         and when no device is being forced on the card
17264                 - (nm_link_state_monitor): split wireless link state handling out
17265                         into separate function
17266
17267         * src/NetworkManagerDevice.c
17268                 - (nm_device_copy_allowed_to_dev_list): new function
17269                 - (nm_device_new): populate non-scanning cards' AP lists with
17270                         access points from the "allowed" list
17271                 - (nm_device_new): don't start a scanning timeout for devices that
17272                         can't scan
17273                 - (nm_device_activation_schedule_finish): new parameter, should be
17274                         the AP that failed to be connected to, pass it on to the
17275                         activation finish function in NetworkManagerPolicy.c
17276                 - (nm_device_activate_wireless): don't ever try to get a new AP
17277                         for non-scanning devices, just fail.  The user must choose
17278                         a new access point manually.
17279                 - (nm_device_activate): grab the AP that failed connection and
17280                         pass it on
17281                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17282                         a link to it, user must manually choose a new one
17283                 - (nm_device_do_pseudo_scan): remove function
17284                 - (nm_device_wireless_process_scan_results): remove bits for non-
17285                         scanning cards since they never get here
17286                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17287                         and fake the scan list for test devices a bit earlier
17288
17289         * src/NetworkManagerPolicy.c
17290                 - (nm_policy_activation_finish): use the failed_ap that we get
17291                         passed rather than getting the best_ap from the card, which
17292                         may have changed since we were scheduled
17293                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17294                         update their scan list directly from the allowed list when
17295                         we get updates to the allowed list from NetworkManagerInfo
17296
17297         * src/NetworkManagerPolicy.h
17298                 - New member for failed access point in NMActivationResult
17299
17300   -------------------------------------
17301
17302         Driver Notification patch: notifies the user when their driver
17303                 sucks.  Gives them the option to ignore further insertions
17304                 of the card that has the sucky driver.
17305
17306         * NetworkManager.h
17307                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17308                         enum and replace it with NO_CARRIER_DETECT and
17309                         NO_WIRELESS_SCAN
17310
17311         * panel-applet/NMWirelessApplet.[ch]
17312                 - Merge essid.glade -> wireless-applet.glade
17313                 - Implement the "Your driver sucks" notification dialog
17314
17315         * panel-applet/NMWirelessAppletDbus.c
17316                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17317                 - Grab hardware address for each device from NM too
17318                 - Check whether the driver for each device sucks or not whenever
17319                         a new device is noticed
17320
17321         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17322                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17323
17324         * src/NetworkManager.c
17325                 - Fix a double-unref on device removal
17326
17327         * src/NetworkManagerUtils.c
17328                 - Set appropriate driver support level on a device that doesn't
17329                         support scanning or carrier detection
17330
17331         * src/nm-dbus-device.c
17332                 - New "getHWAddress" dbus method on devices
17333                 - getSupportsCarrierDetect -> getDriverSupportLevel
17334
17335 2005-03-31  Dan Williams <dcbw@redhat.com>
17336
17337         * src/NetworkManagerDevice.c
17338                 - (nm_device_wireless_scan): Fix leak of scan results in some
17339                         instances
17340
17341 2005-03-29  Dan Williams <dcbw@redhat.com>
17342
17343         * src/NetworkManager.c
17344                 - (nm_poll_and_update_wireless_link_state): make code less indented
17345
17346         Patch from Bill Moss:
17347         * src/NetworkManager.c
17348                 - (nm_device_update_link_state): Update signal strength on wireless
17349                         devices every time we update link state too.
17350
17351 2005-03-29  Dan Williams <dcbw@redhat.com>
17352
17353         * src/NetworkManagerDevice.c
17354                 - (nm_device_set_essid): Work around Orinoco cards which need
17355                         extra time after setting the ESSID
17356
17357 2005-03-29  Dan Williams <dcbw@redhat.com>
17358
17359         * src/NetworkManagerDevice.c
17360                 - Merge one more bit of Peter Jones' completion patch
17361
17362 2005-03-29  Dan Williams <dcbw@redhat.com>
17363
17364         * src/NetworkManagerDevice.c
17365                 - (nm_device_force_use): Fix possible segfault
17366
17367 2005-03-29  Dan Williams <dcbw@redhat.com>
17368
17369         * src/NetworkManagerDevice.c
17370                 - Use iw_get_ext() where we should rather than iw_set_ext()
17371
17372 2005-03-29  Dan Williams <dcbw@redhat.com>
17373
17374         * src/NetworkManagerDevice.c
17375                 - (nm_device_set_up_down): remove check for unsupported devices
17376                         that caused NM to not bring devices up when they were
17377                         added to the device list.
17378
17379 2005-03-28  Dan Williams <dcbw@redhat.com>
17380
17381         * src/NetworkManagerDevice.c
17382                 - (mdio_read): Fix two bugs that caused all devices to fail
17383                         the MII carrier detection support checks
17384
17385 2005-03-26  Dan Williams <dcbw@redhat.com>
17386
17387         * src/NetworkManagerDevice.c
17388                 - (nm_device_wireless_scan): Remove duplicated scanning code
17389
17390 2005-03-25  Dan Williams <dcbw@redhat.com>
17391
17392         * panel-applet/NMWirelessApplet.c
17393                 - (nmwa_about_cb): Add some more contributors
17394                 - (nmwa_update_state): show the applet when there's no connection
17395                 - Enable the "Stop/Resume all wireless devices" option in the
17396                         context menu
17397                 - New "no connection" icon
17398
17399         * src/NetworkManager.c
17400                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17401                         wireless is disabled or we're asleep
17402
17403         * src/NetworkManagerDHCP.c
17404                 - Remove trailing "\n" on debug messages
17405
17406         * src/NetworkManagerDbus.c
17407                 - (nm_dbus_network_status_from_data): new state "asleep"
17408
17409         * src/NetworkManagerDevice.c
17410                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17411                         latency and wait times for most operations
17412                 - (nm_device_wireless_scan): Don't scan when asleep
17413
17414         * src/NetworkManagerPolicy.c
17415                 - (nm_policy_get_best_device): return no device when asleep
17416                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17417                         for all wireless devices on update, not just active device
17418
17419         * src/NetworkManagerUtils.c
17420                 - Merge Peter Jones' "completion" patch
17421
17422         * src/nm-dbus-nm.c
17423                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17424                         we're told to disable them
17425                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17426
17427         * utils/nm-utils.h
17428                 - New variants of the warn/info/error/debug print functions that can take
17429                         variables rather than static strings
17430
17431 2005-03-24  Dan Williams <dcbw@redhat.com>
17432
17433         * src/NetworkManagerUtils.c
17434                 - (nm_get_device_driver_name): driver names are now on the parents of
17435                         "Network Interface" objects, so look for them there
17436
17437 2005-03-24  Dan Williams <dcbw@redhat.com>
17438
17439         * test/nmtest.c
17440                 - Escape some forgotten object paths before we shove them through dbus
17441
17442 2005-03-24  Dan Williams <dcbw@redhat.com>
17443
17444         * dhcpcd/dhcpcd.[ch]
17445           src/NetworkManagerDHCP.c
17446                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17447                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17448
17449         * src/NetworkManagerDbus.c
17450                 - spacing cleanups
17451
17452         * src/nm-dbus-dhcp.c
17453                 - Make the API suck less.  There is now only 1 type of each function,
17454                         ie only "getInteger" and no longer also "getIntegerv".  All types
17455                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17456                         that will never have more than 1 element.  This should simplify
17457                         things greatly.
17458
17459         * test/nm-dhcp-opt-test.c
17460                 - Make the tool not segfault
17461                 - adapt to new DHCP Options API
17462
17463 2005-03-22  Dan Williams <dcbw@redhat.com>
17464
17465         * src/NetworkManager.c
17466                 - (nm_wired_link_deactivated): actually ignore netlink events from
17467                         wireless devices.
17468
17469 2005-03-22  Dan Williams <dcbw@redhat.com>
17470
17471         * src/NetworkManager.c
17472                 - (nm_wired_link_activated): actually ignore netlink events from
17473                         wireless devices.
17474
17475 2005-03-17  Dan Williams <dcbw@redhat.com>
17476
17477         Patch from Tom Parker:
17478         * src/nm-netlink-monitor.c
17479                 - Include unistd.h
17480         * info-daemon/NetworkManagerInfoDbus.c
17481                 - (nmi_dbus_update_network_auth_method): free GConf values
17482
17483         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17484         * src/NetworkManagerDevice.c
17485                 - (nm_device_set_wireless_config): wait for successful
17486                         association longer for some cards (Atheros a/b/g)
17487
17488 2005-03-15  Ray Strode  <rstrode@redhat.com>
17489
17490         * src/NetworkManager.c:
17491         (sigterm_pipe_handler):
17492         remove bogus FIXME
17493
17494 2005-03-15  Ray Strode  <rstrode@redhat.com>
17495
17496         * src/NetworkManagerDbus.c:
17497         Fix some sign weirdness that gcc4 doesn't like,
17498         and add a header file so PPC can hopefully find
17499         SIGTRAP
17500
17501 2005-03-14  Ray Strode  <rstrode@redhat.com>
17502         
17503         Fourth (probably working) cut at porting to
17504         dbus 0.30 api and new hal. This cut adds
17505         some new logging macros to make debugging
17506         easier.
17507
17508         * dispatcher-daemon/NetworkManagerDispatcher.c:
17509         * info-daemon/NetworkmanagerInfo.c:
17510         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17511         * info-daemon/NetworkManagerInfoVPN.c:
17512         * src/NetworkManager.c:
17513         * src/NetworkManagerAP.c:
17514         * src/NetworkManagerAPList.c:
17515         * src/NetworkManagerDHCP.c:
17516         * src/NetworkManagerDbus.c:
17517         * src/NetworkManagerDevice.c:
17518         * src/NetworkManagerPolicy.c:
17519         * src/NetworkManagerSystem.c:
17520         * src/NetworkManagerUtils.c:
17521         * src/NetworkManagerWireless.c:
17522         * src/autoip.c:
17523         * src/nm-dbus-nm.c:
17524         * src/backends/NetworkManagerDebian.c:
17525         * src/backends/NetworkManagerGentoo.c:
17526         * src/backends/NetworkManagerRedHat.c:
17527         * src/backends/NetworkManagerSlackware.c:
17528         use new logging macros.
17529
17530         * dispatcher-daemon/NetworkManagerDispatcher.c:
17531         (nmd_dbus_filter): s/dbus_free/g_free/
17532
17533         * info-daemon/Makefile.am: link in utils library.
17534         * info-daemon/NetworkmanagerInfo.c: use new logging 
17535         macros.
17536         (nmi_dbus_get_network): don't assume enumerations
17537         are 32-bit.
17538         (nmi_dbus_nmi_message_handler): don't free what 
17539         doesn't belong to us.
17540
17541         * libnm_glib/libnm_glib.c:
17542         (libnm_glib_get_nm_status): 
17543         (libnm_glib_init): don't free what doesn't
17544         belong to us.
17545         (libnm_glib_dbus): strdup result, so it doesn't get
17546         lost when message is unref'd.
17547
17548         * panel-applet/NMWirelessAppletDbus.c:
17549         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17550
17551         * src/NetworkManager.c:
17552         (nm_monitor_wired_link_state): request initial status 
17553         dump of all cards when we start up, instead of relying
17554         on /sys/.../carrier.
17555         (nm_info_handler), (nm_set_up_log_handlers): 
17556         log handlers to specify what syslog priorites 
17557         the logging macros default to.
17558
17559         * src/NetworkManagerAPList.c: 
17560         (nm_ap_list_populate_from_nmi):
17561         s/dbus_free_string_array/g_strfreev/
17562
17563         * src/NetworkManagerDbus.c:
17564         (nm_dbus_get_network_object):
17565         validate d-bus message argument types.
17566         Advance message iterator after reading argument,
17567         prepend instead of append to GSList.
17568
17569         * src/NetworkManagerDevice.c:
17570         (nm_device_probe_wired_link_status):
17571         remove redundant /sys in /sys path. remove wrong
17572         contents == NULL means has carrier assumption.
17573
17574         * src/nm-netlink-monitor.c 
17575         (nm_netlink_monitor_request_status): implement
17576         function to ask kernel to dump interface link
17577         status over netlink socket.
17578
17579         * test/*.c: s/dbus_free/g_free/
17580
17581         * utils/nm-utils.h:
17582         (nm_print_backtrace): new macro to print backtrace.
17583         (nm_get_timestamp): new macro to get sub-second precise
17584         unix timestamp.
17585         (nm_info), (nm_debug), (nm_warning), (nm_error):
17586         new logging functions. nm_info just prints,
17587         nm_debug includes timestamp and function,
17588         nm_warning includes function, nm_error includes
17589         backtrace and sigtrap.
17590
17591 2005-03-11  Ray Strode  <rstrode@redhat.com>
17592
17593         Third (unfinished, partially working) cut at porting to 
17594         dbus 0.30 api and new hal.
17595
17596         * info-daemon/NetworkManagerInfoDbus.c:
17597                 don't free null arrays.
17598
17599         * panel-applet/NMWirelessAppletDbus.c: 
17600         * src/nm-dbus-device.c:
17601         * src/nm-dbus-net.c: 
17602         * src/NetworkManagerDbus.c: more 
17603         STRING -> OBJECT_PATH fun
17604         * src/NetworkManagerDevice.c:
17605         * src/NetworkManagerDevice.h:
17606         (rename nm_device_get_link_active): rename to 
17607         nm_device_has_active_link
17608         (nm_device_wireless_link_active): rename to
17609         nm_device_probe_wireless_link_state
17610         (nm_device_wired_link_active): rename to
17611         nm_device_probe_wired_link_state.  Rewrite to
17612         use carrier file since hal doesn't maintain
17613         link state anymore.
17614         (nm_device_update_link_active): rename to
17615         nm_device_update_link_state
17616         * src/NetworkManagerPolicy.c 
17617           (nm_policy_activation_finish): check for NULL
17618           MAC address.
17619
17620         * src/Makefile.am:
17621         * src/NetworkManagerMain.h: 
17622         * src/NetworkManager.c:
17623         * src/nm-netlink-monitor.c:
17624         * src/nm-netlink-monitor.h: New class to support
17625         monitoring wired ethernet link status, since HAL
17626         doesn't export that information anymore.
17627
17628 2005-03-09  Ray Strode  <rstrode@redhat.com>
17629
17630         Second (unfinished, unworking) cut at porting to 
17631         dbus 0.30 api.
17632
17633         * dispatcher-daemon/NetworkManagerDispatcher.c:
17634         * info-daemon/NetworkManagerInfoDbus.c:
17635         * panel-applet/NMWirelessAppletDbus.c:
17636         * src/NetworkManagerDbusUtils.c:
17637         * src/NetworkManagerDbusUtils.h:
17638         * src/nm-dbus-device.c:
17639         * src/nm-dbus-nm.c:
17640         * test/nmtest.c: support dbus "object path" type
17641
17642         * configure.in: 
17643         * Makefile.am:
17644         * info-daemon/Makefile.am:
17645         * libnm_glib/Makefile.am:
17646         * panel-applet/Makefile.am:
17647         * dispatcher-daemon/Makefile.am
17648         * src/Makefile.am:
17649         * test/Makefile.am:
17650         * utils/Makefile.am: 
17651         * utils/nm-utils.c: 
17652         * utils/nm-utils.h: new utils static lib
17653
17654 2005-03-07  Ray Strode  <rstrode@redhat.com>
17655
17656         * info-daemon/NetworkManagerInfoDbus.c:
17657         * libnm_glib/libnm_glib.c:
17658         * panel-applet/NMWirelessAppletDbus.c:
17659         * src/NetworkManager.c:
17660         * src/NetworkManagerDbus.c:
17661         * src/NetworkManagerDevice.c:
17662         * src/NetworkManagerUtils.c:
17663         * src/nm-dbus-device.c:
17664         * src/nm-dbus-dhcp.c:
17665         * src/nm-dbus-net.c:
17666         * src/nm-dbus-nm.c:
17667         * test/nminfotest.c:
17668         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17669
17670 2005-03-04  Dan Williams  <dcbw@redhat.com>
17671
17672         * configure.in
17673                 - Mark HEAD as 0.4
17674
17675 2005-03-04  Dan Williams  <dcbw@redhat.com>
17676
17677         Patch from Peter Jones:
17678         - Make stuff work with gcc 4.0
17679
17680 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17681
17682         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17683
17684 2005-02-27  Jim Huang  <jserv@kaffe.org>
17685
17686         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17687
17688 2005-02-27  Dan Williams  <dcbw@redhat.com>
17689
17690         Patch from Bill Moss:
17691         * panel-applet/NMWirelessAppletDbus.c
17692                 - Make sure strength for current access point is up-to-date when we
17693                         update the gui data model
17694
17695 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17696
17697         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17698
17699 2005-02-27  Dan Williams  <dcbw@redhat.com>
17700
17701         * src/backends/NetworkManagerRedHat.c
17702                 - (nm_system_init): Kill any dhclient processes lying around as well
17703                         as stopping 'nifd' if its already been started.  NetworkManager
17704                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17705
17706 2005-02-27  Dan Williams  <dcbw@redhat.com>
17707
17708         * panel-applet/NMWirelessApplet.c
17709                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17710                         dbus data model, not the GUI data model twice.
17711
17712 2005-02-27  Dan Williams  <dcbw@redhat.com>
17713
17714         * panel-applet/NMWirelessApplet.[ch]
17715           panel-applet/NMWirelessAppletDbus.[ch]
17716                 - Move to incremental network updates.  Instead of blowing away our list
17717                         of devices every time we get a signal from NetworkManager, we now
17718                         incrementally add/remove networks when NetworkManager notifies us that
17719                         a new network has appeared or disappered.  Strength updates now happen
17720                         on-the-fly for each access point as well.  There are now two copies of
17721                         data from NetworkManager: one for the dbus side, and one for the gui side.
17722                         When the dbus side data is modified, it is copied over to the gui side
17723                         so we don't have to hold the data_mutex for long periods of time (and
17724                         therefore block animation of the applet's icon).
17725                 - Clean up some memleaks too
17726
17727         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17728                 - Minor code beautification
17729
17730         * src/NetworkManagerAPList.c
17731                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17732                         completely new and whether or not an existing one's strength was updated.
17733                         Try to fix multiple access points and signal strength by using the highest
17734                         signal strength in each scan for any given ESSID.
17735
17736         * src/NetworkManagerDbus.[ch]
17737                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17738                         wireless networks; now we have only WirelessNetworkUpdate which includes
17739                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17740                 - Kill usage of DbusMessageIter
17741
17742         * src/NetworkManagerDevice.c
17743                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17744                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17745                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17746                         currently associated with from the network list.
17747                 - Update for new signals during scan, send out Appeared, Disappeared, or
17748                         StrengthChanged when necessary.
17749
17750 2005-02-25  Dan Williams  <dcbw@redhat.com>
17751
17752         * README
17753                 - Line break the README
17754
17755 2005-02-25  Dan Williams  <dcbw@redhat.com>
17756
17757         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17758                 - Remove usage of gtk_window_set_default_size()
17759
17760         * panel-applet/essid.glade
17761                 - Stick default size here
17762                 - Add in random crap that current glade wants to add in now
17763
17764 2005-02-25  Dan Williams  <dcbw@redhat.com>
17765
17766         * src/backends/NetworkManagerRedHat.c
17767                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17768                         and that we actually tell nscd to reload the hosts cache when it changes
17769
17770 2005-02-25  Dan Williams  <dcbw@redhat.com>
17771
17772         * info-daemon/NetworkManagerInfoDbus.c
17773                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17774
17775         * test/nminfotest.c
17776                 - Whack usage of DbusMessageIter
17777                 - Clean up DbusError and DbusMessage handling and freeing
17778                 - Remove unused unregister handler
17779
17780         * test/nmtest.c
17781                 - Whack usage of DbusMessageIter
17782
17783         * test/nmtestdevices.c
17784                 - Whack usage of DbusMessageIter
17785
17786 2005-02-25  Dan Williams  <dcbw@redhat.com>
17787
17788         * NetworkManager.h
17789                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17790                         signal
17791
17792 2005-02-25  Dan Williams  <dcbw@redhat.com>
17793
17794         * named/nm-named-manager.c
17795                 - Ensure that pid and watch variables for child named process get cleared out
17796                         when the child goes away.
17797
17798 2005-02-22  Dan Williams  <dcbw@redhat.com>
17799
17800         * src/NetworkManagerPolicy.c
17801                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17802                         and NULL out data->active_device so that we have to choose another one.
17803                         This may make NetworkManager keep attempting to connect to a wired network
17804                         if it fails, but if it keeps failing the wired network has more problems than
17805                         just NetworkManager.
17806
17807         * src/backends/NetworkManagerRedHat.c
17808                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17809                         is already running
17810
17811         * named/nm-named-manager.c
17812                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17813                         named so that the distro can flush whatever name service caching
17814                         daemon it uses
17815
17816 2005-02-21  Dan Williams  <dcbw@redhat.com>
17817
17818         * src/NetworkManagerDHCP.[ch]
17819                 - (nm_device_dhcp_remove_timeouts): new function
17820
17821         * src/NetworkManagerDevice.c
17822                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17823                         remove the DHCP timeouts.
17824
17825 2005-02-21  Dan Williams  <dcbw@redhat.com>
17826
17827         * panel-applet/NMWirelessApplet.[ch]
17828           panel-applet/menu-info.[ch]
17829                 - Give the panel applet some major love: menu items are no longer
17830                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17831                         This allows the applet to actually reflect theme changes correctly,
17832                         since themeing of subclassed items in GTK _sucks_.
17833
17834 2005-02-18  Dan Williams  <dcbw@redhat.com>
17835
17836         * libnm_glib/libnm_glib.[ch]
17837           test/libnm_glib_test.c
17838                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17839                         and its data, and doesn't have to free the callback data anymore
17840
17841 2005-02-18  Dan Williams  <dcbw@redhat.com>
17842
17843         * panel-applet/NMWirelessApplet.c
17844                 - Revert 2005-02-18 William Jon McCann fix for standard
17845                         copyright string until it passes 'make distcheck'.
17846                         With standard copyright string, xgettext complains
17847                         about "Non-ASCII string at ...".
17848
17849 2005-02-18  Dan Williams  <dcbw@redhat.com>
17850
17851         * panel-applet/essid.glade
17852           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17853                 - Correct spelling of "adaptor"->"adapter"
17854
17855 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17856
17857         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17858         (nmwa_about_cb): Use standard copyright string.  Update comment
17859         text to reflect that it is a notification area applet.  Remove
17860         leading newline in authors list.
17861         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17862         instead of on parent menu item activation.  Fixes #167550.
17863
17864 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17865
17866         * panel-applet/essid.glade: Capitalize items as per HIG.
17867           Fixes #167632
17868
17869 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17870
17871         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17872         files for GTK 2.4 or lower, since now public in GTK 2.6.
17873
17874         * panel-applet/essid.glade: Don't specify window size.
17875         
17876 2005-02-17  Dan Williams  <dcbw@redhat.com>
17877
17878         Caught by Bill Moss:
17879         * dhcpcd/client.c
17880                 - Time remaining for DHCP transaction calculation was incorrectly
17881                         inside a #ifdef DEBUG
17882
17883 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17884
17885         * configure.in: Added fr (French) to ALL_LINGUAS.
17886
17887 2005-02-14  Dan Williams  <dcbw@redhat.com>
17888
17889         * src/NetworkManagerDHCP.c
17890                 - (set_domain_searches): Fix free of invalid pointer
17891
17892 2005-02-14  Dan Williams  <dcbw@redhat.com>
17893
17894         Patch from Peter Jones:
17895         * dhcpcd/client.c
17896                 - Ensure we return RET_DHCP_CEASED everywhere we should
17897         * dhcpcd/udpipgen.c
17898                 - Use faster TOS for IP packets
17899                 - Don't set ip_id since we're UDP
17900
17901         Patch from Tomislav Vujec:
17902         * src/nm-dbus-dhcp.c
17903           test/nm-dhcp-opt-test.c
17904                 - Clean up warnings to enable cvs tree compilation.
17905
17906 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17907
17908         * configure.in
17909           po/hr.po
17910                 - Add the Croatian locale.
17911
17912 2005-02-14  Colin Walters  <walters@verbum.org>
17913
17914         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17915         list of domains to search.
17916         
17917         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17918
17919 2005-02-13  Dan Williams  <dcbw@redhat.com>
17920
17921         * dhcpcd/client.c
17922                 - Debug output cleanups of DHCP option printing and parsing.
17923
17924 2005-02-13  Dan Williams  <dcbw@redhat.com>
17925
17926         Patch from Dan Reed:  DHCP options D-BUS API
17927                 Exposes the DHCP options that a device receives to clients over D-BUS.
17928
17929         * configure.in
17930                 - A few cleanups
17931
17932         * dhcpcd/client.h
17933                 - Correct names, option length, and types for DHCP options
17934
17935         * dhcpcd/dhcpcd.[ch]
17936                 - Clarify function names that access DHCP options & data
17937
17938         * src/NetworkManagerDHCP.c
17939                 - Use new DHCP data access functions
17940
17941         * src/NetworkManagerDbus.c
17942                 - Message handler for DHCP functions
17943
17944         * src/nm-dbus-dhcp.[ch] (new)
17945                 - DHCP dbus methods
17946
17947         * test/nm-dhcp-opt-test.c
17948                 - Test DHCP D-BUS API and return all present DHCP options
17949
17950 2005-02-12  Dan Williams  <dcbw@redhat.com>
17951
17952         * test/Makefile.am
17953           test/nmclienttest.c
17954           test/nmtest.c
17955                 - Move nmclienttest.c -> nmtest.c
17956
17957 2005-02-12  Dan Williams  <dcbw@redhat.com>
17958
17959         * dhcpcd/buildmsg.c
17960                 - Pad DHCP packets until they are at least 300 bytes in size.
17961
17962 2005-02-11  Dan Williams  <dcbw@redhat.com>
17963
17964         * dhcpcd/client.c
17965                 - (dhcp_init): only print out client ID and class ID if they are specified
17966
17967         * src/NetworkManagerDbus.[ch]
17968           src/nm-dbus-nm.[ch]
17969           src/nm-dbus-device.[ch]
17970           src/nm-dbus-net.[ch]
17971                 - Move NM, Device, and Net functions to separate files and use the
17972                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17973                         method dispatching
17974
17975         * src/NetworkManagerDbusUtils.c
17976                 - Add new validate_method called before each dispatch (if present)
17977                         that can validate the method call
17978
17979         * src/NetworkManagerWireless.c
17980                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17981                         levels never to be evaluated
17982
17983         Patch from j@bootlab.org
17984         * src/NetworkManagerDevice.c
17985                 - Add typedef for "u64"
17986
17987         * src/backends/NetworkManagerDebian.c
17988                 - Copy in Dave Woodhouse's fixes for IPv6
17989
17990 2005-02-11  Dan Williams  <dcbw@redhat.com>
17991
17992         Patch from Dave Woodhouse for IPv6:
17993         * src/NetworkManagerUtils.c
17994                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17995                         and multicast addresses
17996
17997         * src/NetworkManagerDevice.c
17998                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17999                         after bringing up a card.
18000
18001 2005-02-10  Dan Williams  <dcbw@redhat.com>
18002
18003         Patch from Dave Woodhouse:
18004         * src/NetworkManagerSystem.h
18005           src/backends/NetworkManagerDebian.c
18006           src/backends/NetworkManagerGentoo.c
18007           src/backends/NetworkManagerSlackware.c
18008                 - New nm_system_device_add_ip6_link_address() function to add link-local
18009                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18010
18011         * src/backends/NetworkManagerRedHat.c
18012                 - (nm_system_device_add_ip6_link_address): implement
18013                 - (nm_system_device_flush_addresses): revert to previous behavior of
18014                         flushing all addresses
18015
18016 2005-02-10  Dan Williams  <dcbw@redhat.com>
18017
18018         Patch from Tom Parker:
18019         * src/NetworkManagerDevice.c
18020                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18021                         mii.h headers are broken, and instead use our own typedefs
18022
18023 2005-02-10  Dan Williams  <dcbw@redhat.com>
18024
18025         * dhcpcd/buildmsg.c
18026                 - (fill_host_and_class_id): only fill in client and class IDs if
18027                         they are set by callers.
18028
18029         * dhcpcd/client.c
18030                 - (class_id_setup): don't autogenerate a class ID, only use one
18031                         we're given, if any.
18032                 - (client_id_setup): don't autogenerate a client ID, only use one
18033                         we're given, if any.
18034
18035         * dhcpcd/dhcpcd.c
18036                 - (dhcp_interface_init): ensure that client options are correctly
18037                         NULL terminated
18038
18039         * src/NetworkManagerDHCP.c
18040                 - (nm_device_dhcp_request): pass hostname to dhcp library
18041
18042 2005-02-10  Dan Williams  <dcbw@redhat.com>
18043
18044         * dhcpcd/client.c
18045                 - #rh147661# Don't send kernel version in DHCP requests
18046
18047         * src/NetworkManagerSystem.h
18048           src/backends/NetworkManagerDebian.c
18049           src/backends/NetworkManagerGentoo.c
18050           src/backends/NetworkManagerRedHat.c
18051           src/backends/NetworkManagerSlackware.c
18052                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18053                         functions, they are no longer used anyway
18054
18055         * src/backends/NetworkManagerRedHat.c
18056                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18057                         addresses in an attempt to keep IPv6 local-scope addresses around
18058
18059 2005-02-10  Dan Williams  <dcbw@redhat.com>
18060
18061         * src/NetworkManager.c
18062                 - (nm_create_device_and_add_to_list): change the add message slightly
18063
18064         * src/NetworkManagerUtils.c
18065                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18066                         Return driver name to calling function
18067                 - (nm_get_driver_support_level): print out the driver a device is using
18068                         during the support check
18069
18070         Patch from Dave Woodhouse:
18071         * dhcpcd/udpipgen.c
18072                 - (in_cksum): copy last byte of odd-sized packets into a
18073                         'u_short' rather than a 'u_char', should fix wrong checksums
18074                         on big-endian platforms
18075
18076 2005-02-09  Dan Williams  <dcbw@redhat.com>
18077
18078         * Clean up usage of GSList objects and looping through their members
18079         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18080                 now.
18081         * Fix problem where even if scanning was turned off, card would still
18082                 cycle through frequencies.
18083
18084 2005-02-08  Dan Williams  <dcbw@redhat.com>
18085
18086         * panel-applet/NMWirelessApplet.c
18087                 - Fix for gtk 2.4
18088
18089 2005-02-08  Dan Williams  <dcbw@redhat.com>
18090
18091         Patch from Bill Moss
18092         * panel-applet/NMWirelessApplet.c
18093                 - Restore correct ESSID in tooltips
18094
18095 2005-02-07  Dan Williams  <dcbw@redhat.com>
18096
18097         * panel-applet/NMWirelessApplet.[ch]
18098                 - Add a context menu that contains:
18099                         Pause/Resume Wireless Scanning
18100                         Stop/Start All Wireless Devices
18101                         About...
18102                 - Grab active device strength off active device,
18103                         not its network
18104
18105         * panel-applet/NMWirelessAppletDbus.[ch]
18106                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18107                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18108                 - Update active device strength every 2 seconds, not every 1 second
18109
18110         * panel-applet/menu-info.c
18111                 - Only disable wired devices in the menu when they support carrier detection,
18112                         and don't currently have a link.  Non-carrier-detect devices will always
18113                         remain choosable
18114
18115         * src/Makefile.am
18116           src/NetworkManagerDbusUtils.[ch]
18117                 - Add new new dbus utils sources
18118
18119         * src/NetworkManager.c
18120                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18121                         with the boolean parameter
18122                 - Set scanning_enabled & wireless_enabled to TRUE
18123
18124         * src/NetworkManagerDbus.c
18125                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18126                 - Implement scanning & wireless enable/disable calls
18127                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18128
18129         * src/NetworkManagerDevice.c
18130                 - New link detection stuff again...
18131                         o  Create device's mainloop earlier (but don't run it earlier)
18132                         o  Hook up new carrier-detect support stuff
18133                         o  Add in the ethtool & mii support detection code
18134                 - Don't scan if scanning is disabled
18135
18136         * src/NetworkManagerPolicy.c
18137                 - Never automatically choose a device that doesn't support carrier detection
18138                 - Don't automatically choose a wireless device if wireless is disabled
18139
18140 2005-02-07  Dan Williams  <dcbw@redhat.com>
18141
18142         * libnm_glib/libnm_glib.c
18143                 - Small cleanup in element list iteration
18144
18145 2005-02-07  Dan Williams  <dcbw@redhat.com>
18146
18147         * src/NetworkManagerWireless.c
18148                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18149                         to be in line with the WEXT quality specification
18150
18151 2005-02-02  Dan Williams  <dcbw@redhat.com>
18152
18153         Patch from Nathan Fredrickson <nathan@silverorange.com>
18154         * Fix up compile for deprecation of libgnomeui
18155                 - Switch to <glib/gi18n.h> from <libintl.h>
18156                 - Remove <libgnomeui/libgnomeui.h> includes
18157                 - Use gtk_window_set_default_icon_from_file() rather than
18158                         gnome_window_set_default_icon_from_file()
18159
18160         * named/nm-named-manager.c
18161                 - (generate_named_conf): Fix return-nothing in non-void
18162                         function
18163
18164 2005-02-02  Dan Williams  <dcbw@redhat.com>
18165
18166         * Clean up unused variables and the like
18167
18168 2005-02-02  Dan Williams  <dcbw@redhat.com>
18169
18170         * src/NetworkManagerAPList.c
18171                 - (nm_ap_list_merge_scanned_ap): merge strength too
18172
18173         * src/NetworkManagerUtils.c
18174                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18175                         of locking issues by printing out prettier information than g_mutex_lock
18176                 - Print out names of mutexes registered with nm_register_mutex_desc()
18177                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18178                         us to seemingly block here for too long
18179
18180         * src/NetworkManager.c
18181           src/NetworkManagerAPList.c
18182           src/NetworkManagerDevice.c
18183                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18184                         so we get better debug information printed
18185
18186         * src/NetworkManagerDbus.c
18187                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18188                         since it sometimes has locking side effects
18189                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18190                         from 10s
18191                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18192                         we don't need a switch.  This gets called often enough that we can't block
18193                         until the scan mutex is acquired, because we'll block on device activation
18194                         and a few other things, which hangs main thread for too long.
18195
18196         * src/NetworkManagerPolicy.c
18197                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18198                         nm_device_need_ap_switch() will be called               
18199
18200 2005-02-02  Dan Williams  <dcbw@redhat.com>
18201
18202         * panel-applet/NMWirelessApplet.c
18203                 - Display name of wireless network we are connecting to or connected to
18204                         in the tooltip of the applet
18205
18206 2005-02-02  Dan Williams  <dcbw@redhat.com>
18207
18208         * src/NetworkManagerDHCP.c
18209                 - Hopefully fix double-default-route problem by cleaning up the default
18210                         route added by DHCP code right before the DHCP transaction begins
18211
18212 2005-02-02  Dan Williams  <dcbw@redhat.com>
18213
18214         * named/nm-named-manager.c
18215                 - Write out valid resolv.conf when we exit
18216
18217 2005-02-01  Dan Williams  <dcbw@redhat.com>
18218
18219         Patch from Colin Walters:
18220         * named/nm-named-manager.c
18221                 - Make multi-domain search options work
18222
18223 2005-01-31  Dan Williams  <dcbw@redhat.com>
18224
18225         * info-daemon/NetworkManagerInfoDbus.c
18226                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18227
18228         * src/NetworkManagerDevice.c
18229                 - (nm_device_new): Don't store the entire range struct, use only what we need
18230                         (which is currently avg_quality, max_quality, and frequencies).  Also
18231                         zero device structure when we've free'd it to maybe expose errors down
18232                         the line.
18233                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18234                         quality data from the card since quality will be useless during a scan.
18235                         Call updated wireless qual-to-percent function with values stored in
18236                         nm_device_new() earlier.
18237                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18238                         nm_device_get_bad_crypt_packets())
18239                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18240                         nm_device_new()
18241                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18242                         list if available.  Problem was this: when the WEP key is wrong, NM will
18243                         try OS then SK modes, and then get stuck in SK mode after that.  This
18244                         should reset it.
18245                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18246                         function
18247
18248         * src/NetworkManagerWireless.c
18249                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18250                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18251                         if that's all present, otherwise fall back to signal-to-noise ratios.
18252
18253 2005-01-29  Dan Williams  <dcbw@redhat.com>
18254
18255         * initscript/RedHat/NetworkManager
18256                 - Don't spit out sysctl stuff to console
18257
18258         * libnm_glib/libnm_glib.c
18259                 - (libnm_glib_init): call dbus_g_thread_init()
18260
18261         * panel-applet/NMWirelessAppletDbus.c
18262                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18263
18264         * src/NetworkManager.c
18265                 - (main): call dbus_g_thread_init()
18266
18267         * src/NetworkManagerAPList.c
18268                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18269                         so we can actually see what's there in a normal syslog
18270
18271         * src/NetworkManagerDevice.c
18272                 - (nm_device_activate_wireless): print out the "waiting for access point"
18273                         message only once, then say what access point we actually got after
18274                         the wait.
18275                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18276                         function, wait until the scan is done.  Scans may change the ESSID of
18277                         the card, making this function think we need to switch access points
18278                 - (nm_device_wireless_process_scan_results): for artificial access points
18279                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18280                         prevents collisions with the scanning code, which may change the card's
18281                         ESSID and cause the access point to get dropped from the device's AP
18282                         list.  Also increase the keep-around time to 2m from 60s since the max
18283                         scan interval could be 60s in some cases.
18284
18285         * src/NetworkManagerPolicy.c
18286                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18287                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18288                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18289                         between NM and NMI.
18290
18291 2005-01-27  Dan Williams  <dcbw@redhat.com>
18292
18293         * info-daemon/NetworkManagerInfoDbus.c
18294                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18295                         GConf, make a minimal entry for it (essid & timestamp)
18296
18297         * src/NetworkManagerAPList.c
18298                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18299                         NetworkManagerInfo isn't running
18300
18301         * src/NetworkManagerDbus.[ch]
18302                 - (nm_dbus_nmi_is_running): new function
18303
18304         * src/NetworkManagerDevice.c
18305                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18306                         address to garbage.
18307
18308         * src/NetworkManagerPolicy.c
18309                 - (nm_policy_activation_finish): On successful activation, make sure
18310                         the "best" AP has a MAC address, and don't tell NMI to add the
18311                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18312                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18313                         access point after refreshing our allowed list if it doesn't already
18314                         have a "best" access point.
18315
18316 2005-01-25  Dan Williams  <dcbw@redhat.com>
18317
18318         * panel-applet/NMWirelessAppletDbus.c
18319                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18320                         so we check for NM_DBUS_SERVICE rather than not for it
18321
18322         * libnm_glib/libnm_glib.c
18323                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18324                         ServiceOwnerChanged signal
18325
18326 2005-01-25  Dan Williams  <dcbw@redhat.com>
18327
18328         * configure.in
18329                 - Check DBUS version in configure, and set the C macros
18330                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18331
18332         * info-daemon/NetworkManagerInfoDbus.c
18333                 - Remove #if 0-d section of code that quit NMI if NM went away.
18334
18335         * panel-applet/NMWirelessAppletDbus.c
18336                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18337
18338         * src/NetworkManager.c
18339           src/NetworkManagerMain.h
18340           src/NetworkManagerDbus.c
18341                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18342                 - Make updating of our Allowed Wireless Network lists from NMI
18343                         an idle function in the main thread now, with a high priority.
18344
18345 2005-01-24  Dan Williams  <dcbw@redhat.com>
18346
18347         * panel-applet/gtkcellview.[ch]
18348           panel-applet/menu-info.c
18349                 - Fix GTK version checks to be <= rather than <
18350
18351         * test/Makefile.am
18352                 - Include the libtool archive of libnm_glib rather than
18353                         trying to pull in the .so
18354
18355 2005-01-24  Dan Williams  <dcbw@redhat.com>
18356
18357         * src/NetworkManagerDevice.c
18358           src/NetworkManagerDevicePrivate.h
18359                 - Block nm_device_new() until our device's worker thread has had a
18360                         chance to start up.  Fixes a race between main thread and worker
18361                         thread starting that caused activation requests to get lost.
18362
18363 2005-01-24  Dan Williams  <dcbw@redhat.com>
18364
18365         * initscript/RedHat/NetworkManager
18366                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18367                         to add the NM startup script at priority 50, which was
18368                         way too early
18369
18370 2005-01-24  Colin Walters  <walters@redhat.com>
18371
18372         * named/named.conf: Use any port for query source instead of
18373         restricting to port 53.
18374
18375 2005-01-24  Dan Williams  <dcbw@redhat.com>
18376
18377         * initscript/RedHat/NetworkManager
18378                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18379                         to add the NM startup script at priority 50, which was
18380                         way too early
18381
18382 2005-01-24  Dan Williams  <dcbw@redhat.com>
18383
18384         Patch from Tom Parker <palfrey@tevp.net>
18385         * Fix up compile warnings & errors in the wireless applet
18386
18387 2005-01-24  Dan Williams  <dcbw@redhat.com>
18388
18389         * panel-applet/NMWirelessApplet.c
18390                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18391
18392 2005-01-24  Dan Williams  <dcbw@redhat.com>
18393
18394         * panel-applet/gtkcellview.[ch]
18395                 - Only compile these files for GTK 2.4 or lower, since 
18396                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18397                         when choosing "Other Wireless Networks" from the panel
18398                         applet menu
18399
18400 2005-01-21  Dan Williams  <dcbw@redhat.com>
18401
18402         * src/NetworkManager.c
18403                 - Daemonize earlier so that glib doesn't get confused (?)
18404
18405 2005-01-21  Dan Williams  <dcbw@redhat.com>
18406
18407         * panel-applet/NMWirelessApplet.[ch]
18408           panel-applet/NMWirelessAppletDbus.c
18409           panel-applet/menu-info.c
18410           src/NetworkManagerDevice.c
18411                 - Disable wired devices in the menu when they have no link.
18412
18413 2005-01-21  Dan Williams  <dcbw@redhat.com>
18414
18415         * Cache last-known-good wireless authentication method in
18416                 NetworkManagerInfo, and use that method first during
18417                 wireless device activation.  Should speed up devices that
18418                 need Shared Key authentication method since Open System is
18419                 now the default.
18420
18421         * Remove the hack to not do full activation on wired connections
18422                 that are active when we launch, it causes too many problems
18423                 with name resolution and was a hack in the first place.
18424
18425         * Re-work wireless device activation again somewhat to have a
18426                 clearer chain of events and to use last-known-good
18427                 authentication method of the access point.  Also provide
18428                 better status throughout activation to ensure the applet
18429                 can tell the user exactly what's going on.
18430
18431         * Remove the "find wireless network" code and now simply attempt
18432                 to activate with that access point.  This reduces the delay
18433                 between selecting "Other wireless Network" and actually
18434                 connecting to that network.
18435
18436         * Correctly stop the device's worker thread when its removed.
18437
18438 2005-01-21  Dan Williams  <dcbw@redhat.com>
18439
18440         * dhcpcd/client.c
18441                 - Clean up some of the debug messages
18442
18443 2005-01-21  Dan Williams  <dcbw@redhat.com>
18444
18445         * Add new icons, more frames of animation
18446         * Remove some hacks to get the panel applet to display correct
18447                 status, an NM update will soon follow that will fix the
18448                 real issue.
18449
18450 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18451
18452         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18453         the first include for working i18n. Also, don't include it in .h files
18454         * panel-applet/NMWirelessApplet.h: Same
18455         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18456         * panel-applet/menu-info.c: Same
18457
18458 2005-01-18  Dan Williams <dcbw@redhat.com>
18459
18460         * dhcpcd/client.c
18461                 - Remove some debug messages
18462                 - Wrap others in #ifdef DEBUG/#endif
18463
18464         * src/NetworkManager.c
18465                 - Remove some debug messages
18466                 - Clarify some debug messages
18467                 - Remove code related to old single-thread wireless scanning
18468
18469         * src/NetworkManagerAP.[ch]
18470                 - New AP property "last_seen" to track how recently an AP was
18471                         found in a scan
18472                 - Start using 'const' more in function arguments
18473
18474         * src/NetworkManagerAPList.[ch]
18475                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18476                         of an AP found in an AP list from a source AP, or if not found
18477                         in the list add the source AP
18478                 - (nm_ap_list_combine): remove, no longer needed
18479
18480         * src/NetworkManagerDevice.c
18481                 - Each device now has a "worker" thread from start to end of its life.
18482                         Scanning for wireless devices now happens in that thread,
18483                         not in a single "wireless scanning thread" for all devices as
18484                         previously.  Activation consists of adding an idle handler to the
18485                         thread's main loop/context, which gets run at the next available
18486                         opportunity.
18487                 - Wireless scanning is also simplified, there is now only one list of
18488                         access points per wireless device, and APs older than 60s are
18489                         removed from the list.  Previously, we kept results for the last
18490                         3 scans and merged whole lists, which was complicated.
18491                 - Cleaned up activation debug messages.
18492                 - Wireless activation and access-point search routines now use Open System
18493                         authentication before trying Shared Key.
18494                 - Removed some code in nm_device_update_best_ap() that could cause cards
18495                         to loose their link to the access point.
18496                 - Scanning now uses a backoff algorithm, where the inverval becomes
18497                         progressively longer between scans when the list of scanned access
18498                         points doesn't change.  A change will revert to the shortest scan
18499                         interval (20s).
18500
18501         * src/NetworkManagerWireless.[ch]
18502                 - Remove code related to old single-thread wireless scanning
18503
18504 2005-01-18  Colin Walters  <walters@redhat.com>
18505
18506         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18507         of older nameservers.
18508
18509 2005-01-18  Colin Walters  <walters@redhat.com>
18510
18511         * named/nm-named-manager.c (generate_named_conf): Many fixes
18512         to config file generation.
18513         (safer_kill): Remove, was too much trouble for little gain.
18514         (nm_named_manager_start): Run named as NM_NAMED_USER.
18515
18516         * configure.in: Add option --with-named-user.
18517
18518 2005-01-14  Colin Walters  <walters@redhat.com>
18519
18520         Patch from ed@catmur.co.uk (Ed Catmur)
18521
18522         * named/nm-named-manager.c: Add "context" property.
18523         Use it to add child watch source in specific GMainContext.
18524
18525         * src/NetworkManager.c (nm_data_new): Initialize
18526         named with correct main context.  Start named only
18527         after forking.
18528
18529 2005-01-14  Colin Walters  <walters@redhat.com>
18530
18531         * named/nm-named-manager.c (generate_named_conf): Write config
18532         and pid files into NM_NAMED_DATA_DIR; this allows things to
18533         work better with FC3 named SELinux policy.  Also fix up silly
18534         format error.
18535
18536         * configure.in: Add --with-named-dir option.
18537
18538 2005-01-14  Colin Walters  <walters@redhat.com>
18539
18540         * configure.in: Make named support require passing --with-named.
18541
18542         * named/nm-named-manager.c: Support writing resolv.conf directly
18543         without running named.
18544
18545 2005-01-13  Dan Williams <dcbw@redhat.com>
18546
18547         * named/nm-named-manager.c
18548                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18549
18550         * src/NetworkManagerDevice.c
18551                 - Rework wireless link detection code to be more reliable
18552
18553 2005-01-12  Dan Williams <dcbw@redhat.com>
18554
18555         * initscripts/RedHat/NetworkManager
18556                 - Change initial level to "-" rather than "345" so that
18557                         we don't activate ourselves by default on install
18558
18559 2005-01-12  Dan Williams <dcbw@redhat.com>
18560
18561         * libnm_glib/
18562                 - Client library for applications using glib
18563
18564         * configure.in
18565           various Makefiles
18566                 - Split NM_CFLAGS and NM_LIBS into separate variables
18567                         like DBUS_*, HAL_* and GLIB_*
18568
18569         * src/NetworkManager.c
18570           src/NetworkManagerMain.h
18571                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18572                         broadcast a status changed signal over DBUS from the main thread.
18573                         Still unused anywhere for the moment.
18574
18575         Patch from j@bootlab.org
18576         * panel_applet/NMWirelessAppletDbus.c
18577           src/NetworkManagerDbus.c
18578                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18579                         for the "getMode" method call
18580
18581 2005-01-10  Dan Williams <dcbw@redhat.com>
18582
18583         * src/NetworkManagerDevice.c
18584                 - Minor fixups & corrections to "auto" frequency mode, make it
18585                         less chatty with syslog
18586
18587 2005-01-10  Dan Williams <dcbw@redhat.com>
18588
18589         * src/NetworkManagerDevice.c
18590                 - Implement "auto" frequency/channel support, since cards like Atheros
18591                         can't use other frequencies at all when you've told it to use a
18592                         specific one, even for scanning.
18593                 - Grab the scan mutex around places where we can't tolerate wireless
18594                         settings changing underneath us, like nm_device_wireless_network_exists()
18595                         and nm_device_activate_wireless()
18596
18597         * src/NetworkManagerWireless.c
18598                 - Back scan interval off to 20s instead of 14s
18599
18600 2005-01-09  Dan Williams <dcbw@redhat.com>
18601
18602         * src/NetworkManagerDevice.c
18603                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18604                         already set.  Stops some drivers like Atmel from continually
18605                         reloading the firmware, which they do upon every configuration
18606                         change.
18607
18608 2005-01-09  Dan Williams <dcbw@redhat.com>
18609
18610         * dhcpcd/client.c
18611                 - Use correct timeout value
18612
18613         * info-daemon/NetworkManagerInfoDbus.c
18614           src/NetworkManagerDbus.c
18615                 - Consolidate communication between NM and NMI by doing only 1 dbus
18616                         method call to get Wireless Network info from NMI instead of 6
18617
18618         * src/NetworkManager.c
18619                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18620                         when we didn't have an AP to use, we'd wait for one forever without
18621                         quitting
18622
18623         * src/NetworkManagerDevice.c
18624                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18625                         activation, dhcp might not have started yet but we don't quit activation
18626                         before starting it, so the quit signal gets lost
18627
18628 2005-01-07  Dan Williams <dcbw@redhat.com>
18629
18630         * dhcpcd/client.c
18631                 - Rework the DHCP client code to be much less chatty when
18632                         it receives non-DHCP UDP packets during the DHCP run
18633                         (reported by and preliminary patches from Bill Moss)
18634
18635         * Move wireless scanning to a separate thread.  This thread forwards the
18636                 results to the main thread when done where they are integrated into
18637                 the device's access point lists.  This keeps the main thread (which
18638                 does all the DBUS communication) from being blocked for long periods
18639                 of time by wireless scanning.
18640
18641         * Make state modification an idle routine in the main loop, and trigger
18642                 state changes rather than polling for them.
18643
18644         * src/backends/NetworkManagerGentoo.c
18645                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18646
18647         * src/NetworkManagerDevice.c
18648                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18649                         router advertisements, causing problems and infinite loop
18650                         during "best" device determination due to link going up/down
18651                         (reported by Bill Moss)
18652
18653         Apply patch from Peter Jones
18654         * src/NetworkManagerDevice.c
18655                 - Shortcut for link-checking for ipw2x00 cards
18656                 - Split out association check into separate routine
18657
18658 2004-01-05  Colin Walters  <walters@redhat.com>
18659
18660         * named/named.conf: Add PID_FILE.
18661
18662         * named/nm-named-manager.c: Always generate a pid
18663         file, since older BIND versions don't support
18664         "pid-file none".
18665
18666 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18667
18668         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18669
18670 2004-12-22  Dan Williams <dcbw@redhat.com>
18671
18672         * src/NetworkManagerDevice.c
18673                 - Silently fail when setting bitrate doesn't work
18674
18675
18676         Patches from j@bootlab.org:
18677         * src/backends/NetworkManagerDebian
18678                 - Update backend to match functionality in RedHat backend
18679         * src/NetworkManagerDevice.c
18680                 - Take down then bring up wired devices after connection so
18681                 they send out ipv6 router advertisements
18682
18683 2004-12-21  Colin Walters  <walters@verbum.org>
18684
18685         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18686         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18687
18688 2004-12-21  Colin Walters  <walters@redhat.com>
18689
18690         * configure.in: Correct named detection.
18691
18692 2004-12-21  Colin Walters  <walters@redhat.com>
18693
18694         * src/NetworkManager.c (nm_data_new): Initialize named.
18695         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18696         the mainloop when these signals are received.
18697         (nm_data_free): Unref named.
18698         (sigterm_handler, sigterm_pipe_handler): New functions for
18699         exiting mainloop.
18700         
18701         * src/NetworkManagerMain.h (NMData): Add signal handling and
18702         nameserver bits.
18703
18704         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18705         unref.
18706
18707         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18708         set nameservers from DHCP response data.
18709         (set_domain_search): Set domain search from DHCP response.
18710         (nm_device_dhcp_configure): Invoke them.
18711
18712         * src/NetworkManagerSystem.c
18713         (nm_system_device_update_resolv_conf): Delete.  Deleting
18714         code is totally sweet.
18715
18716         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18717
18718         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18719         implements an object which controls a nameserver.  Currently
18720         uses bind 9.
18721
18722         * configure.in: Check for named.
18723
18724         * Makefile.am (SUBDIRS): Add named dir.
18725
18726         * named/named.conf: New template config file.
18727
18728 2004-12-20  Colin Walters  <walters@redhat.com>
18729
18730         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18731         instead of '='.
18732
18733 2004-12-17  Dan Williams  <dcbw@redhat.com>
18734
18735         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18736                 link-local addresses instead of doing DHCP.
18737
18738         * In the panel applet, there's a new "Create new Wireless Network..." item
18739
18740         * The panel applet also sticks around now even if NetworkManager dies, but
18741                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18742                 a bug, I'll fix that later.
18743
18744         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18745                 lookups after a switch rather than actually doing them.
18746
18747         * Clean up some of those warnings in nm_ap_list_* functions
18748
18749         * Delay between scans changed to 15s instead of 10s
18750
18751 2004-12-15  Dan Williams  <dcbw@redhat.com>
18752
18753         Patch from Tom Parker
18754         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18755                 address
18756
18757         * Longer pause after setting ESSID on cards that support a larger number
18758                 of channels to give the card time to find the right channel
18759
18760         * Add system hook to restart mDNSResponder (or whatever the local implementation
18761                 of Multicast DNS is) when we activate interfaces
18762
18763 2004-12-15  Dan Williams  <dcbw@redhat.com>
18764
18765         * Rework the DHCP code again to revert to sending full ethernet frames
18766                 rather then relying on the kernel to do the right thing with our
18767                 packets.
18768
18769 2004-12-06  Dan Williams  <dcbw@redhat.com>
18770
18771         * dhcpcd/client.c
18772                 - Fix some minor errors in dhcp_handle_transaction() that caused
18773                         unexpected early timeouts of DHCP transactions
18774
18775         * dhcpcd/client.h
18776                 - DHCP retransmit time from 4s -> 5s
18777
18778 2004-12-05  Dan Williams  <dcbw@redhat.com>
18779
18780         * Major rework of the DHCP code, taking some cues from pump.  We don't
18781                 write raw Ethernet packets anymore, which simplifies the code quite
18782                 a bit.  The new code should be more robust, not hang in recvfrom()
18783                 as much, and generally work better.  This also means that we need
18784                 to force HAL/dbus to use a created GMainContext rather than the
18785                 default context, since having the DHCP renew/rebind thread using
18786                 its own GMainContext seemed to give dbus a fit.  There is also more
18787                 debugging information printed from the DHCP loop to help with future
18788                 problems.
18789
18790         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18791                 assume that the default gateway should be the DHCP server.
18792
18793         Patch from Matthew Schick <matt oss-institute org>
18794         * src/backends/NetworkManagerGentoo.c
18795                 - Fix compilation error due to missing "ip4_broadcast"
18796
18797 2004-12-03  Dan Williams  <dcbw@redhat.com>
18798
18799         * initscript/Makefile.am
18800         * initscript/Debian/NetworkManager
18801         * initscript/Gentoo/NetworkManager
18802         * initscript/RedHat/NetworkManager
18803         * initscript/NMLaunchHelper.c
18804                 - Remove NMLaunchHelper, if you need to wait until the network
18805                         comes up, use the dead code from CVS.
18806
18807 2004-12-01  Colin Walters  <walters@redhat.com>
18808         
18809         * configure.in: Suck in gcc warnings code from Rhythmbox,
18810         but use fewer default flags, and in particular add -Wno-unused,
18811         since the codebase has a lot of unused variables.
18812
18813         * test/nmtestdevices.c (create_device): 
18814         * test/nminfotest.c (get_network_string_property) 
18815         (get_networks_of_type): 
18816         * test/nmclienttest.c (main): 
18817         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18818         * initscript/NMLaunchHelper.c (get_nm_status): 
18819         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18820         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18821         Fix declarations after statements.
18822
18823 2004-12-01  Colin Walters  <walters@redhat.com>
18824
18825         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18826         (nmi_dbus_get_vpn_userpass): New method.
18827         (nmi_dbus_nmi_message_handler): Invoke it.
18828
18829         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18830
18831         * info-daemon/NetworkManagerInfoVPN.h,
18832         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18833         to requests for VPN passwords.
18834
18835         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18836
18837 2004-12-01  Colin Walters  <walters@redhat.com>
18838
18839         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18840         includes.
18841
18842 2004-12-01  Colin Walters  <walters@redhat.com>
18843
18844         * panel-applet/NMWirelessAppletDbus.c
18845         (nmwa_dbus_update_active_device_strength): Fix missing
18846         return value.
18847
18848 2004-12-01  Colin Walters  <walters@redhat.com>
18849
18850         * panel-applet/NMWirelessApplet.c: Add missing include.
18851
18852 2004-12-01  Colin Walters  <walters@redhat.com>
18853
18854         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18855         Remove useless CLAMP (); the value is unsigned, and the case tests
18856         qual->qual < 100, so the value must always be between 0 and 100.
18857
18858 2004-12-01  Colin Walters  <walters@redhat.com>
18859
18860         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18861
18862 2004-11-22  Colin Walters  <walters@verbum.org>
18863
18864         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18865         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18866         which is essentially a noop since nscd caches hosts on disk too.
18867         
18868 2004-11-22  Colin Walters  <walters@redhat.com>
18869
18870         * src/Makefile.am (NetworkManager_SOURCES): Add
18871         NetworkManagerDevicePrivate.h.
18872
18873 2004-11-22  Dan Williams <dcbw@redhat.com>
18874
18875         * src/NetworkManagerDevicePrivate.h
18876                 - Split out the NMDevice struct to a different file so that stuff like
18877                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18878
18879         * dhcpcd/client.c
18880                 - fprintf->syslog
18881                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18882                         need to cancel the dhcp request during the send and recv
18883
18884         * dhcpcd/client.h
18885                 - Move the DHCP option enum to dhcpcd.h
18886
18887         * src/NetworkManagerDHCP.c
18888                 - Split out the actual IP/netmask/etc setting code
18889                 - New Renew/Rebind functions
18890                 - New timer setup function for renew/rebind operations
18891
18892         * src/NetworkManagerDevice.c
18893                 - For device activation, if we are using DHCP then keep the activation thread
18894                         alive until device deactivation.  We need to renew/rebind the DHCP address
18895                         after the T1 (renew) and T2 (rebind) times have expired.
18896                 - Increase some timeouts after bringing wireless cards up/down
18897
18898 2004-11-17  Dan Williams <dcbw@redhat.com>
18899
18900         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18901                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18902                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18903                 show known access points that don't broadcast their ESSID in the menus without
18904                 any user intervention whatsoever.
18905
18906         * info-daemon/NetworkManagerInfoDbus.c
18907                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18908                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18909
18910         * src/NetworkManagerAP.[ch]
18911                 - Add a "user_addresses" data member to the NMAccessPoint structure
18912                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18913                         the user_addresses data member
18914
18915         * src/NetworkManagerAPList.c
18916                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18917                         the AP's reported address
18918                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18919
18920         * src/NetworkManagerDHCP.c
18921                 - Increase DHCP timeout from 25s -> 30s
18922
18923         * src/NetworkManagerDbus.[ch]
18924                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18925                         user addresses
18926
18927         * src/NetworkManagerDevice.c
18928                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18929                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18930                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18931                         So, we take the card down to clear it out.
18932                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18933                         too, since that's where the user_addresses are
18934
18935         * src/NetworkManagerPolicy.c
18936                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18937                         that wireless networks' user_addresses list upon successful activation
18938
18939 2004-11-16  Dan Williams <dcbw@redhat.com>
18940
18941         * src/NetworkManagerDevice.[ch]
18942                 - (nm_device_clear_activation_fail): new function
18943
18944         * src/NetworkManagerPolicy.c
18945                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18946                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18947
18948 2004-11-16  Dan Williams <dcbw@redhat.com>
18949
18950         * src/NetworkManagerDevice.c
18951                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18952                         leak the structure, better updating of now_scanning status
18953                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18954
18955 2004-11-15  Dan Williams <dcbw@redhat.com>
18956
18957         Major rework of link detection code.  We now use DHCP
18958         as part of the link detection which proves to be much more robust,
18959         and also supports Open System authentication for wireless networks.
18960
18961         We no longer use external DHCP client programs.  Instead, we use 
18962         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18963         which was written by:
18964                 Yoichi Hariguchi <yoichi@fore.com>
18965                 Sergei Viznyuk <sv@phystech.com>
18966                 http://www.phystech.com/download/
18967         It resides in the "dhcpcd" directory and was refactored into a general
18968         purpose DHCP client library by me.
18969
18970         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18971         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18972
18973 2004-11-15  Dan Williams <dcbw@redhat.com>
18974
18975         Patch from Tom Parker <palfrey@tevp.net>:
18976
18977         * src/NetworkManagerDevice.c
18978                 - Less output to console when no access
18979                         points are found during a scan
18980
18981 2004-11-15  Dan Williams <dcbw@redhat.com>
18982
18983         Patch from Tom Parker <palfrey@tevp.net>:
18984
18985         * src/backends/interface_parser.c
18986                 - Use g_strdup ()
18987                 - Check for inp == NULL
18988                 - use syslog ()
18989
18990 2004-11-13  Colin Walters  <walters@redhat.com>
18991
18992         Patch from Tom Parker <palfrey@tevp.net>:
18993
18994         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18995         
18996         * src/backends/NetworkManagerRedHat.c: Switch to
18997         including shvar.h instead of shvar.c.
18998
18999         * src/backends/NetworkManagerDebian.c: Don't include
19000         interface_parser.c in source file.
19001
19002         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19003         and interface_parser.[ch].
19004         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19005         Include shvar.c and shvar.h here.
19006         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19007         interface_parser.c and interface_parser.h here.
19008
19009 2004-11-12  Colin Walters  <walters@redhat.com>
19010
19011         * configure.in: Strip out TARGET_DISTRO and
19012         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19013         conditionals.
19014
19015         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19016         (libnmbackend_la_SOURCES): Use Automake conditionals
19017         to add distro-specific files.
19018
19019         * initscript/Makefile.am (SUBDIRS): Update to
19020         use conditionals.
19021
19022 2004-11-12  Colin Walters  <walters@redhat.com>
19023
19024         Patches from j bootlab org
19025
19026         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19027         Add interface_parser.[ch].
19028
19029         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19030         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19031
19032 2004-11-12  Colin Walters  <walters@redhat.com>
19033
19034         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19035         call to nmi_dbus_is_running too, not necessary anymore.
19036         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19037         pick up exit().
19038
19039 2004-11-11  Colin Walters  <walters@verbum.org>
19040
19041         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19042         Delete.
19043         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19044         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19045         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19046         This avoids a race condition that made it pretty easily
19047         possible to get two NetworkManagerInfo daemons running.
19048
19049 2004-11-11  Colin Walters  <walters@verbum.org>
19050         
19051         * src/NetworkManager.c (main): Use daemon(3).
19052
19053         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19054
19055         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19056
19057 2004-11-10 Dan Williams <dcbw@redhat.com>
19058
19059         Patches from j bootlab org
19060         * src/NetworkManagerDevice.c
19061                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19062                         whether the card has a link or not, some cards are slow
19063                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19064
19065         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19066                 - Disable the "Login" button on the passphrase dialog until the user
19067                         enters a valid passphrase or key
19068
19069         Patches from Tom Parker <palfrey tevp net>
19070         * src/backends/NetworkManagerDebian.c
19071                 - Add static IP support to the debian backend
19072
19073         * src/backends/interface_parser.[ch]
19074                 - Parse debian interface config files
19075
19076 2004-11-08 Dan Williams <dcbw@redhat.com>
19077
19078         * src/NetworkManagerDevice.c
19079                 - Some random fprintf->syslog conversions
19080                 - (nm_device_wireless_network_exists): double-check for network
19081                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19082
19083         * src/NetworkManagerWireless.[ch]
19084                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19085                         so that the binary->ascii conversion works (if unsigned, the bitshift
19086                         will fill with zeros, which is what's required).  Also mask bitshift
19087                         result with 0xF for futher assurance.
19088
19089 2004-11-06 Dan Williams <dcbw@redhat.com>
19090
19091         * src/NetworkManagerUtils.c
19092                 - (nm_get_wireless_driver_support_level): default to
19093                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19094                         flip this when changing from whitelist->blacklist of
19095                         wireless drivers
19096
19097 2004-11-05 Dan Williams <dcbw@redhat.com>
19098
19099         Patch from Robert Paskowitz:
19100         * src/backends/NetworkManagerGentoo.c
19101                 - Update static IP config code
19102
19103 2004-11-05 Dan Williams <dcbw@redhat.com>
19104
19105         * info-daemon/NetworkManagerInfoDbus.c
19106           src/NetworkManagerDbus.[ch]
19107           src/NetworkManagerDevice.c
19108                 - Keep track of the # of attempts to get the WEP key
19109                         from the user and pass that along to the info daemon
19110
19111 2004-11-05 Dan Williams <dcbw@redhat.com>
19112
19113         * src/NetworkManagerUtils.c
19114                 - Blacklist wireless cards rather than whitelisting them.
19115                 - Grab driver name from HAL rather than trying to find it
19116                         ourselves.
19117
19118 2004-11-03 Dan Williams <dcbw@redhat.com>
19119
19120         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19121                 - Disable OK button until valid data is entered
19122                         for encryption stuff too
19123
19124         * panel-applet/NMWirelessApplet.c
19125                 - Report card strength for current AP if the card
19126                         doesn't report strength data for scanned access
19127                         points
19128
19129         * src/NetworkManagerDevice.c
19130                 - Smooth out cards reported quality, Atmel card was
19131                         intermittently reporting no quality data but soon
19132                         recovers
19133
19134         * src/NetworkManagerWireless.c
19135                 - Better quality data percentage calculation.  Atmel
19136                         cards (mine at least) seem to report the quality
19137                         in percentage format already, so honor that
19138
19139         Patch from <j@bootlab.org>
19140         * NetworkManager.h
19141           info-daemon/NetworkManagerInfoPassphraseDialog.c
19142           info-daemon/passphrase.glade
19143           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19144           panel-applet/essid.glade
19145           src/NetworkManagerAP.c
19146           src/NetworkManagerDevice.c
19147           src/NetworkManagerWireless.[ch]
19148                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19149
19150 2004-11-03 Dan Williams <dcbw@redhat.com>
19151
19152         * src/NetworkManagerDevice.[ch]
19153                 - (nm_device_set_enc_key): Add parameter to set Authentication
19154                         Mode (Open System, Shared Key, or None).  We're still using
19155                         Shared Key for now though.
19156
19157 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19158
19159         * panel-applet/menu-info.c: change from bold text to light
19160         colored, may cause problems with some themes, i've tested a lot
19161         and they seem fine. 
19162
19163         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19164
19165 2004-11-01  Colin Walters  <walters@verbum.org>
19166
19167         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19168         (nm_wireless_128bit_key_from_passphrase): Add const.
19169
19170         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19171         (nm_ap_set_enc_key_source): Add const.
19172         
19173 2004-11-01  Colin Walters  <walters@verbum.org>
19174
19175         * .cvsignore: Update.
19176
19177 2004-10-29 Dan Williams <dcbw@redhat.com>
19178
19179         * src/NetworkManagerDevice.c
19180                 - (nm_device_wireless_network_exists): Actually use the encryption
19181                         key we got from the applet when attempting to find a wireless network
19182                 - Don't bring devices down so much since on some cards it triggers
19183                         firmware hotplugs each time
19184
19185         * src/NetworkManagerDbus.c
19186                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19187                         from the caller
19188
19189 2004-10-29 Dan Williams <dcbw@redhat.com>
19190
19191         * src/NetworkManager.c
19192                 - (nm_hal_device_property_modified): unlock a locked active
19193                         wireless device when a wired connection gets a link.
19194                         (Means you'll switch to wired whenever you plug in no
19195                         matter what).
19196
19197 2004-10-29 Dan Williams <dcbw@redhat.com>
19198
19199         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19200                 - New files, implement the "Other wireless network" dialog
19201
19202         * panel-applet/NMWirelessApplet.c
19203                 - Move "other wireless network" dialog to separate file
19204
19205         * panel-applet/NMWirelessAppletDbus.[ch]
19206                 - Take key and key_type paramaters for the set_device function
19207
19208         * panel-applet/essid.glade
19209                 - Add UI bits for encryption settings
19210
19211         * src/NetworkManagerDbus.c
19212                 - Retrieve key and key_type params for "setActiveDevice" method call
19213                         and pass them on
19214                 - unref AP returned from nm_device_get_best_ap() when needed
19215
19216         * src/NetworkManagerDevice.c
19217                 - (nm_device_get_best_ap): ref the ap before returning it
19218                 - unref AP returned from nm_device_get_best_ap() when needed
19219                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19220                         need to call nm_device_get_best_ap() here, it was pretty much
19221                         redundant anyway
19222                 - (AP_NEED_KEY): break second link check condition out into separate
19223                         function, and fix segfault when ap->enc_key_source was NULL
19224                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19225                         pass them along to nm_device_wireless_network_exists().  If the
19226                         network does exist, set the passed-in key+key_type on the AP
19227
19228         * src/NetworkManagerPolicy.c
19229                 - unref AP returned from nm_device_get_best_ap() when needed
19230
19231 2004-10-28 Dan Williams <dcbw@redhat.com>
19232
19233         * src/NetworkManagerUtils.c
19234                 - (nm_spawn_process): Fix a potential dereference of NULL
19235
19236         Patches from Peter Jones:
19237
19238         * src/NetworkManagerDevice.c
19239                 - (nm_device_test_wireless_extensions): Better check for
19240                         wireless devices
19241
19242         * src/NetworkManagerUtils.c
19243                 - (nm_spawn_process): Pass in valid stdout and stderr so
19244                         executed programs don't randomly SIGPIPE and fail
19245                 - (nm_get_wired_driver_support_level): quash hal warning
19246                         when checking for USB ethernet device
19247
19248 2004-10-27 Dan Williams <dcbw@redhat.com>
19249
19250         * info-daemon/NetworkManagerInfo.c
19251           info-daemon/NetworkManagerInfoDbus.c
19252           info-daemon/NetworkManagerInfoPassphraseDialog.c
19253           panel-applet/NMWirelessApplet.c
19254                 - Properly escape gconf keys
19255
19256         * src/NetworkManager.c
19257                 - remove unused variables
19258
19259         * src/NetworkManagerAP.c
19260                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19261                         refcount since it got set in nm_ap_new()
19262
19263         * src/NetworkManagerAPList.c
19264                 - (nm_ap_list_combine): Give up ownership of newly created
19265                         access points to the ap list, fixes memleak
19266
19267         * src/NetworkManagerDevice.c
19268                 - Remove cached_ap_list4 member since its not really needed
19269                 - (nm_device_wireless_network_exists): Try to get correct
19270                         encryption status of a found AP if its already in our
19271                         device list
19272                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19273                         memory allocs/deallocs a bit clearer and shorter-lived
19274
19275 2004-10-26 Ray Strode <rstrode@redhat.com>
19276
19277         * panel-applet/NMWirelessApplet.c:
19278           (custom_essid_item_selected):  kill some compiler
19279         warnings 
19280
19281 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19282
19283         * info-daemon/NetworkManagerInfoDbus.c
19284                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19285                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19286
19287 2004-10-23 Dan Williams <dcbw@redhat.com>
19288
19289         * info-daemon/NetworkManagerInfoDbus.c
19290                 - Trap the "DeviceActivationFailed" signal
19291
19292         * docs/NetworkManager DBUS API.txt
19293                 - Add "DeviceActivationFailed" signal
19294
19295         * panel-applet/NMWirelessAppletDbus.c
19296                 - Quash the "NetworkManager service not available" message
19297
19298         * src/NetworkManagerDbus.[ch]
19299                 - Add the "DeviceActivationFailed" signal
19300
19301         * src/NetworkManagerDevice.c
19302                 - Add support for activation_failed flag
19303                 - Fix deadlock where activation thread didn't clean itself up, making
19304                         main thread still believe it was alive forever (didn't reset activation
19305                         flags like activating, just_activated, etc when IP configuration
19306                         failed)
19307
19308         * src/NetworkManagerPolicy.c
19309                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19310                         for wireless networks, try to fall back to some other access point
19311
19312 2004-10-23 Dan Williams <dcbw@redhat.com>
19313
19314         * panel-applet/NMWirelessApplet.[ch]
19315                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19316                         to the applet object, so we can get tooltips
19317                 - Add tooltips (RH #136866)
19318
19319         * src/NetworkManagerDevice.c
19320                 - When trying to find a wireless network, try to connect with encryption
19321                         turned on first, so that we can more accurately detect whether or not
19322                         we need to use encryption for the actual association later on
19323
19324 2004-10-21 Dan Williams <dcbw@redhat.com>
19325
19326         * Add some support for telling NetworkManagerInfo to tell the user
19327                 that they are using a device that's not fully supported
19328
19329         * Fix some assertions in debug messages due to null access point args
19330
19331 2004-10-21 Dan Williams <dcbw@redhat.com>
19332
19333         * src/NetworkManagerDevice.c
19334                 - Don't try to activate/bring up/down unsupported
19335                         devices
19336
19337         * src/NetworkManagerUtils.c
19338                 - Fix case of PCI ID checks for driver support levels
19339
19340 2004-10-21 Dan Williams <dcbw@redhat.com>
19341
19342         * NetworkManager.h
19343                 - New file, now contains commonly used structures and bits
19344                         for the dbus API of NetworkManager
19345
19346         * Makefile.am
19347                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19348
19349         * src/NetworkManager.h
19350                 - Rename -> src/NetworkManagerMain.c
19351
19352         * Various fixups all around to use NetworkManager.h and new
19353                 src/NetworkManagerMain.h, remove redundant bits that got
19354                 moved into NetworkManager.h
19355
19356         * src/NetworkManagerDevice.[ch]
19357           src/NetworkManagerUtils.[ch]
19358           src/NetworkManagerPolicy.c
19359           src/NetworkManagerDbus.c
19360                 - Whitelist wireless drivers, and blacklist some wired
19361                         drivers.  Also blacklist cipsec and ethernet-over-usb
19362                         devices at this time (RH #135722, RH #135648)
19363                 - Don't leak unsupported devices out over dbus, or allow
19364                         them to be set as the active device.  Skip over them
19365                         during automatic device picking
19366
19367         * test/nmclienttest.c
19368                 - Clean up the dbus code a lot
19369
19370 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19371
19372         * configure.in: post release bump.
19373
19374 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19375
19376         * configure.in:
19377         * NEWS: Released NetworkManager-0.3.1
19378
19379 2004-10-18 Dan Williams <dcbw@redhat.com>
19380
19381         Patches from Thom May:
19382         * test/nmtestdevices.c
19383                 - Include <string.h>
19384         * src/backends/NetworkManagerDebian.c:
19385                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19386                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19387                         Move to using g_strdup_printf rather than arbitrary buffers
19388                 - (nm_system_device_setup_static_ip4_config) Implement function.
19389                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19390
19391 2004-10-17 Dan Williams <dcbw@redhat.com>
19392
19393         * info-daemon/NetworkManagerInfoDbus.c
19394                 - Display name of network in the "network not found" dialog
19395
19396         * panel-applet/NMWirelessAppletDbus.c
19397                 - (nmwa_dbus_call_nm_method): new function replaces all other
19398                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19399                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19400                         consolidated into nmwa_dbus_get_object_name()
19401
19402 2004-10-15 Dan Williams <dcbw@redhat.com>
19403
19404         * src/NetworkManagerDbus.c
19405           info-daemon/NetworkManagerInfoDbus.c
19406                 - Display an error dialog when the user tries to use an
19407                         "Other wireless network" that's not found.
19408
19409 2004-10-15 Dan Williams <dcbw@redhat.com>
19410
19411         * panel-applet/NMWirelessApplet.[ch]
19412                 - Fix up corner cases in applet state, making it
19413                         look more responsive.  Change state to "connecting" when
19414                         the user is forcing a device too.
19415
19416 2004-10-15 Dan Williams <dcbw@redhat.com>
19417
19418         * src/NetworkManagerAPList.c
19419                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19420
19421         * src/NetworkManagerDbus.c
19422                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19423
19424         * src/NetworkManagerDevice.c
19425                 - Disown APs after the device's AP list takes ownership
19426
19427 2004-10-15 Dan Williams <dcbw@redhat.com>
19428
19429         * panel-applet/NMWirelessApplet.c
19430                 - Update our applet state from the GUI thread
19431
19432         * panel-applet/NMWirelessAppletDbus.c
19433                 - Greatly simplify the locking to make the GUI thread
19434                         smoother.  Update a private copy of the device list
19435                         and active device and only when done talking to
19436                         NetworkManager turn it over to the GUI thread.
19437
19438 2004-10-15 Dan Williams <dcbw@redhat.com>
19439
19440         * src/NetworkManagerAP.[ch]
19441                 - Add "artificial" get/set functions, set for APs that
19442                         aren't discovered as part of a scan but instead
19443                         discovered by force-setting the ESSID
19444
19445         * src/NetworkManagerDevice.[ch]
19446                 - (nm_device_wireless_network_exists): pass back whether
19447                         or not the discovered AP was encrypted.  Also, try
19448                         falling back to encrypted mode on the card if unencrypted
19449                         association doesn't work
19450                 - (nm_device_find_and_use_essid): If the network requested
19451                         did in fact exists, but it wasn't in our scan list, add
19452                         an "artificial" entry for it.  Some Cisco cards don't
19453                         see non-ESSID-broadcasting APs in their scan but can still
19454                         associate with them if you know the ESSID, this works around
19455                         that behavior
19456                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19457                         to scan if the card is currently associated with that AP
19458
19459 2004-10-15 Dan Williams <dcbw@redhat.com>
19460
19461         ---- We have a website ----
19462         http://people.redhat.com/dcbw/NetworkManager
19463
19464         Patch from Robert Paskowitz:
19465         * src/NetworkManager.c
19466                 - (main): Make sure we are run as root
19467         * src/NetworkManagerDevice.c
19468                 - Fix type in ad-hoc setting function
19469
19470         Patch from Thom May:
19471         * src/backends/NetworkManagerDebian.c
19472                 - Make Debian backend compile again
19473
19474 2004-10-14 Dan Williams <dcbw@redhat.com>
19475
19476         * Tagged NetworkManager-0_3
19477
19478 2004-10-14 Dan Williams <dcbw@redhat.com>
19479
19480         Patch from Robert Paskowitz:
19481         * NEWS
19482           src/NetworkManagerDevice.[ch]
19483           src/backends/NetworkManagerDebian.c
19484           src/backends/NetworkManagerGentoo.c
19485           src/backends/NetworkManagerRedHat.c
19486           src/backends/NetworkManagerSlackware.c
19487                 - Add support for grabbing and using a broadcast address
19488                         from system config files
19489                 - Some Gentoo backend fixes for grabbing network config
19490                 - Fix LOG_WARN->LOG_WARNING
19491
19492 2004-10-14 Dan Williams <dcbw@redhat.com>
19493
19494         * NEWS: a few small fixes in the credits
19495
19496 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19497
19498         * NEWS: prep for release.
19499
19500 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19501
19502         * panel-applet/NMWirelessAppletDbus.c
19503         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19504
19505 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19506
19507         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19508         applet->state == APPLET_STATE_NO_NM animation.
19509
19510         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19511         set the text correctly.
19512
19513 2004-10-14 Dan Williams <dcbw@redhat.com>
19514
19515         * src/NetworkManager.c
19516                 - Only accept and manager 802.3 and 802.11 devices
19517
19518         * src/NetworkManagerDbus.[ch]
19519                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19520                         logic into NetworkManagerDevice.c
19521                 - (nm_dbus_network_status_from_data): new function
19522                 - (nm_dbus_signal_network_status_change): new function, unused for now
19523                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19524
19525         * src/NetworkManagerDevice.[ch]
19526                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19527                         a random ESSID.
19528
19529 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19530
19531         * info-daemon/NetworkManagerInfo.c 
19532                 - (main): Added session management
19533
19534 2004-10-14 Dan Williams <dcbw@redhat.com>
19535
19536         * panel-applet/NMWirelessAppletDbus.[ch]
19537                 - Expose network_device_[un]ref()
19538                 - Expose wireless_network_[un]ref()
19539                 - (wireless_network_new_with_essid): new function, create and return
19540                         a wireless network with a particular essid
19541
19542         * panel-applet/NMWirelessApplet.c
19543                 - Hook up the "other network" dialog to do something
19544
19545 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19546
19547         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19548         doesn't work yet, but it looks okay.
19549
19550         * panel-applet/icons/*png: Resize to 22x22 and install in the
19551         right place.
19552
19553 2004-10-13 Dan Williams <dcbw@redhat.com>
19554
19555         * panel-applet/NMWirelessApplet.c
19556                 - Add function to print out applet_state in a readable
19557                         manner
19558
19559         * src/NetworkManager.c
19560                 - (main): Don't segfault when nm_dbus_init() fails, we had
19561                         a left-over call to hal_shutdown() into which we passed NULL
19562
19563         * src/NetworkManagerAP.c
19564                 - (nm_ap_set_essid): Allow NULL essids
19565
19566         * src/NetworkManagerAPList.[ch]
19567                 - More use of nm_ap_list_[un]lock ()
19568                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19569                         network/essid, just return nothing.  Also skip over NULL
19570                         essid access points in the list when searching
19571                 - (nm_ap_list_get_ap_by_address): new function
19572                 - (nm_ap_list_update_network): set the access point's key source to
19573                         NULL when the key returned from NetworkManagerInfo is NULL or
19574                         of 0 length
19575                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19576                         copy timestamp over too
19577                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19578                         find the correct ESSID for a blank-essid access point by searching
19579                         through another list and matching access point MAC addresses
19580                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19581
19582         * src/NetworkManagerDbus.c
19583                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19584                         may specify.  This is mainly for access points that don't
19585                         broadcast their essid.  So if the user tells us to associate with
19586                         some random ESSID that's not in our access point list, we find
19587                         out if the access point does in fact exist (by attempting association
19588                         and then matching that access point's MAC address with the essid the
19589                         user gave us) and then we switch to it.
19590                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19591                         to the returned list of networks for the "getNetworks" method
19592
19593         * src/NetworkManagerDevice.[ch]
19594                 - Extra debugging info for link detection
19595                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19596                         based on MAC address
19597                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19598                 - (nm_device_wireless_network_exists): new function, find out whether
19599                         a random ESSID exists by attempting to associate with it
19600                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19601                         device list as long as they have an AP MAC address we can use.
19602                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19603                         devices too.  Lets the applet update more frequently.
19604
19605         * src/backends/NetworkManagerGentoo.c
19606                 - Patch from: Robert Paskowitz
19607                         - Update backend code for Gentoo
19608                         - Implement nm_system_device_update_config_info ()
19609
19610         * test/nmclienttest.c
19611                 - (set_network_device): new function, takes a command-line argument
19612                         and tells NetworkManager to use that wireless network
19613
19614 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19615
19616         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19617         if the notification icon crashes 5 times within 5 seconds of each respawn 
19618
19619 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19620
19621         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19622         g_print.
19623
19624 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19625
19626         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19627
19628         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19629         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19630         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19631         Change the name of the icons.
19632
19633         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19634         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19635         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19636         (nm_menu_wireless_expose_event): Really bad hack to get the style
19637         to draw in the right color.
19638
19639 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19640
19641         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19642         Notification if it crashes
19643
19644 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19645
19646         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19647         (nmwa_dbus_get_string): remove unused functions
19648
19649         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19650         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19651         remove unused functions
19652
19653         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19654
19655 2004-10-12 Dan Williams <dcbw@redhat.com>
19656
19657         * panel-applet/NMWirelessAppletDbus.c
19658                 - New functions:
19659                         wireless_network_new
19660                         wireless_network_copy
19661                         network_device_new
19662                         network_device_copy
19663
19664         * src/NetworkManagerDevice.[ch]
19665                 - New functions:
19666                         nm_device_set_mode_managed
19667                         nm_device_set_mode_adhoc
19668                 - Use these functions where appropriate
19669                 - When creating a new wireless device, force the card
19670                         to managed/Infrastructure mode as soon as possible
19671
19672 2004-10-12 Dan Williams <dcbw@redhat.com>
19673
19674         * src/NetworkManagerDevice.c
19675                 - Force wireless cards into Infrastructure mode before we use them
19676
19677 2004-10-12 Dan Williams <dcbw@redhat.com>
19678
19679         * TODO
19680                 - Remove bit about static IP address support
19681
19682         * src/NetworkManagerUtils.c
19683                 - (nm_spawn_process): Add some error reporting
19684
19685         * src/NetworkManagerDevice.c
19686                 - (nm_device_activation_configure_ip): hook up to the static config
19687                         routines in the backends
19688
19689         * src/backends/NetworkManagerRedHat.c
19690                 - (nm_system_device_update_config_info): use shvar.c routines to
19691                         parse the config file iformation, not our own
19692                 - (nm_system_device_setup_static_ip4_config): new function, based
19693                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19694                         with a static IP address and gateway
19695
19696         * src/backends/shvar.[ch]
19697                 - Parser (filched from initscripts package) for ifcfg-* files
19698
19699         * src/backends/NetworkManagerSystem.h
19700           src/backends/NetworkManagerGentoo.c
19701           src/backends/NetworkManagerDebian.c
19702           src/backends/NetworkManagerSlackware.c
19703                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19704
19705 2004-10-11 Dan Williams <dcbw@redhat.com>
19706
19707         * TODO
19708                 - Remove bit about more robust AP diffing since I just implemented it
19709
19710 2004-10-11 Dan Williams <dcbw@redhat.com>
19711
19712         * src/NetworkManagerAP.c
19713                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19714                         enough RAM to allocate new AP structures, but return NULL instead
19715
19716         * src/NetworkManagerAPList.[ch]
19717                 - (nm_ap_list_is_empty): new function
19718                 - (nm_ap_list_combine): new function, combine two access point lists
19719                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19720                         into another
19721
19722         * src/NetworkManagerDevice.[ch]
19723                 - Rename some functions to be clearer:
19724                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19725                         nm_device_just_activated     -> nm_device_is_just_activated
19726                         nm_device_activating         -> nm_device_is_activating
19727                         nm_device_now_scanning       -> nm_device_is_scanning
19728                 - Cache the last 4 scans so that the access point list is more stable.
19729                         We combine the lastest two scans and use that as the AP list,
19730                         and diff that combined list against the combination of the earliest
19731                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19732
19733 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19734
19735         * info-daemon/NWManagerInfo.h
19736                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19737
19738         * info-daemon/NWManagerInfoDbus.c
19739                 - (shutdown_callback): new function
19740                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19741                         if NetworkManager goes away.  Kill the timeout
19742                         if NetworkManager restarts before the 30 seconds
19743                         are up.
19744                 - (nmi_dbus_service_init): 
19745                         - call gtk_main_quit if NetworkManager is not running
19746                         - add filters to monitor dbus service creations and
19747                                 deletions
19748         
19749 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19750
19751         * panel-applet/NMWirelessApplet.c
19752                 - (nmwa_update_state): Hide notification icon if we are only
19753                         showing one wired card and no wireless interfaces 
19754                         (Red Hat Bug #134895)
19755
19756         * panel-applet/NMWirelessAppletDbus.c
19757                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19758
19759         * info-daemon/NWManagerInfo.c
19760                 - (main): Terminated the notification_icon_cmd array with a NULL
19761
19762 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19763
19764         * configure.in (ALL_LINGUAS): Added de (German).
19765
19766 2004-10-08 Dan Williams <dcbw@redaht.com>
19767
19768         * src/NetworkManagerDevice.c
19769                 - Be a bit more robust about link checking, ie make sure that
19770                         the WEP key we were given actually has some data in it
19771
19772 2004-10-08 Dan Williams <dcbw@redhat.com>
19773
19774         * info-daemon/NetworkManagerInfo.c (main):
19775                 - Initialize GError object to NULL
19776
19777 2004-10-08 Dan Williams <dcbw@redhat.com>
19778
19779         * panel-applet/NMWirelessAppletDbus.c
19780                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19781
19782 2004-10-08 Dan Williams <dcbw@redhat.com>
19783
19784         * info-daemon/NetworkManagerInfo.[ch]
19785           info-dameon/NetworkManagerInfoDbus.[ch]
19786           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19787                 - Preserve original label text in the passphrase dialog so that
19788                         it actually gets updated with the new network name the next
19789                         time around.  Previously, we were overwriting it so you'd get
19790                         the wrong network name to enter a key for
19791                 - Add a "Key Type" combo to the passphrase dialog, user selects
19792                         encryption key type now, type is stored in GConf too
19793                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19794
19795         * src/NetworkManagerAP.[ch]
19796                 - Remove all the encyption method magic.  It's now set by the user
19797                         and NetworkManager retrieves the type of encryption key from
19798                         NetworkManagerInfo
19799
19800         * src/NetworkManagerAPList.[ch]
19801           src/NetworkManagerDbus.[ch]
19802                 - Adjust to new way of setting encryption key and method
19803                 - Pull encryption method down from NMI along with key
19804
19805         * src/NetworkManagerDevice.[ch]
19806                 - Removed encryption method fallback magic as the method is now
19807                         determined by the user.  This greatly simplifies the connection
19808                         logic.
19809                 - More robust connection/link logic.  Besides removing the encryption
19810                         method fallback magic, check whether or not the card is receiving
19811                         invalidly encrypted packets, which usually indicates that we have
19812                         a bad WEP key set.
19813                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19814
19815         * test/nminfotest.c
19816                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19817
19818 2004-10-07 Dan Williams <dcbw@redhat.com>
19819
19820         * info-daemon/NetworkManagerInfo.conf
19821                 - Allow root user to run NMI too
19822
19823 2004-10-06 Dan Williams <dcbw@redhat.com>
19824
19825         * src/NetworkManagerDevice.[ch]
19826           src/NetworkManagerDbus.c
19827           doc/NetworkManager DBUS API.txt
19828                 - Add a new status tag "scanning", which is set when there
19829                         is no active network connection, but NetworkManager is
19830                         looking for an access point to associate with
19831
19832         * panel-applet/main.c
19833                 - Cast the applet appropriately for gtk_widget_show_all ()
19834
19835 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19836
19837         * panel-applet/eggtrayicon.[ch]:
19838         * panel-applet/main.c: Add missing file
19839
19840 2004-10-04 Dan Williams <dcbw@redhat.com>
19841
19842         * src/NetworkManagerDevice.[ch]
19843                 - Add a slightly more robust method of determining if the WEP key
19844                         is correct or not, by checking the WEP-discarded packet count
19845                         on the card
19846
19847         * info-daemon/NetworkManagerInfo.c
19848                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19849                         un-escape values we pull out rather than escaping them
19850
19851 2004-10-03  Marcel Telka  <marcel@telka.sk>
19852
19853         * configure.in (ALL_LINGUAS): Added sk.
19854
19855 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19856
19857         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19858         and feel.  We should be back to working, and have a good, clean
19859         look.
19860
19861 2004-09-30 Dan Williams <dcbw@redhat.com>
19862
19863         * info-daemon/NetworkManagerInfo.c
19864           info-daemon/NetworkManagerInfoDbus.c
19865           test/nminfotest.c
19866                 - Escape ESSIDs in gconf
19867
19868         * src/NetworkManagerDevice.c
19869                 - Fix pseudo-scanning to use netowrk list from info daemon
19870
19871 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19872
19873         * configure.in: Add a temporary --enable-notification-icon.  This
19874         will prolly go away.
19875
19876         * info-daemon/Makefile.am:
19877         * info-daemon/NetworkManagerInfo.c:
19878         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19879
19880         * panel-applet/Makefile.am:
19881         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19882         * panel-applet/NMWirelessApplet.h:
19883
19884 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19885
19886         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19887         before 'select custom ESSID'.
19888
19889         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19890         fully complete, but syncing in prep for merge.
19891
19892         * panel-applet/icons/*png: New images
19893
19894 2004-09-28 Dan Williams <dcbw@redhat.com>
19895
19896         * src/NetworkManager.c
19897           src/NetworkManagerDevice.c
19898           src/NetworkManagerPolicy.c
19899                 - Don't blow away an active wired connection on startup
19900
19901 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19902
19903         Changes from J5
19904         
19905         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19906
19907         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19908         syslog output
19909
19910 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19911
19912         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19913         have a wireless card.
19914
19915 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19916
19917         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19918         Also, get the right device strings.
19919
19920 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19921
19922         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19923         the logic to make this right.
19924
19925         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19926         devices so that wired networks are always first.
19927
19928 2004-09-22    <clarkbw@cvs.gnome.org>
19929
19930         * initscript/Debian/.cvsignore:
19931         * initscript/Slackware/.cvsignore:
19932         Added new cvsignores for Makefile, Makefile.in
19933         
19934         * test/.cvsignore:
19935         Added nmtestdevices
19936         
19937         * src/NetworkManagerDevice.c: 
19938         * src/NetworkManager.c: 
19939         Updated the wireless/wired HAL device strings from net.ethernet to
19940         net.80203 or net.80211 depending on wired or wireless respectively
19941         
19942         * examples/python/NetworkManager.py: 
19943         s/Quality/Strength/
19944
19945         * examples/python/systray/network_tray.py:
19946         Lots of little changes and fixes.  been rotting for a while so I
19947         figured I'd finally sync them all with CVS
19948
19949 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19950
19951         * configure.in: Add graphics
19952
19953         * panel-applet/Makefile.am: Add graphics
19954
19955         * panel-applet/icons/*: Add graphics
19956
19957         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19958         the icons fully lined up.
19959
19960         * panel-applet/menu-info.c: 
19961         * panel-applet/menu-info.h: Add another menu type.
19962
19963 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19964
19965         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19966
19967         * panel-applet/menu-item.[ch]: Wireless menu item.
19968
19969 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19970
19971         * info-daemon/NetworkManagerInfo.conf
19972                 - Created a more robust security policy for the DBus service
19973                         - everything is denied by default
19974                         - root can own and send to the service
19975                         - users logged in at the console can send to the service
19976
19977 2004-09-13  Dan Williams <dcbw@redhat.com>
19978
19979         * src/NetworkManagerDevice.c
19980                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19981                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19982                         the latter
19983
19984 2004-09-13  Dan Williams <dcbw@redhat.com>
19985
19986         * TODO: fix typo
19987
19988         * docs/NetworkManager DBUS API.txt
19989                 - Update for new signal strength changes
19990
19991         * panel-applet/NMWirelessApplet.c
19992                 - Make panel icon show strength of the current connection
19993                 - Cleanups and memleak fixes
19994
19995         * panel-applet/NMWirelessApplet.h
19996                 - Add data members for signal strength on devices and networks
19997
19998         * panel-applet/NMWirelessAppletDbus.c
19999                 - Free more DBusErrors
20000                 - Update for new signal strength changes
20001                 - Make devices and networks more like real objects, use ref/unref methods
20002                 - Actually unlock the mutex when updating the active device
20003
20004         * src/NetworkManagerAP.c
20005                 - Change AP functions and data members from "quality"->"strength"
20006
20007         * src/NetworkManagerDbus.c
20008                 - Kill "getMaxQuality" and "getQuality" methods
20009                 - Add "getStrength" methods for Networks and Devices
20010
20011         * src/NetworkManagerDevice.[ch]
20012                 - Add accessors for device strength
20013                 - Add functions to update strength for a device.  Note that not all drivers
20014                         actually support signal strength for scanned access points (Atmel drivers
20015                         being one)
20016                 - Calculate signal strength for each AP during scan
20017
20018         * src/NetworkManagerWireless.[ch]
20019                 - Add function to return signal strength % from a device and a raw quality struct
20020
20021         * test/nmclienttest.c
20022                 - Update for new signal strength changes
20023
20024 2004-09-11  Dan Williams <dcbw@redhat.com>
20025
20026         * src/NetworkManager.c
20027                 - Fix race condition between initscripts and NM on card insertion
20028                         which could cause a card to keep an IP address and routes around
20029                         even when it was not the active device
20030
20031         * src/NetworkManagerDbus.c
20032                 - Fix compile errors, free more DBusErrors
20033
20034 2004-09-11  Dan Williams <dcbw@redhat.com>
20035
20036         * docs/NetworkManager DBUS API.txt
20037                 - Add an explanation of NM's API
20038
20039         * src/NetworkManagerDbus.c
20040                 - Free some more DBusErrors if needed
20041
20042 2004-09-11  Dan Williams <dcbw@redhat.com>
20043
20044         * panel-applet/NMWirelessApplet.c
20045           panel-applet/NMWirelessAppletDbus.c
20046                 - Start using NetworkDevice/WirelessNetwork structures in more places
20047                 - Update for unified device/network forcing in NetworkManager
20048
20049         * src/NetworkManager.c
20050                 - some code consolidation
20051
20052         * src/NetworkManagerDbus.c
20053                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20054                         or two arguments:  the first is the NM ID of the device to switch to,
20055                         and the second (optional) argument is the ESSID of a wireless network
20056                         to use as well.
20057                 - Get rid of "setNetwork" method due to above change
20058
20059         * src/NetworkManagerDevice.c
20060                 - (nm_device_new): perform scan and update best AP on device creation
20061                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20062                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20063                         spin waiting for cancellation to finish before returning
20064
20065         * src/NetworkManagerPolicy.c
20066                 - Changes here clarify the situations in which a device switch occurs, and 
20067                         make sure to keep using a forced device and network if the user gives
20068                         us one
20069                 - Remove old unused code
20070
20071 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20072
20073         * configure.in: Added Danish (da) to ALL_LINGUAS.
20074
20075 2004-09-09  Dan Williams <dcbw@redhat.com>
20076
20077         * panel-applet/NMWirelessAppletDbus.c
20078                 - Pull fresh devices and networks from NM when wireless networks
20079                         change.  Provides faster feedback of a forced wireless network
20080
20081         * src/NetworkManagerDbus.c
20082                 - Return error when "getMaxQuality" is called on a wired device
20083                 - Make best_ap freezing actually work again, and signal cancellation
20084                         of activation if there's already a device activation when the user
20085                         freezes the best_ap
20086
20087         * src/NetworkManagerDevice.c
20088                 - Don't clear out the best_ap for wireless devices when the link goes
20089                         down, that's done elsewhere
20090                 - Kill any dhcp daemons when cancelling device activation since they
20091                         may be stuck waiting for a DHCP address, and since we're cancelling
20092                         activation we don't care about that anymore
20093
20094         * src/NetworkManagerPolicy.c
20095                 - Make sure to unref the device we ref earlier (we refed it to make sure
20096                         it stuck around during device activation and such)
20097                 - If we were going to change the best device, but its activating currently
20098                         (and therefore the change didn't occur due to the check earlier)
20099                         we mark the state changed to we come back to it later when device
20100                         activation has canceled and its no longer activating
20101
20102         * src/backends/NetworkManagerRedHat.c
20103                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20104
20105 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20106
20107         * info-daemon/passphrase.glade: 
20108         set passphrase input to activates_default : True
20109
20110         * examples/python/systray/network_tray.py
20111         (network_tray.sort_networks):
20112
20113         Added support for having wireless always scanning
20114
20115 2004-09-09  Dan Williams <dcbw@redhat.com>
20116
20117         NOTE: this commit changes the behavior of wireless devices in
20118         NetworkManager.  They are now up all the time, scanning all
20119         the time.  Only the active device has an IP address and routing
20120         information set up however.  Also, NetworkManager will no longer
20121         opportunistically switch wireless networks when a better one
20122         comes in range, it will remain associated with one wireless network
20123         until that one drops out.
20124
20125         * panel-applet/NMWirelessApplet.c
20126           panel-applet/NMWirelessAppletDbus.c
20127                 - List all wireless cards and their respective networks
20128
20129         * src/NMLoadModules
20130                 - Use full path to /sbin/ip
20131
20132         * src/NetworkManager.c
20133                 - Keep wireless devices up all the time so they can scan
20134
20135         * src/NetworkManagerDbus.c
20136                 - On a WirelessNetworkUpdate signal from NMI, don't update
20137                         the "best" AP
20138
20139         * src/NetworkManagerDevice.c
20140                 - (nm_device_set_link_active): clear out the best ap for
20141                         wireless devices when the link is set to FALSE
20142                 - Scan on all wireless cards, all the time
20143                 - (nm_device_activation_worker): split out the wireless card
20144                         link-waiting code to a separate function
20145                 - Keep wireless cards up even if device activation fails
20146                 - Don't update the "best" ap as much
20147
20148         * src/NetworkManagerPolicy.c
20149                 - Don't update the best ap when checking if its frozen,
20150                         let link checking clear out a frozen best ap for us
20151
20152         * src/NetworkManagerWireless.c
20153                 - Scan on all wireless cards, all the time
20154
20155 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20156
20157         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20158
20159 2004-09-09  Ankit Patel <ankit@redhat.com>
20160
20161         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20162
20163 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20164
20165         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20166
20167 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20168
20169         * examples/python/NetworkManager.py: 
20170         added CONNECTED, CONNECTING, and DISCONNECTED states
20171         added methods to return number of devices of a single type
20172
20173         * examples/python/systray/network_tray.py: 
20174         did some tweaks to get the menu looking near what it is supposed
20175         to look like.  Also did a Airo card hack to make it show the
20176         correct AP quality
20177
20178 2004-09-08  Dan Williams <dcbw@redhat.com>
20179
20180         * panel-applet/no-networkmanager.png
20181           panel-applet/Makefile.am
20182           panel-applet/NMWirelessApplet.c
20183                 - Add a "NetworkManager not running" icon and use it
20184                 - Use new consolidated GConf keys rather than Preferred/Trusted
20185
20186         * TODO: update
20187
20188         * info-daemon/NetworkManagerInfo.c
20189           info-daemon/NetworkManagerInfoDbus.[ch]
20190           info-daemon/NetworkManagerInfoPassphraseDialog.c
20191                 - There are now no longer two separate lists of wireless networks,
20192                         but one list where each network is "trusted" or not trusted
20193                 - Add a "getNetworkTrusted" dbus method
20194                 - "WirelessNetworkUpdate" signal now sent rather than
20195                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20196                 - Start freeing some dbus errors (not completed yet)
20197
20198         * info-daemon/passphrase.glade
20199                 - Remove the "don't show" hints for pager and taskbar
20200                 - Add a title since its going to be in the taskbar
20201
20202         * src/NetworkManager.[ch]
20203           src/NetworkManagerAPList.[ch]
20204                 - There are now no longer two separate lists of wireless networks,
20205                         but one list where each network is "trusted" or not trusted
20206
20207         * src/NetworkManagerAP.[ch]
20208                 - Add get/set "trusted" accessors and data bit
20209
20210         * src/NetworkManagerDbus.[ch]
20211                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20212                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20213
20214         * src/NetworkManagerDevice.[ch]
20215                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20216                 - (nm_device_new): Get device config from backend when initializing devices
20217                 - (nm_device_activation_worker): Split out device configuration on
20218                         activation to deal with static/dynamic IP differences, and try encryption
20219                         fallbacks on a device if the encryption method for the best AP is not good
20220                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20221                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20222
20223         * src/NetworkManagerWireless.c
20224                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20225
20226         * src/backends/NetworkManagerRedHat.c
20227           src/backends/NetworkManagerSystem.h
20228                 - (nm_system_device_update_config_info): Add function to get device configuration
20229                         from system data in ifcfg-* files
20230
20231         * src/backends/NetworkManagerDebian.c
20232           src/backends/NetworkManagerGentoo.c
20233           src/backends/NetworkManagerSlackware.c
20234                 - Add stub functions for getting device configuration
20235
20236 2004-09-07  Dan Williams <dcbw@redhat.com>
20237
20238         * src/backends/NetworkManagerRedhat.c
20239           src/backends/NetworkManagerSlackware.c
20240                 - Use full path to /sbin/ip everywhere
20241
20242 2004-09-07  Dan Williams <dcbw@redhat.com>
20243
20244         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20245
20246         * configure.in
20247           initscript/Makefile.am
20248           initscript/Slackware/Makfile.am
20249           initscript/Slackware/rc.networkmanager
20250           src/Makefile.am
20251           src/backends/NetworkManagerSlackware.c
20252                 - Add Slackware support
20253
20254 2004-09-07  Dan Williams <dcbw@redhat.com>
20255
20256         Patches below from:
20257                 <j@bootlab.org>
20258                 Mark Roach <mrroach@okmaybe.com>
20259                 Thom May <thom@debian.org>
20260
20261         * configure.in
20262           initscript/Debian/NetworkManager
20263           initscript/Debian/Makefile.am
20264                 - Initscript for Debian
20265
20266         * src/backends/NetworkManagerDebian.c
20267                 - Add missing system init function to allow compilation
20268                         on Debian
20269
20270 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20271
20272         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20273
20274 2004-09-03  Akagic Amila <bono@linux.org.ba>
20275
20276         * configure.in: Added 'bs' to ALL_LINGUAS.
20277
20278 2004-09-02  Colin Walters  <walters@verbum.org>
20279
20280         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20281         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20282         g_strdup_printf instead of arbitrarily sized buffers.
20283
20284 2004-09-01  Colin Walters  <walters@verbum.org>
20285
20286         * NetworkManager.pc.in: New file.
20287
20288         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20289
20290 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20291         
20292         * configure.in: Punjabi(pa) is added to po/.
20293
20294 2004-08-31  Dan Williams <dcbw@redhat.com>
20295
20296         * Remove 'debug' extern global from all files since we now
20297                 use syslog()
20298
20299         * src/NetworkManager.[ch]
20300                 - Break out routine that get the net.interface property from HAL,
20301                         removing that logic from nm_create_device_and_add_to_list()
20302                 - (nm_create_device_and_add_to_list): make this a bit more general so
20303                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20304                         the create of test devices.
20305                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20306                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20307                         which makes NetworkManager listen for dbus commands to create test
20308                         devices, which have no backing hardware.  Use when you're on a plane
20309                         for example, and/or forgot your wireless card at home.  Test devices
20310                         _cannot_ be created unless NM is started with --enable-test-devices.
20311
20312         * src/NetworkManagerDbus.[ch]
20313                 - New "getLinkActive" method for devices
20314                 - New "setLinkActive" method for devices (only works on test devices)
20315                 - New "createTestDevice" method on NetworkManager object to create a test
20316                         device of a specified type (ie wired, wireless).  UDI is created from
20317                         scratch, as is the interface name.  Only works when NM is started with
20318                         --enable-test-devices switch.
20319                 - New "removeTestDevice" method on NetworkManager object which removes a
20320                         test device.  Only works when NM is started with --enable-test-devices
20321
20322         * src/NetworkManagerDevice.[ch]
20323                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20324                         whether a device is a test device or not, and what its link status is.
20325                 - Deal with test devices in most functions.  For those that work directly on hardware
20326                         special-case test devices.
20327                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20328                         command-line.
20329                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20330                         checking to separate functions to facilitate test device link checking.
20331                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20332                         don't make a distinction between System Authentication and Encryption
20333                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20334                         on the card.  We don't deal with Shared Key auth yet.
20335                 - (nm_device_activation_worker): split the activation cancel check logic out into
20336                         a separate routine nm_device_activation_cancel_if_needed()
20337                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20338                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20339                         a list of fake access points that they can "see"
20340                 - (nm_device_is_test_device): return whether or not a device is a test device
20341
20342         * src/NetworkManagerPolicy.c
20343                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20344                         previously if you "locked"/forced NM to use a wireless device but then
20345                         selected a wireless network for NM to use, it would switch to a wired device.
20346                         So, if the active device is wireless and it has a "forced" best AP, use it
20347                         if the "forced" best AP is still valid
20348                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20349                         there were no usable network devices, or the last one was removed
20350
20351         * src/backends/NetworkManager*.c
20352                 - Deal with test devices, mostly just return success for operations like getting
20353                         a DHCP address
20354
20355         * test/nmtestdevices.c
20356                 - Test tool to create/remove/link-switch test devices
20357
20358 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20359
20360         * examples/python/NetworkManager.py: 
20361         added convience functions has_wired_device and has_wireless_device
20362
20363         * examples/python/systray/network_tray.py: 
20364         cleaned up a bunch of cruft, added support for listing wireless
20365         networks just like the real applet.  This is probably all I'm
20366         going to work on this applet from now on.
20367         TODO: add support for actually changing networks and devices
20368
20369         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20370         changed "nm.networks" into a dict from a list so I can store all
20371         the cool information about networks in there
20372
20373         * examples/python/systray/network_tray.py: 
20374         Added nice message when you try to run without running make first
20375
20376         * examples/python/NetworkManager.py: 
20377         Bug fixes to the code so we get all the device information
20378         that we need in get_device()
20379         
20380         * examples/python/NMTester.py: 
20381         Fixed _print_device_list to print_device_list
20382
20383 2004-08-29  Seth Nickell  <seth@gnome.org>
20384
20385         * configure.in:
20386
20387         Actually properly setup the Debian backend in configure.
20388         
20389 2004-08-29  Colin Walters  <walters@verbum.org>
20390
20391         * test/nminfotest.c: Include string.h and stdlib.h.
20392         (get_network_string_property, get_networks_of_type): Return NULL.
20393
20394         * test/nmclienttest.c (get_device_name, get_active_device): Return
20395         NULL.
20396
20397         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20398         use strlen, fgets always NULL-terminates the string.
20399
20400         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20401         dbus_message_get_member): Remove /* in comment.
20402
20403         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20404
20405         * src/NetworkManager.c (quit): Unused, delete.
20406         (nm_data_free): Cast arg to GFunc.
20407
20408         * panel-applet/NMWirelessAppletDbus.c: Need to include
20409         string.h, and dbus-glib-lowlevel.h (the latter is needed
20410         for dbus_connection_setup_with_g_main at present).
20411         (nmwa_dbus_update_wireless_network_list): Parenthesize
20412         assignment in conditional.
20413         (nmwa_dbus_worker): Return NULL.
20414
20415         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20416         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20417         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20418         (nmwa_populate_menu): Return NULL on failure, instead of just
20419         return;
20420
20421         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20422
20423         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20424         variables.
20425
20426         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20427         delete.
20428         
20429 2004-08-29  Colin Walters  <walters@verbum.org>
20430
20431         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20432         a GTimeVal instead of time_t.  This is easier to work with,
20433         since time_t may be a long or double, we don't know.
20434
20435         * src/NetworkManagerDbus.h: Update prototype.
20436         
20437         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20438         instead of time_t.
20439         (nm_ap_get_timestamp): Update to return GTimeVal.
20440         (nm_ap_set_timestamp): Update to take GTimeVal.
20441         
20442         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20443         to handle GTimeVal.
20444
20445         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20446         GTimeVal change.
20447         (nm_ap_list_print_members): Fix warnings in printf format.
20448
20449 2004-08-29  Colin Walters  <walters@verbum.org>
20450         
20451         * panel-applet/NMWirelessApplet.c: Include config.h.
20452
20453 2004-08-29  Colin Walters  <walters@verbum.org>
20454
20455         * configure.in: Generate config.h.
20456
20457         * configure.in: Dump dependency on OpenSSL; we can't
20458         use it since this package is GPL:
20459         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20460         Instead, check for libgcrypt, use it if available,
20461         otherwise use included MD5 code.
20462
20463         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20464         Suck in from gnome-keyring, munge a bit.
20465         
20466         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20467         gnome-keyring-md5.h gnome-keyring-md5.c.
20468         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20469
20470         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20471         libgcrypt or included gnome-keyring md5 bits.
20472         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20473
20474 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20475
20476         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20477
20478 2004-08-27  Bryan Clark  <bclark@redhat.com>
20479
20480         * examples/python/systray/Makefile: 
20481
20482         Updated the clean section
20483         
20484         * examples/python/systray/trayiconmodule.c: 
20485         * examples/python/systray/trayicon.override: 
20486         * examples/python/systray/network_tray.py: 
20487         * examples/python/systray/eggtrayicon.h: 
20488         * examples/python/systray/eggtrayicon.c: 
20489         * examples/python/systray/Makefile: 
20490         * examples/python/README: 
20491         * examples/python/NetworkManager.py: 
20492         * examples/python/NMTester.py: 
20493
20494         Initial commit of these python example files
20495
20496 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20497
20498         * panel-applet/NMWirelessApplet.c
20499                 - Make current device bold
20500                 - Show more user-friendly device name if we got one from hal
20501
20502         * panel-applet/NMWirelessAppletDbus.c
20503                 - Grab "info.product" key from hal for network devices
20504                 - Cache the current active device
20505
20506 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20507
20508         * configure.in: Added en_CA to ALL_LINGUAS.
20509
20510 2004-08-27  Christian Rose  <menthos@menthos.com>
20511
20512         * configure.in: Added "sv" to ALL_LINGUAS.
20513
20514 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20515
20516         * Tag NetworkManager-0.2
20517
20518 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20519
20520         * initscripts/Makefile.am
20521         * configure.in: Make pass distcheck
20522
20523         * po/ChangeLog: added
20524
20525 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20526
20527         * panel-applet/NMWirelessApplet.c
20528                 - Remove debugging code
20529                 - Enable device switching from menus
20530
20531         * panel-applet/NMWirelessAppletDbus.[ch]
20532                 - Method for asking NM to switch devices
20533
20534         * src/NetworkManagerDevice.c
20535                 - Set dev->activating earlier, avoids race between
20536                         the dbus signal of "DeviceActivating" and setting
20537                         dev->activating (which is what NM's "status" method call
20538                         looks at)
20539
20540 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20541
20542         * panel-applet/NMWirelessApplet.[ch]
20543                 - Rework menu code to add devices to menu, and to show
20544                         signal strength for each access point.  Code cleanups
20545                         too.
20546
20547         * panel-applet/NMWirelessAppletDbus.c
20548                 - Grab network devices from NetworkManager too
20549                 - Grab quality information from NM for wireless networks
20550
20551         * src/NetworkManagerDbus.[ch]
20552                 - Add dbus methods for getting the HAL UDI from a device and
20553                         for getting its base quality, if its wireless
20554                 - Consolidate some functions (wireless network notifications,
20555                         device notifications)
20556                 - Add method for requesting NM to use a particular device
20557
20558         * src/NetworkManager.c
20559                 - Change for function consolidations from NetworkManagerDbus.c
20560                 - Implement active device locking and user-requested devices
20561                         (ie, tell NM to use a particular device instead of the one
20562                         it autochose)
20563
20564         * src/NetworkManagerDevice.c
20565                 - Add method for getting the base quality of a device, if its
20566                         wireless
20567                 - Grab device base quailty info from iwlib during scans
20568
20569         * src/NetworkManagerPolicy.c
20570                 - Use a user-requested device rather than the auto-chosen device
20571                         if we are told to
20572
20573 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20574
20575         * Makefile.am: add po as a supdir
20576
20577         * autogen.sh: use gnome-autogen.sh
20578
20579         * initscript/Gentoo/.cvsignore:
20580         * initscript/RedHat/.cvsignore: Shut up cvs
20581
20582         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20583
20584         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20585         (nmwa_fill): Use gettext.
20586
20587         * configure.in: add gettext support
20588         * po/.cvsignore:
20589         * po/NetworkManager.pot:
20590         * po/POTFILES.in:
20591
20592 2004-08-26  Seth Nickell  <seth@gnome.org>
20593
20594         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20595         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20596         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20597         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20598         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20599         * panel-applet/NMWirelessApplet.h:
20600
20601         Use a menu bar instead of a button for the main clickable
20602         thingy.
20603         
20604 2004-08-25  Dan Williams <dcbw@redhat.com>
20605
20606         * src/NetworkManagerDevice.c
20607                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20608                         turning encryption off, because the Cisco driver doesn't associate
20609                         with WEP-enabled access points unless we are in "open"
20610
20611 2004-08-25  Dan Williams <dcbw@redhat.com>
20612
20613         * src/NetworkManagerWireless.c
20614                 - Don't try to defererence blank passphrases
20615
20616 2004-08-25  Dan Williams <dcbw@redhat.com>
20617
20618         * panel-applet/NMWirelessApplet.c
20619                 - Rebuild the menu whenever a user clicks
20620
20621 2004-08-25  Dan Williams <dcbw@redhat.com>
20622
20623         * panel-applet/NMWirelessApplet.c
20624                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20625                         when NM isn't around or when its not connected
20626
20627         * src/NetworkManagerDevice.c
20628                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20629                         canceled.
20630
20631 2004-08-25  Dan Williams <dcbw@redhat.com>
20632
20633         * panel-applet/NMWirelessAppletDbus.c
20634                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20635                         for getting encryption, and don't stop on "val" once we've gotten it
20636                         from NetworkManager.  Short form:  encryption should now show up.
20637
20638 2004-08-25  Dan Williams <dcbw@redhat.com>
20639
20640         * panel-applet/NMWirelessApplet.c
20641                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20642                         network to associate with
20643
20644 2004-08-25  Dan Williams <dcbw@redhat.com>
20645
20646         * panel-applet/*
20647                 - Rework the panel applet to do all DBUS communication in a separate
20648                         thread
20649
20650 2004-08-25  Dan Williams <dcbw@redhat.com>
20651
20652         * info-daemon/NetworkManagerInfo.[ch]
20653                 - Remove "get_next_priority" function
20654
20655         * info-daemon/NetworkManagerInfoDbus.[ch]
20656                 - Convert "priority" functions to "timestamp"
20657
20658 2004-08-25  Dan Williams <dcbw@redhat.com>
20659
20660         * src/NetworkManagerAP.[ch]
20661                 - Add a "enc_method_good" member and accessors to an Access Point
20662                         to signal when we've found the correct encryption method
20663                         for an access point
20664                 - Add a "timestamp" member and accessors, remove "priority" member
20665                         and accessors (use timestamps instead)
20666                 - Rename "wep_key"->"enc_key"
20667                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20668                         for a specified encryption method using the access points
20669                         source encryption key/passphrase
20670
20671         * src/NetworkManagerAPList.c
20672                 - When updating a network with dbus, grab timestamp now instead of
20673                         priority
20674
20675         * src/NetworkManagerDBus.[ch]
20676                 - Add signal for "DeviceActivating"
20677                 - Switch priority->timestamp
20678
20679         * src/NetworkManagerDevice.c
20680                 - Change references of "wep_key" -> "enc_key" or "key"
20681                 - Signal DeviceActivating when starting activation
20682                 - When activating a wireless device, if the access point we are connecting
20683                         to is encrypted, and we have a source key, try to generate a mangled
20684                         key and use that (ie, generate real WEP key from a passphrase)
20685                 - Rework device activation to fallback to other encryption methods if
20686                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20687                         first, then if that doesn't work fall back to direct hex key).
20688                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20689                         priority.  We now prefer the latest access point used, rather than using
20690                         a priority scheme
20691                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20692                         points we've just discovered, and merge in correct info from the global
20693                         access point lists
20694
20695 2004-08-25  Seth Nickell  <seth@gnome.org>
20696
20697         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20698         Debian support.
20699         
20700         * src/Makefile.am:
20701         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20702         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20703         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20704         (nm_system_delete_default_route),
20705         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20706         (nm_system_load_device_modules):
20707
20708 2004-08-24  Dan Willemsen <dan@willemsen.us>
20709
20710         * src/NetworkManager.c
20711           src/backends/NetworkManagerGentoo.c
20712           src/backends/NetworkManagerRedHat.c
20713           src/backends/NetworkManagerSystem.h
20714                 - Implement preliminary Gentoo support, adding a
20715                         nm_system_init function to the backend specification
20716
20717         * configure.in
20718                 - Distribution auto-detection, lowercase any user-fed
20719                         distribution names
20720
20721         * initscript/.cvsignore
20722           initscript/Makefile.am
20723           initscript/RedHat/Makefile.am
20724           initscript/RedHat/NetworkManager
20725           initscript/Gentoo/Makefile.am
20726           initscript/Gentoo/NetworkManager
20727                 - Refactored initscript code separately for each
20728                         distribution
20729
20730 2004-08-23  Dan Williams <dcbw@redhat.com>
20731
20732         * configure.in
20733           src/Makefile.am
20734           src/NetworkManagerDevice.c
20735           src/NetworkManager.c
20736           src/NetworkManagerUtils.[ch]
20737           src/backends/NetworkManagerSystem.h
20738           src/backends/NetworkManagerRedHat.c
20739           src/backends/NetworkManagerGentoo.c
20740                 - Refactor system-specific code into separate backends for
20741                         each distribution
20742
20743 2004-08-23  Dan Willemsen <dan@willemsen.us>
20744
20745         * dispatcher-daemon/NetworkManagerDispatcher.c
20746           info-daemon/NetworkManagerInfo.[ch]
20747           info-daemon/NetworkManagerInfoDbus.c
20748           info-daemon/NetworkManagerInfoPassphraseDialog.c
20749           src/NetworkManager.c
20750           src/NetworkManagerAP.c
20751           src/NetworkManagerAPList.c
20752           src/NetworkManagerDbus.c
20753           src/NetworkManagerDevice.c
20754           src/NetworkManagerPolicy.c
20755           src/NetworkManagerUtils.[ch]
20756           src/NetworkManagerWireless.c
20757                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20758
20759         * src/NetworkManager.c
20760                 - Fixed usage wording for --no-daemon
20761
20762 2004-08-23  Dan Williams <dcbw@redhat.com>
20763
20764         * panel-applet/NMWirelessApplet.c
20765                 - Update our state every second to get more responsive panel icon
20766                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20767                         was causing our marching ants status blips to never move when
20768                         looking for a wireless network
20769
20770         * src/NetworkManagerDevice.c
20771                 - (nm_device_activation_begin): return if activation has already begun
20772                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20773                         trusted/preferred network into the device's access point when the
20774                         scan list is processed
20775
20776 2004-08-23  Dan Williams <dcbw@redhat.com>
20777
20778         * initscript/NetworkManager
20779                 - Use NMLaunchHelper rather than sleeping
20780
20781         * initscript/NMLaunchHelper.c
20782           Makefile.am
20783                 - Add helper program that exits only when NM activates a device,
20784                         or 10 seconds have passed, whichever happens first.  This
20785                         stops the boot processes until we have a network connection,
20786                         which NM can't do because it daemonizes and brings the connection
20787                         up in the background.  Allows stuff like NFS to not die.
20788
20789 2004-08-20  Dan Williams <dcbw@redhat.com>
20790
20791         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20792                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20793                         for a network, set the essid as well since it may not exist yet
20794                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20795                         since WEP keys/passphrases are long and prone to entry-error
20796
20797         * panel-applet/Makefile.am
20798           panel-applet/wired.png
20799                 - Add (pulled from system-config-network temporarily)
20800
20801         * panel-applet/NMWirelessApplet.[ch]
20802                 - Show wired picture when a wired connection is used
20803                 - Rename wireless icon enums, adding WIRELESS
20804
20805         * src/NetworkManagerDevice.c
20806                 - (nm_device_activate_wireless): unset encryption before bringing
20807                         down the card and setting the essid
20808                 - (nm_device_activatin_worker): request a key from the user if the
20809                         AP we are connecting to is encrypted but we don't have a key
20810                         for it yet
20811                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20812                         strcmp() that prevented a user-entered key from actually getting
20813                         used
20814
20815 2004-08-16  Dan Williams <dcbw@redhat.com>
20816
20817         * initscript/NetworkManager
20818                 - Check for /sbin/ip
20819                 - Do sysctl magic that network service does
20820                 - sleep 4s after start to allow network time to come up [hack]
20821
20822         * src/Makefile.am
20823           src/NMLoadModules
20824                 - Load all network device kernel modules (hal doesn't know devices
20825                         are ethernet until the module is loaded, and therefore we don't know)
20826
20827         * src/NetworkManager.c
20828                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20829                         network devices, and bring up the loopback device explicitly
20830
20831         * src/NetworkManagerUtils.[ch]
20832                 - (nm_enable_loopback): new function
20833
20834 2004-08-13  Dan Williams <dcbw@redhat.com>
20835
20836         * configure.in
20837           panel-applet/Makefile.am
20838                 - Fix up cleanfiles and server_DATA/server_in_files
20839
20840         * README
20841                 - Update with some comments on theory of operation
20842
20843         * CONTRIBUTING
20844           Makefile.am
20845                 - Add CONTRIBUTING
20846
20847 2004-08-12  Dan Williams <dcbw@redhat.com>
20848
20849         * info-daemon/passphrase.glade
20850                 - Set window title to " "
20851
20852         * panel-applet/Makefile.am
20853           panel-applet/keyring.png
20854                 - Deliver to correct place
20855
20856         * panel-applet/NMWirelessApplet.[ch]
20857                 - Add comments
20858                 - Remove applet->have_active_device as its no longer used
20859                 - (nmwa_load_theme): load keyring.png too
20860                 - (error_dialog): remove
20861                 - (show_warning_dialog): subsume functionality of error dialog too
20862                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20863                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20864                         the networks menu
20865                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20866                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20867                         and when we get broadcasts of changed wireless access points only, not when the
20868                         user clicks on the button to display the menu (too long of a wait)
20869                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20870                         networks that are encrypted
20871                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20872                         menu item with g_object_set_data()
20873
20874         * panel-applet/NMWirelessAppletDbus.[ch]
20875                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20876                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20877                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20878                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20879                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20880                         activation/deactivation signals and rebuild the menu when they happen
20881
20882         * src/NetworkManager.c
20883                 - (main): use new nm_spawn_process() rather than system()
20884
20885         * src/NetworkManagerDbus.c
20886                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20887                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20888                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20889                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20890                         to freeze the best_ap.
20891
20892         * src/NetworkManagerDevice.[ch]
20893                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20894                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20895                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20896                         ap list
20897
20898         * src/NetworkManagerUtils.[ch]
20899                 - (nm_spawn_process): add replacement for system() usage
20900
20901 2004-08-11  Dan Williams <dcbw@redhat.com>
20902
20903         * panel-applet/NMWirelessApplet.[ch]
20904                 - Fix up copyright and credits to include Bastien and Eskil,
20905                         who created the gnome-applets wireless applet, from whose
20906                         skeleton this one was created
20907                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20908                         pixmap to draw is computed during nmwa_update_state()
20909                 - Applet now shows itself all the time due to panel packing issues
20910                         which caused the applet to previously never come back after hiding.
20911                         When a wired device is the active device, the applet shows "not connected"
20912
20913         * panel-applet/NMWirelessAppletDbus.[ch]
20914                 - Clean up error messages and show what function they are from
20915                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20916                 - Add new device type getters, and a status getter
20917
20918         * src/NetworkManagerDbus.c
20919                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20920                         network is actually in the device's ap list
20921                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20922
20923         * src/NetworkManagerDevice.c
20924                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20925                         card
20926
20927         * test/nmclienttest.c
20928                 - Report status of NetworkManager too
20929
20930 2004-08-11  Dan Williams <dcbw@redhat.com>
20931
20932         * info-daemon/NetworkManagerInfo.c:
20933                 - (main): clean up Seth's code style
20934
20935         * info-daemon/NetworkManagerInfoDbus.c:
20936                 - Use the more aptly-named path/service/interface constants from NetworkManager
20937                 - Don't return empty strings ("") as object paths ever, instead return errors
20938
20939         * panel-applet/NMWirelessApplet.c:
20940                 - Clean up Seth's code style
20941
20942         * src/NetworkManager.[ch]
20943                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20944                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20945
20946         * src/NetworkManagerAPList.[ch]
20947                 - Move Iter struct right above the iter functions to preserve opacity
20948                 - (nm_ap_list_remove_ap): implement
20949                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20950                         remove AP if NetworkManagerInfo doesn't know anything about it
20951                 - (nm_ap_list_diff): user NMAPList iterators
20952                 - (nm_ap_list_print_members): implement debugging function
20953
20954         * src/NetworkManagerDbus.[ch]
20955                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20956                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20957                         and move the actual key setting stuff into NetworkManagerDevice.c
20958                 - (nm_dbus_get_network_priority): return -1 now on errors
20959                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20960                         get lost, and force the active device to update its "best" ap when AP lists change
20961                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20962                         method call due to pending_device member removal
20963
20964         * src/NetworkManagerDevice.[ch]
20965                 - Move NMDevice structure to the top
20966                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20967                 - Remove Pending Action stuff from everywhere
20968                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20969                         activation for us.  This thread blocks until all conditions for activation have
20970                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20971                         then setup up the interface and runs dhclient.  We have to do this because there
20972                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20973                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20974                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20975                         can tell nm_device_activation_worker() that we've got a key
20976                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20977                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20978                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20979                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20980
20981         * src/NetworkManagerPolicy.c
20982                 - Remove anything to do with pending_device
20983                 - Adjust device activation to deal with activation-in-worker-thread
20984
20985         * src/NetworkManagerUtils.c
20986                 - Clean up locking debugging a bit
20987
20988         * src/NetworkManagerWireless.[ch]
20989                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20990                         was badly named and is better as a device function
20991
20992         * panel-applet/.cvsignore: add
20993
20994 2004-08-09  Seth Nickell  <seth@gnome.org>
20995
20996         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20997         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20998         (nmwa_new):
20999         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21000
21001         Don't load the menus until clicked on (also removes a call outside
21002         normal code paths at first load).
21003
21004         Hide applet when NM is not present.
21005         
21006         Improve printf debugging stuff.
21007         
21008 2004-08-09  Dan Williams <dcbw@redhat.com>
21009
21010         * dispatcher-daemon/NetworkManagerDispatcher.c:
21011                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21012                 - Use constants for NetworkManager interface, service, and path
21013
21014 2004-08-09  Dan Williams <dcbw@redhat.com>
21015
21016         * src/NetworkManagerDbus.c:
21017                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21018                         instead return an error message
21019                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21020                         on a wired device.  Also never return an empty object path, instead return an error message
21021
21022 2004-08-06  Seth Nickell  <seth@gnome.org>
21023
21024         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21025
21026         Check the error code when getting a connection.
21027         
21028         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21029
21030         Check if the NM service exists when initializing (rather than
21031         assuming it does not).
21032         
21033         * src/NetworkManagerDbus.c: (nm_dbus_init):
21034
21035         Don't acquire the well-known service name until we have
21036         registered object/path handlers and can actually receive
21037         calls.
21038         
21039 2004-08-06  Dan Williams <dcbw@redhat.com>
21040
21041         * panel-applet/*
21042                 - Add panel applet
21043
21044         * src/NetworkManagerPolicy.c
21045           src/NetworkManager.c
21046                 - Get access point lists from NetworkManagerInfo on-demand,
21047                         and look for ServiceCreate/ServiceDeleted signals to see when
21048                         we should query NMI for lists
21049         * src/NetworkManagerAPList.c
21050                 - Make sure to init the list's mutex
21051                 - Convert traversals of the list over to the list iter functions
21052
21053         * src/NetworkManagerDbus.[ch]
21054                 - Use more aptly-named path/service/interface constants
21055                 - Treat both active and pending devices the same for "getActiveDevice"
21056                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21057
21058         * src/NetworkManagerDevice.c
21059                 - Honor "ignored" network list when picking best ap to use
21060
21061 2004-08-06  Seth Nickell  <seth@gnome.org>
21062
21063         * aclocal.m4:
21064
21065         Autogenerated, remove from CVS.
21066         
21067         * autogen.sh:
21068
21069         Don't hardcode automake version.
21070         
21071         * configure.in:
21072         * info-daemon/Makefile.am:
21073         * info-daemon/NetworkManagerInfo.c: (main):
21074
21075         Use GnomeProgram et al. for doing session management.
21076         Use popt stuff for argument parsing rather than doing
21077         it manugally.
21078         
21079 2004-08-05  Dan Williams <dcbw@redhat.com>
21080
21081         * test/nminfotest.c
21082                 - Update to new NMI dbus API, check different network types
21083
21084         * info-daemon/NetworkManagerInfoDbus.c
21085                 - Update to new NM dbus API, ie network type sent in query message
21086
21087 2004-08-05  Dan Williams <dcbw@redhat.com>
21088
21089         * An assload of changes
21090
21091 2004-08-02  Dan Williams <dcbw@redhat.com>
21092
21093         * TODO
21094                 - new task: proper logging support
21095
21096         * info-daemon/NetworkManagerInfo.c
21097                 - Correct spelling of "canceled"
21098                 - Correct casting of objects for g_signal_connect()
21099
21100         * info-daemon/NetworkManagerInfoDbus.c
21101                 - Add defines for NetworkManager namespace and object path, and use them
21102                 - Add filter function to trap new signals from NetworkManager:
21103                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21104
21105         * info-daemon/passphrase.glade
21106                 - Change name of "ok" button to "Login to Network..."
21107                 - Mark invisible
21108
21109         * src/NetworkManager.c
21110                 - Code and debug message cleanups
21111                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21112                 - (nm_add_initial_devices) Check returned string array of devices
21113                         and don't try to add devices if array is NULL
21114                 - (main) Initialize libhal a bit later, make code a bit clearer
21115
21116         * src/NetworkManagerAP.[ch]
21117                 - New accessor and data member "matched": used to speed up AP list
21118                         diffing
21119                 - New accessor and data member "enc_method": will be used during key
21120                         fallback to cache which passphrase->key conversion actually works
21121                         so we don't have to do it every time
21122
21123         * src/NetworkManagerAPList.[ch]
21124                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21125                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21126                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21127                         dbus in response to those differences
21128
21129         * src/NetworkManagerDbus.[ch]
21130                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21131                         make an object path for that access point (NOTE that we don't yet check to
21132                         make sure that access point is actually in the device's AP list yet)
21133                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21134                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21135                         New: signal appearance/disappearance of wireless networks
21136                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21137                         key entry
21138
21139         * src/NetworkManagerDevice.[ch]
21140                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21141                 - (nm_device_ap_list_get) New: return the AP list (static function)
21142                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21143                         new one resulting from the scan with the old one
21144
21145         * src/NetworkManagerWireless.c
21146                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21147
21148         * test/nminfotest.c
21149                 - #define object paths and namespaces and use the #defines rather than static strings
21150                 - Test out user-key functionality of NetworkManagerInfo too
21151
21152 2004-07-29  Dan Williams <dcbw@redhat.com>
21153
21154         * info-daemon/NetworkManagerInfoDbus.c
21155           src/NetworkManagerDbus.c
21156                 - Update to current DBus (ie don't use decomposed paths when registering
21157                         object paths/fallbacks)
21158
21159 2004-07-27  Dan Williams <dcbw@redhat.com>
21160
21161         * Remove various Makefile.in files
21162
21163         * TODO
21164                 - Add some more items
21165
21166         * configure.in
21167                 - Add checks for OpenSSL/md5 headers and libs
21168
21169         * src/Makefile.am
21170                 - Use OpenSSL CFLAGS
21171
21172         * src/NetworkManagerAP.[ch]
21173                 - Remove 'stamp' functions, replace with 'invalid' functions
21174                         to support user cancelling WEP key entry
21175
21176         * src/NetworkManagerDbus.c
21177                 - Remove 'stamp' return functions
21178                 - Treat returned user key as a passphrase and convert to a WEP key,
21179                         but don't actually use the WEP key yet.  We use the returned user
21180                         key as a hexadecimal WEP key until we can figure out a UI for
21181                         passphrase-vs-hex key
21182
21183         * src/NetworkManagerWireless.[ch]
21184                 - Add passphrase-to-128bit-key function
21185
21186 2004-07-27  Dan Williams <dcbw@redhat.com>
21187
21188         * TODO
21189                 - Add a couple of items
21190
21191 2004-07-27  Dan Williams <dcbw@redhat.com>
21192
21193         * info-daemon/NetworkManagerInfo.c
21194                 - Update allowed network's GConf key when user enters a WEP key explicitly
21195
21196         * info-daemon/NetworkManagerDbus.c
21197                 - Fix some comments
21198                 - nmi_dbus_get_allowed_networks(): kill warning
21199
21200 2004-07-27  Dan Williams <dcbw@redhat.com>
21201
21202         * initscript/Makefile.in
21203                 - Remove
21204
21205         * initscript/Makefile.am
21206                 - Add correct rules to install the init.d initscript
21207
21208         * info-daemon/NetworkManagerInfoDbus.c
21209                 - Remove debug fprintf
21210
21211         * src/NetworkManagerDbus.[ch]
21212                 - Remove debug fprintfs
21213                 - Add macros for NetworkManagerInfo object path/namespace
21214                 - Use said macros instead of constant strings
21215
21216 2004-07-27  Dan Williams <dcbw@redhat.com>
21217
21218         * initscript/.cvsignore
21219                 - Add
21220
21221         * info-daemon/Makefile.am
21222                 - Install .glade files and keyring.png
21223                 - Fix stupid omission of a \ that caused half the flags not to be
21224                         passed to gcc
21225
21226         * info-daemon/NetworkManagerInfo.c
21227                 - gtk_signal_connect->g_signal_connect
21228                 - Alert NetworkManagerInfo to new glade file location
21229
21230 2004-07-27  Dan Williams <dcbw@redhat.com>
21231
21232         * test/nmclienttest.c
21233           test/nminfotest.c
21234                 - Add missing <dbus/dbus.h> headers
21235                 - Add GPL message at top
21236
21237 2004-07-27  Dan Williams <dcbw@redhat.com>
21238
21239         * src/NetworkManagerAPList.[ch]
21240           src/Makefile.am
21241                 - Add.  Deal with allowed network list additions, deletions, and updates
21242
21243         * dispatcher-daemon/NetworkManagerDispatcher.c
21244                 - Add missing <dbus/dbus.h> header
21245
21246         * info-daemon/NetworkManagerInfo.[ch]
21247                 - Add missing <dbus/dbus.h> header
21248                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21249                         network change
21250                 - Better error checking
21251
21252         * info-daemon/NetworkManagerInfoDbus.[ch]
21253                 - Add missing <dbus/dbus.h> header
21254                 - Convert to using dbus_message_append_args/dbus_message_get_args
21255                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21256                         that an allowed network changed.  We don't want to signal on individual
21257                         keys _inside_ an allowed network really, just want NM to query the info
21258                         daemon for updated info on all keys.
21259                 - Better error checking
21260
21261         * src/NetworkManager.[ch]
21262                 - Add missing <dbus/dbus.h> header
21263                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21264                 - Zero out NMData structure on free
21265                 - No longer use a thread for allowed_ap_list updating, instead its now done
21266                         through dbus queries against NetworkManagerInfo
21267                 - Populate allowed_ap_list initially before adding existing network devices
21268                         to the device list, so wireless devices can get their "best" AP
21269
21270         * src/NetworkManagerDbus.[ch]
21271                 - Convert to using dbus_message_append_args/dbus_message_get_args
21272                 - Better error checking
21273                 - Implement Allowed Network info functions to request allowed network
21274                         info from NetworkManagerInfo
21275                 - Implement the filter function to process signals from NetworkManagerInfo
21276                         about changing allowed networks
21277
21278         * src/NetworkManagerDevice.c
21279                 - Fix file descriptor leak in nm_device_update_ip4_address()
21280
21281 2004-07-27  Dan Williams <dcbw@redhat.com>
21282
21283         * .cvsignore
21284           src/.cvsignore
21285           test/.cvsignore
21286           dispatcher-daemon/.cvsignore
21287           info-daemon/.cvsignore
21288                 - Add .cvsignore files to reduce noise when diffing
21289
21290 2004-07-24  Dan Williams <dcbw@redhat.com>
21291
21292         * src/NetworkManager.[ch]
21293           src/NetworkManagerDbus.[ch]
21294           src/NetworkManagerDevice.[ch]
21295           src/NetworkManagerPolicy.c
21296           src/NetworkManagerWireless.[ch]
21297                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21298                 - Pass the NMData application data structure through all calls
21299                         that need it so we can get rid of nm_get_global_data()
21300                 - Change deallocation of the allowed_ap_list GSList in preparation
21301                         for not completely clearing it every time we get an update,
21302                         but instead getting incremental updates via GConf/dbus
21303
21304 2004-07-22  Dan Williams <dcbw@redhat.com>
21305
21306         * configure.in
21307                 - Add checks for GConf libs & headers & flags
21308
21309         * info-daemon/Makefile.am
21310                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21311
21312         * info-daemon/NetworkManagerInfo.[ch]
21313                 - Don't use gquarks for data storage, just use normal data storage
21314                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21315
21316         * info-daemon/NetworkManagerDbus.[ch]
21317                 - Add method call for getting allowed networks
21318                 - Add method calls for getting an allowed network's essid, priority, and key
21319                 - Hook the method calls up to GConf
21320                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21321                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21322                 
21323         * src/NetworkManagerDbus.[ch]
21324                 - Switch for enumeration of networks to using essid instead
21325
21326         * test/Makefile.am
21327           test/nminfotest.c
21328                 - Add test program for NetworkManagerInfo
21329
21330 2004-07-19  Dan Williams <dcbw@redhat.com>
21331
21332         * src/NetworkManagerDbus.c
21333                 - Switch from indexed device paths to names.  Less code, more efficient.
21334                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21335
21336 2004-07-19  Dan Williams <dcbw@redhat.com>
21337
21338         * dispatcher-daemon/NetworkManagerDispatcher.c
21339                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21340
21341 2004-07-19  Dan Williams <dcbw@redhat.com>
21342
21343         * Makefile.am
21344                 - Add info-daemon directory
21345
21346         * configure.in
21347                 - Check for glade libs and headers
21348                 - Add info-daemon directory
21349
21350         * src/NetworkManagerAP.c
21351                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21352                         copied over to the new AP.
21353
21354         * src/NetworkManagerDbus.c
21355           src/NetworkManagerDbus.h
21356                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21357                 - Remove nm_dbus_signal_need_key_for_network()
21358                 - Add disabled code for asynchronous user wep key callbacks
21359                 - Add functions for getting, setting, and cancelling user key operations
21360                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21361                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21362
21363         * src/NetworkManagerDevice.c
21364           src/NetworkManagerDevice.h
21365                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21366                         logic is in device activation now
21367                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21368                         key is wrong) trigger get-user-key pending action
21369                 - Implement get-user-key pending action stuff, tie to dbus messages
21370                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21371                 - Add nm_device_ap_list_get_ap_by_essid()
21372                 - Instead of copying "best" access points, ref them instead so that the key we set
21373                         sticks around
21374
21375         * src/NetworkManagerPolicy.c
21376                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21377                 - Don't cancel pending actions on a device if its the same device as last iteration
21378                 - Only promote pending_device->active_device if activation was successfull
21379
21380         * src/Makefile.am
21381                 - Rename nmclienttest->nmtest
21382
21383         * info-daemon/Makefile.am
21384           info-daemon/NetworkManagerInfo.c
21385           info-daemon/NetworkManagerInfo.h
21386           info-daemon/NetworkManagerInfoDbus.c
21387           info-daemon/NetworkManagerInfoDbus.h
21388           info-daemon/passphrase.glade
21389           info-daemon/NetworkManagerInfo.conf
21390           info-daemon/keyring.png
21391                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21392                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21393                         lists to NetworkManager by proxying user's GConf
21394           
21395
21396 2004-07-15  Dan Williams <dcbw@redhat.com>
21397
21398         * src/Makefile.am
21399                 - Turn on warnings
21400
21401         * src/NetworkManager.c
21402                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21403                         that doing the deactivation ourselves
21404                 - Cancel an pending actions on a device if its being removed
21405                 - Break up link state checking a bit, make non-active wireless cards
21406                         deactivated to save power
21407                 - Remove unused variables
21408
21409         * src/NetworkManager.h
21410                 - Add support for "pending" device
21411
21412         * src/NetworkManagerAP.h
21413           src/NetworkManagerAP.c
21414                 - Add support for determining whether and AP has encryption enabled or not
21415                 - AP address is now "struct ether_addr" rather than a string
21416
21417         * src/NetworkManagerDbus.h
21418           src/NetworkManagerDbus.c
21419                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21420                 - Changes for AP address from struct ether_addr->string
21421
21422         * src/NetworkManagerDevice.h
21423           src/NetworkManagerDevice.c
21424                 - Remove unused variables, fix warnings
21425                 - Add support for Pending Actions (things that block a device from being "active"
21426                         until they are completed).
21427                 - First pending action:  Get a WEP key from the user
21428                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21429                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21430                 - Update wireless link checking to try to determine if the AP we are associated
21431                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21432                         trigger the GetUserKey pending action on the device
21433                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21434                         up in that case, otherwise we can't scan or link-check on it
21435                 - Add IP address change notifications at appropriate points (still needs some work)
21436                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21437
21438         * src/NetworkManagerPolicy.h
21439           src/NetworkManagerPolicy.c
21440                 - Split out "best" access point determiniation into separate function
21441                 - Make device activation 2-stage:  first the device is pending, then
21442                         in the next iteration through it becomes "active" unless it has
21443                         pending actions
21444
21445         * src/NetworkManagerUtils.h
21446           src/NetworkManagerUtils.c
21447                 - Clean up unused variables and warnings
21448                 - Wrap our debug macros in {} to prevent possible confusion
21449
21450         * src/NetworkManagerWireless.c
21451                 - Forgot to return current best priority, which lead to last available AP always
21452                         being chosen no matter what its priority was.  Corrected.
21453
21454 2004-07-15  Dan Williams <dcbw@redhat.com>
21455
21456         * dispatcher-daemon/Makefile.am
21457                 - Turn on warnings
21458
21459         * dispatcher-daemon/NetworkManagerDispatcher.c
21460                 - Remove unused variables due to warnings
21461                 - Fix some comments
21462                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21463
21464 2004-07-06  Dan Williams <dcbw@redhat.com>
21465
21466         * src/NetworkManager.c
21467                 - Add IPv4 address update for active device during link state check
21468                 - Don't allow wireless cards to be powered up when they are not the
21469                         active device
21470
21471         * src/NetworkManagerDbus.c
21472           src/NetworkManagerDbus.h
21473                 - Add DBUS IPv4 address change signal
21474                 - Add DBUS IPv4 address get method for devices
21475
21476         * src/NetworkManagerDevice.c
21477                 - Make setting the WEP key actually work
21478                 - Move IP address get/set/update stuff here, per-device
21479                 - Power down/bring down wireless device when deactivated
21480                 - For scanning wireless devices, if first scan returned ENODATA, try again
21481
21482         * src/NetworkManagerPolicy.c
21483                 - Only set the WEP key for an allowed access point if there is one.
21484                         We were setting it to be blank if one wasn't specified.
21485
21486         * src/NetworkManagerUtils.h
21487           src/NetworkManagerUtils.c
21488                 - Move the IP address stuff to NetworkManagerDevice.c
21489
21490         * dispatcher-daemon/NetworkManagerDispatcher.c
21491                 - Add device IPv4 address change notification stuff
21492
21493 2004-07-05  Dan Williams <dcbw@redhat.com>
21494
21495         * dispatcher-daemon/NetworkManagerDispatcher.c
21496                 - A bit more descriptive state message
21497                 - Don't segfault when reading directory
21498
21499         * src/NetworkManager.h
21500                 - Remove NMData desired_ap member, its now
21501                         per-device rather than global
21502
21503         * src/NetworkManager.c
21504                 - Remove references to desired_ap
21505                 - Move the allowed AP list refresh stuff into a thread
21506
21507         * src/NetworkManagerDevice.c
21508           src/NetworkManagerDevice.h
21509                 - Each wireless device now has a "best ap"
21510                 - Make device activate/deactivate functions per-device
21511                 - Make wireless scanning per-device
21512                 - Add IPv4 address discover functions, stub IPv6 ones
21513                 - Move ethernet address validation functions to NetworkManagerUtils.c
21514                 - Add wireless access point accessor function
21515                 - Get/Set functions for "best ap"
21516
21517         * src/NetworkManagerPolicy.c
21518                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21519                 - Deal with per-device "best ap" rather than data->desired_apa
21520                 - Implement allowed access point worker thread
21521                 - Add nm_policy_essid_is_allowed() function
21522
21523         * src/NetworkManagerUtils.c
21524           src/NetworkManagerUtils.h
21525                 - Add nm_ethernet_address_is_valid() function
21526                 - Add IPv4/IPv6 address get functions
21527
21528         * src/NetworkManagerWireless.c
21529           src/NetworkManagerWireless.h
21530                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21531
21532 2004-06-29  Dan Williams <dcbw@redhat.com>
21533
21534         * dispatcher-daemon/NetworkManagerDispatcher.c
21535                 - Implement script callout functionality
21536
21537 2004-06-24  Dan Williams <dcbw@redhat.com>
21538
21539         * NetworkManager.c
21540             - Spacing cleanups
21541             - Flush device routes and ip addresses when added to the device list
21542
21543         * NetworkManagerDbus.c
21544             - Spacing cleanups
21545             - Add missing returns in the two signal functions
21546         
21547         * NetworkManagerPolicy.c
21548             - Spacing and variable cleanups
21549
21550 2004-06-24  Dan Williams <dcbw@redhat.com>
21551
21552         * Makefile.am
21553           Makefile.in
21554           configure.in
21555           dispatcher-daemon/Makefile.am
21556           dispatcher-daemon/Makefile.in
21557           dispatcher-daemon/NetworkManagerDispatcher.c
21558             - Add a daemon that receives signals from NetworkManager
21559                         and will (eventually) call scripts in /etc/somewhere
21560                         when devices go up or down.
21561         
21562         * NetworkManager.c
21563             - Spacing cleanups
21564             - Flush device routes and ip addresses when added to the device list
21565
21566         * NetworkManagerDbus.c
21567             - Spacing cleanups
21568             - Add missing returns in the two signal functions
21569         
21570         * NetworkManagerPolicy.c
21571             - Spacing and variable cleanups
21572             - Rename nm_policy_switch_interface->nm_policy_switch_device
21573             - nm_policy_switch_device():
21574                                 Use kill (pid) instead of system ("kill <pid>")
21575             - nm_state_modification_monitor():
21576                                 Add wireless essid to output of debug statements
21577                                 Correct typo in device compare to switch or not (should be !=)
21578                                 Don't sleep after sending "no longer active" signal, was useless
21579
21580 2004-06-24  Dan Williams <dcbw@redhat.com>
21581
21582         * Initial import