2008-10-30 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-30  Dan Williams  <dcbw@redhat.com>
2
3         Patch from Alexander Sack <asac@canonical.com>
4
5         Fix "ppp connections don't honour ip4 connection settings"
6
7         * src/nm-device-ethernet.c
8                 - (real_act_stage4_get_ip4_config): merge ip4config settings
9                         with results from ppp manager
10
11         * src/nm-serial-device.c
12                 - (real_act_stage4_get_ip4_config): merge ip4config settings
13                         with results from ppp manager
14
15 2008-10-29  Dan Williams  <dcbw@redhat.com>
16
17         * libnm-util/libnm-util.ver
18           libnm-util/nm-setting-ip4-config.c
19           libnm-util/nm-setting-ip4-config.h
20                 - Make properties private and add accessor functions
21
22         * callouts/nm-dispatcher-action.c
23           libnm-glib/libnm-glib-test.c
24           libnm-util/nm-utils.c
25           src/NetworkManagerPolicy.c
26           src/NetworkManagerSystem.c
27           src/NetworkManagerUtils.c
28           src/dhcp-manager/nm-dhcp-dhclient.c
29           src/dhcp-manager/nm-dhcp-manager.c
30           src/dnsmasq-manager/nm-dnsmasq-manager.c
31           src/nm-device-wifi.c
32           src/nm-device.c
33           src/nm-hso-gsm-device.c
34           src/nm-ip4-config.c
35           src/nm-ip4-config.h
36           src/ppp-manager/nm-ppp-manager.c
37           src/vpn-manager/nm-vpn-connection.c
38           system-settings/plugins/ifcfg-fedora/reader.c
39           system-settings/plugins/ifcfg-suse/parser.c
40           system-settings/plugins/ifcfg-suse/plugin.c
41           system-settings/plugins/ifupdown/parser.c
42           test/nm-tool.c
43           vpn-daemons/vpnc/properties/nm-vpnc.c
44                 - Use IP4 accessor functions
45
46 2008-10-29  Tambet Ingo  <tambet@gmail.com>
47
48         Half of it by Dan Williams <dcbw@redhat.com>
49
50         * libnm-util/libnm-util.ver
51         libnm-util/nm-setting-vpn.c
52         libnm-util/nm-setting-vpn.h
53                 - Make properties private and add accessor functions.
54
55         * src/vpn-manager/nm-vpn-connection.c
56         src/vpn-manager/nm-vpn-manager.c
57         system-settings/plugins/keyfile/reader.c
58         vpn-daemons/openvpn/properties/auth-helpers.c
59         vpn-daemons/openvpn/properties/import-export.c
60         vpn-daemons/openvpn/properties/nm-openvpn.c
61         vpn-daemons/openvpn/src/nm-openvpn-service.c
62         vpn-daemons/pptp/auth-dialog/main.c
63         vpn-daemons/pptp/properties/advanced-dialog.c
64         vpn-daemons/pptp/properties/nm-pptp.c
65         vpn-daemons/pptp/src/nm-pptp-service.c
66         vpn-daemons/vpnc/properties/nm-vpnc.c
67         vpn-daemons/vpnc/src/nm-vpnc-service.c
68                 - Use VPN setting accessors.
69
70 2008-10-28  Dan Williams  <dcbw@redhat.com>
71
72         Patch from Tambet Ingo <tambet@gmail.com>
73
74         * libnm-util/libnm-util.ver
75           libnm-util/nm-setting-wireless.c
76           libnm-util/nm-setting-wireless.h
77                 - Make properties private and add accessor functions
78
79         * src/NetworkManagerAP.c
80           src/nm-device-wifi.c
81           src/nm-manager.c
82           src/supplicant-manager/nm-supplicant-config.c
83           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
84           system-settings/plugins/ifcfg-fedora/reader.c
85           system-settings/plugins/ifcfg-suse/parser.c
86           system-settings/plugins/ifupdown/parser.c
87                 - Use wireless setting accessors
88
89 2008-10-27  Dan Williams  <dcbw@redhat.com>
90
91         Patch from Tambet Ingo <tambet@gmail.com>
92
93         * libnm-util/libnm-util.ver
94           libnm-util/nm-setting-ppp.c
95           libnm-util/nm-setting-ppp.h
96                 - Make properties private and add accessor functions
97
98         * src/ppp-manager/nm-ppp-manager.c
99                 - Use ppp setting accessors
100
101 2008-10-27  Dan Williams  <dcbw@redhat.com>
102
103         Patch from Tambet Ingo <tambet@gmail.com>
104
105         * libnm-util/nm-setting.h
106           libnm-util/nm-setting.c
107                 - Make properties private and add accessor functions
108
109         * libnm-util/nm-connection.c
110           libnm-util/nm-setting-8021x.c
111           libnm-util/nm-setting-cdma.c
112           libnm-util/nm-setting-connection.c
113           libnm-util/nm-setting-gsm.c
114           libnm-util/nm-setting-ip4-config.c
115           libnm-util/nm-setting-ip6-config.c
116           libnm-util/nm-setting-ppp.c
117           libnm-util/nm-setting-pppoe.c
118           libnm-util/nm-setting-serial.c
119           libnm-util/nm-setting-template.c
120           libnm-util/nm-setting-vpn.c
121           libnm-util/nm-setting-wired.c
122           libnm-util/nm-setting-wireless-security.c
123           libnm-util/nm-setting-wireless.c
124           system-settings/plugins/keyfile/reader.c
125           system-settings/plugins/keyfile/writer.c
126                 - Use setting accessors
127
128 2008-10-27  Dan Williams  <dcbw@redhat.com>
129
130         * libnm-util/libnm-util.ver
131           libnm-util/nm-setting-connection.c
132           libnm-util/nm-setting-connection.h
133                 - Add a 'read-only' property that indicates the connection cannot be
134                         modified
135
136         * system-settings/plugins/ifcfg-fedora/reader.c
137           system-settings/plugins/ifcfg-suse/parser.c
138           system-settings/plugins/ifupdown/parser.c
139                 - These plugins are read-only at the moment
140
141         * system-settings/plugins/keyfile/reader.c
142           system-settings/plugins/keyfile/writer.c
143                 - Read-only shouldn't get saved out to files or read in from them
144
145 2008-10-27  Tambet Ingo  <tambet@gmail.com>
146
147         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
148         correct speed reporting for fast devices (kernel >= 2.6.27).
149
150 2008-10-26  Dan Williams  <dcbw@redhat.com>
151
152         Attempt to compensate for modems that don't enable full AT parsing before
153         the PIN has been entered.
154
155         * src/nm-gsm-device.c
156                 - (init_modem): accept different init strings
157                 - (init_done): try different init strings on failure
158                 - (check_pin_done): on PIN success, do full modem init
159
160 2008-10-26  Dan Williams  <dcbw@redhat.com>
161
162         Patch from Tambet Ingo <tambet@gmail.com>
163
164         * libnm-util/libnm-util.ver
165           libnm-util/nm-setting-connection.c
166           libnm-util/nm-setting-connection.h
167                 - Make properties private and add accessor functions
168
169         * src/NetworkManagerPolicy.c
170           src/nm-cdma-device.c
171           src/nm-device-ethernet.c
172           src/nm-device-interface.c
173           src/nm-device-wifi.c
174           src/nm-gsm-device.c
175           src/nm-manager.c
176           src/ppp-manager/nm-ppp-manager.c
177           src/vpn-manager/nm-vpn-connection.c
178           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
179           system-settings/plugins/ifcfg-fedora/plugin.c
180           system-settings/plugins/ifcfg-fedora/reader.c
181           system-settings/plugins/ifcfg-suse/parser.c
182           system-settings/plugins/ifupdown/parser.c
183           system-settings/plugins/keyfile/nm-keyfile-connection.c
184           system-settings/plugins/keyfile/plugin.c
185           system-settings/plugins/keyfile/writer.c
186           system-settings/src/main.c
187                 - Use those accessors
188
189 2008-10-26  Dan Williams  <dcbw@redhat.com>
190
191         Patch from Tambet Ingo <tambet@gmail.com>
192
193         * libnm-util/libnm-util.ver
194           libnm-util/nm-setting-gsm.c
195           libnm-util/nm-setting-gsm.h
196                 - Make properties private and add accessor functions
197
198         * src/nm-gsm-device.c
199           src/nm-hso-gsm-device.c
200           src/ppp-manager/nm-ppp-manager.c
201                 - Use those accessors
202
203 2008-10-26  Dan Williams  <dcbw@redhat.com>
204
205         Patch from Tambet Ingo <tambet@gmail.com>
206
207         * libnm-util/libnm-util.ver
208           libnm-util/nm-setting-cdma.c
209           libnm-util/nm-setting-cdma.h
210                 - Make properties private and add accessor functions
211
212         * src/nm-cdma-device.c
213           src/ppp-manager/nm-ppp-manager.c
214                 - Use those accessors
215
216 2008-10-26  Dan Williams  <dcbw@redhat.com>
217
218         Patch from Tambet Ingo <tambet@gmail.com>
219
220         * libnm-util/libnm-util.ver
221           libnm-util/nm-setting-pppoe.c
222           libnm-util/nm-setting-pppoe.h
223                 - Make properties private and add accessor functions
224
225         * src/nm-device-ethernet.c
226           src/ppp-manager/nm-ppp-manager.c
227                 - Use those accessors
228
229 2008-10-26  Dan Williams  <dcbw@redhat.com>
230
231         Patch from Tambet Ingo <tambet@gmail.com>
232
233         * libnm-util/libnm-util.ver
234           libnm-util/nm-setting-wired.c
235           libnm-util/nm-setting-wired.h
236                 - Make properties private and add accessor functions
237
238         * src/nm-device-ethernet.c
239           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
240           system-settings/plugins/ifcfg-suse/parser.c
241           system-settings/src/main.c
242                 - Use those accessors
243
244 2008-10-26  Dan Williams  <dcbw@redhat.com>
245
246         Patch from Tambet Ingo <tambet@gmail.com>
247
248         * libnm-util/libnm-util.ver
249           libnm-util/nm-setting-serial.c
250           libnm-util/nm-setting-serial.h
251           src/nm-serial-device.c
252                 - Make properties private and use accessors instead
253
254 2008-10-26  Dan Williams  <dcbw@redhat.com>
255
256         * src/supplicant-manager/nm-supplicant-interface.c
257           src/supplicant-manager/nm-supplicant-interface.h
258           src/supplicant-manager/nm-supplicant-manager.c
259           src/supplicant-manager/nm-supplicant-manager.h
260                 - Add state-to-string conversion functions
261
262         * src/nm-device-wifi.c
263           src/nm-device-ethernet.c
264                 - Normalize state info logging and use strings instead of numbers
265
266 2008-10-26  Dan Williams  <dcbw@redhat.com>
267
268         * src/NetworkManagerPolicy.c
269                 - (update_routing_and_dns): ignore host routes when determining whether
270                         a VPN connection should own the default route (bgo #552594)
271
272 2008-10-24  Dan Williams  <dcbw@redhat.com>
273
274         * src/nm-gsm-device.c
275                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
276
277 2008-10-23  Dan Williams  <dcbw@redhat.com>
278
279         * src/ppp-manager/nm-ppp-manager.c
280                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
281                         add really important stuff to the command line to ensure that NM
282                         overrides /etc/ppp/options (bgo #556781)
283
284 2008-10-22  Dan Williams  <dcbw@redhat.com>
285
286         * src/NetworkManagerSystem.c
287           src/nm-device.c
288                 - Use the device's IP interface where appropriate (Per Hallsmark)
289
290 2008-10-22  Dan Williams  <dcbw@redhat.com>
291
292         * src/nm-gsm-device.c
293                 - (schedule_automatic_registration_again): use a short timeout here
294                         instead of an idle handler to avoid using too much CPU polling for
295                         something we should be waiting a bit for anyway
296
297 2008-10-22  Dan Williams  <dcbw@redhat.com>
298
299         * include/NetworkManager.h
300           introspection/nm-device.xml
301                 - Add device state change reason for carrier changes
302
303         * src/nm-device-ethernet.c
304                 - (set_carrier): use the carrier change reason when changing device
305                         state in response to carrier changes
306
307 2008-10-21  Dan Williams  <dcbw@redhat.com>
308
309         * src/NetworkManagerPolicy.c
310                 - (update_etc_hosts): don't leak errors, and ensure that
311                         g_file_set_contents() gets a valid error placeholder (rh #461933)
312
313 2008-10-21  Dan Williams  <dcbw@redhat.com>
314
315         * src/nm-manager.c
316                 - (free_get_settings_info): don't use the DBusGProxy which could be
317                         disposed of by the time the function is called
318                 - (internal_new_connection_cb): save connection scope
319                 - (connection_get_settings_cb): don't replace a connection unless it's
320                         actually different from the existing one; fixes an issue where
321                         killing the settings service wouldn't deactivate an active connection
322                         provided by that settings service, because it was using a connection
323                         that had already been replaced in the system or user hash
324
325 2008-10-21  Dan Williams  <dcbw@redhat.com>
326
327         * src/NetworkManager.c
328                 - (main): keep the DHCP manager around since it's a singleton; fixes
329                         a use-after-free exposed by r4196 since the DHCP manager singleton
330                         variable isn't cleared when the DHCP manager object is finalized
331
332 2008-10-20  Dan Williams  <dcbw@redhat.com>
333
334         * libnm-util/nm-setting-wireless-security.c
335                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
336
337 2008-10-20  Dan Williams  <dcbw@redhat.com>
338
339         * src/supplicant-manager/nm-supplicant-config.c
340                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
341
342 2008-10-20  Dan Williams  <dcbw@redhat.com>
343
344         * src/dhcp-manager/nm-dhcp-manager.c
345                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
346                         manager object already refs it once
347                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
348                         also get cleaned up by nm_dhcp_device_destroy() to prevent
349                         double-frees
350
351 2008-10-20  Dan Williams  <dcbw@redhat.com>
352
353         * src/nm-manager.c
354                 - (initial_get_connections): use private dbus manager, don't keep
355                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
356                         manager object.
357
358 2008-10-18  Dan Williams  <dcbw@redhat.com>
359
360         * libnm-glib/nm-settings.c
361           libnm-glib/nm-settings.h
362                 - Rename the "get_secrets" virtual function "service_get_secrets" to
363                         clarify when it's used; NMExportedConnetion is a base-class for both
364                         the client and service side, which is sort of confusing, and
365                         get_secrets only makes sense on the service side.
366
367         * libnm-glib/nm-dbus-connection.c
368                 - (get_secrets): remove, unused, and clients need to do extra work to
369                         get secrets anyway since the call can block on the remote side
370
371         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
372           system-settings/plugins/keyfile/nm-keyfile-connection.c
373                 - Fix up for get_secrets -> service_get_secrets
374
375 2008-10-16  Dan Williams  <dcbw@redhat.com>
376
377         * src/nm-device-wifi.c
378                 - (constructor): correctly determine encryption capabilities
379
380 2008-10-15  Dan Williams  <dcbw@redhat.com>
381
382         * src/nm-device-wifi.c
383                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
384                         (Johannes Berg)
385
386 2008-10-15  Dan Williams  <dcbw@redhat.com>
387
388         * src/NetworkManagerSystem.c
389                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
390                         if the ip4_dest is in a smaller subnet contained within a subnet
391                         the machine is currently on, the destination is in the same subnet
392                 - (nm_system_device_set_ip4_route): move subnet checks to callers
393                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
394                         subnet as the parent device, and if so, don't add the direct
395                         host route via the parent device's gateway (bgo #481620)
396                 - (nm_system_apply_ip4_config): check whether the route to be added
397                         is contained within a subnet the device is already on
398
399 2008-10-11  Dan Williams  <dcbw@redhat.com>
400
401         * include/NetworkManager.h
402           introspection/nm-device.xml
403           include/NetworkManagerVPN.h
404                 - Add a few more state reasons for the device deactivated state
405
406         * src/nm-device-interface.c
407           src/nm-device-interface.h
408                 - (nm_device_interface_deactivate): add a 'reason' argument
409
410         * src/nm-device.c
411           src/nm-device.h
412                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
413                 - (nm_device_state_changed): pass the state change reason to
414                         nm_device_take_down()
415                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
416                         to the state change function
417
418         * src/nm-manager.c
419           src/nm-manager.h
420                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
421                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
422                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
423                         something reasonable along to VPN deactivation
424
425         * src/vpn-manager/nm-vpn-manager.c
426           src/vpn-manager/nm-vpn-manager.h
427                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
428                         pass that along to nm_vpn_connection_disconnect()
429
430 2008-10-11  Dan Williams  <dcbw@redhat.com>
431
432         * src/nm-device-wifi.c
433                 - (can_scan): remove old madwifi hack for not scanning while connected
434
435 2008-10-11  Dan Williams  <dcbw@redhat.com>
436
437         Add support for VPN subnet gateways (bgo #549196)
438
439         * include/NetworkManager.h
440                 - Add key for internal VPN subnet gateway
441
442         * src/vpn-manager/nm-vpn-connection.c
443                 - (ip_address_to_string): return a const from a static buffer so we
444                         don't leak a lot of strings
445                 - (print_vpn_config): print internal VPN gateway as well
446                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
447                         VPN service too
448                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
449
450         * src/NetworkManagerSystem.c
451           src/NetworkManagerSystem.h
452                 - (nm_system_device_replace_default_ip4_route): split into two, one for
453                         VPN connections and one for normal devices
454                 - (replace_default_ip4_route): break out route stuff into its own function
455                 - (nm_system_replace_default_ip4_route_vpn,
456                    nm_system_replace_default_ip4_route): simplify by having two cases,
457                         one for VPNs and one for normal devices
458
459         * src/NetworkManagerPolicy.c
460                 - (update_routing_and_dns): simplify, use split default route replacement
461                         functions
462
463 2008-10-10  Dan Williams  <dcbw@redhat.com>
464
465         Rework default route handling to consolidate decisions in the policy,
466         and to take active VPN connections into account when changing the default
467         route (bgo #545912)
468
469         * src/NetworkManager.c
470                 - (main): pass the vpn_manager to the policy so it knows about active
471                         VPN connections; clean up the named manager which wasn't done before
472
473         * src/NetworkManagerPolicy.c
474           src/NetworkManagerPolicy.h
475                 - (nm_policy_new): get a clue about the vpn_manager
476                 - (update_default_route): remove, fold into update_routing_and_dns()
477                 - (update_routing_and_dns): handle active VPN connections too; an
478                         active VPN connection becomes the default route if it does not have
479                         server-specified or user-specified custom routes.  Otherwise, the
480                         best active device gets the default route
481                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
482                    nm_policy_destroy): track VPN connection activation and deactivation
483                         and update the default route when appropriate
484
485         * src/NetworkManagerSystem.c
486           src/NetworkManagerSystem.h
487                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
488                         in the VPN connection itself
489                 - (nm_system_vpn_device_set_from_ip4_config,
490                    nm_system_device_set_from_ip4_config): merge together to make
491                         nm_system_apply_ip4_config()
492                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
493                         via the parent device
494                 - (nm_system_apply_ip4_config): simplify
495                 - (add_ip4_route_to_gateway): new function; add a direct route to the
496                         gateway if needed
497                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
498                         route stuff out into add_ip4_route_to_gateway() for clarity
499
500         * src/nm-device.c
501                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
502
503         * src/vpn-manager/nm-vpn-connection.c
504           src/vpn-manager/nm-vpn-connection.h
505                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
506                    nm_vpn_connection_get_parent_device): add
507                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
508                         device explicit
509                 - (connection_state_changed): update the named manager now that
510                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
511                         useful on errors
512
513         * src/vpn-manager/nm-vpn-manager.c
514           src/vpn-manager/nm-vpn-manager.h
515                 - Add a 'connection-activated' signal
516                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
517                         policy to find out about active VPN connections
518
519 2008-10-10  Tambet Ingo  <tambet@gmail.com>
520
521         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
522         a daemon to prevent NM logging spew on console on startup and shutdown (due
523         to dependency loop between NM and syslog).
524
525 2008-10-10  Alexander Sack  <asac@ubuntu.com>
526
527         Implement managed mode. We bind devices configured in /etc/network/interfaces
528         to their connections by updating wired/wireless setting with the
529         mac address of the device.
530
531         * system-settings/plugins/ifupdown/plugin.c
532                 - (get_net_address_for_udi): implement function to retrieve MAC
533                         address of udi from hal in GByteArray format
534                 - (bind_device_to_connection): bind mac address of device to
535                         wired/wireless system connection
536                 - (hal_device_added_cb): call bind_device_to_connection for
537                         system connections with a matching interface.name
538                 - (hal_device_added_cb): ensure that all code paths
539                         properly free the "iface" string.
540
541 2008-10-10  Alexander Sack  <asac@ubuntu.com>
542
543         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
544         mode of the ifupdown system config plugin.
545
546         * system-settings/plugins/ifupdown/plugin.c
547                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
548                         private unmanage_well_known state field accordingly
549
550 2008-10-10  Alexander Sack  <asac@ubuntu.com>
551
552         Implement unmanaged mode that will prevent all devices in the
553         well_known_udis set from being touched by NetworkManager
554
555         * system-settings/plugins/ifupdown/plugin.c
556                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
557                         unmanage_well_known field used to turn on/off unmanaged
558                         mode
559                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
560                         signal when well_known_udis get added/removed
561                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
562                         if we are in unmanaged mode
563
564 2008-10-10  Alexander Sack  <asac@ubuntu.com>
565
566         Add support to track network devices that have a configuration
567         with a matching interface.name in /etc/network/interfaces
568
569         * system-settings/plugins/ifupdown/plugin.c
570                 - (typedef struct SCPluginIfupdownPrivate): add hash table
571                         to track |well_known_udis|
572                 - (get_iface_for_udi): helper function to get interface.name
573                         for a udi
574                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
575                         that add and remove devices to and from the well_known_udis
576                         set depending on whether their |interface.name| matches
577                         any interface definition in /etc/network/interfaces
578                 - (SCPluginIfupdown_init): connect callbacks from above with
579                         hal_mgr and setup well_known_udis hashtable
580                 - (GObject__dispose): destroy well_known_udis hashtable
581                 - (hal_device_added_cb2): implement wrapper callback with GFunc
582                         signature. user_data is supposed to be a triple (hal_mgr,
583                         config and devtype)
584                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
585                         startup and call hal_device_added_cb2
586
587 2008-10-10  Alexander Sack  <asac@ubuntu.com>
588
589         Remove implementation for not used NMSystemConfigInterface callback functions
590         in ifupdown plugin
591
592         * system-settings/plugins/ifupdown/plugin.c
593                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
594                 - (SCPluginIfupdown_connection_added): removed
595
596 2008-10-08  Dan Williams  <dcbw@redhat.com>
597
598         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
599
600         * src/NetworkManagerUtils.c
601                 - (nm_utils_call_dispatcher): add a 'hostname' action
602
603         * src/NetworkManagerPolicy.c
604                 - (set_system_hostname): dispatch hostname changes
605
606         * callouts/nm-dispatcher-action.c
607                 - (nm_dispatcher_action): handle 'hostname' actions
608
609 2008-10-08  Dan Williams  <dcbw@redhat.com>
610
611         * src/NetworkManagerSystem.c
612                 - (find_route): ref the route so it doesn't get destroyed when the cache
613                         is cleared
614                 - (nm_system_device_set_priority): unref the route here after it's done
615                         being used
616
617 2008-10-08  Dan Williams  <dcbw@redhat.com>
618
619         * src/nm-serial-device.c
620                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
621
622 2008-10-08  Tambet Ingo  <tambet@gmail.com>
623
624         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
625         connection with new settings before saving it.
626
627 2008-10-06  Dan Williams  <dcbw@redhat.com>
628
629         * src/nm-ip4-config.c
630           src/nm-ip4-config.h
631                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
632
633         * src/nm-device-interface.c
634                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
635                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
636                         by using '/' for the object path
637
638         * src/nm-device.c
639                 - (src/nm-device.c): marshal missing/unexported ip4-config through
640                         dbus as '/' since dbus-glib can't handle NULL objects nor can
641                         dbus handle NULL object paths
642
643 2008-10-03  Alexander Sack  <asac@ubuntu.com>
644
645         Implement system hostname support for debian/ubuntu
646
647         * system-settings/plugins/ifupdown/plugin.c
648                 - (GObject__get_property): extend announced capabilities; add
649                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
650                 - (GObject__set_property,write_system_hostname): implement
651                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
652                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
653                    update_system_hostname, get_hostname):
654                         implement hostname property that watches and
655                         parses /etc/hostname
656
657 2008-10-03  Alexander Sack  <asac@ubuntu.com>
658
659         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
660           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
661           system-settings/plugins/ifcfg-fedora/Makefile.am
662           system-settings/src/nm-inotify-helper.c
663           system-settings/src/nm-inotify-helper.h
664           src/Makefile.am
665                 - Move ifcfg-fedora inotify helpers to the system settings service so
666                         they are available to all plugins
667
668 2008-10-03  Alexander Sack  <asac@ubuntu.com>
669
670         Implement support for wep-tx-keyidx in ifupdown system
671         config plugin.
672
673         * system-settings/plugins/ifupdown/parser.c
674                 - (update_wireless_security_setting_from_if_block): introduce
675                         free_type_mapping func table; rename a few local
676                         variables to improve readability; add wpa security mapping
677                         for wep-tx-keyidx property
678                 - (string_to_gpointerint): new function used for the auto_type_mapping
679                         of new wep-tx-keyidx property
680                 - (slist_free_all): free func used for mapped slist types
681
682 2008-10-03  Alexander Sack  <asac@ubuntu.com>
683
684         * system-settings/src/main.c:
685                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
686                         always used as the hash key; fixes a crash when removing wired
687                         devices
688
689 2008-10-02  Dan Williams  <dcbw@redhat.com>
690
691         * src/nm-gsm-device.c
692                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
693                         pass the required GSM secret along via user_data rather than keeping
694                         it around in the private data where it sometimes didn't get cleared
695                 - (real_get_ppp_name): implement using the GSM username
696
697 2008-10-02  Dan Williams  <dcbw@redhat.com>
698
699         * src/ppp-manager/nm-ppp-manager.c
700           src/ppp-manager/nm-ppp-manager.h
701                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
702                         the settings daemon for completely new ones
703                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
704                         local PPP peer name; allow PPP debuging by launching NM with
705                         the environment variable NM_PPP_DEBUG defined
706                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
707                         create_pppd_cmd_line()
708
709         * src/nm-serial-device.c
710           src/nm-serial-device.h
711                 - New 'get_ppp_name' function for subclasses to implement to return the
712                         local PPP peer name
713                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
714                         and pass that name to the PPP manager
715
716         * src/nm-device-ethernet.c
717                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
718                         the local peer name
719
720         * src/nm-cdma-device.c
721                 - (real_get_ppp_name): implement using the CDMA username
722
723 2008-10-02  Dan Williams  <dcbw@redhat.com>
724
725         Patch from Alexander Sack <asac ubuntu com>
726
727         * system-settings/plugins/ifupdown/parser.c
728                 - Implement more graceful ip4 config parsing for cases where
729                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
730                   by using default values
731
732 2008-10-02  Dan Williams  <dcbw@redhat.com>
733
734         * src/NetworkManagerPolicy.c
735                 - (device_state_changed): when marking a connection invalid, clear its
736                         secrets too so that fresh secrets get requested the next time
737
738 2008-10-01  Dan Williams  <dcbw@redhat.com>
739
740         * system-settings/src/dbus-settings.c
741                 - (nm_sysconfig_settings_init): cache system hostname on startup as
742                         a fallback if no plugin provides a hostname
743                 - (get_property): fall back to cached hostname if no plugin provides
744                         a hostname
745
746 2008-10-01  Dan Williams  <dcbw@redhat.com>
747
748         Fix setting value comparison issue that caused some settings to look the
749         same when they were really different (rh #464417)
750
751         * libnm-util/nm-param-spec-specialized.c
752                 - (type_is_fixed_size): return fundamental size of the fixed type too
753                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
754                         in the comparison so that the _entire_ fixed type collection gets
755                         compared rather than just the first 'len1' bytes
756
757 2008-09-30  Dan Williams  <dcbw@redhat.com>
758
759         * src/NetworkManagerPolicy.c
760                 - (lookup_thread_worker): don't store the idle handler ID becuase the
761                         idle handler could have already run and freed the LookupThread
762                         structure
763
764 2008-09-30  Tambet Ingo  <tambet@gmail.com>
765
766         * src/nm-device.c (nm_device_get_priority): Implement.
767         (nm_device_set_ip4_config): Send the device priority to system ip4 
768         config setter.
769
770         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
771         Add priority argument and if it's >= 0, set the priority of the network
772         route added automatically by netlink (or kernel?).
773         (nm_system_device_set_priority): Implement.
774
775         * src/NetworkManagerPolicy.c (get_best_device): Use 
776         nm_device_get_priority() instead of home-grown version. Revert the
777         meaning, best priority is the lowest one.
778
779 2008-09-29  Dan Williams  <dcbw@redhat.com>
780
781         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
782         when it returns EAGAIN (rh #362421)
783
784         * src/nm-device-wifi.c
785                 - (wireless_get_range): try GIWRANGE a few times until the card responds
786                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
787
788 2008-09-28  Dan Williams  <dcbw@redhat.com>
789
790         * src/nm-serial-device.c
791           src/nm-serial-device.h
792                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
793                         cleaned at the right times when subclasses close the serial port too
794                 - (nm_serial_device_send_command): use a default send delay; don't
795                         spin forever on EAGAIN
796                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
797                         remove, no longer used
798                 - (find_response): return the matched response if any
799                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
800                         while doing so
801                 - (wait_for_reply_done): pass the matched response to the callback
802                 - (wait_for_reply_got_data): save the matched response; simplify timeout
803                         handling
804                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
805                         const since they never get modified
806                 - (cleanup_device): split out common cleanup stuff to a new function
807                 - (real_deactivate_quickly, finalize): use cleanup_device()
808
809         * src/nm-gsm-device.c
810                 - (modem_get_reply): remove, unused
811                 - (set_apn): give the card a bit more time to respond
812                 - (manual_registration_again, schedule_manual_registration_again,
813                    manual_registration_response, manual_registration): handle manual
814                         registration timeouts better by retrying registration a few times
815                         because cards are a bit slow after CFUN=1
816                 - (automatic_registration_get_network, get_network_response): use
817                         modem_wait_for_reply() because it interacts better with the serial
818                         buffer and does more intelligent matching; need to wait for 'OK'
819                         rather than just matching terminators
820                 - (schedule_automatic_registration_again,
821                    automatic_registration_response, automatic_registration): retry
822                         registration a few times on timeout or "searching" because cards
823                         take a bit to find a network after being powered up with CFUN=1
824                 - (power_up_response, power_up, init_full_done, enter_pin,
825                    check_pin_done): power up the card with CFUN=1 before trying to
826                         register with the network
827                 - (init_modem_full, init_modem): use more standard 3G init strings
828
829         * src/nm-hso-gsm-device.c
830                 - (modem_get_reply): remove, unused
831                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
832                         modem_wait_for_reply() to match actual responses instead of single
833                         termination characters; it doesn't leave stuff in the serial buffer
834                         that might confuse later calls
835                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
836                         to ensure that the call is really disconnected and not leave extra
837                         stuff in the serial buffer
838
839         * src/nm-cdma-device.c
840                 - (power_up_response, power_up, init_done): try Sierra-style modem
841                         power up before attempting to connect
842
843 2008-09-27  Dan Williams  <dcbw@redhat.com>
844
845         * libnm-util/nm-setting-gsm.c
846                 - (verify): verify GSM network ID
847
848 2008-09-25  Dan Williams  <dcbw@redhat.com>
849
850         * libnm-util/nm-setting-gsm.c
851           libnm-util/nm-setting-gsm.h
852                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
853                         technology terms (bgo #551361)
854
855 2008-09-25  Dan Williams  <dcbw@redhat.com>
856
857         Fix bgo #549401 (inspired by patch from Alexander Sack)
858
859         * src/nm-device-ethernet.c
860                 - (finish_supplicant_task): clean up scheduled tasks and free memory
861                 - (remove_supplicant_interface_error_handler): remove the supplicant
862                         error idle callback too
863                 - (supplicant_interface_release): rename from supplicant_interface_clean
864                         to match nm-device-wifi.c; clean up supplicant interface-related
865                         state tasks when the supplicant interface is disposed of
866                 - (schedule_state_handler): add scheduled tasks to a list so they can
867                         be cleaned up later
868                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
869                    supplicant_iface_connection_state_cb_handler): use
870                         finish_supplicant_task() to clean up each completed task
871                 - (supplicant_iface_connection_error_cb_handler,
872                    supplicant_connection_timeout_cb): clear source id when the task is
873                         complete
874                 - (supplicant_iface_connection_error_cb): save scheduled task id for
875                         later cleanup
876                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
877                         tasks
878
879         * src/nm-device-wifi.c
880                 - (finish_supplicant_task): clean up scheduled tasks and free memory
881                 - (remove_supplicant_interface_error_handler): remove the supplicant
882                         error idle callback too
883                 - (supplicant_interface_release): clean up supplicant interface-related
884                         state tasks when the supplicant interface is disposed of
885                 - (schedule_state_handler): add scheduled tasks to a list so they can
886                         be cleaned up later
887                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
888                    supplicant_iface_connection_state_cb_handler): use
889                         finish_supplicant_task() to clean up each completed task
890                 - (supplicant_iface_connection_error_cb_handler): clear source id when
891                         the task is complete
892                 - (supplicant_iface_connection_error_cb): save scheduled task id for
893                         later cleanup
894                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
895
896 2008-09-24  Tambet Ingo  <tambet@gmail.com>
897
898         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
899         method and get/set hostname property.
900
901 2008-09-24  Tambet Ingo  <tambet@gmail.com>
902
903         * src/supplicant-manager/nm-supplicant-interface.c
904         (nm_supplicant_interface_disconnect): Don't increment the reference 
905         count when disconnecting. The problem is on shutdown, when the replies
906         to these commands do not arrive before NM exits, resulting on never
907         calling supplicant interface's dispose(), which removes the interface
908         from supplicant.
909
910 2008-09-24  Tambet Ingo  <tambet@gmail.com>
911
912         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
913         all the public function arguments.
914
915 2008-09-22  Tambet Ingo  <tambet@gmail.com>
916
917         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
918         "Failure" signal from VPN plugins, store the failure reason, and
919         use it when the state is changed to failure.
920
921         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
922         description.
923
924         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
925         reason to the end of the list to not break the API.
926         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
927         so it can be shared by plugins and daemon.
928
929 2008-09-18  Dan Williams  <dcbw@redhat.com>
930
931         Patch from Alexander Sack <asac@ubuntu.com>
932
933         * configure.in
934           system-settings/plugins/Makefile.am
935           system-settings/plugins/ifupdown/Makefile.am
936           system-settings/plugins/ifupdown/interface_parser.c
937           system-settings/plugins/ifupdown/interface_parser.h
938           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
939           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
940           system-settings/plugins/ifupdown/parser.c
941           system-settings/plugins/ifupdown/parser.h
942           system-settings/plugins/ifupdown/plugin.c
943           system-settings/plugins/ifupdown/plugin.h
944                 - Implement a Debian/Ubuntu legacy network configuration plugin
945                         (gnome.org #551941)
946
947 2008-09-18  Dan Williams  <dcbw@redhat.com>
948
949         Implement support for honoring configured and automatic hostnames, and for
950         setting the configured hostname.
951
952         * introspection/nm-ip4-config.xml
953           src/nm-ip4-config.c
954           src/nm-ip4-config.h
955           src/dhcp-manager/nm-dhcp-manager.c
956                 - Remove useless hostname property; it's not really part of the IPv4
957                         config
958
959         * introspection/nm-settings-system.xml
960           libnm-glib/nm-dbus-settings-system.c
961           libnm-glib/nm-dbus-settings-system.h
962                 - Add SetHostname() call to system settings D-Bus interface
963                 - Add Hostname property to system settings D-Bus interface
964                 - (nm_dbus_settings_system_save_hostname,
965                    nm_dbus_settings_system_get_hostname): implement
966
967         * src/nm-device.c
968           src/nm-device.h
969                 - (nm_device_get_dhcp4_config): implement
970
971         * src/nm-manager.c
972           src/nm-manager.h
973                 - Fetch and track system settings service hostname changes, and proxy
974                         the changes via a GObject property of the manager
975
976         * system-settings/src/nm-system-config-interface.c
977           system-settings/src/nm-system-config-interface.h
978                 - Replace nm_system_config_interface_supports_add() with a capabilities
979                         bitfield
980
981         * system-settings/src/nm-system-config-error.c
982           system-settings/src/nm-system-config-error.h
983                 - Add additional errors
984
985         * system-settings/src/dbus-settings.c
986           system-settings/src/dbus-settings.h
987                 - (get_property, nm_sysconfig_settings_class_init): add hostname
988                         property; first plugin returning a hostname wins
989                 - (impl_settings_add_connection): use plugin capabilities instead of
990                         nm_system_config_interface_supports_add()
991                 - (impl_settings_save_hostname): implement hostname saving
992
993         * src/NetworkManagerPolicy.c
994                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
995                    lookup_thread_die): implement an asynchronous hostname lookup thread
996                         which given an IPv4 address tries to look up the hostname for that
997                         address with reverse DNS
998                 - (get_best_device): split out best device code from
999                         update_routing_and_dns()
1000                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1001                         to preserve the 127.0.0.1 reverse mapping that so many things require
1002                 - (set_system_hostname): set a given hostname
1003                 - (update_system_hostname): implement hostname policy; a configured
1004                         hostname (from the system settings service) is used if available,
1005                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1006                         If there was no automatically determined hostname, reverse DNS of
1007                         the best device's IP address will be used, and as a last resort the
1008                         hostname 'localhost.localdomain' is set.
1009                 - (update_routing_and_dns): use get_best_device(); update the system
1010                         hostname when the network config changes
1011                 - (hostname_changed): update system hostname if the system settings
1012                         service signals a hostname change
1013                 - (nm_policy_new): list for system settings service hostname changes
1014                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1015                         gets told to die
1016
1017         * system-settings/plugins/keyfile/plugin.c
1018           system-settings/plugins/ifcfg-suse/plugin.c
1019                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1020                         capabilities properties
1021
1022         * system-settings/plugins/ifcfg-fedora/shvar.c
1023                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1024                         writes out /etc/sysconfig/network now
1025
1026         * system-settings/plugins/ifcfg-fedora/plugin.c
1027                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1028                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1029                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1030                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1031                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1032                         hostname get/set and capabilities get
1033
1034 2008-09-18  Dan Williams  <dcbw@redhat.com>
1035
1036         * libnm-util/nm-setting-wireless.c
1037                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1038                         group ciphers if the wireless-security setting explicitly specified
1039                         them, effectively making the default be "all ciphers"  (idea from
1040                         Alexander Sack)
1041
1042 2008-09-15  Dan Williams  <dcbw@redhat.com>
1043
1044         Patch from Alexander Sack <asac@ubuntu.com>
1045
1046         * src/named-manager/nm-named-manager.c
1047                 - (dispatch_resolvconf): respect resolvconf exit code
1048
1049 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1050
1051         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1052         again. Add some debugging.
1053
1054 2008-09-11  Dan Williams  <dcbw@redhat.com>
1055
1056         * system-settings/plugins/keyfile/plugin.c
1057                 - (update_connection_settings): update connection manually, since
1058                         nm_exported_connection_update() does authentication
1059                 - (dir_changed): update_connection_settings() doesn't need to return
1060                         an error
1061
1062 2008-09-09  Dan Williams  <dcbw@redhat.com>
1063
1064         * libnm-glib/nm-vpn-plugin-ui-interface.c
1065           libnm-glib/nm-vpn-plugin-ui-interface.h
1066           libnm-glib/libnm_glib_vpn.ver
1067                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1068                         should clean up resources related to the connection (like keyring
1069                         secrets)
1070                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1071                         should save user-scope secrets (like to the keyring)
1072
1073 2008-09-08  Dan Williams  <dcbw@redhat.com>
1074
1075         Patch from Alexander Sack <asac@ubuntu.com>
1076
1077         * libnm-util/crypto_gnutls.c
1078           libnm-util/crypto_nss.c
1079                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1080
1081         * libnm-util/nm-utils.c
1082           libnm-util/nm-utils.h
1083           libnm-util/libnm-util.ver
1084                 - (nm_utils_init): initialize libnm-util
1085                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1086
1087         * libnm-util/nm-setting-8021x.c
1088                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1089
1090 2008-09-05  Dan Williams  <dcbw@redhat.com>
1091
1092         Patch from Roy Marples <roy@marples.name> and others
1093
1094         * configure.in
1095           src/named-manager/nm-named-manager.c
1096                 - Add support for resolvconf; use --with-resolvconf at configure time
1097                         to enable it
1098
1099 2008-09-05  Dan Williams  <dcbw@redhat.com>
1100
1101         * libnm-util/crypto_nss.c
1102           libnm-util/crypto_gnutls.c
1103           libnm-util/crypto.h
1104                 - (crypto_init): return error when init fails
1105
1106 2008-09-05  Dan Williams  <dcbw@redhat.com>
1107
1108         * libnm-glib/nm-device-wifi.c
1109                 - (access_point_removed_proxy): clean up the active access point too
1110                         just in case the active ap changed signal didn't come through yet
1111                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1112
1113 2008-09-05  Dan Williams  <dcbw@redhat.com>
1114
1115         * libnm-glib/nm-client.c
1116                 - (constructor): get initial state after we know whether NM is running
1117                         or not
1118
1119 2008-09-05  Dan Williams  <dcbw@redhat.com>
1120
1121         * libnm-glib/nm-ip4-config.c
1122           libnm-glib/nm-dhcp4-config.c
1123                 - (finalize): clean up the DBusGProxy
1124
1125 2008-09-04  Dan Williams  <dcbw@redhat.com>
1126
1127         * src/nm-ip4-config.c
1128           src/nm-ip4-config.h
1129                 - (nm_ip4_config_new): don't export over D-Bus here
1130                 - (nm_ip4_config_export): new function; export the config over D-Bus
1131                 - (nm_ip4_config_is_exported): new function
1132
1133         * src/nm-device.c
1134                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1135                         objects by balancing the IP4Config constructor; the device holds
1136                         a reference to the IP4Config already
1137                 - (nm_device_set_ip4_config): export the IP4Config when needed
1138
1139 2008-09-04  Dan Williams  <dcbw@redhat.com>
1140
1141         * src/supplicant-manager/nm-supplicant-settings-verify.c
1142                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1143
1144 2008-09-04  Dan Williams  <dcbw@redhat.com>
1145
1146         * libnm-util/nm-setting-vpn.c
1147           libnm-util/nm-setting-vpn.h
1148                 - Split VPN secrets from VPN data so that settings services can actually
1149                         figure out that they are secrets and store them accordingly
1150
1151         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1152           system-settings/plugins/keyfile/reader.c
1153           system-settings/plugins/keyfile/reader.h
1154           system-settings/plugins/keyfile/writer.c
1155                 - Store VPN secrets separately from VPN data so that they can be fetched
1156                         on demand
1157                 - Implement the get_secrets() call so that (a) secrets don't leak out
1158                         to unprivileged callers, and (b) secrets can be sent to privileged
1159                         callers when needed
1160
1161         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1162                 - Handle split VPN secrets
1163
1164 2008-08-27  Dan Williams  <dcbw@redhat.com>
1165
1166         * system-settings/plugins/ifcfg-fedora/reader.c
1167                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1168
1169 2008-08-27  Dan Williams  <dcbw@redhat.com>
1170
1171         Ensure zombie children get cleaned up.  To get notifications when children
1172         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1173         that requires calling waitpid() yourself if you've removed the child watch
1174         handler before the process has actually died, which NM needs to do in a few
1175         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1176         cleans up after the child when required.  Should fix problems trying to
1177         activate mobile broadband connections after a previous failure.
1178
1179         * src/dhcp-manager/nm-dhcp-dhclient.c
1180           src/dhcp-manager/nm-dhcp-dhcpcd.c
1181                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1182
1183         * src/dhcp-manager/nm-dhcp-manager.c
1184                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1185                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1186                         block on child quitting, since the non-blocking functionality was
1187                         never actually used
1188
1189         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1190                 - (dm_watch_cb): child is already reaped here
1191                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1192
1193         * src/nm-device.c
1194                 - (aipd_cleanup): block until child is dead
1195
1196         * src/named-manager/nm-named-manager.c
1197                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1198                         event bothering to watch the child
1199
1200         * src/ppp-manager/nm-ppp-manager.c
1201                 - (ppp_watch_cb): child is already reaped here
1202                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1203
1204         * src/vpn-manager/nm-vpn-service.c
1205                 - (vpn_service_watch_cb): child is already reaped here
1206                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1207                         status of the child is actually tracked
1208                 - (ensure_killed, finalize): block until child is dead
1209
1210 2008-08-26  Dan Williams  <dcbw@redhat.com>
1211
1212         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1213                 - (update): Update filename of the connection if the connection id
1214                         was changed
1215
1216         * system-settings/plugins/keyfile/plugin.c
1217                 - (dir_changed): first pass at handling connection renames correctly
1218
1219         * system-settings/plugins/keyfile/writer.c
1220           system-settings/plugins/keyfile/writer.h
1221                 - (write_connection): replace '/' with '*' when writing out the filename
1222                         from the connection id
1223
1224 2008-08-26  Dan Williams  <dcbw@redhat.com>
1225
1226         Add connection UUIDs, since connection names can be changed, and since
1227         old-style connection IDs could change over the life of the connection.  The
1228         UUID should be assigned at connection creation time, be stable for a given
1229         connection, and should be unique among all connections for a given settings
1230         service.
1231
1232         * configure.in
1233           libnm-util/Makefile.am
1234                 - Require libuuid
1235
1236         * introspection/nm-exported-connection.xml
1237                 - Remove "GetID" method
1238
1239         * libnm-glib/nm-dbus-connection.c
1240           libnm-glib/nm-settings.c
1241           libnm-glib/nm-settings.h
1242                 - Remove id-related stuff
1243
1244         * libnm-util/nm-utils.c
1245           libnm-util/nm-utils.h
1246           libnm-util/libnm-util.ver
1247                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1248                         utility functions to generate UUIDs
1249
1250         * libnm-util/nm-setting-connection.c
1251           libnm-util/nm-setting-connection.h
1252                 - Add 'uuid' member to the connection setting
1253                 - (verify): require valid 'uuid' for a valid connection
1254
1255         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1256           system-settings/plugins/ifcfg-fedora/reader.c
1257           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1258           system-settings/plugins/ifcfg-suse/parser.c
1259           system-settings/plugins/keyfile/nm-keyfile-connection.c
1260           system-settings/src/main.c
1261                 - Remove id-related stuff
1262                 - Give connections UUIDs where needed
1263
1264 2008-08-25  Dan Williams  <dcbw@redhat.com>
1265
1266         * libnm-util/crypto_gnutls.c
1267           libnm-util/crypto_nss.c
1268                 - (crypto_init, crypto_deinit): refcount init/deinit
1269                 - (crypto_md5_hash): allow NULL salt
1270
1271 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1272
1273         * libnm-glib/Makefile.am
1274           libnm-util/Makefile.am
1275           libnm-glib/libnm_glib.ver
1276           libnm-glib/libnm_glib_vpn.ver
1277           libnm-util/libnm-util.ver
1278                 - Use linker version scripts to control the list of exported 
1279                 symbols. List each exported symbol explicitely.
1280         * libnm-util/Makefile.am
1281                 - Fix compilation of the test-crypto binary. The crypto
1282                 functions are no longer part of the libnm-util API. Add 
1283                 crypto_*.c to test_crypto_SOURCES and link against the correct
1284                 crypto libraries.
1285
1286 2008-08-19  Dan Williams  <dcbw@redhat.com>
1287
1288         * configure.in
1289           test/Makefile.am
1290                 - Don't build test/test-common
1291                 - Remove unused stuff
1292
1293         * test/nm-set-fallback
1294           test/nmtestdevices.c
1295           test/test-common/.cvsignore
1296           test/test-common/Makefile.am
1297           test/test-common/test-common.c
1298           test/test-common/test-common.h
1299                 - delete
1300
1301 2008-08-18  Dan Williams  <dcbw@redhat.com>
1302
1303         * libnm-util/nm-utils.c
1304           libnm-util/nm-utils.h
1305                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1306                         export anything that needs to be converted with this function
1307
1308         * src/dhcp-manager/nm-dhcp-manager.c
1309                 - (garray_to_string): convert a byte array to a UTF-8 string with
1310                         minimal validation; the DHCP client sends it in ASCII anyway
1311                 - (get_option, copy_option): use garray_to_string()
1312
1313 2008-08-18  Dan Williams  <dcbw@redhat.com>
1314
1315         * include/NetworkManager.h
1316           introspection/nm-device.xml
1317                 - Add a "missing firmware" device state reason
1318
1319         * src/NetworkManagerSystem.c
1320           src/NetworkManagerSystem.h
1321                 - (nm_system_device_set_up_down): add a no_firmware argument
1322                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1323                         IFF_UP is ENOENT, that almost always means missing firmware
1324
1325         * src/backends/NetworkManagerGeneric.c
1326           src/nm-device-ethernet.c
1327           src/nm-device-private.h
1328           src/nm-device-wifi.c
1329           src/nm-device.c
1330           src/nm-device.h
1331           src/nm-hso-gsm-device.c
1332           src/vpn-manager/nm-vpn-connection.c
1333                 - Pass no_firmware along; check it where appropriate
1334
1335 2008-08-18  Dan Williams  <dcbw@redhat.com>
1336
1337         Patch from Robert Buchholz <rbu@gentoo.org>
1338
1339         * autogen.sh
1340           configure.in
1341                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1342                         1003.1-1988, allowing for file names longer than 99 characters
1343
1344 2008-08-17  Dan Williams  <dcbw@redhat.com>
1345
1346         * include/NetworkManager.h
1347           introspection/nm-device.xml
1348           src/nm-gsm-device.c
1349                 - Finer-grained GSM registration failure error codes
1350
1351 2008-08-17  Dan Williams  <dcbw@redhat.com>
1352
1353         * callouts/Makefile.am
1354           src/Makefile.am
1355                 - Move dispatcher directory creation to callouts/Makefile.am
1356
1357         * system-settings/plugins/keyfile/Makefile.am
1358                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1359
1360 2008-08-15  Dan Williams  <dcbw@redhat.com>
1361
1362         Do connection sharing in a cleaner manner; all required iptables rules
1363         are now stored in the activation request and pertain only to the device
1364         which is being shared to other computers. (rh #458625)
1365
1366         * src/nm-activation-request.c
1367           src/nm-activation-request.h
1368                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1369                         the activation request which will get torn down automatically when
1370                         the activation request dies
1371                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1372                         is started, and tear them down when sharing is stopped
1373
1374         * src/nm-device.c
1375                 - (start_sharing): start up sharing by doing the required iptables magic
1376                 - (share_init): poke the right bits of the kernel and load the right
1377                         modules for NAT
1378                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1379                         connection if it's a 'shared' connection
1380
1381         * src/NetworkManagerPolicy.c
1382                 - Remove all sharing stuff; done in the device code itself
1383
1384 2008-08-15  Dan Williams  <dcbw@redhat.com>
1385
1386         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1387                 - (create_dm_cmd_line): send the right router address
1388
1389 2008-08-15  Dan Williams  <dcbw@redhat.com>
1390
1391         * src/ppp-manager/nm-ppp-manager.c
1392                 - (pppd_timed_out): ensure timeouts fail the connection
1393
1394 2008-08-14  Dan Williams  <dcbw@redhat.com>
1395
1396         * src/nm-properties-changed-signal.c
1397           src/nm-properties-changed-signal.h
1398                 - Add a property spec flag for "don't export this property" in
1399                         property changed signals
1400
1401         * src/nm-hso-gsm-device.c
1402           src/nm-gsm-device.c
1403           src/nm-cdma-device.c
1404                 - Don't export monitor interface or netdev interface properties
1405
1406 2008-08-14  Dan Williams  <dcbw@redhat.com>
1407
1408         * src/NetworkManagerPolicy.c
1409                 - (update_routing_and_dns): 'hso' devices can be default even if they
1410                         don't have a gateway
1411
1412 2008-08-14  Dan Williams  <dcbw@redhat.com>
1413
1414         * src/nm-device.c
1415                 - (nm_device_deactivate_quickly): tear down activation request after
1416                         calling device-specific deactivation
1417
1418         * src/nm-hso-gsm-device.c
1419                 - (real_deactivate_quickly): terminate connection when deactivating
1420
1421 2008-08-14  Dan Williams  <dcbw@redhat.com>
1422
1423         * src/nm-activation-request.h
1424                 - Add HSO secrets caller
1425
1426         * src/nm-gsm-device.c
1427           src/nm-gsm-device.h
1428                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1429                         something to the callback function
1430                 - (set_apn, set_apn_done): call class dial function, not a static one
1431                 - (nm_gsm_device_class_init): add a class 'dial' function
1432
1433         * src/nm-hal-manager.c
1434                 - (get_hso_netdev): find the hso-driven hardware's net device
1435                 - (modem_device_creator): recognize hso-driven hardware and create the
1436                         right type of device object for it
1437
1438         * src/Makefile.am
1439           src/nm-hso-gsm-device.c
1440           src/nm-hso-gsm-device.h
1441                 - Implement support for devices driven by the 'hso' driver as a subclass
1442                         of NMGsmDevice
1443
1444 2008-08-14  Dan Williams  <dcbw@redhat.com>
1445
1446         * src/NetworkManagerSystem.c
1447                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1448                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1449                         success if the operation really was successful
1450
1451 2008-08-14  Dan Williams  <dcbw@redhat.com>
1452
1453         * src/nm-netlink-monitor.c
1454           src/nm-netlink-monitor.h
1455           src/nm-device-ethernet.c
1456                 - (nm_netlink_monitor_request_status): return an error on failure
1457                 - (constructor): don't segfault on missing error
1458
1459 2008-08-13  Dan Williams  <dcbw@redhat.com>
1460
1461         * callouts/nm-dispatcher-action.c
1462                 - Add IP4 config info to script environment
1463
1464 2008-08-12  Dan Williams  <dcbw@redhat.com>
1465
1466         * src/nm-device.c
1467                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1468                         that want to use DHCP hostnames should use dispatcher scripts
1469                         for that
1470
1471         * src/NetworkManagerSystem.h
1472           src/backends/NetworkManagerArch.c
1473           src/backends/NetworkManagerDebian.c
1474           src/backends/NetworkManagerFrugalware.c
1475           src/backends/NetworkManagerGeneric.c
1476           src/backends/NetworkManagerGeneric.h
1477           src/backends/NetworkManagerGentoo.c
1478           src/backends/NetworkManagerMandriva.c
1479           src/backends/NetworkManagerPaldo.c
1480           src/backends/NetworkManagerRedHat.c
1481           src/backends/NetworkManagerSlackware.c
1482           src/backends/NetworkManagerSuSE.c
1483                 - Remove nm_system_set_hostname(), no longer used
1484           
1485         * src/backends/Makefile.am
1486           src/backends/shvar.c
1487           src/backends/shvar.h
1488                 - Remove shvar.*; no longer used
1489
1490 2008-08-12  Dan Williams  <dcbw@redhat.com>
1491
1492         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1493         hostname is updated at runtime.  Distros or users who want hostname updates
1494         can use dispatcher scripts to update the hostname if they need it.
1495
1496 2008-08-12  Dan Williams  <dcbw@redhat.com>
1497
1498         * introspection/nm-settings-system.xml
1499           system-settings/src/dbus-settings.c
1500           system-settings/src/dbus-settings.h
1501                 - Add a 'Hostname' property (rw) which represents the configured
1502                         hostname and domain of the system, if any
1503
1504         * system-settings/src/nm-system-config-error.c
1505           system-settings/src/nm-system-config-error.h
1506           system-settings/src/nm-system-config-interface.c
1507           system-settings/src/nm-system-config-interface.h
1508                 - Add a 'hostname' property to the plugin interface
1509                 - Add a method to send updated hostname to plugins to save in their
1510                         backing configuration store
1511
1512         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1513           system-settings/plugins/keyfile/plugin.c
1514           system-settings/plugins/keyfile/writer.c
1515           system-settings/plugins/keyfile/writer.h
1516           system-settings/plugins/ifcfg-suse/plugin.c
1517                 - Add minimal hostname support
1518
1519         * system-settings/plugins/ifcfg-fedora/plugin.c
1520                 - Add support for updating system hostname in /etc/sysconfig/network
1521
1522 2008-08-12  Dan Williams  <dcbw@redhat.com>
1523
1524         * system-settings/plugins/ifcfg-fedora/shvar.c
1525           system-settings/plugins/ifcfg-fedora/shvar.c
1526                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1527
1528 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1529
1530         * Makefile.am: Fix distcheck.
1531
1532 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1533
1534         * libnm-glib/*.c. Document some more.
1535
1536 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1537
1538         Start documenting libnm-glib public API using gtk-doc.
1539
1540         * libnm-glib/nm-serial-device.c: 
1541         * libnm-glib/nm-object.c: 
1542         * libnm-glib/nm-gsm-device.c: 
1543         * libnm-glib/nm-device.c: 
1544         * libnm-glib/nm-device-wifi.c: 
1545         * libnm-glib/nm-device-ethernet.c: 
1546         * libnm-glib/nm-client.c: 
1547         * libnm-glib/nm-cdma-device.c: Document the public API.
1548
1549         * docs/libnm-glib/libnm-glib.types: Implement.
1550
1551         * docs/libnm-glib/Makefile.am: Implement.
1552
1553         * autogen.sh: 
1554         * configure.in: 
1555         * Makefile.am: Add gtk-doc support.
1556
1557 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1558
1559         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1560
1561         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1562         the composite result of all the IP4 configurations and call a distro
1563         specific update_resolv_conf().
1564         (update_resolv_conf): Implement one for directly writing to 
1565         /etc/resolv.conf and one for opensuse to call netconfig.
1566
1567 2008-08-11  Dan Williams  <dcbw@redhat.com>
1568
1569         * src/ppp-manager/nm-ppp-manager.c
1570                 - (impl_ppp_manager_need_secrets): pass interface as required
1571
1572 2008-08-11  Dan Williams  <dcbw@redhat.com>
1573
1574         Merge the vpn-properties setting with the vpn setting since it was pointless
1575         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1576         of string:string (instead of string:variant) so that system settings plugins
1577         can have an easier time dealing with the arbitrary key/value pairs.
1578
1579 2008-08-11  Dan Williams  <dcbw@redhat.com>
1580
1581         * libnm-util/nm-utils.c
1582                 - (nm_utils_register_value_transformations): add value transform for
1583                         a hash table of string:string
1584
1585 2008-08-10  Dan Williams  <dcbw@redhat.com>
1586
1587         * libnm-glib/nm-vpn-plugin.c
1588                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1589                         an idle handler so the Connect reply gets delivered before the
1590                         stop StateChanged signal
1591
1592 2008-08-10  Dan Williams  <dcbw@redhat.com>
1593
1594         * src/nm-ip4-config.c
1595                 - (get_property): use common ip4 address/route conversion functions
1596                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1597                         copy the new route here, not take ownership
1598
1599 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1600
1601         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1602         Update the IP4 setting's method name.
1603
1604 2008-08-07  Dan Williams  <dcbw@redhat.com>
1605
1606         * introspection/nm-ip4-config.xml
1607           libnm-glib/libnm-glib-test.c
1608           libnm-glib/nm-ip4-config.c
1609           libnm-glib/nm-ip4-config.h
1610           src/NetworkManagerSystem.h
1611           src/backends/NetworkManagerArch.c
1612           src/backends/NetworkManagerDebian.c
1613           src/backends/NetworkManagerFrugalware.c
1614           src/backends/NetworkManagerGeneric.c
1615           src/backends/NetworkManagerGeneric.h
1616           src/backends/NetworkManagerGentoo.c
1617           src/backends/NetworkManagerMandriva.c
1618           src/backends/NetworkManagerPaldo.c
1619           src/backends/NetworkManagerRedHat.c
1620           src/backends/NetworkManagerSlackware.c
1621           src/backends/NetworkManagerSuSE.c
1622           src/dhcp-manager/nm-dhcp-manager.c
1623           src/nm-device.c
1624           src/nm-ip4-config.c
1625           src/nm-ip4-config.h
1626                 - Remove NIS logic; should be done from dispatcher scripts instead
1627
1628 2008-08-07  Dan Williams  <dcbw@redhat.com>
1629
1630         * src/dhcp-manager/nm-dhcp-manager.c
1631                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1632                         mis-handling of DHCP responses that returned more than one router
1633                         (found by Grant Williamson)
1634
1635 2008-08-07  Dan Williams  <dcbw@redhat.com>
1636
1637         * callouts/nm-dispatcher-action.c
1638                 - (nm_dispatcher_action): grab device path and create the device; pass
1639                         the device's DHCP4 config to script caller
1640                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1641                         scripts
1642
1643         * libnm-glib/nm-dhcp4-config.c
1644           libnm-glib/nm-dhcp4-config.h
1645                 - (nm_dhcp4_config_get_options): expose
1646                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1647
1648 2008-08-07  Dan Williams  <dcbw@redhat.com>
1649
1650         * include/NetworkManager.h
1651                 - Add the DHCP4Config D-Bus interface
1652
1653         * libnm-glib/Makefile.am
1654           libnm-glib/nm-dhcp4-config.c
1655           libnm-glib/nm-dhcp4-config.h
1656                 - Handle DHCP4 config objects exported by NM over D-Bus
1657
1658         * libnm-glib/nm-device.c
1659           libnm-glib/nm-device.h
1660                 - Add a 'dhcp4-config' property
1661
1662         * libnm-glib/libnm-glib-test.c
1663                 - Print out DHCP4 config for devices
1664                 - Fix some crashes when no connections are active
1665
1666         * src/nm-device-interface.c
1667           src/nm-device.c
1668           src/nm-dhcp4-config.c
1669           src/nm-dhcp4-config.h
1670                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1671                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1672                         doesn't let us do when the property type is G_TYPE_OBJECT
1673
1674 2008-08-07  Dan Williams  <dcbw@redhat.com>
1675
1676         * src/NetworkManager.c
1677           src/NetworkManagerSystem.h
1678           src/backends/NetworkManagerArch.c
1679           src/backends/NetworkManagerDebian.c
1680           src/backends/NetworkManagerFrugalware.c
1681           src/backends/NetworkManagerGeneric.c
1682           src/backends/NetworkManagerGeneric.h
1683           src/backends/NetworkManagerGentoo.c
1684           src/backends/NetworkManagerMandriva.c
1685           src/backends/NetworkManagerPaldo.c
1686           src/backends/NetworkManagerRedHat.c
1687           src/backends/NetworkManagerSlackware.c
1688           src/backends/NetworkManagerSuSE.c
1689                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1690
1691 2008-08-06  Dan Williams  <dcbw@redhat.com>
1692
1693         * libnm-glib/nm-ip4-config.c
1694           libnm-glib/nm-ip4-config.h
1695                 - Add 'routes' property
1696
1697         * libnm-util/nm-setting-vpn.c
1698           libnm-util/nm-setting-vpn.h
1699                 - Remove 'routes' property
1700
1701         * libnm-util/nm-setting-ip4-config.c
1702           libnm-util/nm-setting-ip4-config.h
1703                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1704                 - Add 'ignore-auto-routes' property
1705                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1706                         accomodate route metrics
1707                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1708
1709         * libnm-util/nm-utils.c
1710           libnm-util/nm-utils.h
1711                 - Add helpers for marshalling IP4 routes
1712
1713         * src/NetworkManagerUtils.c
1714                 - (nm_utils_merge_ip4_config): handle property renames and new route
1715                         structure
1716
1717         * src/NetworkManagerSystem.c
1718                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1719                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1720
1721         * src/dhcp-manager/nm-dhcp-manager.c
1722                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1723
1724         * system-settings/plugins/ifcfg-fedora/reader.c
1725           system-settings/plugins/ifcfg-fedora/writer.c
1726                 - Handle routes separately from addresses now that routes have a different
1727                         format
1728
1729         * introspection/nm-ip4-config.xml
1730           src/nm-ip4-config.c
1731           src/nm-ip4-config.h
1732                 - Rename internal routing functions
1733                 - 'static-routes' renamed to 'routes'
1734
1735 2008-08-04  Dan Williams  <dcbw@redhat.com>
1736
1737         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1738
1739         * src/NetworkManager.c
1740           src/nm-manager.c
1741           src/nm-manager.h
1742                 - More explicitly make the NMManager a singleton
1743
1744 2008-08-04  Dan Williams  <dcbw@redhat.com>
1745
1746         * libnm-util/nm-connection.c
1747           libnm-util/nm-connection.h
1748                 - (nm_connection_verify): return error on missing 'connection' setting
1749                         (found by Sjoerd Simons)
1750
1751 2008-08-04  Dan Williams  <dcbw@redhat.com>
1752
1753         Handle multiple concurrent PPP connections.
1754
1755         * src/ppp-manager/nm-ppp-manager.c
1756           src/ppp-manager/nm-ppp-manager.h
1757                 - (constructor): only PPP Manager request bus name once; each
1758                         NMPPPManager object gets a unique object path
1759                 - (nm_ppp_manager_class_init, get_property, set_property,
1760                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1761                         at construct time
1762                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1763                         remove timeout until PPP manager gets an IP4 config
1764                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1765                         the plugin can call back to this specific PPP manager instance
1766
1767         * src/nm-device-ethernet.c
1768           src/nm-serial-device.c
1769                 - Pass parent device in nm_ppp_manager_new()
1770
1771         * src/nm-gsm-device.c
1772           src/nm-cdma-device.c
1773                 - (device_state_changed): don't close serial device on NEED_AUTH
1774                         state changed, that's not a failure case like the rest are
1775
1776         * src/ppp-manager/nm-pppd-plugin.c
1777                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1778                         binds one interface to any pppd process, thus the correct index
1779                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1780                         problems; try harder to get a peer address in spite of pppd
1781                 - (plugin_init): use 'ipparam' as the object path back to our specific
1782                         PPP manager instance
1783
1784 2008-08-04  Dan Williams  <dcbw@redhat.com>
1785
1786         * src/ppp-manager/nm-ppp-manager.c
1787                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1788                         since the GSM and CDMA settings now implement need_secrets, we can
1789                         rely on them to do the right thing.  Where secrets are not required,
1790                         just pass empty strings back to the pppd plugin.
1791                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1792                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1793                         on successful IP4 config receipt
1794
1795 2008-08-04  Dan Williams  <dcbw@redhat.com>
1796
1797         * libnm-util/nm-setting-cdma.c
1798           libnm-util/nm-setting-gsm.c
1799                 - (verify): validate username & password if they exist
1800                 - (need_secrets): if username given, require a password too
1801
1802 2008-08-04  Dan Williams  <dcbw@redhat.com>
1803
1804         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1805                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1806                         manpage says about --listen-address without --interface
1807                         (bgo #546033)
1808
1809 2008-08-01  Dan Williams  <dcbw@redhat.com>
1810
1811         * libnm-glib/nm-device.c
1812                 - (proxy_get_string): util function for querying a HAL property
1813                 - (get_ancestor_device): split out from get_product_and_vendor()
1814                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1815                         from PCI devices by querying subsys properties
1816                 - (nm_device_update_description): simplify
1817
1818 2008-08-01  Dan Williams  <dcbw@redhat.com>
1819
1820         * libnm-util/nm-setting-ip4-config.c
1821           libnm-util/nm-setting-ip4-config.h
1822                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1823                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1824                         settings, and they don't necessarily use DHCP.
1825
1826         * src/NetworkManagerPolicy.c
1827           src/nm-device.c
1828           system-settings/plugins/ifcfg-fedora/reader.c
1829           system-settings/plugins/ifcfg-suse/parser.c
1830                 - Fixup for method changes
1831
1832 2008-07-31  Dan Williams  <dcbw@redhat.com>
1833
1834         * src/nm-activation-request.c
1835           src/vpn-manager/nm-vpn-connection.c
1836                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1837                         itself should be attached to the activation request or the VPN
1838                         connection, not the NMConnection object, since the call is not
1839                         expected to live as long as the NMConnection itself
1840
1841 2008-07-31  Dan Williams  <dcbw@redhat.com>
1842
1843         * src/nm-device-wifi.c
1844                 - (real_act_stage2_config): fix issue where association would continue
1845                         even though secrets were needed; 'goto out' was in wrong scope and
1846                         result of handle_auth_or_fail() should have been dumped directly to
1847                         'ret' to ensure that the association was postponed until secrets
1848                         are available
1849
1850 2008-07-31  Dan Williams  <dcbw@redhat.com>
1851
1852         * system-settings/plugins/ifcfg-fedora/plugin.c
1853           system-settings/plugins/ifcfg-fedora/reader.c
1854                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1855                         valid NM connection
1856
1857 2008-07-29  Dan Williams  <dcbw@redhat.com>
1858
1859         * src/nm-gsm-device.c
1860                 - (automatic_registration_response, automatic_registration): recognize
1861                         denied registration and reorder responses
1862
1863 2008-07-29  Dan Williams  <dcbw@redhat.com>
1864
1865         * src/nm-serial-device.c
1866                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1867                         time(2) is used for current time, which returns seconds, we shouldn't
1868                         be multiplying by 1000.
1869
1870 2008-07-28  Dan Williams  <dcbw@redhat.com>
1871
1872         Patch from Fabrice Bellet <fabrice@bellet.info>
1873
1874         * src/NetworkManagerSystem.c
1875                 - (route_in_same_subnet): mask addresses and compare them so that the
1876                         function actually does what it says it's going to do (rh #456685)
1877
1878 2008-07-27  Dan Williams  <dcbw@redhat.com>
1879
1880         * libnm-util/nm-setting-ip6-config.c
1881                 - (set_property): add missing break that caused routes to be overwritten
1882                         with addresses
1883
1884         * libnm-util/nm-setting-ip6-config.c
1885                 - (verify): validate routes and return GError everywhere on invalid setting
1886                 - (finalize): don't leak routes
1887                 - (set_property): add missing break that caused routes to be overwritten
1888                         with addresses
1889
1890 2008-07-27  Dan Williams  <dcbw@redhat.com>
1891
1892         * libnm-util/*
1893                 - Relicense to LGPLv2+
1894
1895 2008-07-27  Dan Williams  <dcbw@redhat.com>
1896
1897         * system-settings/plugins/ifcfg-fedora/reader.c
1898                 - (make_ip4_setting): fix parsing automatic configs
1899
1900 2008-07-27  Dan Williams  <dcbw@redhat.com>
1901
1902         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1903           src/nm-device.c
1904           src/ppp-manager/nm-ppp-manager.c
1905                 - Ensure child process gets reaped.  The child watch function may be
1906                         removed from the mainloop before the child gets killed, so we have
1907                         to make sure the child is reaped when it's told to die intentionally
1908
1909 2008-07-27  Dan Williams  <dcbw@redhat.com>
1910
1911         Patch from Roy Marples <roy@marples.name>
1912
1913         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1914                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1915
1916 2008-07-27  Dan Williams  <dcbw@redhat.com>
1917
1918         * src/nm-gsm-device.c
1919                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1920                         Huawei devices turn echo back on after CPIN (rh #456770)
1921
1922 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1923
1924         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1925         format argument to g_set_error() call.
1926
1927         * src/backends/interface_parser.[ch]: Remove.
1928
1929         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1930
1931 2008-07-21  Dan Williams  <dcbw@redhat.com>
1932
1933         * src/ppp-manager/nm-ppp-manager.c
1934                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1935                         to prevent pppd from picking up some random local address from an
1936                         interface that doesn't have anything to do with the one we're
1937                         interested in (rh #455348)
1938
1939 2008-07-17  Dan Williams  <dcbw@redhat.com>
1940
1941         * libnm-util/nm-utils.c
1942                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1943                         by locale
1944                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1945                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1946
1947 2008-07-17  Dan Williams  <dcbw@redhat.com>
1948
1949         * introspection/Makefile.am
1950           introspection/nm-device.xml
1951           introspection/nm-dhcp4-config.xml
1952                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1953                         itself
1954         * src/nm-device-interface.c
1955           src/nm-device-interface.h
1956                 - Add the DHCP4Config property
1957
1958         * src/nm-device.c
1959                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1960                         D-Bus clients when it changes
1961
1962         * src/nm-dhcp4-config.c
1963           src/nm-dhcp4-config.h
1964                 - Simple object to store DHCP4 options, export them over D-Bus, and
1965                         notify when they change
1966
1967         * src/dhcp-manager/nm-dhcp-manager.c
1968           src/dhcp-manager/nm-dhcp-manager.h
1969                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1970                         filter server-returned DHCP options into an NMDHCP4Config object
1971
1972 2008-07-16  Dan Williams  <dcbw@redhat.com>
1973
1974         * introspection/nm-device.xml
1975                 - Add device state reasons
1976
1977 2008-07-16  Dan Williams  <dcbw@redhat.com>
1978
1979         Patch from Roy Marples <roy@marples.name>
1980
1981         * configure.in
1982                 - Add --with-dhcp-client option
1983
1984         * src/dhcp-manager/Makefile.am
1985                 - pass DHCP_CLIENT_PATH on compile line
1986
1987         * src/dhcp-manager/nm-dhcp-manager.c
1988           src/dhcp-manager/nm-dhcp-manager.h
1989                 - Genericize for both dhcpcd and dhclient
1990
1991         * src/dhcp-manager/nm-dhcp-dhclient.c
1992                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1993
1994         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1995                 - Implement support for dhcpcd too
1996
1997 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1998
1999         * system-settings/src/nm-system-config-interface.c 
2000         (nm_system_config_interface_supports_add): Implement.
2001         (nm_system_config_interface_add_connection): Return a boolean to notify
2002         of errors.
2003
2004         * system-settings/src/nm-polkit-helpers.c: 
2005         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2006         a separate file.
2007
2008         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2009         Return an error when none of the plugins support add or if addition
2010         failed for some reason.
2011
2012         * system-settings/src/nm-system-config-error.h: 
2013         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2014         here from nm-polkit-helpers.[ch].
2015
2016         * system-settings/src/Makefile.am: Build new files.
2017
2018         * system-settings/plugins/keyfile/reader.c 
2019         (read_array_of_array_of_uint): Make it more general so that it would
2020         work for routes as well.
2021
2022         * system-settings/plugins/keyfile/writer.c
2023         (write_array_of_array_of_uint): Ditto.
2024         Fix the netmask/prefix writing.
2025
2026         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2027         boolean to notify errors.
2028
2029         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2030         Return more specific error.
2031         (delete): Ditto.
2032
2033 2008-07-11  Dan Williams  <dcbw@redhat.com>
2034
2035         Modify the NMDevice::state-changed signal to include the previous state
2036         and reason. Enables the applet to provide more information why device
2037         activation failed.
2038
2039 2008-07-09  Dan Williams  <dcbw@redhat.com>
2040
2041         * callouts/Makefile.am
2042           callouts/nm-avahi-autoipd-action.c
2043           callouts/nm-avahi-autoipd.conf
2044                 - avahi-autoipd callout to send options back to NM
2045
2046         * src/autoip.c
2047           src/autoip.h
2048                 - remove
2049
2050         * src/nm-device.c
2051           src/nm-device-private.h
2052           src/nm-manager.c
2053                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2054                         old custom stuff
2055
2056 2008-07-07  Dan Williams  <dcbw@redhat.com>
2057
2058         * system-settings/plugins/ifcfg-fedora/reader.c
2059                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2060                         handle PREFIX too; clean up
2061
2062 2008-07-07  Dan Williams  <dcbw@redhat.com>
2063
2064         Convert to using IPv4 prefixes instead of netmasks.
2065
2066 2008-07-03  Dan Williams  <dcbw@redhat.com>
2067
2068         * libnm-util/nm-setting-ip4-config.c
2069           libnm-util/nm-setting-ip4-config.h
2070                 - Add properties for DHCP Client Identifier and DHCP Hostname
2071
2072         * src/dhcp-manager/nm-dhcp-manager.c
2073           src/dhcp-manager/nm-dhcp-manager.h
2074                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2075                         setting as an argument to pass on to the dhclient config file
2076                         creation function
2077                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2078                         DHCP is torn down
2079                 - (dhclient_run): punt config file handling to create_dhclient_config()
2080                 - (create_dhclient_config): create an interface-specific dhclient
2081                         config file since there may need to be interface-specific options
2082                         passed to dhclient
2083                 - (merge_dhclient_config): merge normal distro dhclient config file and
2084                         add options from the connection
2085                 - (nm_dhcp_device_new): generate the interface specific dhclient
2086                         config file path once
2087                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2088                         dhclient config file path
2089
2090         * src/nm-device.c
2091                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2092                         DHCP manager when starting DHCP
2093
2094 2008-07-02  Dan Williams  <dcbw@redhat.com>
2095
2096         * libnm-util/nm-setting-8021x.c
2097                 - (verify): allow forcing the PEAP label to 0
2098
2099 2008-07-02  Dan Williams  <dcbw@redhat.com>
2100
2101         * introspection/nm-active-connection.xml
2102           introspection/nm-vpn-connection.xml
2103           libnm-glib/nm-active-connection.c
2104           src/nm-activation-request.c
2105           src/nm-active-connection.h
2106           src/vpn-manager/nm-vpn-connection.c
2107                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2108                         and libnm-glib API since sharing didn't get implemented that way
2109
2110 2008-07-02  Dan Williams  <dcbw@redhat.com>
2111
2112         * src/nm-device-wifi.c
2113                 - (can_scan): don't scan when a shared connection is activated since
2114                         that makes drivers mad (causing disconnects); also NM doesn't need
2115                         to hedge against disconnects by keeping up-to-date network topology
2116                         because the connection originates from the local machine, and thus
2117                         there should be no disconnects
2118
2119 2008-07-01  Dan Williams  <dcbw@redhat.com>
2120
2121         Fix mobile broadband username/password issues.  NM was never requesting
2122         mobile broadband secrets, nor was it passing back the username and password
2123         if it had them.
2124
2125         * marshallers/nm-marshal.list
2126                 - Add some new types for activation request objects
2127
2128         * src/nm-activation-request.c
2129           src/nm-activation-request.h
2130                 - (get_secrets_cb): pass the caller type in the signal
2131                 - (nm_act_request_request_connection_secrets): take a caller type, so
2132                         that GetSecrets() reply handlers know who asked for the secrets in
2133                         the first place; use secret hints too so the settings service can
2134                         figure out exactly what NM wants (ie, PIN or the PPP password)
2135
2136         * src/ppp-manager/nm-ppp-manager.c
2137           src/ppp-manager/nm-ppp-manager.h
2138                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2139                         detect needed secrets when the secret could be blank, like GSM/CDMA
2140                         passwords.  So always ask for secrets, and send a hint as to what
2141                         secret we really want.
2142                 - (nm_ppp_manager_update_secrets): make function more generic by making
2143                         the device specific class figure out the username and password, and
2144                         accept an error argument to return back over D-Bus
2145
2146         * src/nm-device-wifi.c
2147                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2148                         nm_act_request_request_connection_secrets()
2149                 - (real_connection_secrets_updated): update for 'caller' changes
2150
2151         * src/nm-device.c
2152           src/nm-device.h
2153                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2154                         for 'caller' changes
2155
2156         * src/nm-device-ethernet.c
2157                 - (real_connection_secrets_updated): update for 'caller' changes and
2158                         move logic for getting PPPoE username and password here before
2159                         calling nm_ppp_manager_update_secrets()
2160                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2161                         nm_act_request_request_connection_secrets()
2162
2163         * src/nm-cdma-device.c
2164                 - (real_connection_secrets_updated): pass username and password back
2165                         to the PPP manager when required
2166
2167         * src/nm-gsm-device.c
2168                 - (enter_pin): send the required secret name to the settings service
2169                 - (real_connection_secrets_updated): pass username and password back
2170                         to the PPP manager when required
2171
2172 2008-06-30  Dan Williams  <dcbw@redhat.com>
2173
2174         * src/nm-device-wifi.c
2175                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2176
2177 2008-06-30  Dan Williams  <dcbw@redhat.com>
2178
2179         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2180         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2181         priv->supplicant.iface.  When either condition is false, the device should
2182         transition back to UNAVAILABLE because it cannot be used.
2183
2184         * src/nm-device-wifi.c
2185                 - (constructor): cleanup; connect to supplicant manager here since the
2186                         supplicant manager is always around
2187                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2188                         ensure the supplicant manager is in the IDLE state
2189                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2190                         cancel any pending scans too
2191                 - (real_bring_up): don't set up the supplicnat interface here, because
2192                         we need the supplicant interface at times when the device may not
2193                         be "up"
2194                 - (real_take_down): just remove the periodic source
2195                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2196                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2197                         do anything if there's no supplicant interface
2198                 - (cleanup_association_attempt): cleanup
2199                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2200                         the interface enters the READY state; transition to UNAVAILABLE
2201                         state when the interface goes down because the device can't be used
2202                         without a supplicant interface
2203                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2204                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2205                         acquire the supplicant interface and transition to DISCONNECTED
2206                         if the radio isn't killed
2207                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2208                 - (state_changed_cb): release any existing supplicant interface; if the
2209                         radio is enabled then try to acquire a new supplicant interface;
2210                         if the radio is enabled and a supplicant interface has been acquired,
2211                         we can transition to DISCONNECTED
2212                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2213                         don't enable the radio, because HAL probably lied to us about the
2214                         killswitch being off.  If bringing the hardware up worked, then
2215                         try to grab a supplicant interface, and if that was successful,
2216                         transition to DISCONNECTED
2217
2218 2008-06-30  Dan Williams  <dcbw@redhat.com>
2219
2220         * src/supplicant-manager/nm-supplicant-interface.c
2221                 - (request_scan_results, nm_supplicant_interface_dispose,
2222                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2223                         the id of the timeout, not a GSource
2224
2225 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2226
2227         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2228         bunch of typoes introduced by "Patch from David Cantrell 
2229         <dcantrell@redhat.com> and me".
2230
2231 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2232
2233         * src/nm-serial-device.c: 
2234         * src/nm-gsm-device.c: 
2235         * src/nm-cdma-device.c: Move the pending call handling to a common location
2236         in serial device. Handle setting device state to failed in one place as well.
2237
2238 2008-06-29  Dan Williams <dcbw@redhat.com>
2239
2240         * src/nm-hal-manager.c
2241                 - Rework killswitch handling to query killswitch status immediately
2242                         when the first killswitch is added, so that rfkill state is
2243                         known as early as possible
2244                 - Also treat failure of GetPower() as rfkill when the dbus method
2245                         call times out (but not when the HAL callout returns an error)
2246
2247 2008-06-26  Dan Williams <dcbw@redhat.com>
2248
2249         Patch from David Cantrell <dcantrell@redhat.com> and me
2250
2251         * include/nm-dbus-glib-types.h
2252                 - Add IP6 address types
2253
2254         * libnm-util/Makefile.am
2255           libnm-util/nm-setting-ip6-config.c
2256           libnm-util/nm-setting-ip6-config.h
2257                 - Add IP6 settings object
2258
2259         * libnm-util/nm-connection.c
2260                 - (register_default_settings): register ip6 settings object
2261
2262         * libnm-util/nm-utils.c
2263           libnm-util/nm-utils.h
2264                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2265                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2266                         ip6 address conversion functions
2267         
2268 2008-06-26  Dan Williams <dcbw@redhat.com>
2269
2270         Patch from David Cantrell <dcantrell@redhat.com>
2271         
2272         * Use inet_ntop() and inet_pton() everwhere and check for errors
2273
2274 2008-06-26  Dan Williams <dcbw@redhat.com>
2275
2276         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2277
2278 2008-06-26  Dan Williams <dcbw@redhat.com>
2279
2280         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2281
2282         * src/nm-device-wifi.c
2283                 - (link_timeout_cb): don't ignore disconnects due to scanning
2284                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2285                         a longer timeout when scanning; avoids case where supplicant can't
2286                         find the AP and just keeps scanning forever but isn't connected
2287
2288 2008-06-26  Dan Williams <dcbw@redhat.com>
2289
2290         Patch from Michael Biebl <biebl@debian.org>
2291
2292         * Clean up build system stuff
2293
2294 2008-06-23  Christian Persch  <chpe@gnome.org>
2295
2296         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2297         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2298         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2299         (impl_get_object):
2300         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2301         (impl_get_object):
2302         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2303         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2304         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2305         (impl_get_object):
2306         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2307         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2308         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2309         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2310         * vpn-daemons/pptp/properties/vpnui_opt.c:
2311         (vpnui_opt_connect_signals):
2312         * vpn-daemons/pptp/properties/vpnui_opt.h:
2313         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2314         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2315         deprecated gtk type macros. Bug #539325.
2316
2317 2008-06-20  Dan Williams  <dcbw@redhat.com>
2318
2319         * libnm-glib/nm-vpn-plugin-ui-interface.c
2320           libnm-glib/nm-vpn-plugin-ui-interface.h
2321                 - 'validity-changed' -> 'changed' to work better with the connection
2322                         editor.  Plugin UI widgets should emit 'changed' whenever their
2323                         UI values change in a meaningful way.
2324                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2325                         update_connection member now returns validity of the UI widget
2326
2327 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2328
2329         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2330
2331 2008-06-17  Dan Williams  <dcbw@redhat.com>
2332
2333         * libnm-glib/nm-vpn-plugin-ui-interface.c
2334           libnm-glib/nm-vpn-plugin-ui-interface.h
2335                 - Add "desc" property for longer descriptions of the VPN plugin
2336
2337 2008-06-16  Dan Williams  <dcbw@redhat.com>
2338
2339         * configure.in
2340           libnm-glib/libnm_glib_vpn.pc.in
2341                 - add a .pc file for libnm_glib_vpn
2342
2343         * libnm-glib/nm-vpn-plugin-ui-interface.c
2344           libnm-glib/nm-vpn-plugin-ui-interface.h
2345                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2346                         rework it substantially
2347
2348 2008-06-12  Dan Williams  <dcbw@redhat.com>
2349
2350         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2351         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2352         returns a descriptive GError when verification fails.
2353
2354 2008-06-11  Dan Williams  <dcbw@redhat.com>
2355
2356         Patch from Tambet Ingo <tambet@gmail.com>
2357
2358         * libnm-util/nm-setting-gsm.c
2359                 - (verify): validate APN
2360
2361         * src/nm-gsm-device.c
2362                 - (manual_registration_done): start setting APN if needed
2363                 - (set_apn, set_apn_done): set the APN
2364                 - (do_dial): use the APN when dialing
2365
2366 2008-06-11  Dan Williams  <dcbw@redhat.com>
2367
2368         * src/NetworkManagerSystem.c
2369                 - (nm_system_device_set_ip4_route,
2370                    nm_system_device_replace_default_ip4_route): check for the right
2371                         return value from rtnl_route_add() to know when to add a gateway
2372                         route (from Tambet)
2373
2374 2008-06-11  Dan Williams  <dcbw@redhat.com>
2375
2376         * src/NetworkManagerPolicy.c
2377                 - do_ipt_cmd -> do_cmd
2378                 - (sharing_init): use do_cmd() instead of system()
2379
2380 2008-06-10  Dan Williams  <dcbw@redhat.com>
2381
2382         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2383         and use "wifi" everwhere instead.
2384
2385 2008-06-10  Dan Williams  <dcbw@redhat.com>
2386
2387         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2388
2389 2008-06-10  Dan Williams  <dcbw@redhat.com>
2390
2391         Patch from Tambet Ingo <tambet@gmail.com>
2392
2393         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2394                 changes.
2395
2396         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2397                 a signal to emit these changes over dbus.
2398
2399         * src/Makefile.am: Genereate nm-serial-device-glue.
2400
2401         * libnm-glib/nm-serial-device.[ch]: Implement.
2402
2403         * libnm-glib/nm-cdma-device.[ch]
2404           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2405
2406         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2407
2408         * introspection/nm-device-serial.xml: Implement.
2409
2410         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2411
2412         * introspection/Makefile.am: Add nm-device-serial.xml.
2413
2414         * include/NetworkManager.h: Add a DBus interface for serial device.
2415
2416 2008-06-10  Dan Williams  <dcbw@redhat.com>
2417
2418         * configure.in
2419                 - Add TARGET_* define to config.h to distinguish distros
2420
2421         * src/dhcp-manager/nm-dhcp-manager.c
2422                 - (dhclient_run): use distro-specific path for dhclient config file
2423
2424 2008-06-09  Dan Williams  <dcbw@redhat.com>
2425
2426         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2427           src/dnsmasq-manager/nm-dnsmasq-manager.h
2428                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2429                         calculate the addresses passed to dnsmasq instead of hard-coding
2430                         them
2431
2432         * src/nm-device.c
2433                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2434                         IP addresses for shared connections to guard against shared
2435                         connection address collisions
2436                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2437                         error conditions
2438                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2439                         the dnsmasq manager
2440
2441 2008-06-09  Dan Williams  <dcbw@redhat.com>
2442
2443         * src/NetworkManagerPolicy.c
2444                 - (update_routing_and_dns): set the default connection _after_ unsetting
2445                         default on all non-default connections so that two connections can
2446                         never be default at the same time
2447                 - (device_state_changed): start and stop connection sharing when
2448                         needed
2449                 - (active_connection_default_changed): restart or stop sharing when
2450                         the default connection changes to keep shared connections always
2451                         NAT-ed through the default connection
2452                 - (check_sharing): handle activation/deactivation of shared connections
2453                 - (sharing_restart): atom-bomb approach to connection sharing until we
2454                         can use libnl; reinit all sharing when the default connection or
2455                         shared connections change
2456                 - (sharing_init, sharing_stop): evil functions that init and deinit
2457                         iptables
2458
2459 2008-06-09  Dan Williams  <dcbw@redhat.com>
2460
2461         * src/nm-activation-request.c
2462           src/nm-activation-request.h
2463                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2464                    nm_act_request_get_device): new functions to facilitate connection
2465                         sharing
2466
2467 2008-06-09  Dan Williams  <dcbw@redhat.com>
2468
2469         * src/nm-device.c
2470                 - (clear_act_request): unset the 'default' property of the activation
2471                         request when clearing it to ensure the property changed signal gets
2472                         delivered and handled
2473
2474 2008-06-09  Dan Williams  <dcbw@redhat.com>
2475
2476         * libnm-glib/nm-device-802-11-wireless.c
2477                 - (access_point_removed_proxy): actually unref the AP after removing
2478                         it from the device's AP list.  Fixes refcounting bug for APs that
2479                         caused them to get mixed up in the applet's menu.
2480
2481 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2482
2483         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2484         (nm_dhcp_device_destroy): Destroy the device options hash table.
2485
2486 2008-06-06  Dan Williams <dcbw@redhat.com>
2487
2488         * system-settings/src/nm-polkit-helpers.c
2489                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2490                         unref the context if the initialization fails; also avoid spew when
2491                         the error isn't set
2492
2493 2008-06-06  Dan Williams <dcbw@redhat.com>
2494
2495         Patch from Tambet Ingo  <tambet@gmail.com>
2496
2497         * src/NetworkManagerSystem.c
2498           src/NetworkManagerSystem.h
2499                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2500                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2501                 - (nm_system_device_set_ip4_route): clean up
2502                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2503
2504         * src/nm-device.c
2505                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2506
2507         * src/vpn-manager/nm-vpn-connection.c
2508                 - (ip_address_to_string): new function
2509                 - (print_vpn_config): use ip_address_to_string
2510                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2511                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2512
2513         * include/NetworkManagerVPN.h
2514                 - Add 'routes' key
2515
2516 2008-06-05  Dan Williams <dcbw@redhat.com>
2517
2518         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2519
2520         * test/nm-tool.c
2521                 - Show which device is the default device
2522
2523 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2524
2525         Fix memory leaks.
2526
2527         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2528         Free data returned from dbus method call.
2529
2530         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2531         dbus_g_method_get_sender() returns a duplicated string, free it 
2532         when done.
2533         (check_polkit_privileges): Looks like policykit sometimes returns
2534         error and non-null return value, don't leak errors in that case.
2535
2536         * system-settings/src/main.c (find_plugin): Don't leak existing 
2537         plugin names.
2538         (load_stuff): Don't leak device list and list items.
2539         (have_connection_for_device): Don't leak connection list.
2540
2541         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2542         Free the data received from g_keyfile_get_*.
2543
2544         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2545         the key when the security object is updated.
2546
2547         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2548         Free data returned from dbus method call.
2549         (iface_state_cb): Ditto.
2550         (add_network_cb): Ditto.
2551         (nm_supplicant_interface_add_cb): Don't make another copy of already
2552         duplicated object path.
2553         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2554         when done.
2555
2556         * src/supplicant-manager/nm-supplicant-config.c 
2557         (ADD_STRING_LIST_VAL): Fix a memory leak.
2558
2559         * src/nm-manager.c (free_get_settings_info): Free the allocated
2560         memory slice.
2561         (list_connections_cb): Free data returned from dbus method call.
2562         (system_settings_get_unmanaged_devices_cb): Ditto.
2563
2564         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2565
2566         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2567         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2568         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2569         of the GList.
2570
2571         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2572         arguments after the object is created.
2573
2574 2008-06-04  Dan Williams <dcbw@redhat.com>
2575
2576         * libnm-util/Makefile.am
2577                 - Don't distribute nm-param-spec-specialized.h
2578
2579 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2580
2581         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2582
2583         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2584         NMIP4Address, update the getters and setters.
2585
2586         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2587         Use the updated NMIP4Config routes api.
2588
2589         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2590         static routes as well.
2591
2592         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2593         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2594         routes api.
2595
2596 2008-05-30  Dan Williams <dcbw@redhat.com>
2597
2598         * src/named-manager/nm-named-manager.c
2599           src/named-manager/nm-named-manager.h
2600                 - Remove stale/obsolete bits for controlling bind over DBus
2601
2602 2008-05-29  Dan Williams <dcbw@redhat.com>
2603
2604         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2605           src/dnsmasq-manager/nm-dnsmasq-manager.h
2606                 - (nm_dnsmasq_manager_new): move iface argument here
2607                 - (constructor): remove, not needed
2608                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2609                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2610
2611         * src/nm-device.c
2612                 - (real_act_stage4_get_ip4_config,
2613                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2614                         changes
2615
2616 2008-05-29  Dan Williams <dcbw@redhat.com>
2617
2618         * src/nm-device.c
2619                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2620                         something happens to dnsmasq
2621                 - (nm_device_new_ip4_shared_config): new function; create a new
2622                         ip4-config for shared connections.  Shared connections always use a
2623                         fixed static IP address.
2624                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2625                         autoip connections by actually using the returned ip4-config and
2626                         not leaking it
2627                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2628                         connections
2629                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2630                         if its active
2631
2632 2008-05-29  Dan Williams <dcbw@redhat.com>
2633
2634         * src/nm-device-802-11-wireless.c
2635                 - (real_get_best_auto_connection): auto-activate 'shared' method
2636                         connections too
2637
2638 2008-05-29  Dan Williams <dcbw@redhat.com>
2639
2640         * libnm-util/nm-setting-ip4-config.c
2641           libnm-util/nm-setting-ip4-config.h
2642                 - Add a 'shared' method to indicate that this connection should be
2643                         brought up with a DHCP and proxy DNS server to facilitate
2644                         connection sharing.
2645                 - (verify): 'shared' method doesn't allow DNS or searches either
2646
2647 2008-05-29  Dan Williams <dcbw@redhat.com>
2648
2649         * configure.in
2650           src/Makefile.am
2651           src/dnsmasq-manager/Makefile.am
2652           src/dnsmasq-manager/nm-dnsmasq-manager.c
2653           src/dnsmasq-manager/nm-dnsmasq-manager.h
2654                 - Add a dnsmasq daemon manager to facilitate connection sharing
2655
2656 2008-05-29  Dan Williams <dcbw@redhat.com>
2657
2658         * src/nm-device-private.h
2659                 - Remove unused prototypes and clean up
2660
2661         * src/nm-device.c
2662                 - Remove anything related to system_config_data, which is no longer used
2663                 - (nm_device_new_ip4_autoip_config): make static
2664
2665 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2666
2667         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2668         (file_changed): Fix a bug where suse system settings plugin didn't
2669         update the connections automatically when the files changed.
2670
2671 2008-05-28  Dan Williams  <dcbw@redhat.com>
2672
2673         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2674
2675 2008-05-28  Dan Williams  <dcbw@redhat.com>
2676
2677         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2678
2679         * src/NetworkManagerSystem.c
2680                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2681                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2682                         was causing -EINVAL errors since the libnl code actually does flush
2683                         the routes on VPN interfaces now
2684
2685         * src/backends/NetworkManagerArch.c
2686           src/backends/NetworkManagerDebian.c
2687           src/backends/NetworkManagerFrugalware.c
2688           src/backends/NetworkManagerGeneric.c
2689           src/backends/NetworkManagerGentoo.c
2690           src/backends/NetworkManagerMandriva.c
2691           src/backends/NetworkManagerPaldo.c
2692           src/backends/NetworkManagerRedHat.c
2693           src/backends/NetworkManagerSlackware.c
2694           src/backends/NetworkManagerSuSE.c
2695                 - (nm_system_device_flush_ip4_routes,
2696                    nm_system_device_flush_ip4_routes_with_iface): remove
2697
2698 2008-05-28  Dan Williams  <dcbw@redhat.com>
2699
2700         * libnm-util/nm-setting-wireless.c
2701           libnm-util/nm-setting-wireless.h
2702                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2703                         'adhoc-create' property, which when TRUE indicates that NM should
2704                         create this connection as an adhoc wifi network if it's not found
2705                         as an adhoc network during scanning.  Can be used to auto-create
2706                         adhoc networks when used in combination with autoconnect.
2707
2708 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2709
2710         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2711
2712         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2713         checked, it doesn't work on some devices.
2714
2715 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2716
2717         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2718         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2719
2720         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2721         Use inet_aton() everywhere to improve error detection.
2722         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2723         provided.
2724
2725 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2726
2727         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2728         Fix a typo.
2729
2730 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2731
2732         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2733         reference counting issue.
2734
2735 2008-05-23  Dan Williams  <dcbw@redhat.com>
2736
2737         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2738
2739         * src/backends/NetworkManagerGeneric.c
2740                 - (nm_generic_enable_loopback): use libnl
2741
2742 2008-05-23  Dan Williams  <dcbw@redhat.com>
2743
2744         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2745
2746         * src/NetworkManagerSystem.h
2747           src/backends/NetworkManagerArch.c
2748           src/backends/NetworkManagerDebian.c
2749           src/backends/NetworkManagerFrugalware.c
2750           src/backends/NetworkManagerGentoo.c
2751           src/backends/NetworkManagerMandriva.c
2752           src/backends/NetworkManagerPaldo.c
2753           src/backends/NetworkManagerRedHat.c
2754           src/backends/NetworkManagerSlackware.c
2755           src/backends/NetworkManagerSuSE.c
2756                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2757                    nm_system_flush_arp_cache): remove, unused
2758
2759         * src/backends/NetworkManagerGeneric.c
2760           src/backends/NetworkManagerGeneric.h
2761                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2762                    nm_generic_flush_arp_cache): remove, unused
2763
2764 2008-05-23  Dan Williams  <dcbw@redhat.com>
2765
2766         * system-settings/plugins/ifcfg-fedora/reader.c
2767                 - (make_ip4_setting): honor PEERDNS setting
2768
2769 2008-05-23  Dan Williams  <dcbw@redhat.com>
2770
2771         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2772
2773         * src/NetworkManagerSystem.c
2774                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2775                         libnl
2776
2777         * src/backends/NetworkManagerArch.c
2778           src/backends/NetworkManagerDebian.c
2779           src/backends/NetworkManagerFrugalware.c
2780           src/backends/NetworkManagerGentoo.c
2781           src/backends/NetworkManagerMandriva.c
2782           src/backends/NetworkManagerPaldo.c
2783           src/backends/NetworkManagerRedHat.c
2784           src/backends/NetworkManagerSlackware.c
2785           src/backends/NetworkManagerSuSE.c
2786                 - (nm_system_device_flush_ip4_addresses,
2787                    nm_system_device_flush_ip4_addresses_with_iface): remove
2788
2789         * src/backends/NetworkManagerGeneric.c
2790                 - (nm_generic_device_flush_ip4_addresses,
2791                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2792
2793 2008-05-23  Dan Williams  <dcbw@redhat.com>
2794
2795         * src/supplicant-manager/nm-supplicant-settings-verify.c
2796                 - Switch 'bssid' from bytes to keyword type
2797                 - (validate_type_keyword): allow NULL keyword lists
2798
2799         * src/supplicant-manager/nm-supplicant-config.c
2800                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2801                         a byte array to string form, which is what the supplicant expects
2802
2803 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2804
2805         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2806         information received from DHCP.
2807
2808         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2809         to make it possible to ignore the DNS information (both servers and 
2810         searches) returned by DHCP server.
2811
2812         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2813         name servers and searches if "ignore_dhcp_dns" is set.
2814
2815         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2816         (nm_ip4_config_reset_searches): Implement.
2817
2818 2008-05-22  Dan Williams  <dcbw@redhat.com>
2819
2820         Remove anything mDNS related.  This is better done from a distro-specific
2821         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2822         avahi, since avahi can handle interface changes just fine using netlink.
2823
2824         * configure.in
2825                 - Remove --with-mdns-provider
2826
2827         * src/NetworkManagerPolicy.c
2828                 - (global_state_changed): don't restart the mdns provider
2829
2830         * src/NetworkManagerSystem.h
2831           src/backends/NetworkManagerArch.c
2832           src/backends/NetworkManagerDebian.c
2833           src/backends/NetworkManagerFrugalware.c
2834           src/backends/NetworkManagerGentoo.c
2835           src/backends/NetworkManagerMandriva.c
2836           src/backends/NetworkManagerPaldo.c
2837           src/backends/NetworkManagerRedHat.c
2838           src/backends/NetworkManagerSlackware.c
2839           src/backends/NetworkManagerSuSE.c
2840                 - (nm_system_restart_mdns_responder): remove
2841
2842         * src/backends/NetworkManagerGeneric.c
2843           src/backends/NetworkManagerGeneric.h
2844                 - (nm_generic_restart_mdns_responder): remove
2845
2846 2008-05-22  Dan Williams  <dcbw@redhat.com>
2847
2848         * configure.in
2849                 - clean up crypto options; just use --with-crypto=nss or
2850                         --with-crypto=gnutls
2851
2852 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2853
2854         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2855         anymore, do it right away.
2856
2857 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2858
2859         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2860         serial device open when we're not connecting or connected.
2861
2862         * src/nm-cdma-device.c (device_state_changed): Ditto.
2863
2864 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2865
2866         Don't remove all devices on waking up, sync with HAL.
2867
2868         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2869         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2870         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2871
2872 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2873
2874         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2875         If the default gateway is unreachable, add a route to gateway and try
2876         again.
2877
2878 2008-05-20  Dan Williams  <dcbw@redhat.com>
2879
2880         * system-settings/plugins/ifcfg-fedora/reader.c
2881                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2882
2883 2008-05-19  Dan Williams  <dcbw@redhat.com>
2884
2885         * system-settings/plugins/ifcfg-fedora/reader.c
2886                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2887                         if the ifcfg doesn't specify one (rh #446527)
2888
2889 2008-05-19  Dan Williams  <dcbw@redhat.com>
2890
2891         Make the system settings service exit when the bus goes away.  Since it's
2892         a bus-activated service, it's lifetime is limited to the bus that activated
2893         it (rh #444976).
2894
2895         * system-settings/src/Makefile.am
2896           system-settings/src/nm-system-config-hal-manager-private.h
2897                 - Remove nm-system-config-hal-manager-private.h
2898
2899         * system-settings/src/nm-system-config-hal-manager.c
2900                 - (nm_system_config_hal_manager_reinit_dbus,
2901                    nm_system_config_hal_manager_deinit_dbus): remove
2902
2903         * system-settings/src/main.c
2904                 - (dbus_reconnect): remove
2905                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2906                 - (destroy_cb): just quit when the bus goes away
2907                 - (start_dbus_service, dbus_init): simplify
2908                 - (main): destroy the wired devices hash table after destroying
2909                         the HAL manager so we don't have to disconnect signals from the
2910                         HAL manager
2911
2912 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2913
2914         Move crypto functions from nm-applet to libnm-util.
2915
2916         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2917         (nm_setting_802_1x_set_client_cert)
2918         (nm_setting_802_1x_set_phase2_ca_cert)
2919         (nm_setting_802_1x_set_phase2_client_cert)
2920         (nm_setting_802_1x_set_private_key)
2921         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2922         file (or private key and it's password), read the certificate data.
2923
2924         * libnm-util/crypto_nss.c: 
2925         * libnm-util/crypto_gnutls.c: 
2926         * libnm-util/crypto.[ch]: Move here from nm-applet.
2927
2928         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2929
2930         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2931         Imlement WPA-EAP configuration reading from sysconfig.
2932
2933 2008-05-16  Dan Williams  <dcbw@redhat.com>
2934
2935         * src/nm-device-802-11-wireless.c
2936                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2937                         wireless
2938
2939 2008-05-14  Dan Williams  <dcbw@redhat.com>
2940
2941         Fix Linus' bug in rh #134886
2942
2943         * src/nm-device-802-3-ethernet.c
2944                 - (constructor): request initial carrier state
2945
2946         * src/nm-netlink-monitor.c
2947                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2948                         signals after refilling the link cache.  Because the refill is a 
2949                         synchronous operation, the normal message hander won't get called
2950                         since libnl has already consumed the messages.
2951                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2952
2953 2008-05-14  Dan Williams  <dcbw@redhat.com>
2954
2955         * src/NetworkManagerSystem.c
2956                 - (nm_system_device_is_up_with_iface): clean up
2957
2958 2008-05-13  Dan Williams  <dcbw@redhat.com>
2959
2960         Fix refcounting issues over sleep/wake when a VPN connection was active that
2961         caused NM to try registering an object path for a device upon wake that was
2962         the same as an already registered object path.
2963
2964         * src/nm-device.c
2965                 - (nm_device_take_down): properly handle cases where the device is
2966                         no longer active but was just active, and therefore must be
2967                         deactivated.  When a device moves to unmanaged mode, this function
2968                         previously would not deactivate the device, because the state was
2969                         already unmanaged by the time this function was called.
2970
2971         * src/vpn-manager/nm-vpn-connection.c
2972                 - (device_state_changed): properly handle multiple devices states in
2973                         which the device is now deactivated.  Code previously didn't handle
2974                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2975                         UNMANAGED states.
2976
2977 2008-05-13  Dan Williams  <dcbw@redhat.com>
2978
2979         * src/nm-device-private.h
2980           src/nm-device.c
2981                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2982
2983         * src/nm-device-802-11-wireless.c
2984                 - (nm_device_802_11_wireless_set_enabled): take devices up
2985                         and down as appropriate for the rfkill state
2986
2987 2008-05-13  Dan Williams  <dcbw@redhat.com>
2988
2989         * marshallers/nm-marshal.list
2990                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2991
2992         * system-settings/plugins/ifcfg-fedora/Makefile.am
2993           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2994           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2995                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2996                         events.  Solely for use watching ifcfg files to pick up changes
2997                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2998
2999         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3000                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3001                         file contents change
3002                 - (finalize): clean up inotify watches
3003                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3004                         and the connection ifcfg for changes on their hardlinks
3005                 - (files_changed_cb): proxy the changed signal back out to listeners
3006
3007         * system-settings/plugins/ifcfg-fedora/plugin.c
3008                 - (dir_changed): 
3009                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3010                         changes
3011                 - (read_one_connection): connect to change signals on the new connection
3012                 - (dir_changed, connection_changed_handler,
3013                    handle_connection_remove_or_new): break out connection change
3014                         handling and connection new/remove handling so it can be used from
3015                         both the GFileMonitor callback and the NMIfcfgConnection changed
3016                         signals
3017
3018         * system-settings/plugins/ifcfg-fedora/reader.c
3019           system-settings/plugins/ifcfg-fedora/reader.h
3020                 - (connection_from_file): return the keyfile path the connection would use
3021
3022 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3023
3024         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3025         single PolKitContext which is shared by all. PolKitContext::unref leaks
3026         just about everything, including all open file descriptiors and results
3027         in 99% cpu usage when data arrives to any of the fds that don't belong
3028         to any context anymore.
3029
3030 2008-05-12  Dan Williams  <dcbw@redhat.com>
3031
3032         * gfilemonitor/glocaldirectorymonitor.c
3033           gfilemonitor/glocaldirectorymonitor.h
3034                 - (g_local_directory_monitor_constructor): actually subscribe to the
3035                         watch
3036                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3037
3038         * gfilemonitor/glocalfilemonitor.c
3039           gfilemonitor/glocalfilemonitor.h
3040                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3041                 - (_g_local_file_monitor_new): ensure that inotify is started up
3042
3043 2008-05-11  Dan Williams  <dcbw@redhat.com>
3044
3045         * configure.in
3046                 - record PolicyKit version
3047
3048         * system-settings/src/nm-polkit-helpers.c
3049                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3050                         with PolicyKit <= 0.6
3051
3052 2008-05-11  Dan Williams  <dcbw@redhat.com>
3053
3054         Update Fedora system-settings plugin to support latest API and use
3055         GFileMonitor rather than home-rolled inotify code.
3056
3057         * system-settings/plugins/ifcfg-fedora/Makefile.am
3058           system-settings/plugins/ifcfg-fedora/common.h
3059           system-settings/plugins/ifcfg-fedora/plugin.c
3060                 - Update to latest system settings plugin API; use GIO instead of
3061                         custom inotify code; use NMIfcfgConnection objects instead of
3062                         ConnectionData structures tacked onto NMConnection objects
3063
3064         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3065           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3066                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3067                         connections
3068
3069         * system-settings/plugins/ifcfg-fedora/reader.c
3070           system-settings/plugins/ifcfg-fedora/reader.h
3071                 - Move ifcfg parsing bits here from parser.c
3072
3073         * system-settings/plugins/ifcfg-fedora/parser.c
3074           system-settings/plugins/ifcfg-fedora/parser.h
3075                 - Remove; most code moved to reader.c
3076
3077 2008-05-11  Dan Williams  <dcbw@redhat.com>
3078
3079         * configure.in
3080           Makefile.am
3081           gfilemonitor/*
3082                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3083                         implementation, so that the same change monitoring code can be used
3084                         on systems without glib-2.14 (like Fedora 8)
3085
3086         * system-settings/plugins/keyfile/Makefile.am
3087           system-settings/plugins/keyfile/plugin.c
3088           system-settings/plugins/ifcfg-suse/Makefile.am
3089           system-settings/plugins/ifcfg-suse/plugin.c
3090                 - Use private gfilemonitor code if GIO is not present
3091
3092 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3093
3094         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3095         NMExportedConnection's 'update' and 'delete' and return error with
3096         descriptive message.
3097
3098 2008-05-08  Dan Williams  <dcbw@redhat.com>
3099
3100         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3101
3102         * src/nm-gsm-device.c
3103           src/nm-cdma-device.c
3104                 - (real_get_best_auto_connection): implement; allow autoconnection
3105                         to GSM & CDMA devices
3106
3107 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3108
3109         Use PolicyKit to authorize the system settings' AddConnection method
3110         and the system settings connections' Update and Delete methods.
3111         
3112         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3113         (impl_exported_connection_delete, nm_exported_connection_update)
3114         (nm_exported_connection_delete): Return boolean and fill GError
3115         to notify the callers of the reasons why it might have failed.
3116
3117         * libnm-glib/nm-dbus-settings-system.c
3118         (nm_dbus_settings_system_add_connection): Return the error from dbus
3119         call so that the callers can see why it failed.
3120
3121         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3122         signatures.
3123
3124         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3125
3126         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3127         abstract base class that checks PolicyKit permissions.
3128
3129         * system-settings/src/dbus-settings.c:
3130         (impl_settings_add_connection): Check the policy before carring out
3131         the request.
3132
3133         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3134         Inherit from NMSysconfigConnection, check the policies before
3135         allowing updating or removing.
3136
3137         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3138         Inherit from NMSysconfigConnection.
3139
3140         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3141         "Delete" methods with async flag so that the implementations can get
3142         access to DBusGMethodInvocation.
3143
3144         * system-settings/src/dbus-settings.c 
3145         (settings_add_connection_check_privileges): Implement.
3146         (impl_settings_add_connection): Check the privileges before adding a new
3147         connection. Improve error reporting.
3148
3149         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3150         async so that the implementation can access DBusGMethodInvocation.
3151
3152         * configure.in: Check for PolicyKit.
3153
3154         * policy/org.freedesktop.network-manager-settings.system.policy: 
3155         New file.
3156
3157         * policy/Makefile.am: Install the policy file.
3158
3159         * configure.in: Add 'policy' subdir.
3160
3161 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3162
3163         Rewrite the suse system settings plugin.
3164
3165         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3166
3167         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3168
3169         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3170
3171         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3172
3173         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3174
3175         * system-settings/src/main.c (load_plugins): Improve error reporting.
3176
3177         * system-settings/src/sha1.[ch] Add.
3178
3179         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3180
3181 2008-05-07  Dan Williams  <dcbw@redhat.com>
3182
3183         * system-settings/plugins/keyfile/reader.c
3184                 - (read_one_setting_value): handle IP address items separately
3185                 - (read_array_of_uint): read IPv4 DNS option as a string array
3186                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3187                         array
3188
3189         * system-settings/plugins/keyfile/writer.c
3190                 - (write_setting_value): handle IP address items separately
3191                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3192                         not an array of uint, so that it's user-editable
3193                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3194                         arrays, so they are user-editable
3195
3196 2008-05-07  Dan Williams  <dcbw@redhat.com>
3197
3198         * system-settings/plugins/keyfile/Makefile.am
3199                 - Change location of the keyfile plugin settings to
3200                         /etc/NetworkManager/system-connections
3201
3202 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3203
3204         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3205
3206         * system-settings/plugins/keyfile/plugin.c: Work with
3207         NMKeyfileConnections.
3208
3209         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3210         Plugins are supposed to return NMExportedConnections now and handle the
3211         updated(), removed(), and GetSecrets().
3212         Store the internal list of connections in hash table to make it easier
3213         to find duplicates.
3214
3215 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3216
3217         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3218         for multiple IP addresses.
3219
3220 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3221
3222         Patch from André Lemos.
3223
3224         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3225         corruption.
3226
3227 2008-05-06  Dan Williams  <dcbw@redhat.com>
3228
3229         * src/dhcp-manager/nm-dhcp-manager.c
3230                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3231                         NMIP4Config to support multiple IP addresses
3232
3233         * src/NetworkManagerUtils.c
3234                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3235
3236         * src/nm-ip4-config.c
3237           src/nm-ip4-config.h
3238                 - Store a list of IPv4 address/netmask/gateway tuples
3239                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3240                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3241                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3242                    nm_ip4_config_set_address): remove
3243                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3244                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3245                         new functions; handle multiple IPv4 addresses
3246
3247         * src/nm-device.c
3248           src/ppp-manager/nm-ppp-manager.c
3249           src/vpn-manager/nm-vpn-connection.c
3250           src/NetworkManagerPolicy.c
3251           test/nm-tool.c
3252           libnm-glib/libnm-glib-test.c
3253                 - update for changes to NMIP4Config for multiple IPv4 addresses
3254
3255         * src/NetworkManagerSystem.c
3256                 - (nm_system_device_set_ip4_route): don't add the route if any address
3257                         is on the same subnet as the destination
3258                 - (check_one_address): ignore the exact match, just match family and
3259                         interface index
3260                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3261                         an interface
3262                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3263                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3264
3265         * introspection/nm-ip4-config.xml
3266                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3267                 - Add 'addresses' property which is an array of (uuu) tuples of
3268                         address/netmask/gateway
3269
3270         * libnm-util/nm-setting-ip4-config.c
3271                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3272
3273         * libnm-glib/nm-ip4-config.c
3274           libnm-glib/nm-ip4-config.h
3275                 - Handle D-Bus interface changes to support multiple IP addresses
3276
3277 2008-05-06  Dan Williams  <dcbw@redhat.com>
3278
3279         * libnm-util/nm-utils.c
3280           libnm-util/nm-utils.h
3281                 - (nm_utils_ip4_addresses_from_gvalue,
3282                    nm_utils_ip4_addresses_to_gvalue): new functions
3283
3284 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3285
3286         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3287         the returned connection paths.
3288
3289 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3290
3291         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3292         "PropertiesChanged" signal signature.
3293
3294         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3295         defined in nm-dbus-glib-types.h.
3296         Don't register the connection on dbus, we're a proxy class to 
3297         communicate with an already registered connection over dbus.
3298
3299 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3300
3301         Implement new subclasses of NMSettings and NMExportedConnection to make
3302         it easier for the applet to access and modify system settings.
3303
3304         * libnm-glib/nm-dbus-connection.[ch]:
3305         * libnm-glib/nm-dbus-settings.[ch]:
3306         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3307
3308         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3309         bindings and glue.
3310
3311         * include/NetworkManager.h: Define the system settings DBus interface.
3312
3313 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3314
3315         Implement additional C API for exported connections to make them identical
3316         with the DBus API. Change the (list_connections) virtual function to be
3317         more usable from C - instead of requiring implementers to return a GPtrArray
3318         of dbus paths, return a list of connections.
3319
3320         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3321         (nm_settings_list_connections):
3322         (nm_exported_connection_new):
3323         (nm_exported_connection_update):
3324         (nm_exported_connection_delete): Implement.
3325
3326         (impl_settings_list_connections):
3327         (impl_exported_connection_update):
3328         (impl_exported_connection_delete): Use the new public functions to make 
3329         sure the C and dbus interfaces stay in sync.
3330
3331         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3332         connections.
3333
3334 2008-05-02  Dan Williams  <dcbw@redhat.com>
3335
3336         * system-settings/plugins/ifcfg-fedora/plugin.c
3337                 - (dispose): use right unref call on the DBusGConnection
3338
3339 2008-05-02  Dan Williams  <dcbw@redhat.com>
3340
3341         * src/nm-serial-device.c
3342                 - (find_terminator): don't compare the whole line, just the size of the
3343                         terminator, since some modems put stuff after the terminator, like
3344                         "CONNECT 9600"
3345
3346 2008-05-01  Dan Williams  <dcbw@redhat.com>
3347
3348         Patch from Michael Biebl <biebl@debian.org>
3349
3350         * callouts/Makefile.am
3351           callouts/org.freedesktop.nm_dispatcher.service.in
3352           system-settings/src/Makefile.am
3353           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3354                 - use the right install location for dbus-activated stuff
3355
3356 2008-04-30  Dan Williams  <dcbw@redhat.com>
3357
3358         * src/nm-gsm-device.c
3359                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3360                         PIN or PUK
3361
3362 2008-04-30  Dan Williams  <dcbw@redhat.com>
3363
3364         * src/nm-manager.c
3365                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3366
3367 2008-04-30  Dan Williams  <dcbw@redhat.com>
3368
3369         * src/nm-device-802-3-ethernet.c
3370           src/nm-device-802-11-wireless.c
3371                 - (real_is_up): return true instead of chaining up to unimplemented
3372                         parent method
3373
3374 2008-04-30  Dan Williams  <dcbw@redhat.com>
3375
3376         * src/NetworkManagerSystem.c
3377           src/NetworkManagerSystem.h
3378                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3379                         functions to check device flags for IFF_UP
3380
3381         * src/nm-serial-device.c
3382                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3383                         implement is_up
3384
3385         * src/nm-device-802-3-ethernet.c
3386           src/nm-device-802-11-wireless.c
3387                 - (real_hw_is_up): call nm_system_device_is_up()
3388
3389         * src/nm-device.c
3390                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3391                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3392                         does not implement
3393
3394 2008-04-29  Dan Williams  <dcbw@redhat.com>
3395
3396         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3397
3398         * marshallers/nm-marshal.list
3399                 - Add marshaller
3400
3401         * src/NetworkManager.c
3402                 - (main): let the NMManager handle the NMHalManager
3403
3404         * src/nm-hal-manager.c
3405           src/nm-hal-manager.h
3406                 - convert to a GObject, and emit singals when stuff changes.  Let the
3407                         NMManager handle the signals, instead of the NMHalManager calling
3408                         into the NMManager.  
3409
3410         * src/nm-manager.c
3411           src/nm-manager.h
3412                 - (remove_one_device): consolidate device removals here
3413                 - (dispose): use remove_one_device()
3414                 - (nm_manager_get_device_by_udi): make static
3415                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3416                         manager for devices at startup or wakeup time
3417                 - (nm_manager_new): create and monitor the HAL manager
3418                 - (hal_manager_udi_added_cb): new function; do what
3419                         nm_manager_add_device() used to do when signalled by the hal manager
3420                 - (hal_manager_udi_removed_cb): new function; do what
3421                         nm_manager_remove_device() used to do when signalled by the hal
3422                         manager
3423                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3424                         hal manager
3425                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3426                         in our device list that aren't known to HAL
3427                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3428                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3429                         commits ago
3430                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3431                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3432                    nm_manager_wireless_hardware_enabled,
3433                    nm_manager_set_wireless_hardware_enabled): remove, unused
3434
3435 2008-04-28  Dan Williams  <dcbw@redhat.com>
3436
3437         Fix the device up/down ambiguities.  Up/down state used to be a
3438         conglomeration of hardware state (IFF_UP) and any device-specific things
3439         (supplicant, periodic timers, etc) that the device used to indicate
3440         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3441         reason, then the device specific stuff wouldn't get run, and the device
3442         would be stuck.
3443
3444         * src/nm-device.c
3445           src/nm-device.h
3446                 - Create hw_is_up, hw_bring_up, and hw_take_down
3447                 - Rename bring_down -> take_down
3448                 - (real_hw_is_up): check interface flags for IFF_UP
3449                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3450                 - (nm_device_is_up): make static; only used locally
3451                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3452                         if the device is already up; if the device isn't up, bring it up
3453                 - (nm_device_hw_take_down): just take down hardware
3454                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3455                 - (nm_device_take_down): always deactivate device when called; always
3456                         try to take hardware down too
3457                 - (nm_device_state_changed): take device down when entering unmanaged
3458                         state from a higher state
3459
3460         * src/nm-device-802-11-wireless.c
3461                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3462                         check IFF_UP really
3463                 - (real_take_down, supplicant_iface_state_cb_handler, 
3464                    supplicant_iface_connection_state_cb_handler,
3465                    supplicant_mgr_state_cb_handler): fix some messages
3466
3467         * src/nm-device-802-3-ethernet.c
3468                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3469                         check IFF_UP really
3470
3471 2008-04-28  Dan Williams  <dcbw@redhat.com>
3472
3473         * src/nm-manager.c
3474           src/nm-manager.h
3475                 - (nm_manager_error_get_type): add new error
3476                 - (nm_manager_remove_device): don't bother taking down the device here,
3477                         the state change from unmanaging the device will do it
3478                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3479                         uses it; when going to sleep, just unmanage the device instead of
3480                         taking it down, because stuff will cleaned up correctly when the
3481                         device gets unmanaged
3482
3483 2008-04-28  Dan Williams  <dcbw@redhat.com>
3484
3485         * src/nm-hal-manager.c
3486                 - (add_initial_devices): convert to a GSourceFunc prototype
3487                 - (nm_manager_state_changed): when coming out of sleep, punt the
3488                         device re-addition to an idle handler to let D-Bus events go out
3489                         first, fixing a potential dbus-glib assert if the old device was
3490                         not yet disposed (due to references held while emitting the D-Bus
3491                         signals) but the new device was found, because the mainloop didn't
3492                         run between signal emission and add_initial_devices()
3493
3494 2008-04-27  Dan Williams  <dcbw@redhat.com>
3495
3496         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3497
3498         * initscript/paldo/NetworkManager.in
3499           initscript/SUSE/networkmanager.in
3500                 - Remove last bits of dhcdbd
3501
3502 2008-04-27  Dan Williams  <dcbw@redhat.com>
3503
3504         * src/nm-device-802-11-wireless.c
3505                 - (link_timeout_cb): don't ask for secrets when disconnected during
3506                         association/authentication phase, drivers are still just too crappy
3507
3508 2008-04-27  Dan Williams  <dcbw@redhat.com>
3509
3510         * Makefile.am
3511           configure.in
3512           dispatcher-daemon/Makefile.am
3513           dispatcher-daemon/NetworkManagerDispatcher.c
3514           initscript/Arch/Makefile.am
3515           initscript/Arch/networkmanager-dispatcher.in
3516           initscript/Gentoo/Makefile.am
3517           initscript/Gentoo/NetworkManagerDispatcher.in
3518           initscript/Mandriva/Makefile.am
3519           initscript/Mandriva/networkmanagerdispatcher.in
3520           initscript/RedHat/Makefile.am
3521           initscript/RedHat/NetworkManagerDispatcher.in
3522           initscript/SUSE/Makefile.am
3523           initscript/SUSE/networkmanager-dispatcher.in
3524           initscript/Slackware/Makefile.am
3525           initscript/Slackware/rc.networkmanager-dispatcher.in
3526           initscript/paldo/Makefile.am
3527           initscript/paldo/NetworkManagerDispatcher.in
3528           man/Makefile.am
3529           man/NetworkManagerDispatcher.8.in
3530                 - Remove the dispatcher daemon
3531
3532 2008-04-27  Dan Williams  <dcbw@redhat.com>
3533
3534         * callouts/Makefile.am
3535           callouts/nm-dispatcher-action.c
3536           callouts/nm-dispatcher-action.h
3537           callouts/nm-dispatcher.conf
3538           callouts/nm-dispatcher.xml
3539           callouts/org.freedesktop.nm_dispatcher.service
3540                 - Re-implement the dispatcher as a system-bus activated service that
3541                         NM calls on-demand, rather than an always running daemon
3542
3543         * src/Makefile.am
3544                 - Add callouts dir to includes to pick up dispatcher defines
3545
3546         * src/nm-device.c
3547                 - (nm_device_state_changed): call dispatcher on device activated/
3548                         deactivated
3549
3550         * src/vpn-manager/nm-vpn-connection.c
3551                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3552                         go up and down
3553
3554         * src/NetworkManagerUtils.c
3555           src/NetworkManagerUtils.h
3556                 - (nm_utils_call_dispatcher): helper to call dispatcher
3557
3558 2008-04-27  Dan Williams  <dcbw@redhat.com>
3559
3560         * src/NetworkManagerUtils.c
3561           src/NetworkManagerUtils.h
3562                 - remove unneeded includes
3563                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3564                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3565                    nm_timeval_cmp, nm_timeval_add): remove, unused
3566                 - clean up formatting
3567                 - (nm_spawn_process): de-uglify
3568
3569         * src/nm-device-802-11-wireless.c
3570                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3571
3572 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3573
3574         * initscript/Gentoo/NetworkManager.in:
3575                 Fix for starting the daemon.
3576
3577 2008-04-25  Dan Williams  <dcbw@redhat.com>
3578
3579         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3580
3581         * src/NetworkManagerSystem.c
3582                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3583
3584 2008-04-25  Dan Williams  <dcbw@redhat.com>
3585
3586         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3587
3588         * src/NetworkManagerSystem.c
3589                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3590                         implementation of nm_system_device_replace_default_route()
3591
3592         * src/NetworkManagerPolicy.c
3593                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3594
3595         * src/backends/NetworkManagerArch.c
3596           src/backends/NetworkManagerDebian.c
3597           src/backends/NetworkManagerFrugalware.c
3598           src/backends/NetworkManagerGeneric.c
3599           src/backends/NetworkManagerGeneric.h
3600           src/backends/NetworkManagerGentoo.c
3601           src/backends/NetworkManagerMandriva.c
3602           src/backends/NetworkManagerPaldo.c
3603           src/backends/NetworkManagerRedHat.c
3604           src/backends/NetworkManagerSlackware.c
3605           src/backends/NetworkManagerSuSE.c
3606                 - (nm_system_device_replace_default_route): remove
3607
3608 2008-04-25  Dan Williams  <dcbw@redhat.com>
3609
3610         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3611
3612         * src/NetworkManagerSystem.c
3613                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3614                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3615                         replace nm_system_device_add_route_via_device_with_iface() in the
3616                         backends
3617
3618         * src/backends/NetworkManagerArch.c
3619           src/backends/NetworkManagerDebian.c
3620           src/backends/NetworkManagerFrugalware.c
3621           src/backends/NetworkManagerGeneric.c
3622           src/backends/NetworkManagerGeneric.h
3623           src/backends/NetworkManagerGentoo.c
3624           src/backends/NetworkManagerMandriva.c
3625           src/backends/NetworkManagerPaldo.c
3626           src/backends/NetworkManagerRedHat.c
3627           src/backends/NetworkManagerSlackware.c
3628           src/backends/NetworkManagerSuSE.c
3629                 - Remove nm_system_device_add_route_via_device_with_iface()
3630
3631 2008-04-25  Dan Williams  <dcbw@redhat.com>
3632
3633         * system-settings/plugins/ifcfg-fedora/parser.c
3634                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3635
3636 2008-04-24  Dan Williams  <dcbw@redhat.com>
3637
3638         * dispatcher-daemon/NetworkManagerDispatcher.c
3639                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3640
3641 2008-04-24  Dan Williams  <dcbw@redhat.com>
3642
3643         * initscript/RedHat/NetworkManager.in
3644           initscript/RedHat/NetworkManagerDispatcher.in
3645                 - Be active at runlevel 2
3646                 - Adjust priorities earlier
3647
3648 2008-04-22  Dan Williams  <dcbw@redhat.com>
3649
3650         * src/NetworkManagerPolicy.c
3651                 - (update_routing_and_dns): when checking for a gateway, look at the
3652                         composite IP4 config, not the connection's ip4-config setting, which
3653                         doesn't include DHCP-returned information
3654
3655 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3656
3657         Implement GKeyFile system settings plugin.
3658         Implement writing system settings (currently supported only by GKeyFile plugin).
3659
3660         * system-settings/src/main.c: 
3661         * system-settings/src/dbus-settings.c: Move the communication with plugins
3662         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3663         plugins for adding/updating/removing connections.
3664
3665         * system-settings/src/nm-system-config-interface.c
3666         (nm_system_config_interface_add_connection): Implement
3667         (nm_system_config_interface_update_connection): Implement.
3668         (nm_system_config_interface_remove_connection): Implement.
3669
3670         * system-settings/plugins/keyfile/Makefile.am:
3671         * system-settings/plugins/keyfile/plugin.[ch]:
3672         * system-settings/plugins/keyfile/writer.[ch]:
3673         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3674
3675         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3676
3677         * configure.in: Generate GKeyFile Makefile.
3678
3679         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3680         corruption, need to duplicate the returned string.
3681         (impl_exported_connection_update): Implement.
3682         (impl_exported_connection_delete): Implement.
3683
3684         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3685
3686         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3687
3688 2008-04-22  Dan Williams  <dcbw@redhat.com>
3689
3690         Patch from Charles R. Anderson (cra@wpi.edu)
3691
3692         * src/NetworkManagerPolicy.c
3693                 - (update_routing_and_dns): don't select devices without a gateway
3694                         as having the default route (rh #437338)
3695
3696 2008-04-21  Dan Williams  <dcbw@redhat.com>
3697
3698         * src/nm-activation-request.c
3699           src/nm-activation-request.h
3700                 - (dispose): ensure to disconnect from the device's state-changed signal
3701                         when appropriate so the signal doesn't get handled by an already
3702                         disposed NMActRequest
3703                 - (device_state_changed): update is_default here too just to make sure
3704                         default is only True when the child device is activated
3705                 - (nm_act_request_set_default): new function
3706
3707         * src/NetworkManagerPolicy.c
3708                 - (update_routing_and_dns): set 'default' on the active connection which
3709                         has the default route and DNS
3710
3711 2008-04-21  Dan Williams  <dcbw@redhat.com>
3712
3713         * src/NetworkManagerPolicy.c
3714                 - (device_state_changed): update routing and DNS when a device goes
3715                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3716
3717 2008-04-21  Dan Williams  <dcbw@redhat.com>
3718
3719         * include/NetworkManager.h
3720                 - Add NMActiveConnectionState enum
3721
3722         * introspection/nm-active-connection.xml
3723           introspection/nm-vpn-connection.xml
3724                 - Add 'State' property for overall active connection state
3725                 - Add 'Default' property, when True means this active connection
3726                         has the default route
3727                 - Add PropertyChanged signals so changes actually go out over the bus
3728
3729         * src/nm-active-connection.h
3730                 - Add defines for State & Default properties
3731
3732         * src/nm-activation-request.c
3733                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3734                         signal to determine active connection state
3735
3736         * src/vpn-manager/nm-vpn-connection.c
3737           src/vpn-manager/nm-vpn-connection.h
3738           src/vpn-manager/nm-vpn-manager.c
3739           src/vpn-manager/nm-vpn-service.c
3740                 - Rename old 'state' to 'vpn-state'
3741                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3742                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3743                         'vpn-state-changed' signal
3744
3745         * libnm-glib/nm-active-connection.c
3746           libnm-glib/nm-active-connection.h
3747                 - Add new 'state' and 'default' properties and accessors
3748
3749         * libnm-glib/nm-vpn-connection.c
3750           libnm-glib/nm-vpn-connection.h
3751                 - Rename old 'state' property to 'vpn-state'
3752                 - Add new 'state' and 'default' properties and accessors
3753
3754 2008-04-21  Dan Williams  <dcbw@redhat.com>
3755
3756         * src/nm-ip4-config.c
3757                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3758                         not specified (rh #443474)
3759
3760 2008-04-20  Dan Williams  <dcbw@redhat.com>
3761
3762         * src/NetworkManagerUtils.c
3763           src/NetworkManagerUtils.h
3764                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3765                         NMSettingIP4Config to an NMIP4Config object
3766
3767         * src/nm-device.c
3768                 - (merge_ip4_config): move to NetworkManagerUtils.c
3769
3770         * src/vpn-manager/nm-vpn-connection.c
3771                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3772                         too
3773
3774 2008-04-18  Dan Williams  <dcbw@redhat.com>
3775
3776         * libnm-util/nm-setting-ppp.c
3777           libnm-util/nm-setting-ppp.h
3778                 - Add 'no-vj-comp' option for TCP header compression
3779                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3780                         uint32
3781
3782 2008-04-18  Dan Williams  <dcbw@redhat.com>
3783
3784         * libnm-util/nm-setting-ppp.c
3785           libnm-util/nm-setting-ppp.h
3786           src/ppp-manager/nm-ppp-manager.c
3787                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3788
3789 2008-04-18  Dan Williams  <dcbw@redhat.com>
3790
3791         * libnm-util/nm-setting-ppp.c
3792           libnm-util/nm-setting-ppp.h
3793           src/ppp-manager/nm-ppp-manager.c
3794                 - Remove the 'usepeerdns' option and always request DNS servers from
3795                         the PPP server; the connection chooses to use/override/ignore the
3796                         DNS servers returned from the PPP server
3797
3798 2008-04-18  Dan Williams  <dcbw@redhat.com>
3799
3800         * libnm-util/nm-setting-ppp.c
3801           libnm-util/nm-setting-ppp.h
3802           src/ppp-manager/nm-ppp-manager.c
3803                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3804                         it seems to have been an erroneous addition to the PPTP plugin in
3805                         the first place (from which the ppp-manager is derived)
3806
3807 2008-04-17  Dan Williams  <dcbw@redhat.com>
3808
3809         * libnm-util/nm-setting-pppoe.c
3810                 - (verify): require a PPP setting too
3811
3812         * src/ppp-manager/nm-ppp-manager.c
3813                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3814                         segfaulting
3815
3816 2008-04-17  Dan Williams  <dcbw@redhat.com>
3817
3818         * src/nm-device.c
3819                 - (nm_device_state_changed): do deactivation and and promotion to
3820                         unavailable here, so that the device gets cleaned up before the
3821                         manager runs and starts emitting signals; do the
3822                         FAILED->DISCONNECTED transition from an idle handler rather than
3823                         immediately to guard against recursion
3824                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3825                         FAILED->DISCONNECTED handler if it's scheduled
3826
3827 2008-04-17  Dan Williams  <dcbw@redhat.com>
3828
3829         * src/nm-device-802-11-wireless.c
3830                 - (state_changed_cb): clear AP list when device transitions to
3831                         unavailable or unmanaged
3832                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3833                         since this is already done in device_cleanup()
3834                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3835                         isn't available or managed
3836                 - (device_cleanup): use remove_all_aps()
3837                 - (remove_all_aps): consolidate code removing all APs
3838
3839 2008-04-17  Dan Williams  <dcbw@redhat.com>
3840
3841         * src/nm-serial-device.c
3842           src/nm-serial-device.h
3843                 - (wait_for_reply_got_data): break input into lines, and search each
3844                         line for responses _and_ terminator strings; also make sure that
3845                         the read loop doesn't continue after the timeout is supposed to fire
3846                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3847
3848         * src/nm-gsm-device.c
3849           src/nm-cdma-device.c
3850                 - Send terminators to nm_serial_device_wait_for_reply()
3851
3852 2008-04-16  Dan Williams  <dcbw@redhat.com>
3853
3854         Patch from 陈鑫 <znscnchen@gmail.com>
3855
3856         * src/ppp-manager/nm-pppd-plugin.c
3857                 - (get_credentials): return correct value for success; handle case where
3858                         pppd just does some checking but doesn't want a password
3859                 - (plugin_init): make CHAP work too
3860
3861 2008-04-16  Dan Williams  <dcbw@redhat.com>
3862
3863         Patch from 陈鑫 <znscnchen@gmail.com>
3864
3865         * src/ppp-manager/nm-ppp-manager.c
3866                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3867
3868 2008-04-16  Dan Williams  <dcbw@redhat.com>
3869
3870         Patch from 陈鑫 <znscnchen@gmail.com>
3871
3872         * src/nm-device-802-3-ethernet.c
3873                 - (real_deactivate_quickly): clear the IP interface name on
3874                         deactivation, otherwise the wrong interface might get used later
3875                         for routing and IP management
3876
3877 2008-04-15  Dan Williams  <dcbw@redhat.com>
3878
3879         * libnm-glib/nm-device.c
3880                 - (get_product_and_vendor): handle serial devices correctly
3881                 - (nm_device_update_description): pass device to get_product_and_vendor()
3882
3883 2008-04-15  Dan Williams  <dcbw@redhat.com>
3884
3885         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3886
3887         * src/NetworkManagerSystem.h
3888           src/backends/NetworkManagerArch.c
3889           src/backends/NetworkManagerDebian.c
3890           src/backends/NetworkManagerFrugalware.c
3891           src/backends/NetworkManagerGeneric.c
3892           src/backends/NetworkManagerGeneric.h
3893           src/backends/NetworkManagerGentoo.c
3894           src/backends/NetworkManagerMandriva.c
3895           src/backends/NetworkManagerPaldo.c
3896           src/backends/NetworkManagerRedHat.c
3897           src/backends/NetworkManagerSlackware.c
3898           src/backends/NetworkManagerSuSE.c
3899           src/nm-device.c
3900                 - (nm_generic_device_add_ip6_link_address,
3901                    nm_system_device_add_ip6_link_address): remove
3902
3903 2008-04-15  Dan Williams  <dcbw@redhat.com>
3904
3905         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3906
3907         * src/backends/NetworkManagerArch.c
3908           src/backends/NetworkManagerDebian.c
3909           src/backends/NetworkManagerFrugalware.c
3910           src/backends/NetworkManagerGeneric.c
3911           src/backends/NetworkManagerGeneric.h
3912           src/backends/NetworkManagerGentoo.c
3913           src/backends/NetworkManagerMandriva.c
3914           src/backends/NetworkManagerPaldo.c
3915           src/backends/NetworkManagerRedHat.c
3916           src/backends/NetworkManagerSlackware.c
3917           src/backends/NetworkManagerSuSE.c
3918           src/NetworkManagerSystem.h
3919                 - flush_routes -> flush_ip4_routes
3920                 - flush_addresses -> flush_ip4_addresses
3921
3922         * src/NetworkManagerSystem.c
3923           src/nm-device.c
3924           src/vpn-manager/nm-vpn-connection.c
3925                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3926
3927 2008-04-15  Dan Williams  <dcbw@redhat.com>
3928
3929         Remove exposure of wireless-tools mode types in the API.
3930
3931         * include/NetworkManager.h
3932                 - Define NM80211Mode enum
3933
3934         * introspection/generic-types.xml
3935                 - Describe NM_802_11_MODE enum
3936                 - Remove IW_MODE_* enum
3937
3938         * introspection/nm-access-point.xml
3939           libnm-glib/nm-access-point.c
3940           libnm-glib/nm-access-point.h
3941                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3942
3943         * introspection/nm-device-802-11-wireless.xml
3944           libnm-glib/nm-device-802-11-wireless.c
3945           libnm-glib/nm-device-802-11-wireless.h
3946                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3947
3948         * libnm-util/nm-setting-wireless.c
3949           src/NetworkManagerAP.c
3950           src/NetworkManagerAP.h
3951           src/nm-device-802-11-wireless.c
3952           src/nm-device-802-11-wireless.h
3953           test/nm-tool.c
3954                 - Use NM80211Mode not IW_MODE_*
3955
3956 2008-04-15  Dan Williams  <dcbw@redhat.com>
3957
3958         Enhance nm-online based on a patch from Bill Nottingham.
3959
3960         * test/nm-online.c
3961                 - Add a '-q' option
3962                 - Add help messages and option summary
3963                 - Add long-format options
3964                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3965
3966 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3967
3968         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3969
3970         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3971
3972 2008-04-15  Dan Williams  <dcbw@redhat.com>
3973
3974         * nm-setting-ip4-config.c
3975                 - (ip4_addresses_from_gvalue): handle NULL address array
3976
3977         * nm-setting-8021x.c
3978                 - (verify_tls, verify_ttls): warn on failed verification
3979
3980 2008-04-10  Dan Williams  <dcbw@redhat.com>
3981
3982         * src/nm-gsm-device.c
3983                 - (automatic_registration): accept "+CREG: 0,0"
3984                 - (automatic_registration_response): fail on "+CREG: 0,0"
3985
3986 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3987
3988         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3989
3990 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3991
3992         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3993         Make it compile again by commenting out broken code that at first didn't work and
3994         now didn't compile either.
3995
3996 2008-04-08  Dan Williams  <dcbw@redhat.com>
3997
3998         * libnm-glib/nm-object-cache.c
3999           libnm-glib/nm-settings.c
4000           src/dhcp-manager/nm-dhcp-manager.c
4001           system-settings/plugins/ifcfg-fedora/plugin.c
4002           system-settings/plugins/ifcfg-suse/plugin.c
4003           system-settings/src/nm-system-config-hal-manager.c
4004           libnm-util/nm-utils.c
4005                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4006                         not threadsafe anyway
4007
4008 2008-04-08  Dan Williams  <dcbw@redhat.com>
4009
4010         * system-settings/src/main.c
4011                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4012                         callbacks take a device type too
4013
4014 2008-04-08  Dan Williams  <dcbw@redhat.com>
4015
4016         The system settings service will now create a new default DHCP connection
4017         for wired devices that have no existing applicable connection.
4018
4019         * system-settings/src/nm-system-config-hal-manager.c
4020           system-settings/src/nm-system-config-hal-manager.h
4021                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4022
4023         * system-settings/src/dbus-settings.c
4024           system-settings/src/dbus-settings.h
4025                 - (nm_sysconfig_settings_get_connections): new function
4026                 - (nm_sysconfig_settings_is_device_managed): new function
4027
4028         * system-settings/src/main.c
4029                 - (load_stuff): check for wired devices that need a default connection
4030                 - (get_details_for_udi): get interface and MAC address from HAL
4031                 - (add_default_dhcp_connection): add a default connection for a wired
4032                         device if needed
4033                 - (device_added_cb, device_removed_cb): do the right thing with
4034                         wired devices and their default connections on HAL device events
4035
4036 2008-04-07  Dan Williams  <dcbw@redhat.com>
4037
4038         * libnm-glib/nm-device.c
4039           libnm-glib/nm-device.h
4040                 - Proxy the 'managed' property
4041
4042 2008-04-07  Dan Williams  <dcbw@redhat.com>
4043
4044         * src/nm-gsm-device.c
4045           src/nm-cdma-device.c
4046                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4047                         handler to transition to DISCONNECTED
4048
4049 2008-04-07  Dan Williams  <dcbw@redhat.com>
4050
4051         Patch from Bill Nottingham
4052
4053         * dispatcher-daemon/NetworkManagerDispatcher.c
4054                 - ignore backup/packaging crufy (rh #440143)
4055
4056 2008-04-07  Dan Williams  <dcbw@redhat.com>
4057
4058         * include/NetworkManager.h
4059                 - Remove the DOWN and CANCELLED device states
4060                 - Add UNMANAGED and UNAVAILABLE device states
4061                 - Document the device states
4062
4063         * introspection/nm-device.xml
4064           src/nm-device-interface.c
4065           src/nm-device-interface.h
4066                 - Add the 'managed' property
4067
4068         * test/nm-tool.c
4069                 - (detail_device): print out device state
4070
4071         * src/NetworkManagerSystem.h
4072           src/backends/NetworkManagerArch.c
4073           src/backends/NetworkManagerDebian.c
4074           src/backends/NetworkManagerFrugalware.c
4075           src/backends/NetworkManagerGentoo.c
4076           src/backends/NetworkManagerMandriva.c
4077           src/backends/NetworkManagerPaldo.c
4078           src/backends/NetworkManagerRedHat.c
4079           src/backends/NetworkManagerSlackware.c
4080           src/backends/NetworkManagerSuSE.c
4081                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4082                    nm_system_device_free_system_config): remove; they were unused and
4083                         their functionality should be re-implemented in each distro's
4084                         system settings service plugin 
4085
4086         * src/nm-gsm-device.c
4087           src/nm-gsm-device.h
4088           src/nm-cdma-device.c
4089           src/nm-cdma-device.h
4090                 - (*_new): take the 'managed' argument
4091
4092         * src/nm-device.c
4093                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4094                 - (nm_device_init): start in unmanaged state, not disconnected
4095                 - (constructor): don't start device until the system settings service
4096                         has had a chance to figure out if the device is managed or not
4097                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4098                         don't set device state here, let callers handle that as appropriate
4099                 - (nm_device_dispose): don't touch the device if it's not managed
4100                 - (set_property, get_property, nm_device_class_init): implement the
4101                         'managed' property
4102                 - (nm_device_state_changed): bring the device up if its now managed,
4103                         and deactivate it if it used to be active
4104                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4105                         with the managed state
4106
4107         * src/nm-hal-manager.c
4108                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4109                         take initial managed state and pass it along to device constructors
4110                 - (create_device_and_add_to_list): get managed state and pass to
4111                         type creators
4112
4113         * src/nm-device-802-11-wireless.c
4114                 - (real_can_activate): fold in most of
4115                         nm_device_802_11_wireless_can_activate()
4116                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4117                 - (link_timeout_cb): instead of deactivating, change device state and
4118                         let the device state handler to it
4119                 - (real_update_hw_address): clean up
4120                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4121                         handler to transition to DISCONNECTED if the device isn't rfkilled
4122
4123         * src/nm-device-802-3-ethernet.c
4124                 - (set_carrier): move above callers and get rid of prototype
4125                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4126                         idle handler to transition to DISCONNECTED if the device has a
4127                         carrier
4128                 - (real_update_hw_address): clean up
4129                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4130                         deactivation directly as deactivation doesn't change state anymore
4131
4132         * src/NetworkManagerPolicy.c
4133                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4134                         the NMManager and wireless devices work that out themselves now
4135                 - (device_state_changed): change to a switch and update for new device
4136                         states
4137                 - (device_carrier_changed): remove; device handles this now through
4138                         state changes
4139                 - (device_added): don't care about carrier any more; the initial
4140                         activation check will happen when the device transitions to
4141                         DISCONNECTED
4142
4143         * src/nm-manager.c
4144                 - (dispose): clear unmanaged devices
4145                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4146                         the managed property on each device when needed
4147                 - (system_settings_properties_changed_cb): handle signals from the
4148                         system settings service
4149                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4150                         getting the unmanaged device list method call
4151                 - (query_unmanaged_devices): ask the system settings service for its
4152                         list of unmanaged devices
4153                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4154                         devices
4155                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4156                         devices directly and let them handle the necessary state transitions
4157                 - (manager_device_state_changed): update for new device states
4158                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4159                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4160                 - (nm_manager_activate_connection): return error if the device is
4161                         unmanaged
4162                 - (nm_manager_sleep): handle new device states correctly; don't change
4163                         the state of unavailable/unmanaged devices
4164
4165         * libnm-glib/nm-device-802-11-wireless.c
4166                 - (state_changed_cb): update for new device states
4167
4168 2008-04-07  Dan Williams  <dcbw@redhat.com>
4169
4170         * marshallers/nm-marshal.list
4171                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4172
4173 2008-04-07  Dan Williams  <dcbw@redhat.com>
4174
4175         * system-settings/src/main.c
4176                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4177                         plugins to the dbus settings object
4178                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4179                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4180                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4181                 - (main): switch default logging to syslog with a 'debug' option to
4182                         output to console; start up the HAL manager
4183
4184 2008-04-07  Dan Williams  <dcbw@redhat.com>
4185
4186         * introspection/nm-settings-system.xml
4187           introspection/Makefile.am
4188                 - Define the unmanaged devices interface for the system settings service
4189
4190         * system-settings/src/nm-system-config-hal-manager.c
4191           system-settings/src/nm-system-config-hal-manager.h
4192           system-settings/src/nm-system-config-hal-manager-private.h
4193           system-settings/src/Makefile.am
4194                 - Add a lightweight HAL manager object for tracking network devices for
4195                         the purpose of determining unmanaged devices and which devices need
4196                         the default DHCP connections
4197
4198         * system-settings/src/nm-system-config-interface.c
4199           system-settings/src/nm-system-config-interface.h
4200                 - (nm_system_config_interface_init): add the HAL manager as an argument
4201                 - (nm_system_config_interface_get_unmanaged_devices): implement
4202                 - Define 'unmanaged-devices-changed' signal
4203
4204         * system-settings/src/dbus-settings.c
4205           system-settings/src/dbus-settings.h
4206                 - Implement the unmanaged devices interface; some cleanups
4207
4208         * system-settings/plugins/ifcfg-suse/plugin.c
4209                 - Fixup for plugin interface changes
4210
4211         * system-settings/plugins/ifcfg-fedora/plugin.c
4212                 - (get_ether_device_udi): new function; find the device that has
4213                         a specified MAC address and return its UDI
4214                 - (get_udi_for_connection): new function; try to find the specific
4215                         device a connection is locked to, if any
4216                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4217                         response to HAL events
4218                 - (get_unmanaged_devices): new function; return unmanaged device list
4219                 - (build_one_connection): set the connection's locked device, if any
4220                 - (write_auto_wired_connection): remove
4221                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4222                 - (handle_connection_changed): alert listeners that the unmanaged device
4223                         list has changed
4224                 - (init): fixup for plugin interface changes, implement unmanaged devices
4225
4226         * system-settings/plugins/ifcfg-fedora/parser.c
4227           system-settings/plugins/ifcfg-fedora/parser.h
4228                 - (connection_data_free): clean up connection UDI
4229
4230 2008-04-07  Dan Williams  <dcbw@redhat.com>
4231
4232         * system-settings/plugins/ifcfg-fedora/parser.c
4233                 - (make_ip4_setting): fix parsing of DNS servers
4234
4235 2008-04-05  Dan Williams  <dcbw@redhat.com>
4236
4237         * Makefile.am
4238           configure.in
4239           marshallers/Makefile.am
4240           marshallers/nm-marshal-main.c
4241           marshallers/nm-marshal.list
4242                 - Consolidate marshallers
4243
4244         * libnm-glib/nm-marshal-main.c
4245           libnm-glib/nm-marshal.list
4246           src/marshallers/Makefile.am
4247           src/marshallers/nm-marshal-main.c
4248           src/marshallers/nm-marshal.list
4249                 - Remove
4250
4251         * libnm-glib/Makefile.am
4252           src/Makefile.am
4253           src/dhcp-manager/Makefile.am
4254           src/ppp-manager/Makefile.am
4255           src/supplicant-manager/Makefile.am
4256           src/vpn-manager/Makefile.am
4257                 - Use consolidated marshallers
4258
4259 2008-04-04  Dan Williams  <dcbw@redhat.com>
4260
4261         * src/nm-hal-manager.c
4262           src/nm-hal-manager.h
4263                 - (hal_init): don't look for hardware here
4264                 - (nm_hal_manager_start): new function; look for hardware here instead,
4265                         which can be done at a later time than hal_init()
4266
4267         * src/NetworkManager.c
4268                 - (main): start HAL manager after entering the main loop
4269
4270 2008-04-03  Dan Williams  <dcbw@redhat.com>
4271
4272         * libnm-glib/nm-settings.c
4273           libnm-glib/nm-settings.h
4274             - (nm_exported_connection_get_id): new function
4275                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4276
4277 2008-04-02  Dan Williams  <dcbw@redhat.com>
4278
4279         * src/nm-device-interface.c
4280           src/nm-device-interface.h
4281           src/nm-device.c
4282           src/nm-device.h
4283                 - Rename check_connection_conflicts() to check_connection_compatible()
4284
4285         * src/nm-device-802-11-wireless.c
4286                 - (real_check_connection_conflicts): remove
4287                 - (real_check_connection_compatible): implement; match MAC address
4288
4289         * src/nm-device-802-3-ethernet.c
4290                 - (real_check_connection_conflicts): remove
4291                 - (real_check_connection_compatible): implement; match MAC address
4292                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4293
4294         * src/nm-manager.c
4295                 - (check_connection_allowed): remove; unused until PolicyKit integration
4296                 - (internal_activate_device): check whether the connection is compatible
4297                         with the device before trying to activate it
4298
4299 2008-04-02  Dan Williams  <dcbw@redhat.com>
4300
4301         * system-settings/plugins/ifcfg-fedora/parser.c
4302                 - (read_mac_address): new function; read in MAC address and stuff it
4303                         into the connection
4304                 - (add_one_wep_key): remove debug spew
4305                 - (make_wireless_security_setting): validate the default TX key; don't
4306                         add the wireless-security setting if the connection doesn't need
4307                         security; don't leak the keys shvarFile on error cases
4308                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4309                         address
4310
4311 2008-04-02  Dan Williams  <dcbw@redhat.com>
4312
4313         * libnm-util/nm-setting-connection.c
4314           libnm-util/nm-setting-connection.h
4315                 - (set_property, get_property, nm_setting_connection_class_init): remove
4316                         the 'lockdown' property; it's functionality will be replaced by
4317                         PolicyKit instead
4318
4319 2008-04-01  Dan Williams  <dcbw@redhat.com>
4320
4321         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4322
4323         * configure.in
4324           initscript/Makefile.am
4325           initscript/Mandriva/Makefile.am
4326           initscript/Mandriva/networkmanager.in
4327           initscript/Mandriva/networkmanagerdispatcher.in
4328           src/backends/Makefile.am
4329           src/backends/NetworkManagerMandriva.c
4330           system-settings/plugins/Makefile.am
4331                 - Add Mandriva support
4332
4333 2008-03-31  Dan Williams  <dcbw@redhat.com>
4334
4335         * src/vpn-manager/nm-vpn-service.c
4336                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4337                         errors can be passed back to the caller; also no longer scheduled
4338                         as an idle handler, but called directly; and bump up VPN service
4339                         spawn timeout, 2s is really short
4340                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4341                         but call it directly so that errors are reported on return from
4342                         ActivateConnection() and don't get lost.  If scheduled as an idle
4343                         handler, clients don't have the time to query NM for the new VPN
4344                         connection's properties before the VPN connection is torn down again
4345                         if the service couldn't be launched, and therefore launch errors
4346                         get lost.
4347
4348 2008-03-31  Dan Williams  <dcbw@redhat.com>
4349
4350         * src/vpn-manager/nm-vpn-connection.c
4351                 - (device_state_changed): send correct state on device failure too
4352                 - (plugin_state_changed): failed state means unexpected disconnection,
4353                         thus if the service goes away while the VPN connection is activated
4354                         that's a failure too
4355
4356 2008-03-31  Dan Williams  <dcbw@redhat.com>
4357
4358         * src/vpn-manager/nm-vpn-manager.c
4359           src/vpn-manager/nm-vpn-manager.h
4360                 - Make VPNManager errors more available; add a service-start-failed error
4361
4362 2008-03-31  Dan Williams  <dcbw@redhat.com>
4363
4364         * libnm-glib/nm-client.c
4365           libnm-glib/nm-client.h
4366                 - (activate_cb): pass the new active connection to callback; fix
4367                         message when no callback is specified
4368
4369 2008-03-30  Dan Williams  <dcbw@redhat.com>
4370
4371         * libnm-util/nm-setting-wireless-security.c
4372                 - (need_secrets): only require key0 if the transmit key index is also
4373                         0
4374                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4375
4376 2008-03-29  Dan Williams  <dcbw@redhat.com>
4377
4378         * libnm-util/nm-setting-8021x.c
4379           libnm-util/nm-setting-ip4-config.c
4380           libnm-util/nm-setting-vpn-properties.c
4381           libnm-util/nm-setting-vpn.c
4382           libnm-util/nm-setting-wireless-security.c
4383           libnm-util/nm-setting-wireless.c
4384           libnm-util/nm-utils.c
4385           src/dhcp-manager/nm-dhcp-manager.c
4386           src/nm-activation-request.c
4387           src/nm-ip4-config.c
4388           src/nm-manager.c
4389           src/nm-properties-changed-signal.c
4390           src/ppp-manager/nm-pppd-plugin.c
4391           src/supplicant-manager/nm-supplicant-interface.c
4392           src/vpn-manager/nm-vpn-connection.c
4393                 - consistently use nm-dbus-glib-types.h
4394
4395 2008-03-29  Dan Williams  <dcbw@redhat.com>
4396
4397         * src/vpn-manager/nm-vpn-connection.c
4398                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4399                         not string
4400
4401         * src/nm-activation-request.c
4402                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4403                         not string
4404
4405 2008-03-29  Dan Williams  <dcbw@redhat.com>
4406
4407         * libnm-glib/nm-device-802-11-wireless.c
4408                 - (access_point_added_proxy): create new APs if not found
4409
4410 2008-03-29  Dan Williams  <dcbw@redhat.com>
4411
4412         * libnm-glib/nm-client.c
4413                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4414                         before freeing them
4415
4416 2008-03-29  Dan Williams  <dcbw@redhat.com>
4417
4418         * system-settings/plugins/ifcfg-fedora/parser.c
4419                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4420                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4421
4422 2008-03-29  Dan Williams  <dcbw@redhat.com>
4423
4424         * system-settings/plugins/ifcfg-fedora/parser.c
4425                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4426
4427 2008-03-27  Dan Williams  <dcbw@redhat.com>
4428
4429         * nm-object.c
4430                 - (nm_object_queue_notify): don't notify multiple times for the same
4431                         property
4432
4433         * nm-object-private.h
4434                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4435                         if it has zero elements
4436
4437         * nm-ip4-config.c
4438                 - (finalize): use g_ptr_array_foreach() when freeing domains
4439                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4440
4441         * nm-active-connection.c
4442                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4443
4444         * nm-device-802-11-wireless.c
4445           nm-device-802-11-wireless.h
4446                 - (nm_device_802_11_wireless_get_access_points): return const; use
4447                         handle_ptr_array_return()
4448
4449         * nm-types.c
4450                 - (nm_object_array_demarshal): always create an array, even of length
4451                         zero, to distinguish between "NM returned no items" and "haven't
4452                         asked NM yet"
4453
4454         * nm-client.c
4455                 - (dispose): free active connections too
4456                 - (proxy_name_owner_changed): free active connections too when NM goes
4457                         away
4458                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4459                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4460
4461 2008-03-26  Dan Williams  <dcbw@redhat.com>
4462
4463         Rework VPN connection handling for a more consistent D-Bus API.  The
4464         VPNManager object has been removed, and active VPN connections are now the
4465         same as any other active connection.  The Manager object's ActivateConnection
4466         and DeactivateConnection methods are used to start and stop a VPN connection,
4467         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4468         When activating a VPN connection, pass the path of the active connection
4469         to which the VPN connection is tied in the 'specific_object' argument.
4470
4471         Consequently, the libnm-glib API has been reworked to match this arrangement,
4472         with the VPNManager object removed, and the NMVPNConnection objects now
4473         being subclasses of NMActiveConnection.
4474
4475 2008-03-25  Dan Williams  <dcbw@redhat.com>
4476
4477         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4478
4479         * initscript/Arch/networkmanager.in
4480           initscript/Arch/networkmanager-dispatcher.in
4481                 - Updates for Arch Linux (gnome.org #523701)
4482
4483 2008-03-25  Dan Williams  <dcbw@redhat.com>
4484
4485         * libnm-glib/nm-ip4-config.c
4486           libnm-glib/nm-active-connection.c
4487           libnm-glib/nm-access-point.c
4488                 - Use nm_object_queue_notify() instead of g_object_notify()
4489
4490         * libnm-glib/nm-device.c
4491                 - (demarshal_ip4_config): distinguish between successful but missing
4492                         ip4-config request, and unsuccessful and missing ip4-config request
4493                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4494                         path
4495                 - Use nm_object_queue_notify() instead of g_object_notify()
4496
4497         * libnm-glib/nm-device-802-11-wireless.c
4498                 - (demarshal_active_ap): distinguish between successfull but missing
4499                         active-ap request, and unsuccessful and missing active-ap request
4500                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4501                         code
4502                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4503                         for the NMClient to notify the device that wireless is disabled,
4504                         and therefore to clear the AP list and active AP
4505                 - Use nm_object_queue_notify() instead of g_object_notify()
4506
4507         * libnm-glib/nm-client.c
4508                 - (poke_wireless_devices_with_rf_status): new function
4509                 - (update_wireless_status): notify wireless devices of the rfkill status
4510                         so they can clean up if needed
4511                 - Use nm_object_queue_notify() instead of g_object_notify()
4512
4513 2008-03-25  Dan Williams  <dcbw@redhat.com>
4514
4515         * libnm-glib/nm-object.c
4516           libnm-glib/nm-object-private.h
4517                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4518                         signals to an idle handler
4519                 - (nm_object_get_property): add a timeout to the D-Bus method call
4520
4521 2008-03-25  Dan Williams  <dcbw@redhat.com>
4522
4523         * introspection/nm-device-cdma.xml
4524           introspection/nm-device-gsm.xml
4525           introspection/Makefile.am
4526           introspection/all.xml
4527                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4528
4529         * src/nm-gsm-device.h
4530           src/nm-gsm-device.c
4531           src/nm-cdma-device.h
4532           src/nm-cdma-device.c
4533           src/Makefile.am
4534                 - Implement PropertiesChanged signals
4535
4536         * libnm-glib/nm-cdma-device.c
4537           libnm-glib/nm-cdma-device.c
4538                 - Attach to PropertiesChanged signals
4539
4540 2008-03-24  Dan Williams  <dcbw@redhat.com>
4541
4542         * libnm-glib/nm-client.c
4543                 - (client_device_added_proxy): add new devices to the internal device
4544                         list so they appear to clients
4545
4546 2008-03-24  Dan Williams  <dcbw@redhat.com>
4547
4548         Massive fixup of libnm-glib to:
4549         a) have all objects (with the exception of VPN) cache their properties and
4550                 update them asynchronously on PropertiesChanged signals from NM
4551         b) return internal const data for most attributes/properties instead of
4552                 allocated values that the caller must free
4553         c) cache wrapped objects such that a given D-Bus path will always map to the
4554                 same GObject returned by libnm-glib
4555         d) remove a few signals and move them to GObject property notifications
4556         e) match recent NM D-Bus API changes for activation/deactivation
4557         f) remove some private functions from libnm-glib headers
4558
4559 2008-03-20  Dan Williams  <dcbw@redhat.com>
4560
4561         * src/nm-manager.c
4562                 - (nm_manager_update_state, manager_device_state_changed,
4563                    nm_manager_activate_device, connection_added_default_handler,
4564                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4565                         queue PropertyChanged singals when the active connections change
4566
4567 2008-03-20  Dan Williams  <dcbw@redhat.com>
4568
4569         * introspection/nm-manager.xml
4570           introspection/nm-manager-client.xml
4571                 - (ActivateConnection): return the object path of the active connection
4572                         on success
4573                 - (GetActiveConnections): remove
4574                 - (DeactivateConnection): new function; deactivate a currently active
4575                         connection
4576                 - Add an ActiveConnections property which returns an array of
4577                         active connection object paths
4578
4579         * introspection/nm-device.xml
4580                 - (Deactivate): remove
4581
4582         * introspection/all.xml
4583                 - Add ActiveConnection introspection
4584
4585         * introspection/nm-active-connection.xml
4586                 - Add the ActiveConnection object
4587
4588         * include/NetworkManager.h
4589                 - Add the Connection.Active D-Bus interface
4590
4591         * src/nm-device-interface.c
4592                 - (impl_device_deactivate): remove
4593
4594         * src/nm-activation-request.c
4595           src/nm-activation-request.c
4596           src/Makefile.am
4597                 - Implement the Connection.Active D-Bus interface
4598
4599         * src/nm-manager.c
4600                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4601                 - (nm_manager_activate_device): return the active connection path
4602                 - (connection_added_default_handler, impl_manager_activate_connection):
4603                         return the active connection to the caller
4604                 - (add_one_connection_element, impl_manager_get_active_connections):
4605                         remove
4606                 - (impl_manager_deactivate_connection): new function; deactivate an
4607                         active connection
4608
4609         * libnm-glib/nm-device.c
4610           libnm-glib/nm-device.h
4611                 - Remove Deactivate() function
4612
4613 2008-03-19  Dan Williams  <dcbw@redhat.com>
4614
4615         * introspection/nm-manager.xml
4616           introspection/nm-manager-client.xml
4617                 - Rename the ActivateDevice method to ActivateConnection to better
4618                         reflect it's usage; it's arguments get reordered a bit too
4619                 - Convert GetActiveConnections method return from a struct to a dict
4620
4621         * include/NetworkManager.h
4622                 - Define the dict keys for return value of GetActiveConnections
4623
4624         * src/nm-manager.c
4625                 - impl_manager_activate_device -> impl_manager_activate_connection
4626                 - (add_one_connection_element): return a populated hash table, not
4627                         a structure
4628
4629         * libnm-glib/nm-client.c
4630           libnm-glib/nm-client.h
4631                 - nm_client_activate_device -> nm_client_activate_connection
4632                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4633                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4634                         instead of the custom structures.  Each element of the returned list
4635                         must be freed with nm_client_free_active_connections_element()
4636
4637 2008-03-18  Dan Williams  <dcbw@redhat.com>
4638
4639         * system-settings/plugins/ifcfg-fedora/parser.c
4640           system-settings/plugins/ifcfg-fedora/parser.h
4641           system-settings/plugins/ifcfg-fedora/plugin.c
4642                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4643                         profiles.  DNS servers and searches must now be stored in the ifcfg
4644                         files themselves
4645
4646 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4647
4648         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4649         print out username and password, it's supposed to be a secret.
4650
4651         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4652         request and set the device state accordingly.
4653
4654 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4655
4656         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4657
4658         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4659
4660 2008-03-18  Dan Williams  <dcbw@redhat.com>
4661
4662         * src/vpn-manager/nm-vpn-connection.c
4663                 - (get_secrets_cb): handle new GetSecrets return format
4664
4665 2008-03-18  Dan Williams  <dcbw@redhat.com>
4666
4667         Adapt system settings service for split 802.1x.
4668
4669         * system-settings/src/nm-system-config-interface.h
4670                 - clarify return value of get_secrets()
4671
4672         * system-settings/src/dbus-settings.c
4673                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4674                 - (check_for_secrets): check if there actually secrets returned by a
4675                         plugin
4676                 - (exported_connection_get_secrets): just return the plugin-returned
4677                         hash of settings' secrets if it looks valid
4678
4679         * system-settings/plugins/ifcfg-fedora/plugin.c
4680                 - (get_secrets): add split secrets with correct format to reply hash
4681
4682         * system-settings/plugins/ifcfg-fedora/parser.c
4683           system-settings/plugins/ifcfg-fedora/parser.h
4684                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4685                    connection_data_free, connection_data_add): keep secrets for
4686                         different settings in different hashes
4687
4688 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4689
4690         Clean up activating device deactivation.
4691
4692         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4693         should be done whether the device activation gets cancelled or the device
4694         is just getting deactivated.
4695         (nm_device_activation_cancel): Remove.
4696         (nm_device_deactivate_quickly): Handle the case where device is activating.
4697
4698         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4699         It does the exact same thing as real_deactivate_quickly().
4700
4701 2008-03-17  Dan Williams  <dcbw@redhat.com>
4702
4703         Split the 802.1x bits out of the wireless-security setting so they are
4704         generalized enough for wired 802.1x to use too.
4705
4706         * introspection/nm-exported-connection.xml
4707                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4708                         of just a hash of the secrets for one setting
4709
4710         * libnm-util/nm-setting-wireless-security.c
4711           libnm-util/nm-setting-wireless-security.h
4712                 - Remove 802.1x-specific stuff
4713                 - Added leap-username and leap-password properties for old-school LEAP
4714
4715         * src/nm-device.c
4716           src/nm-device.h
4717                 - (connection_secrets_updated_cb): take a list of updated settings names,
4718                         not just one
4719
4720         * src/supplicant-manager/nm-supplicant-config.c
4721           src/supplicant-manager/nm-supplicant-config.h
4722                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4723                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4724                         to nm_supplicant_config_add_setting_8021x()
4725                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4726                         the supplicant config
4727
4728         * src/nm-device-802-11-wireless.c
4729                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4730                 - (real_connection_secrets_updated): take a list of updated settings
4731                         names, not just one
4732
4733         * src/nm-device-802-3-ethernet.c
4734           src/nm-cdma-device.c
4735           src/nm-gsm-device.c
4736                 - (real_connection_secrets_updated_cb): take a list of updated settings
4737                         names, not just one
4738
4739         * src/nm-activation-request.c
4740           src/nm-activation-request.h
4741                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4742                         now passes a list of updated settings names, not just one
4743                 - (update_one_setting): new function; handle one updated setting
4744                 - (get_secrets_cb): handle multiple settings returned from the
4745                         settings service; have to be careful of ordering here as there are
4746                         some dependencies between settings (ex. wireless-security and 802.1x
4747                         in some cases)
4748
4749         * src/marshallers/nm-marshal.list
4750                 - new marshaller for connection-secrets-updated signal
4751
4752         * libnm-util/nm-setting-8021x.c
4753                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4754                         methods
4755                 - (verify): a valid 'eap' property is now required
4756
4757         * libnm-util/nm-connection.c
4758                 - (register_default_settings): add priorities to settings; there are
4759                         some dependencies between settings, and during the need_secrets
4760                         calls this priority needs to be respected.  For example, only the
4761                         wireless-security setting knows whether or not the connection is
4762                         going to use 802.1x or now, so it must be asked for secrets before
4763                         any existing 802.1x setting is
4764                 - (nm_connection_lookup_setting_type): expose
4765
4766         * libnm-util/nm-setting-wireless.c
4767                 - (verify): should verify even if all_settings is NULL; otherwise won't
4768                         catch the case where there is missing security
4769
4770         * libnm-util/nm-setting-wireless-security.c
4771                 - Remove everything to do with 802.1x
4772                 - Add old-school LEAP specific properties for username and password
4773                 - (need_secrets): rework LEAP secrets checking
4774                 - (verify): rework for LEAP and 802.1x verification
4775
4776 2008-03-17  Dan Williams  <dcbw@redhat.com>
4777
4778         * src/NetworkManagerPolicy.c
4779                 - (auto_activate_device): always remove the current activation check
4780                         from the pending activation list, otherwise when the policy gets
4781                         destroyed on NM exit it will attempt to free the already freed
4782                         activation check
4783
4784 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4785
4786         * src/backends/NetworkManagerSlackware.c 
4787         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4788
4789         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4790
4791 2008-03-14  Dan Williams  <dcbw@redhat.com>
4792
4793         * src/nm-manager.c
4794                 - (nm_device_interface_get_iface): g_object_get() will return an
4795                         allocated value, so this function must not return const
4796                 - (nm_device_interface_activate): free returned iface
4797
4798 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4799
4800         * libnm-util/Makefile.am: Add new files to build.
4801
4802         * libnm-util/nm-connection.c: Register NMSetting8021x.
4803
4804         * libnm-util/nm-setting-8021x.c
4805         * libnm-util/nm-setting-8021x.h: Implement.
4806
4807 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4808
4809         * libnm-util/Makefile.am: Add new files to build.
4810
4811         * libnm-util/nm-connection.c: Register NMSetting8021x.
4812
4813         * libnm-util/nm-setting-8021x.c
4814         * libnm-util/nm-setting-8021x.h: Implement.
4815
4816 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4817
4818         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4819         data.
4820
4821 2008-03-14  Dan Williams  <dcbw@redhat.com>
4822
4823         * include/wireless-helper.h
4824           include/Makefile.am
4825                 - One place for all the junk needed for #including wireless.h
4826
4827         * test/nm-tool.c
4828           src/NetworkManagerAP.c
4829           src/wpa.c
4830           src/Makefile.am
4831           libnm-util/nm-utils.c
4832           libnm-util/nm-setting-wireless.c
4833           libnm-glib/nm-device-802-11-wireless.c
4834           libnm-glib/nm-access-point.c
4835           libnm-glib/libnm-glib-test.c
4836                 - include wireless-helper.h, not iwlib.h
4837
4838         * configure.in
4839                 - Don't need libiw really, just need to check for wireless.h
4840
4841         * src/kernel-types.h
4842                 - Remove; used types moved into wpa.c
4843
4844         * src/nm-device-802-11-wireless.c
4845                 - (nm_device_802_11_wireless_update_signal_strength,
4846                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4847                    nm_device_802_11_wireless_set_mode,
4848                    nm_device_802_11_wireless_get_frequency,
4849                    nm_device_802_11_wireless_get_ssid,
4850                    nm_device_802_11_wireless_set_ssid,
4851                    nm_device_802_11_wireless_get_bitrate,
4852                    nm_device_802_11_wireless_get_bssid,
4853                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4854                         instead of iwlib functions
4855
4856 2008-03-14  Dan Williams  <dcbw@redhat.com>
4857
4858         * src/ppp-manager/nm-ppp-manager.c
4859                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4860                         should only take the DBusGMethodInvocation argument, not user/pass
4861                         too.  With dbus-glib, async functions only take 2 C arguments since
4862                         the real dbus method arguments get passed back with
4863                         dbus_g_method_return()
4864
4865 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4866
4867         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4868         Adapt the changes of NMSettingIP4Config.
4869
4870 2008-03-13  Dan Williams  <dcbw@redhat.com>
4871
4872         * src/NetworkManagerUtils.c
4873           src/NetworkManagerUtils.h
4874                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4875
4876         * src/NetworkManagerAP.c
4877           src/nm-device-802-11-wireless.c
4878           src/nm-device-802-3-ethernet.c
4879                 - s/iw_ether_ntop/nm_ether_ntop/g
4880
4881 2008-03-13  Dan Williams  <dcbw@redhat.com>
4882
4883         * src/NetworkManagerPolicy.c
4884                 - (update_routing_and_dns): never set the default route through an
4885                         IPv4LL addressed device
4886
4887 2008-03-13  Dan Williams  <dcbw@redhat.com>
4888
4889         * NetworkManagerUtils.c
4890           NetworkManagerUtils.h
4891                 - Remove NMSock stuff
4892                 - Remove the completion stuff
4893
4894         * nm-device.c
4895           nm-device.h
4896           NetworkManager.c
4897           NetworkManagerSystem.c
4898           autoip.c
4899           nm-device-802-11-wireless.c
4900           nm-device-802-3-ethernet.c
4901                 - Remove NMSock and completion stuff
4902                 - Remove nm_ioctl_info()
4903
4904 2008-03-12  Dan Williams  <dcbw@redhat.com>
4905
4906         * src/nm-device.c
4907                 - (merge_ip4_config): avoid duplicates
4908
4909 2008-03-12  Dan Williams  <dcbw@redhat.com>
4910
4911         * libnm-util/nm-setting-ip4-config.c
4912           libnm-util/nm-setting-ip4-config.h
4913                 - Remove 'manual' and 'autoip' properties
4914                 - Add 'method' property
4915                 - (verify): fix verification with 'method'
4916                 - (finalize): free 'method'
4917                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4918                         up for 'method'
4919
4920         * src/nm-device.c
4921                 - (real_act_stage3_ip_config_start): check IP4Config method
4922                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4923                         the future
4924                 - (merge_ip4_config): IP settings are valid with DHCP too
4925                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4926                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4927
4928         * src/nm-device-802-11-wireless.c
4929                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4930                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4931                         only on demand
4932
4933         * system-settings/plugins/ifcfg-fedora/parser.c
4934           system-settings/plugins/ifcfg-suse/parser.c
4935                 - (make_ip4_setting): fix up for 'method'
4936
4937 2008-03-12  Dan Williams  <dcbw@redhat.com>
4938
4939         * system-settings/plugins/ifcfg-fedora/parser.c
4940           system-settings/plugins/ifcfg-fedora/parser.h
4941                 - (get_ifcfg_name): ignore more file suffixes
4942                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4943
4944 2008-03-12  Dan Williams  <dcbw@redhat.com>
4945
4946         * configure.in
4947                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4948
4949 2008-03-12  Dan Williams  <dcbw@redhat.com>
4950
4951         * system-settings/plugins/ifcfg-fedora/plugin.c
4952                 - (write_auto_wired_connection): new function; write out an auto
4953                         wired connection file since the applet isn't doing it any more
4954                 - (reload_all_connections): write out the auto wired connection file
4955                         if there aren't any wired connections already
4956                 - (init): don't leak a GError
4957
4958 2008-03-12  Dan Williams  <dcbw@redhat.com>
4959
4960         * src/nm-device-interface.c
4961                 - (nm_device_interface_activate): print the ID of the connection
4962                         that's about to be activated
4963
4964 2008-03-12  Dan Williams  <dcbw@redhat.com>
4965
4966         Harmonize the 802.11 bitrate API
4967
4968         * introspection/nm-access-point.xml
4969                 - 'Rate' -> 'MaxBitrate'; clarify units
4970
4971         * introspection/nm-device-802-11-wireless.xml
4972                 - Clarify units of 'Bitrate'
4973
4974         * src/NetworkManagerAP.c
4975           src/NetworkManagerAP.h
4976                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4977                         property to 'max-bitrate'
4978                 - (foreach_property_cb): convert rate to Kb/s
4979
4980         * src/nm-device-802-11-wireless.c
4981                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4982
4983         * libnm-glib/nm-access-point.c
4984           libnm-glib/nm-access-point.h
4985                 - 'rate' -> 'max-bitrate'
4986
4987         * test/nm-tool.c
4988           libnm-glib/libnm-glib-test.c
4989                 - Fix up for these changes
4990
4991 2008-03-12  Dan Williams  <dcbw@redhat.com>
4992
4993         * src/nm-device.c
4994                 - (nm_device_set_ip4_config): don't send property notifications when
4995                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4996                         which dbus-glib can't parse because the value is NULL, which isn't
4997                         a legal object path.  Setting the IP4 config to NULL is only
4998                         valid when deactivating a device anyway, so the device state change
4999                         will alert listeners that the ip4 config is invalid.
5000
5001 2008-03-12  Dan Williams  <dcbw@redhat.com>
5002
5003         * src/nm-properties-changed-signal.c
5004                 - (add_to_string): better handling of NULL objects
5005
5006 2008-03-12  Dan Williams  <dcbw@redhat.com>
5007
5008         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5009         convert the libnm-glib NMDevice8023Ethernet to cached properties
5010
5011         * introspection/nm-device-802-3-ethernet.xml
5012                 - New 'Carrier' property
5013                 - New 'PropertiesChanged' signal
5014
5015         * introspection/nm-device.xml
5016                 - Remove 'Carrier' property
5017                 - Remove 'CarrierChanged' signal
5018
5019         * src/nm-device-interface.c
5020           src/nm-device-interface.h
5021                 - (nm_device_interface_init): remove 'carrier' property and
5022                         'carrier-changed' signal
5023
5024         * src/nm-device.c
5025           src/nm-device.h
5026                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5027                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5028                         the link here; wired device will handle that
5029                 - (handle_dhcp_lease_change): don't bother updating link here
5030                 - (get_property, nm_device_class_init): remove carrier property
5031
5032         * src/nm-device-802-11-wireless.c
5033                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5034                         real_update_link(); wireless devices don't use carrier at all
5035                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5036                    supplicant_iface_connection_state_cb_handler,
5037                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5038
5039         * src/nm-device-802-3-ethernet.c
5040           src/nm-device-802-3-ethernet.h
5041                 - (nm_device_802_3_ethernet_carrier_on,
5042                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5043                         instead of nm_device_set_carrier()
5044                 - (device_state_changed): update link from sysfs on activation;
5045                         replaces real_update_link()
5046                 - (real_update_link): remove, replaced by device_state_changed()
5047                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5048                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5049                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5050                         new get_carrier function
5051                 - (get_property): add 'carrier' property
5052                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5053                         hook into property-changed signal helper
5054
5055         * src/NetworkManagerPolicy.c
5056                 - (device_carrier_changed): will only ever be called with a wired device
5057                 - (device_added): only hook up to carrier-changed for wired devices
5058
5059         * libnm-glib/nm-device.c
5060           libnm-glib/nm-device.h
5061                 - (constructor, nm_device_class_init): remove carrier-changed signal
5062                 - (device_carrier_changed_proxy): remove; unused
5063                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5064
5065         * libnm-glib/nm-device-802-3-ethernet.c
5066           libnm-glib/nm-device-802-3-ethernet.h
5067                 - Convert to cached properties like AP and Wireless objects
5068                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5069                         instead of a 'char *', return value should not be freed
5070                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5071                 - (constructor): hook into properties-changed helper
5072                 - (set_property, get_property): new functions
5073                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5074
5075         * test/nm-tool.c
5076                 - (detail_device): strdup the wired hardware address too since it's
5077                         cached now
5078
5079         * libnm-glib/libnm-glib-test.c
5080                 - (dump_wired): strdup the wired hardware address too since it's
5081                         cached now
5082
5083 2008-03-12  Dan Williams  <dcbw@redhat.com>
5084
5085         * libnm-util/nm-setting-ip4-config.c
5086           libnm-util/nm-setting-ip4-config.h
5087                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5088                         the 'autoip' property from the spec
5089
5090 2008-03-11  Dan Williams  <dcbw@redhat.com>
5091
5092         * src/backends/NetworkManagerGeneric.c
5093           src/backends/NetworkManagerGeneric.h
5094                 - (nm_generic_device_get_use_dhcp): remove
5095
5096 2008-03-11  Dan Williams  <dcbw@redhat.com>
5097
5098         * src/nm-device.c
5099                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5100                         already in nm_device_set_ip4_config()
5101                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5102                         due to a DHCP rebind fails
5103                 - (nm_device_set_ip4_config): send property notifications when the
5104                         ip4 config changes
5105                 - (get_property): only report IP4Config property during valid states
5106
5107         * src/NetworkManagerPolicy.c
5108                 - (update_routing_and_dns): ignore devices that don't have an ip4
5109                         config; add parameter 'force_update' to allow callers to specify
5110                         that changes should be made even if the default device doesn't change
5111                 - (device_ip4_config_changed): update DNS and routing when the device's
5112                         IP4Config changes, like for DHCP updates
5113                 - (device_added): listen for ip4-config property changes
5114
5115 2008-03-11  Dan Williams  <dcbw@redhat.com>
5116
5117         Fix address handling as a result of DHCP rebind/renew/reboot.
5118
5119         * src/NetworkManagerSystem.c
5120                 - (check_one_address): delete an address if it doesn't match a given
5121                         one for the same interface
5122                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5123                         be smarter about flushing addresses (only flush ones that don't
5124                         match the one we're about to apply)
5125
5126         * src/backends/NetworkManagerDebian.c
5127           src/backends/NetworkManagerSuSE.c
5128           src/backends/NetworkManagerArch.c
5129           src/backends/NetworkManagerSlackware.c
5130           src/backends/NetworkManagerRedHat.c
5131           src/backends/NetworkManagerPaldo.c
5132           src/backends/NetworkManagerFrugalware.c
5133           src/backends/NetworkManagerGentoo.c
5134                 - (nm_system_delete_default_route): remove
5135
5136         * src/backends/NetworkManagerGeneric.c
5137           src/backends/NetworkManagerGeneric.h
5138                 - (nm_generic_enable_loopback): fix the loopback device label
5139                 - (nm_generic_delete_default_route): remove; no longer used
5140
5141 2008-03-11  Dan Williams  <dcbw@redhat.com>
5142
5143         * src/nm-device-interface.h
5144                 - Delimit property name words with '-', otherwise g_object_notify()
5145                         doesn't work the way we expect
5146
5147 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5148
5149         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5150
5151 2008-03-11  Dan Williams  <dcbw@redhat.com>
5152
5153         * src/NetworkManagerPolicy.c
5154                 - (update_routing_and_dns): don't change anything if the default device
5155                         hasn't changed; print something out when switching the default route
5156                         and DNS
5157
5158 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5159
5160         Implement PPPoE.
5161
5162         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5163         setting. Use "nic-$eth".
5164
5165         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5166         the device is activating here to fix a race condition.
5167
5168         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5169
5170         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5171         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5172         (nm_ppp_manager_start): Take activation request instead of connection, we might
5173         need it for asking secrets.
5174         (nm_ppp_manager_update_secrets): Implement.
5175
5176         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5177         ppp manager start. It might be needed for asking secrets.
5178
5179         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5180         (ppp_state_changed): Handle pppd daemon disappearing.
5181         (pppoe_stage2_config): Send activation request to ppp manager start.
5182
5183         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5184
5185         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5186         username and password.
5187         
5188 2008-03-10  Dan Williams  <dcbw@redhat.com>
5189
5190         * src/nm-device.c
5191                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5192                         response to a DHCP lease change
5193                 - (dhcp_state_changed): handle DHCP lease changes while activated
5194                 - (nm_device_set_ip4_config): remove a previously set named config
5195                         when setting an ip4 config
5196
5197 2008-03-10  Dan Williams  <dcbw@redhat.com>
5198
5199         * src/nm-serial-device.c
5200                 - (nm_serial_device_send_command): report errno on error
5201                 - (get_reply_got_data): limit the size of the overall buffer
5202                 - (wait_for_reply_info_destroy): destroy result string
5203                 - (wait_for_reply_got_data): append received data to an overall buffer
5204                         until timeout, filled buffer, or error instead of keeping a per-call
5205                         buffer.  Some devices send data slowly enough that this function
5206                         gets called multiple times for the same command stream.
5207                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5208                         wait_for_reply_got_data() here
5209
5210 2008-03-10  Dan Williams  <dcbw@redhat.com>
5211
5212         * src/nm-cdma-device.c
5213                 - (do_dial, init_modem): handle errors from
5214                         nm_serial_device_send_command_string()
5215
5216         * src/nm-gsm-device.c
5217                 - (do_dial, manual_registration, automatic_registration_get_network,
5218                    automatic_registration, enter_pin, check_pin, init_modem): handle
5219                         errors from nm_serial_device_send_command_string()
5220
5221 2008-03-10  Dan Williams  <dcbw@redhat.com>
5222
5223         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5224
5225         * src/named-manager/nm-named-manager.c
5226                 - (compute_searches): prefer searches before domains
5227                 - (compute_domain): new function
5228                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5229                 - (merge_one_ip4_config): if there are no searches in the source config,
5230                         merge domains of the source config into the target config
5231                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5232
5233 2008-03-10  Dan Williams  <dcbw@redhat.com>
5234
5235         * src/nm-serial-device.c
5236                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5237                 - (wait_for_reply_got_data): try to handle slower serial devices where
5238                         the reply is broken up into multiple reads by concatenating replies
5239                         together until either an error is received or the search string is
5240                         found
5241
5242 2008-03-10  Dan Williams  <dcbw@redhat.com>
5243
5244         * src/nm-device.c
5245                 - (nm_device_bring_down): deactivate the device if it's activating too,
5246                         not just if it's already activated.  This makes sure that everything
5247                         from an association attempt is cleaned up (like DHCP for example)
5248
5249 2008-03-10  Dan Williams  <dcbw@redhat.com>
5250
5251         * src/nm-serial-device.c
5252                 - (config_fd): report error from TCSETA
5253                 - (nm_serial_device_open): fail when config_fd() fails
5254
5255 2008-03-10  Dan Williams  <dcbw@redhat.com>
5256
5257         * src/nm-ip4-config.c
5258                 - (nm_ip4_config_init): allocate searches list
5259                 - (finalize): free searches list
5260
5261 2008-03-09  Dan Williams  <dcbw@redhat.com>
5262
5263         Patch from Bas Zoetekouw <bas@debian.org>
5264
5265         * src/dhcp-manager/nm-dhcp-manager.c
5266                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5267
5268 2008-03-09  Dan Williams  <dcbw@redhat.com>
5269
5270         Patch from Bas Zoetekouw <bas@debian.org>
5271
5272         * src/nm-ip4-config.c
5273           src/nm-ip4-config.h
5274                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5275                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5276                         domains.  'searches' is the correct way to store multiple search
5277                         domains, whereas 'domains' is really just supposed to store one
5278                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5279                         search domains to the client.
5280                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5281
5282 2008-03-09  Dan Williams  <dcbw@redhat.com>
5283
5284         * src/dhcp-manager/nm-dhcp-manager.c
5285                 - (dhclient_run): send interface-specific config files to dhclient
5286
5287 2008-03-07  Dan Williams  <dcbw@redhat.com>
5288
5289         * system-settings/plugins/ifcfg-fedora/parser.c
5290                 - (is_wireless_device): new function; test a device for wireless
5291                         extensions
5292                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5293                         test the device for wireless extensions to determine the type
5294
5295 2008-03-07  Dan Williams  <dcbw@redhat.com>
5296
5297         Change manager's StateChange signal to StateChanged for consistency.
5298
5299         * introspection/nm-manager.xml
5300                 - Add 'StateChanged' signal
5301                 - Move 'StateChange' down to the deprecated section
5302
5303         * src/nm-hal-manager.c
5304                 - (nm_hal_manager_new): connect to 'state-changed' instead
5305
5306         * src/NetworkManagerPolicy.c
5307                 - (nm_policy_new): connect to 'state-changed' instead
5308
5309         * src/nm-manager.c
5310           src/nm-manager.h
5311                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5312                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5313                         of 'state-change'
5314
5315         * libnm-glib/nm-client.c
5316           libnm-glib/nm-client.h
5317                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5318                         track and proxy 'state-changed' instead of 'state-change'
5319
5320 2008-03-07  Dan Williams  <dcbw@redhat.com>
5321
5322         First pass of multiple active device support.  Expect bugs.
5323
5324         * src/nm-ip4-config.c
5325           src/nm-ip4-config.h
5326                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5327                         there are better ways to do this in the named manager
5328
5329         * src/nm-device.c
5330           src/nm-device.h
5331                 - (nm_device_can_activate): return whether the device can activate a
5332                         connection right now; taking into account things like carrier state
5333                         and rfkill state
5334                 - (nm_device_get_best_auto_connection): renamed from
5335                         nm_device_get_best_connection
5336                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5337                         device subclasses themselves, so that each device can override the
5338                         MTU from it's NMSetting subclass if needed
5339                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5340                         in NetworkManagerSystem.c, not here
5341
5342         * src/named-manager/nm-named-manager.c
5343           src/named-manager/nm-named-manager.h
5344                 - (nm_named_manager_name_owner_changed,
5345                    nm_named_manager_dbus_connection_changed): fix for changes to
5346                         rewrite_resolv_conf()
5347                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5348                         from parameter list
5349                 - (merge_one_ip4_config): new function; merge ip4 configs together
5350                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5351                         ip4 configs; the VPN config takes precedence, then the best
5352                         device config, then the rest of the configs
5353                 - (get_domain_for_config): take the NMNamedManager as an argument
5354                         to check whether the config is the VPN config
5355                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5356                         attribute from ip4 configs
5357                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5358                 - (remove_ip4_config_from_named): fix for changes to
5359                         get_domain_for_config()
5360                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5361                         based on its type; callers must pass in the type now
5362                 - (get_last_default_domain): remove, unused
5363                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5364
5365         * src/nm-device-802-11-wireless.c
5366                 - (real_can_activate): new function
5367                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5368                 - (real_act_stage4_get_ip4_config): handle MTU override
5369
5370         * src/nm-device-802-3-ethernet.c
5371                 - (real_can_activate): new function
5372                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5373                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5374
5375         * src/vpn-manager/nm-vpn-connection.c
5376                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5377                         attribute on the ip4 config
5378
5379         * src/NetworkManagerPolicy.c
5380                 - (nm_policy_auto_get_best_device): remove
5381                 - (nm_policy_device_change_check): remove
5382                 - (update_default_route): new function; set the default route via
5383                         the specified device
5384                 - (get_device_priority): new function; return the priority number of
5385                         a device type WRT which one should have the default route.  Order is
5386                         (highest to lowest)  wired, wireless, GSM, CDMA.
5387                 - (update_routing_and_dns): new function; determine which device should
5388                         have the default route, then update the routing table and DNS
5389                 - (maybe_auto_activate_device): new function; if a device is now
5390                         available for activation, find out what connection it would like to
5391                         activate and do it
5392                 - (schedule_activate_check): new function; if a device can be activated
5393                         now, schedule the activation.  Each device may have only one
5394                         pending activation at a given time.
5395                 - (device_state_changed): if activation was canceled, try again,
5396                         possibly with another connection; if the device was activated,
5397                         update routing and DNS; if the device was deactivated, try again
5398                         with another connection
5399                 - (device_carrier_changed): if there is no carrier, deactivate the
5400                         device; otherwise schedule an activation check for the device
5401                 - (wireless_networks_changed): schedule an activation check for the
5402                         device
5403                 - (device_added): keep track of the signal handler IDs so they can
5404                         be removed when the device goes away
5405                 - (device_removed): remove any signal handlers that might be attached
5406                         to the device; update routing and DNS
5407                 - (schedule_activate_all): new function
5408                 - (connections_added, connection_added, connection_updated): when
5409                         connections change, schedule all devices for an activation check
5410                 - (connection_removed): when a device is deactivated because its
5411                         connection was removed, schedule another activation check for it
5412                 - (nm_policy_destroy): destroy pending activations and disconnect
5413                         all device signal handlers
5414
5415         * src/nm-manager.c
5416                 - (nm_manager_activate_device): if the device was already actived,
5417                         deactivate it
5418                 - (deactivate_old_device): remove
5419                 - (connection_added_default_handler, impl_manager_activate_device):
5420                         don't deactivate other devices when activating this one
5421
5422         * src/backends/NetworkManagerGentoo.c
5423           src/backends/NetworkManagerFrugalware.c
5424           src/backends/NetworkManagerPaldo.c
5425           src/backends/NetworkManagerRedHat.c
5426           src/backends/NetworkManagerSlackware.c
5427           src/backends/NetworkManagerArch.c
5428           src/backends/NetworkManagerSuSE.c
5429           src/backends/NetworkManagerDebian.c
5430                 - (nm_system_get_mtu): remove; MTU should be provided through the
5431                         distro's system settings service plugin instead
5432                 - (nm_system_device_add_default_route_via_device): remove
5433                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5434                 - (nm_system_device_replace_default_route): new function; call
5435                         generic implementation
5436
5437         * src/backends/NetworkManagerGeneric.c
5438           src/backends/NetworkManagerGeneric.h
5439                 - (nm_generic_device_add_default_route_via_device,
5440                    nm_generic_device_add_default_route_via_device_with_iface): remove
5441                 - (nm_generic_device_replace_default_route): replace the default route
5442                         with the given route via some gateway
5443
5444         * src/NetworkManagerSystem.c
5445           src/NetworkManagerSystem.h
5446                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5447                         to routing and DNS; but set the MTU here
5448                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5449                         ip_iface of the active device; use the standard MTU setting function
5450                 - (nm_system_set_mtu): remove
5451                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5452
5453 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5454
5455         Rework the interaction between ppp manager and pppd plugin. Register a well
5456         known DBUS service in manager and let the plugin call it's methods instead
5457         of listening plugin's signals.
5458
5459         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5460         of emitting signals.
5461
5462         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5463
5464         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5465
5466         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5467         nm_ppp_manager_start().
5468
5469         * introspection/nm-ppp-manager.xml: New file.
5470
5471         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5472         the case correctly where driver is trying to send -1 for the speed, which gets
5473         casted to u16 and thus is always > 0.
5474
5475 2008-03-07  Dan Williams  <dcbw@redhat.com>
5476
5477         * src/nm-hal-manager.c
5478                 - (nm_get_device_driver_name): use net.originating_device first, fall
5479                         back to physical device.  HAL has deprecated physical_device.
5480
5481         * libnm-glib/nm-device.c
5482                 - (get_product_and_vendor): use net.originating_device first, fall
5483                         back to physical device.  HAL has deprecated physical_device.
5484                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5485
5486 2008-03-07  Dan Williams  <dcbw@redhat.com>
5487
5488         * src/nm-netlink.c
5489                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5490                         last commit; fix that
5491                 - (get_link_cache): print error string
5492
5493 2008-03-07  Dan Williams  <dcbw@redhat.com>
5494
5495         * src/nm-netlink.c
5496                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5497                         don't need this hack any more (Benoit Boissinot)
5498
5499 2008-03-06  Dan Williams  <dcbw@redhat.com>
5500
5501         * autogen.sh
5502                 - Die gnome-common, die
5503
5504 2008-03-04  Dan Williams  <dcbw@redhat.com>
5505
5506         Patch from Michael Biebl <biebl@debian.org>
5507
5508         * NetworkManager.pc.in
5509                 - doesn't actually depend on dbus-1
5510
5511         * libnm-util/nm-utils.h
5512                 - remove unused #include <dbus/dbus.h>
5513
5514         * libnm-glib/libnm_glib.pc.in
5515                 - depends on glib and dbus-glib
5516
5517 2008-03-02  Dan Williams  <dcbw@redhat.com>
5518
5519         * src/NetworkManagerPolicy.c
5520                 - s/device_state_changed_idle_id/update_state_id/
5521
5522 2008-03-02  Dan Williams  <dcbw@redhat.com>
5523
5524         * src/nm-device.c
5525           src/nm-device.h
5526           src/nm-device-802-11-wireless.c
5527           src/nm-device-802-3-ethernet.c
5528           src/NetworkManagerPolicy.c
5529                 - s/link_active/carrier
5530                 - nm_device_set_active_link() -> nm_device_set_carrier()
5531                 - nm_device_has_active_link() -> nm_device_get_carrier()
5532
5533 2008-03-02  Dan Williams  <dcbw@redhat.com>
5534
5535         * system-settings/plugins/ifcfg-fedora/parser.c
5536                 - (make_wireless_setting): fail connection creation on missing SSID
5537
5538 2008-02-29  Dan Williams  <dcbw@redhat.com>
5539
5540         * src/NetworkManagerPolicy.c
5541                 - (nm_policy_device_change_check): ensure that a previously active
5542                         device with a system connection has a link before denying a switch
5543                         to a user connection
5544
5545 2008-02-29  Dan Williams  <dcbw@redhat.com>
5546
5547         * src/nm-device-802-11-wireless.c
5548                 - (link_timeout_cb): try again if scanning; deactivate the device when
5549                         activated if the link dies
5550                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5551                         15 seconds
5552
5553 2008-02-29  Dan Williams  <dcbw@redhat.com>
5554
5555         * src/nm-device-802-11-wireless.c
5556           src/nm-device-802-11-wireless.h
5557                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5558                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5559                 - (device_cleanup): reset the scan interval lower when the device
5560                         deactivates
5561                 - (can_scan): base decision mostly off device state, not supplicant
5562                         interface state since the supplicant interface state isn't a
5563                         great indicator of whether the device is active or not
5564                 - (request_wireless_scan): clean up; schedule the next scan here
5565                 - (schedule_scan): only back the scan interval off if a new scan
5566                         actually gets scheduled; and make scan intervals tighter when the
5567                         device is disconnected
5568                 - (supplicant_iface_state_cb_handler): fold in the bits of
5569                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5570                         interval to minimum
5571                 - (activation_success_handler): reset scan interval to something
5572                         reasonable 
5573
5574 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5575
5576         reviewed by: Steev <steev@steev.net>
5577
5578         * configure.in:
5579         * src/backends/NetworkManagerGentoo.c:
5580         (nm_system_restart_mdns_responder):
5581                 Howl is no longer a supported mDNS provider
5582
5583 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5584
5585         Get rid of a bunch of unused distro specific functions.
5586
5587 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5588
5589         Implement suse plugin for system settings daemon.
5590
5591         * system-settings/plugins/ifcfg-suse/*: Implement.
5592
5593         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5594         suse.
5595
5596         * configure.in: Check (without failing) for gio.
5597         Create ifcfg-suse plugin's Makefile.
5598
5599 2008-02-20  Dan Williams  <dcbw@redhat.com>
5600
5601         * libnm-util/nm-connection.c
5602           libnm-util/nm-connection.h
5603                 - (nm_connection_compare): accept compare flags and pass them to the
5604                         setting compare function
5605
5606         * libnm-util/nm-setting.c
5607           libnm-util/nm-setting.h
5608                 - (nm_setting_compare): accept compare flags; ignore properties that are
5609                         marked fuzzy
5610
5611         * libnm-util/nm-setting-connection.c
5612           libnm-util/nm-setting-wireless.c
5613           libnm-util/nm-setting-ppp.c
5614           libnm-util/nm-setting-wired.c
5615                 - Mark some setting properties as ignorable when doing a fuzzy compare
5616
5617         * src/nm-device.c
5618                 - (device_activation_precheck): use exact compare
5619
5620 2008-02-20  Dan Williams  <dcbw@redhat.com>
5621
5622         * src/NetworkManagerPolicy.c
5623                 - (nm_policy_device_change_check): get scope off the connection, not
5624                         using the manager helper
5625
5626         * src/nm-manager.c
5627           src/nm-manager.h
5628                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5629                 - (connection_get_settings_cb): set scope and path on connection, not
5630                         using GObject data items
5631                 - (get_connection_for_proxy): don't need to return path, since that
5632                         can be gotten from the connection
5633                 - (get_connection_for_proxy): get path off the connection, not from
5634                         parameters
5635                 - (connection_removed_cb, connection_updated_cb): don't need to get
5636                         path from get_connection_for_proxy(); get scope off the connection
5637                         instead of using GObject data items
5638                 - (connection_added_default_handler, add_one_connection_element): use
5639                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5640                 - (nm_manager_get_connection_dbus_path): remove
5641                 - (nm_manager_get_connection_scope): remove
5642
5643 2008-02-20  Dan Williams  <dcbw@redhat.com>
5644
5645         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5646                 on confusing names
5647
5648         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5649                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5650                 NMExportedConnection
5651
5652         * Internally rename NMConnectionType -> NMConnectionScope
5653
5654         * Provide default implementations of the 'get_id' and 'get_settings' methods
5655                 of NMExportedConnection
5656
5657 2008-02-15  Dan Williams  <dcbw@redhat.com>
5658
5659         * src/nm-device-802-11-wireless.c
5660                 - (device_cleanup): release the AP list here too so that the AP list
5661                         doesn't survive across suspend/resume and up/down.  There is some
5662                         room for optimization, for example blow the list away when the card
5663                         brought back up, but only if the device has only been down for a
5664                         minute or more.
5665
5666 2008-02-15  Dan Williams  <dcbw@redhat.com>
5667
5668         * src/nm-hal-manager.c
5669                 - (modem_device_creator): recognize new HAL modem capabilities
5670
5671 2008-02-12  Dan Williams  <dcbw@redhat.com>
5672
5673         * system-settings/plugins/ifcfg-fedora/plugin.c
5674                 - (watch_path): handle IN_DELETE_SELF too
5675                 - (handle_connection_changed): notify when removing a connection
5676                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5677                         case of a file moving out of the profile directory
5678
5679 2008-02-12  Dan Williams  <dcbw@redhat.com>
5680
5681         * system-settings/plugins/ifcfg-fedora/parser.c
5682                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5683
5684 2008-02-12  Dan Williams  <dcbw@redhat.com>
5685
5686         * libnm-util/nm-utils.c
5687                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5688                         just any empty array
5689
5690 2008-02-12  Dan Williams  <dcbw@redhat.com>
5691
5692         * system-settings/src/nm-system-config-interface.c
5693           system-settings/src/nm-system-config-interface.h
5694                 - (load_connections): get_connections() should now return an allocated
5695                         GSList that the system settings service will free
5696
5697         * system-settings/plugins/ifcfg-fedora/plugin.c
5698           system-settings/plugins/ifcfg-fedora/parser.h
5699           system-settings/plugins/ifcfg-fedora/parser.c
5700                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5701                         in the profile directory, handle resolv.conf file changes
5702
5703 2008-02-10  Dan Williams  <dcbw@redhat.com>
5704
5705         * src/nm-device-802-3-ethernet.c
5706                 - (real_bring_up): save the supplicant interface state signal id
5707                 - (real_bring_down): disconnect from the supplicant interface state
5708                         signal
5709
5710 2008-02-07  Dan Williams  <dcbw@redhat.com>
5711
5712         * initscript/RedHat/NetworkManager.in
5713           initscript/RedHat/NetworkManagerDispatcher.in
5714                 - Add new-style LSB init headers
5715
5716 2008-02-07  Dan Williams  <dcbw@redhat.com>
5717
5718         * system-settings/src/dbus-settings.c
5719           system-settings/src/dbus-settings.h
5720                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5721                         table of secrets
5722                 - (connection_settings_get_secrets): consolidate error returns into
5723                         one place; use the new get_secrets() plugin interface function to
5724                         get secrets from the plugin itself rather than using GObject data
5725                         magic
5726
5727         * system-settings/src/main.c
5728                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5729                    load_connections): keep a private list of the plugin-returned
5730                         connections, don't use the plugin's GSList
5731
5732         * system-settings/plugins/ifcfg-fedora/plugin.c
5733                 - (watch_path): watch the path, not the filename (duh)
5734                 - (reload_all_connections): use the direct hash/equal functions; the
5735                         ones for int aren't appropriate here
5736                 - (get_secrets, system_config_interface_init): implement the
5737                         get_secrets() function
5738                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5739                         now in the connection's ConnectionData instead of being a GObject
5740                         data property
5741                 - (handle_profile_item_changed): ifcfg file path is now in the
5742                         connection's ConnectionData instead of being a GObject data property;
5743                         be sure to copy secrets over from the new connection to the existing
5744                         connection when updating the connection's settings
5745                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5746                         file descriptor
5747
5748         * system-settings/plugins/ifcfg-fedora/parser.c
5749           system-settings/plugins/ifcfg-fedora/parser.h
5750                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5751                    connection_data_copy_secrets, connection_data_free,
5752                    connection_data_add): new functions; connection data manipulation
5753                 - (make_wireless_security_setting): stuff secrets into the
5754                         connection data, not as GObject data items; make sure to close
5755                         the keys ifcfg file
5756                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5757                         connection data to the connection
5758
5759 2008-02-07  Dan Williams  <dcbw@redhat.com>
5760
5761         * system-settings/src/nm-system-config-interface.c
5762           system-settings/src/nm-system-config-interface.h
5763                 - Add a get_secrets() interface function to retrieve secrets for a
5764                         specific setting of a specific connection.  Document the interface
5765                         a bit more too.
5766
5767 2008-02-07  Dan Williams  <dcbw@redhat.com>
5768
5769         * src/nm-device-802-11-wireless.c
5770                 - (handle_auth_or_fail): new function; consolidate device activation
5771                         failure check after a certain number of failures getting secrets
5772                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5773                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5774                         the connection if secrets were requested more than a few times
5775                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5776                         tries here; otherwise they are cleared before the IP configure
5777                         timeout, which happens with open system WEP when key is wrong
5778                 - (activation_success_handler): clear wireless secrets tries here too
5779
5780 2008-02-07  Dan Williams  <dcbw@redhat.com>
5781
5782         * src/NetworkManagerPolicy.c
5783                 - (connection_updated): clear invalid tag when connection gets updated
5784                         to allow that connection to be tried again
5785                 - (nm_policy_new): save signal ids so they can be disconnected when
5786                         the policy is destroyed
5787                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5788                         and disconnect all signals from the manager object so that none
5789                         of the policy functions gets called after the policy is destroyed
5790
5791 2008-02-06  Dan Williams  <dcbw@redhat.com>
5792
5793         * src/nm-manager.c
5794                 - (finalize): remove devices a bit earlier; clean up system settings
5795                         poke
5796                 - (nm_manager_name_owner_changed): clean up system settings poke when
5797                         the service appears, and try to restart it if it fails
5798                 - (poke_system_settings_daemon_cb): try to get the system settings
5799                         service started through D-Bus service activation
5800                 - (initial_get_connections): start the system settings daemon if it's
5801                         not already running
5802
5803 2008-02-05  Dan Williams  <dcbw@redhat.com>
5804
5805         * src/supplicant-manager/nm-supplicant-config.c
5806                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5807                         broadcast networks too
5808
5809 2008-02-04  Dan Williams  <dcbw@redhat.com>
5810
5811         * system-settings/plugins/ifcfg-fedora/parser.c
5812                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5813                         need key_mgmt set too
5814                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5815                         .bak files; ensure that an error is set whenever NULL gets returned
5816
5817 2008-02-04  Dan Williams  <dcbw@redhat.com>
5818
5819         * system-settings/src/Makefile.am
5820                 - Install D-Bus service activation file for the system settings
5821                         service
5822
5823         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5824                 - D-Bus service activation file for system settings service
5825
5826 2008-02-04  Dan Williams  <dcbw@redhat.com>
5827
5828         * system-settings/src/main.c
5829                 - (parse_config_file): parse a config file
5830                 - (main): accept --config option and read plugins from config file
5831
5832 2008-02-04  Dan Williams  <dcbw@redhat.com>
5833
5834         * system-settings/plugins/ifcfg-fedora/plugin.c
5835                 - Change reported name to 'ifcfg-fedora'
5836                 - Use IFCFG_PLUGIN_NAME
5837
5838         * system-settings/plugins/ifcfg-fedora/plugin.c
5839                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5840
5841 2008-02-04  Dan Williams  <dcbw@redhat.com>
5842
5843         * system-settings/plugins/ifcfg-fedora/parser.c
5844                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5845                 - (make_connection_setting): use get_ifcfg_name()
5846                 - (make_wireless_security_setting): handle shadow key files
5847                 - (get_one_wep_key): treat empty string as NULL
5848
5849 2008-02-04  Dan Williams  <dcbw@redhat.com>
5850
5851         * src/supplicant-manager/nm-supplicant-manager.c
5852                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5853                         glib automatically reschedule
5854                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5855                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5856                         the supplicant
5857
5858 2008-02-01  Dan Williams  <dcbw@redhat.com>
5859
5860         * src/NetworkManagerPolicy.c
5861                 - (device_state_changed): schedule a change check when a device gets
5862                         deactivated so something happens if you disconnect GSM/CDMA
5863
5864 2008-01-31  Dan Williams  <dcbw@redhat.com>
5865
5866         * src/nm-device-802-11-wireless.h
5867           src/nm-device-802-11-wireless.c
5868                 - (ap_list_get_ap_by_ssid, is_associated,
5869                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5870                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5871                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5872                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5873                         function
5874
5875 2008-01-30  Dan Williams  <dcbw@redhat.com>
5876
5877         * system-settings/plugins/ifcfg
5878         * system-settings/plugins/ifcfg-fedora
5879                 - Move the ifcfg plugin to ifcfg-fedora
5880
5881 2008-01-24  Dan Williams  <dcbw@redhat.com>
5882
5883         * libnm-glib/nm-device-802-11-wireless.c
5884                 - (get_access_point): move the "/" check here; check for invalid path
5885                         too
5886                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5887                         to get_access_point()
5888                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5889                         to send signals for non-existent access points
5890
5891 2008-01-24  Dan Williams  <dcbw@redhat.com>
5892
5893         * libnm-glib/nm-device-802-11-wireless.c
5894                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5895
5896 2008-01-23  Dan Williams  <dcbw@redhat.com>
5897
5898         * libnm-glib/libnm_glib.c
5899                 - (libnm_glib_init): make thread joinable
5900                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5901
5902 2008-01-23  Dan Williams  <dcbw@redhat.com>
5903
5904         * test/libnm_glib_test.c
5905                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5906                 - (main): set up signal handlers; call libnm_glib_shutdown
5907
5908 2008-01-21  Dan Williams  <dcbw@redhat.com>
5909
5910         * include/NetworkManager.h
5911                 - Add CDMA mobile broadband card device type
5912
5913         * src/nm-hal-manager.c
5914                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5915                         must now be tagged with 'cdma' or 'gsm' capability
5916
5917         * src/nm-cdma-device.c
5918           src/nm-cdma-device.h
5919           src/Makefile.am
5920                 - Add the CDMA mobile broadband card device class
5921
5922         * libnm-util/nm-connection.c
5923                 - (register_default_settings): add NMSettingCdma
5924
5925         * libnm-util/nm-setting-cdma.c
5926           libnm-util/nm-setting-cdma.h
5927           libnm-util/Makefile.am
5928                 - Add the CDMA mobile broadband card setting class
5929
5930         * libnm-glib/nm-cdma-device.c
5931           libnm-glib/nm-cdma-device.h
5932           libnm-glib/Makefile.am
5933                 - Add the CDMA mobile broadband card GLib proxy class
5934
5935         * libnm-glib/nm-client.c
5936                 - (get_device): handle CDMA devices too
5937
5938 2008-01-21  Dan Williams  <dcbw@redhat.com>
5939
5940         * src/ppp-manager/nm-ppp-manager.c
5941                 - (ip4_config_get): set peer address too
5942
5943         * src/ppp-manager/nm-pppd-plugin.c
5944                 - (nm_ip_up): try harder to get the peer's address
5945
5946         * src/NetworkManagerSystem.c
5947                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5948                         address, use that too.  Otherwise, some PPP connections won't work.
5949
5950 2008-01-19  Dan Williams  <dcbw@redhat.com>
5951
5952         * src/NetworkManagerPolicy.c
5953                 - (nm_policy_device_change_check): system connections override user
5954                         connections; don't activate a user connection if there's a currently
5955                         active system connection, and new, better system connections always
5956                         interrupt user connections
5957
5958 2008-01-19  Dan Williams  <dcbw@redhat.com>
5959
5960         * src/nm-manager.h
5961                 - (nm_manager_get_connection_type): new function
5962
5963 2008-01-19  Dan Williams  <dcbw@redhat.com>
5964
5965         * src/nm-device-802-11-wireless.c
5966                 - (real_get_best_connection): collapse find_best_connection() into this
5967                         function
5968
5969 2008-01-19  Dan Williams  <dcbw@redhat.com>
5970
5971         * src/nm-device-802-3-ethernet.c
5972                 - (real_get_best_connection): collapse find_best_connection() into this
5973                         function
5974
5975 2008-01-18  Dan Williams  <dcbw@redhat.com>
5976
5977         * src/nm-device-802-3-ethernet.c
5978                 - (find_best_connection): check MAC address too
5979                 - (real_get_best_connection): let autoconnect=True connections activate
5980                         for devices that don't have carrier detection
5981
5982         * src/nm-device-802-11-wireless.c
5983                 - (find_best_connection): check MAC address too
5984
5985 2008-01-18  Dan Williams  <dcbw@redhat.com>
5986
5987         * system-settings/plugins/ifcfg/parser.c
5988                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5989
5990 2008-01-17  Dan Williams  <dcbw@redhat.com>
5991
5992         * src/nm-device-802-3-ethernet.c
5993                 - (nm_device_802_3_ethernet_carrier_on,
5994                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5995                         carrier events that might come in for devices that don't support
5996                         carrier detect
5997
5998 2008-01-17  Dan Williams  <dcbw@redhat.com>
5999
6000         * src/nm-device-interface.c
6001                 - (nm_device_interface_check_connection_conflicts): need to actually
6002                         get the interface, not cast to the object
6003
6004         * src/nm-device.c
6005                 - (nm_device_check_connection_conflicts): need to get the device class,
6006                         not cast the device to the device class
6007
6008 2008-01-17  Dan Williams  <dcbw@redhat.com>
6009
6010         * src/nm-device-802-11-wireless.c
6011                 - (real_check_connection_conflicts): ignore connections that aren't
6012                         wireless connections
6013
6014 2008-01-17  Dan Williams  <dcbw@redhat.com>
6015
6016         * src/NetworkManagerPolicy.c
6017                 - (nm_policy_device_change_check): clear change check idle here
6018                 - (device_change_check_done): remove
6019                 - (schedule_change_check): simplify
6020
6021 2008-01-17  Dan Williams  <dcbw@redhat.com>
6022
6023         * src/nm-manager.c
6024                 - (check_connection_allowed): take an NMDeviceInterface instead of
6025                         an NMDevice object as an argument
6026                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6027                         check_connection_allowed()
6028
6029 2008-01-13  Dan Williams  <dcbw@redhat.com>
6030
6031         * libnm-glib/nm-device-802-11-wireless.c
6032                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6033
6034 2008-01-12  Dan Williams  <dcbw@redhat.com>
6035
6036         * src/nm-device-802-11-wireless.c
6037                 - (activation_success_handler): if a match was found in the scan list
6038                         and that match is a hidden AP, update that AP's SSID
6039
6040 2008-01-11  Dan Williams  <dcbw@redhat.com>
6041
6042         * src/NetworkManagerAP.c
6043                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6044
6045         * src/nm-device-802-11-wireless.c
6046                 - (get_active_ap): do two passes over the scan list if the caller
6047                         requests that hidden APs get matched too; during the second pass
6048                         when matching hidden APs, ignore the SSID since hidden APs in the
6049                         scan list don't have an SSID yet
6050                 - (periodic_update): move some checks to
6051                         nm_device_802_11_periodic_update() because not all callers need them
6052                 - (nm_device_802_11_periodic_update): move some checks here from
6053                         perodic_update()
6054                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6055                         matching on incoming scan results, because the fake AP's flags
6056                         might be slightly different (yet still compatible) with the incoming
6057                         scan result's flags and they might actually be the same AP; update
6058                         the rate on merged APs too
6059                 - (activation_success_handler): update the frequency of the fake AP
6060                         on successful connection; match hidden APs too since if the
6061                         current AP is fake, there might already be a scan result in the
6062                         scan list for the desired AP, just without it's SSID filled in yet
6063
6064 2008-01-10  Dan Williams  <dcbw@redhat.com>
6065
6066         * src/NetworkManagerAP.c
6067                 - (foreach_property_cb): catch more hidden SSID formats
6068
6069 2008-01-10  Dan Williams  <dcbw@redhat.com>
6070
6071         Fix gnome.org #464215.  Requires the kernel patch titled
6072         "Introduce WEXT scan capabilities" but will handle the patch not being
6073         present, you'll just continue to have problems with hidden SSIDs when
6074         using mac80211-based drivers.
6075
6076         * src/supplicant-manager/nm-supplicant-config.h
6077           src/supplicant-manager/nm-supplicant-config.c
6078                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6079                         whether the driver supports SSID scans or not.  If it does, and if
6080                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6081
6082         * src/nm-device-802-11-wireless.c
6083                 - (constructor): check whether or not the driver supports SSID scans
6084                 - (build_supplicant_config): pass driver SSID scan capability when
6085                         building the wireless bits of the supplicant config
6086
6087 2008-01-09  Dan Williams  <dcbw@redhat.com>
6088
6089         * src/nm-device.c
6090           src/nm-device.h
6091                 - (device_activation_precheck, check_connection_complete): remove this
6092                         virtual function; incomplete connections should be invalid by
6093                         definition, complete-ness should be checked in the setting's
6094                         verify function
6095
6096         * src/nm-serial-device.c
6097           src/nm-gsm-device.c
6098                 - (real_check_connection_complete): remove
6099
6100         * libnm-util/nm-setting-serial.c
6101                 - (verify): new function; ensure there is a PPP setting too
6102
6103         * libnm-util/nm-setting-gsm.c
6104                 - (verify): ensure there is a serial setting too
6105
6106 2008-01-06  Dan Williams  <dcbw@redhat.com>
6107
6108         * src/dhcp-manager/nm-dhcp-manager.c
6109                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6110                         (gnome.org #332953)
6111
6112 2008-01-04  Dan Williams  <dcbw@redhat.com>
6113
6114         * src/named-manager/nm-named-manager.c
6115                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6116                         nameservers if the secondary config doesn't have any
6117                         (gnome.org #346833)
6118
6119 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6120
6121         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6122         with G_PARAM_CONSTRUCT so that they get the default values.
6123
6124         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6125         the monitoring device and prints out the output for now. Or more precicely, doesn't
6126         do absolutely anything right now since the montoring device argument is never set.
6127
6128         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6129         requires it's own knob to turn it on.
6130         (config_fd): Add NMSettingSerial to the arguments list.
6131         (nm_serial_device_open): Ditto.
6132         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6133         (nm_serial_device_get_io_channel): Implement.
6134
6135         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6136         a new reference every time (and forgetting to release it sometimes) is a pain and
6137         it's not like NMManager could work without dbus.
6138         (nm_manager_add_device): Register the added device on dbus here.
6139
6140         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6141         device.
6142
6143         * src/nm-device.c (constructor): Don't export the device here, instead export
6144         it when it's added to the NMManager's device list.
6145
6146 2007-12-31  Dan Williams  <dcbw@redhat.com>
6147
6148         * src/nm-device-interface.c
6149           src/nm-device-interface.h
6150                 - (nm_device_interface_check_connection_conflicts): new function
6151
6152         * src/nm-device.c
6153           src/nm-device.h
6154                 - (nm_device_check_connection_conflicts): new function
6155                 - (device_activation_precheck): don't require subclasses to implement
6156                         check_connection_complete()
6157                 - check_connection() -> check_connection_complete()
6158
6159         * src/nm-device-802-11-wireless.c
6160                 - (real_check_connection): remove; unused
6161                 - (real_check_connection_conflicts): implement, handle lockdown for
6162                         system connections
6163
6164         * src/nm-device-802-3-ethernet.c
6165                 - (real_check_connection): remove; unused
6166
6167         * src/nm-manager.c
6168                 - (check_connection_allowed): new function
6169                 - (nm_manager_activate_device): ensure the connection being requested
6170                         is allowed to be activated
6171
6172         * src/nm-serial-device.c
6173           src/nm-gsm-device.c
6174                 - real_check_connection() -> real_check_connection_complete()
6175
6176 2007-12-27  Dan Williams  <dcbw@redhat.com>
6177
6178         * src/nm-device-interface.c
6179           src/nm-device-interface.h
6180                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6181                         normalize and expand errors
6182                 - (nm_device_interface_init): register errors so they can be marshalled
6183                         through dbus-glib
6184                 - (nm_device_interface_activate): ensure that failure of activation
6185                         returns an error
6186
6187         * src/nm-device.c
6188           src/nm-device.h
6189                 - (device_activation_precheck): implementations of check_connection()
6190                         now take a GError and must fill it in if the check fails.  Return
6191                         more descriptive error if the requested connection is already
6192                         activating
6193                 - (nm_device_activate): actually try to return descriptive errors on
6194                         failures
6195
6196         * src/nm-device-802-11-wireless.c
6197           src/nm-device-802-3-ethernet.c
6198           src/nm-serial-device.c
6199           src/nm-gsm-device.c
6200                 - (real_check_connection): return more descriptive errors on failure
6201
6202         * src/NetworkManagerPolicy.c
6203                 - (nm_policy_device_change_check): print activation errors in the logs
6204
6205         * src/nm-manager.c
6206                 - (nm_manager_error_quark, nm_manager_error_get_type,
6207                    nm_manager_class_init): new errors
6208                 - (nm_manager_activate_device): handle errors
6209                 - (nm_manager_error_new): removed
6210                 - (wait_for_connection_expired, connection_added_default_handler,
6211                    impl_manager_activate_device): better error handling
6212
6213 2007-12-27  Dan Williams  <dcbw@redhat.com>
6214
6215         Fixes gnome.org #466954
6216
6217         * src/supplicant-manager/nm-supplicant-settings-verify.c
6218                 - Allow 'frequency' network property
6219
6220         * src/supplicant-manager/nm-supplicant-config.c
6221           src/supplicant-manager/nm-supplicant-config.h
6222                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6223                         for callers to specify the frequency an Ad-Hoc network should operate
6224                         on.  Some drivers require this to successfully create an Ad-Hoc
6225                         network.
6226
6227         * src/nm-device-802-11-wireless.c
6228                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6229                         guint32 value in MHz
6230                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6231                         iw_freq_to_uint32()
6232                 - (find_supported_frequency): new function; find a free supported
6233                         frequency for a user-created Ad-Hoc network
6234                 - (build_supplicant_config): if no frequency was specified for a user-
6235                         created Ad-Hoc network, find a free one to use
6236                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6237                         a specific object as user-created
6238
6239 2007-12-27  Dan Williams  <dcbw@redhat.com>
6240
6241         * libnm-util/nm-utils.c
6242           libnm-util/nm-utils.h
6243                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6244                         for adhoc networks
6245
6246 2007-12-24  Dan Williams  <dcbw@redhat.com>
6247
6248         * libnm-util/nm-setting-wireless.c
6249                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6250                         185, 187, 188, 192, and 196
6251
6252 2007-12-24  Dan Williams  <dcbw@redhat.com>
6253
6254         * src/nm-device-802-11-wireless.c
6255                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6256                         a channel # instead of a frequency
6257
6258 2007-12-24  Dan Williams  <dcbw@redhat.com>
6259
6260         * src/NetworkManagerAP.c
6261           src/NetworkManagerAP.h
6262                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6263                 - (freq_to_channel): handle split band tables
6264                 - (channel_to_freq): handle split band tables, take a band argument
6265
6266 2007-12-24  Dan Williams  <dcbw@redhat.com>
6267
6268         * libnm-util/nm-setting-connection.h
6269           libnm-util/nm-setting-connection.c
6270                 - Add 'lockdown' member
6271
6272 2007-12-22  Dan Williams  <dcbw@redhat.com>
6273
6274         * libnm-util/nm-setting-wireless.c
6275                 - (nm_setting_wireless_class_init): add missing 'rate' property
6276                         specification
6277
6278 2007-12-18  Dan Williams  <dcbw@redhat.com>
6279
6280         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6281
6282         * src/nm-netlink-monitor.c
6283           src/nm-netlink-monitor.h
6284                 - Remove handrolled netlink, use libnl instead
6285
6286         * src/nm-device-802-3-ethernet.c
6287                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6288                    nm_device_802_3_ethernet_carrier_on): use new names
6289
6290 2007-12-17  Dan Williams  <dcbw@redhat.com>
6291
6292         * configure.in
6293                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6294                         and fixes memory leaks)
6295
6296         * src/nm-netlink.c
6297                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6298                         automatically handle the netlink PID
6299
6300 2007-12-17  Dan Williams  <dcbw@redhat.com>
6301
6302         Patch from Michael Biebl <biebl@debian.org>
6303
6304         * configure.in
6305           src/ppp-manager/Makefile.am
6306                 - fix up install dir of pppd plugin
6307                 - clean up configure.in a bit
6308
6309 2007-12-12  Dan Williams  <dcbw@redhat.com>
6310
6311         * system-settings/src/nm-system-settings.conf
6312                 - Allow non-root clients (like the applet) to read settings
6313
6314 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6315
6316         * Replace all occurences of 'UMTS' with 'GSM'.
6317
6318 2007-12-07  Dan Williams  <dcbw@redhat.com>
6319
6320         * src/nm-serial-device.c
6321                 - (real_is_up): serial devices are always "up"
6322
6323 2007-12-07  Dan Williams  <dcbw@redhat.com>
6324
6325         * src/nm-netlink.c
6326           src/NetworkManagerSystem.c
6327                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6328                         twice (gnome.org #491047)
6329                 - Make more robust against allocation-related failures should they occur
6330
6331 2007-12-07  Dan Williams  <dcbw@redhat.com>
6332
6333         Noticed by Christian Persch <chpe@gnome.org>
6334
6335         Always chain up to parent object in dispose and finalize handlers.
6336                 (gnome.org #433112)
6337
6338 2007-12-07  Dan Williams  <dcbw@redhat.com>
6339
6340         * src/nm-device-802-11-wireless.c
6341                 - Wrap #include of linux/mii.h to fix redefined structures due to
6342                         incorrect kernel headers (gnome.org #350061)
6343
6344 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6345
6346         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6347         before doing anything else.
6348         (init_modem): Move modem initialization here.
6349
6350         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6351         (nm_serial_device_flash): Implement.
6352
6353         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6354         changes signal is "StateChanged" and not "Status".
6355         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6356
6357 2007-12-06  Dan Williams  <dcbw@redhat.com>
6358
6359         * src/supplicant-manager/nm-supplicant-config.c
6360                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6361                         to only send some options when they make sense; also send phase2
6362                         option to the supplicant (possible fix for rh #399631)
6363
6364 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6365
6366         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6367         arguments: This whole file shouldn't really know anything about NMDevices, it
6368         should deal only with device interfaces. Devices might have different ifaces for
6369         different stuff and this place shouldn't know anything about it.
6370
6371         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6372         (global_state_changed): Implement. In the current NM it's not really important,
6373         but will be required in the case of multiple active devices. (Or even better,
6374         if stuff like that gets moved out from NM).
6375
6376         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6377         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6378         instead.
6379
6380         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6381         devices like serial devices (ttyS0 and ppp0 for example).
6382         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6383         set.
6384         (nm_device_set_ip_iface): Implement.
6385         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6386         after setting ip4_config from here ...
6387         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6388         than this function should call nm_system_device_set_from_ip4_config() because no
6389         other code has enough information on which arguments to use. So instead, other code
6390         could just set the new ip4 config using this function and everyone is happy.
6391
6392         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6393         if we happen to get deactivated while something is pending.
6394         (automatic_registration): Handle the response that indicates pending network
6395         registration and wait until the pending registration is done.
6396         (real_deactivate_quickly): If there's a pending operation, cancel it.
6397
6398         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6399         (real_deactivate_quickly): ... and remove it when it's down.
6400         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6401         it if needed.
6402         (nm_serial_device_wait_for_reply): Ditto.
6403
6404 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6405
6406         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6407         (get_network_done): Remove newline, nm_info() does it already.
6408         (real_act_stage1_prepare): Turn the modem echo off.
6409
6410         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6411         device, set the route to the device interface. This is a hack.
6412
6413         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6414         return, no need for a new-line.
6415         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6416         Change the device iface here (ugh).
6417         (real_act_stage4_get_ip4_config): Implement.
6418         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6419         Restore the device iface.
6420
6421         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6422         device is not wired or wireless (eg, automatically upped) device.
6423
6424         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6425         it isn't.
6426         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6427
6428         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6429         before calling it's is_device_fn().
6430
6431 2007-12-05  Dan Williams  <dcbw@redhat.com>
6432
6433         * libnm-util/nm-utils.c
6434                 - (nm_utils_register_value_transformations,
6435                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6436                         GHashTables of GValues too
6437
6438 2007-12-04  Dan Williams  <dcbw@redhat.com>
6439
6440         * initscript/RedHat/NetworkManager.in
6441                 - No longer start named; it's D-Bus interface is going away
6442
6443 2007-12-04  Dan Williams  <dcbw@redhat.com>
6444
6445         Patch from Michael Biebl <biebl@debian.org>
6446
6447         * system-settings/plugins/ifcfg/Makefile.am
6448           system-settings/src/main.c
6449           system-settings/src/Makefile.am
6450                 - Put system settings plugins in NM plugins dir
6451
6452         * src/ppp-manager/Makefile.am
6453           src/ppp-manager/nm-ppp-manager.c
6454                 - Move pppd plugin to NM plugins dir
6455
6456 2007-12-04  Dan Williams  <dcbw@redhat.com>
6457
6458         * libnm-util/nm-setting-vpn-properties.h
6459                 - Clarify usage of the 'data' member of the setting
6460
6461         * libnm-util/nm-setting-vpn-properties.c
6462                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6463                 - (set_property): just remove all the settings; don't recreate the has
6464                 - (update_one_secret): don't need to create the hash table here since
6465                         it should always be present
6466
6467 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6468
6469         Implement PIN and PUK requesting.
6470
6471         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6472         (enter_pin): Handle PIN and PUK requests.
6473         (real_act_stage1_prepare): Clear the secret type.
6474         (real_connection_secrets_updated): Implement this class method to get
6475         notified when new secrets arrive.
6476         (nm_umts_device_class_init): Add private data back to the umts device class
6477         to store the required secret type.
6478
6479 2007-12-01  Dan Williams  <dcbw@redhat.com>
6480
6481         * system-settings/plugins/ifcfg/parser.c
6482                 - (parser_parse_file): don't try to verify NULL connections
6483
6484 2007-12-01  Dan Williams  <dcbw@redhat.com>
6485
6486         * system-settings/src/main.c
6487                 - (load_connections, add_connection_to_settings): actually export
6488                         plugin-provided connections over D-Bus so NM can get them
6489
6490 2007-12-01  Dan Williams  <dcbw@redhat.com>
6491
6492         * system-settings/plugins/ifcfg/parser.c
6493           system-settings/plugins/ifcfg/parser.h
6494           system-settings/plugins/ifcfg/plugin.c
6495                 - Hook up more inotify bits (untested)
6496
6497 2007-11-29  Dan Williams  <dcbw@redhat.com>
6498
6499         * system-settings/src/nm-system-config-interface.h
6500           system-settings/src/nm-system-config-interface.c
6501                 - (nm_system_config_interface_init,
6502                    nm_system_config_interface_get_connections): add
6503
6504         * system-settings/src/main.c
6505                 - (load_plugins, load_connections, main): use a GSList for plugins
6506                         to ensure priority ordering
6507
6508         * system-settings/plugins/ifcfg/parser.c
6509                 - (ifcfg_error_quark): move to plugin.c, and rename
6510
6511         * system-settings/plugins/ifcfg/plugin.h
6512           system-settings/plugins/ifcfg/plugin.c
6513                 - (ifcfg_plugin_error_quark): move here from parser.c
6514                 - rework connection loading and initialization
6515                 - Add preliminary inotify support for network profile config file
6516
6517 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6518
6519         Merge the beginnings of the new GSM card support.
6520
6521         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6522         ppp watch source before killing pppd - If this happens from g_object_unref()
6523         then the ppp manager is already destroyed by the time the watch callback runs.
6524
6525         * src/nm-hal-manager.c: Add a device_type_name string to the device
6526         creators, so that we can print a nice human readable string when a
6527         device is added.
6528
6529         * src/nm-umts-device.c (automatic_registration_get_network): Query
6530         for the activated network, not much is done with the result thought.
6531
6532         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6533         (ppp_ip4_config): Change the device state to activated here for now.
6534         (real_check_connection): Make sure the connection includes ppp setting.
6535
6536         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6537
6538         * libnm-glib/Makefile.am: Add the new files to build.
6539
6540         * libnm-glib/nm-umts-device.c: 
6541         * libnm-glib/nm-umts-device.h: Implement.
6542
6543 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6544
6545         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6546         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6547
6548         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6549         the timeout source - this function is only called when the timeout source has
6550         been removed.
6551         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6552         to be big enough to contain the terminating zero element as well.
6553         The timeout argument is meant to be in seconds now.
6554         (real_deactivate_quickly): Implement.
6555
6556         * src/NetworkManager.conf: Allow root to own 
6557         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6558
6559         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6560         (not unsigned ints).
6561
6562         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6563         small issue with parity bounds - capital letters have lower ascii codes
6564         than lower case letters.
6565
6566         * libnm-util/nm-connection.c (register_default_settings): Register serial
6567         and umts settings.
6568
6569 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6570
6571         Remove the "index" property from devices as not all device types have this.
6572
6573         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6574
6575         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6576         (wired_device_creator): Get the device interface from hal to create the device.
6577         (wireless_device_creator): Ditto.
6578
6579         * src/nm-device.c (nm_device_init): Remove the index member.
6580         (constructor): Remove the checks for index property, make interface property
6581         a require constructor property.
6582         Use the HAL udi for DBus path for devices.
6583         (nm_device_get_index): Remove.
6584         (set_property): Remove index handling.
6585         (get_property): Ditto.
6586         (nm_device_get_dbus_path): Remove.
6587
6588         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6589         property.
6590
6591         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6592         Access the device index through it's interface.
6593         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6594         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6595         index argument. Add interface argument.
6596
6597         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6598         the useless test_dev argument. Remove index argument. Add interface arugment.
6599
6600         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6601         device index through interface.
6602         (nm_system_set_mtu): Ditto.
6603
6604         * introspection/nm-device.xml: Remove the "Index" property.
6605
6606 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6607
6608         * src/nm-serial-device.c: 
6609         * src/nm-serial-device.c: 
6610         * src/nm-umts-device.c:
6611         * src/nm-umts-device.h: Implement.
6612
6613         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6614         allocated by libhal.
6615         (modem_device_creator): Implement.
6616         (register_built_in_creators): Register the modem creator.
6617
6618         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6619         Remove the unused test_dev argument.
6620
6621         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6622
6623         * src/Makefile.am: Add new files to build.
6624         Link in ppp-manager.
6625
6626         * libnm-util/nm-setting-umts.c: 
6627         * libnm-util/nm-setting-umts.h: 
6628         * libnm-util/nm-setting-serial.c: 
6629         * libnm-util/nm-setting-serial.h: Implement.
6630
6631         * libnm-util/Makefile.am: Add new files to build.
6632
6633 2007-11-28  Dan Williams  <dcbw@redhat.com>
6634
6635         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6636
6637         Support DHCP-provided static routes.
6638
6639         * src/nm-ip4-config.h
6640           src/nm-ip4-config.c
6641                 - Add get/set functions for static routes
6642
6643         * src/dhcp-manager/nm-dhcp-manager.c
6644                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6645                         DHCP response
6646
6647         * src/NetworkManagerSystem.c
6648                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6649                         interface when applying the IP4Config
6650
6651 2007-11-28  Dan Williams  <dcbw@redhat.com>
6652
6653         * src/nm-device-802-11-wireless.c
6654                 - (real_act_stage1_prepare): mark APs created for hidden networks
6655                         as non-broadcasting
6656
6657 2007-11-27  Dan Williams  <dcbw@redhat.com>
6658
6659         * system-settings/src/nm-system-config-interface.h
6660                 - Note how to store secrets on NMSetting objects
6661
6662         * system-settings/src/dbus-settings.c
6663                 - (connection_settings_get_secrets): implement
6664
6665 2007-11-27  Dan Williams  <dcbw@redhat.com>
6666
6667         * system-settings/plugins/ifcfg/Makefile.am
6668           system-settings/plugins/ifcfg/parser.c
6669           system-settings/plugins/ifcfg/parser.h
6670           system-settings/plugins/ifcfg/plugin.c
6671                 - Parse wireless connections too
6672
6673         * system-settings/src/dbus-settings.c
6674           system-settings/src/dbus-settings.h
6675           system-settings/src/main.c
6676                 - Handle connection update/removal if the plugin supports it
6677
6678 2007-11-27  Dan Williams  <dcbw@redhat.com>
6679
6680         * src/nm-dbus-manager.h
6681           src/nm-hal-manager.c
6682                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6683                         do it for them
6684
6685         * src/Makefile.am
6686           src/NetworkManagerDbusUtils.c
6687           src/NetworkManagerDbusUtils.h
6688                 - Remove these two source files; they are unused
6689
6690 2007-11-27  Dan Williams  <dcbw@redhat.com>
6691
6692         * src/vpn-manager/nm-vpn-manager.c
6693                 - (impl_vpn_manager_connect): fix system settings check (found by
6694                         James M. Leddy)
6695
6696 2007-11-26  Dan Williams  <dcbw@redhat.com>
6697
6698         * Fix warnings so everything compiles with --enable-more-warnings
6699
6700 2007-11-25  Dan Williams  <dcbw@redhat.com>
6701
6702         * system-settings/*
6703                 - Rework structure and code to use GModule-loaded plugins and a plugin
6704                         interface that plugins export to the system settings service
6705
6706 2007-11-21  Dan Williams  <dcbw@redhat.com>
6707
6708         * system-settings/*
6709                 - Add Soren's system settings service.  Needs work for distros other
6710                         than Fedora; the backends from NM should mostly migrate to here
6711                         and be converted to GObjects
6712
6713 2007-11-21  Dan Williams  <dcbw@redhat.com>
6714
6715         * libnm-util/nm-setting-vpn-properties.c
6716                 - (set_property): must deep-copy the given settings hash, otherwise
6717                         double-free errors occur when the setting is disposed of
6718
6719 2007-11-21  Dan Williams  <dcbw@redhat.com>
6720
6721         * src/vpn-manager/nm-vpn-act-request.h
6722           src/vpn-manager/nm-vpn-act-request.c
6723                 - Remove; unused
6724
6725 2007-11-20  Dan Williams  <dcbw@redhat.com>
6726
6727         * libnm-util/nm-utils.c
6728                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6729                    nm_utils_convert_ip4_addr_struct_array_to_string,
6730                    nm_utils_register_value_transformations): print out the readable
6731                         values of more types of properties of NMSettings subclasses
6732
6733 2007-11-20  Dan Williams  <dcbw@redhat.com>
6734
6735         * libnm-util/nm-setting-ip4-config.c
6736                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6737                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6738                         marshal GValueArrays inside collections, so switch to types that it
6739                         can actually marshal/demarshal
6740
6741 2007-11-16  Dan Williams  <dcbw@redhat.com>
6742
6743         * libnm-util/nm-setting-wireless-security.c
6744                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6745                         minimal verification of EAP methods too
6746                 - (verify): verify phase1 eap methods too
6747
6748 2007-11-15  Dan Williams  <dcbw@redhat.com>
6749
6750         * libnm-glib/nm-device.h
6751           libnm-glib/nm-device.c
6752                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6753                         const char *
6754
6755 2007-11-15  Dan Williams  <dcbw@redhat.com>
6756
6757         * libnm-glib/nm-device.c
6758                 - (get_product_and_vendor): don't try to free things that should be
6759                         freed
6760
6761 2007-11-15  Dan Williams  <dcbw@redhat.com>
6762
6763         * src/NetworkManagerUtils.c
6764                 - (nm_ethernet_address_is_valid): unbreak previous fix
6765
6766 2007-11-15  Dan Williams  <dcbw@redhat.com>
6767
6768         * src/supplicant-manager/nm-supplicant-config.c
6769                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6770                         options
6771
6772 2007-11-15  Dan Williams  <dcbw@redhat.com>
6773
6774         * src/NetworkManagerUtils.c
6775                 - (nm_ethernet_address_is_valid): fix style, clarify
6776                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6777
6778         * src/nm-device-802-11-wireless.c
6779                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6780                 - (nm_device_802_11_wireless_get_ssid,
6781                    nm_device_802_11_wireless_get_bssid,
6782                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6783                         before calling the ioctl; fixes valgrind-reported jump depends on
6784                         uninitialized value errors
6785
6786 2007-11-15  Dan Williams  <dcbw@redhat.com>
6787
6788         * libnm-util/nm-setting.c
6789                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6790                         unecessary to serialize 'name'
6791
6792         * src/nm-activation-request.c
6793                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6794                         the GetSecrets call
6795
6796 2007-11-15  Dan Williams  <dcbw@redhat.com>
6797
6798         * libnm-util/nm-setting-connection.h
6799           libnm-util/nm-setting-connection.c
6800                 - Rename the 'name' property to 'id', because it conflicted with the
6801                         NMSetting superclass' 'name' property.
6802
6803         * libnm-util/nm-setting.c
6804                 - (nm_setting_to_hash): serialize the 'name' property
6805                 - (one_property_cb): ignore 'name' on deserialization of a connection
6806
6807         * src/nm-device-802-11-wireless.c
6808           src/vpn-manager/nm-vpn-connection.c
6809           src/NetworkManagerPolicy.c
6810                 - Fix up for NMSettingConnection 'name'->'id' changes
6811
6812 2007-11-13  Dan Williams  <dcbw@redhat.com>
6813
6814         * libnm-glib/nm-device-802-11-wireless.h
6815           libnm-glib/nm-device-802-11-wireless.c
6816                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6817
6818         * test/nm-tool.c
6819           libnm-glib/libnm-glib-test.c
6820                 - Fixes for above change
6821
6822 2007-11-12  Dan Williams  <dcbw@redhat.com>
6823
6824         * src/supplicant-manager/nm-supplicant-settings-verify.c
6825                 - Allow fragment_size option
6826
6827         * src/supplicant-manager/nm-supplicant-settings-verify.c
6828                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6829                         EAP fragment size than the default to help some TLS connections
6830
6831 2007-11-12  Dan Williams  <dcbw@redhat.com>
6832
6833         Make certs actually work.  The private key is now a secret, and should be
6834         decrypted when requested by NM.  The private key and phase2 private key
6835         passwords are no longer interesting to NM because they should be used by
6836         the settings service to decrypt the private key itself before passing it
6837         to NM, and hence have been removed as fields.
6838
6839         * libnm-util/nm-setting-wireless-security.h
6840           libnm-util/nm-setting-wireless-security.c
6841                 - Remove private-key-passwd and phase2-private-key-passwd from
6842                         properties
6843                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6844                    need_secrets): use property #defines instead strings to keep things
6845                         consistent
6846                 - (need_secrets_tls): if a client certificate is present but no
6847                         private key, request the private key
6848                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6849                         remove private key password stuff, mark private keys as secret
6850
6851         * src/supplicant-manager/nm-supplicant-settings-verify.c
6852                 - Remove private_key_passwd and private_key2_passwd from opt_table
6853
6854 2007-11-09  Dan Williams  <dcbw@redhat.com>
6855
6856         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6857         Since the vpn-properties are managed and known by the VPN daemons themselves,
6858         libnm-util doesn't know what's secret and what's in the setting's 'data'
6859         member.
6860
6861         * libnm-util/nm-setting.h
6862           libnm-util/nm-setting.c
6863                 - Add the ability for subclasses to override update_one_secret
6864
6865         * libnm-util/nm-setting-vpn-properties.c
6866                 - Override update_one_secret and just copy the values into the
6867                         internal table
6868
6869 2007-11-09  Dan Williams  <dcbw@redhat.com>
6870
6871         * libnm-glib/nm-settings.h
6872           libnm-glib/nm-settings.c
6873                 - (nm_settings_new_error): remove
6874                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6875                         clients should use g_set_error() with NM_SETTINGS_ERROR
6876
6877 2007-11-09  Dan Williams  <dcbw@redhat.com>
6878
6879         * src/supplicant-manager/nm-supplicant-config.c
6880                 - (nm_supplicant_config_add_setting_wireless_security): private key
6881                         passwords are never sent to wpa_supplicant, because the supplicant
6882                         should never be reading random files from the disk.  Clients like
6883                         the applet are required to decrypt the private keys and send NM
6884                         the decrypted blobs.
6885
6886 2007-11-08  Dan Williams  <dcbw@redhat.com>
6887
6888         * libnm-util/nm-setting-wireless-security.h
6889           libnm-util/nm-setting-wireless-security.c
6890                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6891                         members to 802-11-wireless-security structure.  This should be used
6892                         to indicate that the values in private-key and phase2-private-key
6893                         are already decrypted by the user agent, and that no
6894                         private-key-passwd or phase2-private-key-passwd should be expected.
6895                         It is not meant to be a stored configuration value, but meant to
6896                         be set when the conneciton is sent to NM over dbus.
6897
6898 2007-11-08  Dan Williams  <dcbw@redhat.com>
6899
6900         * libnm-util/nm-connection.h
6901           libnm-util/nm-connection.c
6902                 - (nm_connection_need_secrets): add argument to return hints
6903
6904         * src/nm-device-802-11-wireless.c
6905                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6906                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6907                         nm_connection_need_secrets() change
6908
6909 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6910
6911         Rework NMSetting structures: Move each setting to it's own file.
6912         Convert to GObject. Remove home grown setting types and use GTypes.
6913         Use GObject property introspection for hash conversion, enumerating
6914         properties, etc.
6915
6916         * libnm-util/nm-setting-connection.[ch]
6917         * libnm-util/nm-setting-ip4-config.[ch]
6918         * libnm-util/nm-setting-ppp.[ch]
6919         * libnm-util/nm-setting-vpn.[ch]
6920         * libnm-util/nm-setting-vpn-properties.[ch]
6921         * libnm-util/nm-setting-wired.[ch]
6922         * libnm-util/nm-setting-wireless.[ch]
6923         * libnm-util/nm-setting-wireless-security.[ch]
6924
6925         New files, each containing a setting.
6926
6927         * libnm-util/nm-setting-template.[ch]: A template for creating new
6928         settings. To use it, just replace 'template' with the new setting
6929         name, and you're half-way done.
6930
6931         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6932         introspection instead of internal types and tables.
6933
6934         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6935
6936         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6937         GValue types defined by dbus-glib for composed types like collections,
6938         structures and maps.
6939
6940         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6941         a setting from connection takes the setting type now. Also, since
6942         the settings are in multiple files, include relevant settings.
6943
6944 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6945
6946         * configure.in:
6947         * src/backends/NetworkManagerGentoo.c:
6948         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6949         providers in Gentoo.
6950
6951 2007-10-31  Dan Williams  <dcbw@redhat.com>
6952
6953         * libnm-util/nm-connection.c
6954                 - (gvalue_to_string): handle UINT32 arrays
6955
6956 2007-10-31  Dan Williams  <dcbw@redhat.com>
6957
6958         * libnm-glib/nm-device.h
6959           libnm-glib/nm-device.c
6960                 - (nm_device_get_description): remove
6961                 - (nm_device_get_product, nm_device_get_vendor): add
6962                 - (nm_device_update_description): new function (private); walk HAL
6963                         devices to get product and vendor IDs for a specific device
6964
6965 2007-10-31  Dan Williams  <dcbw@redhat.com>
6966
6967         * src/nm-device-802-11-wireless.c
6968                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6969
6970 2007-10-29  Dan Williams  <dcbw@redhat.com>
6971
6972         * src/nm-hal-manager.c
6973                 - (device_added, device_new_capability): ignore device additions while
6974                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6975                         kernel module is unloaded and reloaded and recognized by NM again.
6976
6977 2007-10-26  Dan Williams  <dcbw@redhat.com>
6978
6979         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6980
6981         * src/NetworkManagerAP.c
6982           src/NetworkManagerAP.h
6983           libnm-glib/nm-access-point.c
6984           libnm-glib/nm-access-point.h
6985                 - Make 'rate' property a guint32 to better match with WEXT and
6986                         wpa_supplicant and to allow representation of higher bitrates
6987
6988         * src/nm-device-802-11-wireless.c
6989           introspection/nm-device-802-11-wireless.xml
6990           libnm-glib/nm-device-802-11-wireless.c
6991           libnm-glib/nm-device-802-11-wireless.h
6992                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6993
6994         * src/nm-device-802-3-ethernet.c
6995           src/nm-device-802-3-ethernet.h
6996           introspection/nm-device-802-3-ethernet.xml
6997           libnm-glib/nm-device-802-3-ethernet.c
6998           libnm-glib/nm-device-802-3-ethernet.h
6999                 - Make 'speed' property a guint32 to match other speed/rate types
7000                 - Make nm_device_802_3_ethernet_get_speed() static
7001
7002         * test/nm-tool.c
7003                 - Update for the changes above
7004
7005 2007-10-26  Dan Williams  <dcbw@redhat.com>
7006
7007         * src/named-manager/nm-named-manager.c
7008                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7009                     not calling fclose() twice on some error conditions
7010
7011 2007-10-26  Dan Williams  <dcbw@redhat.com>
7012
7013         * src/nm-activation-request.c
7014                 - (dispose): clean up indentation; get the right DBusGProxy object to
7015                         cancel the GetSecrets pending call on.  Need to use the Secrets
7016                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7017                         pending call doesn't get canceled, and pressing Cancel in the
7018                         applet's password dialog could cause get_secrets_cb() to be called
7019                         after the activation request has already been destroyed
7020
7021 2007-10-24  Dan Williams  <dcbw@redhat.com>
7022
7023         * src/supplicant-manager/nm-supplicant-config.c
7024                 - (nm_supplicant_config_add_blob): pass blob data and length for
7025                         verification
7026                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7027
7028 2007-10-24  Dan Williams  <dcbw@redhat.com>
7029
7030         * src/supplicant-manager/nm-supplicant-settings-verify.c
7031                 - (opt_table): max length for certificates should be 65536
7032
7033 2007-10-24  Dan Williams  <dcbw@redhat.com>
7034
7035         * src/supplicant-manager/nm-supplicant-interface.c
7036                 - (blob_free): correctly free blob data after use
7037                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7038
7039 2007-10-24  Dan Williams  <dcbw@redhat.com>
7040
7041         * libnm-util/nm-setting.c
7042                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7043                         EAP method need secrets
7044
7045 2007-10-24  Dan Williams  <dcbw@redhat.com>
7046
7047         * src/backends/NetworkManagerRedHat.c
7048                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7049
7050 2007-10-23  Dan Williams  <dcbw@redhat.com>
7051
7052         * libnm-util/nm-setting.c
7053           libnm-util/nm-setting.c
7054                 - (nm_setting_compare): implement
7055                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7056                    compare_one_hash_gvalue): compare the contents of a setting
7057
7058         * libnm-util/nm-connection.c
7059                 - (nm_connection_compare): implement
7060
7061 2007-10-23  Dan Williams  <dcbw@redhat.com>
7062
7063         * src/nm-activation-request.c
7064                 - (get_secrets_cb): handle getting a setting back that is more than
7065                         just secrets (ie, user changed auth or EAP method or something)
7066
7067 2007-10-23  Dan Williams  <dcbw@redhat.com>
7068
7069         * libnm-util/nm-setting.c
7070           libnm-util/nm-setting.h
7071                 - (nm_setting_verify): new function; verify one setting
7072                 - (nm_settings_verify_all): rename from nm_settings_verify()
7073                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7074                         all_settings
7075
7076         * libnm-util/nm-connection.c
7077                 - (nm_connection_replace_settings, nm_connection_verify,
7078                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7079
7080 2007-10-23  Dan Williams  <dcbw@redhat.com>
7081
7082         * src/nm-device-802-11-wireless.c
7083                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7084                         desired behavior
7085
7086 2007-10-23  Dan Williams  <dcbw@redhat.com>
7087
7088         * src/supplicant-manager/nm-supplicant-settings-verify.c
7089                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7090                         nm-settings.c
7091
7092 2007-10-23  Dan Williams  <dcbw@redhat.com>
7093
7094         * src/nm-device-802-11-wireless.c
7095                 - (real_act_stage2_config): after the first association failure,
7096                         if the connection still needs secrets ask the user for them
7097                         explicitly.  After the fourth association failure due to bad
7098                         secrets, fail the connection entirely.  Handles the GetSecrets
7099                         loop that NM gets into when the provided secrets don't match up
7100                         with the connection details.
7101
7102 2007-10-23  Dan Williams  <dcbw@redhat.com>
7103
7104         * src/supplicant-manager/nm-supplicant-config.c
7105                 - (nm_supplicant_config_add_setting_wireless_security): only add
7106                         WPA-specific options when WPA is in use
7107
7108 2007-10-23  Dan Williams  <dcbw@redhat.com>
7109
7110         * src/supplicant-manager/nm-supplicant-config.c
7111                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7112                         secret doesn't need to be unhexified
7113
7114 2007-10-23  Dan Williams  <dcbw@redhat.com>
7115
7116         * libnm-util/nm-setting.c
7117                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7118                         before trying to do something with it
7119
7120 2007-10-23  Dan Williams  <dcbw@redhat.com>
7121
7122         * src/nm-device-802-11-wireless.c
7123                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7124
7125 2007-10-23  Dan Williams  <dcbw@redhat.com>
7126
7127         * src/nm-device-802-11-wireless.c
7128                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7129                         non-SSID-broadcasting APs
7130
7131 2007-10-23  Dan Williams  <dcbw@redhat.com>
7132
7133         * src/NetworkManagerAP.c
7134                 - (match_cipher, security_compatible): remove
7135                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7136                         libnm-util instead
7137
7138 2007-10-23  Dan Williams  <dcbw@redhat.com>
7139
7140         * libnm-util/nm-utils.c
7141           libnm-util/nm-utils.h
7142                 - (nm_utils_ap_security_compatible): common function for checking
7143                         whether a specific AP is compatible with an NMConnection
7144
7145 2007-10-23  Dan Williams  <dcbw@redhat.com>
7146
7147         * libnm-util/nm-setting.c
7148                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7149                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7150                    need_secrets_password, setting_wireless_security_verify): fix
7151                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7152                         secrets logic for each supported EAP method
7153
7154 2007-10-23  Dan Williams  <dcbw@redhat.com>
7155
7156         * src/supplicant-manager/nm-supplicant-config.c
7157                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7158                         config option name, should be "private_key2_passwd"
7159
7160 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7161
7162         Implement support for static IP addresses, additional/overridden DNS and
7163         DNS domain search lists.
7164
7165         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7166         (ip4_addresses_to_gvalue): Implement.
7167         (convert_array_to_byte_array): Implement.
7168         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7169         NM_S_TYPE_IP4_ADDRESSES.
7170         (nm_setting_hash): Ditto.
7171         (default_setting_clear_secrets): Add a default case for the switch: IP address
7172         shouldn't be secret, ever.
7173         (setting_ip4_config_verify): Update, requires addresses in case of manual
7174         configurations.
7175         (setting_ip4_config_destroy): Free stuff.
7176
7177         * src/nm-device.c (merge_ip4_config): Implement.
7178         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7179
7180 2007-10-22  Dan Williams  <dcbw@redhat.com>
7181
7182         * libnm-util/nm-setting.c
7183                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7184                         pairwise cipher options for Dynamic WEP
7185
7186 2007-10-21  Dan Williams  <dcbw@redhat.com>
7187
7188         * src/NetworkManagerAP.c
7189           src/NetworkManagerAP.h
7190                 - Rename 'articifical' -> 'fake' since that's what they are until
7191                         noticed in scans
7192                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7193                         from the attributes in an NMConnection object
7194                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7195                         WPA Enterprise
7196                 - (nm_ap_match_in_list): find a matching AP in a scan list
7197
7198         * src/nm-device-802-11-wireless.c
7199                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7200                         AP when searching the scan list; match on frequency and mode too
7201                 - (nm_device_802_11_wireless_get_frequency): implement
7202                 - (merge_scanned_ap): replace duplicate matching logic with
7203                         nm_ap_match_in_list()
7204                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7205                         the user is trying to connect to a hidden network that is not yet
7206                         known from the scan list
7207                 - (activation_success_handler): now that the card knows the AP's BSSID,
7208                         there may already be a scanned AP in the scan list that is what
7209                         we really wanted to connect to, but didn't know at the time.  Use
7210                         that instead of the 'fake' AP created at activation start and get
7211                         rid of the 'fake' AP 
7212                 - (cull_scan_list): don't remove fake APs
7213
7214 2007-10-21  Dan Williams  <dcbw@redhat.com>
7215
7216         * src/nm-activation-request.h
7217           src/nm-activation-request.c
7218                 - (nm_act_request_set_specific_object): new function; allow setting the
7219                         specific object if one isn't set yet
7220
7221 2007-10-20  Dan Williams  <dcbw@redhat.com>
7222
7223         * src/supplicant-manager/nm-supplicant-config.h
7224           src/supplicant-manager/nm-supplicant-config.c
7225                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7226                         table to store blobs
7227                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7228                         blob hash table
7229                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7230                 - (nm_supplicant_config_add_setting_wireless_security): handle
7231                         options that use certificates (ie, blobs)
7232
7233         * src/nm-device-802-11-wireless.c
7234                 - (build_supplicant_config): pass a UID (just use the connection path)
7235                         to the supplicant config as now required
7236
7237         * src/supplicant-manager/nm-supplicant-interface.c
7238                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7239                         there are any blobs to send to wpa_supplicant, send those first
7240                         before sending the network configuration
7241
7242 2007-10-19  Dan Williams  <dcbw@redhat.com>
7243
7244         Split the GetSecrets() call off to a separate D-Bus interface so that it
7245         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7246         should be able to call GetSecrets().
7247
7248         * include/NetworkManager.h
7249                 - Define the connection secrets D-Bus interface
7250
7251         * src/vpn-manager/nm-vpn-connection.c
7252                 - (clear_need_auth): get the right proxy object for the connection
7253                         secrets interface
7254                 - (get_connection_secrets): use the connection secrets proxy; send
7255                         empty hints in get secrets request
7256
7257         * src/nm-activation-request.c
7258                 - (nm_act_request_request_connection_secrets): use the connection
7259                         secrets proxy; send empty hints in get secrets request
7260
7261         * src/nm-manager.c
7262           src/nm-manager.h
7263                 - (connection_get_settings_cb): set the connection secrets proxy on
7264                         the connection object too
7265                 - (internal_new_connection_cb): create the connection secrets proxy
7266
7267         * introspection/nm-settings-connection.xml
7268                 - Define Connection.Secrets interface and move GetSecrets there
7269                 - Add a 'hints' argument to GetSecrets
7270
7271         * libnm-glib/nm-settings.c
7272           libnm-glib/nm-settings.h
7273                 - (impl_connection_settings_get_secrets): add 'hints' argument
7274
7275 2007-10-19  Dan Williams  <dcbw@redhat.com>
7276
7277         * src/nm-device.c
7278                 - (constructor): add message about what path a device is exported as
7279                         to help in debugging rh #339011
7280
7281 2007-10-17  Dan Williams  <dcbw@redhat.com>
7282
7283         * libnm-util/nm-utils.h
7284           libnm-util/nm-utils.c
7285                 - (nm_utils_security_valid): common function to help find the intersection
7286                         of capabilities of devices and (optionally) access points
7287
7288 2007-10-17  Dan Williams  <dcbw@redhat.com>
7289
7290         * src/nm-device-802-11-wireless.c
7291                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7292                         don't get erroneously cleared
7293
7294 2007-10-17  Dan Williams  <dcbw@redhat.com>
7295
7296         * src/nm-manager.h
7297           src/nm-manager.c
7298           src/nm-hal-manager.c
7299                 - (device_removed, finalize, nm_manager_remove_device,
7300                    nm_manager_sleep): add a 'deactivate' argument to 
7301                    nm_manager_remove_device() to fully deactivate devices when necessary
7302                    (ie, always except when waking up)
7303
7304 2007-10-16  Dan Williams  <dcbw@redhat.com>
7305
7306         * libnm-util/nm-setting.c
7307                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7308                         also isn't valid phase2 autheap method
7309
7310 2007-10-16  Dan Williams  <dcbw@redhat.com>
7311
7312         * libnm-glib/nm-client.c
7313                 - (update_wireless_status): consolidate updates of wireless status
7314                 - (constructor): use update_wireless_status()
7315                 - (manager_running): set wireless status off when NM goes away; requery
7316                         the wireless status when NM comes back
7317
7318 2007-10-16  Dan Williams  <dcbw@redhat.com>
7319
7320         * libnm-glib/nm-client.c
7321                 - (nm_client_activate_device): actually use the fixed-up specific
7322                         object path
7323
7324 2007-10-16  Dan Williams  <dcbw@redhat.com>
7325
7326         * src/nm-hal-manager.c
7327                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7328                         killswitch error messages once
7329
7330 2007-10-16  Dan Williams  <dcbw@redhat.com>
7331
7332         * src/nm-manager.c
7333                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7334                         if it's disabled in hardware; don't touch network devices while
7335                         NM is asleep
7336
7337 2007-10-16  Dan Williams  <dcbw@redhat.com>
7338
7339         * libnm-util/nm-client.c
7340                 - (nm_client_activate_device): convert NULL specific_object to "/",
7341                         which is used in place of NULL
7342
7343         * src/nm-manager.c
7344                 - (impl_manager_activate_device): convert "/" specific_object back into
7345                         NULL
7346
7347 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7348
7349         Implement a generic NMSetting creator from setting name.
7350         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7351         add a virtual function 'populate_fn'.
7352
7353         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7354         (register_default_creators): Register setting creators instead of functions
7355         that create and then populate.
7356         (parse_one_setting): Use the common setting creator and then setting specific
7357         poplulation function.
7358
7359         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7360         they all looked exactly the same.
7361         Add a 'populate_fn' virtual function to NMSetting.
7362         Use default virtual functions in case they are not overriden.
7363         (nm_setting_populate_from_hash): Implement.
7364
7365         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7366         name, use a defined string.
7367         (real_act_stage4_get_ip4_config): Ditto.
7368
7369 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7370
7371         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7372         HAL is int, not uint.
7373
7374 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7375
7376         Implement killswitch polling through HAL.
7377
7378         * src/nm-manager.c: Add wireless hardware status property. Add 
7379         'properties-changed' signal for changes in wireless and wireless hardware
7380         state changes.
7381
7382         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7383         and update NMManager's wireless hardware state when it has changed.
7384         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7385         already does that.
7386
7387         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7388         values of wireless state and wireless hardware state. Listen for the
7389         'properties-changed' signals, update the cached values and emit notify.
7390
7391         * include/NetworkManager.h: Fix a typo in a comment.
7392
7393 2007-10-14  Dan Williams  <dcbw@redhat.com>
7394
7395         * libnm-util/nm-setting.c
7396                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7397
7398 2007-10-13  Dan Williams  <dcbw@redhat.com>
7399
7400         * libnm-util/nm-setting.h
7401           libnm-util/nm-setting.c
7402           src/supplicant-manager/nm-supplicant-config.c
7403                 - Make the 'proto' field of the 802-11-wireless-security field a
7404                         string list
7405
7406 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7407
7408         Rework the "properties-changed" signal listening implementation.
7409         Add a generic implementation to NMObject class that listens for
7410         the signal and calls property setters of the target NMObject.
7411
7412         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7413
7414         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7415         code to the end of file so that all the static functions are available
7416         without extra declarations.
7417         Remove the "properties-changed" signal handling and use the framework from
7418         NMObject.
7419         Implement property setters for properties that change with 
7420         "properties-changed" signal.
7421
7422         * libnm-glib/nm-access-point.c: Ditto.
7423
7424 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7425
7426         Rework the "properties-changed" signal implementation.
7427         In classes that need to use it, just emit "GObject::notify" and the new
7428         framework takes care of the rest to make the signal available on dbus.
7429         The framework queues the notifications and tries to send as many together
7430         in one signal as possible.
7431
7432         * src/nm-properties-changed-signal.c:
7433         * src/nm-properties-changed-signal.h: Implement.
7434
7435         * src/Makefile.am: Add new files to build.
7436
7437         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7438         signal.
7439
7440         * src/nm-device-802-11-wireless.c: Ditto.
7441
7442 2007-10-10  Dan Williams  <dcbw@redhat.com>
7443
7444         * src/nm-manager.c
7445                 - (wait_for_connection_expired): ensure info is valid
7446                 - (connection_added_default_handler): Should only remove pending
7447                         connection info when the manager has the connection that it's
7448                         waiting for.  Fixes segfault in wait_for_connection_info().  
7449
7450 2007-10-10  Dan Williams  <dcbw@redhat.com>
7451
7452         * libnm-util/nm-setting.c
7453           libnm-util/nm-setting.h
7454                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7455                         can use if they choose.  Should be filled in by the settings service
7456                         on-the-fly with the currently logged in user's username
7457
7458 2007-10-10  Dan Williams  <dcbw@redhat.com>
7459
7460         * src/nm-device-802-11-wireless.c
7461                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7462                         as such, because even if the manager fills in the SSID, NM still
7463                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7464                         its SSID
7465
7466 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7467
7468         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7469         code that used NM's own version of dbus signal handling and custom dictionary
7470         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7471         and we get to maintain over 2000 lines less code.
7472
7473         * libnm-util/dbus-dict-helpers.c:
7474         * libnm-util/dbus-dict-helpers.h: Remove.
7475
7476         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7477
7478         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7479
7480         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7481         handlers.
7482
7483         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7484
7485         * configure.in: Remove test/libnm-util/Makefile creation.
7486
7487         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7488
7489         * test/libnm-util/: Remove the whole directory.
7490
7491 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7492
7493         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7494         device_state_changed_idle_id variable or it would contain some random value and the
7495         schedule_change_check calls would not do anything.
7496
7497 2007-10-09  Dan Williams  <dcbw@redhat.com>
7498
7499         * src/nm-device-802-11-wireless.c
7500                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7501                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7502                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7503                         merging of non-SSID-broadcasting APs
7504
7505 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7506
7507         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7508         "guint8 *" since it's usually used with GByteArray->data.
7509         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7510
7511 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7512
7513         * src/NetworkManagerUtils.c
7514         (nm_utils_is_empty_ssid):
7515         (nm_utils_escape_ssid):
7516         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7517         lot of places, so they belong to libnm-utils instead.
7518
7519         Now with 100% less compiler warnings:
7520
7521         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7522         (nm_dbus_unescape_object_path): Ditto.
7523         (nm_utils_ssid_to_utf8): Ditto.
7524         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7525         (nm_utils_escape_ssid): Ditto.
7526         (nm_utils_same_ssid): Ditto.
7527
7528         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7529         (add_one_connection_element): Remove an unused variable.
7530         (impl_manager_get_active_connections): Ditto.
7531
7532         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7533         variable.
7534
7535         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7536         from the previous commit.
7537
7538         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7539         (real_act_stage1_prepare): Ditto.
7540         (activation_success_handler): Ditto.
7541         (get_property): Ditto.
7542
7543         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7544         variable.
7545
7546         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7547         it's always set.
7548
7549         * src/supplicant-manager/nm-supplicant-config.c 
7550         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7551         to expected "char *".
7552         (nm_supplicant_config_add_setting_wireless): Ditto.
7553         (nm_supplicant_config_remove_option): Remove, not used.
7554
7555         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7556         not double.
7557         (test_wireless_enabled): Ifdef out unused function.
7558         (device_deactivate): Ditto.
7559         (device_state_changed): Ditto.
7560         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7561         (nm_utils_escape_ssid): Ditto.
7562
7563         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7564         (nm_utils_is_empty_ssid): Ditto.
7565
7566         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7567         unused variable.
7568
7569         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7570         (setting_vpn_properties_update_secrets): Ditto.
7571         (int_to_gvalue): Ifdef out for now, not used.
7572         (byte_to_gvalue): Ditto.
7573
7574         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7575         Unused, remove.
7576
7577 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7578
7579         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7580         about dbus manager, not named manager.
7581         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7582
7583         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7584         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7585         However, the same signal is emitted when we destroy it and there's 
7586         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7587
7588         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7589         releasing the DBusGConnection, since proxy needs a conneciton.
7590         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7591
7592 2007-10-08  Dan Williams  <dcbw@redhat.com>
7593
7594         * src/NetworkManager.c
7595                 - (main): error on unknown command-line options
7596
7597 2007-10-08  Dan Williams  <dcbw@redhat.com>
7598
7599         Reimplement the invalid connection list.  Don't try to re-activate a
7600         connection that just failed or was canceled.
7601
7602         * src/nm-device.c
7603                 - (connection_secrets_failed_cb): fail device activation, don't just
7604                         deactivate the device.  Listeners have to know about the failure.
7605
7606         * src/NetworkManagerPolicy.c
7607                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7608                         the connection list given to a device's get_best_connection()
7609                         method
7610                 - (device_state_changed): tag failed connections as invalid; clear the
7611                         tag from successful connections
7612
7613 2007-10-08  Dan Williams  <dcbw@redhat.com>
7614
7615         Fix problems with interrupted activation.  Previously, choosing an AP
7616         from the menu, then choosing another one before the first connection was
7617         successful wouldn't deactivate the device before starting the new connection
7618         on that same device.
7619
7620         * src/NetworkManagerPolicy.c
7621                 - (deactivate_old_device, device_state_changed, state_changed,
7622                    nm_policy_new): wrong place to deactivate old devices
7623
7624         * src/nm-manager.c
7625                 - (pending_connection_info_destroy, finalize,
7626                    wait_for_connection_expired): decouple destruction of the pending
7627                         connection info from the manager device
7628                 - (connection_added_default_handler): deactivate any active or
7629                         activating device before starting a new activation
7630                 - (impl_manager_activate_device): deactivate any active or activating
7631                         device before starting a new activation; be sure not to leak
7632                         pending connection info if a new activation request arrives but
7633                         there's already a pending one in-process
7634
7635 2007-10-08  Dan Williams  <dcbw@redhat.com>
7636
7637         * src/NetworkManagerAP.h
7638           src/NetworkManagerAP.c
7639                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7640                         should handle default SSIDs and whether or not to autoconnect
7641                         to them
7642
7643 2007-10-08  Dan Williams  <dcbw@redhat.com>
7644
7645         * src/NetworkManagerPolicy.c
7646                 - (nm_policy_device_change_check): print out connection name where
7647                         possible
7648
7649 2007-10-08  Dan Williams  <dcbw@redhat.com>
7650
7651         * src/nm-device-802-11-wireless.c
7652           src/nm-device-802-11-wireless.h
7653                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7654                         'hidden-ap-found' signal (for internal use only) that allows the
7655                         NMManager to fill in the AP's SSID if a connection has that AP's
7656                         BSSID in its seen-bssids list
7657
7658         * src/nm-manager.c
7659                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7660                         wireless device's hidden-ap-found signal and fill in the APs SSID
7661                         if possible
7662
7663 2007-10-07  Dan Williams  <dcbw@redhat.com>
7664
7665         * src/nm-manager.c
7666           src/nm-manager.h
7667                 - Add a 'connections-added' signal to batch together updates of large
7668                         numbers of connections, like when reading from a settings service
7669                         the first time.  Otherwise, the policy would just activate the first
7670                         suitable connection it saw rather than waiting for the full list
7671                         to arrive.
7672                 - (nm_manager_class_init): register new signal
7673                 - (get_type_for_proxy, connection_get_settings_cb,
7674                    get_connection_for_proxy): centralize places where a proxy's setting
7675                         service is determined
7676                 - (free_get_settings_info): if the call being freed is the last call
7677                         in a pending call group, fire off the connections-added signal
7678                 - (internal_new_connection_cb): add call to a pending call group if
7679                         requested
7680                 - (list_connections_cb): always create a call group here, because this
7681                         call results in a batch of new connections
7682                 - (initial_get_connections): start getting system connections first
7683                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7684                         removed signal when destroying connections
7685
7686         * src/NetworkManagerPolicy.c
7687                 - (nm_policy_new, connections_added): handle connections-added signal
7688                         from the manager
7689
7690 2007-10-06  Dan Williams  <dcbw@redhat.com>
7691
7692         * src/nm-device-802-11-wireless.c
7693                 - (constructor): fix leaked socket
7694
7695 2007-10-06  Dan Williams  <dcbw@redhat.com>
7696
7697         * src/NetworkManagerPolicy.c
7698                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7699                         connection in the list returned by nm_manager_get_connections() is
7700                         reffed, but they weren't getting unreffed before returning
7701
7702 2007-10-06  Dan Williams  <dcbw@redhat.com>
7703
7704         * src/nm-manager.c
7705                 - (connections_to_slist): sort connections first on autoconnect, then
7706                         on timestamp
7707
7708 2007-10-06  Dan Williams  <dcbw@redhat.com>
7709
7710         * libnm-util/nm-connection.c
7711                 - (gvalue_to_string): handle UINT64
7712
7713 2007-10-06  Dan Williams  <dcbw@redhat.com>
7714
7715         * src/NetworkManagerPolicy.c
7716                 - (connection_updated, nm_policy_new): recheck state when a connection
7717                         gets updated
7718
7719 2007-10-06  Dan Williams  <dcbw@redhat.com>
7720
7721         * src/nm-manager.c
7722           src/nm-manager.h
7723                 - (nm_manager_get_connection_dbus_path): make static
7724                 - (nm_manager_update_connections): remove; unused
7725                 - Add a connection-updated signal
7726                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7727                         handle connection object updates
7728
7729 2007-10-06  Dan Williams  <dcbw@redhat.com>
7730
7731         * src/NetworkManagerPolicy.c
7732                 - (connection_removed): deactivate removed connections
7733
7734 2007-10-06  Dan Williams  <dcbw@redhat.com>
7735
7736         * libnm-util/nm-connection.c
7737           libnm-util/nm-connection.h
7738                 - (nm_connection_replace_settings): new function
7739
7740 2007-10-06  Dan Williams  <dcbw@redhat.com>
7741
7742         * libnm-glib/nm-device-802-11-wireless.c
7743                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7744                         on error when getting the active access point over D-Bus from NM
7745
7746 2007-10-05  Dan Williams  <dcbw@redhat.com>
7747
7748         * libnm-util/nm-setting.c
7749                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7750                         to the NMSettingWireless table; it's now a string array not an array
7751                         of byte arrays
7752
7753 2007-10-05  Dan Williams  <dcbw@redhat.com>
7754
7755         * libnm-glib/nm-device-802-11-wireless.c
7756                 - Cache properties and update cached properties on D-Bus signals from NM
7757
7758 2007-10-05  Dan Williams  <dcbw@redhat.com>
7759
7760         * src/nm-device-802-11-wireless.c
7761                 - (set_current_ap): consolidate current_ap handling code into one place
7762                         to ensure that PropertiesChanged signals are emitted in all cases
7763                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7764                    nm_device_802_11_wireless_dispose): use set_current_ap()
7765
7766 2007-10-05  Dan Williams  <dcbw@redhat.com>
7767
7768         * libnm-glib/nm-access-point.c
7769           libnm-glib/nm-access-point.h
7770                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7771                         because the value is cached internally now.  Callers should not
7772                         free the internal value.
7773                 - Make signal name defines private
7774
7775         * test/nm-tool.c
7776           libnm-glib/libnm-glib-test.c
7777                 - Don't free value returned from nm_access_point_get_hw_address()
7778
7779 2007-10-04  Dan Williams  <dcbw@redhat.com>
7780
7781         * introspection/nm-device-802-11-wireless.xml
7782           src/nm-device-802-11-wireless.h
7783           src/nm-device-802-11-wireless.c
7784                 - Add a PropertiesChanged signal for wireless device
7785                 - Store currently associated access point
7786                 - (periodic_update): generalize; update rate here too and emit the
7787                         correct PropertiesChanged signal when stuff changes
7788                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7789                    real_activation_cancel_handler): clear current_ap when device is
7790                         deactivated
7791                 - (link_to_specific_ap, get_ap_blacklisted,
7792                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7793                         code
7794                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7795                         outside this file
7796                 - (real_set_hw_address): emit property changed signal if the card's
7797                         MAC address changes
7798                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7799                         the card is supposed to be connecting to
7800                 - (activation_success_handler): send out property updates on successful
7801                         activation
7802                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7803                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7804                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7805                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7806                         is now boxed; add PropertiesChanged signal
7807
7808 2007-10-04  Dan Williams  <dcbw@redhat.com>
7809
7810         * libnm-util/nm-connection.c
7811           libnm-util/nm-connection.h
7812                 - (nm_connection_verify): new function
7813
7814 2007-10-04  Dan Williams  <dcbw@redhat.com>
7815
7816         * libnm-util/nm-setting.c
7817                 - (nm_settings_verify): use #defines when possible rather than strings
7818                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7819                 - (setting_vpn_verify): tighter validity check on 'service_type'
7820
7821 2007-10-04  Dan Williams  <dcbw@redhat.com>
7822
7823         * libnm-glib/nm-settings.c
7824                 - (nm_connection_settings_class_init): provide correct type for argument
7825                         to the Updated signal so that dbus-glib knows how to marshal it
7826
7827 2007-10-03  Dan Williams  <dcbw@redhat.com>
7828
7829         * src/nm-device-802-3-ethernet.c
7830                 - (real_get_best_connection): don't create automatic connections
7831                         internally; clients should provide a setting that applies to
7832                         the device with 'autoconnect: True'.  Problem was that these
7833                         internally auto-created connections don't have a proxy or service
7834                         name becuase they weren't created by a settings daemon, and therefore
7835                         clients have no idea what to do with them.
7836
7837 2007-10-03  Dan Williams  <dcbw@redhat.com>
7838
7839         * src/nm-device-802-11-wireless.c
7840           src/nm-device-802-11-wireless.h
7841           introspection/nm-device-802-11-wireless.xml
7842                 - GetActiveNetworks -> GetAccessPoints
7843                 - ActiveNetwork -> ActiveAccessPoint
7844                 - NetworkAdded -> AccessPointAdded
7845                 - NetowrkRemoved -> AccessPointRemoved
7846
7847         * libnm-glib/nm-device-802-11-wireless.c
7848           libnm-glib/nm-device-802-11-wireless.h
7849                 - network-added signal -> access-point-added
7850                 - network-removed signal -> access-point-removed
7851                 - nm_device_802_11_wireless_get_active_network() ->
7852                         nm_device_802_11_wireless_get_active_access_point()
7853                 - nm_device_802_11_wireless_get_network_by_path() ->
7854                         nm_device_802_11_wireless_get_access_point_by_path()
7855                 - nm_device_802_11_wireless_get_networks() ->
7856                         nm_device_802_11_wireless_get_access_points()
7857
7858         * libnm-glib/libnm-glib-test.c
7859           test/nm-tool.c
7860           src/NetworkManagerPolicy.c
7861                 - Fixups for Network -> AccessPoint
7862
7863 2007-10-03  Dan Williams  <dcbw@redhat.com>
7864
7865         Add a GetActiveConnections() method on the Manager object.
7866
7867         * src/nm-manager.c
7868           src/nm-manager.h
7869           introspection/nm-manager.xml
7870                 - (connection_get_settings_cb): keep connection type around too
7871                 - (impl_manager_get_active_connections, add_one_connection_element):
7872                         implement; returns all active connections and what devices they
7873                         apply to
7874
7875         * libnm-glib/nm-client.c
7876           libnm-glib/nm-client.h
7877           introspection/nm-manager-client.xml
7878                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7879                         by the caller; free here to avoid memory leak
7880                 - (nm_client_get_active_connections): implement; return the list of
7881                         active connections
7882                 - (nm_client_free_active_connection_element): implement; free an element
7883                         of the GSList returned by nm_client_get_active_connections()
7884
7885 2007-10-03  Dan Williams  <dcbw@redhat.com>
7886
7887         * src/nm-device-802-11-wireless.c
7888                 - (nm_device_802_11_wireless_update_bssid): remove
7889                 - (get_active_ap): new function; find the AP in the scan list which
7890                         matches the current BSSID and SSID of the wireless device
7891                 - (nm_device_802_11_periodic_update): get current AP using
7892                         get_active_ap() and print AP roam messages
7893
7894 2007-10-01  Dan Williams  <dcbw@redhat.com>
7895
7896         * libnm-util/nm-setting.h
7897                 - Add a 'timestamp' option to NMSettingConnection
7898                 - Add a UINT64 type
7899
7900         * libnm-util/nm-setting.c
7901                 - (uint64_to_gvalue): new function
7902                 - (nm_setting_populate_from_hash, nm_setting_hash,
7903                    default_setting_clear_secrets): handle UINT64 type
7904                 - con_table: add 'timestamp' member
7905
7906 2007-10-01  Dan Williams  <dcbw@redhat.com>
7907
7908         * src/nm-manager.c
7909                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7910                         value when the connection can be activated immediately
7911
7912 2007-10-01  Dan Williams  <dcbw@redhat.com>
7913
7914         * libnm-glib/nm-device.c
7915                 - (nm_device_class_init): actually tell glib about the carrier-changed
7916                         signal
7917
7918 2007-10-01  Dan Williams  <dcbw@redhat.com>
7919
7920         * configure.in
7921           src/marshallers/Makefile.am
7922           src/marshallers/nm-marshal.list
7923           src/marshallers/nm-marshal-main.c
7924                 - Consolidate glib marshallers into one place
7925
7926         * src/dhcp-manager/Makefile.am
7927           src/dhcp-manager/nm-dhcp-manager.c
7928           src/supplicant-manager/Makefile.am
7929           src/supplicant-manager/nm-supplicant-manager.c
7930           src/supplicant-manager/nm-supplicant-interface.c
7931           src/ppp-manager/Makefile.am
7932           src/ppp-manager/nm-ppp-manager.c
7933           src/vpn-manager/Makefile.am
7934           src/vpn-manager/nm-vpn-connection.c
7935           src/Makefile.am
7936                 - Use consolidated marshallers
7937
7938         * src/dhcp-manager/nm-dhcp-marshal.list
7939           src/dhcp-manager/nm-dhcp-marshal-main.c
7940           src/supplicant-manager/nm-supplicant-marshal-main.c
7941           src/supplicant-manager/nm-supplicant-marshal.list
7942           src/nm-marshal-main.c
7943           src/nm-marshal.list
7944           src/ppp-manager/nm-ppp-marshal-main.c
7945           src/ppp-manager/nm-ppp-marshal.list
7946           src/vpn-manager/nm-vpn-marshal-main.c
7947           src/vpn-manager/nm-vpn-marshal.list
7948                 - Remove
7949
7950 2007-10-01  Dan Williams  <dcbw@redhat.com>
7951
7952         * include/NetworkManagerVPN.h
7953                 - define VPN connection state change reason codes
7954
7955         * src/vpn-manager/Makefile.am
7956           src/vpn-manager/nm-vpn-marshal.list
7957           src/vpn-manager/nm-vpn-marshal-main.c
7958                 - Add marshallers for StateChanged signal
7959
7960         * introspection/nm-vpn-connection.xml
7961                 - New Banner property
7962                 - StateChanged signal now includes a 'reason' argument
7963
7964         * src/vpn-manager/nm-vpn-connection.c
7965           src/vpn-manager/nm-vpn-connection.h
7966                 - Add a "Banner" property that contains the returned VPN server login
7967                         banner (if any); valid only in the ACTIVATED state
7968                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7969                         a 'reason' argument and emits that reason along with the
7970                         state-changed signal
7971                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7972                 - (nm_vpn_connection_ip4_config_get): save banner for later
7973                 - (nm_vpn_connection_get_banner, get_property,
7974                    nm_vpn_connection_class_init): implement Banner property
7975
7976         * src/vpn-manager/nm-vpn-service.c
7977                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7978                         connection list because elements may get added/removed from it
7979                         while iterating over the list
7980                 - (connection_state_changed): signal now includes the 'reason' argument
7981
7982         * libnm-glib/nm-vpn-connection.c
7983           libnm-glib/nm-vpn-connection.h
7984                 - (nm_vpn_connection_get_banner): new function
7985                 - (state_changed_proxy): handle reason argument
7986
7987 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7988
7989         * src/nm-manager.c:
7990         * src/nm-manager.h:
7991         Implement device activation through NMManager.
7992         Implement "pending device activation" here - If the connection isn't found,
7993         we try to wait for up to 5 seconds for the connection to be provided.
7994         Add NMConnectionType argument to "connection-added" and "connection-removed"
7995         signals.
7996         (nm_manager_get): Remove. Finally.
7997
7998         * src/nm-activation-request.c: 
7999         * src/nm-activation-request.h: 
8000         Remove all the deferred activation code.
8001
8002         * src/nm-device.c: Remove all the deferred activation code. Once the device
8003         activation is started, it's started. Update the activation virtual function
8004         signature.
8005
8006         * src/nm-device-interface.c:
8007         * src/nm-device-interface.h:
8008         Device activation now takes only NMActRequest argument.
8009         Don't expose device activation directly on dbus, it's supposed to go through
8010         NMManager now.
8011
8012         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8013         a bit more compact.
8014         Use the new device activation methods through NMManager.
8015
8016         * introspection/nm-manager-client.xml: 
8017         * introspection/nm-manager.xml: 
8018         * libnm-glib/nm-client.c:
8019         * libnm-glib/nm-client.h:
8020         Add device activation method.
8021         
8022         * libnm-glib/nm-device.c: 
8023         * libnm-glib/nm-device.h: 
8024         * introspection/nm-device.xml: 
8025         Remove device activation method. It's done through NMManager now.
8026
8027         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8028         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8029
8030 2007-09-28  Dan Williams  <dcbw@redhat.com>
8031
8032         * libnm-glib/nm-vpn-connection.c
8033                 - (nm_vpn_connection_get_state): try to update state if the current
8034                         state is UNKNOWN
8035
8036 2007-09-27  Dan Williams  <dcbw@redhat.com>
8037
8038         Patch from Bill Nottingham
8039
8040         * src/supplicant-manager/nm-supplicant-config.c
8041                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8042                         data to the supplicant
8043
8044 2007-09-27  Dan Williams  <dcbw@redhat.com>
8045
8046         * src/NetworkManagerSystem.c
8047                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8048                         and all address manipulation here should be happening on the
8049                         _VPN_ device, not the active device
8050
8051 2007-09-26  Dan Williams  <dcbw@redhat.com>
8052
8053         * src/nm-manager.c
8054           src/nm-manager.h
8055           src/nm-activation-request.c
8056           src/nm-activation-request.h
8057                 - Move the GetSecrets stuff out of the NMManager instance because it
8058                         doesn't really need to be there and complicates things
8059
8060         * src/nm-device.c
8061                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8062                         connection-secrets-failed signal and deactivate the device if
8063                         the GetSecrets call fails
8064
8065         * src/nm-device-802-11-wireless.c
8066                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8067                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8068                         secrets and give correct hints about whether new secrets should be
8069                         asked for by the client or not
8070
8071 2007-09-26  Dan Williams  <dcbw@redhat.com>
8072
8073         * src/vpn-manager/nm-vpn-connection.c
8074                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8075                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8076                         to the secrets-updated signal of the NMConnection since updating
8077                         the secrets is done within the scope of the NMVPNConnection object
8078                         already
8079                 - (get_connection_secrets): fix an uninialized variable usage error
8080
8081 2007-09-26  Dan Williams  <dcbw@redhat.com>
8082
8083         * libnm-util/nm-setting.c
8084                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8085                         actually get updated when the user enters them
8086
8087 2007-09-26  Dan Williams  <dcbw@redhat.com>
8088
8089         * libnm-glib/nm-vpn-plugin.c
8090                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8091
8092 2007-09-26  Dan Williams  <dcbw@redhat.com>
8093
8094         * include/NetworkManagerVPN.h
8095                 - Add a NEED_AUTH state
8096
8097         * src/vpn-manager/nm-vpn-connection.c
8098                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8099                         the connection needs secrets, and if so, then ask the settings
8100                         service to fill in the secrets.  Then start the connection.
8101
8102 2007-09-26  Dan Williams  <dcbw@redhat.com>
8103
8104         * src/vpn-manager/nm-vpn-manager.c
8105                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8106
8107 2007-09-26  Dan Williams  <dcbw@redhat.com>
8108
8109         * introspection/nm-vpn-plugin.xml
8110           libnm-glib/nm-vpn-plugin.c
8111           libnm-glib/nm-vpn-plugin.h
8112                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8113                         the name of the NMSetting in an NMConnection that may require
8114                         secrets specific to that VPN plugin
8115
8116 2007-09-26  Dan Williams  <dcbw@redhat.com>
8117
8118         * src/nm-manager.c
8119           src/nm-manager.h
8120                 - (nm_manager_get_connection_secrets): make static, unused outside
8121                         the file
8122                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8123
8124 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8125
8126         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8127         method.
8128         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8129         unreference the connection.
8130
8131         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8132         passing properties hash and routes string list, pass NMConnection (in hashed form).
8133
8134         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8135         as GSList, no need to copy stuff around anymore.
8136         (nm_vpn_connection_activate): Update the plugin activation method.
8137
8138         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8139         routes argument to GSList.
8140
8141 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8142
8143         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8144         state and try to get the secrets.
8145
8146         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8147         connections from NMManager and let the device to choose the best from the list.
8148         Since the connection list is sorted by system ones first and user ones later,
8149         the devices still prefer system connections like they did before.
8150         (deactivate_old_device): Implement. When a device starts activation, we have a
8151         policy (for now at least) to deactivate any other device that might be either
8152         active or still activating.
8153
8154         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8155         It's set on construction, there will be no other way to access it.
8156
8157         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8158         device events and drive the device, not the other way around.
8159
8160         * src/nm-device-802-3-ethernet.c: Ditto.
8161
8162         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8163         sent along, pass it on to virtual functions.
8164
8165         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8166         for now, but should really be public instead of nm_device_get_iface() since iface
8167         is a property of the DeviceInterface, not Device.
8168         (impl_device_activate): Don't touch NMManager!
8169
8170 2007-09-26  Jürg Billeter  <j@bitron.ch>
8171
8172         * initscript/paldo/NetworkManager.in:
8173         * initscript/paldo/NetworkManagerDispatcher.in:
8174         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8175         (nm_system_flush_loopback_routes): update paldo backend
8176
8177 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8178
8179         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8180         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8181         which means none of the devices get brought down properly, which in turn leaves
8182         DHCP client running.
8183
8184         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8185         (supplicant_connection_timeout_cb): Ditto.
8186
8187 2007-09-25  Dan Williams  <dcbw@redhat.com>
8188
8189         * src/nm-device.c
8190                 - (device_activation_go): small hack to work around race when
8191                         activating deferred connections; should solve this in a better way
8192
8193 2007-09-25  Dan Williams  <dcbw@redhat.com>
8194
8195         * introspection/nm-device.xml
8196           libnm-glib/nm-device.c
8197           libnm-glib/nm-device.h
8198                 - Add 'Carrier' property to exported NMDevice objects
8199
8200         * src/nm-device-interface.h
8201           src/nm-device-interface.c
8202           src/nm-device.c
8203                 - Add a 'carrier' property to internal NMDevice objects
8204
8205 2007-09-25  Dan Williams  <dcbw@redhat.com>
8206
8207         * src/nm-device-802-11-wireless.c
8208                 - (ap_auth_enforced): also return the encryption status of the AP so
8209                         that callers can differentiate easily between unencrypted APs
8210                         and encrypted ones, in addition to whether the AP has an
8211                         authenticator
8212                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8213                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8214                         previously would request secrets from unencrypted APs at times
8215
8216 2007-09-25  Dan Williams  <dcbw@redhat.com>
8217
8218         * src/nm-manager.c
8219                 - (nm_manager_update_state): new function; updates state and emits
8220                         appropriate signals ensuring a state-change signal for the same state
8221                         never gets emitted twice in a row.
8222                 - (manager_device_state_changed): handle more device state to get a
8223                         better picture of the overall NM state
8224
8225 2007-09-25  Dan Williams  <dcbw@redhat.com>
8226
8227         * libnm-glib/nm-settings.c
8228           libnm-glib/nm-settings.h
8229                 - (new_error -> nm_settings_new_error): make public so that subclasses
8230                         can use the same error domain.  Also pass a valid error code to
8231                         g_error_new_literal() so that libdbus doesn't assert when converting
8232                         the GError into a DBusError
8233                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8234                    impl_connection_settings_get_settings,
8235                    impl_connection_settings_get_secrets): use new error creator
8236                         function
8237
8238 2007-09-25  Dan Williams  <dcbw@redhat.com>
8239
8240         * src/NetworkManager.c
8241                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8242
8243 2007-09-25  Dan Williams  <dcbw@redhat.com>
8244
8245         * src/supplicant-manager/nm-supplicant-manager.c
8246                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8247                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8248                    nm_supplicant_manager_startup): when the supplicant isn't running,
8249                         try to start it periodically via system bus activation.  Fixes
8250                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8251                         for the supplicant to come back
8252
8253 2007-09-25  Dan Williams  <dcbw@redhat.com>
8254
8255         Ensure that old activation requests are forgotten about; previously
8256         hitting Cancel in the password dialog would deactivate whatever device
8257         that password was requested for, even if that wasn't the currently
8258         activating connection.
8259
8260         * src/nm-manager.c
8261           src/nm-manager.h
8262                 - (nm_manager_get_connection_secrets): track the pending call
8263                         object so it can be canceled later if needed
8264                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8265                         GetSecrets call for a particular connection
8266
8267         * src/nm-activation-request.c
8268                 - (dispose): cancel any outstanding GetSecrets calls on the
8269                         connection
8270
8271 2007-09-25  Dan Williams  <dcbw@redhat.com>
8272
8273         * src/NetworkManagerPolicy.c
8274                 - (nm_policy_device_change_check): handle devices that have a
8275                         deferred activation.  These devices are not really active _yet_,
8276                         but need to be treated as such here.  Don't interrupt them
8277                         automatically.
8278
8279         * src/nm-device-interface.c
8280                 - (impl_device_activate): handle devices that have a deferred activation
8281                         like activating or active devices.  When multiple active devices
8282                         get committed, the device shouldn't be deactivated until the
8283                         connection details are available to avoid DoS and such.  Currently,
8284                         any active, activating, or deferred activation device is deactivated
8285                         here before starting the new activation request.
8286
8287 2007-09-25  Dan Williams  <dcbw@redhat.com>
8288
8289         Properly re-query secrets from the settings daemon when stuff fails.
8290
8291         * src/nm-device-802-11-wireless.c
8292                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8293                         between Shared Key and Open System auth modes
8294                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8295                    real_act_stage4_ip_config_timeout): clear existing secrets and
8296                         request new ones when something fails due to a suspected wrong key
8297                 - (real_act_stage2_config): fix for new request_new argument to
8298                         nm_manager_get_connection_secrets()
8299
8300         * src/nm-manager.c
8301           src/nm-manager.h
8302                 - (nm_manager_get_connection_secrets): return error status; pass
8303                         new request_new argument on to the settings daemon
8304
8305         * introspection/nm-settings-connection.xml
8306                 - New 'request_new' argument to the GetSecrets call that hints to the
8307                         settings daemon to ask the user for completely new secrets
8308
8309         * libnm-glib/nm-settings.c
8310           libnm-glib/nm-settings.h
8311                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8312                         argument
8313
8314 2007-09-25  Dan Williams  <dcbw@redhat.com>
8315
8316         * libnm-util/nm-connection.c
8317           libnm-util/nm-connection.h
8318                 - (nm_connection_clear_secrets): new function; clear secrets out of
8319                         each NMSetting in an NMConnection
8320
8321         * libnm-util/nm-setting.h
8322           libnm-util/nm-setting.c
8323                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8324                         secrets out of an NMSetting
8325                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8326                    nm_setting_wired_new, nm_setting_wireless_new,
8327                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8328                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8329                         to default handler default_setting_clear_secrets()
8330
8331 2007-09-25  Dan Williams  <dcbw@redhat.com>
8332
8333         * src/nm-activation-request.c
8334           src/nm-activation-request.h
8335                 - (nm_act_request_is_deferred): new function
8336
8337 2007-09-24  Dan Williams  <dcbw@redhat.com>
8338
8339         * src/nm-device-802-11-wireless.c
8340                 - (activation_success_handler): update signal strength immediately
8341                         after activation
8342
8343 2007-09-24  Dan Williams  <dcbw@redhat.com>
8344
8345         * libnm-util/nm-setting.c
8346                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8347
8348 2007-09-24  Dan Williams  <dcbw@redhat.com>
8349
8350         * src/NetworkManagerPolicy.c
8351                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8352                         device by deactivating it because it doesn't have a "best connection".
8353                         Since autoconnect=False connections aren't automatically chosen,
8354                         NM would interrupt activation of such a connection because it
8355                         would never be "best" due to autoconnect=False.
8356
8357 2007-09-24  Dan Williams  <dcbw@redhat.com>
8358
8359         * src/nm-manager.c
8360                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8361                         actually has some time to enter a key before the GetSecrets call
8362                         times out
8363
8364 2007-09-24  Dan Williams  <dcbw@redhat.com>
8365
8366         * introspection/nm-manager.xml
8367           src/nm-manager.c
8368                 - (impl_manager_legacy_state): fix 'state' method call return value
8369
8370 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8371
8372         * test/Makefile.am: Install nm-tool
8373
8374 2007-09-24  Dan Williams  <dcbw@redhat.com>
8375
8376         Patch from Ross Burton <ross@burtonini.com>
8377
8378         * test/nm-tool.c
8379           callouts/nm-dhcp-client-action.c
8380           src/nm-netlink.c
8381           src/vpn-manager/nm-vpn-connection.c
8382           libnm-glib/libnm-glib-test.c
8383                 - warning fixes
8384
8385 2007-09-24  Dan Williams  <dcbw@redhat.com>
8386
8387         * libnm-util/nm-utils.h
8388           libnm-util/nm-utils.c
8389                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8390                         remove, unused
8391
8392 2007-09-23  Dan Williams  <dcbw@redhat.com>
8393
8394         * vpn-daemons/vpnc/properties/nm-vpnc.c
8395                 - Update for new VPN properties API bits; instead of passing around
8396                         a lot of random things, everything goes into the NMConnection
8397                         object.
8398
8399 2007-09-23  Dan Williams  <dcbw@redhat.com>
8400
8401         * libnm-util/nm-setting.c
8402                 - Correctly dispose of settings objects if creating them from a hash
8403                         table fails
8404
8405 2007-09-23  Dan Williams  <dcbw@redhat.com>
8406
8407         * libnm-util/nm-setting.c
8408                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8409                         the hash table in a standard manner.  Clients of libnm-util should
8410                         only call g_hash_table_remove_all(), never destroy the hash table
8411                         and recreate it.
8412
8413 2007-09-22  Dan Williams  <dcbw@redhat.com>
8414
8415         * src/nm-device-802-11-wireless.c
8416                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8417                         real reason to do it so often, and reduces wakeups for clients.
8418
8419 2007-09-21  Dan Williams  <dcbw@redhat.com>
8420
8421         * src/nm-device-802-11-wireless.c
8422                 - (build_supplicant_config): wpa_supplicant requires the option
8423                         key_mgmt=NONE for unencrypted networks
8424                 - (real_act_stage2_config): clarify log message on activation
8425
8426 2007-09-21  Dan Williams  <dcbw@redhat.com>
8427
8428         * test/nm-supplicant-test.c
8429           test/Makefile.am
8430                 - Remove supplicant test binary; no longer applicable
8431
8432 2007-09-21  Dan Williams  <dcbw@redhat.com>
8433
8434         * src/supplicant-manager/nm-supplicant-manager.c
8435                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8436                         activate it on the system bus
8437
8438 2007-09-20  Dan Williams  <dcbw@redhat.com>
8439
8440         * initscript/RedHat/NetworkManager.in
8441                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8442
8443 2007-09-20  Dan Williams  <dcbw@redhat.com>
8444
8445         * src/nm-device.c
8446                 - (nm_device_is_activating): work around a race between auto-activation
8447                         and the user activating the same device that is being auto-activated
8448
8449 2007-09-20  Dan Williams  <dcbw@redhat.com>
8450
8451         * src/nm-device-interface.c
8452                 - (impl_device_activate): until multiple active device support lands,
8453                         ensure only one device can be active at a time
8454
8455 2007-09-20  Dan Williams  <dcbw@redhat.com>
8456
8457         * src/supplicant-manager/nm-supplicant-config.c
8458           src/supplicant-manager/nm-supplicant-config.h
8459                 - (nm_supplicant_config_add_option): hide secrets from system logs
8460
8461 2007-09-20  Dan Williams  <dcbw@redhat.com>
8462
8463         * src/NetworkManagerPolicy.c
8464                 - (nm_policy_device_change_check): re-enable the wireless device change
8465                         checking code; insted of checking for SSIDs, check for the same
8466                         connection instead
8467
8468 2007-09-20  Dan Williams  <dcbw@redhat.com>
8469
8470         * src/nm-device-802-11-wireless.c
8471                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8472                         composite link state when determining when to start the disconnection
8473                         timer; that link state is already based on the supplicant interface's
8474                         status which is exactly what's already being examined, plus the link
8475                         state is a conglomeration of various things that we don't want here
8476
8477 2007-09-20  Dan Williams  <dcbw@redhat.com>
8478
8479         * libnm-glib/nm-access-point.c
8480                 - (handle_property_changed): strength is a UCHAR
8481
8482 2007-09-20  Dan Williams  <dcbw@redhat.com>
8483
8484         * src/supplicant-manager/nm-supplicant-config.c
8485                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8486                         string list keywords too since that's what wpa_supplicant wants
8487
8488 2007-09-20  Dan Williams  <dcbw@redhat.com>
8489
8490         * libnm-util/nm-setting.c
8491                 - (convert_strv_to_slist): dupe the values in the list because since
8492                         the list is a boxed value, it'll get destroyed when it's container
8493                         (like a hash table or whatever) gets destroyed
8494
8495 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8496
8497         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8498         GSList.
8499
8500         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8501
8502         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8503         just use (g_object_set_data_full).
8504
8505         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8506         that NMSettingVPN->routes is a GSList, convert it to char **.
8507         (nm_vpn_connection_ip4_config_get): Free routes when done.
8508         (nm_vpn_connection_activate): Ditto.
8509
8510         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8511         (real_act_stage2_config): Use defined setting names.
8512
8513 2007-09-20  Dan Williams  <dcbw@redhat.com>
8514
8515         * src/nm-device-802-11-wireless.c
8516           src/nm-manager.c
8517           src/nm-manager.h
8518                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8519                         so that the device can be deactivated if secrets are wrong
8520
8521 2007-09-20  Dan Williams  <dcbw@redhat.com>
8522
8523         * introspection/nm-settings-connection.xml
8524           libnm-glib/nm-settings.c
8525           libnm-glib/nm-settings.h
8526                 - Make GetSecrets asynchronous on the server side
8527
8528 2007-09-20  Dan Williams  <dcbw@redhat.com>
8529
8530         * src/nm-manager.h
8531           src/nm-device.c
8532                 - (nm_device_activate): actually check if a given connection
8533                         exists before assuming it doesn't
8534
8535 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8536
8537         * libnm-util/nm-connection.c (register_default_creators): Use defined
8538         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8539
8540         * libnm-util/nm-setting.c: Define property name strings, use them.
8541         Implement NMSettingVPN and NMSettingVPNProperties settings.
8542         Implement NM_S_TYPE_GVALUE_HASH.
8543         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8544         (setting_connection_verify): Rename 'devtype' property to 'type'.
8545
8546         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8547         properties.
8548
8549         * src/vpn-manager/nm-vpn-service.c: Ditto.
8550
8551         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8552
8553         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8554         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8555
8556         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8557         names. NMSettingConnection->devtype got renamed to 'type'.
8558
8559         * src/nm-device-802-3-ethernet.c (find_best_connection):
8560         (real_get_best_connection): Ditto.
8561
8562         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8563
8564         * libnm-glib/nm-vpn-manager.[ch]: Update.
8565
8566 2007-09-19  Dan Williams  <dcbw@redhat.com>
8567
8568         * src/NetworkManagerAP.c
8569           src/NetworkManagerAP.h
8570           introspection/nm-access-point.xml
8571                 - Change strength-changed signal into a properties-changed signal
8572                         for all properties, not just strength.  Export that signal over dbus
8573                         so listeners don't have to poll NM for changes.
8574                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8575                         get exported over D-Bus, so break up the logic and let other bits
8576                         decided when to export the AP
8577                 - (nm_ap_new_from_ap): remove, unused
8578
8579         * src/nm-device-802-11-wireless.c
8580                 - (merge_scanned_ap): only export APs that are actually on the device
8581                         list, not every AP created internally
8582
8583         * libnm-glib/nm-access-point.c
8584           libnm-glib/nm-access-point.h
8585                 - Cache properties internally and only hit DBus when needed.  Get
8586                         property updates from NM signals
8587
8588 2007-09-16  Dan Williams  <dcbw@redhat.com>
8589
8590         * libnm-util/nm-connection.c
8591           libnm-util/nm-connection.h
8592                 - (nm_connection_for_each_setting_value): new function; iterate over
8593                         each setting's value and call a user-provided function with details
8594                         about that value
8595
8596         * libnm-util/nm-setting.c
8597           libnm-util/nm-setting.h
8598                 - (nm_setting_enumerate_values): new function; enumerate the values
8599                         of a specific NMSetting subclass for a user-provided function with
8600                         details about that value
8601                 - Change wep_tx_keyidx to a uint32
8602                 - Create settings value tables for each setting defining their type,
8603                         key name, offset into the NMSetting subclass' structure, and whether
8604                         they are required and/or a secret
8605                 - (nm_setting_populate_from_hash): generic function to populate an
8606                         NMSetting from a GHash table, make all settings use it
8607                 - (nm_setting_hash): generic function to derive a GHashTable from
8608                         an NMSetting object, make all settings use it
8609
8610 2007-09-14  Dan Williams  <dcbw@redhat.com>
8611
8612         Remove unused stuff in libnm-util
8613
8614         * configure.in
8615           libnm-util/Makefile.am
8616           libnm-util/cipher-private.h
8617           libnm-util/cipher-wep-ascii.c
8618           libnm-util/cipher-wep-ascii.h
8619           libnm-util/cipher-wep-hex.c
8620           libnm-util/cipher-wep-hex.h
8621           libnm-util/cipher-wep-passphrase.c
8622           libnm-util/cipher-wep-passphrase.h
8623           libnm-util/cipher-wpa-psk-hex.c
8624           libnm-util/cipher-wpa-psk-hex.h
8625           libnm-util/cipher-wpa-psk-passphrase.c
8626           libnm-util/cipher-wpa-psk-passphrase.h
8627           libnm-util/cipher.c
8628           libnm-util/cipher.h
8629           libnm-util/dbus-helpers.c
8630           libnm-util/dbus-helpers.h
8631           libnm-util/gnome-keyring-md5.c
8632           libnm-util/gnome-keyring-md5.h
8633           libnm-util/sha1.c
8634           libnm-util/sha1.h
8635           src/nm-device-802-11-wireless.c
8636           test/libnm-util/Makefile.am
8637           test/libnm-util/test-ciphers.c
8638           test/libnm-util/test-dbus-helpers.c
8639           test/libnm-util/test-inputs.h
8640                 - Removed
8641
8642 2007-09-14  Dan Williams  <dcbw@redhat.com>
8643
8644         * libnm-util/dbus-method-dispatcher.c
8645           libnm-util/dbus-method-dispatcher.h
8646                 - Remove, unused
8647
8648 2007-09-14  Dan Williams  <dcbw@redhat.com>
8649
8650         Implement deferred activation support in the device class.
8651
8652         * src/nm-device-interface.c
8653           src/nm-device-interface.h
8654                 - (nm_device_interface_activate): take more arguments to support
8655                         deferred activation; callers must pass one of (connection) OR
8656                         (service_name, connection_path)
8657                 - (impl_device_activate): connection validation is punted to the device
8658                         to be able to handle deferred activation.  Yes, this means errors
8659                         don't get returned from the Activate() dbus call, and yes, that
8660                         should be fixed somehow later.
8661
8662         * src/nm-device.c
8663           src/nm-device.h
8664                 - (clear_act_request): clear additional deferred activation stuff too
8665                 - (deferred_activation_timeout_cb): new function; clean up when
8666                         deferred activation times out.
8667                 - (deferred_activation_start_cb): new function; when the connection
8668                         finally becomes available, start device activation
8669                 - (nm_device_activate): attach to the right signals of the activation
8670                         request if we need to defer activation until the connection is valid
8671
8672         * src/NetworkManagerPolicy.c
8673                 - (nm_policy_device_change_check): update for additional arguments
8674                         required for nm_device_interface_activate().  Pass NULL for these
8675                         though because this function already knows exactly which
8676                         NMConnection to use
8677
8678 2007-09-14  Dan Williams  <dcbw@redhat.com>
8679
8680         Implement deferred activation handling in the NMActRequest class.  When a
8681         client wants to activate a device but must create the NMConnection details
8682         on the fly, there likely hasn't been enough time yet for NM to receive the
8683         new connection signal and grab all the connection details.  So the
8684         activation is deferred (and bounded by a timer) for a while, and if the
8685         connection appears within the window, it is activated.
8686
8687         * src/nm-activation-request.c
8688           src/nm-activation-request.h
8689                 - (nm_act_request_class_init): two new signals to support deferred
8690                         activation, to allow the listener to handle both timeout and success
8691                 - (nm_act_request_new_deferred): new function, starts the deferred
8692                         activation timeout handler and listens to the NMManager for
8693                         new-connection signals to notice when the connection comes in
8694
8695 2007-09-14  Dan Williams  <dcbw@redhat.com>
8696
8697         * src/nm-manager.h
8698           src/nm-manager.c
8699                 - (nm_manager_get_connection_service_name,
8700                    nm_manager_get_connection_dbus_path): get details about a connection
8701                         known internally by the NMManager
8702                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8703                         because NMConnection is now a GObject subclass
8704                 - Use constant for the gobject data tag used on NMConnection objects for
8705                         storing the associated DBusGProxy
8706
8707 2007-09-14  Dan Williams  <dcbw@redhat.com>
8708
8709         * utils/Makefile.am
8710           utils/nm-utils.c
8711           utils/nm-utils.h
8712           src/supplicant-manager/Makefile.am
8713           src/dhcp-manager/Makefile.am
8714           src/backends/Makefile.am
8715           src/named-manager/Makefile.am
8716           src/ppp-manager/Makefile.am
8717           src/vpn-manager/Makefile.am
8718           test/libnm-util/Makefile.am
8719           test/test-common/Makefile.am
8720                 - Remove utils/; it was unused
8721
8722 2007-09-13  Dan Williams  <dcbw@redhat.com>
8723
8724         * libnm-glib/nm-vpn-manager.h
8725           libnm-glib/nm-vpn-manager.c
8726                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8727
8728 2007-09-13  Dan Williams  <dcbw@redhat.com>
8729
8730         * src/nm-device-802-3-ethernet.c
8731                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8732                         netlink monitor carrier signals on dispose, not bring down.  The
8733                         carrier signals should be handled over the entire lifetime of the
8734                         device anyway, not created/destroyed on up or down.
8735
8736 2007-09-13  Dan Williams  <dcbw@redhat.com>
8737
8738         * libnm-glib/nm-device.c
8739           libnm-glib/nm-device.h
8740                 - (nm_device_activate): take a connection object path rather than an
8741                         NMConnection because NMConnection isn't exported over D-Bus and
8742                         therefore it dbus-glib can't automatically get an object path from it
8743
8744 2007-09-13  Dan Williams  <dcbw@redhat.com>
8745
8746         * libnm-util/nm-setting.c
8747                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8748
8749 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8750
8751         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8752
8753 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8754
8755         * src/vpn-manager/nm-vpn-connection.[ch]: 
8756         * src/vpn-manager/nm-vpn-manager.[ch]:
8757         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8758         dbus-glib, GObjects, signals etc.
8759
8760         * libnm-glib/nm-vpn-manager.[ch]: 
8761         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8762         so much, rewrite these too.
8763
8764         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8765         the new introspection files.
8766
8767         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8768
8769         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8770         the header with the same name from libnm-utils.
8771
8772         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8773
8774         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8775
8776         * introspection/nm-vpn-plugin.xml: Implement.
8777
8778         * introspection/nm-vpn-connection.xml: Implement.
8779
8780         * introspection/nm-vpn-manager.xml: Implement.
8781
8782         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8783         the named manager argument, it can just as easily get it as the caller.
8784         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8785
8786         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8787
8788         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8789
8790         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8791         libnm-utils.
8792
8793         * libnm-util/nm-connection.c: Ditto.
8794
8795         * src/NetworkManagerMain.h: Remove, it's finally empty.
8796
8797         * configure.in: Remove utils/ from build.
8798
8799         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8800         of hard-coded strings.
8801
8802         * utils/: Move it over to libnm-util.
8803
8804         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8805
8806         * dispatcher-daemon/Makefile.am: Ditto.
8807
8808         * src/Makefile.am: Ditto.
8809
8810 2007-09-12  Dan Williams  <dcbw@redhat.com>
8811
8812         Wireless connections can be made with config data from the applet now.
8813         
8814         Yay.
8815
8816         * src/supplicant-manager/nm-supplicant-config.h
8817           src/supplicant-manager/nm-supplicant-config.c
8818                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8819                 - (nm_supplicant_config_add_setting_wireless,
8820                    nm_supplicant_config_add_setting_wireless_security): new functions;
8821                         add key/value pairs from the settings objects to the supplicant
8822                         config
8823
8824         * src/nm-device-802-11-wireless.c
8825                 - (cull_scan_list): fix check to not prune currently associated AP
8826                 - (build_supplicant_config, real_act_stage2_config): call the functions
8827                         of the NMSupplicantConfig that parse settings objects rather than
8828                         doing it manually here
8829
8830 2007-09-12  Dan Williams  <dcbw@redhat.com>
8831
8832         * src/supplicant-manager/nm-supplicant-interface.c
8833           src/supplicant-manager/nm-supplicant-marshal.list
8834                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8835                         "connection-error" signal arguments should be STRING not CHAR
8836
8837 2007-09-12  Dan Williams  <dcbw@redhat.com>
8838
8839         * src/NetworkManagerUtils.c
8840           src/NetworkManagerUtils.h
8841                 - (nm_utils_hexstr2bin): new function
8842
8843 2007-09-11  Dan Williams  <dcbw@redhat.com>
8844
8845         * src/nm-manager.c
8846                 - (connection_get_settings_cb): emit connection-added signal
8847                 - (connection_removed_cb): uncomment bits for system settings service,
8848                         send connection-removed when appropriate
8849                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8850                         the stack by trying to g_object_set_data() on something that's
8851                         not a GObject; handle case where settings service returns
8852                         empty settings hash table
8853
8854 2007-09-11  Dan Williams  <dcbw@redhat.com>
8855
8856         * src/NetworkManagerPolicy.c
8857                 - (connection_added, connection_removed): trigger device change checks
8858                         on connection changes
8859
8860 2007-09-11  Dan Williams  <dcbw@redhat.com>
8861
8862         * src/nm-activation-request.c
8863                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8864
8865 2007-09-11  Dan Williams  <dcbw@redhat.com>
8866
8867         * src/nm-device-802-11-wireless.c
8868                 - (real_connection_secrets_updated): fix erroneous check
8869
8870 2007-09-11  Dan Williams  <dcbw@redhat.com>
8871
8872         * introspection/nm-device.xml
8873           libnm-glib/nm-device.c
8874           libnm-glib/nm-device.c
8875                 - Fix Activate call argument borkage; Activate takes 3 arguments
8876
8877 2007-09-11  Dan Williams  <dcbw@redhat.com>
8878
8879         * libnm-glib/nm-access-point.c
8880           libnm-glib/nm-access-point.c
8881                 - (nm_access_point_get_frequency): now returns guint32 to match
8882                         property change on 2007-09-10
8883
8884 2007-09-11  Dan Williams  <dcbw@redhat.com>
8885
8886         * src/nm-device-802-11-wireless.c
8887                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8888                         somewhere defines 'index' and I missed this one when I fixed the
8889                         shadow declaration errors earlier
8890
8891 2007-09-11  Dan Williams  <dcbw@redhat.com>
8892
8893         * libnm-util/nm-connection.c
8894                 - (nm_connection_update_secrets, need_secrets_check): move
8895                         802-11-wireless-security need_secrets checks to the setting object
8896                         itself, where it belongs
8897
8898         * libnm-util/nm-setting.c
8899           libnm-util/nm-setting.h
8900                 - (nm_setting_need_secrets): new function
8901                 - (setting_wireless_security_verify,
8902                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8903                 - (setting_wireless_security_need_secrets): mostly copy code over
8904                         from nm-connection.c
8905
8906 2007-09-11  Dan Williams  <dcbw@redhat.com>
8907
8908         * libnm-util/nm-setting.c
8909           libnm-util/nm-setting.h
8910                 - (nm_setting_update_secrets): new function; add a virtual function that
8911                         subclasses can implement to update their secrets
8912                 - (setting_wireless_security_update_secrets): implement that function
8913                         for the 802-11-wireless-security subclass
8914
8915         * libnm-util/nm-connection.c
8916           libnm-util/nm-connection.h
8917                 - (nm_connection_update_secrets): update secrets for a Setting and
8918                         emit a signal on success
8919
8920         * src/nm-manager.c
8921           src/nm-manager.h
8922           src/nm-marshal.list
8923                 - (connection_get_settings_cb): enable system settings bits
8924                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8925                         to request secrets from the settings dbus service and to
8926                         push those secrets to the NMConnection itself
8927
8928         * src/nm-activation-request.c
8929           src/nm-activation-request.h
8930                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8931                         currently being activated, and proxy that signal to other listeners.
8932                         Goes through the activation request because the activation request
8933                         is the thing that manages the lifetime of the NMConnection that's
8934                         being activated.
8935
8936         * src/nm-device-802-11-wireless.c
8937                 - (real_connection_secrets_updated): implement the connection secrets
8938                         updated notification and restart activation when secrets are
8939                         received
8940                 - (real_act_stage2_config): request secrets from the settings dbus
8941                         service if secrets are needed
8942
8943         * src/nm-device.c
8944           src/nm-device.h
8945                 - (clear_act_request, nm_device_activation_cancel,
8946                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8947                         where the activation request is cleared
8948                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8949                         updated secrets signal of activation request and add a function
8950                         that subclasses can override to handle it easily
8951
8952 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8953
8954         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8955         removal of NetworkManagerAPList.
8956
8957 2007-09-10  Dan Williams  <dcbw@redhat.com>
8958
8959         * src/NetworkManagerAP.c
8960           src/NetworkManagerAP.h
8961           introspection/nm-access-point.xml
8962                 - Change 'freq' property to a guint32 instead of a double since we
8963                         weren't using the floating point bits anyway
8964
8965 2007-09-10  Dan Williams  <dcbw@redhat.com>
8966
8967         * NetworkManagerAP.c
8968           NetworkManagerAP.h
8969           NetworkManagerPolicy.c
8970           NetworkManagerSystem.c
8971           NetworkManagerUtils.c
8972           NetworkManagerUtils.h
8973           nm-device-802-11-wireless.c
8974           nm-device-802-3-ethernet.c
8975           nm-hal-manager.c
8976           nm-manager.c
8977           vpn-manager/nm-dbus-vpn.c
8978                 - Warning fixes; casts and removal of unused variables
8979
8980 2007-09-10  Dan Williams  <dcbw@redhat.com>
8981
8982         * include/NetworkManager.h
8983                 - Kill NMNetworkType; AP types don't matter any more
8984
8985         * src/NetworkManagerAPList.c
8986           src/NetworkManagerAPList.h
8987           src/Makefile.am
8988                 - Kill; NMAccessPointList has outlived it's usefulness
8989
8990         * src/NetworkManagerAP.c
8991           src/NetworkManagerAP.h
8992                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8993                         functions; check if an NMConnection object is compatible with the
8994                         settings of this AP
8995                 - (freq_to_channel, channel_to_freq): utility functions for
8996                         channel <-> frequency conversion
8997
8998         * src/nm-device.c
8999           src/nm-device.h
9000                 - (nm_device_get_best_connection): pass the specific object around
9001                          (which might be the object path of a specific AP to connect to).
9002                          The get_best_connection() call should populate this on return
9003                          if needed (wireless does).
9004
9005         * src/nm-device-802-3-ethernet.c
9006                 - (real_get_best_connection): handle specific_object argument
9007
9008         * src/NetworkManager.c
9009           src/NetworkManagerMain.h
9010                 - Remove unused includes
9011
9012         * src/nm-device-802-11-wireless.c
9013           src/nm-device-802-11-wireless.h
9014                 - Convert the ap_list into a GSList from an NMAccessPointList
9015                 - No need for caching the 'activation_ap' since this is now determined
9016                         from the specific_object of the activation request, which is
9017                         populated from the get_best_connection() call or from a user request
9018                 - (nm_device_802_11_wireless_update_bssid): fix warning
9019                 - (get_wireless_capabilities): fix error message format arguments
9020                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9021                 - (find_best_connection, real_get_best_connection): implement
9022                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9023                         move here from NetworkManagerAPList
9024                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9025                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9026                         already verified earlier
9027                 - (real_act_stage2_config): use nm_connection_need_secrets()
9028
9029         * src/NetworkManagerPolicy.c
9030                 - (nm_policy_auto_get_best_device): handle specific objects
9031                 - (create_connection): remove; automatic connection creation functionality
9032                         is handled by the Connection objects
9033                 - (nm_policy_device_change_check): handle specific_object
9034
9035         * libnm-util/nm-connection.c
9036                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9037
9038 2007-09-10  Dan Williams  <dcbw@redhat.com>
9039
9040         * src/nm-manager.c
9041                 - (query_connections): fix uninitialized variable problem that caused
9042                         segfault
9043                 - (nm_manager_add_device): take devices down on startup so that we can
9044                         be assured that nm_device_is_up() won't short-circuit the init
9045                         process.  Hack until the is_up check gets split into two pieces
9046                         that aren't behaviorally confusing.
9047
9048 2007-09-09  Dan Williams  <dcbw@redhat.com>
9049
9050         * introspection/nm-device.xml
9051                 - The 'Activate' method now takes 3 arguments, a service name for the
9052                 settings service (user or system), the object path of the connection
9053                 to activate, and the specific object to activate, if any
9054
9055         * src/nm-device-interface.c
9056                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9057                 Add error bits
9058                 - (impl_device_activate): adapt to new Activate arguments; validate
9059                 the service name and get the Connection object from the NMManager
9060                 before starting to activate the device with the specified connection
9061
9062         * src/nm-device-802-3-ethernet.c
9063                 - (real_get_best_connection): find the best connection, or create a
9064                 default one if no existing connections can be used
9065
9066         * src/NetworkManagerPolicy.c
9067                 - (nm_policy_auto_get_best_device): Get the device's best connection
9068                 and only pick the device if it has one
9069                 - (nm_policy_device_change_check): disable wireless bits for now until
9070                 wireless get_best_connection() can be implemented (replacing "best_ap");
9071                 don't create a default connection here as the device subclass will do
9072                 that if needed
9073
9074         * src/nm-manager.h
9075           src/nm-manager.c
9076                 - (nm_manager_get): make NMManager a singleton and expose the getter
9077                 internally
9078                 - Rework internal NMManager connection handling to use the same
9079                 routines for both the system and user settings services.  Most calls
9080                 take a new NMConnectionType argument specifying either system or user
9081                 connections
9082                 - (nm_manager_get_connection_by_object_path): new function; get a
9083                 connection keyed on its object path
9084
9085         * src/NetworkManager.c
9086                 - (main): use nm_manager_get()
9087
9088 2007-09-09  Dan Williams  <dcbw@redhat.com>
9089
9090         * src/nm-device.h
9091           src/nm-device.c
9092                 - (nm_device_get_best_connection): new function; get best connection
9093                         for the device at that time
9094
9095 2007-09-09  Dan Williams  <dcbw@redhat.com>
9096
9097         * src/nm-device-interface.h
9098                 - Add NMDeviceInterfaceError with an UnknownConnection error
9099
9100 2007-09-09  Dan Williams  <dcbw@redhat.com>
9101
9102         Stupid mistake on my part; object path and interface for settings service
9103         and connection objects can be the same, only the service name must be
9104         different for the system and user settings services.
9105
9106         * include/NetworkManager.h
9107           src/nm-manager.c
9108           introspection/nm-settings-connection.xml
9109           introspection/nm-settings.xml
9110           libnm-glib/nm-settings.c
9111                 - (nm_connection_settings_init, query_user_connections,
9112                    new_connection_cb): Unify NetworkManagerSettings and Connection
9113                    interface name and object path
9114
9115 2007-09-06  Dan Williams  <dcbw@redhat.com>
9116
9117         * libnm-glib/nm-object.c
9118                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9119                    nm_object_get_int_property, nm_object_get_uint_property,
9120                    nm_object_get_boolean_property, nm_object_get_byte_property,
9121                    nm_object_get_double_property, nm_object_get_byte_array_property):
9122                         clear GValues after copying their contents, fixes memory leaks
9123                         after every property access because dbus-glib copies the values
9124                         from the DBusMessage into the GValue already.
9125
9126 2007-09-06  Dan Williams  <dcbw@redhat.com>
9127
9128         * introspection/nm-access-point.xml
9129                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9130                         them to be.  There's some magic property name parsing going on in
9131                         dbus-glib that breaks up property names based on studly-caps and
9132                         puts - between words.
9133
9134         * libnm-glib/nm-access-point.c
9135                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9136                         Fix property names
9137
9138 2007-09-06  Dan Williams  <dcbw@redhat.com>
9139
9140         * src/nm-manager.c
9141                 - (nm_manager_user_connections_destroy): clear the user connections hash
9142                         table, don't destroy it
9143                 - (finalize): only destroy the hash table on NMManager finalization
9144
9145 2007-09-02  Dan Williams  <dcbw@redhat.com>
9146
9147         * include/NetworkManager.h
9148           libnm-glib/nm-settings.c
9149                 - defines for the user settings daemon D-Bus bits
9150
9151         * src/NetworkManager.c
9152                 - Remove stuff that referred to the old NetworkManagerInfo service
9153
9154         * src/vpn-manager/nm-dbus-vpn.h
9155                 - Move old NMI defines to the only place they are used still
9156
9157         * libnm-util/nm-connection.c
9158           libnm-util/nm-connection.h
9159           src/nm-activation-request.c
9160                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9161
9162         * src/nm-manager.c
9163           src/nm-manager.h
9164                 - Get connections and their settings from the user settings daemon
9165                         at the appropriate times
9166
9167 2007-09-02  Dan Williams  <dcbw@redhat.com>
9168
9169         * libnm-util/nm-setting.c
9170                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9171                 - (setting_wireless_hash): set the right value on the item
9172
9173 2007-09-02  Dan Williams  <dcbw@redhat.com>
9174
9175         * test/Makefile.am
9176           test/nminfotest.c
9177                 - Remove, no longer useful
9178
9179 2007-08-30  Dan Williams  <dcbw@redhat.com>
9180
9181         * src/Makefile.am
9182           src/NetworkManagerDbus.c
9183           src/NetworkManagerDbus.h
9184           src/vpn-manager/nm-dbus-vpn.c
9185                 - Remove, no longer necessary.  Move last bits to the only place its
9186                 used, in nm-dbus-vpn.c
9187
9188         * src/NetworkManagerAPList.c
9189           src/nm-device.c
9190           src/NetworkManager.c
9191           src/nm-device-802-11-wireless.c
9192           src/vpn-manager/nm-vpn-manager.c
9193           src/vpn-manager/nm-vpn-service.c
9194           src/NetworkManagerPolicy.c
9195           src/nm-manager.c
9196                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9197                 that was message_is_error()
9198
9199 2007-08-30  Dan Williams  <dcbw@redhat.com>
9200
9201         * libnm-util/sha1.c
9202                 - Include config.h to get defines for endiannes (gnome.org #420216)
9203
9204 2007-08-30  Dan Williams  <dcbw@redhat.com>
9205
9206         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9207
9208         * src/ppp-manager/Makefile.am
9209                 - use -fPIC (gnome.org #471825)
9210
9211 2007-08-29  Dan Williams  <dcbw@redhat.com>
9212
9213         * include/NetworkManager.h
9214                 - Keep NMConnection object path in sync
9215
9216         * libnm-glib/nm-settings.c
9217           libnm-glib/nm-settings.h
9218                 - Break D-Bus object registration out of the init function, because
9219                 every object that's exported over D-Bus needs to use the _same_
9220                 DBusConnection.  Otherwise, each object would get a different object
9221                 path tree and wouldn't be callable.
9222
9223 2007-08-29  Dan Williams  <dcbw@redhat.com>
9224
9225         * libnm-util/nm-setting.h
9226           libnm-util/nm-setting.c
9227           libnm-util/nm-connection.c
9228           src/NetworkManagerPolicy.c
9229                 - 'info' settings object should be 'connection' says the spec
9230                 at NetworkManagerConfigurationSpecification
9231
9232 2007-08-29  Dan Williams  <dcbw@redhat.com>
9233
9234         * libnm-glib/nm-settings.c
9235           libnm-glib/nm-settings.h
9236                 - make the dbus path a property of the object, and autogenerate it.
9237                 It can't be composed of the 'id' field becuase that's not available
9238                 yet during the GObject creation in nm_connection_settings_init()
9239
9240 2007-08-29  Dan Williams  <dcbw@redhat.com>
9241
9242         * introspection/nm-settings-connection.xml
9243           introspection/nm-settings.xml
9244                 - Service name -> NetworkManagerUserSettings because two services
9245                 can't share part of the same path.  I'm not really sure how we'll use
9246                 the same code with the system-settings daemon...
9247
9248 2007-08-28  Dan Williams  <dcbw@redhat.com>
9249
9250         * src/nm-device-interface.c
9251           src/nm-device-interface.h
9252                 - Kill one more bit of NMData
9253
9254 2007-08-28  Dan Williams  <dcbw@redhat.com>
9255
9256         * src/NetworkManagerSystem.h
9257           src/nm-device.c
9258           src/nm-device.h
9259           src/nm-hal-manager.c
9260           src/NetworkManager.c
9261           src/nm-device-802-11-wireless.c
9262           src/nm-hal-manager.h
9263           src/nm-device-802-3-ethernet.c
9264           src/vpn-manager/nm-vpn-service.h
9265           src/vpn-manager/nm-vpn-manager.c
9266           src/vpn-manager/nm-vpn-manager.h
9267           src/vpn-manager/nm-vpn-service.c
9268           src/nm-device-802-11-wireless.h
9269           src/NetworkManagerMain.h
9270           src/nm-device-802-3-ethernet.h
9271           src/backends/NetworkManagerGentoo.c
9272           src/backends/NetworkManagerPaldo.c
9273           src/backends/NetworkManagerFrugalware.c
9274           src/backends/NetworkManagerRedHat.c
9275           src/backends/NetworkManagerSlackware.c
9276           src/backends/NetworkManagerGeneric.c
9277           src/backends/NetworkManagerArch.c
9278           src/backends/NetworkManagerSuSE.c
9279           src/backends/NetworkManagerGeneric.h
9280           src/backends/NetworkManagerDebian.c
9281                 - Kill NMData
9282
9283 2007-08-28  Dan Williams  <dcbw@redhat.com>
9284
9285         * src/NetworkManagerMain.h
9286           src/nm-device-802-11-wireless.c
9287           src/NetworkManager.c
9288                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9289                 for now we should set the 'invalid' property on individual APs, and when
9290                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9291                 that ESS
9292
9293 2007-08-28  Dan Williams  <dcbw@redhat.com>
9294
9295         * src/NetworkManagerAP.c
9296           src/NetworkManagerAP.h
9297                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9298                         'autoconnect' property instead
9299
9300         * src/NetworkManager.c
9301           src/NetworkManagerMain.h
9302           src/NetworkManagerPolicy.c
9303           src/NetworkManagerPolicy.h
9304                 - Remove the 'allowed_ap_list', which should be replaced by 
9305                         NMConnection/NMSettings instead, since _those_ are the allowed
9306                         things that NM can connect to
9307
9308         * src/nm-device-802-11-wireless.c
9309                 - Remove both allowed_ap_list usage and 'fallback' checking
9310
9311 2007-08-28  Dan Williams  <dcbw@redhat.com>
9312
9313         * src/nm-device.c
9314           src/named-manager/nm-named-manager.c
9315           src/named-manager/nm-named-manager.h
9316           src/NetworkManager.c
9317           src/vpn-manager/nm-vpn-manager.c
9318           src/NetworkManagerMain.h
9319           src/NetworkManagerSystem.c
9320                 - Remove the named-manager object from NMData structure in preparation
9321                 for NMData's timely death.  Make the NMNamedManager the singleton that
9322                 it really is
9323
9324 2007-08-28  Dan Williams  <dcbw@redhat.com>
9325
9326         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9327         each AP's capabilities, and by NMConnection/NMSettings objects for user
9328         defined connections.
9329
9330         * include/NetworkManager.h
9331                 - Redefine 802.11 security properties.  There are now device capabilities
9332                         and AP flags and AP security flags.  It was way to unclear before.
9333
9334         * src/Makefile.am
9335           src/nm-ap-security-leap.h
9336           src/nm-ap-security-leap.c
9337           src/nm-ap-security-wpa-eap.c
9338           src/nm-ap-security-wpa-eap.h
9339           src/nm-ap-security-private.h
9340           src/nm-ap-security-wpa-psk.c
9341           src/nm-ap-security-wpa-psk.h
9342           src/nm-ap-security-wep.c
9343           src/nm-ap-security-wep.h
9344           src/nm-ap-security.c
9345           src/nm-ap-security.h
9346                 - Removed, to be replaced with NMConnection/NMSettings objects
9347
9348         * src/nm-dbus-nmi.c
9349           src/nm-dbus-nmi.h
9350                 - Removed, to be replaced by code that talks to the new info daemon
9351                         interface and gets NMConnection/NMSettings objects
9352
9353         * src/backends/NetworkManagerSuSE.c
9354                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9355                         info-daemon that does the same thing but talks the new info-daemon
9356                         D-Bus interface
9357
9358         * src/NetworkManagerAP.h
9359           src/NetworkManagerAP.c
9360           src/NetworkManagerAPList.c
9361           libnm-glib/libnm-glib-test.c
9362                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9363                         WPA/RSN
9364
9365         * libnm-glib/nm-access-point.c
9366           libnm-glib/nm-access-point.h
9367           introspection/nm-access-point.xml
9368           test/nm-tool.c
9369                 - Adjust to new flags for AP security
9370
9371         * utils/nm-utils.c
9372           utils/nm-utils.h
9373           src/vpn-manager/nm-dbus-vpn.c
9374                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9375                         stuff which is the only place it's used
9376
9377         * src/nm-device-interface.c
9378           src/nm-device-interface.h
9379           introspection/nm-device.xml
9380           src/nm-activation-request.c
9381           src/nm-activation-request.h
9382           src/nm-device.c
9383                 - Add a new 'specific_object' argument that hints to NM what actual
9384                         AP or other device-specific thing the connection should apply to.
9385                         NMConnection objects can apply to more than one actual device/AP.
9386
9387         * libnm-util/nm-connection.c
9388         * libnm-util/nm-connection.h
9389                 - Add 'have_secrets" call stubs
9390
9391         * libnm-util/cipher.h
9392                 - Move NM_AUTH_TYPE_* defines here for now
9393
9394         * src/nm-device-802-11-wireless.c
9395                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9396                         NMSettings objects
9397
9398         * src/NetworkManagerDbus.c
9399         * src/NetworkManagerPolicy.c
9400                 - Remove usage of update_allowed_networks, should be pushing data in
9401                         a different manner
9402
9403 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9404
9405         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9406         dbus-glib frees it when the call is done.
9407
9408 2007-08-26  Dan Williams  <dcbw@redhat.com>
9409
9410         * introspection/nm-device.xml
9411                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9412
9413 2007-08-26  Dan Williams  <dcbw@redhat.com>
9414
9415         * src/nm-device-802-3-ethernet.c
9416                 - (constructor): move connection of interface-connected/disconnected
9417                         signals here from real_bring_up().  Should be listening to netlink
9418                         for carrier events no matter what the initial state of the device
9419                         is.
9420
9421 2007-08-26  Dan Williams  <dcbw@redhat.com>
9422
9423         * src/nm-netlink-monitor.c
9424                 - (nm_netlink_monitor_class_init): fix marshalling types for
9425                         interface-connected/interface-disconnected
9426                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9427                         check
9428
9429 2007-08-26  Dan Williams  <dcbw@redhat.com>
9430
9431         Convert to using interface indexes as the primary method of identifying
9432         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9433         be renamed at any time.  Device object paths now refer to the device
9434         index rather than the name, and you can map those two manually if you like
9435         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9436         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9437         to use interface indexes rather than names.
9438
9439 2007-08-26  Dan Williams  <dcbw@redhat.com>
9440
9441         * src/nm-netlink-monitor.h
9442                 - Remove one last bit of wireless-event signal
9443
9444 2007-08-26  Dan Williams  <dcbw@redhat.com>
9445
9446         * src/nm-netlink-monitor.c
9447                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9448                         don't need the 'wireless-event' signal anymore since that's all
9449                         handled by wpa_supplicant
9450
9451 2007-08-25  Dan Williams  <dcbw@redhat.com>
9452
9453         It's 2007. Remove support for drivers that don't support wireless scanning.
9454
9455         * test/nm-tool.c
9456           include/NetworkManager.h
9457           src/NetworkManagerUtils.c
9458           src/NetworkManagerPolicy.c
9459           src/nm-device-802-11-wireless.c
9460                 - Remove special handling for non-scanning devices and mark them
9461                         as unsupported/unhandled
9462
9463 2007-08-20  Dan Williams  <dcbw@redhat.com>
9464
9465         * src/nm-device-802-11-wireless.c
9466           src/nm-device-802-3-ethernet.c
9467                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9468                         because when the card is pulled or the module removed, the device
9469                         is already !IFF_UP and then device-specific cleanup (removing
9470                         the supplicant interface, periodic checks, etc) never gets done
9471
9472 2007-08-20  Dan Williams  <dcbw@redhat.com>
9473
9474         * src/nm-manager.c
9475                 - (nm_manager_remove_device): bring device down before disconnecting
9476                         signal handlers, so that the 'state' signal will get broadcast when
9477                         the device enters the DOWN state
9478                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9479                         of states that cause the NMManager to recheck its state
9480
9481 2007-08-20  Dan Williams  <dcbw@redhat.com>
9482
9483         * src/supplicant-manager/nm-supplicant-interface.c
9484                 - (interface_disconnect_done): don't try to dispose of the net proxy
9485                         when it may already have been disposed of
9486
9487 2007-08-20  Dan Williams  <dcbw@redhat.com>
9488
9489         * src/nm-device-802-11-wireless.c
9490                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9491                         the SSID isn't available; this can happen when the card is pulled
9492                         or the module unloaded, during the post-removal deactivation
9493                         paths, when the ioctl returns ENODEV
9494
9495 2007-08-20  Dan Williams  <dcbw@redhat.com>
9496
9497         * src/nm-device-802-11-wireless.c
9498                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9499                         frequency, and mode match.  Applets are now responsible for grouping
9500                         access points
9501
9502 2007-08-20  Dan Williams  <dcbw@redhat.com>
9503
9504         * src/NetworkManagerAP.c
9505         * src/NetworkManagerAP.h
9506                 - (nm_ap_print_self): new function
9507
9508         * src/NetworkManagerAPList.c
9509                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9510                         to do it all here
9511         
9512 2007-08-17  Dan Williams  <dcbw@redhat.com>
9513
9514         * src/nm-device-802-3-ethernet.c
9515                 - (real_bring_down): don't try to dispose of stuff that might not
9516                         exist
9517
9518 2007-08-17  Dan Williams  <dcbw@redhat.com>
9519
9520         * src/NetworkManagerAP.c
9521                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9522                         applet.  This ensures that the case between the seen-bssids and
9523                         the bssids reported by the driver match.
9524
9525 2007-08-17  Dan Williams  <dcbw@redhat.com>
9526
9527         * src/nm-device-802-11-wireless.c
9528                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9529                         we dispose of the interface proxy in NM
9530
9531 2007-08-16  Dan Williams  <dcbw@redhat.com>
9532
9533         * libnm-glib/nm-client.c
9534                 - (nm_client_init): create VPN connections hash table with key free
9535                         function
9536                 - (proxy_vpn_connection_added): VPN connections hash table key should
9537                         be a duplicated value, not the same memory address as the VPN
9538                         connection name.  This is because the VPN connection name could
9539                         potentially be freed and set to something else during the lifetime
9540                         of the NMVPNConnection object.
9541
9542 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9543
9544         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9545         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9546         with the file descriptors. Send a child setup function to change the pppd
9547         progress group.
9548
9549 2007-08-15  Dan Williams  <dcbw@redhat.com>
9550
9551         * src/supplicant-manager/nm-supplicant-interface.c
9552                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9553                         an interface
9554                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9555                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9556                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9557                         the interface internally
9558
9559 2007-08-15  Dan Williams  <dcbw@redhat.com>
9560
9561         * src/nm-device-802-11-wireless.c
9562                 - (real_bring_down): move most of this function into device_cleanup()
9563                         so that it can be called from elsewhere
9564                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9565                         and stuff on dispose.  These would normally get cleaned up when
9566                         the device is marked down and deactivated, but when the device is
9567                         hot-unplugged, it's already down and real_down() never gets run
9568
9569 2007-08-15  Dan Williams  <dcbw@redhat.com>
9570
9571         * src/nm-dbus-nmi.c
9572                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9573                         caused a reference leak on device for which NM requested a key
9574
9575 2007-08-15  Dan Williams  <dcbw@redhat.com>
9576
9577         * libnm-glib/nm-client.c
9578                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9579
9580 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9581
9582         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9583         nothing is using it at the moment, but it'll be all useful and stuff later on.
9584
9585         * libnm-util/nm-setting.h: Define NMSettingPPP.
9586
9587         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9588
9589         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9590
9591         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9592
9593         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9594
9595         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9596
9597 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9598
9599         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9600
9601         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9602         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9603         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9604         name and different arguments and it won't compile anymore. To fix this, we now have
9605         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9606         that is new API + compatibility API and used by the daemon. The other, 
9607         nm-manager-client.xml is only the new API without compatibility bits and is used
9608         by libnm-glib to make it compile.
9609
9610         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9611
9612         * src/nm-manager.c (impl_manager_legacy_sleep)
9613         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9614         interface functions for 0.6 branch.
9615
9616 2007-08-14  Dan Williams  <dcbw@redhat.com>
9617
9618         * src/NetworkManagerAP.c
9619                 - (nm_ap_new_from_properties): fix mistaken check of return value
9620                         from memcmp (should expect 0)
9621
9622 2007-08-14  Dan Williams  <dcbw@redhat.com>
9623
9624         (force-commit to fix wrong comment and partial commit of r2685; this
9625          commit actually applies to r2685)
9626
9627         * src/NetworkManagerUtils.c
9628                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9629                         ignores trailing nulls in the SSID to work around mismatches in
9630                         expectations between WEXT and what the info-daemon passes back.  The
9631                         info-daemon would pass back the correct length, but due to the
9632                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9633                         the device would always have an SSID + 1 depending on what versions
9634                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9635                         visible by just quitting the applet and relaunching, which caused
9636                         NM to reassociated to the same network over again when reloading
9637                         the save networks.
9638
9639         * src/NetworkManagerPolicy.c
9640           src/NetworkManagerUtils.h
9641           src/nm-device-802-11-wireless.c
9642                 - Update for new parameter to nm_utils_same_ssid()
9643
9644 2007-08-14  Dan Williams  <dcbw@redhat.com>
9645
9646         * src/NetworkManagerAP.c
9647                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9648                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9649                         setting the BSSID to all 0s.  That confused the heck out of NM,
9650                         plus it's useless and probably out-of-spec.
9651
9652 2007-08-14  Dan Williams  <dcbw@redhat.com>
9653
9654         * callouts/Makefile.am
9655           src/dhcp-manager/nm-dhcp-manager.c
9656           src/dhcp-manager/nm-dhcp-manager.h
9657           src/dhcp-manager/Makefile.am
9658                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9659
9660 2007-08-14  Dan Williams  <dcbw@redhat.com>
9661
9662         * src/dhcp-manager/nm-dhcp-manager.c
9663                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9664                         it's really needed, get rid of unused xtra_args parameter
9665
9666 2007-08-14  Dan Williams  <dcbw@redhat.com>
9667
9668         * include/NetworkManagerVPN.h
9669           src/vpn-manager/nm-dbus-vpn.c
9670           src/vpn-manager/nm-dbus-vpn.h
9671           src/vpn-manager/nm-vpn-act-request.c
9672           src/vpn-manager/nm-vpn-act-request.h
9673           src/vpn-manager/nm-vpn-service.c
9674           src/vpn-manager/nm-vpn-service.h
9675           libnm-glib/nm-vpn-connection.c
9676           libnm-glib/nm-vpn-connection.h
9677           libnm-glib/nm-client.h
9678                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9679                         NMVPNServiceState to clarify what they apply to
9680                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9681                         NMVPNActStage -> NMVPNConnectionState for the same reason
9682
9683         * libnm-glib/nm-client.c
9684                 - Constant + type renames from above
9685                 - Properly handle NameOwnerChanged/manager_running signals
9686                         for NM service; only emit when state really changes
9687                 - Use hash tables correctly so that the key (which was previously owned
9688                         by the D-Bus message) now has the same lifetime as the value, since
9689                         the key is now taken from the the NMVPNConnection itself.  This
9690                         really fixes the double-VPN names in the applet
9691
9692 2007-08-13  Dan Williams  <dcbw@redhat.com>
9693
9694         Patch from Michael Biebl <biebl@debian.org>
9695
9696         * po/POTFILES.in
9697           po/POTFILES.skip
9698                 - Update for vpn-properties move
9699
9700 2007-08-13  Dan Williams  <dcbw@redhat.com>
9701
9702         * libnm-glib/nm-client.c
9703                 - Convert internal VPN connection tracking from a list to a hash table
9704                         to easily avoid duplicates
9705                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9706                         must be freed by the caller, like nm_client_get_devices()
9707                 - (nm_client_remove_vpn_connection): don't let the removal signal
9708                         leak through for NMVPNConnection objects that aren't actually
9709                         tracked.
9710                 - (manager_running): throw away VPN connection list when NM goes away,
9711                         like with the device list
9712
9713 2007-08-13  Dan Williams  <dcbw@redhat.com>
9714
9715         * src/dhcp-manager/nm-dhcp-manager.c
9716                 - Stop any dhclient instance that might be already running for a
9717                         particular interface before starting an NM spawned dhclient.  Fixes
9718                         dhclient processes left over if NM crashes, stuff like that.
9719
9720 2007-08-13  Dan Williams  <dcbw@redhat.com>
9721
9722         * src/NetworkManagerAP.c
9723                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9724                         when the AP wasn't broadcasting it's SSID
9725
9726 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9727
9728         * include/NetworkManager.h: added DBus path for connection settings.
9729
9730         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9731         nm_connection_settings_signal_updated,
9732         nm_connection_settings_signal_removed): new functions to wrap the
9733         objects' signals.
9734         (nm_connection_settings_init): register GObject with DBus.
9735         (nm_connection_settings_get_dbus_object_path): new function.
9736
9737         * libnm-glib/Makefile.am: added libnmutil to link flags.
9738
9739 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9740
9741         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9742
9743         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9744         libnm_glib directory got merged with libnm-glib/.
9745
9746         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9747
9748         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9749         Rename the library from libnm-glib to libnm_glib to maintain the library API
9750         compatibility with 0.6 branch.
9751
9752         * Makefile.am: Remove gnome/ SUBDIR.
9753
9754         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9755
9756         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9757
9758         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9759
9760         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9761         anymore.
9762         Remove checks for wpa_supplicant binary, it's used over dbus.
9763         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9764
9765         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9766         Link the binaries with libnm_glib.la.
9767
9768 2007-08-12  Dan Williams  <dcbw@redhat.com>
9769
9770         * src/NetworkManagerPolicy.c
9771                 - (nm_policy_device_change_check): fix policy to deactivate old device
9772                         before activating new one, at least until the multiple active
9773                         device support lands
9774
9775 2007-08-12  Dan Williams  <dcbw@redhat.com>
9776
9777         * src/NetworkManagerPolicy.c
9778                 - (nm_policy_new): hook up to connection-added / connection-removed
9779                         signals instead of connections-changed
9780
9781 2007-08-12  Dan Williams  <dcbw@redhat.com>
9782
9783         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9784         Robert Frank <rfrank@redhat.com>
9785
9786         * src/dhcp-manager/nm-dhcp-manager.c
9787           src/dhcp-manager/nm-dhcp-manager.c
9788           src/nm-device.c
9789                 - Spawn and communicate with dhclient directly, through means of a
9790                 custom dhclient callout script.  Process callout D-Bus signals
9791                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9792                 sent via gobject signals rather than being driven by the dhcp manager
9793                 directly.
9794
9795 2007-08-12  Dan Williams  <dcbw@redhat.com>
9796
9797         * callouts/nm-dhcp-client-action.c
9798                 - (build_message): ignore non-DHCP-related environment variables
9799
9800 2007-08-12  Dan Williams  <dcbw@redhat.com>
9801
9802         * Makefile.am
9803           configure.in
9804           callouts/Makefile.am
9805           callouts/nm-dhcp-client-action.c
9806           callouts/nm-dhcp-client.conf
9807                 - Add dhclient-executed callout that takes the place of dhclient-script
9808                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9809                 NM then listens for
9810
9811 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9812
9813         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9814
9815         * libnm-glib/nm-client.h:
9816         * libnm-glib/nm-object.h:
9817         * libnm-glib/nm-vpn-connection.h:
9818         * libnm-glib/nm-settings.h:
9819         * libnm-glib/nm-device.h:
9820         * libnm-glib/nm-ip4-config.h:
9821         * libnm-glib/nm-access-point.h:
9822         * libnm-glib/nm-device-802-3-ethernet.h:
9823         * libnm-util/nm-setting.h: 
9824         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9825
9826         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9827
9828         * libnm-glib/nm-access-point.c: Strength has type char.
9829
9830         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9831         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9832
9833         * introspection/nm-access-point.xml: Strength property is char, not int.
9834
9835         * src/NetworkManagerAP.c (set_property): Set strength from char.
9836         (get_property): Handle hidden APs (with empty SSID).
9837         Get strength value from char.
9838         (nm_ap_class_init): Strength property has char type.
9839
9840 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9841
9842         * introspection/Makefile.am:
9843         * introspection/nm-settings.xml:
9844         * introspection/nm-settings-connection.xml: added Settings interfaces.
9845
9846         * libnm-glib/nm-settings.[ch]:
9847         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9848         containing the DBus implementation.
9849
9850 2007-07-26  Dan Williams  <dcbw@redhat.com>
9851
9852         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9853
9854         * src/NetworkManagerSystem.c
9855                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9856                         same subnet (#437396)
9857
9858 2007-07-26  Dan Williams  <dcbw@redhat.com>
9859
9860         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9861
9862         * gnome/vpn-properties/nm-vpn-properties.c
9863                 - Fix translatable strings (#445865)
9864
9865 2007-07-26  Dan Williams  <dcbw@redhat.com>
9866
9867         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9868
9869         * configure.in
9870                 - Remove useless junk (#412530)
9871
9872 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9873
9874         Patch from Robert Buchholz <rbu@gentoo.org>:
9875
9876         * configure.in:
9877         * Makefile.am:
9878         * introspection/Makefile.am:
9879         Make make distcheck work again.
9880
9881 2007-06-27  Dan Williams  <dcbw@redhat.com>
9882
9883         * Make SSIDs GByteArrays everywhere
9884         * Rename "essid" -> "ssid" everywhere that's appropriate
9885         * Refcount activation_ap member of the 802.11 wireless device class
9886
9887 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9888
9889         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9890
9891 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9892
9893         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9894         that we got a new AP when we just update existing AP properties.
9895
9896 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9897
9898         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9899
9900         * nm-utils.[ch]: Remove.
9901
9902         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9903         objects for easy property access and dbus connection handling.
9904
9905         * libnm-glib/nm-client.c: Derive from NMObject.
9906
9907         * libnm-glib/nm-device.c: Ditto.
9908
9909         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9910
9911         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9912
9913         * libnm-glib/nm-ip4-config.c: Ditto.
9914
9915         * libnm-glib/nm-access-point.c: Ditto.
9916
9917         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9918         comparision. Currently used by the device activation code to determine if the new
9919         activation is the same as the old one.
9920
9921         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9922         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9923         able to ask password for the AP.
9924
9925         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9926         up if the device is already connected, tear down it's connection (if it isn't the
9927         same as new one) and start the activation.
9928
9929         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9930
9931         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9932         the issue where all APs are always listed as encrypted.
9933
9934         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9935         their own registered paths.
9936
9937         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9938         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9939
9940 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9941
9942         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9943         (0 & 0 == 0, doh)
9944
9945         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9946         because the handling code will cause the next state change and signal listeners
9947         get the signals in wrong order.
9948
9949         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9950         correctly in case of pending activation.
9951
9952         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9953         Convert the essid byte array to string correctly, including the terminating NULL.
9954
9955         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9956         mode with correct types.
9957
9958         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9959         constructed info to dbus call instead of the activation request.
9960
9961 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9962
9963         Patch from Christian Persch <chpe@gnome.org>
9964
9965         * libnm-glib/Makefile.am:
9966         * dispatcher-daemon/Makefile.am:
9967         Use the correct variables, the correct paths, and correct ordering. (446315)
9968
9969 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9970
9971         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9972         argument. The activation request is easy to retrieve.
9973
9974         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9975         just to be a convenient location for devices to store random stuff.
9976
9977 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9978
9979         Patch from Alex Smith <alex@alex-smith.me.uk>
9980
9981         * src/backends/NetworkManagerFrugalware.c:
9982         Update the FrugalWare backend to fix a few segfaults. (#392642)
9983
9984 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9985
9986         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9987
9988         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9989         setting.
9990         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9991
9992 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9993
9994         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9995         automagically.
9996         Implement NMSettingIP4Config.
9997         Finish NMSettingWired by adding all known members.
9998         (setting_wired_verify): Implement.
9999         Finish NMSettingWireless by adding all known members.
10000         (setting_wireless_verify): Implement.
10001
10002         * libnm-util/nm-connection.c: Register "ipv4" setting.
10003         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10004         dump function, we can introspect the GHashTable which is used for sending connections
10005         over dbus.
10006
10007         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10008         Take GByteArray for essid, it's really not a string.
10009
10010         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10011         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10012         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10013         means overriding the values we got from DHCP.
10014         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10015         (nm_device_deactivate_quickly): Ditto.
10016
10017         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10018         for debugging.
10019
10020 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10021
10022         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10023         NMConnection.
10024
10025         * libnm-glib/nm-device-802-11-wireless.c:
10026         (nm_device_802_3_ethernet_activate): Remove.
10027
10028         * libnm-glib/nm-device-802-3-ethernet.c
10029         (nm_device_802_3_ethernet_activate): Remove.
10030
10031         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10032
10033         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10034         NMConnection.
10035
10036         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10037         activation has started.
10038         Implement the new activation using NMConnection.
10039
10040         * src/nm-activation-request.c: Store a generic connection object instead
10041         of a wireless-specific AP.
10042
10043         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10044         on device type, create a device specific connection object suitable for
10045         device activation.
10046
10047         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10048         specific check to validate the connection and on success start the
10049         activation.
10050
10051         * src/nm-device-interface.h: Add a activate virtual function to the
10052         interface definition.
10053
10054         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10055         (impl_device_activate): Implement.
10056
10057         * introspection/nm-device.xml: Add a generic device activation interface
10058         that accepts an abstract NMConnection structure that has device-specific
10059         information in it.
10060
10061         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10062         activation interface.
10063
10064         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10065         activation interface.
10066
10067         * libnm-util/nm-connection.c: 
10068         * libnm-util/nm-connection.h: 
10069         * libnm-util/nm-setting.c:
10070         * libnm-util/nm-setting.h: Add.
10071
10072         * libnm-util/Makefile.am: Build the added files.
10073
10074         * src/nm-dbus-manager.c
10075         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10076         DbusConnection argument from 'name-owner-changed' signal. The manager
10077         is already passed as a first argument to the signal and the connection
10078         is easy enough to get from it.
10079
10080         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10081         Update the signature of the function.
10082
10083         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10084         Ditto.
10085
10086         * src/NetworkManager.c: Ditto.
10087
10088         * src/named-manager/nm-named-manager.c
10089         (nm_named_manager_name_owner_changed): Ditto.
10090
10091         * src/supplicant-manager/nm-supplicant-manager.c
10092         (nm_supplicant_manager_name_owner_changed): Ditto.
10093
10094         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10095
10096         * src/dhcp-manager/nm-dhcp-manager.c
10097         (nm_dhcp_manager_name_owner_changed): Ditto.
10098
10099         * src/nm-hal-manager.c: Add a list of device detectors and creators
10100         to make it easier to add new devices. Each device type has it's own
10101         entry in the table so adding new device types is only a matter of
10102         implementing a couple of functions, one for device detection and the
10103         other for device creation.
10104
10105 2007-04-25  Dan Williams  <dcbw@redhat.com>
10106
10107         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10108                 (gnome.org #432401)
10109
10110 2007-03-30  Dan Williams  <dcbw@redhat.com>
10111
10112         * src/NetworkManagerSystem.c
10113                 - (nm_system_device_set_ip4_route): clean up and fix argument
10114                         to nm_dev_sock_open()
10115
10116 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10117
10118         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10119         data to correct types instead of always using string.
10120
10121         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10122         _not_ have NM_802_11_CAP_PROTO_NONE.
10123         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10124         is not set.
10125
10126 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10127
10128         * libnm-glib/Makefile.am: Fix the build issue.
10129
10130 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10131
10132         * libnm-glib/nm-vpn-connection.h: 
10133         * libnm-glib/nm-vpn-connection.c: Implement.
10134
10135         * libnm-glib/nm-client.c: Add VPN support.
10136
10137         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10138         handler for VPN.
10139
10140         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10141         on DBUS again.
10142
10143 2007-03-26  Dan Williams  <dcbw@redhat.com>
10144
10145         * src/NetworkManagerAPList.c
10146         * src/nm-device-802-11-wireless.c
10147         * src/NetworkManagerAP.c:
10148                 - Store last seen as glong instead of GTimeVal.
10149                 - Fix the upper bound of capabilities, it's a bitfield.
10150
10151 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10152
10153         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10154
10155         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10156         "manager-running" signal that notifies the appearance/disappearance of NM.
10157         (nm_client_sleep): Implement.
10158
10159         * libnm-glib/nm-device.c:
10160         * libnm-glib/nm-device-802-11-wireless.c: 
10161         * libnm-glib/nm-device-802-3-ethernet.c: 
10162
10163         Don't inherit from DBusGProxy, add a proxy to private
10164         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10165         for anything but their own dbus interface. DBusGProxy objects support only one
10166         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10167         interface. The nice side effect of this change is that we do not create a new
10168         DBusGProxy object for each property access.
10169
10170 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10171
10172         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10173         with zeroes before passing them to functions - the functions never do that and
10174         reading the values back may produce wrong values.
10175         (real_bring_up): Store the signal handler id ...
10176         (real_bring_down): ... So that it can be removed here.
10177         Disconnect the supplicant interface here as well.
10178         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10179         from the access point instead of old $device/Networks/$essid.
10180
10181         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10182         device state is connected (instead of just having link/carrier).
10183
10184         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10185         already easily accessible through the device.
10186
10187         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10188         store it within the object.
10189         (nm_ap_get_dbus_path): Export it to public as well.
10190
10191         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10192         of the singleton.
10193
10194 2007-03-12  Dan Williams  <dcbw@redhat.com>
10195
10196         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10197         for non-carrier-detect capable devices, and useless for carrier-detect
10198         devices since we get notifications from netlink about carrier status anyway.
10199
10200         * src/nm-device-802-3-ethernet.c
10201                 - remove 'link_source_id' member from private data
10202                 - (probe_link): remove and collapse into real_update_link()
10203                 - (nm_device_802_3_periodic_update): remove
10204                 - (real_is_up): check for sup_iface rather than link_source_id
10205                 - (real_bring_up): return gboolean for success/fail; require that
10206                         sup_iface be valid for device bringup to succeed
10207                 - (real_bring_down): zero out link signal ids
10208
10209         * src/nm-device.c
10210                 - (nm_device_activate_stage2_device_config): fail activation if device
10211                         bringup fails
10212                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10213                         fails
10214                 - (nm_device_bring_up): return success/fail
10215
10216         * src/nm-device.h
10217                 - bring_up now returns success/fail
10218
10219         * src/nm-device-802-11-wireless.c
10220                 - (real_bring_up): return success from bringup
10221
10222 2007-03-07  Dan Williams  <dcbw@redhat.com>
10223
10224         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10225         * src/nm-ap-security-wpa-psk.c
10226                 - (real_write_supplicant_config): work with PSKs that may contain
10227                         zeros in the binary format rather than treating it as a string
10228
10229 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10230
10231         * libnm-glib/nm-device-802-11-wireless.c
10232         (nm_device_802_11_wireless_get_capabilities): Implement.
10233
10234         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10235
10236         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10237
10238         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10239         reply only if it's not NULL. Not sure why this started happening right now.
10240
10241         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10242         code paths for when devices get removed on shutdown or when a device is just
10243         removed.
10244         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10245         gets freed so any signal from a device (disconnected for instance) would invoke
10246         NMState update which would crash.
10247         (nm_manager_remove_device): Bring the device down when it gets removed.
10248
10249         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10250         the unused dev_type.
10251
10252         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10253         reference to the added device, NMManager will own it (if it wants).
10254
10255         * test/nm-tool.c: Rewrite using libnm-glib.
10256
10257         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10258         We get signalled when it changes.
10259
10260         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10261         when it changes.
10262
10263         * libnm-glib/nm-device.c: Cache the device state property.
10264
10265         * libnm-glib/nm-access-point.c: Cache the strength property.
10266
10267         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10268         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10269         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10270         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10271         the device is down, activating, or activated (in case of A/B/G cards).
10272         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10273         it's all done through supplicant now.
10274
10275         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10276         counting issues with pending calls which caused leaks and crashes when
10277         interface was removed (now that the interface actually gets removed).
10278
10279         * src/nm-call-store.c: Make a copy of data before running a foreach
10280         with user callback on it - The most common usage pattern is to cancel
10281         (and thus remove) all pending calls with foreach which would modify
10282         the hash table we're iterating over.
10283
10284         * src/nm-manager.c: When a device is added, make sure it is "up". When
10285         it's removed or disabled due to disabling wireless or networking, bring
10286         it down.
10287
10288         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10289
10290         * src/nm-device-802-11-wireless.c: 
10291         * src/nm-device-802-3-ethernet.c: 
10292         * src/nm-device.c:
10293                 - Remove "init" virtual function, all gobjects have a place for that
10294                   already (constructor).
10295                 - Replace "start" virtual function with "bring_up", devices can be
10296                   brought up and down more than just on startup now.
10297                 - Add "is_up" virtual function.
10298                 - Implement one way to bring a device down instead of previous 4 different
10299                   ways, each of witch did something different.
10300
10301         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10302         all it needs is the device interface.
10303
10304         Get rid of NMData.dev_list (3 members to go).
10305         Get rif of NMData in a lot of places.
10306
10307         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10308
10309 2007-02-23  Dan Williams  <dcbw@redhat.com>
10310
10311         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10312
10313         * src/NetworkManagerAP.c
10314                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10315                         OR-ing rather than AND-ing
10316
10317 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10318
10319         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10320         "network-removed" signals.
10321
10322         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10323
10324         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10325         when receiving the signal from dbus.
10326
10327         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10328         property.
10329
10330         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10331         deactivation of the previously activated device working again.
10332
10333         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10334         and setter.
10335
10336         * src/nm-device.c (nm_device_is_activated): Remove.
10337         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10338
10339         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10340         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10341         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10342         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10343         Remove NMNetworkStatus and NMActStage enums.
10344
10345 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10346
10347         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10348         Handle device state changes and disconnect VPN if it's device deactivates.
10349
10350         * src/nm-dbus-nm.c: 
10351         * src/nm-dbus-nm.h: 
10352         * src/nm-dbus-device.c: 
10353         * src/nm-dbus-device.c: 
10354         * src/nm-dbus-net.c: 
10355         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10356
10357         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10358
10359         * src/nm-device.c (nm_device_get_by_udi):
10360         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10361         implemented in the correct location (NMManager).
10362         Rip out all the test_device stuff.
10363
10364         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10365         failure handlers, it's all done by NMDevice already.
10366
10367         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10368         Remove the iochannel hack to route the unix signals to the main thread since
10369         we're not threaded anymore.
10370
10371         * src/NetworkManagerAP.c: Implement HWAddress property.
10372
10373         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10374         automatically with dbus-glib.
10375
10376         * src/nm-netlink-monitor.c: 
10377         * src/nm-netlink-monitor.h:
10378                 - Move it low in the class hierarchy, don't reference any NM types.
10379                 - Remove private data from the header.
10380                 - Use type safe checks in public API methods.
10381                 - Make it a singleton so we don't have to pass the single reference around.
10382
10383 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10384
10385         * introspection/nm-ip4-config.xml: Implement.
10386
10387         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10388
10389         * libnm-glib/nm-ip4-config.c:
10390         * libnm-glib/nm-ip4-config.c: Implement.
10391
10392         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10393         securities. APs reference security.
10394
10395         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10396         be exported over DBUS.
10397
10398         * src/nm-device-802-3-ethernet.c: Ditto.
10399
10400         * src/NetworkManagerAP.c:
10401         * src/NetworkManagerAP.h:
10402                 - Convert to GObject, export over DBUS.
10403
10404         * src/nm-ip4-config.h:
10405         * src/nm-ip4-config.h:
10406                 - Convert to GObject, export over DBUS.
10407
10408 2007-02-12  Dan Williams  <dcbw@redhat.com>
10409
10410         Patch from Helmut Schaa <hschaa@suse.de>
10411
10412         * vpn-daemons/pptp/configure.in
10413           vpn-daemons/pptp/Makefile.am
10414           vpn-daemons/openvpn/configure.in
10415           vpn-daemons/openvpn/Makefile.am
10416           vpn-daemons/vpnc/configure.in
10417           vpn-daemons/vpnc/Makefile.am
10418                 - Add --without-gnome switch which disables building gnome bits
10419
10420 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10421
10422         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10423
10424         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10425
10426         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10427         'HwAddress'.
10428
10429         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10430
10431         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10432
10433         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10434
10435         * src/:
10436                 - Remove old low-level dbus interface implementations and replace them
10437                   with dbus-glib one.
10438
10439         * configure.in:
10440                 - Require dbus-glib >= 0.72.
10441                 - Plug in new sources to build.
10442
10443         * libnm-glib/:
10444                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10445                   to make it more convenient to use from GObject based programs.
10446
10447         * introspection/:
10448                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10449
10450 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10451
10452         * src/nm-device-802-11-wireless.c:
10453                 - Add "network-added" and "network-removed" signals.
10454                 - Use gobject boilerplate macros to define the GObject.
10455                 - Implement wireless device activation.
10456                 - Remove activation_failure_handler and activation_success_handler
10457                   and instead listen on state-changed signals and run the same code
10458                   from there.
10459
10460         * src/nm-device.c:
10461                 - Implment NMDeviceInterface::deactivate.
10462                 - Remove activation_failure_handler and activation_success_handler
10463                   virtual methods. Each device which is interested in these events
10464                   can just listen on it's state changed signals.
10465
10466         * src/NetworkManagerPolicy.c:
10467                 - Move a bit more NMData usage to NMManager.
10468                 - Remove activation scheduling bits.
10469                 - Add listeners for wireless device's "network-added" and
10470                   "network-removed" signals.
10471                 - Listen device changed signals and deactivate currently activated
10472                   device when another device start activating (for now).
10473                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10474                   for calling this, the policy code knows exactly when this should happen,
10475                   by listening on events from NMManager and NMDevices.
10476
10477         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10478         Implement.
10479
10480         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10481         method on the specific device instead of going to through policy code
10482         and determining the device type by passed in AP's existance.
10483
10484         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10485         abstract NMDevice deactivation.
10486
10487 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10488
10489         * src/NetworkManager.c:
10490                 - Set up all the shiny new managers.
10491
10492         * src/NetworkManagerPolicy.c:
10493                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10494                   classes to call into policy code, make the policy code kind of like
10495                   a supervisor that monitors what's going on and drives the whole NM.
10496
10497         * src/nm-hal-manager.c: 
10498         * src/nm-hal-manager.h:
10499                 - Collect all libhal code scattered around NM to this one class.
10500                 - Listen libhal and NMManager events and add/remove devices to
10501                   NMManager.
10502
10503         * src/nm-manager.c:
10504         * src/nm-manager.h:
10505                 - Implment a replacement for NMData. NMData is now officially
10506                 deprecated.
10507
10508 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10509
10510         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10511         * src/supplicant-manager/nm-supplicant-interface.h
10512         * src/supplicant-manager/nm-supplicant-interface.c
10513         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10514         argument to boolean from enum.
10515
10516         Make NMDevice abstract class, remove almost all references to it's
10517         subclasses (the last place gets removed with new policy manager). Add
10518         NMDeviceInterface (which NMDevice implements) so that when we have
10519         NMDevice exported over DBUS, there's a common NMDevice interface which
10520         all instances have, plus there's a device specific interface for each
10521         specific type.
10522         Remove functions (nm_device_is_802_3_ethernet) and
10523         (nm_device_is_802_11_wireless). There are already standard GObject macros
10524         for type safe checks.
10525         Use the updated supplican manager API.
10526
10527         * src/nm-device-interface.h: 
10528         * src/nm-device-interface.c: 
10529         * src/nm-call-store.h: 
10530         * src/nm-call-store.c: Implement.
10531
10532         * src/supplicant-manager/nm-supplicant-interface.c:
10533         * src/supplicant-manager/nm-supplicant-interface.h:
10534         * src/supplicant-manager/nm-supplicant-manager.c:
10535         * src/supplicant-manager/nm-supplicant-manager.h:
10536                 - Remove all private data type references from public header files.
10537                 - Remove all references to other NM classes, this class is just a
10538                   proxy between wpa_supplicant and NM so it doesn't have to know
10539                   any internals.
10540                 - Convert to dbus-glib bindings.
10541                 - Type safe checks for public methods' arguments.
10542                 - Store pending DBUS call ids to NMCallStore.
10543
10544         * src/supplicant-manager/nm-supplicant-config.c:
10545                 - Store config values in a GHashTable instead of GSList.
10546
10547         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10548
10549         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10550         singleton now.
10551
10552         * src/nm-device.c: Use the new DHCP manager API.
10553
10554         * src/nm-activation-request.c:
10555         * src/nm-activation-request.h:
10556                 - Remove all dhcp related properties and methods.
10557
10558         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10559
10560         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10561
10562         * src/dhcp-manager/nm-dhcp-manager.c:
10563         * src/dhcp-manager/nm-dhcp-manager.h:
10564                 - Convert it to GObject since we need to signal state changes.
10565                 - Remove all references to other NM classes, this class is one
10566                   of the lowest classes in our hierarchy.
10567                 - One less class to use NMActRequest.
10568                 - Make it singleton, one less user of NMData.
10569                 - Remove a couple of sleep() calls.
10570                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10571                   One less class to use the NM's custom tailored signal handlig.
10572
10573         * Makefile.am: Generate marshallers, add them to build.
10574
10575 2007-02-02  Dan Williams  <dcbw@redhat.com>
10576
10577         * configure.in
10578           gnome/Makefile.am
10579           nm-applet.desktop
10580           Makefile.am
10581                 - Remove last bits referencing gnome applet
10582
10583 2007-02-02  Dan Williams  <dcbw@redhat.com>
10584
10585         * src/vpn-manager/nm-vpn-service.c
10586                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10587                         and NBNS server addresses
10588
10589 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10590
10591         * src/nm-dbus-manager.c:
10592         * src/nm-dbus-manager.h:
10593                 - Convert all internal DBUS code to use dbus-glib bindings.
10594                 - Remove GObject properties, we don't need them here.
10595                 - Don't explicitly set things to NULL after freeing, glib is
10596                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10597                 - Make public API argument checks type safe.
10598                 - Remove unnecessary (and wrong) cast to GObject for the first
10599                   argument to g_signal_* calls - The first argument is a gpointer.
10600                 - Export DBusGConnection to other cool classes that (are going to)
10601                   use dbus-glib.
10602
10603 2007-01-26  Dan Williams  <dcbw@redhat.com>
10604
10605         * libnm-util/dbus-dict-helpers.c
10606           libnm-util/dbus-dict-helpers.h
10607                 - Coordinate style with wpa_supplicant version to minimize diff
10608                 - Add uint32 array support
10609                 - (nmu_dbus_dict_append_uint32_array): new function
10610                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10611                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10612                         version; allow adding string array elements individually
10613
10614         * test/libnm-util/test-dbus-dict-helpers.c
10615                 - Test uint32 arrays
10616
10617 2007-01-27  Jürg Billeter  <j@bitron.ch>
10618
10619         * src/backends/NetworkManagerPaldo.c
10620                 - (nm_system_update_dns): clear nscd hosts cache
10621
10622 2007-01-04  Dan Williams  <dcbw@redhat.com>
10623
10624         Threading removal related cleanups:
10625
10626         - Use the glib default main context.  Remove the device main context
10627                 member from NMDevice, and the main_context member from NMData.  Change
10628                 all the idle and timeout scheduler functions to use plain
10629                 g_idle_add() and g_timeout_add().
10630
10631         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10632                 takes an argument; fix that up too.
10633
10634         - Remove all locking, which is useless since we no longer use threads.  For
10635                 example, nm_get_device_by_iface_locked() has been removed.  The global
10636                 device list lock, the AP List lock, and all static locks in
10637                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10638                 in NetworkManagerUtils.c have also been removed.
10639
10640         - Other cleanups in spacing and code style
10641
10642 2007-01-01  Dan Williams  <dcbw@redhat.com>
10643
10644         Found by Bill Moss:
10645
10646         * src/supplicant-manager/nm-supplicant-interface.c
10647                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10648                         the supplicant interface wasn't already disconnected.  Always
10649                         call removeNetwork and disconnect unless the supplicant interface
10650                         is in the DISCONNECTED or INACTIVE state.
10651
10652 2006-12-28  Dan Williams  <dcbw@redhat.com>
10653
10654         Use a single thread for everything.  With the move to wpa_supplicant
10655         and communication over D-Bus, there's no reason for multiple threads.
10656         Almost all of the blocking code has been removed, with one exception in
10657         the DHCP manager and a few in the VPN manager.  This commit removes the
10658         per-device worker thread and fixes activation cancellation in the absence
10659         of threads.  Further removal of thread-related code would be removing
10660         any locking code (like the device list lock) and simplification of logic
10661         around areas of code or data structures that are currently locked.
10662
10663         * autoip.c
10664           dhcp-manager/nm-dhcp-manager.c 
10665           nm-device-802-11-wireless.c
10666           nm-device-802-3-ethernet.c
10667           nm-device.c
10668           nm-device.h
10669                 - Remove usage of multiple threads
10670
10671 2006-12-19  Dan Williams  <dcbw@redhat.com>
10672
10673         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10674         plus a few other patches from wpa_supplicant bugzilla.
10675
10676         * src/Makefile.am
10677           src/NetworkManagerPolicy.c
10678           src/NetworkManagerUtils.c
10679           src/NetworkManagerUtils.h
10680           src/nm-ap-security-leap.c
10681           src/nm-ap-security-wep.c
10682           src/nm-ap-security-wpa-eap.c
10683           src/nm-ap-security-wpa-psk.c
10684           src/nm-ap-security.c
10685           src/nm-ap-security.h
10686           src/nm-device-802-11-wireless.c
10687           src/nm-device-802-11-wireless.h
10688           src/supplicant-manager/nm-supplicant-config.c
10689           src/supplicant-manager/nm-supplicant-config.h
10690           src/supplicant-manager/nm-supplicant-interface.c
10691           src/supplicant-manager/nm-supplicant-interface.h
10692           src/supplicant-manager/nm-supplicant-marshal.list
10693           src/supplicant-manager/nm-supplicant-settings-verify.c
10694           src/supplicant-manager/nm-supplicant-settings-verify.h
10695                 - Move all connection management and association handling to
10696                         wpa_supplicant over dbus, rather than spawning a private copy
10697
10698 2006-12-19  Dan Williams  <dcbw@redhat.com>
10699
10700         * src/NetworkManagerPolicy.c
10701                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10702                         better locking of the device change check handler ID.  Incorrect
10703                         locking was causing lost device change requests
10704
10705 2006-12-18  Dan Williams  <dcbw@redhat.com>
10706
10707         * libnm-util/dbus-dict-helpers.c
10708                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10709                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10710                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10711
10712 2006-12-18  Dan Williams  <dcbw@redhat.com>
10713
10714         * gnome/libnm_glib/libnm_glib.c
10715                 - Change dbus_connection_close() -> dbus_connection_unref()
10716
10717 2006-12-11  Dan Williams  <dcbw@redhat.com>
10718
10719         * src/supplicant-manager/nm-supplicant-interface.c
10720                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10721                         wpa_supplicant interface state
10722                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10723                         state before transitioning to READY state
10724
10725 2006-12-04  Dan Williams  <dcbw@redhat.com>
10726
10727         * src/nm-device-802-11-wireless.c
10728                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10729                         odd length of ESSID returned from ieee80211 stack-based drivers
10730
10731 2006-12-04  Dan Williams  <dcbw@redhat.com>
10732
10733         * src/nm-device-802-11-wireless.c
10734                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10735                         IE handling blocks that cause mis-parsing of the IE
10736
10737 2006-12-04  Dan Williams  <dcbw@redhat.com>
10738
10739         * src/nm-device-802-11-wireless.c
10740                 - (init_supplicant_interface): new function; pull supplicant interface
10741                         setup code out into standalone function since it must be called from
10742                         two different places
10743                 - (real_init): sup_mgr is now in private object data; get and track
10744                         the supplicant manager object over the NMDevice subclass' lifetime
10745                         and register a signal handler for its state signals; only try to
10746                         initialize the supplicant interface if the supplicant manager is in
10747                         the IDLE state (and therefore is ready for requests)
10748                 - (request_wireless_scan): reschedule the scan request if (a) there is
10749                         no supplicant interface yet (meaning wpa_supplicant isn't running
10750                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10751                         for requests yet
10752                 - (supplicant_iface_connection_state_cb): new function; stub for
10753                         handling supplicant interface connection state signals
10754                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10755                         comes and goes
10756                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10757                         supplicant manager object that's being tracked starting with this
10758                         commit
10759
10760 2006-12-04  Dan Williams  <dcbw@redhat.com>
10761
10762         * src/supplicant-manager/nm-supplicant-interface.c
10763                 - (nm_supplicant_interface_set_property): track signal handler ID
10764                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10765
10766 2006-12-04  Dan Williams  <dcbw@redhat.com>
10767
10768         * src/supplicant-manager/nm-supplicant-interface.[ch]
10769                 - (nm_supplicant_interface_get_state): new function
10770
10771 2006-12-04  Dan Williams  <dcbw@redhat.com>
10772
10773         * src/supplicant-manager/nm-supplicant-interface.c
10774                 - (bssid_properties_cb): don't treat DBus errors as valid
10775                         scanned AP messages
10776
10777 2006-12-04  Dan Williams  <dcbw@redhat.com>
10778
10779         * src/supplicant-manager/nm-supplicant-interface.[ch]
10780                 - (nm_supplicant_interface_get_connection_state): new function
10781                 - define new supplicant connection states
10782                 - send a signal when the supplicant connection state changes
10783
10784 2006-12-03  Dan Williams  <dcbw@redhat.com>
10785
10786         * src/supplicant-manager/Makefile.am
10787           src/supplicant-manager/nm-supplicant-connection.h
10788           src/supplicant-manager/nm-supplicant-connection.c
10789           src/supplicant-manager/nm-supplicant-config.h
10790           src/supplicant-manager/nm-supplicant-config.c
10791           src/supplicant-manager/nm-supplicant-types.h
10792           src/supplicant-manager/nm-supplicant-interface.h
10793           src/supplicant-manager/nm-supplicant-interface.c
10794                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10795
10796 2006-12-03  Dan Williams  <dcbw@redhat.com>
10797
10798         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10799
10800         * po/POTFILES.in
10801           po/POTFILES.skip
10802                 - Move VPN-related translatables to .skip
10803
10804         * vpn-daemons/pptp/po/POTFILES.in
10805                 - Update with new translatables
10806
10807 2006-12-02  Dan Williams  <dcbw@redhat.com>
10808
10809         Patch from Christian Persch <chpe@gnome.org>
10810
10811         * gnome/applet/Makefile.am
10812           gnome/applet/applet-dbus-devices.c
10813           gnome/applet/applet-notifications.c
10814           gnome/applet/applet.c
10815           gnome/applet/applet.h
10816           gnome/applet/main.c
10817                 - Be a GtkStatusIcon on GTK+ >= 2.10
10818
10819 2006-12-02  Dan Williams  <dcbw@redhat.com>
10820
10821         * gnome/applet/applet.c
10822                 - (nma_update_info): fix two unecessary allocations
10823
10824 2006-12-02  Dan Williams  <dcbw@redhat.com>
10825
10826         Patch from Michael Biebl <biebl@teco.edu>
10827         * configure.in
10828           man/NetworkManager.1.in
10829           man/NetworkManagerDispatcher.1.in
10830           man/NetworkManager.8.in
10831           man/NetworkManagerDispatcher.8.in
10832                 - Add .SH NAME stanzas
10833                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10834
10835 2006-12-02  Dan Williams  <dcbw@redhat.com>
10836
10837         Patch from Christian Persch <chpe@gnome.org>
10838
10839         * configure.in
10840                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10841
10842 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10843
10844         Patch by Timo Hoenig <thoenig@suse.de>:
10845         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10846         DBUS-1.0.
10847
10848         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10849         we can't use the one from the main source directory.
10850
10851 2006-11-27  Dan Williams  <dcbw@redhat.com>
10852
10853         Patch from Christian Persch <chpe@gnome.org>
10854
10855         * gnome/applet/applet-dbus-devices.c
10856                 - (hal_info_product_cb): fix memleak; free duped string.
10857                         Gnome.org #379908
10858
10859 2006-11-27  Dan Williams  <dcbw@redhat.com>
10860
10861         Patch from Christian Persch <chpe@gnome.org>
10862
10863         * gnome/applet/menu-items.c
10864                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10865                         as gtk_progress_set_percentage is deprecated.  Should
10866                         work as far back as GTK+ 2.4.  Gnome.org #379780
10867
10868 2006-11-26  Dan Williams  <dcbw@redhat.com>
10869
10870         Scan using wpa_supplicant over DBus.
10871
10872         * src/nm-device-802-11-wireless.c
10873                 - remove wireless extensions netlink event handler bits
10874                         (wireless_event_helper, nm_device_802_11_wireless_event)
10875                 - remove wireless extensions scan event handler bits
10876                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10877                         hex2byte, hex2num, request_and_convert_scan_results,
10878                         free_process_scan_cb_data, scan_results_timeout,
10879                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10880                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10881                         and request scans from the supplicant interface rather than directly
10882                 - Move functionality of convert_scan_results() to cull_scan_list() and
10883                         supplicant_iface_scanned_ap_cb()
10884                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10885                         at the scan interval when the current scan has finished
10886                 - (supplicant_iface_state_cb): start scanning when the supplicant
10887                         interface enters the READY state, and stop scanning when it
10888                         enters the DOWN state
10889                 - (cull_scan_list): weed out old access points from the scan list
10890                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10891                         point into an NMAccessPoint and merge it into the device's scan list
10892
10893         * src/supplicant-manager/nm-supplicant-interface.c
10894           src/supplicant-manager/nm-supplicant-interface.h
10895                 - Add a new signal "scan-result" which is issued when the supplicant
10896                         notifies NM that a scan has completed
10897                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10898                         point found in the scan.  Called once for each access point that
10899                         the supplicant interface object receives from the supplicant as a
10900                         result of the "scanResults" method call
10901                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10902                         for the initial scan results
10903                 - (scan_request_cb): new function; send listeners the result
10904                         (success, error) of a wireless scan request
10905                 - (nm_supplicant_interface_request_scan): new function; ask the
10906                         supplicant to perform an immediate wireless scan
10907
10908 2006-11-25  Dan Williams  <dcbw@redhat.com>
10909
10910         * src/supplicant-manager/Makefile.am
10911                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10912                         add HAL cflags/includes and named-manager includes directory
10913
10914         * src/supplicant-manager/nm-supplicant-interface.h
10915                 - New state STARTING to handle transition from INIT to READY where
10916                         the addInterface pending call is still outstanding
10917
10918         * src/supplicant-manager/nm-supplicant-interface.c
10919                 - track pending calls differently since we may have more than one
10920                         going on at any given time
10921                 - request scan results from wpa_supplicant; but don't do it more often
10922                         than every 4 seconds.  Drivers that do background scanning
10923                         (like the 'ipw' drivers) send a continuous stream of scan completion
10924                         notifications, so we don't want to hammer the supplicant or dbus
10925                         with requests for all scan results every time we get a completion
10926                         notification.
10927
10928 2006-11-25  Dan Williams  <dcbw@redhat.com>
10929
10930         * src/supplicant-manager/nm-supplicant-types.h
10931                 - new file; move all supplicant manager object typedefs here for
10932                         #include sanity
10933
10934         * src/supplicant-manager/nm-supplicant-interface.c
10935           src/supplicant-manager/nm-supplicant-interface.h
10936                 - new file; an object that interfaces an NMDevice object to the
10937                         supplicant and handles signals from the supplicant.  This object
10938                         does all necessary DBus communication with wpa_supplicant.
10939
10940         * src/supplicant-manager/nm-supplicant-manager.c
10941           src/supplicant-manager/nm-supplicant-manager.h
10942                 - Actually do something.  Track the state of the wpa_supplicant service
10943                         and deal with its comings & goings.  Handle life events of
10944                         supplicant interfaces too.
10945                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10946
10947         * src/supplicant-manager/nm-supplicant-connection.h
10948                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10949
10950         * src/supplicant-manager/Makefile.am
10951                 - Add new files to build, and add libnm-util to includes
10952
10953         * src/nm-marshal.list
10954                 - New marshaler type: VOID:UINT,UINT
10955
10956         * src/nm-device-802-3-ethernet.c
10957                 - (real_init): grab a supplicant interface
10958                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10959                 - (supplicant_iface_state_cb): new function, stub for handling
10960                         supplicant interface state changes
10961
10962         * src/nm-device-802-11-wireless.c
10963                 - (real_init): grab a supplicant interface
10964                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10965                 - (supplicant_iface_state_cb): new function, stub for handling
10966                         supplicant interface state changes
10967
10968         * src/NetworkManager.c
10969                 - (main): create and keep the supplicant manager around for the lifetime
10970                         of NetworkManager
10971
10972         * src/Makefile.am
10973                 - Link to the supplicant manager sub-library and use the supplicant
10974                         manager includes
10975
10976 2006-11-25  Dan Williams  <dcbw@redhat.com>
10977
10978         Rework DBus manager signal handling to be more flexible.  Previously,
10979         only one signal handler could be registered for a particular interface.
10980         The DBus manager now reference counts DBus bus matches and allows multiple
10981         clients to register signal handlers for the same interface and sender.
10982
10983         * src/NetworkManager.c
10984                 - (main): track NMI signal handler ID and remove it when we quit
10985
10986         * src/NetworkManagerMain.h
10987                 - Keep track of NMI signal handler ID
10988
10989         * src/nm-dbus-manager.c
10990           src/nm-dbus-manager.h
10991                 - rework signal handling; each signal handler references one signal
10992                         match, but a signal match may be referenced by one or more
10993                         signal handlers.  Matches are refcounted and are destroyed when the
10994                         last signal handler that references the match is removed.  This is
10995                         necessary because two signal handlers may end up requiring the same
10996                         dbus bus match, so the match must live until the last signal handler
10997                         is destroyed (for example, with the wpa_supplicant network interface
10998                         dbus interface).
10999
11000         * src/dhcp-manager/nm-dhcp-manager.c
11001                 - (nm_dhcp_manager_new): track DHCP signal handler id
11002                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11003
11004         * src/vpn-manager/nm-vpn-service.c
11005                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11006                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11007
11008 2006-11-25  Dan Williams  <dcbw@redhat.com>
11009
11010         Suggested by Helmut Schaa <hschaa@suse.de>
11011
11012         * src/vpn-daemons/nm-vpn-service.c
11013                 - (supplicant_child_setup): new function
11014                 - (supplicant_exec): make child process use a new process group id
11015
11016         * src/nm-device-802-11-wireless.c
11017                 - (nm_vpn_service_child_setup): new function
11018                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11019                         process group id
11020
11021 2006-11-19  Dan Williams  <dcbw@redhat.com>
11022
11023         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11024         * gnome/vpn-properties/nm-vpn-properties.c
11025                 - clean up after renamed VPN connection
11026
11027 2006-11-19  Dan Williams  <dcbw@redhat.com>
11028
11029         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11030         * gnome/applet/applet-dbus-vpn.c
11031                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11032
11033         * gnome/vpn-properties/nm-vpn-properties.c
11034                 - (init_app): sort VPN connections
11035
11036 2006-11-09  Dan Williams  <dcbw@redhat.com>
11037
11038         * src/NetworkManagerAPList.c
11039                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11040                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11041                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11042                 broke hidden SSID matching.  Found by Bill Moss.
11043
11044 2006-10-25  Dan Williams  <dcbw@redhat.com>
11045
11046         * src/nm-dbus-nm.c
11047                 - (nm_dbus_nm_set_active_device): return an empty success message on
11048                         success, rather than falling through to the error case.
11049
11050 2006-10-25  Dan Williams  <dcbw@redhat.com>
11051
11052         * src/NetworkManagerUtils.c
11053                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11054                         "SCAN" command
11055
11056 2006-10-24  Dan Williams  <dcbw@redhat.com>
11057
11058         Reduce the number of times the Gnome applet wakes up, especially when
11059         it's doing absolutely nothing and is hidden.  Initial patch by
11060         Chris Aillon.
11061
11062         * gnome/applet/applet-dbus.c
11063                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11064                         kill the redraw timeout.  When NM starts up, start the redraw
11065                         timeout.  Also, if we get kicked off the bus for some reason,
11066                         start the reconnection timeout if one's not already running.
11067                 - (nma_dbus_init): better handling of error conditions, don't leak
11068                         a half-initialized dbus connection
11069                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11070                         the applet's data, just call nm_dbus_init_helper()
11071                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11072                         timeout that calls nma_dbus_connection_watcher()
11073                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11074                         reconnection timeout, and don't start the reconnection timeout
11075                         unconditionally anymore
11076
11077         * gnome/applet/applet-dbus.h
11078                 - Expose nma_start_dbus_connection_watch()
11079
11080         * gnome/applet/applet.c
11081                 - (nma_update_state): no longer static, called from applet-dbus.c for
11082                         immediate UI updates on certain events
11083                 - (nma_set_running): new function; take over setting applet->running,
11084                         when not running (ie, NM is not active), don't activate the redraw
11085                         timeout because we're not showing the applet anyway.  When we are
11086                         running (ie, NM is active), and only when we're running, start the
11087                         redraw timeout.
11088                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11089                         kill any reconnection timeout
11090                 - (nma_get_instance): move one-off dbus initialization code here since
11091                         nm_dbus_init_helper() gets called more than once, possibly by the
11092                         reconnection timeout function too.  And, when we start up, if we
11093                         can't get a connection to the bus, start the reconnection timeout.
11094                         But don't start the redraw timeout yet, only do that when we get
11095                         NM's state and find out if it's running or not.
11096
11097         * gnome/applet/applet.h
11098                 - Add the reconnection GSource ID
11099                 - Add prototypes for nma_set_running() and the no-longer-static
11100                         nma_update_state()
11101
11102 2006-10-24  Dan Williams  <dcbw@redhat.com>
11103
11104         * src/vpn-daemons/nm-dbus-vpnc.c
11105                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11106                         pending call tracker
11107                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11108                         pending call tracker; register one-vpn-connection update pending
11109                         call in pending call tracker
11110                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11111                         update pending call in pending call tracker
11112                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11113                         update pending call in pending call tracker; don't block waiting
11114                         for call to return
11115
11116 2006-10-19  Robert Love  <rml@novell.com>
11117
11118         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11119           refresh the cache.
11120
11121 2006-10-14  Dan Williams  <dcbw@redhat.com>
11122
11123         * src/dhcp-manager/nm-dhcp-manager.c
11124                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11125                 the dbus connection and the device object path rather than
11126                 constructing it inside both functions.  Saves a bit of memory
11127                 and clarifies a failure path.
11128                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11129                 and allocate device path here rather than each of the two
11130                 functions above.
11131
11132 2006-10-13  Dan Williams  <dcbw@redhat.com>
11133
11134         * src/NetworkManager.c
11135                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11136                 this somehow droppout in the refactor
11137
11138 2006-10-13  Dan Williams  <dcbw@redhat.com>
11139
11140         * Huge DBus refactor:
11141                 - Create a "DBus Manager" object which manages the connection and
11142                 sends signals on NameOwnerChanged and connection/disconnection events,
11143                 handles reconnection to the bus if NM gets kicked off, and abstracts
11144                 signal handling
11145                 - Remove DBusConnection members from places where they are no
11146                 longer needed due to the refactor, like the dbus-connection
11147                 property of the named manager, and from NMData
11148                 - Reformats a bunch of the code to gnome style
11149                 (8-space tabs, braces on same line as statement, 80-col width).
11150                 Consider it open season to reformat any bits to gnome style.
11151                 style that aren't already.
11152
11153 2006-10-13  Dan Williams  <dcbw@redhat.com>
11154
11155         * src/supplicant-manager/Makefile.am
11156                 - Add new files
11157
11158         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11159                 - Make it a minimal GObject
11160
11161         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11162                 - Verify settings destined for wpa_supplicant
11163
11164         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11165                 - Minimal GObject to track wpa_supplicant controlled device
11166                 connections
11167
11168 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11169
11170         * gnome/applet/applet.c: (nma_update_info),
11171         (nma_act_stage_to_pixbuf), (nma_update_state):
11172         Mark missing strings for translation. Fixes bug #343306.
11173
11174 2006-10-01  Dan Williams  <dcbw@redhat.com>
11175
11176         * src/vpn-manager/nm-vpn-manager.c
11177                 - (nm_vpn_manager_load_services): split and clean up
11178                 for readability and correctness.  Restrict VPN service
11179                 files to ending in ".name", as was meant from the
11180                 beginning (but not coded in).  Better error reporting.
11181
11182 2006-10-01  Dan Williams  <dcbw@redhat.com>
11183
11184         * utils/nm-utils.h
11185                 - Clean up formatting of debug/info/warning log messages
11186
11187 2006-09-27  Robert Love  <rml@novell.com>
11188
11189         Patch by Tambet Ingo <tambet@ximian.com>:
11190         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11191           actually work.
11192
11193 2006-09-07  Dan Williams <dcbw@redhat.com>
11194
11195         * test/Makefile.am
11196           test/libnm-util/Makefile.am
11197           test/nm-supplicant-test.c
11198                 - Add test program emulating the way NM drives wpa_supplicant
11199                 to help debug supplicant issues
11200
11201 2006-08-24  Dan Williams <dcbw@redhat.com>
11202
11203         * configure.in
11204           src/Makefile.am
11205           src/supplicant-manager/Makefile.am
11206           src/supplicant-manager/nm-supplicant-manager.c
11207           src/supplicant-manager/nm-supplicant-manager.h
11208                 - Add skeleton bits of the wpa_supplicant manager
11209
11210 2006-08-24  Dan Williams <dcbw@redhat.com>
11211
11212         Patch from Ed Catmur:
11213         * src/NetworkManagerUtils.c
11214                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11215                 if netmask is 0 (Gnome #352634)
11216
11217 2006-08-17  Robert Love  <rml@novell.com>
11218
11219         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11220           package is now DBUS-enabled and listens for the NM signals.
11221
11222 2006-08-14  Dan Williams  <dcbw@redhat.com>
11223
11224         * Patch from Christian Persch <chpe gnome org>
11225         * configure.in
11226           po/LINGUAS
11227           vpn-daemons/openvpn/po/LINGUAS
11228           vpn-daemons/openvpn/configure.in
11229           vpn-daemons/pptp/po/LINGUAS
11230           vpn-daemons/pptp/configure.in
11231           vpn-daemons/vpnc/po/LINGUAS
11232           vpn-daemons/vpnc/configure.in
11233                 - Convert to LINGUAS method so translators don't have to modify
11234                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11235                 0.35 or higher
11236
11237 2006-08-14  Dan Williams  <dcbw@redhat.com>
11238
11239         Patch from Alex Smith <alex.extreme2@gmail.com>
11240         * configure.in
11241           src/backends/Makefile.am
11242           src/backends/NetworkManagerFrugalware.c
11243                 - Add support for Frugalware
11244
11245 2006-08-13  Dan Williams  <dcbw@redhat.com>
11246
11247         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11248         * src/nm-device-802-11-wireless.c
11249                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11250                 Gnome #346875
11251
11252 2006-08-13  Dan Williams  <dcbw@redhat.com>
11253
11254         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11255         * src/nm-ap-security.c
11256           src/nm-ap-security.h
11257                 - Add authentication_required bits for subclasses to specify whether
11258                 or not real authentication is required for connections, i.e. whether
11259                 the AP rejects us when an encryption key is wrong or not.
11260
11261         * src/nm-ap-security-wep.c
11262           src/nm-ap-security-wpa-eap.c
11263           src/nm-ap-security-wpa-psk.c
11264           src/nm-ap-security-leap.c
11265                 - Implement authentication_required appropriately for each method
11266
11267         * src/nm-device-802-11-wireless.c
11268                 - Be smarter about when to request a key; for example, using a wrong key
11269                 in WEP shared key mode previously just timed out and did not request
11270                 a new key
11271
11272 2006-08-13  Dan Williams  <dcbw@redhat.com>
11273
11274         * gnome/libnm_glib/libnm_glib.c
11275                 - dbus_connection_disconnect() -> dbus_connection_close() for
11276                 dbus >= 0.90
11277
11278 2006-08-07  Dan Williams  <dcbw@redhat.com>
11279
11280         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11281         * src/NetworkManagerSystem.c
11282                 - Respect specified MTU.  Gnome #344967
11283
11284 2006-08-07  Dan Williams  <dcbw@redhat.com>
11285
11286         * src/vpn-manager/nm-vpn-service.c
11287                 - Simplify print_vpn_config() arguments
11288
11289         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11290         * src/vpn-manager/Makefile.am
11291           src/vpn-manager/nm-vpn-service.c
11292                 - Add new API for passing VPN config options as a dict. Gnome #344967
11293
11294 2006-08-06  Dan Williams  <dcbw@redhat.com>
11295
11296         * gnome/applet/applet-dbus-devices.c
11297           gnome/applet/applet-dbus-vpn.c
11298           gnome/applet/applet-dbus.c
11299           gnome/applet/applet-dbus.h
11300           src/nm-dbus-nmi.c
11301           utils/nm-utils.c
11302           utils/nm-utils.h
11303                 - Make pending call tracking code generic,
11304                 so we can use it in NM as well as the applet
11305
11306 2006-08-06  Dan Williams  <dcbw@redhat.com>
11307
11308         * src/nm-activation-request.c
11309                 - Refcount pending call objects
11310
11311 2006-08-06  Dan Williams  <dcbw@redhat.com>
11312
11313         Patch from Christan Chiesa <christanc@gmail.com>
11314         * configure.in
11315                 - Tell sha1.c to use bigendian mode on PPC
11316
11317 2006-08-04  Robert Love  <rml@novell.com>
11318
11319         Glib Memory Slices!
11320         * configure.in: Require glib 2.10 or later.
11321         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11322           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11323           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11324           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11325           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11326           Memory Slices are the greatest thing since bread slices.
11327         * src/NetworkManagerAP.c: Also, fix memory leak.
11328
11329 2006-08-01  Robert Love  <rml@novell.com>
11330
11331         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11332
11333 2006-07-31  Robert Love  <rml@novell.com>
11334
11335         * src/backends/interface_parser.c: Declarations must begin the block.
11336
11337 2006-07-24  Dan Williams  <dcbw@redhat.com>
11338
11339         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11340         * src/backends/Makefile.am
11341           src/backends/NetworkManagerArch.c
11342           src/backends/NetworkManagerDebian.c
11343           src/backends/NetworkManagerGeneric.c
11344           src/backends/NetworkManagerGeneric.h
11345           src/backends/NetworkManagerGentoo.c
11346           src/backends/NetworkManagerPaldo.c
11347           src/backends/NetworkManagerRedHat.c
11348           src/backends/NetworkManagerSlackware.c
11349           src/backends/NetworkManagerSuSE.c
11350                 - Genericize common backend functions
11351
11352 2006-07-18  Robert Love  <rml@novell.com>
11353
11354         * configure.in: Add "--with-notify" option to allow disabling of
11355           libnotify support.
11356
11357 2006-07-13  Dan Williams  <dcbw@redhat.com>
11358
11359         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11360         * gnome/applet/applet.glade
11361           gnome/applet/Makefile.am
11362           gnome/applet/nm-gconf-wso.c
11363           gnome/applet/nm-gconf-wso-leap.c
11364           gnome/applet/nm-gconf-wso-leap.h
11365           gnome/applet/wireless-security-manager.c
11366           gnome/applet/wso-leap.c
11367           gnome/applet/wso-leap.h
11368           include/NetworkManager.h
11369           libnm-util/dbus-helpers.c
11370           libnm-util/dbus-helpers.h
11371           src/Makefile.am
11372           src/NetworkManagerAP.c
11373           src/nm-ap-security.c
11374           src/nm-ap-security-leap.c
11375           src/nm-ap-security-leap.h
11376                 - Add LEAP authentication support
11377
11378 2006-07-13  Dan Williams  <dcbw@redhat.com>
11379
11380         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11381         * configure.in
11382           src/backends/NetworkManagerArch.c
11383           src/backends/NetworkManagerDebian.c
11384           src/backends/NetworkManagerGentoo.c
11385           src/backends/NetworkManagerPaldo.c
11386           src/backends/NetworkManagerRedHat.c
11387           src/backends/NetworkManagerSlackware.c
11388           src/backends/NetworkManagerSuSE.c
11389                 - Convert hardcoding of 'ip' path to configure-time
11390                         detected one
11391
11392 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11393
11394         * configure.in: added ru to ALL_LINGUAS
11395
11396 2006-07-10  Dan Williams  <dcbw@redhat.com>
11397
11398         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11399         * src/nm-device.c
11400                 - (real_act_stage3_ip_config_start): don't infinite loop when
11401                         dhcdbd isn't running (Gnome #346845)
11402
11403 2006-07-09  Dan Williams  <dcbw@redhat.com>
11404
11405         * gnome/applet/applet.c
11406                 - (nma_destroy): don't pass NULL to notify_notification_close
11407                         (RH #197917)
11408
11409 2006-07-09  Dan Williams  <dcbw@redhat.com>
11410
11411         * gnome/applet/applet.c
11412                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11413
11414 2006-07-04  Tor Krill  <tor@krill.nu>
11415
11416         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11417         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11418         (nm_system_restart_mdns_responder), (ArchReadConfig),
11419         (nm_system_device_get_system_config):
11420                 - Explicitly check for DHCP configuration
11421                 - Check if daemons are running before starting them
11422
11423 2006-06-25  Dan Williams  <dcbw@redhat.com>
11424
11425         * libnm-util/dbus-dict-helpers.[ch]
11426           test/libnm-util/test-dbus-dict-helpers.c
11427                 - Add string array support
11428
11429 2006-06-24  Dan Williams  <dcbw@redhat.com>
11430
11431         * src/dhcp-manager/nm-dhcp-manager.c
11432                 - (nm_dhcp_manager_process_signal): clean up spacing
11433
11434 2006-06-21  Dan Williams  <dcbw@redhat.com>
11435
11436         * src/nm-dbus-device.c
11437                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11438                         through dbus
11439
11440 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11441
11442         * configure.in: Added 'lv' to ALL_LINGUAS
11443
11444 2006-06-19  Dan Williams  <dcbw@redhat.com>
11445
11446         * src/NetworkManagerAP.c
11447                 - Clarify usage of user_created
11448
11449         * src/nm-ap-security-wep.c
11450           src/nm-ap-security-wpa-eap.c
11451           src/nm-ap-security-wpa-psk.c
11452           src/nm-ap-security.c
11453           src/nm-ap-security.h
11454                 - s/user_created/adhoc, because we really do mean adhoc
11455
11456         Patch from Bernard Blackham <bernard@blackham.com.au>
11457         * src/nm-device-802-11-wireless.c         
11458                 - (supplicant_send_network_config): instead of user_created,
11459                         use adhoc, and do AP_SCAN 2 for adhoc networks
11460
11461 2006-06-18  Robert Love  <rml@novell.com>
11462
11463         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11464           we have a value to set.  Gconf generates a warning if `val' is NULL.
11465         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11466           unless we actually received a valid private key file passphrase or
11467           password.  Otherwise, we don't know to later ask the applet to pull
11468           the key from the keyring.
11469
11470 2006-06-17  Dan Williams  <dcbw@redhat.com>
11471
11472         * libnm-util/dbus-dict-helpers.[ch]
11473           test/libnm-util/test-dbus-dict-helpers.c
11474                 - Fixes for zero-length byte arrays
11475                 - Replace return values of 0 with FALSE for clarity
11476                 - Test zero-length byte arrays
11477
11478 2006-06-17  Dan Williams  <dcbw@redhat.com>
11479
11480         * libnm-util/dbus-dict-helpers.[ch]
11481           test/libnm-util/test-dbus-dict-helpers.c
11482                 - Add helpers for byte arrays
11483                 - Rework bits of the testcase
11484
11485 2006-06-16  Dan Williams  <dcbw@redhat.com>
11486
11487         * libnm-util/Makefile.am
11488         * libnm-util/dbus-dict-helpers.[ch]
11489                 - Add some helpers to take the pain out of using dict types in
11490                         dbus.
11491
11492         * test/libnm-util/Makefile.am
11493         * test/libnm-util/test-dbus-dict-helpers.c
11494                 - Test cases for the dict helper functions
11495
11496 2006-06-15  Robert Love  <rml@novell.com>
11497
11498         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11499           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11500           if there is no key to pass.
11501         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11502           receiving a non-NULL key.
11503
11504 2006-06-14  Robert Love  <rml@novell.com>
11505
11506         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11507           copy the strings.
11508
11509
11510 2006-06-14  Dan Williams  <dcbw@redhat.com>
11511
11512         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11513         * src/nm-device-802-11-wireless.c
11514                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11515                         or ones where the driver is unknown
11516                 - (supplicant_exec): don't wait for supplicant startup here
11517                 - (supplicant_interface_init): finer grained polling for supplicant
11518                         startup
11519
11520 2006-06-13  Robert Love  <rml@novell.com>
11521
11522         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11523           if it is currently set to TRUE.  Otherwise, we will reset the value
11524           when we connect normally.
11525         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11526           the old BSSID is valid, too.  The recently added ESSID check may not be
11527           sufficient (we can remove it?).  What we really want to catch is the
11528           case of going from all-zeros to the BSSID of some other network, which
11529           happens on failure.
11530
11531 2006-06-09  Dan Williams  <dcbw@redhat.com>
11532
11533         * src/NetworkManagerSystem.[ch]
11534                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11535                         it was unused and pointless
11536                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11537                         fix for set_up_down_with_iface change
11538
11539         * src/vpn-manager/nm-vpn-connection.c
11540                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11541
11542         * src/backends/NetworkManagerPaldo.c
11543           src/backends/NetworkManagerRedHat.c
11544           src/backends/NetworkManagerSuSE.c
11545           src/backends/NetworkManagerArch.c
11546           src/backends/NetworkManagerDebian.c
11547           src/backends/NetworkManagerGentoo.c
11548                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11549                         appropriate
11550                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11551                         where appropriate
11552
11553 2006-06-09  Dan Williams  <dcbw@redhat.com>
11554
11555         Patch from Peter Jones:
11556         * src/nm-device-802-11-wireless.c
11557                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11558                         SSID hasn't changed from what we expect before automatically
11559                         updating the saved BSSID from a new AP
11560
11561 2006-06-08  Robert Love  <rml@novell.com>
11562
11563         Add 'fallback' support.  NetworkManager will attempt to brute-force
11564         connect to networks marked as fallback if there are no better wireless
11565         connections available.  This is useful as a method of last resort, to
11566         work around driver problems, and for use with hidden networks.
11567         * gnome/applet/applet-dbus-devices.c,
11568           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11569         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11570           pass it on via DBUS.
11571         * gnome/applet/applet.c: No fallback by default.
11572         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11573           Update other-network-dialog to add UI checkbox toggling fallback.
11574         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11575           propery from AP object.  Add "fallback" property to AP object.
11576         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11577         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11578         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11579           separate function.  Add get_best_fallback_ap() for returning an AP
11580           on which to attempt fallback.
11581         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11582         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11583
11584 2006-06-07  Robert Love  <rml@novell.com>
11585
11586         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11587           checked that the return type was GCONF_VALUE_STRING, not the correct
11588           GCONF_VALUE_BOOL, and thus it never worked.
11589         * src/NetworkManagerAPList.c: Before concluding that two networks are
11590           identical based on their BSSID, make sure that the BSSID in question
11591           is actually valid.  Specifically, an empty or all zero BSSID does not
11592           cut it.
11593         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11594           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11595           similar invariant clean up.
11596
11597 2006-06-02  Robert Love  <rml@novell.com>
11598
11599         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11600
11601 2006-05-28  Dan Williams  <dcbw@redhat.com>
11602
11603         * gnome/applet/applet.glade
11604           gnome/vpn-properties/nm-vpn-properties.glade
11605                 - Set window icons on dialogs  (Gnome.org #333420)
11606
11607 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11608
11609         * gnome/vpn-properties/nm-vpn-properties.glade:
11610         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11611         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11612         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11613                 - Make the VPN properties pages prettier and more HIG
11614                   compliant. Gnome Bug #336913.
11615
11616 2006-05-28  Dan Williams  <dcbw@redhat.com>
11617
11618         Patch from Christian Persch <chpe@gnome.org>
11619         * gnome/vpn-properties/nm-vpn-properties.c
11620         * gnome/vpn-properties/nm-vpn-properties.glade
11621                 - HIG-ification love  (Gnome.org #336846)
11622
11623 2006-05-28  Dan Williams  <dcbw@redhat.com>
11624
11625         Patch from Christian Persch <chpe@gnome.org>
11626         * configure.in
11627           gnome/vpn-properties/nm-vpn-properties.c
11628                 - (main): Fix option parsing.  Gnome.org #336847
11629
11630 2006-05-28  Dan Williams  <dcbw@redhat.com>
11631
11632         * gnome/vpn-properties/nm-vpn-properties.c
11633                 - (find_vpn_ui_by_service_name): protect against NULL service names
11634                 - (update_edit_del_sensitivity): protect against NULL service names
11635                         Gnome.org #341306
11636
11637 2006-05-28  Dan Williams  <dcbw@redhat.com>
11638
11639         Patch from Chris Fuller <crf@grandecom.net>:
11640         * src/nm-device-802-11-wireless.c
11641                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11642                         don't dispose of wireless-specific stuff unless it is actually
11643                         initialized.  Gnome.org #341263
11644
11645 2006-05-28  Dan Williams  <dcbw@redhat.com>
11646
11647         * src/NetworkManagerPolicy.c
11648                 - (nm_policy_device_change_check): don't switch devices if the "best"
11649                         AP is essentially the same as the current activation request, but
11650                         the current activation request isn't done activating yet.  Fixes
11651                         multiple requests for keyring password on startup for Gnome applet.
11652                         Gnome.org #341297
11653
11654 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11655
11656         * src/NetworkManager.c: use GOptions instead of getopt
11657         * configure.in: bump glib required version to >= 2.6 for GOption
11658           support
11659
11660 2006-05-25  Robert Love  <rml@novell.com>
11661
11662         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11663           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11664           instead of dumping ifdef's throughout the code.
11665         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11666           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11667           use nm_ioctl_info() in lieu.
11668
11669 2006-05-25  Robert Love  <rml@novell.com>
11670
11671         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11672         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11673           not using gcrypt.  Otherwise, we get a linker error.
11674
11675 2006-05-25  Robert Love  <rml@novell.com>
11676
11677         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11678         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11679           configure flag to disable building of the GNOME-based applet.
11680
11681 2006-05-25  Robert Love  <rml@novell.com>
11682
11683         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11684           parameter from link, because it shadows a global variable with some
11685           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11686           should never have exported to the entire system a common four letter
11687           word.  But we here at NetworkManager are team players.  Fixes
11688           GNOME bug #336532.
11689
11690 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11691
11692         * configure.in: Added mk.po, Macedonian translation.
11693
11694 2006-05-24  Robert Love  <rml@novell.com>
11695
11696         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11697           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11698           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11699
11700 2006-05-24  Robert Love  <rml@novell.com>
11701
11702         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11703           libnm-util/Makefile.am, src/Makefile.am,
11704           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11705           vpn-daemons/openvpn/properties/Makefile.am,
11706           vpn-daemons/pptp/auth-dialog/Makefile.am,
11707           vpn-daemons/pptp/properties/Makefile.am,
11708           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11709           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11710           user passed for --datadir, if anything, when setting the GNOME locale
11711           directory.  It should be a function of the specified datadir and not
11712           the prefix.
11713
11714 2006-05-24  Robert Love  <rml@novell.com>
11715
11716         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11717           src/NetworkManager.c: Take care to call bindtextdomain with the
11718           location of msgid files.
11719         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11720           files.
11721
11722 2006-05-22  Robert Love  <rml@novell.com>
11723
11724         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11725           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11726           99% of the time there is a real problem with wireless, and a
11727           seemingly successful connection via Zeroconf just confuses the user.
11728           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11729
11730 2006-05-22  Robert Love  <rml@novell.com>
11731
11732         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11733           autofs on interface up if NIS is configured.  On interface down, do
11734           nothing.
11735
11736 2006-05-22  Robert Love  <rml@novell.com>
11737
11738         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11739           to avoid calling g_object_unref() on stale pointers on error in
11740           nma_icons_free().  This happens because we short-circuit loaded the
11741           icons on the first failure but then free all icons.  Normally we have
11742           no issue because the icons were zero'ed out malloc, but we have stale
11743           pointer data after nma_icon_theme_changed().
11744         * gnome/applet/main.c: Return error code if nma_new() failed.
11745
11746 2060-05-21  Dan Williams  <dcbw@redhat.com>
11747
11748         * initscript/NetworkManager.in
11749                 - Ensure both dhcdbd and named are started before NM
11750
11751 2006-05-21  Dan Williams  <dcbw@redhat.com>
11752
11753         * configure.in
11754                 - Bump version to 0.7 to signify we are in 0.7 development
11755
11756 2006-05-21  Dan Williams  <dcbw@redhat.com>
11757
11758         Patch from Adam Schreiber <sadam@clemson.edu>
11759         * gnome/vpn-properties/nm-vpn-properties.c
11760                 - (main): correct Gnome program name  (gnome.org #342498)
11761
11762 2006-05-21  Dan Williams  <dcbw@redhat.com>
11763
11764         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11765
11766         * src/NetworkManagerDbus.[ch]
11767                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11768                         clarify that function's argument should be an escaped dbus object
11769                         path, and look for path segment end before returning a match
11770         * src/nm-dbus-nm.c:
11771                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11772
11773 2006-05-17  Robert Love  <rml@novell.com>
11774
11775         Functionality to differentiate Ad-Hoc networks from infrastructure
11776         networks in the applet, by displaying a special icon:
11777         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11778         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11779         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11780           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11781           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11782           networks, encrypted or not.
11783         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11784           accessor functions to get and set the mode of a given network,
11785           wireless_network_get_mode() and wireless_network_set_mode().
11786
11787 2006-05-17  Robert Love  <rml@novell.com>
11788
11789         Functionality to automatically add BSSIDs to the allowed-MAC list as
11790         one roams from access point to access point on a given network:
11791         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11792           helper function to compare two ether_addr structures and return TRUE
11793           if they contain the same MAC address.
11794         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11795           prototype.
11796         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11797           stored with the current AP.  If the BSSID has indeed changed, we
11798           send it out to the applet, allowing the allowed-MAC list to grow
11799           automatically in response to roaming.
11800
11801 2006-05-16  Robert Love  <rml@novell.com>
11802
11803         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11804           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11805
11806 2006-05-13  Dan Williams  <dcbw@redhat.com>
11807
11808         * src/nm-device-802-3-ethernet.c
11809                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11810                         carrier detect (Debian bug #366373)
11811
11812 2006-05-11  Dan Williams  <dcbw@redhat.com>
11813
11814         Patch from Michael Biebl <biebl@teco.edu>
11815         * src/backends/NetworkManagerDebian.c
11816                 - Debian backend fixups
11817
11818 2006-05-10  Robert Love  <rml@novell.com>
11819
11820         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11821
11822 2006-05-09  Robert Love  <rml@novell.com>
11823
11824         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11825           private certificate passphrase, if any, in the GNOME Keyring.
11826         * libnm-utils/dbus-helpers.c: Update.
11827
11828 2006-05-05  Dan Williams  <dcbw@redhat.com>
11829
11830         * src/nm-device-802-11-wireless.c
11831                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11832                         nm_device_802_11_wireless_disable_encryption() since that's all
11833                         we use it for anymore; we don't ever set WEP keys ourselves.
11834                 - (real_deactivate_quickly): reset SSID and encryption keys
11835                 - (real_deactivate): move SSID and encryption key reset to
11836                         real_deactivate_quickly(), which gets run before us anyway
11837
11838 2006-05-05  Robert Love  <rml@novell.com>
11839
11840         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11841           root has a wacky default of its own (or, more common, a user has a
11842           bad umask and uses su/sudo to restart NetworkManager).  Anything
11843           other than 0022 does not do what we want with, for example,
11844           resolv.conf.  This problem is amplified by our judicious use of
11845           fopen(), which uses mode 0666 -- implying that the only way to get
11846           the permissions we want is with a umask of 0022.
11847
11848 2006-05-05  Dan Williams  <dcbw@redhat.com>
11849
11850         * gnome/libnm_glib/libnm_glib.c
11851                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11852                         to reconnect; instead wait a bit more with each reconnect attempt
11853                         up to a max of one minute.
11854
11855 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11856
11857         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11858           the WirelessNetwork structure using the proper function instead of
11859           just casting it directly to (const char *) (gnome.org #336991)
11860
11861 2006-05-03  Robert Love  <rml@novell.com>
11862
11863         * src/backends/NetworkManagerSuSE.c: Respect the variable
11864           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11865           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11866           to dynamically update /etc/resolv.conf.
11867
11868 2006-05-02  Peter Jones  <pjones@redhat.com>
11869
11870         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11871
11872 2006-05-02  Robert Love  <rml@novell.com>
11873
11874         Patch by Timo Hoenig;
11875         * tests/nm-online.c: Print pretty status indicator as timeout winds
11876           down.  Also fix possible race between DBUS startup and failure
11877           return.
11878
11879 2006-05-01  Robert Love  <rml@novell.com>
11880
11881         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11882           empty, too.
11883
11884 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11885
11886         * src/nm-device.c (discover_device_type): Actually use the hal
11887         device type instead of ioctl poking
11888
11889 2006-04-26  Robert Love  <rml@novell.com>
11890
11891         * tests/nm-online.c: New file.  Simple utility that returns exit status
11892           noting whether the connection is offline or online.  If offline on
11893           start, it waits 30 seconds (or a command-line given value) for an
11894           online signal.  If it times out, it again returns offline.  This is
11895           useful for scripts that want to wait for network connections.
11896
11897 2006-04-25  Robert Love  <rml@novell.com>
11898
11899         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11900           key mode (the authentication algorithm), e.g. open or shared, when we
11901           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11902           only shared was broken.  If the user specified a shared key, set it
11903           explicitly, otherwise let wpa_supplicant go with the default.
11904
11905 2006-04-24  Dan Williams  <dcbw@redhat.com>
11906
11907         * src/nm-device-802-11-wireless.c
11908                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11909
11910 2006-04-24  Dan Williams  <dcbw@redhat.com>
11911
11912         Commit the async scanning patch
11913
11914         * src/nm-device-802-11-wireless.c
11915                 - get rid of scan_mutex
11916                 - (wireless_event_helper): act on wireless scan events
11917                 - (real_start): schedule a pending scan
11918                 - (link_to_specific_ap): fake the link to the AP during a scan
11919                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11920                         strength during scans
11921                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11922                         nm_device_set_bitrate): unused with new scanning code, disable
11923                 - (nm_device_wireless_schedule_scan): removed
11924                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11925                 - (request_and_convert_scan_results): new function; retrieve scan
11926                         results from the driver and schedule the processing function
11927                 - (scan_results_timeout): timeout triggered when card doesn't send
11928                         a scan results wireless event during a certain interval
11929                 - (schedule_scan_results_timeout): new function; schedule the scan
11930                         results timeout
11931                 - (cancel_scan_results_timeout): new function; cancel the scan
11932                         results timeout
11933                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11934                         to do the scanning.  Otherwise, just request a scan but don't
11935                         grab results here; instead schedule a timeout for scan results and
11936                         let netlink notify us of scan completion events
11937                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11938                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11939                 - (supplicant_status_cb): ignore disconnect events while scanning
11940                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11941                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11942                         timeouts
11943                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11944
11945 2006-04-24  Dan Williams  <dcbw@redhat.com>
11946
11947         * gnome/applet/applet-dbus.c
11948                 - Disable the pending call debug stuff, seems under control now
11949
11950 2006-04-20  Robert Love  <rml@novell.com>
11951
11952         Fix bug where hidden ESSID's would not show up in the applet, even
11953         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11954         because nm_policy_device_list_update_from_allowed_list() would merge
11955         the data, putting a name to the hidden networks, but never notify NMI
11956         of the changes.  Simple fix is to invoke the function
11957         nm_dbus_signal_wireless_network_change() if we make a mapping.
11958         * src/NetworkManagerAPList.c: Call the function
11959           nm_dbus_signal_wireless_network_change() if we made a successful
11960           BSSID to ESSID mapping, notifying the applet of the "new" network.
11961         * src/NetworkManagerAPList.h: Update the prototypes for both
11962           nm_ap_list_copy_essids_by_address() and
11963           nm_ap_list_copy_one_essid_by_address().
11964
11965 2006-04-20  Robert Love  <rml@novell.com>
11966
11967         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11968           not set.  Just return zero.
11969
11970 2006-04-20  Robert Love  <rml@novell.com>
11971
11972         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11973           only one copy of nm-vpn-properties is running at a time via the 'ol
11974           X selection trick.  This prevents the user from opening two "VPN
11975           Connections" windows from within the applet, which leads to mass
11976           hysteria.
11977         * clipboard.c: New file, implementing simple X selection logic.
11978         * clipboard.h: New file.
11979         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11980
11981 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11982
11983         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11984         * configure.in
11985           initscript/Gentoo/Makefile.am
11986           initscript/Gentoo/NetworkManagerDispatcher.in
11987                 - New script
11988         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11989           Gentopia
11990
11991 2006-04-16  Dan Williams  <dcbw@redhat.com>
11992
11993         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11994         * configure.in
11995           initscript/Slackware/Makefile.am
11996           initscript/Slackware/rc.networkmanager-dispatcher.in
11997           initscript/Slackware/rc.networkmanager.in
11998                 - Update slackware initscripts
11999
12000 2006-04-10  Robert Love  <rml@novell.com>
12001
12002         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12003           the "delete_event" signal on the druid's parent window and handle it
12004           our way, lest using the WM to close the druid results in a series of
12005           bloody and ultimately lethal errors.
12006
12007 2006-04-10  Robert Love  <rml@novell.com>
12008
12009         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12010           'Back' too or else the 'Forward' option is initially disabled despite
12011           valid input.
12012
12013 2006-04-06  Robert Love  <rml@novell.com>
12014
12015         Fix bad but simple bug where an active modem connection did not update
12016         NM's connection state, breaking any app that did online/offline:
12017         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12018           represented whether a dial up connection is active, or not.
12019         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12020           to modem activation and deactivation.
12021         * src/NetworkManagerDbus.c: When asked our state, do not return
12022           disconnected if the modem is active.
12023
12024 2006-04-04  Robert Love  <rml@novell.com>
12025
12026         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12027           applet.  It just confuses the crap out of people and does not make a
12028           lot of sense, as the daemon still runs.
12029
12030 2006-04-02  Tor Krill  <tor@krill.nu>
12031
12032         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12033           in start of service.
12034         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12035           get Archlinux backend up to date.
12036
12037 2006-03-29  Robert Love  <rml@novell.com>
12038
12039         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12040         to add support for per-route MSS and improve support for per-interface
12041         MTU:
12042         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12043           optionally take an MSS parameter and set it for the given route.
12044           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12045           NMIP4Config's stored MSS, if any.
12046         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12047           the interface's MTU and the route's MSS, respectively.  Add functions
12048           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12049           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12050           MSS.
12051         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12052           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12053           nm_ip4_config_set_mss.
12054         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12055           VPN daemon.
12056         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12057           Change the retval of nm_system_get_mtu to guint32.
12058         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12059           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12060           servers can specify MTU's, we should set it here if the MTU was not
12061           provided.
12062
12063 2006-03-27  Jürg Billeter  <j@bitron.ch>
12064
12065         * configure.in:
12066         * initscript/Makefile.am:
12067         * initscript/paldo/Makefile.am:
12068         * initscript/paldo/NetworkManager.in:
12069         * initscript/paldo/NetworkManagerDispatcher.in:
12070         * src/backends/Makefile.am:
12071         * src/backends/NetworkManagerPaldo.c:
12072                 - Add paldo support
12073
12074 2006-03-27  Dan Williams  <dcbw@redhat.com>
12075
12076         Patch from Christian Persch <chpe@gnome.org>
12077         * gnome/applet/applet.glade
12078                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12079
12080 2006-03-27  Dan Williams  <dcbw@redhat.com>
12081
12082         Patch from Diffe <diffie@blazebox.homeip.net>
12083         * src/backends/NetworkManagerSlackware.c
12084                 - Don't restart howl, since it's been replaced by Avahi
12085                         in most distributions
12086
12087 2006-03-27  Dan Williams  <dcbw@redhat.com>
12088
12089         Patch from Tor Krill <bugzilla@krill.nu>
12090         * configure.in
12091           initscript/Makefile.am
12092           src/backends/Makefile.am
12093           src/backends/NetworkManagerArch.c
12094           initscript/Arch/Makefile.am
12095           initscript/Arch/networkmanager-dispatcher.in
12096           initscript/Arch/networkmanager.in
12097                 - Add Arch Linux support, fixes gnome.org #335147
12098
12099 2006-03-27  Dan Williams  <dcbw@redhat.com>
12100
12101         Patch from Diffe <diffie@blazebox.homeip.net>
12102      * initscript/Slackware/rc.networkmanager
12103         - update, fixed gnome.org #333368
12104
12105 2006-03-27  Robert Love  <rml@novell.com>
12106
12107         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12108           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12109
12110 2006-03-27  Robert Love  <rml@novell.com>
12111
12112         Patch by Jürg Billeter <j@bitron.ch>:
12113         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12114           systems.
12115         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12116           as we prefer glibc over kernel headers, if possible.
12117
12118 2006-03-27  Robert Love  <rml@novell.com>
12119
12120         Patch by Jon Escombe <list@dresco.co.uk>:
12121         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12122         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12123           fail, don't bail out.  We don't expect all of the various WPA-EAP
12124           values to be present.
12125         * src/nm-ap-security.c: We need to match all capabilities for each
12126           encryption type, not any one of them.
12127
12128 2006-03-27  Robert Love  <rml@novell.com>
12129
12130         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12131           restart, not reload, ypbind.  Unfortunately there is no superior
12132           solution.
12133
12134 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12135
12136         * gnome/applet/applet-notifications.c:
12137         When displaying a notification, make sure to get rid of the
12138         previous notification so as to not have competing bubbles,
12139         and stop leaking the old one.
12140
12141         * gnome/applet/applet.c:
12142         * gnome/applet/applet.h:
12143         Add a new 'notification' member to the applet, and zero it out
12144         and free it appropriately.
12145
12146 2006-03-23  Robert Love  <rml@novell.com>
12147
12148         Patch by j <j@bootlab.org>:
12149         * gnome/applet/applet.glade: Don't set the invisible_char property,
12150           which simply overrides the GTK default.  By and by, this behavior
12151           ought to be fixed in Glade.
12152
12153 2006-03-22  Robert Love  <rml@novell.com>
12154
12155         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12156
12157 2006-03-22  Robert Love  <rml@novell.com>
12158
12159         Bug fix by Timo Hoenig <thoenig@suse.de>:
12160         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12161           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12162           and the applet going AWOL.
12163
12164 2006-03-22  Robert Love  <rml@novell.com>
12165
12166         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12167           preprocessor define and use it instead of open-coded the DHCP
12168           timeout, which is currently 25 seconds, everywhere.
12169
12170 2006-03-22  Robert Love  <rml@novell.com>
12171
12172         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12173         key exchange via WPA, ostensibly providing good security without
12174         requiring hardware that supports full WPA.  Also, add UI elements to
12175         allow the user to select the pairwise & group cipher for WPA Enterprise
12176         networks, too:
12177         * gnome/applet/applet.glade: Update glade file.
12178         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12179           key type, too, to and from gconf.
12180         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12181           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12182           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12183           the capabilities match.
12184         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12185           prototype.
12186         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12187           serialize from UI to DBUS.
12188         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12189           one element.
12190         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12191           nmu_security_serialize_wpa_eap_with_cipher(), and
12192           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12193           serialize/deserialize the key type via DBUS as the new third DBUS
12194           parameter.
12195         * libnm-util/dbus-helpers.h: Update prototypes.
12196         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12197           too.  If the key type is WEP104, do Dynamic WEP, which means
12198           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12199           pairwise and group ciphers (fixes a FIXME).
12200
12201 2006-03-21  Robert Love  <rml@novell.com>
12202
12203         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12204           nm_system_get_mtu(), which returns a user-provided or system-mandated
12205           MTU value for a given device, if any, or zero if no such value
12206           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12207           if we have a provided value.
12208         * src/nm-device.c: Set the MTU of devices.
12209         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12210         * src/backends/NetworkManagerDebian.c,
12211           src/backends/NetworkManagerGentoo.c,
12212           src/backends/NetworkManagerRedHat.c,
12213           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12214
12215 2006-03-21  Robert Love  <rml@novell.com>
12216
12217         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12218           configuration file.
12219
12220 2006-03-17  Robert Love  <rml@novell.com>
12221
12222         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12223           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12224           it, in case it is not running in the first place.  We just want its
12225           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12226
12227 2006-03-15  Robert Love  <rml@novell.com>
12228
12229         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12230           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12231           label "WEP 40/128-bit" is inconsistent because the physical key size
12232           is 40 or 104-bits, to which a 24-bit initialisation vector is
12233           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12234           to read "40/104" or "64/128".  I do not care much which, but most
12235           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12236           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12237           WEP passphrase support only handles 128-bit keys, and any future
12238           64-bit passphrase support will require a new option (no way to auto-
12239           detect the target key size), explicitly label our passphrase support
12240           "WEP 128-bit Passphrase".
12241
12242 2006-03-15  Robert Love  <rml@novell.com>
12243
12244         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12245           the system init scripts (or some other mechanism) starting it (or a
12246           compatible DBUS service) before NetworkManager runs.  This means that
12247           distributions might need to update their init scripts.  This fixes
12248           possible races and is quite a bit cleaner.
12249         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12250           starting the NetworkManager daemon.
12251
12252
12253 2006-03-14  Robert Love  <rml@novell.com>
12254
12255         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12256           before adding anything.
12257
12258 2006-03-13  Robert Love  <rml@novell.com>
12259
12260         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12261           widgets, too, if they exist, in case the user hit the back button.
12262           Fixes a bug where the details page contains the widgets of multiple
12263           VPN modules (Novell bug #157048).
12264
12265 2006-03-13  Robert Love  <rml@novell.com>
12266
12267         Patch by Timo Hoenig <thoenig@suse.de>:
12268         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12269           daemon survive DBUS restarts, too.
12270
12271 2006-03-10  Robert Love  <rml@novell.com>
12272
12273         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12274           passphrase or key.
12275         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12276           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12277           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12278           in response to "toggled" signal on new toggle.
12279
12280 2006-03-10  Robert Love  <rml@novell.com>
12281
12282         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12283           serialization if strings are NULL, lest DBUS get angry.
12284
12285 2006-03-10  Robert Love  <rml@novell.com>
12286
12287         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12288
12289 2006-03-09  Robert Love  <rml@novell.com>
12290
12291         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12292           configurations.
12293
12294 2006-03-09  Dan Williams  <dcbw@redhat.com>
12295
12296         Track pending call requests in the applet, and report how many are
12297         outstanding, and how long each completed one takes.
12298         
12299         * gnome/applet/applet-dbus-devices.c
12300           gnome/applet/applet-dbus-vpn.c
12301                 - Track pending calls
12302
12303         * gnome/applet/applet-dbus.[ch]
12304                 - Remove some unused enums
12305                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12306                         new functions to track dbus pending calls and spit out some
12307                         statistics about them
12308
12309 2006-03-09  Robert Love  <rml@novell.com>
12310
12311         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12312           nm_ap_set_timestamp() take the second and micro-second parameters as
12313           direct arguments, which avoids both a dynamic memory allocation and a
12314           structure-to-structure copy!  Add a new interface, the aptly named
12315           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12316           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12317           the return from nm_ap_get_timestamp().  New users should use the new
12318           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12319           the extreme benefit to performance.
12320         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12321           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12322
12323 2006-03-08  Robert Love  <rml@novell.com>
12324
12325         * gnome/applet/applet.glade: Hide the password entry text with
12326           asterisks.
12327
12328 2006-03-08  Robert Love  <rml@novell.com>
12329
12330         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12331           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12332           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12333           a second argument, NMData.
12334         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12335         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12336           config files as trusted.
12337
12338 2006-03-06  Robert Love  <rml@novell.com>
12339
12340         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12341         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12342           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12343           Rivera, detect if the applet was auto-started.  If so, ask the user
12344           if he or she would like to stop automatically running the applet on
12345           login.  If so, disable autostart.
12346
12347 2006-03-06  Robert Love  <rml@novell.com>
12348
12349         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12350           directory in CFLAGS so developers can actually use NetworkManager.h.
12351
12352 2006-03-06  Robert Love  <rml@novell.com>
12353
12354         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12355           open-coded integer constants.  Add state_to_string() to map a given
12356           state to a textual description, and provide that when notifying of
12357           state change.
12358         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12359           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12360           this header directly, but it is currently not installed on most
12361           systems.
12362
12363 2006-03-05  Dan Williams  <dcbw@redhat.com>
12364
12365         Process netlink messages in device subclasses rather than in
12366         NetworkManager.c.  Also add support for recognizing Wireless Events.
12367         
12368         * configure.in
12369                 - Find GLIB_GENMARSHAL
12370
12371         * src/Makefile.am
12372                 - Since we're marshalling custom types for wireless event signals,
12373                         we get to create our own marshallers using GLIB_GENMARSHAL
12374
12375         * src/NetworkManager.c
12376                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12377                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12378                         cut down somewhat.  We no longer process signals here.
12379                 - (nm_data_new): create the netlink monitor here, and remove a
12380                         useless call to nm_policy_schedule_device_change_check()
12381                 - (nm_data_free): get rid of the netlink monitor here
12382                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12383                 - (main): don't create the netlink monitor here, let nm_data_new
12384                         do that.  Call nm_policy_schedule_device_change_check() right
12385                         before we jump to the mainloop to figure out which device
12386                         to use first
12387
12388         * src/NetworkManagerSystem.[ch]
12389                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12390                         convert back and forth from interface names to interface
12391                         indexes
12392
12393         * src/nm-device-802-11-wireless.c
12394                 - (real_init): connect to wireless-event signals from the netlink
12395                         monitor object
12396                 - (nm_device_802_11_wireless_event): new function, schedule handler
12397                         for wireless event signals from the netlink monitor object.  We
12398                         want the handler to run in the device's context
12399                 - (wireless_event_helper): handle wireless-event signals from netlink
12400                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12401                         signal handler
12402
12403         * src/nm-device-802-11-wireless.h
12404                 - remove unused prototype for nm_device_802_11_wireless_new
12405
12406         * src/nm-device-802-3-ethernet.c
12407                 - (real_init): new function; set up signal handlers for link events
12408                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12409                         handler for netlink link activated events on device's main loop
12410                 - (link_activated_helper): when we get a link activated event, set
12411                         the device's link to be active
12412                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12413                         handler for netlink link deactivated events on device's main loop
12414                 - (link_deactivated_helper): when we get a link deactivated event, set
12415                         the device's link to be inactive
12416                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12417                         dispose
12418
12419         * src/nm-device-802-3-ethernet.h
12420                 - remove unused prototype for nm_device_802_3_ethernet_new
12421
12422         * src/nm-device.[ch]
12423                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12424                         but locks the device list
12425                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12426
12427         * src/nm-netlink-monitor.[ch]
12428                 - (nm_netlink_monitor_class_install_signals): New signal
12429                         "wireless-event"
12430                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12431                         at the device list
12432                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12433
12434         * src/nm-marshal-main.c
12435                 - Include generated nm-marshal.c and nm-marshal.h
12436
12437         * src/nm-marshal.list
12438                 - List of custom marshal functions
12439
12440 2006-03-05  Dan Williams  <dcbw@redhat.com>
12441
12442         * gnome/applet/applet-notifications.h
12443                 - Protect prototype of nma_send_event_notification() because it
12444                         includes libnotify-specific types
12445                 - Include libnotify/libnotify.h too, since we technically need it
12446
12447         * gnome/applet/applet.c
12448                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12449                 - (nma_show_vpn_login_banner_dialog): add some error checking
12450
12451 2006-03-04  Dan Williams  <dcbw@redhat.com>
12452
12453         Clean up activation cancellation.  Should be a lot faster now.  Observed
12454         an issue with wireless devices between stage 2 and 3 of activation, where
12455         activation would be cancelled, but the device thread wouldn't notice until
12456         the supplicant association timed out.  Reorganize activation such that
12457         a cancellation handler gets immediately scheduled in the device's thread,
12458         and devices have a chance to perform any custom cleanup too.
12459
12460         * src/nm-device.[ch]
12461                 - (activation_cancel_handler): new device-type-specific function
12462                         for cleaning up device-type-specific stuff on cancellation
12463                 - (cancel_activation): removed
12464                 - (nm_device_activation_cancel): subsume functionality of
12465                         real_cancel_activation, but instead of doing anything, punt
12466                         operation to a handler that's run in device-thread context
12467                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12468                         a warning message
12469                 - (activation_handle_cancel_helper): cancellation handler run in
12470                         device-thread context, calls device-type-specific cancelation,
12471                         then tears down the activation request
12472                 - (real_activation_cancel_handler): generic cancellation handler,
12473                         deals with cancelling any in-process DHCP request
12474                 - (nm_device_activate_stage1_device_prepare,
12475                    nm_device_activate_stage2_device_config,
12476                    nm_device_activate_stage3_ip_config_start,
12477                    nm_device_activate_stage4_ip_config_get,
12478                    nm_device_activate_stage4_ip_config_timeout,
12479                    nm_device_activate_stage5_ip_commit): don't call
12480                         nm_device_schedule_activation_handle_cancel() any more, since
12481                         cancellation will have been already scheduled for us by
12482                         nm_device_activation_cancel().  Just exit the function and
12483                         assume that the cancel handler will be called next.
12484
12485         * src/nm-device-802-3-ethernet.c
12486                 - (real_act_stage2_config): remove; didn't do anything anyway
12487
12488         * src/nm-device-802-11-wireless.c
12489                 - (supplicant_status_cb): ensure we don't do anything if the activation
12490                         got cancelled
12491                 - (real_activation_cancel_handler): implement; cancel user key request
12492                         on activation cancellation
12493
12494 2006-03-04  Dan Williams  <dcbw@redhat.com>
12495
12496         * src/nm-device-802-11-wireless.c
12497                 - (supplicant_send_network_config): assume that drivers that don't
12498                         support WPA pretty much suck, and can't handle NM scanning
12499                         along with wpa_supplicant.
12500
12501 2006-03-03  Robert Love  <rml@novell.com>
12502
12503         * configure.in: Bump version to 0.6.0.
12504         * NEWS: Update.
12505
12506 2006-03-03  Robert Love  <rml@novell.com>
12507
12508         * configure.in: Require DBUS 0.60 or later.
12509
12510 2006-03-03  Dan Williams  <dcbw@redhat.com>
12511
12512         Fix a crash if an "Other wireless network" was chosen, failed, then
12513         chosen again from the applet's menu.  If the other network wasn't
12514         noticed in a scan, it wouldn't have any capabilities, but would still
12515         be listed because the user forced the network.  To fix this, we set
12516         sensible capabilities on the forced network, which will get overwritten
12517         with the correct ones if the network shows up later in a scan.
12518         
12519         * src/nm-ap-security.h
12520                 - Add a new "get_default_capabilities_func" member to the
12521                         NMAPSecurity class
12522
12523         * src/nm-ap-security.c
12524                 - (nm_ap_security_get_default_capabilities): new function
12525
12526         * src/nm-ap-security.c
12527           src/nm-ap-security-wep.c
12528           src/nm-ap-security-wpa-psk.c
12529           src/nm-ap-security-wpa-eap.c
12530                 - Implement get_default_capabilities_func() for all, which
12531                         uses the information contained in a specific NMAPSecurity
12532                         object to determine default AP capabilites necessary
12533                         to support that object
12534
12535         As a secondary measure, we now prune artificial access points that fail
12536         to be activated right away.  The thing failed, and we have no scan data for
12537         it, so it's pretty much useless since security information is only saved
12538         in the applets when a connection is successful.
12539
12540         * src/NetworkManagerAPList.c
12541                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12542                         not artificial.  If we see it, it's no longer a figment of the
12543                         user's imagination :)
12544
12545         * src/NetworkManagerPolicy.c
12546                 - (nm_policy_activation_failed): send along the failed AP if we
12547                         have it
12548
12549         * src/nm-device-802-11-wireless.c
12550                 - (real_activation_failure_handler): remove artificial APs from
12551                         the device list, because activation failed
12552
12553 2006-03-02  Robert Love  <rml@novell.com>
12554
12555         Add support for retrieving both the per-device speed and the
12556         per-network maximum supported rate.  Then change the getProperties
12557         DBUS API for both networks and devices to report this informaiton.
12558         Finally, display the information via both nm-applet and nm-tool:
12559         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12560           and set it.
12561         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12562           Information' dialog.
12563         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12564         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12565           network_device_get_speed() and network_device_set_speed() for
12566           retrieving and setting, respectively, a network device's current
12567           speed.
12568         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12569         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12570           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12571           not matter (yet) what the units are, because we only feed it its own
12572           output.  Implement SIOCGIRATE and set the per-network maximum
12573           supported rate during scanning.
12574         * src/nm-device-802-11-wireless.h: Export the function
12575           nm_device_802_11_wireless_get_bitrate().
12576         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12577           function nm_device_802_3_ethernet_get_speed() for returning an
12578           802.3's current speed, in Mb/s.
12579         * test/nm-tool.c: Display the per-device current speed, if available,
12580           and the per-network maximum rate.
12581
12582 2006-03-02  Dan Williams  <dcbw@redhat.com>
12583
12584         * src/nm-device-802-11-wireless.c
12585                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12586                         card when it gets initialized.  Since devices don't get added to
12587                         the scan list until they are initialized, this function wasn't
12588                         setting the intitial scan interval correctly, and was leaving
12589                         it at 0.  This caused cards to get many scan requests in a short
12590                         amount of time when they were initialized
12591
12592 2006-03-02  Robert Love  <rml@novell.com>
12593
12594         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12595           active device.  But do not do what we used to do and override the
12596           state, which caused the dreaded icon race of '05.
12597
12598 2006-03-02  Robert Love  <rml@novell.com>
12599
12600         Commit Dan's update of my previous commit:
12601         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12602           set_mode() function itself does the check.  But do only set the
12603           frequency if in Ad-Hoc mode.
12604
12605 2006-03-02  Robert Love  <rml@novell.com>
12606
12607         Patch by Brian Magnuson <magnuson@rcn.com>:
12608         * src/nm-device-802-11-wireless.c: During scanning, only set the
12609           wireless mode to infrastructure if it is not currently in
12610           infrastructure mode.  For some driver, setting the mode is a costly
12611           operation, apparently.
12612
12613 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12614
12615         * Makefile.am: use the correct dir for autostart mechanism.
12616
12617 2006-02-28  Dan Williams  <dcbw@redhat.com>
12618
12619         Patch from Brian Magnuson <magnuson@rcn.com>
12620         * gnome/applet/applet.c
12621                 - (nma_show_vpn_failure_dialog): fix errors left over from
12622                         libnotify support changes
12623
12624 2006-02-28  Dan Williams  <dcbw@redhat.com>
12625
12626         * src/vpn-manager/nm-vpn-act-request.[ch]
12627                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12628                         just one value
12629                 - (nm_vpn_act_request_is_failed): new function; return whether or
12630                         not the vpn activation request has failed
12631
12632         * src/vpn-manager/nm-vpn-manager.c 
12633                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12634                         daemon to kill the connection when the activation request fails.
12635                         Fixes issue where NM would get confused if the VPN activation
12636                         request timed out, and would not allow further VPN connections
12637                         on that service.
12638
12639 2006-02-28  Dan Williams  <dcbw@redhat.com>
12640
12641         * gnome/applet/applet.c
12642                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12643                         overlapping connection requests, disable all VPN menu items
12644                         but the active VPN connection
12645
12646 2006-02-28  Dan Williams  <dcbw@redhat.com>
12647
12648         * src/vpn-manager/nm-vpn-connection.c
12649                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12650                         called g_object_unref() on the connection's parent device
12651                         when it should have been ref-ed instead.  Fixes crash with
12652                         repeated vpn connect requests
12653
12654 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12655
12656         * gnome/applet/applet.glade:
12657         Mark a few strings non-translatable, since they shouldn't be.
12658
12659 2006-02-28  Dan Williams  <dcbw@redhat.com>
12660
12661         * src/vpn-manager/nm-vpn-service.c
12662                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12663                         already running, don't blindly ask it to connect, but wait until
12664                         it's in the STOPPED state first.  Fixes an assertion when user
12665                         starts a second vpn connection without stopping the first.
12666                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12667                         dbus service exists before continuing with the connection
12668                         process, and reduce latency while waiting for it to become
12669                         available
12670                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12671                         waiting for the vpn service daemon to become available
12672                 - General log message cleanups; show progress via "Stage x of 4"
12673                         rather than not telling anyone how many stages there are
12674
12675 2006-02-28  Robert Love  <rml@novell.com>
12676
12677         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12678         * src/backends/NetworkManagerSuSE.c: Implement the interface
12679           nm_system_should_modify_resolv_conf() for SUSE.
12680         * src/backends/NetworkManagerDebian.c,
12681           src/backends/NetworkManagerGentoo.c,
12682           src/backends/NetworkManagerRedHat.c,
12683           src/backends/NetworkManagerSlackware.c: Add stub.
12684         * src/named-manager/Makefile.am: Grab includes from src.
12685         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12686           automatic updating of resolv.conf.  This is useful for testing,
12687           broken static configurations, and administrator lock-down.
12688
12689 2006-02-28  Dan Williams  <dcbw@redhat.com>
12690
12691         * src/nm-device-802-11-wireless.c
12692                 - Move all the wpa_supplicant-related management stuff into its
12693                         own struct, just for oranization's sake
12694                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12695                         to a GIOChannel/GSource
12696                 - (supplicant_log_stdout): new function; grab output from the
12697                         wpa_supplicant stdout pipe and write it to our logs.
12698
12699 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12700
12701         * src/nm-device-802-11-wireless.c:
12702         Err, fix thinko in my previous commit.
12703
12704 2006-02-28  Robert Love  <rml@novell.com>
12705
12706         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12707
12708 2006-02-28  Robert Love  <rml@novell.com>
12709
12710         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12711           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12712           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12713           deserializers are responsible for freeing the returned DBUS strings.
12714
12715 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12716
12717         * src/nm-device-802-11-wireless.c:
12718         The scan list is being pruned prematurely.  We should prune after
12719         the device has gone MIA for three scans, not one.  Split out the
12720         interval to realtime seconds function to better serve this.
12721
12722 2006-02-27  Robert Love  <rml@novell.com>
12723
12724         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12725           Open the pid file O_TRUNC, so if it already exists we truncate it to
12726           zero length.  Also, be more verbose about warnings generated during
12727           writing out the pid file.  Finally, always write out the pid file if
12728           in daemon mode.  Use "--pid-file" to override the default.
12729
12730 2006-02-27  Robert Love  <rml@novell.com>
12731
12732         Patch by R. Vinay <rvinay@novell.com>:
12733         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12734           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12735           Novell bug #153628).
12736           
12737 2006-02-27  Robert Love  <rml@novell.com>
12738
12739         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12740           entry so user can hit <ENTER> after entering passphrase (Novell bug
12741           #153738).
12742
12743 2006-02-27  Dan Williams  <dcbw@redhat.com>
12744
12745         * gnome/applet/*
12746                 - Mass search/replace of:
12747                         nmwa -> nma
12748                         NMWirelessApplet -> NMApplet
12749                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12750                    (it ain't just for wireless anymore, ma!)
12751                 - Fix duplicate function name printing when using nm_warning
12752                 - wireless-applet.glade -> applet.glade
12753
12754 2006-02-27  Dan Williams  <dcbw@redhat.com>
12755
12756         * dispatcher-daemon/NetworkManagerDispatcher.c
12757                 - Accept --pid-file with a path to a pidfile, write it out on
12758                         startup, and delete it on shutdown
12759
12760         * src/NetworkManager.c
12761                 - Accept --pid-file with a path to a pidfile, write it out on
12762                         startup, and delete it on shutdown
12763                 - Move nm_print_usage() lower
12764
12765         * initscripts/RedHat/NetworkManager.in
12766                 - Use new --pid-file option
12767                 - Fix service stopping to wait a bit for NM to quit
12768
12769         * initscripts/RedHat/NetworkManagerDispatcher.in
12770                 - Use new --pid-file option
12771
12772 2006-02-26  Dan Williams  <dcbw@redhat.com>
12773
12774         * src/Makefile.am
12775                 - make and install nm-crash-logger
12776
12777         * src/nm-logging.[ch]
12778                 - New files; consolidate logging and crash handling
12779
12780         * src/nm-crash-logger.c
12781           src/gdb-cmd
12782                 - Standalong crashlogger for NM, grab a backtrace
12783                         using GDB
12784
12785         * src/NetworkManager.[ch]
12786                 - Remove signal handling and put it into nm-logging.c
12787
12788 2006-02-26  Dan Williams  <dcbw@redhat.com>
12789
12790         * configure.in
12791           gnome/applet/Makefile.am
12792                 - Conditionalize all the notify stuff
12793
12794         Merge most of Chris Aillon's notification patch:
12795         
12796         * gnome/applet/applet-notifications.[ch]
12797                 - New files; show a notification
12798         
12799         * gnome/applet/applet-dbus-devices.[ch]
12800                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12801                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12802                         new functions, do the right thing when a device change occurs
12803
12804         * gnome/applet/applet-dbus.c
12805                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12806                         signals, so we can handle them specially
12807
12808         * gnome/applet/applet.[ch]
12809                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12810                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12811                 - (nmwa_notify_state): remove
12812                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12813                         notification work is now done when the appropriate dbus signals
12814                         are received.
12815                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12816                         defer execution of the notification/dialog stuff.  That was an
12817                         artifact of the previous multi-threaded nature of the applet
12818                         and is now pointless.
12819                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12820                         no longer needed.  Function folded into applet-notifications.c
12821
12822         * src/NetworkManagerPolicy.c
12823                 - (nm_policy_activation_finish): send the AP along with the device
12824                         status change signal, if the connection is wireless.  Should
12825                         fix the race where applet would show a connection to "unknown"
12826
12827 2006-02-25  Robert Love  <rml@novell.com>
12828
12829         Add WPA Enterprise support:
12830         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12831           nm-gconf-wso-wpa-eap.h.
12832         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12833           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12834           serialization and deserialization.
12835         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12836           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12837           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12838         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12839           settings related to WPA Enterprise.
12840         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12841           instantiate WPA Enterprise wireless-security-option.
12842         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12843           Implement WPA Enterprise wireless-security-option object.
12844         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12845           defines.  Cleanup.
12846         * libnm-util/cipher-wpa-psk-hex.c,
12847           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12848         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12849           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12850           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12851           including the cipher to DBUS method, and
12852           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12853           to output.
12854         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12855           nm-ap-security-wpa-eap.h
12856         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12857           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12858         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12859           files.  Implement NMAPSecurityWPA_EAP object.
12860         * src/nm-ap-security-wpa-psk.c: Cleanup.
12861         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12862           an NMAPSecurityWPA_EAP object via the method
12863           nm_ap_security_wpa_eap_new_deserialize().
12864         * src/nm-dbus-nm.c: Cleanup.
12865         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12866           WPA Enterprise support.
12867
12868 2006-02-24  Robert Love  <rml@novell.com>
12869
12870         Patch from Timo Hoenig <thoenig@suse.de>:
12871         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12872
12873 2006-02-24  Robert Love  <rml@novell.com>
12874
12875         Patch from Dan Winship <danw@novell.com>:
12876         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12877           area to transparent.
12878
12879 2006-02-21  Dan Williams  <dcbw@redhat.com>
12880
12881         * gnome/applet/applet.[ch]
12882           gnome/applet/applet-dbus.c
12883                 - Implement notification support for VPN messages too
12884
12885 2006-02-21  Dan Williams  <dcbw@redhat.com>
12886
12887         * gnome/applet/applet-dbus-info.c
12888                 - Clean up warning messages to not double-print the function
12889
12890 2006-02-21  Dan Williams  <dcbw@redhat.com>
12891
12892         * gnome/applet/applet-compat.c
12893                 - (convert_one_entry): accept entries without a key_type and
12894                         convert them to unencrypted networks
12895
12896 2006-02-21  Dan Williams  <dcbw@redhat.com>
12897
12898         * gnome/libnm_glib/libnm_glib.c
12899                 - Use __func__ everywhere we can
12900                 - Code cleanups
12901                 - Use dbus pending calls rather than blocking
12902                 - Reduce busywaits for our thread to start and stop
12903                         (gnome.org #330562)
12904                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12905                         stomp on others using the default shared dbus connection.
12906                         Fixes #rh177546# and gnome.org #326572
12907
12908 2006-02-21  Dan Williams  <dcbw@redhat.com>
12909
12910         Patch from Rodney Dawes <dobey@novell.com>
12911         * configure.in
12912           gnome/applet/Makefile.am
12913           gnome/applet/applet.c
12914                 - Add libnotify support if '--enable-notify=yes' is passed
12915                   at configure time
12916
12917 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12918
12919         * configure.in (ALL_LINGUAS): ko added. (Korean)
12920
12921 2006-02-15  Robert Love  <rml@novell.com>
12922
12923         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12924           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12925           and WPA_SUPPLICANT_CONTROL_SOCKET.
12926         
12927 2006-02-15  Robert Love  <rml@novell.com>
12928
12929         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12930           information about what connection stage we are at, provide the total
12931           number of stages, e.g. "Stage 2 of 5", so users know how far along
12932           they are if they experience problems.
12933
12934 2006-02-15  Robert Love  <rml@novell.com>
12935
12936         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12937           define to $sysconfdir.
12938         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12939           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12940           type of VPN and then editing another results in a mangled dialog
12941           box containing the widgets from both VPNs (fixes Novell #150854).
12942           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12943
12944 2006-02-14  Robert Love  <rml@novell.com>
12945
12946         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12947           syslog's file descriptor.
12948
12949 2006-02-14  Robert Love  <rml@novell.com>
12950
12951         Fix bug around since the change to "deal with APs changing settings on
12952         us," checked in on the fifth of February in the year of the dog, 
12953         wherein connecting to non-broadcast encrypted networks always fails
12954         because nm_ap_get_encrypted() always returns FALSE, even when the user
12955         provided a key, because the newly-created fake AP does not have any
12956         capabilities set, which is a sypmtom of security settings not matching
12957         capabilities (Novell bug #150784):
12958         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12959           nm_ap_add_capabilities_from_security(), which sets the given AP's
12960           capabilities off the given security settings.  Also improve our
12961           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12962           NM_AUTH_CIPHER_AUTO.
12963         * src/nm-device-802-11-wireless.c: Call the function
12964           nm_ap_add_capabilities_from_security() to ensure that capabilities
12965           match newly updated security settings.
12966
12967 2006-02-14  Robert Love  <rml@novell.com>
12968
12969         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12970           error as a string, not an integer, if possible; do not print the
12971           function name twice; always give the interface, if possible; misc.
12972           cleanup.
12973
12974 2006-02-12  Dan Williams  <dcbw@redhat.com>
12975
12976         Patch from Tom Parker <palfrey@tevp.net>
12977         * src/NetworkManagerSystem.h
12978                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12979                         no longer used
12980
12981         * src/backends/NetworkManagerDebian.c
12982                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12983                         unused variables
12984
12985 2006-02-12  Dan Williams  <dcbw@redhat.com>
12986
12987         * vpn-daemons/openvpn/intltool-extract.in
12988           vpn-daemons/openvpn/intltool-merge.in
12989           vpn-daemons/openvpn/intltool-update.in
12990           vpn-daemons/pptp/intltool-extract.in
12991           vpn-daemons/pptp/intltool-merge.in
12992           vpn-daemons/pptp/intltool-update.in
12993                 - Remove from CVS, they should get created by intltoolize,
12994                         shouldn't they?
12995
12996 2006-02-12  Dan Williams  <dcbw@redhat.com>
12997
12998         * vpn-daemons/pptp/src/pppd/patchlevel.h
12999         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13000                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13001                         Makefile-defined VERSION
13002
13003 2006-02-09  Dan Williams  <dcbw@redhat.com>
13004
13005         Patch from: Vinay A R <rvinay@novell.com>
13006         * src/vpn-manager/nm-vpn-act-request.[ch]
13007                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13008                         IPSec VPNs require them for std gateway.
13009                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13010                         and 'user_routes_count'
13011                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13012                         defined routes  from NMVPNActRequest object, returns the string
13013                         array of routes.
13014
13015         * src/vpn-manager/nm-vpn-manager.[ch]
13016                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13017                         for 'user_routes' and 'user_routes_count'
13018         
13019         * src/vpn-manager/nm-dbus-vpn.c
13020                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13021                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13022         
13023         * src/vpn-manager/nm-vpn-service.c
13024                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13025                         the vpn daemon
13026
13027         Modifications by Dan:
13028         * src/vpn-manager/nm-vpn-service.c
13029                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13030                         arrays into dbus
13031
13032         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13033         * vpn-daemons/pptp/src/nm-pptp-service.c
13034         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13035                 - Grab user routes from dbus message
13036                 - Free all string arrays we got from dbus
13037
13038 2006-02-07  Robert Love  <rml@novell.com>
13039
13040         Patch by Stefan Seyfried <seife@suse.de>:
13041         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13042
13043 2006-02-06  Robert Love  <rml@novell.com>
13044
13045         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13046
13047 2006-02-06  Robert Love  <rml@novell.com>
13048
13049         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13050           test ">=" is never false.  If no newline is found, we loop forever.
13051           We can just check for ">" because the following if() will see the
13052           zero-th argument if the while() gets that far.
13053
13054 2006-02-05  Dan Williams  <dcbw@redhat.com>
13055
13056         Refine handling of non-broadcast networks.
13057
13058         * src/NetworkManagerAPList.c
13059                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13060                         property from scanned AP to the AP from the device list
13061
13062         * src/nm-device-802-11-wireless.c
13063                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13064                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13065                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13066                         networks since those don't have APs.
13067                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13068                         AP as non-SSID-broadcasting
13069                 - (process_scan_results): don't handle non-SSID-broadcasting here
13070
13071 2006-02-05  Dan Williams  <dcbw@redhat.com>
13072
13073         * src/nm-device-802-11-wireless.c
13074                 - (get_supplicant_timeout): new function; return
13075                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13076                         14 channels.  These are likely a/b/g cards, like Atheros, and
13077                         slow as hell to scan.
13078                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13079                         get_supplicant_timeout()
13080
13081 2006-02-05  Dan Williams  <dcbw@redhat.com>
13082
13083         * src/dhcp-manager/nm-dhcp-manager.c
13084                 - Loose a commit race with Robert; make sure size check
13085                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13086
13087 2006-02-05  Robert Love  <rml@novell.com>
13088
13089         Patch by Christoph Brill <chrisbrill@gmx.net>:
13090         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13091           with DHCP_SERVICE_NAME.
13092
13093 2006-02-05  Dan Williams  <dcbw@redhat.com>
13094
13095         Remove anything having to do with device_setup_func from the
13096         AP security objects, since it's no longer used.
13097
13098         * src/nm-ap-security.h
13099                 - Kill device_setup_func and nm_ap_security_device_setup()
13100
13101         * src/nm-ap-security-wep.c
13102           src/nm-ap-security-wpa-psk.c
13103                 - (real_device_setup): remove
13104
13105         * src/nm-ap-security.c
13106                 - (real_device_setup): remove
13107                 - (nm_ap_security_device_setup): remove
13108
13109         * src/nm-device-802-11-wireless.[ch]
13110                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13111                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13112                         and done by wpa_supplicant now anyway
13113
13114 2006-02-05  Dan Williams  <dcbw@redhat.com>
13115
13116         * src/nm-device-802-11-wireless.c
13117                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13118                         settings on us.  Previously NM would loop asking for the
13119                         key but getting the same one back.  Now, if the NMI-supplied
13120                         cipher doesn't overlap with the scanned AP capabilities,
13121                         we request a completely new key from the user.
13122
13123 2006-02-05  Dan Williams  <dcbw@redhat.com>
13124
13125         * src/NetworkManagerUtils.c
13126                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13127                         Handle newline killing better
13128
13129 2006-02-05  Dan Williams  <dcbw@redhat.com>
13130
13131         * gnome/applet/nm-gconf-wso.c
13132                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13133                         of unencrypted access point security info.
13134
13135 2006-02-03  Robert Love  <rml@novell.com>
13136
13137         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13138           user's encryption key, so we print the err_msg_cmd not the command,
13139           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13140           sense.
13141
13142 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13143
13144         * initscript/RedHat/NetworkManagerDispatcher.in:
13145         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13146         Patch from Dan Walsh <dwalsh@redhat.com>
13147
13148 2006-02-03  Robert Love  <rml@novell.com>
13149
13150         * dispatcher-daemon/NetworkManagerDispatcher.c,
13151           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13152           but use the sysconfdir.
13153
13154 2006-02-03  Robert Love  <rml@novell.com>
13155
13156         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13157           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13158           'char *'.
13159         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13160           nm_ip4_config_get_hostname() and
13161           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13162         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13163           leak g_strdup() result.
13164
13165 2006-02-03  Robert Love  <rml@novell.com>
13166
13167         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13168           broadcast == TRUE.  Also, copy broadcast and artificial properties
13169           from source network to destination in nm_ap_copy().
13170         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13171           since we now default new networks to non-hidden.
13172
13173 2006-02-03  Dan Williams  <dcbw@redhat.com>
13174
13175         * gnome/applet/main.c
13176                 - (main): change the NEVER->ALWAYS so we start at the
13177                         beginning of the session, if being session-managed
13178
13179 2006-02-03  Dan Williams  <dcbw@redhat.com>
13180
13181         * gnome/applet/main.c
13182                 - (main): in a variation on Robert's patch, change
13183                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13184                         he wants.
13185
13186 2006-02-02  Robert Love  <rml@novell.com>
13187
13188         * src/Makefile.am: If we aren't going to create the run directory at,
13189           uh, run-time, create it during install.  Then users just doing
13190           'make install' are cool, too.  While we are here, create the
13191           dispatcher.d directory, too.
13192         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13193           the exact run directory.
13194         * Makefile.am: Install nm-applet.desktop.
13195
13196 2006-02-02  Robert Love  <rml@novell.com>
13197
13198         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13199           structure, which denotes whether or not the AP is hidden.  This is a
13200           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13201           can show up in the scan list.  Add nm_ap_get_broadcast() and
13202           nm_ap_set_broadcast() accessor interfaces.
13203         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13204           nm_ap_set_broadcast().
13205         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13206           "getProperties" method, which denotes whether or not the given
13207           network is hidden.
13208         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13209           an artificial network.  Set broadcast to TRUE when scanning returns
13210           an ESSID and FALSE when not.
13211         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13212           from "getProperties" method on a network.  Possible TODO is to
13213           somehow display this.
13214         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13215
13216 2006-02-02  Dan Williams  <dcbw@redhat.com>
13217
13218         * src/nm-device-802-11-wireless.c
13219                 - (supplicant_interface_init): don't try to create
13220                         /var/run/NetworkManager, since that should be done by
13221                         the distro package.  Causes problems for stuff like SELinux
13222
13223 2006-02-02  Robert Love  <rml@novell.com>
13224
13225         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13226         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13227           Check for and handle empty string for iface.
13228
13229 2006-02-01  Robert Love  <rml@novell.com>
13230
13231         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13232           manpage.
13233
13234 2006-01-31  Dan Williams  <dcbw@redhat.com>
13235
13236         * nm-applet.desktop
13237                 - Add --sm-disable to Exec arguments, presuming that when
13238                         using autostart, we don't want session management
13239
13240 2006-01-31  Robert Love  <rml@novell.com>
13241
13242         * src/NetworkManagerAP.c: Add two new manufacturer default network
13243           names: linksys-a and linksys-g.  These are found (at least) on the
13244           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13245           own ESSID.
13246
13247 2006-01-31  Robert Love  <rml@novell.com>
13248
13249         * src/NetworkManagerAP.c: Optimize the function
13250           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13251           machine code.  This is the first in a series of code tweaks aiming to
13252           generate better machine code and make NetworkManager all the better.
13253           Just kidding.  Who has time to go through the assembly generated for
13254           every function?  I certainly don't.  I have a wife, a kid, a job,
13255           a mortgage, a mistress.  But this function was so bad, I was called
13256           to arms.  Like the book.
13257
13258 2006-01-31  Robert Love  <rml@novell.com>
13259
13260         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13261           AP is not broadcasting, to scan with probe request frames.  Required
13262           for non-broadcast networks.
13263
13264 2006-01-31  Robert Love  <rml@novell.com>
13265
13266         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13267           preprocessor define (still 20s).  Fix message text in nm_info()
13268           s/too too/took too/.
13269
13270 2006-01-30  Dan Williams  <dcbw@redhat.com>
13271
13272         * src/nm-device-802-11-wireless.c
13273                 - (supplicant_monitor_start): increase connect/auth timeout to
13274                         20 seconds from 10 seconds
13275
13276 2006-01-30  Dan Williams  <dcbw@redhat.com>
13277
13278         * src/Makefile.am
13279                 - Define LOCALSTATEDIR
13280
13281         * src/nm-device-802-11-wireless.c
13282                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13283                         socket where we want it to
13284
13285         * src/wpa_ctrl.[ch]
13286                 - (wpa_ctrl_open): accept location to put local control socket
13287
13288 2006-01-30  Robert Love  <rml@novell.com>
13289
13290         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13291           get_ip4_string() for "domain_name".
13292
13293 2006-01-30  Robert Love  <rml@novell.com>
13294
13295         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13296           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13297           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13298           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13299           support for "Automatic" pairwise and group cipher configuration by
13300           letting wpa_supplicant handle the details.  Add UI elements, new
13301           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13302           charm.  Note this does more than add a nice feature, it fixes a bug.
13303           Apparently, some people have AP's where the pairwise cipher does not
13304           match the group cipher.  Insane, but true.
13305
13306 2006-01-30  Dan Williams  <dcbw@redhat.com>
13307
13308         * gnome/applet/applet-dbus-devices.c
13309                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13310                         functions, grab device driver name from NetworkManager
13311                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13312
13313         * gnome/applet/applet.c
13314                 - (nmwa_update_info): show driver name in Connection Information
13315                         dialog
13316
13317         * gnome/applet/nm-device.[ch]
13318                 - (network_device_get_driver, network_device_set_driver): add
13319                         accessors for driver name
13320
13321         * gnome/applet/wireless-applet.glade
13322                 - Add line for driver name to Connection Information dialog
13323
13324         * src/nm-dbus-device.c
13325                 - (nm_dbus_device_get_driver): new function to return driver name
13326                 - (nm_dbus_device_methods): hook up driver name function to dbus
13327
13328         * test/nm-tool.c
13329                 - (get_driver_name): new function
13330                 - (detail_device): grab and show driver name
13331
13332 2006-01-30  Robert Love  <rml@novell.com>
13333
13334         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13335           does not parse the markup if it is not part of the format.
13336
13337 2006-01-30  Robert Love  <rml@novell.com>
13338
13339         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13340           FALSE, we have no security options for this dialog, so we throw up
13341           an error dialog instead of a broken passphrase dialog.  Fixes
13342           Novell #138404.
13343         * gnome/applet/wireless-security-manager.c,
13344           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13345           does not add any security options, not even NONE, print a warning
13346           and return FALSE.  This let's functions constructing a dialog bail
13347           out if the device's capabilities and the network's requirements have
13348           zero overlap.
13349
13350 2006-01-27  Robert Love  <rml@novell.com>
13351
13352         * configure.in: Require wpa_supplicant.  Detect location of binary and
13353           use it.  Override with "--with-wpa_supplicant=foo".
13354         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13355           path to wpa_supplicant but use the auto-detected or user-provided
13356           value from configure.
13357
13358 2006-01-27  Robert Love  <rml@novell.com>
13359
13360         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13361           but the DHCP server did not return a hostname, try to look up our
13362           name via DNS and set the system hostname to that.
13363
13364 2006-01-27  Dan Williams  <dcbw@redhat.com>
13365
13366         * src/backends/NetworkManagerRedHat.c
13367                 - Add NM_CONTROLLED system network script support for RH/Fedora
13368
13369 2006-01-27  Dan Williams  <dcbw@redhat.com>
13370
13371         * src/backends/NetworkManagerGentoo.c
13372                 - (nm_system_device_get_disabled): add missing function.
13373                         Gnome BZ #328780
13374
13375 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13376
13377         * configure.in: Added vi in ALL_LINGUAS line.
13378         
13379 2006-01-26  Robert Love  <rml@novell.com>
13380
13381         * src/Makefile.am, src/kernel-types.h: Now that two different source
13382           files are feeling the crack-addled leakage of kernel types such as
13383           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13384           types in user-space -- define a header and include it as needed.
13385         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13386         * src/nm-device-802-3-ethernet.h: Remove defines.
13387         * src/wpa.c: Remove defines and include kernel-types.h.
13388
13389 2006-01-26  Robert Love  <rml@novell.com>
13390
13391         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13392           work.
13393
13394 2006-01-26  Robert Love  <rml@novell.com>
13395
13396         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13397         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13398           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13399           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13400           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13401           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13402           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13403           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13404           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13405           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13406           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13407           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13408           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13409           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13410           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13411           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13412           Kill unused variables, labels, and static functions.  Don't pass
13413           string literals as the format string for printf-like functions.
13414
13415 2006-01-25  Dan Williams  <dcbw@redhat.com>
13416
13417         * gnome/applet/wireless-applet.glade
13418                 - Remove WPA2 Checkbox
13419
13420         * gnome/applet/wireless-security-manager.c
13421                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13422                         This means the Wireless Security menu now has two WPA options,
13423                         one for "WPA Personal" and one for "WPA2 Personal"
13424
13425         * gnome/applet/wso-wpa-psk.[ch]
13426                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13427                         'wpa2' argument to determine WPA version to use
13428                 - (append_dbus_params_func): pass stored WPA version to cipher
13429                         rather than using the (removed) checkbox
13430
13431 2006-01-24  Robert Love  <rml@novell.com>
13432
13433         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13434           before we g_strdup(), not the ultimate string.
13435
13436 2006-01-23  Dan Williams  <dcbw@redhat.com>
13437
13438         * src/NetworkManagerAP.[ch]
13439                 - (nm_ap_new_from_ap): copy original essid too
13440                 - (nm_ap_unref): free original essid
13441                 - (nm_ap_get_orig_essid): new function
13442                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13443                         but keep original essid around too
13444
13445         * src/nm-device-802-11-wireless.c
13446                 - (supplicant_send_network_config): send wpa_supplicant the
13447                         _original_ essid, and not as a string, but in hex.  Should
13448                         allow us to connect to more APs that use wierd character
13449                         encodings for their essids
13450
13451         * utils/nm-utils.[ch]
13452                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13453                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13454                         use the current locale as a hint for what encoding the essid
13455                         might be in.  Obviously not 100% accurate, but the idea here is
13456                         that if a user's locale is ex. ja_JP, they are more likely than
13457                         not to be in Japan, where access points will likely be in some
13458                         Japanese encoding.
13459
13460 2006-01-23  Dan Williams  <dcbw@redhat.com>
13461
13462         * libnm-util/cipher-private.h
13463           libnm-util/cipher.c
13464           libnm-util/cipher.h
13465                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13466
13467 2006-01-23  Robert Love  <rml@novell.com>
13468
13469         Patch by Timo Hoenig <thoenig@suse.de>:
13470         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13471           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13472           by DHCP and pass it to the backends, allowing distribution-specific
13473           behavior with respect to the DHCP-supplied hostname (if nothing else,
13474           some distributions might not want to set the hostname).
13475         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13476           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13477           Also update our NIS behavior.
13478         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13479           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13480           Add stub functions.
13481
13482 2006-01-23  Robert Love  <rml@novell.com>
13483
13484         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13485           gnome-session does autostart.  TODO: We need to install this to
13486           $prefix/share/autostart/.
13487
13488 2006-01-22  Dan Williams  <dcbw@redhat.com>
13489
13490         * src/NetworkManagerAP.[ch]
13491           src/nm-dbus-nmi.c
13492           src/nm-device-802-11-wireless.c         
13493                 - Make nm_ap_get_essid return "const char *"
13494
13495 2006-01-22  Dan Williams  <dcbw@redhat.com>
13496
13497         * src/NetworkManagerAP.[ch]
13498                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13499
13500         * src/NetworkManagerAPList.[ch]
13501                 - (nm_ap_list_diff): removed
13502                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13503                         deal with access points changing essids on us
13504
13505         * src/nm-device-802-11-wireless.c
13506                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13507                         src/NetworkManagerAPList.c
13508                 - (real_can_interrupt_activation): new function; allow interruption
13509                         of device activation if we are waiting for a network key
13510
13511         * src/NetworkManagerPolicy.c
13512                 - (nm_policy_device_change_check): allow interruption of currently
13513                         activating devices if the device allows it.  Previous behavior
13514                         would refuse to activate a just-plugged wired device if a
13515                         wireless device was waiting for a key.
13516
13517         * src/nm-device.[ch]
13518                 - (nm_device_can_interrupt_activation): new function; ask devices
13519                         whether their activation can be interrupted
13520
13521 2006-01-20  Robert Love  <rml@novell.com>
13522
13523         * Makefile.am, configure.in: Add new man subdirectory.
13524         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13525           man/Makefile.am: Add man pages for NetworkManager and its
13526           crime-solving bumbling buddy, NetworkManagerDispatcher.
13527         * man/.cvsignore: Add.
13528         * initscript/Debian/NetworkManager,
13529           initscript/Gentoo/NetworkManager.in,
13530           initscript/RedHat/NetworkManager.in,
13531           initscript/RedHat/NetworkManagerDispatcher.in,
13532           initscript/SUSE/networkmanager-dispatcher.in,
13533           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13534
13535 2006-01-20  Robert Love  <rml@novell.com>
13536
13537         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13538           instead of queuing.  This prevents the running of multiple NM
13539           daemons concurrently, which does not work whatsoever and results in
13540           neither daemon working correctly.  Also, we don't handle queuing and
13541           name-owner-changes, anyhow.
13542
13543 2006-01-20  Robert Love  <rml@novell.com>
13544
13545         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13546         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13547           to sbin, not bin.
13548
13549 2006-01-19  Robert Love  <rml@novell.com>
13550
13551         * configure.in: Require hal 0.5.0 or later.
13552
13553 2006-01-18  Robert Love  <rml@novell.com>
13554
13555         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13556           Allow backends to flag a device (in whatever distro-dependent way
13557           they so desire) as disabled.  NM will ignore any such device.
13558         * src/backends/NetworkManagerDebian.c,
13559           src/backends/NetworkManagerRedHat.c,
13560           src/backends/NetworkManagerSlackware.c: Add stub function
13561           nm_system_device_get_disabled() that always returns FALSE (enabled).
13562         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13563           SUSE-specific configuration structure.  Fill it in from the
13564           NM_CONTROLLED variable in the system networking scripts.  If this var
13565           exists and is "no", we ignore the device.
13566
13567 2006-01-17  Robert Love  <rml@novell.com>
13568
13569         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13570           identical for NM.  For a full discussion, see the thread at
13571           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13572
13573 2006-01-17  Dan Williams  <dcbw@redhat.com>
13574
13575         * src/nm-device.c
13576                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13577                         function.  Fixes crash when wired DHCP fails.
13578
13579 2006-01-16  Robert Love  <rml@novell.com>
13580
13581         * src/Makefile.am: Don't install NMLoadModules
13582         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13583           from src/ to test/ as no one uses it anymore.  Note that I would be
13584           fine with removing it altogether.
13585
13586 2006-01-16  Robert Love  <rml@novell.com>
13587
13588         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13589           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13590           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13591           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13592           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13593           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13594           declarations, ever.
13595         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13596           NM_STATE_DISCONNECTED is zero).
13597
13598 2006-01-16  Robert Love  <rml@novell.com>
13599
13600         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13601           uninitialized parameter and buffer overflow.  Novell #143496.
13602
13603 2006-01-16  Dan Williams  <dcbw@redhat.com>
13604
13605         Apply the PtP Address bits of a patch from Tim Niemueller
13606
13607         * src/nm-ip4-config.[ch]
13608                 - Add ip4_ptp_address member to object
13609                 - (nm_ip4_config_copy): copy ptp address too
13610                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13611                         new functions
13612                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13613                         rather than local tunnel ip address
13614
13615         * src/vpn-manager/nm-vpn-service.c
13616                 - (print_vpn_config): update for PtP address
13617                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13618                         DBusMessageIters in preparation for getting routes from the VPN
13619                         service daemons too
13620
13621         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13622                 - (send_config_info): update for PtP address, clean up code
13623                 - (main): update for PtP address, clean up code, fix typo
13624
13625         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13626                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13627
13628         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13629                 - (pptp_ip_up): update for PtP address
13630
13631         * vpn-daemons/pptp/src/nm-pptp-service.c
13632                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13633
13634         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13635                 - (print_vpn_config): update for PtP address
13636                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13637
13638 2006-01-16  Dan Williams  <dcbw@redhat.com>
13639
13640         * gnome/applet/applet.c
13641                 - (nmwa_add_networks_helper): don't indicate an active network
13642                         if NM is disconnected or asleep
13643
13644 2006-01-16  Dan Williams  <dcbw@redhat.com>
13645
13646         * src/NetworkManagerPolicy.c
13647                 - (nm_policy_device_change_check): switch devices if we lose the link
13648                         on an ethernet device. 
13649
13650 2006-01-16  Dan Williams  <dcbw@redhat.com>
13651
13652         * gnome/applet/wso-wpa-psk-hex.[ch]
13653                 - Renamed -> wso-wpa-psk.[ch]
13654
13655         * gnome/applet/wso-wpa-psk.[ch]
13656                 - New files
13657
13658         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13659                 - Removed, rolled into wso-wpa-psk.[ch]
13660
13661         * gnome/applet/Makefile.am
13662                 - Updated for above changes
13663
13664         * gnome/applet/wireless-applet.glade
13665                 - Consolidate WPA-PSK options into one notebook
13666                         widget, and make dialogs invisible by default
13667                         to fix screen oddities
13668
13669         * gnome/applet/wireless-security-manager.c
13670                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13671                         than both the old hex & passphrase ones
13672
13673 2006-01-16  Dan Williams  <dcbw@redhat.com>
13674
13675         * gnome/applet/other-network-dialog.c
13676                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13677
13678 2006-01-16  Dan Williams  <dcbw@redhat.com>
13679
13680         * gnome/applet/applet.c
13681                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13682                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13683                         prevention to realize window before trying to get server
13684                         time
13685
13686         * gnome/applet/other-network-dialog.c
13687                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13688                         prevention to realize window before trying to get server
13689                         time
13690
13691         * gnome/applet/passphrase-dialog.c
13692                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13693                         prevention to realize window before trying to get server
13694                         time
13695
13696 2006-01-16  Robert Love  <rml@novell.com>
13697
13698         Patch from Timo Hoenig  <thoenig@suse.de:
13699         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13700           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13701           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13702           libnm-util/dbus-helpers.h: add checks whether headers are used
13703           within a C++ build.
13704
13705 2006-01-16  Dan Williams  <dcbw@redhat.com>
13706
13707         * gnome/applet/wireless-security-option.c
13708                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13709
13710 2006-01-16  Dan Williams  <dcbw@redhat.com>
13711
13712         * libnm-util/cipher-wpa-psk-passphrase.c
13713                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13714                         be 8 - 63 characters inclusive
13715
13716 2006-01-16  Dan Williams  <dcbw@redhat.com>
13717
13718         * src/nm-dbus-nm.c
13719                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13720
13721 2006-01-13  Robert Love  <rml@novell.com>
13722
13723         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13724         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13725           modules that do not use an interface.
13726
13727 2006-01-13  Dan Williams  <dcbw@redhat.com>
13728
13729         * src/nm-device.c
13730           src/nm-device.h
13731                 - Allow subclasses to implement deactivate_quickly()
13732                 - (nm_device_deactivate_quickly): call subclass
13733                         deactivate_quickly() methods
13734                 - (nm_device_set_active_link): small cleanups, and don't
13735                         deactivate the device right away because we risk a deadlock
13736                         when called from device thread, waiting for the device
13737                         thread to cancel activation
13738
13739         * src/nm-device-802-11-wireless.c
13740                 - (real_deactivate_quickly): new function
13741                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13742                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13743                         so that we kill the supplicant when we sleep too
13744                 - (supplicant_interface_init): work around naive naming attempts of
13745                         wpa_ctrl when naming sockets
13746
13747 2006-01-13  Dan Williams  <dcbw@redhat.com>
13748
13749         * src/nm-device-802-11-wireless.c
13750                 - (supplicant_cleanup): delete old device control sockets too
13751                 - (supplicant_get_device_socket_path): new function to consolidate
13752                         locations that need a path to a device's control socket
13753
13754 2006-01-12  Robert Love  <rml@novell.com>
13755
13756         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13757           description so that the description is unique for each
13758           pair (device,provider).  Fixes Novell #142773.
13759
13760 2006-01-12  Dan Williams  <dcbw@redhat.com>
13761
13762         * src/nm-device-802-11-wireless.c
13763                 - (supplicant_exec): ensure GError is correctly initialized
13764                         Reported by Diego González (gnome.org #326708)
13765
13766 2006-01-11  Robert Love  <rml@novell.com>
13767
13768         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13769           define if_mii(), open code the same results, and do so without any
13770           type punning.
13771
13772 2006-01-11  Robert Love  <rml@novell.com>
13773
13774         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13775           that wso_foo_new() returned non-NULL.  Instead, only append the new
13776           wso to wsm->options if the wso is non-NULL.  The crux is that we
13777           assume that the relevant key types are implied by WEP and WPA as
13778           appropriate.  To be sure, they should be, but we should not expect
13779           drivers to not be oozing piles of wolf fecal matter.
13780
13781 2006-01-11  Robert Love  <rml@novell.com>
13782
13783         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13784         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13785           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13786           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13787           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13788           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13789           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13790         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13791           comparing values within DBL_EPSILON.  Also fix shadowed variable
13792           usage.
13793
13794 2006-01-11  Dan Williams  <dcbw@redhat.com>
13795
13796         Add options for WPA2 and WPA1+CCMP (AES).
13797
13798         * gnome/applet/wireless-applet.glade
13799                 - Add UI bits for WPA+CCMP
13800
13801         * gnome/applet/other-network-dialog.c
13802                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13803                         and don't allow creation of WPA2 Ad-Hoc networks since
13804                         wpa_supplicant doesn't support them
13805
13806         * gnome/applet/wireless-security-manager.c
13807                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13808                         on to the specific wireless security option being created
13809
13810         * gnome/applet/wireless-security-option.[ch]
13811                 - (wso_wpa_create_key_type_model): new utility function to create
13812                         the model required for WPA Key Type combo box
13813
13814         * gnome/applet/wso-private.h
13815           gnome/applet/wireless-security-option.h
13816                 - Move private function prototypes into wso-private.h
13817
13818         * gnome/applet/wso-wpa-psk-hex.[ch]
13819           gnome/applet/wso-wpa-psk-passphrase.[ch]
13820                 - (append_dbus_params_func): get WPA version from checkbox and pass
13821                         it to the dbus serialization helper
13822                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13823                         key type combo changes
13824                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13825                         model and options
13826
13827         * libnm-util/cipher-wpa-psk-hex.c
13828           libnm-util/cipher-wpa-psk-passphrase.c
13829                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13830                         new function; allow the cipher to be changed after object creation
13831
13832         * src/nm-ap-security-wpa-psk.c
13833                 - (set_description): Do WPA2 descriptions too
13834
13835         * src/nm-ap-security.c
13836                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13837
13838 2006-01-11  Robert Love  <rml@novell.com>
13839
13840         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13841           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13842           from the ifreq structure in lieu of an open coded solution.  Removes
13843           a life-threatening type-punning.
13844         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13845           types, ever, whatsoever, baby.
13846
13847 2006-01-11  Robert Love  <rml@novell.com>
13848
13849         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13850           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13851           assignments to applet->nm_state into a new nmwa_set_state() function
13852           for both cleanliness and to help debugging.
13853
13854 2006-01-10  Robert Love  <rml@novell.com>
13855
13856         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13857           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13858           seconds, exclusive.  That is, we want to sleep x seconds such that
13859           1 < x < 2.
13860
13861 2006-01-10  Robert Love  <rml@novell.com>
13862
13863         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13864           the attr fields according to the example in the email available at
13865           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13866           Conversely, we do have to free 'name', so we do so, fixing a leak.
13867
13868 2006-01-10  Robert Love  <rml@novell.com>
13869
13870         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13871           sure that we close the socket!
13872
13873 2006-01-10  Robert Love  <rml@novell.com>
13874
13875         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13876           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13877           src/nm-device.c: Fix a FIXME!  Reimplement the function
13878           nm_device_update_hw_address() in device subclass variants,
13879           nm_device_802_3_ethernet_set_address() and
13880           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13881           This fixes the existing bug where MAC addresses are all zeros.
13882
13883 2006-01-10  Robert Love  <rml@novell.com>
13884
13885         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13886           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13887           option to give users ability to globally disconnect and put NM to
13888           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13889           clean disconnect.
13890
13891 2006-01-09  Robert Love  <rml@novell.com>
13892
13893         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13894           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13895           User-space does not supply these types, so we have to define them
13896           ourselves.  The relevant kernel maintainer refused to accept a patch
13897           switching these headers to the proper C99 types.
13898
13899 2006-01-09  Dan Williams  <dcbw@redhat.com>
13900
13901         Apply Robert's 'tray icon redo' patch with fixes
13902         * gnome/applet/applet.c
13903           gnome/applet/applet.h
13904                 - Instead of using a menu bar + menu item, simulate menu
13905                         behavior using a popup menu.  Highlight the area around
13906                         the icon more like a menu too, by playing with the
13907                         applet's size requisition
13908
13909 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13910         * libnm-util/dbus-helpers.c
13911           libnm-util/dbus-helpers.h
13912                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13913                         to 'exception_namespace' (:namespace is a keyword in
13914                         C++)
13915
13916 2006-01-09  Dan Williams  <dcbw@redhat.com>
13917
13918         * src/NetworkManagerPolicy.c
13919                 - (nm_policy_device_change_check): don't autoswitch away from
13920                         Ad-Hoc networks, since there's really no concept of
13921                         "link"
13922
13923         * src/nm-dbus-nm.c
13924                 - (nm_dbus_nm_create_wireless_network): mark created networks
13925                         as Ad-Hoc networks
13926
13927         * src/nm-device-802-11-wireless.c
13928                 - (real_activation_success_handler): add user-created Ad-Hoc
13929                         networks to the device's scan list
13930
13931 2006-01-08  Dan Williams  <dcbw@redhat.com>
13932
13933         We now require a patch for wpa_supplicant to support Ad-Hoc
13934         networks:
13935           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13936
13937         * src/nm-device-802-11-wireless.c
13938                 - (supplicant_send_network_config): turn off wpa_supplicant's
13939                         scanning.  Fixes Ad-Hoc networks.
13940
13941 2006-01-08  Dan Williams  <dcbw@redhat.com>
13942
13943         * src/nm-ap-security.c
13944           src/nm-ap-security.h
13945                 - Add a user_created argument to the write_supplicant_config
13946                         functions
13947
13948         * src/nm-ap-security-wep.c
13949           src/nm-ap-security-wpa-psk.c
13950           src/nm-device-802-11-wireless.c
13951                 - Make Ad-Hoc mode somewhat work, at least write the
13952                         correct options to wpa_supplicant
13953
13954 2006-01-08  Dan Williams  <dcbw@redhat.com>
13955
13956         * src/nm-device-802-11-wireless.c
13957                 - Remove unused code from the old device activation path
13958
13959 2006-01-08  Dan Williams  <dcbw@redhat.com>
13960
13961         * libnm-util/dbus-helpers.c
13962                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13963                         dbus when key == NULL
13964
13965 2006-01-08  Dan Williams  <dcbw@redhat.com>
13966
13967         * gnome/applet/nm-gconf-wso-wpa-psk.c
13968                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13969                         correct arguments to nmu_security_deserialize_wpa_psk()
13970
13971         * src/nm-ap-security-wpa-psk.c
13972                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13973                         arguments to nmu_security_deserialize_wpa_psk()
13974
13975 2006-01-08  Dan Williams  <dcbw@redhat.com>
13976
13977         * gnome/applet/wso-wpa-psk-hex.c
13978           gnome/applet/wso-wpa-psk-passphrase.c
13979                 - Hook up the append_dbus_params_func() function
13980
13981 2006-01-08  Dan Williams  <dcbw@redhat.com>
13982
13983         * src/nm-device-802-11-wireless.c
13984                 - (get_wireless_capabilities): correctly detect driver WPA
13985                         capabilities
13986
13987 2006-01-08  Dan Williams  <dcbw@redhat.com>
13988
13989         * gnome/applet/Makefile.am
13990           gnome/applet/wso-wpa-psk-hex.c
13991           gnome/applet/wso-wpa-psk-hex.h
13992                 - New files, implement WPA-PSK Hex key input
13993
13994         * gnome/applet/wireless-applet.glade
13995                 - Change existing wpa-psk stuff to wpa-psk-hex
13996                 - Add new widgets for wpa-psk-passphrase
13997
13998         * gnome/applet/wireless-security-manager.c
13999                 - (wsm_set_capabilities): enable WPA options
14000
14001         * gnome/applet/wso-wpa-psk-passphrase.c
14002                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14003                         for WPA-PSK passphrase
14004
14005 2006-01-08  Dan Williams  <dcbw@redhat.com>
14006
14007         * include/NetworkManager.h
14008                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14009                         applet/info-daemons
14010
14011         * gnome/applet/passphrase-dialog.c
14012                 - Use the constant.  Fixes a bug where the arguments to
14013                         dbus_message_new_error() were incorrect
14014
14015         * src/nm-dbus-nmi.c
14016                 - Use the constant
14017
14018 2006-01-07  Dan Williams  <dcbw@redhat.com>
14019
14020         * src/nm-device-802-11-wireless.c
14021                 - Add a link timeout so we allow the supplicant time to
14022                         reassociate if it can, before we deactivate the card
14023                 - Fix up link status and link updating so things work better
14024
14025 2006-01-07  Dan Williams  <dcbw@redhat.com>
14026
14027         * src/nm-device-802-11-wireless.c
14028                 - Switch over to using wpa_supplicant
14029                 - Add a timeout of 10s for association of the supplicant
14030                 - Start the monitor callback of the supplicant
14031
14032 2006-01-07  Dan Williams  <dcbw@redhat.com>
14033
14034         * src/NetworkManagerUtils.c
14035                 - (nm_utils_supplicant_request,
14036                   nm_utils_supplicant_request_with_check):
14037                         pass correct buffer length to wpa_ctrl_request()
14038
14039 2006-01-07  Dan Williams  <dcbw@redhat.com>
14040
14041         * src/nm-device-private.h
14042           src/nm-device.c
14043                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14044                         this function available to subclasses
14045
14046 2006-01-06  Robert Love  <rml@novell.com>
14047
14048         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14049           user plugging in a network cable signals their preference for to
14050           switch, unless the user explicitly selected a wireless network and
14051           therefore signaled their preference for said wireless network over
14052           wired.  In other words, do exactly what makes sense.
14053
14054 2006-01-06  Robert Love  <rml@novell.com>
14055
14056         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14057           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14058           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14059           showing up in my greps.
14060
14061 2006-01-06  Robert Love  <rml@novell.com>
14062
14063         * gnome/applet/applet-dbus-devices.c,
14064           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14065           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14066           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14067           New Network' both failed in the non-encrypted case because we were
14068           not appending the security options to the DBUS message.  And
14069           'Connect to Other' was also failing in the encrypted case because
14070           we were not incrementing to the next DBUS parameter.  All fixed.
14071           Thanks to dcdw for some debugging help.
14072
14073 2006-01-06  Robert Love  <rml@novell.com>
14074
14075         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14076           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14077           hangup code and add per-device hangup.  Tie last commit into the
14078           GNOME applet.  TODO:  Save, understand, and respond to the state of
14079           each dialup device.
14080
14081 2006-01-06  Robert Love  <rml@novell.com>
14082
14083         Patch by Timo Hoenig <thoenig@suse.de>:
14084         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14085           hangup specific dialup devices.
14086         * src/backends/NetworkManagerDebian.c,
14087           src/backends/NetworkManagerGentoo.c,
14088           src/backends/NetworkManagerRedHat.c,
14089           src/backends/NetworkManagerSlackware.c: Add stub backend.
14090         * src/backends/NetworkManagerRedHat.c,
14091           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14092           hangup specific dialup devices.
14093
14094 2006-01-04  Robert Love  <rml@novell.com>
14095
14096         * gnome/applet/applet-dbus-devices.c,
14097           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14098           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14099           connections.
14100
14101 2006-01-04  Dan Williams  <dcbw@redhat.com>
14102
14103         First dump of wpa_supplicant-related code.  It's not hooked up to
14104         anything yet though.  Thanks to Kay Sievers for
14105         wpa_supplicant_wrapper.c, which formed the basis for this work,
14106         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14107
14108         * src/Makefile.am
14109           src/wpa_ctrl.[ch]
14110                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14111
14112         * src/NetworkManagerUtils.[ch]
14113                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14114                         Add convenience functions for talking to wpa_supplicant
14115
14116         * src/nm-ap-security.[ch]
14117           src/nm-ap-security-wep.c
14118           src/nm-ap-security-wpa-psk.[ch]
14119                 - Update and implement real_write_supplicant_config functions
14120                         in all security types
14121                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14122                         nm-ap-security-wpa-psk.c
14123
14124         * src/nm-device-802-11-wireless.c
14125                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14126                    wpa_supplicant_start, wpa_supplicant_interface_init,
14127                    wpa_supplicant_send_network_config): add functions to talk to
14128                         wpa_supplicant and write network config to it
14129
14130 2006-01-04  Robert Love  <rml@novell.com>
14131
14132         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14133           values so that distribution-backends can differentiate between the
14134           various types (modem, ISDN, et cetera) of dialup device that they
14135           support.
14136         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14137           needed.
14138
14139 2006-01-03  Dan Williams  <dcbw@redhat.com>
14140
14141         * src/NetworkManagerPolicy.c
14142           src/nm-device.[ch]
14143           src/nm-device-802-11-wireless.c
14144                 - Move wireless-specific activation failure and success code
14145                         into wireless device class
14146
14147 2006-01-03  Robert Love  <rml@novell.com>
14148
14149         Patch by Preggna S:
14150         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14151           IPsec does not require that a VPN client be bound to an interface,
14152           due to the use of the in-kernel IPSec bits.  So make the tunnel
14153           device optional.
14154
14155 2006-01-03  Dan Williams  <dcbw@redhat.com>
14156
14157         * src/NetworkManagerAP.c
14158                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14159                         the WPA IE specifies that WEP is supported
14160
14161         * src/nm-device-802-11-wireless.c
14162                 - (process_scan_results): don't mark an AP as supporting WEP
14163                         if there's already other encryption capability info
14164
14165 2006-01-03  Dan Williams  <dcbw@redhat.com>
14166
14167         * src/dhcp-manager/nm-dhcp-manager.c
14168                 - Recognize activation cancellation when waiting for DHCP
14169                         configuration from dhcdbd
14170                 - Ignore non-dhcdbd messages
14171
14172         * src/nm-device.c
14173                 - (real_act_stage3_ip_config_start): return to correct behavior
14174                         of letting the dhcp-manager notify us of failure or
14175                         success rather than incorrectly doing that ourselves
14176                 - (nm_device_activate_stage4_ip_config_get): deal with
14177                         activation cancellation a bit earlier
14178
14179 2006-01-03  Dan Williams  <dcbw@redhat.com>
14180
14181         * src/nm-device-802-11-wireless.c
14182           src/nm-device.[ch]
14183                 - Add hooks to subclasses for stage3_ip_config_start and
14184                         stage4_ip_config_timeout
14185
14186         * src/nm-device-802-3-ethernet.c
14187                 - (real_get_generic_capabilities): make devices NM-supported
14188                         by default
14189
14190 2006-01-03  Robert Love  <rml@novell.com>
14191
14192         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14193           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14194           latter cannot differentiate between error and the address -1; misc.
14195           clean up.
14196
14197 2006-01-03  Dan Williams  <dcbw@redhat.com>
14198
14199         * src/NetworkManager.c
14200                 - Move link-checking/probing into the device subclasses
14201                         themselves
14202
14203         * src/nm-device.[ch]
14204           src/nm-device-802-11-wireless.c
14205           src/nm-device-802-3-ethernet.c
14206                 - Do periodic link checking in device subclasses rather
14207                         than being triggered from NetworkManager.c
14208                 - discover_wireless_capabilities -> get_wireless_capabilities
14209                 - discover_generic_capabilities -> get_generic_capabilities
14210                 - Device subclass activation routines now return a value of type
14211                         NMActStageReturn to indicate what step to perform next
14212                 - Devices now override stage4_get_ip4_config if they choose
14213
14214 2006-01-01  Dan Williams  <dcbw@redhat.com>
14215
14216         * src/nm-device-802-11-wireless.c
14217                 - (real_init): don't chain up to parent init because we don't
14218                         need to do that anymore
14219
14220         * src/nm-device.c
14221                 - (discover_device_type): fix arguments to ioctl() to correctly
14222                         pass interface name
14223                 - (nm_device_new): consolidate generic device initialization into
14224                         nm_device_new()
14225                 - (real_init): remove, consolidated to nm_device_new()
14226                 - (nm_device_deactivate, real_deactivate): consolidate
14227
14228 2006-01-01  Dan Williams  <dcbw@redhat.com>
14229
14230         * src/nm-activation-request.c
14231                 - Change dhcp_state member of the NMActRequest structure
14232                         from guint8 to guint32
14233
14234         * src/dhcp-manager/nm-dhcp-manager.[ch]
14235                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14236                         than guint8 to match the dbus argument.  Turns out we were
14237                         overwriting memory since we were passing in only a guint8
14238
14239 2005-12-31  Dan Williams  <dcbw@redhat.com>
14240
14241         * refactor NMDevice into a GObject-based framework with separate
14242                 objects for wired and wireless.  The following files are no
14243                 longer used but should stick around for a bit so we don't
14244                 loose code through the cracks:
14245                         NetworkManagerDevice.c
14246                         NetworkManagerDevice.h
14247                         NetworkManagerWireless.c
14248                         NetworkManagerWireless.h
14249
14250         The intent here is to allow each device type to manage its own
14251         connection & activation life-cycle, ie to allow wireless devices
14252         to interface with wpa_supplicant, etc.  There's a fair bit of
14253         encapsulation breakage right now that should gradually get pulled
14254         back into each device, along with things like periodic property
14255         updates and link probing.
14256
14257 2005-12-29  Dan Williams  <dcbw@redhat.com>
14258
14259         * include/NetworkManager.h
14260                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14261                         between networks that don't have any encryption at all
14262
14263 2005-12-29  Dan Williams  <dcbw@redhat.com>
14264
14265         * test/test-common.c
14266           test/test-common.h
14267           test/Makefile.am
14268                 - Move to a test-common subdirectory
14269
14270         * test/libnm-util/test-ciphers.c
14271                 - Move test data to test-inputs.h
14272                 - Test WPA ciphers too
14273
14274         * test/libnm-util/test-dbus-helpers.c
14275                 - Test serialization/deserialization of ciphers
14276
14277 2005-12-29  Dan Williams  <dcbw@redhat.com>
14278
14279         * gnome/applet/applet-dbus-devices.c
14280                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14281                         in dbus calls to NM
14282                 - Set capabilities on WirelessNetwork objects
14283                 - Receive and save type-specific device capabilities too
14284
14285         * gnome/applet/applet-dbus-info.c
14286           gnome/applet/applet-dbus.c
14287                 - Passphrase dialog no longer a singleton; new instance gets created
14288                         on each request.  Updates to deal with that.
14289
14290         * gnome/applet/applet.c
14291                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14292                         than single 'encrypted' flag
14293                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14294                         menu items
14295                 - Passphrase dialog updates per above
14296
14297         * gnome/applet/menu-items.c
14298                 - (network_menu_item_update): use AP capabilities to determine
14299                         encryption
14300
14301         * gnome/applet/nm-device.[ch]
14302                 - Add accessors for type-specific device capabilities
14303
14304         * gnome/applet/other-network-dialog.c
14305                 - Rework to respect device capabilities.  i.e., if the device doesn't
14306                         support WPA, remove that option from the security dropdown
14307
14308         * gnome/applet/passphrase-dialog.c
14309                 - Massive rework so that a new instance is created each time
14310                         it's used, to support wireless network capabilities
14311
14312         * gnome/applet/wireless-network.[ch]
14313                 - Add accessors and members for wireless network capabilities
14314
14315         * gnome/applet/wireless-security-manager.[ch]
14316                 - (wsm_set_capabilities): called after creation to set which
14317                         security options get shown to the user
14318
14319 2005-12-29  Dan Williams  <dcbw@redhat.com>
14320
14321         * libnm-util/cipher-wpa-psk-passphrase.c
14322                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14323                         like other ciphers
14324
14325 2005-12-23  Dan Williams  <dcbw@redhat.com>
14326
14327         * gnome/applet/applet-dbus-info.c
14328                 - (nmi_dbus_get_key_for_network): if there's no entry in
14329                         GConf for a network, assume we want a new key
14330                 - (nmi_save_network_info): serialize wireless security info
14331                         into GConf so its saved
14332
14333         * src/nm-dbus-nm.c
14334                 - Fix warning as we may not be passed security info when
14335                         connecting to a wireless network
14336
14337 2005-12-23  Dan Williams  <dcbw@redhat.com>
14338
14339         * gnome/applet/applet-compat.c
14340                 - Fix bugs in GConf entry conversion
14341
14342         * gnome/applet/applet-dbus-info.c
14343                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14344                         list being zero-length
14345
14346         * libnm-util/cipher-*
14347           libnm-util/dbus-helpers.c
14348                 - All ciphers must now return hashed keys as UTF-8 valid
14349                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14350                         through dbus as strings too.
14351                 - Consolidate various functions that do bin->hex and hex->bin
14352                         conversion into cipher.c
14353
14354         * src/nm-ap-security-wep.c
14355           src/nm-ap-security-wpa-psk.c
14356                 - Handle NULL keys since we may not know keys right away
14357
14358         * src/nm-dbus-nmi.c
14359                 - (nm_dbus_get_network_data_cb): actually advance to the start
14360                         of the wireless security info before we try to deserialize it
14361
14362         * libnm-util/test-ciphers.c
14363                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14364
14365 2005-12-22  Dan Williams  <dcbw@redhat.com>
14366
14367         * gnome/applet/applet-compat.[ch]
14368                 - Convert old-format GConf and keyring entries
14369                         when the applet starts up.
14370
14371         * gnome/applet/applet.c
14372                 - (nmwa_get_instance): Call the conversion function
14373                         on startup before dbus is initialized
14374
14375 2005-12-22  Dan Williams  <dcbw@redhat.com>
14376
14377         * gnome/applet/applet-dbus-info.c
14378                 - Remove nmi_dbus_create_error_message() in favor of
14379                         nmu_create_dbus_error_message()
14380                 - (nmi_dbus_get_network_properties): Error message cleanups
14381                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14382                         gconf key rather than 'addresses', since they really are BSSIDs
14383                 - (nmi_dbus_get_network_properties): Dispose of the security
14384                         object when we're done with it
14385
14386 2005-12-21  Dan Williams  <dcbw@redhat.com>
14387
14388         * Consolidate the info-daemon's "updateNetworkInfo" and
14389                 "addNetworkAddress" calls into just "updateNetworkInfo"
14390
14391 2005-12-21  Dan Williams  <dcbw@redhat.com>
14392
14393         * Make connection after key retrieval work again
14394
14395 2005-12-21  Dan Williams  <dcbw@redhat.com>
14396
14397         * gnome/applet/nm-gconf-wso*
14398                 - Make the serialize functions return gboolean
14399                         rather than int
14400
14401         * gnome/applet/nm-gconf-wso.c
14402                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14403                         parent class handling so we don't segfault
14404
14405         * src/NetworkManagerAP.[ch]
14406                 - (nm_ap_get_capabilities): new function, return capabilities
14407                         now that something can use them
14408                 - (nm_ap_set_encrypted): assume that an access point supports
14409                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14410                         we even tell whether it just supports WEP40?
14411
14412         * src/NetworkManagerDevice.c
14413                 - (ap_need_key): resurrect and update for the New World Order
14414                 - (nm_device_wireless_get_activation_ap): if we're not given
14415                         security info to use, create some based on access point
14416                         capabilities
14417
14418         * src/nm-ap-security-wep.c
14419                 - (nm_ap_security_wep_new_from_ap): create a new object
14420                         based on a certain access point's capabilities
14421
14422         * src/nm-ap-security.c
14423                 - (nm_ap_security_new_from_ap): delegate creation of a new
14424                         object based on access point capabilities to a subclass
14425                 - (nm_ap_security_copy_properties): don't segfault if we
14426                         don't have a key yet
14427
14428         * src/nm-dbus-nm.c
14429                 - (nm_dbus_nm_set_active_device): provide more informative
14430                         output when errors occur.  Also construct security info
14431                         for a given access point if we weren't given any
14432
14433 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14434
14435         * configure.in: Added Lithuanian to ALL_LINGUAS.
14436
14437 2005-12-21  Dan Williams  <dcbw@redhat.com>
14438
14439         * test/libnm-util
14440                 - Add some testcases for WEP ciphers
14441
14442 2005-12-17  Dan Williams  <dcbw@redhat.com>
14443
14444         * Fix bugs
14445
14446 2005-12-17  Dan Williams  <dcbw@redhat.com>
14447
14448         * include/NetworkManager.h
14449                 - Finally kill NMEncKeyType
14450
14451         * gnome/applet/applet-dbus-info.c
14452                 - (nmi_save_network_info): convert to NMGConfWSO
14453
14454         * gnome/applet/nm-gconf-wso-*.c
14455                 - Implement gconf serialization functions
14456
14457         * src/NetworkManagerPolicy.c
14458                 - (nm_policy_activation_finish): fix up meaning of
14459                         automatic/user_requested
14460
14461 2005-12-17  Dan Williams  <dcbw@redhat.com>
14462
14463         * gnome/applet/*
14464                 - More applet cleanups
14465                 - Use the dbus-method-dispatcher
14466
14467         * libnm-util/dbus-method-dispatcher.[ch]
14468                 - Generalize the implementation from NM in
14469                         NetworkManagerUtils.c
14470
14471 2005-12-16  Dan Williams  <dcbw@redhat.com>
14472
14473         * gnome/applet/*
14474                 - Fix up the passphrase dialog to use all the
14475                         WirelessSecurityOption stuff (untested)
14476
14477 2005-12-16  Dan Williams  <dcbw@redhat.com>
14478
14479         * Move nm_gconf_get_*_helper() functions to separate files,
14480                 gconf-helpers.c & gconf-helpers.h
14481
14482         * New NMGConfWSO objects for managing the gconf side of things.
14483                 Eventually these should be merged with the
14484                 WirelessSecurityOption objects and a common base (that can
14485                 serialize/deserialize from dbus & gconf) should be
14486                 refactored out, but for now they are separate.
14487
14488 2005-12-16  Robert Love  <rml@novell.com>
14489
14490         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14491           binaries unless they exist (nm_spawn_process() emits a warning if
14492           asked to spawn a non-existant process).
14493
14494 2005-12-16  Dan Williams  <dcbw@redhat.com>
14495
14496         * gnome/applet/applet-dbus-info.c
14497                 - Clean up lots of gconf-related code
14498
14499 2005-12-16  Robert Love  <rml@novell.com>
14500
14501         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14502
14503 2005-12-16  Dan Williams  <dcbw@redhat.com>
14504
14505         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14506
14507         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14508                 bits still to be done)
14509
14510 2005-12-16  Dan Williams  <dcbw@redhat.com>
14511
14512         * Finally move info-daemon related stuff out of
14513                 NetworkManagerDbus.c to nm-dbus-nmi.c
14514
14515 2005-12-16  Dan Williams  <dcbw@redhat.com>
14516
14517         * Kill auth_method for access points, since that's now done
14518                 by NMAPSecurity objects
14519
14520         * Add a copy-constructor of sorts to NMAPSecurity
14521                 (how do you do this properly in glib???)
14522
14523 2005-12-15  Dan Williams  <dcbw@redhat.com>
14524
14525         * Exorcise encryption key hashing on APs
14526         * Use libnm-util's serialization/deserialization in both the
14527                 applet and NM
14528         * Random other stuff
14529
14530 2005-12-15  Robert Love  <rml@novell.com>
14531
14532         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14533           is being added to the icon naming spec, so let's use that (Tango CVS
14534           has the icon).  Because it is new, however, we fall back to the
14535           current "gnome-lockscreen" if the new icon is not around, thus
14536           behavior is the same.
14537         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14538           factory junk.
14539
14540 2005-12-15  Robert Love  <rml@novell.com>
14541
14542         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14543           well, help to give.  Couple other misc. bits.
14544
14545 2005-12-15  Dan Williams  <dcbw@redhat.com>
14546
14547         * libnm-util/dbus-helpers.[ch]
14548                 - Make this the one-stop-shop for serializing/deserializing
14549                         AP & connection security settings over dbus.  Both NM
14550                         and applets should use this to ensure consistent dbus
14551                         API going forwared.
14552
14553 2005-12-15  Robert Love  <rml@novell.com>
14554
14555         Patch by Timo Hoenig  <thoenig@suse.de>:
14556         * src/NetworkManagerDbus.c
14557                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14558                         if HAL jumps off the system bus.  Otherwise libdbus
14559                         (dbus_connection_dispatch) will try to run the filter
14560                         function of our libhal context which is already freed.
14561
14562 2005-12-15  Alexander Shopov  <ash@contact.bg>
14563
14564         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14565
14566 2005-12-14  Dan Williams  <dcbw@redhat.com>
14567
14568         * include/NetworkManager.h
14569           src/NetworkManagerWireless.c
14570                 - Rearrange 802.11 wireless-specific capabilities again
14571
14572         * src/Makefile.am
14573                 - Forgot to add wpa.c/wpa.h to the makefiles
14574
14575         * src/NetworkManagerAP.[ch]
14576                 - Implement access point capabilities and parse the
14577                         WPA/RSN IEs into the capability bitfield
14578                 - Switch the "encrypted" attribute to utilize the bitfield
14579                         and capabilities rather than being independent
14580
14581         * src/NetworkManagerDevice.c
14582                 - (nm_device_wireless_get_activation_ap): break it horribly
14583                         until we can push NMAPSecurity objects into access point
14584                         objects and through the activation chain
14585                 - Stuff WPA & RSN IEs into AP capabilities
14586
14587         * src/nm-dbus-nm.c
14588                 - Take a shot at actually making setActiveDevice work
14589
14590         * src/wpa.[ch]
14591                 - Make the API a bit saner
14592
14593 2005-12-14  Dan Williams  <dcbw@redhat.com>
14594
14595         * include/NetworkManager.h
14596                 - Add 802.11-specific capability for 802.1x key
14597                         management
14598
14599         * src/wpa.[ch]
14600                 - Pull in WPA IE and RSN IE parsing code from
14601                         wpa_supplicant so we can determine access point
14602                         capabilities
14603                 - Move WPA-related constants here from NetworkManagerAP.h
14604                         and NetworkManagerDevice.c
14605
14606         * src/NetworkManagerDevice.c
14607           src/NetworkManagerAP.[ch]
14608                 - Use WPA-related constants from wpa.h
14609
14610 2005-12-14  Dan Williams  <dcbw@redhat.com>
14611
14612         * include/NetworkManager.h
14613                 - Update and split 802.11 wireless-specific capabilities from
14614                         generic device capabilities
14615
14616         * src/NetworkManagerDevice.c
14617           src/NetworkManagerDevicePrivate.h
14618                 - (nm_device_wireless_discover_capabilities): Move 802.11
14619                         wireless-specific capability checks to
14620                         NetworkManagerWireless.c
14621                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14622                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14623
14624         * src/NetworkManagerWireless.[ch]
14625                 - (nm_802_11_wireless_discover_capabilities): Check extended
14626                         802.11 wireless-specific capabilities of the driver
14627
14628 2005-12-14  Robert Love  <rml@novell.com>
14629
14630         Patch from Stefan Scheler <sscheler@suse.de>:
14631         * src/NetworkManagerDevice.c: call backend code to activate and
14632           deactivate NIS.
14633         * src/NetworkManagerSystem.h: add new NIS interfaces.
14634         * src/backends/NetworkManagerDebian.c,
14635           src/backends/NetworkManagerGentoo.c,
14636           src/backends/NetworkManagerRedHat.c,
14637           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14638           support.
14639         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14640
14641 2005-12-14  Dan Williams  <dcbw@redhat.com>
14642
14643         * src/nm-ap-security*.[ch]
14644                 - Add AP security abstractions to NetworkManager
14645
14646         * src/nm-dbus-device.c
14647                 - Begin to parse new format dbus messages from the applet
14648                         and construct an AP security object from the message
14649
14650         * libnm-util/dbus-helpers.c
14651                 - Use message iters so we can append the key as a fixed
14652                         array of bytes, which actually works rather than
14653                         using dbus_message_append_args() as we were before
14654
14655 2005-12-14  Dan Williams  <dcbw@redhat.com>
14656
14657         * src/NetworkManagerDbus.c
14658           gnome/applet/applet-dbus.c
14659                 - Fix up dbus service replacement options.  The applet
14660                         should allow replacement, NM itself should not.
14661
14662 2005-12-13  Robert Love  <rml@novell.com>
14663
14664         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14665           Instead, fail silently if config is NULL by not asserting and not
14666           returning FALSE.  Also, make sure we always fclose() the file.
14667
14668 2005-12-13  Robert Love  <rml@novell.com>
14669
14670         Patch by Stefan Scheler <sscheler@suse.de>:
14671         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14672            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14673            via DHCP.  Still need the backends to commit the NIS domain name and
14674            and servers to yp.conf as needed.
14675
14676 2005-12-13  Robert Love  <rml@novell.com>
14677
14678         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14679           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14680
14681 2005-12-13  Robert Love  <rml@novell.com>
14682
14683         * src/named-manager/nm-named-manager.c: Don't unref the config until
14684           after we call rewrite_resolv_conf(), because get_last_default_domain()
14685           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14686           `config != NULL' failed" assertion failures and "Could not commit DNS
14687           changes" warnings.
14688
14689 2005-12-12  Dan Williams  <dcbw@redhat.com>
14690
14691         * libnm-util/dbus-helpers.[ch]
14692           libnm-util/Makefile.am
14693                 - new helper calls to consolidate locations where
14694                         NM's setDevice method is called
14695
14696         * gnome/applet/applet-dbus-devices.c
14697           gnome/applet/wireless-security-option.c
14698           gnome/applet/wso-*
14699                 - Implement dbus message param append function for
14700                         all wireless security options
14701
14702 2005-12-12  Robert Love  <rml@novell.com>
14703
14704         * libnm-util/cipher-wep-passphrase.c,
14705           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14706           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14707           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14708           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14709           When handling keys, we don't care what the sign is.  The compiler
14710           guarantees us that we get our 8-bits, which is all we care about.
14711         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14712
14713 2005-12-12  Dan Williams  <dcbw@redhat.com>
14714
14715         * gnome/applet/applet-dbus-devices.[ch]
14716           gnome/applet/applet.c
14717           gnome/applet/other-network-dialog.c
14718           gnome/applet/wireless-security-manager.[ch]
14719           gnome/applet/wireless-security-option.[ch]
14720           gnome/applet/wso-*
14721                 - Push the wireless security options further into the applet
14722
14723 2005-12-12  Robert Love  <rml@novell.com>
14724
14725         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14726           return any name servers.  That is perfectly valid.  (Novell #134369).
14727
14728 2005-12-11  Dan Williams  <dcbw@redhat.com>
14729
14730         * gnome/applet/wso-*
14731           gnome/applet/wireless-security-option.*
14732           gnome/applet/Makefile.am
14733                 - split each security option out so we can eventually
14734                         have each one build up their own dbus message
14735                         arguments to send to NM
14736
14737 2005-12-11  Dan Williams  <dcbw@redhat.com>
14738
14739         * Make validation of the key work correctly
14740
14741 2005-12-11  Dan Williams  <dcbw@redhat.com>
14742
14743         * Hook more bits of the Other Network Dialog up to the
14744                 wireless security manager stuff, and restructure
14745                 bits of the dialog so there's less code.
14746
14747 2005-12-10  Dan Williams  <dcbw@redhat.com>
14748
14749         * gnome/applet/Makefile.am
14750                 - Add libnm-util to includes
14751                 - Add libnm-util to link list
14752                 - Add wireless-security-common.* to compile list
14753
14754         * gnome/applet/other-network-dialog.c
14755                 - Convert to using the WirelessSecurityManager code and
14756                         widgets
14757
14758         * gnome/applet/passphrase-dialog.c
14759                 - Comment out references to stuff in the glade file that
14760                         cause runtime errors until it can be fixed up
14761                         to use the WirelessSecurityManager code
14762
14763         * gnome/applet/wireless-applet.glade
14764                 - Rename some widgets
14765                 - Add widgets for the WirelessSecurityManager code
14766                 - Remove passphrase-related stuff since that's now
14767                         handled by the WirelessSecurityManager code
14768
14769 2005-12-10  Dan Williams  <dcbw@redhat.com>
14770
14771         * gnome/applet/applet-dbus-devices.c
14772                 - Print out error message details for dbus pending call callbacks
14773                 - Move nmwa_dbus_update_devices() up
14774
14775         * gnome/applet/applet-dbus-vpn.c
14776                 - Print out error message details for dbus pending call callbacks
14777
14778 2005-12-10  Dan Williams  <dcbw@redhat.com>
14779
14780         * libnm-util/*
14781                 - More fixups
14782                 - Remove cipher-manager.* because we don't need it
14783                 - Forgot to add gnome-keyring-md5 files to compile list
14784
14785 2005-12-09  Dan Williams  <dcbw@redhat.com>
14786
14787         * libnm-util/*
14788           configure.in
14789           Makefile.am
14790                 - Add a utility library for clients of NetworkManager.  It's
14791                         only targetted at applets for the moment, and contains
14792                         a generalized 802.11 cipher framework for different
14793                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14794
14795 2005-12-09  Robert Love  <rml@novell.com>
14796
14797         * src/NetworkManagerDevice.c: handle error better in
14798           nm_device_set_mode().
14799
14800 2005-12-08  Robert Love  <rml@novell.com>
14801
14802         * include/NetworkManager.h: add WPA capabilities constants
14803         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14804           or WPA2 and add the capabilities bits as appropriate.
14805
14806 2005-12-08  Robert Love  <rml@novell.com>
14807
14808         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14809           NetworkManagerDispatcher.
14810         * configure.in, initscript/SUSE/.cvsignore,
14811           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14812           initscript.
14813
14814 2005-12-08  Robert Love  <rml@novell.com>
14815
14816         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14817
14818 2005-12-08  Robert Love  <rml@novell.com>
14819
14820         * src/NetworkManagerDevice.c: We want to fall back on and default to
14821           IW_MODE_AUTO, not -1, which is more in line with our previous
14822           behavior.  Otherwise, we try to set the wireless mode to -1 in
14823           nm_device_set_mode().
14824
14825 2005-12-07  Robert Love  <rml@novell.com>
14826
14827         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14828           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14829           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14830           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14831           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14832           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14833           zero.
14834
14835 2005-12-07  Robert Love  <rml@novell.com>
14836
14837         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14838           supplied IP is invalid, fall back to DHCP.
14839
14840 2005-12-07  Dan Williams  <dcbw@redhat.com>
14841
14842         * Convert NETWORK_MODE_* constants to IW_MODE_*
14843         * Make all the get_mode/set_mode functions take and return 'int'
14844         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14845
14846 2005-12-07  Robert Love  <rml@novell.com>
14847
14848         * src/NetworkManagerDevice.c: strncpy() buffer check.
14849         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14850
14851 2005-12-06  Dan Williams  <dcbw@redhat.com>
14852
14853         * gnome/applet/applet-dbus.c
14854                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14855
14856         * gnome/applet/applet-dbus-vpn.c
14857                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14858                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14859                         to TRUE here if stage was ACTIVATED
14860
14861 2005-12-06  Dan Williams  <dcbw@redhat.com>
14862
14863         * Change nm_device_is_* functions to better names:
14864                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14865                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14866
14867 2005-12-06  Dan Williams  <dcbw@redhat.com>
14868
14869         * Change naming of NMDeviceType to something more sensible:
14870                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14871                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14872                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14873
14874 2005-12-06  Dan Williams  <dcbw@redhat.com>
14875
14876         * Move NetworkManager.h -> include/NetworkManager.h
14877         * Split out VPN stuff into include/NetworkManagerVPN.h
14878         * Fix up makefiles to include new location
14879         * Fix up sources to include NetworkManagerVPN.h
14880
14881 2005-12-06  Dan Williams  <dcbw@redhat.com>
14882
14883         Various changes in the applet to move VPN connection "state" -> "stage",
14884         which it actually is.  I'd like to change the signal as well when we
14885         break compat in the near future.
14886
14887 2005-12-06  Dan Williams  <dcbw@redhat.com>
14888
14889         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14890         * initscript/Slackware/rc.networkmanager
14891                 - Cosmetic fix
14892
14893         * src/backends/NetworkManagerSlackware.c
14894                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14895                         interfaces
14896
14897 2005-12-05  Robert Love  <rml@novell.com>
14898
14899         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14900           to free, particularly here as it just barfs.
14901
14902 2005-12-05  Dan Williams  <dcbw@redhat.com>
14903
14904         * gnome/applet/applet-dbus.c
14905                 - Work with dbus 0.6 too
14906
14907 2005-12-03  Dan Williams  <dcbw@redhat.com>
14908
14909         * src/NetworkManagerUtils.[ch]
14910           src/nm-ip4-config.c
14911                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14912                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14913
14914 2005-12-01  Robert Love  <rml@novell.com>
14915
14916         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14917           need a NULL for the '...' parameter, too, to fill the so-called
14918           sentinel.
14919
14920 2005-12-01  Robert Love  <rml@novell.com>
14921
14922         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14923           interface is already gone, so don't call rtnl_link_change() to down
14924           it (which will segfault, anyhow).
14925
14926 2005-11-22  Robert Love  <rml@novell.com>
14927
14928         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14929           gateway is not set, just print a little note.  Configurations without
14930           gateways are valid.
14931
14932 2005-11-22  Robert Love  <rml@novell.com>
14933
14934         * README: update
14935
14936 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14937
14938         * configure.in: Added Finnish translation to ALL_LINGUAS
14939
14940 2005-11-14  Robert Love  <rml@novell.com>
14941
14942         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14943           Niemueller <tim@niemueller.de>.
14944
14945 2005-11-08  Dan Williams  <dcbw@redhat.com>
14946
14947         Patch from Bill Moss <bmoss@clemson.edu>
14948         * src/NetworkManagerDevice.c
14949                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14950                         of nm_policy_schedule_activation_finish() to prevent a
14951                         race condition that causes the link to be dropped
14952
14953 2005-11-08  Dan Williams  <dcbw@redhat.com>
14954
14955         Patch from Bill Moss <bmoss@clemson.edu>
14956         * src/NetworkManagerAPList.c
14957           src/NetworkManagerDevice.c
14958           src/NetworkManagerDbus.c
14959                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14960                         we get more readable ether/mac addresses
14961
14962 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14963
14964         * gnome/applet/main.c: Don't set the restart command.  This fixes
14965         the issue where the restart command was getting copies of all its
14966         arguments for each time the applet was restarted.
14967
14968 2005-11-02  Robert Love  <rml@novell.com>
14969
14970         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14971           if the widget state differs from our saved state.  This ensures we
14972           do not enter an endless loop of death and destruction.  Also, this
14973           guarantees us that we enforce the widget state.
14974
14975 2005-11-02  Robert Love  <rml@novell.com>
14976
14977         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14978         * gnome/applet/applet-dbus-devices.c: invoke the new function
14979           nmwa_enable_wireless_set_active() to ensure that the state of the
14980           'Enable Wireless' checkbox matches the daemon's state.  This is a
14981           concern because the daemon remembers the state.
14982
14983 2005-11-02  Robert Love  <rml@novell.com>
14984
14985         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14986           Enabled", as checkboxes should be actions/commands not positive
14987           statements, otherwise they are confusing in the unselected case.  See
14988           examples in GNOME HIG, Chapter 6.
14989
14990 2005-11-02  Robert Love  <rml@novell.com>
14991
14992         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14993           show a list of wireless networks or the wireless devices or the
14994           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14995           a bad bug: If wireless is disabled and the user picks a wireless
14996           network, NM will switch to the network, only to immediately switch
14997           back, as wireless is disabled.  This also reassures people that NM
14998           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14999
15000 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15001
15002         * gnome/applet/applet.c:
15003         * gnome/applet/applet.h:
15004         Partial backout of Dan's timeout animation patch.
15005         Timeout IDs cannot legally be 0, so revert the code in place to handle
15006         a timeout ID of 0 to denote the timeout isn't running.
15007
15008 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15009
15010         * src/NetworkManagerPolicy.c:
15011         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15012
15013 2005-10-28  Robert Love  <rml@novell.com>
15014
15015         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15016           "Import Saved Configuration..." to make it clear that importing is
15017           not the next step, but an option.  As an aside, a nice TODO would be
15018           to move Importing out of the vpn-specific dialog and into the main
15019           property editor, as Importing goes with Adding, but that will require
15020           some rearchitecting of the VPN stuff I suspect.
15021
15022 2005-10-27  Dan Williams  <dcbw@redhat.com>
15023
15024         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15025         we should replace most of the distro-specific backend code
15026         with libnl stuff.
15027
15028         Get it here:  http://people.suug.ch/~tgr/libnl/
15029
15030         * configure.in
15031           src/Makefile.am
15032                 - Add checks for libnl pkgconfig file
15033                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15034
15035         * src/NetworkManagerSystem.c
15036           src/nm-ip4-config.[ch]
15037                 - Use libnl rather than ioctl() for most things
15038                 - Remove unused functions
15039
15040 2005-10-27  Robert Love  <rml@novell.com>
15041
15042         * src/backends/NetworkManagerSuSE.c: fix warning message text
15043
15044 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15045
15046         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15047
15048 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15049
15050         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15051         project page <http://www.gnome.org/projects/NetworkManager/>
15052
15053 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15054
15055         * gnome/applet.c: Also use translator credits if we don't have
15056         the new GtkAboutDialog (older versions of GTK+)
15057
15058 2005-10-26  Robert Love  <rml@novell.com>
15059
15060         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15061           failure; correct usage text for "--no-daemon"
15062
15063 2005-10-25  Dan Williams  <dcbw@redhat.com>
15064
15065         * src/NetworkManagerDevice.c
15066                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15067                         no scan results
15068                 - (free_process_scan_cb_data): unref the device when freeing results
15069                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15070                         so we don't unref the device underneath ourselves
15071
15072 2005-10-25  Dan Williams  <dcbw@redhat.com>
15073
15074         * Back out 2005-10-24 commit from Tor Krill.  Patch
15075                 causes nameservers never to be removed from named.
15076
15077 2005-10-24  Dan Williams  <dcbw@redhat.com>
15078
15079         Clean up wireless scanning and wireless link probing.
15080
15081         * src/NetworkManagerDevice.c
15082                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15083                         just see if there's an activation request on the device, and check the
15084                         current link against the activation request access point's ESSID.
15085                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15086                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15087                         don't call process_scan_results() on zero-length data
15088                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15089                         15 seconds (from 10)
15090
15091 2005-10-24  Dan Williams  <dcbw@redhat.com>
15092
15093         Cleanup some applet stuff:
15094
15095         - Animation timeouts.  If NM died while the applet was animating,
15096                 the applet would not hide itself.  This is now fixed.
15097
15098         - Remove some dead code
15099
15100         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15101                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15102
15103         - Track animation timeout using a gboolean rather than the timeout's
15104                 ID, since timeout IDs can legally be 0.
15105
15106 2005-10-24  Dan Williams  <dcbw@redhat.com>
15107
15108         * src/backends/interface_parser.c
15109                 - Add void to function declarations that need it
15110                         to match patch from Engin AYDOGAN
15111
15112         * src/backends/interface_parser.h
15113                 - Remove unused prototype for ifparser_interfaces()
15114
15115         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15116         * src/backends/interface_parser.h:
15117                 - Compile fixes for gcc 4.0.2 (add void)
15118
15119 2005-10-24  Dan Williams  <dcbw@redhat.com>
15120
15121         Patch from Tor Krill <tor@krill.nu>
15122         * src/named-manager/nm-named-manager.c
15123                 - Write more than just the first nameserver to /etc/resolv.conf
15124                 - Write out valid /etc/resolv.conf on exit
15125
15126 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15127
15128         * gnome/applet/applet-dbus-vpn.c:
15129         Get rid of spurious newlines in debug console output
15130
15131 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15132
15133         * src/backends/NetworkManagerGentoo.c:
15134         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15135
15136 2005-10-20  Robert Love  <rml@novell.com>
15137
15138         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15139           direct comparison of floating point values, which is never correct.
15140           Also some misc. cleanup.
15141
15142 2005-10-19  Robert Love  <rml@novell.com>
15143
15144         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15145
15146 2005-10-19  Robert Love  <rml@novell.com>
15147
15148         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15149           sensitivity of the buttons.  Specificaly, do the right thing if
15150           there are no entries.
15151
15152 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15153
15154         * configure.in: Update check for adequate wireless-tools
15155         with an AC_TRY_COMPILE for the new symbols we use.
15156
15157 2005-10-19  Dan Williams  <dcbw@redhat.com>
15158
15159         * src/NetworkManagerDevice.c
15160                 - (process_scan_results): don't drop the last (or only)
15161                         access point we see
15162
15163 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15164
15165         * src/backends/NetworkManagerSlackware.c:
15166         Patch from Nico <lordllucifer@gmail.com>
15167                 - Update the Slackware backend.
15168
15169 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15170
15171         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15172         if we've got GLib 2.8.0
15173
15174 2005-10-18  Robert Love  <rml@novell.com>
15175
15176         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15177           function nm_schedule_state_change_signal_broadcast() when we
15178           deactivate a device, too.
15179
15180 2005-10-18  Robert Love  <rml@novell.com>
15181
15182         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15183           be used uninitialized.
15184
15185 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15186
15187         * test/libnm_glib_test.c: Test unregistering, too.
15188
15189 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15190
15191         * configure.in: Bump to 0.5.0
15192
15193 2005-10-17  Dan Williams  <dcbw@redhat.com>
15194
15195         * NetworkManager.h
15196                 - Remove WPA-related constants so they aren't part of the
15197                         upcoming release.
15198
15199 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15200
15201         * gnome/applet/applet.c:
15202         * gnome/applet/applet.h:
15203         Desensitize the 'Connection Information' menu item when there is
15204         no active connection.
15205
15206 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15207
15208         * gnome/libnm_glib/libnm_glib.c:
15209         Make libnm_glib_unregister_callback () actually unregister the callback
15210
15211 2005-10-17  Robert Love  <rml@novell.com>
15212
15213         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15214           two seconds -- tries is updated every 1/10 of a second, not every
15215           second..
15216
15217 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15218
15219         * gnome/applet/applet-dbus-info.c:
15220         Let D-BUS know that we haven't handled a message when we haven't.
15221
15222 2005-10-17  Robert Love  <rml@novell.com>
15223
15224         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15225           in order to remain 64-bit clean.
15226
15227 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15228
15229         * gnome/applet/applet-dbus-info.c:
15230         Find network encryption keys asynchronously
15231
15232 2005-10-17  Robert Love  <rml@novell.com>
15233
15234         * src/backends/NetworkManagerDebian.c,
15235           src/backends/NetworkManagerRedHat,
15236           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15237           comment delimiter.
15238
15239 2005-10-17  Robert Love  <rml@novell.com>
15240
15241         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15242           "/etc"
15243
15244 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15245
15246         * src/NetworkManagerDevice.c: (process_scan_results)
15247         Fix logic that checks to see whether we have an ESSID.
15248
15249 2005-10-15  Dan Williams  <dcbw@redhat.com>
15250
15251         Move scanning code into NetworkManager rather than use iwlib's
15252         iw_scan() function, so that we can figure out AP capabilities.
15253
15254         * NetworkManager.h
15255                 - Add AP capability bits
15256
15257         * src/NetworkManagerAP.[ch]
15258                 - Add capability field to NMAccessPoint structure
15259                 - Add WPA & RSN Information Element fields and accessor
15260                         functions to NMAccessPoint
15261
15262         * src/NetworkManagerDevice.c
15263                 - Remove usage of iw_scan
15264                 - Add scanning code to NetworkManager rather than use
15265                         iw_scan() from iwlib
15266
15267         * src/NetworkManagerUtils.[ch]
15268                 - (nm_dispose_scan_results): remove, unused
15269
15270 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15271
15272         * gnome/libnm_glib/libnm_glib.c:
15273         * gnome/libnm_glib/libnm_glib.h:
15274         Use guint instead of gint for callback IDs.
15275
15276 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15277
15278         * gnome/applet/applet.c:
15279         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15280         every 1000ms.  It will unconditionally call nmwa_update_state which
15281         kills the existing animation timeout and registers a new one with a
15282         callback to draw a new frame every 100ms.  There are 11 connecting
15283         icon frames, so the last 2 frames kept getting dropped.  Only reset
15284         the animation timeout if we aren't animating.
15285
15286 2005-10-11  Dan Williams  <dcbw@redhat.com>
15287
15288         * gnome/applet/applet-dbus-devices.c
15289                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15290                         We want to grab the product & vendor from net.physical_dev
15291                         rather than info.parent.
15292
15293 2005-10-11  Dan Williams  <dcbw@redhat.com>
15294
15295         * src/NetworkManagerDevice.c
15296                 - Use the driver's WE version for scanning rather than
15297                         the WE version NM was compiled with.  Fixes random
15298                         crashes in iw_scan () in iwlib.
15299
15300 2005-10-10  Dan Williams  <dcbw@redhat.com>
15301
15302         * Remove nm_system_load_device_modules() from backend files
15303                 and from NetworkManager.c
15304
15305 2005-10-10  Dan Williams  <dcbw@redhat.com>
15306
15307         * src/NetworkManagerPolicy.c
15308                 - Fix some bugs introduced by the capabilities patch
15309
15310 2005-10-10  Dan Williams  <dcbw@redhat.com>
15311
15312         * gnome/applet/applet-dbus-info.c
15313                 - (nmi_dbus_get_network_key): hide the menu when putting up
15314                         the keyring dialog.  (not sure if the code is right...)
15315
15316 2005-10-09  Dan Williams  <dcbw@redhat.com>
15317
15318         Patch from Bill Moss <bmoss@clemson.edu>
15319         * src/NetworkManagerDevice.c
15320                 - (nm_device_set_user_key_for_network): don't try to set auth
15321                         mode on the AP from the allowed list if it's NULL
15322
15323 2005-10-09  Dan Williams  <dcbw@redhat.com>
15324
15325         * Replace the "driver support level" stuff with capabilities.  The
15326                 capability field is a bitfield that is more flexible than the
15327                 old driver support level thing.  It's mostly so we can easily
15328                 figure out what supports WPA and what doesn't, but should be
15329                 quite useful later.
15330
15331 2005-10-09  Dan Williams  <dcbw@redhat.com>
15332
15333         * test/nmtest.c
15334                 - Removed
15335
15336         * test/nm-tool.c
15337           test/Makefile.am
15338                 - Added new "nm-tool" tool that gives quite a bit more
15339                         information
15340
15341 2005-10-07  Robert Love  <rml@novell.com>
15342
15343         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15344           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15345           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15346           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15347           appropriate
15348
15349 2005-10-07  Robert Love  <rml@novell.com>
15350
15351         * configure.in: Change our compile flags for the betterment of mankind.
15352           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15353           prototype is very bad on 64-bit platforms as types default to int but
15354           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15355           "-Wmissing-declarations" to warn if we define an exported function
15356           but fail to put it in a header.
15357
15358 2005-10-07  Robert Love  <rml@novell.com>
15359
15360         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15361           by the name nm_update_device_wireless_timeouts() and once tried,
15362           without success, to steal my pet turtle.
15363
15364 2005-10-07  Robert Love  <rml@novell.com>
15365
15366         * Cleanup prototypes: put some functions in header files and mark
15367           others as 'static' -- feel free to invert
15368         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15369           nm_vpn_manager_vpn_connection_list_copy()
15370         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15371           nm_vpn_service_get_dbus_connection()
15372         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15373           nm_vpn_manager_vpn_connection_list_copy()
15374         * src/vpn-manager/nm-vpn-service.c: make
15375           nm_vpn_service_act_request_failed() and
15376           nm_vpn_service_stage2_daemon_wait() static
15377         * src/vpn-manager/nm-vpn-service.h: add prototype for
15378           nm_vpn_service_get_dbus_connection()
15379
15380 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15381
15382         * gnome/applet/applet.c:
15383         * gnome/applet/applet.h:
15384         * gnome/applet/icons/Makefile.am:
15385         Convey information about the current connection stage in the
15386         icons themselves instead of creating a separate progress bar.
15387
15388 2005-10-04  Robert Love  <rml@novell.com>
15389
15390         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15391           convert an ether_addr structure's MAC into a string, because the
15392           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15393           versus 07:3B:04, while the former will not.
15394
15395 2005-10-04  Robert Love  <rml@novell.com>
15396
15397         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15398           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15399           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15400           default route in the 'Connection Information' dialog, send primary
15401           and secondary name servers in in "getProperties" DBUS method, add
15402           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15403           secondary domain name servers are crucial pieces of information
15404           that a user might need in debugging a network problem.
15405
15406 2005-10-04  Robert Love  <rml@novell.com>
15407
15408         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15409           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15410           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15411           default route in the 'Connection Information' dialog, send default
15412           route in "getProperties" DBUS method, add network_device_set_route(),
15413           and network_device_get_route().  The Gateway is a crucial piece of
15414           connection-related information that a user might need in debugging a
15415           network problem.
15416
15417 2005-10-03  Robert Love  <rml@novell.com>
15418
15419         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15420           NULL.
15421
15422 2005-10-02  Dan Williams  <dcbw@redhat.com>
15423
15424         * Shorten time taken to sleep by fastpathing bits of device deactivation
15425                 necessary for sleep.
15426
15427         * Fix issue where deactivating a device might deactivate the active
15428                 VPN connection, even if the VPN was not using the device.
15429
15430 2005-10-02  Dan Williams  <dcbw@redhat.com>
15431
15432         * gnome/applet/applet.c
15433                 - Adjust signal strength -> icon mapping values slightly
15434                         (so that 51% signal doesn't show a 75% icon) by adding
15435                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15436                         shows 50% icon, etc.
15437
15438 2005-09-29  Robert Love  <rml@novell.com>
15439
15440         * src/NetworkManager.c: removed unused variable.
15441
15442 2005-09-28  Dan Williams  <dcbw@redhat.com>
15443
15444         Support for named + DBus, using Red Hat DBus patches for named.  You
15445         can find those patches here, with "dbus" in the patch's filename:
15446
15447                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15448
15449         Don't forget the named dbus service file either.
15450
15451         Instead of writing a config file and spawing a named process, NM will
15452         use an already-running dbus-enabled named if it finds one.  NM will
15453         update named's forwarder configuration on the fly using dbus.
15454
15455         If there is no dbus-enabled named running, NM will automatically fall
15456         back to writing the most-recent DNS server information to /etc/resolv.conf
15457         and calling nm_system_update_dns() to kick the system's resolver.
15458
15459         Accordingly, all named-related configure-time options have been removed.
15460
15461 2005-09-26  Robert Love  <rml@novell.com>
15462
15463         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15464           ISDN support!
15465         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15466           bug in error path if "ASKPASSWORD" is "no".
15467
15468 2005-09-26  Robert Love  <rml@novell.com>
15469
15470         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15471           comment in /etc/resolv.conf -- ';' is not.
15472
15473 2005-09-19  Dan Williams  <dcbw@redhat.com>
15474
15475         * src/backends/NetworkManagerRedHat.c:
15476         * src/backends/NetworkManagerDebian.c:
15477         * src/backends/NetworkManagerSlackware.c:
15478         * src/backends/NetworkManagerGentoo.c:
15479         * src/backends/NetworkManagerSUSE.c:
15480         Fix invocations of "/sbin/ip address" to use short form instead
15481
15482 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15483
15484         * src/nm-dbus-device.c: Don't assert when getting
15485         addresses of a not yet connected interface.
15486
15487         * gnome/applet/applet.c: Free icons if loading fails.
15488         Use translator-credits so translators can make themselves known.
15489
15490 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15491
15492         * src/NetworkManagerAP.c:
15493         * src/NetworkManagerAP.h:
15494         * src/NetworkManagerDevice.c:
15495         Set a blacklist for certain common manufacturer default ESSIDs:
15496         APs with these ESSIDs are extremely likely to be completely
15497         different networks: connecting to one should not make NM
15498         auto-connect to every other AP with the same default ESSID.
15499
15500 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15501
15502         * gnome/applet/wireless-applet.glade:
15503         The passphrase entry should also activate the default
15504
15505         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15506
15507         * gnome/applet/applet-dbus-devices.c:
15508         * gnome/applet/applet.c:
15509         * gnome/applet/nm-device.c:
15510         * gnome/applet/nm-device.h:
15511         * src/NetworkManagerUtils.c:
15512         * src/NetworkManagerUtils.h:
15513         * src/nm-dbus-device.c:
15514         I've got a fever, and the only cure for it is less ioctl.
15515         Make NM push IP data rather than make the applet open a socket
15516         to the device.
15517
15518 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15519
15520         * gnome/applet/applet.c:
15521         * gnome/applet/applet-dbus-devices.c:
15522         * gnome/applet/applet-dbus-info.c:
15523         * gnome/applet/passphrase-dialog.c:
15524         * gnome/libnm_glib/libnm_glib.c:
15525         * gnome/vpn-properties/nm-vpn-properties.c:
15526         * src/autoip.c:
15527         * src/backends/NetworkManagerRedHat.c:
15528         * src/named-manager/nm-named-manager.c:
15529         * src/NetworkManagerAPList.c:
15530         * src/NetworkManager.c:
15531         * src/NetworkManagerDbus.c:
15532         * src/NetworkManagerDevice.c:
15533         * src/NetworkManagerPolicy.c:
15534         * src/NetworkManagerSystem.c:
15535         * src/nm-dbus-device.c:
15536         * src/nm-dbus-nm.c:
15537         * src/vpn-manager/nm-vpn-manager.c:
15538         * src/vpn-manager/nm-vpn-service.c:
15539         * test/libnm_glib_test.c:
15540         * test/nminfotest.c:
15541         * test/nmtestdevices.c:
15542         Fix a bunch of 'unused variable' compiler warnings
15543
15544         * NetworkManager.h:
15545         * gnome/applet/applet-dbus-info.c:
15546         * gnome/applet/applet-dbus-info.h:
15547         * gnome/applet/applet.c:
15548         * gnome/applet/applet.h:
15549         * src/NetworkManager.c:
15550         * src/NetworkManagerDbus.c:
15551         * src/NetworkManagerDbus.h:
15552         * src/NetworkManagerDevice.c:
15553         * src/NetworkManagerDevice.h:
15554         * src/NetworkManagerMain.h:
15555         * src/NetworkManagerWireless.c:
15556         * src/NetworkManagerWireless.h:
15557         * src/nm-dbus-nm.c:
15558         Make NetworkManager be smart about how frequently to scan
15559         based on its current state.  Remove the UI for choosing when
15560         to scan.  Scanning still may disabled completely by the user
15561         via the "Wireless Enabled" menu item.
15562
15563 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15564
15565         * gnome/applet/applet.c:
15566         Also overlay the vpn connecting icons onto the wired icon,
15567         when appropriate.
15568
15569         * gnome/vpn-properties/nm-vpn-properties.glade:
15570         Clean up a few strings to use better grammar and proper casing.
15571
15572 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15573
15574         * gnome/applet/vpn-connection.c:
15575         * gnome/applet/vpn-connection.h:
15576         Add nmwa_vpn_connection_is_activating ()
15577
15578         * gnome/applet/applet.c:
15579         * gnome/applet/applet.h:
15580         * gnome/applet/icons/nm-vpn-connecting*.png:
15581         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15582         the user know something's happening between clicking the VPN item and it
15583         actually being connected.
15584
15585 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15586
15587         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15588         failure case as well.
15589
15590 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15591
15592         * gnome/panel/eggtrayicon.[ch]:
15593         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15594
15595 2005-09-07  Dan Williams  <dcbw@redhat.com>
15596
15597         Patch from Bill Moss <bmoss@clemson.edu>
15598         * src/applet-dbus.c
15599                 - (nmwa_dbus_filter): strip whitespace from beginning
15600                         and end of VPN login banner
15601
15602 2005-09-07  Dan Williams  <dcbw@redhat.com>
15603
15604         * The great VPN Manager rewrite of 2005
15605
15606 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15607
15608         * gnome/applet/menu-items.c:
15609         * gnome/applet/nm-device.c:
15610         * gnome/applet/wireless-network.c:
15611         * gnome/libnm_glib/libnm_glib.c:
15612         * src/NetworkManagerDbusUtils.c:
15613         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15614         g_malloc0 doesn't return NULL
15615
15616 2005-09-06  Dan Williams  <dcbw@redhat.com>
15617
15618         Patch from Tomislav Vujec <tvujec@redhat.com>
15619         * src/NetworkManagerDevice.c
15620                 - (nm_get_device_by_udi): don't return a device when we
15621                         actually didn't find what we were looking for
15622
15623 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15624
15625         * gnome/applet/applet-dbus-devices.c:
15626         * gnome/applet/applet-dbus-devices.h:
15627         * gnome/applet/applet-dbus.c:
15628         * src/NetworkManagerDbus.c:
15629         * src/NetworkManagerDbus.h:
15630         * src/NetworkManagerDevice.c:
15631         * src/nm-dbus-device.c:
15632         Make NM push updates about active device strength when it changes,
15633         rather than having the applet poll every 2s.
15634
15635 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15636
15637         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15638         network_device_set_strength
15639
15640 2005-09-04  Dan Williams  <dcbw@redhat.com>
15641
15642         Patch from Bill Nottingham <notting@redhat.com>
15643         * src/NetworkManagerDevice.c
15644                 - (nm_device_activation_cancel): reset the quit_activation flag
15645
15646 2005-09-04  Dan Williams  <dcbw@redhat.com>
15647
15648         * src/nm-activation-request.c
15649                 - (nm_act_request_unref): actually free the structure,
15650                         which we didn't seem to be doing before
15651
15652 2005-09-04  Dan Williams  <dcbw@redhat.com>
15653
15654         Patch from John Palmieri <johnp@redhat.com>
15655         * gnome/applet/applet-dbus-devices.c
15656                 - Fix up unreffing of DBusMessage objects
15657
15658 2005-09-04  Dan Williams  <dcbw@redhat.com>
15659
15660         Patch from John Palmieri <johnp@redhat.com>
15661         * gnome/applet/nm-device.c
15662                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15663
15664 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15665
15666         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15667
15668 2005-09-02  Bill Nottingham  <notting@redhat.com>
15669
15670         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15671
15672 2005-09-01  Dan Williams  <dcbw@redhat.com>
15673
15674         * src/NetworkManager.c
15675                 - (nm_remove_device_from_list): rename to nm_remove_device
15676                 - (nm_hal_device_removed): call nm_remove_device()
15677
15678         * src/NetworkManagerDevice.c
15679                 - Change the NMWirelessScanCB member 'reschedule' which
15680                         wasn't used to 'force' to indicate that we need to
15681                         force a scan when adding a device
15682
15683         * src/nm-dbus-nm.c
15684                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15685                         from the device list
15686                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15687
15688 2005-09-01  Robert Love  <rml@novell.com>
15689
15690         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15691           and the check "!iface" in the error case is probably never true.
15692
15693 2005-09-01  Dan Williams  <dcbw@redhat.com>
15694
15695         Patch from Bill Nottingham <notting@redhat.com>
15696         * src/backends/NetworkManagerRedHat.c
15697                 - Add initial dialup support to Red Hat/Fedora backend
15698
15699 2005-09-01  Dan Williams  <dcbw@redhat.com>
15700
15701         * gnome/applet/applet-dbus-devices.c
15702                 - Sort both wireless networks and devices again, which got
15703                         broken when removing threading
15704
15705 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15706
15707         * gnome/applet/applet.c:
15708         Only show the "Stop/Start All Wireless Devices" menuitem
15709         if we actually have wireless devices.
15710
15711         * gnome/applet/applet-dbus-info.c:
15712         * gnome/applet/applet.c:
15713         * gnome/applet/other-network-dialog.c:
15714         * gnome/applet/vpn-password-dialog.c:
15715         Drop the gtk_dialog_run () calls in favor of connecting to
15716         "response" signals, needed now that the applet is not threaded.
15717
15718 2005-08-31  Dan Williams  <dcbw@redhat.com>
15719
15720         Patch from Bill Moss <bmoss@clemson.edu>
15721         * src/NetworkManagerDevice.c
15722                 - (nm_device_wireless_scan): fix scan timeout values
15723
15724 2005-08-30  Dan Williams  <dcbw@redhat.com>
15725
15726         * gnome/applet/wireless-applet.glade
15727                 - HIG-ify the Other Wireless Networks dialog a bit more
15728                 - Fix some potential segfaults in the info dialog
15729
15730 2005-08-30  Dan Williams  <dcbw@redhat.com>
15731
15732         * gnome/applet/applet-dbus-devices.c
15733                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15734
15735 2005-08-30  Dan Williams  <dcbw@redhat.com>
15736
15737         * gnome/applet/applet-dbus.[ch]
15738                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15739                         they weren't being used anyway
15740
15741 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15742
15743         * test/nmtestdevices.c: (print_usage), (main):
15744         Check the number of arguments, and fix a typo
15745
15746 2005-08-29  Dan Williams  <dcbw@redhat.com>
15747
15748         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15749         * gnome/applet/applet.c
15750                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15751
15752 2005-08-29  Dan Williams  <dcbw@redhat.com>
15753
15754         * gnome/applet/*
15755                 - Don't use threads any more.  Anything that blocks
15756                         (like gtk_dialog_run()) will  have to get fixed up which
15757                         should happen quickly.  We really only had threads to make
15758                         the animation smooth, and when everything got converted over
15759                         to DBus Pending Calls, the need for threads kind of went away
15760
15761 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15762
15763         * gnome/applet/applet.c: Draw VPN connections as radio items
15764         since we don't yet support multiple VPNs.
15765         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15766         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15767
15768 2005-08-29  Dan Williams  <dcbw@redhat.com>
15769
15770         Patch from j@bootlab.org
15771         - Make --without-named work
15772         - Make --with-dhcdbd work correctly
15773
15774 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15775
15776         * configure.in: Added "ca" to ALL_LINGUAS.
15777
15778 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15779
15780         * Fix up VPN state handling between the applet and NetworkManager,
15781                 so that the applet doesn't show a VPN as connected when one
15782                 really is not
15783                         - The applet no longer has a pointer to the active VPN's
15784                                 name, but tracks each VPNs state individually
15785                         - NM no longer has a "getActiveVPNConnection" method
15786                         - NM no longer broadcasts the "VPNConnectionChange" signal
15787                         - NM now broadcasts a "VPNConnectionStateChange" signal
15788                                 whenever the state of a VPN changes
15789
15790 2005-08-26  Dan Williams <dcbw@redhat.com>
15791
15792         * gnome/applet/applet-dbus-devices.c
15793           gnome/applet/applet-dbus-vpn.c
15794                 - Remove calls to dbus_pending_call_ref() because we already
15795                         "own" the pending call
15796                 - Remove calls to dbus_pending_call_get_completed() because
15797                         when we are in the callback, the pending call is completed
15798                         by definition
15799
15800 2005-08-22  Dan Williams <dcbw@redhat.com>
15801
15802         Patch by Bill Moss <bmoss@clemson.edu>
15803         * src/dhcp-manager/nm-dhcp-manager.c
15804                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15805                         some time to send out a RELEASE if they like
15806
15807 2005-08-22  Dan Williams <dcbw@redhat.com>
15808
15809         Noticed by Bill Moss <bmoss@clemson.edu>
15810         * src/NetworkManagerDbus.c
15811                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15812                         instead of just cancelling its activation
15813
15814         * src/NetworkManagerDevice.c
15815                 - (nm_device_deactivate): some small cleanups
15816                 - (nm_device_set_user_key_for_network): deactivate the device
15817                         instead of just cancelling its activation
15818
15819 2005-08-22  Dan Williams <dcbw@redhat.com>
15820
15821         Noticed by Bill Moss <bmoss@clemson.edu>
15822         * src/NetworkManagerDevice.c
15823                 - (nm_device_wireless_scan): fix scan timeout, we were
15824                         waiting way too long for scans to complete
15825
15826 2005-08-22  Dan Williams <dcbw@redhat.com>
15827
15828         Patch from j@bootlab.org:
15829         * src/backends/NetworkManagerDebian.c
15830                 - Make the Debian backend work for static IP again
15831
15832 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15833
15834         * gnome/applet/other-network-dialog.c:
15835         The "Create New Network" and "Connect to Other Network"
15836         dialogs share alot of code, but shouldn't share a window
15837         title.  Give them different ones.
15838
15839         * gnome/applet/wireless-applet.glade:
15840         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15841         Some more minor UI tweaks.
15842
15843 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15844
15845         * gnome/applet/other-network-dialog.c:
15846         * gnome/applet/wireless-applet.glade:
15847         Also need mnemonic widgets, and underline enabled.
15848
15849 2005-08-19  Dan Williams <dcbw@redhat.com>
15850
15851         * vpn-daemons/vpnc/nm-vpnc-service.c
15852                 - (vpnc_watch_cb): remove no-longer-relevant comment
15853                 - (write_config_option): new function, helper to write
15854                         config options to vpnc's stdin
15855                 - (nm_vpnc_config_write): use the new helper, make the
15856                         code shorter
15857
15858 2005-08-19  Christopher Aillon <caillon@redhat.com>
15859
15860         * gnome/applet/passphrase-dialog.c:
15861         * gnome/applet/wireless-applet.glade:
15862         Make the passphrase dialog response based, and treat
15863         responses other than OK (such as Esc, [X]) as a cancel.
15864
15865 2005-08-18  Christopher Aillon <caillon@redhat.com>
15866
15867         * initscript/Gentoo/NetworkManager:
15868         * initscript/RedHat/NetworkManager:
15869         * initscript/RedHat/NetworkManagerDispatcher:
15870         * initscript/SUSE/networkmanager:
15871         CVS remove these in place of .in replacements
15872
15873         * configure.in:
15874         * initscript/Gentoo/NetworkManager.in:
15875         * initscript/RedHat/NetworkManager.in:
15876         * initscript/RedHat/NetworkManagerDispatcher.in:
15877         * initscript/SUSE/networkmanager.in:
15878         These scripts now are generated so they work still when
15879         NM is built using a bindir other than /usr/bin
15880
15881 2005-08-18  Dan Williams <dcbw@redhat.com>
15882
15883         * gnome/applet/main.c
15884                 - Revert previous change for --no-session since
15885                         --sm-disable does the same thing
15886
15887 2005-08-18  Dan Williams <dcbw@redhat.com>
15888
15889         * gnome/applet/applet-dbus-info.c
15890                 - (nmi_dbus_create_error_message): new function
15891                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15892                         functions.  Also don't check for both device _and_ network before
15893                         asking for a user's key, because we may not have gotten all our
15894                         networks back from NM quite yet (due to the dbus pending calls
15895                         coming in later).  Fixes a hang in NM/nm-applet.
15896
15897         * src/NetworkManagerDbus.c
15898                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15899                         slightly more sane manner, even though we are still broken for
15900                         certain other error conditions.
15901                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15902                         to the info-daemon too
15903
15904         * src/NetworkManagerDevice.c
15905                 - Fix some debug messages to be info messages instead
15906
15907 2005-08-18  Dan Williams <dcbw@redhat.com>
15908
15909         * gnome/applet/main.c
15910                 - Add new "--no-session" parameter that disables applet
15911                         session management, ie for testing
15912
15913 2005-08-18  Christopher Aillon <caillon@redhat.com>
15914
15915         * gnome/applet/other-network-dialog.c:
15916         * gnome/applet/wireless-applet.glade: More mnemonics
15917
15918 2005-08-17  Robert Love  <rml@novell.com>
15919
15920         * initscript/SUSE/networkmanager: update
15921
15922 2005-08-17  Dan Williams  <dcbw@redhat.com>
15923
15924         * Tag NM_0_4_1_RELEASE
15925
15926 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15927
15928         * gnome/applet/applet.c: More translatable string cleanup
15929
15930
15931 2005-08-17  Dan Williams  <dcbw@redhat.com>
15932
15933         * gnome/applet/applet-dbus-info.c
15934                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15935                         from the dbus message, which tells us to unconditionally
15936                         ask the user for a new key.  Otherwise, we pull the key from
15937                         the keyring and return it.  If we fail to get the key from the
15938                         keyring, we ask the user for a new key.
15939                 - (nmi_dbus_get_network_key): new function to grab the key for
15940                         an essid from the keyring.
15941                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15942                         Also, don't return any key in the dbus message.
15943
15944         * src/NetworkManagerDbus.[ch]
15945                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15946                         indicate that we unconditionally want a new key.  This function
15947                         is now also used to get keys from the info-daemon which are
15948                         pre-stored, not just for asking the user for a new key.  The
15949                         "new_key" parameter indicates whether or not we wish to ask the
15950                         user for a new key.
15951                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15952                         info-daemon in the return message, so use NULL instead.  The
15953                         key will be filled in at connect time by calling
15954                         nm_dbus_get_user_key_for_network()
15955
15956         * src/NetworkManagerDevice.c
15957                 - (nm_device_wireless_configure): update for "new_key" param to
15958                         nm_dbus_get_user_key_for_network().  We initially set new_key
15959                         to FALSE to see if we have a stored key in the info-daemon, but
15960                         if the connection is unsuccessful at this stage we request a
15961                         new one
15962
15963 2005-08-17  Dan Williams  <dcbw@redhat.com>
15964
15965         * gnome/applet/icons/nm-no-connection.png
15966           gnome/applet/icons/nm-device-wired.png
15967                 - Use Diana's new RJ45 connector icons
15968
15969 2005-08-17  Dan Williams  <dcbw@redhat.com>
15970
15971         * src/NetworkManagerPolicy.c
15972                 - (nm_policy_device_change_check): clarify switching rules if
15973                         both new and old devices are valid; mainly, don't switch
15974                         away from user-requested wireless connection back to a wired
15975                         one
15976
15977 2005-08-17  Dan Williams  <dcbw@redhat.com>
15978
15979         * gnome/applet/Makefile.am
15980                 - Relocate the applet to /usr/bin since it is no longer
15981                         executed by anything, but directly by the user
15982
15983 2005-08-17  Dan Williams  <dcbw@redhat.com>
15984
15985         Patch from Bill Moss <bmoss@clemson.edu>
15986
15987         * gnome/applet/applet-dbus-info.[ch]
15988                 - (nmi_save_network_info): save timestamp for network if it
15989                         was a change requested by the user
15990                 - (nmi_dbus_update_network_info): get user_requested from dbus
15991                         message and pass to nmi_save_network_info()
15992
15993         * gnome/applet/applet.c
15994                 - (nmwa_update_network_timestamp): remove
15995                 - (nmwa_menu_item_activate): don't set timestamp on networks
15996                         here, only after a successful connect in nmi_save_network_info()
15997
15998         * src/NetworkManagerDbus.[ch]
15999                 - (nm_dbus_update_network_info): pass user_requested into the 
16000                         dbus message
16001
16002         * src/NetworkManagerPolicy.c
16003                 - (nm_policy_activation_finish): pass user_requested to
16004                         nm_dbus_update_network_info()
16005
16006 2005-08-16  Robert Love  <rml@novell.com>
16007
16008         * gnome/applet/applet.c: Better "Dial Up" menu item.
16009
16010 2005-08-16  Robert Love  <rml@novell.com>
16011
16012         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16013           "Connection Information" menu item.
16014
16015 2005-08-16  Dan Williams  <dcbw@redhat.com>
16016
16017         Patch from j@bootlab.org
16018         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16019
16020         * configure.in: allow specifying the path to dhcdbd
16021
16022 2005-08-16  Robert Love  <rml@novell.com>
16023
16024         Patch from j@bootlab.org
16025         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16026           src/backends/interface_parser.h: Debian dialup support.
16027
16028 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16029
16030         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16031         * gnome/applet/applet.c: Add some mnemonics for VPNC
16032
16033         * vpn-daemons/.cvsignore: fix this up a little bit
16034
16035 2005-08-16  Robert Love  <rml@novell.com>
16036
16037         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16038           support.
16039
16040 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16041
16042         * gnome/applet/applet.c: Split markup out of translatable strings
16043         and clean up logic a little bit.  (fixes #309012)
16044
16045 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16046
16047         * gnome/vpn-properties/nm-vpn-properties.c:
16048         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16049         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16050         Makeshift fix to remove newlines from translatable strings.
16051         Note that we now return an allocated string, so callers of
16052         get_confirmation_details () must now call g_free () on the
16053         result. (fixes #309033).
16054
16055 2005-08-12  Robert Love  <rml@novell.com>
16056
16057         * gnome/applet/applet-dbus.c: remove newlines from translatable
16058           strings--not needed here anyway. (fix b.g.o #309011)
16059         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16060
16061 2005-08-11  Robert Love  <rml@novell.com>
16062
16063         * gnome/applet/applet.c: mark string as translatable.
16064
16065 2005-08-11  Robert Love  <rml@novell.com>
16066
16067         * initscript/SUSE/networkmanager: update.
16068
16069 2005-08-11  Dan Williams  <dcbw@redhat.com>
16070
16071         * src/nm-dhcp-manager.c
16072                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16073                         an gateway returned from DHCP, try to use the address of the DHCP
16074                         server as the gateway instead.  Found by Ralf Ertzinger.
16075
16076 2005-08-10  Robert Love  <rml@novell.com>
16077
16078         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16079           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16080
16081 2005-08-10  Dan Williams  <dcbw@redhat.com>
16082
16083         Patch from Bill Moss <bmoss@clemson.edu>
16084         * Consolidate writes of access point information updates to the info daemon
16085                 so that we only do it when the connection to the access point was
16086                 successful.  Also consolidates updates to GConf in the Gnome applet.
16087
16088         * src/nm-netlink-monitor.c
16089                 - Silence compile warning when calling g_object_new()
16090
16091 2005-08-08  Dan Williams  <dcbw@redhat.com>
16092
16093         Patch from Steev <steev@steev.net>:
16094         * src/backends/NetworkManagerGentoo.c
16095                 - Stub new dialup backend functions
16096
16097 2005-08-08  Dan Williams  <dcbw@redhat.com>
16098
16099         Patch from Colin Slater:
16100         * src/backends/NetworkManagerGentoo.c
16101                 - (nm_system_update_dns): Fix exit status check for restarting
16102                         nscd
16103
16104 2005-08-05  Robert Love  <rml@novell.com>
16105
16106         * NetworkManager.h,
16107           gnome/applet/applet-dbus-devices.c,
16108           gnome/applet/applet-dbus-devices.h,
16109           gnome/applet/applet-dbus.c,
16110           gnome/applet/applet.c,
16111           gnome/applet/applet.h,
16112           src/NetworkManager.c,
16113           src/NetworkManagerMain.h,
16114           src/NetworkManagerSystem.h,
16115           src/backends/NetworkManagerRedHat.c,
16116           src/backends/NetworkManagerSuSE.c,
16117           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16118
16119 2005-08-05  Robert Love  <rml@novell.com>
16120
16121         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16122           machine's hostname to make adhoc creation idiot-proof.
16123
16124 2005-08-04  Robert Love  <rml@novell.com>
16125
16126         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16127           freed.
16128
16129 2005-08-04  Dan Williams  <dcbw@redhat.com>
16130
16131         * gnome/applet/applet-dbus-info.c
16132           gnome/applet/applet-dbus-info.h
16133                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16134                         to store key, key type, and auth method rather than just auth method
16135                 - (nmi_dbus_update_network_info): new function
16136                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16137
16138         * gnome/applet/passphrase-dialog.c
16139                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16140                         of saving the info ourselves
16141
16142         * gnome/libnm_glib/libnm_glib.c
16143                 - Remove the stupid version check for dbus
16144
16145         * src/NetworkManagerAP.c
16146           src/NetworkManagerAP.h
16147                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16148
16149         * src/NetworkManagerDbus.c
16150           src/NetworkManagerDbus.h
16151                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16152                         more than just the auth method
16153
16154         * src/NetworkManagerDevice.c
16155                 - Update network info at the appropriate times
16156
16157 2005-07-29  Ray Strode  <rstrode@redhat.com>
16158
16159         * src/NetworkManager.c (nm_info_handler): don't use input as format
16160         string (Spotted by Ian Jackson).
16161
16162 2005-07-27  Dan Williams  <dcbw@redhat.com>
16163
16164         * src/nm-dbus-nm.c
16165           src/nm-dbus-net.c
16166                 - Random cleanups of spacing
16167
16168         * gnome/applet/applet.h
16169           gnome/applet/other-network-dialog.c
16170           gnome/applet/passphrase-dialog.c
16171                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16172
16173         Patch from Bill Moss:
16174                 - Make Other Wireless Networks work again with encryption keys
16175
16176 2005-07-26  Dan Williams  <dcbw@redhat.com>
16177
16178         Patch from Steev <steev@steev.net>:
16179         * src/backends/NetworkManagerGentoo.c
16180           src/backends/Makefile.am
16181                 - Fix up Gentoo backend
16182
16183 2005-07-26  Robert Love  <rml@novell.com>
16184
16185         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16186
16187 2005-07-25  Robert Love  <rml@novell.com>
16188
16189         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16190           in the same group as the wireless networks, since they are all
16191           mutually exclusive.
16192
16193 2005-07-24  Ray Strode  <rstrode@redhat.com>
16194
16195         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16196         remove unneeded NULL arg from g_object_new().  Any
16197         warnings caused by not having the extra NULL are just a
16198         result of a bug in glib 2.7.0 - 2.7.2.
16199
16200 2005-07-22  Robert Love  <rml@novell.com>
16201
16202         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16203
16204 2005-07-22  Robert Love  <rml@novell.com>
16205
16206         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16207           parameters (gcc 4.0.2 warning fix).
16208
16209 2005-07-18  Robert Love  <rml@novell.com>
16210
16211         Suggested by Aaron Bockover (abockover@novell.com)
16212         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16213           s/Ascii/ASCII
16214         * gnome/applet/passphrase-dialog.c: ditto
16215         * gnome/applet/wireless-applet.glade: ditto
16216
16217 2005-07-13  Dan Williams  <dcbw@redhat.com>
16218
16219         Patch from Ray Strode <halfline@gmail.com>
16220         * vpn-daemons/vpnc/nm-vpnc-service.c
16221                 - Don't let vpnc daemonize, fixes some races with PID file reading
16222
16223 2005-07-13  Dan Williams  <dcbw@redhat.com>
16224
16225         Patch from Ray Strode <halfline@gmail.com>
16226         * Random cleanups for strict CFLAGS
16227
16228 2005-07-07  Dan Williams  <dcbw@redhat.com>
16229
16230         Patch from Derek Atkins <warlord@MIT.EDU>
16231         * src/nm-dbus-net.c:
16232                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16233
16234 2005-07-07  Dan Williams  <dcbw@redhat.com>
16235
16236         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16237         * src/backends/NetworkManagerGentoo.c
16238                 - Gentoo backend Static IP nameserver fixes
16239                 - General Gentoo backend goodness
16240
16241 2005-07-07  Dan Williams  <dcbw@redhat.com>
16242
16243         Patch from Bastien Nocera:
16244         * gnome/applet/applet.c
16245                 - Fix up error reporting when icons or glade files are missing
16246
16247 2005-07-07  Robert Love  <rml@novell.com>
16248
16249         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16250           are not any VPN connections above it.
16251
16252 2005-07-07  Robert Love  <rml@novell.com>
16253
16254         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16255
16256 2005-07-05  Robert Love  <rml@novell.com>
16257
16258         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16259           zero.
16260
16261 2005-07-05  Robert Love  <rml@novell.com>
16262
16263         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16264           on wired or unencrypted wireless.
16265
16266 2005-07-01  Robert Love  <rml@novell.com>
16267
16268         * src/NetworkManagerSystem.c: Print the error via strerror().
16269
16270 2005-06-30  Robert Love  <rml@novell.com>
16271
16272         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16273           then exit if the glade file is not found.  currently the application
16274           just hangs.
16275
16276 2005-06-30  Robert Love  <rml@novell.com>
16277
16278         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16279           explicitly up all interfaces on wake from sleep.
16280
16281 2005-06-30  Robert Love  <rml@novell.com>
16282
16283         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16284           with information about the currently active connection.
16285         * gnome/applet/applet.h: (ditto)
16286         * gnome/applet/wireless-applet.glade: (ditto), new file
16287
16288 2005-06-30  Robert Love  <rml@novell.com>
16289
16290         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16291         * src/nm-dbus-nm.c: print when we sleep and wake up.
16292         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16293         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16294           in /sbin unless D-BUS is, folks).
16295         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16296
16297 2005-06-27  Robert Love  <rml@novell.com>
16298
16299         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16300           case.
16301
16302 2005-06-27  Robert Love  <rml@novell.com>
16303
16304         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16305           items radios.
16306
16307 2005-06-26  Robert Love  <rml@novell.com>
16308
16309         * src/NetworkManagerDevice.c: be specific about which device in
16310           nm_info() message.
16311
16312 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16313
16314         * src/nm-netlink-monitor.c: correct spelling error.
16315
16316 2005-06-23  Robert Love  <rml@novell.com>
16317
16318         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16319         * gnome/applet/passphrase-dialog.c: more of that keyring!
16320
16321 2005-06-23  Robert Love  <rml@novell.com>
16322
16323         * configure.in: remove extraneous GNOMEKEYRING directives.
16324         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16325         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16326         * gnome/applet/passphrase-dialog.c: whitespace.
16327
16328 2005-06-23  Robert Love  <rml@novell.com>
16329
16330         * src/NetworkManagerDevice.c: division in assignment was flipped.
16331
16332 2005-06-23  David Zeuthen  <david@fubar.dk>
16333
16334         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16335         signal to the child to indicate that we got what we wanted when we
16336         see two new-lines right after each other.
16337         (nmwa_vpn_request_password): Pass a structure with several members
16338         instead of just the passwords
16339
16340 2005-06-23  Dan Williams <dcbw@redhat.com>
16341
16342         * src/NetworkManager.c
16343           src/NetworkManagerMain.h
16344                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16345                 - (nm_hal_init): new function, init libhal context then add devices
16346                 - (nm_hal_deinit): new function, clean up libhal context
16347                 - (nm_data_free): Move Hal cleanup here
16348                 - (main): check whether Hal is running, and if so, get a list of
16349                         network devices from it
16350
16351         * src/NetworkManagerDbus.c
16352                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16353                         and when it appears, get a list of network devices from it.  If
16354                         Hal goes away, clean up the libhal context
16355
16356 2005-06-22  Robert Love  <rml@novell.com>
16357
16358         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16359           permissions of scripts before executing.
16360
16361 2005-06-21  Robert Love  <rml@novell.com>
16362
16363         * initscript/SUSE/networkmanager: update.
16364         * src/backends/NetworkManagerSuSE.c: cleanup.
16365
16366 2005-06-21  Robert Love <rml@novell.com>
16367
16368         * gnome/applet/applet.c: use menu mnemonics.
16369         * gnome/applet/menu-items.c: (ditto)
16370
16371 2005-06-21  Robert Love  <rml@novell.com>
16372
16373         * applet/applet-dbus-devices.c: mark non-static functions static.
16374         * applet/applet-dbus-vpn.c: (ditto)
16375         * applet/applet.c: (ditto)
16376         * applet/nm-device.h: (ditto)
16377         * applet/other-network-dialog.c: (ditto)
16378         * applet/passphrase-dialog.c: (ditto)
16379         * NetworkManager.c: (ditto)
16380         * NetworkManagerDbus.c: (ditto)
16381         * NetworkManagerDevice.c: (ditto)
16382         * NetworkManagerPolicy.c: (ditto)
16383         * NetworkManagerUtils.c: (ditto)
16384         * NetworkManagerWireless.c: (ditto)
16385         * NetworkManagerWireless.h: (ditto)
16386         * nm-netlink-monitor.c: (ditto)
16387         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16388         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16389         * autoip.c: include autoip.h.
16390         * autoip.h: new file.  define get_autoip().
16391         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16392         * NetworkManagerDbus.h: remove duplicate definitions.
16393
16394 2005-06-20  Robert Love  <rml@novell.com>
16395
16396         * Makefile.am: Add missing intltool-foo.in generated files to
16397           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16398           with the start of stuff to cleanup on 'distclea'.
16399         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16400           stuff right and 'distcheck' works.
16401         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16402           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16403           Makefile.am for each.  And systray/Makefile needs to be redone.
16404
16405 2005-06-19  Dan Williams <dcbw@redhat.com>
16406
16407         * src/NetworkManagerDevice.c
16408         - (nm_device_wireless_process_scan_results): scan every 20s when
16409           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16410
16411 2005-06-19  Dan Williams <dcbw@redhat.com>
16412
16413         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16414
16415 2005-06-18  Ray Strode <rstrode@redhat.com>
16416
16417         * src/nm-netlink-monitor.c 
16418         (nm_netlink_monitor_event_handler): check for the presence
16419         of either error condition not both. 
16420         
16421         (nm_netlink_monitor_error_handler): emit error signal if
16422         error occurs.
16423
16424         (nm_netlink_monitor_event_handler),
16425         (nm_netlink_monitor_error_handler),
16426         (nm_netlink_monitor_disconnect_handler): if an 
16427         assertion fails disconnect the event handler to prevent 
16428         infinite loops.
16429
16430         * src/nm-netlink-monitor.h: add new error condition
16431         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16432
16433 2005-06-18  Ray Strode <rstrode@redhat.com>
16434
16435         * src/nm-netlink-monitor.c 
16436         (nm_netlink_monitor_event_handler): remove bogus < 0
16437         check on unsigned value and return early if the kernel
16438         didn't send any bytes.
16439
16440 2005-06-17  Robert Love  <rml@novell.com>
16441
16442         * initscript/SUSE/networkmanager: Change the Provides and default
16443         run levels
16444
16445 2005-06-16  Dan Williams <dcbw@redhat.com>
16446
16447         Patch from Robert Love:
16448         * gnome/applet/applet.c
16449                 - Beautify some applet menu item names
16450
16451 2005-06-17  David Zeuthen  <davidz@redhat.com>
16452
16453         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16454         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16455         Also add new methods can_export, import_file and export.
16456
16457         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16458         to the main UI
16459
16460         * gnome/vpn-properties/nm-vpn-properties.c:
16461         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16462         nm-vpn-ui-interface.h.
16463         (update_edit_del_sensitivity): Also update "Export" sensitivity
16464         (add_vpn_connection): Also add new SVC_NAME column
16465         (import_settings): New function
16466         (retrieve_data_from_selected_connection): New function
16467         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16468         this function
16469         (export_cb): New function
16470         (init_app): Also setup the "export" widget
16471         (main): Support the --import-service and --import-file commandline
16472         arguments
16473
16474         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16475         D-BUS 0.34
16476
16477 2005-06-16  Dan Williams <dcbw@redhat.com>
16478
16479         Patch from Robert Love:
16480         * gnome/applet/menu-items.c
16481                 - (network_menu_item_new): pass -1 as wireless network
16482                         menu items height size request rather than ascent / 2
16483
16484 2005-06-16  Dan Williams <dcbw@redhat.com>
16485
16486         * Clean up wording in Wireless Scan Methods menu items and constants
16487
16488 2005-06-16  Robert Love  <rml@novell.com>
16489
16490         * po/POTFILES.in
16491                 - remove gtkcell* files
16492
16493 2005-06-15  Dan Williams <dcbw@redhat.com>
16494
16495         Patch from Robert Love: make the applet stetic
16496
16497         * gnome/applet/Makefile.am
16498                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16499
16500         * gnome/applet/gtkcellview.h
16501           gnome/applet/gtkcellview.c
16502           gnome/applet/gtkcellrendererprogress.h
16503           gnome/applet/gtkcellrendererprogress.c
16504                 - Removed
16505
16506         * gnome/applet/menu-items.c
16507                 - Progress bars are 5:1 size ratio
16508                 - Use GTK progress bars rather than internal ones
16509
16510 2005-06-15  Dan Williams <dcbw@redhat.com>
16511
16512         Patch from Robert Love:
16513         * initscript/SUSE/networkmanager
16514                 - Fix typo
16515
16516 2005-06-15  Dan Williams <dcbw@redhat.com>
16517
16518         * src/backends/NetworkManagerSuSE.c
16519           src/backends/NetworkManagerRedHat.c
16520           src/backends/NetworkManagerDebian.c
16521                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16522
16523 2005-06-15  Dan Williams <dcbw@redhat.com>
16524
16525         * src/backends/NetworkManagerDebian.c
16526                 - Add nm_system_device_get_use_dhcp() to debian backend
16527
16528         Patch from Kay Sievers:
16529         * src/backends/NetworkManagerSuSE.c
16530                 - Update debian backend for static IP nameservers
16531
16532         * src/NetworkManagerDevice.c
16533                 - Actually set the device to use static IP or DHCP rather
16534                         than always DHCP
16535
16536 2005-06-15  Dan Williams <dcbw@redhat.com>
16537
16538         Patch from Thom May:
16539         * src/backends/NetworkManagerDebian.c
16540                 - Update debian backend for static IP nameservers
16541
16542 2005-06-15  Dan Williams <dcbw@redhat.com>
16543
16544         Patches from Robert Love:
16545         * gnome/applet/wireless-applet.glade
16546                 - Tighten up wording
16547
16548         * src/NetworkManagerDevice.c
16549                 - Remove misplaced ';'
16550
16551         * configure.in
16552           initscript/Makefile.am
16553           initscript/SUSE/Makefile.am
16554           initscript/SUSE/networkmanager
16555                 - Add SUSE initscript
16556
16557 2005-06-12  David Zeuthen  <davidz@redhat.com>
16558
16559         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16560
16561         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16562
16563         * gnome/vpn-properties/nm-vpn-properties.c: New file
16564
16565         * gnome/vpn-properties/Makefile.am: New file
16566
16567         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16568         array of passwords
16569
16570         * src/vpn-manager/nm-vpn-manager.c
16571         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16572         instead of just a single one
16573
16574         * src/vpn-manager/nm-dbus-vpn.c:
16575         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16576         here
16577         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16578
16579         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16580         Change the interface here to give a list of passwords. Also, don't
16581         require username, but do require service
16582
16583         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16584         the binary for the auth-dialog and use that instead of putting up a
16585         dialog asking for a single password
16586
16587         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16588         however do remember the service
16589
16590         * gnome/applet/main.c (main): Setup i18n
16591
16592         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16593         connection to '%s'" to the tooltip if we are connected using VPN
16594         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16595         key to determine whether we the auth-dialog needs to
16596         reprompt. Also cope with the fact that the auth-dialog now returns
16597         an array of passwords.
16598         (nmwa_menu_configure_vpn_item_activate): New handler for
16599         "Configure VPN..." menu item
16600         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16601         (is_vpn_available): New function to determine if we got any
16602         NM-compatible VPN software installed
16603         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16604         items only if we have NM-compatible VPN software installed
16605         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16606         logic for detecting when VPN connections are removed
16607
16608         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16609         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16610         since these are defined elsewhere
16611
16612         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16613         function used to keep track of whether the last attempt succeded
16614         (nmwa_dbus_filter): Update last_attempt according to whether the
16615         VPN connection could be established or not
16616
16617         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16618         Change prototype to take an array of passwords, not just a single
16619         password
16620
16621         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16622         update service, not user
16623         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16624         dbus_active_vpn_name is not NULL before using it
16625         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16626         string array instead of assuming a single password
16627
16628         * gnome/applet/applet-dbus-info.c:
16629         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16630         user name; don't read from gconf
16631
16632         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16633         VPN_NAME_FILES_DIR
16634
16635         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16636
16637         * configure.in: Add checks for gmodule-2.0.
16638         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16639         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16640         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16641         for details
16642
16643         * vpn-daemons/Makefile.am: Removed
16644
16645         * vpn-daemons/README: New file to describe extensions points for VPN
16646         software
16647
16648 2005-06-10  Dan Williams <dcbw@redhat.com>
16649
16650         * src/backends/NetworkManagerRedHat.c
16651                 - (get_current_profile_name): new function, grab current network profile name from
16652                         /etc/sysconfig/network
16653                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16654                         update an IP4 Config structure's settings from it
16655                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16656                         get DNS info from current network profile
16657
16658 2005-06-09  Dan Williams <dcbw@redhat.com>
16659
16660         Patch from Robert Love:
16661         * src/NetworkManagerDevice.c
16662           src/NetworkManagerUtils.c
16663                 - 64-bit build fixes
16664
16665 2005-06-09  Dan Williams <dcbw@redhat.com>
16666
16667         Patch from Kay Sievers and Robert Love:
16668         * configure.in
16669           src/backends/Makefile.am
16670           src/backends/NetworkManagerSuSE.c
16671                 - Add SuSE support
16672
16673 2005-06-09  Dan Williams <dcbw@redhat.com>
16674
16675         * NetworkManager.h
16676                 - Add NMWirelessScanMethod enum for scan methods
16677
16678         * gnome/applet/applet-dbus-devices.c
16679                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16680                 - (nmwa_dbus_update_scanning_enabled): remove
16681                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16682                         since it got removed
16683                 - (nmwa_dbus_enable_scanning): remove
16684
16685         * gnome/applet/applet-dbus-info.c
16686                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16687                         update the wireless scanning method from NMI
16688                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16689                         method value to NetworkManager
16690                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16691
16692         * gnome/applet/applet-dbus-info.h
16693                 - Add prototype for nmi_dbus_signal_update_scan_method
16694
16695         * gnome/applet/applet.c
16696                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16697                         Wireless Scanning menu based on current wireless scan method
16698                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16699                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16700                         and update our menu items to make sure the right one is checked
16701                 - (nmwa_set_scanning_enabled_cb): remove
16702                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16703                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16704                         Scanning menu item
16705                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16706                         from GConf
16707                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16708                         so we get notified of preference values too
16709                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16710
16711         * gnome/applet/applet.h
16712                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16713                 - Add wireless scan method member to applet data
16714                 - Remove pause_scanning_item, add Wireless Scanning submenu
16715
16716         * src/NetworkManager.c
16717                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16718                 - (main): grab scanning method from NMI if we can
16719
16720         * src/NetworkManagerDbus.c
16721                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16722                         nm_dbus_update_wireless_scan_method()
16723                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16724                         from NMI
16725                 - (nm_dbus_nmi_is_running): redundant function, removed
16726                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16727                         when NMI comes back
16728
16729         * src/NetworkManagerDevice.c
16730                 - (nm_device_is_activated): return TRUE if the device is activated
16731                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16732                         and we are activated
16733
16734         * src/nm-dbus-nm.c
16735                 - (nm_dbus_nm_set_scanning_enabled): removed
16736                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16737                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16738
16739 2005-06-09  Dan Williams <dcbw@redhat.com>
16740
16741         * NetworkManager.h
16742           src/vpn-manager/nm-vpn-service.c
16743                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16744
16745 2005-05-27  Dan Williams <dcbw@redhat.com>
16746
16747         * vpn-daemons/vpnc/nm-vpnc-service.c
16748                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16749                         Should fix the bug where the VPN connection terminates the first time.
16750
16751 2005-05-20  Dan Williams <dcbw@redhat.com>
16752
16753         * NetworkManager.h
16754                 - Differentiate VPN config signals between bad VPN config options
16755                         and bad IP config
16756
16757         * gnome/applet/applet-dbus-info.h
16758                 - Add prototypes for wireless network and vpn connection update functions
16759
16760         * gnome/applet/applet-dbus.c
16761                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16762
16763         * gnome/applet/applet.c
16764                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16765                         error signals
16766                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16767                         propogation to NetworkManager
16768                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16769                         notify propogation to NetworkManager
16770
16771         * src/NetworkManagerDbus.c
16772                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16773                         are updating so a network can be removed from it if necessary
16774
16775         * src/vpn-manager/nm-vpn-manager.c
16776                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16777
16778         * vpn-daemons/vpnc/nm-vpnc-service.c
16779                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16780                 - (nm_vpnc_dbus_signal_launch_failed): remove
16781                 - (nm_vpnc_dbus_signal_connect_failed): remove
16782                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16783                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16784                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16785                         for new generalized error signal function, remove config file stuff
16786                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16787                         we can write configuration options to it
16788                 - (nm_vpnc_config_file_generate): removed
16789                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16790                 - (nm_vpnc_config_options_validate): validate the config options we receive
16791                         from NetworkManager to block potential exploits
16792                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16793                         starting vpnc
16794                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16795                         to NetworkManager
16796
16797 2005-05-16  Dan Williams  <dcbw@redhat.com>
16798
16799         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16800                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16801                         is not "connect"
16802
16803 2005-05-16  Dan Williams  <dcbw@redhat.com>
16804
16805         Patch from Tomislav Vujec <tvujec@redhat.com>
16806         * gnome/applet/applet-dbus-info.c
16807                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16808                         GConf and pass them to NetworkManager.  New key is 'routes' under
16809                         the VPN connection, and should be a string list
16810
16811         * src/NetworkManagerSystem.c
16812                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16813                         set them on the device when we set the rest of the VPN config.  Ensure
16814                         they are in the correct format since they are passed directly to the
16815                         command line.
16816
16817         * src/backends/NetworkManagerRedHat.c
16818           src/backends/NetworkManagerDebian.c
16819                 - (nm_system_device_add_route_via_device_with_iface): new function
16820
16821         * src/vpn-manager/nm-dbus-vpn.c
16822                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16823
16824         * src/vpn-manager/nm-vpn-manager.c
16825                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16826                         them into the IP4 config functions
16827
16828 2005-05-15  Dan Williams  <dcbw@redhat.com>
16829
16830         From Filip Miletic:
16831         * po/sr.po
16832           po/sr@Latn.po
16833           configure.in
16834                 - Serbian translation added
16835
16836 2005-05-15  Dan Williams  <dcbw@redhat.com>
16837
16838         * dispatcher-daemon/NetworkManagerDispatcher.c
16839                 - (main): sync arguments with NetworkManager and the applet, now use
16840                         "--no-daemon" rather than "daemon=no"
16841                 - (nmd_print_usage): Fix script path in usage message
16842
16843 2005-05-15  Dan Williams  <dcbw@redhat.com>
16844
16845         * src/NetworkManagerDevice.[ch]
16846           src/NetworkManagerPolicy.c
16847           src/NetworkManager.c
16848           src/nm-dbus-nm.c
16849                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16850                         longer send the DeviceNoLongerActive signal unconditionally, but only
16851                         when the device is actually active.
16852
16853         * dispatcher-daemon/NetworkManagerDispatcher.c
16854                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16855                         and simplify the logic
16856                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16857                         we free it later on
16858
16859         * initscript/RedHat/Makefile.am
16860           initscript/RedHat/NetworkManagerDispatcher
16861                 - Add initscript for NetworkManagerDispatcher
16862
16863
16864         Patch from Bill Moss:
16865         * dispatcher-daemon/NetworkManagerDispatcher.c
16866                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16867
16868         * src/NetworkManagerDbus.c
16869                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16870                         and DeviceNowActive gets signaled, then the device has a new IP address
16871                         anyway.  There's no need for a separate signal.
16872
16873         * src/NetworkManagerDevice.c
16874                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16875
16876         * src/NetworkManagerPolicy.c
16877                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16878                         activates successfully.  This kind of went missing when I reworked the
16879                         activation code.
16880
16881 2005-05-15  Dan Williams  <dcbw@redhat.com>
16882
16883         * configure.in
16884                 - Check for dhcdbd and error if its not found
16885
16886         * src/dhcp-manager/Makefile.am
16887           src/dhcp-manager/nm-dhcp-manager.c
16888                 - Use path to dhcdbd that configure found
16889
16890 2005-05-14  Dan Williams  <dcbw@redhat.com>
16891
16892         * gnome/applet/nm-device.c
16893                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16894                         sort wireless networks alphabetically
16895
16896         * gnome/applet/applet-dbus-devices.c
16897                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16898                         before copying them over to the GUI
16899
16900 2005-05-14  Dan Williams  <dcbw@redhat.com>
16901
16902         * src/NetworkManager.c
16903                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16904                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16905                         the device list, as does nm_get_active_device() which is called from
16906                         nm_vpn_manager_deactivate_vpn_connection().
16907
16908 2005-05-14  Dan Williams  <dcbw@redhat.com>
16909
16910         * NetworkManager.h
16911                 - Add signals for VPN Launch and Connect failures
16912
16913         * gnome/applet/applet-dbus.c
16914                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16915
16916         * gnome/applet/applet.c
16917                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16918                         function to handle all VPN failure messages
16919                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16920                         function to hanlde all VPN failure  messages
16921                 - (show_warning_dialog): work around focus-stealing prevention
16922
16923         * gnome/applet/other-network-dialog.c
16924           gnome/applet/passphrase-dialog.c
16925                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16926                         problem where it never enabled for ASCII Key and Hex Key types
16927
16928         * gnome/applet/wireless-applet.glade
16929                 - Add window title to Other Wireless Network Dialog
16930
16931         * src/vpn-manager/nm-dbus-vpn.c
16932                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16933                         function to handle all VPN failure messages
16934
16935         * src/vpn-manager/nm-vpn-manager.c
16936                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16937
16938         * vpn-daemons/vpnc/nm-vpnc-service.c
16939                 - (nm_vpnc_dbus_signal_launch_failed): new function
16940                 - (nm_vpnc_dbus_signal_connect_failed): new function
16941                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16942                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16943                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16944                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16945
16946 2005-05-11  Dan Williams  <dcbw@redhat.com>
16947
16948         * vpn-daemons/vpnc/nm-vpnc-service.c
16949                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16950                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16951                         file exists before trying to write it out.
16952
16953 2005-05-10  Dan Williams  <dcbw@redhat.com>
16954
16955     * gnome/applet/applet-dbus-device.c
16956         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16957             prevented just entering ESSID and leaving key and key type up to
16958             NetworkManager (which should have them already cached)
16959
16960 2005-05-08  Dan Williams  <dcbw@redhat.com>
16961
16962         * src/NetworkManagerPolicy.c
16963                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16964                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16965                         fix a situation where NM is told to terminate and the device stops activation,
16966                         but the main thread isn't aware of that because it would never have run
16967                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16968                         had already quit.
16969
16970         * src/NetworkManagerDevice.c
16971                 - (nm_device_probe_wired_link_state): cosmetic fixes
16972                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16973                         we've failed to activate or been canceled.
16974                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16975
16976 2005-05-08  Dan Williams  <dcbw@redhat.com>
16977
16978         * src/NetworkManagerWireless.c
16979                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16980                         value of WEXT quality structures, and add a debug message when we cannot
16981                         determine any quality % at all
16982
16983 2005-05-08  Dan Williams  <dcbw@redhat.com>
16984
16985         * src/dhcp-manager/nm-dhcp-manager.c
16986                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16987                         it goes down.
16988
16989 2005-05-06  Dan Williams  <dcbw@redhat.com>
16990
16991         * gnome/applet/applet-dbus-device.c
16992           gnome/applet/applet-dbus-info.c
16993           gnome/applet/applet-dbus.c
16994           gnome/applet/applet.c
16995           gnome/applet/applet.h
16996                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16997
16998         * gnome/applet/applet-dbus.c
16999                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17000                         so we notice when wired device's carriers come back on.  Should
17001                         fix issue with wired devices being grayed out even if the cable
17002                         is in, for devices that support carrier detection.
17003
17004         * gnome/applet/applet.c
17005                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17006                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17007                         tooltip message
17008                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17009                         Fix situation where applet wouldn't respond to menu selections
17010
17011         * src/NetworkManager.c
17012           src/NetworkManagerDevice.c
17013           src/NetworkManagerDbus.c
17014           src/NetworkManagerDbus.h
17015                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17016
17017         * src/NetworkManagerDbus.c
17018                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17019                         Remove, no longer used or relevant
17020                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17021                 - (nm_dbus_schedule_device_status_change_signal): add
17022
17023         * src/NetworkManagerDevice.c
17024                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17025                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17026                         ie don't deactivate them unless explicitly told to by the user.  Also send
17027                         CARRIER_OFF / CARRIER_ON signals when link changes
17028                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17029                         Don't print error message when device is no longer around
17030                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17031                         not just during activation
17032
17033         * src/NetworkManagerPolicy.c
17034                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17035                         auto-device-selection.
17036                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17037
17038         * src/NetworkManagerSystem.c
17039                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17040                         is no longer present (Bill Moss)
17041
17042         * src/backends/shvar.c
17043                 - (svOpenFile): Open read-only to make SELinux happy
17044
17045         * src/backends/NetworkManagerRedHat.c
17046                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17047                         the path to the ifcfg-* files
17048
17049 2005-05-05  Dan Williams  <dcbw@redhat.com>
17050
17051         * Expose activation stages to NetworkManager clients, like the applet
17052         * Add Diana's progress icons to the applet, cued off NM activation stage
17053         * Use more descriptive tooltips, cued off NM activation stage
17054
17055 2005-05-05  Ray Strode  <rstrode@redhat.com>
17056
17057         * src/nm-netlink-monitor.c:
17058                 - Use clear_event_source instead of g_nullify_pointer() again.
17059
17060 2005-05-05  Dan Williams  <dcbw@redhat.com>
17061
17062         * gnome/applet/main.c
17063                 - Fix session management so the applet is actually managed now
17064
17065         * gnome/applet/passphrase-dialog.c
17066                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17067
17068 2005-05-05  Dan Williams  <dcbw@redhat.com>
17069
17070         Patch from Bill Moss:
17071         * gnome/libnm_glib/libnm_glib.c
17072                 - Fix for dbus-0.33
17073
17074 2005-05-05  Dan Williams  <dcbw@redhat.com>
17075
17076         Suggestion from Bill Moss:
17077         * src/NetworkManagerSystem.c
17078                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17079
17080
17081         * src/NetworkManager.c
17082                 - (nm_data_free): move destruction of the various managers after
17083                         release of device list, because deactivating and freeing a device
17084                         requires at least the named manager
17085                 - (nm_poll_and_update_wireless_link_state):
17086                   (nm_device_link_activated):
17087                   (nm_device_link_deactivated):
17088                         don't grab the device list lock when actually updating device
17089                         link status or strength, since nm_device_set_link_active()
17090                         needs to call nm_get_active_device(), which also locks the device list.
17091
17092         * src/NetworkManagerDevice.c
17093                 - (nm_device_set_link_active): if a device's link switches from off->on,
17094                         and it's wired, and the active device is wireless (or there is no
17095                         active device), activate the new device whose link just came on
17096                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17097                         my only calling the link to the current ap "failed" when more than 2
17098                         consecutive link checks have failed
17099
17100 2005-05-04  Dan Williams  <dcbw@redhat.com>
17101
17102         * src/NetworkManagerDevice.c
17103                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17104                         but let link_to_specific_ap() do the locking where it needs
17105
17106         Patch from Bill Moss:
17107         * src/NetworkManagerSystem.c
17108                 - Set MTU of VPN devices to 1412
17109
17110 2005-05-04  Dan Williams  <dcbw@redhat.com>
17111
17112         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17113
17114         * Fix some holes in device activation and retaining the currently connected
17115                 access point
17116
17117 2005-05-03  Dan Williams  <dcbw@redhat.com>
17118
17119         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17120           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17121           means you need dhcdbd, which you can get here (get the latest one):
17122
17123                 http://people.redhat.com/jvdias/dhcdbd/
17124
17125           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17126           interface as dhcdbd.
17127
17128         * Rewrite device activation to facilitate the new DHCP infrastructure and
17129           future improvements.  Its now "activation request" based, ie there is a single
17130           activation request composed of the device, access point, and other info which
17131           follows the entire activation process.  There are 5 stages of the activation
17132           process which correspond to:
17133
17134                 1) Device preparation
17135                 2) Device configuration (bring it up, set ESSID/Key/etc)
17136                 3) IP Config Start (fire off DHCP if we're using it)
17137                 4) IP Config Get (grab config from DHCP or static config files)
17138                 5) IP Config Commit (set device's IP address, DNS, etc)
17139
17140           Note that there is no longer a "scanning" step, since the access point must
17141           be known _before_ activation starts.  If the access point drops out or does
17142           not exist for some reason, the entire activation process fails and must be
17143           restarted for a different access point or device.
17144
17145         Patch from Bill Moss:
17146         * gnome/applet/applet.c
17147                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17148
17149 2005-04-27  Dan Williams  <dcbw@redhat.com>
17150
17151         * gnome/applet/applet-dbus-vpn.c
17152           gnome/applet/applet.c
17153           gnome/applet/applet.h
17154                 - Fix up active VPN handling so that we reliably know when a VPN
17155                         connection has been deactivated
17156
17157         * src/vpn-manager/nm-vpn-manager.c
17158                 - Remove duplicate VPNConnectionChange signal
17159
17160 2005-04-27  Dan Williams  <dcbw@redhat.com>
17161
17162         Patch from Peter Jones:
17163         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17164
17165         Patch from Bill Moss:
17166         * src/NetworkManagerSystem.c
17167                 - Fix checking of return value from ioctl()
17168
17169 2005-04-27  Dan Williams  <dcbw@redhat.com>
17170
17171         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17172         * Warn and exit if icons cannot be found
17173
17174 2005-04-27  Dan Williams  <dcbw@redhat.com>
17175
17176         Patch from Tom Parker:
17177         * Update debian backend
17178
17179 2005-04-27  Dan Williams  <dcbw@redhat.com>
17180
17181         * Merge the applet and the info-daemon, and move the converged
17182                 applet under gnome/applet
17183         * Move libnm_glib to gnome/libnm_glib
17184         * Convert most dbus calls between the applet, info-daemon, and NM
17185                 into async calls
17186         * Fix a few things valgrind noticed
17187         * Make NM broadcast state more reliably
17188
17189 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17190
17191         * configure.in: Added ne in ALL_LINGUAS
17192
17193 2005-04-15  Dan Williams  <dcbw@redhat.com>
17194
17195         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17196                 code for dbus 0.2x versions
17197
17198 2005-04-15  Dan Williams  <dcbw@redhat.com>
17199
17200         Patches from Tom Parker:
17201         - Fix memleaks
17202         - Join with worker thread rather than polling for its exit
17203
17204         Patch from Bill Moss:
17205         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17206
17207 2005-04-15  Dan Williams  <dcbw@redhat.com>
17208
17209         - Fixes to pass 'make distcheck'
17210
17211 2005-04-15  Dan Williams  <dcbw@redhat.com>
17212
17213         Initial VPN Support
17214                 - supports 'vpnc'
17215                 - reworks device IP configuration, backend files have changed and will need
17216                         to be updated for all distributions.  I will try to do what I can for
17217                         them, but I cannot test them.
17218
17219         - Move named directory to src/named-manager
17220         - Make backends directory self-contained
17221
17222 2005-04-06  Dan Williams  <dcbw@redhat.com>
17223
17224         Add debug code for socket/file descriptor leaks.  We register every socket
17225         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17226         list of sockets that we forgot to close on shutdown.  This also consolidates
17227         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17228
17229 2005-04-06  Dan Williams  <dcbw@redhat.com>
17230
17231         * dhcpcd/dhcpcd.c
17232                 - (dhcp_interface_free): fix a file descriptor leak that may have
17233                         caused network drivers to not unload due to refcounts > 0
17234
17235 2005-04-04  Dan Williams  <dcbw@redhat.com>
17236
17237         * panel-applet/NMWirelessAppletDbus.c
17238                 - (nmwa_dbus_call_nm_method): remove some commented code
17239
17240         * src/NetworkManagerAPList.[ch]
17241                 - (nm_ap_list_remove_ap_by_essid): new function
17242
17243         * src/NetworkManagerDevice.c
17244                 - (nm_device_wireless_force_use): remove access points from the ignore list
17245                         when the user forces them
17246
17247         * src/nm-dbus-device.c
17248                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17249
17250 2005-04-04  Dan Williams  <dcbw@redhat.com>
17251
17252         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17253
17254 2005-04-04  Dan Williams  <dcbw@redhat.com>
17255
17256         * src/NetworkManagerDevice.c:
17257                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17258                         of only erroring after the second consecutive scan times out.  Also
17259                         don't exit when the card requires more time than we can give it, just
17260                         log the event and continue.
17261
17262 2005-04-01  Steve Murphy  <murf@e-tools.com>
17263
17264         * configure.in: Added "rw" to ALL_LINGUAS.
17265
17266 2005-04-01  Dan Williams <dcbw@redhat.com>
17267
17268         Perform scans during device activation, if needed.  Both activation 
17269         and scans run in the same GMainContext.  Therefore, if an access point
17270         is not found by the time the device starts activation, it will not
17271         be available until after activation.  We now try to scan during
17272         activation (in nm_wa_test) every 15s so that all available access
17273         points are more likely to be found and available for the activation
17274         procedure.
17275
17276         Also change nm_wireless_link_state_handle() to only update the "best"
17277         AP if we are not forcing a device and if we are not about to change
17278         state.  This attempts to work around a race when forcing a device,
17279         where the forced AP would get cleared out too soon by the link state
17280         checking timeout in the main thread, and the activation attempt with
17281         that AP would fail.
17282
17283 2005-04-01  Dan Williams <dcbw@redhat.com>
17284
17285         * po/POTFILES.in
17286                 - Update with new translatables
17287
17288 2005-03-31  Dan Williams <dcbw@redhat.com>
17289
17290         * panel-applet/NMWirelessAppletDbus.c
17291                 - Fix device names now that hal has changed device parenting for
17292                         network devices.
17293
17294 2005-03-31  Dan Williams <dcbw@redhat.com>
17295
17296         Tighten up handling of wireless devices that don't support wireless
17297         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17298         hadn't been doing pseudo-scanning for a while either and would just
17299         spin waiting for an access point.  They are now manual devices where
17300         the user must choose the access point from the menu every time.  All
17301         "allowed" access points are listed in the applet's menu regardless
17302         of whether or not they can be seen by the card, since it can't scan
17303         anyway.
17304
17305         * src/NetworkManager.c
17306                 - (nm_wireless_link_state_handle): new function, but only update
17307                         the "best" ap for non-scanning devices when its not activating,
17308                         and when no device is being forced on the card
17309                 - (nm_link_state_monitor): split wireless link state handling out
17310                         into separate function
17311
17312         * src/NetworkManagerDevice.c
17313                 - (nm_device_copy_allowed_to_dev_list): new function
17314                 - (nm_device_new): populate non-scanning cards' AP lists with
17315                         access points from the "allowed" list
17316                 - (nm_device_new): don't start a scanning timeout for devices that
17317                         can't scan
17318                 - (nm_device_activation_schedule_finish): new parameter, should be
17319                         the AP that failed to be connected to, pass it on to the
17320                         activation finish function in NetworkManagerPolicy.c
17321                 - (nm_device_activate_wireless): don't ever try to get a new AP
17322                         for non-scanning devices, just fail.  The user must choose
17323                         a new access point manually.
17324                 - (nm_device_activate): grab the AP that failed connection and
17325                         pass it on
17326                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17327                         a link to it, user must manually choose a new one
17328                 - (nm_device_do_pseudo_scan): remove function
17329                 - (nm_device_wireless_process_scan_results): remove bits for non-
17330                         scanning cards since they never get here
17331                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17332                         and fake the scan list for test devices a bit earlier
17333
17334         * src/NetworkManagerPolicy.c
17335                 - (nm_policy_activation_finish): use the failed_ap that we get
17336                         passed rather than getting the best_ap from the card, which
17337                         may have changed since we were scheduled
17338                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17339                         update their scan list directly from the allowed list when
17340                         we get updates to the allowed list from NetworkManagerInfo
17341
17342         * src/NetworkManagerPolicy.h
17343                 - New member for failed access point in NMActivationResult
17344
17345   -------------------------------------
17346
17347         Driver Notification patch: notifies the user when their driver
17348                 sucks.  Gives them the option to ignore further insertions
17349                 of the card that has the sucky driver.
17350
17351         * NetworkManager.h
17352                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17353                         enum and replace it with NO_CARRIER_DETECT and
17354                         NO_WIRELESS_SCAN
17355
17356         * panel-applet/NMWirelessApplet.[ch]
17357                 - Merge essid.glade -> wireless-applet.glade
17358                 - Implement the "Your driver sucks" notification dialog
17359
17360         * panel-applet/NMWirelessAppletDbus.c
17361                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17362                 - Grab hardware address for each device from NM too
17363                 - Check whether the driver for each device sucks or not whenever
17364                         a new device is noticed
17365
17366         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17367                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17368
17369         * src/NetworkManager.c
17370                 - Fix a double-unref on device removal
17371
17372         * src/NetworkManagerUtils.c
17373                 - Set appropriate driver support level on a device that doesn't
17374                         support scanning or carrier detection
17375
17376         * src/nm-dbus-device.c
17377                 - New "getHWAddress" dbus method on devices
17378                 - getSupportsCarrierDetect -> getDriverSupportLevel
17379
17380 2005-03-31  Dan Williams <dcbw@redhat.com>
17381
17382         * src/NetworkManagerDevice.c
17383                 - (nm_device_wireless_scan): Fix leak of scan results in some
17384                         instances
17385
17386 2005-03-29  Dan Williams <dcbw@redhat.com>
17387
17388         * src/NetworkManager.c
17389                 - (nm_poll_and_update_wireless_link_state): make code less indented
17390
17391         Patch from Bill Moss:
17392         * src/NetworkManager.c
17393                 - (nm_device_update_link_state): Update signal strength on wireless
17394                         devices every time we update link state too.
17395
17396 2005-03-29  Dan Williams <dcbw@redhat.com>
17397
17398         * src/NetworkManagerDevice.c
17399                 - (nm_device_set_essid): Work around Orinoco cards which need
17400                         extra time after setting the ESSID
17401
17402 2005-03-29  Dan Williams <dcbw@redhat.com>
17403
17404         * src/NetworkManagerDevice.c
17405                 - Merge one more bit of Peter Jones' completion patch
17406
17407 2005-03-29  Dan Williams <dcbw@redhat.com>
17408
17409         * src/NetworkManagerDevice.c
17410                 - (nm_device_force_use): Fix possible segfault
17411
17412 2005-03-29  Dan Williams <dcbw@redhat.com>
17413
17414         * src/NetworkManagerDevice.c
17415                 - Use iw_get_ext() where we should rather than iw_set_ext()
17416
17417 2005-03-29  Dan Williams <dcbw@redhat.com>
17418
17419         * src/NetworkManagerDevice.c
17420                 - (nm_device_set_up_down): remove check for unsupported devices
17421                         that caused NM to not bring devices up when they were
17422                         added to the device list.
17423
17424 2005-03-28  Dan Williams <dcbw@redhat.com>
17425
17426         * src/NetworkManagerDevice.c
17427                 - (mdio_read): Fix two bugs that caused all devices to fail
17428                         the MII carrier detection support checks
17429
17430 2005-03-26  Dan Williams <dcbw@redhat.com>
17431
17432         * src/NetworkManagerDevice.c
17433                 - (nm_device_wireless_scan): Remove duplicated scanning code
17434
17435 2005-03-25  Dan Williams <dcbw@redhat.com>
17436
17437         * panel-applet/NMWirelessApplet.c
17438                 - (nmwa_about_cb): Add some more contributors
17439                 - (nmwa_update_state): show the applet when there's no connection
17440                 - Enable the "Stop/Resume all wireless devices" option in the
17441                         context menu
17442                 - New "no connection" icon
17443
17444         * src/NetworkManager.c
17445                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17446                         wireless is disabled or we're asleep
17447
17448         * src/NetworkManagerDHCP.c
17449                 - Remove trailing "\n" on debug messages
17450
17451         * src/NetworkManagerDbus.c
17452                 - (nm_dbus_network_status_from_data): new state "asleep"
17453
17454         * src/NetworkManagerDevice.c
17455                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17456                         latency and wait times for most operations
17457                 - (nm_device_wireless_scan): Don't scan when asleep
17458
17459         * src/NetworkManagerPolicy.c
17460                 - (nm_policy_get_best_device): return no device when asleep
17461                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17462                         for all wireless devices on update, not just active device
17463
17464         * src/NetworkManagerUtils.c
17465                 - Merge Peter Jones' "completion" patch
17466
17467         * src/nm-dbus-nm.c
17468                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17469                         we're told to disable them
17470                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17471
17472         * utils/nm-utils.h
17473                 - New variants of the warn/info/error/debug print functions that can take
17474                         variables rather than static strings
17475
17476 2005-03-24  Dan Williams <dcbw@redhat.com>
17477
17478         * src/NetworkManagerUtils.c
17479                 - (nm_get_device_driver_name): driver names are now on the parents of
17480                         "Network Interface" objects, so look for them there
17481
17482 2005-03-24  Dan Williams <dcbw@redhat.com>
17483
17484         * test/nmtest.c
17485                 - Escape some forgotten object paths before we shove them through dbus
17486
17487 2005-03-24  Dan Williams <dcbw@redhat.com>
17488
17489         * dhcpcd/dhcpcd.[ch]
17490           src/NetworkManagerDHCP.c
17491                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17492                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17493
17494         * src/NetworkManagerDbus.c
17495                 - spacing cleanups
17496
17497         * src/nm-dbus-dhcp.c
17498                 - Make the API suck less.  There is now only 1 type of each function,
17499                         ie only "getInteger" and no longer also "getIntegerv".  All types
17500                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17501                         that will never have more than 1 element.  This should simplify
17502                         things greatly.
17503
17504         * test/nm-dhcp-opt-test.c
17505                 - Make the tool not segfault
17506                 - adapt to new DHCP Options API
17507
17508 2005-03-22  Dan Williams <dcbw@redhat.com>
17509
17510         * src/NetworkManager.c
17511                 - (nm_wired_link_deactivated): actually ignore netlink events from
17512                         wireless devices.
17513
17514 2005-03-22  Dan Williams <dcbw@redhat.com>
17515
17516         * src/NetworkManager.c
17517                 - (nm_wired_link_activated): actually ignore netlink events from
17518                         wireless devices.
17519
17520 2005-03-17  Dan Williams <dcbw@redhat.com>
17521
17522         Patch from Tom Parker:
17523         * src/nm-netlink-monitor.c
17524                 - Include unistd.h
17525         * info-daemon/NetworkManagerInfoDbus.c
17526                 - (nmi_dbus_update_network_auth_method): free GConf values
17527
17528         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17529         * src/NetworkManagerDevice.c
17530                 - (nm_device_set_wireless_config): wait for successful
17531                         association longer for some cards (Atheros a/b/g)
17532
17533 2005-03-15  Ray Strode  <rstrode@redhat.com>
17534
17535         * src/NetworkManager.c:
17536         (sigterm_pipe_handler):
17537         remove bogus FIXME
17538
17539 2005-03-15  Ray Strode  <rstrode@redhat.com>
17540
17541         * src/NetworkManagerDbus.c:
17542         Fix some sign weirdness that gcc4 doesn't like,
17543         and add a header file so PPC can hopefully find
17544         SIGTRAP
17545
17546 2005-03-14  Ray Strode  <rstrode@redhat.com>
17547         
17548         Fourth (probably working) cut at porting to
17549         dbus 0.30 api and new hal. This cut adds
17550         some new logging macros to make debugging
17551         easier.
17552
17553         * dispatcher-daemon/NetworkManagerDispatcher.c:
17554         * info-daemon/NetworkmanagerInfo.c:
17555         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17556         * info-daemon/NetworkManagerInfoVPN.c:
17557         * src/NetworkManager.c:
17558         * src/NetworkManagerAP.c:
17559         * src/NetworkManagerAPList.c:
17560         * src/NetworkManagerDHCP.c:
17561         * src/NetworkManagerDbus.c:
17562         * src/NetworkManagerDevice.c:
17563         * src/NetworkManagerPolicy.c:
17564         * src/NetworkManagerSystem.c:
17565         * src/NetworkManagerUtils.c:
17566         * src/NetworkManagerWireless.c:
17567         * src/autoip.c:
17568         * src/nm-dbus-nm.c:
17569         * src/backends/NetworkManagerDebian.c:
17570         * src/backends/NetworkManagerGentoo.c:
17571         * src/backends/NetworkManagerRedHat.c:
17572         * src/backends/NetworkManagerSlackware.c:
17573         use new logging macros.
17574
17575         * dispatcher-daemon/NetworkManagerDispatcher.c:
17576         (nmd_dbus_filter): s/dbus_free/g_free/
17577
17578         * info-daemon/Makefile.am: link in utils library.
17579         * info-daemon/NetworkmanagerInfo.c: use new logging 
17580         macros.
17581         (nmi_dbus_get_network): don't assume enumerations
17582         are 32-bit.
17583         (nmi_dbus_nmi_message_handler): don't free what 
17584         doesn't belong to us.
17585
17586         * libnm_glib/libnm_glib.c:
17587         (libnm_glib_get_nm_status): 
17588         (libnm_glib_init): don't free what doesn't
17589         belong to us.
17590         (libnm_glib_dbus): strdup result, so it doesn't get
17591         lost when message is unref'd.
17592
17593         * panel-applet/NMWirelessAppletDbus.c:
17594         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17595
17596         * src/NetworkManager.c:
17597         (nm_monitor_wired_link_state): request initial status 
17598         dump of all cards when we start up, instead of relying
17599         on /sys/.../carrier.
17600         (nm_info_handler), (nm_set_up_log_handlers): 
17601         log handlers to specify what syslog priorites 
17602         the logging macros default to.
17603
17604         * src/NetworkManagerAPList.c: 
17605         (nm_ap_list_populate_from_nmi):
17606         s/dbus_free_string_array/g_strfreev/
17607
17608         * src/NetworkManagerDbus.c:
17609         (nm_dbus_get_network_object):
17610         validate d-bus message argument types.
17611         Advance message iterator after reading argument,
17612         prepend instead of append to GSList.
17613
17614         * src/NetworkManagerDevice.c:
17615         (nm_device_probe_wired_link_status):
17616         remove redundant /sys in /sys path. remove wrong
17617         contents == NULL means has carrier assumption.
17618
17619         * src/nm-netlink-monitor.c 
17620         (nm_netlink_monitor_request_status): implement
17621         function to ask kernel to dump interface link
17622         status over netlink socket.
17623
17624         * test/*.c: s/dbus_free/g_free/
17625
17626         * utils/nm-utils.h:
17627         (nm_print_backtrace): new macro to print backtrace.
17628         (nm_get_timestamp): new macro to get sub-second precise
17629         unix timestamp.
17630         (nm_info), (nm_debug), (nm_warning), (nm_error):
17631         new logging functions. nm_info just prints,
17632         nm_debug includes timestamp and function,
17633         nm_warning includes function, nm_error includes
17634         backtrace and sigtrap.
17635
17636 2005-03-11  Ray Strode  <rstrode@redhat.com>
17637
17638         Third (unfinished, partially working) cut at porting to 
17639         dbus 0.30 api and new hal.
17640
17641         * info-daemon/NetworkManagerInfoDbus.c:
17642                 don't free null arrays.
17643
17644         * panel-applet/NMWirelessAppletDbus.c: 
17645         * src/nm-dbus-device.c:
17646         * src/nm-dbus-net.c: 
17647         * src/NetworkManagerDbus.c: more 
17648         STRING -> OBJECT_PATH fun
17649         * src/NetworkManagerDevice.c:
17650         * src/NetworkManagerDevice.h:
17651         (rename nm_device_get_link_active): rename to 
17652         nm_device_has_active_link
17653         (nm_device_wireless_link_active): rename to
17654         nm_device_probe_wireless_link_state
17655         (nm_device_wired_link_active): rename to
17656         nm_device_probe_wired_link_state.  Rewrite to
17657         use carrier file since hal doesn't maintain
17658         link state anymore.
17659         (nm_device_update_link_active): rename to
17660         nm_device_update_link_state
17661         * src/NetworkManagerPolicy.c 
17662           (nm_policy_activation_finish): check for NULL
17663           MAC address.
17664
17665         * src/Makefile.am:
17666         * src/NetworkManagerMain.h: 
17667         * src/NetworkManager.c:
17668         * src/nm-netlink-monitor.c:
17669         * src/nm-netlink-monitor.h: New class to support
17670         monitoring wired ethernet link status, since HAL
17671         doesn't export that information anymore.
17672
17673 2005-03-09  Ray Strode  <rstrode@redhat.com>
17674
17675         Second (unfinished, unworking) cut at porting to 
17676         dbus 0.30 api.
17677
17678         * dispatcher-daemon/NetworkManagerDispatcher.c:
17679         * info-daemon/NetworkManagerInfoDbus.c:
17680         * panel-applet/NMWirelessAppletDbus.c:
17681         * src/NetworkManagerDbusUtils.c:
17682         * src/NetworkManagerDbusUtils.h:
17683         * src/nm-dbus-device.c:
17684         * src/nm-dbus-nm.c:
17685         * test/nmtest.c: support dbus "object path" type
17686
17687         * configure.in: 
17688         * Makefile.am:
17689         * info-daemon/Makefile.am:
17690         * libnm_glib/Makefile.am:
17691         * panel-applet/Makefile.am:
17692         * dispatcher-daemon/Makefile.am
17693         * src/Makefile.am:
17694         * test/Makefile.am:
17695         * utils/Makefile.am: 
17696         * utils/nm-utils.c: 
17697         * utils/nm-utils.h: new utils static lib
17698
17699 2005-03-07  Ray Strode  <rstrode@redhat.com>
17700
17701         * info-daemon/NetworkManagerInfoDbus.c:
17702         * libnm_glib/libnm_glib.c:
17703         * panel-applet/NMWirelessAppletDbus.c:
17704         * src/NetworkManager.c:
17705         * src/NetworkManagerDbus.c:
17706         * src/NetworkManagerDevice.c:
17707         * src/NetworkManagerUtils.c:
17708         * src/nm-dbus-device.c:
17709         * src/nm-dbus-dhcp.c:
17710         * src/nm-dbus-net.c:
17711         * src/nm-dbus-nm.c:
17712         * test/nminfotest.c:
17713         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17714
17715 2005-03-04  Dan Williams  <dcbw@redhat.com>
17716
17717         * configure.in
17718                 - Mark HEAD as 0.4
17719
17720 2005-03-04  Dan Williams  <dcbw@redhat.com>
17721
17722         Patch from Peter Jones:
17723         - Make stuff work with gcc 4.0
17724
17725 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17726
17727         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17728
17729 2005-02-27  Jim Huang  <jserv@kaffe.org>
17730
17731         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17732
17733 2005-02-27  Dan Williams  <dcbw@redhat.com>
17734
17735         Patch from Bill Moss:
17736         * panel-applet/NMWirelessAppletDbus.c
17737                 - Make sure strength for current access point is up-to-date when we
17738                         update the gui data model
17739
17740 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17741
17742         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17743
17744 2005-02-27  Dan Williams  <dcbw@redhat.com>
17745
17746         * src/backends/NetworkManagerRedHat.c
17747                 - (nm_system_init): Kill any dhclient processes lying around as well
17748                         as stopping 'nifd' if its already been started.  NetworkManager
17749                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17750
17751 2005-02-27  Dan Williams  <dcbw@redhat.com>
17752
17753         * panel-applet/NMWirelessApplet.c
17754                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17755                         dbus data model, not the GUI data model twice.
17756
17757 2005-02-27  Dan Williams  <dcbw@redhat.com>
17758
17759         * panel-applet/NMWirelessApplet.[ch]
17760           panel-applet/NMWirelessAppletDbus.[ch]
17761                 - Move to incremental network updates.  Instead of blowing away our list
17762                         of devices every time we get a signal from NetworkManager, we now
17763                         incrementally add/remove networks when NetworkManager notifies us that
17764                         a new network has appeared or disappered.  Strength updates now happen
17765                         on-the-fly for each access point as well.  There are now two copies of
17766                         data from NetworkManager: one for the dbus side, and one for the gui side.
17767                         When the dbus side data is modified, it is copied over to the gui side
17768                         so we don't have to hold the data_mutex for long periods of time (and
17769                         therefore block animation of the applet's icon).
17770                 - Clean up some memleaks too
17771
17772         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17773                 - Minor code beautification
17774
17775         * src/NetworkManagerAPList.c
17776                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17777                         completely new and whether or not an existing one's strength was updated.
17778                         Try to fix multiple access points and signal strength by using the highest
17779                         signal strength in each scan for any given ESSID.
17780
17781         * src/NetworkManagerDbus.[ch]
17782                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17783                         wireless networks; now we have only WirelessNetworkUpdate which includes
17784                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17785                 - Kill usage of DbusMessageIter
17786
17787         * src/NetworkManagerDevice.c
17788                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17789                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17790                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17791                         currently associated with from the network list.
17792                 - Update for new signals during scan, send out Appeared, Disappeared, or
17793                         StrengthChanged when necessary.
17794
17795 2005-02-25  Dan Williams  <dcbw@redhat.com>
17796
17797         * README
17798                 - Line break the README
17799
17800 2005-02-25  Dan Williams  <dcbw@redhat.com>
17801
17802         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17803                 - Remove usage of gtk_window_set_default_size()
17804
17805         * panel-applet/essid.glade
17806                 - Stick default size here
17807                 - Add in random crap that current glade wants to add in now
17808
17809 2005-02-25  Dan Williams  <dcbw@redhat.com>
17810
17811         * src/backends/NetworkManagerRedHat.c
17812                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17813                         and that we actually tell nscd to reload the hosts cache when it changes
17814
17815 2005-02-25  Dan Williams  <dcbw@redhat.com>
17816
17817         * info-daemon/NetworkManagerInfoDbus.c
17818                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17819
17820         * test/nminfotest.c
17821                 - Whack usage of DbusMessageIter
17822                 - Clean up DbusError and DbusMessage handling and freeing
17823                 - Remove unused unregister handler
17824
17825         * test/nmtest.c
17826                 - Whack usage of DbusMessageIter
17827
17828         * test/nmtestdevices.c
17829                 - Whack usage of DbusMessageIter
17830
17831 2005-02-25  Dan Williams  <dcbw@redhat.com>
17832
17833         * NetworkManager.h
17834                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17835                         signal
17836
17837 2005-02-25  Dan Williams  <dcbw@redhat.com>
17838
17839         * named/nm-named-manager.c
17840                 - Ensure that pid and watch variables for child named process get cleared out
17841                         when the child goes away.
17842
17843 2005-02-22  Dan Williams  <dcbw@redhat.com>
17844
17845         * src/NetworkManagerPolicy.c
17846                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17847                         and NULL out data->active_device so that we have to choose another one.
17848                         This may make NetworkManager keep attempting to connect to a wired network
17849                         if it fails, but if it keeps failing the wired network has more problems than
17850                         just NetworkManager.
17851
17852         * src/backends/NetworkManagerRedHat.c
17853                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17854                         is already running
17855
17856         * named/nm-named-manager.c
17857                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17858                         named so that the distro can flush whatever name service caching
17859                         daemon it uses
17860
17861 2005-02-21  Dan Williams  <dcbw@redhat.com>
17862
17863         * src/NetworkManagerDHCP.[ch]
17864                 - (nm_device_dhcp_remove_timeouts): new function
17865
17866         * src/NetworkManagerDevice.c
17867                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17868                         remove the DHCP timeouts.
17869
17870 2005-02-21  Dan Williams  <dcbw@redhat.com>
17871
17872         * panel-applet/NMWirelessApplet.[ch]
17873           panel-applet/menu-info.[ch]
17874                 - Give the panel applet some major love: menu items are no longer
17875                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17876                         This allows the applet to actually reflect theme changes correctly,
17877                         since themeing of subclassed items in GTK _sucks_.
17878
17879 2005-02-18  Dan Williams  <dcbw@redhat.com>
17880
17881         * libnm_glib/libnm_glib.[ch]
17882           test/libnm_glib_test.c
17883                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17884                         and its data, and doesn't have to free the callback data anymore
17885
17886 2005-02-18  Dan Williams  <dcbw@redhat.com>
17887
17888         * panel-applet/NMWirelessApplet.c
17889                 - Revert 2005-02-18 William Jon McCann fix for standard
17890                         copyright string until it passes 'make distcheck'.
17891                         With standard copyright string, xgettext complains
17892                         about "Non-ASCII string at ...".
17893
17894 2005-02-18  Dan Williams  <dcbw@redhat.com>
17895
17896         * panel-applet/essid.glade
17897           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17898                 - Correct spelling of "adaptor"->"adapter"
17899
17900 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17901
17902         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17903         (nmwa_about_cb): Use standard copyright string.  Update comment
17904         text to reflect that it is a notification area applet.  Remove
17905         leading newline in authors list.
17906         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17907         instead of on parent menu item activation.  Fixes #167550.
17908
17909 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17910
17911         * panel-applet/essid.glade: Capitalize items as per HIG.
17912           Fixes #167632
17913
17914 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17915
17916         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17917         files for GTK 2.4 or lower, since now public in GTK 2.6.
17918
17919         * panel-applet/essid.glade: Don't specify window size.
17920         
17921 2005-02-17  Dan Williams  <dcbw@redhat.com>
17922
17923         Caught by Bill Moss:
17924         * dhcpcd/client.c
17925                 - Time remaining for DHCP transaction calculation was incorrectly
17926                         inside a #ifdef DEBUG
17927
17928 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17929
17930         * configure.in: Added fr (French) to ALL_LINGUAS.
17931
17932 2005-02-14  Dan Williams  <dcbw@redhat.com>
17933
17934         * src/NetworkManagerDHCP.c
17935                 - (set_domain_searches): Fix free of invalid pointer
17936
17937 2005-02-14  Dan Williams  <dcbw@redhat.com>
17938
17939         Patch from Peter Jones:
17940         * dhcpcd/client.c
17941                 - Ensure we return RET_DHCP_CEASED everywhere we should
17942         * dhcpcd/udpipgen.c
17943                 - Use faster TOS for IP packets
17944                 - Don't set ip_id since we're UDP
17945
17946         Patch from Tomislav Vujec:
17947         * src/nm-dbus-dhcp.c
17948           test/nm-dhcp-opt-test.c
17949                 - Clean up warnings to enable cvs tree compilation.
17950
17951 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17952
17953         * configure.in
17954           po/hr.po
17955                 - Add the Croatian locale.
17956
17957 2005-02-14  Colin Walters  <walters@verbum.org>
17958
17959         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17960         list of domains to search.
17961         
17962         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17963
17964 2005-02-13  Dan Williams  <dcbw@redhat.com>
17965
17966         * dhcpcd/client.c
17967                 - Debug output cleanups of DHCP option printing and parsing.
17968
17969 2005-02-13  Dan Williams  <dcbw@redhat.com>
17970
17971         Patch from Dan Reed:  DHCP options D-BUS API
17972                 Exposes the DHCP options that a device receives to clients over D-BUS.
17973
17974         * configure.in
17975                 - A few cleanups
17976
17977         * dhcpcd/client.h
17978                 - Correct names, option length, and types for DHCP options
17979
17980         * dhcpcd/dhcpcd.[ch]
17981                 - Clarify function names that access DHCP options & data
17982
17983         * src/NetworkManagerDHCP.c
17984                 - Use new DHCP data access functions
17985
17986         * src/NetworkManagerDbus.c
17987                 - Message handler for DHCP functions
17988
17989         * src/nm-dbus-dhcp.[ch] (new)
17990                 - DHCP dbus methods
17991
17992         * test/nm-dhcp-opt-test.c
17993                 - Test DHCP D-BUS API and return all present DHCP options
17994
17995 2005-02-12  Dan Williams  <dcbw@redhat.com>
17996
17997         * test/Makefile.am
17998           test/nmclienttest.c
17999           test/nmtest.c
18000                 - Move nmclienttest.c -> nmtest.c
18001
18002 2005-02-12  Dan Williams  <dcbw@redhat.com>
18003
18004         * dhcpcd/buildmsg.c
18005                 - Pad DHCP packets until they are at least 300 bytes in size.
18006
18007 2005-02-11  Dan Williams  <dcbw@redhat.com>
18008
18009         * dhcpcd/client.c
18010                 - (dhcp_init): only print out client ID and class ID if they are specified
18011
18012         * src/NetworkManagerDbus.[ch]
18013           src/nm-dbus-nm.[ch]
18014           src/nm-dbus-device.[ch]
18015           src/nm-dbus-net.[ch]
18016                 - Move NM, Device, and Net functions to separate files and use the
18017                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18018                         method dispatching
18019
18020         * src/NetworkManagerDbusUtils.c
18021                 - Add new validate_method called before each dispatch (if present)
18022                         that can validate the method call
18023
18024         * src/NetworkManagerWireless.c
18025                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18026                         levels never to be evaluated
18027
18028         Patch from j@bootlab.org
18029         * src/NetworkManagerDevice.c
18030                 - Add typedef for "u64"
18031
18032         * src/backends/NetworkManagerDebian.c
18033                 - Copy in Dave Woodhouse's fixes for IPv6
18034
18035 2005-02-11  Dan Williams  <dcbw@redhat.com>
18036
18037         Patch from Dave Woodhouse for IPv6:
18038         * src/NetworkManagerUtils.c
18039                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18040                         and multicast addresses
18041
18042         * src/NetworkManagerDevice.c
18043                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18044                         after bringing up a card.
18045
18046 2005-02-10  Dan Williams  <dcbw@redhat.com>
18047
18048         Patch from Dave Woodhouse:
18049         * src/NetworkManagerSystem.h
18050           src/backends/NetworkManagerDebian.c
18051           src/backends/NetworkManagerGentoo.c
18052           src/backends/NetworkManagerSlackware.c
18053                 - New nm_system_device_add_ip6_link_address() function to add link-local
18054                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18055
18056         * src/backends/NetworkManagerRedHat.c
18057                 - (nm_system_device_add_ip6_link_address): implement
18058                 - (nm_system_device_flush_addresses): revert to previous behavior of
18059                         flushing all addresses
18060
18061 2005-02-10  Dan Williams  <dcbw@redhat.com>
18062
18063         Patch from Tom Parker:
18064         * src/NetworkManagerDevice.c
18065                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18066                         mii.h headers are broken, and instead use our own typedefs
18067
18068 2005-02-10  Dan Williams  <dcbw@redhat.com>
18069
18070         * dhcpcd/buildmsg.c
18071                 - (fill_host_and_class_id): only fill in client and class IDs if
18072                         they are set by callers.
18073
18074         * dhcpcd/client.c
18075                 - (class_id_setup): don't autogenerate a class ID, only use one
18076                         we're given, if any.
18077                 - (client_id_setup): don't autogenerate a client ID, only use one
18078                         we're given, if any.
18079
18080         * dhcpcd/dhcpcd.c
18081                 - (dhcp_interface_init): ensure that client options are correctly
18082                         NULL terminated
18083
18084         * src/NetworkManagerDHCP.c
18085                 - (nm_device_dhcp_request): pass hostname to dhcp library
18086
18087 2005-02-10  Dan Williams  <dcbw@redhat.com>
18088
18089         * dhcpcd/client.c
18090                 - #rh147661# Don't send kernel version in DHCP requests
18091
18092         * src/NetworkManagerSystem.h
18093           src/backends/NetworkManagerDebian.c
18094           src/backends/NetworkManagerGentoo.c
18095           src/backends/NetworkManagerRedHat.c
18096           src/backends/NetworkManagerSlackware.c
18097                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18098                         functions, they are no longer used anyway
18099
18100         * src/backends/NetworkManagerRedHat.c
18101                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18102                         addresses in an attempt to keep IPv6 local-scope addresses around
18103
18104 2005-02-10  Dan Williams  <dcbw@redhat.com>
18105
18106         * src/NetworkManager.c
18107                 - (nm_create_device_and_add_to_list): change the add message slightly
18108
18109         * src/NetworkManagerUtils.c
18110                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18111                         Return driver name to calling function
18112                 - (nm_get_driver_support_level): print out the driver a device is using
18113                         during the support check
18114
18115         Patch from Dave Woodhouse:
18116         * dhcpcd/udpipgen.c
18117                 - (in_cksum): copy last byte of odd-sized packets into a
18118                         'u_short' rather than a 'u_char', should fix wrong checksums
18119                         on big-endian platforms
18120
18121 2005-02-09  Dan Williams  <dcbw@redhat.com>
18122
18123         * Clean up usage of GSList objects and looping through their members
18124         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18125                 now.
18126         * Fix problem where even if scanning was turned off, card would still
18127                 cycle through frequencies.
18128
18129 2005-02-08  Dan Williams  <dcbw@redhat.com>
18130
18131         * panel-applet/NMWirelessApplet.c
18132                 - Fix for gtk 2.4
18133
18134 2005-02-08  Dan Williams  <dcbw@redhat.com>
18135
18136         Patch from Bill Moss
18137         * panel-applet/NMWirelessApplet.c
18138                 - Restore correct ESSID in tooltips
18139
18140 2005-02-07  Dan Williams  <dcbw@redhat.com>
18141
18142         * panel-applet/NMWirelessApplet.[ch]
18143                 - Add a context menu that contains:
18144                         Pause/Resume Wireless Scanning
18145                         Stop/Start All Wireless Devices
18146                         About...
18147                 - Grab active device strength off active device,
18148                         not its network
18149
18150         * panel-applet/NMWirelessAppletDbus.[ch]
18151                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18152                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18153                 - Update active device strength every 2 seconds, not every 1 second
18154
18155         * panel-applet/menu-info.c
18156                 - Only disable wired devices in the menu when they support carrier detection,
18157                         and don't currently have a link.  Non-carrier-detect devices will always
18158                         remain choosable
18159
18160         * src/Makefile.am
18161           src/NetworkManagerDbusUtils.[ch]
18162                 - Add new new dbus utils sources
18163
18164         * src/NetworkManager.c
18165                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18166                         with the boolean parameter
18167                 - Set scanning_enabled & wireless_enabled to TRUE
18168
18169         * src/NetworkManagerDbus.c
18170                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18171                 - Implement scanning & wireless enable/disable calls
18172                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18173
18174         * src/NetworkManagerDevice.c
18175                 - New link detection stuff again...
18176                         o  Create device's mainloop earlier (but don't run it earlier)
18177                         o  Hook up new carrier-detect support stuff
18178                         o  Add in the ethtool & mii support detection code
18179                 - Don't scan if scanning is disabled
18180
18181         * src/NetworkManagerPolicy.c
18182                 - Never automatically choose a device that doesn't support carrier detection
18183                 - Don't automatically choose a wireless device if wireless is disabled
18184
18185 2005-02-07  Dan Williams  <dcbw@redhat.com>
18186
18187         * libnm_glib/libnm_glib.c
18188                 - Small cleanup in element list iteration
18189
18190 2005-02-07  Dan Williams  <dcbw@redhat.com>
18191
18192         * src/NetworkManagerWireless.c
18193                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18194                         to be in line with the WEXT quality specification
18195
18196 2005-02-02  Dan Williams  <dcbw@redhat.com>
18197
18198         Patch from Nathan Fredrickson <nathan@silverorange.com>
18199         * Fix up compile for deprecation of libgnomeui
18200                 - Switch to <glib/gi18n.h> from <libintl.h>
18201                 - Remove <libgnomeui/libgnomeui.h> includes
18202                 - Use gtk_window_set_default_icon_from_file() rather than
18203                         gnome_window_set_default_icon_from_file()
18204
18205         * named/nm-named-manager.c
18206                 - (generate_named_conf): Fix return-nothing in non-void
18207                         function
18208
18209 2005-02-02  Dan Williams  <dcbw@redhat.com>
18210
18211         * Clean up unused variables and the like
18212
18213 2005-02-02  Dan Williams  <dcbw@redhat.com>
18214
18215         * src/NetworkManagerAPList.c
18216                 - (nm_ap_list_merge_scanned_ap): merge strength too
18217
18218         * src/NetworkManagerUtils.c
18219                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18220                         of locking issues by printing out prettier information than g_mutex_lock
18221                 - Print out names of mutexes registered with nm_register_mutex_desc()
18222                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18223                         us to seemingly block here for too long
18224
18225         * src/NetworkManager.c
18226           src/NetworkManagerAPList.c
18227           src/NetworkManagerDevice.c
18228                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18229                         so we get better debug information printed
18230
18231         * src/NetworkManagerDbus.c
18232                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18233                         since it sometimes has locking side effects
18234                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18235                         from 10s
18236                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18237                         we don't need a switch.  This gets called often enough that we can't block
18238                         until the scan mutex is acquired, because we'll block on device activation
18239                         and a few other things, which hangs main thread for too long.
18240
18241         * src/NetworkManagerPolicy.c
18242                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18243                         nm_device_need_ap_switch() will be called               
18244
18245 2005-02-02  Dan Williams  <dcbw@redhat.com>
18246
18247         * panel-applet/NMWirelessApplet.c
18248                 - Display name of wireless network we are connecting to or connected to
18249                         in the tooltip of the applet
18250
18251 2005-02-02  Dan Williams  <dcbw@redhat.com>
18252
18253         * src/NetworkManagerDHCP.c
18254                 - Hopefully fix double-default-route problem by cleaning up the default
18255                         route added by DHCP code right before the DHCP transaction begins
18256
18257 2005-02-02  Dan Williams  <dcbw@redhat.com>
18258
18259         * named/nm-named-manager.c
18260                 - Write out valid resolv.conf when we exit
18261
18262 2005-02-01  Dan Williams  <dcbw@redhat.com>
18263
18264         Patch from Colin Walters:
18265         * named/nm-named-manager.c
18266                 - Make multi-domain search options work
18267
18268 2005-01-31  Dan Williams  <dcbw@redhat.com>
18269
18270         * info-daemon/NetworkManagerInfoDbus.c
18271                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18272
18273         * src/NetworkManagerDevice.c
18274                 - (nm_device_new): Don't store the entire range struct, use only what we need
18275                         (which is currently avg_quality, max_quality, and frequencies).  Also
18276                         zero device structure when we've free'd it to maybe expose errors down
18277                         the line.
18278                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18279                         quality data from the card since quality will be useless during a scan.
18280                         Call updated wireless qual-to-percent function with values stored in
18281                         nm_device_new() earlier.
18282                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18283                         nm_device_get_bad_crypt_packets())
18284                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18285                         nm_device_new()
18286                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18287                         list if available.  Problem was this: when the WEP key is wrong, NM will
18288                         try OS then SK modes, and then get stuck in SK mode after that.  This
18289                         should reset it.
18290                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18291                         function
18292
18293         * src/NetworkManagerWireless.c
18294                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18295                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18296                         if that's all present, otherwise fall back to signal-to-noise ratios.
18297
18298 2005-01-29  Dan Williams  <dcbw@redhat.com>
18299
18300         * initscript/RedHat/NetworkManager
18301                 - Don't spit out sysctl stuff to console
18302
18303         * libnm_glib/libnm_glib.c
18304                 - (libnm_glib_init): call dbus_g_thread_init()
18305
18306         * panel-applet/NMWirelessAppletDbus.c
18307                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18308
18309         * src/NetworkManager.c
18310                 - (main): call dbus_g_thread_init()
18311
18312         * src/NetworkManagerAPList.c
18313                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18314                         so we can actually see what's there in a normal syslog
18315
18316         * src/NetworkManagerDevice.c
18317                 - (nm_device_activate_wireless): print out the "waiting for access point"
18318                         message only once, then say what access point we actually got after
18319                         the wait.
18320                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18321                         function, wait until the scan is done.  Scans may change the ESSID of
18322                         the card, making this function think we need to switch access points
18323                 - (nm_device_wireless_process_scan_results): for artificial access points
18324                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18325                         prevents collisions with the scanning code, which may change the card's
18326                         ESSID and cause the access point to get dropped from the device's AP
18327                         list.  Also increase the keep-around time to 2m from 60s since the max
18328                         scan interval could be 60s in some cases.
18329
18330         * src/NetworkManagerPolicy.c
18331                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18332                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18333                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18334                         between NM and NMI.
18335
18336 2005-01-27  Dan Williams  <dcbw@redhat.com>
18337
18338         * info-daemon/NetworkManagerInfoDbus.c
18339                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18340                         GConf, make a minimal entry for it (essid & timestamp)
18341
18342         * src/NetworkManagerAPList.c
18343                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18344                         NetworkManagerInfo isn't running
18345
18346         * src/NetworkManagerDbus.[ch]
18347                 - (nm_dbus_nmi_is_running): new function
18348
18349         * src/NetworkManagerDevice.c
18350                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18351                         address to garbage.
18352
18353         * src/NetworkManagerPolicy.c
18354                 - (nm_policy_activation_finish): On successful activation, make sure
18355                         the "best" AP has a MAC address, and don't tell NMI to add the
18356                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18357                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18358                         access point after refreshing our allowed list if it doesn't already
18359                         have a "best" access point.
18360
18361 2005-01-25  Dan Williams  <dcbw@redhat.com>
18362
18363         * panel-applet/NMWirelessAppletDbus.c
18364                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18365                         so we check for NM_DBUS_SERVICE rather than not for it
18366
18367         * libnm_glib/libnm_glib.c
18368                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18369                         ServiceOwnerChanged signal
18370
18371 2005-01-25  Dan Williams  <dcbw@redhat.com>
18372
18373         * configure.in
18374                 - Check DBUS version in configure, and set the C macros
18375                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18376
18377         * info-daemon/NetworkManagerInfoDbus.c
18378                 - Remove #if 0-d section of code that quit NMI if NM went away.
18379
18380         * panel-applet/NMWirelessAppletDbus.c
18381                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18382
18383         * src/NetworkManager.c
18384           src/NetworkManagerMain.h
18385           src/NetworkManagerDbus.c
18386                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18387                 - Make updating of our Allowed Wireless Network lists from NMI
18388                         an idle function in the main thread now, with a high priority.
18389
18390 2005-01-24  Dan Williams  <dcbw@redhat.com>
18391
18392         * panel-applet/gtkcellview.[ch]
18393           panel-applet/menu-info.c
18394                 - Fix GTK version checks to be <= rather than <
18395
18396         * test/Makefile.am
18397                 - Include the libtool archive of libnm_glib rather than
18398                         trying to pull in the .so
18399
18400 2005-01-24  Dan Williams  <dcbw@redhat.com>
18401
18402         * src/NetworkManagerDevice.c
18403           src/NetworkManagerDevicePrivate.h
18404                 - Block nm_device_new() until our device's worker thread has had a
18405                         chance to start up.  Fixes a race between main thread and worker
18406                         thread starting that caused activation requests to get lost.
18407
18408 2005-01-24  Dan Williams  <dcbw@redhat.com>
18409
18410         * initscript/RedHat/NetworkManager
18411                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18412                         to add the NM startup script at priority 50, which was
18413                         way too early
18414
18415 2005-01-24  Colin Walters  <walters@redhat.com>
18416
18417         * named/named.conf: Use any port for query source instead of
18418         restricting to port 53.
18419
18420 2005-01-24  Dan Williams  <dcbw@redhat.com>
18421
18422         * initscript/RedHat/NetworkManager
18423                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18424                         to add the NM startup script at priority 50, which was
18425                         way too early
18426
18427 2005-01-24  Dan Williams  <dcbw@redhat.com>
18428
18429         Patch from Tom Parker <palfrey@tevp.net>
18430         * Fix up compile warnings & errors in the wireless applet
18431
18432 2005-01-24  Dan Williams  <dcbw@redhat.com>
18433
18434         * panel-applet/NMWirelessApplet.c
18435                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18436
18437 2005-01-24  Dan Williams  <dcbw@redhat.com>
18438
18439         * panel-applet/gtkcellview.[ch]
18440                 - Only compile these files for GTK 2.4 or lower, since 
18441                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18442                         when choosing "Other Wireless Networks" from the panel
18443                         applet menu
18444
18445 2005-01-21  Dan Williams  <dcbw@redhat.com>
18446
18447         * src/NetworkManager.c
18448                 - Daemonize earlier so that glib doesn't get confused (?)
18449
18450 2005-01-21  Dan Williams  <dcbw@redhat.com>
18451
18452         * panel-applet/NMWirelessApplet.[ch]
18453           panel-applet/NMWirelessAppletDbus.c
18454           panel-applet/menu-info.c
18455           src/NetworkManagerDevice.c
18456                 - Disable wired devices in the menu when they have no link.
18457
18458 2005-01-21  Dan Williams  <dcbw@redhat.com>
18459
18460         * Cache last-known-good wireless authentication method in
18461                 NetworkManagerInfo, and use that method first during
18462                 wireless device activation.  Should speed up devices that
18463                 need Shared Key authentication method since Open System is
18464                 now the default.
18465
18466         * Remove the hack to not do full activation on wired connections
18467                 that are active when we launch, it causes too many problems
18468                 with name resolution and was a hack in the first place.
18469
18470         * Re-work wireless device activation again somewhat to have a
18471                 clearer chain of events and to use last-known-good
18472                 authentication method of the access point.  Also provide
18473                 better status throughout activation to ensure the applet
18474                 can tell the user exactly what's going on.
18475
18476         * Remove the "find wireless network" code and now simply attempt
18477                 to activate with that access point.  This reduces the delay
18478                 between selecting "Other wireless Network" and actually
18479                 connecting to that network.
18480
18481         * Correctly stop the device's worker thread when its removed.
18482
18483 2005-01-21  Dan Williams  <dcbw@redhat.com>
18484
18485         * dhcpcd/client.c
18486                 - Clean up some of the debug messages
18487
18488 2005-01-21  Dan Williams  <dcbw@redhat.com>
18489
18490         * Add new icons, more frames of animation
18491         * Remove some hacks to get the panel applet to display correct
18492                 status, an NM update will soon follow that will fix the
18493                 real issue.
18494
18495 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18496
18497         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18498         the first include for working i18n. Also, don't include it in .h files
18499         * panel-applet/NMWirelessApplet.h: Same
18500         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18501         * panel-applet/menu-info.c: Same
18502
18503 2005-01-18  Dan Williams <dcbw@redhat.com>
18504
18505         * dhcpcd/client.c
18506                 - Remove some debug messages
18507                 - Wrap others in #ifdef DEBUG/#endif
18508
18509         * src/NetworkManager.c
18510                 - Remove some debug messages
18511                 - Clarify some debug messages
18512                 - Remove code related to old single-thread wireless scanning
18513
18514         * src/NetworkManagerAP.[ch]
18515                 - New AP property "last_seen" to track how recently an AP was
18516                         found in a scan
18517                 - Start using 'const' more in function arguments
18518
18519         * src/NetworkManagerAPList.[ch]
18520                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18521                         of an AP found in an AP list from a source AP, or if not found
18522                         in the list add the source AP
18523                 - (nm_ap_list_combine): remove, no longer needed
18524
18525         * src/NetworkManagerDevice.c
18526                 - Each device now has a "worker" thread from start to end of its life.
18527                         Scanning for wireless devices now happens in that thread,
18528                         not in a single "wireless scanning thread" for all devices as
18529                         previously.  Activation consists of adding an idle handler to the
18530                         thread's main loop/context, which gets run at the next available
18531                         opportunity.
18532                 - Wireless scanning is also simplified, there is now only one list of
18533                         access points per wireless device, and APs older than 60s are
18534                         removed from the list.  Previously, we kept results for the last
18535                         3 scans and merged whole lists, which was complicated.
18536                 - Cleaned up activation debug messages.
18537                 - Wireless activation and access-point search routines now use Open System
18538                         authentication before trying Shared Key.
18539                 - Removed some code in nm_device_update_best_ap() that could cause cards
18540                         to loose their link to the access point.
18541                 - Scanning now uses a backoff algorithm, where the inverval becomes
18542                         progressively longer between scans when the list of scanned access
18543                         points doesn't change.  A change will revert to the shortest scan
18544                         interval (20s).
18545
18546         * src/NetworkManagerWireless.[ch]
18547                 - Remove code related to old single-thread wireless scanning
18548
18549 2005-01-18  Colin Walters  <walters@redhat.com>
18550
18551         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18552         of older nameservers.
18553
18554 2005-01-18  Colin Walters  <walters@redhat.com>
18555
18556         * named/nm-named-manager.c (generate_named_conf): Many fixes
18557         to config file generation.
18558         (safer_kill): Remove, was too much trouble for little gain.
18559         (nm_named_manager_start): Run named as NM_NAMED_USER.
18560
18561         * configure.in: Add option --with-named-user.
18562
18563 2005-01-14  Colin Walters  <walters@redhat.com>
18564
18565         Patch from ed@catmur.co.uk (Ed Catmur)
18566
18567         * named/nm-named-manager.c: Add "context" property.
18568         Use it to add child watch source in specific GMainContext.
18569
18570         * src/NetworkManager.c (nm_data_new): Initialize
18571         named with correct main context.  Start named only
18572         after forking.
18573
18574 2005-01-14  Colin Walters  <walters@redhat.com>
18575
18576         * named/nm-named-manager.c (generate_named_conf): Write config
18577         and pid files into NM_NAMED_DATA_DIR; this allows things to
18578         work better with FC3 named SELinux policy.  Also fix up silly
18579         format error.
18580
18581         * configure.in: Add --with-named-dir option.
18582
18583 2005-01-14  Colin Walters  <walters@redhat.com>
18584
18585         * configure.in: Make named support require passing --with-named.
18586
18587         * named/nm-named-manager.c: Support writing resolv.conf directly
18588         without running named.
18589
18590 2005-01-13  Dan Williams <dcbw@redhat.com>
18591
18592         * named/nm-named-manager.c
18593                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18594
18595         * src/NetworkManagerDevice.c
18596                 - Rework wireless link detection code to be more reliable
18597
18598 2005-01-12  Dan Williams <dcbw@redhat.com>
18599
18600         * initscripts/RedHat/NetworkManager
18601                 - Change initial level to "-" rather than "345" so that
18602                         we don't activate ourselves by default on install
18603
18604 2005-01-12  Dan Williams <dcbw@redhat.com>
18605
18606         * libnm_glib/
18607                 - Client library for applications using glib
18608
18609         * configure.in
18610           various Makefiles
18611                 - Split NM_CFLAGS and NM_LIBS into separate variables
18612                         like DBUS_*, HAL_* and GLIB_*
18613
18614         * src/NetworkManager.c
18615           src/NetworkManagerMain.h
18616                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18617                         broadcast a status changed signal over DBUS from the main thread.
18618                         Still unused anywhere for the moment.
18619
18620         Patch from j@bootlab.org
18621         * panel_applet/NMWirelessAppletDbus.c
18622           src/NetworkManagerDbus.c
18623                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18624                         for the "getMode" method call
18625
18626 2005-01-10  Dan Williams <dcbw@redhat.com>
18627
18628         * src/NetworkManagerDevice.c
18629                 - Minor fixups & corrections to "auto" frequency mode, make it
18630                         less chatty with syslog
18631
18632 2005-01-10  Dan Williams <dcbw@redhat.com>
18633
18634         * src/NetworkManagerDevice.c
18635                 - Implement "auto" frequency/channel support, since cards like Atheros
18636                         can't use other frequencies at all when you've told it to use a
18637                         specific one, even for scanning.
18638                 - Grab the scan mutex around places where we can't tolerate wireless
18639                         settings changing underneath us, like nm_device_wireless_network_exists()
18640                         and nm_device_activate_wireless()
18641
18642         * src/NetworkManagerWireless.c
18643                 - Back scan interval off to 20s instead of 14s
18644
18645 2005-01-09  Dan Williams <dcbw@redhat.com>
18646
18647         * src/NetworkManagerDevice.c
18648                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18649                         already set.  Stops some drivers like Atmel from continually
18650                         reloading the firmware, which they do upon every configuration
18651                         change.
18652
18653 2005-01-09  Dan Williams <dcbw@redhat.com>
18654
18655         * dhcpcd/client.c
18656                 - Use correct timeout value
18657
18658         * info-daemon/NetworkManagerInfoDbus.c
18659           src/NetworkManagerDbus.c
18660                 - Consolidate communication between NM and NMI by doing only 1 dbus
18661                         method call to get Wireless Network info from NMI instead of 6
18662
18663         * src/NetworkManager.c
18664                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18665                         when we didn't have an AP to use, we'd wait for one forever without
18666                         quitting
18667
18668         * src/NetworkManagerDevice.c
18669                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18670                         activation, dhcp might not have started yet but we don't quit activation
18671                         before starting it, so the quit signal gets lost
18672
18673 2005-01-07  Dan Williams <dcbw@redhat.com>
18674
18675         * dhcpcd/client.c
18676                 - Rework the DHCP client code to be much less chatty when
18677                         it receives non-DHCP UDP packets during the DHCP run
18678                         (reported by and preliminary patches from Bill Moss)
18679
18680         * Move wireless scanning to a separate thread.  This thread forwards the
18681                 results to the main thread when done where they are integrated into
18682                 the device's access point lists.  This keeps the main thread (which
18683                 does all the DBUS communication) from being blocked for long periods
18684                 of time by wireless scanning.
18685
18686         * Make state modification an idle routine in the main loop, and trigger
18687                 state changes rather than polling for them.
18688
18689         * src/backends/NetworkManagerGentoo.c
18690                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18691
18692         * src/NetworkManagerDevice.c
18693                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18694                         router advertisements, causing problems and infinite loop
18695                         during "best" device determination due to link going up/down
18696                         (reported by Bill Moss)
18697
18698         Apply patch from Peter Jones
18699         * src/NetworkManagerDevice.c
18700                 - Shortcut for link-checking for ipw2x00 cards
18701                 - Split out association check into separate routine
18702
18703 2004-01-05  Colin Walters  <walters@redhat.com>
18704
18705         * named/named.conf: Add PID_FILE.
18706
18707         * named/nm-named-manager.c: Always generate a pid
18708         file, since older BIND versions don't support
18709         "pid-file none".
18710
18711 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18712
18713         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18714
18715 2004-12-22  Dan Williams <dcbw@redhat.com>
18716
18717         * src/NetworkManagerDevice.c
18718                 - Silently fail when setting bitrate doesn't work
18719
18720
18721         Patches from j@bootlab.org:
18722         * src/backends/NetworkManagerDebian
18723                 - Update backend to match functionality in RedHat backend
18724         * src/NetworkManagerDevice.c
18725                 - Take down then bring up wired devices after connection so
18726                 they send out ipv6 router advertisements
18727
18728 2004-12-21  Colin Walters  <walters@verbum.org>
18729
18730         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18731         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18732
18733 2004-12-21  Colin Walters  <walters@redhat.com>
18734
18735         * configure.in: Correct named detection.
18736
18737 2004-12-21  Colin Walters  <walters@redhat.com>
18738
18739         * src/NetworkManager.c (nm_data_new): Initialize named.
18740         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18741         the mainloop when these signals are received.
18742         (nm_data_free): Unref named.
18743         (sigterm_handler, sigterm_pipe_handler): New functions for
18744         exiting mainloop.
18745         
18746         * src/NetworkManagerMain.h (NMData): Add signal handling and
18747         nameserver bits.
18748
18749         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18750         unref.
18751
18752         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18753         set nameservers from DHCP response data.
18754         (set_domain_search): Set domain search from DHCP response.
18755         (nm_device_dhcp_configure): Invoke them.
18756
18757         * src/NetworkManagerSystem.c
18758         (nm_system_device_update_resolv_conf): Delete.  Deleting
18759         code is totally sweet.
18760
18761         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18762
18763         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18764         implements an object which controls a nameserver.  Currently
18765         uses bind 9.
18766
18767         * configure.in: Check for named.
18768
18769         * Makefile.am (SUBDIRS): Add named dir.
18770
18771         * named/named.conf: New template config file.
18772
18773 2004-12-20  Colin Walters  <walters@redhat.com>
18774
18775         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18776         instead of '='.
18777
18778 2004-12-17  Dan Williams  <dcbw@redhat.com>
18779
18780         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18781                 link-local addresses instead of doing DHCP.
18782
18783         * In the panel applet, there's a new "Create new Wireless Network..." item
18784
18785         * The panel applet also sticks around now even if NetworkManager dies, but
18786                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18787                 a bug, I'll fix that later.
18788
18789         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18790                 lookups after a switch rather than actually doing them.
18791
18792         * Clean up some of those warnings in nm_ap_list_* functions
18793
18794         * Delay between scans changed to 15s instead of 10s
18795
18796 2004-12-15  Dan Williams  <dcbw@redhat.com>
18797
18798         Patch from Tom Parker
18799         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18800                 address
18801
18802         * Longer pause after setting ESSID on cards that support a larger number
18803                 of channels to give the card time to find the right channel
18804
18805         * Add system hook to restart mDNSResponder (or whatever the local implementation
18806                 of Multicast DNS is) when we activate interfaces
18807
18808 2004-12-15  Dan Williams  <dcbw@redhat.com>
18809
18810         * Rework the DHCP code again to revert to sending full ethernet frames
18811                 rather then relying on the kernel to do the right thing with our
18812                 packets.
18813
18814 2004-12-06  Dan Williams  <dcbw@redhat.com>
18815
18816         * dhcpcd/client.c
18817                 - Fix some minor errors in dhcp_handle_transaction() that caused
18818                         unexpected early timeouts of DHCP transactions
18819
18820         * dhcpcd/client.h
18821                 - DHCP retransmit time from 4s -> 5s
18822
18823 2004-12-05  Dan Williams  <dcbw@redhat.com>
18824
18825         * Major rework of the DHCP code, taking some cues from pump.  We don't
18826                 write raw Ethernet packets anymore, which simplifies the code quite
18827                 a bit.  The new code should be more robust, not hang in recvfrom()
18828                 as much, and generally work better.  This also means that we need
18829                 to force HAL/dbus to use a created GMainContext rather than the
18830                 default context, since having the DHCP renew/rebind thread using
18831                 its own GMainContext seemed to give dbus a fit.  There is also more
18832                 debugging information printed from the DHCP loop to help with future
18833                 problems.
18834
18835         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18836                 assume that the default gateway should be the DHCP server.
18837
18838         Patch from Matthew Schick <matt oss-institute org>
18839         * src/backends/NetworkManagerGentoo.c
18840                 - Fix compilation error due to missing "ip4_broadcast"
18841
18842 2004-12-03  Dan Williams  <dcbw@redhat.com>
18843
18844         * initscript/Makefile.am
18845         * initscript/Debian/NetworkManager
18846         * initscript/Gentoo/NetworkManager
18847         * initscript/RedHat/NetworkManager
18848         * initscript/NMLaunchHelper.c
18849                 - Remove NMLaunchHelper, if you need to wait until the network
18850                         comes up, use the dead code from CVS.
18851
18852 2004-12-01  Colin Walters  <walters@redhat.com>
18853         
18854         * configure.in: Suck in gcc warnings code from Rhythmbox,
18855         but use fewer default flags, and in particular add -Wno-unused,
18856         since the codebase has a lot of unused variables.
18857
18858         * test/nmtestdevices.c (create_device): 
18859         * test/nminfotest.c (get_network_string_property) 
18860         (get_networks_of_type): 
18861         * test/nmclienttest.c (main): 
18862         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18863         * initscript/NMLaunchHelper.c (get_nm_status): 
18864         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18865         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18866         Fix declarations after statements.
18867
18868 2004-12-01  Colin Walters  <walters@redhat.com>
18869
18870         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18871         (nmi_dbus_get_vpn_userpass): New method.
18872         (nmi_dbus_nmi_message_handler): Invoke it.
18873
18874         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18875
18876         * info-daemon/NetworkManagerInfoVPN.h,
18877         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18878         to requests for VPN passwords.
18879
18880         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18881
18882 2004-12-01  Colin Walters  <walters@redhat.com>
18883
18884         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18885         includes.
18886
18887 2004-12-01  Colin Walters  <walters@redhat.com>
18888
18889         * panel-applet/NMWirelessAppletDbus.c
18890         (nmwa_dbus_update_active_device_strength): Fix missing
18891         return value.
18892
18893 2004-12-01  Colin Walters  <walters@redhat.com>
18894
18895         * panel-applet/NMWirelessApplet.c: Add missing include.
18896
18897 2004-12-01  Colin Walters  <walters@redhat.com>
18898
18899         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18900         Remove useless CLAMP (); the value is unsigned, and the case tests
18901         qual->qual < 100, so the value must always be between 0 and 100.
18902
18903 2004-12-01  Colin Walters  <walters@redhat.com>
18904
18905         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18906
18907 2004-11-22  Colin Walters  <walters@verbum.org>
18908
18909         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18910         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18911         which is essentially a noop since nscd caches hosts on disk too.
18912         
18913 2004-11-22  Colin Walters  <walters@redhat.com>
18914
18915         * src/Makefile.am (NetworkManager_SOURCES): Add
18916         NetworkManagerDevicePrivate.h.
18917
18918 2004-11-22  Dan Williams <dcbw@redhat.com>
18919
18920         * src/NetworkManagerDevicePrivate.h
18921                 - Split out the NMDevice struct to a different file so that stuff like
18922                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18923
18924         * dhcpcd/client.c
18925                 - fprintf->syslog
18926                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18927                         need to cancel the dhcp request during the send and recv
18928
18929         * dhcpcd/client.h
18930                 - Move the DHCP option enum to dhcpcd.h
18931
18932         * src/NetworkManagerDHCP.c
18933                 - Split out the actual IP/netmask/etc setting code
18934                 - New Renew/Rebind functions
18935                 - New timer setup function for renew/rebind operations
18936
18937         * src/NetworkManagerDevice.c
18938                 - For device activation, if we are using DHCP then keep the activation thread
18939                         alive until device deactivation.  We need to renew/rebind the DHCP address
18940                         after the T1 (renew) and T2 (rebind) times have expired.
18941                 - Increase some timeouts after bringing wireless cards up/down
18942
18943 2004-11-17  Dan Williams <dcbw@redhat.com>
18944
18945         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18946                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18947                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18948                 show known access points that don't broadcast their ESSID in the menus without
18949                 any user intervention whatsoever.
18950
18951         * info-daemon/NetworkManagerInfoDbus.c
18952                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18953                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18954
18955         * src/NetworkManagerAP.[ch]
18956                 - Add a "user_addresses" data member to the NMAccessPoint structure
18957                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18958                         the user_addresses data member
18959
18960         * src/NetworkManagerAPList.c
18961                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18962                         the AP's reported address
18963                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18964
18965         * src/NetworkManagerDHCP.c
18966                 - Increase DHCP timeout from 25s -> 30s
18967
18968         * src/NetworkManagerDbus.[ch]
18969                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18970                         user addresses
18971
18972         * src/NetworkManagerDevice.c
18973                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18974                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18975                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18976                         So, we take the card down to clear it out.
18977                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18978                         too, since that's where the user_addresses are
18979
18980         * src/NetworkManagerPolicy.c
18981                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18982                         that wireless networks' user_addresses list upon successful activation
18983
18984 2004-11-16  Dan Williams <dcbw@redhat.com>
18985
18986         * src/NetworkManagerDevice.[ch]
18987                 - (nm_device_clear_activation_fail): new function
18988
18989         * src/NetworkManagerPolicy.c
18990                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18991                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18992
18993 2004-11-16  Dan Williams <dcbw@redhat.com>
18994
18995         * src/NetworkManagerDevice.c
18996                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18997                         leak the structure, better updating of now_scanning status
18998                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18999
19000 2004-11-15  Dan Williams <dcbw@redhat.com>
19001
19002         Major rework of link detection code.  We now use DHCP
19003         as part of the link detection which proves to be much more robust,
19004         and also supports Open System authentication for wireless networks.
19005
19006         We no longer use external DHCP client programs.  Instead, we use 
19007         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19008         which was written by:
19009                 Yoichi Hariguchi <yoichi@fore.com>
19010                 Sergei Viznyuk <sv@phystech.com>
19011                 http://www.phystech.com/download/
19012         It resides in the "dhcpcd" directory and was refactored into a general
19013         purpose DHCP client library by me.
19014
19015         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19016         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19017
19018 2004-11-15  Dan Williams <dcbw@redhat.com>
19019
19020         Patch from Tom Parker <palfrey@tevp.net>:
19021
19022         * src/NetworkManagerDevice.c
19023                 - Less output to console when no access
19024                         points are found during a scan
19025
19026 2004-11-15  Dan Williams <dcbw@redhat.com>
19027
19028         Patch from Tom Parker <palfrey@tevp.net>:
19029
19030         * src/backends/interface_parser.c
19031                 - Use g_strdup ()
19032                 - Check for inp == NULL
19033                 - use syslog ()
19034
19035 2004-11-13  Colin Walters  <walters@redhat.com>
19036
19037         Patch from Tom Parker <palfrey@tevp.net>:
19038
19039         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19040         
19041         * src/backends/NetworkManagerRedHat.c: Switch to
19042         including shvar.h instead of shvar.c.
19043
19044         * src/backends/NetworkManagerDebian.c: Don't include
19045         interface_parser.c in source file.
19046
19047         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19048         and interface_parser.[ch].
19049         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19050         Include shvar.c and shvar.h here.
19051         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19052         interface_parser.c and interface_parser.h here.
19053
19054 2004-11-12  Colin Walters  <walters@redhat.com>
19055
19056         * configure.in: Strip out TARGET_DISTRO and
19057         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19058         conditionals.
19059
19060         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19061         (libnmbackend_la_SOURCES): Use Automake conditionals
19062         to add distro-specific files.
19063
19064         * initscript/Makefile.am (SUBDIRS): Update to
19065         use conditionals.
19066
19067 2004-11-12  Colin Walters  <walters@redhat.com>
19068
19069         Patches from j bootlab org
19070
19071         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19072         Add interface_parser.[ch].
19073
19074         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19075         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19076
19077 2004-11-12  Colin Walters  <walters@redhat.com>
19078
19079         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19080         call to nmi_dbus_is_running too, not necessary anymore.
19081         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19082         pick up exit().
19083
19084 2004-11-11  Colin Walters  <walters@verbum.org>
19085
19086         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19087         Delete.
19088         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19089         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19090         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19091         This avoids a race condition that made it pretty easily
19092         possible to get two NetworkManagerInfo daemons running.
19093
19094 2004-11-11  Colin Walters  <walters@verbum.org>
19095         
19096         * src/NetworkManager.c (main): Use daemon(3).
19097
19098         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19099
19100         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19101
19102 2004-11-10 Dan Williams <dcbw@redhat.com>
19103
19104         Patches from j bootlab org
19105         * src/NetworkManagerDevice.c
19106                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19107                         whether the card has a link or not, some cards are slow
19108                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19109
19110         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19111                 - Disable the "Login" button on the passphrase dialog until the user
19112                         enters a valid passphrase or key
19113
19114         Patches from Tom Parker <palfrey tevp net>
19115         * src/backends/NetworkManagerDebian.c
19116                 - Add static IP support to the debian backend
19117
19118         * src/backends/interface_parser.[ch]
19119                 - Parse debian interface config files
19120
19121 2004-11-08 Dan Williams <dcbw@redhat.com>
19122
19123         * src/NetworkManagerDevice.c
19124                 - Some random fprintf->syslog conversions
19125                 - (nm_device_wireless_network_exists): double-check for network
19126                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19127
19128         * src/NetworkManagerWireless.[ch]
19129                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19130                         so that the binary->ascii conversion works (if unsigned, the bitshift
19131                         will fill with zeros, which is what's required).  Also mask bitshift
19132                         result with 0xF for futher assurance.
19133
19134 2004-11-06 Dan Williams <dcbw@redhat.com>
19135
19136         * src/NetworkManagerUtils.c
19137                 - (nm_get_wireless_driver_support_level): default to
19138                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19139                         flip this when changing from whitelist->blacklist of
19140                         wireless drivers
19141
19142 2004-11-05 Dan Williams <dcbw@redhat.com>
19143
19144         Patch from Robert Paskowitz:
19145         * src/backends/NetworkManagerGentoo.c
19146                 - Update static IP config code
19147
19148 2004-11-05 Dan Williams <dcbw@redhat.com>
19149
19150         * info-daemon/NetworkManagerInfoDbus.c
19151           src/NetworkManagerDbus.[ch]
19152           src/NetworkManagerDevice.c
19153                 - Keep track of the # of attempts to get the WEP key
19154                         from the user and pass that along to the info daemon
19155
19156 2004-11-05 Dan Williams <dcbw@redhat.com>
19157
19158         * src/NetworkManagerUtils.c
19159                 - Blacklist wireless cards rather than whitelisting them.
19160                 - Grab driver name from HAL rather than trying to find it
19161                         ourselves.
19162
19163 2004-11-03 Dan Williams <dcbw@redhat.com>
19164
19165         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19166                 - Disable OK button until valid data is entered
19167                         for encryption stuff too
19168
19169         * panel-applet/NMWirelessApplet.c
19170                 - Report card strength for current AP if the card
19171                         doesn't report strength data for scanned access
19172                         points
19173
19174         * src/NetworkManagerDevice.c
19175                 - Smooth out cards reported quality, Atmel card was
19176                         intermittently reporting no quality data but soon
19177                         recovers
19178
19179         * src/NetworkManagerWireless.c
19180                 - Better quality data percentage calculation.  Atmel
19181                         cards (mine at least) seem to report the quality
19182                         in percentage format already, so honor that
19183
19184         Patch from <j@bootlab.org>
19185         * NetworkManager.h
19186           info-daemon/NetworkManagerInfoPassphraseDialog.c
19187           info-daemon/passphrase.glade
19188           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19189           panel-applet/essid.glade
19190           src/NetworkManagerAP.c
19191           src/NetworkManagerDevice.c
19192           src/NetworkManagerWireless.[ch]
19193                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19194
19195 2004-11-03 Dan Williams <dcbw@redhat.com>
19196
19197         * src/NetworkManagerDevice.[ch]
19198                 - (nm_device_set_enc_key): Add parameter to set Authentication
19199                         Mode (Open System, Shared Key, or None).  We're still using
19200                         Shared Key for now though.
19201
19202 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19203
19204         * panel-applet/menu-info.c: change from bold text to light
19205         colored, may cause problems with some themes, i've tested a lot
19206         and they seem fine. 
19207
19208         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19209
19210 2004-11-01  Colin Walters  <walters@verbum.org>
19211
19212         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19213         (nm_wireless_128bit_key_from_passphrase): Add const.
19214
19215         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19216         (nm_ap_set_enc_key_source): Add const.
19217         
19218 2004-11-01  Colin Walters  <walters@verbum.org>
19219
19220         * .cvsignore: Update.
19221
19222 2004-10-29 Dan Williams <dcbw@redhat.com>
19223
19224         * src/NetworkManagerDevice.c
19225                 - (nm_device_wireless_network_exists): Actually use the encryption
19226                         key we got from the applet when attempting to find a wireless network
19227                 - Don't bring devices down so much since on some cards it triggers
19228                         firmware hotplugs each time
19229
19230         * src/NetworkManagerDbus.c
19231                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19232                         from the caller
19233
19234 2004-10-29 Dan Williams <dcbw@redhat.com>
19235
19236         * src/NetworkManager.c
19237                 - (nm_hal_device_property_modified): unlock a locked active
19238                         wireless device when a wired connection gets a link.
19239                         (Means you'll switch to wired whenever you plug in no
19240                         matter what).
19241
19242 2004-10-29 Dan Williams <dcbw@redhat.com>
19243
19244         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19245                 - New files, implement the "Other wireless network" dialog
19246
19247         * panel-applet/NMWirelessApplet.c
19248                 - Move "other wireless network" dialog to separate file
19249
19250         * panel-applet/NMWirelessAppletDbus.[ch]
19251                 - Take key and key_type paramaters for the set_device function
19252
19253         * panel-applet/essid.glade
19254                 - Add UI bits for encryption settings
19255
19256         * src/NetworkManagerDbus.c
19257                 - Retrieve key and key_type params for "setActiveDevice" method call
19258                         and pass them on
19259                 - unref AP returned from nm_device_get_best_ap() when needed
19260
19261         * src/NetworkManagerDevice.c
19262                 - (nm_device_get_best_ap): ref the ap before returning it
19263                 - unref AP returned from nm_device_get_best_ap() when needed
19264                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19265                         need to call nm_device_get_best_ap() here, it was pretty much
19266                         redundant anyway
19267                 - (AP_NEED_KEY): break second link check condition out into separate
19268                         function, and fix segfault when ap->enc_key_source was NULL
19269                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19270                         pass them along to nm_device_wireless_network_exists().  If the
19271                         network does exist, set the passed-in key+key_type on the AP
19272
19273         * src/NetworkManagerPolicy.c
19274                 - unref AP returned from nm_device_get_best_ap() when needed
19275
19276 2004-10-28 Dan Williams <dcbw@redhat.com>
19277
19278         * src/NetworkManagerUtils.c
19279                 - (nm_spawn_process): Fix a potential dereference of NULL
19280
19281         Patches from Peter Jones:
19282
19283         * src/NetworkManagerDevice.c
19284                 - (nm_device_test_wireless_extensions): Better check for
19285                         wireless devices
19286
19287         * src/NetworkManagerUtils.c
19288                 - (nm_spawn_process): Pass in valid stdout and stderr so
19289                         executed programs don't randomly SIGPIPE and fail
19290                 - (nm_get_wired_driver_support_level): quash hal warning
19291                         when checking for USB ethernet device
19292
19293 2004-10-27 Dan Williams <dcbw@redhat.com>
19294
19295         * info-daemon/NetworkManagerInfo.c
19296           info-daemon/NetworkManagerInfoDbus.c
19297           info-daemon/NetworkManagerInfoPassphraseDialog.c
19298           panel-applet/NMWirelessApplet.c
19299                 - Properly escape gconf keys
19300
19301         * src/NetworkManager.c
19302                 - remove unused variables
19303
19304         * src/NetworkManagerAP.c
19305                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19306                         refcount since it got set in nm_ap_new()
19307
19308         * src/NetworkManagerAPList.c
19309                 - (nm_ap_list_combine): Give up ownership of newly created
19310                         access points to the ap list, fixes memleak
19311
19312         * src/NetworkManagerDevice.c
19313                 - Remove cached_ap_list4 member since its not really needed
19314                 - (nm_device_wireless_network_exists): Try to get correct
19315                         encryption status of a found AP if its already in our
19316                         device list
19317                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19318                         memory allocs/deallocs a bit clearer and shorter-lived
19319
19320 2004-10-26 Ray Strode <rstrode@redhat.com>
19321
19322         * panel-applet/NMWirelessApplet.c:
19323           (custom_essid_item_selected):  kill some compiler
19324         warnings 
19325
19326 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19327
19328         * info-daemon/NetworkManagerInfoDbus.c
19329                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19330                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19331
19332 2004-10-23 Dan Williams <dcbw@redhat.com>
19333
19334         * info-daemon/NetworkManagerInfoDbus.c
19335                 - Trap the "DeviceActivationFailed" signal
19336
19337         * docs/NetworkManager DBUS API.txt
19338                 - Add "DeviceActivationFailed" signal
19339
19340         * panel-applet/NMWirelessAppletDbus.c
19341                 - Quash the "NetworkManager service not available" message
19342
19343         * src/NetworkManagerDbus.[ch]
19344                 - Add the "DeviceActivationFailed" signal
19345
19346         * src/NetworkManagerDevice.c
19347                 - Add support for activation_failed flag
19348                 - Fix deadlock where activation thread didn't clean itself up, making
19349                         main thread still believe it was alive forever (didn't reset activation
19350                         flags like activating, just_activated, etc when IP configuration
19351                         failed)
19352
19353         * src/NetworkManagerPolicy.c
19354                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19355                         for wireless networks, try to fall back to some other access point
19356
19357 2004-10-23 Dan Williams <dcbw@redhat.com>
19358
19359         * panel-applet/NMWirelessApplet.[ch]
19360                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19361                         to the applet object, so we can get tooltips
19362                 - Add tooltips (RH #136866)
19363
19364         * src/NetworkManagerDevice.c
19365                 - When trying to find a wireless network, try to connect with encryption
19366                         turned on first, so that we can more accurately detect whether or not
19367                         we need to use encryption for the actual association later on
19368
19369 2004-10-21 Dan Williams <dcbw@redhat.com>
19370
19371         * Add some support for telling NetworkManagerInfo to tell the user
19372                 that they are using a device that's not fully supported
19373
19374         * Fix some assertions in debug messages due to null access point args
19375
19376 2004-10-21 Dan Williams <dcbw@redhat.com>
19377
19378         * src/NetworkManagerDevice.c
19379                 - Don't try to activate/bring up/down unsupported
19380                         devices
19381
19382         * src/NetworkManagerUtils.c
19383                 - Fix case of PCI ID checks for driver support levels
19384
19385 2004-10-21 Dan Williams <dcbw@redhat.com>
19386
19387         * NetworkManager.h
19388                 - New file, now contains commonly used structures and bits
19389                         for the dbus API of NetworkManager
19390
19391         * Makefile.am
19392                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19393
19394         * src/NetworkManager.h
19395                 - Rename -> src/NetworkManagerMain.c
19396
19397         * Various fixups all around to use NetworkManager.h and new
19398                 src/NetworkManagerMain.h, remove redundant bits that got
19399                 moved into NetworkManager.h
19400
19401         * src/NetworkManagerDevice.[ch]
19402           src/NetworkManagerUtils.[ch]
19403           src/NetworkManagerPolicy.c
19404           src/NetworkManagerDbus.c
19405                 - Whitelist wireless drivers, and blacklist some wired
19406                         drivers.  Also blacklist cipsec and ethernet-over-usb
19407                         devices at this time (RH #135722, RH #135648)
19408                 - Don't leak unsupported devices out over dbus, or allow
19409                         them to be set as the active device.  Skip over them
19410                         during automatic device picking
19411
19412         * test/nmclienttest.c
19413                 - Clean up the dbus code a lot
19414
19415 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19416
19417         * configure.in: post release bump.
19418
19419 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19420
19421         * configure.in:
19422         * NEWS: Released NetworkManager-0.3.1
19423
19424 2004-10-18 Dan Williams <dcbw@redhat.com>
19425
19426         Patches from Thom May:
19427         * test/nmtestdevices.c
19428                 - Include <string.h>
19429         * src/backends/NetworkManagerDebian.c:
19430                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19431                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19432                         Move to using g_strdup_printf rather than arbitrary buffers
19433                 - (nm_system_device_setup_static_ip4_config) Implement function.
19434                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19435
19436 2004-10-17 Dan Williams <dcbw@redhat.com>
19437
19438         * info-daemon/NetworkManagerInfoDbus.c
19439                 - Display name of network in the "network not found" dialog
19440
19441         * panel-applet/NMWirelessAppletDbus.c
19442                 - (nmwa_dbus_call_nm_method): new function replaces all other
19443                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19444                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19445                         consolidated into nmwa_dbus_get_object_name()
19446
19447 2004-10-15 Dan Williams <dcbw@redhat.com>
19448
19449         * src/NetworkManagerDbus.c
19450           info-daemon/NetworkManagerInfoDbus.c
19451                 - Display an error dialog when the user tries to use an
19452                         "Other wireless network" that's not found.
19453
19454 2004-10-15 Dan Williams <dcbw@redhat.com>
19455
19456         * panel-applet/NMWirelessApplet.[ch]
19457                 - Fix up corner cases in applet state, making it
19458                         look more responsive.  Change state to "connecting" when
19459                         the user is forcing a device too.
19460
19461 2004-10-15 Dan Williams <dcbw@redhat.com>
19462
19463         * src/NetworkManagerAPList.c
19464                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19465
19466         * src/NetworkManagerDbus.c
19467                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19468
19469         * src/NetworkManagerDevice.c
19470                 - Disown APs after the device's AP list takes ownership
19471
19472 2004-10-15 Dan Williams <dcbw@redhat.com>
19473
19474         * panel-applet/NMWirelessApplet.c
19475                 - Update our applet state from the GUI thread
19476
19477         * panel-applet/NMWirelessAppletDbus.c
19478                 - Greatly simplify the locking to make the GUI thread
19479                         smoother.  Update a private copy of the device list
19480                         and active device and only when done talking to
19481                         NetworkManager turn it over to the GUI thread.
19482
19483 2004-10-15 Dan Williams <dcbw@redhat.com>
19484
19485         * src/NetworkManagerAP.[ch]
19486                 - Add "artificial" get/set functions, set for APs that
19487                         aren't discovered as part of a scan but instead
19488                         discovered by force-setting the ESSID
19489
19490         * src/NetworkManagerDevice.[ch]
19491                 - (nm_device_wireless_network_exists): pass back whether
19492                         or not the discovered AP was encrypted.  Also, try
19493                         falling back to encrypted mode on the card if unencrypted
19494                         association doesn't work
19495                 - (nm_device_find_and_use_essid): If the network requested
19496                         did in fact exists, but it wasn't in our scan list, add
19497                         an "artificial" entry for it.  Some Cisco cards don't
19498                         see non-ESSID-broadcasting APs in their scan but can still
19499                         associate with them if you know the ESSID, this works around
19500                         that behavior
19501                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19502                         to scan if the card is currently associated with that AP
19503
19504 2004-10-15 Dan Williams <dcbw@redhat.com>
19505
19506         ---- We have a website ----
19507         http://people.redhat.com/dcbw/NetworkManager
19508
19509         Patch from Robert Paskowitz:
19510         * src/NetworkManager.c
19511                 - (main): Make sure we are run as root
19512         * src/NetworkManagerDevice.c
19513                 - Fix type in ad-hoc setting function
19514
19515         Patch from Thom May:
19516         * src/backends/NetworkManagerDebian.c
19517                 - Make Debian backend compile again
19518
19519 2004-10-14 Dan Williams <dcbw@redhat.com>
19520
19521         * Tagged NetworkManager-0_3
19522
19523 2004-10-14 Dan Williams <dcbw@redhat.com>
19524
19525         Patch from Robert Paskowitz:
19526         * NEWS
19527           src/NetworkManagerDevice.[ch]
19528           src/backends/NetworkManagerDebian.c
19529           src/backends/NetworkManagerGentoo.c
19530           src/backends/NetworkManagerRedHat.c
19531           src/backends/NetworkManagerSlackware.c
19532                 - Add support for grabbing and using a broadcast address
19533                         from system config files
19534                 - Some Gentoo backend fixes for grabbing network config
19535                 - Fix LOG_WARN->LOG_WARNING
19536
19537 2004-10-14 Dan Williams <dcbw@redhat.com>
19538
19539         * NEWS: a few small fixes in the credits
19540
19541 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19542
19543         * NEWS: prep for release.
19544
19545 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19546
19547         * panel-applet/NMWirelessAppletDbus.c
19548         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19549
19550 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19551
19552         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19553         applet->state == APPLET_STATE_NO_NM animation.
19554
19555         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19556         set the text correctly.
19557
19558 2004-10-14 Dan Williams <dcbw@redhat.com>
19559
19560         * src/NetworkManager.c
19561                 - Only accept and manager 802.3 and 802.11 devices
19562
19563         * src/NetworkManagerDbus.[ch]
19564                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19565                         logic into NetworkManagerDevice.c
19566                 - (nm_dbus_network_status_from_data): new function
19567                 - (nm_dbus_signal_network_status_change): new function, unused for now
19568                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19569
19570         * src/NetworkManagerDevice.[ch]
19571                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19572                         a random ESSID.
19573
19574 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19575
19576         * info-daemon/NetworkManagerInfo.c 
19577                 - (main): Added session management
19578
19579 2004-10-14 Dan Williams <dcbw@redhat.com>
19580
19581         * panel-applet/NMWirelessAppletDbus.[ch]
19582                 - Expose network_device_[un]ref()
19583                 - Expose wireless_network_[un]ref()
19584                 - (wireless_network_new_with_essid): new function, create and return
19585                         a wireless network with a particular essid
19586
19587         * panel-applet/NMWirelessApplet.c
19588                 - Hook up the "other network" dialog to do something
19589
19590 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19591
19592         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19593         doesn't work yet, but it looks okay.
19594
19595         * panel-applet/icons/*png: Resize to 22x22 and install in the
19596         right place.
19597
19598 2004-10-13 Dan Williams <dcbw@redhat.com>
19599
19600         * panel-applet/NMWirelessApplet.c
19601                 - Add function to print out applet_state in a readable
19602                         manner
19603
19604         * src/NetworkManager.c
19605                 - (main): Don't segfault when nm_dbus_init() fails, we had
19606                         a left-over call to hal_shutdown() into which we passed NULL
19607
19608         * src/NetworkManagerAP.c
19609                 - (nm_ap_set_essid): Allow NULL essids
19610
19611         * src/NetworkManagerAPList.[ch]
19612                 - More use of nm_ap_list_[un]lock ()
19613                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19614                         network/essid, just return nothing.  Also skip over NULL
19615                         essid access points in the list when searching
19616                 - (nm_ap_list_get_ap_by_address): new function
19617                 - (nm_ap_list_update_network): set the access point's key source to
19618                         NULL when the key returned from NetworkManagerInfo is NULL or
19619                         of 0 length
19620                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19621                         copy timestamp over too
19622                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19623                         find the correct ESSID for a blank-essid access point by searching
19624                         through another list and matching access point MAC addresses
19625                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19626
19627         * src/NetworkManagerDbus.c
19628                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19629                         may specify.  This is mainly for access points that don't
19630                         broadcast their essid.  So if the user tells us to associate with
19631                         some random ESSID that's not in our access point list, we find
19632                         out if the access point does in fact exist (by attempting association
19633                         and then matching that access point's MAC address with the essid the
19634                         user gave us) and then we switch to it.
19635                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19636                         to the returned list of networks for the "getNetworks" method
19637
19638         * src/NetworkManagerDevice.[ch]
19639                 - Extra debugging info for link detection
19640                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19641                         based on MAC address
19642                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19643                 - (nm_device_wireless_network_exists): new function, find out whether
19644                         a random ESSID exists by attempting to associate with it
19645                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19646                         device list as long as they have an AP MAC address we can use.
19647                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19648                         devices too.  Lets the applet update more frequently.
19649
19650         * src/backends/NetworkManagerGentoo.c
19651                 - Patch from: Robert Paskowitz
19652                         - Update backend code for Gentoo
19653                         - Implement nm_system_device_update_config_info ()
19654
19655         * test/nmclienttest.c
19656                 - (set_network_device): new function, takes a command-line argument
19657                         and tells NetworkManager to use that wireless network
19658
19659 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19660
19661         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19662         if the notification icon crashes 5 times within 5 seconds of each respawn 
19663
19664 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19665
19666         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19667         g_print.
19668
19669 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19670
19671         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19672
19673         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19674         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19675         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19676         Change the name of the icons.
19677
19678         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19679         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19680         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19681         (nm_menu_wireless_expose_event): Really bad hack to get the style
19682         to draw in the right color.
19683
19684 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19685
19686         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19687         Notification if it crashes
19688
19689 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19690
19691         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19692         (nmwa_dbus_get_string): remove unused functions
19693
19694         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19695         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19696         remove unused functions
19697
19698         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19699
19700 2004-10-12 Dan Williams <dcbw@redhat.com>
19701
19702         * panel-applet/NMWirelessAppletDbus.c
19703                 - New functions:
19704                         wireless_network_new
19705                         wireless_network_copy
19706                         network_device_new
19707                         network_device_copy
19708
19709         * src/NetworkManagerDevice.[ch]
19710                 - New functions:
19711                         nm_device_set_mode_managed
19712                         nm_device_set_mode_adhoc
19713                 - Use these functions where appropriate
19714                 - When creating a new wireless device, force the card
19715                         to managed/Infrastructure mode as soon as possible
19716
19717 2004-10-12 Dan Williams <dcbw@redhat.com>
19718
19719         * src/NetworkManagerDevice.c
19720                 - Force wireless cards into Infrastructure mode before we use them
19721
19722 2004-10-12 Dan Williams <dcbw@redhat.com>
19723
19724         * TODO
19725                 - Remove bit about static IP address support
19726
19727         * src/NetworkManagerUtils.c
19728                 - (nm_spawn_process): Add some error reporting
19729
19730         * src/NetworkManagerDevice.c
19731                 - (nm_device_activation_configure_ip): hook up to the static config
19732                         routines in the backends
19733
19734         * src/backends/NetworkManagerRedHat.c
19735                 - (nm_system_device_update_config_info): use shvar.c routines to
19736                         parse the config file iformation, not our own
19737                 - (nm_system_device_setup_static_ip4_config): new function, based
19738                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19739                         with a static IP address and gateway
19740
19741         * src/backends/shvar.[ch]
19742                 - Parser (filched from initscripts package) for ifcfg-* files
19743
19744         * src/backends/NetworkManagerSystem.h
19745           src/backends/NetworkManagerGentoo.c
19746           src/backends/NetworkManagerDebian.c
19747           src/backends/NetworkManagerSlackware.c
19748                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19749
19750 2004-10-11 Dan Williams <dcbw@redhat.com>
19751
19752         * TODO
19753                 - Remove bit about more robust AP diffing since I just implemented it
19754
19755 2004-10-11 Dan Williams <dcbw@redhat.com>
19756
19757         * src/NetworkManagerAP.c
19758                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19759                         enough RAM to allocate new AP structures, but return NULL instead
19760
19761         * src/NetworkManagerAPList.[ch]
19762                 - (nm_ap_list_is_empty): new function
19763                 - (nm_ap_list_combine): new function, combine two access point lists
19764                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19765                         into another
19766
19767         * src/NetworkManagerDevice.[ch]
19768                 - Rename some functions to be clearer:
19769                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19770                         nm_device_just_activated     -> nm_device_is_just_activated
19771                         nm_device_activating         -> nm_device_is_activating
19772                         nm_device_now_scanning       -> nm_device_is_scanning
19773                 - Cache the last 4 scans so that the access point list is more stable.
19774                         We combine the lastest two scans and use that as the AP list,
19775                         and diff that combined list against the combination of the earliest
19776                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19777
19778 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19779
19780         * info-daemon/NWManagerInfo.h
19781                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19782
19783         * info-daemon/NWManagerInfoDbus.c
19784                 - (shutdown_callback): new function
19785                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19786                         if NetworkManager goes away.  Kill the timeout
19787                         if NetworkManager restarts before the 30 seconds
19788                         are up.
19789                 - (nmi_dbus_service_init): 
19790                         - call gtk_main_quit if NetworkManager is not running
19791                         - add filters to monitor dbus service creations and
19792                                 deletions
19793         
19794 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19795
19796         * panel-applet/NMWirelessApplet.c
19797                 - (nmwa_update_state): Hide notification icon if we are only
19798                         showing one wired card and no wireless interfaces 
19799                         (Red Hat Bug #134895)
19800
19801         * panel-applet/NMWirelessAppletDbus.c
19802                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19803
19804         * info-daemon/NWManagerInfo.c
19805                 - (main): Terminated the notification_icon_cmd array with a NULL
19806
19807 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19808
19809         * configure.in (ALL_LINGUAS): Added de (German).
19810
19811 2004-10-08 Dan Williams <dcbw@redaht.com>
19812
19813         * src/NetworkManagerDevice.c
19814                 - Be a bit more robust about link checking, ie make sure that
19815                         the WEP key we were given actually has some data in it
19816
19817 2004-10-08 Dan Williams <dcbw@redhat.com>
19818
19819         * info-daemon/NetworkManagerInfo.c (main):
19820                 - Initialize GError object to NULL
19821
19822 2004-10-08 Dan Williams <dcbw@redhat.com>
19823
19824         * panel-applet/NMWirelessAppletDbus.c
19825                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19826
19827 2004-10-08 Dan Williams <dcbw@redhat.com>
19828
19829         * info-daemon/NetworkManagerInfo.[ch]
19830           info-dameon/NetworkManagerInfoDbus.[ch]
19831           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19832                 - Preserve original label text in the passphrase dialog so that
19833                         it actually gets updated with the new network name the next
19834                         time around.  Previously, we were overwriting it so you'd get
19835                         the wrong network name to enter a key for
19836                 - Add a "Key Type" combo to the passphrase dialog, user selects
19837                         encryption key type now, type is stored in GConf too
19838                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19839
19840         * src/NetworkManagerAP.[ch]
19841                 - Remove all the encyption method magic.  It's now set by the user
19842                         and NetworkManager retrieves the type of encryption key from
19843                         NetworkManagerInfo
19844
19845         * src/NetworkManagerAPList.[ch]
19846           src/NetworkManagerDbus.[ch]
19847                 - Adjust to new way of setting encryption key and method
19848                 - Pull encryption method down from NMI along with key
19849
19850         * src/NetworkManagerDevice.[ch]
19851                 - Removed encryption method fallback magic as the method is now
19852                         determined by the user.  This greatly simplifies the connection
19853                         logic.
19854                 - More robust connection/link logic.  Besides removing the encryption
19855                         method fallback magic, check whether or not the card is receiving
19856                         invalidly encrypted packets, which usually indicates that we have
19857                         a bad WEP key set.
19858                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19859
19860         * test/nminfotest.c
19861                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19862
19863 2004-10-07 Dan Williams <dcbw@redhat.com>
19864
19865         * info-daemon/NetworkManagerInfo.conf
19866                 - Allow root user to run NMI too
19867
19868 2004-10-06 Dan Williams <dcbw@redhat.com>
19869
19870         * src/NetworkManagerDevice.[ch]
19871           src/NetworkManagerDbus.c
19872           doc/NetworkManager DBUS API.txt
19873                 - Add a new status tag "scanning", which is set when there
19874                         is no active network connection, but NetworkManager is
19875                         looking for an access point to associate with
19876
19877         * panel-applet/main.c
19878                 - Cast the applet appropriately for gtk_widget_show_all ()
19879
19880 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19881
19882         * panel-applet/eggtrayicon.[ch]:
19883         * panel-applet/main.c: Add missing file
19884
19885 2004-10-04 Dan Williams <dcbw@redhat.com>
19886
19887         * src/NetworkManagerDevice.[ch]
19888                 - Add a slightly more robust method of determining if the WEP key
19889                         is correct or not, by checking the WEP-discarded packet count
19890                         on the card
19891
19892         * info-daemon/NetworkManagerInfo.c
19893                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19894                         un-escape values we pull out rather than escaping them
19895
19896 2004-10-03  Marcel Telka  <marcel@telka.sk>
19897
19898         * configure.in (ALL_LINGUAS): Added sk.
19899
19900 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19901
19902         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19903         and feel.  We should be back to working, and have a good, clean
19904         look.
19905
19906 2004-09-30 Dan Williams <dcbw@redhat.com>
19907
19908         * info-daemon/NetworkManagerInfo.c
19909           info-daemon/NetworkManagerInfoDbus.c
19910           test/nminfotest.c
19911                 - Escape ESSIDs in gconf
19912
19913         * src/NetworkManagerDevice.c
19914                 - Fix pseudo-scanning to use netowrk list from info daemon
19915
19916 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19917
19918         * configure.in: Add a temporary --enable-notification-icon.  This
19919         will prolly go away.
19920
19921         * info-daemon/Makefile.am:
19922         * info-daemon/NetworkManagerInfo.c:
19923         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19924
19925         * panel-applet/Makefile.am:
19926         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19927         * panel-applet/NMWirelessApplet.h:
19928
19929 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19930
19931         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19932         before 'select custom ESSID'.
19933
19934         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19935         fully complete, but syncing in prep for merge.
19936
19937         * panel-applet/icons/*png: New images
19938
19939 2004-09-28 Dan Williams <dcbw@redhat.com>
19940
19941         * src/NetworkManager.c
19942           src/NetworkManagerDevice.c
19943           src/NetworkManagerPolicy.c
19944                 - Don't blow away an active wired connection on startup
19945
19946 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19947
19948         Changes from J5
19949         
19950         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19951
19952         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19953         syslog output
19954
19955 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19956
19957         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19958         have a wireless card.
19959
19960 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19961
19962         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19963         Also, get the right device strings.
19964
19965 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19966
19967         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19968         the logic to make this right.
19969
19970         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19971         devices so that wired networks are always first.
19972
19973 2004-09-22    <clarkbw@cvs.gnome.org>
19974
19975         * initscript/Debian/.cvsignore:
19976         * initscript/Slackware/.cvsignore:
19977         Added new cvsignores for Makefile, Makefile.in
19978         
19979         * test/.cvsignore:
19980         Added nmtestdevices
19981         
19982         * src/NetworkManagerDevice.c: 
19983         * src/NetworkManager.c: 
19984         Updated the wireless/wired HAL device strings from net.ethernet to
19985         net.80203 or net.80211 depending on wired or wireless respectively
19986         
19987         * examples/python/NetworkManager.py: 
19988         s/Quality/Strength/
19989
19990         * examples/python/systray/network_tray.py:
19991         Lots of little changes and fixes.  been rotting for a while so I
19992         figured I'd finally sync them all with CVS
19993
19994 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19995
19996         * configure.in: Add graphics
19997
19998         * panel-applet/Makefile.am: Add graphics
19999
20000         * panel-applet/icons/*: Add graphics
20001
20002         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20003         the icons fully lined up.
20004
20005         * panel-applet/menu-info.c: 
20006         * panel-applet/menu-info.h: Add another menu type.
20007
20008 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20009
20010         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20011
20012         * panel-applet/menu-item.[ch]: Wireless menu item.
20013
20014 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20015
20016         * info-daemon/NetworkManagerInfo.conf
20017                 - Created a more robust security policy for the DBus service
20018                         - everything is denied by default
20019                         - root can own and send to the service
20020                         - users logged in at the console can send to the service
20021
20022 2004-09-13  Dan Williams <dcbw@redhat.com>
20023
20024         * src/NetworkManagerDevice.c
20025                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20026                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20027                         the latter
20028
20029 2004-09-13  Dan Williams <dcbw@redhat.com>
20030
20031         * TODO: fix typo
20032
20033         * docs/NetworkManager DBUS API.txt
20034                 - Update for new signal strength changes
20035
20036         * panel-applet/NMWirelessApplet.c
20037                 - Make panel icon show strength of the current connection
20038                 - Cleanups and memleak fixes
20039
20040         * panel-applet/NMWirelessApplet.h
20041                 - Add data members for signal strength on devices and networks
20042
20043         * panel-applet/NMWirelessAppletDbus.c
20044                 - Free more DBusErrors
20045                 - Update for new signal strength changes
20046                 - Make devices and networks more like real objects, use ref/unref methods
20047                 - Actually unlock the mutex when updating the active device
20048
20049         * src/NetworkManagerAP.c
20050                 - Change AP functions and data members from "quality"->"strength"
20051
20052         * src/NetworkManagerDbus.c
20053                 - Kill "getMaxQuality" and "getQuality" methods
20054                 - Add "getStrength" methods for Networks and Devices
20055
20056         * src/NetworkManagerDevice.[ch]
20057                 - Add accessors for device strength
20058                 - Add functions to update strength for a device.  Note that not all drivers
20059                         actually support signal strength for scanned access points (Atmel drivers
20060                         being one)
20061                 - Calculate signal strength for each AP during scan
20062
20063         * src/NetworkManagerWireless.[ch]
20064                 - Add function to return signal strength % from a device and a raw quality struct
20065
20066         * test/nmclienttest.c
20067                 - Update for new signal strength changes
20068
20069 2004-09-11  Dan Williams <dcbw@redhat.com>
20070
20071         * src/NetworkManager.c
20072                 - Fix race condition between initscripts and NM on card insertion
20073                         which could cause a card to keep an IP address and routes around
20074                         even when it was not the active device
20075
20076         * src/NetworkManagerDbus.c
20077                 - Fix compile errors, free more DBusErrors
20078
20079 2004-09-11  Dan Williams <dcbw@redhat.com>
20080
20081         * docs/NetworkManager DBUS API.txt
20082                 - Add an explanation of NM's API
20083
20084         * src/NetworkManagerDbus.c
20085                 - Free some more DBusErrors if needed
20086
20087 2004-09-11  Dan Williams <dcbw@redhat.com>
20088
20089         * panel-applet/NMWirelessApplet.c
20090           panel-applet/NMWirelessAppletDbus.c
20091                 - Start using NetworkDevice/WirelessNetwork structures in more places
20092                 - Update for unified device/network forcing in NetworkManager
20093
20094         * src/NetworkManager.c
20095                 - some code consolidation
20096
20097         * src/NetworkManagerDbus.c
20098                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20099                         or two arguments:  the first is the NM ID of the device to switch to,
20100                         and the second (optional) argument is the ESSID of a wireless network
20101                         to use as well.
20102                 - Get rid of "setNetwork" method due to above change
20103
20104         * src/NetworkManagerDevice.c
20105                 - (nm_device_new): perform scan and update best AP on device creation
20106                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20107                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20108                         spin waiting for cancellation to finish before returning
20109
20110         * src/NetworkManagerPolicy.c
20111                 - Changes here clarify the situations in which a device switch occurs, and 
20112                         make sure to keep using a forced device and network if the user gives
20113                         us one
20114                 - Remove old unused code
20115
20116 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20117
20118         * configure.in: Added Danish (da) to ALL_LINGUAS.
20119
20120 2004-09-09  Dan Williams <dcbw@redhat.com>
20121
20122         * panel-applet/NMWirelessAppletDbus.c
20123                 - Pull fresh devices and networks from NM when wireless networks
20124                         change.  Provides faster feedback of a forced wireless network
20125
20126         * src/NetworkManagerDbus.c
20127                 - Return error when "getMaxQuality" is called on a wired device
20128                 - Make best_ap freezing actually work again, and signal cancellation
20129                         of activation if there's already a device activation when the user
20130                         freezes the best_ap
20131
20132         * src/NetworkManagerDevice.c
20133                 - Don't clear out the best_ap for wireless devices when the link goes
20134                         down, that's done elsewhere
20135                 - Kill any dhcp daemons when cancelling device activation since they
20136                         may be stuck waiting for a DHCP address, and since we're cancelling
20137                         activation we don't care about that anymore
20138
20139         * src/NetworkManagerPolicy.c
20140                 - Make sure to unref the device we ref earlier (we refed it to make sure
20141                         it stuck around during device activation and such)
20142                 - If we were going to change the best device, but its activating currently
20143                         (and therefore the change didn't occur due to the check earlier)
20144                         we mark the state changed to we come back to it later when device
20145                         activation has canceled and its no longer activating
20146
20147         * src/backends/NetworkManagerRedHat.c
20148                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20149
20150 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20151
20152         * info-daemon/passphrase.glade: 
20153         set passphrase input to activates_default : True
20154
20155         * examples/python/systray/network_tray.py
20156         (network_tray.sort_networks):
20157
20158         Added support for having wireless always scanning
20159
20160 2004-09-09  Dan Williams <dcbw@redhat.com>
20161
20162         NOTE: this commit changes the behavior of wireless devices in
20163         NetworkManager.  They are now up all the time, scanning all
20164         the time.  Only the active device has an IP address and routing
20165         information set up however.  Also, NetworkManager will no longer
20166         opportunistically switch wireless networks when a better one
20167         comes in range, it will remain associated with one wireless network
20168         until that one drops out.
20169
20170         * panel-applet/NMWirelessApplet.c
20171           panel-applet/NMWirelessAppletDbus.c
20172                 - List all wireless cards and their respective networks
20173
20174         * src/NMLoadModules
20175                 - Use full path to /sbin/ip
20176
20177         * src/NetworkManager.c
20178                 - Keep wireless devices up all the time so they can scan
20179
20180         * src/NetworkManagerDbus.c
20181                 - On a WirelessNetworkUpdate signal from NMI, don't update
20182                         the "best" AP
20183
20184         * src/NetworkManagerDevice.c
20185                 - (nm_device_set_link_active): clear out the best ap for
20186                         wireless devices when the link is set to FALSE
20187                 - Scan on all wireless cards, all the time
20188                 - (nm_device_activation_worker): split out the wireless card
20189                         link-waiting code to a separate function
20190                 - Keep wireless cards up even if device activation fails
20191                 - Don't update the "best" ap as much
20192
20193         * src/NetworkManagerPolicy.c
20194                 - Don't update the best ap when checking if its frozen,
20195                         let link checking clear out a frozen best ap for us
20196
20197         * src/NetworkManagerWireless.c
20198                 - Scan on all wireless cards, all the time
20199
20200 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20201
20202         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20203
20204 2004-09-09  Ankit Patel <ankit@redhat.com>
20205
20206         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20207
20208 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20209
20210         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20211
20212 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20213
20214         * examples/python/NetworkManager.py: 
20215         added CONNECTED, CONNECTING, and DISCONNECTED states
20216         added methods to return number of devices of a single type
20217
20218         * examples/python/systray/network_tray.py: 
20219         did some tweaks to get the menu looking near what it is supposed
20220         to look like.  Also did a Airo card hack to make it show the
20221         correct AP quality
20222
20223 2004-09-08  Dan Williams <dcbw@redhat.com>
20224
20225         * panel-applet/no-networkmanager.png
20226           panel-applet/Makefile.am
20227           panel-applet/NMWirelessApplet.c
20228                 - Add a "NetworkManager not running" icon and use it
20229                 - Use new consolidated GConf keys rather than Preferred/Trusted
20230
20231         * TODO: update
20232
20233         * info-daemon/NetworkManagerInfo.c
20234           info-daemon/NetworkManagerInfoDbus.[ch]
20235           info-daemon/NetworkManagerInfoPassphraseDialog.c
20236                 - There are now no longer two separate lists of wireless networks,
20237                         but one list where each network is "trusted" or not trusted
20238                 - Add a "getNetworkTrusted" dbus method
20239                 - "WirelessNetworkUpdate" signal now sent rather than
20240                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20241                 - Start freeing some dbus errors (not completed yet)
20242
20243         * info-daemon/passphrase.glade
20244                 - Remove the "don't show" hints for pager and taskbar
20245                 - Add a title since its going to be in the taskbar
20246
20247         * src/NetworkManager.[ch]
20248           src/NetworkManagerAPList.[ch]
20249                 - There are now no longer two separate lists of wireless networks,
20250                         but one list where each network is "trusted" or not trusted
20251
20252         * src/NetworkManagerAP.[ch]
20253                 - Add get/set "trusted" accessors and data bit
20254
20255         * src/NetworkManagerDbus.[ch]
20256                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20257                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20258
20259         * src/NetworkManagerDevice.[ch]
20260                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20261                 - (nm_device_new): Get device config from backend when initializing devices
20262                 - (nm_device_activation_worker): Split out device configuration on
20263                         activation to deal with static/dynamic IP differences, and try encryption
20264                         fallbacks on a device if the encryption method for the best AP is not good
20265                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20266                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20267
20268         * src/NetworkManagerWireless.c
20269                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20270
20271         * src/backends/NetworkManagerRedHat.c
20272           src/backends/NetworkManagerSystem.h
20273                 - (nm_system_device_update_config_info): Add function to get device configuration
20274                         from system data in ifcfg-* files
20275
20276         * src/backends/NetworkManagerDebian.c
20277           src/backends/NetworkManagerGentoo.c
20278           src/backends/NetworkManagerSlackware.c
20279                 - Add stub functions for getting device configuration
20280
20281 2004-09-07  Dan Williams <dcbw@redhat.com>
20282
20283         * src/backends/NetworkManagerRedhat.c
20284           src/backends/NetworkManagerSlackware.c
20285                 - Use full path to /sbin/ip everywhere
20286
20287 2004-09-07  Dan Williams <dcbw@redhat.com>
20288
20289         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20290
20291         * configure.in
20292           initscript/Makefile.am
20293           initscript/Slackware/Makfile.am
20294           initscript/Slackware/rc.networkmanager
20295           src/Makefile.am
20296           src/backends/NetworkManagerSlackware.c
20297                 - Add Slackware support
20298
20299 2004-09-07  Dan Williams <dcbw@redhat.com>
20300
20301         Patches below from:
20302                 <j@bootlab.org>
20303                 Mark Roach <mrroach@okmaybe.com>
20304                 Thom May <thom@debian.org>
20305
20306         * configure.in
20307           initscript/Debian/NetworkManager
20308           initscript/Debian/Makefile.am
20309                 - Initscript for Debian
20310
20311         * src/backends/NetworkManagerDebian.c
20312                 - Add missing system init function to allow compilation
20313                         on Debian
20314
20315 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20316
20317         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20318
20319 2004-09-03  Akagic Amila <bono@linux.org.ba>
20320
20321         * configure.in: Added 'bs' to ALL_LINGUAS.
20322
20323 2004-09-02  Colin Walters  <walters@verbum.org>
20324
20325         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20326         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20327         g_strdup_printf instead of arbitrarily sized buffers.
20328
20329 2004-09-01  Colin Walters  <walters@verbum.org>
20330
20331         * NetworkManager.pc.in: New file.
20332
20333         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20334
20335 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20336         
20337         * configure.in: Punjabi(pa) is added to po/.
20338
20339 2004-08-31  Dan Williams <dcbw@redhat.com>
20340
20341         * Remove 'debug' extern global from all files since we now
20342                 use syslog()
20343
20344         * src/NetworkManager.[ch]
20345                 - Break out routine that get the net.interface property from HAL,
20346                         removing that logic from nm_create_device_and_add_to_list()
20347                 - (nm_create_device_and_add_to_list): make this a bit more general so
20348                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20349                         the create of test devices.
20350                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20351                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20352                         which makes NetworkManager listen for dbus commands to create test
20353                         devices, which have no backing hardware.  Use when you're on a plane
20354                         for example, and/or forgot your wireless card at home.  Test devices
20355                         _cannot_ be created unless NM is started with --enable-test-devices.
20356
20357         * src/NetworkManagerDbus.[ch]
20358                 - New "getLinkActive" method for devices
20359                 - New "setLinkActive" method for devices (only works on test devices)
20360                 - New "createTestDevice" method on NetworkManager object to create a test
20361                         device of a specified type (ie wired, wireless).  UDI is created from
20362                         scratch, as is the interface name.  Only works when NM is started with
20363                         --enable-test-devices switch.
20364                 - New "removeTestDevice" method on NetworkManager object which removes a
20365                         test device.  Only works when NM is started with --enable-test-devices
20366
20367         * src/NetworkManagerDevice.[ch]
20368                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20369                         whether a device is a test device or not, and what its link status is.
20370                 - Deal with test devices in most functions.  For those that work directly on hardware
20371                         special-case test devices.
20372                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20373                         command-line.
20374                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20375                         checking to separate functions to facilitate test device link checking.
20376                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20377                         don't make a distinction between System Authentication and Encryption
20378                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20379                         on the card.  We don't deal with Shared Key auth yet.
20380                 - (nm_device_activation_worker): split the activation cancel check logic out into
20381                         a separate routine nm_device_activation_cancel_if_needed()
20382                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20383                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20384                         a list of fake access points that they can "see"
20385                 - (nm_device_is_test_device): return whether or not a device is a test device
20386
20387         * src/NetworkManagerPolicy.c
20388                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20389                         previously if you "locked"/forced NM to use a wireless device but then
20390                         selected a wireless network for NM to use, it would switch to a wired device.
20391                         So, if the active device is wireless and it has a "forced" best AP, use it
20392                         if the "forced" best AP is still valid
20393                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20394                         there were no usable network devices, or the last one was removed
20395
20396         * src/backends/NetworkManager*.c
20397                 - Deal with test devices, mostly just return success for operations like getting
20398                         a DHCP address
20399
20400         * test/nmtestdevices.c
20401                 - Test tool to create/remove/link-switch test devices
20402
20403 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20404
20405         * examples/python/NetworkManager.py: 
20406         added convience functions has_wired_device and has_wireless_device
20407
20408         * examples/python/systray/network_tray.py: 
20409         cleaned up a bunch of cruft, added support for listing wireless
20410         networks just like the real applet.  This is probably all I'm
20411         going to work on this applet from now on.
20412         TODO: add support for actually changing networks and devices
20413
20414         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20415         changed "nm.networks" into a dict from a list so I can store all
20416         the cool information about networks in there
20417
20418         * examples/python/systray/network_tray.py: 
20419         Added nice message when you try to run without running make first
20420
20421         * examples/python/NetworkManager.py: 
20422         Bug fixes to the code so we get all the device information
20423         that we need in get_device()
20424         
20425         * examples/python/NMTester.py: 
20426         Fixed _print_device_list to print_device_list
20427
20428 2004-08-29  Seth Nickell  <seth@gnome.org>
20429
20430         * configure.in:
20431
20432         Actually properly setup the Debian backend in configure.
20433         
20434 2004-08-29  Colin Walters  <walters@verbum.org>
20435
20436         * test/nminfotest.c: Include string.h and stdlib.h.
20437         (get_network_string_property, get_networks_of_type): Return NULL.
20438
20439         * test/nmclienttest.c (get_device_name, get_active_device): Return
20440         NULL.
20441
20442         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20443         use strlen, fgets always NULL-terminates the string.
20444
20445         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20446         dbus_message_get_member): Remove /* in comment.
20447
20448         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20449
20450         * src/NetworkManager.c (quit): Unused, delete.
20451         (nm_data_free): Cast arg to GFunc.
20452
20453         * panel-applet/NMWirelessAppletDbus.c: Need to include
20454         string.h, and dbus-glib-lowlevel.h (the latter is needed
20455         for dbus_connection_setup_with_g_main at present).
20456         (nmwa_dbus_update_wireless_network_list): Parenthesize
20457         assignment in conditional.
20458         (nmwa_dbus_worker): Return NULL.
20459
20460         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20461         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20462         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20463         (nmwa_populate_menu): Return NULL on failure, instead of just
20464         return;
20465
20466         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20467
20468         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20469         variables.
20470
20471         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20472         delete.
20473         
20474 2004-08-29  Colin Walters  <walters@verbum.org>
20475
20476         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20477         a GTimeVal instead of time_t.  This is easier to work with,
20478         since time_t may be a long or double, we don't know.
20479
20480         * src/NetworkManagerDbus.h: Update prototype.
20481         
20482         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20483         instead of time_t.
20484         (nm_ap_get_timestamp): Update to return GTimeVal.
20485         (nm_ap_set_timestamp): Update to take GTimeVal.
20486         
20487         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20488         to handle GTimeVal.
20489
20490         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20491         GTimeVal change.
20492         (nm_ap_list_print_members): Fix warnings in printf format.
20493
20494 2004-08-29  Colin Walters  <walters@verbum.org>
20495         
20496         * panel-applet/NMWirelessApplet.c: Include config.h.
20497
20498 2004-08-29  Colin Walters  <walters@verbum.org>
20499
20500         * configure.in: Generate config.h.
20501
20502         * configure.in: Dump dependency on OpenSSL; we can't
20503         use it since this package is GPL:
20504         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20505         Instead, check for libgcrypt, use it if available,
20506         otherwise use included MD5 code.
20507
20508         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20509         Suck in from gnome-keyring, munge a bit.
20510         
20511         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20512         gnome-keyring-md5.h gnome-keyring-md5.c.
20513         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20514
20515         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20516         libgcrypt or included gnome-keyring md5 bits.
20517         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20518
20519 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20520
20521         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20522
20523 2004-08-27  Bryan Clark  <bclark@redhat.com>
20524
20525         * examples/python/systray/Makefile: 
20526
20527         Updated the clean section
20528         
20529         * examples/python/systray/trayiconmodule.c: 
20530         * examples/python/systray/trayicon.override: 
20531         * examples/python/systray/network_tray.py: 
20532         * examples/python/systray/eggtrayicon.h: 
20533         * examples/python/systray/eggtrayicon.c: 
20534         * examples/python/systray/Makefile: 
20535         * examples/python/README: 
20536         * examples/python/NetworkManager.py: 
20537         * examples/python/NMTester.py: 
20538
20539         Initial commit of these python example files
20540
20541 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20542
20543         * panel-applet/NMWirelessApplet.c
20544                 - Make current device bold
20545                 - Show more user-friendly device name if we got one from hal
20546
20547         * panel-applet/NMWirelessAppletDbus.c
20548                 - Grab "info.product" key from hal for network devices
20549                 - Cache the current active device
20550
20551 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20552
20553         * configure.in: Added en_CA to ALL_LINGUAS.
20554
20555 2004-08-27  Christian Rose  <menthos@menthos.com>
20556
20557         * configure.in: Added "sv" to ALL_LINGUAS.
20558
20559 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20560
20561         * Tag NetworkManager-0.2
20562
20563 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20564
20565         * initscripts/Makefile.am
20566         * configure.in: Make pass distcheck
20567
20568         * po/ChangeLog: added
20569
20570 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20571
20572         * panel-applet/NMWirelessApplet.c
20573                 - Remove debugging code
20574                 - Enable device switching from menus
20575
20576         * panel-applet/NMWirelessAppletDbus.[ch]
20577                 - Method for asking NM to switch devices
20578
20579         * src/NetworkManagerDevice.c
20580                 - Set dev->activating earlier, avoids race between
20581                         the dbus signal of "DeviceActivating" and setting
20582                         dev->activating (which is what NM's "status" method call
20583                         looks at)
20584
20585 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20586
20587         * panel-applet/NMWirelessApplet.[ch]
20588                 - Rework menu code to add devices to menu, and to show
20589                         signal strength for each access point.  Code cleanups
20590                         too.
20591
20592         * panel-applet/NMWirelessAppletDbus.c
20593                 - Grab network devices from NetworkManager too
20594                 - Grab quality information from NM for wireless networks
20595
20596         * src/NetworkManagerDbus.[ch]
20597                 - Add dbus methods for getting the HAL UDI from a device and
20598                         for getting its base quality, if its wireless
20599                 - Consolidate some functions (wireless network notifications,
20600                         device notifications)
20601                 - Add method for requesting NM to use a particular device
20602
20603         * src/NetworkManager.c
20604                 - Change for function consolidations from NetworkManagerDbus.c
20605                 - Implement active device locking and user-requested devices
20606                         (ie, tell NM to use a particular device instead of the one
20607                         it autochose)
20608
20609         * src/NetworkManagerDevice.c
20610                 - Add method for getting the base quality of a device, if its
20611                         wireless
20612                 - Grab device base quailty info from iwlib during scans
20613
20614         * src/NetworkManagerPolicy.c
20615                 - Use a user-requested device rather than the auto-chosen device
20616                         if we are told to
20617
20618 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20619
20620         * Makefile.am: add po as a supdir
20621
20622         * autogen.sh: use gnome-autogen.sh
20623
20624         * initscript/Gentoo/.cvsignore:
20625         * initscript/RedHat/.cvsignore: Shut up cvs
20626
20627         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20628
20629         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20630         (nmwa_fill): Use gettext.
20631
20632         * configure.in: add gettext support
20633         * po/.cvsignore:
20634         * po/NetworkManager.pot:
20635         * po/POTFILES.in:
20636
20637 2004-08-26  Seth Nickell  <seth@gnome.org>
20638
20639         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20640         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20641         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20642         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20643         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20644         * panel-applet/NMWirelessApplet.h:
20645
20646         Use a menu bar instead of a button for the main clickable
20647         thingy.
20648         
20649 2004-08-25  Dan Williams <dcbw@redhat.com>
20650
20651         * src/NetworkManagerDevice.c
20652                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20653                         turning encryption off, because the Cisco driver doesn't associate
20654                         with WEP-enabled access points unless we are in "open"
20655
20656 2004-08-25  Dan Williams <dcbw@redhat.com>
20657
20658         * src/NetworkManagerWireless.c
20659                 - Don't try to defererence blank passphrases
20660
20661 2004-08-25  Dan Williams <dcbw@redhat.com>
20662
20663         * panel-applet/NMWirelessApplet.c
20664                 - Rebuild the menu whenever a user clicks
20665
20666 2004-08-25  Dan Williams <dcbw@redhat.com>
20667
20668         * panel-applet/NMWirelessApplet.c
20669                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20670                         when NM isn't around or when its not connected
20671
20672         * src/NetworkManagerDevice.c
20673                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20674                         canceled.
20675
20676 2004-08-25  Dan Williams <dcbw@redhat.com>
20677
20678         * panel-applet/NMWirelessAppletDbus.c
20679                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20680                         for getting encryption, and don't stop on "val" once we've gotten it
20681                         from NetworkManager.  Short form:  encryption should now show up.
20682
20683 2004-08-25  Dan Williams <dcbw@redhat.com>
20684
20685         * panel-applet/NMWirelessApplet.c
20686                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20687                         network to associate with
20688
20689 2004-08-25  Dan Williams <dcbw@redhat.com>
20690
20691         * panel-applet/*
20692                 - Rework the panel applet to do all DBUS communication in a separate
20693                         thread
20694
20695 2004-08-25  Dan Williams <dcbw@redhat.com>
20696
20697         * info-daemon/NetworkManagerInfo.[ch]
20698                 - Remove "get_next_priority" function
20699
20700         * info-daemon/NetworkManagerInfoDbus.[ch]
20701                 - Convert "priority" functions to "timestamp"
20702
20703 2004-08-25  Dan Williams <dcbw@redhat.com>
20704
20705         * src/NetworkManagerAP.[ch]
20706                 - Add a "enc_method_good" member and accessors to an Access Point
20707                         to signal when we've found the correct encryption method
20708                         for an access point
20709                 - Add a "timestamp" member and accessors, remove "priority" member
20710                         and accessors (use timestamps instead)
20711                 - Rename "wep_key"->"enc_key"
20712                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20713                         for a specified encryption method using the access points
20714                         source encryption key/passphrase
20715
20716         * src/NetworkManagerAPList.c
20717                 - When updating a network with dbus, grab timestamp now instead of
20718                         priority
20719
20720         * src/NetworkManagerDBus.[ch]
20721                 - Add signal for "DeviceActivating"
20722                 - Switch priority->timestamp
20723
20724         * src/NetworkManagerDevice.c
20725                 - Change references of "wep_key" -> "enc_key" or "key"
20726                 - Signal DeviceActivating when starting activation
20727                 - When activating a wireless device, if the access point we are connecting
20728                         to is encrypted, and we have a source key, try to generate a mangled
20729                         key and use that (ie, generate real WEP key from a passphrase)
20730                 - Rework device activation to fallback to other encryption methods if
20731                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20732                         first, then if that doesn't work fall back to direct hex key).
20733                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20734                         priority.  We now prefer the latest access point used, rather than using
20735                         a priority scheme
20736                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20737                         points we've just discovered, and merge in correct info from the global
20738                         access point lists
20739
20740 2004-08-25  Seth Nickell  <seth@gnome.org>
20741
20742         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20743         Debian support.
20744         
20745         * src/Makefile.am:
20746         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20747         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20748         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20749         (nm_system_delete_default_route),
20750         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20751         (nm_system_load_device_modules):
20752
20753 2004-08-24  Dan Willemsen <dan@willemsen.us>
20754
20755         * src/NetworkManager.c
20756           src/backends/NetworkManagerGentoo.c
20757           src/backends/NetworkManagerRedHat.c
20758           src/backends/NetworkManagerSystem.h
20759                 - Implement preliminary Gentoo support, adding a
20760                         nm_system_init function to the backend specification
20761
20762         * configure.in
20763                 - Distribution auto-detection, lowercase any user-fed
20764                         distribution names
20765
20766         * initscript/.cvsignore
20767           initscript/Makefile.am
20768           initscript/RedHat/Makefile.am
20769           initscript/RedHat/NetworkManager
20770           initscript/Gentoo/Makefile.am
20771           initscript/Gentoo/NetworkManager
20772                 - Refactored initscript code separately for each
20773                         distribution
20774
20775 2004-08-23  Dan Williams <dcbw@redhat.com>
20776
20777         * configure.in
20778           src/Makefile.am
20779           src/NetworkManagerDevice.c
20780           src/NetworkManager.c
20781           src/NetworkManagerUtils.[ch]
20782           src/backends/NetworkManagerSystem.h
20783           src/backends/NetworkManagerRedHat.c
20784           src/backends/NetworkManagerGentoo.c
20785                 - Refactor system-specific code into separate backends for
20786                         each distribution
20787
20788 2004-08-23  Dan Willemsen <dan@willemsen.us>
20789
20790         * dispatcher-daemon/NetworkManagerDispatcher.c
20791           info-daemon/NetworkManagerInfo.[ch]
20792           info-daemon/NetworkManagerInfoDbus.c
20793           info-daemon/NetworkManagerInfoPassphraseDialog.c
20794           src/NetworkManager.c
20795           src/NetworkManagerAP.c
20796           src/NetworkManagerAPList.c
20797           src/NetworkManagerDbus.c
20798           src/NetworkManagerDevice.c
20799           src/NetworkManagerPolicy.c
20800           src/NetworkManagerUtils.[ch]
20801           src/NetworkManagerWireless.c
20802                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20803
20804         * src/NetworkManager.c
20805                 - Fixed usage wording for --no-daemon
20806
20807 2004-08-23  Dan Williams <dcbw@redhat.com>
20808
20809         * panel-applet/NMWirelessApplet.c
20810                 - Update our state every second to get more responsive panel icon
20811                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20812                         was causing our marching ants status blips to never move when
20813                         looking for a wireless network
20814
20815         * src/NetworkManagerDevice.c
20816                 - (nm_device_activation_begin): return if activation has already begun
20817                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20818                         trusted/preferred network into the device's access point when the
20819                         scan list is processed
20820
20821 2004-08-23  Dan Williams <dcbw@redhat.com>
20822
20823         * initscript/NetworkManager
20824                 - Use NMLaunchHelper rather than sleeping
20825
20826         * initscript/NMLaunchHelper.c
20827           Makefile.am
20828                 - Add helper program that exits only when NM activates a device,
20829                         or 10 seconds have passed, whichever happens first.  This
20830                         stops the boot processes until we have a network connection,
20831                         which NM can't do because it daemonizes and brings the connection
20832                         up in the background.  Allows stuff like NFS to not die.
20833
20834 2004-08-20  Dan Williams <dcbw@redhat.com>
20835
20836         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20837                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20838                         for a network, set the essid as well since it may not exist yet
20839                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20840                         since WEP keys/passphrases are long and prone to entry-error
20841
20842         * panel-applet/Makefile.am
20843           panel-applet/wired.png
20844                 - Add (pulled from system-config-network temporarily)
20845
20846         * panel-applet/NMWirelessApplet.[ch]
20847                 - Show wired picture when a wired connection is used
20848                 - Rename wireless icon enums, adding WIRELESS
20849
20850         * src/NetworkManagerDevice.c
20851                 - (nm_device_activate_wireless): unset encryption before bringing
20852                         down the card and setting the essid
20853                 - (nm_device_activatin_worker): request a key from the user if the
20854                         AP we are connecting to is encrypted but we don't have a key
20855                         for it yet
20856                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20857                         strcmp() that prevented a user-entered key from actually getting
20858                         used
20859
20860 2004-08-16  Dan Williams <dcbw@redhat.com>
20861
20862         * initscript/NetworkManager
20863                 - Check for /sbin/ip
20864                 - Do sysctl magic that network service does
20865                 - sleep 4s after start to allow network time to come up [hack]
20866
20867         * src/Makefile.am
20868           src/NMLoadModules
20869                 - Load all network device kernel modules (hal doesn't know devices
20870                         are ethernet until the module is loaded, and therefore we don't know)
20871
20872         * src/NetworkManager.c
20873                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20874                         network devices, and bring up the loopback device explicitly
20875
20876         * src/NetworkManagerUtils.[ch]
20877                 - (nm_enable_loopback): new function
20878
20879 2004-08-13  Dan Williams <dcbw@redhat.com>
20880
20881         * configure.in
20882           panel-applet/Makefile.am
20883                 - Fix up cleanfiles and server_DATA/server_in_files
20884
20885         * README
20886                 - Update with some comments on theory of operation
20887
20888         * CONTRIBUTING
20889           Makefile.am
20890                 - Add CONTRIBUTING
20891
20892 2004-08-12  Dan Williams <dcbw@redhat.com>
20893
20894         * info-daemon/passphrase.glade
20895                 - Set window title to " "
20896
20897         * panel-applet/Makefile.am
20898           panel-applet/keyring.png
20899                 - Deliver to correct place
20900
20901         * panel-applet/NMWirelessApplet.[ch]
20902                 - Add comments
20903                 - Remove applet->have_active_device as its no longer used
20904                 - (nmwa_load_theme): load keyring.png too
20905                 - (error_dialog): remove
20906                 - (show_warning_dialog): subsume functionality of error dialog too
20907                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20908                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20909                         the networks menu
20910                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20911                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20912                         and when we get broadcasts of changed wireless access points only, not when the
20913                         user clicks on the button to display the menu (too long of a wait)
20914                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20915                         networks that are encrypted
20916                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20917                         menu item with g_object_set_data()
20918
20919         * panel-applet/NMWirelessAppletDbus.[ch]
20920                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20921                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20922                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20923                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20924                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20925                         activation/deactivation signals and rebuild the menu when they happen
20926
20927         * src/NetworkManager.c
20928                 - (main): use new nm_spawn_process() rather than system()
20929
20930         * src/NetworkManagerDbus.c
20931                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20932                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20933                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20934                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20935                         to freeze the best_ap.
20936
20937         * src/NetworkManagerDevice.[ch]
20938                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20939                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20940                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20941                         ap list
20942
20943         * src/NetworkManagerUtils.[ch]
20944                 - (nm_spawn_process): add replacement for system() usage
20945
20946 2004-08-11  Dan Williams <dcbw@redhat.com>
20947
20948         * panel-applet/NMWirelessApplet.[ch]
20949                 - Fix up copyright and credits to include Bastien and Eskil,
20950                         who created the gnome-applets wireless applet, from whose
20951                         skeleton this one was created
20952                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20953                         pixmap to draw is computed during nmwa_update_state()
20954                 - Applet now shows itself all the time due to panel packing issues
20955                         which caused the applet to previously never come back after hiding.
20956                         When a wired device is the active device, the applet shows "not connected"
20957
20958         * panel-applet/NMWirelessAppletDbus.[ch]
20959                 - Clean up error messages and show what function they are from
20960                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20961                 - Add new device type getters, and a status getter
20962
20963         * src/NetworkManagerDbus.c
20964                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20965                         network is actually in the device's ap list
20966                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20967
20968         * src/NetworkManagerDevice.c
20969                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20970                         card
20971
20972         * test/nmclienttest.c
20973                 - Report status of NetworkManager too
20974
20975 2004-08-11  Dan Williams <dcbw@redhat.com>
20976
20977         * info-daemon/NetworkManagerInfo.c:
20978                 - (main): clean up Seth's code style
20979
20980         * info-daemon/NetworkManagerInfoDbus.c:
20981                 - Use the more aptly-named path/service/interface constants from NetworkManager
20982                 - Don't return empty strings ("") as object paths ever, instead return errors
20983
20984         * panel-applet/NMWirelessApplet.c:
20985                 - Clean up Seth's code style
20986
20987         * src/NetworkManager.[ch]
20988                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20989                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20990
20991         * src/NetworkManagerAPList.[ch]
20992                 - Move Iter struct right above the iter functions to preserve opacity
20993                 - (nm_ap_list_remove_ap): implement
20994                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20995                         remove AP if NetworkManagerInfo doesn't know anything about it
20996                 - (nm_ap_list_diff): user NMAPList iterators
20997                 - (nm_ap_list_print_members): implement debugging function
20998
20999         * src/NetworkManagerDbus.[ch]
21000                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21001                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21002                         and move the actual key setting stuff into NetworkManagerDevice.c
21003                 - (nm_dbus_get_network_priority): return -1 now on errors
21004                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21005                         get lost, and force the active device to update its "best" ap when AP lists change
21006                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21007                         method call due to pending_device member removal
21008
21009         * src/NetworkManagerDevice.[ch]
21010                 - Move NMDevice structure to the top
21011                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21012                 - Remove Pending Action stuff from everywhere
21013                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21014                         activation for us.  This thread blocks until all conditions for activation have
21015                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21016                         then setup up the interface and runs dhclient.  We have to do this because there
21017                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21018                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21019                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21020                         can tell nm_device_activation_worker() that we've got a key
21021                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21022                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21023                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21024                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21025
21026         * src/NetworkManagerPolicy.c
21027                 - Remove anything to do with pending_device
21028                 - Adjust device activation to deal with activation-in-worker-thread
21029
21030         * src/NetworkManagerUtils.c
21031                 - Clean up locking debugging a bit
21032
21033         * src/NetworkManagerWireless.[ch]
21034                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21035                         was badly named and is better as a device function
21036
21037         * panel-applet/.cvsignore: add
21038
21039 2004-08-09  Seth Nickell  <seth@gnome.org>
21040
21041         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21042         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21043         (nmwa_new):
21044         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21045
21046         Don't load the menus until clicked on (also removes a call outside
21047         normal code paths at first load).
21048
21049         Hide applet when NM is not present.
21050         
21051         Improve printf debugging stuff.
21052         
21053 2004-08-09  Dan Williams <dcbw@redhat.com>
21054
21055         * dispatcher-daemon/NetworkManagerDispatcher.c:
21056                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21057                 - Use constants for NetworkManager interface, service, and path
21058
21059 2004-08-09  Dan Williams <dcbw@redhat.com>
21060
21061         * src/NetworkManagerDbus.c:
21062                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21063                         instead return an error message
21064                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21065                         on a wired device.  Also never return an empty object path, instead return an error message
21066
21067 2004-08-06  Seth Nickell  <seth@gnome.org>
21068
21069         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21070
21071         Check the error code when getting a connection.
21072         
21073         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21074
21075         Check if the NM service exists when initializing (rather than
21076         assuming it does not).
21077         
21078         * src/NetworkManagerDbus.c: (nm_dbus_init):
21079
21080         Don't acquire the well-known service name until we have
21081         registered object/path handlers and can actually receive
21082         calls.
21083         
21084 2004-08-06  Dan Williams <dcbw@redhat.com>
21085
21086         * panel-applet/*
21087                 - Add panel applet
21088
21089         * src/NetworkManagerPolicy.c
21090           src/NetworkManager.c
21091                 - Get access point lists from NetworkManagerInfo on-demand,
21092                         and look for ServiceCreate/ServiceDeleted signals to see when
21093                         we should query NMI for lists
21094         * src/NetworkManagerAPList.c
21095                 - Make sure to init the list's mutex
21096                 - Convert traversals of the list over to the list iter functions
21097
21098         * src/NetworkManagerDbus.[ch]
21099                 - Use more aptly-named path/service/interface constants
21100                 - Treat both active and pending devices the same for "getActiveDevice"
21101                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21102
21103         * src/NetworkManagerDevice.c
21104                 - Honor "ignored" network list when picking best ap to use
21105
21106 2004-08-06  Seth Nickell  <seth@gnome.org>
21107
21108         * aclocal.m4:
21109
21110         Autogenerated, remove from CVS.
21111         
21112         * autogen.sh:
21113
21114         Don't hardcode automake version.
21115         
21116         * configure.in:
21117         * info-daemon/Makefile.am:
21118         * info-daemon/NetworkManagerInfo.c: (main):
21119
21120         Use GnomeProgram et al. for doing session management.
21121         Use popt stuff for argument parsing rather than doing
21122         it manugally.
21123         
21124 2004-08-05  Dan Williams <dcbw@redhat.com>
21125
21126         * test/nminfotest.c
21127                 - Update to new NMI dbus API, check different network types
21128
21129         * info-daemon/NetworkManagerInfoDbus.c
21130                 - Update to new NM dbus API, ie network type sent in query message
21131
21132 2004-08-05  Dan Williams <dcbw@redhat.com>
21133
21134         * An assload of changes
21135
21136 2004-08-02  Dan Williams <dcbw@redhat.com>
21137
21138         * TODO
21139                 - new task: proper logging support
21140
21141         * info-daemon/NetworkManagerInfo.c
21142                 - Correct spelling of "canceled"
21143                 - Correct casting of objects for g_signal_connect()
21144
21145         * info-daemon/NetworkManagerInfoDbus.c
21146                 - Add defines for NetworkManager namespace and object path, and use them
21147                 - Add filter function to trap new signals from NetworkManager:
21148                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21149
21150         * info-daemon/passphrase.glade
21151                 - Change name of "ok" button to "Login to Network..."
21152                 - Mark invisible
21153
21154         * src/NetworkManager.c
21155                 - Code and debug message cleanups
21156                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21157                 - (nm_add_initial_devices) Check returned string array of devices
21158                         and don't try to add devices if array is NULL
21159                 - (main) Initialize libhal a bit later, make code a bit clearer
21160
21161         * src/NetworkManagerAP.[ch]
21162                 - New accessor and data member "matched": used to speed up AP list
21163                         diffing
21164                 - New accessor and data member "enc_method": will be used during key
21165                         fallback to cache which passphrase->key conversion actually works
21166                         so we don't have to do it every time
21167
21168         * src/NetworkManagerAPList.[ch]
21169                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21170                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21171                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21172                         dbus in response to those differences
21173
21174         * src/NetworkManagerDbus.[ch]
21175                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21176                         make an object path for that access point (NOTE that we don't yet check to
21177                         make sure that access point is actually in the device's AP list yet)
21178                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21179                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21180                         New: signal appearance/disappearance of wireless networks
21181                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21182                         key entry
21183
21184         * src/NetworkManagerDevice.[ch]
21185                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21186                 - (nm_device_ap_list_get) New: return the AP list (static function)
21187                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21188                         new one resulting from the scan with the old one
21189
21190         * src/NetworkManagerWireless.c
21191                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21192
21193         * test/nminfotest.c
21194                 - #define object paths and namespaces and use the #defines rather than static strings
21195                 - Test out user-key functionality of NetworkManagerInfo too
21196
21197 2004-07-29  Dan Williams <dcbw@redhat.com>
21198
21199         * info-daemon/NetworkManagerInfoDbus.c
21200           src/NetworkManagerDbus.c
21201                 - Update to current DBus (ie don't use decomposed paths when registering
21202                         object paths/fallbacks)
21203
21204 2004-07-27  Dan Williams <dcbw@redhat.com>
21205
21206         * Remove various Makefile.in files
21207
21208         * TODO
21209                 - Add some more items
21210
21211         * configure.in
21212                 - Add checks for OpenSSL/md5 headers and libs
21213
21214         * src/Makefile.am
21215                 - Use OpenSSL CFLAGS
21216
21217         * src/NetworkManagerAP.[ch]
21218                 - Remove 'stamp' functions, replace with 'invalid' functions
21219                         to support user cancelling WEP key entry
21220
21221         * src/NetworkManagerDbus.c
21222                 - Remove 'stamp' return functions
21223                 - Treat returned user key as a passphrase and convert to a WEP key,
21224                         but don't actually use the WEP key yet.  We use the returned user
21225                         key as a hexadecimal WEP key until we can figure out a UI for
21226                         passphrase-vs-hex key
21227
21228         * src/NetworkManagerWireless.[ch]
21229                 - Add passphrase-to-128bit-key function
21230
21231 2004-07-27  Dan Williams <dcbw@redhat.com>
21232
21233         * TODO
21234                 - Add a couple of items
21235
21236 2004-07-27  Dan Williams <dcbw@redhat.com>
21237
21238         * info-daemon/NetworkManagerInfo.c
21239                 - Update allowed network's GConf key when user enters a WEP key explicitly
21240
21241         * info-daemon/NetworkManagerDbus.c
21242                 - Fix some comments
21243                 - nmi_dbus_get_allowed_networks(): kill warning
21244
21245 2004-07-27  Dan Williams <dcbw@redhat.com>
21246
21247         * initscript/Makefile.in
21248                 - Remove
21249
21250         * initscript/Makefile.am
21251                 - Add correct rules to install the init.d initscript
21252
21253         * info-daemon/NetworkManagerInfoDbus.c
21254                 - Remove debug fprintf
21255
21256         * src/NetworkManagerDbus.[ch]
21257                 - Remove debug fprintfs
21258                 - Add macros for NetworkManagerInfo object path/namespace
21259                 - Use said macros instead of constant strings
21260
21261 2004-07-27  Dan Williams <dcbw@redhat.com>
21262
21263         * initscript/.cvsignore
21264                 - Add
21265
21266         * info-daemon/Makefile.am
21267                 - Install .glade files and keyring.png
21268                 - Fix stupid omission of a \ that caused half the flags not to be
21269                         passed to gcc
21270
21271         * info-daemon/NetworkManagerInfo.c
21272                 - gtk_signal_connect->g_signal_connect
21273                 - Alert NetworkManagerInfo to new glade file location
21274
21275 2004-07-27  Dan Williams <dcbw@redhat.com>
21276
21277         * test/nmclienttest.c
21278           test/nminfotest.c
21279                 - Add missing <dbus/dbus.h> headers
21280                 - Add GPL message at top
21281
21282 2004-07-27  Dan Williams <dcbw@redhat.com>
21283
21284         * src/NetworkManagerAPList.[ch]
21285           src/Makefile.am
21286                 - Add.  Deal with allowed network list additions, deletions, and updates
21287
21288         * dispatcher-daemon/NetworkManagerDispatcher.c
21289                 - Add missing <dbus/dbus.h> header
21290
21291         * info-daemon/NetworkManagerInfo.[ch]
21292                 - Add missing <dbus/dbus.h> header
21293                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21294                         network change
21295                 - Better error checking
21296
21297         * info-daemon/NetworkManagerInfoDbus.[ch]
21298                 - Add missing <dbus/dbus.h> header
21299                 - Convert to using dbus_message_append_args/dbus_message_get_args
21300                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21301                         that an allowed network changed.  We don't want to signal on individual
21302                         keys _inside_ an allowed network really, just want NM to query the info
21303                         daemon for updated info on all keys.
21304                 - Better error checking
21305
21306         * src/NetworkManager.[ch]
21307                 - Add missing <dbus/dbus.h> header
21308                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21309                 - Zero out NMData structure on free
21310                 - No longer use a thread for allowed_ap_list updating, instead its now done
21311                         through dbus queries against NetworkManagerInfo
21312                 - Populate allowed_ap_list initially before adding existing network devices
21313                         to the device list, so wireless devices can get their "best" AP
21314
21315         * src/NetworkManagerDbus.[ch]
21316                 - Convert to using dbus_message_append_args/dbus_message_get_args
21317                 - Better error checking
21318                 - Implement Allowed Network info functions to request allowed network
21319                         info from NetworkManagerInfo
21320                 - Implement the filter function to process signals from NetworkManagerInfo
21321                         about changing allowed networks
21322
21323         * src/NetworkManagerDevice.c
21324                 - Fix file descriptor leak in nm_device_update_ip4_address()
21325
21326 2004-07-27  Dan Williams <dcbw@redhat.com>
21327
21328         * .cvsignore
21329           src/.cvsignore
21330           test/.cvsignore
21331           dispatcher-daemon/.cvsignore
21332           info-daemon/.cvsignore
21333                 - Add .cvsignore files to reduce noise when diffing
21334
21335 2004-07-24  Dan Williams <dcbw@redhat.com>
21336
21337         * src/NetworkManager.[ch]
21338           src/NetworkManagerDbus.[ch]
21339           src/NetworkManagerDevice.[ch]
21340           src/NetworkManagerPolicy.c
21341           src/NetworkManagerWireless.[ch]
21342                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21343                 - Pass the NMData application data structure through all calls
21344                         that need it so we can get rid of nm_get_global_data()
21345                 - Change deallocation of the allowed_ap_list GSList in preparation
21346                         for not completely clearing it every time we get an update,
21347                         but instead getting incremental updates via GConf/dbus
21348
21349 2004-07-22  Dan Williams <dcbw@redhat.com>
21350
21351         * configure.in
21352                 - Add checks for GConf libs & headers & flags
21353
21354         * info-daemon/Makefile.am
21355                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21356
21357         * info-daemon/NetworkManagerInfo.[ch]
21358                 - Don't use gquarks for data storage, just use normal data storage
21359                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21360
21361         * info-daemon/NetworkManagerDbus.[ch]
21362                 - Add method call for getting allowed networks
21363                 - Add method calls for getting an allowed network's essid, priority, and key
21364                 - Hook the method calls up to GConf
21365                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21366                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21367                 
21368         * src/NetworkManagerDbus.[ch]
21369                 - Switch for enumeration of networks to using essid instead
21370
21371         * test/Makefile.am
21372           test/nminfotest.c
21373                 - Add test program for NetworkManagerInfo
21374
21375 2004-07-19  Dan Williams <dcbw@redhat.com>
21376
21377         * src/NetworkManagerDbus.c
21378                 - Switch from indexed device paths to names.  Less code, more efficient.
21379                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21380
21381 2004-07-19  Dan Williams <dcbw@redhat.com>
21382
21383         * dispatcher-daemon/NetworkManagerDispatcher.c
21384                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21385
21386 2004-07-19  Dan Williams <dcbw@redhat.com>
21387
21388         * Makefile.am
21389                 - Add info-daemon directory
21390
21391         * configure.in
21392                 - Check for glade libs and headers
21393                 - Add info-daemon directory
21394
21395         * src/NetworkManagerAP.c
21396                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21397                         copied over to the new AP.
21398
21399         * src/NetworkManagerDbus.c
21400           src/NetworkManagerDbus.h
21401                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21402                 - Remove nm_dbus_signal_need_key_for_network()
21403                 - Add disabled code for asynchronous user wep key callbacks
21404                 - Add functions for getting, setting, and cancelling user key operations
21405                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21406                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21407
21408         * src/NetworkManagerDevice.c
21409           src/NetworkManagerDevice.h
21410                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21411                         logic is in device activation now
21412                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21413                         key is wrong) trigger get-user-key pending action
21414                 - Implement get-user-key pending action stuff, tie to dbus messages
21415                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21416                 - Add nm_device_ap_list_get_ap_by_essid()
21417                 - Instead of copying "best" access points, ref them instead so that the key we set
21418                         sticks around
21419
21420         * src/NetworkManagerPolicy.c
21421                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21422                 - Don't cancel pending actions on a device if its the same device as last iteration
21423                 - Only promote pending_device->active_device if activation was successfull
21424
21425         * src/Makefile.am
21426                 - Rename nmclienttest->nmtest
21427
21428         * info-daemon/Makefile.am
21429           info-daemon/NetworkManagerInfo.c
21430           info-daemon/NetworkManagerInfo.h
21431           info-daemon/NetworkManagerInfoDbus.c
21432           info-daemon/NetworkManagerInfoDbus.h
21433           info-daemon/passphrase.glade
21434           info-daemon/NetworkManagerInfo.conf
21435           info-daemon/keyring.png
21436                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21437                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21438                         lists to NetworkManager by proxying user's GConf
21439           
21440
21441 2004-07-15  Dan Williams <dcbw@redhat.com>
21442
21443         * src/Makefile.am
21444                 - Turn on warnings
21445
21446         * src/NetworkManager.c
21447                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21448                         that doing the deactivation ourselves
21449                 - Cancel an pending actions on a device if its being removed
21450                 - Break up link state checking a bit, make non-active wireless cards
21451                         deactivated to save power
21452                 - Remove unused variables
21453
21454         * src/NetworkManager.h
21455                 - Add support for "pending" device
21456
21457         * src/NetworkManagerAP.h
21458           src/NetworkManagerAP.c
21459                 - Add support for determining whether and AP has encryption enabled or not
21460                 - AP address is now "struct ether_addr" rather than a string
21461
21462         * src/NetworkManagerDbus.h
21463           src/NetworkManagerDbus.c
21464                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21465                 - Changes for AP address from struct ether_addr->string
21466
21467         * src/NetworkManagerDevice.h
21468           src/NetworkManagerDevice.c
21469                 - Remove unused variables, fix warnings
21470                 - Add support for Pending Actions (things that block a device from being "active"
21471                         until they are completed).
21472                 - First pending action:  Get a WEP key from the user
21473                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21474                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21475                 - Update wireless link checking to try to determine if the AP we are associated
21476                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21477                         trigger the GetUserKey pending action on the device
21478                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21479                         up in that case, otherwise we can't scan or link-check on it
21480                 - Add IP address change notifications at appropriate points (still needs some work)
21481                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21482
21483         * src/NetworkManagerPolicy.h
21484           src/NetworkManagerPolicy.c
21485                 - Split out "best" access point determiniation into separate function
21486                 - Make device activation 2-stage:  first the device is pending, then
21487                         in the next iteration through it becomes "active" unless it has
21488                         pending actions
21489
21490         * src/NetworkManagerUtils.h
21491           src/NetworkManagerUtils.c
21492                 - Clean up unused variables and warnings
21493                 - Wrap our debug macros in {} to prevent possible confusion
21494
21495         * src/NetworkManagerWireless.c
21496                 - Forgot to return current best priority, which lead to last available AP always
21497                         being chosen no matter what its priority was.  Corrected.
21498
21499 2004-07-15  Dan Williams <dcbw@redhat.com>
21500
21501         * dispatcher-daemon/Makefile.am
21502                 - Turn on warnings
21503
21504         * dispatcher-daemon/NetworkManagerDispatcher.c
21505                 - Remove unused variables due to warnings
21506                 - Fix some comments
21507                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21508
21509 2004-07-06  Dan Williams <dcbw@redhat.com>
21510
21511         * src/NetworkManager.c
21512                 - Add IPv4 address update for active device during link state check
21513                 - Don't allow wireless cards to be powered up when they are not the
21514                         active device
21515
21516         * src/NetworkManagerDbus.c
21517           src/NetworkManagerDbus.h
21518                 - Add DBUS IPv4 address change signal
21519                 - Add DBUS IPv4 address get method for devices
21520
21521         * src/NetworkManagerDevice.c
21522                 - Make setting the WEP key actually work
21523                 - Move IP address get/set/update stuff here, per-device
21524                 - Power down/bring down wireless device when deactivated
21525                 - For scanning wireless devices, if first scan returned ENODATA, try again
21526
21527         * src/NetworkManagerPolicy.c
21528                 - Only set the WEP key for an allowed access point if there is one.
21529                         We were setting it to be blank if one wasn't specified.
21530
21531         * src/NetworkManagerUtils.h
21532           src/NetworkManagerUtils.c
21533                 - Move the IP address stuff to NetworkManagerDevice.c
21534
21535         * dispatcher-daemon/NetworkManagerDispatcher.c
21536                 - Add device IPv4 address change notification stuff
21537
21538 2004-07-05  Dan Williams <dcbw@redhat.com>
21539
21540         * dispatcher-daemon/NetworkManagerDispatcher.c
21541                 - A bit more descriptive state message
21542                 - Don't segfault when reading directory
21543
21544         * src/NetworkManager.h
21545                 - Remove NMData desired_ap member, its now
21546                         per-device rather than global
21547
21548         * src/NetworkManager.c
21549                 - Remove references to desired_ap
21550                 - Move the allowed AP list refresh stuff into a thread
21551
21552         * src/NetworkManagerDevice.c
21553           src/NetworkManagerDevice.h
21554                 - Each wireless device now has a "best ap"
21555                 - Make device activate/deactivate functions per-device
21556                 - Make wireless scanning per-device
21557                 - Add IPv4 address discover functions, stub IPv6 ones
21558                 - Move ethernet address validation functions to NetworkManagerUtils.c
21559                 - Add wireless access point accessor function
21560                 - Get/Set functions for "best ap"
21561
21562         * src/NetworkManagerPolicy.c
21563                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21564                 - Deal with per-device "best ap" rather than data->desired_apa
21565                 - Implement allowed access point worker thread
21566                 - Add nm_policy_essid_is_allowed() function
21567
21568         * src/NetworkManagerUtils.c
21569           src/NetworkManagerUtils.h
21570                 - Add nm_ethernet_address_is_valid() function
21571                 - Add IPv4/IPv6 address get functions
21572
21573         * src/NetworkManagerWireless.c
21574           src/NetworkManagerWireless.h
21575                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21576
21577 2004-06-29  Dan Williams <dcbw@redhat.com>
21578
21579         * dispatcher-daemon/NetworkManagerDispatcher.c
21580                 - Implement script callout functionality
21581
21582 2004-06-24  Dan Williams <dcbw@redhat.com>
21583
21584         * NetworkManager.c
21585             - Spacing cleanups
21586             - Flush device routes and ip addresses when added to the device list
21587
21588         * NetworkManagerDbus.c
21589             - Spacing cleanups
21590             - Add missing returns in the two signal functions
21591         
21592         * NetworkManagerPolicy.c
21593             - Spacing and variable cleanups
21594
21595 2004-06-24  Dan Williams <dcbw@redhat.com>
21596
21597         * Makefile.am
21598           Makefile.in
21599           configure.in
21600           dispatcher-daemon/Makefile.am
21601           dispatcher-daemon/Makefile.in
21602           dispatcher-daemon/NetworkManagerDispatcher.c
21603             - Add a daemon that receives signals from NetworkManager
21604                         and will (eventually) call scripts in /etc/somewhere
21605                         when devices go up or down.
21606         
21607         * NetworkManager.c
21608             - Spacing cleanups
21609             - Flush device routes and ip addresses when added to the device list
21610
21611         * NetworkManagerDbus.c
21612             - Spacing cleanups
21613             - Add missing returns in the two signal functions
21614         
21615         * NetworkManagerPolicy.c
21616             - Spacing and variable cleanups
21617             - Rename nm_policy_switch_interface->nm_policy_switch_device
21618             - nm_policy_switch_device():
21619                                 Use kill (pid) instead of system ("kill <pid>")
21620             - nm_state_modification_monitor():
21621                                 Add wireless essid to output of debug statements
21622                                 Correct typo in device compare to switch or not (should be !=)
21623                                 Don't sleep after sending "no longer active" signal, was useless
21624
21625 2004-06-24  Dan Williams <dcbw@redhat.com>
21626
21627         * Initial import