2008-10-27 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-27  Dan Williams  <dcbw@redhat.com>
2
3         Patch from Tambet Ingo <tambet@gmail.com>
4
5         * libnm-util/nm-setting.h
6           libnm-util/nm-setting.c
7                 - Make properties private and add accessor functions
8
9         * libnm-util/nm-connection.c
10           libnm-util/nm-setting-8021x.c
11           libnm-util/nm-setting-cdma.c
12           libnm-util/nm-setting-connection.c
13           libnm-util/nm-setting-gsm.c
14           libnm-util/nm-setting-ip4-config.c
15           libnm-util/nm-setting-ip6-config.c
16           libnm-util/nm-setting-ppp.c
17           libnm-util/nm-setting-pppoe.c
18           libnm-util/nm-setting-serial.c
19           libnm-util/nm-setting-template.c
20           libnm-util/nm-setting-vpn.c
21           libnm-util/nm-setting-wired.c
22           libnm-util/nm-setting-wireless-security.c
23           libnm-util/nm-setting-wireless.c
24           system-settings/plugins/keyfile/reader.c
25           system-settings/plugins/keyfile/writer.c
26                 - Use setting accessors
27
28 2008-10-27  Dan Williams  <dcbw@redhat.com>
29
30         * libnm-util/libnm-util.ver
31           libnm-util/nm-setting-connection.c
32           libnm-util/nm-setting-connection.h
33                 - Add a 'read-only' property that indicates the connection cannot be
34                         modified
35
36         * system-settings/plugins/ifcfg-fedora/reader.c
37           system-settings/plugins/ifcfg-suse/parser.c
38           system-settings/plugins/ifupdown/parser.c
39                 - These plugins are read-only at the moment
40
41         * system-settings/plugins/keyfile/reader.c
42           system-settings/plugins/keyfile/writer.c
43                 - Read-only shouldn't get saved out to files or read in from them
44
45 2008-10-27  Tambet Ingo  <tambet@gmail.com>
46
47         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
48         correct speed reporting for fast devices (kernel >= 2.6.27).
49
50 2008-10-26  Dan Williams  <dcbw@redhat.com>
51
52         Attempt to compensate for modems that don't enable full AT parsing before
53         the PIN has been entered.
54
55         * src/nm-gsm-device.c
56                 - (init_modem): accept different init strings
57                 - (init_done): try different init strings on failure
58                 - (check_pin_done): on PIN success, do full modem init
59
60 2008-10-26  Dan Williams  <dcbw@redhat.com>
61
62         Patch from Tambet Ingo <tambet@gmail.com>
63
64         * libnm-util/libnm-util.ver
65           libnm-util/nm-setting-connection.c
66           libnm-util/nm-setting-connection.h
67                 - Make properties private and add accessor functions
68
69         * src/NetworkManagerPolicy.c
70           src/nm-cdma-device.c
71           src/nm-device-ethernet.c
72           src/nm-device-interface.c
73           src/nm-device-wifi.c
74           src/nm-gsm-device.c
75           src/nm-manager.c
76           src/ppp-manager/nm-ppp-manager.c
77           src/vpn-manager/nm-vpn-connection.c
78           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
79           system-settings/plugins/ifcfg-fedora/plugin.c
80           system-settings/plugins/ifcfg-fedora/reader.c
81           system-settings/plugins/ifcfg-suse/parser.c
82           system-settings/plugins/ifupdown/parser.c
83           system-settings/plugins/keyfile/nm-keyfile-connection.c
84           system-settings/plugins/keyfile/plugin.c
85           system-settings/plugins/keyfile/writer.c
86           system-settings/src/main.c
87                 - Use those accessors
88
89 2008-10-26  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-gsm.c
95           libnm-util/nm-setting-gsm.h
96                 - Make properties private and add accessor functions
97
98         * src/nm-gsm-device.c
99           src/nm-hso-gsm-device.c
100           src/ppp-manager/nm-ppp-manager.c
101                 - Use those accessors
102
103 2008-10-26  Dan Williams  <dcbw@redhat.com>
104
105         Patch from Tambet Ingo <tambet@gmail.com>
106
107         * libnm-util/libnm-util.ver
108           libnm-util/nm-setting-cdma.c
109           libnm-util/nm-setting-cdma.h
110                 - Make properties private and add accessor functions
111
112         * src/nm-cdma-device.c
113           src/ppp-manager/nm-ppp-manager.c
114                 - Use those accessors
115
116 2008-10-26  Dan Williams  <dcbw@redhat.com>
117
118         Patch from Tambet Ingo <tambet@gmail.com>
119
120         * libnm-util/libnm-util.ver
121           libnm-util/nm-setting-pppoe.c
122           libnm-util/nm-setting-pppoe.h
123                 - Make properties private and add accessor functions
124
125         * src/nm-device-ethernet.c
126           src/ppp-manager/nm-ppp-manager.c
127                 - Use those accessors
128
129 2008-10-26  Dan Williams  <dcbw@redhat.com>
130
131         Patch from Tambet Ingo <tambet@gmail.com>
132
133         * libnm-util/libnm-util.ver
134           libnm-util/nm-setting-wired.c
135           libnm-util/nm-setting-wired.h
136                 - Make properties private and add accessor functions
137
138         * src/nm-device-ethernet.c
139           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
140           system-settings/plugins/ifcfg-suse/parser.c
141           system-settings/src/main.c
142                 - Use those accessors
143
144 2008-10-26  Dan Williams  <dcbw@redhat.com>
145
146         Patch from Tambet Ingo <tambet@gmail.com>
147
148         * libnm-util/libnm-util.ver
149           libnm-util/nm-setting-serial.c
150           libnm-util/nm-setting-serial.h
151           src/nm-serial-device.c
152                 - Make properties private and use accessors instead
153
154 2008-10-26  Dan Williams  <dcbw@redhat.com>
155
156         * src/supplicant-manager/nm-supplicant-interface.c
157           src/supplicant-manager/nm-supplicant-interface.h
158           src/supplicant-manager/nm-supplicant-manager.c
159           src/supplicant-manager/nm-supplicant-manager.h
160                 - Add state-to-string conversion functions
161
162         * src/nm-device-wifi.c
163           src/nm-device-ethernet.c
164                 - Normalize state info logging and use strings instead of numbers
165
166 2008-10-26  Dan Williams  <dcbw@redhat.com>
167
168         * src/NetworkManagerPolicy.c
169                 - (update_routing_and_dns): ignore host routes when determining whether
170                         a VPN connection should own the default route (bgo #552594)
171
172 2008-10-24  Dan Williams  <dcbw@redhat.com>
173
174         * src/nm-gsm-device.c
175                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
176
177 2008-10-23  Dan Williams  <dcbw@redhat.com>
178
179         * src/ppp-manager/nm-ppp-manager.c
180                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
181                         add really important stuff to the command line to ensure that NM
182                         overrides /etc/ppp/options (bgo #556781)
183
184 2008-10-22  Dan Williams  <dcbw@redhat.com>
185
186         * src/NetworkManagerSystem.c
187           src/nm-device.c
188                 - Use the device's IP interface where appropriate (Per Hallsmark)
189
190 2008-10-22  Dan Williams  <dcbw@redhat.com>
191
192         * src/nm-gsm-device.c
193                 - (schedule_automatic_registration_again): use a short timeout here
194                         instead of an idle handler to avoid using too much CPU polling for
195                         something we should be waiting a bit for anyway
196
197 2008-10-22  Dan Williams  <dcbw@redhat.com>
198
199         * include/NetworkManager.h
200           introspection/nm-device.xml
201                 - Add device state change reason for carrier changes
202
203         * src/nm-device-ethernet.c
204                 - (set_carrier): use the carrier change reason when changing device
205                         state in response to carrier changes
206
207 2008-10-21  Dan Williams  <dcbw@redhat.com>
208
209         * src/NetworkManagerPolicy.c
210                 - (update_etc_hosts): don't leak errors, and ensure that
211                         g_file_set_contents() gets a valid error placeholder (rh #461933)
212
213 2008-10-21  Dan Williams  <dcbw@redhat.com>
214
215         * src/nm-manager.c
216                 - (free_get_settings_info): don't use the DBusGProxy which could be
217                         disposed of by the time the function is called
218                 - (internal_new_connection_cb): save connection scope
219                 - (connection_get_settings_cb): don't replace a connection unless it's
220                         actually different from the existing one; fixes an issue where
221                         killing the settings service wouldn't deactivate an active connection
222                         provided by that settings service, because it was using a connection
223                         that had already been replaced in the system or user hash
224
225 2008-10-21  Dan Williams  <dcbw@redhat.com>
226
227         * src/NetworkManager.c
228                 - (main): keep the DHCP manager around since it's a singleton; fixes
229                         a use-after-free exposed by r4196 since the DHCP manager singleton
230                         variable isn't cleared when the DHCP manager object is finalized
231
232 2008-10-20  Dan Williams  <dcbw@redhat.com>
233
234         * libnm-util/nm-setting-wireless-security.c
235                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
236
237 2008-10-20  Dan Williams  <dcbw@redhat.com>
238
239         * src/supplicant-manager/nm-supplicant-config.c
240                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
241
242 2008-10-20  Dan Williams  <dcbw@redhat.com>
243
244         * src/dhcp-manager/nm-dhcp-manager.c
245                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
246                         manager object already refs it once
247                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
248                         also get cleaned up by nm_dhcp_device_destroy() to prevent
249                         double-frees
250
251 2008-10-20  Dan Williams  <dcbw@redhat.com>
252
253         * src/nm-manager.c
254                 - (initial_get_connections): use private dbus manager, don't keep
255                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
256                         manager object.
257
258 2008-10-18  Dan Williams  <dcbw@redhat.com>
259
260         * libnm-glib/nm-settings.c
261           libnm-glib/nm-settings.h
262                 - Rename the "get_secrets" virtual function "service_get_secrets" to
263                         clarify when it's used; NMExportedConnetion is a base-class for both
264                         the client and service side, which is sort of confusing, and
265                         get_secrets only makes sense on the service side.
266
267         * libnm-glib/nm-dbus-connection.c
268                 - (get_secrets): remove, unused, and clients need to do extra work to
269                         get secrets anyway since the call can block on the remote side
270
271         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
272           system-settings/plugins/keyfile/nm-keyfile-connection.c
273                 - Fix up for get_secrets -> service_get_secrets
274
275 2008-10-16  Dan Williams  <dcbw@redhat.com>
276
277         * src/nm-device-wifi.c
278                 - (constructor): correctly determine encryption capabilities
279
280 2008-10-15  Dan Williams  <dcbw@redhat.com>
281
282         * src/nm-device-wifi.c
283                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
284                         (Johannes Berg)
285
286 2008-10-15  Dan Williams  <dcbw@redhat.com>
287
288         * src/NetworkManagerSystem.c
289                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
290                         if the ip4_dest is in a smaller subnet contained within a subnet
291                         the machine is currently on, the destination is in the same subnet
292                 - (nm_system_device_set_ip4_route): move subnet checks to callers
293                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
294                         subnet as the parent device, and if so, don't add the direct
295                         host route via the parent device's gateway (bgo #481620)
296                 - (nm_system_apply_ip4_config): check whether the route to be added
297                         is contained within a subnet the device is already on
298
299 2008-10-11  Dan Williams  <dcbw@redhat.com>
300
301         * include/NetworkManager.h
302           introspection/nm-device.xml
303           include/NetworkManagerVPN.h
304                 - Add a few more state reasons for the device deactivated state
305
306         * src/nm-device-interface.c
307           src/nm-device-interface.h
308                 - (nm_device_interface_deactivate): add a 'reason' argument
309
310         * src/nm-device.c
311           src/nm-device.h
312                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
313                 - (nm_device_state_changed): pass the state change reason to
314                         nm_device_take_down()
315                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
316                         to the state change function
317
318         * src/nm-manager.c
319           src/nm-manager.h
320                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
321                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
322                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
323                         something reasonable along to VPN deactivation
324
325         * src/vpn-manager/nm-vpn-manager.c
326           src/vpn-manager/nm-vpn-manager.h
327                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
328                         pass that along to nm_vpn_connection_disconnect()
329
330 2008-10-11  Dan Williams  <dcbw@redhat.com>
331
332         * src/nm-device-wifi.c
333                 - (can_scan): remove old madwifi hack for not scanning while connected
334
335 2008-10-11  Dan Williams  <dcbw@redhat.com>
336
337         Add support for VPN subnet gateways (bgo #549196)
338
339         * include/NetworkManager.h
340                 - Add key for internal VPN subnet gateway
341
342         * src/vpn-manager/nm-vpn-connection.c
343                 - (ip_address_to_string): return a const from a static buffer so we
344                         don't leak a lot of strings
345                 - (print_vpn_config): print internal VPN gateway as well
346                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
347                         VPN service too
348                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
349
350         * src/NetworkManagerSystem.c
351           src/NetworkManagerSystem.h
352                 - (nm_system_device_replace_default_ip4_route): split into two, one for
353                         VPN connections and one for normal devices
354                 - (replace_default_ip4_route): break out route stuff into its own function
355                 - (nm_system_replace_default_ip4_route_vpn,
356                    nm_system_replace_default_ip4_route): simplify by having two cases,
357                         one for VPNs and one for normal devices
358
359         * src/NetworkManagerPolicy.c
360                 - (update_routing_and_dns): simplify, use split default route replacement
361                         functions
362
363 2008-10-10  Dan Williams  <dcbw@redhat.com>
364
365         Rework default route handling to consolidate decisions in the policy,
366         and to take active VPN connections into account when changing the default
367         route (bgo #545912)
368
369         * src/NetworkManager.c
370                 - (main): pass the vpn_manager to the policy so it knows about active
371                         VPN connections; clean up the named manager which wasn't done before
372
373         * src/NetworkManagerPolicy.c
374           src/NetworkManagerPolicy.h
375                 - (nm_policy_new): get a clue about the vpn_manager
376                 - (update_default_route): remove, fold into update_routing_and_dns()
377                 - (update_routing_and_dns): handle active VPN connections too; an
378                         active VPN connection becomes the default route if it does not have
379                         server-specified or user-specified custom routes.  Otherwise, the
380                         best active device gets the default route
381                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
382                    nm_policy_destroy): track VPN connection activation and deactivation
383                         and update the default route when appropriate
384
385         * src/NetworkManagerSystem.c
386           src/NetworkManagerSystem.h
387                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
388                         in the VPN connection itself
389                 - (nm_system_vpn_device_set_from_ip4_config,
390                    nm_system_device_set_from_ip4_config): merge together to make
391                         nm_system_apply_ip4_config()
392                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
393                         via the parent device
394                 - (nm_system_apply_ip4_config): simplify
395                 - (add_ip4_route_to_gateway): new function; add a direct route to the
396                         gateway if needed
397                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
398                         route stuff out into add_ip4_route_to_gateway() for clarity
399
400         * src/nm-device.c
401                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
402
403         * src/vpn-manager/nm-vpn-connection.c
404           src/vpn-manager/nm-vpn-connection.h
405                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
406                    nm_vpn_connection_get_parent_device): add
407                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
408                         device explicit
409                 - (connection_state_changed): update the named manager now that
410                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
411                         useful on errors
412
413         * src/vpn-manager/nm-vpn-manager.c
414           src/vpn-manager/nm-vpn-manager.h
415                 - Add a 'connection-activated' signal
416                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
417                         policy to find out about active VPN connections
418
419 2008-10-10  Tambet Ingo  <tambet@gmail.com>
420
421         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
422         a daemon to prevent NM logging spew on console on startup and shutdown (due
423         to dependency loop between NM and syslog).
424
425 2008-10-10  Alexander Sack  <asac@ubuntu.com>
426
427         Implement managed mode. We bind devices configured in /etc/network/interfaces
428         to their connections by updating wired/wireless setting with the
429         mac address of the device.
430
431         * system-settings/plugins/ifupdown/plugin.c
432                 - (get_net_address_for_udi): implement function to retrieve MAC
433                         address of udi from hal in GByteArray format
434                 - (bind_device_to_connection): bind mac address of device to
435                         wired/wireless system connection
436                 - (hal_device_added_cb): call bind_device_to_connection for
437                         system connections with a matching interface.name
438                 - (hal_device_added_cb): ensure that all code paths
439                         properly free the "iface" string.
440
441 2008-10-10  Alexander Sack  <asac@ubuntu.com>
442
443         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
444         mode of the ifupdown system config plugin.
445
446         * system-settings/plugins/ifupdown/plugin.c
447                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
448                         private unmanage_well_known state field accordingly
449
450 2008-10-10  Alexander Sack  <asac@ubuntu.com>
451
452         Implement unmanaged mode that will prevent all devices in the
453         well_known_udis set from being touched by NetworkManager
454
455         * system-settings/plugins/ifupdown/plugin.c
456                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
457                         unmanage_well_known field used to turn on/off unmanaged
458                         mode
459                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
460                         signal when well_known_udis get added/removed
461                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
462                         if we are in unmanaged mode
463
464 2008-10-10  Alexander Sack  <asac@ubuntu.com>
465
466         Add support to track network devices that have a configuration
467         with a matching interface.name in /etc/network/interfaces
468
469         * system-settings/plugins/ifupdown/plugin.c
470                 - (typedef struct SCPluginIfupdownPrivate): add hash table
471                         to track |well_known_udis|
472                 - (get_iface_for_udi): helper function to get interface.name
473                         for a udi
474                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
475                         that add and remove devices to and from the well_known_udis
476                         set depending on whether their |interface.name| matches
477                         any interface definition in /etc/network/interfaces
478                 - (SCPluginIfupdown_init): connect callbacks from above with
479                         hal_mgr and setup well_known_udis hashtable
480                 - (GObject__dispose): destroy well_known_udis hashtable
481                 - (hal_device_added_cb2): implement wrapper callback with GFunc
482                         signature. user_data is supposed to be a triple (hal_mgr,
483                         config and devtype)
484                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
485                         startup and call hal_device_added_cb2
486
487 2008-10-10  Alexander Sack  <asac@ubuntu.com>
488
489         Remove implementation for not used NMSystemConfigInterface callback functions
490         in ifupdown plugin
491
492         * system-settings/plugins/ifupdown/plugin.c
493                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
494                 - (SCPluginIfupdown_connection_added): removed
495
496 2008-10-08  Dan Williams  <dcbw@redhat.com>
497
498         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
499
500         * src/NetworkManagerUtils.c
501                 - (nm_utils_call_dispatcher): add a 'hostname' action
502
503         * src/NetworkManagerPolicy.c
504                 - (set_system_hostname): dispatch hostname changes
505
506         * callouts/nm-dispatcher-action.c
507                 - (nm_dispatcher_action): handle 'hostname' actions
508
509 2008-10-08  Dan Williams  <dcbw@redhat.com>
510
511         * src/NetworkManagerSystem.c
512                 - (find_route): ref the route so it doesn't get destroyed when the cache
513                         is cleared
514                 - (nm_system_device_set_priority): unref the route here after it's done
515                         being used
516
517 2008-10-08  Dan Williams  <dcbw@redhat.com>
518
519         * src/nm-serial-device.c
520                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
521
522 2008-10-08  Tambet Ingo  <tambet@gmail.com>
523
524         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
525         connection with new settings before saving it.
526
527 2008-10-06  Dan Williams  <dcbw@redhat.com>
528
529         * src/nm-ip4-config.c
530           src/nm-ip4-config.h
531                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
532
533         * src/nm-device-interface.c
534                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
535                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
536                         by using '/' for the object path
537
538         * src/nm-device.c
539                 - (src/nm-device.c): marshal missing/unexported ip4-config through
540                         dbus as '/' since dbus-glib can't handle NULL objects nor can
541                         dbus handle NULL object paths
542
543 2008-10-03  Alexander Sack  <asac@ubuntu.com>
544
545         Implement system hostname support for debian/ubuntu
546
547         * system-settings/plugins/ifupdown/plugin.c
548                 - (GObject__get_property): extend announced capabilities; add
549                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
550                 - (GObject__set_property,write_system_hostname): implement
551                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
552                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
553                    update_system_hostname, get_hostname):
554                         implement hostname property that watches and
555                         parses /etc/hostname
556
557 2008-10-03  Alexander Sack  <asac@ubuntu.com>
558
559         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
560           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
561           system-settings/plugins/ifcfg-fedora/Makefile.am
562           system-settings/src/nm-inotify-helper.c
563           system-settings/src/nm-inotify-helper.h
564           src/Makefile.am
565                 - Move ifcfg-fedora inotify helpers to the system settings service so
566                         they are available to all plugins
567
568 2008-10-03  Alexander Sack  <asac@ubuntu.com>
569
570         Implement support for wep-tx-keyidx in ifupdown system
571         config plugin.
572
573         * system-settings/plugins/ifupdown/parser.c
574                 - (update_wireless_security_setting_from_if_block): introduce
575                         free_type_mapping func table; rename a few local
576                         variables to improve readability; add wpa security mapping
577                         for wep-tx-keyidx property
578                 - (string_to_gpointerint): new function used for the auto_type_mapping
579                         of new wep-tx-keyidx property
580                 - (slist_free_all): free func used for mapped slist types
581
582 2008-10-03  Alexander Sack  <asac@ubuntu.com>
583
584         * system-settings/src/main.c:
585                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
586                         always used as the hash key; fixes a crash when removing wired
587                         devices
588
589 2008-10-02  Dan Williams  <dcbw@redhat.com>
590
591         * src/nm-gsm-device.c
592                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
593                         pass the required GSM secret along via user_data rather than keeping
594                         it around in the private data where it sometimes didn't get cleared
595                 - (real_get_ppp_name): implement using the GSM username
596
597 2008-10-02  Dan Williams  <dcbw@redhat.com>
598
599         * src/ppp-manager/nm-ppp-manager.c
600           src/ppp-manager/nm-ppp-manager.h
601                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
602                         the settings daemon for completely new ones
603                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
604                         local PPP peer name; allow PPP debuging by launching NM with
605                         the environment variable NM_PPP_DEBUG defined
606                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
607                         create_pppd_cmd_line()
608
609         * src/nm-serial-device.c
610           src/nm-serial-device.h
611                 - New 'get_ppp_name' function for subclasses to implement to return the
612                         local PPP peer name
613                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
614                         and pass that name to the PPP manager
615
616         * src/nm-device-ethernet.c
617                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
618                         the local peer name
619
620         * src/nm-cdma-device.c
621                 - (real_get_ppp_name): implement using the CDMA username
622
623 2008-10-02  Dan Williams  <dcbw@redhat.com>
624
625         Patch from Alexander Sack <asac ubuntu com>
626
627         * system-settings/plugins/ifupdown/parser.c
628                 - Implement more graceful ip4 config parsing for cases where
629                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
630                   by using default values
631
632 2008-10-02  Dan Williams  <dcbw@redhat.com>
633
634         * src/NetworkManagerPolicy.c
635                 - (device_state_changed): when marking a connection invalid, clear its
636                         secrets too so that fresh secrets get requested the next time
637
638 2008-10-01  Dan Williams  <dcbw@redhat.com>
639
640         * system-settings/src/dbus-settings.c
641                 - (nm_sysconfig_settings_init): cache system hostname on startup as
642                         a fallback if no plugin provides a hostname
643                 - (get_property): fall back to cached hostname if no plugin provides
644                         a hostname
645
646 2008-10-01  Dan Williams  <dcbw@redhat.com>
647
648         Fix setting value comparison issue that caused some settings to look the
649         same when they were really different (rh #464417)
650
651         * libnm-util/nm-param-spec-specialized.c
652                 - (type_is_fixed_size): return fundamental size of the fixed type too
653                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
654                         in the comparison so that the _entire_ fixed type collection gets
655                         compared rather than just the first 'len1' bytes
656
657 2008-09-30  Dan Williams  <dcbw@redhat.com>
658
659         * src/NetworkManagerPolicy.c
660                 - (lookup_thread_worker): don't store the idle handler ID becuase the
661                         idle handler could have already run and freed the LookupThread
662                         structure
663
664 2008-09-30  Tambet Ingo  <tambet@gmail.com>
665
666         * src/nm-device.c (nm_device_get_priority): Implement.
667         (nm_device_set_ip4_config): Send the device priority to system ip4 
668         config setter.
669
670         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
671         Add priority argument and if it's >= 0, set the priority of the network
672         route added automatically by netlink (or kernel?).
673         (nm_system_device_set_priority): Implement.
674
675         * src/NetworkManagerPolicy.c (get_best_device): Use 
676         nm_device_get_priority() instead of home-grown version. Revert the
677         meaning, best priority is the lowest one.
678
679 2008-09-29  Dan Williams  <dcbw@redhat.com>
680
681         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
682         when it returns EAGAIN (rh #362421)
683
684         * src/nm-device-wifi.c
685                 - (wireless_get_range): try GIWRANGE a few times until the card responds
686                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
687
688 2008-09-28  Dan Williams  <dcbw@redhat.com>
689
690         * src/nm-serial-device.c
691           src/nm-serial-device.h
692                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
693                         cleaned at the right times when subclasses close the serial port too
694                 - (nm_serial_device_send_command): use a default send delay; don't
695                         spin forever on EAGAIN
696                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
697                         remove, no longer used
698                 - (find_response): return the matched response if any
699                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
700                         while doing so
701                 - (wait_for_reply_done): pass the matched response to the callback
702                 - (wait_for_reply_got_data): save the matched response; simplify timeout
703                         handling
704                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
705                         const since they never get modified
706                 - (cleanup_device): split out common cleanup stuff to a new function
707                 - (real_deactivate_quickly, finalize): use cleanup_device()
708
709         * src/nm-gsm-device.c
710                 - (modem_get_reply): remove, unused
711                 - (set_apn): give the card a bit more time to respond
712                 - (manual_registration_again, schedule_manual_registration_again,
713                    manual_registration_response, manual_registration): handle manual
714                         registration timeouts better by retrying registration a few times
715                         because cards are a bit slow after CFUN=1
716                 - (automatic_registration_get_network, get_network_response): use
717                         modem_wait_for_reply() because it interacts better with the serial
718                         buffer and does more intelligent matching; need to wait for 'OK'
719                         rather than just matching terminators
720                 - (schedule_automatic_registration_again,
721                    automatic_registration_response, automatic_registration): retry
722                         registration a few times on timeout or "searching" because cards
723                         take a bit to find a network after being powered up with CFUN=1
724                 - (power_up_response, power_up, init_full_done, enter_pin,
725                    check_pin_done): power up the card with CFUN=1 before trying to
726                         register with the network
727                 - (init_modem_full, init_modem): use more standard 3G init strings
728
729         * src/nm-hso-gsm-device.c
730                 - (modem_get_reply): remove, unused
731                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
732                         modem_wait_for_reply() to match actual responses instead of single
733                         termination characters; it doesn't leave stuff in the serial buffer
734                         that might confuse later calls
735                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
736                         to ensure that the call is really disconnected and not leave extra
737                         stuff in the serial buffer
738
739         * src/nm-cdma-device.c
740                 - (power_up_response, power_up, init_done): try Sierra-style modem
741                         power up before attempting to connect
742
743 2008-09-27  Dan Williams  <dcbw@redhat.com>
744
745         * libnm-util/nm-setting-gsm.c
746                 - (verify): verify GSM network ID
747
748 2008-09-25  Dan Williams  <dcbw@redhat.com>
749
750         * libnm-util/nm-setting-gsm.c
751           libnm-util/nm-setting-gsm.h
752                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
753                         technology terms (bgo #551361)
754
755 2008-09-25  Dan Williams  <dcbw@redhat.com>
756
757         Fix bgo #549401 (inspired by patch from Alexander Sack)
758
759         * src/nm-device-ethernet.c
760                 - (finish_supplicant_task): clean up scheduled tasks and free memory
761                 - (remove_supplicant_interface_error_handler): remove the supplicant
762                         error idle callback too
763                 - (supplicant_interface_release): rename from supplicant_interface_clean
764                         to match nm-device-wifi.c; clean up supplicant interface-related
765                         state tasks when the supplicant interface is disposed of
766                 - (schedule_state_handler): add scheduled tasks to a list so they can
767                         be cleaned up later
768                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
769                    supplicant_iface_connection_state_cb_handler): use
770                         finish_supplicant_task() to clean up each completed task
771                 - (supplicant_iface_connection_error_cb_handler,
772                    supplicant_connection_timeout_cb): clear source id when the task is
773                         complete
774                 - (supplicant_iface_connection_error_cb): save scheduled task id for
775                         later cleanup
776                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
777                         tasks
778
779         * src/nm-device-wifi.c
780                 - (finish_supplicant_task): clean up scheduled tasks and free memory
781                 - (remove_supplicant_interface_error_handler): remove the supplicant
782                         error idle callback too
783                 - (supplicant_interface_release): clean up supplicant interface-related
784                         state tasks when the supplicant interface is disposed of
785                 - (schedule_state_handler): add scheduled tasks to a list so they can
786                         be cleaned up later
787                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
788                    supplicant_iface_connection_state_cb_handler): use
789                         finish_supplicant_task() to clean up each completed task
790                 - (supplicant_iface_connection_error_cb_handler): clear source id when
791                         the task is complete
792                 - (supplicant_iface_connection_error_cb): save scheduled task id for
793                         later cleanup
794                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
795
796 2008-09-24  Tambet Ingo  <tambet@gmail.com>
797
798         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
799         method and get/set hostname property.
800
801 2008-09-24  Tambet Ingo  <tambet@gmail.com>
802
803         * src/supplicant-manager/nm-supplicant-interface.c
804         (nm_supplicant_interface_disconnect): Don't increment the reference 
805         count when disconnecting. The problem is on shutdown, when the replies
806         to these commands do not arrive before NM exits, resulting on never
807         calling supplicant interface's dispose(), which removes the interface
808         from supplicant.
809
810 2008-09-24  Tambet Ingo  <tambet@gmail.com>
811
812         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
813         all the public function arguments.
814
815 2008-09-22  Tambet Ingo  <tambet@gmail.com>
816
817         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
818         "Failure" signal from VPN plugins, store the failure reason, and
819         use it when the state is changed to failure.
820
821         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
822         description.
823
824         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
825         reason to the end of the list to not break the API.
826         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
827         so it can be shared by plugins and daemon.
828
829 2008-09-18  Dan Williams  <dcbw@redhat.com>
830
831         Patch from Alexander Sack <asac@ubuntu.com>
832
833         * configure.in
834           system-settings/plugins/Makefile.am
835           system-settings/plugins/ifupdown/Makefile.am
836           system-settings/plugins/ifupdown/interface_parser.c
837           system-settings/plugins/ifupdown/interface_parser.h
838           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
839           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
840           system-settings/plugins/ifupdown/parser.c
841           system-settings/plugins/ifupdown/parser.h
842           system-settings/plugins/ifupdown/plugin.c
843           system-settings/plugins/ifupdown/plugin.h
844                 - Implement a Debian/Ubuntu legacy network configuration plugin
845                         (gnome.org #551941)
846
847 2008-09-18  Dan Williams  <dcbw@redhat.com>
848
849         Implement support for honoring configured and automatic hostnames, and for
850         setting the configured hostname.
851
852         * introspection/nm-ip4-config.xml
853           src/nm-ip4-config.c
854           src/nm-ip4-config.h
855           src/dhcp-manager/nm-dhcp-manager.c
856                 - Remove useless hostname property; it's not really part of the IPv4
857                         config
858
859         * introspection/nm-settings-system.xml
860           libnm-glib/nm-dbus-settings-system.c
861           libnm-glib/nm-dbus-settings-system.h
862                 - Add SetHostname() call to system settings D-Bus interface
863                 - Add Hostname property to system settings D-Bus interface
864                 - (nm_dbus_settings_system_save_hostname,
865                    nm_dbus_settings_system_get_hostname): implement
866
867         * src/nm-device.c
868           src/nm-device.h
869                 - (nm_device_get_dhcp4_config): implement
870
871         * src/nm-manager.c
872           src/nm-manager.h
873                 - Fetch and track system settings service hostname changes, and proxy
874                         the changes via a GObject property of the manager
875
876         * system-settings/src/nm-system-config-interface.c
877           system-settings/src/nm-system-config-interface.h
878                 - Replace nm_system_config_interface_supports_add() with a capabilities
879                         bitfield
880
881         * system-settings/src/nm-system-config-error.c
882           system-settings/src/nm-system-config-error.h
883                 - Add additional errors
884
885         * system-settings/src/dbus-settings.c
886           system-settings/src/dbus-settings.h
887                 - (get_property, nm_sysconfig_settings_class_init): add hostname
888                         property; first plugin returning a hostname wins
889                 - (impl_settings_add_connection): use plugin capabilities instead of
890                         nm_system_config_interface_supports_add()
891                 - (impl_settings_save_hostname): implement hostname saving
892
893         * src/NetworkManagerPolicy.c
894                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
895                    lookup_thread_die): implement an asynchronous hostname lookup thread
896                         which given an IPv4 address tries to look up the hostname for that
897                         address with reverse DNS
898                 - (get_best_device): split out best device code from
899                         update_routing_and_dns()
900                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
901                         to preserve the 127.0.0.1 reverse mapping that so many things require
902                 - (set_system_hostname): set a given hostname
903                 - (update_system_hostname): implement hostname policy; a configured
904                         hostname (from the system settings service) is used if available,
905                         otherwise an automatically determined hostname from DHCP, VPN, etc.
906                         If there was no automatically determined hostname, reverse DNS of
907                         the best device's IP address will be used, and as a last resort the
908                         hostname 'localhost.localdomain' is set.
909                 - (update_routing_and_dns): use get_best_device(); update the system
910                         hostname when the network config changes
911                 - (hostname_changed): update system hostname if the system settings
912                         service signals a hostname change
913                 - (nm_policy_new): list for system settings service hostname changes
914                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
915                         gets told to die
916
917         * system-settings/plugins/keyfile/plugin.c
918           system-settings/plugins/ifcfg-suse/plugin.c
919                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
920                         capabilities properties
921
922         * system-settings/plugins/ifcfg-fedora/shvar.c
923                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
924                         writes out /etc/sysconfig/network now
925
926         * system-settings/plugins/ifcfg-fedora/plugin.c
927                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
928                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
929                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
930                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
931                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
932                         hostname get/set and capabilities get
933
934 2008-09-18  Dan Williams  <dcbw@redhat.com>
935
936         * libnm-util/nm-setting-wireless.c
937                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
938                         group ciphers if the wireless-security setting explicitly specified
939                         them, effectively making the default be "all ciphers"  (idea from
940                         Alexander Sack)
941
942 2008-09-15  Dan Williams  <dcbw@redhat.com>
943
944         Patch from Alexander Sack <asac@ubuntu.com>
945
946         * src/named-manager/nm-named-manager.c
947                 - (dispatch_resolvconf): respect resolvconf exit code
948
949 2008-09-12  Tambet Ingo  <tambet@gmail.com>
950
951         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
952         again. Add some debugging.
953
954 2008-09-11  Dan Williams  <dcbw@redhat.com>
955
956         * system-settings/plugins/keyfile/plugin.c
957                 - (update_connection_settings): update connection manually, since
958                         nm_exported_connection_update() does authentication
959                 - (dir_changed): update_connection_settings() doesn't need to return
960                         an error
961
962 2008-09-09  Dan Williams  <dcbw@redhat.com>
963
964         * libnm-glib/nm-vpn-plugin-ui-interface.c
965           libnm-glib/nm-vpn-plugin-ui-interface.h
966           libnm-glib/libnm_glib_vpn.ver
967                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
968                         should clean up resources related to the connection (like keyring
969                         secrets)
970                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
971                         should save user-scope secrets (like to the keyring)
972
973 2008-09-08  Dan Williams  <dcbw@redhat.com>
974
975         Patch from Alexander Sack <asac@ubuntu.com>
976
977         * libnm-util/crypto_gnutls.c
978           libnm-util/crypto_nss.c
979                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
980
981         * libnm-util/nm-utils.c
982           libnm-util/nm-utils.h
983           libnm-util/libnm-util.ver
984                 - (nm_utils_init): initialize libnm-util
985                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
986
987         * libnm-util/nm-setting-8021x.c
988                 - (nm_setting_802_1x_class_init): init libnm-util when needed
989
990 2008-09-05  Dan Williams  <dcbw@redhat.com>
991
992         Patch from Roy Marples <roy@marples.name> and others
993
994         * configure.in
995           src/named-manager/nm-named-manager.c
996                 - Add support for resolvconf; use --with-resolvconf at configure time
997                         to enable it
998
999 2008-09-05  Dan Williams  <dcbw@redhat.com>
1000
1001         * libnm-util/crypto_nss.c
1002           libnm-util/crypto_gnutls.c
1003           libnm-util/crypto.h
1004                 - (crypto_init): return error when init fails
1005
1006 2008-09-05  Dan Williams  <dcbw@redhat.com>
1007
1008         * libnm-glib/nm-device-wifi.c
1009                 - (access_point_removed_proxy): clean up the active access point too
1010                         just in case the active ap changed signal didn't come through yet
1011                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1012
1013 2008-09-05  Dan Williams  <dcbw@redhat.com>
1014
1015         * libnm-glib/nm-client.c
1016                 - (constructor): get initial state after we know whether NM is running
1017                         or not
1018
1019 2008-09-05  Dan Williams  <dcbw@redhat.com>
1020
1021         * libnm-glib/nm-ip4-config.c
1022           libnm-glib/nm-dhcp4-config.c
1023                 - (finalize): clean up the DBusGProxy
1024
1025 2008-09-04  Dan Williams  <dcbw@redhat.com>
1026
1027         * src/nm-ip4-config.c
1028           src/nm-ip4-config.h
1029                 - (nm_ip4_config_new): don't export over D-Bus here
1030                 - (nm_ip4_config_export): new function; export the config over D-Bus
1031                 - (nm_ip4_config_is_exported): new function
1032
1033         * src/nm-device.c
1034                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1035                         objects by balancing the IP4Config constructor; the device holds
1036                         a reference to the IP4Config already
1037                 - (nm_device_set_ip4_config): export the IP4Config when needed
1038
1039 2008-09-04  Dan Williams  <dcbw@redhat.com>
1040
1041         * src/supplicant-manager/nm-supplicant-settings-verify.c
1042                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1043
1044 2008-09-04  Dan Williams  <dcbw@redhat.com>
1045
1046         * libnm-util/nm-setting-vpn.c
1047           libnm-util/nm-setting-vpn.h
1048                 - Split VPN secrets from VPN data so that settings services can actually
1049                         figure out that they are secrets and store them accordingly
1050
1051         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1052           system-settings/plugins/keyfile/reader.c
1053           system-settings/plugins/keyfile/reader.h
1054           system-settings/plugins/keyfile/writer.c
1055                 - Store VPN secrets separately from VPN data so that they can be fetched
1056                         on demand
1057                 - Implement the get_secrets() call so that (a) secrets don't leak out
1058                         to unprivileged callers, and (b) secrets can be sent to privileged
1059                         callers when needed
1060
1061         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1062                 - Handle split VPN secrets
1063
1064 2008-08-27  Dan Williams  <dcbw@redhat.com>
1065
1066         * system-settings/plugins/ifcfg-fedora/reader.c
1067                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1068
1069 2008-08-27  Dan Williams  <dcbw@redhat.com>
1070
1071         Ensure zombie children get cleaned up.  To get notifications when children
1072         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1073         that requires calling waitpid() yourself if you've removed the child watch
1074         handler before the process has actually died, which NM needs to do in a few
1075         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1076         cleans up after the child when required.  Should fix problems trying to
1077         activate mobile broadband connections after a previous failure.
1078
1079         * src/dhcp-manager/nm-dhcp-dhclient.c
1080           src/dhcp-manager/nm-dhcp-dhcpcd.c
1081                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1082
1083         * src/dhcp-manager/nm-dhcp-manager.c
1084                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1085                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1086                         block on child quitting, since the non-blocking functionality was
1087                         never actually used
1088
1089         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1090                 - (dm_watch_cb): child is already reaped here
1091                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1092
1093         * src/nm-device.c
1094                 - (aipd_cleanup): block until child is dead
1095
1096         * src/named-manager/nm-named-manager.c
1097                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1098                         event bothering to watch the child
1099
1100         * src/ppp-manager/nm-ppp-manager.c
1101                 - (ppp_watch_cb): child is already reaped here
1102                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1103
1104         * src/vpn-manager/nm-vpn-service.c
1105                 - (vpn_service_watch_cb): child is already reaped here
1106                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1107                         status of the child is actually tracked
1108                 - (ensure_killed, finalize): block until child is dead
1109
1110 2008-08-26  Dan Williams  <dcbw@redhat.com>
1111
1112         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1113                 - (update): Update filename of the connection if the connection id
1114                         was changed
1115
1116         * system-settings/plugins/keyfile/plugin.c
1117                 - (dir_changed): first pass at handling connection renames correctly
1118
1119         * system-settings/plugins/keyfile/writer.c
1120           system-settings/plugins/keyfile/writer.h
1121                 - (write_connection): replace '/' with '*' when writing out the filename
1122                         from the connection id
1123
1124 2008-08-26  Dan Williams  <dcbw@redhat.com>
1125
1126         Add connection UUIDs, since connection names can be changed, and since
1127         old-style connection IDs could change over the life of the connection.  The
1128         UUID should be assigned at connection creation time, be stable for a given
1129         connection, and should be unique among all connections for a given settings
1130         service.
1131
1132         * configure.in
1133           libnm-util/Makefile.am
1134                 - Require libuuid
1135
1136         * introspection/nm-exported-connection.xml
1137                 - Remove "GetID" method
1138
1139         * libnm-glib/nm-dbus-connection.c
1140           libnm-glib/nm-settings.c
1141           libnm-glib/nm-settings.h
1142                 - Remove id-related stuff
1143
1144         * libnm-util/nm-utils.c
1145           libnm-util/nm-utils.h
1146           libnm-util/libnm-util.ver
1147                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1148                         utility functions to generate UUIDs
1149
1150         * libnm-util/nm-setting-connection.c
1151           libnm-util/nm-setting-connection.h
1152                 - Add 'uuid' member to the connection setting
1153                 - (verify): require valid 'uuid' for a valid connection
1154
1155         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1156           system-settings/plugins/ifcfg-fedora/reader.c
1157           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1158           system-settings/plugins/ifcfg-suse/parser.c
1159           system-settings/plugins/keyfile/nm-keyfile-connection.c
1160           system-settings/src/main.c
1161                 - Remove id-related stuff
1162                 - Give connections UUIDs where needed
1163
1164 2008-08-25  Dan Williams  <dcbw@redhat.com>
1165
1166         * libnm-util/crypto_gnutls.c
1167           libnm-util/crypto_nss.c
1168                 - (crypto_init, crypto_deinit): refcount init/deinit
1169                 - (crypto_md5_hash): allow NULL salt
1170
1171 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1172
1173         * libnm-glib/Makefile.am
1174           libnm-util/Makefile.am
1175           libnm-glib/libnm_glib.ver
1176           libnm-glib/libnm_glib_vpn.ver
1177           libnm-util/libnm-util.ver
1178                 - Use linker version scripts to control the list of exported 
1179                 symbols. List each exported symbol explicitely.
1180         * libnm-util/Makefile.am
1181                 - Fix compilation of the test-crypto binary. The crypto
1182                 functions are no longer part of the libnm-util API. Add 
1183                 crypto_*.c to test_crypto_SOURCES and link against the correct
1184                 crypto libraries.
1185
1186 2008-08-19  Dan Williams  <dcbw@redhat.com>
1187
1188         * configure.in
1189           test/Makefile.am
1190                 - Don't build test/test-common
1191                 - Remove unused stuff
1192
1193         * test/nm-set-fallback
1194           test/nmtestdevices.c
1195           test/test-common/.cvsignore
1196           test/test-common/Makefile.am
1197           test/test-common/test-common.c
1198           test/test-common/test-common.h
1199                 - delete
1200
1201 2008-08-18  Dan Williams  <dcbw@redhat.com>
1202
1203         * libnm-util/nm-utils.c
1204           libnm-util/nm-utils.h
1205                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1206                         export anything that needs to be converted with this function
1207
1208         * src/dhcp-manager/nm-dhcp-manager.c
1209                 - (garray_to_string): convert a byte array to a UTF-8 string with
1210                         minimal validation; the DHCP client sends it in ASCII anyway
1211                 - (get_option, copy_option): use garray_to_string()
1212
1213 2008-08-18  Dan Williams  <dcbw@redhat.com>
1214
1215         * include/NetworkManager.h
1216           introspection/nm-device.xml
1217                 - Add a "missing firmware" device state reason
1218
1219         * src/NetworkManagerSystem.c
1220           src/NetworkManagerSystem.h
1221                 - (nm_system_device_set_up_down): add a no_firmware argument
1222                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1223                         IFF_UP is ENOENT, that almost always means missing firmware
1224
1225         * src/backends/NetworkManagerGeneric.c
1226           src/nm-device-ethernet.c
1227           src/nm-device-private.h
1228           src/nm-device-wifi.c
1229           src/nm-device.c
1230           src/nm-device.h
1231           src/nm-hso-gsm-device.c
1232           src/vpn-manager/nm-vpn-connection.c
1233                 - Pass no_firmware along; check it where appropriate
1234
1235 2008-08-18  Dan Williams  <dcbw@redhat.com>
1236
1237         Patch from Robert Buchholz <rbu@gentoo.org>
1238
1239         * autogen.sh
1240           configure.in
1241                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1242                         1003.1-1988, allowing for file names longer than 99 characters
1243
1244 2008-08-17  Dan Williams  <dcbw@redhat.com>
1245
1246         * include/NetworkManager.h
1247           introspection/nm-device.xml
1248           src/nm-gsm-device.c
1249                 - Finer-grained GSM registration failure error codes
1250
1251 2008-08-17  Dan Williams  <dcbw@redhat.com>
1252
1253         * callouts/Makefile.am
1254           src/Makefile.am
1255                 - Move dispatcher directory creation to callouts/Makefile.am
1256
1257         * system-settings/plugins/keyfile/Makefile.am
1258                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1259
1260 2008-08-15  Dan Williams  <dcbw@redhat.com>
1261
1262         Do connection sharing in a cleaner manner; all required iptables rules
1263         are now stored in the activation request and pertain only to the device
1264         which is being shared to other computers. (rh #458625)
1265
1266         * src/nm-activation-request.c
1267           src/nm-activation-request.h
1268                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1269                         the activation request which will get torn down automatically when
1270                         the activation request dies
1271                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1272                         is started, and tear them down when sharing is stopped
1273
1274         * src/nm-device.c
1275                 - (start_sharing): start up sharing by doing the required iptables magic
1276                 - (share_init): poke the right bits of the kernel and load the right
1277                         modules for NAT
1278                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1279                         connection if it's a 'shared' connection
1280
1281         * src/NetworkManagerPolicy.c
1282                 - Remove all sharing stuff; done in the device code itself
1283
1284 2008-08-15  Dan Williams  <dcbw@redhat.com>
1285
1286         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1287                 - (create_dm_cmd_line): send the right router address
1288
1289 2008-08-15  Dan Williams  <dcbw@redhat.com>
1290
1291         * src/ppp-manager/nm-ppp-manager.c
1292                 - (pppd_timed_out): ensure timeouts fail the connection
1293
1294 2008-08-14  Dan Williams  <dcbw@redhat.com>
1295
1296         * src/nm-properties-changed-signal.c
1297           src/nm-properties-changed-signal.h
1298                 - Add a property spec flag for "don't export this property" in
1299                         property changed signals
1300
1301         * src/nm-hso-gsm-device.c
1302           src/nm-gsm-device.c
1303           src/nm-cdma-device.c
1304                 - Don't export monitor interface or netdev interface properties
1305
1306 2008-08-14  Dan Williams  <dcbw@redhat.com>
1307
1308         * src/NetworkManagerPolicy.c
1309                 - (update_routing_and_dns): 'hso' devices can be default even if they
1310                         don't have a gateway
1311
1312 2008-08-14  Dan Williams  <dcbw@redhat.com>
1313
1314         * src/nm-device.c
1315                 - (nm_device_deactivate_quickly): tear down activation request after
1316                         calling device-specific deactivation
1317
1318         * src/nm-hso-gsm-device.c
1319                 - (real_deactivate_quickly): terminate connection when deactivating
1320
1321 2008-08-14  Dan Williams  <dcbw@redhat.com>
1322
1323         * src/nm-activation-request.h
1324                 - Add HSO secrets caller
1325
1326         * src/nm-gsm-device.c
1327           src/nm-gsm-device.h
1328                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1329                         something to the callback function
1330                 - (set_apn, set_apn_done): call class dial function, not a static one
1331                 - (nm_gsm_device_class_init): add a class 'dial' function
1332
1333         * src/nm-hal-manager.c
1334                 - (get_hso_netdev): find the hso-driven hardware's net device
1335                 - (modem_device_creator): recognize hso-driven hardware and create the
1336                         right type of device object for it
1337
1338         * src/Makefile.am
1339           src/nm-hso-gsm-device.c
1340           src/nm-hso-gsm-device.h
1341                 - Implement support for devices driven by the 'hso' driver as a subclass
1342                         of NMGsmDevice
1343
1344 2008-08-14  Dan Williams  <dcbw@redhat.com>
1345
1346         * src/NetworkManagerSystem.c
1347                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1348                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1349                         success if the operation really was successful
1350
1351 2008-08-14  Dan Williams  <dcbw@redhat.com>
1352
1353         * src/nm-netlink-monitor.c
1354           src/nm-netlink-monitor.h
1355           src/nm-device-ethernet.c
1356                 - (nm_netlink_monitor_request_status): return an error on failure
1357                 - (constructor): don't segfault on missing error
1358
1359 2008-08-13  Dan Williams  <dcbw@redhat.com>
1360
1361         * callouts/nm-dispatcher-action.c
1362                 - Add IP4 config info to script environment
1363
1364 2008-08-12  Dan Williams  <dcbw@redhat.com>
1365
1366         * src/nm-device.c
1367                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1368                         that want to use DHCP hostnames should use dispatcher scripts
1369                         for that
1370
1371         * src/NetworkManagerSystem.h
1372           src/backends/NetworkManagerArch.c
1373           src/backends/NetworkManagerDebian.c
1374           src/backends/NetworkManagerFrugalware.c
1375           src/backends/NetworkManagerGeneric.c
1376           src/backends/NetworkManagerGeneric.h
1377           src/backends/NetworkManagerGentoo.c
1378           src/backends/NetworkManagerMandriva.c
1379           src/backends/NetworkManagerPaldo.c
1380           src/backends/NetworkManagerRedHat.c
1381           src/backends/NetworkManagerSlackware.c
1382           src/backends/NetworkManagerSuSE.c
1383                 - Remove nm_system_set_hostname(), no longer used
1384           
1385         * src/backends/Makefile.am
1386           src/backends/shvar.c
1387           src/backends/shvar.h
1388                 - Remove shvar.*; no longer used
1389
1390 2008-08-12  Dan Williams  <dcbw@redhat.com>
1391
1392         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1393         hostname is updated at runtime.  Distros or users who want hostname updates
1394         can use dispatcher scripts to update the hostname if they need it.
1395
1396 2008-08-12  Dan Williams  <dcbw@redhat.com>
1397
1398         * introspection/nm-settings-system.xml
1399           system-settings/src/dbus-settings.c
1400           system-settings/src/dbus-settings.h
1401                 - Add a 'Hostname' property (rw) which represents the configured
1402                         hostname and domain of the system, if any
1403
1404         * system-settings/src/nm-system-config-error.c
1405           system-settings/src/nm-system-config-error.h
1406           system-settings/src/nm-system-config-interface.c
1407           system-settings/src/nm-system-config-interface.h
1408                 - Add a 'hostname' property to the plugin interface
1409                 - Add a method to send updated hostname to plugins to save in their
1410                         backing configuration store
1411
1412         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1413           system-settings/plugins/keyfile/plugin.c
1414           system-settings/plugins/keyfile/writer.c
1415           system-settings/plugins/keyfile/writer.h
1416           system-settings/plugins/ifcfg-suse/plugin.c
1417                 - Add minimal hostname support
1418
1419         * system-settings/plugins/ifcfg-fedora/plugin.c
1420                 - Add support for updating system hostname in /etc/sysconfig/network
1421
1422 2008-08-12  Dan Williams  <dcbw@redhat.com>
1423
1424         * system-settings/plugins/ifcfg-fedora/shvar.c
1425           system-settings/plugins/ifcfg-fedora/shvar.c
1426                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1427
1428 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1429
1430         * Makefile.am: Fix distcheck.
1431
1432 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1433
1434         * libnm-glib/*.c. Document some more.
1435
1436 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1437
1438         Start documenting libnm-glib public API using gtk-doc.
1439
1440         * libnm-glib/nm-serial-device.c: 
1441         * libnm-glib/nm-object.c: 
1442         * libnm-glib/nm-gsm-device.c: 
1443         * libnm-glib/nm-device.c: 
1444         * libnm-glib/nm-device-wifi.c: 
1445         * libnm-glib/nm-device-ethernet.c: 
1446         * libnm-glib/nm-client.c: 
1447         * libnm-glib/nm-cdma-device.c: Document the public API.
1448
1449         * docs/libnm-glib/libnm-glib.types: Implement.
1450
1451         * docs/libnm-glib/Makefile.am: Implement.
1452
1453         * autogen.sh: 
1454         * configure.in: 
1455         * Makefile.am: Add gtk-doc support.
1456
1457 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1458
1459         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1460
1461         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1462         the composite result of all the IP4 configurations and call a distro
1463         specific update_resolv_conf().
1464         (update_resolv_conf): Implement one for directly writing to 
1465         /etc/resolv.conf and one for opensuse to call netconfig.
1466
1467 2008-08-11  Dan Williams  <dcbw@redhat.com>
1468
1469         * src/ppp-manager/nm-ppp-manager.c
1470                 - (impl_ppp_manager_need_secrets): pass interface as required
1471
1472 2008-08-11  Dan Williams  <dcbw@redhat.com>
1473
1474         Merge the vpn-properties setting with the vpn setting since it was pointless
1475         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1476         of string:string (instead of string:variant) so that system settings plugins
1477         can have an easier time dealing with the arbitrary key/value pairs.
1478
1479 2008-08-11  Dan Williams  <dcbw@redhat.com>
1480
1481         * libnm-util/nm-utils.c
1482                 - (nm_utils_register_value_transformations): add value transform for
1483                         a hash table of string:string
1484
1485 2008-08-10  Dan Williams  <dcbw@redhat.com>
1486
1487         * libnm-glib/nm-vpn-plugin.c
1488                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1489                         an idle handler so the Connect reply gets delivered before the
1490                         stop StateChanged signal
1491
1492 2008-08-10  Dan Williams  <dcbw@redhat.com>
1493
1494         * src/nm-ip4-config.c
1495                 - (get_property): use common ip4 address/route conversion functions
1496                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1497                         copy the new route here, not take ownership
1498
1499 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1500
1501         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1502         Update the IP4 setting's method name.
1503
1504 2008-08-07  Dan Williams  <dcbw@redhat.com>
1505
1506         * introspection/nm-ip4-config.xml
1507           libnm-glib/libnm-glib-test.c
1508           libnm-glib/nm-ip4-config.c
1509           libnm-glib/nm-ip4-config.h
1510           src/NetworkManagerSystem.h
1511           src/backends/NetworkManagerArch.c
1512           src/backends/NetworkManagerDebian.c
1513           src/backends/NetworkManagerFrugalware.c
1514           src/backends/NetworkManagerGeneric.c
1515           src/backends/NetworkManagerGeneric.h
1516           src/backends/NetworkManagerGentoo.c
1517           src/backends/NetworkManagerMandriva.c
1518           src/backends/NetworkManagerPaldo.c
1519           src/backends/NetworkManagerRedHat.c
1520           src/backends/NetworkManagerSlackware.c
1521           src/backends/NetworkManagerSuSE.c
1522           src/dhcp-manager/nm-dhcp-manager.c
1523           src/nm-device.c
1524           src/nm-ip4-config.c
1525           src/nm-ip4-config.h
1526                 - Remove NIS logic; should be done from dispatcher scripts instead
1527
1528 2008-08-07  Dan Williams  <dcbw@redhat.com>
1529
1530         * src/dhcp-manager/nm-dhcp-manager.c
1531                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1532                         mis-handling of DHCP responses that returned more than one router
1533                         (found by Grant Williamson)
1534
1535 2008-08-07  Dan Williams  <dcbw@redhat.com>
1536
1537         * callouts/nm-dispatcher-action.c
1538                 - (nm_dispatcher_action): grab device path and create the device; pass
1539                         the device's DHCP4 config to script caller
1540                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1541                         scripts
1542
1543         * libnm-glib/nm-dhcp4-config.c
1544           libnm-glib/nm-dhcp4-config.h
1545                 - (nm_dhcp4_config_get_options): expose
1546                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1547
1548 2008-08-07  Dan Williams  <dcbw@redhat.com>
1549
1550         * include/NetworkManager.h
1551                 - Add the DHCP4Config D-Bus interface
1552
1553         * libnm-glib/Makefile.am
1554           libnm-glib/nm-dhcp4-config.c
1555           libnm-glib/nm-dhcp4-config.h
1556                 - Handle DHCP4 config objects exported by NM over D-Bus
1557
1558         * libnm-glib/nm-device.c
1559           libnm-glib/nm-device.h
1560                 - Add a 'dhcp4-config' property
1561
1562         * libnm-glib/libnm-glib-test.c
1563                 - Print out DHCP4 config for devices
1564                 - Fix some crashes when no connections are active
1565
1566         * src/nm-device-interface.c
1567           src/nm-device.c
1568           src/nm-dhcp4-config.c
1569           src/nm-dhcp4-config.h
1570                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1571                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1572                         doesn't let us do when the property type is G_TYPE_OBJECT
1573
1574 2008-08-07  Dan Williams  <dcbw@redhat.com>
1575
1576         * src/NetworkManager.c
1577           src/NetworkManagerSystem.h
1578           src/backends/NetworkManagerArch.c
1579           src/backends/NetworkManagerDebian.c
1580           src/backends/NetworkManagerFrugalware.c
1581           src/backends/NetworkManagerGeneric.c
1582           src/backends/NetworkManagerGeneric.h
1583           src/backends/NetworkManagerGentoo.c
1584           src/backends/NetworkManagerMandriva.c
1585           src/backends/NetworkManagerPaldo.c
1586           src/backends/NetworkManagerRedHat.c
1587           src/backends/NetworkManagerSlackware.c
1588           src/backends/NetworkManagerSuSE.c
1589                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1590
1591 2008-08-06  Dan Williams  <dcbw@redhat.com>
1592
1593         * libnm-glib/nm-ip4-config.c
1594           libnm-glib/nm-ip4-config.h
1595                 - Add 'routes' property
1596
1597         * libnm-util/nm-setting-vpn.c
1598           libnm-util/nm-setting-vpn.h
1599                 - Remove 'routes' property
1600
1601         * libnm-util/nm-setting-ip4-config.c
1602           libnm-util/nm-setting-ip4-config.h
1603                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1604                 - Add 'ignore-auto-routes' property
1605                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1606                         accomodate route metrics
1607                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1608
1609         * libnm-util/nm-utils.c
1610           libnm-util/nm-utils.h
1611                 - Add helpers for marshalling IP4 routes
1612
1613         * src/NetworkManagerUtils.c
1614                 - (nm_utils_merge_ip4_config): handle property renames and new route
1615                         structure
1616
1617         * src/NetworkManagerSystem.c
1618                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1619                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1620
1621         * src/dhcp-manager/nm-dhcp-manager.c
1622                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1623
1624         * system-settings/plugins/ifcfg-fedora/reader.c
1625           system-settings/plugins/ifcfg-fedora/writer.c
1626                 - Handle routes separately from addresses now that routes have a different
1627                         format
1628
1629         * introspection/nm-ip4-config.xml
1630           src/nm-ip4-config.c
1631           src/nm-ip4-config.h
1632                 - Rename internal routing functions
1633                 - 'static-routes' renamed to 'routes'
1634
1635 2008-08-04  Dan Williams  <dcbw@redhat.com>
1636
1637         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1638
1639         * src/NetworkManager.c
1640           src/nm-manager.c
1641           src/nm-manager.h
1642                 - More explicitly make the NMManager a singleton
1643
1644 2008-08-04  Dan Williams  <dcbw@redhat.com>
1645
1646         * libnm-util/nm-connection.c
1647           libnm-util/nm-connection.h
1648                 - (nm_connection_verify): return error on missing 'connection' setting
1649                         (found by Sjoerd Simons)
1650
1651 2008-08-04  Dan Williams  <dcbw@redhat.com>
1652
1653         Handle multiple concurrent PPP connections.
1654
1655         * src/ppp-manager/nm-ppp-manager.c
1656           src/ppp-manager/nm-ppp-manager.h
1657                 - (constructor): only PPP Manager request bus name once; each
1658                         NMPPPManager object gets a unique object path
1659                 - (nm_ppp_manager_class_init, get_property, set_property,
1660                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1661                         at construct time
1662                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1663                         remove timeout until PPP manager gets an IP4 config
1664                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1665                         the plugin can call back to this specific PPP manager instance
1666
1667         * src/nm-device-ethernet.c
1668           src/nm-serial-device.c
1669                 - Pass parent device in nm_ppp_manager_new()
1670
1671         * src/nm-gsm-device.c
1672           src/nm-cdma-device.c
1673                 - (device_state_changed): don't close serial device on NEED_AUTH
1674                         state changed, that's not a failure case like the rest are
1675
1676         * src/ppp-manager/nm-pppd-plugin.c
1677                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1678                         binds one interface to any pppd process, thus the correct index
1679                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1680                         problems; try harder to get a peer address in spite of pppd
1681                 - (plugin_init): use 'ipparam' as the object path back to our specific
1682                         PPP manager instance
1683
1684 2008-08-04  Dan Williams  <dcbw@redhat.com>
1685
1686         * src/ppp-manager/nm-ppp-manager.c
1687                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1688                         since the GSM and CDMA settings now implement need_secrets, we can
1689                         rely on them to do the right thing.  Where secrets are not required,
1690                         just pass empty strings back to the pppd plugin.
1691                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1692                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1693                         on successful IP4 config receipt
1694
1695 2008-08-04  Dan Williams  <dcbw@redhat.com>
1696
1697         * libnm-util/nm-setting-cdma.c
1698           libnm-util/nm-setting-gsm.c
1699                 - (verify): validate username & password if they exist
1700                 - (need_secrets): if username given, require a password too
1701
1702 2008-08-04  Dan Williams  <dcbw@redhat.com>
1703
1704         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1705                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1706                         manpage says about --listen-address without --interface
1707                         (bgo #546033)
1708
1709 2008-08-01  Dan Williams  <dcbw@redhat.com>
1710
1711         * libnm-glib/nm-device.c
1712                 - (proxy_get_string): util function for querying a HAL property
1713                 - (get_ancestor_device): split out from get_product_and_vendor()
1714                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1715                         from PCI devices by querying subsys properties
1716                 - (nm_device_update_description): simplify
1717
1718 2008-08-01  Dan Williams  <dcbw@redhat.com>
1719
1720         * libnm-util/nm-setting-ip4-config.c
1721           libnm-util/nm-setting-ip4-config.h
1722                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1723                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1724                         settings, and they don't necessarily use DHCP.
1725
1726         * src/NetworkManagerPolicy.c
1727           src/nm-device.c
1728           system-settings/plugins/ifcfg-fedora/reader.c
1729           system-settings/plugins/ifcfg-suse/parser.c
1730                 - Fixup for method changes
1731
1732 2008-07-31  Dan Williams  <dcbw@redhat.com>
1733
1734         * src/nm-activation-request.c
1735           src/vpn-manager/nm-vpn-connection.c
1736                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1737                         itself should be attached to the activation request or the VPN
1738                         connection, not the NMConnection object, since the call is not
1739                         expected to live as long as the NMConnection itself
1740
1741 2008-07-31  Dan Williams  <dcbw@redhat.com>
1742
1743         * src/nm-device-wifi.c
1744                 - (real_act_stage2_config): fix issue where association would continue
1745                         even though secrets were needed; 'goto out' was in wrong scope and
1746                         result of handle_auth_or_fail() should have been dumped directly to
1747                         'ret' to ensure that the association was postponed until secrets
1748                         are available
1749
1750 2008-07-31  Dan Williams  <dcbw@redhat.com>
1751
1752         * system-settings/plugins/ifcfg-fedora/plugin.c
1753           system-settings/plugins/ifcfg-fedora/reader.c
1754                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1755                         valid NM connection
1756
1757 2008-07-29  Dan Williams  <dcbw@redhat.com>
1758
1759         * src/nm-gsm-device.c
1760                 - (automatic_registration_response, automatic_registration): recognize
1761                         denied registration and reorder responses
1762
1763 2008-07-29  Dan Williams  <dcbw@redhat.com>
1764
1765         * src/nm-serial-device.c
1766                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1767                         time(2) is used for current time, which returns seconds, we shouldn't
1768                         be multiplying by 1000.
1769
1770 2008-07-28  Dan Williams  <dcbw@redhat.com>
1771
1772         Patch from Fabrice Bellet <fabrice@bellet.info>
1773
1774         * src/NetworkManagerSystem.c
1775                 - (route_in_same_subnet): mask addresses and compare them so that the
1776                         function actually does what it says it's going to do (rh #456685)
1777
1778 2008-07-27  Dan Williams  <dcbw@redhat.com>
1779
1780         * libnm-util/nm-setting-ip6-config.c
1781                 - (set_property): add missing break that caused routes to be overwritten
1782                         with addresses
1783
1784         * libnm-util/nm-setting-ip6-config.c
1785                 - (verify): validate routes and return GError everywhere on invalid setting
1786                 - (finalize): don't leak routes
1787                 - (set_property): add missing break that caused routes to be overwritten
1788                         with addresses
1789
1790 2008-07-27  Dan Williams  <dcbw@redhat.com>
1791
1792         * libnm-util/*
1793                 - Relicense to LGPLv2+
1794
1795 2008-07-27  Dan Williams  <dcbw@redhat.com>
1796
1797         * system-settings/plugins/ifcfg-fedora/reader.c
1798                 - (make_ip4_setting): fix parsing automatic configs
1799
1800 2008-07-27  Dan Williams  <dcbw@redhat.com>
1801
1802         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1803           src/nm-device.c
1804           src/ppp-manager/nm-ppp-manager.c
1805                 - Ensure child process gets reaped.  The child watch function may be
1806                         removed from the mainloop before the child gets killed, so we have
1807                         to make sure the child is reaped when it's told to die intentionally
1808
1809 2008-07-27  Dan Williams  <dcbw@redhat.com>
1810
1811         Patch from Roy Marples <roy@marples.name>
1812
1813         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1814                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1815
1816 2008-07-27  Dan Williams  <dcbw@redhat.com>
1817
1818         * src/nm-gsm-device.c
1819                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1820                         Huawei devices turn echo back on after CPIN (rh #456770)
1821
1822 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1823
1824         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1825         format argument to g_set_error() call.
1826
1827         * src/backends/interface_parser.[ch]: Remove.
1828
1829         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1830
1831 2008-07-21  Dan Williams  <dcbw@redhat.com>
1832
1833         * src/ppp-manager/nm-ppp-manager.c
1834                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1835                         to prevent pppd from picking up some random local address from an
1836                         interface that doesn't have anything to do with the one we're
1837                         interested in (rh #455348)
1838
1839 2008-07-17  Dan Williams  <dcbw@redhat.com>
1840
1841         * libnm-util/nm-utils.c
1842                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1843                         by locale
1844                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1845                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1846
1847 2008-07-17  Dan Williams  <dcbw@redhat.com>
1848
1849         * introspection/Makefile.am
1850           introspection/nm-device.xml
1851           introspection/nm-dhcp4-config.xml
1852                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1853                         itself
1854         * src/nm-device-interface.c
1855           src/nm-device-interface.h
1856                 - Add the DHCP4Config property
1857
1858         * src/nm-device.c
1859                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1860                         D-Bus clients when it changes
1861
1862         * src/nm-dhcp4-config.c
1863           src/nm-dhcp4-config.h
1864                 - Simple object to store DHCP4 options, export them over D-Bus, and
1865                         notify when they change
1866
1867         * src/dhcp-manager/nm-dhcp-manager.c
1868           src/dhcp-manager/nm-dhcp-manager.h
1869                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1870                         filter server-returned DHCP options into an NMDHCP4Config object
1871
1872 2008-07-16  Dan Williams  <dcbw@redhat.com>
1873
1874         * introspection/nm-device.xml
1875                 - Add device state reasons
1876
1877 2008-07-16  Dan Williams  <dcbw@redhat.com>
1878
1879         Patch from Roy Marples <roy@marples.name>
1880
1881         * configure.in
1882                 - Add --with-dhcp-client option
1883
1884         * src/dhcp-manager/Makefile.am
1885                 - pass DHCP_CLIENT_PATH on compile line
1886
1887         * src/dhcp-manager/nm-dhcp-manager.c
1888           src/dhcp-manager/nm-dhcp-manager.h
1889                 - Genericize for both dhcpcd and dhclient
1890
1891         * src/dhcp-manager/nm-dhcp-dhclient.c
1892                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1893
1894         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1895                 - Implement support for dhcpcd too
1896
1897 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1898
1899         * system-settings/src/nm-system-config-interface.c 
1900         (nm_system_config_interface_supports_add): Implement.
1901         (nm_system_config_interface_add_connection): Return a boolean to notify
1902         of errors.
1903
1904         * system-settings/src/nm-polkit-helpers.c: 
1905         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1906         a separate file.
1907
1908         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1909         Return an error when none of the plugins support add or if addition
1910         failed for some reason.
1911
1912         * system-settings/src/nm-system-config-error.h: 
1913         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1914         here from nm-polkit-helpers.[ch].
1915
1916         * system-settings/src/Makefile.am: Build new files.
1917
1918         * system-settings/plugins/keyfile/reader.c 
1919         (read_array_of_array_of_uint): Make it more general so that it would
1920         work for routes as well.
1921
1922         * system-settings/plugins/keyfile/writer.c
1923         (write_array_of_array_of_uint): Ditto.
1924         Fix the netmask/prefix writing.
1925
1926         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1927         boolean to notify errors.
1928
1929         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1930         Return more specific error.
1931         (delete): Ditto.
1932
1933 2008-07-11  Dan Williams  <dcbw@redhat.com>
1934
1935         Modify the NMDevice::state-changed signal to include the previous state
1936         and reason. Enables the applet to provide more information why device
1937         activation failed.
1938
1939 2008-07-09  Dan Williams  <dcbw@redhat.com>
1940
1941         * callouts/Makefile.am
1942           callouts/nm-avahi-autoipd-action.c
1943           callouts/nm-avahi-autoipd.conf
1944                 - avahi-autoipd callout to send options back to NM
1945
1946         * src/autoip.c
1947           src/autoip.h
1948                 - remove
1949
1950         * src/nm-device.c
1951           src/nm-device-private.h
1952           src/nm-manager.c
1953                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1954                         old custom stuff
1955
1956 2008-07-07  Dan Williams  <dcbw@redhat.com>
1957
1958         * system-settings/plugins/ifcfg-fedora/reader.c
1959                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1960                         handle PREFIX too; clean up
1961
1962 2008-07-07  Dan Williams  <dcbw@redhat.com>
1963
1964         Convert to using IPv4 prefixes instead of netmasks.
1965
1966 2008-07-03  Dan Williams  <dcbw@redhat.com>
1967
1968         * libnm-util/nm-setting-ip4-config.c
1969           libnm-util/nm-setting-ip4-config.h
1970                 - Add properties for DHCP Client Identifier and DHCP Hostname
1971
1972         * src/dhcp-manager/nm-dhcp-manager.c
1973           src/dhcp-manager/nm-dhcp-manager.h
1974                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1975                         setting as an argument to pass on to the dhclient config file
1976                         creation function
1977                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1978                         DHCP is torn down
1979                 - (dhclient_run): punt config file handling to create_dhclient_config()
1980                 - (create_dhclient_config): create an interface-specific dhclient
1981                         config file since there may need to be interface-specific options
1982                         passed to dhclient
1983                 - (merge_dhclient_config): merge normal distro dhclient config file and
1984                         add options from the connection
1985                 - (nm_dhcp_device_new): generate the interface specific dhclient
1986                         config file path once
1987                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1988                         dhclient config file path
1989
1990         * src/nm-device.c
1991                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1992                         DHCP manager when starting DHCP
1993
1994 2008-07-02  Dan Williams  <dcbw@redhat.com>
1995
1996         * libnm-util/nm-setting-8021x.c
1997                 - (verify): allow forcing the PEAP label to 0
1998
1999 2008-07-02  Dan Williams  <dcbw@redhat.com>
2000
2001         * introspection/nm-active-connection.xml
2002           introspection/nm-vpn-connection.xml
2003           libnm-glib/nm-active-connection.c
2004           src/nm-activation-request.c
2005           src/nm-active-connection.h
2006           src/vpn-manager/nm-vpn-connection.c
2007                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2008                         and libnm-glib API since sharing didn't get implemented that way
2009
2010 2008-07-02  Dan Williams  <dcbw@redhat.com>
2011
2012         * src/nm-device-wifi.c
2013                 - (can_scan): don't scan when a shared connection is activated since
2014                         that makes drivers mad (causing disconnects); also NM doesn't need
2015                         to hedge against disconnects by keeping up-to-date network topology
2016                         because the connection originates from the local machine, and thus
2017                         there should be no disconnects
2018
2019 2008-07-01  Dan Williams  <dcbw@redhat.com>
2020
2021         Fix mobile broadband username/password issues.  NM was never requesting
2022         mobile broadband secrets, nor was it passing back the username and password
2023         if it had them.
2024
2025         * marshallers/nm-marshal.list
2026                 - Add some new types for activation request objects
2027
2028         * src/nm-activation-request.c
2029           src/nm-activation-request.h
2030                 - (get_secrets_cb): pass the caller type in the signal
2031                 - (nm_act_request_request_connection_secrets): take a caller type, so
2032                         that GetSecrets() reply handlers know who asked for the secrets in
2033                         the first place; use secret hints too so the settings service can
2034                         figure out exactly what NM wants (ie, PIN or the PPP password)
2035
2036         * src/ppp-manager/nm-ppp-manager.c
2037           src/ppp-manager/nm-ppp-manager.h
2038                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2039                         detect needed secrets when the secret could be blank, like GSM/CDMA
2040                         passwords.  So always ask for secrets, and send a hint as to what
2041                         secret we really want.
2042                 - (nm_ppp_manager_update_secrets): make function more generic by making
2043                         the device specific class figure out the username and password, and
2044                         accept an error argument to return back over D-Bus
2045
2046         * src/nm-device-wifi.c
2047                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2048                         nm_act_request_request_connection_secrets()
2049                 - (real_connection_secrets_updated): update for 'caller' changes
2050
2051         * src/nm-device.c
2052           src/nm-device.h
2053                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2054                         for 'caller' changes
2055
2056         * src/nm-device-ethernet.c
2057                 - (real_connection_secrets_updated): update for 'caller' changes and
2058                         move logic for getting PPPoE username and password here before
2059                         calling nm_ppp_manager_update_secrets()
2060                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2061                         nm_act_request_request_connection_secrets()
2062
2063         * src/nm-cdma-device.c
2064                 - (real_connection_secrets_updated): pass username and password back
2065                         to the PPP manager when required
2066
2067         * src/nm-gsm-device.c
2068                 - (enter_pin): send the required secret name to the settings service
2069                 - (real_connection_secrets_updated): pass username and password back
2070                         to the PPP manager when required
2071
2072 2008-06-30  Dan Williams  <dcbw@redhat.com>
2073
2074         * src/nm-device-wifi.c
2075                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2076
2077 2008-06-30  Dan Williams  <dcbw@redhat.com>
2078
2079         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2080         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2081         priv->supplicant.iface.  When either condition is false, the device should
2082         transition back to UNAVAILABLE because it cannot be used.
2083
2084         * src/nm-device-wifi.c
2085                 - (constructor): cleanup; connect to supplicant manager here since the
2086                         supplicant manager is always around
2087                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2088                         ensure the supplicant manager is in the IDLE state
2089                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2090                         cancel any pending scans too
2091                 - (real_bring_up): don't set up the supplicnat interface here, because
2092                         we need the supplicant interface at times when the device may not
2093                         be "up"
2094                 - (real_take_down): just remove the periodic source
2095                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2096                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2097                         do anything if there's no supplicant interface
2098                 - (cleanup_association_attempt): cleanup
2099                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2100                         the interface enters the READY state; transition to UNAVAILABLE
2101                         state when the interface goes down because the device can't be used
2102                         without a supplicant interface
2103                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2104                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2105                         acquire the supplicant interface and transition to DISCONNECTED
2106                         if the radio isn't killed
2107                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2108                 - (state_changed_cb): release any existing supplicant interface; if the
2109                         radio is enabled then try to acquire a new supplicant interface;
2110                         if the radio is enabled and a supplicant interface has been acquired,
2111                         we can transition to DISCONNECTED
2112                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2113                         don't enable the radio, because HAL probably lied to us about the
2114                         killswitch being off.  If bringing the hardware up worked, then
2115                         try to grab a supplicant interface, and if that was successful,
2116                         transition to DISCONNECTED
2117
2118 2008-06-30  Dan Williams  <dcbw@redhat.com>
2119
2120         * src/supplicant-manager/nm-supplicant-interface.c
2121                 - (request_scan_results, nm_supplicant_interface_dispose,
2122                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2123                         the id of the timeout, not a GSource
2124
2125 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2126
2127         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2128         bunch of typoes introduced by "Patch from David Cantrell 
2129         <dcantrell@redhat.com> and me".
2130
2131 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2132
2133         * src/nm-serial-device.c: 
2134         * src/nm-gsm-device.c: 
2135         * src/nm-cdma-device.c: Move the pending call handling to a common location
2136         in serial device. Handle setting device state to failed in one place as well.
2137
2138 2008-06-29  Dan Williams <dcbw@redhat.com>
2139
2140         * src/nm-hal-manager.c
2141                 - Rework killswitch handling to query killswitch status immediately
2142                         when the first killswitch is added, so that rfkill state is
2143                         known as early as possible
2144                 - Also treat failure of GetPower() as rfkill when the dbus method
2145                         call times out (but not when the HAL callout returns an error)
2146
2147 2008-06-26  Dan Williams <dcbw@redhat.com>
2148
2149         Patch from David Cantrell <dcantrell@redhat.com> and me
2150
2151         * include/nm-dbus-glib-types.h
2152                 - Add IP6 address types
2153
2154         * libnm-util/Makefile.am
2155           libnm-util/nm-setting-ip6-config.c
2156           libnm-util/nm-setting-ip6-config.h
2157                 - Add IP6 settings object
2158
2159         * libnm-util/nm-connection.c
2160                 - (register_default_settings): register ip6 settings object
2161
2162         * libnm-util/nm-utils.c
2163           libnm-util/nm-utils.h
2164                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2165                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2166                         ip6 address conversion functions
2167         
2168 2008-06-26  Dan Williams <dcbw@redhat.com>
2169
2170         Patch from David Cantrell <dcantrell@redhat.com>
2171         
2172         * Use inet_ntop() and inet_pton() everwhere and check for errors
2173
2174 2008-06-26  Dan Williams <dcbw@redhat.com>
2175
2176         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2177
2178 2008-06-26  Dan Williams <dcbw@redhat.com>
2179
2180         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2181
2182         * src/nm-device-wifi.c
2183                 - (link_timeout_cb): don't ignore disconnects due to scanning
2184                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2185                         a longer timeout when scanning; avoids case where supplicant can't
2186                         find the AP and just keeps scanning forever but isn't connected
2187
2188 2008-06-26  Dan Williams <dcbw@redhat.com>
2189
2190         Patch from Michael Biebl <biebl@debian.org>
2191
2192         * Clean up build system stuff
2193
2194 2008-06-23  Christian Persch  <chpe@gnome.org>
2195
2196         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2197         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2198         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2199         (impl_get_object):
2200         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2201         (impl_get_object):
2202         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2203         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2204         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2205         (impl_get_object):
2206         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2207         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2208         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2209         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2210         * vpn-daemons/pptp/properties/vpnui_opt.c:
2211         (vpnui_opt_connect_signals):
2212         * vpn-daemons/pptp/properties/vpnui_opt.h:
2213         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2214         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2215         deprecated gtk type macros. Bug #539325.
2216
2217 2008-06-20  Dan Williams  <dcbw@redhat.com>
2218
2219         * libnm-glib/nm-vpn-plugin-ui-interface.c
2220           libnm-glib/nm-vpn-plugin-ui-interface.h
2221                 - 'validity-changed' -> 'changed' to work better with the connection
2222                         editor.  Plugin UI widgets should emit 'changed' whenever their
2223                         UI values change in a meaningful way.
2224                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2225                         update_connection member now returns validity of the UI widget
2226
2227 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2228
2229         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2230
2231 2008-06-17  Dan Williams  <dcbw@redhat.com>
2232
2233         * libnm-glib/nm-vpn-plugin-ui-interface.c
2234           libnm-glib/nm-vpn-plugin-ui-interface.h
2235                 - Add "desc" property for longer descriptions of the VPN plugin
2236
2237 2008-06-16  Dan Williams  <dcbw@redhat.com>
2238
2239         * configure.in
2240           libnm-glib/libnm_glib_vpn.pc.in
2241                 - add a .pc file for libnm_glib_vpn
2242
2243         * libnm-glib/nm-vpn-plugin-ui-interface.c
2244           libnm-glib/nm-vpn-plugin-ui-interface.h
2245                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2246                         rework it substantially
2247
2248 2008-06-12  Dan Williams  <dcbw@redhat.com>
2249
2250         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2251         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2252         returns a descriptive GError when verification fails.
2253
2254 2008-06-11  Dan Williams  <dcbw@redhat.com>
2255
2256         Patch from Tambet Ingo <tambet@gmail.com>
2257
2258         * libnm-util/nm-setting-gsm.c
2259                 - (verify): validate APN
2260
2261         * src/nm-gsm-device.c
2262                 - (manual_registration_done): start setting APN if needed
2263                 - (set_apn, set_apn_done): set the APN
2264                 - (do_dial): use the APN when dialing
2265
2266 2008-06-11  Dan Williams  <dcbw@redhat.com>
2267
2268         * src/NetworkManagerSystem.c
2269                 - (nm_system_device_set_ip4_route,
2270                    nm_system_device_replace_default_ip4_route): check for the right
2271                         return value from rtnl_route_add() to know when to add a gateway
2272                         route (from Tambet)
2273
2274 2008-06-11  Dan Williams  <dcbw@redhat.com>
2275
2276         * src/NetworkManagerPolicy.c
2277                 - do_ipt_cmd -> do_cmd
2278                 - (sharing_init): use do_cmd() instead of system()
2279
2280 2008-06-10  Dan Williams  <dcbw@redhat.com>
2281
2282         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2283         and use "wifi" everwhere instead.
2284
2285 2008-06-10  Dan Williams  <dcbw@redhat.com>
2286
2287         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2288
2289 2008-06-10  Dan Williams  <dcbw@redhat.com>
2290
2291         Patch from Tambet Ingo <tambet@gmail.com>
2292
2293         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2294                 changes.
2295
2296         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2297                 a signal to emit these changes over dbus.
2298
2299         * src/Makefile.am: Genereate nm-serial-device-glue.
2300
2301         * libnm-glib/nm-serial-device.[ch]: Implement.
2302
2303         * libnm-glib/nm-cdma-device.[ch]
2304           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2305
2306         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2307
2308         * introspection/nm-device-serial.xml: Implement.
2309
2310         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2311
2312         * introspection/Makefile.am: Add nm-device-serial.xml.
2313
2314         * include/NetworkManager.h: Add a DBus interface for serial device.
2315
2316 2008-06-10  Dan Williams  <dcbw@redhat.com>
2317
2318         * configure.in
2319                 - Add TARGET_* define to config.h to distinguish distros
2320
2321         * src/dhcp-manager/nm-dhcp-manager.c
2322                 - (dhclient_run): use distro-specific path for dhclient config file
2323
2324 2008-06-09  Dan Williams  <dcbw@redhat.com>
2325
2326         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2327           src/dnsmasq-manager/nm-dnsmasq-manager.h
2328                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2329                         calculate the addresses passed to dnsmasq instead of hard-coding
2330                         them
2331
2332         * src/nm-device.c
2333                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2334                         IP addresses for shared connections to guard against shared
2335                         connection address collisions
2336                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2337                         error conditions
2338                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2339                         the dnsmasq manager
2340
2341 2008-06-09  Dan Williams  <dcbw@redhat.com>
2342
2343         * src/NetworkManagerPolicy.c
2344                 - (update_routing_and_dns): set the default connection _after_ unsetting
2345                         default on all non-default connections so that two connections can
2346                         never be default at the same time
2347                 - (device_state_changed): start and stop connection sharing when
2348                         needed
2349                 - (active_connection_default_changed): restart or stop sharing when
2350                         the default connection changes to keep shared connections always
2351                         NAT-ed through the default connection
2352                 - (check_sharing): handle activation/deactivation of shared connections
2353                 - (sharing_restart): atom-bomb approach to connection sharing until we
2354                         can use libnl; reinit all sharing when the default connection or
2355                         shared connections change
2356                 - (sharing_init, sharing_stop): evil functions that init and deinit
2357                         iptables
2358
2359 2008-06-09  Dan Williams  <dcbw@redhat.com>
2360
2361         * src/nm-activation-request.c
2362           src/nm-activation-request.h
2363                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2364                    nm_act_request_get_device): new functions to facilitate connection
2365                         sharing
2366
2367 2008-06-09  Dan Williams  <dcbw@redhat.com>
2368
2369         * src/nm-device.c
2370                 - (clear_act_request): unset the 'default' property of the activation
2371                         request when clearing it to ensure the property changed signal gets
2372                         delivered and handled
2373
2374 2008-06-09  Dan Williams  <dcbw@redhat.com>
2375
2376         * libnm-glib/nm-device-802-11-wireless.c
2377                 - (access_point_removed_proxy): actually unref the AP after removing
2378                         it from the device's AP list.  Fixes refcounting bug for APs that
2379                         caused them to get mixed up in the applet's menu.
2380
2381 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2382
2383         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2384         (nm_dhcp_device_destroy): Destroy the device options hash table.
2385
2386 2008-06-06  Dan Williams <dcbw@redhat.com>
2387
2388         * system-settings/src/nm-polkit-helpers.c
2389                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2390                         unref the context if the initialization fails; also avoid spew when
2391                         the error isn't set
2392
2393 2008-06-06  Dan Williams <dcbw@redhat.com>
2394
2395         Patch from Tambet Ingo  <tambet@gmail.com>
2396
2397         * src/NetworkManagerSystem.c
2398           src/NetworkManagerSystem.h
2399                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2400                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2401                 - (nm_system_device_set_ip4_route): clean up
2402                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2403
2404         * src/nm-device.c
2405                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2406
2407         * src/vpn-manager/nm-vpn-connection.c
2408                 - (ip_address_to_string): new function
2409                 - (print_vpn_config): use ip_address_to_string
2410                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2411                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2412
2413         * include/NetworkManagerVPN.h
2414                 - Add 'routes' key
2415
2416 2008-06-05  Dan Williams <dcbw@redhat.com>
2417
2418         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2419
2420         * test/nm-tool.c
2421                 - Show which device is the default device
2422
2423 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2424
2425         Fix memory leaks.
2426
2427         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2428         Free data returned from dbus method call.
2429
2430         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2431         dbus_g_method_get_sender() returns a duplicated string, free it 
2432         when done.
2433         (check_polkit_privileges): Looks like policykit sometimes returns
2434         error and non-null return value, don't leak errors in that case.
2435
2436         * system-settings/src/main.c (find_plugin): Don't leak existing 
2437         plugin names.
2438         (load_stuff): Don't leak device list and list items.
2439         (have_connection_for_device): Don't leak connection list.
2440
2441         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2442         Free the data received from g_keyfile_get_*.
2443
2444         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2445         the key when the security object is updated.
2446
2447         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2448         Free data returned from dbus method call.
2449         (iface_state_cb): Ditto.
2450         (add_network_cb): Ditto.
2451         (nm_supplicant_interface_add_cb): Don't make another copy of already
2452         duplicated object path.
2453         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2454         when done.
2455
2456         * src/supplicant-manager/nm-supplicant-config.c 
2457         (ADD_STRING_LIST_VAL): Fix a memory leak.
2458
2459         * src/nm-manager.c (free_get_settings_info): Free the allocated
2460         memory slice.
2461         (list_connections_cb): Free data returned from dbus method call.
2462         (system_settings_get_unmanaged_devices_cb): Ditto.
2463
2464         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2465
2466         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2467         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2468         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2469         of the GList.
2470
2471         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2472         arguments after the object is created.
2473
2474 2008-06-04  Dan Williams <dcbw@redhat.com>
2475
2476         * libnm-util/Makefile.am
2477                 - Don't distribute nm-param-spec-specialized.h
2478
2479 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2480
2481         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2482
2483         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2484         NMIP4Address, update the getters and setters.
2485
2486         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2487         Use the updated NMIP4Config routes api.
2488
2489         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2490         static routes as well.
2491
2492         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2493         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2494         routes api.
2495
2496 2008-05-30  Dan Williams <dcbw@redhat.com>
2497
2498         * src/named-manager/nm-named-manager.c
2499           src/named-manager/nm-named-manager.h
2500                 - Remove stale/obsolete bits for controlling bind over DBus
2501
2502 2008-05-29  Dan Williams <dcbw@redhat.com>
2503
2504         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2505           src/dnsmasq-manager/nm-dnsmasq-manager.h
2506                 - (nm_dnsmasq_manager_new): move iface argument here
2507                 - (constructor): remove, not needed
2508                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2509                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2510
2511         * src/nm-device.c
2512                 - (real_act_stage4_get_ip4_config,
2513                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2514                         changes
2515
2516 2008-05-29  Dan Williams <dcbw@redhat.com>
2517
2518         * src/nm-device.c
2519                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2520                         something happens to dnsmasq
2521                 - (nm_device_new_ip4_shared_config): new function; create a new
2522                         ip4-config for shared connections.  Shared connections always use a
2523                         fixed static IP address.
2524                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2525                         autoip connections by actually using the returned ip4-config and
2526                         not leaking it
2527                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2528                         connections
2529                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2530                         if its active
2531
2532 2008-05-29  Dan Williams <dcbw@redhat.com>
2533
2534         * src/nm-device-802-11-wireless.c
2535                 - (real_get_best_auto_connection): auto-activate 'shared' method
2536                         connections too
2537
2538 2008-05-29  Dan Williams <dcbw@redhat.com>
2539
2540         * libnm-util/nm-setting-ip4-config.c
2541           libnm-util/nm-setting-ip4-config.h
2542                 - Add a 'shared' method to indicate that this connection should be
2543                         brought up with a DHCP and proxy DNS server to facilitate
2544                         connection sharing.
2545                 - (verify): 'shared' method doesn't allow DNS or searches either
2546
2547 2008-05-29  Dan Williams <dcbw@redhat.com>
2548
2549         * configure.in
2550           src/Makefile.am
2551           src/dnsmasq-manager/Makefile.am
2552           src/dnsmasq-manager/nm-dnsmasq-manager.c
2553           src/dnsmasq-manager/nm-dnsmasq-manager.h
2554                 - Add a dnsmasq daemon manager to facilitate connection sharing
2555
2556 2008-05-29  Dan Williams <dcbw@redhat.com>
2557
2558         * src/nm-device-private.h
2559                 - Remove unused prototypes and clean up
2560
2561         * src/nm-device.c
2562                 - Remove anything related to system_config_data, which is no longer used
2563                 - (nm_device_new_ip4_autoip_config): make static
2564
2565 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2566
2567         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2568         (file_changed): Fix a bug where suse system settings plugin didn't
2569         update the connections automatically when the files changed.
2570
2571 2008-05-28  Dan Williams  <dcbw@redhat.com>
2572
2573         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2574
2575 2008-05-28  Dan Williams  <dcbw@redhat.com>
2576
2577         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2578
2579         * src/NetworkManagerSystem.c
2580                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2581                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2582                         was causing -EINVAL errors since the libnl code actually does flush
2583                         the routes on VPN interfaces now
2584
2585         * src/backends/NetworkManagerArch.c
2586           src/backends/NetworkManagerDebian.c
2587           src/backends/NetworkManagerFrugalware.c
2588           src/backends/NetworkManagerGeneric.c
2589           src/backends/NetworkManagerGentoo.c
2590           src/backends/NetworkManagerMandriva.c
2591           src/backends/NetworkManagerPaldo.c
2592           src/backends/NetworkManagerRedHat.c
2593           src/backends/NetworkManagerSlackware.c
2594           src/backends/NetworkManagerSuSE.c
2595                 - (nm_system_device_flush_ip4_routes,
2596                    nm_system_device_flush_ip4_routes_with_iface): remove
2597
2598 2008-05-28  Dan Williams  <dcbw@redhat.com>
2599
2600         * libnm-util/nm-setting-wireless.c
2601           libnm-util/nm-setting-wireless.h
2602                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2603                         'adhoc-create' property, which when TRUE indicates that NM should
2604                         create this connection as an adhoc wifi network if it's not found
2605                         as an adhoc network during scanning.  Can be used to auto-create
2606                         adhoc networks when used in combination with autoconnect.
2607
2608 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2609
2610         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2611
2612         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2613         checked, it doesn't work on some devices.
2614
2615 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2616
2617         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2618         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2619
2620         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2621         Use inet_aton() everywhere to improve error detection.
2622         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2623         provided.
2624
2625 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2626
2627         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2628         Fix a typo.
2629
2630 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2631
2632         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2633         reference counting issue.
2634
2635 2008-05-23  Dan Williams  <dcbw@redhat.com>
2636
2637         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2638
2639         * src/backends/NetworkManagerGeneric.c
2640                 - (nm_generic_enable_loopback): use libnl
2641
2642 2008-05-23  Dan Williams  <dcbw@redhat.com>
2643
2644         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2645
2646         * src/NetworkManagerSystem.h
2647           src/backends/NetworkManagerArch.c
2648           src/backends/NetworkManagerDebian.c
2649           src/backends/NetworkManagerFrugalware.c
2650           src/backends/NetworkManagerGentoo.c
2651           src/backends/NetworkManagerMandriva.c
2652           src/backends/NetworkManagerPaldo.c
2653           src/backends/NetworkManagerRedHat.c
2654           src/backends/NetworkManagerSlackware.c
2655           src/backends/NetworkManagerSuSE.c
2656                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2657                    nm_system_flush_arp_cache): remove, unused
2658
2659         * src/backends/NetworkManagerGeneric.c
2660           src/backends/NetworkManagerGeneric.h
2661                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2662                    nm_generic_flush_arp_cache): remove, unused
2663
2664 2008-05-23  Dan Williams  <dcbw@redhat.com>
2665
2666         * system-settings/plugins/ifcfg-fedora/reader.c
2667                 - (make_ip4_setting): honor PEERDNS setting
2668
2669 2008-05-23  Dan Williams  <dcbw@redhat.com>
2670
2671         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2672
2673         * src/NetworkManagerSystem.c
2674                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2675                         libnl
2676
2677         * src/backends/NetworkManagerArch.c
2678           src/backends/NetworkManagerDebian.c
2679           src/backends/NetworkManagerFrugalware.c
2680           src/backends/NetworkManagerGentoo.c
2681           src/backends/NetworkManagerMandriva.c
2682           src/backends/NetworkManagerPaldo.c
2683           src/backends/NetworkManagerRedHat.c
2684           src/backends/NetworkManagerSlackware.c
2685           src/backends/NetworkManagerSuSE.c
2686                 - (nm_system_device_flush_ip4_addresses,
2687                    nm_system_device_flush_ip4_addresses_with_iface): remove
2688
2689         * src/backends/NetworkManagerGeneric.c
2690                 - (nm_generic_device_flush_ip4_addresses,
2691                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2692
2693 2008-05-23  Dan Williams  <dcbw@redhat.com>
2694
2695         * src/supplicant-manager/nm-supplicant-settings-verify.c
2696                 - Switch 'bssid' from bytes to keyword type
2697                 - (validate_type_keyword): allow NULL keyword lists
2698
2699         * src/supplicant-manager/nm-supplicant-config.c
2700                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2701                         a byte array to string form, which is what the supplicant expects
2702
2703 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2704
2705         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2706         information received from DHCP.
2707
2708         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2709         to make it possible to ignore the DNS information (both servers and 
2710         searches) returned by DHCP server.
2711
2712         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2713         name servers and searches if "ignore_dhcp_dns" is set.
2714
2715         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2716         (nm_ip4_config_reset_searches): Implement.
2717
2718 2008-05-22  Dan Williams  <dcbw@redhat.com>
2719
2720         Remove anything mDNS related.  This is better done from a distro-specific
2721         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2722         avahi, since avahi can handle interface changes just fine using netlink.
2723
2724         * configure.in
2725                 - Remove --with-mdns-provider
2726
2727         * src/NetworkManagerPolicy.c
2728                 - (global_state_changed): don't restart the mdns provider
2729
2730         * src/NetworkManagerSystem.h
2731           src/backends/NetworkManagerArch.c
2732           src/backends/NetworkManagerDebian.c
2733           src/backends/NetworkManagerFrugalware.c
2734           src/backends/NetworkManagerGentoo.c
2735           src/backends/NetworkManagerMandriva.c
2736           src/backends/NetworkManagerPaldo.c
2737           src/backends/NetworkManagerRedHat.c
2738           src/backends/NetworkManagerSlackware.c
2739           src/backends/NetworkManagerSuSE.c
2740                 - (nm_system_restart_mdns_responder): remove
2741
2742         * src/backends/NetworkManagerGeneric.c
2743           src/backends/NetworkManagerGeneric.h
2744                 - (nm_generic_restart_mdns_responder): remove
2745
2746 2008-05-22  Dan Williams  <dcbw@redhat.com>
2747
2748         * configure.in
2749                 - clean up crypto options; just use --with-crypto=nss or
2750                         --with-crypto=gnutls
2751
2752 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2753
2754         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2755         anymore, do it right away.
2756
2757 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2758
2759         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2760         serial device open when we're not connecting or connected.
2761
2762         * src/nm-cdma-device.c (device_state_changed): Ditto.
2763
2764 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2765
2766         Don't remove all devices on waking up, sync with HAL.
2767
2768         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2769         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2770         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2771
2772 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2773
2774         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2775         If the default gateway is unreachable, add a route to gateway and try
2776         again.
2777
2778 2008-05-20  Dan Williams  <dcbw@redhat.com>
2779
2780         * system-settings/plugins/ifcfg-fedora/reader.c
2781                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2782
2783 2008-05-19  Dan Williams  <dcbw@redhat.com>
2784
2785         * system-settings/plugins/ifcfg-fedora/reader.c
2786                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2787                         if the ifcfg doesn't specify one (rh #446527)
2788
2789 2008-05-19  Dan Williams  <dcbw@redhat.com>
2790
2791         Make the system settings service exit when the bus goes away.  Since it's
2792         a bus-activated service, it's lifetime is limited to the bus that activated
2793         it (rh #444976).
2794
2795         * system-settings/src/Makefile.am
2796           system-settings/src/nm-system-config-hal-manager-private.h
2797                 - Remove nm-system-config-hal-manager-private.h
2798
2799         * system-settings/src/nm-system-config-hal-manager.c
2800                 - (nm_system_config_hal_manager_reinit_dbus,
2801                    nm_system_config_hal_manager_deinit_dbus): remove
2802
2803         * system-settings/src/main.c
2804                 - (dbus_reconnect): remove
2805                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2806                 - (destroy_cb): just quit when the bus goes away
2807                 - (start_dbus_service, dbus_init): simplify
2808                 - (main): destroy the wired devices hash table after destroying
2809                         the HAL manager so we don't have to disconnect signals from the
2810                         HAL manager
2811
2812 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2813
2814         Move crypto functions from nm-applet to libnm-util.
2815
2816         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2817         (nm_setting_802_1x_set_client_cert)
2818         (nm_setting_802_1x_set_phase2_ca_cert)
2819         (nm_setting_802_1x_set_phase2_client_cert)
2820         (nm_setting_802_1x_set_private_key)
2821         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2822         file (or private key and it's password), read the certificate data.
2823
2824         * libnm-util/crypto_nss.c: 
2825         * libnm-util/crypto_gnutls.c: 
2826         * libnm-util/crypto.[ch]: Move here from nm-applet.
2827
2828         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2829
2830         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2831         Imlement WPA-EAP configuration reading from sysconfig.
2832
2833 2008-05-16  Dan Williams  <dcbw@redhat.com>
2834
2835         * src/nm-device-802-11-wireless.c
2836                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2837                         wireless
2838
2839 2008-05-14  Dan Williams  <dcbw@redhat.com>
2840
2841         Fix Linus' bug in rh #134886
2842
2843         * src/nm-device-802-3-ethernet.c
2844                 - (constructor): request initial carrier state
2845
2846         * src/nm-netlink-monitor.c
2847                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2848                         signals after refilling the link cache.  Because the refill is a 
2849                         synchronous operation, the normal message hander won't get called
2850                         since libnl has already consumed the messages.
2851                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2852
2853 2008-05-14  Dan Williams  <dcbw@redhat.com>
2854
2855         * src/NetworkManagerSystem.c
2856                 - (nm_system_device_is_up_with_iface): clean up
2857
2858 2008-05-13  Dan Williams  <dcbw@redhat.com>
2859
2860         Fix refcounting issues over sleep/wake when a VPN connection was active that
2861         caused NM to try registering an object path for a device upon wake that was
2862         the same as an already registered object path.
2863
2864         * src/nm-device.c
2865                 - (nm_device_take_down): properly handle cases where the device is
2866                         no longer active but was just active, and therefore must be
2867                         deactivated.  When a device moves to unmanaged mode, this function
2868                         previously would not deactivate the device, because the state was
2869                         already unmanaged by the time this function was called.
2870
2871         * src/vpn-manager/nm-vpn-connection.c
2872                 - (device_state_changed): properly handle multiple devices states in
2873                         which the device is now deactivated.  Code previously didn't handle
2874                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2875                         UNMANAGED states.
2876
2877 2008-05-13  Dan Williams  <dcbw@redhat.com>
2878
2879         * src/nm-device-private.h
2880           src/nm-device.c
2881                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2882
2883         * src/nm-device-802-11-wireless.c
2884                 - (nm_device_802_11_wireless_set_enabled): take devices up
2885                         and down as appropriate for the rfkill state
2886
2887 2008-05-13  Dan Williams  <dcbw@redhat.com>
2888
2889         * marshallers/nm-marshal.list
2890                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2891
2892         * system-settings/plugins/ifcfg-fedora/Makefile.am
2893           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2894           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2895                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2896                         events.  Solely for use watching ifcfg files to pick up changes
2897                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2898
2899         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2900                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2901                         file contents change
2902                 - (finalize): clean up inotify watches
2903                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2904                         and the connection ifcfg for changes on their hardlinks
2905                 - (files_changed_cb): proxy the changed signal back out to listeners
2906
2907         * system-settings/plugins/ifcfg-fedora/plugin.c
2908                 - (dir_changed): 
2909                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2910                         changes
2911                 - (read_one_connection): connect to change signals on the new connection
2912                 - (dir_changed, connection_changed_handler,
2913                    handle_connection_remove_or_new): break out connection change
2914                         handling and connection new/remove handling so it can be used from
2915                         both the GFileMonitor callback and the NMIfcfgConnection changed
2916                         signals
2917
2918         * system-settings/plugins/ifcfg-fedora/reader.c
2919           system-settings/plugins/ifcfg-fedora/reader.h
2920                 - (connection_from_file): return the keyfile path the connection would use
2921
2922 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2923
2924         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2925         single PolKitContext which is shared by all. PolKitContext::unref leaks
2926         just about everything, including all open file descriptiors and results
2927         in 99% cpu usage when data arrives to any of the fds that don't belong
2928         to any context anymore.
2929
2930 2008-05-12  Dan Williams  <dcbw@redhat.com>
2931
2932         * gfilemonitor/glocaldirectorymonitor.c
2933           gfilemonitor/glocaldirectorymonitor.h
2934                 - (g_local_directory_monitor_constructor): actually subscribe to the
2935                         watch
2936                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2937
2938         * gfilemonitor/glocalfilemonitor.c
2939           gfilemonitor/glocalfilemonitor.h
2940                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2941                 - (_g_local_file_monitor_new): ensure that inotify is started up
2942
2943 2008-05-11  Dan Williams  <dcbw@redhat.com>
2944
2945         * configure.in
2946                 - record PolicyKit version
2947
2948         * system-settings/src/nm-polkit-helpers.c
2949                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2950                         with PolicyKit <= 0.6
2951
2952 2008-05-11  Dan Williams  <dcbw@redhat.com>
2953
2954         Update Fedora system-settings plugin to support latest API and use
2955         GFileMonitor rather than home-rolled inotify code.
2956
2957         * system-settings/plugins/ifcfg-fedora/Makefile.am
2958           system-settings/plugins/ifcfg-fedora/common.h
2959           system-settings/plugins/ifcfg-fedora/plugin.c
2960                 - Update to latest system settings plugin API; use GIO instead of
2961                         custom inotify code; use NMIfcfgConnection objects instead of
2962                         ConnectionData structures tacked onto NMConnection objects
2963
2964         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2965           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2966                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2967                         connections
2968
2969         * system-settings/plugins/ifcfg-fedora/reader.c
2970           system-settings/plugins/ifcfg-fedora/reader.h
2971                 - Move ifcfg parsing bits here from parser.c
2972
2973         * system-settings/plugins/ifcfg-fedora/parser.c
2974           system-settings/plugins/ifcfg-fedora/parser.h
2975                 - Remove; most code moved to reader.c
2976
2977 2008-05-11  Dan Williams  <dcbw@redhat.com>
2978
2979         * configure.in
2980           Makefile.am
2981           gfilemonitor/*
2982                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2983                         implementation, so that the same change monitoring code can be used
2984                         on systems without glib-2.14 (like Fedora 8)
2985
2986         * system-settings/plugins/keyfile/Makefile.am
2987           system-settings/plugins/keyfile/plugin.c
2988           system-settings/plugins/ifcfg-suse/Makefile.am
2989           system-settings/plugins/ifcfg-suse/plugin.c
2990                 - Use private gfilemonitor code if GIO is not present
2991
2992 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2993
2994         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2995         NMExportedConnection's 'update' and 'delete' and return error with
2996         descriptive message.
2997
2998 2008-05-08  Dan Williams  <dcbw@redhat.com>
2999
3000         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3001
3002         * src/nm-gsm-device.c
3003           src/nm-cdma-device.c
3004                 - (real_get_best_auto_connection): implement; allow autoconnection
3005                         to GSM & CDMA devices
3006
3007 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3008
3009         Use PolicyKit to authorize the system settings' AddConnection method
3010         and the system settings connections' Update and Delete methods.
3011         
3012         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3013         (impl_exported_connection_delete, nm_exported_connection_update)
3014         (nm_exported_connection_delete): Return boolean and fill GError
3015         to notify the callers of the reasons why it might have failed.
3016
3017         * libnm-glib/nm-dbus-settings-system.c
3018         (nm_dbus_settings_system_add_connection): Return the error from dbus
3019         call so that the callers can see why it failed.
3020
3021         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3022         signatures.
3023
3024         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3025
3026         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3027         abstract base class that checks PolicyKit permissions.
3028
3029         * system-settings/src/dbus-settings.c:
3030         (impl_settings_add_connection): Check the policy before carring out
3031         the request.
3032
3033         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3034         Inherit from NMSysconfigConnection, check the policies before
3035         allowing updating or removing.
3036
3037         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3038         Inherit from NMSysconfigConnection.
3039
3040         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3041         "Delete" methods with async flag so that the implementations can get
3042         access to DBusGMethodInvocation.
3043
3044         * system-settings/src/dbus-settings.c 
3045         (settings_add_connection_check_privileges): Implement.
3046         (impl_settings_add_connection): Check the privileges before adding a new
3047         connection. Improve error reporting.
3048
3049         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3050         async so that the implementation can access DBusGMethodInvocation.
3051
3052         * configure.in: Check for PolicyKit.
3053
3054         * policy/org.freedesktop.network-manager-settings.system.policy: 
3055         New file.
3056
3057         * policy/Makefile.am: Install the policy file.
3058
3059         * configure.in: Add 'policy' subdir.
3060
3061 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3062
3063         Rewrite the suse system settings plugin.
3064
3065         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3066
3067         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3068
3069         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3070
3071         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3072
3073         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3074
3075         * system-settings/src/main.c (load_plugins): Improve error reporting.
3076
3077         * system-settings/src/sha1.[ch] Add.
3078
3079         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3080
3081 2008-05-07  Dan Williams  <dcbw@redhat.com>
3082
3083         * system-settings/plugins/keyfile/reader.c
3084                 - (read_one_setting_value): handle IP address items separately
3085                 - (read_array_of_uint): read IPv4 DNS option as a string array
3086                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3087                         array
3088
3089         * system-settings/plugins/keyfile/writer.c
3090                 - (write_setting_value): handle IP address items separately
3091                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3092                         not an array of uint, so that it's user-editable
3093                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3094                         arrays, so they are user-editable
3095
3096 2008-05-07  Dan Williams  <dcbw@redhat.com>
3097
3098         * system-settings/plugins/keyfile/Makefile.am
3099                 - Change location of the keyfile plugin settings to
3100                         /etc/NetworkManager/system-connections
3101
3102 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3103
3104         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3105
3106         * system-settings/plugins/keyfile/plugin.c: Work with
3107         NMKeyfileConnections.
3108
3109         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3110         Plugins are supposed to return NMExportedConnections now and handle the
3111         updated(), removed(), and GetSecrets().
3112         Store the internal list of connections in hash table to make it easier
3113         to find duplicates.
3114
3115 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3116
3117         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3118         for multiple IP addresses.
3119
3120 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3121
3122         Patch from André Lemos.
3123
3124         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3125         corruption.
3126
3127 2008-05-06  Dan Williams  <dcbw@redhat.com>
3128
3129         * src/dhcp-manager/nm-dhcp-manager.c
3130                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3131                         NMIP4Config to support multiple IP addresses
3132
3133         * src/NetworkManagerUtils.c
3134                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3135
3136         * src/nm-ip4-config.c
3137           src/nm-ip4-config.h
3138                 - Store a list of IPv4 address/netmask/gateway tuples
3139                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3140                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3141                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3142                    nm_ip4_config_set_address): remove
3143                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3144                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3145                         new functions; handle multiple IPv4 addresses
3146
3147         * src/nm-device.c
3148           src/ppp-manager/nm-ppp-manager.c
3149           src/vpn-manager/nm-vpn-connection.c
3150           src/NetworkManagerPolicy.c
3151           test/nm-tool.c
3152           libnm-glib/libnm-glib-test.c
3153                 - update for changes to NMIP4Config for multiple IPv4 addresses
3154
3155         * src/NetworkManagerSystem.c
3156                 - (nm_system_device_set_ip4_route): don't add the route if any address
3157                         is on the same subnet as the destination
3158                 - (check_one_address): ignore the exact match, just match family and
3159                         interface index
3160                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3161                         an interface
3162                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3163                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3164
3165         * introspection/nm-ip4-config.xml
3166                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3167                 - Add 'addresses' property which is an array of (uuu) tuples of
3168                         address/netmask/gateway
3169
3170         * libnm-util/nm-setting-ip4-config.c
3171                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3172
3173         * libnm-glib/nm-ip4-config.c
3174           libnm-glib/nm-ip4-config.h
3175                 - Handle D-Bus interface changes to support multiple IP addresses
3176
3177 2008-05-06  Dan Williams  <dcbw@redhat.com>
3178
3179         * libnm-util/nm-utils.c
3180           libnm-util/nm-utils.h
3181                 - (nm_utils_ip4_addresses_from_gvalue,
3182                    nm_utils_ip4_addresses_to_gvalue): new functions
3183
3184 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3185
3186         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3187         the returned connection paths.
3188
3189 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3190
3191         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3192         "PropertiesChanged" signal signature.
3193
3194         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3195         defined in nm-dbus-glib-types.h.
3196         Don't register the connection on dbus, we're a proxy class to 
3197         communicate with an already registered connection over dbus.
3198
3199 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3200
3201         Implement new subclasses of NMSettings and NMExportedConnection to make
3202         it easier for the applet to access and modify system settings.
3203
3204         * libnm-glib/nm-dbus-connection.[ch]:
3205         * libnm-glib/nm-dbus-settings.[ch]:
3206         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3207
3208         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3209         bindings and glue.
3210
3211         * include/NetworkManager.h: Define the system settings DBus interface.
3212
3213 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3214
3215         Implement additional C API for exported connections to make them identical
3216         with the DBus API. Change the (list_connections) virtual function to be
3217         more usable from C - instead of requiring implementers to return a GPtrArray
3218         of dbus paths, return a list of connections.
3219
3220         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3221         (nm_settings_list_connections):
3222         (nm_exported_connection_new):
3223         (nm_exported_connection_update):
3224         (nm_exported_connection_delete): Implement.
3225
3226         (impl_settings_list_connections):
3227         (impl_exported_connection_update):
3228         (impl_exported_connection_delete): Use the new public functions to make 
3229         sure the C and dbus interfaces stay in sync.
3230
3231         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3232         connections.
3233
3234 2008-05-02  Dan Williams  <dcbw@redhat.com>
3235
3236         * system-settings/plugins/ifcfg-fedora/plugin.c
3237                 - (dispose): use right unref call on the DBusGConnection
3238
3239 2008-05-02  Dan Williams  <dcbw@redhat.com>
3240
3241         * src/nm-serial-device.c
3242                 - (find_terminator): don't compare the whole line, just the size of the
3243                         terminator, since some modems put stuff after the terminator, like
3244                         "CONNECT 9600"
3245
3246 2008-05-01  Dan Williams  <dcbw@redhat.com>
3247
3248         Patch from Michael Biebl <biebl@debian.org>
3249
3250         * callouts/Makefile.am
3251           callouts/org.freedesktop.nm_dispatcher.service.in
3252           system-settings/src/Makefile.am
3253           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3254                 - use the right install location for dbus-activated stuff
3255
3256 2008-04-30  Dan Williams  <dcbw@redhat.com>
3257
3258         * src/nm-gsm-device.c
3259                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3260                         PIN or PUK
3261
3262 2008-04-30  Dan Williams  <dcbw@redhat.com>
3263
3264         * src/nm-manager.c
3265                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3266
3267 2008-04-30  Dan Williams  <dcbw@redhat.com>
3268
3269         * src/nm-device-802-3-ethernet.c
3270           src/nm-device-802-11-wireless.c
3271                 - (real_is_up): return true instead of chaining up to unimplemented
3272                         parent method
3273
3274 2008-04-30  Dan Williams  <dcbw@redhat.com>
3275
3276         * src/NetworkManagerSystem.c
3277           src/NetworkManagerSystem.h
3278                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3279                         functions to check device flags for IFF_UP
3280
3281         * src/nm-serial-device.c
3282                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3283                         implement is_up
3284
3285         * src/nm-device-802-3-ethernet.c
3286           src/nm-device-802-11-wireless.c
3287                 - (real_hw_is_up): call nm_system_device_is_up()
3288
3289         * src/nm-device.c
3290                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3291                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3292                         does not implement
3293
3294 2008-04-29  Dan Williams  <dcbw@redhat.com>
3295
3296         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3297
3298         * marshallers/nm-marshal.list
3299                 - Add marshaller
3300
3301         * src/NetworkManager.c
3302                 - (main): let the NMManager handle the NMHalManager
3303
3304         * src/nm-hal-manager.c
3305           src/nm-hal-manager.h
3306                 - convert to a GObject, and emit singals when stuff changes.  Let the
3307                         NMManager handle the signals, instead of the NMHalManager calling
3308                         into the NMManager.  
3309
3310         * src/nm-manager.c
3311           src/nm-manager.h
3312                 - (remove_one_device): consolidate device removals here
3313                 - (dispose): use remove_one_device()
3314                 - (nm_manager_get_device_by_udi): make static
3315                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3316                         manager for devices at startup or wakeup time
3317                 - (nm_manager_new): create and monitor the HAL manager
3318                 - (hal_manager_udi_added_cb): new function; do what
3319                         nm_manager_add_device() used to do when signalled by the hal manager
3320                 - (hal_manager_udi_removed_cb): new function; do what
3321                         nm_manager_remove_device() used to do when signalled by the hal
3322                         manager
3323                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3324                         hal manager
3325                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3326                         in our device list that aren't known to HAL
3327                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3328                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3329                         commits ago
3330                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3331                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3332                    nm_manager_wireless_hardware_enabled,
3333                    nm_manager_set_wireless_hardware_enabled): remove, unused
3334
3335 2008-04-28  Dan Williams  <dcbw@redhat.com>
3336
3337         Fix the device up/down ambiguities.  Up/down state used to be a
3338         conglomeration of hardware state (IFF_UP) and any device-specific things
3339         (supplicant, periodic timers, etc) that the device used to indicate
3340         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3341         reason, then the device specific stuff wouldn't get run, and the device
3342         would be stuck.
3343
3344         * src/nm-device.c
3345           src/nm-device.h
3346                 - Create hw_is_up, hw_bring_up, and hw_take_down
3347                 - Rename bring_down -> take_down
3348                 - (real_hw_is_up): check interface flags for IFF_UP
3349                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3350                 - (nm_device_is_up): make static; only used locally
3351                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3352                         if the device is already up; if the device isn't up, bring it up
3353                 - (nm_device_hw_take_down): just take down hardware
3354                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3355                 - (nm_device_take_down): always deactivate device when called; always
3356                         try to take hardware down too
3357                 - (nm_device_state_changed): take device down when entering unmanaged
3358                         state from a higher state
3359
3360         * src/nm-device-802-11-wireless.c
3361                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3362                         check IFF_UP really
3363                 - (real_take_down, supplicant_iface_state_cb_handler, 
3364                    supplicant_iface_connection_state_cb_handler,
3365                    supplicant_mgr_state_cb_handler): fix some messages
3366
3367         * src/nm-device-802-3-ethernet.c
3368                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3369                         check IFF_UP really
3370
3371 2008-04-28  Dan Williams  <dcbw@redhat.com>
3372
3373         * src/nm-manager.c
3374           src/nm-manager.h
3375                 - (nm_manager_error_get_type): add new error
3376                 - (nm_manager_remove_device): don't bother taking down the device here,
3377                         the state change from unmanaging the device will do it
3378                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3379                         uses it; when going to sleep, just unmanage the device instead of
3380                         taking it down, because stuff will cleaned up correctly when the
3381                         device gets unmanaged
3382
3383 2008-04-28  Dan Williams  <dcbw@redhat.com>
3384
3385         * src/nm-hal-manager.c
3386                 - (add_initial_devices): convert to a GSourceFunc prototype
3387                 - (nm_manager_state_changed): when coming out of sleep, punt the
3388                         device re-addition to an idle handler to let D-Bus events go out
3389                         first, fixing a potential dbus-glib assert if the old device was
3390                         not yet disposed (due to references held while emitting the D-Bus
3391                         signals) but the new device was found, because the mainloop didn't
3392                         run between signal emission and add_initial_devices()
3393
3394 2008-04-27  Dan Williams  <dcbw@redhat.com>
3395
3396         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3397
3398         * initscript/paldo/NetworkManager.in
3399           initscript/SUSE/networkmanager.in
3400                 - Remove last bits of dhcdbd
3401
3402 2008-04-27  Dan Williams  <dcbw@redhat.com>
3403
3404         * src/nm-device-802-11-wireless.c
3405                 - (link_timeout_cb): don't ask for secrets when disconnected during
3406                         association/authentication phase, drivers are still just too crappy
3407
3408 2008-04-27  Dan Williams  <dcbw@redhat.com>
3409
3410         * Makefile.am
3411           configure.in
3412           dispatcher-daemon/Makefile.am
3413           dispatcher-daemon/NetworkManagerDispatcher.c
3414           initscript/Arch/Makefile.am
3415           initscript/Arch/networkmanager-dispatcher.in
3416           initscript/Gentoo/Makefile.am
3417           initscript/Gentoo/NetworkManagerDispatcher.in
3418           initscript/Mandriva/Makefile.am
3419           initscript/Mandriva/networkmanagerdispatcher.in
3420           initscript/RedHat/Makefile.am
3421           initscript/RedHat/NetworkManagerDispatcher.in
3422           initscript/SUSE/Makefile.am
3423           initscript/SUSE/networkmanager-dispatcher.in
3424           initscript/Slackware/Makefile.am
3425           initscript/Slackware/rc.networkmanager-dispatcher.in
3426           initscript/paldo/Makefile.am
3427           initscript/paldo/NetworkManagerDispatcher.in
3428           man/Makefile.am
3429           man/NetworkManagerDispatcher.8.in
3430                 - Remove the dispatcher daemon
3431
3432 2008-04-27  Dan Williams  <dcbw@redhat.com>
3433
3434         * callouts/Makefile.am
3435           callouts/nm-dispatcher-action.c
3436           callouts/nm-dispatcher-action.h
3437           callouts/nm-dispatcher.conf
3438           callouts/nm-dispatcher.xml
3439           callouts/org.freedesktop.nm_dispatcher.service
3440                 - Re-implement the dispatcher as a system-bus activated service that
3441                         NM calls on-demand, rather than an always running daemon
3442
3443         * src/Makefile.am
3444                 - Add callouts dir to includes to pick up dispatcher defines
3445
3446         * src/nm-device.c
3447                 - (nm_device_state_changed): call dispatcher on device activated/
3448                         deactivated
3449
3450         * src/vpn-manager/nm-vpn-connection.c
3451                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3452                         go up and down
3453
3454         * src/NetworkManagerUtils.c
3455           src/NetworkManagerUtils.h
3456                 - (nm_utils_call_dispatcher): helper to call dispatcher
3457
3458 2008-04-27  Dan Williams  <dcbw@redhat.com>
3459
3460         * src/NetworkManagerUtils.c
3461           src/NetworkManagerUtils.h
3462                 - remove unneeded includes
3463                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3464                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3465                    nm_timeval_cmp, nm_timeval_add): remove, unused
3466                 - clean up formatting
3467                 - (nm_spawn_process): de-uglify
3468
3469         * src/nm-device-802-11-wireless.c
3470                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3471
3472 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3473
3474         * initscript/Gentoo/NetworkManager.in:
3475                 Fix for starting the daemon.
3476
3477 2008-04-25  Dan Williams  <dcbw@redhat.com>
3478
3479         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3480
3481         * src/NetworkManagerSystem.c
3482                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3483
3484 2008-04-25  Dan Williams  <dcbw@redhat.com>
3485
3486         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3487
3488         * src/NetworkManagerSystem.c
3489                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3490                         implementation of nm_system_device_replace_default_route()
3491
3492         * src/NetworkManagerPolicy.c
3493                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3494
3495         * src/backends/NetworkManagerArch.c
3496           src/backends/NetworkManagerDebian.c
3497           src/backends/NetworkManagerFrugalware.c
3498           src/backends/NetworkManagerGeneric.c
3499           src/backends/NetworkManagerGeneric.h
3500           src/backends/NetworkManagerGentoo.c
3501           src/backends/NetworkManagerMandriva.c
3502           src/backends/NetworkManagerPaldo.c
3503           src/backends/NetworkManagerRedHat.c
3504           src/backends/NetworkManagerSlackware.c
3505           src/backends/NetworkManagerSuSE.c
3506                 - (nm_system_device_replace_default_route): remove
3507
3508 2008-04-25  Dan Williams  <dcbw@redhat.com>
3509
3510         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3511
3512         * src/NetworkManagerSystem.c
3513                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3514                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3515                         replace nm_system_device_add_route_via_device_with_iface() in the
3516                         backends
3517
3518         * src/backends/NetworkManagerArch.c
3519           src/backends/NetworkManagerDebian.c
3520           src/backends/NetworkManagerFrugalware.c
3521           src/backends/NetworkManagerGeneric.c
3522           src/backends/NetworkManagerGeneric.h
3523           src/backends/NetworkManagerGentoo.c
3524           src/backends/NetworkManagerMandriva.c
3525           src/backends/NetworkManagerPaldo.c
3526           src/backends/NetworkManagerRedHat.c
3527           src/backends/NetworkManagerSlackware.c
3528           src/backends/NetworkManagerSuSE.c
3529                 - Remove nm_system_device_add_route_via_device_with_iface()
3530
3531 2008-04-25  Dan Williams  <dcbw@redhat.com>
3532
3533         * system-settings/plugins/ifcfg-fedora/parser.c
3534                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3535
3536 2008-04-24  Dan Williams  <dcbw@redhat.com>
3537
3538         * dispatcher-daemon/NetworkManagerDispatcher.c
3539                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3540
3541 2008-04-24  Dan Williams  <dcbw@redhat.com>
3542
3543         * initscript/RedHat/NetworkManager.in
3544           initscript/RedHat/NetworkManagerDispatcher.in
3545                 - Be active at runlevel 2
3546                 - Adjust priorities earlier
3547
3548 2008-04-22  Dan Williams  <dcbw@redhat.com>
3549
3550         * src/NetworkManagerPolicy.c
3551                 - (update_routing_and_dns): when checking for a gateway, look at the
3552                         composite IP4 config, not the connection's ip4-config setting, which
3553                         doesn't include DHCP-returned information
3554
3555 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3556
3557         Implement GKeyFile system settings plugin.
3558         Implement writing system settings (currently supported only by GKeyFile plugin).
3559
3560         * system-settings/src/main.c: 
3561         * system-settings/src/dbus-settings.c: Move the communication with plugins
3562         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3563         plugins for adding/updating/removing connections.
3564
3565         * system-settings/src/nm-system-config-interface.c
3566         (nm_system_config_interface_add_connection): Implement
3567         (nm_system_config_interface_update_connection): Implement.
3568         (nm_system_config_interface_remove_connection): Implement.
3569
3570         * system-settings/plugins/keyfile/Makefile.am:
3571         * system-settings/plugins/keyfile/plugin.[ch]:
3572         * system-settings/plugins/keyfile/writer.[ch]:
3573         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3574
3575         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3576
3577         * configure.in: Generate GKeyFile Makefile.
3578
3579         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3580         corruption, need to duplicate the returned string.
3581         (impl_exported_connection_update): Implement.
3582         (impl_exported_connection_delete): Implement.
3583
3584         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3585
3586         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3587
3588 2008-04-22  Dan Williams  <dcbw@redhat.com>
3589
3590         Patch from Charles R. Anderson (cra@wpi.edu)
3591
3592         * src/NetworkManagerPolicy.c
3593                 - (update_routing_and_dns): don't select devices without a gateway
3594                         as having the default route (rh #437338)
3595
3596 2008-04-21  Dan Williams  <dcbw@redhat.com>
3597
3598         * src/nm-activation-request.c
3599           src/nm-activation-request.h
3600                 - (dispose): ensure to disconnect from the device's state-changed signal
3601                         when appropriate so the signal doesn't get handled by an already
3602                         disposed NMActRequest
3603                 - (device_state_changed): update is_default here too just to make sure
3604                         default is only True when the child device is activated
3605                 - (nm_act_request_set_default): new function
3606
3607         * src/NetworkManagerPolicy.c
3608                 - (update_routing_and_dns): set 'default' on the active connection which
3609                         has the default route and DNS
3610
3611 2008-04-21  Dan Williams  <dcbw@redhat.com>
3612
3613         * src/NetworkManagerPolicy.c
3614                 - (device_state_changed): update routing and DNS when a device goes
3615                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3616
3617 2008-04-21  Dan Williams  <dcbw@redhat.com>
3618
3619         * include/NetworkManager.h
3620                 - Add NMActiveConnectionState enum
3621
3622         * introspection/nm-active-connection.xml
3623           introspection/nm-vpn-connection.xml
3624                 - Add 'State' property for overall active connection state
3625                 - Add 'Default' property, when True means this active connection
3626                         has the default route
3627                 - Add PropertyChanged signals so changes actually go out over the bus
3628
3629         * src/nm-active-connection.h
3630                 - Add defines for State & Default properties
3631
3632         * src/nm-activation-request.c
3633                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3634                         signal to determine active connection state
3635
3636         * src/vpn-manager/nm-vpn-connection.c
3637           src/vpn-manager/nm-vpn-connection.h
3638           src/vpn-manager/nm-vpn-manager.c
3639           src/vpn-manager/nm-vpn-service.c
3640                 - Rename old 'state' to 'vpn-state'
3641                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3642                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3643                         'vpn-state-changed' signal
3644
3645         * libnm-glib/nm-active-connection.c
3646           libnm-glib/nm-active-connection.h
3647                 - Add new 'state' and 'default' properties and accessors
3648
3649         * libnm-glib/nm-vpn-connection.c
3650           libnm-glib/nm-vpn-connection.h
3651                 - Rename old 'state' property to 'vpn-state'
3652                 - Add new 'state' and 'default' properties and accessors
3653
3654 2008-04-21  Dan Williams  <dcbw@redhat.com>
3655
3656         * src/nm-ip4-config.c
3657                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3658                         not specified (rh #443474)
3659
3660 2008-04-20  Dan Williams  <dcbw@redhat.com>
3661
3662         * src/NetworkManagerUtils.c
3663           src/NetworkManagerUtils.h
3664                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3665                         NMSettingIP4Config to an NMIP4Config object
3666
3667         * src/nm-device.c
3668                 - (merge_ip4_config): move to NetworkManagerUtils.c
3669
3670         * src/vpn-manager/nm-vpn-connection.c
3671                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3672                         too
3673
3674 2008-04-18  Dan Williams  <dcbw@redhat.com>
3675
3676         * libnm-util/nm-setting-ppp.c
3677           libnm-util/nm-setting-ppp.h
3678                 - Add 'no-vj-comp' option for TCP header compression
3679                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3680                         uint32
3681
3682 2008-04-18  Dan Williams  <dcbw@redhat.com>
3683
3684         * libnm-util/nm-setting-ppp.c
3685           libnm-util/nm-setting-ppp.h
3686           src/ppp-manager/nm-ppp-manager.c
3687                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3688
3689 2008-04-18  Dan Williams  <dcbw@redhat.com>
3690
3691         * libnm-util/nm-setting-ppp.c
3692           libnm-util/nm-setting-ppp.h
3693           src/ppp-manager/nm-ppp-manager.c
3694                 - Remove the 'usepeerdns' option and always request DNS servers from
3695                         the PPP server; the connection chooses to use/override/ignore the
3696                         DNS servers returned from the PPP server
3697
3698 2008-04-18  Dan Williams  <dcbw@redhat.com>
3699
3700         * libnm-util/nm-setting-ppp.c
3701           libnm-util/nm-setting-ppp.h
3702           src/ppp-manager/nm-ppp-manager.c
3703                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3704                         it seems to have been an erroneous addition to the PPTP plugin in
3705                         the first place (from which the ppp-manager is derived)
3706
3707 2008-04-17  Dan Williams  <dcbw@redhat.com>
3708
3709         * libnm-util/nm-setting-pppoe.c
3710                 - (verify): require a PPP setting too
3711
3712         * src/ppp-manager/nm-ppp-manager.c
3713                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3714                         segfaulting
3715
3716 2008-04-17  Dan Williams  <dcbw@redhat.com>
3717
3718         * src/nm-device.c
3719                 - (nm_device_state_changed): do deactivation and and promotion to
3720                         unavailable here, so that the device gets cleaned up before the
3721                         manager runs and starts emitting signals; do the
3722                         FAILED->DISCONNECTED transition from an idle handler rather than
3723                         immediately to guard against recursion
3724                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3725                         FAILED->DISCONNECTED handler if it's scheduled
3726
3727 2008-04-17  Dan Williams  <dcbw@redhat.com>
3728
3729         * src/nm-device-802-11-wireless.c
3730                 - (state_changed_cb): clear AP list when device transitions to
3731                         unavailable or unmanaged
3732                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3733                         since this is already done in device_cleanup()
3734                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3735                         isn't available or managed
3736                 - (device_cleanup): use remove_all_aps()
3737                 - (remove_all_aps): consolidate code removing all APs
3738
3739 2008-04-17  Dan Williams  <dcbw@redhat.com>
3740
3741         * src/nm-serial-device.c
3742           src/nm-serial-device.h
3743                 - (wait_for_reply_got_data): break input into lines, and search each
3744                         line for responses _and_ terminator strings; also make sure that
3745                         the read loop doesn't continue after the timeout is supposed to fire
3746                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3747
3748         * src/nm-gsm-device.c
3749           src/nm-cdma-device.c
3750                 - Send terminators to nm_serial_device_wait_for_reply()
3751
3752 2008-04-16  Dan Williams  <dcbw@redhat.com>
3753
3754         Patch from 陈鑫 <znscnchen@gmail.com>
3755
3756         * src/ppp-manager/nm-pppd-plugin.c
3757                 - (get_credentials): return correct value for success; handle case where
3758                         pppd just does some checking but doesn't want a password
3759                 - (plugin_init): make CHAP work too
3760
3761 2008-04-16  Dan Williams  <dcbw@redhat.com>
3762
3763         Patch from 陈鑫 <znscnchen@gmail.com>
3764
3765         * src/ppp-manager/nm-ppp-manager.c
3766                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3767
3768 2008-04-16  Dan Williams  <dcbw@redhat.com>
3769
3770         Patch from 陈鑫 <znscnchen@gmail.com>
3771
3772         * src/nm-device-802-3-ethernet.c
3773                 - (real_deactivate_quickly): clear the IP interface name on
3774                         deactivation, otherwise the wrong interface might get used later
3775                         for routing and IP management
3776
3777 2008-04-15  Dan Williams  <dcbw@redhat.com>
3778
3779         * libnm-glib/nm-device.c
3780                 - (get_product_and_vendor): handle serial devices correctly
3781                 - (nm_device_update_description): pass device to get_product_and_vendor()
3782
3783 2008-04-15  Dan Williams  <dcbw@redhat.com>
3784
3785         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3786
3787         * src/NetworkManagerSystem.h
3788           src/backends/NetworkManagerArch.c
3789           src/backends/NetworkManagerDebian.c
3790           src/backends/NetworkManagerFrugalware.c
3791           src/backends/NetworkManagerGeneric.c
3792           src/backends/NetworkManagerGeneric.h
3793           src/backends/NetworkManagerGentoo.c
3794           src/backends/NetworkManagerMandriva.c
3795           src/backends/NetworkManagerPaldo.c
3796           src/backends/NetworkManagerRedHat.c
3797           src/backends/NetworkManagerSlackware.c
3798           src/backends/NetworkManagerSuSE.c
3799           src/nm-device.c
3800                 - (nm_generic_device_add_ip6_link_address,
3801                    nm_system_device_add_ip6_link_address): remove
3802
3803 2008-04-15  Dan Williams  <dcbw@redhat.com>
3804
3805         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3806
3807         * src/backends/NetworkManagerArch.c
3808           src/backends/NetworkManagerDebian.c
3809           src/backends/NetworkManagerFrugalware.c
3810           src/backends/NetworkManagerGeneric.c
3811           src/backends/NetworkManagerGeneric.h
3812           src/backends/NetworkManagerGentoo.c
3813           src/backends/NetworkManagerMandriva.c
3814           src/backends/NetworkManagerPaldo.c
3815           src/backends/NetworkManagerRedHat.c
3816           src/backends/NetworkManagerSlackware.c
3817           src/backends/NetworkManagerSuSE.c
3818           src/NetworkManagerSystem.h
3819                 - flush_routes -> flush_ip4_routes
3820                 - flush_addresses -> flush_ip4_addresses
3821
3822         * src/NetworkManagerSystem.c
3823           src/nm-device.c
3824           src/vpn-manager/nm-vpn-connection.c
3825                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3826
3827 2008-04-15  Dan Williams  <dcbw@redhat.com>
3828
3829         Remove exposure of wireless-tools mode types in the API.
3830
3831         * include/NetworkManager.h
3832                 - Define NM80211Mode enum
3833
3834         * introspection/generic-types.xml
3835                 - Describe NM_802_11_MODE enum
3836                 - Remove IW_MODE_* enum
3837
3838         * introspection/nm-access-point.xml
3839           libnm-glib/nm-access-point.c
3840           libnm-glib/nm-access-point.h
3841                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3842
3843         * introspection/nm-device-802-11-wireless.xml
3844           libnm-glib/nm-device-802-11-wireless.c
3845           libnm-glib/nm-device-802-11-wireless.h
3846                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3847
3848         * libnm-util/nm-setting-wireless.c
3849           src/NetworkManagerAP.c
3850           src/NetworkManagerAP.h
3851           src/nm-device-802-11-wireless.c
3852           src/nm-device-802-11-wireless.h
3853           test/nm-tool.c
3854                 - Use NM80211Mode not IW_MODE_*
3855
3856 2008-04-15  Dan Williams  <dcbw@redhat.com>
3857
3858         Enhance nm-online based on a patch from Bill Nottingham.
3859
3860         * test/nm-online.c
3861                 - Add a '-q' option
3862                 - Add help messages and option summary
3863                 - Add long-format options
3864                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3865
3866 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3867
3868         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3869
3870         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3871
3872 2008-04-15  Dan Williams  <dcbw@redhat.com>
3873
3874         * nm-setting-ip4-config.c
3875                 - (ip4_addresses_from_gvalue): handle NULL address array
3876
3877         * nm-setting-8021x.c
3878                 - (verify_tls, verify_ttls): warn on failed verification
3879
3880 2008-04-10  Dan Williams  <dcbw@redhat.com>
3881
3882         * src/nm-gsm-device.c
3883                 - (automatic_registration): accept "+CREG: 0,0"
3884                 - (automatic_registration_response): fail on "+CREG: 0,0"
3885
3886 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3887
3888         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3889
3890 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3891
3892         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3893         Make it compile again by commenting out broken code that at first didn't work and
3894         now didn't compile either.
3895
3896 2008-04-08  Dan Williams  <dcbw@redhat.com>
3897
3898         * libnm-glib/nm-object-cache.c
3899           libnm-glib/nm-settings.c
3900           src/dhcp-manager/nm-dhcp-manager.c
3901           system-settings/plugins/ifcfg-fedora/plugin.c
3902           system-settings/plugins/ifcfg-suse/plugin.c
3903           system-settings/src/nm-system-config-hal-manager.c
3904           libnm-util/nm-utils.c
3905                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3906                         not threadsafe anyway
3907
3908 2008-04-08  Dan Williams  <dcbw@redhat.com>
3909
3910         * system-settings/src/main.c
3911                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3912                         callbacks take a device type too
3913
3914 2008-04-08  Dan Williams  <dcbw@redhat.com>
3915
3916         The system settings service will now create a new default DHCP connection
3917         for wired devices that have no existing applicable connection.
3918
3919         * system-settings/src/nm-system-config-hal-manager.c
3920           system-settings/src/nm-system-config-hal-manager.h
3921                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3922
3923         * system-settings/src/dbus-settings.c
3924           system-settings/src/dbus-settings.h
3925                 - (nm_sysconfig_settings_get_connections): new function
3926                 - (nm_sysconfig_settings_is_device_managed): new function
3927
3928         * system-settings/src/main.c
3929                 - (load_stuff): check for wired devices that need a default connection
3930                 - (get_details_for_udi): get interface and MAC address from HAL
3931                 - (add_default_dhcp_connection): add a default connection for a wired
3932                         device if needed
3933                 - (device_added_cb, device_removed_cb): do the right thing with
3934                         wired devices and their default connections on HAL device events
3935
3936 2008-04-07  Dan Williams  <dcbw@redhat.com>
3937
3938         * libnm-glib/nm-device.c
3939           libnm-glib/nm-device.h
3940                 - Proxy the 'managed' property
3941
3942 2008-04-07  Dan Williams  <dcbw@redhat.com>
3943
3944         * src/nm-gsm-device.c
3945           src/nm-cdma-device.c
3946                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3947                         handler to transition to DISCONNECTED
3948
3949 2008-04-07  Dan Williams  <dcbw@redhat.com>
3950
3951         Patch from Bill Nottingham
3952
3953         * dispatcher-daemon/NetworkManagerDispatcher.c
3954                 - ignore backup/packaging crufy (rh #440143)
3955
3956 2008-04-07  Dan Williams  <dcbw@redhat.com>
3957
3958         * include/NetworkManager.h
3959                 - Remove the DOWN and CANCELLED device states
3960                 - Add UNMANAGED and UNAVAILABLE device states
3961                 - Document the device states
3962
3963         * introspection/nm-device.xml
3964           src/nm-device-interface.c
3965           src/nm-device-interface.h
3966                 - Add the 'managed' property
3967
3968         * test/nm-tool.c
3969                 - (detail_device): print out device state
3970
3971         * src/NetworkManagerSystem.h
3972           src/backends/NetworkManagerArch.c
3973           src/backends/NetworkManagerDebian.c
3974           src/backends/NetworkManagerFrugalware.c
3975           src/backends/NetworkManagerGentoo.c
3976           src/backends/NetworkManagerMandriva.c
3977           src/backends/NetworkManagerPaldo.c
3978           src/backends/NetworkManagerRedHat.c
3979           src/backends/NetworkManagerSlackware.c
3980           src/backends/NetworkManagerSuSE.c
3981                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3982                    nm_system_device_free_system_config): remove; they were unused and
3983                         their functionality should be re-implemented in each distro's
3984                         system settings service plugin 
3985
3986         * src/nm-gsm-device.c
3987           src/nm-gsm-device.h
3988           src/nm-cdma-device.c
3989           src/nm-cdma-device.h
3990                 - (*_new): take the 'managed' argument
3991
3992         * src/nm-device.c
3993                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3994                 - (nm_device_init): start in unmanaged state, not disconnected
3995                 - (constructor): don't start device until the system settings service
3996                         has had a chance to figure out if the device is managed or not
3997                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3998                         don't set device state here, let callers handle that as appropriate
3999                 - (nm_device_dispose): don't touch the device if it's not managed
4000                 - (set_property, get_property, nm_device_class_init): implement the
4001                         'managed' property
4002                 - (nm_device_state_changed): bring the device up if its now managed,
4003                         and deactivate it if it used to be active
4004                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4005                         with the managed state
4006
4007         * src/nm-hal-manager.c
4008                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4009                         take initial managed state and pass it along to device constructors
4010                 - (create_device_and_add_to_list): get managed state and pass to
4011                         type creators
4012
4013         * src/nm-device-802-11-wireless.c
4014                 - (real_can_activate): fold in most of
4015                         nm_device_802_11_wireless_can_activate()
4016                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4017                 - (link_timeout_cb): instead of deactivating, change device state and
4018                         let the device state handler to it
4019                 - (real_update_hw_address): clean up
4020                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4021                         handler to transition to DISCONNECTED if the device isn't rfkilled
4022
4023         * src/nm-device-802-3-ethernet.c
4024                 - (set_carrier): move above callers and get rid of prototype
4025                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4026                         idle handler to transition to DISCONNECTED if the device has a
4027                         carrier
4028                 - (real_update_hw_address): clean up
4029                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4030                         deactivation directly as deactivation doesn't change state anymore
4031
4032         * src/NetworkManagerPolicy.c
4033                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4034                         the NMManager and wireless devices work that out themselves now
4035                 - (device_state_changed): change to a switch and update for new device
4036                         states
4037                 - (device_carrier_changed): remove; device handles this now through
4038                         state changes
4039                 - (device_added): don't care about carrier any more; the initial
4040                         activation check will happen when the device transitions to
4041                         DISCONNECTED
4042
4043         * src/nm-manager.c
4044                 - (dispose): clear unmanaged devices
4045                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4046                         the managed property on each device when needed
4047                 - (system_settings_properties_changed_cb): handle signals from the
4048                         system settings service
4049                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4050                         getting the unmanaged device list method call
4051                 - (query_unmanaged_devices): ask the system settings service for its
4052                         list of unmanaged devices
4053                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4054                         devices
4055                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4056                         devices directly and let them handle the necessary state transitions
4057                 - (manager_device_state_changed): update for new device states
4058                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4059                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4060                 - (nm_manager_activate_connection): return error if the device is
4061                         unmanaged
4062                 - (nm_manager_sleep): handle new device states correctly; don't change
4063                         the state of unavailable/unmanaged devices
4064
4065         * libnm-glib/nm-device-802-11-wireless.c
4066                 - (state_changed_cb): update for new device states
4067
4068 2008-04-07  Dan Williams  <dcbw@redhat.com>
4069
4070         * marshallers/nm-marshal.list
4071                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4072
4073 2008-04-07  Dan Williams  <dcbw@redhat.com>
4074
4075         * system-settings/src/main.c
4076                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4077                         plugins to the dbus settings object
4078                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4079                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4080                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4081                 - (main): switch default logging to syslog with a 'debug' option to
4082                         output to console; start up the HAL manager
4083
4084 2008-04-07  Dan Williams  <dcbw@redhat.com>
4085
4086         * introspection/nm-settings-system.xml
4087           introspection/Makefile.am
4088                 - Define the unmanaged devices interface for the system settings service
4089
4090         * system-settings/src/nm-system-config-hal-manager.c
4091           system-settings/src/nm-system-config-hal-manager.h
4092           system-settings/src/nm-system-config-hal-manager-private.h
4093           system-settings/src/Makefile.am
4094                 - Add a lightweight HAL manager object for tracking network devices for
4095                         the purpose of determining unmanaged devices and which devices need
4096                         the default DHCP connections
4097
4098         * system-settings/src/nm-system-config-interface.c
4099           system-settings/src/nm-system-config-interface.h
4100                 - (nm_system_config_interface_init): add the HAL manager as an argument
4101                 - (nm_system_config_interface_get_unmanaged_devices): implement
4102                 - Define 'unmanaged-devices-changed' signal
4103
4104         * system-settings/src/dbus-settings.c
4105           system-settings/src/dbus-settings.h
4106                 - Implement the unmanaged devices interface; some cleanups
4107
4108         * system-settings/plugins/ifcfg-suse/plugin.c
4109                 - Fixup for plugin interface changes
4110
4111         * system-settings/plugins/ifcfg-fedora/plugin.c
4112                 - (get_ether_device_udi): new function; find the device that has
4113                         a specified MAC address and return its UDI
4114                 - (get_udi_for_connection): new function; try to find the specific
4115                         device a connection is locked to, if any
4116                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4117                         response to HAL events
4118                 - (get_unmanaged_devices): new function; return unmanaged device list
4119                 - (build_one_connection): set the connection's locked device, if any
4120                 - (write_auto_wired_connection): remove
4121                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4122                 - (handle_connection_changed): alert listeners that the unmanaged device
4123                         list has changed
4124                 - (init): fixup for plugin interface changes, implement unmanaged devices
4125
4126         * system-settings/plugins/ifcfg-fedora/parser.c
4127           system-settings/plugins/ifcfg-fedora/parser.h
4128                 - (connection_data_free): clean up connection UDI
4129
4130 2008-04-07  Dan Williams  <dcbw@redhat.com>
4131
4132         * system-settings/plugins/ifcfg-fedora/parser.c
4133                 - (make_ip4_setting): fix parsing of DNS servers
4134
4135 2008-04-05  Dan Williams  <dcbw@redhat.com>
4136
4137         * Makefile.am
4138           configure.in
4139           marshallers/Makefile.am
4140           marshallers/nm-marshal-main.c
4141           marshallers/nm-marshal.list
4142                 - Consolidate marshallers
4143
4144         * libnm-glib/nm-marshal-main.c
4145           libnm-glib/nm-marshal.list
4146           src/marshallers/Makefile.am
4147           src/marshallers/nm-marshal-main.c
4148           src/marshallers/nm-marshal.list
4149                 - Remove
4150
4151         * libnm-glib/Makefile.am
4152           src/Makefile.am
4153           src/dhcp-manager/Makefile.am
4154           src/ppp-manager/Makefile.am
4155           src/supplicant-manager/Makefile.am
4156           src/vpn-manager/Makefile.am
4157                 - Use consolidated marshallers
4158
4159 2008-04-04  Dan Williams  <dcbw@redhat.com>
4160
4161         * src/nm-hal-manager.c
4162           src/nm-hal-manager.h
4163                 - (hal_init): don't look for hardware here
4164                 - (nm_hal_manager_start): new function; look for hardware here instead,
4165                         which can be done at a later time than hal_init()
4166
4167         * src/NetworkManager.c
4168                 - (main): start HAL manager after entering the main loop
4169
4170 2008-04-03  Dan Williams  <dcbw@redhat.com>
4171
4172         * libnm-glib/nm-settings.c
4173           libnm-glib/nm-settings.h
4174             - (nm_exported_connection_get_id): new function
4175                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4176
4177 2008-04-02  Dan Williams  <dcbw@redhat.com>
4178
4179         * src/nm-device-interface.c
4180           src/nm-device-interface.h
4181           src/nm-device.c
4182           src/nm-device.h
4183                 - Rename check_connection_conflicts() to check_connection_compatible()
4184
4185         * src/nm-device-802-11-wireless.c
4186                 - (real_check_connection_conflicts): remove
4187                 - (real_check_connection_compatible): implement; match MAC address
4188
4189         * src/nm-device-802-3-ethernet.c
4190                 - (real_check_connection_conflicts): remove
4191                 - (real_check_connection_compatible): implement; match MAC address
4192                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4193
4194         * src/nm-manager.c
4195                 - (check_connection_allowed): remove; unused until PolicyKit integration
4196                 - (internal_activate_device): check whether the connection is compatible
4197                         with the device before trying to activate it
4198
4199 2008-04-02  Dan Williams  <dcbw@redhat.com>
4200
4201         * system-settings/plugins/ifcfg-fedora/parser.c
4202                 - (read_mac_address): new function; read in MAC address and stuff it
4203                         into the connection
4204                 - (add_one_wep_key): remove debug spew
4205                 - (make_wireless_security_setting): validate the default TX key; don't
4206                         add the wireless-security setting if the connection doesn't need
4207                         security; don't leak the keys shvarFile on error cases
4208                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4209                         address
4210
4211 2008-04-02  Dan Williams  <dcbw@redhat.com>
4212
4213         * libnm-util/nm-setting-connection.c
4214           libnm-util/nm-setting-connection.h
4215                 - (set_property, get_property, nm_setting_connection_class_init): remove
4216                         the 'lockdown' property; it's functionality will be replaced by
4217                         PolicyKit instead
4218
4219 2008-04-01  Dan Williams  <dcbw@redhat.com>
4220
4221         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4222
4223         * configure.in
4224           initscript/Makefile.am
4225           initscript/Mandriva/Makefile.am
4226           initscript/Mandriva/networkmanager.in
4227           initscript/Mandriva/networkmanagerdispatcher.in
4228           src/backends/Makefile.am
4229           src/backends/NetworkManagerMandriva.c
4230           system-settings/plugins/Makefile.am
4231                 - Add Mandriva support
4232
4233 2008-03-31  Dan Williams  <dcbw@redhat.com>
4234
4235         * src/vpn-manager/nm-vpn-service.c
4236                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4237                         errors can be passed back to the caller; also no longer scheduled
4238                         as an idle handler, but called directly; and bump up VPN service
4239                         spawn timeout, 2s is really short
4240                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4241                         but call it directly so that errors are reported on return from
4242                         ActivateConnection() and don't get lost.  If scheduled as an idle
4243                         handler, clients don't have the time to query NM for the new VPN
4244                         connection's properties before the VPN connection is torn down again
4245                         if the service couldn't be launched, and therefore launch errors
4246                         get lost.
4247
4248 2008-03-31  Dan Williams  <dcbw@redhat.com>
4249
4250         * src/vpn-manager/nm-vpn-connection.c
4251                 - (device_state_changed): send correct state on device failure too
4252                 - (plugin_state_changed): failed state means unexpected disconnection,
4253                         thus if the service goes away while the VPN connection is activated
4254                         that's a failure too
4255
4256 2008-03-31  Dan Williams  <dcbw@redhat.com>
4257
4258         * src/vpn-manager/nm-vpn-manager.c
4259           src/vpn-manager/nm-vpn-manager.h
4260                 - Make VPNManager errors more available; add a service-start-failed error
4261
4262 2008-03-31  Dan Williams  <dcbw@redhat.com>
4263
4264         * libnm-glib/nm-client.c
4265           libnm-glib/nm-client.h
4266                 - (activate_cb): pass the new active connection to callback; fix
4267                         message when no callback is specified
4268
4269 2008-03-30  Dan Williams  <dcbw@redhat.com>
4270
4271         * libnm-util/nm-setting-wireless-security.c
4272                 - (need_secrets): only require key0 if the transmit key index is also
4273                         0
4274                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4275
4276 2008-03-29  Dan Williams  <dcbw@redhat.com>
4277
4278         * libnm-util/nm-setting-8021x.c
4279           libnm-util/nm-setting-ip4-config.c
4280           libnm-util/nm-setting-vpn-properties.c
4281           libnm-util/nm-setting-vpn.c
4282           libnm-util/nm-setting-wireless-security.c
4283           libnm-util/nm-setting-wireless.c
4284           libnm-util/nm-utils.c
4285           src/dhcp-manager/nm-dhcp-manager.c
4286           src/nm-activation-request.c
4287           src/nm-ip4-config.c
4288           src/nm-manager.c
4289           src/nm-properties-changed-signal.c
4290           src/ppp-manager/nm-pppd-plugin.c
4291           src/supplicant-manager/nm-supplicant-interface.c
4292           src/vpn-manager/nm-vpn-connection.c
4293                 - consistently use nm-dbus-glib-types.h
4294
4295 2008-03-29  Dan Williams  <dcbw@redhat.com>
4296
4297         * src/vpn-manager/nm-vpn-connection.c
4298                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4299                         not string
4300
4301         * src/nm-activation-request.c
4302                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4303                         not string
4304
4305 2008-03-29  Dan Williams  <dcbw@redhat.com>
4306
4307         * libnm-glib/nm-device-802-11-wireless.c
4308                 - (access_point_added_proxy): create new APs if not found
4309
4310 2008-03-29  Dan Williams  <dcbw@redhat.com>
4311
4312         * libnm-glib/nm-client.c
4313                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4314                         before freeing them
4315
4316 2008-03-29  Dan Williams  <dcbw@redhat.com>
4317
4318         * system-settings/plugins/ifcfg-fedora/parser.c
4319                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4320                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4321
4322 2008-03-29  Dan Williams  <dcbw@redhat.com>
4323
4324         * system-settings/plugins/ifcfg-fedora/parser.c
4325                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4326
4327 2008-03-27  Dan Williams  <dcbw@redhat.com>
4328
4329         * nm-object.c
4330                 - (nm_object_queue_notify): don't notify multiple times for the same
4331                         property
4332
4333         * nm-object-private.h
4334                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4335                         if it has zero elements
4336
4337         * nm-ip4-config.c
4338                 - (finalize): use g_ptr_array_foreach() when freeing domains
4339                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4340
4341         * nm-active-connection.c
4342                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4343
4344         * nm-device-802-11-wireless.c
4345           nm-device-802-11-wireless.h
4346                 - (nm_device_802_11_wireless_get_access_points): return const; use
4347                         handle_ptr_array_return()
4348
4349         * nm-types.c
4350                 - (nm_object_array_demarshal): always create an array, even of length
4351                         zero, to distinguish between "NM returned no items" and "haven't
4352                         asked NM yet"
4353
4354         * nm-client.c
4355                 - (dispose): free active connections too
4356                 - (proxy_name_owner_changed): free active connections too when NM goes
4357                         away
4358                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4359                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4360
4361 2008-03-26  Dan Williams  <dcbw@redhat.com>
4362
4363         Rework VPN connection handling for a more consistent D-Bus API.  The
4364         VPNManager object has been removed, and active VPN connections are now the
4365         same as any other active connection.  The Manager object's ActivateConnection
4366         and DeactivateConnection methods are used to start and stop a VPN connection,
4367         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4368         When activating a VPN connection, pass the path of the active connection
4369         to which the VPN connection is tied in the 'specific_object' argument.
4370
4371         Consequently, the libnm-glib API has been reworked to match this arrangement,
4372         with the VPNManager object removed, and the NMVPNConnection objects now
4373         being subclasses of NMActiveConnection.
4374
4375 2008-03-25  Dan Williams  <dcbw@redhat.com>
4376
4377         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4378
4379         * initscript/Arch/networkmanager.in
4380           initscript/Arch/networkmanager-dispatcher.in
4381                 - Updates for Arch Linux (gnome.org #523701)
4382
4383 2008-03-25  Dan Williams  <dcbw@redhat.com>
4384
4385         * libnm-glib/nm-ip4-config.c
4386           libnm-glib/nm-active-connection.c
4387           libnm-glib/nm-access-point.c
4388                 - Use nm_object_queue_notify() instead of g_object_notify()
4389
4390         * libnm-glib/nm-device.c
4391                 - (demarshal_ip4_config): distinguish between successful but missing
4392                         ip4-config request, and unsuccessful and missing ip4-config request
4393                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4394                         path
4395                 - Use nm_object_queue_notify() instead of g_object_notify()
4396
4397         * libnm-glib/nm-device-802-11-wireless.c
4398                 - (demarshal_active_ap): distinguish between successfull but missing
4399                         active-ap request, and unsuccessful and missing active-ap request
4400                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4401                         code
4402                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4403                         for the NMClient to notify the device that wireless is disabled,
4404                         and therefore to clear the AP list and active AP
4405                 - Use nm_object_queue_notify() instead of g_object_notify()
4406
4407         * libnm-glib/nm-client.c
4408                 - (poke_wireless_devices_with_rf_status): new function
4409                 - (update_wireless_status): notify wireless devices of the rfkill status
4410                         so they can clean up if needed
4411                 - Use nm_object_queue_notify() instead of g_object_notify()
4412
4413 2008-03-25  Dan Williams  <dcbw@redhat.com>
4414
4415         * libnm-glib/nm-object.c
4416           libnm-glib/nm-object-private.h
4417                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4418                         signals to an idle handler
4419                 - (nm_object_get_property): add a timeout to the D-Bus method call
4420
4421 2008-03-25  Dan Williams  <dcbw@redhat.com>
4422
4423         * introspection/nm-device-cdma.xml
4424           introspection/nm-device-gsm.xml
4425           introspection/Makefile.am
4426           introspection/all.xml
4427                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4428
4429         * src/nm-gsm-device.h
4430           src/nm-gsm-device.c
4431           src/nm-cdma-device.h
4432           src/nm-cdma-device.c
4433           src/Makefile.am
4434                 - Implement PropertiesChanged signals
4435
4436         * libnm-glib/nm-cdma-device.c
4437           libnm-glib/nm-cdma-device.c
4438                 - Attach to PropertiesChanged signals
4439
4440 2008-03-24  Dan Williams  <dcbw@redhat.com>
4441
4442         * libnm-glib/nm-client.c
4443                 - (client_device_added_proxy): add new devices to the internal device
4444                         list so they appear to clients
4445
4446 2008-03-24  Dan Williams  <dcbw@redhat.com>
4447
4448         Massive fixup of libnm-glib to:
4449         a) have all objects (with the exception of VPN) cache their properties and
4450                 update them asynchronously on PropertiesChanged signals from NM
4451         b) return internal const data for most attributes/properties instead of
4452                 allocated values that the caller must free
4453         c) cache wrapped objects such that a given D-Bus path will always map to the
4454                 same GObject returned by libnm-glib
4455         d) remove a few signals and move them to GObject property notifications
4456         e) match recent NM D-Bus API changes for activation/deactivation
4457         f) remove some private functions from libnm-glib headers
4458
4459 2008-03-20  Dan Williams  <dcbw@redhat.com>
4460
4461         * src/nm-manager.c
4462                 - (nm_manager_update_state, manager_device_state_changed,
4463                    nm_manager_activate_device, connection_added_default_handler,
4464                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4465                         queue PropertyChanged singals when the active connections change
4466
4467 2008-03-20  Dan Williams  <dcbw@redhat.com>
4468
4469         * introspection/nm-manager.xml
4470           introspection/nm-manager-client.xml
4471                 - (ActivateConnection): return the object path of the active connection
4472                         on success
4473                 - (GetActiveConnections): remove
4474                 - (DeactivateConnection): new function; deactivate a currently active
4475                         connection
4476                 - Add an ActiveConnections property which returns an array of
4477                         active connection object paths
4478
4479         * introspection/nm-device.xml
4480                 - (Deactivate): remove
4481
4482         * introspection/all.xml
4483                 - Add ActiveConnection introspection
4484
4485         * introspection/nm-active-connection.xml
4486                 - Add the ActiveConnection object
4487
4488         * include/NetworkManager.h
4489                 - Add the Connection.Active D-Bus interface
4490
4491         * src/nm-device-interface.c
4492                 - (impl_device_deactivate): remove
4493
4494         * src/nm-activation-request.c
4495           src/nm-activation-request.c
4496           src/Makefile.am
4497                 - Implement the Connection.Active D-Bus interface
4498
4499         * src/nm-manager.c
4500                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4501                 - (nm_manager_activate_device): return the active connection path
4502                 - (connection_added_default_handler, impl_manager_activate_connection):
4503                         return the active connection to the caller
4504                 - (add_one_connection_element, impl_manager_get_active_connections):
4505                         remove
4506                 - (impl_manager_deactivate_connection): new function; deactivate an
4507                         active connection
4508
4509         * libnm-glib/nm-device.c
4510           libnm-glib/nm-device.h
4511                 - Remove Deactivate() function
4512
4513 2008-03-19  Dan Williams  <dcbw@redhat.com>
4514
4515         * introspection/nm-manager.xml
4516           introspection/nm-manager-client.xml
4517                 - Rename the ActivateDevice method to ActivateConnection to better
4518                         reflect it's usage; it's arguments get reordered a bit too
4519                 - Convert GetActiveConnections method return from a struct to a dict
4520
4521         * include/NetworkManager.h
4522                 - Define the dict keys for return value of GetActiveConnections
4523
4524         * src/nm-manager.c
4525                 - impl_manager_activate_device -> impl_manager_activate_connection
4526                 - (add_one_connection_element): return a populated hash table, not
4527                         a structure
4528
4529         * libnm-glib/nm-client.c
4530           libnm-glib/nm-client.h
4531                 - nm_client_activate_device -> nm_client_activate_connection
4532                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4533                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4534                         instead of the custom structures.  Each element of the returned list
4535                         must be freed with nm_client_free_active_connections_element()
4536
4537 2008-03-18  Dan Williams  <dcbw@redhat.com>
4538
4539         * system-settings/plugins/ifcfg-fedora/parser.c
4540           system-settings/plugins/ifcfg-fedora/parser.h
4541           system-settings/plugins/ifcfg-fedora/plugin.c
4542                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4543                         profiles.  DNS servers and searches must now be stored in the ifcfg
4544                         files themselves
4545
4546 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4547
4548         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4549         print out username and password, it's supposed to be a secret.
4550
4551         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4552         request and set the device state accordingly.
4553
4554 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4555
4556         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4557
4558         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4559
4560 2008-03-18  Dan Williams  <dcbw@redhat.com>
4561
4562         * src/vpn-manager/nm-vpn-connection.c
4563                 - (get_secrets_cb): handle new GetSecrets return format
4564
4565 2008-03-18  Dan Williams  <dcbw@redhat.com>
4566
4567         Adapt system settings service for split 802.1x.
4568
4569         * system-settings/src/nm-system-config-interface.h
4570                 - clarify return value of get_secrets()
4571
4572         * system-settings/src/dbus-settings.c
4573                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4574                 - (check_for_secrets): check if there actually secrets returned by a
4575                         plugin
4576                 - (exported_connection_get_secrets): just return the plugin-returned
4577                         hash of settings' secrets if it looks valid
4578
4579         * system-settings/plugins/ifcfg-fedora/plugin.c
4580                 - (get_secrets): add split secrets with correct format to reply hash
4581
4582         * system-settings/plugins/ifcfg-fedora/parser.c
4583           system-settings/plugins/ifcfg-fedora/parser.h
4584                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4585                    connection_data_free, connection_data_add): keep secrets for
4586                         different settings in different hashes
4587
4588 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4589
4590         Clean up activating device deactivation.
4591
4592         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4593         should be done whether the device activation gets cancelled or the device
4594         is just getting deactivated.
4595         (nm_device_activation_cancel): Remove.
4596         (nm_device_deactivate_quickly): Handle the case where device is activating.
4597
4598         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4599         It does the exact same thing as real_deactivate_quickly().
4600
4601 2008-03-17  Dan Williams  <dcbw@redhat.com>
4602
4603         Split the 802.1x bits out of the wireless-security setting so they are
4604         generalized enough for wired 802.1x to use too.
4605
4606         * introspection/nm-exported-connection.xml
4607                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4608                         of just a hash of the secrets for one setting
4609
4610         * libnm-util/nm-setting-wireless-security.c
4611           libnm-util/nm-setting-wireless-security.h
4612                 - Remove 802.1x-specific stuff
4613                 - Added leap-username and leap-password properties for old-school LEAP
4614
4615         * src/nm-device.c
4616           src/nm-device.h
4617                 - (connection_secrets_updated_cb): take a list of updated settings names,
4618                         not just one
4619
4620         * src/supplicant-manager/nm-supplicant-config.c
4621           src/supplicant-manager/nm-supplicant-config.h
4622                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4623                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4624                         to nm_supplicant_config_add_setting_8021x()
4625                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4626                         the supplicant config
4627
4628         * src/nm-device-802-11-wireless.c
4629                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4630                 - (real_connection_secrets_updated): take a list of updated settings
4631                         names, not just one
4632
4633         * src/nm-device-802-3-ethernet.c
4634           src/nm-cdma-device.c
4635           src/nm-gsm-device.c
4636                 - (real_connection_secrets_updated_cb): take a list of updated settings
4637                         names, not just one
4638
4639         * src/nm-activation-request.c
4640           src/nm-activation-request.h
4641                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4642                         now passes a list of updated settings names, not just one
4643                 - (update_one_setting): new function; handle one updated setting
4644                 - (get_secrets_cb): handle multiple settings returned from the
4645                         settings service; have to be careful of ordering here as there are
4646                         some dependencies between settings (ex. wireless-security and 802.1x
4647                         in some cases)
4648
4649         * src/marshallers/nm-marshal.list
4650                 - new marshaller for connection-secrets-updated signal
4651
4652         * libnm-util/nm-setting-8021x.c
4653                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4654                         methods
4655                 - (verify): a valid 'eap' property is now required
4656
4657         * libnm-util/nm-connection.c
4658                 - (register_default_settings): add priorities to settings; there are
4659                         some dependencies between settings, and during the need_secrets
4660                         calls this priority needs to be respected.  For example, only the
4661                         wireless-security setting knows whether or not the connection is
4662                         going to use 802.1x or now, so it must be asked for secrets before
4663                         any existing 802.1x setting is
4664                 - (nm_connection_lookup_setting_type): expose
4665
4666         * libnm-util/nm-setting-wireless.c
4667                 - (verify): should verify even if all_settings is NULL; otherwise won't
4668                         catch the case where there is missing security
4669
4670         * libnm-util/nm-setting-wireless-security.c
4671                 - Remove everything to do with 802.1x
4672                 - Add old-school LEAP specific properties for username and password
4673                 - (need_secrets): rework LEAP secrets checking
4674                 - (verify): rework for LEAP and 802.1x verification
4675
4676 2008-03-17  Dan Williams  <dcbw@redhat.com>
4677
4678         * src/NetworkManagerPolicy.c
4679                 - (auto_activate_device): always remove the current activation check
4680                         from the pending activation list, otherwise when the policy gets
4681                         destroyed on NM exit it will attempt to free the already freed
4682                         activation check
4683
4684 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4685
4686         * src/backends/NetworkManagerSlackware.c 
4687         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4688
4689         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4690
4691 2008-03-14  Dan Williams  <dcbw@redhat.com>
4692
4693         * src/nm-manager.c
4694                 - (nm_device_interface_get_iface): g_object_get() will return an
4695                         allocated value, so this function must not return const
4696                 - (nm_device_interface_activate): free returned iface
4697
4698 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4699
4700         * libnm-util/Makefile.am: Add new files to build.
4701
4702         * libnm-util/nm-connection.c: Register NMSetting8021x.
4703
4704         * libnm-util/nm-setting-8021x.c
4705         * libnm-util/nm-setting-8021x.h: Implement.
4706
4707 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4708
4709         * libnm-util/Makefile.am: Add new files to build.
4710
4711         * libnm-util/nm-connection.c: Register NMSetting8021x.
4712
4713         * libnm-util/nm-setting-8021x.c
4714         * libnm-util/nm-setting-8021x.h: Implement.
4715
4716 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4717
4718         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4719         data.
4720
4721 2008-03-14  Dan Williams  <dcbw@redhat.com>
4722
4723         * include/wireless-helper.h
4724           include/Makefile.am
4725                 - One place for all the junk needed for #including wireless.h
4726
4727         * test/nm-tool.c
4728           src/NetworkManagerAP.c
4729           src/wpa.c
4730           src/Makefile.am
4731           libnm-util/nm-utils.c
4732           libnm-util/nm-setting-wireless.c
4733           libnm-glib/nm-device-802-11-wireless.c
4734           libnm-glib/nm-access-point.c
4735           libnm-glib/libnm-glib-test.c
4736                 - include wireless-helper.h, not iwlib.h
4737
4738         * configure.in
4739                 - Don't need libiw really, just need to check for wireless.h
4740
4741         * src/kernel-types.h
4742                 - Remove; used types moved into wpa.c
4743
4744         * src/nm-device-802-11-wireless.c
4745                 - (nm_device_802_11_wireless_update_signal_strength,
4746                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4747                    nm_device_802_11_wireless_set_mode,
4748                    nm_device_802_11_wireless_get_frequency,
4749                    nm_device_802_11_wireless_get_ssid,
4750                    nm_device_802_11_wireless_set_ssid,
4751                    nm_device_802_11_wireless_get_bitrate,
4752                    nm_device_802_11_wireless_get_bssid,
4753                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4754                         instead of iwlib functions
4755
4756 2008-03-14  Dan Williams  <dcbw@redhat.com>
4757
4758         * src/ppp-manager/nm-ppp-manager.c
4759                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4760                         should only take the DBusGMethodInvocation argument, not user/pass
4761                         too.  With dbus-glib, async functions only take 2 C arguments since
4762                         the real dbus method arguments get passed back with
4763                         dbus_g_method_return()
4764
4765 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4766
4767         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4768         Adapt the changes of NMSettingIP4Config.
4769
4770 2008-03-13  Dan Williams  <dcbw@redhat.com>
4771
4772         * src/NetworkManagerUtils.c
4773           src/NetworkManagerUtils.h
4774                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4775
4776         * src/NetworkManagerAP.c
4777           src/nm-device-802-11-wireless.c
4778           src/nm-device-802-3-ethernet.c
4779                 - s/iw_ether_ntop/nm_ether_ntop/g
4780
4781 2008-03-13  Dan Williams  <dcbw@redhat.com>
4782
4783         * src/NetworkManagerPolicy.c
4784                 - (update_routing_and_dns): never set the default route through an
4785                         IPv4LL addressed device
4786
4787 2008-03-13  Dan Williams  <dcbw@redhat.com>
4788
4789         * NetworkManagerUtils.c
4790           NetworkManagerUtils.h
4791                 - Remove NMSock stuff
4792                 - Remove the completion stuff
4793
4794         * nm-device.c
4795           nm-device.h
4796           NetworkManager.c
4797           NetworkManagerSystem.c
4798           autoip.c
4799           nm-device-802-11-wireless.c
4800           nm-device-802-3-ethernet.c
4801                 - Remove NMSock and completion stuff
4802                 - Remove nm_ioctl_info()
4803
4804 2008-03-12  Dan Williams  <dcbw@redhat.com>
4805
4806         * src/nm-device.c
4807                 - (merge_ip4_config): avoid duplicates
4808
4809 2008-03-12  Dan Williams  <dcbw@redhat.com>
4810
4811         * libnm-util/nm-setting-ip4-config.c
4812           libnm-util/nm-setting-ip4-config.h
4813                 - Remove 'manual' and 'autoip' properties
4814                 - Add 'method' property
4815                 - (verify): fix verification with 'method'
4816                 - (finalize): free 'method'
4817                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4818                         up for 'method'
4819
4820         * src/nm-device.c
4821                 - (real_act_stage3_ip_config_start): check IP4Config method
4822                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4823                         the future
4824                 - (merge_ip4_config): IP settings are valid with DHCP too
4825                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4826                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4827
4828         * src/nm-device-802-11-wireless.c
4829                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4830                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4831                         only on demand
4832
4833         * system-settings/plugins/ifcfg-fedora/parser.c
4834           system-settings/plugins/ifcfg-suse/parser.c
4835                 - (make_ip4_setting): fix up for 'method'
4836
4837 2008-03-12  Dan Williams  <dcbw@redhat.com>
4838
4839         * system-settings/plugins/ifcfg-fedora/parser.c
4840           system-settings/plugins/ifcfg-fedora/parser.h
4841                 - (get_ifcfg_name): ignore more file suffixes
4842                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4843
4844 2008-03-12  Dan Williams  <dcbw@redhat.com>
4845
4846         * configure.in
4847                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4848
4849 2008-03-12  Dan Williams  <dcbw@redhat.com>
4850
4851         * system-settings/plugins/ifcfg-fedora/plugin.c
4852                 - (write_auto_wired_connection): new function; write out an auto
4853                         wired connection file since the applet isn't doing it any more
4854                 - (reload_all_connections): write out the auto wired connection file
4855                         if there aren't any wired connections already
4856                 - (init): don't leak a GError
4857
4858 2008-03-12  Dan Williams  <dcbw@redhat.com>
4859
4860         * src/nm-device-interface.c
4861                 - (nm_device_interface_activate): print the ID of the connection
4862                         that's about to be activated
4863
4864 2008-03-12  Dan Williams  <dcbw@redhat.com>
4865
4866         Harmonize the 802.11 bitrate API
4867
4868         * introspection/nm-access-point.xml
4869                 - 'Rate' -> 'MaxBitrate'; clarify units
4870
4871         * introspection/nm-device-802-11-wireless.xml
4872                 - Clarify units of 'Bitrate'
4873
4874         * src/NetworkManagerAP.c
4875           src/NetworkManagerAP.h
4876                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4877                         property to 'max-bitrate'
4878                 - (foreach_property_cb): convert rate to Kb/s
4879
4880         * src/nm-device-802-11-wireless.c
4881                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4882
4883         * libnm-glib/nm-access-point.c
4884           libnm-glib/nm-access-point.h
4885                 - 'rate' -> 'max-bitrate'
4886
4887         * test/nm-tool.c
4888           libnm-glib/libnm-glib-test.c
4889                 - Fix up for these changes
4890
4891 2008-03-12  Dan Williams  <dcbw@redhat.com>
4892
4893         * src/nm-device.c
4894                 - (nm_device_set_ip4_config): don't send property notifications when
4895                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4896                         which dbus-glib can't parse because the value is NULL, which isn't
4897                         a legal object path.  Setting the IP4 config to NULL is only
4898                         valid when deactivating a device anyway, so the device state change
4899                         will alert listeners that the ip4 config is invalid.
4900
4901 2008-03-12  Dan Williams  <dcbw@redhat.com>
4902
4903         * src/nm-properties-changed-signal.c
4904                 - (add_to_string): better handling of NULL objects
4905
4906 2008-03-12  Dan Williams  <dcbw@redhat.com>
4907
4908         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4909         convert the libnm-glib NMDevice8023Ethernet to cached properties
4910
4911         * introspection/nm-device-802-3-ethernet.xml
4912                 - New 'Carrier' property
4913                 - New 'PropertiesChanged' signal
4914
4915         * introspection/nm-device.xml
4916                 - Remove 'Carrier' property
4917                 - Remove 'CarrierChanged' signal
4918
4919         * src/nm-device-interface.c
4920           src/nm-device-interface.h
4921                 - (nm_device_interface_init): remove 'carrier' property and
4922                         'carrier-changed' signal
4923
4924         * src/nm-device.c
4925           src/nm-device.h
4926                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4927                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4928                         the link here; wired device will handle that
4929                 - (handle_dhcp_lease_change): don't bother updating link here
4930                 - (get_property, nm_device_class_init): remove carrier property
4931
4932         * src/nm-device-802-11-wireless.c
4933                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4934                         real_update_link(); wireless devices don't use carrier at all
4935                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4936                    supplicant_iface_connection_state_cb_handler,
4937                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4938
4939         * src/nm-device-802-3-ethernet.c
4940           src/nm-device-802-3-ethernet.h
4941                 - (nm_device_802_3_ethernet_carrier_on,
4942                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4943                         instead of nm_device_set_carrier()
4944                 - (device_state_changed): update link from sysfs on activation;
4945                         replaces real_update_link()
4946                 - (real_update_link): remove, replaced by device_state_changed()
4947                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4948                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4949                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4950                         new get_carrier function
4951                 - (get_property): add 'carrier' property
4952                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4953                         hook into property-changed signal helper
4954
4955         * src/NetworkManagerPolicy.c
4956                 - (device_carrier_changed): will only ever be called with a wired device
4957                 - (device_added): only hook up to carrier-changed for wired devices
4958
4959         * libnm-glib/nm-device.c
4960           libnm-glib/nm-device.h
4961                 - (constructor, nm_device_class_init): remove carrier-changed signal
4962                 - (device_carrier_changed_proxy): remove; unused
4963                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4964
4965         * libnm-glib/nm-device-802-3-ethernet.c
4966           libnm-glib/nm-device-802-3-ethernet.h
4967                 - Convert to cached properties like AP and Wireless objects
4968                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4969                         instead of a 'char *', return value should not be freed
4970                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4971                 - (constructor): hook into properties-changed helper
4972                 - (set_property, get_property): new functions
4973                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4974
4975         * test/nm-tool.c
4976                 - (detail_device): strdup the wired hardware address too since it's
4977                         cached now
4978
4979         * libnm-glib/libnm-glib-test.c
4980                 - (dump_wired): strdup the wired hardware address too since it's
4981                         cached now
4982
4983 2008-03-12  Dan Williams  <dcbw@redhat.com>
4984
4985         * libnm-util/nm-setting-ip4-config.c
4986           libnm-util/nm-setting-ip4-config.h
4987                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4988                         the 'autoip' property from the spec
4989
4990 2008-03-11  Dan Williams  <dcbw@redhat.com>
4991
4992         * src/backends/NetworkManagerGeneric.c
4993           src/backends/NetworkManagerGeneric.h
4994                 - (nm_generic_device_get_use_dhcp): remove
4995
4996 2008-03-11  Dan Williams  <dcbw@redhat.com>
4997
4998         * src/nm-device.c
4999                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5000                         already in nm_device_set_ip4_config()
5001                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5002                         due to a DHCP rebind fails
5003                 - (nm_device_set_ip4_config): send property notifications when the
5004                         ip4 config changes
5005                 - (get_property): only report IP4Config property during valid states
5006
5007         * src/NetworkManagerPolicy.c
5008                 - (update_routing_and_dns): ignore devices that don't have an ip4
5009                         config; add parameter 'force_update' to allow callers to specify
5010                         that changes should be made even if the default device doesn't change
5011                 - (device_ip4_config_changed): update DNS and routing when the device's
5012                         IP4Config changes, like for DHCP updates
5013                 - (device_added): listen for ip4-config property changes
5014
5015 2008-03-11  Dan Williams  <dcbw@redhat.com>
5016
5017         Fix address handling as a result of DHCP rebind/renew/reboot.
5018
5019         * src/NetworkManagerSystem.c
5020                 - (check_one_address): delete an address if it doesn't match a given
5021                         one for the same interface
5022                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5023                         be smarter about flushing addresses (only flush ones that don't
5024                         match the one we're about to apply)
5025
5026         * src/backends/NetworkManagerDebian.c
5027           src/backends/NetworkManagerSuSE.c
5028           src/backends/NetworkManagerArch.c
5029           src/backends/NetworkManagerSlackware.c
5030           src/backends/NetworkManagerRedHat.c
5031           src/backends/NetworkManagerPaldo.c
5032           src/backends/NetworkManagerFrugalware.c
5033           src/backends/NetworkManagerGentoo.c
5034                 - (nm_system_delete_default_route): remove
5035
5036         * src/backends/NetworkManagerGeneric.c
5037           src/backends/NetworkManagerGeneric.h
5038                 - (nm_generic_enable_loopback): fix the loopback device label
5039                 - (nm_generic_delete_default_route): remove; no longer used
5040
5041 2008-03-11  Dan Williams  <dcbw@redhat.com>
5042
5043         * src/nm-device-interface.h
5044                 - Delimit property name words with '-', otherwise g_object_notify()
5045                         doesn't work the way we expect
5046
5047 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5048
5049         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5050
5051 2008-03-11  Dan Williams  <dcbw@redhat.com>
5052
5053         * src/NetworkManagerPolicy.c
5054                 - (update_routing_and_dns): don't change anything if the default device
5055                         hasn't changed; print something out when switching the default route
5056                         and DNS
5057
5058 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5059
5060         Implement PPPoE.
5061
5062         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5063         setting. Use "nic-$eth".
5064
5065         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5066         the device is activating here to fix a race condition.
5067
5068         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5069
5070         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5071         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5072         (nm_ppp_manager_start): Take activation request instead of connection, we might
5073         need it for asking secrets.
5074         (nm_ppp_manager_update_secrets): Implement.
5075
5076         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5077         ppp manager start. It might be needed for asking secrets.
5078
5079         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5080         (ppp_state_changed): Handle pppd daemon disappearing.
5081         (pppoe_stage2_config): Send activation request to ppp manager start.
5082
5083         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5084
5085         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5086         username and password.
5087         
5088 2008-03-10  Dan Williams  <dcbw@redhat.com>
5089
5090         * src/nm-device.c
5091                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5092                         response to a DHCP lease change
5093                 - (dhcp_state_changed): handle DHCP lease changes while activated
5094                 - (nm_device_set_ip4_config): remove a previously set named config
5095                         when setting an ip4 config
5096
5097 2008-03-10  Dan Williams  <dcbw@redhat.com>
5098
5099         * src/nm-serial-device.c
5100                 - (nm_serial_device_send_command): report errno on error
5101                 - (get_reply_got_data): limit the size of the overall buffer
5102                 - (wait_for_reply_info_destroy): destroy result string
5103                 - (wait_for_reply_got_data): append received data to an overall buffer
5104                         until timeout, filled buffer, or error instead of keeping a per-call
5105                         buffer.  Some devices send data slowly enough that this function
5106                         gets called multiple times for the same command stream.
5107                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5108                         wait_for_reply_got_data() here
5109
5110 2008-03-10  Dan Williams  <dcbw@redhat.com>
5111
5112         * src/nm-cdma-device.c
5113                 - (do_dial, init_modem): handle errors from
5114                         nm_serial_device_send_command_string()
5115
5116         * src/nm-gsm-device.c
5117                 - (do_dial, manual_registration, automatic_registration_get_network,
5118                    automatic_registration, enter_pin, check_pin, init_modem): handle
5119                         errors from nm_serial_device_send_command_string()
5120
5121 2008-03-10  Dan Williams  <dcbw@redhat.com>
5122
5123         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5124
5125         * src/named-manager/nm-named-manager.c
5126                 - (compute_searches): prefer searches before domains
5127                 - (compute_domain): new function
5128                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5129                 - (merge_one_ip4_config): if there are no searches in the source config,
5130                         merge domains of the source config into the target config
5131                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5132
5133 2008-03-10  Dan Williams  <dcbw@redhat.com>
5134
5135         * src/nm-serial-device.c
5136                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5137                 - (wait_for_reply_got_data): try to handle slower serial devices where
5138                         the reply is broken up into multiple reads by concatenating replies
5139                         together until either an error is received or the search string is
5140                         found
5141
5142 2008-03-10  Dan Williams  <dcbw@redhat.com>
5143
5144         * src/nm-device.c
5145                 - (nm_device_bring_down): deactivate the device if it's activating too,
5146                         not just if it's already activated.  This makes sure that everything
5147                         from an association attempt is cleaned up (like DHCP for example)
5148
5149 2008-03-10  Dan Williams  <dcbw@redhat.com>
5150
5151         * src/nm-serial-device.c
5152                 - (config_fd): report error from TCSETA
5153                 - (nm_serial_device_open): fail when config_fd() fails
5154
5155 2008-03-10  Dan Williams  <dcbw@redhat.com>
5156
5157         * src/nm-ip4-config.c
5158                 - (nm_ip4_config_init): allocate searches list
5159                 - (finalize): free searches list
5160
5161 2008-03-09  Dan Williams  <dcbw@redhat.com>
5162
5163         Patch from Bas Zoetekouw <bas@debian.org>
5164
5165         * src/dhcp-manager/nm-dhcp-manager.c
5166                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5167
5168 2008-03-09  Dan Williams  <dcbw@redhat.com>
5169
5170         Patch from Bas Zoetekouw <bas@debian.org>
5171
5172         * src/nm-ip4-config.c
5173           src/nm-ip4-config.h
5174                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5175                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5176                         domains.  'searches' is the correct way to store multiple search
5177                         domains, whereas 'domains' is really just supposed to store one
5178                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5179                         search domains to the client.
5180                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5181
5182 2008-03-09  Dan Williams  <dcbw@redhat.com>
5183
5184         * src/dhcp-manager/nm-dhcp-manager.c
5185                 - (dhclient_run): send interface-specific config files to dhclient
5186
5187 2008-03-07  Dan Williams  <dcbw@redhat.com>
5188
5189         * system-settings/plugins/ifcfg-fedora/parser.c
5190                 - (is_wireless_device): new function; test a device for wireless
5191                         extensions
5192                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5193                         test the device for wireless extensions to determine the type
5194
5195 2008-03-07  Dan Williams  <dcbw@redhat.com>
5196
5197         Change manager's StateChange signal to StateChanged for consistency.
5198
5199         * introspection/nm-manager.xml
5200                 - Add 'StateChanged' signal
5201                 - Move 'StateChange' down to the deprecated section
5202
5203         * src/nm-hal-manager.c
5204                 - (nm_hal_manager_new): connect to 'state-changed' instead
5205
5206         * src/NetworkManagerPolicy.c
5207                 - (nm_policy_new): connect to 'state-changed' instead
5208
5209         * src/nm-manager.c
5210           src/nm-manager.h
5211                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5212                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5213                         of 'state-change'
5214
5215         * libnm-glib/nm-client.c
5216           libnm-glib/nm-client.h
5217                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5218                         track and proxy 'state-changed' instead of 'state-change'
5219
5220 2008-03-07  Dan Williams  <dcbw@redhat.com>
5221
5222         First pass of multiple active device support.  Expect bugs.
5223
5224         * src/nm-ip4-config.c
5225           src/nm-ip4-config.h
5226                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5227                         there are better ways to do this in the named manager
5228
5229         * src/nm-device.c
5230           src/nm-device.h
5231                 - (nm_device_can_activate): return whether the device can activate a
5232                         connection right now; taking into account things like carrier state
5233                         and rfkill state
5234                 - (nm_device_get_best_auto_connection): renamed from
5235                         nm_device_get_best_connection
5236                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5237                         device subclasses themselves, so that each device can override the
5238                         MTU from it's NMSetting subclass if needed
5239                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5240                         in NetworkManagerSystem.c, not here
5241
5242         * src/named-manager/nm-named-manager.c
5243           src/named-manager/nm-named-manager.h
5244                 - (nm_named_manager_name_owner_changed,
5245                    nm_named_manager_dbus_connection_changed): fix for changes to
5246                         rewrite_resolv_conf()
5247                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5248                         from parameter list
5249                 - (merge_one_ip4_config): new function; merge ip4 configs together
5250                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5251                         ip4 configs; the VPN config takes precedence, then the best
5252                         device config, then the rest of the configs
5253                 - (get_domain_for_config): take the NMNamedManager as an argument
5254                         to check whether the config is the VPN config
5255                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5256                         attribute from ip4 configs
5257                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5258                 - (remove_ip4_config_from_named): fix for changes to
5259                         get_domain_for_config()
5260                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5261                         based on its type; callers must pass in the type now
5262                 - (get_last_default_domain): remove, unused
5263                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5264
5265         * src/nm-device-802-11-wireless.c
5266                 - (real_can_activate): new function
5267                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5268                 - (real_act_stage4_get_ip4_config): handle MTU override
5269
5270         * src/nm-device-802-3-ethernet.c
5271                 - (real_can_activate): new function
5272                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5273                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5274
5275         * src/vpn-manager/nm-vpn-connection.c
5276                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5277                         attribute on the ip4 config
5278
5279         * src/NetworkManagerPolicy.c
5280                 - (nm_policy_auto_get_best_device): remove
5281                 - (nm_policy_device_change_check): remove
5282                 - (update_default_route): new function; set the default route via
5283                         the specified device
5284                 - (get_device_priority): new function; return the priority number of
5285                         a device type WRT which one should have the default route.  Order is
5286                         (highest to lowest)  wired, wireless, GSM, CDMA.
5287                 - (update_routing_and_dns): new function; determine which device should
5288                         have the default route, then update the routing table and DNS
5289                 - (maybe_auto_activate_device): new function; if a device is now
5290                         available for activation, find out what connection it would like to
5291                         activate and do it
5292                 - (schedule_activate_check): new function; if a device can be activated
5293                         now, schedule the activation.  Each device may have only one
5294                         pending activation at a given time.
5295                 - (device_state_changed): if activation was canceled, try again,
5296                         possibly with another connection; if the device was activated,
5297                         update routing and DNS; if the device was deactivated, try again
5298                         with another connection
5299                 - (device_carrier_changed): if there is no carrier, deactivate the
5300                         device; otherwise schedule an activation check for the device
5301                 - (wireless_networks_changed): schedule an activation check for the
5302                         device
5303                 - (device_added): keep track of the signal handler IDs so they can
5304                         be removed when the device goes away
5305                 - (device_removed): remove any signal handlers that might be attached
5306                         to the device; update routing and DNS
5307                 - (schedule_activate_all): new function
5308                 - (connections_added, connection_added, connection_updated): when
5309                         connections change, schedule all devices for an activation check
5310                 - (connection_removed): when a device is deactivated because its
5311                         connection was removed, schedule another activation check for it
5312                 - (nm_policy_destroy): destroy pending activations and disconnect
5313                         all device signal handlers
5314
5315         * src/nm-manager.c
5316                 - (nm_manager_activate_device): if the device was already actived,
5317                         deactivate it
5318                 - (deactivate_old_device): remove
5319                 - (connection_added_default_handler, impl_manager_activate_device):
5320                         don't deactivate other devices when activating this one
5321
5322         * src/backends/NetworkManagerGentoo.c
5323           src/backends/NetworkManagerFrugalware.c
5324           src/backends/NetworkManagerPaldo.c
5325           src/backends/NetworkManagerRedHat.c
5326           src/backends/NetworkManagerSlackware.c
5327           src/backends/NetworkManagerArch.c
5328           src/backends/NetworkManagerSuSE.c
5329           src/backends/NetworkManagerDebian.c
5330                 - (nm_system_get_mtu): remove; MTU should be provided through the
5331                         distro's system settings service plugin instead
5332                 - (nm_system_device_add_default_route_via_device): remove
5333                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5334                 - (nm_system_device_replace_default_route): new function; call
5335                         generic implementation
5336
5337         * src/backends/NetworkManagerGeneric.c
5338           src/backends/NetworkManagerGeneric.h
5339                 - (nm_generic_device_add_default_route_via_device,
5340                    nm_generic_device_add_default_route_via_device_with_iface): remove
5341                 - (nm_generic_device_replace_default_route): replace the default route
5342                         with the given route via some gateway
5343
5344         * src/NetworkManagerSystem.c
5345           src/NetworkManagerSystem.h
5346                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5347                         to routing and DNS; but set the MTU here
5348                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5349                         ip_iface of the active device; use the standard MTU setting function
5350                 - (nm_system_set_mtu): remove
5351                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5352
5353 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5354
5355         Rework the interaction between ppp manager and pppd plugin. Register a well
5356         known DBUS service in manager and let the plugin call it's methods instead
5357         of listening plugin's signals.
5358
5359         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5360         of emitting signals.
5361
5362         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5363
5364         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5365
5366         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5367         nm_ppp_manager_start().
5368
5369         * introspection/nm-ppp-manager.xml: New file.
5370
5371         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5372         the case correctly where driver is trying to send -1 for the speed, which gets
5373         casted to u16 and thus is always > 0.
5374
5375 2008-03-07  Dan Williams  <dcbw@redhat.com>
5376
5377         * src/nm-hal-manager.c
5378                 - (nm_get_device_driver_name): use net.originating_device first, fall
5379                         back to physical device.  HAL has deprecated physical_device.
5380
5381         * libnm-glib/nm-device.c
5382                 - (get_product_and_vendor): use net.originating_device first, fall
5383                         back to physical device.  HAL has deprecated physical_device.
5384                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5385
5386 2008-03-07  Dan Williams  <dcbw@redhat.com>
5387
5388         * src/nm-netlink.c
5389                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5390                         last commit; fix that
5391                 - (get_link_cache): print error string
5392
5393 2008-03-07  Dan Williams  <dcbw@redhat.com>
5394
5395         * src/nm-netlink.c
5396                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5397                         don't need this hack any more (Benoit Boissinot)
5398
5399 2008-03-06  Dan Williams  <dcbw@redhat.com>
5400
5401         * autogen.sh
5402                 - Die gnome-common, die
5403
5404 2008-03-04  Dan Williams  <dcbw@redhat.com>
5405
5406         Patch from Michael Biebl <biebl@debian.org>
5407
5408         * NetworkManager.pc.in
5409                 - doesn't actually depend on dbus-1
5410
5411         * libnm-util/nm-utils.h
5412                 - remove unused #include <dbus/dbus.h>
5413
5414         * libnm-glib/libnm_glib.pc.in
5415                 - depends on glib and dbus-glib
5416
5417 2008-03-02  Dan Williams  <dcbw@redhat.com>
5418
5419         * src/NetworkManagerPolicy.c
5420                 - s/device_state_changed_idle_id/update_state_id/
5421
5422 2008-03-02  Dan Williams  <dcbw@redhat.com>
5423
5424         * src/nm-device.c
5425           src/nm-device.h
5426           src/nm-device-802-11-wireless.c
5427           src/nm-device-802-3-ethernet.c
5428           src/NetworkManagerPolicy.c
5429                 - s/link_active/carrier
5430                 - nm_device_set_active_link() -> nm_device_set_carrier()
5431                 - nm_device_has_active_link() -> nm_device_get_carrier()
5432
5433 2008-03-02  Dan Williams  <dcbw@redhat.com>
5434
5435         * system-settings/plugins/ifcfg-fedora/parser.c
5436                 - (make_wireless_setting): fail connection creation on missing SSID
5437
5438 2008-02-29  Dan Williams  <dcbw@redhat.com>
5439
5440         * src/NetworkManagerPolicy.c
5441                 - (nm_policy_device_change_check): ensure that a previously active
5442                         device with a system connection has a link before denying a switch
5443                         to a user connection
5444
5445 2008-02-29  Dan Williams  <dcbw@redhat.com>
5446
5447         * src/nm-device-802-11-wireless.c
5448                 - (link_timeout_cb): try again if scanning; deactivate the device when
5449                         activated if the link dies
5450                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5451                         15 seconds
5452
5453 2008-02-29  Dan Williams  <dcbw@redhat.com>
5454
5455         * src/nm-device-802-11-wireless.c
5456           src/nm-device-802-11-wireless.h
5457                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5458                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5459                 - (device_cleanup): reset the scan interval lower when the device
5460                         deactivates
5461                 - (can_scan): base decision mostly off device state, not supplicant
5462                         interface state since the supplicant interface state isn't a
5463                         great indicator of whether the device is active or not
5464                 - (request_wireless_scan): clean up; schedule the next scan here
5465                 - (schedule_scan): only back the scan interval off if a new scan
5466                         actually gets scheduled; and make scan intervals tighter when the
5467                         device is disconnected
5468                 - (supplicant_iface_state_cb_handler): fold in the bits of
5469                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5470                         interval to minimum
5471                 - (activation_success_handler): reset scan interval to something
5472                         reasonable 
5473
5474 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5475
5476         reviewed by: Steev <steev@steev.net>
5477
5478         * configure.in:
5479         * src/backends/NetworkManagerGentoo.c:
5480         (nm_system_restart_mdns_responder):
5481                 Howl is no longer a supported mDNS provider
5482
5483 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5484
5485         Get rid of a bunch of unused distro specific functions.
5486
5487 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5488
5489         Implement suse plugin for system settings daemon.
5490
5491         * system-settings/plugins/ifcfg-suse/*: Implement.
5492
5493         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5494         suse.
5495
5496         * configure.in: Check (without failing) for gio.
5497         Create ifcfg-suse plugin's Makefile.
5498
5499 2008-02-20  Dan Williams  <dcbw@redhat.com>
5500
5501         * libnm-util/nm-connection.c
5502           libnm-util/nm-connection.h
5503                 - (nm_connection_compare): accept compare flags and pass them to the
5504                         setting compare function
5505
5506         * libnm-util/nm-setting.c
5507           libnm-util/nm-setting.h
5508                 - (nm_setting_compare): accept compare flags; ignore properties that are
5509                         marked fuzzy
5510
5511         * libnm-util/nm-setting-connection.c
5512           libnm-util/nm-setting-wireless.c
5513           libnm-util/nm-setting-ppp.c
5514           libnm-util/nm-setting-wired.c
5515                 - Mark some setting properties as ignorable when doing a fuzzy compare
5516
5517         * src/nm-device.c
5518                 - (device_activation_precheck): use exact compare
5519
5520 2008-02-20  Dan Williams  <dcbw@redhat.com>
5521
5522         * src/NetworkManagerPolicy.c
5523                 - (nm_policy_device_change_check): get scope off the connection, not
5524                         using the manager helper
5525
5526         * src/nm-manager.c
5527           src/nm-manager.h
5528                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5529                 - (connection_get_settings_cb): set scope and path on connection, not
5530                         using GObject data items
5531                 - (get_connection_for_proxy): don't need to return path, since that
5532                         can be gotten from the connection
5533                 - (get_connection_for_proxy): get path off the connection, not from
5534                         parameters
5535                 - (connection_removed_cb, connection_updated_cb): don't need to get
5536                         path from get_connection_for_proxy(); get scope off the connection
5537                         instead of using GObject data items
5538                 - (connection_added_default_handler, add_one_connection_element): use
5539                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5540                 - (nm_manager_get_connection_dbus_path): remove
5541                 - (nm_manager_get_connection_scope): remove
5542
5543 2008-02-20  Dan Williams  <dcbw@redhat.com>
5544
5545         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5546                 on confusing names
5547
5548         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5549                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5550                 NMExportedConnection
5551
5552         * Internally rename NMConnectionType -> NMConnectionScope
5553
5554         * Provide default implementations of the 'get_id' and 'get_settings' methods
5555                 of NMExportedConnection
5556
5557 2008-02-15  Dan Williams  <dcbw@redhat.com>
5558
5559         * src/nm-device-802-11-wireless.c
5560                 - (device_cleanup): release the AP list here too so that the AP list
5561                         doesn't survive across suspend/resume and up/down.  There is some
5562                         room for optimization, for example blow the list away when the card
5563                         brought back up, but only if the device has only been down for a
5564                         minute or more.
5565
5566 2008-02-15  Dan Williams  <dcbw@redhat.com>
5567
5568         * src/nm-hal-manager.c
5569                 - (modem_device_creator): recognize new HAL modem capabilities
5570
5571 2008-02-12  Dan Williams  <dcbw@redhat.com>
5572
5573         * system-settings/plugins/ifcfg-fedora/plugin.c
5574                 - (watch_path): handle IN_DELETE_SELF too
5575                 - (handle_connection_changed): notify when removing a connection
5576                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5577                         case of a file moving out of the profile directory
5578
5579 2008-02-12  Dan Williams  <dcbw@redhat.com>
5580
5581         * system-settings/plugins/ifcfg-fedora/parser.c
5582                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5583
5584 2008-02-12  Dan Williams  <dcbw@redhat.com>
5585
5586         * libnm-util/nm-utils.c
5587                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5588                         just any empty array
5589
5590 2008-02-12  Dan Williams  <dcbw@redhat.com>
5591
5592         * system-settings/src/nm-system-config-interface.c
5593           system-settings/src/nm-system-config-interface.h
5594                 - (load_connections): get_connections() should now return an allocated
5595                         GSList that the system settings service will free
5596
5597         * system-settings/plugins/ifcfg-fedora/plugin.c
5598           system-settings/plugins/ifcfg-fedora/parser.h
5599           system-settings/plugins/ifcfg-fedora/parser.c
5600                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5601                         in the profile directory, handle resolv.conf file changes
5602
5603 2008-02-10  Dan Williams  <dcbw@redhat.com>
5604
5605         * src/nm-device-802-3-ethernet.c
5606                 - (real_bring_up): save the supplicant interface state signal id
5607                 - (real_bring_down): disconnect from the supplicant interface state
5608                         signal
5609
5610 2008-02-07  Dan Williams  <dcbw@redhat.com>
5611
5612         * initscript/RedHat/NetworkManager.in
5613           initscript/RedHat/NetworkManagerDispatcher.in
5614                 - Add new-style LSB init headers
5615
5616 2008-02-07  Dan Williams  <dcbw@redhat.com>
5617
5618         * system-settings/src/dbus-settings.c
5619           system-settings/src/dbus-settings.h
5620                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5621                         table of secrets
5622                 - (connection_settings_get_secrets): consolidate error returns into
5623                         one place; use the new get_secrets() plugin interface function to
5624                         get secrets from the plugin itself rather than using GObject data
5625                         magic
5626
5627         * system-settings/src/main.c
5628                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5629                    load_connections): keep a private list of the plugin-returned
5630                         connections, don't use the plugin's GSList
5631
5632         * system-settings/plugins/ifcfg-fedora/plugin.c
5633                 - (watch_path): watch the path, not the filename (duh)
5634                 - (reload_all_connections): use the direct hash/equal functions; the
5635                         ones for int aren't appropriate here
5636                 - (get_secrets, system_config_interface_init): implement the
5637                         get_secrets() function
5638                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5639                         now in the connection's ConnectionData instead of being a GObject
5640                         data property
5641                 - (handle_profile_item_changed): ifcfg file path is now in the
5642                         connection's ConnectionData instead of being a GObject data property;
5643                         be sure to copy secrets over from the new connection to the existing
5644                         connection when updating the connection's settings
5645                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5646                         file descriptor
5647
5648         * system-settings/plugins/ifcfg-fedora/parser.c
5649           system-settings/plugins/ifcfg-fedora/parser.h
5650                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5651                    connection_data_copy_secrets, connection_data_free,
5652                    connection_data_add): new functions; connection data manipulation
5653                 - (make_wireless_security_setting): stuff secrets into the
5654                         connection data, not as GObject data items; make sure to close
5655                         the keys ifcfg file
5656                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5657                         connection data to the connection
5658
5659 2008-02-07  Dan Williams  <dcbw@redhat.com>
5660
5661         * system-settings/src/nm-system-config-interface.c
5662           system-settings/src/nm-system-config-interface.h
5663                 - Add a get_secrets() interface function to retrieve secrets for a
5664                         specific setting of a specific connection.  Document the interface
5665                         a bit more too.
5666
5667 2008-02-07  Dan Williams  <dcbw@redhat.com>
5668
5669         * src/nm-device-802-11-wireless.c
5670                 - (handle_auth_or_fail): new function; consolidate device activation
5671                         failure check after a certain number of failures getting secrets
5672                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5673                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5674                         the connection if secrets were requested more than a few times
5675                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5676                         tries here; otherwise they are cleared before the IP configure
5677                         timeout, which happens with open system WEP when key is wrong
5678                 - (activation_success_handler): clear wireless secrets tries here too
5679
5680 2008-02-07  Dan Williams  <dcbw@redhat.com>
5681
5682         * src/NetworkManagerPolicy.c
5683                 - (connection_updated): clear invalid tag when connection gets updated
5684                         to allow that connection to be tried again
5685                 - (nm_policy_new): save signal ids so they can be disconnected when
5686                         the policy is destroyed
5687                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5688                         and disconnect all signals from the manager object so that none
5689                         of the policy functions gets called after the policy is destroyed
5690
5691 2008-02-06  Dan Williams  <dcbw@redhat.com>
5692
5693         * src/nm-manager.c
5694                 - (finalize): remove devices a bit earlier; clean up system settings
5695                         poke
5696                 - (nm_manager_name_owner_changed): clean up system settings poke when
5697                         the service appears, and try to restart it if it fails
5698                 - (poke_system_settings_daemon_cb): try to get the system settings
5699                         service started through D-Bus service activation
5700                 - (initial_get_connections): start the system settings daemon if it's
5701                         not already running
5702
5703 2008-02-05  Dan Williams  <dcbw@redhat.com>
5704
5705         * src/supplicant-manager/nm-supplicant-config.c
5706                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5707                         broadcast networks too
5708
5709 2008-02-04  Dan Williams  <dcbw@redhat.com>
5710
5711         * system-settings/plugins/ifcfg-fedora/parser.c
5712                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5713                         need key_mgmt set too
5714                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5715                         .bak files; ensure that an error is set whenever NULL gets returned
5716
5717 2008-02-04  Dan Williams  <dcbw@redhat.com>
5718
5719         * system-settings/src/Makefile.am
5720                 - Install D-Bus service activation file for the system settings
5721                         service
5722
5723         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5724                 - D-Bus service activation file for system settings service
5725
5726 2008-02-04  Dan Williams  <dcbw@redhat.com>
5727
5728         * system-settings/src/main.c
5729                 - (parse_config_file): parse a config file
5730                 - (main): accept --config option and read plugins from config file
5731
5732 2008-02-04  Dan Williams  <dcbw@redhat.com>
5733
5734         * system-settings/plugins/ifcfg-fedora/plugin.c
5735                 - Change reported name to 'ifcfg-fedora'
5736                 - Use IFCFG_PLUGIN_NAME
5737
5738         * system-settings/plugins/ifcfg-fedora/plugin.c
5739                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5740
5741 2008-02-04  Dan Williams  <dcbw@redhat.com>
5742
5743         * system-settings/plugins/ifcfg-fedora/parser.c
5744                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5745                 - (make_connection_setting): use get_ifcfg_name()
5746                 - (make_wireless_security_setting): handle shadow key files
5747                 - (get_one_wep_key): treat empty string as NULL
5748
5749 2008-02-04  Dan Williams  <dcbw@redhat.com>
5750
5751         * src/supplicant-manager/nm-supplicant-manager.c
5752                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5753                         glib automatically reschedule
5754                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5755                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5756                         the supplicant
5757
5758 2008-02-01  Dan Williams  <dcbw@redhat.com>
5759
5760         * src/NetworkManagerPolicy.c
5761                 - (device_state_changed): schedule a change check when a device gets
5762                         deactivated so something happens if you disconnect GSM/CDMA
5763
5764 2008-01-31  Dan Williams  <dcbw@redhat.com>
5765
5766         * src/nm-device-802-11-wireless.h
5767           src/nm-device-802-11-wireless.c
5768                 - (ap_list_get_ap_by_ssid, is_associated,
5769                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5770                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5771                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5772                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5773                         function
5774
5775 2008-01-30  Dan Williams  <dcbw@redhat.com>
5776
5777         * system-settings/plugins/ifcfg
5778         * system-settings/plugins/ifcfg-fedora
5779                 - Move the ifcfg plugin to ifcfg-fedora
5780
5781 2008-01-24  Dan Williams  <dcbw@redhat.com>
5782
5783         * libnm-glib/nm-device-802-11-wireless.c
5784                 - (get_access_point): move the "/" check here; check for invalid path
5785                         too
5786                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5787                         to get_access_point()
5788                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5789                         to send signals for non-existent access points
5790
5791 2008-01-24  Dan Williams  <dcbw@redhat.com>
5792
5793         * libnm-glib/nm-device-802-11-wireless.c
5794                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5795
5796 2008-01-23  Dan Williams  <dcbw@redhat.com>
5797
5798         * libnm-glib/libnm_glib.c
5799                 - (libnm_glib_init): make thread joinable
5800                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5801
5802 2008-01-23  Dan Williams  <dcbw@redhat.com>
5803
5804         * test/libnm_glib_test.c
5805                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5806                 - (main): set up signal handlers; call libnm_glib_shutdown
5807
5808 2008-01-21  Dan Williams  <dcbw@redhat.com>
5809
5810         * include/NetworkManager.h
5811                 - Add CDMA mobile broadband card device type
5812
5813         * src/nm-hal-manager.c
5814                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5815                         must now be tagged with 'cdma' or 'gsm' capability
5816
5817         * src/nm-cdma-device.c
5818           src/nm-cdma-device.h
5819           src/Makefile.am
5820                 - Add the CDMA mobile broadband card device class
5821
5822         * libnm-util/nm-connection.c
5823                 - (register_default_settings): add NMSettingCdma
5824
5825         * libnm-util/nm-setting-cdma.c
5826           libnm-util/nm-setting-cdma.h
5827           libnm-util/Makefile.am
5828                 - Add the CDMA mobile broadband card setting class
5829
5830         * libnm-glib/nm-cdma-device.c
5831           libnm-glib/nm-cdma-device.h
5832           libnm-glib/Makefile.am
5833                 - Add the CDMA mobile broadband card GLib proxy class
5834
5835         * libnm-glib/nm-client.c
5836                 - (get_device): handle CDMA devices too
5837
5838 2008-01-21  Dan Williams  <dcbw@redhat.com>
5839
5840         * src/ppp-manager/nm-ppp-manager.c
5841                 - (ip4_config_get): set peer address too
5842
5843         * src/ppp-manager/nm-pppd-plugin.c
5844                 - (nm_ip_up): try harder to get the peer's address
5845
5846         * src/NetworkManagerSystem.c
5847                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5848                         address, use that too.  Otherwise, some PPP connections won't work.
5849
5850 2008-01-19  Dan Williams  <dcbw@redhat.com>
5851
5852         * src/NetworkManagerPolicy.c
5853                 - (nm_policy_device_change_check): system connections override user
5854                         connections; don't activate a user connection if there's a currently
5855                         active system connection, and new, better system connections always
5856                         interrupt user connections
5857
5858 2008-01-19  Dan Williams  <dcbw@redhat.com>
5859
5860         * src/nm-manager.h
5861                 - (nm_manager_get_connection_type): new function
5862
5863 2008-01-19  Dan Williams  <dcbw@redhat.com>
5864
5865         * src/nm-device-802-11-wireless.c
5866                 - (real_get_best_connection): collapse find_best_connection() into this
5867                         function
5868
5869 2008-01-19  Dan Williams  <dcbw@redhat.com>
5870
5871         * src/nm-device-802-3-ethernet.c
5872                 - (real_get_best_connection): collapse find_best_connection() into this
5873                         function
5874
5875 2008-01-18  Dan Williams  <dcbw@redhat.com>
5876
5877         * src/nm-device-802-3-ethernet.c
5878                 - (find_best_connection): check MAC address too
5879                 - (real_get_best_connection): let autoconnect=True connections activate
5880                         for devices that don't have carrier detection
5881
5882         * src/nm-device-802-11-wireless.c
5883                 - (find_best_connection): check MAC address too
5884
5885 2008-01-18  Dan Williams  <dcbw@redhat.com>
5886
5887         * system-settings/plugins/ifcfg/parser.c
5888                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5889
5890 2008-01-17  Dan Williams  <dcbw@redhat.com>
5891
5892         * src/nm-device-802-3-ethernet.c
5893                 - (nm_device_802_3_ethernet_carrier_on,
5894                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5895                         carrier events that might come in for devices that don't support
5896                         carrier detect
5897
5898 2008-01-17  Dan Williams  <dcbw@redhat.com>
5899
5900         * src/nm-device-interface.c
5901                 - (nm_device_interface_check_connection_conflicts): need to actually
5902                         get the interface, not cast to the object
5903
5904         * src/nm-device.c
5905                 - (nm_device_check_connection_conflicts): need to get the device class,
5906                         not cast the device to the device class
5907
5908 2008-01-17  Dan Williams  <dcbw@redhat.com>
5909
5910         * src/nm-device-802-11-wireless.c
5911                 - (real_check_connection_conflicts): ignore connections that aren't
5912                         wireless connections
5913
5914 2008-01-17  Dan Williams  <dcbw@redhat.com>
5915
5916         * src/NetworkManagerPolicy.c
5917                 - (nm_policy_device_change_check): clear change check idle here
5918                 - (device_change_check_done): remove
5919                 - (schedule_change_check): simplify
5920
5921 2008-01-17  Dan Williams  <dcbw@redhat.com>
5922
5923         * src/nm-manager.c
5924                 - (check_connection_allowed): take an NMDeviceInterface instead of
5925                         an NMDevice object as an argument
5926                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5927                         check_connection_allowed()
5928
5929 2008-01-13  Dan Williams  <dcbw@redhat.com>
5930
5931         * libnm-glib/nm-device-802-11-wireless.c
5932                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5933
5934 2008-01-12  Dan Williams  <dcbw@redhat.com>
5935
5936         * src/nm-device-802-11-wireless.c
5937                 - (activation_success_handler): if a match was found in the scan list
5938                         and that match is a hidden AP, update that AP's SSID
5939
5940 2008-01-11  Dan Williams  <dcbw@redhat.com>
5941
5942         * src/NetworkManagerAP.c
5943                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5944
5945         * src/nm-device-802-11-wireless.c
5946                 - (get_active_ap): do two passes over the scan list if the caller
5947                         requests that hidden APs get matched too; during the second pass
5948                         when matching hidden APs, ignore the SSID since hidden APs in the
5949                         scan list don't have an SSID yet
5950                 - (periodic_update): move some checks to
5951                         nm_device_802_11_periodic_update() because not all callers need them
5952                 - (nm_device_802_11_periodic_update): move some checks here from
5953                         perodic_update()
5954                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5955                         matching on incoming scan results, because the fake AP's flags
5956                         might be slightly different (yet still compatible) with the incoming
5957                         scan result's flags and they might actually be the same AP; update
5958                         the rate on merged APs too
5959                 - (activation_success_handler): update the frequency of the fake AP
5960                         on successful connection; match hidden APs too since if the
5961                         current AP is fake, there might already be a scan result in the
5962                         scan list for the desired AP, just without it's SSID filled in yet
5963
5964 2008-01-10  Dan Williams  <dcbw@redhat.com>
5965
5966         * src/NetworkManagerAP.c
5967                 - (foreach_property_cb): catch more hidden SSID formats
5968
5969 2008-01-10  Dan Williams  <dcbw@redhat.com>
5970
5971         Fix gnome.org #464215.  Requires the kernel patch titled
5972         "Introduce WEXT scan capabilities" but will handle the patch not being
5973         present, you'll just continue to have problems with hidden SSIDs when
5974         using mac80211-based drivers.
5975
5976         * src/supplicant-manager/nm-supplicant-config.h
5977           src/supplicant-manager/nm-supplicant-config.c
5978                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5979                         whether the driver supports SSID scans or not.  If it does, and if
5980                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5981
5982         * src/nm-device-802-11-wireless.c
5983                 - (constructor): check whether or not the driver supports SSID scans
5984                 - (build_supplicant_config): pass driver SSID scan capability when
5985                         building the wireless bits of the supplicant config
5986
5987 2008-01-09  Dan Williams  <dcbw@redhat.com>
5988
5989         * src/nm-device.c
5990           src/nm-device.h
5991                 - (device_activation_precheck, check_connection_complete): remove this
5992                         virtual function; incomplete connections should be invalid by
5993                         definition, complete-ness should be checked in the setting's
5994                         verify function
5995
5996         * src/nm-serial-device.c
5997           src/nm-gsm-device.c
5998                 - (real_check_connection_complete): remove
5999
6000         * libnm-util/nm-setting-serial.c
6001                 - (verify): new function; ensure there is a PPP setting too
6002
6003         * libnm-util/nm-setting-gsm.c
6004                 - (verify): ensure there is a serial setting too
6005
6006 2008-01-06  Dan Williams  <dcbw@redhat.com>
6007
6008         * src/dhcp-manager/nm-dhcp-manager.c
6009                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6010                         (gnome.org #332953)
6011
6012 2008-01-04  Dan Williams  <dcbw@redhat.com>
6013
6014         * src/named-manager/nm-named-manager.c
6015                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6016                         nameservers if the secondary config doesn't have any
6017                         (gnome.org #346833)
6018
6019 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6020
6021         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6022         with G_PARAM_CONSTRUCT so that they get the default values.
6023
6024         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6025         the monitoring device and prints out the output for now. Or more precicely, doesn't
6026         do absolutely anything right now since the montoring device argument is never set.
6027
6028         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6029         requires it's own knob to turn it on.
6030         (config_fd): Add NMSettingSerial to the arguments list.
6031         (nm_serial_device_open): Ditto.
6032         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6033         (nm_serial_device_get_io_channel): Implement.
6034
6035         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6036         a new reference every time (and forgetting to release it sometimes) is a pain and
6037         it's not like NMManager could work without dbus.
6038         (nm_manager_add_device): Register the added device on dbus here.
6039
6040         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6041         device.
6042
6043         * src/nm-device.c (constructor): Don't export the device here, instead export
6044         it when it's added to the NMManager's device list.
6045
6046 2007-12-31  Dan Williams  <dcbw@redhat.com>
6047
6048         * src/nm-device-interface.c
6049           src/nm-device-interface.h
6050                 - (nm_device_interface_check_connection_conflicts): new function
6051
6052         * src/nm-device.c
6053           src/nm-device.h
6054                 - (nm_device_check_connection_conflicts): new function
6055                 - (device_activation_precheck): don't require subclasses to implement
6056                         check_connection_complete()
6057                 - check_connection() -> check_connection_complete()
6058
6059         * src/nm-device-802-11-wireless.c
6060                 - (real_check_connection): remove; unused
6061                 - (real_check_connection_conflicts): implement, handle lockdown for
6062                         system connections
6063
6064         * src/nm-device-802-3-ethernet.c
6065                 - (real_check_connection): remove; unused
6066
6067         * src/nm-manager.c
6068                 - (check_connection_allowed): new function
6069                 - (nm_manager_activate_device): ensure the connection being requested
6070                         is allowed to be activated
6071
6072         * src/nm-serial-device.c
6073           src/nm-gsm-device.c
6074                 - real_check_connection() -> real_check_connection_complete()
6075
6076 2007-12-27  Dan Williams  <dcbw@redhat.com>
6077
6078         * src/nm-device-interface.c
6079           src/nm-device-interface.h
6080                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6081                         normalize and expand errors
6082                 - (nm_device_interface_init): register errors so they can be marshalled
6083                         through dbus-glib
6084                 - (nm_device_interface_activate): ensure that failure of activation
6085                         returns an error
6086
6087         * src/nm-device.c
6088           src/nm-device.h
6089                 - (device_activation_precheck): implementations of check_connection()
6090                         now take a GError and must fill it in if the check fails.  Return
6091                         more descriptive error if the requested connection is already
6092                         activating
6093                 - (nm_device_activate): actually try to return descriptive errors on
6094                         failures
6095
6096         * src/nm-device-802-11-wireless.c
6097           src/nm-device-802-3-ethernet.c
6098           src/nm-serial-device.c
6099           src/nm-gsm-device.c
6100                 - (real_check_connection): return more descriptive errors on failure
6101
6102         * src/NetworkManagerPolicy.c
6103                 - (nm_policy_device_change_check): print activation errors in the logs
6104
6105         * src/nm-manager.c
6106                 - (nm_manager_error_quark, nm_manager_error_get_type,
6107                    nm_manager_class_init): new errors
6108                 - (nm_manager_activate_device): handle errors
6109                 - (nm_manager_error_new): removed
6110                 - (wait_for_connection_expired, connection_added_default_handler,
6111                    impl_manager_activate_device): better error handling
6112
6113 2007-12-27  Dan Williams  <dcbw@redhat.com>
6114
6115         Fixes gnome.org #466954
6116
6117         * src/supplicant-manager/nm-supplicant-settings-verify.c
6118                 - Allow 'frequency' network property
6119
6120         * src/supplicant-manager/nm-supplicant-config.c
6121           src/supplicant-manager/nm-supplicant-config.h
6122                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6123                         for callers to specify the frequency an Ad-Hoc network should operate
6124                         on.  Some drivers require this to successfully create an Ad-Hoc
6125                         network.
6126
6127         * src/nm-device-802-11-wireless.c
6128                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6129                         guint32 value in MHz
6130                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6131                         iw_freq_to_uint32()
6132                 - (find_supported_frequency): new function; find a free supported
6133                         frequency for a user-created Ad-Hoc network
6134                 - (build_supplicant_config): if no frequency was specified for a user-
6135                         created Ad-Hoc network, find a free one to use
6136                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6137                         a specific object as user-created
6138
6139 2007-12-27  Dan Williams  <dcbw@redhat.com>
6140
6141         * libnm-util/nm-utils.c
6142           libnm-util/nm-utils.h
6143                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6144                         for adhoc networks
6145
6146 2007-12-24  Dan Williams  <dcbw@redhat.com>
6147
6148         * libnm-util/nm-setting-wireless.c
6149                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6150                         185, 187, 188, 192, and 196
6151
6152 2007-12-24  Dan Williams  <dcbw@redhat.com>
6153
6154         * src/nm-device-802-11-wireless.c
6155                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6156                         a channel # instead of a frequency
6157
6158 2007-12-24  Dan Williams  <dcbw@redhat.com>
6159
6160         * src/NetworkManagerAP.c
6161           src/NetworkManagerAP.h
6162                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6163                 - (freq_to_channel): handle split band tables
6164                 - (channel_to_freq): handle split band tables, take a band argument
6165
6166 2007-12-24  Dan Williams  <dcbw@redhat.com>
6167
6168         * libnm-util/nm-setting-connection.h
6169           libnm-util/nm-setting-connection.c
6170                 - Add 'lockdown' member
6171
6172 2007-12-22  Dan Williams  <dcbw@redhat.com>
6173
6174         * libnm-util/nm-setting-wireless.c
6175                 - (nm_setting_wireless_class_init): add missing 'rate' property
6176                         specification
6177
6178 2007-12-18  Dan Williams  <dcbw@redhat.com>
6179
6180         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6181
6182         * src/nm-netlink-monitor.c
6183           src/nm-netlink-monitor.h
6184                 - Remove handrolled netlink, use libnl instead
6185
6186         * src/nm-device-802-3-ethernet.c
6187                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6188                    nm_device_802_3_ethernet_carrier_on): use new names
6189
6190 2007-12-17  Dan Williams  <dcbw@redhat.com>
6191
6192         * configure.in
6193                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6194                         and fixes memory leaks)
6195
6196         * src/nm-netlink.c
6197                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6198                         automatically handle the netlink PID
6199
6200 2007-12-17  Dan Williams  <dcbw@redhat.com>
6201
6202         Patch from Michael Biebl <biebl@debian.org>
6203
6204         * configure.in
6205           src/ppp-manager/Makefile.am
6206                 - fix up install dir of pppd plugin
6207                 - clean up configure.in a bit
6208
6209 2007-12-12  Dan Williams  <dcbw@redhat.com>
6210
6211         * system-settings/src/nm-system-settings.conf
6212                 - Allow non-root clients (like the applet) to read settings
6213
6214 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6215
6216         * Replace all occurences of 'UMTS' with 'GSM'.
6217
6218 2007-12-07  Dan Williams  <dcbw@redhat.com>
6219
6220         * src/nm-serial-device.c
6221                 - (real_is_up): serial devices are always "up"
6222
6223 2007-12-07  Dan Williams  <dcbw@redhat.com>
6224
6225         * src/nm-netlink.c
6226           src/NetworkManagerSystem.c
6227                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6228                         twice (gnome.org #491047)
6229                 - Make more robust against allocation-related failures should they occur
6230
6231 2007-12-07  Dan Williams  <dcbw@redhat.com>
6232
6233         Noticed by Christian Persch <chpe@gnome.org>
6234
6235         Always chain up to parent object in dispose and finalize handlers.
6236                 (gnome.org #433112)
6237
6238 2007-12-07  Dan Williams  <dcbw@redhat.com>
6239
6240         * src/nm-device-802-11-wireless.c
6241                 - Wrap #include of linux/mii.h to fix redefined structures due to
6242                         incorrect kernel headers (gnome.org #350061)
6243
6244 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6245
6246         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6247         before doing anything else.
6248         (init_modem): Move modem initialization here.
6249
6250         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6251         (nm_serial_device_flash): Implement.
6252
6253         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6254         changes signal is "StateChanged" and not "Status".
6255         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6256
6257 2007-12-06  Dan Williams  <dcbw@redhat.com>
6258
6259         * src/supplicant-manager/nm-supplicant-config.c
6260                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6261                         to only send some options when they make sense; also send phase2
6262                         option to the supplicant (possible fix for rh #399631)
6263
6264 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6265
6266         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6267         arguments: This whole file shouldn't really know anything about NMDevices, it
6268         should deal only with device interfaces. Devices might have different ifaces for
6269         different stuff and this place shouldn't know anything about it.
6270
6271         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6272         (global_state_changed): Implement. In the current NM it's not really important,
6273         but will be required in the case of multiple active devices. (Or even better,
6274         if stuff like that gets moved out from NM).
6275
6276         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6277         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6278         instead.
6279
6280         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6281         devices like serial devices (ttyS0 and ppp0 for example).
6282         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6283         set.
6284         (nm_device_set_ip_iface): Implement.
6285         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6286         after setting ip4_config from here ...
6287         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6288         than this function should call nm_system_device_set_from_ip4_config() because no
6289         other code has enough information on which arguments to use. So instead, other code
6290         could just set the new ip4 config using this function and everyone is happy.
6291
6292         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6293         if we happen to get deactivated while something is pending.
6294         (automatic_registration): Handle the response that indicates pending network
6295         registration and wait until the pending registration is done.
6296         (real_deactivate_quickly): If there's a pending operation, cancel it.
6297
6298         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6299         (real_deactivate_quickly): ... and remove it when it's down.
6300         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6301         it if needed.
6302         (nm_serial_device_wait_for_reply): Ditto.
6303
6304 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6305
6306         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6307         (get_network_done): Remove newline, nm_info() does it already.
6308         (real_act_stage1_prepare): Turn the modem echo off.
6309
6310         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6311         device, set the route to the device interface. This is a hack.
6312
6313         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6314         return, no need for a new-line.
6315         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6316         Change the device iface here (ugh).
6317         (real_act_stage4_get_ip4_config): Implement.
6318         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6319         Restore the device iface.
6320
6321         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6322         device is not wired or wireless (eg, automatically upped) device.
6323
6324         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6325         it isn't.
6326         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6327
6328         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6329         before calling it's is_device_fn().
6330
6331 2007-12-05  Dan Williams  <dcbw@redhat.com>
6332
6333         * libnm-util/nm-utils.c
6334                 - (nm_utils_register_value_transformations,
6335                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6336                         GHashTables of GValues too
6337
6338 2007-12-04  Dan Williams  <dcbw@redhat.com>
6339
6340         * initscript/RedHat/NetworkManager.in
6341                 - No longer start named; it's D-Bus interface is going away
6342
6343 2007-12-04  Dan Williams  <dcbw@redhat.com>
6344
6345         Patch from Michael Biebl <biebl@debian.org>
6346
6347         * system-settings/plugins/ifcfg/Makefile.am
6348           system-settings/src/main.c
6349           system-settings/src/Makefile.am
6350                 - Put system settings plugins in NM plugins dir
6351
6352         * src/ppp-manager/Makefile.am
6353           src/ppp-manager/nm-ppp-manager.c
6354                 - Move pppd plugin to NM plugins dir
6355
6356 2007-12-04  Dan Williams  <dcbw@redhat.com>
6357
6358         * libnm-util/nm-setting-vpn-properties.h
6359                 - Clarify usage of the 'data' member of the setting
6360
6361         * libnm-util/nm-setting-vpn-properties.c
6362                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6363                 - (set_property): just remove all the settings; don't recreate the has
6364                 - (update_one_secret): don't need to create the hash table here since
6365                         it should always be present
6366
6367 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6368
6369         Implement PIN and PUK requesting.
6370
6371         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6372         (enter_pin): Handle PIN and PUK requests.
6373         (real_act_stage1_prepare): Clear the secret type.
6374         (real_connection_secrets_updated): Implement this class method to get
6375         notified when new secrets arrive.
6376         (nm_umts_device_class_init): Add private data back to the umts device class
6377         to store the required secret type.
6378
6379 2007-12-01  Dan Williams  <dcbw@redhat.com>
6380
6381         * system-settings/plugins/ifcfg/parser.c
6382                 - (parser_parse_file): don't try to verify NULL connections
6383
6384 2007-12-01  Dan Williams  <dcbw@redhat.com>
6385
6386         * system-settings/src/main.c
6387                 - (load_connections, add_connection_to_settings): actually export
6388                         plugin-provided connections over D-Bus so NM can get them
6389
6390 2007-12-01  Dan Williams  <dcbw@redhat.com>
6391
6392         * system-settings/plugins/ifcfg/parser.c
6393           system-settings/plugins/ifcfg/parser.h
6394           system-settings/plugins/ifcfg/plugin.c
6395                 - Hook up more inotify bits (untested)
6396
6397 2007-11-29  Dan Williams  <dcbw@redhat.com>
6398
6399         * system-settings/src/nm-system-config-interface.h
6400           system-settings/src/nm-system-config-interface.c
6401                 - (nm_system_config_interface_init,
6402                    nm_system_config_interface_get_connections): add
6403
6404         * system-settings/src/main.c
6405                 - (load_plugins, load_connections, main): use a GSList for plugins
6406                         to ensure priority ordering
6407
6408         * system-settings/plugins/ifcfg/parser.c
6409                 - (ifcfg_error_quark): move to plugin.c, and rename
6410
6411         * system-settings/plugins/ifcfg/plugin.h
6412           system-settings/plugins/ifcfg/plugin.c
6413                 - (ifcfg_plugin_error_quark): move here from parser.c
6414                 - rework connection loading and initialization
6415                 - Add preliminary inotify support for network profile config file
6416
6417 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6418
6419         Merge the beginnings of the new GSM card support.
6420
6421         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6422         ppp watch source before killing pppd - If this happens from g_object_unref()
6423         then the ppp manager is already destroyed by the time the watch callback runs.
6424
6425         * src/nm-hal-manager.c: Add a device_type_name string to the device
6426         creators, so that we can print a nice human readable string when a
6427         device is added.
6428
6429         * src/nm-umts-device.c (automatic_registration_get_network): Query
6430         for the activated network, not much is done with the result thought.
6431
6432         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6433         (ppp_ip4_config): Change the device state to activated here for now.
6434         (real_check_connection): Make sure the connection includes ppp setting.
6435
6436         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6437
6438         * libnm-glib/Makefile.am: Add the new files to build.
6439
6440         * libnm-glib/nm-umts-device.c: 
6441         * libnm-glib/nm-umts-device.h: Implement.
6442
6443 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6444
6445         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6446         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6447
6448         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6449         the timeout source - this function is only called when the timeout source has
6450         been removed.
6451         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6452         to be big enough to contain the terminating zero element as well.
6453         The timeout argument is meant to be in seconds now.
6454         (real_deactivate_quickly): Implement.
6455
6456         * src/NetworkManager.conf: Allow root to own 
6457         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6458
6459         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6460         (not unsigned ints).
6461
6462         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6463         small issue with parity bounds - capital letters have lower ascii codes
6464         than lower case letters.
6465
6466         * libnm-util/nm-connection.c (register_default_settings): Register serial
6467         and umts settings.
6468
6469 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6470
6471         Remove the "index" property from devices as not all device types have this.
6472
6473         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6474
6475         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6476         (wired_device_creator): Get the device interface from hal to create the device.
6477         (wireless_device_creator): Ditto.
6478
6479         * src/nm-device.c (nm_device_init): Remove the index member.
6480         (constructor): Remove the checks for index property, make interface property
6481         a require constructor property.
6482         Use the HAL udi for DBus path for devices.
6483         (nm_device_get_index): Remove.
6484         (set_property): Remove index handling.
6485         (get_property): Ditto.
6486         (nm_device_get_dbus_path): Remove.
6487
6488         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6489         property.
6490
6491         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6492         Access the device index through it's interface.
6493         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6494         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6495         index argument. Add interface argument.
6496
6497         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6498         the useless test_dev argument. Remove index argument. Add interface arugment.
6499
6500         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6501         device index through interface.
6502         (nm_system_set_mtu): Ditto.
6503
6504         * introspection/nm-device.xml: Remove the "Index" property.
6505
6506 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6507
6508         * src/nm-serial-device.c: 
6509         * src/nm-serial-device.c: 
6510         * src/nm-umts-device.c:
6511         * src/nm-umts-device.h: Implement.
6512
6513         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6514         allocated by libhal.
6515         (modem_device_creator): Implement.
6516         (register_built_in_creators): Register the modem creator.
6517
6518         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6519         Remove the unused test_dev argument.
6520
6521         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6522
6523         * src/Makefile.am: Add new files to build.
6524         Link in ppp-manager.
6525
6526         * libnm-util/nm-setting-umts.c: 
6527         * libnm-util/nm-setting-umts.h: 
6528         * libnm-util/nm-setting-serial.c: 
6529         * libnm-util/nm-setting-serial.h: Implement.
6530
6531         * libnm-util/Makefile.am: Add new files to build.
6532
6533 2007-11-28  Dan Williams  <dcbw@redhat.com>
6534
6535         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6536
6537         Support DHCP-provided static routes.
6538
6539         * src/nm-ip4-config.h
6540           src/nm-ip4-config.c
6541                 - Add get/set functions for static routes
6542
6543         * src/dhcp-manager/nm-dhcp-manager.c
6544                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6545                         DHCP response
6546
6547         * src/NetworkManagerSystem.c
6548                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6549                         interface when applying the IP4Config
6550
6551 2007-11-28  Dan Williams  <dcbw@redhat.com>
6552
6553         * src/nm-device-802-11-wireless.c
6554                 - (real_act_stage1_prepare): mark APs created for hidden networks
6555                         as non-broadcasting
6556
6557 2007-11-27  Dan Williams  <dcbw@redhat.com>
6558
6559         * system-settings/src/nm-system-config-interface.h
6560                 - Note how to store secrets on NMSetting objects
6561
6562         * system-settings/src/dbus-settings.c
6563                 - (connection_settings_get_secrets): implement
6564
6565 2007-11-27  Dan Williams  <dcbw@redhat.com>
6566
6567         * system-settings/plugins/ifcfg/Makefile.am
6568           system-settings/plugins/ifcfg/parser.c
6569           system-settings/plugins/ifcfg/parser.h
6570           system-settings/plugins/ifcfg/plugin.c
6571                 - Parse wireless connections too
6572
6573         * system-settings/src/dbus-settings.c
6574           system-settings/src/dbus-settings.h
6575           system-settings/src/main.c
6576                 - Handle connection update/removal if the plugin supports it
6577
6578 2007-11-27  Dan Williams  <dcbw@redhat.com>
6579
6580         * src/nm-dbus-manager.h
6581           src/nm-hal-manager.c
6582                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6583                         do it for them
6584
6585         * src/Makefile.am
6586           src/NetworkManagerDbusUtils.c
6587           src/NetworkManagerDbusUtils.h
6588                 - Remove these two source files; they are unused
6589
6590 2007-11-27  Dan Williams  <dcbw@redhat.com>
6591
6592         * src/vpn-manager/nm-vpn-manager.c
6593                 - (impl_vpn_manager_connect): fix system settings check (found by
6594                         James M. Leddy)
6595
6596 2007-11-26  Dan Williams  <dcbw@redhat.com>
6597
6598         * Fix warnings so everything compiles with --enable-more-warnings
6599
6600 2007-11-25  Dan Williams  <dcbw@redhat.com>
6601
6602         * system-settings/*
6603                 - Rework structure and code to use GModule-loaded plugins and a plugin
6604                         interface that plugins export to the system settings service
6605
6606 2007-11-21  Dan Williams  <dcbw@redhat.com>
6607
6608         * system-settings/*
6609                 - Add Soren's system settings service.  Needs work for distros other
6610                         than Fedora; the backends from NM should mostly migrate to here
6611                         and be converted to GObjects
6612
6613 2007-11-21  Dan Williams  <dcbw@redhat.com>
6614
6615         * libnm-util/nm-setting-vpn-properties.c
6616                 - (set_property): must deep-copy the given settings hash, otherwise
6617                         double-free errors occur when the setting is disposed of
6618
6619 2007-11-21  Dan Williams  <dcbw@redhat.com>
6620
6621         * src/vpn-manager/nm-vpn-act-request.h
6622           src/vpn-manager/nm-vpn-act-request.c
6623                 - Remove; unused
6624
6625 2007-11-20  Dan Williams  <dcbw@redhat.com>
6626
6627         * libnm-util/nm-utils.c
6628                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6629                    nm_utils_convert_ip4_addr_struct_array_to_string,
6630                    nm_utils_register_value_transformations): print out the readable
6631                         values of more types of properties of NMSettings subclasses
6632
6633 2007-11-20  Dan Williams  <dcbw@redhat.com>
6634
6635         * libnm-util/nm-setting-ip4-config.c
6636                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6637                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6638                         marshal GValueArrays inside collections, so switch to types that it
6639                         can actually marshal/demarshal
6640
6641 2007-11-16  Dan Williams  <dcbw@redhat.com>
6642
6643         * libnm-util/nm-setting-wireless-security.c
6644                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6645                         minimal verification of EAP methods too
6646                 - (verify): verify phase1 eap methods too
6647
6648 2007-11-15  Dan Williams  <dcbw@redhat.com>
6649
6650         * libnm-glib/nm-device.h
6651           libnm-glib/nm-device.c
6652                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6653                         const char *
6654
6655 2007-11-15  Dan Williams  <dcbw@redhat.com>
6656
6657         * libnm-glib/nm-device.c
6658                 - (get_product_and_vendor): don't try to free things that should be
6659                         freed
6660
6661 2007-11-15  Dan Williams  <dcbw@redhat.com>
6662
6663         * src/NetworkManagerUtils.c
6664                 - (nm_ethernet_address_is_valid): unbreak previous fix
6665
6666 2007-11-15  Dan Williams  <dcbw@redhat.com>
6667
6668         * src/supplicant-manager/nm-supplicant-config.c
6669                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6670                         options
6671
6672 2007-11-15  Dan Williams  <dcbw@redhat.com>
6673
6674         * src/NetworkManagerUtils.c
6675                 - (nm_ethernet_address_is_valid): fix style, clarify
6676                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6677
6678         * src/nm-device-802-11-wireless.c
6679                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6680                 - (nm_device_802_11_wireless_get_ssid,
6681                    nm_device_802_11_wireless_get_bssid,
6682                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6683                         before calling the ioctl; fixes valgrind-reported jump depends on
6684                         uninitialized value errors
6685
6686 2007-11-15  Dan Williams  <dcbw@redhat.com>
6687
6688         * libnm-util/nm-setting.c
6689                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6690                         unecessary to serialize 'name'
6691
6692         * src/nm-activation-request.c
6693                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6694                         the GetSecrets call
6695
6696 2007-11-15  Dan Williams  <dcbw@redhat.com>
6697
6698         * libnm-util/nm-setting-connection.h
6699           libnm-util/nm-setting-connection.c
6700                 - Rename the 'name' property to 'id', because it conflicted with the
6701                         NMSetting superclass' 'name' property.
6702
6703         * libnm-util/nm-setting.c
6704                 - (nm_setting_to_hash): serialize the 'name' property
6705                 - (one_property_cb): ignore 'name' on deserialization of a connection
6706
6707         * src/nm-device-802-11-wireless.c
6708           src/vpn-manager/nm-vpn-connection.c
6709           src/NetworkManagerPolicy.c
6710                 - Fix up for NMSettingConnection 'name'->'id' changes
6711
6712 2007-11-13  Dan Williams  <dcbw@redhat.com>
6713
6714         * libnm-glib/nm-device-802-11-wireless.h
6715           libnm-glib/nm-device-802-11-wireless.c
6716                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6717
6718         * test/nm-tool.c
6719           libnm-glib/libnm-glib-test.c
6720                 - Fixes for above change
6721
6722 2007-11-12  Dan Williams  <dcbw@redhat.com>
6723
6724         * src/supplicant-manager/nm-supplicant-settings-verify.c
6725                 - Allow fragment_size option
6726
6727         * src/supplicant-manager/nm-supplicant-settings-verify.c
6728                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6729                         EAP fragment size than the default to help some TLS connections
6730
6731 2007-11-12  Dan Williams  <dcbw@redhat.com>
6732
6733         Make certs actually work.  The private key is now a secret, and should be
6734         decrypted when requested by NM.  The private key and phase2 private key
6735         passwords are no longer interesting to NM because they should be used by
6736         the settings service to decrypt the private key itself before passing it
6737         to NM, and hence have been removed as fields.
6738
6739         * libnm-util/nm-setting-wireless-security.h
6740           libnm-util/nm-setting-wireless-security.c
6741                 - Remove private-key-passwd and phase2-private-key-passwd from
6742                         properties
6743                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6744                    need_secrets): use property #defines instead strings to keep things
6745                         consistent
6746                 - (need_secrets_tls): if a client certificate is present but no
6747                         private key, request the private key
6748                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6749                         remove private key password stuff, mark private keys as secret
6750
6751         * src/supplicant-manager/nm-supplicant-settings-verify.c
6752                 - Remove private_key_passwd and private_key2_passwd from opt_table
6753
6754 2007-11-09  Dan Williams  <dcbw@redhat.com>
6755
6756         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6757         Since the vpn-properties are managed and known by the VPN daemons themselves,
6758         libnm-util doesn't know what's secret and what's in the setting's 'data'
6759         member.
6760
6761         * libnm-util/nm-setting.h
6762           libnm-util/nm-setting.c
6763                 - Add the ability for subclasses to override update_one_secret
6764
6765         * libnm-util/nm-setting-vpn-properties.c
6766                 - Override update_one_secret and just copy the values into the
6767                         internal table
6768
6769 2007-11-09  Dan Williams  <dcbw@redhat.com>
6770
6771         * libnm-glib/nm-settings.h
6772           libnm-glib/nm-settings.c
6773                 - (nm_settings_new_error): remove
6774                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6775                         clients should use g_set_error() with NM_SETTINGS_ERROR
6776
6777 2007-11-09  Dan Williams  <dcbw@redhat.com>
6778
6779         * src/supplicant-manager/nm-supplicant-config.c
6780                 - (nm_supplicant_config_add_setting_wireless_security): private key
6781                         passwords are never sent to wpa_supplicant, because the supplicant
6782                         should never be reading random files from the disk.  Clients like
6783                         the applet are required to decrypt the private keys and send NM
6784                         the decrypted blobs.
6785
6786 2007-11-08  Dan Williams  <dcbw@redhat.com>
6787
6788         * libnm-util/nm-setting-wireless-security.h
6789           libnm-util/nm-setting-wireless-security.c
6790                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6791                         members to 802-11-wireless-security structure.  This should be used
6792                         to indicate that the values in private-key and phase2-private-key
6793                         are already decrypted by the user agent, and that no
6794                         private-key-passwd or phase2-private-key-passwd should be expected.
6795                         It is not meant to be a stored configuration value, but meant to
6796                         be set when the conneciton is sent to NM over dbus.
6797
6798 2007-11-08  Dan Williams  <dcbw@redhat.com>
6799
6800         * libnm-util/nm-connection.h
6801           libnm-util/nm-connection.c
6802                 - (nm_connection_need_secrets): add argument to return hints
6803
6804         * src/nm-device-802-11-wireless.c
6805                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6806                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6807                         nm_connection_need_secrets() change
6808
6809 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6810
6811         Rework NMSetting structures: Move each setting to it's own file.
6812         Convert to GObject. Remove home grown setting types and use GTypes.
6813         Use GObject property introspection for hash conversion, enumerating
6814         properties, etc.
6815
6816         * libnm-util/nm-setting-connection.[ch]
6817         * libnm-util/nm-setting-ip4-config.[ch]
6818         * libnm-util/nm-setting-ppp.[ch]
6819         * libnm-util/nm-setting-vpn.[ch]
6820         * libnm-util/nm-setting-vpn-properties.[ch]
6821         * libnm-util/nm-setting-wired.[ch]
6822         * libnm-util/nm-setting-wireless.[ch]
6823         * libnm-util/nm-setting-wireless-security.[ch]
6824
6825         New files, each containing a setting.
6826
6827         * libnm-util/nm-setting-template.[ch]: A template for creating new
6828         settings. To use it, just replace 'template' with the new setting
6829         name, and you're half-way done.
6830
6831         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6832         introspection instead of internal types and tables.
6833
6834         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6835
6836         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6837         GValue types defined by dbus-glib for composed types like collections,
6838         structures and maps.
6839
6840         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6841         a setting from connection takes the setting type now. Also, since
6842         the settings are in multiple files, include relevant settings.
6843
6844 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6845
6846         * configure.in:
6847         * src/backends/NetworkManagerGentoo.c:
6848         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6849         providers in Gentoo.
6850
6851 2007-10-31  Dan Williams  <dcbw@redhat.com>
6852
6853         * libnm-util/nm-connection.c
6854                 - (gvalue_to_string): handle UINT32 arrays
6855
6856 2007-10-31  Dan Williams  <dcbw@redhat.com>
6857
6858         * libnm-glib/nm-device.h
6859           libnm-glib/nm-device.c
6860                 - (nm_device_get_description): remove
6861                 - (nm_device_get_product, nm_device_get_vendor): add
6862                 - (nm_device_update_description): new function (private); walk HAL
6863                         devices to get product and vendor IDs for a specific device
6864
6865 2007-10-31  Dan Williams  <dcbw@redhat.com>
6866
6867         * src/nm-device-802-11-wireless.c
6868                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6869
6870 2007-10-29  Dan Williams  <dcbw@redhat.com>
6871
6872         * src/nm-hal-manager.c
6873                 - (device_added, device_new_capability): ignore device additions while
6874                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6875                         kernel module is unloaded and reloaded and recognized by NM again.
6876
6877 2007-10-26  Dan Williams  <dcbw@redhat.com>
6878
6879         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6880
6881         * src/NetworkManagerAP.c
6882           src/NetworkManagerAP.h
6883           libnm-glib/nm-access-point.c
6884           libnm-glib/nm-access-point.h
6885                 - Make 'rate' property a guint32 to better match with WEXT and
6886                         wpa_supplicant and to allow representation of higher bitrates
6887
6888         * src/nm-device-802-11-wireless.c
6889           introspection/nm-device-802-11-wireless.xml
6890           libnm-glib/nm-device-802-11-wireless.c
6891           libnm-glib/nm-device-802-11-wireless.h
6892                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6893
6894         * src/nm-device-802-3-ethernet.c
6895           src/nm-device-802-3-ethernet.h
6896           introspection/nm-device-802-3-ethernet.xml
6897           libnm-glib/nm-device-802-3-ethernet.c
6898           libnm-glib/nm-device-802-3-ethernet.h
6899                 - Make 'speed' property a guint32 to match other speed/rate types
6900                 - Make nm_device_802_3_ethernet_get_speed() static
6901
6902         * test/nm-tool.c
6903                 - Update for the changes above
6904
6905 2007-10-26  Dan Williams  <dcbw@redhat.com>
6906
6907         * src/named-manager/nm-named-manager.c
6908                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6909                     not calling fclose() twice on some error conditions
6910
6911 2007-10-26  Dan Williams  <dcbw@redhat.com>
6912
6913         * src/nm-activation-request.c
6914                 - (dispose): clean up indentation; get the right DBusGProxy object to
6915                         cancel the GetSecrets pending call on.  Need to use the Secrets
6916                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6917                         pending call doesn't get canceled, and pressing Cancel in the
6918                         applet's password dialog could cause get_secrets_cb() to be called
6919                         after the activation request has already been destroyed
6920
6921 2007-10-24  Dan Williams  <dcbw@redhat.com>
6922
6923         * src/supplicant-manager/nm-supplicant-config.c
6924                 - (nm_supplicant_config_add_blob): pass blob data and length for
6925                         verification
6926                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6927
6928 2007-10-24  Dan Williams  <dcbw@redhat.com>
6929
6930         * src/supplicant-manager/nm-supplicant-settings-verify.c
6931                 - (opt_table): max length for certificates should be 65536
6932
6933 2007-10-24  Dan Williams  <dcbw@redhat.com>
6934
6935         * src/supplicant-manager/nm-supplicant-interface.c
6936                 - (blob_free): correctly free blob data after use
6937                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6938
6939 2007-10-24  Dan Williams  <dcbw@redhat.com>
6940
6941         * libnm-util/nm-setting.c
6942                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6943                         EAP method need secrets
6944
6945 2007-10-24  Dan Williams  <dcbw@redhat.com>
6946
6947         * src/backends/NetworkManagerRedHat.c
6948                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6949
6950 2007-10-23  Dan Williams  <dcbw@redhat.com>
6951
6952         * libnm-util/nm-setting.c
6953           libnm-util/nm-setting.c
6954                 - (nm_setting_compare): implement
6955                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6956                    compare_one_hash_gvalue): compare the contents of a setting
6957
6958         * libnm-util/nm-connection.c
6959                 - (nm_connection_compare): implement
6960
6961 2007-10-23  Dan Williams  <dcbw@redhat.com>
6962
6963         * src/nm-activation-request.c
6964                 - (get_secrets_cb): handle getting a setting back that is more than
6965                         just secrets (ie, user changed auth or EAP method or something)
6966
6967 2007-10-23  Dan Williams  <dcbw@redhat.com>
6968
6969         * libnm-util/nm-setting.c
6970           libnm-util/nm-setting.h
6971                 - (nm_setting_verify): new function; verify one setting
6972                 - (nm_settings_verify_all): rename from nm_settings_verify()
6973                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6974                         all_settings
6975
6976         * libnm-util/nm-connection.c
6977                 - (nm_connection_replace_settings, nm_connection_verify,
6978                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6979
6980 2007-10-23  Dan Williams  <dcbw@redhat.com>
6981
6982         * src/nm-device-802-11-wireless.c
6983                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6984                         desired behavior
6985
6986 2007-10-23  Dan Williams  <dcbw@redhat.com>
6987
6988         * src/supplicant-manager/nm-supplicant-settings-verify.c
6989                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6990                         nm-settings.c
6991
6992 2007-10-23  Dan Williams  <dcbw@redhat.com>
6993
6994         * src/nm-device-802-11-wireless.c
6995                 - (real_act_stage2_config): after the first association failure,
6996                         if the connection still needs secrets ask the user for them
6997                         explicitly.  After the fourth association failure due to bad
6998                         secrets, fail the connection entirely.  Handles the GetSecrets
6999                         loop that NM gets into when the provided secrets don't match up
7000                         with the connection details.
7001
7002 2007-10-23  Dan Williams  <dcbw@redhat.com>
7003
7004         * src/supplicant-manager/nm-supplicant-config.c
7005                 - (nm_supplicant_config_add_setting_wireless_security): only add
7006                         WPA-specific options when WPA is in use
7007
7008 2007-10-23  Dan Williams  <dcbw@redhat.com>
7009
7010         * src/supplicant-manager/nm-supplicant-config.c
7011                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7012                         secret doesn't need to be unhexified
7013
7014 2007-10-23  Dan Williams  <dcbw@redhat.com>
7015
7016         * libnm-util/nm-setting.c
7017                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7018                         before trying to do something with it
7019
7020 2007-10-23  Dan Williams  <dcbw@redhat.com>
7021
7022         * src/nm-device-802-11-wireless.c
7023                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7024
7025 2007-10-23  Dan Williams  <dcbw@redhat.com>
7026
7027         * src/nm-device-802-11-wireless.c
7028                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7029                         non-SSID-broadcasting APs
7030
7031 2007-10-23  Dan Williams  <dcbw@redhat.com>
7032
7033         * src/NetworkManagerAP.c
7034                 - (match_cipher, security_compatible): remove
7035                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7036                         libnm-util instead
7037
7038 2007-10-23  Dan Williams  <dcbw@redhat.com>
7039
7040         * libnm-util/nm-utils.c
7041           libnm-util/nm-utils.h
7042                 - (nm_utils_ap_security_compatible): common function for checking
7043                         whether a specific AP is compatible with an NMConnection
7044
7045 2007-10-23  Dan Williams  <dcbw@redhat.com>
7046
7047         * libnm-util/nm-setting.c
7048                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7049                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7050                    need_secrets_password, setting_wireless_security_verify): fix
7051                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7052                         secrets logic for each supported EAP method
7053
7054 2007-10-23  Dan Williams  <dcbw@redhat.com>
7055
7056         * src/supplicant-manager/nm-supplicant-config.c
7057                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7058                         config option name, should be "private_key2_passwd"
7059
7060 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7061
7062         Implement support for static IP addresses, additional/overridden DNS and
7063         DNS domain search lists.
7064
7065         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7066         (ip4_addresses_to_gvalue): Implement.
7067         (convert_array_to_byte_array): Implement.
7068         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7069         NM_S_TYPE_IP4_ADDRESSES.
7070         (nm_setting_hash): Ditto.
7071         (default_setting_clear_secrets): Add a default case for the switch: IP address
7072         shouldn't be secret, ever.
7073         (setting_ip4_config_verify): Update, requires addresses in case of manual
7074         configurations.
7075         (setting_ip4_config_destroy): Free stuff.
7076
7077         * src/nm-device.c (merge_ip4_config): Implement.
7078         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7079
7080 2007-10-22  Dan Williams  <dcbw@redhat.com>
7081
7082         * libnm-util/nm-setting.c
7083                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7084                         pairwise cipher options for Dynamic WEP
7085
7086 2007-10-21  Dan Williams  <dcbw@redhat.com>
7087
7088         * src/NetworkManagerAP.c
7089           src/NetworkManagerAP.h
7090                 - Rename 'articifical' -> 'fake' since that's what they are until
7091                         noticed in scans
7092                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7093                         from the attributes in an NMConnection object
7094                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7095                         WPA Enterprise
7096                 - (nm_ap_match_in_list): find a matching AP in a scan list
7097
7098         * src/nm-device-802-11-wireless.c
7099                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7100                         AP when searching the scan list; match on frequency and mode too
7101                 - (nm_device_802_11_wireless_get_frequency): implement
7102                 - (merge_scanned_ap): replace duplicate matching logic with
7103                         nm_ap_match_in_list()
7104                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7105                         the user is trying to connect to a hidden network that is not yet
7106                         known from the scan list
7107                 - (activation_success_handler): now that the card knows the AP's BSSID,
7108                         there may already be a scanned AP in the scan list that is what
7109                         we really wanted to connect to, but didn't know at the time.  Use
7110                         that instead of the 'fake' AP created at activation start and get
7111                         rid of the 'fake' AP 
7112                 - (cull_scan_list): don't remove fake APs
7113
7114 2007-10-21  Dan Williams  <dcbw@redhat.com>
7115
7116         * src/nm-activation-request.h
7117           src/nm-activation-request.c
7118                 - (nm_act_request_set_specific_object): new function; allow setting the
7119                         specific object if one isn't set yet
7120
7121 2007-10-20  Dan Williams  <dcbw@redhat.com>
7122
7123         * src/supplicant-manager/nm-supplicant-config.h
7124           src/supplicant-manager/nm-supplicant-config.c
7125                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7126                         table to store blobs
7127                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7128                         blob hash table
7129                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7130                 - (nm_supplicant_config_add_setting_wireless_security): handle
7131                         options that use certificates (ie, blobs)
7132
7133         * src/nm-device-802-11-wireless.c
7134                 - (build_supplicant_config): pass a UID (just use the connection path)
7135                         to the supplicant config as now required
7136
7137         * src/supplicant-manager/nm-supplicant-interface.c
7138                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7139                         there are any blobs to send to wpa_supplicant, send those first
7140                         before sending the network configuration
7141
7142 2007-10-19  Dan Williams  <dcbw@redhat.com>
7143
7144         Split the GetSecrets() call off to a separate D-Bus interface so that it
7145         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7146         should be able to call GetSecrets().
7147
7148         * include/NetworkManager.h
7149                 - Define the connection secrets D-Bus interface
7150
7151         * src/vpn-manager/nm-vpn-connection.c
7152                 - (clear_need_auth): get the right proxy object for the connection
7153                         secrets interface
7154                 - (get_connection_secrets): use the connection secrets proxy; send
7155                         empty hints in get secrets request
7156
7157         * src/nm-activation-request.c
7158                 - (nm_act_request_request_connection_secrets): use the connection
7159                         secrets proxy; send empty hints in get secrets request
7160
7161         * src/nm-manager.c
7162           src/nm-manager.h
7163                 - (connection_get_settings_cb): set the connection secrets proxy on
7164                         the connection object too
7165                 - (internal_new_connection_cb): create the connection secrets proxy
7166
7167         * introspection/nm-settings-connection.xml
7168                 - Define Connection.Secrets interface and move GetSecrets there
7169                 - Add a 'hints' argument to GetSecrets
7170
7171         * libnm-glib/nm-settings.c
7172           libnm-glib/nm-settings.h
7173                 - (impl_connection_settings_get_secrets): add 'hints' argument
7174
7175 2007-10-19  Dan Williams  <dcbw@redhat.com>
7176
7177         * src/nm-device.c
7178                 - (constructor): add message about what path a device is exported as
7179                         to help in debugging rh #339011
7180
7181 2007-10-17  Dan Williams  <dcbw@redhat.com>
7182
7183         * libnm-util/nm-utils.h
7184           libnm-util/nm-utils.c
7185                 - (nm_utils_security_valid): common function to help find the intersection
7186                         of capabilities of devices and (optionally) access points
7187
7188 2007-10-17  Dan Williams  <dcbw@redhat.com>
7189
7190         * src/nm-device-802-11-wireless.c
7191                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7192                         don't get erroneously cleared
7193
7194 2007-10-17  Dan Williams  <dcbw@redhat.com>
7195
7196         * src/nm-manager.h
7197           src/nm-manager.c
7198           src/nm-hal-manager.c
7199                 - (device_removed, finalize, nm_manager_remove_device,
7200                    nm_manager_sleep): add a 'deactivate' argument to 
7201                    nm_manager_remove_device() to fully deactivate devices when necessary
7202                    (ie, always except when waking up)
7203
7204 2007-10-16  Dan Williams  <dcbw@redhat.com>
7205
7206         * libnm-util/nm-setting.c
7207                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7208                         also isn't valid phase2 autheap method
7209
7210 2007-10-16  Dan Williams  <dcbw@redhat.com>
7211
7212         * libnm-glib/nm-client.c
7213                 - (update_wireless_status): consolidate updates of wireless status
7214                 - (constructor): use update_wireless_status()
7215                 - (manager_running): set wireless status off when NM goes away; requery
7216                         the wireless status when NM comes back
7217
7218 2007-10-16  Dan Williams  <dcbw@redhat.com>
7219
7220         * libnm-glib/nm-client.c
7221                 - (nm_client_activate_device): actually use the fixed-up specific
7222                         object path
7223
7224 2007-10-16  Dan Williams  <dcbw@redhat.com>
7225
7226         * src/nm-hal-manager.c
7227                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7228                         killswitch error messages once
7229
7230 2007-10-16  Dan Williams  <dcbw@redhat.com>
7231
7232         * src/nm-manager.c
7233                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7234                         if it's disabled in hardware; don't touch network devices while
7235                         NM is asleep
7236
7237 2007-10-16  Dan Williams  <dcbw@redhat.com>
7238
7239         * libnm-util/nm-client.c
7240                 - (nm_client_activate_device): convert NULL specific_object to "/",
7241                         which is used in place of NULL
7242
7243         * src/nm-manager.c
7244                 - (impl_manager_activate_device): convert "/" specific_object back into
7245                         NULL
7246
7247 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7248
7249         Implement a generic NMSetting creator from setting name.
7250         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7251         add a virtual function 'populate_fn'.
7252
7253         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7254         (register_default_creators): Register setting creators instead of functions
7255         that create and then populate.
7256         (parse_one_setting): Use the common setting creator and then setting specific
7257         poplulation function.
7258
7259         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7260         they all looked exactly the same.
7261         Add a 'populate_fn' virtual function to NMSetting.
7262         Use default virtual functions in case they are not overriden.
7263         (nm_setting_populate_from_hash): Implement.
7264
7265         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7266         name, use a defined string.
7267         (real_act_stage4_get_ip4_config): Ditto.
7268
7269 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7270
7271         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7272         HAL is int, not uint.
7273
7274 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7275
7276         Implement killswitch polling through HAL.
7277
7278         * src/nm-manager.c: Add wireless hardware status property. Add 
7279         'properties-changed' signal for changes in wireless and wireless hardware
7280         state changes.
7281
7282         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7283         and update NMManager's wireless hardware state when it has changed.
7284         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7285         already does that.
7286
7287         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7288         values of wireless state and wireless hardware state. Listen for the
7289         'properties-changed' signals, update the cached values and emit notify.
7290
7291         * include/NetworkManager.h: Fix a typo in a comment.
7292
7293 2007-10-14  Dan Williams  <dcbw@redhat.com>
7294
7295         * libnm-util/nm-setting.c
7296                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7297
7298 2007-10-13  Dan Williams  <dcbw@redhat.com>
7299
7300         * libnm-util/nm-setting.h
7301           libnm-util/nm-setting.c
7302           src/supplicant-manager/nm-supplicant-config.c
7303                 - Make the 'proto' field of the 802-11-wireless-security field a
7304                         string list
7305
7306 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7307
7308         Rework the "properties-changed" signal listening implementation.
7309         Add a generic implementation to NMObject class that listens for
7310         the signal and calls property setters of the target NMObject.
7311
7312         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7313
7314         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7315         code to the end of file so that all the static functions are available
7316         without extra declarations.
7317         Remove the "properties-changed" signal handling and use the framework from
7318         NMObject.
7319         Implement property setters for properties that change with 
7320         "properties-changed" signal.
7321
7322         * libnm-glib/nm-access-point.c: Ditto.
7323
7324 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7325
7326         Rework the "properties-changed" signal implementation.
7327         In classes that need to use it, just emit "GObject::notify" and the new
7328         framework takes care of the rest to make the signal available on dbus.
7329         The framework queues the notifications and tries to send as many together
7330         in one signal as possible.
7331
7332         * src/nm-properties-changed-signal.c:
7333         * src/nm-properties-changed-signal.h: Implement.
7334
7335         * src/Makefile.am: Add new files to build.
7336
7337         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7338         signal.
7339
7340         * src/nm-device-802-11-wireless.c: Ditto.
7341
7342 2007-10-10  Dan Williams  <dcbw@redhat.com>
7343
7344         * src/nm-manager.c
7345                 - (wait_for_connection_expired): ensure info is valid
7346                 - (connection_added_default_handler): Should only remove pending
7347                         connection info when the manager has the connection that it's
7348                         waiting for.  Fixes segfault in wait_for_connection_info().  
7349
7350 2007-10-10  Dan Williams  <dcbw@redhat.com>
7351
7352         * libnm-util/nm-setting.c
7353           libnm-util/nm-setting.h
7354                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7355                         can use if they choose.  Should be filled in by the settings service
7356                         on-the-fly with the currently logged in user's username
7357
7358 2007-10-10  Dan Williams  <dcbw@redhat.com>
7359
7360         * src/nm-device-802-11-wireless.c
7361                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7362                         as such, because even if the manager fills in the SSID, NM still
7363                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7364                         its SSID
7365
7366 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7367
7368         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7369         code that used NM's own version of dbus signal handling and custom dictionary
7370         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7371         and we get to maintain over 2000 lines less code.
7372
7373         * libnm-util/dbus-dict-helpers.c:
7374         * libnm-util/dbus-dict-helpers.h: Remove.
7375
7376         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7377
7378         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7379
7380         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7381         handlers.
7382
7383         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7384
7385         * configure.in: Remove test/libnm-util/Makefile creation.
7386
7387         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7388
7389         * test/libnm-util/: Remove the whole directory.
7390
7391 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7392
7393         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7394         device_state_changed_idle_id variable or it would contain some random value and the
7395         schedule_change_check calls would not do anything.
7396
7397 2007-10-09  Dan Williams  <dcbw@redhat.com>
7398
7399         * src/nm-device-802-11-wireless.c
7400                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7401                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7402                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7403                         merging of non-SSID-broadcasting APs
7404
7405 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7406
7407         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7408         "guint8 *" since it's usually used with GByteArray->data.
7409         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7410
7411 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7412
7413         * src/NetworkManagerUtils.c
7414         (nm_utils_is_empty_ssid):
7415         (nm_utils_escape_ssid):
7416         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7417         lot of places, so they belong to libnm-utils instead.
7418
7419         Now with 100% less compiler warnings:
7420
7421         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7422         (nm_dbus_unescape_object_path): Ditto.
7423         (nm_utils_ssid_to_utf8): Ditto.
7424         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7425         (nm_utils_escape_ssid): Ditto.
7426         (nm_utils_same_ssid): Ditto.
7427
7428         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7429         (add_one_connection_element): Remove an unused variable.
7430         (impl_manager_get_active_connections): Ditto.
7431
7432         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7433         variable.
7434
7435         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7436         from the previous commit.
7437
7438         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7439         (real_act_stage1_prepare): Ditto.
7440         (activation_success_handler): Ditto.
7441         (get_property): Ditto.
7442
7443         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7444         variable.
7445
7446         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7447         it's always set.
7448
7449         * src/supplicant-manager/nm-supplicant-config.c 
7450         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7451         to expected "char *".
7452         (nm_supplicant_config_add_setting_wireless): Ditto.
7453         (nm_supplicant_config_remove_option): Remove, not used.
7454
7455         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7456         not double.
7457         (test_wireless_enabled): Ifdef out unused function.
7458         (device_deactivate): Ditto.
7459         (device_state_changed): Ditto.
7460         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7461         (nm_utils_escape_ssid): Ditto.
7462
7463         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7464         (nm_utils_is_empty_ssid): Ditto.
7465
7466         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7467         unused variable.
7468
7469         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7470         (setting_vpn_properties_update_secrets): Ditto.
7471         (int_to_gvalue): Ifdef out for now, not used.
7472         (byte_to_gvalue): Ditto.
7473
7474         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7475         Unused, remove.
7476
7477 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7478
7479         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7480         about dbus manager, not named manager.
7481         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7482
7483         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7484         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7485         However, the same signal is emitted when we destroy it and there's 
7486         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7487
7488         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7489         releasing the DBusGConnection, since proxy needs a conneciton.
7490         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7491
7492 2007-10-08  Dan Williams  <dcbw@redhat.com>
7493
7494         * src/NetworkManager.c
7495                 - (main): error on unknown command-line options
7496
7497 2007-10-08  Dan Williams  <dcbw@redhat.com>
7498
7499         Reimplement the invalid connection list.  Don't try to re-activate a
7500         connection that just failed or was canceled.
7501
7502         * src/nm-device.c
7503                 - (connection_secrets_failed_cb): fail device activation, don't just
7504                         deactivate the device.  Listeners have to know about the failure.
7505
7506         * src/NetworkManagerPolicy.c
7507                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7508                         the connection list given to a device's get_best_connection()
7509                         method
7510                 - (device_state_changed): tag failed connections as invalid; clear the
7511                         tag from successful connections
7512
7513 2007-10-08  Dan Williams  <dcbw@redhat.com>
7514
7515         Fix problems with interrupted activation.  Previously, choosing an AP
7516         from the menu, then choosing another one before the first connection was
7517         successful wouldn't deactivate the device before starting the new connection
7518         on that same device.
7519
7520         * src/NetworkManagerPolicy.c
7521                 - (deactivate_old_device, device_state_changed, state_changed,
7522                    nm_policy_new): wrong place to deactivate old devices
7523
7524         * src/nm-manager.c
7525                 - (pending_connection_info_destroy, finalize,
7526                    wait_for_connection_expired): decouple destruction of the pending
7527                         connection info from the manager device
7528                 - (connection_added_default_handler): deactivate any active or
7529                         activating device before starting a new activation
7530                 - (impl_manager_activate_device): deactivate any active or activating
7531                         device before starting a new activation; be sure not to leak
7532                         pending connection info if a new activation request arrives but
7533                         there's already a pending one in-process
7534
7535 2007-10-08  Dan Williams  <dcbw@redhat.com>
7536
7537         * src/NetworkManagerAP.h
7538           src/NetworkManagerAP.c
7539                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7540                         should handle default SSIDs and whether or not to autoconnect
7541                         to them
7542
7543 2007-10-08  Dan Williams  <dcbw@redhat.com>
7544
7545         * src/NetworkManagerPolicy.c
7546                 - (nm_policy_device_change_check): print out connection name where
7547                         possible
7548
7549 2007-10-08  Dan Williams  <dcbw@redhat.com>
7550
7551         * src/nm-device-802-11-wireless.c
7552           src/nm-device-802-11-wireless.h
7553                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7554                         'hidden-ap-found' signal (for internal use only) that allows the
7555                         NMManager to fill in the AP's SSID if a connection has that AP's
7556                         BSSID in its seen-bssids list
7557
7558         * src/nm-manager.c
7559                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7560                         wireless device's hidden-ap-found signal and fill in the APs SSID
7561                         if possible
7562
7563 2007-10-07  Dan Williams  <dcbw@redhat.com>
7564
7565         * src/nm-manager.c
7566           src/nm-manager.h
7567                 - Add a 'connections-added' signal to batch together updates of large
7568                         numbers of connections, like when reading from a settings service
7569                         the first time.  Otherwise, the policy would just activate the first
7570                         suitable connection it saw rather than waiting for the full list
7571                         to arrive.
7572                 - (nm_manager_class_init): register new signal
7573                 - (get_type_for_proxy, connection_get_settings_cb,
7574                    get_connection_for_proxy): centralize places where a proxy's setting
7575                         service is determined
7576                 - (free_get_settings_info): if the call being freed is the last call
7577                         in a pending call group, fire off the connections-added signal
7578                 - (internal_new_connection_cb): add call to a pending call group if
7579                         requested
7580                 - (list_connections_cb): always create a call group here, because this
7581                         call results in a batch of new connections
7582                 - (initial_get_connections): start getting system connections first
7583                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7584                         removed signal when destroying connections
7585
7586         * src/NetworkManagerPolicy.c
7587                 - (nm_policy_new, connections_added): handle connections-added signal
7588                         from the manager
7589
7590 2007-10-06  Dan Williams  <dcbw@redhat.com>
7591
7592         * src/nm-device-802-11-wireless.c
7593                 - (constructor): fix leaked socket
7594
7595 2007-10-06  Dan Williams  <dcbw@redhat.com>
7596
7597         * src/NetworkManagerPolicy.c
7598                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7599                         connection in the list returned by nm_manager_get_connections() is
7600                         reffed, but they weren't getting unreffed before returning
7601
7602 2007-10-06  Dan Williams  <dcbw@redhat.com>
7603
7604         * src/nm-manager.c
7605                 - (connections_to_slist): sort connections first on autoconnect, then
7606                         on timestamp
7607
7608 2007-10-06  Dan Williams  <dcbw@redhat.com>
7609
7610         * libnm-util/nm-connection.c
7611                 - (gvalue_to_string): handle UINT64
7612
7613 2007-10-06  Dan Williams  <dcbw@redhat.com>
7614
7615         * src/NetworkManagerPolicy.c
7616                 - (connection_updated, nm_policy_new): recheck state when a connection
7617                         gets updated
7618
7619 2007-10-06  Dan Williams  <dcbw@redhat.com>
7620
7621         * src/nm-manager.c
7622           src/nm-manager.h
7623                 - (nm_manager_get_connection_dbus_path): make static
7624                 - (nm_manager_update_connections): remove; unused
7625                 - Add a connection-updated signal
7626                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7627                         handle connection object updates
7628
7629 2007-10-06  Dan Williams  <dcbw@redhat.com>
7630
7631         * src/NetworkManagerPolicy.c
7632                 - (connection_removed): deactivate removed connections
7633
7634 2007-10-06  Dan Williams  <dcbw@redhat.com>
7635
7636         * libnm-util/nm-connection.c
7637           libnm-util/nm-connection.h
7638                 - (nm_connection_replace_settings): new function
7639
7640 2007-10-06  Dan Williams  <dcbw@redhat.com>
7641
7642         * libnm-glib/nm-device-802-11-wireless.c
7643                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7644                         on error when getting the active access point over D-Bus from NM
7645
7646 2007-10-05  Dan Williams  <dcbw@redhat.com>
7647
7648         * libnm-util/nm-setting.c
7649                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7650                         to the NMSettingWireless table; it's now a string array not an array
7651                         of byte arrays
7652
7653 2007-10-05  Dan Williams  <dcbw@redhat.com>
7654
7655         * libnm-glib/nm-device-802-11-wireless.c
7656                 - Cache properties and update cached properties on D-Bus signals from NM
7657
7658 2007-10-05  Dan Williams  <dcbw@redhat.com>
7659
7660         * src/nm-device-802-11-wireless.c
7661                 - (set_current_ap): consolidate current_ap handling code into one place
7662                         to ensure that PropertiesChanged signals are emitted in all cases
7663                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7664                    nm_device_802_11_wireless_dispose): use set_current_ap()
7665
7666 2007-10-05  Dan Williams  <dcbw@redhat.com>
7667
7668         * libnm-glib/nm-access-point.c
7669           libnm-glib/nm-access-point.h
7670                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7671                         because the value is cached internally now.  Callers should not
7672                         free the internal value.
7673                 - Make signal name defines private
7674
7675         * test/nm-tool.c
7676           libnm-glib/libnm-glib-test.c
7677                 - Don't free value returned from nm_access_point_get_hw_address()
7678
7679 2007-10-04  Dan Williams  <dcbw@redhat.com>
7680
7681         * introspection/nm-device-802-11-wireless.xml
7682           src/nm-device-802-11-wireless.h
7683           src/nm-device-802-11-wireless.c
7684                 - Add a PropertiesChanged signal for wireless device
7685                 - Store currently associated access point
7686                 - (periodic_update): generalize; update rate here too and emit the
7687                         correct PropertiesChanged signal when stuff changes
7688                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7689                    real_activation_cancel_handler): clear current_ap when device is
7690                         deactivated
7691                 - (link_to_specific_ap, get_ap_blacklisted,
7692                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7693                         code
7694                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7695                         outside this file
7696                 - (real_set_hw_address): emit property changed signal if the card's
7697                         MAC address changes
7698                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7699                         the card is supposed to be connecting to
7700                 - (activation_success_handler): send out property updates on successful
7701                         activation
7702                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7703                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7704                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7705                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7706                         is now boxed; add PropertiesChanged signal
7707
7708 2007-10-04  Dan Williams  <dcbw@redhat.com>
7709
7710         * libnm-util/nm-connection.c
7711           libnm-util/nm-connection.h
7712                 - (nm_connection_verify): new function
7713
7714 2007-10-04  Dan Williams  <dcbw@redhat.com>
7715
7716         * libnm-util/nm-setting.c
7717                 - (nm_settings_verify): use #defines when possible rather than strings
7718                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7719                 - (setting_vpn_verify): tighter validity check on 'service_type'
7720
7721 2007-10-04  Dan Williams  <dcbw@redhat.com>
7722
7723         * libnm-glib/nm-settings.c
7724                 - (nm_connection_settings_class_init): provide correct type for argument
7725                         to the Updated signal so that dbus-glib knows how to marshal it
7726
7727 2007-10-03  Dan Williams  <dcbw@redhat.com>
7728
7729         * src/nm-device-802-3-ethernet.c
7730                 - (real_get_best_connection): don't create automatic connections
7731                         internally; clients should provide a setting that applies to
7732                         the device with 'autoconnect: True'.  Problem was that these
7733                         internally auto-created connections don't have a proxy or service
7734                         name becuase they weren't created by a settings daemon, and therefore
7735                         clients have no idea what to do with them.
7736
7737 2007-10-03  Dan Williams  <dcbw@redhat.com>
7738
7739         * src/nm-device-802-11-wireless.c
7740           src/nm-device-802-11-wireless.h
7741           introspection/nm-device-802-11-wireless.xml
7742                 - GetActiveNetworks -> GetAccessPoints
7743                 - ActiveNetwork -> ActiveAccessPoint
7744                 - NetworkAdded -> AccessPointAdded
7745                 - NetowrkRemoved -> AccessPointRemoved
7746
7747         * libnm-glib/nm-device-802-11-wireless.c
7748           libnm-glib/nm-device-802-11-wireless.h
7749                 - network-added signal -> access-point-added
7750                 - network-removed signal -> access-point-removed
7751                 - nm_device_802_11_wireless_get_active_network() ->
7752                         nm_device_802_11_wireless_get_active_access_point()
7753                 - nm_device_802_11_wireless_get_network_by_path() ->
7754                         nm_device_802_11_wireless_get_access_point_by_path()
7755                 - nm_device_802_11_wireless_get_networks() ->
7756                         nm_device_802_11_wireless_get_access_points()
7757
7758         * libnm-glib/libnm-glib-test.c
7759           test/nm-tool.c
7760           src/NetworkManagerPolicy.c
7761                 - Fixups for Network -> AccessPoint
7762
7763 2007-10-03  Dan Williams  <dcbw@redhat.com>
7764
7765         Add a GetActiveConnections() method on the Manager object.
7766
7767         * src/nm-manager.c
7768           src/nm-manager.h
7769           introspection/nm-manager.xml
7770                 - (connection_get_settings_cb): keep connection type around too
7771                 - (impl_manager_get_active_connections, add_one_connection_element):
7772                         implement; returns all active connections and what devices they
7773                         apply to
7774
7775         * libnm-glib/nm-client.c
7776           libnm-glib/nm-client.h
7777           introspection/nm-manager-client.xml
7778                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7779                         by the caller; free here to avoid memory leak
7780                 - (nm_client_get_active_connections): implement; return the list of
7781                         active connections
7782                 - (nm_client_free_active_connection_element): implement; free an element
7783                         of the GSList returned by nm_client_get_active_connections()
7784
7785 2007-10-03  Dan Williams  <dcbw@redhat.com>
7786
7787         * src/nm-device-802-11-wireless.c
7788                 - (nm_device_802_11_wireless_update_bssid): remove
7789                 - (get_active_ap): new function; find the AP in the scan list which
7790                         matches the current BSSID and SSID of the wireless device
7791                 - (nm_device_802_11_periodic_update): get current AP using
7792                         get_active_ap() and print AP roam messages
7793
7794 2007-10-01  Dan Williams  <dcbw@redhat.com>
7795
7796         * libnm-util/nm-setting.h
7797                 - Add a 'timestamp' option to NMSettingConnection
7798                 - Add a UINT64 type
7799
7800         * libnm-util/nm-setting.c
7801                 - (uint64_to_gvalue): new function
7802                 - (nm_setting_populate_from_hash, nm_setting_hash,
7803                    default_setting_clear_secrets): handle UINT64 type
7804                 - con_table: add 'timestamp' member
7805
7806 2007-10-01  Dan Williams  <dcbw@redhat.com>
7807
7808         * src/nm-manager.c
7809                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7810                         value when the connection can be activated immediately
7811
7812 2007-10-01  Dan Williams  <dcbw@redhat.com>
7813
7814         * libnm-glib/nm-device.c
7815                 - (nm_device_class_init): actually tell glib about the carrier-changed
7816                         signal
7817
7818 2007-10-01  Dan Williams  <dcbw@redhat.com>
7819
7820         * configure.in
7821           src/marshallers/Makefile.am
7822           src/marshallers/nm-marshal.list
7823           src/marshallers/nm-marshal-main.c
7824                 - Consolidate glib marshallers into one place
7825
7826         * src/dhcp-manager/Makefile.am
7827           src/dhcp-manager/nm-dhcp-manager.c
7828           src/supplicant-manager/Makefile.am
7829           src/supplicant-manager/nm-supplicant-manager.c
7830           src/supplicant-manager/nm-supplicant-interface.c
7831           src/ppp-manager/Makefile.am
7832           src/ppp-manager/nm-ppp-manager.c
7833           src/vpn-manager/Makefile.am
7834           src/vpn-manager/nm-vpn-connection.c
7835           src/Makefile.am
7836                 - Use consolidated marshallers
7837
7838         * src/dhcp-manager/nm-dhcp-marshal.list
7839           src/dhcp-manager/nm-dhcp-marshal-main.c
7840           src/supplicant-manager/nm-supplicant-marshal-main.c
7841           src/supplicant-manager/nm-supplicant-marshal.list
7842           src/nm-marshal-main.c
7843           src/nm-marshal.list
7844           src/ppp-manager/nm-ppp-marshal-main.c
7845           src/ppp-manager/nm-ppp-marshal.list
7846           src/vpn-manager/nm-vpn-marshal-main.c
7847           src/vpn-manager/nm-vpn-marshal.list
7848                 - Remove
7849
7850 2007-10-01  Dan Williams  <dcbw@redhat.com>
7851
7852         * include/NetworkManagerVPN.h
7853                 - define VPN connection state change reason codes
7854
7855         * src/vpn-manager/Makefile.am
7856           src/vpn-manager/nm-vpn-marshal.list
7857           src/vpn-manager/nm-vpn-marshal-main.c
7858                 - Add marshallers for StateChanged signal
7859
7860         * introspection/nm-vpn-connection.xml
7861                 - New Banner property
7862                 - StateChanged signal now includes a 'reason' argument
7863
7864         * src/vpn-manager/nm-vpn-connection.c
7865           src/vpn-manager/nm-vpn-connection.h
7866                 - Add a "Banner" property that contains the returned VPN server login
7867                         banner (if any); valid only in the ACTIVATED state
7868                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7869                         a 'reason' argument and emits that reason along with the
7870                         state-changed signal
7871                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7872                 - (nm_vpn_connection_ip4_config_get): save banner for later
7873                 - (nm_vpn_connection_get_banner, get_property,
7874                    nm_vpn_connection_class_init): implement Banner property
7875
7876         * src/vpn-manager/nm-vpn-service.c
7877                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7878                         connection list because elements may get added/removed from it
7879                         while iterating over the list
7880                 - (connection_state_changed): signal now includes the 'reason' argument
7881
7882         * libnm-glib/nm-vpn-connection.c
7883           libnm-glib/nm-vpn-connection.h
7884                 - (nm_vpn_connection_get_banner): new function
7885                 - (state_changed_proxy): handle reason argument
7886
7887 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7888
7889         * src/nm-manager.c:
7890         * src/nm-manager.h:
7891         Implement device activation through NMManager.
7892         Implement "pending device activation" here - If the connection isn't found,
7893         we try to wait for up to 5 seconds for the connection to be provided.
7894         Add NMConnectionType argument to "connection-added" and "connection-removed"
7895         signals.
7896         (nm_manager_get): Remove. Finally.
7897
7898         * src/nm-activation-request.c: 
7899         * src/nm-activation-request.h: 
7900         Remove all the deferred activation code.
7901
7902         * src/nm-device.c: Remove all the deferred activation code. Once the device
7903         activation is started, it's started. Update the activation virtual function
7904         signature.
7905
7906         * src/nm-device-interface.c:
7907         * src/nm-device-interface.h:
7908         Device activation now takes only NMActRequest argument.
7909         Don't expose device activation directly on dbus, it's supposed to go through
7910         NMManager now.
7911
7912         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7913         a bit more compact.
7914         Use the new device activation methods through NMManager.
7915
7916         * introspection/nm-manager-client.xml: 
7917         * introspection/nm-manager.xml: 
7918         * libnm-glib/nm-client.c:
7919         * libnm-glib/nm-client.h:
7920         Add device activation method.
7921         
7922         * libnm-glib/nm-device.c: 
7923         * libnm-glib/nm-device.h: 
7924         * introspection/nm-device.xml: 
7925         Remove device activation method. It's done through NMManager now.
7926
7927         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7928         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7929
7930 2007-09-28  Dan Williams  <dcbw@redhat.com>
7931
7932         * libnm-glib/nm-vpn-connection.c
7933                 - (nm_vpn_connection_get_state): try to update state if the current
7934                         state is UNKNOWN
7935
7936 2007-09-27  Dan Williams  <dcbw@redhat.com>
7937
7938         Patch from Bill Nottingham
7939
7940         * src/supplicant-manager/nm-supplicant-config.c
7941                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7942                         data to the supplicant
7943
7944 2007-09-27  Dan Williams  <dcbw@redhat.com>
7945
7946         * src/NetworkManagerSystem.c
7947                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7948                         and all address manipulation here should be happening on the
7949                         _VPN_ device, not the active device
7950
7951 2007-09-26  Dan Williams  <dcbw@redhat.com>
7952
7953         * src/nm-manager.c
7954           src/nm-manager.h
7955           src/nm-activation-request.c
7956           src/nm-activation-request.h
7957                 - Move the GetSecrets stuff out of the NMManager instance because it
7958                         doesn't really need to be there and complicates things
7959
7960         * src/nm-device.c
7961                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7962                         connection-secrets-failed signal and deactivate the device if
7963                         the GetSecrets call fails
7964
7965         * src/nm-device-802-11-wireless.c
7966                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7967                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7968                         secrets and give correct hints about whether new secrets should be
7969                         asked for by the client or not
7970
7971 2007-09-26  Dan Williams  <dcbw@redhat.com>
7972
7973         * src/vpn-manager/nm-vpn-connection.c
7974                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7975                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7976                         to the secrets-updated signal of the NMConnection since updating
7977                         the secrets is done within the scope of the NMVPNConnection object
7978                         already
7979                 - (get_connection_secrets): fix an uninialized variable usage error
7980
7981 2007-09-26  Dan Williams  <dcbw@redhat.com>
7982
7983         * libnm-util/nm-setting.c
7984                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7985                         actually get updated when the user enters them
7986
7987 2007-09-26  Dan Williams  <dcbw@redhat.com>
7988
7989         * libnm-glib/nm-vpn-plugin.c
7990                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7991
7992 2007-09-26  Dan Williams  <dcbw@redhat.com>
7993
7994         * include/NetworkManagerVPN.h
7995                 - Add a NEED_AUTH state
7996
7997         * src/vpn-manager/nm-vpn-connection.c
7998                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7999                         the connection needs secrets, and if so, then ask the settings
8000                         service to fill in the secrets.  Then start the connection.
8001
8002 2007-09-26  Dan Williams  <dcbw@redhat.com>
8003
8004         * src/vpn-manager/nm-vpn-manager.c
8005                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8006
8007 2007-09-26  Dan Williams  <dcbw@redhat.com>
8008
8009         * introspection/nm-vpn-plugin.xml
8010           libnm-glib/nm-vpn-plugin.c
8011           libnm-glib/nm-vpn-plugin.h
8012                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8013                         the name of the NMSetting in an NMConnection that may require
8014                         secrets specific to that VPN plugin
8015
8016 2007-09-26  Dan Williams  <dcbw@redhat.com>
8017
8018         * src/nm-manager.c
8019           src/nm-manager.h
8020                 - (nm_manager_get_connection_secrets): make static, unused outside
8021                         the file
8022                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8023
8024 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8025
8026         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8027         method.
8028         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8029         unreference the connection.
8030
8031         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8032         passing properties hash and routes string list, pass NMConnection (in hashed form).
8033
8034         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8035         as GSList, no need to copy stuff around anymore.
8036         (nm_vpn_connection_activate): Update the plugin activation method.
8037
8038         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8039         routes argument to GSList.
8040
8041 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8042
8043         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8044         state and try to get the secrets.
8045
8046         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8047         connections from NMManager and let the device to choose the best from the list.
8048         Since the connection list is sorted by system ones first and user ones later,
8049         the devices still prefer system connections like they did before.
8050         (deactivate_old_device): Implement. When a device starts activation, we have a
8051         policy (for now at least) to deactivate any other device that might be either
8052         active or still activating.
8053
8054         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8055         It's set on construction, there will be no other way to access it.
8056
8057         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8058         device events and drive the device, not the other way around.
8059
8060         * src/nm-device-802-3-ethernet.c: Ditto.
8061
8062         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8063         sent along, pass it on to virtual functions.
8064
8065         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8066         for now, but should really be public instead of nm_device_get_iface() since iface
8067         is a property of the DeviceInterface, not Device.
8068         (impl_device_activate): Don't touch NMManager!
8069
8070 2007-09-26  Jürg Billeter  <j@bitron.ch>
8071
8072         * initscript/paldo/NetworkManager.in:
8073         * initscript/paldo/NetworkManagerDispatcher.in:
8074         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8075         (nm_system_flush_loopback_routes): update paldo backend
8076
8077 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8078
8079         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8080         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8081         which means none of the devices get brought down properly, which in turn leaves
8082         DHCP client running.
8083
8084         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8085         (supplicant_connection_timeout_cb): Ditto.
8086
8087 2007-09-25  Dan Williams  <dcbw@redhat.com>
8088
8089         * src/nm-device.c
8090                 - (device_activation_go): small hack to work around race when
8091                         activating deferred connections; should solve this in a better way
8092
8093 2007-09-25  Dan Williams  <dcbw@redhat.com>
8094
8095         * introspection/nm-device.xml
8096           libnm-glib/nm-device.c
8097           libnm-glib/nm-device.h
8098                 - Add 'Carrier' property to exported NMDevice objects
8099
8100         * src/nm-device-interface.h
8101           src/nm-device-interface.c
8102           src/nm-device.c
8103                 - Add a 'carrier' property to internal NMDevice objects
8104
8105 2007-09-25  Dan Williams  <dcbw@redhat.com>
8106
8107         * src/nm-device-802-11-wireless.c
8108                 - (ap_auth_enforced): also return the encryption status of the AP so
8109                         that callers can differentiate easily between unencrypted APs
8110                         and encrypted ones, in addition to whether the AP has an
8111                         authenticator
8112                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8113                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8114                         previously would request secrets from unencrypted APs at times
8115
8116 2007-09-25  Dan Williams  <dcbw@redhat.com>
8117
8118         * src/nm-manager.c
8119                 - (nm_manager_update_state): new function; updates state and emits
8120                         appropriate signals ensuring a state-change signal for the same state
8121                         never gets emitted twice in a row.
8122                 - (manager_device_state_changed): handle more device state to get a
8123                         better picture of the overall NM state
8124
8125 2007-09-25  Dan Williams  <dcbw@redhat.com>
8126
8127         * libnm-glib/nm-settings.c
8128           libnm-glib/nm-settings.h
8129                 - (new_error -> nm_settings_new_error): make public so that subclasses
8130                         can use the same error domain.  Also pass a valid error code to
8131                         g_error_new_literal() so that libdbus doesn't assert when converting
8132                         the GError into a DBusError
8133                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8134                    impl_connection_settings_get_settings,
8135                    impl_connection_settings_get_secrets): use new error creator
8136                         function
8137
8138 2007-09-25  Dan Williams  <dcbw@redhat.com>
8139
8140         * src/NetworkManager.c
8141                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8142
8143 2007-09-25  Dan Williams  <dcbw@redhat.com>
8144
8145         * src/supplicant-manager/nm-supplicant-manager.c
8146                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8147                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8148                    nm_supplicant_manager_startup): when the supplicant isn't running,
8149                         try to start it periodically via system bus activation.  Fixes
8150                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8151                         for the supplicant to come back
8152
8153 2007-09-25  Dan Williams  <dcbw@redhat.com>
8154
8155         Ensure that old activation requests are forgotten about; previously
8156         hitting Cancel in the password dialog would deactivate whatever device
8157         that password was requested for, even if that wasn't the currently
8158         activating connection.
8159
8160         * src/nm-manager.c
8161           src/nm-manager.h
8162                 - (nm_manager_get_connection_secrets): track the pending call
8163                         object so it can be canceled later if needed
8164                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8165                         GetSecrets call for a particular connection
8166
8167         * src/nm-activation-request.c
8168                 - (dispose): cancel any outstanding GetSecrets calls on the
8169                         connection
8170
8171 2007-09-25  Dan Williams  <dcbw@redhat.com>
8172
8173         * src/NetworkManagerPolicy.c
8174                 - (nm_policy_device_change_check): handle devices that have a
8175                         deferred activation.  These devices are not really active _yet_,
8176                         but need to be treated as such here.  Don't interrupt them
8177                         automatically.
8178
8179         * src/nm-device-interface.c
8180                 - (impl_device_activate): handle devices that have a deferred activation
8181                         like activating or active devices.  When multiple active devices
8182                         get committed, the device shouldn't be deactivated until the
8183                         connection details are available to avoid DoS and such.  Currently,
8184                         any active, activating, or deferred activation device is deactivated
8185                         here before starting the new activation request.
8186
8187 2007-09-25  Dan Williams  <dcbw@redhat.com>
8188
8189         Properly re-query secrets from the settings daemon when stuff fails.
8190
8191         * src/nm-device-802-11-wireless.c
8192                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8193                         between Shared Key and Open System auth modes
8194                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8195                    real_act_stage4_ip_config_timeout): clear existing secrets and
8196                         request new ones when something fails due to a suspected wrong key
8197                 - (real_act_stage2_config): fix for new request_new argument to
8198                         nm_manager_get_connection_secrets()
8199
8200         * src/nm-manager.c
8201           src/nm-manager.h
8202                 - (nm_manager_get_connection_secrets): return error status; pass
8203                         new request_new argument on to the settings daemon
8204
8205         * introspection/nm-settings-connection.xml
8206                 - New 'request_new' argument to the GetSecrets call that hints to the
8207                         settings daemon to ask the user for completely new secrets
8208
8209         * libnm-glib/nm-settings.c
8210           libnm-glib/nm-settings.h
8211                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8212                         argument
8213
8214 2007-09-25  Dan Williams  <dcbw@redhat.com>
8215
8216         * libnm-util/nm-connection.c
8217           libnm-util/nm-connection.h
8218                 - (nm_connection_clear_secrets): new function; clear secrets out of
8219                         each NMSetting in an NMConnection
8220
8221         * libnm-util/nm-setting.h
8222           libnm-util/nm-setting.c
8223                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8224                         secrets out of an NMSetting
8225                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8226                    nm_setting_wired_new, nm_setting_wireless_new,
8227                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8228                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8229                         to default handler default_setting_clear_secrets()
8230
8231 2007-09-25  Dan Williams  <dcbw@redhat.com>
8232
8233         * src/nm-activation-request.c
8234           src/nm-activation-request.h
8235                 - (nm_act_request_is_deferred): new function
8236
8237 2007-09-24  Dan Williams  <dcbw@redhat.com>
8238
8239         * src/nm-device-802-11-wireless.c
8240                 - (activation_success_handler): update signal strength immediately
8241                         after activation
8242
8243 2007-09-24  Dan Williams  <dcbw@redhat.com>
8244
8245         * libnm-util/nm-setting.c
8246                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8247
8248 2007-09-24  Dan Williams  <dcbw@redhat.com>
8249
8250         * src/NetworkManagerPolicy.c
8251                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8252                         device by deactivating it because it doesn't have a "best connection".
8253                         Since autoconnect=False connections aren't automatically chosen,
8254                         NM would interrupt activation of such a connection because it
8255                         would never be "best" due to autoconnect=False.
8256
8257 2007-09-24  Dan Williams  <dcbw@redhat.com>
8258
8259         * src/nm-manager.c
8260                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8261                         actually has some time to enter a key before the GetSecrets call
8262                         times out
8263
8264 2007-09-24  Dan Williams  <dcbw@redhat.com>
8265
8266         * introspection/nm-manager.xml
8267           src/nm-manager.c
8268                 - (impl_manager_legacy_state): fix 'state' method call return value
8269
8270 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8271
8272         * test/Makefile.am: Install nm-tool
8273
8274 2007-09-24  Dan Williams  <dcbw@redhat.com>
8275
8276         Patch from Ross Burton <ross@burtonini.com>
8277
8278         * test/nm-tool.c
8279           callouts/nm-dhcp-client-action.c
8280           src/nm-netlink.c
8281           src/vpn-manager/nm-vpn-connection.c
8282           libnm-glib/libnm-glib-test.c
8283                 - warning fixes
8284
8285 2007-09-24  Dan Williams  <dcbw@redhat.com>
8286
8287         * libnm-util/nm-utils.h
8288           libnm-util/nm-utils.c
8289                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8290                         remove, unused
8291
8292 2007-09-23  Dan Williams  <dcbw@redhat.com>
8293
8294         * vpn-daemons/vpnc/properties/nm-vpnc.c
8295                 - Update for new VPN properties API bits; instead of passing around
8296                         a lot of random things, everything goes into the NMConnection
8297                         object.
8298
8299 2007-09-23  Dan Williams  <dcbw@redhat.com>
8300
8301         * libnm-util/nm-setting.c
8302                 - Correctly dispose of settings objects if creating them from a hash
8303                         table fails
8304
8305 2007-09-23  Dan Williams  <dcbw@redhat.com>
8306
8307         * libnm-util/nm-setting.c
8308                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8309                         the hash table in a standard manner.  Clients of libnm-util should
8310                         only call g_hash_table_remove_all(), never destroy the hash table
8311                         and recreate it.
8312
8313 2007-09-22  Dan Williams  <dcbw@redhat.com>
8314
8315         * src/nm-device-802-11-wireless.c
8316                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8317                         real reason to do it so often, and reduces wakeups for clients.
8318
8319 2007-09-21  Dan Williams  <dcbw@redhat.com>
8320
8321         * src/nm-device-802-11-wireless.c
8322                 - (build_supplicant_config): wpa_supplicant requires the option
8323                         key_mgmt=NONE for unencrypted networks
8324                 - (real_act_stage2_config): clarify log message on activation
8325
8326 2007-09-21  Dan Williams  <dcbw@redhat.com>
8327
8328         * test/nm-supplicant-test.c
8329           test/Makefile.am
8330                 - Remove supplicant test binary; no longer applicable
8331
8332 2007-09-21  Dan Williams  <dcbw@redhat.com>
8333
8334         * src/supplicant-manager/nm-supplicant-manager.c
8335                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8336                         activate it on the system bus
8337
8338 2007-09-20  Dan Williams  <dcbw@redhat.com>
8339
8340         * initscript/RedHat/NetworkManager.in
8341                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8342
8343 2007-09-20  Dan Williams  <dcbw@redhat.com>
8344
8345         * src/nm-device.c
8346                 - (nm_device_is_activating): work around a race between auto-activation
8347                         and the user activating the same device that is being auto-activated
8348
8349 2007-09-20  Dan Williams  <dcbw@redhat.com>
8350
8351         * src/nm-device-interface.c
8352                 - (impl_device_activate): until multiple active device support lands,
8353                         ensure only one device can be active at a time
8354
8355 2007-09-20  Dan Williams  <dcbw@redhat.com>
8356
8357         * src/supplicant-manager/nm-supplicant-config.c
8358           src/supplicant-manager/nm-supplicant-config.h
8359                 - (nm_supplicant_config_add_option): hide secrets from system logs
8360
8361 2007-09-20  Dan Williams  <dcbw@redhat.com>
8362
8363         * src/NetworkManagerPolicy.c
8364                 - (nm_policy_device_change_check): re-enable the wireless device change
8365                         checking code; insted of checking for SSIDs, check for the same
8366                         connection instead
8367
8368 2007-09-20  Dan Williams  <dcbw@redhat.com>
8369
8370         * src/nm-device-802-11-wireless.c
8371                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8372                         composite link state when determining when to start the disconnection
8373                         timer; that link state is already based on the supplicant interface's
8374                         status which is exactly what's already being examined, plus the link
8375                         state is a conglomeration of various things that we don't want here
8376
8377 2007-09-20  Dan Williams  <dcbw@redhat.com>
8378
8379         * libnm-glib/nm-access-point.c
8380                 - (handle_property_changed): strength is a UCHAR
8381
8382 2007-09-20  Dan Williams  <dcbw@redhat.com>
8383
8384         * src/supplicant-manager/nm-supplicant-config.c
8385                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8386                         string list keywords too since that's what wpa_supplicant wants
8387
8388 2007-09-20  Dan Williams  <dcbw@redhat.com>
8389
8390         * libnm-util/nm-setting.c
8391                 - (convert_strv_to_slist): dupe the values in the list because since
8392                         the list is a boxed value, it'll get destroyed when it's container
8393                         (like a hash table or whatever) gets destroyed
8394
8395 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8396
8397         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8398         GSList.
8399
8400         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8401
8402         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8403         just use (g_object_set_data_full).
8404
8405         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8406         that NMSettingVPN->routes is a GSList, convert it to char **.
8407         (nm_vpn_connection_ip4_config_get): Free routes when done.
8408         (nm_vpn_connection_activate): Ditto.
8409
8410         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8411         (real_act_stage2_config): Use defined setting names.
8412
8413 2007-09-20  Dan Williams  <dcbw@redhat.com>
8414
8415         * src/nm-device-802-11-wireless.c
8416           src/nm-manager.c
8417           src/nm-manager.h
8418                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8419                         so that the device can be deactivated if secrets are wrong
8420
8421 2007-09-20  Dan Williams  <dcbw@redhat.com>
8422
8423         * introspection/nm-settings-connection.xml
8424           libnm-glib/nm-settings.c
8425           libnm-glib/nm-settings.h
8426                 - Make GetSecrets asynchronous on the server side
8427
8428 2007-09-20  Dan Williams  <dcbw@redhat.com>
8429
8430         * src/nm-manager.h
8431           src/nm-device.c
8432                 - (nm_device_activate): actually check if a given connection
8433                         exists before assuming it doesn't
8434
8435 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8436
8437         * libnm-util/nm-connection.c (register_default_creators): Use defined
8438         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8439
8440         * libnm-util/nm-setting.c: Define property name strings, use them.
8441         Implement NMSettingVPN and NMSettingVPNProperties settings.
8442         Implement NM_S_TYPE_GVALUE_HASH.
8443         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8444         (setting_connection_verify): Rename 'devtype' property to 'type'.
8445
8446         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8447         properties.
8448
8449         * src/vpn-manager/nm-vpn-service.c: Ditto.
8450
8451         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8452
8453         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8454         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8455
8456         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8457         names. NMSettingConnection->devtype got renamed to 'type'.
8458
8459         * src/nm-device-802-3-ethernet.c (find_best_connection):
8460         (real_get_best_connection): Ditto.
8461
8462         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8463
8464         * libnm-glib/nm-vpn-manager.[ch]: Update.
8465
8466 2007-09-19  Dan Williams  <dcbw@redhat.com>
8467
8468         * src/NetworkManagerAP.c
8469           src/NetworkManagerAP.h
8470           introspection/nm-access-point.xml
8471                 - Change strength-changed signal into a properties-changed signal
8472                         for all properties, not just strength.  Export that signal over dbus
8473                         so listeners don't have to poll NM for changes.
8474                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8475                         get exported over D-Bus, so break up the logic and let other bits
8476                         decided when to export the AP
8477                 - (nm_ap_new_from_ap): remove, unused
8478
8479         * src/nm-device-802-11-wireless.c
8480                 - (merge_scanned_ap): only export APs that are actually on the device
8481                         list, not every AP created internally
8482
8483         * libnm-glib/nm-access-point.c
8484           libnm-glib/nm-access-point.h
8485                 - Cache properties internally and only hit DBus when needed.  Get
8486                         property updates from NM signals
8487
8488 2007-09-16  Dan Williams  <dcbw@redhat.com>
8489
8490         * libnm-util/nm-connection.c
8491           libnm-util/nm-connection.h
8492                 - (nm_connection_for_each_setting_value): new function; iterate over
8493                         each setting's value and call a user-provided function with details
8494                         about that value
8495
8496         * libnm-util/nm-setting.c
8497           libnm-util/nm-setting.h
8498                 - (nm_setting_enumerate_values): new function; enumerate the values
8499                         of a specific NMSetting subclass for a user-provided function with
8500                         details about that value
8501                 - Change wep_tx_keyidx to a uint32
8502                 - Create settings value tables for each setting defining their type,
8503                         key name, offset into the NMSetting subclass' structure, and whether
8504                         they are required and/or a secret
8505                 - (nm_setting_populate_from_hash): generic function to populate an
8506                         NMSetting from a GHash table, make all settings use it
8507                 - (nm_setting_hash): generic function to derive a GHashTable from
8508                         an NMSetting object, make all settings use it
8509
8510 2007-09-14  Dan Williams  <dcbw@redhat.com>
8511
8512         Remove unused stuff in libnm-util
8513
8514         * configure.in
8515           libnm-util/Makefile.am
8516           libnm-util/cipher-private.h
8517           libnm-util/cipher-wep-ascii.c
8518           libnm-util/cipher-wep-ascii.h
8519           libnm-util/cipher-wep-hex.c
8520           libnm-util/cipher-wep-hex.h
8521           libnm-util/cipher-wep-passphrase.c
8522           libnm-util/cipher-wep-passphrase.h
8523           libnm-util/cipher-wpa-psk-hex.c
8524           libnm-util/cipher-wpa-psk-hex.h
8525           libnm-util/cipher-wpa-psk-passphrase.c
8526           libnm-util/cipher-wpa-psk-passphrase.h
8527           libnm-util/cipher.c
8528           libnm-util/cipher.h
8529           libnm-util/dbus-helpers.c
8530           libnm-util/dbus-helpers.h
8531           libnm-util/gnome-keyring-md5.c
8532           libnm-util/gnome-keyring-md5.h
8533           libnm-util/sha1.c
8534           libnm-util/sha1.h
8535           src/nm-device-802-11-wireless.c
8536           test/libnm-util/Makefile.am
8537           test/libnm-util/test-ciphers.c
8538           test/libnm-util/test-dbus-helpers.c
8539           test/libnm-util/test-inputs.h
8540                 - Removed
8541
8542 2007-09-14  Dan Williams  <dcbw@redhat.com>
8543
8544         * libnm-util/dbus-method-dispatcher.c
8545           libnm-util/dbus-method-dispatcher.h
8546                 - Remove, unused
8547
8548 2007-09-14  Dan Williams  <dcbw@redhat.com>
8549
8550         Implement deferred activation support in the device class.
8551
8552         * src/nm-device-interface.c
8553           src/nm-device-interface.h
8554                 - (nm_device_interface_activate): take more arguments to support
8555                         deferred activation; callers must pass one of (connection) OR
8556                         (service_name, connection_path)
8557                 - (impl_device_activate): connection validation is punted to the device
8558                         to be able to handle deferred activation.  Yes, this means errors
8559                         don't get returned from the Activate() dbus call, and yes, that
8560                         should be fixed somehow later.
8561
8562         * src/nm-device.c
8563           src/nm-device.h
8564                 - (clear_act_request): clear additional deferred activation stuff too
8565                 - (deferred_activation_timeout_cb): new function; clean up when
8566                         deferred activation times out.
8567                 - (deferred_activation_start_cb): new function; when the connection
8568                         finally becomes available, start device activation
8569                 - (nm_device_activate): attach to the right signals of the activation
8570                         request if we need to defer activation until the connection is valid
8571
8572         * src/NetworkManagerPolicy.c
8573                 - (nm_policy_device_change_check): update for additional arguments
8574                         required for nm_device_interface_activate().  Pass NULL for these
8575                         though because this function already knows exactly which
8576                         NMConnection to use
8577
8578 2007-09-14  Dan Williams  <dcbw@redhat.com>
8579
8580         Implement deferred activation handling in the NMActRequest class.  When a
8581         client wants to activate a device but must create the NMConnection details
8582         on the fly, there likely hasn't been enough time yet for NM to receive the
8583         new connection signal and grab all the connection details.  So the
8584         activation is deferred (and bounded by a timer) for a while, and if the
8585         connection appears within the window, it is activated.
8586
8587         * src/nm-activation-request.c
8588           src/nm-activation-request.h
8589                 - (nm_act_request_class_init): two new signals to support deferred
8590                         activation, to allow the listener to handle both timeout and success
8591                 - (nm_act_request_new_deferred): new function, starts the deferred
8592                         activation timeout handler and listens to the NMManager for
8593                         new-connection signals to notice when the connection comes in
8594
8595 2007-09-14  Dan Williams  <dcbw@redhat.com>
8596
8597         * src/nm-manager.h
8598           src/nm-manager.c
8599                 - (nm_manager_get_connection_service_name,
8600                    nm_manager_get_connection_dbus_path): get details about a connection
8601                         known internally by the NMManager
8602                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8603                         because NMConnection is now a GObject subclass
8604                 - Use constant for the gobject data tag used on NMConnection objects for
8605                         storing the associated DBusGProxy
8606
8607 2007-09-14  Dan Williams  <dcbw@redhat.com>
8608
8609         * utils/Makefile.am
8610           utils/nm-utils.c
8611           utils/nm-utils.h
8612           src/supplicant-manager/Makefile.am
8613           src/dhcp-manager/Makefile.am
8614           src/backends/Makefile.am
8615           src/named-manager/Makefile.am
8616           src/ppp-manager/Makefile.am
8617           src/vpn-manager/Makefile.am
8618           test/libnm-util/Makefile.am
8619           test/test-common/Makefile.am
8620                 - Remove utils/; it was unused
8621
8622 2007-09-13  Dan Williams  <dcbw@redhat.com>
8623
8624         * libnm-glib/nm-vpn-manager.h
8625           libnm-glib/nm-vpn-manager.c
8626                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8627
8628 2007-09-13  Dan Williams  <dcbw@redhat.com>
8629
8630         * src/nm-device-802-3-ethernet.c
8631                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8632                         netlink monitor carrier signals on dispose, not bring down.  The
8633                         carrier signals should be handled over the entire lifetime of the
8634                         device anyway, not created/destroyed on up or down.
8635
8636 2007-09-13  Dan Williams  <dcbw@redhat.com>
8637
8638         * libnm-glib/nm-device.c
8639           libnm-glib/nm-device.h
8640                 - (nm_device_activate): take a connection object path rather than an
8641                         NMConnection because NMConnection isn't exported over D-Bus and
8642                         therefore it dbus-glib can't automatically get an object path from it
8643
8644 2007-09-13  Dan Williams  <dcbw@redhat.com>
8645
8646         * libnm-util/nm-setting.c
8647                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8648
8649 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8650
8651         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8652
8653 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8654
8655         * src/vpn-manager/nm-vpn-connection.[ch]: 
8656         * src/vpn-manager/nm-vpn-manager.[ch]:
8657         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8658         dbus-glib, GObjects, signals etc.
8659
8660         * libnm-glib/nm-vpn-manager.[ch]: 
8661         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8662         so much, rewrite these too.
8663
8664         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8665         the new introspection files.
8666
8667         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8668
8669         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8670         the header with the same name from libnm-utils.
8671
8672         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8673
8674         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8675
8676         * introspection/nm-vpn-plugin.xml: Implement.
8677
8678         * introspection/nm-vpn-connection.xml: Implement.
8679
8680         * introspection/nm-vpn-manager.xml: Implement.
8681
8682         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8683         the named manager argument, it can just as easily get it as the caller.
8684         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8685
8686         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8687
8688         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8689
8690         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8691         libnm-utils.
8692
8693         * libnm-util/nm-connection.c: Ditto.
8694
8695         * src/NetworkManagerMain.h: Remove, it's finally empty.
8696
8697         * configure.in: Remove utils/ from build.
8698
8699         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8700         of hard-coded strings.
8701
8702         * utils/: Move it over to libnm-util.
8703
8704         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8705
8706         * dispatcher-daemon/Makefile.am: Ditto.
8707
8708         * src/Makefile.am: Ditto.
8709
8710 2007-09-12  Dan Williams  <dcbw@redhat.com>
8711
8712         Wireless connections can be made with config data from the applet now.
8713         
8714         Yay.
8715
8716         * src/supplicant-manager/nm-supplicant-config.h
8717           src/supplicant-manager/nm-supplicant-config.c
8718                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8719                 - (nm_supplicant_config_add_setting_wireless,
8720                    nm_supplicant_config_add_setting_wireless_security): new functions;
8721                         add key/value pairs from the settings objects to the supplicant
8722                         config
8723
8724         * src/nm-device-802-11-wireless.c
8725                 - (cull_scan_list): fix check to not prune currently associated AP
8726                 - (build_supplicant_config, real_act_stage2_config): call the functions
8727                         of the NMSupplicantConfig that parse settings objects rather than
8728                         doing it manually here
8729
8730 2007-09-12  Dan Williams  <dcbw@redhat.com>
8731
8732         * src/supplicant-manager/nm-supplicant-interface.c
8733           src/supplicant-manager/nm-supplicant-marshal.list
8734                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8735                         "connection-error" signal arguments should be STRING not CHAR
8736
8737 2007-09-12  Dan Williams  <dcbw@redhat.com>
8738
8739         * src/NetworkManagerUtils.c
8740           src/NetworkManagerUtils.h
8741                 - (nm_utils_hexstr2bin): new function
8742
8743 2007-09-11  Dan Williams  <dcbw@redhat.com>
8744
8745         * src/nm-manager.c
8746                 - (connection_get_settings_cb): emit connection-added signal
8747                 - (connection_removed_cb): uncomment bits for system settings service,
8748                         send connection-removed when appropriate
8749                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8750                         the stack by trying to g_object_set_data() on something that's
8751                         not a GObject; handle case where settings service returns
8752                         empty settings hash table
8753
8754 2007-09-11  Dan Williams  <dcbw@redhat.com>
8755
8756         * src/NetworkManagerPolicy.c
8757                 - (connection_added, connection_removed): trigger device change checks
8758                         on connection changes
8759
8760 2007-09-11  Dan Williams  <dcbw@redhat.com>
8761
8762         * src/nm-activation-request.c
8763                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8764
8765 2007-09-11  Dan Williams  <dcbw@redhat.com>
8766
8767         * src/nm-device-802-11-wireless.c
8768                 - (real_connection_secrets_updated): fix erroneous check
8769
8770 2007-09-11  Dan Williams  <dcbw@redhat.com>
8771
8772         * introspection/nm-device.xml
8773           libnm-glib/nm-device.c
8774           libnm-glib/nm-device.c
8775                 - Fix Activate call argument borkage; Activate takes 3 arguments
8776
8777 2007-09-11  Dan Williams  <dcbw@redhat.com>
8778
8779         * libnm-glib/nm-access-point.c
8780           libnm-glib/nm-access-point.c
8781                 - (nm_access_point_get_frequency): now returns guint32 to match
8782                         property change on 2007-09-10
8783
8784 2007-09-11  Dan Williams  <dcbw@redhat.com>
8785
8786         * src/nm-device-802-11-wireless.c
8787                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8788                         somewhere defines 'index' and I missed this one when I fixed the
8789                         shadow declaration errors earlier
8790
8791 2007-09-11  Dan Williams  <dcbw@redhat.com>
8792
8793         * libnm-util/nm-connection.c
8794                 - (nm_connection_update_secrets, need_secrets_check): move
8795                         802-11-wireless-security need_secrets checks to the setting object
8796                         itself, where it belongs
8797
8798         * libnm-util/nm-setting.c
8799           libnm-util/nm-setting.h
8800                 - (nm_setting_need_secrets): new function
8801                 - (setting_wireless_security_verify,
8802                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8803                 - (setting_wireless_security_need_secrets): mostly copy code over
8804                         from nm-connection.c
8805
8806 2007-09-11  Dan Williams  <dcbw@redhat.com>
8807
8808         * libnm-util/nm-setting.c
8809           libnm-util/nm-setting.h
8810                 - (nm_setting_update_secrets): new function; add a virtual function that
8811                         subclasses can implement to update their secrets
8812                 - (setting_wireless_security_update_secrets): implement that function
8813                         for the 802-11-wireless-security subclass
8814
8815         * libnm-util/nm-connection.c
8816           libnm-util/nm-connection.h
8817                 - (nm_connection_update_secrets): update secrets for a Setting and
8818                         emit a signal on success
8819
8820         * src/nm-manager.c
8821           src/nm-manager.h
8822           src/nm-marshal.list
8823                 - (connection_get_settings_cb): enable system settings bits
8824                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8825                         to request secrets from the settings dbus service and to
8826                         push those secrets to the NMConnection itself
8827
8828         * src/nm-activation-request.c
8829           src/nm-activation-request.h
8830                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8831                         currently being activated, and proxy that signal to other listeners.
8832                         Goes through the activation request because the activation request
8833                         is the thing that manages the lifetime of the NMConnection that's
8834                         being activated.
8835
8836         * src/nm-device-802-11-wireless.c
8837                 - (real_connection_secrets_updated): implement the connection secrets
8838                         updated notification and restart activation when secrets are
8839                         received
8840                 - (real_act_stage2_config): request secrets from the settings dbus
8841                         service if secrets are needed
8842
8843         * src/nm-device.c
8844           src/nm-device.h
8845                 - (clear_act_request, nm_device_activation_cancel,
8846                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8847                         where the activation request is cleared
8848                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8849                         updated secrets signal of activation request and add a function
8850                         that subclasses can override to handle it easily
8851
8852 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8853
8854         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8855         removal of NetworkManagerAPList.
8856
8857 2007-09-10  Dan Williams  <dcbw@redhat.com>
8858
8859         * src/NetworkManagerAP.c
8860           src/NetworkManagerAP.h
8861           introspection/nm-access-point.xml
8862                 - Change 'freq' property to a guint32 instead of a double since we
8863                         weren't using the floating point bits anyway
8864
8865 2007-09-10  Dan Williams  <dcbw@redhat.com>
8866
8867         * NetworkManagerAP.c
8868           NetworkManagerAP.h
8869           NetworkManagerPolicy.c
8870           NetworkManagerSystem.c
8871           NetworkManagerUtils.c
8872           NetworkManagerUtils.h
8873           nm-device-802-11-wireless.c
8874           nm-device-802-3-ethernet.c
8875           nm-hal-manager.c
8876           nm-manager.c
8877           vpn-manager/nm-dbus-vpn.c
8878                 - Warning fixes; casts and removal of unused variables
8879
8880 2007-09-10  Dan Williams  <dcbw@redhat.com>
8881
8882         * include/NetworkManager.h
8883                 - Kill NMNetworkType; AP types don't matter any more
8884
8885         * src/NetworkManagerAPList.c
8886           src/NetworkManagerAPList.h
8887           src/Makefile.am
8888                 - Kill; NMAccessPointList has outlived it's usefulness
8889
8890         * src/NetworkManagerAP.c
8891           src/NetworkManagerAP.h
8892                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8893                         functions; check if an NMConnection object is compatible with the
8894                         settings of this AP
8895                 - (freq_to_channel, channel_to_freq): utility functions for
8896                         channel <-> frequency conversion
8897
8898         * src/nm-device.c
8899           src/nm-device.h
8900                 - (nm_device_get_best_connection): pass the specific object around
8901                          (which might be the object path of a specific AP to connect to).
8902                          The get_best_connection() call should populate this on return
8903                          if needed (wireless does).
8904
8905         * src/nm-device-802-3-ethernet.c
8906                 - (real_get_best_connection): handle specific_object argument
8907
8908         * src/NetworkManager.c
8909           src/NetworkManagerMain.h
8910                 - Remove unused includes
8911
8912         * src/nm-device-802-11-wireless.c
8913           src/nm-device-802-11-wireless.h
8914                 - Convert the ap_list into a GSList from an NMAccessPointList
8915                 - No need for caching the 'activation_ap' since this is now determined
8916                         from the specific_object of the activation request, which is
8917                         populated from the get_best_connection() call or from a user request
8918                 - (nm_device_802_11_wireless_update_bssid): fix warning
8919                 - (get_wireless_capabilities): fix error message format arguments
8920                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8921                 - (find_best_connection, real_get_best_connection): implement
8922                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8923                         move here from NetworkManagerAPList
8924                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8925                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8926                         already verified earlier
8927                 - (real_act_stage2_config): use nm_connection_need_secrets()
8928
8929         * src/NetworkManagerPolicy.c
8930                 - (nm_policy_auto_get_best_device): handle specific objects
8931                 - (create_connection): remove; automatic connection creation functionality
8932                         is handled by the Connection objects
8933                 - (nm_policy_device_change_check): handle specific_object
8934
8935         * libnm-util/nm-connection.c
8936                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8937
8938 2007-09-10  Dan Williams  <dcbw@redhat.com>
8939
8940         * src/nm-manager.c
8941                 - (query_connections): fix uninitialized variable problem that caused
8942                         segfault
8943                 - (nm_manager_add_device): take devices down on startup so that we can
8944                         be assured that nm_device_is_up() won't short-circuit the init
8945                         process.  Hack until the is_up check gets split into two pieces
8946                         that aren't behaviorally confusing.
8947
8948 2007-09-09  Dan Williams  <dcbw@redhat.com>
8949
8950         * introspection/nm-device.xml
8951                 - The 'Activate' method now takes 3 arguments, a service name for the
8952                 settings service (user or system), the object path of the connection
8953                 to activate, and the specific object to activate, if any
8954
8955         * src/nm-device-interface.c
8956                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8957                 Add error bits
8958                 - (impl_device_activate): adapt to new Activate arguments; validate
8959                 the service name and get the Connection object from the NMManager
8960                 before starting to activate the device with the specified connection
8961
8962         * src/nm-device-802-3-ethernet.c
8963                 - (real_get_best_connection): find the best connection, or create a
8964                 default one if no existing connections can be used
8965
8966         * src/NetworkManagerPolicy.c
8967                 - (nm_policy_auto_get_best_device): Get the device's best connection
8968                 and only pick the device if it has one
8969                 - (nm_policy_device_change_check): disable wireless bits for now until
8970                 wireless get_best_connection() can be implemented (replacing "best_ap");
8971                 don't create a default connection here as the device subclass will do
8972                 that if needed
8973
8974         * src/nm-manager.h
8975           src/nm-manager.c
8976                 - (nm_manager_get): make NMManager a singleton and expose the getter
8977                 internally
8978                 - Rework internal NMManager connection handling to use the same
8979                 routines for both the system and user settings services.  Most calls
8980                 take a new NMConnectionType argument specifying either system or user
8981                 connections
8982                 - (nm_manager_get_connection_by_object_path): new function; get a
8983                 connection keyed on its object path
8984
8985         * src/NetworkManager.c
8986                 - (main): use nm_manager_get()
8987
8988 2007-09-09  Dan Williams  <dcbw@redhat.com>
8989
8990         * src/nm-device.h
8991           src/nm-device.c
8992                 - (nm_device_get_best_connection): new function; get best connection
8993                         for the device at that time
8994
8995 2007-09-09  Dan Williams  <dcbw@redhat.com>
8996
8997         * src/nm-device-interface.h
8998                 - Add NMDeviceInterfaceError with an UnknownConnection error
8999
9000 2007-09-09  Dan Williams  <dcbw@redhat.com>
9001
9002         Stupid mistake on my part; object path and interface for settings service
9003         and connection objects can be the same, only the service name must be
9004         different for the system and user settings services.
9005
9006         * include/NetworkManager.h
9007           src/nm-manager.c
9008           introspection/nm-settings-connection.xml
9009           introspection/nm-settings.xml
9010           libnm-glib/nm-settings.c
9011                 - (nm_connection_settings_init, query_user_connections,
9012                    new_connection_cb): Unify NetworkManagerSettings and Connection
9013                    interface name and object path
9014
9015 2007-09-06  Dan Williams  <dcbw@redhat.com>
9016
9017         * libnm-glib/nm-object.c
9018                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9019                    nm_object_get_int_property, nm_object_get_uint_property,
9020                    nm_object_get_boolean_property, nm_object_get_byte_property,
9021                    nm_object_get_double_property, nm_object_get_byte_array_property):
9022                         clear GValues after copying their contents, fixes memory leaks
9023                         after every property access because dbus-glib copies the values
9024                         from the DBusMessage into the GValue already.
9025
9026 2007-09-06  Dan Williams  <dcbw@redhat.com>
9027
9028         * introspection/nm-access-point.xml
9029                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9030                         them to be.  There's some magic property name parsing going on in
9031                         dbus-glib that breaks up property names based on studly-caps and
9032                         puts - between words.
9033
9034         * libnm-glib/nm-access-point.c
9035                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9036                         Fix property names
9037
9038 2007-09-06  Dan Williams  <dcbw@redhat.com>
9039
9040         * src/nm-manager.c
9041                 - (nm_manager_user_connections_destroy): clear the user connections hash
9042                         table, don't destroy it
9043                 - (finalize): only destroy the hash table on NMManager finalization
9044
9045 2007-09-02  Dan Williams  <dcbw@redhat.com>
9046
9047         * include/NetworkManager.h
9048           libnm-glib/nm-settings.c
9049                 - defines for the user settings daemon D-Bus bits
9050
9051         * src/NetworkManager.c
9052                 - Remove stuff that referred to the old NetworkManagerInfo service
9053
9054         * src/vpn-manager/nm-dbus-vpn.h
9055                 - Move old NMI defines to the only place they are used still
9056
9057         * libnm-util/nm-connection.c
9058           libnm-util/nm-connection.h
9059           src/nm-activation-request.c
9060                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9061
9062         * src/nm-manager.c
9063           src/nm-manager.h
9064                 - Get connections and their settings from the user settings daemon
9065                         at the appropriate times
9066
9067 2007-09-02  Dan Williams  <dcbw@redhat.com>
9068
9069         * libnm-util/nm-setting.c
9070                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9071                 - (setting_wireless_hash): set the right value on the item
9072
9073 2007-09-02  Dan Williams  <dcbw@redhat.com>
9074
9075         * test/Makefile.am
9076           test/nminfotest.c
9077                 - Remove, no longer useful
9078
9079 2007-08-30  Dan Williams  <dcbw@redhat.com>
9080
9081         * src/Makefile.am
9082           src/NetworkManagerDbus.c
9083           src/NetworkManagerDbus.h
9084           src/vpn-manager/nm-dbus-vpn.c
9085                 - Remove, no longer necessary.  Move last bits to the only place its
9086                 used, in nm-dbus-vpn.c
9087
9088         * src/NetworkManagerAPList.c
9089           src/nm-device.c
9090           src/NetworkManager.c
9091           src/nm-device-802-11-wireless.c
9092           src/vpn-manager/nm-vpn-manager.c
9093           src/vpn-manager/nm-vpn-service.c
9094           src/NetworkManagerPolicy.c
9095           src/nm-manager.c
9096                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9097                 that was message_is_error()
9098
9099 2007-08-30  Dan Williams  <dcbw@redhat.com>
9100
9101         * libnm-util/sha1.c
9102                 - Include config.h to get defines for endiannes (gnome.org #420216)
9103
9104 2007-08-30  Dan Williams  <dcbw@redhat.com>
9105
9106         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9107
9108         * src/ppp-manager/Makefile.am
9109                 - use -fPIC (gnome.org #471825)
9110
9111 2007-08-29  Dan Williams  <dcbw@redhat.com>
9112
9113         * include/NetworkManager.h
9114                 - Keep NMConnection object path in sync
9115
9116         * libnm-glib/nm-settings.c
9117           libnm-glib/nm-settings.h
9118                 - Break D-Bus object registration out of the init function, because
9119                 every object that's exported over D-Bus needs to use the _same_
9120                 DBusConnection.  Otherwise, each object would get a different object
9121                 path tree and wouldn't be callable.
9122
9123 2007-08-29  Dan Williams  <dcbw@redhat.com>
9124
9125         * libnm-util/nm-setting.h
9126           libnm-util/nm-setting.c
9127           libnm-util/nm-connection.c
9128           src/NetworkManagerPolicy.c
9129                 - 'info' settings object should be 'connection' says the spec
9130                 at NetworkManagerConfigurationSpecification
9131
9132 2007-08-29  Dan Williams  <dcbw@redhat.com>
9133
9134         * libnm-glib/nm-settings.c
9135           libnm-glib/nm-settings.h
9136                 - make the dbus path a property of the object, and autogenerate it.
9137                 It can't be composed of the 'id' field becuase that's not available
9138                 yet during the GObject creation in nm_connection_settings_init()
9139
9140 2007-08-29  Dan Williams  <dcbw@redhat.com>
9141
9142         * introspection/nm-settings-connection.xml
9143           introspection/nm-settings.xml
9144                 - Service name -> NetworkManagerUserSettings because two services
9145                 can't share part of the same path.  I'm not really sure how we'll use
9146                 the same code with the system-settings daemon...
9147
9148 2007-08-28  Dan Williams  <dcbw@redhat.com>
9149
9150         * src/nm-device-interface.c
9151           src/nm-device-interface.h
9152                 - Kill one more bit of NMData
9153
9154 2007-08-28  Dan Williams  <dcbw@redhat.com>
9155
9156         * src/NetworkManagerSystem.h
9157           src/nm-device.c
9158           src/nm-device.h
9159           src/nm-hal-manager.c
9160           src/NetworkManager.c
9161           src/nm-device-802-11-wireless.c
9162           src/nm-hal-manager.h
9163           src/nm-device-802-3-ethernet.c
9164           src/vpn-manager/nm-vpn-service.h
9165           src/vpn-manager/nm-vpn-manager.c
9166           src/vpn-manager/nm-vpn-manager.h
9167           src/vpn-manager/nm-vpn-service.c
9168           src/nm-device-802-11-wireless.h
9169           src/NetworkManagerMain.h
9170           src/nm-device-802-3-ethernet.h
9171           src/backends/NetworkManagerGentoo.c
9172           src/backends/NetworkManagerPaldo.c
9173           src/backends/NetworkManagerFrugalware.c
9174           src/backends/NetworkManagerRedHat.c
9175           src/backends/NetworkManagerSlackware.c
9176           src/backends/NetworkManagerGeneric.c
9177           src/backends/NetworkManagerArch.c
9178           src/backends/NetworkManagerSuSE.c
9179           src/backends/NetworkManagerGeneric.h
9180           src/backends/NetworkManagerDebian.c
9181                 - Kill NMData
9182
9183 2007-08-28  Dan Williams  <dcbw@redhat.com>
9184
9185         * src/NetworkManagerMain.h
9186           src/nm-device-802-11-wireless.c
9187           src/NetworkManager.c
9188                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9189                 for now we should set the 'invalid' property on individual APs, and when
9190                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9191                 that ESS
9192
9193 2007-08-28  Dan Williams  <dcbw@redhat.com>
9194
9195         * src/NetworkManagerAP.c
9196           src/NetworkManagerAP.h
9197                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9198                         'autoconnect' property instead
9199
9200         * src/NetworkManager.c
9201           src/NetworkManagerMain.h
9202           src/NetworkManagerPolicy.c
9203           src/NetworkManagerPolicy.h
9204                 - Remove the 'allowed_ap_list', which should be replaced by 
9205                         NMConnection/NMSettings instead, since _those_ are the allowed
9206                         things that NM can connect to
9207
9208         * src/nm-device-802-11-wireless.c
9209                 - Remove both allowed_ap_list usage and 'fallback' checking
9210
9211 2007-08-28  Dan Williams  <dcbw@redhat.com>
9212
9213         * src/nm-device.c
9214           src/named-manager/nm-named-manager.c
9215           src/named-manager/nm-named-manager.h
9216           src/NetworkManager.c
9217           src/vpn-manager/nm-vpn-manager.c
9218           src/NetworkManagerMain.h
9219           src/NetworkManagerSystem.c
9220                 - Remove the named-manager object from NMData structure in preparation
9221                 for NMData's timely death.  Make the NMNamedManager the singleton that
9222                 it really is
9223
9224 2007-08-28  Dan Williams  <dcbw@redhat.com>
9225
9226         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9227         each AP's capabilities, and by NMConnection/NMSettings objects for user
9228         defined connections.
9229
9230         * include/NetworkManager.h
9231                 - Redefine 802.11 security properties.  There are now device capabilities
9232                         and AP flags and AP security flags.  It was way to unclear before.
9233
9234         * src/Makefile.am
9235           src/nm-ap-security-leap.h
9236           src/nm-ap-security-leap.c
9237           src/nm-ap-security-wpa-eap.c
9238           src/nm-ap-security-wpa-eap.h
9239           src/nm-ap-security-private.h
9240           src/nm-ap-security-wpa-psk.c
9241           src/nm-ap-security-wpa-psk.h
9242           src/nm-ap-security-wep.c
9243           src/nm-ap-security-wep.h
9244           src/nm-ap-security.c
9245           src/nm-ap-security.h
9246                 - Removed, to be replaced with NMConnection/NMSettings objects
9247
9248         * src/nm-dbus-nmi.c
9249           src/nm-dbus-nmi.h
9250                 - Removed, to be replaced by code that talks to the new info daemon
9251                         interface and gets NMConnection/NMSettings objects
9252
9253         * src/backends/NetworkManagerSuSE.c
9254                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9255                         info-daemon that does the same thing but talks the new info-daemon
9256                         D-Bus interface
9257
9258         * src/NetworkManagerAP.h
9259           src/NetworkManagerAP.c
9260           src/NetworkManagerAPList.c
9261           libnm-glib/libnm-glib-test.c
9262                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9263                         WPA/RSN
9264
9265         * libnm-glib/nm-access-point.c
9266           libnm-glib/nm-access-point.h
9267           introspection/nm-access-point.xml
9268           test/nm-tool.c
9269                 - Adjust to new flags for AP security
9270
9271         * utils/nm-utils.c
9272           utils/nm-utils.h
9273           src/vpn-manager/nm-dbus-vpn.c
9274                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9275                         stuff which is the only place it's used
9276
9277         * src/nm-device-interface.c
9278           src/nm-device-interface.h
9279           introspection/nm-device.xml
9280           src/nm-activation-request.c
9281           src/nm-activation-request.h
9282           src/nm-device.c
9283                 - Add a new 'specific_object' argument that hints to NM what actual
9284                         AP or other device-specific thing the connection should apply to.
9285                         NMConnection objects can apply to more than one actual device/AP.
9286
9287         * libnm-util/nm-connection.c
9288         * libnm-util/nm-connection.h
9289                 - Add 'have_secrets" call stubs
9290
9291         * libnm-util/cipher.h
9292                 - Move NM_AUTH_TYPE_* defines here for now
9293
9294         * src/nm-device-802-11-wireless.c
9295                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9296                         NMSettings objects
9297
9298         * src/NetworkManagerDbus.c
9299         * src/NetworkManagerPolicy.c
9300                 - Remove usage of update_allowed_networks, should be pushing data in
9301                         a different manner
9302
9303 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9304
9305         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9306         dbus-glib frees it when the call is done.
9307
9308 2007-08-26  Dan Williams  <dcbw@redhat.com>
9309
9310         * introspection/nm-device.xml
9311                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9312
9313 2007-08-26  Dan Williams  <dcbw@redhat.com>
9314
9315         * src/nm-device-802-3-ethernet.c
9316                 - (constructor): move connection of interface-connected/disconnected
9317                         signals here from real_bring_up().  Should be listening to netlink
9318                         for carrier events no matter what the initial state of the device
9319                         is.
9320
9321 2007-08-26  Dan Williams  <dcbw@redhat.com>
9322
9323         * src/nm-netlink-monitor.c
9324                 - (nm_netlink_monitor_class_init): fix marshalling types for
9325                         interface-connected/interface-disconnected
9326                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9327                         check
9328
9329 2007-08-26  Dan Williams  <dcbw@redhat.com>
9330
9331         Convert to using interface indexes as the primary method of identifying
9332         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9333         be renamed at any time.  Device object paths now refer to the device
9334         index rather than the name, and you can map those two manually if you like
9335         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9336         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9337         to use interface indexes rather than names.
9338
9339 2007-08-26  Dan Williams  <dcbw@redhat.com>
9340
9341         * src/nm-netlink-monitor.h
9342                 - Remove one last bit of wireless-event signal
9343
9344 2007-08-26  Dan Williams  <dcbw@redhat.com>
9345
9346         * src/nm-netlink-monitor.c
9347                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9348                         don't need the 'wireless-event' signal anymore since that's all
9349                         handled by wpa_supplicant
9350
9351 2007-08-25  Dan Williams  <dcbw@redhat.com>
9352
9353         It's 2007. Remove support for drivers that don't support wireless scanning.
9354
9355         * test/nm-tool.c
9356           include/NetworkManager.h
9357           src/NetworkManagerUtils.c
9358           src/NetworkManagerPolicy.c
9359           src/nm-device-802-11-wireless.c
9360                 - Remove special handling for non-scanning devices and mark them
9361                         as unsupported/unhandled
9362
9363 2007-08-20  Dan Williams  <dcbw@redhat.com>
9364
9365         * src/nm-device-802-11-wireless.c
9366           src/nm-device-802-3-ethernet.c
9367                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9368                         because when the card is pulled or the module removed, the device
9369                         is already !IFF_UP and then device-specific cleanup (removing
9370                         the supplicant interface, periodic checks, etc) never gets done
9371
9372 2007-08-20  Dan Williams  <dcbw@redhat.com>
9373
9374         * src/nm-manager.c
9375                 - (nm_manager_remove_device): bring device down before disconnecting
9376                         signal handlers, so that the 'state' signal will get broadcast when
9377                         the device enters the DOWN state
9378                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9379                         of states that cause the NMManager to recheck its state
9380
9381 2007-08-20  Dan Williams  <dcbw@redhat.com>
9382
9383         * src/supplicant-manager/nm-supplicant-interface.c
9384                 - (interface_disconnect_done): don't try to dispose of the net proxy
9385                         when it may already have been disposed of
9386
9387 2007-08-20  Dan Williams  <dcbw@redhat.com>
9388
9389         * src/nm-device-802-11-wireless.c
9390                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9391                         the SSID isn't available; this can happen when the card is pulled
9392                         or the module unloaded, during the post-removal deactivation
9393                         paths, when the ioctl returns ENODEV
9394
9395 2007-08-20  Dan Williams  <dcbw@redhat.com>
9396
9397         * src/nm-device-802-11-wireless.c
9398                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9399                         frequency, and mode match.  Applets are now responsible for grouping
9400                         access points
9401
9402 2007-08-20  Dan Williams  <dcbw@redhat.com>
9403
9404         * src/NetworkManagerAP.c
9405         * src/NetworkManagerAP.h
9406                 - (nm_ap_print_self): new function
9407
9408         * src/NetworkManagerAPList.c
9409                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9410                         to do it all here
9411         
9412 2007-08-17  Dan Williams  <dcbw@redhat.com>
9413
9414         * src/nm-device-802-3-ethernet.c
9415                 - (real_bring_down): don't try to dispose of stuff that might not
9416                         exist
9417
9418 2007-08-17  Dan Williams  <dcbw@redhat.com>
9419
9420         * src/NetworkManagerAP.c
9421                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9422                         applet.  This ensures that the case between the seen-bssids and
9423                         the bssids reported by the driver match.
9424
9425 2007-08-17  Dan Williams  <dcbw@redhat.com>
9426
9427         * src/nm-device-802-11-wireless.c
9428                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9429                         we dispose of the interface proxy in NM
9430
9431 2007-08-16  Dan Williams  <dcbw@redhat.com>
9432
9433         * libnm-glib/nm-client.c
9434                 - (nm_client_init): create VPN connections hash table with key free
9435                         function
9436                 - (proxy_vpn_connection_added): VPN connections hash table key should
9437                         be a duplicated value, not the same memory address as the VPN
9438                         connection name.  This is because the VPN connection name could
9439                         potentially be freed and set to something else during the lifetime
9440                         of the NMVPNConnection object.
9441
9442 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9443
9444         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9445         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9446         with the file descriptors. Send a child setup function to change the pppd
9447         progress group.
9448
9449 2007-08-15  Dan Williams  <dcbw@redhat.com>
9450
9451         * src/supplicant-manager/nm-supplicant-interface.c
9452                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9453                         an interface
9454                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9455                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9456                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9457                         the interface internally
9458
9459 2007-08-15  Dan Williams  <dcbw@redhat.com>
9460
9461         * src/nm-device-802-11-wireless.c
9462                 - (real_bring_down): move most of this function into device_cleanup()
9463                         so that it can be called from elsewhere
9464                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9465                         and stuff on dispose.  These would normally get cleaned up when
9466                         the device is marked down and deactivated, but when the device is
9467                         hot-unplugged, it's already down and real_down() never gets run
9468
9469 2007-08-15  Dan Williams  <dcbw@redhat.com>
9470
9471         * src/nm-dbus-nmi.c
9472                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9473                         caused a reference leak on device for which NM requested a key
9474
9475 2007-08-15  Dan Williams  <dcbw@redhat.com>
9476
9477         * libnm-glib/nm-client.c
9478                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9479
9480 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9481
9482         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9483         nothing is using it at the moment, but it'll be all useful and stuff later on.
9484
9485         * libnm-util/nm-setting.h: Define NMSettingPPP.
9486
9487         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9488
9489         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9490
9491         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9492
9493         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9494
9495         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9496
9497 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9498
9499         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9500
9501         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9502         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9503         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9504         name and different arguments and it won't compile anymore. To fix this, we now have
9505         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9506         that is new API + compatibility API and used by the daemon. The other, 
9507         nm-manager-client.xml is only the new API without compatibility bits and is used
9508         by libnm-glib to make it compile.
9509
9510         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9511
9512         * src/nm-manager.c (impl_manager_legacy_sleep)
9513         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9514         interface functions for 0.6 branch.
9515
9516 2007-08-14  Dan Williams  <dcbw@redhat.com>
9517
9518         * src/NetworkManagerAP.c
9519                 - (nm_ap_new_from_properties): fix mistaken check of return value
9520                         from memcmp (should expect 0)
9521
9522 2007-08-14  Dan Williams  <dcbw@redhat.com>
9523
9524         (force-commit to fix wrong comment and partial commit of r2685; this
9525          commit actually applies to r2685)
9526
9527         * src/NetworkManagerUtils.c
9528                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9529                         ignores trailing nulls in the SSID to work around mismatches in
9530                         expectations between WEXT and what the info-daemon passes back.  The
9531                         info-daemon would pass back the correct length, but due to the
9532                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9533                         the device would always have an SSID + 1 depending on what versions
9534                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9535                         visible by just quitting the applet and relaunching, which caused
9536                         NM to reassociated to the same network over again when reloading
9537                         the save networks.
9538
9539         * src/NetworkManagerPolicy.c
9540           src/NetworkManagerUtils.h
9541           src/nm-device-802-11-wireless.c
9542                 - Update for new parameter to nm_utils_same_ssid()
9543
9544 2007-08-14  Dan Williams  <dcbw@redhat.com>
9545
9546         * src/NetworkManagerAP.c
9547                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9548                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9549                         setting the BSSID to all 0s.  That confused the heck out of NM,
9550                         plus it's useless and probably out-of-spec.
9551
9552 2007-08-14  Dan Williams  <dcbw@redhat.com>
9553
9554         * callouts/Makefile.am
9555           src/dhcp-manager/nm-dhcp-manager.c
9556           src/dhcp-manager/nm-dhcp-manager.h
9557           src/dhcp-manager/Makefile.am
9558                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9559
9560 2007-08-14  Dan Williams  <dcbw@redhat.com>
9561
9562         * src/dhcp-manager/nm-dhcp-manager.c
9563                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9564                         it's really needed, get rid of unused xtra_args parameter
9565
9566 2007-08-14  Dan Williams  <dcbw@redhat.com>
9567
9568         * include/NetworkManagerVPN.h
9569           src/vpn-manager/nm-dbus-vpn.c
9570           src/vpn-manager/nm-dbus-vpn.h
9571           src/vpn-manager/nm-vpn-act-request.c
9572           src/vpn-manager/nm-vpn-act-request.h
9573           src/vpn-manager/nm-vpn-service.c
9574           src/vpn-manager/nm-vpn-service.h
9575           libnm-glib/nm-vpn-connection.c
9576           libnm-glib/nm-vpn-connection.h
9577           libnm-glib/nm-client.h
9578                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9579                         NMVPNServiceState to clarify what they apply to
9580                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9581                         NMVPNActStage -> NMVPNConnectionState for the same reason
9582
9583         * libnm-glib/nm-client.c
9584                 - Constant + type renames from above
9585                 - Properly handle NameOwnerChanged/manager_running signals
9586                         for NM service; only emit when state really changes
9587                 - Use hash tables correctly so that the key (which was previously owned
9588                         by the D-Bus message) now has the same lifetime as the value, since
9589                         the key is now taken from the the NMVPNConnection itself.  This
9590                         really fixes the double-VPN names in the applet
9591
9592 2007-08-13  Dan Williams  <dcbw@redhat.com>
9593
9594         Patch from Michael Biebl <biebl@debian.org>
9595
9596         * po/POTFILES.in
9597           po/POTFILES.skip
9598                 - Update for vpn-properties move
9599
9600 2007-08-13  Dan Williams  <dcbw@redhat.com>
9601
9602         * libnm-glib/nm-client.c
9603                 - Convert internal VPN connection tracking from a list to a hash table
9604                         to easily avoid duplicates
9605                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9606                         must be freed by the caller, like nm_client_get_devices()
9607                 - (nm_client_remove_vpn_connection): don't let the removal signal
9608                         leak through for NMVPNConnection objects that aren't actually
9609                         tracked.
9610                 - (manager_running): throw away VPN connection list when NM goes away,
9611                         like with the device list
9612
9613 2007-08-13  Dan Williams  <dcbw@redhat.com>
9614
9615         * src/dhcp-manager/nm-dhcp-manager.c
9616                 - Stop any dhclient instance that might be already running for a
9617                         particular interface before starting an NM spawned dhclient.  Fixes
9618                         dhclient processes left over if NM crashes, stuff like that.
9619
9620 2007-08-13  Dan Williams  <dcbw@redhat.com>
9621
9622         * src/NetworkManagerAP.c
9623                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9624                         when the AP wasn't broadcasting it's SSID
9625
9626 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9627
9628         * include/NetworkManager.h: added DBus path for connection settings.
9629
9630         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9631         nm_connection_settings_signal_updated,
9632         nm_connection_settings_signal_removed): new functions to wrap the
9633         objects' signals.
9634         (nm_connection_settings_init): register GObject with DBus.
9635         (nm_connection_settings_get_dbus_object_path): new function.
9636
9637         * libnm-glib/Makefile.am: added libnmutil to link flags.
9638
9639 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9640
9641         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9642
9643         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9644         libnm_glib directory got merged with libnm-glib/.
9645
9646         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9647
9648         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9649         Rename the library from libnm-glib to libnm_glib to maintain the library API
9650         compatibility with 0.6 branch.
9651
9652         * Makefile.am: Remove gnome/ SUBDIR.
9653
9654         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9655
9656         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9657
9658         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9659
9660         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9661         anymore.
9662         Remove checks for wpa_supplicant binary, it's used over dbus.
9663         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9664
9665         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9666         Link the binaries with libnm_glib.la.
9667
9668 2007-08-12  Dan Williams  <dcbw@redhat.com>
9669
9670         * src/NetworkManagerPolicy.c
9671                 - (nm_policy_device_change_check): fix policy to deactivate old device
9672                         before activating new one, at least until the multiple active
9673                         device support lands
9674
9675 2007-08-12  Dan Williams  <dcbw@redhat.com>
9676
9677         * src/NetworkManagerPolicy.c
9678                 - (nm_policy_new): hook up to connection-added / connection-removed
9679                         signals instead of connections-changed
9680
9681 2007-08-12  Dan Williams  <dcbw@redhat.com>
9682
9683         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9684         Robert Frank <rfrank@redhat.com>
9685
9686         * src/dhcp-manager/nm-dhcp-manager.c
9687           src/dhcp-manager/nm-dhcp-manager.c
9688           src/nm-device.c
9689                 - Spawn and communicate with dhclient directly, through means of a
9690                 custom dhclient callout script.  Process callout D-Bus signals
9691                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9692                 sent via gobject signals rather than being driven by the dhcp manager
9693                 directly.
9694
9695 2007-08-12  Dan Williams  <dcbw@redhat.com>
9696
9697         * callouts/nm-dhcp-client-action.c
9698                 - (build_message): ignore non-DHCP-related environment variables
9699
9700 2007-08-12  Dan Williams  <dcbw@redhat.com>
9701
9702         * Makefile.am
9703           configure.in
9704           callouts/Makefile.am
9705           callouts/nm-dhcp-client-action.c
9706           callouts/nm-dhcp-client.conf
9707                 - Add dhclient-executed callout that takes the place of dhclient-script
9708                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9709                 NM then listens for
9710
9711 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9712
9713         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9714
9715         * libnm-glib/nm-client.h:
9716         * libnm-glib/nm-object.h:
9717         * libnm-glib/nm-vpn-connection.h:
9718         * libnm-glib/nm-settings.h:
9719         * libnm-glib/nm-device.h:
9720         * libnm-glib/nm-ip4-config.h:
9721         * libnm-glib/nm-access-point.h:
9722         * libnm-glib/nm-device-802-3-ethernet.h:
9723         * libnm-util/nm-setting.h: 
9724         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9725
9726         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9727
9728         * libnm-glib/nm-access-point.c: Strength has type char.
9729
9730         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9731         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9732
9733         * introspection/nm-access-point.xml: Strength property is char, not int.
9734
9735         * src/NetworkManagerAP.c (set_property): Set strength from char.
9736         (get_property): Handle hidden APs (with empty SSID).
9737         Get strength value from char.
9738         (nm_ap_class_init): Strength property has char type.
9739
9740 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9741
9742         * introspection/Makefile.am:
9743         * introspection/nm-settings.xml:
9744         * introspection/nm-settings-connection.xml: added Settings interfaces.
9745
9746         * libnm-glib/nm-settings.[ch]:
9747         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9748         containing the DBus implementation.
9749
9750 2007-07-26  Dan Williams  <dcbw@redhat.com>
9751
9752         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9753
9754         * src/NetworkManagerSystem.c
9755                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9756                         same subnet (#437396)
9757
9758 2007-07-26  Dan Williams  <dcbw@redhat.com>
9759
9760         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9761
9762         * gnome/vpn-properties/nm-vpn-properties.c
9763                 - Fix translatable strings (#445865)
9764
9765 2007-07-26  Dan Williams  <dcbw@redhat.com>
9766
9767         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9768
9769         * configure.in
9770                 - Remove useless junk (#412530)
9771
9772 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9773
9774         Patch from Robert Buchholz <rbu@gentoo.org>:
9775
9776         * configure.in:
9777         * Makefile.am:
9778         * introspection/Makefile.am:
9779         Make make distcheck work again.
9780
9781 2007-06-27  Dan Williams  <dcbw@redhat.com>
9782
9783         * Make SSIDs GByteArrays everywhere
9784         * Rename "essid" -> "ssid" everywhere that's appropriate
9785         * Refcount activation_ap member of the 802.11 wireless device class
9786
9787 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9788
9789         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9790
9791 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9792
9793         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9794         that we got a new AP when we just update existing AP properties.
9795
9796 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9797
9798         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9799
9800         * nm-utils.[ch]: Remove.
9801
9802         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9803         objects for easy property access and dbus connection handling.
9804
9805         * libnm-glib/nm-client.c: Derive from NMObject.
9806
9807         * libnm-glib/nm-device.c: Ditto.
9808
9809         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9810
9811         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9812
9813         * libnm-glib/nm-ip4-config.c: Ditto.
9814
9815         * libnm-glib/nm-access-point.c: Ditto.
9816
9817         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9818         comparision. Currently used by the device activation code to determine if the new
9819         activation is the same as the old one.
9820
9821         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9822         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9823         able to ask password for the AP.
9824
9825         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9826         up if the device is already connected, tear down it's connection (if it isn't the
9827         same as new one) and start the activation.
9828
9829         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9830
9831         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9832         the issue where all APs are always listed as encrypted.
9833
9834         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9835         their own registered paths.
9836
9837         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9838         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9839
9840 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9841
9842         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9843         (0 & 0 == 0, doh)
9844
9845         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9846         because the handling code will cause the next state change and signal listeners
9847         get the signals in wrong order.
9848
9849         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9850         correctly in case of pending activation.
9851
9852         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9853         Convert the essid byte array to string correctly, including the terminating NULL.
9854
9855         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9856         mode with correct types.
9857
9858         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9859         constructed info to dbus call instead of the activation request.
9860
9861 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9862
9863         Patch from Christian Persch <chpe@gnome.org>
9864
9865         * libnm-glib/Makefile.am:
9866         * dispatcher-daemon/Makefile.am:
9867         Use the correct variables, the correct paths, and correct ordering. (446315)
9868
9869 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9870
9871         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9872         argument. The activation request is easy to retrieve.
9873
9874         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9875         just to be a convenient location for devices to store random stuff.
9876
9877 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9878
9879         Patch from Alex Smith <alex@alex-smith.me.uk>
9880
9881         * src/backends/NetworkManagerFrugalware.c:
9882         Update the FrugalWare backend to fix a few segfaults. (#392642)
9883
9884 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9885
9886         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9887
9888         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9889         setting.
9890         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9891
9892 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9893
9894         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9895         automagically.
9896         Implement NMSettingIP4Config.
9897         Finish NMSettingWired by adding all known members.
9898         (setting_wired_verify): Implement.
9899         Finish NMSettingWireless by adding all known members.
9900         (setting_wireless_verify): Implement.
9901
9902         * libnm-util/nm-connection.c: Register "ipv4" setting.
9903         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9904         dump function, we can introspect the GHashTable which is used for sending connections
9905         over dbus.
9906
9907         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9908         Take GByteArray for essid, it's really not a string.
9909
9910         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9911         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9912         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9913         means overriding the values we got from DHCP.
9914         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9915         (nm_device_deactivate_quickly): Ditto.
9916
9917         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9918         for debugging.
9919
9920 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9921
9922         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9923         NMConnection.
9924
9925         * libnm-glib/nm-device-802-11-wireless.c:
9926         (nm_device_802_3_ethernet_activate): Remove.
9927
9928         * libnm-glib/nm-device-802-3-ethernet.c
9929         (nm_device_802_3_ethernet_activate): Remove.
9930
9931         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9932
9933         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9934         NMConnection.
9935
9936         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9937         activation has started.
9938         Implement the new activation using NMConnection.
9939
9940         * src/nm-activation-request.c: Store a generic connection object instead
9941         of a wireless-specific AP.
9942
9943         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9944         on device type, create a device specific connection object suitable for
9945         device activation.
9946
9947         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9948         specific check to validate the connection and on success start the
9949         activation.
9950
9951         * src/nm-device-interface.h: Add a activate virtual function to the
9952         interface definition.
9953
9954         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9955         (impl_device_activate): Implement.
9956
9957         * introspection/nm-device.xml: Add a generic device activation interface
9958         that accepts an abstract NMConnection structure that has device-specific
9959         information in it.
9960
9961         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9962         activation interface.
9963
9964         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9965         activation interface.
9966
9967         * libnm-util/nm-connection.c: 
9968         * libnm-util/nm-connection.h: 
9969         * libnm-util/nm-setting.c:
9970         * libnm-util/nm-setting.h: Add.
9971
9972         * libnm-util/Makefile.am: Build the added files.
9973
9974         * src/nm-dbus-manager.c
9975         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9976         DbusConnection argument from 'name-owner-changed' signal. The manager
9977         is already passed as a first argument to the signal and the connection
9978         is easy enough to get from it.
9979
9980         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9981         Update the signature of the function.
9982
9983         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9984         Ditto.
9985
9986         * src/NetworkManager.c: Ditto.
9987
9988         * src/named-manager/nm-named-manager.c
9989         (nm_named_manager_name_owner_changed): Ditto.
9990
9991         * src/supplicant-manager/nm-supplicant-manager.c
9992         (nm_supplicant_manager_name_owner_changed): Ditto.
9993
9994         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9995
9996         * src/dhcp-manager/nm-dhcp-manager.c
9997         (nm_dhcp_manager_name_owner_changed): Ditto.
9998
9999         * src/nm-hal-manager.c: Add a list of device detectors and creators
10000         to make it easier to add new devices. Each device type has it's own
10001         entry in the table so adding new device types is only a matter of
10002         implementing a couple of functions, one for device detection and the
10003         other for device creation.
10004
10005 2007-04-25  Dan Williams  <dcbw@redhat.com>
10006
10007         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10008                 (gnome.org #432401)
10009
10010 2007-03-30  Dan Williams  <dcbw@redhat.com>
10011
10012         * src/NetworkManagerSystem.c
10013                 - (nm_system_device_set_ip4_route): clean up and fix argument
10014                         to nm_dev_sock_open()
10015
10016 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10017
10018         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10019         data to correct types instead of always using string.
10020
10021         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10022         _not_ have NM_802_11_CAP_PROTO_NONE.
10023         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10024         is not set.
10025
10026 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10027
10028         * libnm-glib/Makefile.am: Fix the build issue.
10029
10030 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10031
10032         * libnm-glib/nm-vpn-connection.h: 
10033         * libnm-glib/nm-vpn-connection.c: Implement.
10034
10035         * libnm-glib/nm-client.c: Add VPN support.
10036
10037         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10038         handler for VPN.
10039
10040         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10041         on DBUS again.
10042
10043 2007-03-26  Dan Williams  <dcbw@redhat.com>
10044
10045         * src/NetworkManagerAPList.c
10046         * src/nm-device-802-11-wireless.c
10047         * src/NetworkManagerAP.c:
10048                 - Store last seen as glong instead of GTimeVal.
10049                 - Fix the upper bound of capabilities, it's a bitfield.
10050
10051 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10052
10053         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10054
10055         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10056         "manager-running" signal that notifies the appearance/disappearance of NM.
10057         (nm_client_sleep): Implement.
10058
10059         * libnm-glib/nm-device.c:
10060         * libnm-glib/nm-device-802-11-wireless.c: 
10061         * libnm-glib/nm-device-802-3-ethernet.c: 
10062
10063         Don't inherit from DBusGProxy, add a proxy to private
10064         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10065         for anything but their own dbus interface. DBusGProxy objects support only one
10066         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10067         interface. The nice side effect of this change is that we do not create a new
10068         DBusGProxy object for each property access.
10069
10070 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10071
10072         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10073         with zeroes before passing them to functions - the functions never do that and
10074         reading the values back may produce wrong values.
10075         (real_bring_up): Store the signal handler id ...
10076         (real_bring_down): ... So that it can be removed here.
10077         Disconnect the supplicant interface here as well.
10078         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10079         from the access point instead of old $device/Networks/$essid.
10080
10081         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10082         device state is connected (instead of just having link/carrier).
10083
10084         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10085         already easily accessible through the device.
10086
10087         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10088         store it within the object.
10089         (nm_ap_get_dbus_path): Export it to public as well.
10090
10091         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10092         of the singleton.
10093
10094 2007-03-12  Dan Williams  <dcbw@redhat.com>
10095
10096         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10097         for non-carrier-detect capable devices, and useless for carrier-detect
10098         devices since we get notifications from netlink about carrier status anyway.
10099
10100         * src/nm-device-802-3-ethernet.c
10101                 - remove 'link_source_id' member from private data
10102                 - (probe_link): remove and collapse into real_update_link()
10103                 - (nm_device_802_3_periodic_update): remove
10104                 - (real_is_up): check for sup_iface rather than link_source_id
10105                 - (real_bring_up): return gboolean for success/fail; require that
10106                         sup_iface be valid for device bringup to succeed
10107                 - (real_bring_down): zero out link signal ids
10108
10109         * src/nm-device.c
10110                 - (nm_device_activate_stage2_device_config): fail activation if device
10111                         bringup fails
10112                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10113                         fails
10114                 - (nm_device_bring_up): return success/fail
10115
10116         * src/nm-device.h
10117                 - bring_up now returns success/fail
10118
10119         * src/nm-device-802-11-wireless.c
10120                 - (real_bring_up): return success from bringup
10121
10122 2007-03-07  Dan Williams  <dcbw@redhat.com>
10123
10124         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10125         * src/nm-ap-security-wpa-psk.c
10126                 - (real_write_supplicant_config): work with PSKs that may contain
10127                         zeros in the binary format rather than treating it as a string
10128
10129 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10130
10131         * libnm-glib/nm-device-802-11-wireless.c
10132         (nm_device_802_11_wireless_get_capabilities): Implement.
10133
10134         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10135
10136         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10137
10138         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10139         reply only if it's not NULL. Not sure why this started happening right now.
10140
10141         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10142         code paths for when devices get removed on shutdown or when a device is just
10143         removed.
10144         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10145         gets freed so any signal from a device (disconnected for instance) would invoke
10146         NMState update which would crash.
10147         (nm_manager_remove_device): Bring the device down when it gets removed.
10148
10149         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10150         the unused dev_type.
10151
10152         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10153         reference to the added device, NMManager will own it (if it wants).
10154
10155         * test/nm-tool.c: Rewrite using libnm-glib.
10156
10157         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10158         We get signalled when it changes.
10159
10160         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10161         when it changes.
10162
10163         * libnm-glib/nm-device.c: Cache the device state property.
10164
10165         * libnm-glib/nm-access-point.c: Cache the strength property.
10166
10167         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10168         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10169         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10170         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10171         the device is down, activating, or activated (in case of A/B/G cards).
10172         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10173         it's all done through supplicant now.
10174
10175         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10176         counting issues with pending calls which caused leaks and crashes when
10177         interface was removed (now that the interface actually gets removed).
10178
10179         * src/nm-call-store.c: Make a copy of data before running a foreach
10180         with user callback on it - The most common usage pattern is to cancel
10181         (and thus remove) all pending calls with foreach which would modify
10182         the hash table we're iterating over.
10183
10184         * src/nm-manager.c: When a device is added, make sure it is "up". When
10185         it's removed or disabled due to disabling wireless or networking, bring
10186         it down.
10187
10188         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10189
10190         * src/nm-device-802-11-wireless.c: 
10191         * src/nm-device-802-3-ethernet.c: 
10192         * src/nm-device.c:
10193                 - Remove "init" virtual function, all gobjects have a place for that
10194                   already (constructor).
10195                 - Replace "start" virtual function with "bring_up", devices can be
10196                   brought up and down more than just on startup now.
10197                 - Add "is_up" virtual function.
10198                 - Implement one way to bring a device down instead of previous 4 different
10199                   ways, each of witch did something different.
10200
10201         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10202         all it needs is the device interface.
10203
10204         Get rid of NMData.dev_list (3 members to go).
10205         Get rif of NMData in a lot of places.
10206
10207         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10208
10209 2007-02-23  Dan Williams  <dcbw@redhat.com>
10210
10211         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10212
10213         * src/NetworkManagerAP.c
10214                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10215                         OR-ing rather than AND-ing
10216
10217 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10218
10219         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10220         "network-removed" signals.
10221
10222         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10223
10224         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10225         when receiving the signal from dbus.
10226
10227         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10228         property.
10229
10230         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10231         deactivation of the previously activated device working again.
10232
10233         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10234         and setter.
10235
10236         * src/nm-device.c (nm_device_is_activated): Remove.
10237         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10238
10239         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10240         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10241         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10242         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10243         Remove NMNetworkStatus and NMActStage enums.
10244
10245 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10246
10247         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10248         Handle device state changes and disconnect VPN if it's device deactivates.
10249
10250         * src/nm-dbus-nm.c: 
10251         * src/nm-dbus-nm.h: 
10252         * src/nm-dbus-device.c: 
10253         * src/nm-dbus-device.c: 
10254         * src/nm-dbus-net.c: 
10255         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10256
10257         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10258
10259         * src/nm-device.c (nm_device_get_by_udi):
10260         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10261         implemented in the correct location (NMManager).
10262         Rip out all the test_device stuff.
10263
10264         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10265         failure handlers, it's all done by NMDevice already.
10266
10267         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10268         Remove the iochannel hack to route the unix signals to the main thread since
10269         we're not threaded anymore.
10270
10271         * src/NetworkManagerAP.c: Implement HWAddress property.
10272
10273         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10274         automatically with dbus-glib.
10275
10276         * src/nm-netlink-monitor.c: 
10277         * src/nm-netlink-monitor.h:
10278                 - Move it low in the class hierarchy, don't reference any NM types.
10279                 - Remove private data from the header.
10280                 - Use type safe checks in public API methods.
10281                 - Make it a singleton so we don't have to pass the single reference around.
10282
10283 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10284
10285         * introspection/nm-ip4-config.xml: Implement.
10286
10287         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10288
10289         * libnm-glib/nm-ip4-config.c:
10290         * libnm-glib/nm-ip4-config.c: Implement.
10291
10292         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10293         securities. APs reference security.
10294
10295         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10296         be exported over DBUS.
10297
10298         * src/nm-device-802-3-ethernet.c: Ditto.
10299
10300         * src/NetworkManagerAP.c:
10301         * src/NetworkManagerAP.h:
10302                 - Convert to GObject, export over DBUS.
10303
10304         * src/nm-ip4-config.h:
10305         * src/nm-ip4-config.h:
10306                 - Convert to GObject, export over DBUS.
10307
10308 2007-02-12  Dan Williams  <dcbw@redhat.com>
10309
10310         Patch from Helmut Schaa <hschaa@suse.de>
10311
10312         * vpn-daemons/pptp/configure.in
10313           vpn-daemons/pptp/Makefile.am
10314           vpn-daemons/openvpn/configure.in
10315           vpn-daemons/openvpn/Makefile.am
10316           vpn-daemons/vpnc/configure.in
10317           vpn-daemons/vpnc/Makefile.am
10318                 - Add --without-gnome switch which disables building gnome bits
10319
10320 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10321
10322         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10323
10324         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10325
10326         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10327         'HwAddress'.
10328
10329         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10330
10331         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10332
10333         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10334
10335         * src/:
10336                 - Remove old low-level dbus interface implementations and replace them
10337                   with dbus-glib one.
10338
10339         * configure.in:
10340                 - Require dbus-glib >= 0.72.
10341                 - Plug in new sources to build.
10342
10343         * libnm-glib/:
10344                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10345                   to make it more convenient to use from GObject based programs.
10346
10347         * introspection/:
10348                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10349
10350 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10351
10352         * src/nm-device-802-11-wireless.c:
10353                 - Add "network-added" and "network-removed" signals.
10354                 - Use gobject boilerplate macros to define the GObject.
10355                 - Implement wireless device activation.
10356                 - Remove activation_failure_handler and activation_success_handler
10357                   and instead listen on state-changed signals and run the same code
10358                   from there.
10359
10360         * src/nm-device.c:
10361                 - Implment NMDeviceInterface::deactivate.
10362                 - Remove activation_failure_handler and activation_success_handler
10363                   virtual methods. Each device which is interested in these events
10364                   can just listen on it's state changed signals.
10365
10366         * src/NetworkManagerPolicy.c:
10367                 - Move a bit more NMData usage to NMManager.
10368                 - Remove activation scheduling bits.
10369                 - Add listeners for wireless device's "network-added" and
10370                   "network-removed" signals.
10371                 - Listen device changed signals and deactivate currently activated
10372                   device when another device start activating (for now).
10373                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10374                   for calling this, the policy code knows exactly when this should happen,
10375                   by listening on events from NMManager and NMDevices.
10376
10377         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10378         Implement.
10379
10380         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10381         method on the specific device instead of going to through policy code
10382         and determining the device type by passed in AP's existance.
10383
10384         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10385         abstract NMDevice deactivation.
10386
10387 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10388
10389         * src/NetworkManager.c:
10390                 - Set up all the shiny new managers.
10391
10392         * src/NetworkManagerPolicy.c:
10393                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10394                   classes to call into policy code, make the policy code kind of like
10395                   a supervisor that monitors what's going on and drives the whole NM.
10396
10397         * src/nm-hal-manager.c: 
10398         * src/nm-hal-manager.h:
10399                 - Collect all libhal code scattered around NM to this one class.
10400                 - Listen libhal and NMManager events and add/remove devices to
10401                   NMManager.
10402
10403         * src/nm-manager.c:
10404         * src/nm-manager.h:
10405                 - Implment a replacement for NMData. NMData is now officially
10406                 deprecated.
10407
10408 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10409
10410         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10411         * src/supplicant-manager/nm-supplicant-interface.h
10412         * src/supplicant-manager/nm-supplicant-interface.c
10413         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10414         argument to boolean from enum.
10415
10416         Make NMDevice abstract class, remove almost all references to it's
10417         subclasses (the last place gets removed with new policy manager). Add
10418         NMDeviceInterface (which NMDevice implements) so that when we have
10419         NMDevice exported over DBUS, there's a common NMDevice interface which
10420         all instances have, plus there's a device specific interface for each
10421         specific type.
10422         Remove functions (nm_device_is_802_3_ethernet) and
10423         (nm_device_is_802_11_wireless). There are already standard GObject macros
10424         for type safe checks.
10425         Use the updated supplican manager API.
10426
10427         * src/nm-device-interface.h: 
10428         * src/nm-device-interface.c: 
10429         * src/nm-call-store.h: 
10430         * src/nm-call-store.c: Implement.
10431
10432         * src/supplicant-manager/nm-supplicant-interface.c:
10433         * src/supplicant-manager/nm-supplicant-interface.h:
10434         * src/supplicant-manager/nm-supplicant-manager.c:
10435         * src/supplicant-manager/nm-supplicant-manager.h:
10436                 - Remove all private data type references from public header files.
10437                 - Remove all references to other NM classes, this class is just a
10438                   proxy between wpa_supplicant and NM so it doesn't have to know
10439                   any internals.
10440                 - Convert to dbus-glib bindings.
10441                 - Type safe checks for public methods' arguments.
10442                 - Store pending DBUS call ids to NMCallStore.
10443
10444         * src/supplicant-manager/nm-supplicant-config.c:
10445                 - Store config values in a GHashTable instead of GSList.
10446
10447         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10448
10449         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10450         singleton now.
10451
10452         * src/nm-device.c: Use the new DHCP manager API.
10453
10454         * src/nm-activation-request.c:
10455         * src/nm-activation-request.h:
10456                 - Remove all dhcp related properties and methods.
10457
10458         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10459
10460         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10461
10462         * src/dhcp-manager/nm-dhcp-manager.c:
10463         * src/dhcp-manager/nm-dhcp-manager.h:
10464                 - Convert it to GObject since we need to signal state changes.
10465                 - Remove all references to other NM classes, this class is one
10466                   of the lowest classes in our hierarchy.
10467                 - One less class to use NMActRequest.
10468                 - Make it singleton, one less user of NMData.
10469                 - Remove a couple of sleep() calls.
10470                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10471                   One less class to use the NM's custom tailored signal handlig.
10472
10473         * Makefile.am: Generate marshallers, add them to build.
10474
10475 2007-02-02  Dan Williams  <dcbw@redhat.com>
10476
10477         * configure.in
10478           gnome/Makefile.am
10479           nm-applet.desktop
10480           Makefile.am
10481                 - Remove last bits referencing gnome applet
10482
10483 2007-02-02  Dan Williams  <dcbw@redhat.com>
10484
10485         * src/vpn-manager/nm-vpn-service.c
10486                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10487                         and NBNS server addresses
10488
10489 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10490
10491         * src/nm-dbus-manager.c:
10492         * src/nm-dbus-manager.h:
10493                 - Convert all internal DBUS code to use dbus-glib bindings.
10494                 - Remove GObject properties, we don't need them here.
10495                 - Don't explicitly set things to NULL after freeing, glib is
10496                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10497                 - Make public API argument checks type safe.
10498                 - Remove unnecessary (and wrong) cast to GObject for the first
10499                   argument to g_signal_* calls - The first argument is a gpointer.
10500                 - Export DBusGConnection to other cool classes that (are going to)
10501                   use dbus-glib.
10502
10503 2007-01-26  Dan Williams  <dcbw@redhat.com>
10504
10505         * libnm-util/dbus-dict-helpers.c
10506           libnm-util/dbus-dict-helpers.h
10507                 - Coordinate style with wpa_supplicant version to minimize diff
10508                 - Add uint32 array support
10509                 - (nmu_dbus_dict_append_uint32_array): new function
10510                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10511                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10512                         version; allow adding string array elements individually
10513
10514         * test/libnm-util/test-dbus-dict-helpers.c
10515                 - Test uint32 arrays
10516
10517 2007-01-27  Jürg Billeter  <j@bitron.ch>
10518
10519         * src/backends/NetworkManagerPaldo.c
10520                 - (nm_system_update_dns): clear nscd hosts cache
10521
10522 2007-01-04  Dan Williams  <dcbw@redhat.com>
10523
10524         Threading removal related cleanups:
10525
10526         - Use the glib default main context.  Remove the device main context
10527                 member from NMDevice, and the main_context member from NMData.  Change
10528                 all the idle and timeout scheduler functions to use plain
10529                 g_idle_add() and g_timeout_add().
10530
10531         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10532                 takes an argument; fix that up too.
10533
10534         - Remove all locking, which is useless since we no longer use threads.  For
10535                 example, nm_get_device_by_iface_locked() has been removed.  The global
10536                 device list lock, the AP List lock, and all static locks in
10537                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10538                 in NetworkManagerUtils.c have also been removed.
10539
10540         - Other cleanups in spacing and code style
10541
10542 2007-01-01  Dan Williams  <dcbw@redhat.com>
10543
10544         Found by Bill Moss:
10545
10546         * src/supplicant-manager/nm-supplicant-interface.c
10547                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10548                         the supplicant interface wasn't already disconnected.  Always
10549                         call removeNetwork and disconnect unless the supplicant interface
10550                         is in the DISCONNECTED or INACTIVE state.
10551
10552 2006-12-28  Dan Williams  <dcbw@redhat.com>
10553
10554         Use a single thread for everything.  With the move to wpa_supplicant
10555         and communication over D-Bus, there's no reason for multiple threads.
10556         Almost all of the blocking code has been removed, with one exception in
10557         the DHCP manager and a few in the VPN manager.  This commit removes the
10558         per-device worker thread and fixes activation cancellation in the absence
10559         of threads.  Further removal of thread-related code would be removing
10560         any locking code (like the device list lock) and simplification of logic
10561         around areas of code or data structures that are currently locked.
10562
10563         * autoip.c
10564           dhcp-manager/nm-dhcp-manager.c 
10565           nm-device-802-11-wireless.c
10566           nm-device-802-3-ethernet.c
10567           nm-device.c
10568           nm-device.h
10569                 - Remove usage of multiple threads
10570
10571 2006-12-19  Dan Williams  <dcbw@redhat.com>
10572
10573         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10574         plus a few other patches from wpa_supplicant bugzilla.
10575
10576         * src/Makefile.am
10577           src/NetworkManagerPolicy.c
10578           src/NetworkManagerUtils.c
10579           src/NetworkManagerUtils.h
10580           src/nm-ap-security-leap.c
10581           src/nm-ap-security-wep.c
10582           src/nm-ap-security-wpa-eap.c
10583           src/nm-ap-security-wpa-psk.c
10584           src/nm-ap-security.c
10585           src/nm-ap-security.h
10586           src/nm-device-802-11-wireless.c
10587           src/nm-device-802-11-wireless.h
10588           src/supplicant-manager/nm-supplicant-config.c
10589           src/supplicant-manager/nm-supplicant-config.h
10590           src/supplicant-manager/nm-supplicant-interface.c
10591           src/supplicant-manager/nm-supplicant-interface.h
10592           src/supplicant-manager/nm-supplicant-marshal.list
10593           src/supplicant-manager/nm-supplicant-settings-verify.c
10594           src/supplicant-manager/nm-supplicant-settings-verify.h
10595                 - Move all connection management and association handling to
10596                         wpa_supplicant over dbus, rather than spawning a private copy
10597
10598 2006-12-19  Dan Williams  <dcbw@redhat.com>
10599
10600         * src/NetworkManagerPolicy.c
10601                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10602                         better locking of the device change check handler ID.  Incorrect
10603                         locking was causing lost device change requests
10604
10605 2006-12-18  Dan Williams  <dcbw@redhat.com>
10606
10607         * libnm-util/dbus-dict-helpers.c
10608                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10609                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10610                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10611
10612 2006-12-18  Dan Williams  <dcbw@redhat.com>
10613
10614         * gnome/libnm_glib/libnm_glib.c
10615                 - Change dbus_connection_close() -> dbus_connection_unref()
10616
10617 2006-12-11  Dan Williams  <dcbw@redhat.com>
10618
10619         * src/supplicant-manager/nm-supplicant-interface.c
10620                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10621                         wpa_supplicant interface state
10622                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10623                         state before transitioning to READY state
10624
10625 2006-12-04  Dan Williams  <dcbw@redhat.com>
10626
10627         * src/nm-device-802-11-wireless.c
10628                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10629                         odd length of ESSID returned from ieee80211 stack-based drivers
10630
10631 2006-12-04  Dan Williams  <dcbw@redhat.com>
10632
10633         * src/nm-device-802-11-wireless.c
10634                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10635                         IE handling blocks that cause mis-parsing of the IE
10636
10637 2006-12-04  Dan Williams  <dcbw@redhat.com>
10638
10639         * src/nm-device-802-11-wireless.c
10640                 - (init_supplicant_interface): new function; pull supplicant interface
10641                         setup code out into standalone function since it must be called from
10642                         two different places
10643                 - (real_init): sup_mgr is now in private object data; get and track
10644                         the supplicant manager object over the NMDevice subclass' lifetime
10645                         and register a signal handler for its state signals; only try to
10646                         initialize the supplicant interface if the supplicant manager is in
10647                         the IDLE state (and therefore is ready for requests)
10648                 - (request_wireless_scan): reschedule the scan request if (a) there is
10649                         no supplicant interface yet (meaning wpa_supplicant isn't running
10650                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10651                         for requests yet
10652                 - (supplicant_iface_connection_state_cb): new function; stub for
10653                         handling supplicant interface connection state signals
10654                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10655                         comes and goes
10656                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10657                         supplicant manager object that's being tracked starting with this
10658                         commit
10659
10660 2006-12-04  Dan Williams  <dcbw@redhat.com>
10661
10662         * src/supplicant-manager/nm-supplicant-interface.c
10663                 - (nm_supplicant_interface_set_property): track signal handler ID
10664                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10665
10666 2006-12-04  Dan Williams  <dcbw@redhat.com>
10667
10668         * src/supplicant-manager/nm-supplicant-interface.[ch]
10669                 - (nm_supplicant_interface_get_state): new function
10670
10671 2006-12-04  Dan Williams  <dcbw@redhat.com>
10672
10673         * src/supplicant-manager/nm-supplicant-interface.c
10674                 - (bssid_properties_cb): don't treat DBus errors as valid
10675                         scanned AP messages
10676
10677 2006-12-04  Dan Williams  <dcbw@redhat.com>
10678
10679         * src/supplicant-manager/nm-supplicant-interface.[ch]
10680                 - (nm_supplicant_interface_get_connection_state): new function
10681                 - define new supplicant connection states
10682                 - send a signal when the supplicant connection state changes
10683
10684 2006-12-03  Dan Williams  <dcbw@redhat.com>
10685
10686         * src/supplicant-manager/Makefile.am
10687           src/supplicant-manager/nm-supplicant-connection.h
10688           src/supplicant-manager/nm-supplicant-connection.c
10689           src/supplicant-manager/nm-supplicant-config.h
10690           src/supplicant-manager/nm-supplicant-config.c
10691           src/supplicant-manager/nm-supplicant-types.h
10692           src/supplicant-manager/nm-supplicant-interface.h
10693           src/supplicant-manager/nm-supplicant-interface.c
10694                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10695
10696 2006-12-03  Dan Williams  <dcbw@redhat.com>
10697
10698         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10699
10700         * po/POTFILES.in
10701           po/POTFILES.skip
10702                 - Move VPN-related translatables to .skip
10703
10704         * vpn-daemons/pptp/po/POTFILES.in
10705                 - Update with new translatables
10706
10707 2006-12-02  Dan Williams  <dcbw@redhat.com>
10708
10709         Patch from Christian Persch <chpe@gnome.org>
10710
10711         * gnome/applet/Makefile.am
10712           gnome/applet/applet-dbus-devices.c
10713           gnome/applet/applet-notifications.c
10714           gnome/applet/applet.c
10715           gnome/applet/applet.h
10716           gnome/applet/main.c
10717                 - Be a GtkStatusIcon on GTK+ >= 2.10
10718
10719 2006-12-02  Dan Williams  <dcbw@redhat.com>
10720
10721         * gnome/applet/applet.c
10722                 - (nma_update_info): fix two unecessary allocations
10723
10724 2006-12-02  Dan Williams  <dcbw@redhat.com>
10725
10726         Patch from Michael Biebl <biebl@teco.edu>
10727         * configure.in
10728           man/NetworkManager.1.in
10729           man/NetworkManagerDispatcher.1.in
10730           man/NetworkManager.8.in
10731           man/NetworkManagerDispatcher.8.in
10732                 - Add .SH NAME stanzas
10733                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10734
10735 2006-12-02  Dan Williams  <dcbw@redhat.com>
10736
10737         Patch from Christian Persch <chpe@gnome.org>
10738
10739         * configure.in
10740                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10741
10742 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10743
10744         Patch by Timo Hoenig <thoenig@suse.de>:
10745         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10746         DBUS-1.0.
10747
10748         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10749         we can't use the one from the main source directory.
10750
10751 2006-11-27  Dan Williams  <dcbw@redhat.com>
10752
10753         Patch from Christian Persch <chpe@gnome.org>
10754
10755         * gnome/applet/applet-dbus-devices.c
10756                 - (hal_info_product_cb): fix memleak; free duped string.
10757                         Gnome.org #379908
10758
10759 2006-11-27  Dan Williams  <dcbw@redhat.com>
10760
10761         Patch from Christian Persch <chpe@gnome.org>
10762
10763         * gnome/applet/menu-items.c
10764                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10765                         as gtk_progress_set_percentage is deprecated.  Should
10766                         work as far back as GTK+ 2.4.  Gnome.org #379780
10767
10768 2006-11-26  Dan Williams  <dcbw@redhat.com>
10769
10770         Scan using wpa_supplicant over DBus.
10771
10772         * src/nm-device-802-11-wireless.c
10773                 - remove wireless extensions netlink event handler bits
10774                         (wireless_event_helper, nm_device_802_11_wireless_event)
10775                 - remove wireless extensions scan event handler bits
10776                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10777                         hex2byte, hex2num, request_and_convert_scan_results,
10778                         free_process_scan_cb_data, scan_results_timeout,
10779                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10780                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10781                         and request scans from the supplicant interface rather than directly
10782                 - Move functionality of convert_scan_results() to cull_scan_list() and
10783                         supplicant_iface_scanned_ap_cb()
10784                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10785                         at the scan interval when the current scan has finished
10786                 - (supplicant_iface_state_cb): start scanning when the supplicant
10787                         interface enters the READY state, and stop scanning when it
10788                         enters the DOWN state
10789                 - (cull_scan_list): weed out old access points from the scan list
10790                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10791                         point into an NMAccessPoint and merge it into the device's scan list
10792
10793         * src/supplicant-manager/nm-supplicant-interface.c
10794           src/supplicant-manager/nm-supplicant-interface.h
10795                 - Add a new signal "scan-result" which is issued when the supplicant
10796                         notifies NM that a scan has completed
10797                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10798                         point found in the scan.  Called once for each access point that
10799                         the supplicant interface object receives from the supplicant as a
10800                         result of the "scanResults" method call
10801                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10802                         for the initial scan results
10803                 - (scan_request_cb): new function; send listeners the result
10804                         (success, error) of a wireless scan request
10805                 - (nm_supplicant_interface_request_scan): new function; ask the
10806                         supplicant to perform an immediate wireless scan
10807
10808 2006-11-25  Dan Williams  <dcbw@redhat.com>
10809
10810         * src/supplicant-manager/Makefile.am
10811                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10812                         add HAL cflags/includes and named-manager includes directory
10813
10814         * src/supplicant-manager/nm-supplicant-interface.h
10815                 - New state STARTING to handle transition from INIT to READY where
10816                         the addInterface pending call is still outstanding
10817
10818         * src/supplicant-manager/nm-supplicant-interface.c
10819                 - track pending calls differently since we may have more than one
10820                         going on at any given time
10821                 - request scan results from wpa_supplicant; but don't do it more often
10822                         than every 4 seconds.  Drivers that do background scanning
10823                         (like the 'ipw' drivers) send a continuous stream of scan completion
10824                         notifications, so we don't want to hammer the supplicant or dbus
10825                         with requests for all scan results every time we get a completion
10826                         notification.
10827
10828 2006-11-25  Dan Williams  <dcbw@redhat.com>
10829
10830         * src/supplicant-manager/nm-supplicant-types.h
10831                 - new file; move all supplicant manager object typedefs here for
10832                         #include sanity
10833
10834         * src/supplicant-manager/nm-supplicant-interface.c
10835           src/supplicant-manager/nm-supplicant-interface.h
10836                 - new file; an object that interfaces an NMDevice object to the
10837                         supplicant and handles signals from the supplicant.  This object
10838                         does all necessary DBus communication with wpa_supplicant.
10839
10840         * src/supplicant-manager/nm-supplicant-manager.c
10841           src/supplicant-manager/nm-supplicant-manager.h
10842                 - Actually do something.  Track the state of the wpa_supplicant service
10843                         and deal with its comings & goings.  Handle life events of
10844                         supplicant interfaces too.
10845                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10846
10847         * src/supplicant-manager/nm-supplicant-connection.h
10848                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10849
10850         * src/supplicant-manager/Makefile.am
10851                 - Add new files to build, and add libnm-util to includes
10852
10853         * src/nm-marshal.list
10854                 - New marshaler type: VOID:UINT,UINT
10855
10856         * src/nm-device-802-3-ethernet.c
10857                 - (real_init): grab a supplicant interface
10858                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10859                 - (supplicant_iface_state_cb): new function, stub for handling
10860                         supplicant interface state changes
10861
10862         * src/nm-device-802-11-wireless.c
10863                 - (real_init): grab a supplicant interface
10864                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10865                 - (supplicant_iface_state_cb): new function, stub for handling
10866                         supplicant interface state changes
10867
10868         * src/NetworkManager.c
10869                 - (main): create and keep the supplicant manager around for the lifetime
10870                         of NetworkManager
10871
10872         * src/Makefile.am
10873                 - Link to the supplicant manager sub-library and use the supplicant
10874                         manager includes
10875
10876 2006-11-25  Dan Williams  <dcbw@redhat.com>
10877
10878         Rework DBus manager signal handling to be more flexible.  Previously,
10879         only one signal handler could be registered for a particular interface.
10880         The DBus manager now reference counts DBus bus matches and allows multiple
10881         clients to register signal handlers for the same interface and sender.
10882
10883         * src/NetworkManager.c
10884                 - (main): track NMI signal handler ID and remove it when we quit
10885
10886         * src/NetworkManagerMain.h
10887                 - Keep track of NMI signal handler ID
10888
10889         * src/nm-dbus-manager.c
10890           src/nm-dbus-manager.h
10891                 - rework signal handling; each signal handler references one signal
10892                         match, but a signal match may be referenced by one or more
10893                         signal handlers.  Matches are refcounted and are destroyed when the
10894                         last signal handler that references the match is removed.  This is
10895                         necessary because two signal handlers may end up requiring the same
10896                         dbus bus match, so the match must live until the last signal handler
10897                         is destroyed (for example, with the wpa_supplicant network interface
10898                         dbus interface).
10899
10900         * src/dhcp-manager/nm-dhcp-manager.c
10901                 - (nm_dhcp_manager_new): track DHCP signal handler id
10902                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10903
10904         * src/vpn-manager/nm-vpn-service.c
10905                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10906                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10907
10908 2006-11-25  Dan Williams  <dcbw@redhat.com>
10909
10910         Suggested by Helmut Schaa <hschaa@suse.de>
10911
10912         * src/vpn-daemons/nm-vpn-service.c
10913                 - (supplicant_child_setup): new function
10914                 - (supplicant_exec): make child process use a new process group id
10915
10916         * src/nm-device-802-11-wireless.c
10917                 - (nm_vpn_service_child_setup): new function
10918                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10919                         process group id
10920
10921 2006-11-19  Dan Williams  <dcbw@redhat.com>
10922
10923         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10924         * gnome/vpn-properties/nm-vpn-properties.c
10925                 - clean up after renamed VPN connection
10926
10927 2006-11-19  Dan Williams  <dcbw@redhat.com>
10928
10929         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10930         * gnome/applet/applet-dbus-vpn.c
10931                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10932
10933         * gnome/vpn-properties/nm-vpn-properties.c
10934                 - (init_app): sort VPN connections
10935
10936 2006-11-09  Dan Williams  <dcbw@redhat.com>
10937
10938         * src/NetworkManagerAPList.c
10939                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10940                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10941                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10942                 broke hidden SSID matching.  Found by Bill Moss.
10943
10944 2006-10-25  Dan Williams  <dcbw@redhat.com>
10945
10946         * src/nm-dbus-nm.c
10947                 - (nm_dbus_nm_set_active_device): return an empty success message on
10948                         success, rather than falling through to the error case.
10949
10950 2006-10-25  Dan Williams  <dcbw@redhat.com>
10951
10952         * src/NetworkManagerUtils.c
10953                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10954                         "SCAN" command
10955
10956 2006-10-24  Dan Williams  <dcbw@redhat.com>
10957
10958         Reduce the number of times the Gnome applet wakes up, especially when
10959         it's doing absolutely nothing and is hidden.  Initial patch by
10960         Chris Aillon.
10961
10962         * gnome/applet/applet-dbus.c
10963                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10964                         kill the redraw timeout.  When NM starts up, start the redraw
10965                         timeout.  Also, if we get kicked off the bus for some reason,
10966                         start the reconnection timeout if one's not already running.
10967                 - (nma_dbus_init): better handling of error conditions, don't leak
10968                         a half-initialized dbus connection
10969                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10970                         the applet's data, just call nm_dbus_init_helper()
10971                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10972                         timeout that calls nma_dbus_connection_watcher()
10973                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10974                         reconnection timeout, and don't start the reconnection timeout
10975                         unconditionally anymore
10976
10977         * gnome/applet/applet-dbus.h
10978                 - Expose nma_start_dbus_connection_watch()
10979
10980         * gnome/applet/applet.c
10981                 - (nma_update_state): no longer static, called from applet-dbus.c for
10982                         immediate UI updates on certain events
10983                 - (nma_set_running): new function; take over setting applet->running,
10984                         when not running (ie, NM is not active), don't activate the redraw
10985                         timeout because we're not showing the applet anyway.  When we are
10986                         running (ie, NM is active), and only when we're running, start the
10987                         redraw timeout.
10988                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10989                         kill any reconnection timeout
10990                 - (nma_get_instance): move one-off dbus initialization code here since
10991                         nm_dbus_init_helper() gets called more than once, possibly by the
10992                         reconnection timeout function too.  And, when we start up, if we
10993                         can't get a connection to the bus, start the reconnection timeout.
10994                         But don't start the redraw timeout yet, only do that when we get
10995                         NM's state and find out if it's running or not.
10996
10997         * gnome/applet/applet.h
10998                 - Add the reconnection GSource ID
10999                 - Add prototypes for nma_set_running() and the no-longer-static
11000                         nma_update_state()
11001
11002 2006-10-24  Dan Williams  <dcbw@redhat.com>
11003
11004         * src/vpn-daemons/nm-dbus-vpnc.c
11005                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11006                         pending call tracker
11007                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11008                         pending call tracker; register one-vpn-connection update pending
11009                         call in pending call tracker
11010                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11011                         update pending call in pending call tracker
11012                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11013                         update pending call in pending call tracker; don't block waiting
11014                         for call to return
11015
11016 2006-10-19  Robert Love  <rml@novell.com>
11017
11018         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11019           refresh the cache.
11020
11021 2006-10-14  Dan Williams  <dcbw@redhat.com>
11022
11023         * src/dhcp-manager/nm-dhcp-manager.c
11024                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11025                 the dbus connection and the device object path rather than
11026                 constructing it inside both functions.  Saves a bit of memory
11027                 and clarifies a failure path.
11028                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11029                 and allocate device path here rather than each of the two
11030                 functions above.
11031
11032 2006-10-13  Dan Williams  <dcbw@redhat.com>
11033
11034         * src/NetworkManager.c
11035                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11036                 this somehow droppout in the refactor
11037
11038 2006-10-13  Dan Williams  <dcbw@redhat.com>
11039
11040         * Huge DBus refactor:
11041                 - Create a "DBus Manager" object which manages the connection and
11042                 sends signals on NameOwnerChanged and connection/disconnection events,
11043                 handles reconnection to the bus if NM gets kicked off, and abstracts
11044                 signal handling
11045                 - Remove DBusConnection members from places where they are no
11046                 longer needed due to the refactor, like the dbus-connection
11047                 property of the named manager, and from NMData
11048                 - Reformats a bunch of the code to gnome style
11049                 (8-space tabs, braces on same line as statement, 80-col width).
11050                 Consider it open season to reformat any bits to gnome style.
11051                 style that aren't already.
11052
11053 2006-10-13  Dan Williams  <dcbw@redhat.com>
11054
11055         * src/supplicant-manager/Makefile.am
11056                 - Add new files
11057
11058         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11059                 - Make it a minimal GObject
11060
11061         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11062                 - Verify settings destined for wpa_supplicant
11063
11064         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11065                 - Minimal GObject to track wpa_supplicant controlled device
11066                 connections
11067
11068 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11069
11070         * gnome/applet/applet.c: (nma_update_info),
11071         (nma_act_stage_to_pixbuf), (nma_update_state):
11072         Mark missing strings for translation. Fixes bug #343306.
11073
11074 2006-10-01  Dan Williams  <dcbw@redhat.com>
11075
11076         * src/vpn-manager/nm-vpn-manager.c
11077                 - (nm_vpn_manager_load_services): split and clean up
11078                 for readability and correctness.  Restrict VPN service
11079                 files to ending in ".name", as was meant from the
11080                 beginning (but not coded in).  Better error reporting.
11081
11082 2006-10-01  Dan Williams  <dcbw@redhat.com>
11083
11084         * utils/nm-utils.h
11085                 - Clean up formatting of debug/info/warning log messages
11086
11087 2006-09-27  Robert Love  <rml@novell.com>
11088
11089         Patch by Tambet Ingo <tambet@ximian.com>:
11090         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11091           actually work.
11092
11093 2006-09-07  Dan Williams <dcbw@redhat.com>
11094
11095         * test/Makefile.am
11096           test/libnm-util/Makefile.am
11097           test/nm-supplicant-test.c
11098                 - Add test program emulating the way NM drives wpa_supplicant
11099                 to help debug supplicant issues
11100
11101 2006-08-24  Dan Williams <dcbw@redhat.com>
11102
11103         * configure.in
11104           src/Makefile.am
11105           src/supplicant-manager/Makefile.am
11106           src/supplicant-manager/nm-supplicant-manager.c
11107           src/supplicant-manager/nm-supplicant-manager.h
11108                 - Add skeleton bits of the wpa_supplicant manager
11109
11110 2006-08-24  Dan Williams <dcbw@redhat.com>
11111
11112         Patch from Ed Catmur:
11113         * src/NetworkManagerUtils.c
11114                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11115                 if netmask is 0 (Gnome #352634)
11116
11117 2006-08-17  Robert Love  <rml@novell.com>
11118
11119         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11120           package is now DBUS-enabled and listens for the NM signals.
11121
11122 2006-08-14  Dan Williams  <dcbw@redhat.com>
11123
11124         * Patch from Christian Persch <chpe gnome org>
11125         * configure.in
11126           po/LINGUAS
11127           vpn-daemons/openvpn/po/LINGUAS
11128           vpn-daemons/openvpn/configure.in
11129           vpn-daemons/pptp/po/LINGUAS
11130           vpn-daemons/pptp/configure.in
11131           vpn-daemons/vpnc/po/LINGUAS
11132           vpn-daemons/vpnc/configure.in
11133                 - Convert to LINGUAS method so translators don't have to modify
11134                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11135                 0.35 or higher
11136
11137 2006-08-14  Dan Williams  <dcbw@redhat.com>
11138
11139         Patch from Alex Smith <alex.extreme2@gmail.com>
11140         * configure.in
11141           src/backends/Makefile.am
11142           src/backends/NetworkManagerFrugalware.c
11143                 - Add support for Frugalware
11144
11145 2006-08-13  Dan Williams  <dcbw@redhat.com>
11146
11147         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11148         * src/nm-device-802-11-wireless.c
11149                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11150                 Gnome #346875
11151
11152 2006-08-13  Dan Williams  <dcbw@redhat.com>
11153
11154         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11155         * src/nm-ap-security.c
11156           src/nm-ap-security.h
11157                 - Add authentication_required bits for subclasses to specify whether
11158                 or not real authentication is required for connections, i.e. whether
11159                 the AP rejects us when an encryption key is wrong or not.
11160
11161         * src/nm-ap-security-wep.c
11162           src/nm-ap-security-wpa-eap.c
11163           src/nm-ap-security-wpa-psk.c
11164           src/nm-ap-security-leap.c
11165                 - Implement authentication_required appropriately for each method
11166
11167         * src/nm-device-802-11-wireless.c
11168                 - Be smarter about when to request a key; for example, using a wrong key
11169                 in WEP shared key mode previously just timed out and did not request
11170                 a new key
11171
11172 2006-08-13  Dan Williams  <dcbw@redhat.com>
11173
11174         * gnome/libnm_glib/libnm_glib.c
11175                 - dbus_connection_disconnect() -> dbus_connection_close() for
11176                 dbus >= 0.90
11177
11178 2006-08-07  Dan Williams  <dcbw@redhat.com>
11179
11180         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11181         * src/NetworkManagerSystem.c
11182                 - Respect specified MTU.  Gnome #344967
11183
11184 2006-08-07  Dan Williams  <dcbw@redhat.com>
11185
11186         * src/vpn-manager/nm-vpn-service.c
11187                 - Simplify print_vpn_config() arguments
11188
11189         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11190         * src/vpn-manager/Makefile.am
11191           src/vpn-manager/nm-vpn-service.c
11192                 - Add new API for passing VPN config options as a dict. Gnome #344967
11193
11194 2006-08-06  Dan Williams  <dcbw@redhat.com>
11195
11196         * gnome/applet/applet-dbus-devices.c
11197           gnome/applet/applet-dbus-vpn.c
11198           gnome/applet/applet-dbus.c
11199           gnome/applet/applet-dbus.h
11200           src/nm-dbus-nmi.c
11201           utils/nm-utils.c
11202           utils/nm-utils.h
11203                 - Make pending call tracking code generic,
11204                 so we can use it in NM as well as the applet
11205
11206 2006-08-06  Dan Williams  <dcbw@redhat.com>
11207
11208         * src/nm-activation-request.c
11209                 - Refcount pending call objects
11210
11211 2006-08-06  Dan Williams  <dcbw@redhat.com>
11212
11213         Patch from Christan Chiesa <christanc@gmail.com>
11214         * configure.in
11215                 - Tell sha1.c to use bigendian mode on PPC
11216
11217 2006-08-04  Robert Love  <rml@novell.com>
11218
11219         Glib Memory Slices!
11220         * configure.in: Require glib 2.10 or later.
11221         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11222           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11223           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11224           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11225           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11226           Memory Slices are the greatest thing since bread slices.
11227         * src/NetworkManagerAP.c: Also, fix memory leak.
11228
11229 2006-08-01  Robert Love  <rml@novell.com>
11230
11231         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11232
11233 2006-07-31  Robert Love  <rml@novell.com>
11234
11235         * src/backends/interface_parser.c: Declarations must begin the block.
11236
11237 2006-07-24  Dan Williams  <dcbw@redhat.com>
11238
11239         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11240         * src/backends/Makefile.am
11241           src/backends/NetworkManagerArch.c
11242           src/backends/NetworkManagerDebian.c
11243           src/backends/NetworkManagerGeneric.c
11244           src/backends/NetworkManagerGeneric.h
11245           src/backends/NetworkManagerGentoo.c
11246           src/backends/NetworkManagerPaldo.c
11247           src/backends/NetworkManagerRedHat.c
11248           src/backends/NetworkManagerSlackware.c
11249           src/backends/NetworkManagerSuSE.c
11250                 - Genericize common backend functions
11251
11252 2006-07-18  Robert Love  <rml@novell.com>
11253
11254         * configure.in: Add "--with-notify" option to allow disabling of
11255           libnotify support.
11256
11257 2006-07-13  Dan Williams  <dcbw@redhat.com>
11258
11259         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11260         * gnome/applet/applet.glade
11261           gnome/applet/Makefile.am
11262           gnome/applet/nm-gconf-wso.c
11263           gnome/applet/nm-gconf-wso-leap.c
11264           gnome/applet/nm-gconf-wso-leap.h
11265           gnome/applet/wireless-security-manager.c
11266           gnome/applet/wso-leap.c
11267           gnome/applet/wso-leap.h
11268           include/NetworkManager.h
11269           libnm-util/dbus-helpers.c
11270           libnm-util/dbus-helpers.h
11271           src/Makefile.am
11272           src/NetworkManagerAP.c
11273           src/nm-ap-security.c
11274           src/nm-ap-security-leap.c
11275           src/nm-ap-security-leap.h
11276                 - Add LEAP authentication support
11277
11278 2006-07-13  Dan Williams  <dcbw@redhat.com>
11279
11280         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11281         * configure.in
11282           src/backends/NetworkManagerArch.c
11283           src/backends/NetworkManagerDebian.c
11284           src/backends/NetworkManagerGentoo.c
11285           src/backends/NetworkManagerPaldo.c
11286           src/backends/NetworkManagerRedHat.c
11287           src/backends/NetworkManagerSlackware.c
11288           src/backends/NetworkManagerSuSE.c
11289                 - Convert hardcoding of 'ip' path to configure-time
11290                         detected one
11291
11292 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11293
11294         * configure.in: added ru to ALL_LINGUAS
11295
11296 2006-07-10  Dan Williams  <dcbw@redhat.com>
11297
11298         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11299         * src/nm-device.c
11300                 - (real_act_stage3_ip_config_start): don't infinite loop when
11301                         dhcdbd isn't running (Gnome #346845)
11302
11303 2006-07-09  Dan Williams  <dcbw@redhat.com>
11304
11305         * gnome/applet/applet.c
11306                 - (nma_destroy): don't pass NULL to notify_notification_close
11307                         (RH #197917)
11308
11309 2006-07-09  Dan Williams  <dcbw@redhat.com>
11310
11311         * gnome/applet/applet.c
11312                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11313
11314 2006-07-04  Tor Krill  <tor@krill.nu>
11315
11316         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11317         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11318         (nm_system_restart_mdns_responder), (ArchReadConfig),
11319         (nm_system_device_get_system_config):
11320                 - Explicitly check for DHCP configuration
11321                 - Check if daemons are running before starting them
11322
11323 2006-06-25  Dan Williams  <dcbw@redhat.com>
11324
11325         * libnm-util/dbus-dict-helpers.[ch]
11326           test/libnm-util/test-dbus-dict-helpers.c
11327                 - Add string array support
11328
11329 2006-06-24  Dan Williams  <dcbw@redhat.com>
11330
11331         * src/dhcp-manager/nm-dhcp-manager.c
11332                 - (nm_dhcp_manager_process_signal): clean up spacing
11333
11334 2006-06-21  Dan Williams  <dcbw@redhat.com>
11335
11336         * src/nm-dbus-device.c
11337                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11338                         through dbus
11339
11340 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11341
11342         * configure.in: Added 'lv' to ALL_LINGUAS
11343
11344 2006-06-19  Dan Williams  <dcbw@redhat.com>
11345
11346         * src/NetworkManagerAP.c
11347                 - Clarify usage of user_created
11348
11349         * src/nm-ap-security-wep.c
11350           src/nm-ap-security-wpa-eap.c
11351           src/nm-ap-security-wpa-psk.c
11352           src/nm-ap-security.c
11353           src/nm-ap-security.h
11354                 - s/user_created/adhoc, because we really do mean adhoc
11355
11356         Patch from Bernard Blackham <bernard@blackham.com.au>
11357         * src/nm-device-802-11-wireless.c         
11358                 - (supplicant_send_network_config): instead of user_created,
11359                         use adhoc, and do AP_SCAN 2 for adhoc networks
11360
11361 2006-06-18  Robert Love  <rml@novell.com>
11362
11363         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11364           we have a value to set.  Gconf generates a warning if `val' is NULL.
11365         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11366           unless we actually received a valid private key file passphrase or
11367           password.  Otherwise, we don't know to later ask the applet to pull
11368           the key from the keyring.
11369
11370 2006-06-17  Dan Williams  <dcbw@redhat.com>
11371
11372         * libnm-util/dbus-dict-helpers.[ch]
11373           test/libnm-util/test-dbus-dict-helpers.c
11374                 - Fixes for zero-length byte arrays
11375                 - Replace return values of 0 with FALSE for clarity
11376                 - Test zero-length byte arrays
11377
11378 2006-06-17  Dan Williams  <dcbw@redhat.com>
11379
11380         * libnm-util/dbus-dict-helpers.[ch]
11381           test/libnm-util/test-dbus-dict-helpers.c
11382                 - Add helpers for byte arrays
11383                 - Rework bits of the testcase
11384
11385 2006-06-16  Dan Williams  <dcbw@redhat.com>
11386
11387         * libnm-util/Makefile.am
11388         * libnm-util/dbus-dict-helpers.[ch]
11389                 - Add some helpers to take the pain out of using dict types in
11390                         dbus.
11391
11392         * test/libnm-util/Makefile.am
11393         * test/libnm-util/test-dbus-dict-helpers.c
11394                 - Test cases for the dict helper functions
11395
11396 2006-06-15  Robert Love  <rml@novell.com>
11397
11398         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11399           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11400           if there is no key to pass.
11401         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11402           receiving a non-NULL key.
11403
11404 2006-06-14  Robert Love  <rml@novell.com>
11405
11406         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11407           copy the strings.
11408
11409
11410 2006-06-14  Dan Williams  <dcbw@redhat.com>
11411
11412         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11413         * src/nm-device-802-11-wireless.c
11414                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11415                         or ones where the driver is unknown
11416                 - (supplicant_exec): don't wait for supplicant startup here
11417                 - (supplicant_interface_init): finer grained polling for supplicant
11418                         startup
11419
11420 2006-06-13  Robert Love  <rml@novell.com>
11421
11422         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11423           if it is currently set to TRUE.  Otherwise, we will reset the value
11424           when we connect normally.
11425         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11426           the old BSSID is valid, too.  The recently added ESSID check may not be
11427           sufficient (we can remove it?).  What we really want to catch is the
11428           case of going from all-zeros to the BSSID of some other network, which
11429           happens on failure.
11430
11431 2006-06-09  Dan Williams  <dcbw@redhat.com>
11432
11433         * src/NetworkManagerSystem.[ch]
11434                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11435                         it was unused and pointless
11436                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11437                         fix for set_up_down_with_iface change
11438
11439         * src/vpn-manager/nm-vpn-connection.c
11440                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11441
11442         * src/backends/NetworkManagerPaldo.c
11443           src/backends/NetworkManagerRedHat.c
11444           src/backends/NetworkManagerSuSE.c
11445           src/backends/NetworkManagerArch.c
11446           src/backends/NetworkManagerDebian.c
11447           src/backends/NetworkManagerGentoo.c
11448                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11449                         appropriate
11450                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11451                         where appropriate
11452
11453 2006-06-09  Dan Williams  <dcbw@redhat.com>
11454
11455         Patch from Peter Jones:
11456         * src/nm-device-802-11-wireless.c
11457                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11458                         SSID hasn't changed from what we expect before automatically
11459                         updating the saved BSSID from a new AP
11460
11461 2006-06-08  Robert Love  <rml@novell.com>
11462
11463         Add 'fallback' support.  NetworkManager will attempt to brute-force
11464         connect to networks marked as fallback if there are no better wireless
11465         connections available.  This is useful as a method of last resort, to
11466         work around driver problems, and for use with hidden networks.
11467         * gnome/applet/applet-dbus-devices.c,
11468           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11469         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11470           pass it on via DBUS.
11471         * gnome/applet/applet.c: No fallback by default.
11472         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11473           Update other-network-dialog to add UI checkbox toggling fallback.
11474         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11475           propery from AP object.  Add "fallback" property to AP object.
11476         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11477         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11478         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11479           separate function.  Add get_best_fallback_ap() for returning an AP
11480           on which to attempt fallback.
11481         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11482         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11483
11484 2006-06-07  Robert Love  <rml@novell.com>
11485
11486         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11487           checked that the return type was GCONF_VALUE_STRING, not the correct
11488           GCONF_VALUE_BOOL, and thus it never worked.
11489         * src/NetworkManagerAPList.c: Before concluding that two networks are
11490           identical based on their BSSID, make sure that the BSSID in question
11491           is actually valid.  Specifically, an empty or all zero BSSID does not
11492           cut it.
11493         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11494           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11495           similar invariant clean up.
11496
11497 2006-06-02  Robert Love  <rml@novell.com>
11498
11499         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11500
11501 2006-05-28  Dan Williams  <dcbw@redhat.com>
11502
11503         * gnome/applet/applet.glade
11504           gnome/vpn-properties/nm-vpn-properties.glade
11505                 - Set window icons on dialogs  (Gnome.org #333420)
11506
11507 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11508
11509         * gnome/vpn-properties/nm-vpn-properties.glade:
11510         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11511         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11512         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11513                 - Make the VPN properties pages prettier and more HIG
11514                   compliant. Gnome Bug #336913.
11515
11516 2006-05-28  Dan Williams  <dcbw@redhat.com>
11517
11518         Patch from Christian Persch <chpe@gnome.org>
11519         * gnome/vpn-properties/nm-vpn-properties.c
11520         * gnome/vpn-properties/nm-vpn-properties.glade
11521                 - HIG-ification love  (Gnome.org #336846)
11522
11523 2006-05-28  Dan Williams  <dcbw@redhat.com>
11524
11525         Patch from Christian Persch <chpe@gnome.org>
11526         * configure.in
11527           gnome/vpn-properties/nm-vpn-properties.c
11528                 - (main): Fix option parsing.  Gnome.org #336847
11529
11530 2006-05-28  Dan Williams  <dcbw@redhat.com>
11531
11532         * gnome/vpn-properties/nm-vpn-properties.c
11533                 - (find_vpn_ui_by_service_name): protect against NULL service names
11534                 - (update_edit_del_sensitivity): protect against NULL service names
11535                         Gnome.org #341306
11536
11537 2006-05-28  Dan Williams  <dcbw@redhat.com>
11538
11539         Patch from Chris Fuller <crf@grandecom.net>:
11540         * src/nm-device-802-11-wireless.c
11541                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11542                         don't dispose of wireless-specific stuff unless it is actually
11543                         initialized.  Gnome.org #341263
11544
11545 2006-05-28  Dan Williams  <dcbw@redhat.com>
11546
11547         * src/NetworkManagerPolicy.c
11548                 - (nm_policy_device_change_check): don't switch devices if the "best"
11549                         AP is essentially the same as the current activation request, but
11550                         the current activation request isn't done activating yet.  Fixes
11551                         multiple requests for keyring password on startup for Gnome applet.
11552                         Gnome.org #341297
11553
11554 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11555
11556         * src/NetworkManager.c: use GOptions instead of getopt
11557         * configure.in: bump glib required version to >= 2.6 for GOption
11558           support
11559
11560 2006-05-25  Robert Love  <rml@novell.com>
11561
11562         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11563           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11564           instead of dumping ifdef's throughout the code.
11565         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11566           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11567           use nm_ioctl_info() in lieu.
11568
11569 2006-05-25  Robert Love  <rml@novell.com>
11570
11571         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11572         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11573           not using gcrypt.  Otherwise, we get a linker error.
11574
11575 2006-05-25  Robert Love  <rml@novell.com>
11576
11577         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11578         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11579           configure flag to disable building of the GNOME-based applet.
11580
11581 2006-05-25  Robert Love  <rml@novell.com>
11582
11583         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11584           parameter from link, because it shadows a global variable with some
11585           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11586           should never have exported to the entire system a common four letter
11587           word.  But we here at NetworkManager are team players.  Fixes
11588           GNOME bug #336532.
11589
11590 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11591
11592         * configure.in: Added mk.po, Macedonian translation.
11593
11594 2006-05-24  Robert Love  <rml@novell.com>
11595
11596         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11597           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11598           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11599
11600 2006-05-24  Robert Love  <rml@novell.com>
11601
11602         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11603           libnm-util/Makefile.am, src/Makefile.am,
11604           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11605           vpn-daemons/openvpn/properties/Makefile.am,
11606           vpn-daemons/pptp/auth-dialog/Makefile.am,
11607           vpn-daemons/pptp/properties/Makefile.am,
11608           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11609           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11610           user passed for --datadir, if anything, when setting the GNOME locale
11611           directory.  It should be a function of the specified datadir and not
11612           the prefix.
11613
11614 2006-05-24  Robert Love  <rml@novell.com>
11615
11616         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11617           src/NetworkManager.c: Take care to call bindtextdomain with the
11618           location of msgid files.
11619         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11620           files.
11621
11622 2006-05-22  Robert Love  <rml@novell.com>
11623
11624         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11625           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11626           99% of the time there is a real problem with wireless, and a
11627           seemingly successful connection via Zeroconf just confuses the user.
11628           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11629
11630 2006-05-22  Robert Love  <rml@novell.com>
11631
11632         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11633           autofs on interface up if NIS is configured.  On interface down, do
11634           nothing.
11635
11636 2006-05-22  Robert Love  <rml@novell.com>
11637
11638         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11639           to avoid calling g_object_unref() on stale pointers on error in
11640           nma_icons_free().  This happens because we short-circuit loaded the
11641           icons on the first failure but then free all icons.  Normally we have
11642           no issue because the icons were zero'ed out malloc, but we have stale
11643           pointer data after nma_icon_theme_changed().
11644         * gnome/applet/main.c: Return error code if nma_new() failed.
11645
11646 2060-05-21  Dan Williams  <dcbw@redhat.com>
11647
11648         * initscript/NetworkManager.in
11649                 - Ensure both dhcdbd and named are started before NM
11650
11651 2006-05-21  Dan Williams  <dcbw@redhat.com>
11652
11653         * configure.in
11654                 - Bump version to 0.7 to signify we are in 0.7 development
11655
11656 2006-05-21  Dan Williams  <dcbw@redhat.com>
11657
11658         Patch from Adam Schreiber <sadam@clemson.edu>
11659         * gnome/vpn-properties/nm-vpn-properties.c
11660                 - (main): correct Gnome program name  (gnome.org #342498)
11661
11662 2006-05-21  Dan Williams  <dcbw@redhat.com>
11663
11664         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11665
11666         * src/NetworkManagerDbus.[ch]
11667                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11668                         clarify that function's argument should be an escaped dbus object
11669                         path, and look for path segment end before returning a match
11670         * src/nm-dbus-nm.c:
11671                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11672
11673 2006-05-17  Robert Love  <rml@novell.com>
11674
11675         Functionality to differentiate Ad-Hoc networks from infrastructure
11676         networks in the applet, by displaying a special icon:
11677         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11678         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11679         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11680           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11681           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11682           networks, encrypted or not.
11683         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11684           accessor functions to get and set the mode of a given network,
11685           wireless_network_get_mode() and wireless_network_set_mode().
11686
11687 2006-05-17  Robert Love  <rml@novell.com>
11688
11689         Functionality to automatically add BSSIDs to the allowed-MAC list as
11690         one roams from access point to access point on a given network:
11691         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11692           helper function to compare two ether_addr structures and return TRUE
11693           if they contain the same MAC address.
11694         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11695           prototype.
11696         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11697           stored with the current AP.  If the BSSID has indeed changed, we
11698           send it out to the applet, allowing the allowed-MAC list to grow
11699           automatically in response to roaming.
11700
11701 2006-05-16  Robert Love  <rml@novell.com>
11702
11703         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11704           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11705
11706 2006-05-13  Dan Williams  <dcbw@redhat.com>
11707
11708         * src/nm-device-802-3-ethernet.c
11709                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11710                         carrier detect (Debian bug #366373)
11711
11712 2006-05-11  Dan Williams  <dcbw@redhat.com>
11713
11714         Patch from Michael Biebl <biebl@teco.edu>
11715         * src/backends/NetworkManagerDebian.c
11716                 - Debian backend fixups
11717
11718 2006-05-10  Robert Love  <rml@novell.com>
11719
11720         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11721
11722 2006-05-09  Robert Love  <rml@novell.com>
11723
11724         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11725           private certificate passphrase, if any, in the GNOME Keyring.
11726         * libnm-utils/dbus-helpers.c: Update.
11727
11728 2006-05-05  Dan Williams  <dcbw@redhat.com>
11729
11730         * src/nm-device-802-11-wireless.c
11731                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11732                         nm_device_802_11_wireless_disable_encryption() since that's all
11733                         we use it for anymore; we don't ever set WEP keys ourselves.
11734                 - (real_deactivate_quickly): reset SSID and encryption keys
11735                 - (real_deactivate): move SSID and encryption key reset to
11736                         real_deactivate_quickly(), which gets run before us anyway
11737
11738 2006-05-05  Robert Love  <rml@novell.com>
11739
11740         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11741           root has a wacky default of its own (or, more common, a user has a
11742           bad umask and uses su/sudo to restart NetworkManager).  Anything
11743           other than 0022 does not do what we want with, for example,
11744           resolv.conf.  This problem is amplified by our judicious use of
11745           fopen(), which uses mode 0666 -- implying that the only way to get
11746           the permissions we want is with a umask of 0022.
11747
11748 2006-05-05  Dan Williams  <dcbw@redhat.com>
11749
11750         * gnome/libnm_glib/libnm_glib.c
11751                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11752                         to reconnect; instead wait a bit more with each reconnect attempt
11753                         up to a max of one minute.
11754
11755 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11756
11757         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11758           the WirelessNetwork structure using the proper function instead of
11759           just casting it directly to (const char *) (gnome.org #336991)
11760
11761 2006-05-03  Robert Love  <rml@novell.com>
11762
11763         * src/backends/NetworkManagerSuSE.c: Respect the variable
11764           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11765           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11766           to dynamically update /etc/resolv.conf.
11767
11768 2006-05-02  Peter Jones  <pjones@redhat.com>
11769
11770         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11771
11772 2006-05-02  Robert Love  <rml@novell.com>
11773
11774         Patch by Timo Hoenig;
11775         * tests/nm-online.c: Print pretty status indicator as timeout winds
11776           down.  Also fix possible race between DBUS startup and failure
11777           return.
11778
11779 2006-05-01  Robert Love  <rml@novell.com>
11780
11781         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11782           empty, too.
11783
11784 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11785
11786         * src/nm-device.c (discover_device_type): Actually use the hal
11787         device type instead of ioctl poking
11788
11789 2006-04-26  Robert Love  <rml@novell.com>
11790
11791         * tests/nm-online.c: New file.  Simple utility that returns exit status
11792           noting whether the connection is offline or online.  If offline on
11793           start, it waits 30 seconds (or a command-line given value) for an
11794           online signal.  If it times out, it again returns offline.  This is
11795           useful for scripts that want to wait for network connections.
11796
11797 2006-04-25  Robert Love  <rml@novell.com>
11798
11799         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11800           key mode (the authentication algorithm), e.g. open or shared, when we
11801           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11802           only shared was broken.  If the user specified a shared key, set it
11803           explicitly, otherwise let wpa_supplicant go with the default.
11804
11805 2006-04-24  Dan Williams  <dcbw@redhat.com>
11806
11807         * src/nm-device-802-11-wireless.c
11808                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11809
11810 2006-04-24  Dan Williams  <dcbw@redhat.com>
11811
11812         Commit the async scanning patch
11813
11814         * src/nm-device-802-11-wireless.c
11815                 - get rid of scan_mutex
11816                 - (wireless_event_helper): act on wireless scan events
11817                 - (real_start): schedule a pending scan
11818                 - (link_to_specific_ap): fake the link to the AP during a scan
11819                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11820                         strength during scans
11821                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11822                         nm_device_set_bitrate): unused with new scanning code, disable
11823                 - (nm_device_wireless_schedule_scan): removed
11824                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11825                 - (request_and_convert_scan_results): new function; retrieve scan
11826                         results from the driver and schedule the processing function
11827                 - (scan_results_timeout): timeout triggered when card doesn't send
11828                         a scan results wireless event during a certain interval
11829                 - (schedule_scan_results_timeout): new function; schedule the scan
11830                         results timeout
11831                 - (cancel_scan_results_timeout): new function; cancel the scan
11832                         results timeout
11833                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11834                         to do the scanning.  Otherwise, just request a scan but don't
11835                         grab results here; instead schedule a timeout for scan results and
11836                         let netlink notify us of scan completion events
11837                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11838                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11839                 - (supplicant_status_cb): ignore disconnect events while scanning
11840                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11841                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11842                         timeouts
11843                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11844
11845 2006-04-24  Dan Williams  <dcbw@redhat.com>
11846
11847         * gnome/applet/applet-dbus.c
11848                 - Disable the pending call debug stuff, seems under control now
11849
11850 2006-04-20  Robert Love  <rml@novell.com>
11851
11852         Fix bug where hidden ESSID's would not show up in the applet, even
11853         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11854         because nm_policy_device_list_update_from_allowed_list() would merge
11855         the data, putting a name to the hidden networks, but never notify NMI
11856         of the changes.  Simple fix is to invoke the function
11857         nm_dbus_signal_wireless_network_change() if we make a mapping.
11858         * src/NetworkManagerAPList.c: Call the function
11859           nm_dbus_signal_wireless_network_change() if we made a successful
11860           BSSID to ESSID mapping, notifying the applet of the "new" network.
11861         * src/NetworkManagerAPList.h: Update the prototypes for both
11862           nm_ap_list_copy_essids_by_address() and
11863           nm_ap_list_copy_one_essid_by_address().
11864
11865 2006-04-20  Robert Love  <rml@novell.com>
11866
11867         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11868           not set.  Just return zero.
11869
11870 2006-04-20  Robert Love  <rml@novell.com>
11871
11872         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11873           only one copy of nm-vpn-properties is running at a time via the 'ol
11874           X selection trick.  This prevents the user from opening two "VPN
11875           Connections" windows from within the applet, which leads to mass
11876           hysteria.
11877         * clipboard.c: New file, implementing simple X selection logic.
11878         * clipboard.h: New file.
11879         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11880
11881 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11882
11883         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11884         * configure.in
11885           initscript/Gentoo/Makefile.am
11886           initscript/Gentoo/NetworkManagerDispatcher.in
11887                 - New script
11888         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11889           Gentopia
11890
11891 2006-04-16  Dan Williams  <dcbw@redhat.com>
11892
11893         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11894         * configure.in
11895           initscript/Slackware/Makefile.am
11896           initscript/Slackware/rc.networkmanager-dispatcher.in
11897           initscript/Slackware/rc.networkmanager.in
11898                 - Update slackware initscripts
11899
11900 2006-04-10  Robert Love  <rml@novell.com>
11901
11902         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11903           the "delete_event" signal on the druid's parent window and handle it
11904           our way, lest using the WM to close the druid results in a series of
11905           bloody and ultimately lethal errors.
11906
11907 2006-04-10  Robert Love  <rml@novell.com>
11908
11909         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11910           'Back' too or else the 'Forward' option is initially disabled despite
11911           valid input.
11912
11913 2006-04-06  Robert Love  <rml@novell.com>
11914
11915         Fix bad but simple bug where an active modem connection did not update
11916         NM's connection state, breaking any app that did online/offline:
11917         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11918           represented whether a dial up connection is active, or not.
11919         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11920           to modem activation and deactivation.
11921         * src/NetworkManagerDbus.c: When asked our state, do not return
11922           disconnected if the modem is active.
11923
11924 2006-04-04  Robert Love  <rml@novell.com>
11925
11926         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11927           applet.  It just confuses the crap out of people and does not make a
11928           lot of sense, as the daemon still runs.
11929
11930 2006-04-02  Tor Krill  <tor@krill.nu>
11931
11932         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11933           in start of service.
11934         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11935           get Archlinux backend up to date.
11936
11937 2006-03-29  Robert Love  <rml@novell.com>
11938
11939         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11940         to add support for per-route MSS and improve support for per-interface
11941         MTU:
11942         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11943           optionally take an MSS parameter and set it for the given route.
11944           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11945           NMIP4Config's stored MSS, if any.
11946         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11947           the interface's MTU and the route's MSS, respectively.  Add functions
11948           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11949           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11950           MSS.
11951         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11952           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11953           nm_ip4_config_set_mss.
11954         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11955           VPN daemon.
11956         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11957           Change the retval of nm_system_get_mtu to guint32.
11958         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11959           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11960           servers can specify MTU's, we should set it here if the MTU was not
11961           provided.
11962
11963 2006-03-27  Jürg Billeter  <j@bitron.ch>
11964
11965         * configure.in:
11966         * initscript/Makefile.am:
11967         * initscript/paldo/Makefile.am:
11968         * initscript/paldo/NetworkManager.in:
11969         * initscript/paldo/NetworkManagerDispatcher.in:
11970         * src/backends/Makefile.am:
11971         * src/backends/NetworkManagerPaldo.c:
11972                 - Add paldo support
11973
11974 2006-03-27  Dan Williams  <dcbw@redhat.com>
11975
11976         Patch from Christian Persch <chpe@gnome.org>
11977         * gnome/applet/applet.glade
11978                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11979
11980 2006-03-27  Dan Williams  <dcbw@redhat.com>
11981
11982         Patch from Diffe <diffie@blazebox.homeip.net>
11983         * src/backends/NetworkManagerSlackware.c
11984                 - Don't restart howl, since it's been replaced by Avahi
11985                         in most distributions
11986
11987 2006-03-27  Dan Williams  <dcbw@redhat.com>
11988
11989         Patch from Tor Krill <bugzilla@krill.nu>
11990         * configure.in
11991           initscript/Makefile.am
11992           src/backends/Makefile.am
11993           src/backends/NetworkManagerArch.c
11994           initscript/Arch/Makefile.am
11995           initscript/Arch/networkmanager-dispatcher.in
11996           initscript/Arch/networkmanager.in
11997                 - Add Arch Linux support, fixes gnome.org #335147
11998
11999 2006-03-27  Dan Williams  <dcbw@redhat.com>
12000
12001         Patch from Diffe <diffie@blazebox.homeip.net>
12002      * initscript/Slackware/rc.networkmanager
12003         - update, fixed gnome.org #333368
12004
12005 2006-03-27  Robert Love  <rml@novell.com>
12006
12007         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12008           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12009
12010 2006-03-27  Robert Love  <rml@novell.com>
12011
12012         Patch by Jürg Billeter <j@bitron.ch>:
12013         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12014           systems.
12015         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12016           as we prefer glibc over kernel headers, if possible.
12017
12018 2006-03-27  Robert Love  <rml@novell.com>
12019
12020         Patch by Jon Escombe <list@dresco.co.uk>:
12021         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12022         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12023           fail, don't bail out.  We don't expect all of the various WPA-EAP
12024           values to be present.
12025         * src/nm-ap-security.c: We need to match all capabilities for each
12026           encryption type, not any one of them.
12027
12028 2006-03-27  Robert Love  <rml@novell.com>
12029
12030         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12031           restart, not reload, ypbind.  Unfortunately there is no superior
12032           solution.
12033
12034 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12035
12036         * gnome/applet/applet-notifications.c:
12037         When displaying a notification, make sure to get rid of the
12038         previous notification so as to not have competing bubbles,
12039         and stop leaking the old one.
12040
12041         * gnome/applet/applet.c:
12042         * gnome/applet/applet.h:
12043         Add a new 'notification' member to the applet, and zero it out
12044         and free it appropriately.
12045
12046 2006-03-23  Robert Love  <rml@novell.com>
12047
12048         Patch by j <j@bootlab.org>:
12049         * gnome/applet/applet.glade: Don't set the invisible_char property,
12050           which simply overrides the GTK default.  By and by, this behavior
12051           ought to be fixed in Glade.
12052
12053 2006-03-22  Robert Love  <rml@novell.com>
12054
12055         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12056
12057 2006-03-22  Robert Love  <rml@novell.com>
12058
12059         Bug fix by Timo Hoenig <thoenig@suse.de>:
12060         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12061           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12062           and the applet going AWOL.
12063
12064 2006-03-22  Robert Love  <rml@novell.com>
12065
12066         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12067           preprocessor define and use it instead of open-coded the DHCP
12068           timeout, which is currently 25 seconds, everywhere.
12069
12070 2006-03-22  Robert Love  <rml@novell.com>
12071
12072         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12073         key exchange via WPA, ostensibly providing good security without
12074         requiring hardware that supports full WPA.  Also, add UI elements to
12075         allow the user to select the pairwise & group cipher for WPA Enterprise
12076         networks, too:
12077         * gnome/applet/applet.glade: Update glade file.
12078         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12079           key type, too, to and from gconf.
12080         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12081           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12082           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12083           the capabilities match.
12084         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12085           prototype.
12086         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12087           serialize from UI to DBUS.
12088         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12089           one element.
12090         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12091           nmu_security_serialize_wpa_eap_with_cipher(), and
12092           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12093           serialize/deserialize the key type via DBUS as the new third DBUS
12094           parameter.
12095         * libnm-util/dbus-helpers.h: Update prototypes.
12096         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12097           too.  If the key type is WEP104, do Dynamic WEP, which means
12098           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12099           pairwise and group ciphers (fixes a FIXME).
12100
12101 2006-03-21  Robert Love  <rml@novell.com>
12102
12103         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12104           nm_system_get_mtu(), which returns a user-provided or system-mandated
12105           MTU value for a given device, if any, or zero if no such value
12106           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12107           if we have a provided value.
12108         * src/nm-device.c: Set the MTU of devices.
12109         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12110         * src/backends/NetworkManagerDebian.c,
12111           src/backends/NetworkManagerGentoo.c,
12112           src/backends/NetworkManagerRedHat.c,
12113           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12114
12115 2006-03-21  Robert Love  <rml@novell.com>
12116
12117         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12118           configuration file.
12119
12120 2006-03-17  Robert Love  <rml@novell.com>
12121
12122         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12123           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12124           it, in case it is not running in the first place.  We just want its
12125           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12126
12127 2006-03-15  Robert Love  <rml@novell.com>
12128
12129         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12130           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12131           label "WEP 40/128-bit" is inconsistent because the physical key size
12132           is 40 or 104-bits, to which a 24-bit initialisation vector is
12133           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12134           to read "40/104" or "64/128".  I do not care much which, but most
12135           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12136           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12137           WEP passphrase support only handles 128-bit keys, and any future
12138           64-bit passphrase support will require a new option (no way to auto-
12139           detect the target key size), explicitly label our passphrase support
12140           "WEP 128-bit Passphrase".
12141
12142 2006-03-15  Robert Love  <rml@novell.com>
12143
12144         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12145           the system init scripts (or some other mechanism) starting it (or a
12146           compatible DBUS service) before NetworkManager runs.  This means that
12147           distributions might need to update their init scripts.  This fixes
12148           possible races and is quite a bit cleaner.
12149         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12150           starting the NetworkManager daemon.
12151
12152
12153 2006-03-14  Robert Love  <rml@novell.com>
12154
12155         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12156           before adding anything.
12157
12158 2006-03-13  Robert Love  <rml@novell.com>
12159
12160         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12161           widgets, too, if they exist, in case the user hit the back button.
12162           Fixes a bug where the details page contains the widgets of multiple
12163           VPN modules (Novell bug #157048).
12164
12165 2006-03-13  Robert Love  <rml@novell.com>
12166
12167         Patch by Timo Hoenig <thoenig@suse.de>:
12168         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12169           daemon survive DBUS restarts, too.
12170
12171 2006-03-10  Robert Love  <rml@novell.com>
12172
12173         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12174           passphrase or key.
12175         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12176           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12177           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12178           in response to "toggled" signal on new toggle.
12179
12180 2006-03-10  Robert Love  <rml@novell.com>
12181
12182         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12183           serialization if strings are NULL, lest DBUS get angry.
12184
12185 2006-03-10  Robert Love  <rml@novell.com>
12186
12187         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12188
12189 2006-03-09  Robert Love  <rml@novell.com>
12190
12191         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12192           configurations.
12193
12194 2006-03-09  Dan Williams  <dcbw@redhat.com>
12195
12196         Track pending call requests in the applet, and report how many are
12197         outstanding, and how long each completed one takes.
12198         
12199         * gnome/applet/applet-dbus-devices.c
12200           gnome/applet/applet-dbus-vpn.c
12201                 - Track pending calls
12202
12203         * gnome/applet/applet-dbus.[ch]
12204                 - Remove some unused enums
12205                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12206                         new functions to track dbus pending calls and spit out some
12207                         statistics about them
12208
12209 2006-03-09  Robert Love  <rml@novell.com>
12210
12211         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12212           nm_ap_set_timestamp() take the second and micro-second parameters as
12213           direct arguments, which avoids both a dynamic memory allocation and a
12214           structure-to-structure copy!  Add a new interface, the aptly named
12215           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12216           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12217           the return from nm_ap_get_timestamp().  New users should use the new
12218           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12219           the extreme benefit to performance.
12220         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12221           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12222
12223 2006-03-08  Robert Love  <rml@novell.com>
12224
12225         * gnome/applet/applet.glade: Hide the password entry text with
12226           asterisks.
12227
12228 2006-03-08  Robert Love  <rml@novell.com>
12229
12230         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12231           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12232           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12233           a second argument, NMData.
12234         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12235         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12236           config files as trusted.
12237
12238 2006-03-06  Robert Love  <rml@novell.com>
12239
12240         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12241         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12242           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12243           Rivera, detect if the applet was auto-started.  If so, ask the user
12244           if he or she would like to stop automatically running the applet on
12245           login.  If so, disable autostart.
12246
12247 2006-03-06  Robert Love  <rml@novell.com>
12248
12249         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12250           directory in CFLAGS so developers can actually use NetworkManager.h.
12251
12252 2006-03-06  Robert Love  <rml@novell.com>
12253
12254         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12255           open-coded integer constants.  Add state_to_string() to map a given
12256           state to a textual description, and provide that when notifying of
12257           state change.
12258         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12259           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12260           this header directly, but it is currently not installed on most
12261           systems.
12262
12263 2006-03-05  Dan Williams  <dcbw@redhat.com>
12264
12265         Process netlink messages in device subclasses rather than in
12266         NetworkManager.c.  Also add support for recognizing Wireless Events.
12267         
12268         * configure.in
12269                 - Find GLIB_GENMARSHAL
12270
12271         * src/Makefile.am
12272                 - Since we're marshalling custom types for wireless event signals,
12273                         we get to create our own marshallers using GLIB_GENMARSHAL
12274
12275         * src/NetworkManager.c
12276                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12277                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12278                         cut down somewhat.  We no longer process signals here.
12279                 - (nm_data_new): create the netlink monitor here, and remove a
12280                         useless call to nm_policy_schedule_device_change_check()
12281                 - (nm_data_free): get rid of the netlink monitor here
12282                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12283                 - (main): don't create the netlink monitor here, let nm_data_new
12284                         do that.  Call nm_policy_schedule_device_change_check() right
12285                         before we jump to the mainloop to figure out which device
12286                         to use first
12287
12288         * src/NetworkManagerSystem.[ch]
12289                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12290                         convert back and forth from interface names to interface
12291                         indexes
12292
12293         * src/nm-device-802-11-wireless.c
12294                 - (real_init): connect to wireless-event signals from the netlink
12295                         monitor object
12296                 - (nm_device_802_11_wireless_event): new function, schedule handler
12297                         for wireless event signals from the netlink monitor object.  We
12298                         want the handler to run in the device's context
12299                 - (wireless_event_helper): handle wireless-event signals from netlink
12300                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12301                         signal handler
12302
12303         * src/nm-device-802-11-wireless.h
12304                 - remove unused prototype for nm_device_802_11_wireless_new
12305
12306         * src/nm-device-802-3-ethernet.c
12307                 - (real_init): new function; set up signal handlers for link events
12308                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12309                         handler for netlink link activated events on device's main loop
12310                 - (link_activated_helper): when we get a link activated event, set
12311                         the device's link to be active
12312                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12313                         handler for netlink link deactivated events on device's main loop
12314                 - (link_deactivated_helper): when we get a link deactivated event, set
12315                         the device's link to be inactive
12316                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12317                         dispose
12318
12319         * src/nm-device-802-3-ethernet.h
12320                 - remove unused prototype for nm_device_802_3_ethernet_new
12321
12322         * src/nm-device.[ch]
12323                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12324                         but locks the device list
12325                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12326
12327         * src/nm-netlink-monitor.[ch]
12328                 - (nm_netlink_monitor_class_install_signals): New signal
12329                         "wireless-event"
12330                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12331                         at the device list
12332                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12333
12334         * src/nm-marshal-main.c
12335                 - Include generated nm-marshal.c and nm-marshal.h
12336
12337         * src/nm-marshal.list
12338                 - List of custom marshal functions
12339
12340 2006-03-05  Dan Williams  <dcbw@redhat.com>
12341
12342         * gnome/applet/applet-notifications.h
12343                 - Protect prototype of nma_send_event_notification() because it
12344                         includes libnotify-specific types
12345                 - Include libnotify/libnotify.h too, since we technically need it
12346
12347         * gnome/applet/applet.c
12348                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12349                 - (nma_show_vpn_login_banner_dialog): add some error checking
12350
12351 2006-03-04  Dan Williams  <dcbw@redhat.com>
12352
12353         Clean up activation cancellation.  Should be a lot faster now.  Observed
12354         an issue with wireless devices between stage 2 and 3 of activation, where
12355         activation would be cancelled, but the device thread wouldn't notice until
12356         the supplicant association timed out.  Reorganize activation such that
12357         a cancellation handler gets immediately scheduled in the device's thread,
12358         and devices have a chance to perform any custom cleanup too.
12359
12360         * src/nm-device.[ch]
12361                 - (activation_cancel_handler): new device-type-specific function
12362                         for cleaning up device-type-specific stuff on cancellation
12363                 - (cancel_activation): removed
12364                 - (nm_device_activation_cancel): subsume functionality of
12365                         real_cancel_activation, but instead of doing anything, punt
12366                         operation to a handler that's run in device-thread context
12367                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12368                         a warning message
12369                 - (activation_handle_cancel_helper): cancellation handler run in
12370                         device-thread context, calls device-type-specific cancelation,
12371                         then tears down the activation request
12372                 - (real_activation_cancel_handler): generic cancellation handler,
12373                         deals with cancelling any in-process DHCP request
12374                 - (nm_device_activate_stage1_device_prepare,
12375                    nm_device_activate_stage2_device_config,
12376                    nm_device_activate_stage3_ip_config_start,
12377                    nm_device_activate_stage4_ip_config_get,
12378                    nm_device_activate_stage4_ip_config_timeout,
12379                    nm_device_activate_stage5_ip_commit): don't call
12380                         nm_device_schedule_activation_handle_cancel() any more, since
12381                         cancellation will have been already scheduled for us by
12382                         nm_device_activation_cancel().  Just exit the function and
12383                         assume that the cancel handler will be called next.
12384
12385         * src/nm-device-802-3-ethernet.c
12386                 - (real_act_stage2_config): remove; didn't do anything anyway
12387
12388         * src/nm-device-802-11-wireless.c
12389                 - (supplicant_status_cb): ensure we don't do anything if the activation
12390                         got cancelled
12391                 - (real_activation_cancel_handler): implement; cancel user key request
12392                         on activation cancellation
12393
12394 2006-03-04  Dan Williams  <dcbw@redhat.com>
12395
12396         * src/nm-device-802-11-wireless.c
12397                 - (supplicant_send_network_config): assume that drivers that don't
12398                         support WPA pretty much suck, and can't handle NM scanning
12399                         along with wpa_supplicant.
12400
12401 2006-03-03  Robert Love  <rml@novell.com>
12402
12403         * configure.in: Bump version to 0.6.0.
12404         * NEWS: Update.
12405
12406 2006-03-03  Robert Love  <rml@novell.com>
12407
12408         * configure.in: Require DBUS 0.60 or later.
12409
12410 2006-03-03  Dan Williams  <dcbw@redhat.com>
12411
12412         Fix a crash if an "Other wireless network" was chosen, failed, then
12413         chosen again from the applet's menu.  If the other network wasn't
12414         noticed in a scan, it wouldn't have any capabilities, but would still
12415         be listed because the user forced the network.  To fix this, we set
12416         sensible capabilities on the forced network, which will get overwritten
12417         with the correct ones if the network shows up later in a scan.
12418         
12419         * src/nm-ap-security.h
12420                 - Add a new "get_default_capabilities_func" member to the
12421                         NMAPSecurity class
12422
12423         * src/nm-ap-security.c
12424                 - (nm_ap_security_get_default_capabilities): new function
12425
12426         * src/nm-ap-security.c
12427           src/nm-ap-security-wep.c
12428           src/nm-ap-security-wpa-psk.c
12429           src/nm-ap-security-wpa-eap.c
12430                 - Implement get_default_capabilities_func() for all, which
12431                         uses the information contained in a specific NMAPSecurity
12432                         object to determine default AP capabilites necessary
12433                         to support that object
12434
12435         As a secondary measure, we now prune artificial access points that fail
12436         to be activated right away.  The thing failed, and we have no scan data for
12437         it, so it's pretty much useless since security information is only saved
12438         in the applets when a connection is successful.
12439
12440         * src/NetworkManagerAPList.c
12441                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12442                         not artificial.  If we see it, it's no longer a figment of the
12443                         user's imagination :)
12444
12445         * src/NetworkManagerPolicy.c
12446                 - (nm_policy_activation_failed): send along the failed AP if we
12447                         have it
12448
12449         * src/nm-device-802-11-wireless.c
12450                 - (real_activation_failure_handler): remove artificial APs from
12451                         the device list, because activation failed
12452
12453 2006-03-02  Robert Love  <rml@novell.com>
12454
12455         Add support for retrieving both the per-device speed and the
12456         per-network maximum supported rate.  Then change the getProperties
12457         DBUS API for both networks and devices to report this informaiton.
12458         Finally, display the information via both nm-applet and nm-tool:
12459         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12460           and set it.
12461         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12462           Information' dialog.
12463         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12464         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12465           network_device_get_speed() and network_device_set_speed() for
12466           retrieving and setting, respectively, a network device's current
12467           speed.
12468         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12469         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12470           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12471           not matter (yet) what the units are, because we only feed it its own
12472           output.  Implement SIOCGIRATE and set the per-network maximum
12473           supported rate during scanning.
12474         * src/nm-device-802-11-wireless.h: Export the function
12475           nm_device_802_11_wireless_get_bitrate().
12476         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12477           function nm_device_802_3_ethernet_get_speed() for returning an
12478           802.3's current speed, in Mb/s.
12479         * test/nm-tool.c: Display the per-device current speed, if available,
12480           and the per-network maximum rate.
12481
12482 2006-03-02  Dan Williams  <dcbw@redhat.com>
12483
12484         * src/nm-device-802-11-wireless.c
12485                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12486                         card when it gets initialized.  Since devices don't get added to
12487                         the scan list until they are initialized, this function wasn't
12488                         setting the intitial scan interval correctly, and was leaving
12489                         it at 0.  This caused cards to get many scan requests in a short
12490                         amount of time when they were initialized
12491
12492 2006-03-02  Robert Love  <rml@novell.com>
12493
12494         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12495           active device.  But do not do what we used to do and override the
12496           state, which caused the dreaded icon race of '05.
12497
12498 2006-03-02  Robert Love  <rml@novell.com>
12499
12500         Commit Dan's update of my previous commit:
12501         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12502           set_mode() function itself does the check.  But do only set the
12503           frequency if in Ad-Hoc mode.
12504
12505 2006-03-02  Robert Love  <rml@novell.com>
12506
12507         Patch by Brian Magnuson <magnuson@rcn.com>:
12508         * src/nm-device-802-11-wireless.c: During scanning, only set the
12509           wireless mode to infrastructure if it is not currently in
12510           infrastructure mode.  For some driver, setting the mode is a costly
12511           operation, apparently.
12512
12513 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12514
12515         * Makefile.am: use the correct dir for autostart mechanism.
12516
12517 2006-02-28  Dan Williams  <dcbw@redhat.com>
12518
12519         Patch from Brian Magnuson <magnuson@rcn.com>
12520         * gnome/applet/applet.c
12521                 - (nma_show_vpn_failure_dialog): fix errors left over from
12522                         libnotify support changes
12523
12524 2006-02-28  Dan Williams  <dcbw@redhat.com>
12525
12526         * src/vpn-manager/nm-vpn-act-request.[ch]
12527                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12528                         just one value
12529                 - (nm_vpn_act_request_is_failed): new function; return whether or
12530                         not the vpn activation request has failed
12531
12532         * src/vpn-manager/nm-vpn-manager.c 
12533                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12534                         daemon to kill the connection when the activation request fails.
12535                         Fixes issue where NM would get confused if the VPN activation
12536                         request timed out, and would not allow further VPN connections
12537                         on that service.
12538
12539 2006-02-28  Dan Williams  <dcbw@redhat.com>
12540
12541         * gnome/applet/applet.c
12542                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12543                         overlapping connection requests, disable all VPN menu items
12544                         but the active VPN connection
12545
12546 2006-02-28  Dan Williams  <dcbw@redhat.com>
12547
12548         * src/vpn-manager/nm-vpn-connection.c
12549                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12550                         called g_object_unref() on the connection's parent device
12551                         when it should have been ref-ed instead.  Fixes crash with
12552                         repeated vpn connect requests
12553
12554 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12555
12556         * gnome/applet/applet.glade:
12557         Mark a few strings non-translatable, since they shouldn't be.
12558
12559 2006-02-28  Dan Williams  <dcbw@redhat.com>
12560
12561         * src/vpn-manager/nm-vpn-service.c
12562                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12563                         already running, don't blindly ask it to connect, but wait until
12564                         it's in the STOPPED state first.  Fixes an assertion when user
12565                         starts a second vpn connection without stopping the first.
12566                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12567                         dbus service exists before continuing with the connection
12568                         process, and reduce latency while waiting for it to become
12569                         available
12570                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12571                         waiting for the vpn service daemon to become available
12572                 - General log message cleanups; show progress via "Stage x of 4"
12573                         rather than not telling anyone how many stages there are
12574
12575 2006-02-28  Robert Love  <rml@novell.com>
12576
12577         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12578         * src/backends/NetworkManagerSuSE.c: Implement the interface
12579           nm_system_should_modify_resolv_conf() for SUSE.
12580         * src/backends/NetworkManagerDebian.c,
12581           src/backends/NetworkManagerGentoo.c,
12582           src/backends/NetworkManagerRedHat.c,
12583           src/backends/NetworkManagerSlackware.c: Add stub.
12584         * src/named-manager/Makefile.am: Grab includes from src.
12585         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12586           automatic updating of resolv.conf.  This is useful for testing,
12587           broken static configurations, and administrator lock-down.
12588
12589 2006-02-28  Dan Williams  <dcbw@redhat.com>
12590
12591         * src/nm-device-802-11-wireless.c
12592                 - Move all the wpa_supplicant-related management stuff into its
12593                         own struct, just for oranization's sake
12594                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12595                         to a GIOChannel/GSource
12596                 - (supplicant_log_stdout): new function; grab output from the
12597                         wpa_supplicant stdout pipe and write it to our logs.
12598
12599 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12600
12601         * src/nm-device-802-11-wireless.c:
12602         Err, fix thinko in my previous commit.
12603
12604 2006-02-28  Robert Love  <rml@novell.com>
12605
12606         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12607
12608 2006-02-28  Robert Love  <rml@novell.com>
12609
12610         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12611           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12612           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12613           deserializers are responsible for freeing the returned DBUS strings.
12614
12615 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12616
12617         * src/nm-device-802-11-wireless.c:
12618         The scan list is being pruned prematurely.  We should prune after
12619         the device has gone MIA for three scans, not one.  Split out the
12620         interval to realtime seconds function to better serve this.
12621
12622 2006-02-27  Robert Love  <rml@novell.com>
12623
12624         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12625           Open the pid file O_TRUNC, so if it already exists we truncate it to
12626           zero length.  Also, be more verbose about warnings generated during
12627           writing out the pid file.  Finally, always write out the pid file if
12628           in daemon mode.  Use "--pid-file" to override the default.
12629
12630 2006-02-27  Robert Love  <rml@novell.com>
12631
12632         Patch by R. Vinay <rvinay@novell.com>:
12633         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12634           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12635           Novell bug #153628).
12636           
12637 2006-02-27  Robert Love  <rml@novell.com>
12638
12639         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12640           entry so user can hit <ENTER> after entering passphrase (Novell bug
12641           #153738).
12642
12643 2006-02-27  Dan Williams  <dcbw@redhat.com>
12644
12645         * gnome/applet/*
12646                 - Mass search/replace of:
12647                         nmwa -> nma
12648                         NMWirelessApplet -> NMApplet
12649                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12650                    (it ain't just for wireless anymore, ma!)
12651                 - Fix duplicate function name printing when using nm_warning
12652                 - wireless-applet.glade -> applet.glade
12653
12654 2006-02-27  Dan Williams  <dcbw@redhat.com>
12655
12656         * dispatcher-daemon/NetworkManagerDispatcher.c
12657                 - Accept --pid-file with a path to a pidfile, write it out on
12658                         startup, and delete it on shutdown
12659
12660         * src/NetworkManager.c
12661                 - Accept --pid-file with a path to a pidfile, write it out on
12662                         startup, and delete it on shutdown
12663                 - Move nm_print_usage() lower
12664
12665         * initscripts/RedHat/NetworkManager.in
12666                 - Use new --pid-file option
12667                 - Fix service stopping to wait a bit for NM to quit
12668
12669         * initscripts/RedHat/NetworkManagerDispatcher.in
12670                 - Use new --pid-file option
12671
12672 2006-02-26  Dan Williams  <dcbw@redhat.com>
12673
12674         * src/Makefile.am
12675                 - make and install nm-crash-logger
12676
12677         * src/nm-logging.[ch]
12678                 - New files; consolidate logging and crash handling
12679
12680         * src/nm-crash-logger.c
12681           src/gdb-cmd
12682                 - Standalong crashlogger for NM, grab a backtrace
12683                         using GDB
12684
12685         * src/NetworkManager.[ch]
12686                 - Remove signal handling and put it into nm-logging.c
12687
12688 2006-02-26  Dan Williams  <dcbw@redhat.com>
12689
12690         * configure.in
12691           gnome/applet/Makefile.am
12692                 - Conditionalize all the notify stuff
12693
12694         Merge most of Chris Aillon's notification patch:
12695         
12696         * gnome/applet/applet-notifications.[ch]
12697                 - New files; show a notification
12698         
12699         * gnome/applet/applet-dbus-devices.[ch]
12700                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12701                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12702                         new functions, do the right thing when a device change occurs
12703
12704         * gnome/applet/applet-dbus.c
12705                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12706                         signals, so we can handle them specially
12707
12708         * gnome/applet/applet.[ch]
12709                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12710                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12711                 - (nmwa_notify_state): remove
12712                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12713                         notification work is now done when the appropriate dbus signals
12714                         are received.
12715                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12716                         defer execution of the notification/dialog stuff.  That was an
12717                         artifact of the previous multi-threaded nature of the applet
12718                         and is now pointless.
12719                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12720                         no longer needed.  Function folded into applet-notifications.c
12721
12722         * src/NetworkManagerPolicy.c
12723                 - (nm_policy_activation_finish): send the AP along with the device
12724                         status change signal, if the connection is wireless.  Should
12725                         fix the race where applet would show a connection to "unknown"
12726
12727 2006-02-25  Robert Love  <rml@novell.com>
12728
12729         Add WPA Enterprise support:
12730         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12731           nm-gconf-wso-wpa-eap.h.
12732         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12733           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12734           serialization and deserialization.
12735         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12736           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12737           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12738         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12739           settings related to WPA Enterprise.
12740         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12741           instantiate WPA Enterprise wireless-security-option.
12742         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12743           Implement WPA Enterprise wireless-security-option object.
12744         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12745           defines.  Cleanup.
12746         * libnm-util/cipher-wpa-psk-hex.c,
12747           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12748         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12749           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12750           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12751           including the cipher to DBUS method, and
12752           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12753           to output.
12754         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12755           nm-ap-security-wpa-eap.h
12756         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12757           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12758         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12759           files.  Implement NMAPSecurityWPA_EAP object.
12760         * src/nm-ap-security-wpa-psk.c: Cleanup.
12761         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12762           an NMAPSecurityWPA_EAP object via the method
12763           nm_ap_security_wpa_eap_new_deserialize().
12764         * src/nm-dbus-nm.c: Cleanup.
12765         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12766           WPA Enterprise support.
12767
12768 2006-02-24  Robert Love  <rml@novell.com>
12769
12770         Patch from Timo Hoenig <thoenig@suse.de>:
12771         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12772
12773 2006-02-24  Robert Love  <rml@novell.com>
12774
12775         Patch from Dan Winship <danw@novell.com>:
12776         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12777           area to transparent.
12778
12779 2006-02-21  Dan Williams  <dcbw@redhat.com>
12780
12781         * gnome/applet/applet.[ch]
12782           gnome/applet/applet-dbus.c
12783                 - Implement notification support for VPN messages too
12784
12785 2006-02-21  Dan Williams  <dcbw@redhat.com>
12786
12787         * gnome/applet/applet-dbus-info.c
12788                 - Clean up warning messages to not double-print the function
12789
12790 2006-02-21  Dan Williams  <dcbw@redhat.com>
12791
12792         * gnome/applet/applet-compat.c
12793                 - (convert_one_entry): accept entries without a key_type and
12794                         convert them to unencrypted networks
12795
12796 2006-02-21  Dan Williams  <dcbw@redhat.com>
12797
12798         * gnome/libnm_glib/libnm_glib.c
12799                 - Use __func__ everywhere we can
12800                 - Code cleanups
12801                 - Use dbus pending calls rather than blocking
12802                 - Reduce busywaits for our thread to start and stop
12803                         (gnome.org #330562)
12804                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12805                         stomp on others using the default shared dbus connection.
12806                         Fixes #rh177546# and gnome.org #326572
12807
12808 2006-02-21  Dan Williams  <dcbw@redhat.com>
12809
12810         Patch from Rodney Dawes <dobey@novell.com>
12811         * configure.in
12812           gnome/applet/Makefile.am
12813           gnome/applet/applet.c
12814                 - Add libnotify support if '--enable-notify=yes' is passed
12815                   at configure time
12816
12817 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12818
12819         * configure.in (ALL_LINGUAS): ko added. (Korean)
12820
12821 2006-02-15  Robert Love  <rml@novell.com>
12822
12823         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12824           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12825           and WPA_SUPPLICANT_CONTROL_SOCKET.
12826         
12827 2006-02-15  Robert Love  <rml@novell.com>
12828
12829         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12830           information about what connection stage we are at, provide the total
12831           number of stages, e.g. "Stage 2 of 5", so users know how far along
12832           they are if they experience problems.
12833
12834 2006-02-15  Robert Love  <rml@novell.com>
12835
12836         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12837           define to $sysconfdir.
12838         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12839           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12840           type of VPN and then editing another results in a mangled dialog
12841           box containing the widgets from both VPNs (fixes Novell #150854).
12842           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12843
12844 2006-02-14  Robert Love  <rml@novell.com>
12845
12846         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12847           syslog's file descriptor.
12848
12849 2006-02-14  Robert Love  <rml@novell.com>
12850
12851         Fix bug around since the change to "deal with APs changing settings on
12852         us," checked in on the fifth of February in the year of the dog, 
12853         wherein connecting to non-broadcast encrypted networks always fails
12854         because nm_ap_get_encrypted() always returns FALSE, even when the user
12855         provided a key, because the newly-created fake AP does not have any
12856         capabilities set, which is a sypmtom of security settings not matching
12857         capabilities (Novell bug #150784):
12858         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12859           nm_ap_add_capabilities_from_security(), which sets the given AP's
12860           capabilities off the given security settings.  Also improve our
12861           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12862           NM_AUTH_CIPHER_AUTO.
12863         * src/nm-device-802-11-wireless.c: Call the function
12864           nm_ap_add_capabilities_from_security() to ensure that capabilities
12865           match newly updated security settings.
12866
12867 2006-02-14  Robert Love  <rml@novell.com>
12868
12869         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12870           error as a string, not an integer, if possible; do not print the
12871           function name twice; always give the interface, if possible; misc.
12872           cleanup.
12873
12874 2006-02-12  Dan Williams  <dcbw@redhat.com>
12875
12876         Patch from Tom Parker <palfrey@tevp.net>
12877         * src/NetworkManagerSystem.h
12878                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12879                         no longer used
12880
12881         * src/backends/NetworkManagerDebian.c
12882                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12883                         unused variables
12884
12885 2006-02-12  Dan Williams  <dcbw@redhat.com>
12886
12887         * vpn-daemons/openvpn/intltool-extract.in
12888           vpn-daemons/openvpn/intltool-merge.in
12889           vpn-daemons/openvpn/intltool-update.in
12890           vpn-daemons/pptp/intltool-extract.in
12891           vpn-daemons/pptp/intltool-merge.in
12892           vpn-daemons/pptp/intltool-update.in
12893                 - Remove from CVS, they should get created by intltoolize,
12894                         shouldn't they?
12895
12896 2006-02-12  Dan Williams  <dcbw@redhat.com>
12897
12898         * vpn-daemons/pptp/src/pppd/patchlevel.h
12899         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12900                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12901                         Makefile-defined VERSION
12902
12903 2006-02-09  Dan Williams  <dcbw@redhat.com>
12904
12905         Patch from: Vinay A R <rvinay@novell.com>
12906         * src/vpn-manager/nm-vpn-act-request.[ch]
12907                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12908                         IPSec VPNs require them for std gateway.
12909                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12910                         and 'user_routes_count'
12911                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12912                         defined routes  from NMVPNActRequest object, returns the string
12913                         array of routes.
12914
12915         * src/vpn-manager/nm-vpn-manager.[ch]
12916                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12917                         for 'user_routes' and 'user_routes_count'
12918         
12919         * src/vpn-manager/nm-dbus-vpn.c
12920                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12921                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12922         
12923         * src/vpn-manager/nm-vpn-service.c
12924                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12925                         the vpn daemon
12926
12927         Modifications by Dan:
12928         * src/vpn-manager/nm-vpn-service.c
12929                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12930                         arrays into dbus
12931
12932         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12933         * vpn-daemons/pptp/src/nm-pptp-service.c
12934         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12935                 - Grab user routes from dbus message
12936                 - Free all string arrays we got from dbus
12937
12938 2006-02-07  Robert Love  <rml@novell.com>
12939
12940         Patch by Stefan Seyfried <seife@suse.de>:
12941         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12942
12943 2006-02-06  Robert Love  <rml@novell.com>
12944
12945         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12946
12947 2006-02-06  Robert Love  <rml@novell.com>
12948
12949         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12950           test ">=" is never false.  If no newline is found, we loop forever.
12951           We can just check for ">" because the following if() will see the
12952           zero-th argument if the while() gets that far.
12953
12954 2006-02-05  Dan Williams  <dcbw@redhat.com>
12955
12956         Refine handling of non-broadcast networks.
12957
12958         * src/NetworkManagerAPList.c
12959                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12960                         property from scanned AP to the AP from the device list
12961
12962         * src/nm-device-802-11-wireless.c
12963                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12964                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12965                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12966                         networks since those don't have APs.
12967                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12968                         AP as non-SSID-broadcasting
12969                 - (process_scan_results): don't handle non-SSID-broadcasting here
12970
12971 2006-02-05  Dan Williams  <dcbw@redhat.com>
12972
12973         * src/nm-device-802-11-wireless.c
12974                 - (get_supplicant_timeout): new function; return
12975                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12976                         14 channels.  These are likely a/b/g cards, like Atheros, and
12977                         slow as hell to scan.
12978                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12979                         get_supplicant_timeout()
12980
12981 2006-02-05  Dan Williams  <dcbw@redhat.com>
12982
12983         * src/dhcp-manager/nm-dhcp-manager.c
12984                 - Loose a commit race with Robert; make sure size check
12985                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12986
12987 2006-02-05  Robert Love  <rml@novell.com>
12988
12989         Patch by Christoph Brill <chrisbrill@gmx.net>:
12990         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12991           with DHCP_SERVICE_NAME.
12992
12993 2006-02-05  Dan Williams  <dcbw@redhat.com>
12994
12995         Remove anything having to do with device_setup_func from the
12996         AP security objects, since it's no longer used.
12997
12998         * src/nm-ap-security.h
12999                 - Kill device_setup_func and nm_ap_security_device_setup()
13000
13001         * src/nm-ap-security-wep.c
13002           src/nm-ap-security-wpa-psk.c
13003                 - (real_device_setup): remove
13004
13005         * src/nm-ap-security.c
13006                 - (real_device_setup): remove
13007                 - (nm_ap_security_device_setup): remove
13008
13009         * src/nm-device-802-11-wireless.[ch]
13010                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13011                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13012                         and done by wpa_supplicant now anyway
13013
13014 2006-02-05  Dan Williams  <dcbw@redhat.com>
13015
13016         * src/nm-device-802-11-wireless.c
13017                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13018                         settings on us.  Previously NM would loop asking for the
13019                         key but getting the same one back.  Now, if the NMI-supplied
13020                         cipher doesn't overlap with the scanned AP capabilities,
13021                         we request a completely new key from the user.
13022
13023 2006-02-05  Dan Williams  <dcbw@redhat.com>
13024
13025         * src/NetworkManagerUtils.c
13026                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13027                         Handle newline killing better
13028
13029 2006-02-05  Dan Williams  <dcbw@redhat.com>
13030
13031         * gnome/applet/nm-gconf-wso.c
13032                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13033                         of unencrypted access point security info.
13034
13035 2006-02-03  Robert Love  <rml@novell.com>
13036
13037         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13038           user's encryption key, so we print the err_msg_cmd not the command,
13039           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13040           sense.
13041
13042 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13043
13044         * initscript/RedHat/NetworkManagerDispatcher.in:
13045         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13046         Patch from Dan Walsh <dwalsh@redhat.com>
13047
13048 2006-02-03  Robert Love  <rml@novell.com>
13049
13050         * dispatcher-daemon/NetworkManagerDispatcher.c,
13051           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13052           but use the sysconfdir.
13053
13054 2006-02-03  Robert Love  <rml@novell.com>
13055
13056         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13057           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13058           'char *'.
13059         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13060           nm_ip4_config_get_hostname() and
13061           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13062         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13063           leak g_strdup() result.
13064
13065 2006-02-03  Robert Love  <rml@novell.com>
13066
13067         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13068           broadcast == TRUE.  Also, copy broadcast and artificial properties
13069           from source network to destination in nm_ap_copy().
13070         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13071           since we now default new networks to non-hidden.
13072
13073 2006-02-03  Dan Williams  <dcbw@redhat.com>
13074
13075         * gnome/applet/main.c
13076                 - (main): change the NEVER->ALWAYS so we start at the
13077                         beginning of the session, if being session-managed
13078
13079 2006-02-03  Dan Williams  <dcbw@redhat.com>
13080
13081         * gnome/applet/main.c
13082                 - (main): in a variation on Robert's patch, change
13083                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13084                         he wants.
13085
13086 2006-02-02  Robert Love  <rml@novell.com>
13087
13088         * src/Makefile.am: If we aren't going to create the run directory at,
13089           uh, run-time, create it during install.  Then users just doing
13090           'make install' are cool, too.  While we are here, create the
13091           dispatcher.d directory, too.
13092         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13093           the exact run directory.
13094         * Makefile.am: Install nm-applet.desktop.
13095
13096 2006-02-02  Robert Love  <rml@novell.com>
13097
13098         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13099           structure, which denotes whether or not the AP is hidden.  This is a
13100           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13101           can show up in the scan list.  Add nm_ap_get_broadcast() and
13102           nm_ap_set_broadcast() accessor interfaces.
13103         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13104           nm_ap_set_broadcast().
13105         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13106           "getProperties" method, which denotes whether or not the given
13107           network is hidden.
13108         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13109           an artificial network.  Set broadcast to TRUE when scanning returns
13110           an ESSID and FALSE when not.
13111         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13112           from "getProperties" method on a network.  Possible TODO is to
13113           somehow display this.
13114         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13115
13116 2006-02-02  Dan Williams  <dcbw@redhat.com>
13117
13118         * src/nm-device-802-11-wireless.c
13119                 - (supplicant_interface_init): don't try to create
13120                         /var/run/NetworkManager, since that should be done by
13121                         the distro package.  Causes problems for stuff like SELinux
13122
13123 2006-02-02  Robert Love  <rml@novell.com>
13124
13125         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13126         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13127           Check for and handle empty string for iface.
13128
13129 2006-02-01  Robert Love  <rml@novell.com>
13130
13131         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13132           manpage.
13133
13134 2006-01-31  Dan Williams  <dcbw@redhat.com>
13135
13136         * nm-applet.desktop
13137                 - Add --sm-disable to Exec arguments, presuming that when
13138                         using autostart, we don't want session management
13139
13140 2006-01-31  Robert Love  <rml@novell.com>
13141
13142         * src/NetworkManagerAP.c: Add two new manufacturer default network
13143           names: linksys-a and linksys-g.  These are found (at least) on the
13144           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13145           own ESSID.
13146
13147 2006-01-31  Robert Love  <rml@novell.com>
13148
13149         * src/NetworkManagerAP.c: Optimize the function
13150           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13151           machine code.  This is the first in a series of code tweaks aiming to
13152           generate better machine code and make NetworkManager all the better.
13153           Just kidding.  Who has time to go through the assembly generated for
13154           every function?  I certainly don't.  I have a wife, a kid, a job,
13155           a mortgage, a mistress.  But this function was so bad, I was called
13156           to arms.  Like the book.
13157
13158 2006-01-31  Robert Love  <rml@novell.com>
13159
13160         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13161           AP is not broadcasting, to scan with probe request frames.  Required
13162           for non-broadcast networks.
13163
13164 2006-01-31  Robert Love  <rml@novell.com>
13165
13166         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13167           preprocessor define (still 20s).  Fix message text in nm_info()
13168           s/too too/took too/.
13169
13170 2006-01-30  Dan Williams  <dcbw@redhat.com>
13171
13172         * src/nm-device-802-11-wireless.c
13173                 - (supplicant_monitor_start): increase connect/auth timeout to
13174                         20 seconds from 10 seconds
13175
13176 2006-01-30  Dan Williams  <dcbw@redhat.com>
13177
13178         * src/Makefile.am
13179                 - Define LOCALSTATEDIR
13180
13181         * src/nm-device-802-11-wireless.c
13182                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13183                         socket where we want it to
13184
13185         * src/wpa_ctrl.[ch]
13186                 - (wpa_ctrl_open): accept location to put local control socket
13187
13188 2006-01-30  Robert Love  <rml@novell.com>
13189
13190         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13191           get_ip4_string() for "domain_name".
13192
13193 2006-01-30  Robert Love  <rml@novell.com>
13194
13195         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13196           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13197           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13198           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13199           support for "Automatic" pairwise and group cipher configuration by
13200           letting wpa_supplicant handle the details.  Add UI elements, new
13201           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13202           charm.  Note this does more than add a nice feature, it fixes a bug.
13203           Apparently, some people have AP's where the pairwise cipher does not
13204           match the group cipher.  Insane, but true.
13205
13206 2006-01-30  Dan Williams  <dcbw@redhat.com>
13207
13208         * gnome/applet/applet-dbus-devices.c
13209                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13210                         functions, grab device driver name from NetworkManager
13211                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13212
13213         * gnome/applet/applet.c
13214                 - (nmwa_update_info): show driver name in Connection Information
13215                         dialog
13216
13217         * gnome/applet/nm-device.[ch]
13218                 - (network_device_get_driver, network_device_set_driver): add
13219                         accessors for driver name
13220
13221         * gnome/applet/wireless-applet.glade
13222                 - Add line for driver name to Connection Information dialog
13223
13224         * src/nm-dbus-device.c
13225                 - (nm_dbus_device_get_driver): new function to return driver name
13226                 - (nm_dbus_device_methods): hook up driver name function to dbus
13227
13228         * test/nm-tool.c
13229                 - (get_driver_name): new function
13230                 - (detail_device): grab and show driver name
13231
13232 2006-01-30  Robert Love  <rml@novell.com>
13233
13234         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13235           does not parse the markup if it is not part of the format.
13236
13237 2006-01-30  Robert Love  <rml@novell.com>
13238
13239         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13240           FALSE, we have no security options for this dialog, so we throw up
13241           an error dialog instead of a broken passphrase dialog.  Fixes
13242           Novell #138404.
13243         * gnome/applet/wireless-security-manager.c,
13244           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13245           does not add any security options, not even NONE, print a warning
13246           and return FALSE.  This let's functions constructing a dialog bail
13247           out if the device's capabilities and the network's requirements have
13248           zero overlap.
13249
13250 2006-01-27  Robert Love  <rml@novell.com>
13251
13252         * configure.in: Require wpa_supplicant.  Detect location of binary and
13253           use it.  Override with "--with-wpa_supplicant=foo".
13254         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13255           path to wpa_supplicant but use the auto-detected or user-provided
13256           value from configure.
13257
13258 2006-01-27  Robert Love  <rml@novell.com>
13259
13260         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13261           but the DHCP server did not return a hostname, try to look up our
13262           name via DNS and set the system hostname to that.
13263
13264 2006-01-27  Dan Williams  <dcbw@redhat.com>
13265
13266         * src/backends/NetworkManagerRedHat.c
13267                 - Add NM_CONTROLLED system network script support for RH/Fedora
13268
13269 2006-01-27  Dan Williams  <dcbw@redhat.com>
13270
13271         * src/backends/NetworkManagerGentoo.c
13272                 - (nm_system_device_get_disabled): add missing function.
13273                         Gnome BZ #328780
13274
13275 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13276
13277         * configure.in: Added vi in ALL_LINGUAS line.
13278         
13279 2006-01-26  Robert Love  <rml@novell.com>
13280
13281         * src/Makefile.am, src/kernel-types.h: Now that two different source
13282           files are feeling the crack-addled leakage of kernel types such as
13283           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13284           types in user-space -- define a header and include it as needed.
13285         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13286         * src/nm-device-802-3-ethernet.h: Remove defines.
13287         * src/wpa.c: Remove defines and include kernel-types.h.
13288
13289 2006-01-26  Robert Love  <rml@novell.com>
13290
13291         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13292           work.
13293
13294 2006-01-26  Robert Love  <rml@novell.com>
13295
13296         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13297         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13298           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13299           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13300           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13301           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13302           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13303           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13304           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13305           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13306           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13307           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13308           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13309           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13310           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13311           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13312           Kill unused variables, labels, and static functions.  Don't pass
13313           string literals as the format string for printf-like functions.
13314
13315 2006-01-25  Dan Williams  <dcbw@redhat.com>
13316
13317         * gnome/applet/wireless-applet.glade
13318                 - Remove WPA2 Checkbox
13319
13320         * gnome/applet/wireless-security-manager.c
13321                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13322                         This means the Wireless Security menu now has two WPA options,
13323                         one for "WPA Personal" and one for "WPA2 Personal"
13324
13325         * gnome/applet/wso-wpa-psk.[ch]
13326                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13327                         'wpa2' argument to determine WPA version to use
13328                 - (append_dbus_params_func): pass stored WPA version to cipher
13329                         rather than using the (removed) checkbox
13330
13331 2006-01-24  Robert Love  <rml@novell.com>
13332
13333         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13334           before we g_strdup(), not the ultimate string.
13335
13336 2006-01-23  Dan Williams  <dcbw@redhat.com>
13337
13338         * src/NetworkManagerAP.[ch]
13339                 - (nm_ap_new_from_ap): copy original essid too
13340                 - (nm_ap_unref): free original essid
13341                 - (nm_ap_get_orig_essid): new function
13342                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13343                         but keep original essid around too
13344
13345         * src/nm-device-802-11-wireless.c
13346                 - (supplicant_send_network_config): send wpa_supplicant the
13347                         _original_ essid, and not as a string, but in hex.  Should
13348                         allow us to connect to more APs that use wierd character
13349                         encodings for their essids
13350
13351         * utils/nm-utils.[ch]
13352                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13353                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13354                         use the current locale as a hint for what encoding the essid
13355                         might be in.  Obviously not 100% accurate, but the idea here is
13356                         that if a user's locale is ex. ja_JP, they are more likely than
13357                         not to be in Japan, where access points will likely be in some
13358                         Japanese encoding.
13359
13360 2006-01-23  Dan Williams  <dcbw@redhat.com>
13361
13362         * libnm-util/cipher-private.h
13363           libnm-util/cipher.c
13364           libnm-util/cipher.h
13365                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13366
13367 2006-01-23  Robert Love  <rml@novell.com>
13368
13369         Patch by Timo Hoenig <thoenig@suse.de>:
13370         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13371           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13372           by DHCP and pass it to the backends, allowing distribution-specific
13373           behavior with respect to the DHCP-supplied hostname (if nothing else,
13374           some distributions might not want to set the hostname).
13375         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13376           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13377           Also update our NIS behavior.
13378         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13379           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13380           Add stub functions.
13381
13382 2006-01-23  Robert Love  <rml@novell.com>
13383
13384         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13385           gnome-session does autostart.  TODO: We need to install this to
13386           $prefix/share/autostart/.
13387
13388 2006-01-22  Dan Williams  <dcbw@redhat.com>
13389
13390         * src/NetworkManagerAP.[ch]
13391           src/nm-dbus-nmi.c
13392           src/nm-device-802-11-wireless.c         
13393                 - Make nm_ap_get_essid return "const char *"
13394
13395 2006-01-22  Dan Williams  <dcbw@redhat.com>
13396
13397         * src/NetworkManagerAP.[ch]
13398                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13399
13400         * src/NetworkManagerAPList.[ch]
13401                 - (nm_ap_list_diff): removed
13402                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13403                         deal with access points changing essids on us
13404
13405         * src/nm-device-802-11-wireless.c
13406                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13407                         src/NetworkManagerAPList.c
13408                 - (real_can_interrupt_activation): new function; allow interruption
13409                         of device activation if we are waiting for a network key
13410
13411         * src/NetworkManagerPolicy.c
13412                 - (nm_policy_device_change_check): allow interruption of currently
13413                         activating devices if the device allows it.  Previous behavior
13414                         would refuse to activate a just-plugged wired device if a
13415                         wireless device was waiting for a key.
13416
13417         * src/nm-device.[ch]
13418                 - (nm_device_can_interrupt_activation): new function; ask devices
13419                         whether their activation can be interrupted
13420
13421 2006-01-20  Robert Love  <rml@novell.com>
13422
13423         * Makefile.am, configure.in: Add new man subdirectory.
13424         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13425           man/Makefile.am: Add man pages for NetworkManager and its
13426           crime-solving bumbling buddy, NetworkManagerDispatcher.
13427         * man/.cvsignore: Add.
13428         * initscript/Debian/NetworkManager,
13429           initscript/Gentoo/NetworkManager.in,
13430           initscript/RedHat/NetworkManager.in,
13431           initscript/RedHat/NetworkManagerDispatcher.in,
13432           initscript/SUSE/networkmanager-dispatcher.in,
13433           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13434
13435 2006-01-20  Robert Love  <rml@novell.com>
13436
13437         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13438           instead of queuing.  This prevents the running of multiple NM
13439           daemons concurrently, which does not work whatsoever and results in
13440           neither daemon working correctly.  Also, we don't handle queuing and
13441           name-owner-changes, anyhow.
13442
13443 2006-01-20  Robert Love  <rml@novell.com>
13444
13445         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13446         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13447           to sbin, not bin.
13448
13449 2006-01-19  Robert Love  <rml@novell.com>
13450
13451         * configure.in: Require hal 0.5.0 or later.
13452
13453 2006-01-18  Robert Love  <rml@novell.com>
13454
13455         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13456           Allow backends to flag a device (in whatever distro-dependent way
13457           they so desire) as disabled.  NM will ignore any such device.
13458         * src/backends/NetworkManagerDebian.c,
13459           src/backends/NetworkManagerRedHat.c,
13460           src/backends/NetworkManagerSlackware.c: Add stub function
13461           nm_system_device_get_disabled() that always returns FALSE (enabled).
13462         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13463           SUSE-specific configuration structure.  Fill it in from the
13464           NM_CONTROLLED variable in the system networking scripts.  If this var
13465           exists and is "no", we ignore the device.
13466
13467 2006-01-17  Robert Love  <rml@novell.com>
13468
13469         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13470           identical for NM.  For a full discussion, see the thread at
13471           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13472
13473 2006-01-17  Dan Williams  <dcbw@redhat.com>
13474
13475         * src/nm-device.c
13476                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13477                         function.  Fixes crash when wired DHCP fails.
13478
13479 2006-01-16  Robert Love  <rml@novell.com>
13480
13481         * src/Makefile.am: Don't install NMLoadModules
13482         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13483           from src/ to test/ as no one uses it anymore.  Note that I would be
13484           fine with removing it altogether.
13485
13486 2006-01-16  Robert Love  <rml@novell.com>
13487
13488         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13489           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13490           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13491           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13492           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13493           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13494           declarations, ever.
13495         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13496           NM_STATE_DISCONNECTED is zero).
13497
13498 2006-01-16  Robert Love  <rml@novell.com>
13499
13500         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13501           uninitialized parameter and buffer overflow.  Novell #143496.
13502
13503 2006-01-16  Dan Williams  <dcbw@redhat.com>
13504
13505         Apply the PtP Address bits of a patch from Tim Niemueller
13506
13507         * src/nm-ip4-config.[ch]
13508                 - Add ip4_ptp_address member to object
13509                 - (nm_ip4_config_copy): copy ptp address too
13510                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13511                         new functions
13512                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13513                         rather than local tunnel ip address
13514
13515         * src/vpn-manager/nm-vpn-service.c
13516                 - (print_vpn_config): update for PtP address
13517                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13518                         DBusMessageIters in preparation for getting routes from the VPN
13519                         service daemons too
13520
13521         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13522                 - (send_config_info): update for PtP address, clean up code
13523                 - (main): update for PtP address, clean up code, fix typo
13524
13525         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13526                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13527
13528         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13529                 - (pptp_ip_up): update for PtP address
13530
13531         * vpn-daemons/pptp/src/nm-pptp-service.c
13532                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13533
13534         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13535                 - (print_vpn_config): update for PtP address
13536                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13537
13538 2006-01-16  Dan Williams  <dcbw@redhat.com>
13539
13540         * gnome/applet/applet.c
13541                 - (nmwa_add_networks_helper): don't indicate an active network
13542                         if NM is disconnected or asleep
13543
13544 2006-01-16  Dan Williams  <dcbw@redhat.com>
13545
13546         * src/NetworkManagerPolicy.c
13547                 - (nm_policy_device_change_check): switch devices if we lose the link
13548                         on an ethernet device. 
13549
13550 2006-01-16  Dan Williams  <dcbw@redhat.com>
13551
13552         * gnome/applet/wso-wpa-psk-hex.[ch]
13553                 - Renamed -> wso-wpa-psk.[ch]
13554
13555         * gnome/applet/wso-wpa-psk.[ch]
13556                 - New files
13557
13558         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13559                 - Removed, rolled into wso-wpa-psk.[ch]
13560
13561         * gnome/applet/Makefile.am
13562                 - Updated for above changes
13563
13564         * gnome/applet/wireless-applet.glade
13565                 - Consolidate WPA-PSK options into one notebook
13566                         widget, and make dialogs invisible by default
13567                         to fix screen oddities
13568
13569         * gnome/applet/wireless-security-manager.c
13570                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13571                         than both the old hex & passphrase ones
13572
13573 2006-01-16  Dan Williams  <dcbw@redhat.com>
13574
13575         * gnome/applet/other-network-dialog.c
13576                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13577
13578 2006-01-16  Dan Williams  <dcbw@redhat.com>
13579
13580         * gnome/applet/applet.c
13581                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13582                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13583                         prevention to realize window before trying to get server
13584                         time
13585
13586         * gnome/applet/other-network-dialog.c
13587                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13588                         prevention to realize window before trying to get server
13589                         time
13590
13591         * gnome/applet/passphrase-dialog.c
13592                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13593                         prevention to realize window before trying to get server
13594                         time
13595
13596 2006-01-16  Robert Love  <rml@novell.com>
13597
13598         Patch from Timo Hoenig  <thoenig@suse.de:
13599         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13600           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13601           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13602           libnm-util/dbus-helpers.h: add checks whether headers are used
13603           within a C++ build.
13604
13605 2006-01-16  Dan Williams  <dcbw@redhat.com>
13606
13607         * gnome/applet/wireless-security-option.c
13608                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13609
13610 2006-01-16  Dan Williams  <dcbw@redhat.com>
13611
13612         * libnm-util/cipher-wpa-psk-passphrase.c
13613                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13614                         be 8 - 63 characters inclusive
13615
13616 2006-01-16  Dan Williams  <dcbw@redhat.com>
13617
13618         * src/nm-dbus-nm.c
13619                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13620
13621 2006-01-13  Robert Love  <rml@novell.com>
13622
13623         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13624         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13625           modules that do not use an interface.
13626
13627 2006-01-13  Dan Williams  <dcbw@redhat.com>
13628
13629         * src/nm-device.c
13630           src/nm-device.h
13631                 - Allow subclasses to implement deactivate_quickly()
13632                 - (nm_device_deactivate_quickly): call subclass
13633                         deactivate_quickly() methods
13634                 - (nm_device_set_active_link): small cleanups, and don't
13635                         deactivate the device right away because we risk a deadlock
13636                         when called from device thread, waiting for the device
13637                         thread to cancel activation
13638
13639         * src/nm-device-802-11-wireless.c
13640                 - (real_deactivate_quickly): new function
13641                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13642                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13643                         so that we kill the supplicant when we sleep too
13644                 - (supplicant_interface_init): work around naive naming attempts of
13645                         wpa_ctrl when naming sockets
13646
13647 2006-01-13  Dan Williams  <dcbw@redhat.com>
13648
13649         * src/nm-device-802-11-wireless.c
13650                 - (supplicant_cleanup): delete old device control sockets too
13651                 - (supplicant_get_device_socket_path): new function to consolidate
13652                         locations that need a path to a device's control socket
13653
13654 2006-01-12  Robert Love  <rml@novell.com>
13655
13656         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13657           description so that the description is unique for each
13658           pair (device,provider).  Fixes Novell #142773.
13659
13660 2006-01-12  Dan Williams  <dcbw@redhat.com>
13661
13662         * src/nm-device-802-11-wireless.c
13663                 - (supplicant_exec): ensure GError is correctly initialized
13664                         Reported by Diego González (gnome.org #326708)
13665
13666 2006-01-11  Robert Love  <rml@novell.com>
13667
13668         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13669           define if_mii(), open code the same results, and do so without any
13670           type punning.
13671
13672 2006-01-11  Robert Love  <rml@novell.com>
13673
13674         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13675           that wso_foo_new() returned non-NULL.  Instead, only append the new
13676           wso to wsm->options if the wso is non-NULL.  The crux is that we
13677           assume that the relevant key types are implied by WEP and WPA as
13678           appropriate.  To be sure, they should be, but we should not expect
13679           drivers to not be oozing piles of wolf fecal matter.
13680
13681 2006-01-11  Robert Love  <rml@novell.com>
13682
13683         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13684         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13685           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13686           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13687           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13688           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13689           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13690         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13691           comparing values within DBL_EPSILON.  Also fix shadowed variable
13692           usage.
13693
13694 2006-01-11  Dan Williams  <dcbw@redhat.com>
13695
13696         Add options for WPA2 and WPA1+CCMP (AES).
13697
13698         * gnome/applet/wireless-applet.glade
13699                 - Add UI bits for WPA+CCMP
13700
13701         * gnome/applet/other-network-dialog.c
13702                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13703                         and don't allow creation of WPA2 Ad-Hoc networks since
13704                         wpa_supplicant doesn't support them
13705
13706         * gnome/applet/wireless-security-manager.c
13707                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13708                         on to the specific wireless security option being created
13709
13710         * gnome/applet/wireless-security-option.[ch]
13711                 - (wso_wpa_create_key_type_model): new utility function to create
13712                         the model required for WPA Key Type combo box
13713
13714         * gnome/applet/wso-private.h
13715           gnome/applet/wireless-security-option.h
13716                 - Move private function prototypes into wso-private.h
13717
13718         * gnome/applet/wso-wpa-psk-hex.[ch]
13719           gnome/applet/wso-wpa-psk-passphrase.[ch]
13720                 - (append_dbus_params_func): get WPA version from checkbox and pass
13721                         it to the dbus serialization helper
13722                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13723                         key type combo changes
13724                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13725                         model and options
13726
13727         * libnm-util/cipher-wpa-psk-hex.c
13728           libnm-util/cipher-wpa-psk-passphrase.c
13729                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13730                         new function; allow the cipher to be changed after object creation
13731
13732         * src/nm-ap-security-wpa-psk.c
13733                 - (set_description): Do WPA2 descriptions too
13734
13735         * src/nm-ap-security.c
13736                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13737
13738 2006-01-11  Robert Love  <rml@novell.com>
13739
13740         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13741           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13742           from the ifreq structure in lieu of an open coded solution.  Removes
13743           a life-threatening type-punning.
13744         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13745           types, ever, whatsoever, baby.
13746
13747 2006-01-11  Robert Love  <rml@novell.com>
13748
13749         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13750           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13751           assignments to applet->nm_state into a new nmwa_set_state() function
13752           for both cleanliness and to help debugging.
13753
13754 2006-01-10  Robert Love  <rml@novell.com>
13755
13756         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13757           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13758           seconds, exclusive.  That is, we want to sleep x seconds such that
13759           1 < x < 2.
13760
13761 2006-01-10  Robert Love  <rml@novell.com>
13762
13763         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13764           the attr fields according to the example in the email available at
13765           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13766           Conversely, we do have to free 'name', so we do so, fixing a leak.
13767
13768 2006-01-10  Robert Love  <rml@novell.com>
13769
13770         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13771           sure that we close the socket!
13772
13773 2006-01-10  Robert Love  <rml@novell.com>
13774
13775         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13776           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13777           src/nm-device.c: Fix a FIXME!  Reimplement the function
13778           nm_device_update_hw_address() in device subclass variants,
13779           nm_device_802_3_ethernet_set_address() and
13780           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13781           This fixes the existing bug where MAC addresses are all zeros.
13782
13783 2006-01-10  Robert Love  <rml@novell.com>
13784
13785         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13786           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13787           option to give users ability to globally disconnect and put NM to
13788           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13789           clean disconnect.
13790
13791 2006-01-09  Robert Love  <rml@novell.com>
13792
13793         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13794           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13795           User-space does not supply these types, so we have to define them
13796           ourselves.  The relevant kernel maintainer refused to accept a patch
13797           switching these headers to the proper C99 types.
13798
13799 2006-01-09  Dan Williams  <dcbw@redhat.com>
13800
13801         Apply Robert's 'tray icon redo' patch with fixes
13802         * gnome/applet/applet.c
13803           gnome/applet/applet.h
13804                 - Instead of using a menu bar + menu item, simulate menu
13805                         behavior using a popup menu.  Highlight the area around
13806                         the icon more like a menu too, by playing with the
13807                         applet's size requisition
13808
13809 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13810         * libnm-util/dbus-helpers.c
13811           libnm-util/dbus-helpers.h
13812                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13813                         to 'exception_namespace' (:namespace is a keyword in
13814                         C++)
13815
13816 2006-01-09  Dan Williams  <dcbw@redhat.com>
13817
13818         * src/NetworkManagerPolicy.c
13819                 - (nm_policy_device_change_check): don't autoswitch away from
13820                         Ad-Hoc networks, since there's really no concept of
13821                         "link"
13822
13823         * src/nm-dbus-nm.c
13824                 - (nm_dbus_nm_create_wireless_network): mark created networks
13825                         as Ad-Hoc networks
13826
13827         * src/nm-device-802-11-wireless.c
13828                 - (real_activation_success_handler): add user-created Ad-Hoc
13829                         networks to the device's scan list
13830
13831 2006-01-08  Dan Williams  <dcbw@redhat.com>
13832
13833         We now require a patch for wpa_supplicant to support Ad-Hoc
13834         networks:
13835           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13836
13837         * src/nm-device-802-11-wireless.c
13838                 - (supplicant_send_network_config): turn off wpa_supplicant's
13839                         scanning.  Fixes Ad-Hoc networks.
13840
13841 2006-01-08  Dan Williams  <dcbw@redhat.com>
13842
13843         * src/nm-ap-security.c
13844           src/nm-ap-security.h
13845                 - Add a user_created argument to the write_supplicant_config
13846                         functions
13847
13848         * src/nm-ap-security-wep.c
13849           src/nm-ap-security-wpa-psk.c
13850           src/nm-device-802-11-wireless.c
13851                 - Make Ad-Hoc mode somewhat work, at least write the
13852                         correct options to wpa_supplicant
13853
13854 2006-01-08  Dan Williams  <dcbw@redhat.com>
13855
13856         * src/nm-device-802-11-wireless.c
13857                 - Remove unused code from the old device activation path
13858
13859 2006-01-08  Dan Williams  <dcbw@redhat.com>
13860
13861         * libnm-util/dbus-helpers.c
13862                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13863                         dbus when key == NULL
13864
13865 2006-01-08  Dan Williams  <dcbw@redhat.com>
13866
13867         * gnome/applet/nm-gconf-wso-wpa-psk.c
13868                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13869                         correct arguments to nmu_security_deserialize_wpa_psk()
13870
13871         * src/nm-ap-security-wpa-psk.c
13872                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13873                         arguments to nmu_security_deserialize_wpa_psk()
13874
13875 2006-01-08  Dan Williams  <dcbw@redhat.com>
13876
13877         * gnome/applet/wso-wpa-psk-hex.c
13878           gnome/applet/wso-wpa-psk-passphrase.c
13879                 - Hook up the append_dbus_params_func() function
13880
13881 2006-01-08  Dan Williams  <dcbw@redhat.com>
13882
13883         * src/nm-device-802-11-wireless.c
13884                 - (get_wireless_capabilities): correctly detect driver WPA
13885                         capabilities
13886
13887 2006-01-08  Dan Williams  <dcbw@redhat.com>
13888
13889         * gnome/applet/Makefile.am
13890           gnome/applet/wso-wpa-psk-hex.c
13891           gnome/applet/wso-wpa-psk-hex.h
13892                 - New files, implement WPA-PSK Hex key input
13893
13894         * gnome/applet/wireless-applet.glade
13895                 - Change existing wpa-psk stuff to wpa-psk-hex
13896                 - Add new widgets for wpa-psk-passphrase
13897
13898         * gnome/applet/wireless-security-manager.c
13899                 - (wsm_set_capabilities): enable WPA options
13900
13901         * gnome/applet/wso-wpa-psk-passphrase.c
13902                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13903                         for WPA-PSK passphrase
13904
13905 2006-01-08  Dan Williams  <dcbw@redhat.com>
13906
13907         * include/NetworkManager.h
13908                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13909                         applet/info-daemons
13910
13911         * gnome/applet/passphrase-dialog.c
13912                 - Use the constant.  Fixes a bug where the arguments to
13913                         dbus_message_new_error() were incorrect
13914
13915         * src/nm-dbus-nmi.c
13916                 - Use the constant
13917
13918 2006-01-07  Dan Williams  <dcbw@redhat.com>
13919
13920         * src/nm-device-802-11-wireless.c
13921                 - Add a link timeout so we allow the supplicant time to
13922                         reassociate if it can, before we deactivate the card
13923                 - Fix up link status and link updating so things work better
13924
13925 2006-01-07  Dan Williams  <dcbw@redhat.com>
13926
13927         * src/nm-device-802-11-wireless.c
13928                 - Switch over to using wpa_supplicant
13929                 - Add a timeout of 10s for association of the supplicant
13930                 - Start the monitor callback of the supplicant
13931
13932 2006-01-07  Dan Williams  <dcbw@redhat.com>
13933
13934         * src/NetworkManagerUtils.c
13935                 - (nm_utils_supplicant_request,
13936                   nm_utils_supplicant_request_with_check):
13937                         pass correct buffer length to wpa_ctrl_request()
13938
13939 2006-01-07  Dan Williams  <dcbw@redhat.com>
13940
13941         * src/nm-device-private.h
13942           src/nm-device.c
13943                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13944                         this function available to subclasses
13945
13946 2006-01-06  Robert Love  <rml@novell.com>
13947
13948         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13949           user plugging in a network cable signals their preference for to
13950           switch, unless the user explicitly selected a wireless network and
13951           therefore signaled their preference for said wireless network over
13952           wired.  In other words, do exactly what makes sense.
13953
13954 2006-01-06  Robert Love  <rml@novell.com>
13955
13956         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13957           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13958           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13959           showing up in my greps.
13960
13961 2006-01-06  Robert Love  <rml@novell.com>
13962
13963         * gnome/applet/applet-dbus-devices.c,
13964           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13965           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13966           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13967           New Network' both failed in the non-encrypted case because we were
13968           not appending the security options to the DBUS message.  And
13969           'Connect to Other' was also failing in the encrypted case because
13970           we were not incrementing to the next DBUS parameter.  All fixed.
13971           Thanks to dcdw for some debugging help.
13972
13973 2006-01-06  Robert Love  <rml@novell.com>
13974
13975         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13976           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13977           hangup code and add per-device hangup.  Tie last commit into the
13978           GNOME applet.  TODO:  Save, understand, and respond to the state of
13979           each dialup device.
13980
13981 2006-01-06  Robert Love  <rml@novell.com>
13982
13983         Patch by Timo Hoenig <thoenig@suse.de>:
13984         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13985           hangup specific dialup devices.
13986         * src/backends/NetworkManagerDebian.c,
13987           src/backends/NetworkManagerGentoo.c,
13988           src/backends/NetworkManagerRedHat.c,
13989           src/backends/NetworkManagerSlackware.c: Add stub backend.
13990         * src/backends/NetworkManagerRedHat.c,
13991           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13992           hangup specific dialup devices.
13993
13994 2006-01-04  Robert Love  <rml@novell.com>
13995
13996         * gnome/applet/applet-dbus-devices.c,
13997           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13998           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13999           connections.
14000
14001 2006-01-04  Dan Williams  <dcbw@redhat.com>
14002
14003         First dump of wpa_supplicant-related code.  It's not hooked up to
14004         anything yet though.  Thanks to Kay Sievers for
14005         wpa_supplicant_wrapper.c, which formed the basis for this work,
14006         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14007
14008         * src/Makefile.am
14009           src/wpa_ctrl.[ch]
14010                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14011
14012         * src/NetworkManagerUtils.[ch]
14013                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14014                         Add convenience functions for talking to wpa_supplicant
14015
14016         * src/nm-ap-security.[ch]
14017           src/nm-ap-security-wep.c
14018           src/nm-ap-security-wpa-psk.[ch]
14019                 - Update and implement real_write_supplicant_config functions
14020                         in all security types
14021                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14022                         nm-ap-security-wpa-psk.c
14023
14024         * src/nm-device-802-11-wireless.c
14025                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14026                    wpa_supplicant_start, wpa_supplicant_interface_init,
14027                    wpa_supplicant_send_network_config): add functions to talk to
14028                         wpa_supplicant and write network config to it
14029
14030 2006-01-04  Robert Love  <rml@novell.com>
14031
14032         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14033           values so that distribution-backends can differentiate between the
14034           various types (modem, ISDN, et cetera) of dialup device that they
14035           support.
14036         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14037           needed.
14038
14039 2006-01-03  Dan Williams  <dcbw@redhat.com>
14040
14041         * src/NetworkManagerPolicy.c
14042           src/nm-device.[ch]
14043           src/nm-device-802-11-wireless.c
14044                 - Move wireless-specific activation failure and success code
14045                         into wireless device class
14046
14047 2006-01-03  Robert Love  <rml@novell.com>
14048
14049         Patch by Preggna S:
14050         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14051           IPsec does not require that a VPN client be bound to an interface,
14052           due to the use of the in-kernel IPSec bits.  So make the tunnel
14053           device optional.
14054
14055 2006-01-03  Dan Williams  <dcbw@redhat.com>
14056
14057         * src/NetworkManagerAP.c
14058                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14059                         the WPA IE specifies that WEP is supported
14060
14061         * src/nm-device-802-11-wireless.c
14062                 - (process_scan_results): don't mark an AP as supporting WEP
14063                         if there's already other encryption capability info
14064
14065 2006-01-03  Dan Williams  <dcbw@redhat.com>
14066
14067         * src/dhcp-manager/nm-dhcp-manager.c
14068                 - Recognize activation cancellation when waiting for DHCP
14069                         configuration from dhcdbd
14070                 - Ignore non-dhcdbd messages
14071
14072         * src/nm-device.c
14073                 - (real_act_stage3_ip_config_start): return to correct behavior
14074                         of letting the dhcp-manager notify us of failure or
14075                         success rather than incorrectly doing that ourselves
14076                 - (nm_device_activate_stage4_ip_config_get): deal with
14077                         activation cancellation a bit earlier
14078
14079 2006-01-03  Dan Williams  <dcbw@redhat.com>
14080
14081         * src/nm-device-802-11-wireless.c
14082           src/nm-device.[ch]
14083                 - Add hooks to subclasses for stage3_ip_config_start and
14084                         stage4_ip_config_timeout
14085
14086         * src/nm-device-802-3-ethernet.c
14087                 - (real_get_generic_capabilities): make devices NM-supported
14088                         by default
14089
14090 2006-01-03  Robert Love  <rml@novell.com>
14091
14092         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14093           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14094           latter cannot differentiate between error and the address -1; misc.
14095           clean up.
14096
14097 2006-01-03  Dan Williams  <dcbw@redhat.com>
14098
14099         * src/NetworkManager.c
14100                 - Move link-checking/probing into the device subclasses
14101                         themselves
14102
14103         * src/nm-device.[ch]
14104           src/nm-device-802-11-wireless.c
14105           src/nm-device-802-3-ethernet.c
14106                 - Do periodic link checking in device subclasses rather
14107                         than being triggered from NetworkManager.c
14108                 - discover_wireless_capabilities -> get_wireless_capabilities
14109                 - discover_generic_capabilities -> get_generic_capabilities
14110                 - Device subclass activation routines now return a value of type
14111                         NMActStageReturn to indicate what step to perform next
14112                 - Devices now override stage4_get_ip4_config if they choose
14113
14114 2006-01-01  Dan Williams  <dcbw@redhat.com>
14115
14116         * src/nm-device-802-11-wireless.c
14117                 - (real_init): don't chain up to parent init because we don't
14118                         need to do that anymore
14119
14120         * src/nm-device.c
14121                 - (discover_device_type): fix arguments to ioctl() to correctly
14122                         pass interface name
14123                 - (nm_device_new): consolidate generic device initialization into
14124                         nm_device_new()
14125                 - (real_init): remove, consolidated to nm_device_new()
14126                 - (nm_device_deactivate, real_deactivate): consolidate
14127
14128 2006-01-01  Dan Williams  <dcbw@redhat.com>
14129
14130         * src/nm-activation-request.c
14131                 - Change dhcp_state member of the NMActRequest structure
14132                         from guint8 to guint32
14133
14134         * src/dhcp-manager/nm-dhcp-manager.[ch]
14135                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14136                         than guint8 to match the dbus argument.  Turns out we were
14137                         overwriting memory since we were passing in only a guint8
14138
14139 2005-12-31  Dan Williams  <dcbw@redhat.com>
14140
14141         * refactor NMDevice into a GObject-based framework with separate
14142                 objects for wired and wireless.  The following files are no
14143                 longer used but should stick around for a bit so we don't
14144                 loose code through the cracks:
14145                         NetworkManagerDevice.c
14146                         NetworkManagerDevice.h
14147                         NetworkManagerWireless.c
14148                         NetworkManagerWireless.h
14149
14150         The intent here is to allow each device type to manage its own
14151         connection & activation life-cycle, ie to allow wireless devices
14152         to interface with wpa_supplicant, etc.  There's a fair bit of
14153         encapsulation breakage right now that should gradually get pulled
14154         back into each device, along with things like periodic property
14155         updates and link probing.
14156
14157 2005-12-29  Dan Williams  <dcbw@redhat.com>
14158
14159         * include/NetworkManager.h
14160                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14161                         between networks that don't have any encryption at all
14162
14163 2005-12-29  Dan Williams  <dcbw@redhat.com>
14164
14165         * test/test-common.c
14166           test/test-common.h
14167           test/Makefile.am
14168                 - Move to a test-common subdirectory
14169
14170         * test/libnm-util/test-ciphers.c
14171                 - Move test data to test-inputs.h
14172                 - Test WPA ciphers too
14173
14174         * test/libnm-util/test-dbus-helpers.c
14175                 - Test serialization/deserialization of ciphers
14176
14177 2005-12-29  Dan Williams  <dcbw@redhat.com>
14178
14179         * gnome/applet/applet-dbus-devices.c
14180                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14181                         in dbus calls to NM
14182                 - Set capabilities on WirelessNetwork objects
14183                 - Receive and save type-specific device capabilities too
14184
14185         * gnome/applet/applet-dbus-info.c
14186           gnome/applet/applet-dbus.c
14187                 - Passphrase dialog no longer a singleton; new instance gets created
14188                         on each request.  Updates to deal with that.
14189
14190         * gnome/applet/applet.c
14191                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14192                         than single 'encrypted' flag
14193                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14194                         menu items
14195                 - Passphrase dialog updates per above
14196
14197         * gnome/applet/menu-items.c
14198                 - (network_menu_item_update): use AP capabilities to determine
14199                         encryption
14200
14201         * gnome/applet/nm-device.[ch]
14202                 - Add accessors for type-specific device capabilities
14203
14204         * gnome/applet/other-network-dialog.c
14205                 - Rework to respect device capabilities.  i.e., if the device doesn't
14206                         support WPA, remove that option from the security dropdown
14207
14208         * gnome/applet/passphrase-dialog.c
14209                 - Massive rework so that a new instance is created each time
14210                         it's used, to support wireless network capabilities
14211
14212         * gnome/applet/wireless-network.[ch]
14213                 - Add accessors and members for wireless network capabilities
14214
14215         * gnome/applet/wireless-security-manager.[ch]
14216                 - (wsm_set_capabilities): called after creation to set which
14217                         security options get shown to the user
14218
14219 2005-12-29  Dan Williams  <dcbw@redhat.com>
14220
14221         * libnm-util/cipher-wpa-psk-passphrase.c
14222                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14223                         like other ciphers
14224
14225 2005-12-23  Dan Williams  <dcbw@redhat.com>
14226
14227         * gnome/applet/applet-dbus-info.c
14228                 - (nmi_dbus_get_key_for_network): if there's no entry in
14229                         GConf for a network, assume we want a new key
14230                 - (nmi_save_network_info): serialize wireless security info
14231                         into GConf so its saved
14232
14233         * src/nm-dbus-nm.c
14234                 - Fix warning as we may not be passed security info when
14235                         connecting to a wireless network
14236
14237 2005-12-23  Dan Williams  <dcbw@redhat.com>
14238
14239         * gnome/applet/applet-compat.c
14240                 - Fix bugs in GConf entry conversion
14241
14242         * gnome/applet/applet-dbus-info.c
14243                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14244                         list being zero-length
14245
14246         * libnm-util/cipher-*
14247           libnm-util/dbus-helpers.c
14248                 - All ciphers must now return hashed keys as UTF-8 valid
14249                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14250                         through dbus as strings too.
14251                 - Consolidate various functions that do bin->hex and hex->bin
14252                         conversion into cipher.c
14253
14254         * src/nm-ap-security-wep.c
14255           src/nm-ap-security-wpa-psk.c
14256                 - Handle NULL keys since we may not know keys right away
14257
14258         * src/nm-dbus-nmi.c
14259                 - (nm_dbus_get_network_data_cb): actually advance to the start
14260                         of the wireless security info before we try to deserialize it
14261
14262         * libnm-util/test-ciphers.c
14263                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14264
14265 2005-12-22  Dan Williams  <dcbw@redhat.com>
14266
14267         * gnome/applet/applet-compat.[ch]
14268                 - Convert old-format GConf and keyring entries
14269                         when the applet starts up.
14270
14271         * gnome/applet/applet.c
14272                 - (nmwa_get_instance): Call the conversion function
14273                         on startup before dbus is initialized
14274
14275 2005-12-22  Dan Williams  <dcbw@redhat.com>
14276
14277         * gnome/applet/applet-dbus-info.c
14278                 - Remove nmi_dbus_create_error_message() in favor of
14279                         nmu_create_dbus_error_message()
14280                 - (nmi_dbus_get_network_properties): Error message cleanups
14281                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14282                         gconf key rather than 'addresses', since they really are BSSIDs
14283                 - (nmi_dbus_get_network_properties): Dispose of the security
14284                         object when we're done with it
14285
14286 2005-12-21  Dan Williams  <dcbw@redhat.com>
14287
14288         * Consolidate the info-daemon's "updateNetworkInfo" and
14289                 "addNetworkAddress" calls into just "updateNetworkInfo"
14290
14291 2005-12-21  Dan Williams  <dcbw@redhat.com>
14292
14293         * Make connection after key retrieval work again
14294
14295 2005-12-21  Dan Williams  <dcbw@redhat.com>
14296
14297         * gnome/applet/nm-gconf-wso*
14298                 - Make the serialize functions return gboolean
14299                         rather than int
14300
14301         * gnome/applet/nm-gconf-wso.c
14302                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14303                         parent class handling so we don't segfault
14304
14305         * src/NetworkManagerAP.[ch]
14306                 - (nm_ap_get_capabilities): new function, return capabilities
14307                         now that something can use them
14308                 - (nm_ap_set_encrypted): assume that an access point supports
14309                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14310                         we even tell whether it just supports WEP40?
14311
14312         * src/NetworkManagerDevice.c
14313                 - (ap_need_key): resurrect and update for the New World Order
14314                 - (nm_device_wireless_get_activation_ap): if we're not given
14315                         security info to use, create some based on access point
14316                         capabilities
14317
14318         * src/nm-ap-security-wep.c
14319                 - (nm_ap_security_wep_new_from_ap): create a new object
14320                         based on a certain access point's capabilities
14321
14322         * src/nm-ap-security.c
14323                 - (nm_ap_security_new_from_ap): delegate creation of a new
14324                         object based on access point capabilities to a subclass
14325                 - (nm_ap_security_copy_properties): don't segfault if we
14326                         don't have a key yet
14327
14328         * src/nm-dbus-nm.c
14329                 - (nm_dbus_nm_set_active_device): provide more informative
14330                         output when errors occur.  Also construct security info
14331                         for a given access point if we weren't given any
14332
14333 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14334
14335         * configure.in: Added Lithuanian to ALL_LINGUAS.
14336
14337 2005-12-21  Dan Williams  <dcbw@redhat.com>
14338
14339         * test/libnm-util
14340                 - Add some testcases for WEP ciphers
14341
14342 2005-12-17  Dan Williams  <dcbw@redhat.com>
14343
14344         * Fix bugs
14345
14346 2005-12-17  Dan Williams  <dcbw@redhat.com>
14347
14348         * include/NetworkManager.h
14349                 - Finally kill NMEncKeyType
14350
14351         * gnome/applet/applet-dbus-info.c
14352                 - (nmi_save_network_info): convert to NMGConfWSO
14353
14354         * gnome/applet/nm-gconf-wso-*.c
14355                 - Implement gconf serialization functions
14356
14357         * src/NetworkManagerPolicy.c
14358                 - (nm_policy_activation_finish): fix up meaning of
14359                         automatic/user_requested
14360
14361 2005-12-17  Dan Williams  <dcbw@redhat.com>
14362
14363         * gnome/applet/*
14364                 - More applet cleanups
14365                 - Use the dbus-method-dispatcher
14366
14367         * libnm-util/dbus-method-dispatcher.[ch]
14368                 - Generalize the implementation from NM in
14369                         NetworkManagerUtils.c
14370
14371 2005-12-16  Dan Williams  <dcbw@redhat.com>
14372
14373         * gnome/applet/*
14374                 - Fix up the passphrase dialog to use all the
14375                         WirelessSecurityOption stuff (untested)
14376
14377 2005-12-16  Dan Williams  <dcbw@redhat.com>
14378
14379         * Move nm_gconf_get_*_helper() functions to separate files,
14380                 gconf-helpers.c & gconf-helpers.h
14381
14382         * New NMGConfWSO objects for managing the gconf side of things.
14383                 Eventually these should be merged with the
14384                 WirelessSecurityOption objects and a common base (that can
14385                 serialize/deserialize from dbus & gconf) should be
14386                 refactored out, but for now they are separate.
14387
14388 2005-12-16  Robert Love  <rml@novell.com>
14389
14390         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14391           binaries unless they exist (nm_spawn_process() emits a warning if
14392           asked to spawn a non-existant process).
14393
14394 2005-12-16  Dan Williams  <dcbw@redhat.com>
14395
14396         * gnome/applet/applet-dbus-info.c
14397                 - Clean up lots of gconf-related code
14398
14399 2005-12-16  Robert Love  <rml@novell.com>
14400
14401         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14402
14403 2005-12-16  Dan Williams  <dcbw@redhat.com>
14404
14405         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14406
14407         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14408                 bits still to be done)
14409
14410 2005-12-16  Dan Williams  <dcbw@redhat.com>
14411
14412         * Finally move info-daemon related stuff out of
14413                 NetworkManagerDbus.c to nm-dbus-nmi.c
14414
14415 2005-12-16  Dan Williams  <dcbw@redhat.com>
14416
14417         * Kill auth_method for access points, since that's now done
14418                 by NMAPSecurity objects
14419
14420         * Add a copy-constructor of sorts to NMAPSecurity
14421                 (how do you do this properly in glib???)
14422
14423 2005-12-15  Dan Williams  <dcbw@redhat.com>
14424
14425         * Exorcise encryption key hashing on APs
14426         * Use libnm-util's serialization/deserialization in both the
14427                 applet and NM
14428         * Random other stuff
14429
14430 2005-12-15  Robert Love  <rml@novell.com>
14431
14432         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14433           is being added to the icon naming spec, so let's use that (Tango CVS
14434           has the icon).  Because it is new, however, we fall back to the
14435           current "gnome-lockscreen" if the new icon is not around, thus
14436           behavior is the same.
14437         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14438           factory junk.
14439
14440 2005-12-15  Robert Love  <rml@novell.com>
14441
14442         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14443           well, help to give.  Couple other misc. bits.
14444
14445 2005-12-15  Dan Williams  <dcbw@redhat.com>
14446
14447         * libnm-util/dbus-helpers.[ch]
14448                 - Make this the one-stop-shop for serializing/deserializing
14449                         AP & connection security settings over dbus.  Both NM
14450                         and applets should use this to ensure consistent dbus
14451                         API going forwared.
14452
14453 2005-12-15  Robert Love  <rml@novell.com>
14454
14455         Patch by Timo Hoenig  <thoenig@suse.de>:
14456         * src/NetworkManagerDbus.c
14457                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14458                         if HAL jumps off the system bus.  Otherwise libdbus
14459                         (dbus_connection_dispatch) will try to run the filter
14460                         function of our libhal context which is already freed.
14461
14462 2005-12-15  Alexander Shopov  <ash@contact.bg>
14463
14464         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14465
14466 2005-12-14  Dan Williams  <dcbw@redhat.com>
14467
14468         * include/NetworkManager.h
14469           src/NetworkManagerWireless.c
14470                 - Rearrange 802.11 wireless-specific capabilities again
14471
14472         * src/Makefile.am
14473                 - Forgot to add wpa.c/wpa.h to the makefiles
14474
14475         * src/NetworkManagerAP.[ch]
14476                 - Implement access point capabilities and parse the
14477                         WPA/RSN IEs into the capability bitfield
14478                 - Switch the "encrypted" attribute to utilize the bitfield
14479                         and capabilities rather than being independent
14480
14481         * src/NetworkManagerDevice.c
14482                 - (nm_device_wireless_get_activation_ap): break it horribly
14483                         until we can push NMAPSecurity objects into access point
14484                         objects and through the activation chain
14485                 - Stuff WPA & RSN IEs into AP capabilities
14486
14487         * src/nm-dbus-nm.c
14488                 - Take a shot at actually making setActiveDevice work
14489
14490         * src/wpa.[ch]
14491                 - Make the API a bit saner
14492
14493 2005-12-14  Dan Williams  <dcbw@redhat.com>
14494
14495         * include/NetworkManager.h
14496                 - Add 802.11-specific capability for 802.1x key
14497                         management
14498
14499         * src/wpa.[ch]
14500                 - Pull in WPA IE and RSN IE parsing code from
14501                         wpa_supplicant so we can determine access point
14502                         capabilities
14503                 - Move WPA-related constants here from NetworkManagerAP.h
14504                         and NetworkManagerDevice.c
14505
14506         * src/NetworkManagerDevice.c
14507           src/NetworkManagerAP.[ch]
14508                 - Use WPA-related constants from wpa.h
14509
14510 2005-12-14  Dan Williams  <dcbw@redhat.com>
14511
14512         * include/NetworkManager.h
14513                 - Update and split 802.11 wireless-specific capabilities from
14514                         generic device capabilities
14515
14516         * src/NetworkManagerDevice.c
14517           src/NetworkManagerDevicePrivate.h
14518                 - (nm_device_wireless_discover_capabilities): Move 802.11
14519                         wireless-specific capability checks to
14520                         NetworkManagerWireless.c
14521                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14522                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14523
14524         * src/NetworkManagerWireless.[ch]
14525                 - (nm_802_11_wireless_discover_capabilities): Check extended
14526                         802.11 wireless-specific capabilities of the driver
14527
14528 2005-12-14  Robert Love  <rml@novell.com>
14529
14530         Patch from Stefan Scheler <sscheler@suse.de>:
14531         * src/NetworkManagerDevice.c: call backend code to activate and
14532           deactivate NIS.
14533         * src/NetworkManagerSystem.h: add new NIS interfaces.
14534         * src/backends/NetworkManagerDebian.c,
14535           src/backends/NetworkManagerGentoo.c,
14536           src/backends/NetworkManagerRedHat.c,
14537           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14538           support.
14539         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14540
14541 2005-12-14  Dan Williams  <dcbw@redhat.com>
14542
14543         * src/nm-ap-security*.[ch]
14544                 - Add AP security abstractions to NetworkManager
14545
14546         * src/nm-dbus-device.c
14547                 - Begin to parse new format dbus messages from the applet
14548                         and construct an AP security object from the message
14549
14550         * libnm-util/dbus-helpers.c
14551                 - Use message iters so we can append the key as a fixed
14552                         array of bytes, which actually works rather than
14553                         using dbus_message_append_args() as we were before
14554
14555 2005-12-14  Dan Williams  <dcbw@redhat.com>
14556
14557         * src/NetworkManagerDbus.c
14558           gnome/applet/applet-dbus.c
14559                 - Fix up dbus service replacement options.  The applet
14560                         should allow replacement, NM itself should not.
14561
14562 2005-12-13  Robert Love  <rml@novell.com>
14563
14564         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14565           Instead, fail silently if config is NULL by not asserting and not
14566           returning FALSE.  Also, make sure we always fclose() the file.
14567
14568 2005-12-13  Robert Love  <rml@novell.com>
14569
14570         Patch by Stefan Scheler <sscheler@suse.de>:
14571         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14572            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14573            via DHCP.  Still need the backends to commit the NIS domain name and
14574            and servers to yp.conf as needed.
14575
14576 2005-12-13  Robert Love  <rml@novell.com>
14577
14578         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14579           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14580
14581 2005-12-13  Robert Love  <rml@novell.com>
14582
14583         * src/named-manager/nm-named-manager.c: Don't unref the config until
14584           after we call rewrite_resolv_conf(), because get_last_default_domain()
14585           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14586           `config != NULL' failed" assertion failures and "Could not commit DNS
14587           changes" warnings.
14588
14589 2005-12-12  Dan Williams  <dcbw@redhat.com>
14590
14591         * libnm-util/dbus-helpers.[ch]
14592           libnm-util/Makefile.am
14593                 - new helper calls to consolidate locations where
14594                         NM's setDevice method is called
14595
14596         * gnome/applet/applet-dbus-devices.c
14597           gnome/applet/wireless-security-option.c
14598           gnome/applet/wso-*
14599                 - Implement dbus message param append function for
14600                         all wireless security options
14601
14602 2005-12-12  Robert Love  <rml@novell.com>
14603
14604         * libnm-util/cipher-wep-passphrase.c,
14605           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14606           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14607           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14608           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14609           When handling keys, we don't care what the sign is.  The compiler
14610           guarantees us that we get our 8-bits, which is all we care about.
14611         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14612
14613 2005-12-12  Dan Williams  <dcbw@redhat.com>
14614
14615         * gnome/applet/applet-dbus-devices.[ch]
14616           gnome/applet/applet.c
14617           gnome/applet/other-network-dialog.c
14618           gnome/applet/wireless-security-manager.[ch]
14619           gnome/applet/wireless-security-option.[ch]
14620           gnome/applet/wso-*
14621                 - Push the wireless security options further into the applet
14622
14623 2005-12-12  Robert Love  <rml@novell.com>
14624
14625         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14626           return any name servers.  That is perfectly valid.  (Novell #134369).
14627
14628 2005-12-11  Dan Williams  <dcbw@redhat.com>
14629
14630         * gnome/applet/wso-*
14631           gnome/applet/wireless-security-option.*
14632           gnome/applet/Makefile.am
14633                 - split each security option out so we can eventually
14634                         have each one build up their own dbus message
14635                         arguments to send to NM
14636
14637 2005-12-11  Dan Williams  <dcbw@redhat.com>
14638
14639         * Make validation of the key work correctly
14640
14641 2005-12-11  Dan Williams  <dcbw@redhat.com>
14642
14643         * Hook more bits of the Other Network Dialog up to the
14644                 wireless security manager stuff, and restructure
14645                 bits of the dialog so there's less code.
14646
14647 2005-12-10  Dan Williams  <dcbw@redhat.com>
14648
14649         * gnome/applet/Makefile.am
14650                 - Add libnm-util to includes
14651                 - Add libnm-util to link list
14652                 - Add wireless-security-common.* to compile list
14653
14654         * gnome/applet/other-network-dialog.c
14655                 - Convert to using the WirelessSecurityManager code and
14656                         widgets
14657
14658         * gnome/applet/passphrase-dialog.c
14659                 - Comment out references to stuff in the glade file that
14660                         cause runtime errors until it can be fixed up
14661                         to use the WirelessSecurityManager code
14662
14663         * gnome/applet/wireless-applet.glade
14664                 - Rename some widgets
14665                 - Add widgets for the WirelessSecurityManager code
14666                 - Remove passphrase-related stuff since that's now
14667                         handled by the WirelessSecurityManager code
14668
14669 2005-12-10  Dan Williams  <dcbw@redhat.com>
14670
14671         * gnome/applet/applet-dbus-devices.c
14672                 - Print out error message details for dbus pending call callbacks
14673                 - Move nmwa_dbus_update_devices() up
14674
14675         * gnome/applet/applet-dbus-vpn.c
14676                 - Print out error message details for dbus pending call callbacks
14677
14678 2005-12-10  Dan Williams  <dcbw@redhat.com>
14679
14680         * libnm-util/*
14681                 - More fixups
14682                 - Remove cipher-manager.* because we don't need it
14683                 - Forgot to add gnome-keyring-md5 files to compile list
14684
14685 2005-12-09  Dan Williams  <dcbw@redhat.com>
14686
14687         * libnm-util/*
14688           configure.in
14689           Makefile.am
14690                 - Add a utility library for clients of NetworkManager.  It's
14691                         only targetted at applets for the moment, and contains
14692                         a generalized 802.11 cipher framework for different
14693                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14694
14695 2005-12-09  Robert Love  <rml@novell.com>
14696
14697         * src/NetworkManagerDevice.c: handle error better in
14698           nm_device_set_mode().
14699
14700 2005-12-08  Robert Love  <rml@novell.com>
14701
14702         * include/NetworkManager.h: add WPA capabilities constants
14703         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14704           or WPA2 and add the capabilities bits as appropriate.
14705
14706 2005-12-08  Robert Love  <rml@novell.com>
14707
14708         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14709           NetworkManagerDispatcher.
14710         * configure.in, initscript/SUSE/.cvsignore,
14711           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14712           initscript.
14713
14714 2005-12-08  Robert Love  <rml@novell.com>
14715
14716         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14717
14718 2005-12-08  Robert Love  <rml@novell.com>
14719
14720         * src/NetworkManagerDevice.c: We want to fall back on and default to
14721           IW_MODE_AUTO, not -1, which is more in line with our previous
14722           behavior.  Otherwise, we try to set the wireless mode to -1 in
14723           nm_device_set_mode().
14724
14725 2005-12-07  Robert Love  <rml@novell.com>
14726
14727         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14728           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14729           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14730           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14731           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14732           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14733           zero.
14734
14735 2005-12-07  Robert Love  <rml@novell.com>
14736
14737         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14738           supplied IP is invalid, fall back to DHCP.
14739
14740 2005-12-07  Dan Williams  <dcbw@redhat.com>
14741
14742         * Convert NETWORK_MODE_* constants to IW_MODE_*
14743         * Make all the get_mode/set_mode functions take and return 'int'
14744         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14745
14746 2005-12-07  Robert Love  <rml@novell.com>
14747
14748         * src/NetworkManagerDevice.c: strncpy() buffer check.
14749         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14750
14751 2005-12-06  Dan Williams  <dcbw@redhat.com>
14752
14753         * gnome/applet/applet-dbus.c
14754                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14755
14756         * gnome/applet/applet-dbus-vpn.c
14757                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14758                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14759                         to TRUE here if stage was ACTIVATED
14760
14761 2005-12-06  Dan Williams  <dcbw@redhat.com>
14762
14763         * Change nm_device_is_* functions to better names:
14764                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14765                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14766
14767 2005-12-06  Dan Williams  <dcbw@redhat.com>
14768
14769         * Change naming of NMDeviceType to something more sensible:
14770                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14771                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14772                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14773
14774 2005-12-06  Dan Williams  <dcbw@redhat.com>
14775
14776         * Move NetworkManager.h -> include/NetworkManager.h
14777         * Split out VPN stuff into include/NetworkManagerVPN.h
14778         * Fix up makefiles to include new location
14779         * Fix up sources to include NetworkManagerVPN.h
14780
14781 2005-12-06  Dan Williams  <dcbw@redhat.com>
14782
14783         Various changes in the applet to move VPN connection "state" -> "stage",
14784         which it actually is.  I'd like to change the signal as well when we
14785         break compat in the near future.
14786
14787 2005-12-06  Dan Williams  <dcbw@redhat.com>
14788
14789         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14790         * initscript/Slackware/rc.networkmanager
14791                 - Cosmetic fix
14792
14793         * src/backends/NetworkManagerSlackware.c
14794                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14795                         interfaces
14796
14797 2005-12-05  Robert Love  <rml@novell.com>
14798
14799         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14800           to free, particularly here as it just barfs.
14801
14802 2005-12-05  Dan Williams  <dcbw@redhat.com>
14803
14804         * gnome/applet/applet-dbus.c
14805                 - Work with dbus 0.6 too
14806
14807 2005-12-03  Dan Williams  <dcbw@redhat.com>
14808
14809         * src/NetworkManagerUtils.[ch]
14810           src/nm-ip4-config.c
14811                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14812                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14813
14814 2005-12-01  Robert Love  <rml@novell.com>
14815
14816         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14817           need a NULL for the '...' parameter, too, to fill the so-called
14818           sentinel.
14819
14820 2005-12-01  Robert Love  <rml@novell.com>
14821
14822         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14823           interface is already gone, so don't call rtnl_link_change() to down
14824           it (which will segfault, anyhow).
14825
14826 2005-11-22  Robert Love  <rml@novell.com>
14827
14828         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14829           gateway is not set, just print a little note.  Configurations without
14830           gateways are valid.
14831
14832 2005-11-22  Robert Love  <rml@novell.com>
14833
14834         * README: update
14835
14836 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14837
14838         * configure.in: Added Finnish translation to ALL_LINGUAS
14839
14840 2005-11-14  Robert Love  <rml@novell.com>
14841
14842         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14843           Niemueller <tim@niemueller.de>.
14844
14845 2005-11-08  Dan Williams  <dcbw@redhat.com>
14846
14847         Patch from Bill Moss <bmoss@clemson.edu>
14848         * src/NetworkManagerDevice.c
14849                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14850                         of nm_policy_schedule_activation_finish() to prevent a
14851                         race condition that causes the link to be dropped
14852
14853 2005-11-08  Dan Williams  <dcbw@redhat.com>
14854
14855         Patch from Bill Moss <bmoss@clemson.edu>
14856         * src/NetworkManagerAPList.c
14857           src/NetworkManagerDevice.c
14858           src/NetworkManagerDbus.c
14859                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14860                         we get more readable ether/mac addresses
14861
14862 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14863
14864         * gnome/applet/main.c: Don't set the restart command.  This fixes
14865         the issue where the restart command was getting copies of all its
14866         arguments for each time the applet was restarted.
14867
14868 2005-11-02  Robert Love  <rml@novell.com>
14869
14870         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14871           if the widget state differs from our saved state.  This ensures we
14872           do not enter an endless loop of death and destruction.  Also, this
14873           guarantees us that we enforce the widget state.
14874
14875 2005-11-02  Robert Love  <rml@novell.com>
14876
14877         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14878         * gnome/applet/applet-dbus-devices.c: invoke the new function
14879           nmwa_enable_wireless_set_active() to ensure that the state of the
14880           'Enable Wireless' checkbox matches the daemon's state.  This is a
14881           concern because the daemon remembers the state.
14882
14883 2005-11-02  Robert Love  <rml@novell.com>
14884
14885         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14886           Enabled", as checkboxes should be actions/commands not positive
14887           statements, otherwise they are confusing in the unselected case.  See
14888           examples in GNOME HIG, Chapter 6.
14889
14890 2005-11-02  Robert Love  <rml@novell.com>
14891
14892         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14893           show a list of wireless networks or the wireless devices or the
14894           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14895           a bad bug: If wireless is disabled and the user picks a wireless
14896           network, NM will switch to the network, only to immediately switch
14897           back, as wireless is disabled.  This also reassures people that NM
14898           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14899
14900 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14901
14902         * gnome/applet/applet.c:
14903         * gnome/applet/applet.h:
14904         Partial backout of Dan's timeout animation patch.
14905         Timeout IDs cannot legally be 0, so revert the code in place to handle
14906         a timeout ID of 0 to denote the timeout isn't running.
14907
14908 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14909
14910         * src/NetworkManagerPolicy.c:
14911         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14912
14913 2005-10-28  Robert Love  <rml@novell.com>
14914
14915         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14916           "Import Saved Configuration..." to make it clear that importing is
14917           not the next step, but an option.  As an aside, a nice TODO would be
14918           to move Importing out of the vpn-specific dialog and into the main
14919           property editor, as Importing goes with Adding, but that will require
14920           some rearchitecting of the VPN stuff I suspect.
14921
14922 2005-10-27  Dan Williams  <dcbw@redhat.com>
14923
14924         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14925         we should replace most of the distro-specific backend code
14926         with libnl stuff.
14927
14928         Get it here:  http://people.suug.ch/~tgr/libnl/
14929
14930         * configure.in
14931           src/Makefile.am
14932                 - Add checks for libnl pkgconfig file
14933                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14934
14935         * src/NetworkManagerSystem.c
14936           src/nm-ip4-config.[ch]
14937                 - Use libnl rather than ioctl() for most things
14938                 - Remove unused functions
14939
14940 2005-10-27  Robert Love  <rml@novell.com>
14941
14942         * src/backends/NetworkManagerSuSE.c: fix warning message text
14943
14944 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14945
14946         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14947
14948 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14949
14950         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14951         project page <http://www.gnome.org/projects/NetworkManager/>
14952
14953 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14954
14955         * gnome/applet.c: Also use translator credits if we don't have
14956         the new GtkAboutDialog (older versions of GTK+)
14957
14958 2005-10-26  Robert Love  <rml@novell.com>
14959
14960         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14961           failure; correct usage text for "--no-daemon"
14962
14963 2005-10-25  Dan Williams  <dcbw@redhat.com>
14964
14965         * src/NetworkManagerDevice.c
14966                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14967                         no scan results
14968                 - (free_process_scan_cb_data): unref the device when freeing results
14969                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14970                         so we don't unref the device underneath ourselves
14971
14972 2005-10-25  Dan Williams  <dcbw@redhat.com>
14973
14974         * Back out 2005-10-24 commit from Tor Krill.  Patch
14975                 causes nameservers never to be removed from named.
14976
14977 2005-10-24  Dan Williams  <dcbw@redhat.com>
14978
14979         Clean up wireless scanning and wireless link probing.
14980
14981         * src/NetworkManagerDevice.c
14982                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14983                         just see if there's an activation request on the device, and check the
14984                         current link against the activation request access point's ESSID.
14985                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14986                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14987                         don't call process_scan_results() on zero-length data
14988                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14989                         15 seconds (from 10)
14990
14991 2005-10-24  Dan Williams  <dcbw@redhat.com>
14992
14993         Cleanup some applet stuff:
14994
14995         - Animation timeouts.  If NM died while the applet was animating,
14996                 the applet would not hide itself.  This is now fixed.
14997
14998         - Remove some dead code
14999
15000         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15001                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15002
15003         - Track animation timeout using a gboolean rather than the timeout's
15004                 ID, since timeout IDs can legally be 0.
15005
15006 2005-10-24  Dan Williams  <dcbw@redhat.com>
15007
15008         * src/backends/interface_parser.c
15009                 - Add void to function declarations that need it
15010                         to match patch from Engin AYDOGAN
15011
15012         * src/backends/interface_parser.h
15013                 - Remove unused prototype for ifparser_interfaces()
15014
15015         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15016         * src/backends/interface_parser.h:
15017                 - Compile fixes for gcc 4.0.2 (add void)
15018
15019 2005-10-24  Dan Williams  <dcbw@redhat.com>
15020
15021         Patch from Tor Krill <tor@krill.nu>
15022         * src/named-manager/nm-named-manager.c
15023                 - Write more than just the first nameserver to /etc/resolv.conf
15024                 - Write out valid /etc/resolv.conf on exit
15025
15026 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15027
15028         * gnome/applet/applet-dbus-vpn.c:
15029         Get rid of spurious newlines in debug console output
15030
15031 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15032
15033         * src/backends/NetworkManagerGentoo.c:
15034         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15035
15036 2005-10-20  Robert Love  <rml@novell.com>
15037
15038         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15039           direct comparison of floating point values, which is never correct.
15040           Also some misc. cleanup.
15041
15042 2005-10-19  Robert Love  <rml@novell.com>
15043
15044         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15045
15046 2005-10-19  Robert Love  <rml@novell.com>
15047
15048         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15049           sensitivity of the buttons.  Specificaly, do the right thing if
15050           there are no entries.
15051
15052 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15053
15054         * configure.in: Update check for adequate wireless-tools
15055         with an AC_TRY_COMPILE for the new symbols we use.
15056
15057 2005-10-19  Dan Williams  <dcbw@redhat.com>
15058
15059         * src/NetworkManagerDevice.c
15060                 - (process_scan_results): don't drop the last (or only)
15061                         access point we see
15062
15063 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15064
15065         * src/backends/NetworkManagerSlackware.c:
15066         Patch from Nico <lordllucifer@gmail.com>
15067                 - Update the Slackware backend.
15068
15069 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15070
15071         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15072         if we've got GLib 2.8.0
15073
15074 2005-10-18  Robert Love  <rml@novell.com>
15075
15076         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15077           function nm_schedule_state_change_signal_broadcast() when we
15078           deactivate a device, too.
15079
15080 2005-10-18  Robert Love  <rml@novell.com>
15081
15082         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15083           be used uninitialized.
15084
15085 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15086
15087         * test/libnm_glib_test.c: Test unregistering, too.
15088
15089 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15090
15091         * configure.in: Bump to 0.5.0
15092
15093 2005-10-17  Dan Williams  <dcbw@redhat.com>
15094
15095         * NetworkManager.h
15096                 - Remove WPA-related constants so they aren't part of the
15097                         upcoming release.
15098
15099 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15100
15101         * gnome/applet/applet.c:
15102         * gnome/applet/applet.h:
15103         Desensitize the 'Connection Information' menu item when there is
15104         no active connection.
15105
15106 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15107
15108         * gnome/libnm_glib/libnm_glib.c:
15109         Make libnm_glib_unregister_callback () actually unregister the callback
15110
15111 2005-10-17  Robert Love  <rml@novell.com>
15112
15113         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15114           two seconds -- tries is updated every 1/10 of a second, not every
15115           second..
15116
15117 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15118
15119         * gnome/applet/applet-dbus-info.c:
15120         Let D-BUS know that we haven't handled a message when we haven't.
15121
15122 2005-10-17  Robert Love  <rml@novell.com>
15123
15124         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15125           in order to remain 64-bit clean.
15126
15127 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15128
15129         * gnome/applet/applet-dbus-info.c:
15130         Find network encryption keys asynchronously
15131
15132 2005-10-17  Robert Love  <rml@novell.com>
15133
15134         * src/backends/NetworkManagerDebian.c,
15135           src/backends/NetworkManagerRedHat,
15136           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15137           comment delimiter.
15138
15139 2005-10-17  Robert Love  <rml@novell.com>
15140
15141         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15142           "/etc"
15143
15144 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15145
15146         * src/NetworkManagerDevice.c: (process_scan_results)
15147         Fix logic that checks to see whether we have an ESSID.
15148
15149 2005-10-15  Dan Williams  <dcbw@redhat.com>
15150
15151         Move scanning code into NetworkManager rather than use iwlib's
15152         iw_scan() function, so that we can figure out AP capabilities.
15153
15154         * NetworkManager.h
15155                 - Add AP capability bits
15156
15157         * src/NetworkManagerAP.[ch]
15158                 - Add capability field to NMAccessPoint structure
15159                 - Add WPA & RSN Information Element fields and accessor
15160                         functions to NMAccessPoint
15161
15162         * src/NetworkManagerDevice.c
15163                 - Remove usage of iw_scan
15164                 - Add scanning code to NetworkManager rather than use
15165                         iw_scan() from iwlib
15166
15167         * src/NetworkManagerUtils.[ch]
15168                 - (nm_dispose_scan_results): remove, unused
15169
15170 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15171
15172         * gnome/libnm_glib/libnm_glib.c:
15173         * gnome/libnm_glib/libnm_glib.h:
15174         Use guint instead of gint for callback IDs.
15175
15176 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15177
15178         * gnome/applet/applet.c:
15179         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15180         every 1000ms.  It will unconditionally call nmwa_update_state which
15181         kills the existing animation timeout and registers a new one with a
15182         callback to draw a new frame every 100ms.  There are 11 connecting
15183         icon frames, so the last 2 frames kept getting dropped.  Only reset
15184         the animation timeout if we aren't animating.
15185
15186 2005-10-11  Dan Williams  <dcbw@redhat.com>
15187
15188         * gnome/applet/applet-dbus-devices.c
15189                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15190                         We want to grab the product & vendor from net.physical_dev
15191                         rather than info.parent.
15192
15193 2005-10-11  Dan Williams  <dcbw@redhat.com>
15194
15195         * src/NetworkManagerDevice.c
15196                 - Use the driver's WE version for scanning rather than
15197                         the WE version NM was compiled with.  Fixes random
15198                         crashes in iw_scan () in iwlib.
15199
15200 2005-10-10  Dan Williams  <dcbw@redhat.com>
15201
15202         * Remove nm_system_load_device_modules() from backend files
15203                 and from NetworkManager.c
15204
15205 2005-10-10  Dan Williams  <dcbw@redhat.com>
15206
15207         * src/NetworkManagerPolicy.c
15208                 - Fix some bugs introduced by the capabilities patch
15209
15210 2005-10-10  Dan Williams  <dcbw@redhat.com>
15211
15212         * gnome/applet/applet-dbus-info.c
15213                 - (nmi_dbus_get_network_key): hide the menu when putting up
15214                         the keyring dialog.  (not sure if the code is right...)
15215
15216 2005-10-09  Dan Williams  <dcbw@redhat.com>
15217
15218         Patch from Bill Moss <bmoss@clemson.edu>
15219         * src/NetworkManagerDevice.c
15220                 - (nm_device_set_user_key_for_network): don't try to set auth
15221                         mode on the AP from the allowed list if it's NULL
15222
15223 2005-10-09  Dan Williams  <dcbw@redhat.com>
15224
15225         * Replace the "driver support level" stuff with capabilities.  The
15226                 capability field is a bitfield that is more flexible than the
15227                 old driver support level thing.  It's mostly so we can easily
15228                 figure out what supports WPA and what doesn't, but should be
15229                 quite useful later.
15230
15231 2005-10-09  Dan Williams  <dcbw@redhat.com>
15232
15233         * test/nmtest.c
15234                 - Removed
15235
15236         * test/nm-tool.c
15237           test/Makefile.am
15238                 - Added new "nm-tool" tool that gives quite a bit more
15239                         information
15240
15241 2005-10-07  Robert Love  <rml@novell.com>
15242
15243         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15244           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15245           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15246           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15247           appropriate
15248
15249 2005-10-07  Robert Love  <rml@novell.com>
15250
15251         * configure.in: Change our compile flags for the betterment of mankind.
15252           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15253           prototype is very bad on 64-bit platforms as types default to int but
15254           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15255           "-Wmissing-declarations" to warn if we define an exported function
15256           but fail to put it in a header.
15257
15258 2005-10-07  Robert Love  <rml@novell.com>
15259
15260         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15261           by the name nm_update_device_wireless_timeouts() and once tried,
15262           without success, to steal my pet turtle.
15263
15264 2005-10-07  Robert Love  <rml@novell.com>
15265
15266         * Cleanup prototypes: put some functions in header files and mark
15267           others as 'static' -- feel free to invert
15268         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15269           nm_vpn_manager_vpn_connection_list_copy()
15270         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15271           nm_vpn_service_get_dbus_connection()
15272         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15273           nm_vpn_manager_vpn_connection_list_copy()
15274         * src/vpn-manager/nm-vpn-service.c: make
15275           nm_vpn_service_act_request_failed() and
15276           nm_vpn_service_stage2_daemon_wait() static
15277         * src/vpn-manager/nm-vpn-service.h: add prototype for
15278           nm_vpn_service_get_dbus_connection()
15279
15280 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15281
15282         * gnome/applet/applet.c:
15283         * gnome/applet/applet.h:
15284         * gnome/applet/icons/Makefile.am:
15285         Convey information about the current connection stage in the
15286         icons themselves instead of creating a separate progress bar.
15287
15288 2005-10-04  Robert Love  <rml@novell.com>
15289
15290         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15291           convert an ether_addr structure's MAC into a string, because the
15292           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15293           versus 07:3B:04, while the former will not.
15294
15295 2005-10-04  Robert Love  <rml@novell.com>
15296
15297         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15298           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15299           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15300           default route in the 'Connection Information' dialog, send primary
15301           and secondary name servers in in "getProperties" DBUS method, add
15302           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15303           secondary domain name servers are crucial pieces of information
15304           that a user might need in debugging a network problem.
15305
15306 2005-10-04  Robert Love  <rml@novell.com>
15307
15308         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15309           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15310           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15311           default route in the 'Connection Information' dialog, send default
15312           route in "getProperties" DBUS method, add network_device_set_route(),
15313           and network_device_get_route().  The Gateway is a crucial piece of
15314           connection-related information that a user might need in debugging a
15315           network problem.
15316
15317 2005-10-03  Robert Love  <rml@novell.com>
15318
15319         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15320           NULL.
15321
15322 2005-10-02  Dan Williams  <dcbw@redhat.com>
15323
15324         * Shorten time taken to sleep by fastpathing bits of device deactivation
15325                 necessary for sleep.
15326
15327         * Fix issue where deactivating a device might deactivate the active
15328                 VPN connection, even if the VPN was not using the device.
15329
15330 2005-10-02  Dan Williams  <dcbw@redhat.com>
15331
15332         * gnome/applet/applet.c
15333                 - Adjust signal strength -> icon mapping values slightly
15334                         (so that 51% signal doesn't show a 75% icon) by adding
15335                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15336                         shows 50% icon, etc.
15337
15338 2005-09-29  Robert Love  <rml@novell.com>
15339
15340         * src/NetworkManager.c: removed unused variable.
15341
15342 2005-09-28  Dan Williams  <dcbw@redhat.com>
15343
15344         Support for named + DBus, using Red Hat DBus patches for named.  You
15345         can find those patches here, with "dbus" in the patch's filename:
15346
15347                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15348
15349         Don't forget the named dbus service file either.
15350
15351         Instead of writing a config file and spawing a named process, NM will
15352         use an already-running dbus-enabled named if it finds one.  NM will
15353         update named's forwarder configuration on the fly using dbus.
15354
15355         If there is no dbus-enabled named running, NM will automatically fall
15356         back to writing the most-recent DNS server information to /etc/resolv.conf
15357         and calling nm_system_update_dns() to kick the system's resolver.
15358
15359         Accordingly, all named-related configure-time options have been removed.
15360
15361 2005-09-26  Robert Love  <rml@novell.com>
15362
15363         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15364           ISDN support!
15365         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15366           bug in error path if "ASKPASSWORD" is "no".
15367
15368 2005-09-26  Robert Love  <rml@novell.com>
15369
15370         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15371           comment in /etc/resolv.conf -- ';' is not.
15372
15373 2005-09-19  Dan Williams  <dcbw@redhat.com>
15374
15375         * src/backends/NetworkManagerRedHat.c:
15376         * src/backends/NetworkManagerDebian.c:
15377         * src/backends/NetworkManagerSlackware.c:
15378         * src/backends/NetworkManagerGentoo.c:
15379         * src/backends/NetworkManagerSUSE.c:
15380         Fix invocations of "/sbin/ip address" to use short form instead
15381
15382 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15383
15384         * src/nm-dbus-device.c: Don't assert when getting
15385         addresses of a not yet connected interface.
15386
15387         * gnome/applet/applet.c: Free icons if loading fails.
15388         Use translator-credits so translators can make themselves known.
15389
15390 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15391
15392         * src/NetworkManagerAP.c:
15393         * src/NetworkManagerAP.h:
15394         * src/NetworkManagerDevice.c:
15395         Set a blacklist for certain common manufacturer default ESSIDs:
15396         APs with these ESSIDs are extremely likely to be completely
15397         different networks: connecting to one should not make NM
15398         auto-connect to every other AP with the same default ESSID.
15399
15400 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15401
15402         * gnome/applet/wireless-applet.glade:
15403         The passphrase entry should also activate the default
15404
15405         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15406
15407         * gnome/applet/applet-dbus-devices.c:
15408         * gnome/applet/applet.c:
15409         * gnome/applet/nm-device.c:
15410         * gnome/applet/nm-device.h:
15411         * src/NetworkManagerUtils.c:
15412         * src/NetworkManagerUtils.h:
15413         * src/nm-dbus-device.c:
15414         I've got a fever, and the only cure for it is less ioctl.
15415         Make NM push IP data rather than make the applet open a socket
15416         to the device.
15417
15418 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15419
15420         * gnome/applet/applet.c:
15421         * gnome/applet/applet-dbus-devices.c:
15422         * gnome/applet/applet-dbus-info.c:
15423         * gnome/applet/passphrase-dialog.c:
15424         * gnome/libnm_glib/libnm_glib.c:
15425         * gnome/vpn-properties/nm-vpn-properties.c:
15426         * src/autoip.c:
15427         * src/backends/NetworkManagerRedHat.c:
15428         * src/named-manager/nm-named-manager.c:
15429         * src/NetworkManagerAPList.c:
15430         * src/NetworkManager.c:
15431         * src/NetworkManagerDbus.c:
15432         * src/NetworkManagerDevice.c:
15433         * src/NetworkManagerPolicy.c:
15434         * src/NetworkManagerSystem.c:
15435         * src/nm-dbus-device.c:
15436         * src/nm-dbus-nm.c:
15437         * src/vpn-manager/nm-vpn-manager.c:
15438         * src/vpn-manager/nm-vpn-service.c:
15439         * test/libnm_glib_test.c:
15440         * test/nminfotest.c:
15441         * test/nmtestdevices.c:
15442         Fix a bunch of 'unused variable' compiler warnings
15443
15444         * NetworkManager.h:
15445         * gnome/applet/applet-dbus-info.c:
15446         * gnome/applet/applet-dbus-info.h:
15447         * gnome/applet/applet.c:
15448         * gnome/applet/applet.h:
15449         * src/NetworkManager.c:
15450         * src/NetworkManagerDbus.c:
15451         * src/NetworkManagerDbus.h:
15452         * src/NetworkManagerDevice.c:
15453         * src/NetworkManagerDevice.h:
15454         * src/NetworkManagerMain.h:
15455         * src/NetworkManagerWireless.c:
15456         * src/NetworkManagerWireless.h:
15457         * src/nm-dbus-nm.c:
15458         Make NetworkManager be smart about how frequently to scan
15459         based on its current state.  Remove the UI for choosing when
15460         to scan.  Scanning still may disabled completely by the user
15461         via the "Wireless Enabled" menu item.
15462
15463 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15464
15465         * gnome/applet/applet.c:
15466         Also overlay the vpn connecting icons onto the wired icon,
15467         when appropriate.
15468
15469         * gnome/vpn-properties/nm-vpn-properties.glade:
15470         Clean up a few strings to use better grammar and proper casing.
15471
15472 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15473
15474         * gnome/applet/vpn-connection.c:
15475         * gnome/applet/vpn-connection.h:
15476         Add nmwa_vpn_connection_is_activating ()
15477
15478         * gnome/applet/applet.c:
15479         * gnome/applet/applet.h:
15480         * gnome/applet/icons/nm-vpn-connecting*.png:
15481         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15482         the user know something's happening between clicking the VPN item and it
15483         actually being connected.
15484
15485 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15486
15487         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15488         failure case as well.
15489
15490 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15491
15492         * gnome/panel/eggtrayicon.[ch]:
15493         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15494
15495 2005-09-07  Dan Williams  <dcbw@redhat.com>
15496
15497         Patch from Bill Moss <bmoss@clemson.edu>
15498         * src/applet-dbus.c
15499                 - (nmwa_dbus_filter): strip whitespace from beginning
15500                         and end of VPN login banner
15501
15502 2005-09-07  Dan Williams  <dcbw@redhat.com>
15503
15504         * The great VPN Manager rewrite of 2005
15505
15506 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15507
15508         * gnome/applet/menu-items.c:
15509         * gnome/applet/nm-device.c:
15510         * gnome/applet/wireless-network.c:
15511         * gnome/libnm_glib/libnm_glib.c:
15512         * src/NetworkManagerDbusUtils.c:
15513         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15514         g_malloc0 doesn't return NULL
15515
15516 2005-09-06  Dan Williams  <dcbw@redhat.com>
15517
15518         Patch from Tomislav Vujec <tvujec@redhat.com>
15519         * src/NetworkManagerDevice.c
15520                 - (nm_get_device_by_udi): don't return a device when we
15521                         actually didn't find what we were looking for
15522
15523 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15524
15525         * gnome/applet/applet-dbus-devices.c:
15526         * gnome/applet/applet-dbus-devices.h:
15527         * gnome/applet/applet-dbus.c:
15528         * src/NetworkManagerDbus.c:
15529         * src/NetworkManagerDbus.h:
15530         * src/NetworkManagerDevice.c:
15531         * src/nm-dbus-device.c:
15532         Make NM push updates about active device strength when it changes,
15533         rather than having the applet poll every 2s.
15534
15535 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15536
15537         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15538         network_device_set_strength
15539
15540 2005-09-04  Dan Williams  <dcbw@redhat.com>
15541
15542         Patch from Bill Nottingham <notting@redhat.com>
15543         * src/NetworkManagerDevice.c
15544                 - (nm_device_activation_cancel): reset the quit_activation flag
15545
15546 2005-09-04  Dan Williams  <dcbw@redhat.com>
15547
15548         * src/nm-activation-request.c
15549                 - (nm_act_request_unref): actually free the structure,
15550                         which we didn't seem to be doing before
15551
15552 2005-09-04  Dan Williams  <dcbw@redhat.com>
15553
15554         Patch from John Palmieri <johnp@redhat.com>
15555         * gnome/applet/applet-dbus-devices.c
15556                 - Fix up unreffing of DBusMessage objects
15557
15558 2005-09-04  Dan Williams  <dcbw@redhat.com>
15559
15560         Patch from John Palmieri <johnp@redhat.com>
15561         * gnome/applet/nm-device.c
15562                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15563
15564 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15565
15566         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15567
15568 2005-09-02  Bill Nottingham  <notting@redhat.com>
15569
15570         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15571
15572 2005-09-01  Dan Williams  <dcbw@redhat.com>
15573
15574         * src/NetworkManager.c
15575                 - (nm_remove_device_from_list): rename to nm_remove_device
15576                 - (nm_hal_device_removed): call nm_remove_device()
15577
15578         * src/NetworkManagerDevice.c
15579                 - Change the NMWirelessScanCB member 'reschedule' which
15580                         wasn't used to 'force' to indicate that we need to
15581                         force a scan when adding a device
15582
15583         * src/nm-dbus-nm.c
15584                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15585                         from the device list
15586                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15587
15588 2005-09-01  Robert Love  <rml@novell.com>
15589
15590         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15591           and the check "!iface" in the error case is probably never true.
15592
15593 2005-09-01  Dan Williams  <dcbw@redhat.com>
15594
15595         Patch from Bill Nottingham <notting@redhat.com>
15596         * src/backends/NetworkManagerRedHat.c
15597                 - Add initial dialup support to Red Hat/Fedora backend
15598
15599 2005-09-01  Dan Williams  <dcbw@redhat.com>
15600
15601         * gnome/applet/applet-dbus-devices.c
15602                 - Sort both wireless networks and devices again, which got
15603                         broken when removing threading
15604
15605 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15606
15607         * gnome/applet/applet.c:
15608         Only show the "Stop/Start All Wireless Devices" menuitem
15609         if we actually have wireless devices.
15610
15611         * gnome/applet/applet-dbus-info.c:
15612         * gnome/applet/applet.c:
15613         * gnome/applet/other-network-dialog.c:
15614         * gnome/applet/vpn-password-dialog.c:
15615         Drop the gtk_dialog_run () calls in favor of connecting to
15616         "response" signals, needed now that the applet is not threaded.
15617
15618 2005-08-31  Dan Williams  <dcbw@redhat.com>
15619
15620         Patch from Bill Moss <bmoss@clemson.edu>
15621         * src/NetworkManagerDevice.c
15622                 - (nm_device_wireless_scan): fix scan timeout values
15623
15624 2005-08-30  Dan Williams  <dcbw@redhat.com>
15625
15626         * gnome/applet/wireless-applet.glade
15627                 - HIG-ify the Other Wireless Networks dialog a bit more
15628                 - Fix some potential segfaults in the info dialog
15629
15630 2005-08-30  Dan Williams  <dcbw@redhat.com>
15631
15632         * gnome/applet/applet-dbus-devices.c
15633                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15634
15635 2005-08-30  Dan Williams  <dcbw@redhat.com>
15636
15637         * gnome/applet/applet-dbus.[ch]
15638                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15639                         they weren't being used anyway
15640
15641 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15642
15643         * test/nmtestdevices.c: (print_usage), (main):
15644         Check the number of arguments, and fix a typo
15645
15646 2005-08-29  Dan Williams  <dcbw@redhat.com>
15647
15648         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15649         * gnome/applet/applet.c
15650                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15651
15652 2005-08-29  Dan Williams  <dcbw@redhat.com>
15653
15654         * gnome/applet/*
15655                 - Don't use threads any more.  Anything that blocks
15656                         (like gtk_dialog_run()) will  have to get fixed up which
15657                         should happen quickly.  We really only had threads to make
15658                         the animation smooth, and when everything got converted over
15659                         to DBus Pending Calls, the need for threads kind of went away
15660
15661 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15662
15663         * gnome/applet/applet.c: Draw VPN connections as radio items
15664         since we don't yet support multiple VPNs.
15665         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15666         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15667
15668 2005-08-29  Dan Williams  <dcbw@redhat.com>
15669
15670         Patch from j@bootlab.org
15671         - Make --without-named work
15672         - Make --with-dhcdbd work correctly
15673
15674 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15675
15676         * configure.in: Added "ca" to ALL_LINGUAS.
15677
15678 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15679
15680         * Fix up VPN state handling between the applet and NetworkManager,
15681                 so that the applet doesn't show a VPN as connected when one
15682                 really is not
15683                         - The applet no longer has a pointer to the active VPN's
15684                                 name, but tracks each VPNs state individually
15685                         - NM no longer has a "getActiveVPNConnection" method
15686                         - NM no longer broadcasts the "VPNConnectionChange" signal
15687                         - NM now broadcasts a "VPNConnectionStateChange" signal
15688                                 whenever the state of a VPN changes
15689
15690 2005-08-26  Dan Williams <dcbw@redhat.com>
15691
15692         * gnome/applet/applet-dbus-devices.c
15693           gnome/applet/applet-dbus-vpn.c
15694                 - Remove calls to dbus_pending_call_ref() because we already
15695                         "own" the pending call
15696                 - Remove calls to dbus_pending_call_get_completed() because
15697                         when we are in the callback, the pending call is completed
15698                         by definition
15699
15700 2005-08-22  Dan Williams <dcbw@redhat.com>
15701
15702         Patch by Bill Moss <bmoss@clemson.edu>
15703         * src/dhcp-manager/nm-dhcp-manager.c
15704                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15705                         some time to send out a RELEASE if they like
15706
15707 2005-08-22  Dan Williams <dcbw@redhat.com>
15708
15709         Noticed by Bill Moss <bmoss@clemson.edu>
15710         * src/NetworkManagerDbus.c
15711                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15712                         instead of just cancelling its activation
15713
15714         * src/NetworkManagerDevice.c
15715                 - (nm_device_deactivate): some small cleanups
15716                 - (nm_device_set_user_key_for_network): deactivate the device
15717                         instead of just cancelling its activation
15718
15719 2005-08-22  Dan Williams <dcbw@redhat.com>
15720
15721         Noticed by Bill Moss <bmoss@clemson.edu>
15722         * src/NetworkManagerDevice.c
15723                 - (nm_device_wireless_scan): fix scan timeout, we were
15724                         waiting way too long for scans to complete
15725
15726 2005-08-22  Dan Williams <dcbw@redhat.com>
15727
15728         Patch from j@bootlab.org:
15729         * src/backends/NetworkManagerDebian.c
15730                 - Make the Debian backend work for static IP again
15731
15732 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15733
15734         * gnome/applet/other-network-dialog.c:
15735         The "Create New Network" and "Connect to Other Network"
15736         dialogs share alot of code, but shouldn't share a window
15737         title.  Give them different ones.
15738
15739         * gnome/applet/wireless-applet.glade:
15740         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15741         Some more minor UI tweaks.
15742
15743 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15744
15745         * gnome/applet/other-network-dialog.c:
15746         * gnome/applet/wireless-applet.glade:
15747         Also need mnemonic widgets, and underline enabled.
15748
15749 2005-08-19  Dan Williams <dcbw@redhat.com>
15750
15751         * vpn-daemons/vpnc/nm-vpnc-service.c
15752                 - (vpnc_watch_cb): remove no-longer-relevant comment
15753                 - (write_config_option): new function, helper to write
15754                         config options to vpnc's stdin
15755                 - (nm_vpnc_config_write): use the new helper, make the
15756                         code shorter
15757
15758 2005-08-19  Christopher Aillon <caillon@redhat.com>
15759
15760         * gnome/applet/passphrase-dialog.c:
15761         * gnome/applet/wireless-applet.glade:
15762         Make the passphrase dialog response based, and treat
15763         responses other than OK (such as Esc, [X]) as a cancel.
15764
15765 2005-08-18  Christopher Aillon <caillon@redhat.com>
15766
15767         * initscript/Gentoo/NetworkManager:
15768         * initscript/RedHat/NetworkManager:
15769         * initscript/RedHat/NetworkManagerDispatcher:
15770         * initscript/SUSE/networkmanager:
15771         CVS remove these in place of .in replacements
15772
15773         * configure.in:
15774         * initscript/Gentoo/NetworkManager.in:
15775         * initscript/RedHat/NetworkManager.in:
15776         * initscript/RedHat/NetworkManagerDispatcher.in:
15777         * initscript/SUSE/networkmanager.in:
15778         These scripts now are generated so they work still when
15779         NM is built using a bindir other than /usr/bin
15780
15781 2005-08-18  Dan Williams <dcbw@redhat.com>
15782
15783         * gnome/applet/main.c
15784                 - Revert previous change for --no-session since
15785                         --sm-disable does the same thing
15786
15787 2005-08-18  Dan Williams <dcbw@redhat.com>
15788
15789         * gnome/applet/applet-dbus-info.c
15790                 - (nmi_dbus_create_error_message): new function
15791                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15792                         functions.  Also don't check for both device _and_ network before
15793                         asking for a user's key, because we may not have gotten all our
15794                         networks back from NM quite yet (due to the dbus pending calls
15795                         coming in later).  Fixes a hang in NM/nm-applet.
15796
15797         * src/NetworkManagerDbus.c
15798                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15799                         slightly more sane manner, even though we are still broken for
15800                         certain other error conditions.
15801                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15802                         to the info-daemon too
15803
15804         * src/NetworkManagerDevice.c
15805                 - Fix some debug messages to be info messages instead
15806
15807 2005-08-18  Dan Williams <dcbw@redhat.com>
15808
15809         * gnome/applet/main.c
15810                 - Add new "--no-session" parameter that disables applet
15811                         session management, ie for testing
15812
15813 2005-08-18  Christopher Aillon <caillon@redhat.com>
15814
15815         * gnome/applet/other-network-dialog.c:
15816         * gnome/applet/wireless-applet.glade: More mnemonics
15817
15818 2005-08-17  Robert Love  <rml@novell.com>
15819
15820         * initscript/SUSE/networkmanager: update
15821
15822 2005-08-17  Dan Williams  <dcbw@redhat.com>
15823
15824         * Tag NM_0_4_1_RELEASE
15825
15826 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15827
15828         * gnome/applet/applet.c: More translatable string cleanup
15829
15830
15831 2005-08-17  Dan Williams  <dcbw@redhat.com>
15832
15833         * gnome/applet/applet-dbus-info.c
15834                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15835                         from the dbus message, which tells us to unconditionally
15836                         ask the user for a new key.  Otherwise, we pull the key from
15837                         the keyring and return it.  If we fail to get the key from the
15838                         keyring, we ask the user for a new key.
15839                 - (nmi_dbus_get_network_key): new function to grab the key for
15840                         an essid from the keyring.
15841                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15842                         Also, don't return any key in the dbus message.
15843
15844         * src/NetworkManagerDbus.[ch]
15845                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15846                         indicate that we unconditionally want a new key.  This function
15847                         is now also used to get keys from the info-daemon which are
15848                         pre-stored, not just for asking the user for a new key.  The
15849                         "new_key" parameter indicates whether or not we wish to ask the
15850                         user for a new key.
15851                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15852                         info-daemon in the return message, so use NULL instead.  The
15853                         key will be filled in at connect time by calling
15854                         nm_dbus_get_user_key_for_network()
15855
15856         * src/NetworkManagerDevice.c
15857                 - (nm_device_wireless_configure): update for "new_key" param to
15858                         nm_dbus_get_user_key_for_network().  We initially set new_key
15859                         to FALSE to see if we have a stored key in the info-daemon, but
15860                         if the connection is unsuccessful at this stage we request a
15861                         new one
15862
15863 2005-08-17  Dan Williams  <dcbw@redhat.com>
15864
15865         * gnome/applet/icons/nm-no-connection.png
15866           gnome/applet/icons/nm-device-wired.png
15867                 - Use Diana's new RJ45 connector icons
15868
15869 2005-08-17  Dan Williams  <dcbw@redhat.com>
15870
15871         * src/NetworkManagerPolicy.c
15872                 - (nm_policy_device_change_check): clarify switching rules if
15873                         both new and old devices are valid; mainly, don't switch
15874                         away from user-requested wireless connection back to a wired
15875                         one
15876
15877 2005-08-17  Dan Williams  <dcbw@redhat.com>
15878
15879         * gnome/applet/Makefile.am
15880                 - Relocate the applet to /usr/bin since it is no longer
15881                         executed by anything, but directly by the user
15882
15883 2005-08-17  Dan Williams  <dcbw@redhat.com>
15884
15885         Patch from Bill Moss <bmoss@clemson.edu>
15886
15887         * gnome/applet/applet-dbus-info.[ch]
15888                 - (nmi_save_network_info): save timestamp for network if it
15889                         was a change requested by the user
15890                 - (nmi_dbus_update_network_info): get user_requested from dbus
15891                         message and pass to nmi_save_network_info()
15892
15893         * gnome/applet/applet.c
15894                 - (nmwa_update_network_timestamp): remove
15895                 - (nmwa_menu_item_activate): don't set timestamp on networks
15896                         here, only after a successful connect in nmi_save_network_info()
15897
15898         * src/NetworkManagerDbus.[ch]
15899                 - (nm_dbus_update_network_info): pass user_requested into the 
15900                         dbus message
15901
15902         * src/NetworkManagerPolicy.c
15903                 - (nm_policy_activation_finish): pass user_requested to
15904                         nm_dbus_update_network_info()
15905
15906 2005-08-16  Robert Love  <rml@novell.com>
15907
15908         * gnome/applet/applet.c: Better "Dial Up" menu item.
15909
15910 2005-08-16  Robert Love  <rml@novell.com>
15911
15912         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15913           "Connection Information" menu item.
15914
15915 2005-08-16  Dan Williams  <dcbw@redhat.com>
15916
15917         Patch from j@bootlab.org
15918         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15919
15920         * configure.in: allow specifying the path to dhcdbd
15921
15922 2005-08-16  Robert Love  <rml@novell.com>
15923
15924         Patch from j@bootlab.org
15925         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15926           src/backends/interface_parser.h: Debian dialup support.
15927
15928 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15929
15930         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15931         * gnome/applet/applet.c: Add some mnemonics for VPNC
15932
15933         * vpn-daemons/.cvsignore: fix this up a little bit
15934
15935 2005-08-16  Robert Love  <rml@novell.com>
15936
15937         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15938           support.
15939
15940 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15941
15942         * gnome/applet/applet.c: Split markup out of translatable strings
15943         and clean up logic a little bit.  (fixes #309012)
15944
15945 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15946
15947         * gnome/vpn-properties/nm-vpn-properties.c:
15948         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15949         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15950         Makeshift fix to remove newlines from translatable strings.
15951         Note that we now return an allocated string, so callers of
15952         get_confirmation_details () must now call g_free () on the
15953         result. (fixes #309033).
15954
15955 2005-08-12  Robert Love  <rml@novell.com>
15956
15957         * gnome/applet/applet-dbus.c: remove newlines from translatable
15958           strings--not needed here anyway. (fix b.g.o #309011)
15959         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15960
15961 2005-08-11  Robert Love  <rml@novell.com>
15962
15963         * gnome/applet/applet.c: mark string as translatable.
15964
15965 2005-08-11  Robert Love  <rml@novell.com>
15966
15967         * initscript/SUSE/networkmanager: update.
15968
15969 2005-08-11  Dan Williams  <dcbw@redhat.com>
15970
15971         * src/nm-dhcp-manager.c
15972                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15973                         an gateway returned from DHCP, try to use the address of the DHCP
15974                         server as the gateway instead.  Found by Ralf Ertzinger.
15975
15976 2005-08-10  Robert Love  <rml@novell.com>
15977
15978         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15979           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15980
15981 2005-08-10  Dan Williams  <dcbw@redhat.com>
15982
15983         Patch from Bill Moss <bmoss@clemson.edu>
15984         * Consolidate writes of access point information updates to the info daemon
15985                 so that we only do it when the connection to the access point was
15986                 successful.  Also consolidates updates to GConf in the Gnome applet.
15987
15988         * src/nm-netlink-monitor.c
15989                 - Silence compile warning when calling g_object_new()
15990
15991 2005-08-08  Dan Williams  <dcbw@redhat.com>
15992
15993         Patch from Steev <steev@steev.net>:
15994         * src/backends/NetworkManagerGentoo.c
15995                 - Stub new dialup backend functions
15996
15997 2005-08-08  Dan Williams  <dcbw@redhat.com>
15998
15999         Patch from Colin Slater:
16000         * src/backends/NetworkManagerGentoo.c
16001                 - (nm_system_update_dns): Fix exit status check for restarting
16002                         nscd
16003
16004 2005-08-05  Robert Love  <rml@novell.com>
16005
16006         * NetworkManager.h,
16007           gnome/applet/applet-dbus-devices.c,
16008           gnome/applet/applet-dbus-devices.h,
16009           gnome/applet/applet-dbus.c,
16010           gnome/applet/applet.c,
16011           gnome/applet/applet.h,
16012           src/NetworkManager.c,
16013           src/NetworkManagerMain.h,
16014           src/NetworkManagerSystem.h,
16015           src/backends/NetworkManagerRedHat.c,
16016           src/backends/NetworkManagerSuSE.c,
16017           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16018
16019 2005-08-05  Robert Love  <rml@novell.com>
16020
16021         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16022           machine's hostname to make adhoc creation idiot-proof.
16023
16024 2005-08-04  Robert Love  <rml@novell.com>
16025
16026         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16027           freed.
16028
16029 2005-08-04  Dan Williams  <dcbw@redhat.com>
16030
16031         * gnome/applet/applet-dbus-info.c
16032           gnome/applet/applet-dbus-info.h
16033                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16034                         to store key, key type, and auth method rather than just auth method
16035                 - (nmi_dbus_update_network_info): new function
16036                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16037
16038         * gnome/applet/passphrase-dialog.c
16039                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16040                         of saving the info ourselves
16041
16042         * gnome/libnm_glib/libnm_glib.c
16043                 - Remove the stupid version check for dbus
16044
16045         * src/NetworkManagerAP.c
16046           src/NetworkManagerAP.h
16047                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16048
16049         * src/NetworkManagerDbus.c
16050           src/NetworkManagerDbus.h
16051                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16052                         more than just the auth method
16053
16054         * src/NetworkManagerDevice.c
16055                 - Update network info at the appropriate times
16056
16057 2005-07-29  Ray Strode  <rstrode@redhat.com>
16058
16059         * src/NetworkManager.c (nm_info_handler): don't use input as format
16060         string (Spotted by Ian Jackson).
16061
16062 2005-07-27  Dan Williams  <dcbw@redhat.com>
16063
16064         * src/nm-dbus-nm.c
16065           src/nm-dbus-net.c
16066                 - Random cleanups of spacing
16067
16068         * gnome/applet/applet.h
16069           gnome/applet/other-network-dialog.c
16070           gnome/applet/passphrase-dialog.c
16071                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16072
16073         Patch from Bill Moss:
16074                 - Make Other Wireless Networks work again with encryption keys
16075
16076 2005-07-26  Dan Williams  <dcbw@redhat.com>
16077
16078         Patch from Steev <steev@steev.net>:
16079         * src/backends/NetworkManagerGentoo.c
16080           src/backends/Makefile.am
16081                 - Fix up Gentoo backend
16082
16083 2005-07-26  Robert Love  <rml@novell.com>
16084
16085         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16086
16087 2005-07-25  Robert Love  <rml@novell.com>
16088
16089         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16090           in the same group as the wireless networks, since they are all
16091           mutually exclusive.
16092
16093 2005-07-24  Ray Strode  <rstrode@redhat.com>
16094
16095         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16096         remove unneeded NULL arg from g_object_new().  Any
16097         warnings caused by not having the extra NULL are just a
16098         result of a bug in glib 2.7.0 - 2.7.2.
16099
16100 2005-07-22  Robert Love  <rml@novell.com>
16101
16102         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16103
16104 2005-07-22  Robert Love  <rml@novell.com>
16105
16106         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16107           parameters (gcc 4.0.2 warning fix).
16108
16109 2005-07-18  Robert Love  <rml@novell.com>
16110
16111         Suggested by Aaron Bockover (abockover@novell.com)
16112         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16113           s/Ascii/ASCII
16114         * gnome/applet/passphrase-dialog.c: ditto
16115         * gnome/applet/wireless-applet.glade: ditto
16116
16117 2005-07-13  Dan Williams  <dcbw@redhat.com>
16118
16119         Patch from Ray Strode <halfline@gmail.com>
16120         * vpn-daemons/vpnc/nm-vpnc-service.c
16121                 - Don't let vpnc daemonize, fixes some races with PID file reading
16122
16123 2005-07-13  Dan Williams  <dcbw@redhat.com>
16124
16125         Patch from Ray Strode <halfline@gmail.com>
16126         * Random cleanups for strict CFLAGS
16127
16128 2005-07-07  Dan Williams  <dcbw@redhat.com>
16129
16130         Patch from Derek Atkins <warlord@MIT.EDU>
16131         * src/nm-dbus-net.c:
16132                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16133
16134 2005-07-07  Dan Williams  <dcbw@redhat.com>
16135
16136         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16137         * src/backends/NetworkManagerGentoo.c
16138                 - Gentoo backend Static IP nameserver fixes
16139                 - General Gentoo backend goodness
16140
16141 2005-07-07  Dan Williams  <dcbw@redhat.com>
16142
16143         Patch from Bastien Nocera:
16144         * gnome/applet/applet.c
16145                 - Fix up error reporting when icons or glade files are missing
16146
16147 2005-07-07  Robert Love  <rml@novell.com>
16148
16149         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16150           are not any VPN connections above it.
16151
16152 2005-07-07  Robert Love  <rml@novell.com>
16153
16154         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16155
16156 2005-07-05  Robert Love  <rml@novell.com>
16157
16158         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16159           zero.
16160
16161 2005-07-05  Robert Love  <rml@novell.com>
16162
16163         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16164           on wired or unencrypted wireless.
16165
16166 2005-07-01  Robert Love  <rml@novell.com>
16167
16168         * src/NetworkManagerSystem.c: Print the error via strerror().
16169
16170 2005-06-30  Robert Love  <rml@novell.com>
16171
16172         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16173           then exit if the glade file is not found.  currently the application
16174           just hangs.
16175
16176 2005-06-30  Robert Love  <rml@novell.com>
16177
16178         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16179           explicitly up all interfaces on wake from sleep.
16180
16181 2005-06-30  Robert Love  <rml@novell.com>
16182
16183         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16184           with information about the currently active connection.
16185         * gnome/applet/applet.h: (ditto)
16186         * gnome/applet/wireless-applet.glade: (ditto), new file
16187
16188 2005-06-30  Robert Love  <rml@novell.com>
16189
16190         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16191         * src/nm-dbus-nm.c: print when we sleep and wake up.
16192         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16193         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16194           in /sbin unless D-BUS is, folks).
16195         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16196
16197 2005-06-27  Robert Love  <rml@novell.com>
16198
16199         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16200           case.
16201
16202 2005-06-27  Robert Love  <rml@novell.com>
16203
16204         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16205           items radios.
16206
16207 2005-06-26  Robert Love  <rml@novell.com>
16208
16209         * src/NetworkManagerDevice.c: be specific about which device in
16210           nm_info() message.
16211
16212 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16213
16214         * src/nm-netlink-monitor.c: correct spelling error.
16215
16216 2005-06-23  Robert Love  <rml@novell.com>
16217
16218         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16219         * gnome/applet/passphrase-dialog.c: more of that keyring!
16220
16221 2005-06-23  Robert Love  <rml@novell.com>
16222
16223         * configure.in: remove extraneous GNOMEKEYRING directives.
16224         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16225         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16226         * gnome/applet/passphrase-dialog.c: whitespace.
16227
16228 2005-06-23  Robert Love  <rml@novell.com>
16229
16230         * src/NetworkManagerDevice.c: division in assignment was flipped.
16231
16232 2005-06-23  David Zeuthen  <david@fubar.dk>
16233
16234         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16235         signal to the child to indicate that we got what we wanted when we
16236         see two new-lines right after each other.
16237         (nmwa_vpn_request_password): Pass a structure with several members
16238         instead of just the passwords
16239
16240 2005-06-23  Dan Williams <dcbw@redhat.com>
16241
16242         * src/NetworkManager.c
16243           src/NetworkManagerMain.h
16244                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16245                 - (nm_hal_init): new function, init libhal context then add devices
16246                 - (nm_hal_deinit): new function, clean up libhal context
16247                 - (nm_data_free): Move Hal cleanup here
16248                 - (main): check whether Hal is running, and if so, get a list of
16249                         network devices from it
16250
16251         * src/NetworkManagerDbus.c
16252                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16253                         and when it appears, get a list of network devices from it.  If
16254                         Hal goes away, clean up the libhal context
16255
16256 2005-06-22  Robert Love  <rml@novell.com>
16257
16258         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16259           permissions of scripts before executing.
16260
16261 2005-06-21  Robert Love  <rml@novell.com>
16262
16263         * initscript/SUSE/networkmanager: update.
16264         * src/backends/NetworkManagerSuSE.c: cleanup.
16265
16266 2005-06-21  Robert Love <rml@novell.com>
16267
16268         * gnome/applet/applet.c: use menu mnemonics.
16269         * gnome/applet/menu-items.c: (ditto)
16270
16271 2005-06-21  Robert Love  <rml@novell.com>
16272
16273         * applet/applet-dbus-devices.c: mark non-static functions static.
16274         * applet/applet-dbus-vpn.c: (ditto)
16275         * applet/applet.c: (ditto)
16276         * applet/nm-device.h: (ditto)
16277         * applet/other-network-dialog.c: (ditto)
16278         * applet/passphrase-dialog.c: (ditto)
16279         * NetworkManager.c: (ditto)
16280         * NetworkManagerDbus.c: (ditto)
16281         * NetworkManagerDevice.c: (ditto)
16282         * NetworkManagerPolicy.c: (ditto)
16283         * NetworkManagerUtils.c: (ditto)
16284         * NetworkManagerWireless.c: (ditto)
16285         * NetworkManagerWireless.h: (ditto)
16286         * nm-netlink-monitor.c: (ditto)
16287         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16288         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16289         * autoip.c: include autoip.h.
16290         * autoip.h: new file.  define get_autoip().
16291         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16292         * NetworkManagerDbus.h: remove duplicate definitions.
16293
16294 2005-06-20  Robert Love  <rml@novell.com>
16295
16296         * Makefile.am: Add missing intltool-foo.in generated files to
16297           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16298           with the start of stuff to cleanup on 'distclea'.
16299         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16300           stuff right and 'distcheck' works.
16301         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16302           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16303           Makefile.am for each.  And systray/Makefile needs to be redone.
16304
16305 2005-06-19  Dan Williams <dcbw@redhat.com>
16306
16307         * src/NetworkManagerDevice.c
16308         - (nm_device_wireless_process_scan_results): scan every 20s when
16309           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16310
16311 2005-06-19  Dan Williams <dcbw@redhat.com>
16312
16313         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16314
16315 2005-06-18  Ray Strode <rstrode@redhat.com>
16316
16317         * src/nm-netlink-monitor.c 
16318         (nm_netlink_monitor_event_handler): check for the presence
16319         of either error condition not both. 
16320         
16321         (nm_netlink_monitor_error_handler): emit error signal if
16322         error occurs.
16323
16324         (nm_netlink_monitor_event_handler),
16325         (nm_netlink_monitor_error_handler),
16326         (nm_netlink_monitor_disconnect_handler): if an 
16327         assertion fails disconnect the event handler to prevent 
16328         infinite loops.
16329
16330         * src/nm-netlink-monitor.h: add new error condition
16331         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16332
16333 2005-06-18  Ray Strode <rstrode@redhat.com>
16334
16335         * src/nm-netlink-monitor.c 
16336         (nm_netlink_monitor_event_handler): remove bogus < 0
16337         check on unsigned value and return early if the kernel
16338         didn't send any bytes.
16339
16340 2005-06-17  Robert Love  <rml@novell.com>
16341
16342         * initscript/SUSE/networkmanager: Change the Provides and default
16343         run levels
16344
16345 2005-06-16  Dan Williams <dcbw@redhat.com>
16346
16347         Patch from Robert Love:
16348         * gnome/applet/applet.c
16349                 - Beautify some applet menu item names
16350
16351 2005-06-17  David Zeuthen  <davidz@redhat.com>
16352
16353         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16354         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16355         Also add new methods can_export, import_file and export.
16356
16357         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16358         to the main UI
16359
16360         * gnome/vpn-properties/nm-vpn-properties.c:
16361         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16362         nm-vpn-ui-interface.h.
16363         (update_edit_del_sensitivity): Also update "Export" sensitivity
16364         (add_vpn_connection): Also add new SVC_NAME column
16365         (import_settings): New function
16366         (retrieve_data_from_selected_connection): New function
16367         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16368         this function
16369         (export_cb): New function
16370         (init_app): Also setup the "export" widget
16371         (main): Support the --import-service and --import-file commandline
16372         arguments
16373
16374         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16375         D-BUS 0.34
16376
16377 2005-06-16  Dan Williams <dcbw@redhat.com>
16378
16379         Patch from Robert Love:
16380         * gnome/applet/menu-items.c
16381                 - (network_menu_item_new): pass -1 as wireless network
16382                         menu items height size request rather than ascent / 2
16383
16384 2005-06-16  Dan Williams <dcbw@redhat.com>
16385
16386         * Clean up wording in Wireless Scan Methods menu items and constants
16387
16388 2005-06-16  Robert Love  <rml@novell.com>
16389
16390         * po/POTFILES.in
16391                 - remove gtkcell* files
16392
16393 2005-06-15  Dan Williams <dcbw@redhat.com>
16394
16395         Patch from Robert Love: make the applet stetic
16396
16397         * gnome/applet/Makefile.am
16398                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16399
16400         * gnome/applet/gtkcellview.h
16401           gnome/applet/gtkcellview.c
16402           gnome/applet/gtkcellrendererprogress.h
16403           gnome/applet/gtkcellrendererprogress.c
16404                 - Removed
16405
16406         * gnome/applet/menu-items.c
16407                 - Progress bars are 5:1 size ratio
16408                 - Use GTK progress bars rather than internal ones
16409
16410 2005-06-15  Dan Williams <dcbw@redhat.com>
16411
16412         Patch from Robert Love:
16413         * initscript/SUSE/networkmanager
16414                 - Fix typo
16415
16416 2005-06-15  Dan Williams <dcbw@redhat.com>
16417
16418         * src/backends/NetworkManagerSuSE.c
16419           src/backends/NetworkManagerRedHat.c
16420           src/backends/NetworkManagerDebian.c
16421                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16422
16423 2005-06-15  Dan Williams <dcbw@redhat.com>
16424
16425         * src/backends/NetworkManagerDebian.c
16426                 - Add nm_system_device_get_use_dhcp() to debian backend
16427
16428         Patch from Kay Sievers:
16429         * src/backends/NetworkManagerSuSE.c
16430                 - Update debian backend for static IP nameservers
16431
16432         * src/NetworkManagerDevice.c
16433                 - Actually set the device to use static IP or DHCP rather
16434                         than always DHCP
16435
16436 2005-06-15  Dan Williams <dcbw@redhat.com>
16437
16438         Patch from Thom May:
16439         * src/backends/NetworkManagerDebian.c
16440                 - Update debian backend for static IP nameservers
16441
16442 2005-06-15  Dan Williams <dcbw@redhat.com>
16443
16444         Patches from Robert Love:
16445         * gnome/applet/wireless-applet.glade
16446                 - Tighten up wording
16447
16448         * src/NetworkManagerDevice.c
16449                 - Remove misplaced ';'
16450
16451         * configure.in
16452           initscript/Makefile.am
16453           initscript/SUSE/Makefile.am
16454           initscript/SUSE/networkmanager
16455                 - Add SUSE initscript
16456
16457 2005-06-12  David Zeuthen  <davidz@redhat.com>
16458
16459         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16460
16461         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16462
16463         * gnome/vpn-properties/nm-vpn-properties.c: New file
16464
16465         * gnome/vpn-properties/Makefile.am: New file
16466
16467         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16468         array of passwords
16469
16470         * src/vpn-manager/nm-vpn-manager.c
16471         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16472         instead of just a single one
16473
16474         * src/vpn-manager/nm-dbus-vpn.c:
16475         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16476         here
16477         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16478
16479         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16480         Change the interface here to give a list of passwords. Also, don't
16481         require username, but do require service
16482
16483         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16484         the binary for the auth-dialog and use that instead of putting up a
16485         dialog asking for a single password
16486
16487         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16488         however do remember the service
16489
16490         * gnome/applet/main.c (main): Setup i18n
16491
16492         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16493         connection to '%s'" to the tooltip if we are connected using VPN
16494         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16495         key to determine whether we the auth-dialog needs to
16496         reprompt. Also cope with the fact that the auth-dialog now returns
16497         an array of passwords.
16498         (nmwa_menu_configure_vpn_item_activate): New handler for
16499         "Configure VPN..." menu item
16500         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16501         (is_vpn_available): New function to determine if we got any
16502         NM-compatible VPN software installed
16503         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16504         items only if we have NM-compatible VPN software installed
16505         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16506         logic for detecting when VPN connections are removed
16507
16508         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16509         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16510         since these are defined elsewhere
16511
16512         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16513         function used to keep track of whether the last attempt succeded
16514         (nmwa_dbus_filter): Update last_attempt according to whether the
16515         VPN connection could be established or not
16516
16517         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16518         Change prototype to take an array of passwords, not just a single
16519         password
16520
16521         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16522         update service, not user
16523         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16524         dbus_active_vpn_name is not NULL before using it
16525         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16526         string array instead of assuming a single password
16527
16528         * gnome/applet/applet-dbus-info.c:
16529         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16530         user name; don't read from gconf
16531
16532         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16533         VPN_NAME_FILES_DIR
16534
16535         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16536
16537         * configure.in: Add checks for gmodule-2.0.
16538         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16539         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16540         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16541         for details
16542
16543         * vpn-daemons/Makefile.am: Removed
16544
16545         * vpn-daemons/README: New file to describe extensions points for VPN
16546         software
16547
16548 2005-06-10  Dan Williams <dcbw@redhat.com>
16549
16550         * src/backends/NetworkManagerRedHat.c
16551                 - (get_current_profile_name): new function, grab current network profile name from
16552                         /etc/sysconfig/network
16553                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16554                         update an IP4 Config structure's settings from it
16555                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16556                         get DNS info from current network profile
16557
16558 2005-06-09  Dan Williams <dcbw@redhat.com>
16559
16560         Patch from Robert Love:
16561         * src/NetworkManagerDevice.c
16562           src/NetworkManagerUtils.c
16563                 - 64-bit build fixes
16564
16565 2005-06-09  Dan Williams <dcbw@redhat.com>
16566
16567         Patch from Kay Sievers and Robert Love:
16568         * configure.in
16569           src/backends/Makefile.am
16570           src/backends/NetworkManagerSuSE.c
16571                 - Add SuSE support
16572
16573 2005-06-09  Dan Williams <dcbw@redhat.com>
16574
16575         * NetworkManager.h
16576                 - Add NMWirelessScanMethod enum for scan methods
16577
16578         * gnome/applet/applet-dbus-devices.c
16579                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16580                 - (nmwa_dbus_update_scanning_enabled): remove
16581                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16582                         since it got removed
16583                 - (nmwa_dbus_enable_scanning): remove
16584
16585         * gnome/applet/applet-dbus-info.c
16586                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16587                         update the wireless scanning method from NMI
16588                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16589                         method value to NetworkManager
16590                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16591
16592         * gnome/applet/applet-dbus-info.h
16593                 - Add prototype for nmi_dbus_signal_update_scan_method
16594
16595         * gnome/applet/applet.c
16596                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16597                         Wireless Scanning menu based on current wireless scan method
16598                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16599                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16600                         and update our menu items to make sure the right one is checked
16601                 - (nmwa_set_scanning_enabled_cb): remove
16602                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16603                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16604                         Scanning menu item
16605                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16606                         from GConf
16607                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16608                         so we get notified of preference values too
16609                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16610
16611         * gnome/applet/applet.h
16612                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16613                 - Add wireless scan method member to applet data
16614                 - Remove pause_scanning_item, add Wireless Scanning submenu
16615
16616         * src/NetworkManager.c
16617                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16618                 - (main): grab scanning method from NMI if we can
16619
16620         * src/NetworkManagerDbus.c
16621                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16622                         nm_dbus_update_wireless_scan_method()
16623                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16624                         from NMI
16625                 - (nm_dbus_nmi_is_running): redundant function, removed
16626                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16627                         when NMI comes back
16628
16629         * src/NetworkManagerDevice.c
16630                 - (nm_device_is_activated): return TRUE if the device is activated
16631                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16632                         and we are activated
16633
16634         * src/nm-dbus-nm.c
16635                 - (nm_dbus_nm_set_scanning_enabled): removed
16636                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16637                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16638
16639 2005-06-09  Dan Williams <dcbw@redhat.com>
16640
16641         * NetworkManager.h
16642           src/vpn-manager/nm-vpn-service.c
16643                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16644
16645 2005-05-27  Dan Williams <dcbw@redhat.com>
16646
16647         * vpn-daemons/vpnc/nm-vpnc-service.c
16648                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16649                         Should fix the bug where the VPN connection terminates the first time.
16650
16651 2005-05-20  Dan Williams <dcbw@redhat.com>
16652
16653         * NetworkManager.h
16654                 - Differentiate VPN config signals between bad VPN config options
16655                         and bad IP config
16656
16657         * gnome/applet/applet-dbus-info.h
16658                 - Add prototypes for wireless network and vpn connection update functions
16659
16660         * gnome/applet/applet-dbus.c
16661                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16662
16663         * gnome/applet/applet.c
16664                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16665                         error signals
16666                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16667                         propogation to NetworkManager
16668                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16669                         notify propogation to NetworkManager
16670
16671         * src/NetworkManagerDbus.c
16672                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16673                         are updating so a network can be removed from it if necessary
16674
16675         * src/vpn-manager/nm-vpn-manager.c
16676                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16677
16678         * vpn-daemons/vpnc/nm-vpnc-service.c
16679                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16680                 - (nm_vpnc_dbus_signal_launch_failed): remove
16681                 - (nm_vpnc_dbus_signal_connect_failed): remove
16682                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16683                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16684                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16685                         for new generalized error signal function, remove config file stuff
16686                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16687                         we can write configuration options to it
16688                 - (nm_vpnc_config_file_generate): removed
16689                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16690                 - (nm_vpnc_config_options_validate): validate the config options we receive
16691                         from NetworkManager to block potential exploits
16692                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16693                         starting vpnc
16694                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16695                         to NetworkManager
16696
16697 2005-05-16  Dan Williams  <dcbw@redhat.com>
16698
16699         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16700                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16701                         is not "connect"
16702
16703 2005-05-16  Dan Williams  <dcbw@redhat.com>
16704
16705         Patch from Tomislav Vujec <tvujec@redhat.com>
16706         * gnome/applet/applet-dbus-info.c
16707                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16708                         GConf and pass them to NetworkManager.  New key is 'routes' under
16709                         the VPN connection, and should be a string list
16710
16711         * src/NetworkManagerSystem.c
16712                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16713                         set them on the device when we set the rest of the VPN config.  Ensure
16714                         they are in the correct format since they are passed directly to the
16715                         command line.
16716
16717         * src/backends/NetworkManagerRedHat.c
16718           src/backends/NetworkManagerDebian.c
16719                 - (nm_system_device_add_route_via_device_with_iface): new function
16720
16721         * src/vpn-manager/nm-dbus-vpn.c
16722                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16723
16724         * src/vpn-manager/nm-vpn-manager.c
16725                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16726                         them into the IP4 config functions
16727
16728 2005-05-15  Dan Williams  <dcbw@redhat.com>
16729
16730         From Filip Miletic:
16731         * po/sr.po
16732           po/sr@Latn.po
16733           configure.in
16734                 - Serbian translation added
16735
16736 2005-05-15  Dan Williams  <dcbw@redhat.com>
16737
16738         * dispatcher-daemon/NetworkManagerDispatcher.c
16739                 - (main): sync arguments with NetworkManager and the applet, now use
16740                         "--no-daemon" rather than "daemon=no"
16741                 - (nmd_print_usage): Fix script path in usage message
16742
16743 2005-05-15  Dan Williams  <dcbw@redhat.com>
16744
16745         * src/NetworkManagerDevice.[ch]
16746           src/NetworkManagerPolicy.c
16747           src/NetworkManager.c
16748           src/nm-dbus-nm.c
16749                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16750                         longer send the DeviceNoLongerActive signal unconditionally, but only
16751                         when the device is actually active.
16752
16753         * dispatcher-daemon/NetworkManagerDispatcher.c
16754                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16755                         and simplify the logic
16756                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16757                         we free it later on
16758
16759         * initscript/RedHat/Makefile.am
16760           initscript/RedHat/NetworkManagerDispatcher
16761                 - Add initscript for NetworkManagerDispatcher
16762
16763
16764         Patch from Bill Moss:
16765         * dispatcher-daemon/NetworkManagerDispatcher.c
16766                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16767
16768         * src/NetworkManagerDbus.c
16769                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16770                         and DeviceNowActive gets signaled, then the device has a new IP address
16771                         anyway.  There's no need for a separate signal.
16772
16773         * src/NetworkManagerDevice.c
16774                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16775
16776         * src/NetworkManagerPolicy.c
16777                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16778                         activates successfully.  This kind of went missing when I reworked the
16779                         activation code.
16780
16781 2005-05-15  Dan Williams  <dcbw@redhat.com>
16782
16783         * configure.in
16784                 - Check for dhcdbd and error if its not found
16785
16786         * src/dhcp-manager/Makefile.am
16787           src/dhcp-manager/nm-dhcp-manager.c
16788                 - Use path to dhcdbd that configure found
16789
16790 2005-05-14  Dan Williams  <dcbw@redhat.com>
16791
16792         * gnome/applet/nm-device.c
16793                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16794                         sort wireless networks alphabetically
16795
16796         * gnome/applet/applet-dbus-devices.c
16797                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16798                         before copying them over to the GUI
16799
16800 2005-05-14  Dan Williams  <dcbw@redhat.com>
16801
16802         * src/NetworkManager.c
16803                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16804                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16805                         the device list, as does nm_get_active_device() which is called from
16806                         nm_vpn_manager_deactivate_vpn_connection().
16807
16808 2005-05-14  Dan Williams  <dcbw@redhat.com>
16809
16810         * NetworkManager.h
16811                 - Add signals for VPN Launch and Connect failures
16812
16813         * gnome/applet/applet-dbus.c
16814                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16815
16816         * gnome/applet/applet.c
16817                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16818                         function to handle all VPN failure messages
16819                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16820                         function to hanlde all VPN failure  messages
16821                 - (show_warning_dialog): work around focus-stealing prevention
16822
16823         * gnome/applet/other-network-dialog.c
16824           gnome/applet/passphrase-dialog.c
16825                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16826                         problem where it never enabled for ASCII Key and Hex Key types
16827
16828         * gnome/applet/wireless-applet.glade
16829                 - Add window title to Other Wireless Network Dialog
16830
16831         * src/vpn-manager/nm-dbus-vpn.c
16832                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16833                         function to handle all VPN failure messages
16834
16835         * src/vpn-manager/nm-vpn-manager.c
16836                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16837
16838         * vpn-daemons/vpnc/nm-vpnc-service.c
16839                 - (nm_vpnc_dbus_signal_launch_failed): new function
16840                 - (nm_vpnc_dbus_signal_connect_failed): new function
16841                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16842                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16843                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16844                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16845
16846 2005-05-11  Dan Williams  <dcbw@redhat.com>
16847
16848         * vpn-daemons/vpnc/nm-vpnc-service.c
16849                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16850                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16851                         file exists before trying to write it out.
16852
16853 2005-05-10  Dan Williams  <dcbw@redhat.com>
16854
16855     * gnome/applet/applet-dbus-device.c
16856         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16857             prevented just entering ESSID and leaving key and key type up to
16858             NetworkManager (which should have them already cached)
16859
16860 2005-05-08  Dan Williams  <dcbw@redhat.com>
16861
16862         * src/NetworkManagerPolicy.c
16863                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16864                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16865                         fix a situation where NM is told to terminate and the device stops activation,
16866                         but the main thread isn't aware of that because it would never have run
16867                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16868                         had already quit.
16869
16870         * src/NetworkManagerDevice.c
16871                 - (nm_device_probe_wired_link_state): cosmetic fixes
16872                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16873                         we've failed to activate or been canceled.
16874                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16875
16876 2005-05-08  Dan Williams  <dcbw@redhat.com>
16877
16878         * src/NetworkManagerWireless.c
16879                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16880                         value of WEXT quality structures, and add a debug message when we cannot
16881                         determine any quality % at all
16882
16883 2005-05-08  Dan Williams  <dcbw@redhat.com>
16884
16885         * src/dhcp-manager/nm-dhcp-manager.c
16886                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16887                         it goes down.
16888
16889 2005-05-06  Dan Williams  <dcbw@redhat.com>
16890
16891         * gnome/applet/applet-dbus-device.c
16892           gnome/applet/applet-dbus-info.c
16893           gnome/applet/applet-dbus.c
16894           gnome/applet/applet.c
16895           gnome/applet/applet.h
16896                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16897
16898         * gnome/applet/applet-dbus.c
16899                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16900                         so we notice when wired device's carriers come back on.  Should
16901                         fix issue with wired devices being grayed out even if the cable
16902                         is in, for devices that support carrier detection.
16903
16904         * gnome/applet/applet.c
16905                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16906                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16907                         tooltip message
16908                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16909                         Fix situation where applet wouldn't respond to menu selections
16910
16911         * src/NetworkManager.c
16912           src/NetworkManagerDevice.c
16913           src/NetworkManagerDbus.c
16914           src/NetworkManagerDbus.h
16915                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16916
16917         * src/NetworkManagerDbus.c
16918                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16919                         Remove, no longer used or relevant
16920                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16921                 - (nm_dbus_schedule_device_status_change_signal): add
16922
16923         * src/NetworkManagerDevice.c
16924                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16925                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16926                         ie don't deactivate them unless explicitly told to by the user.  Also send
16927                         CARRIER_OFF / CARRIER_ON signals when link changes
16928                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16929                         Don't print error message when device is no longer around
16930                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16931                         not just during activation
16932
16933         * src/NetworkManagerPolicy.c
16934                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16935                         auto-device-selection.
16936                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16937
16938         * src/NetworkManagerSystem.c
16939                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16940                         is no longer present (Bill Moss)
16941
16942         * src/backends/shvar.c
16943                 - (svOpenFile): Open read-only to make SELinux happy
16944
16945         * src/backends/NetworkManagerRedHat.c
16946                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16947                         the path to the ifcfg-* files
16948
16949 2005-05-05  Dan Williams  <dcbw@redhat.com>
16950
16951         * Expose activation stages to NetworkManager clients, like the applet
16952         * Add Diana's progress icons to the applet, cued off NM activation stage
16953         * Use more descriptive tooltips, cued off NM activation stage
16954
16955 2005-05-05  Ray Strode  <rstrode@redhat.com>
16956
16957         * src/nm-netlink-monitor.c:
16958                 - Use clear_event_source instead of g_nullify_pointer() again.
16959
16960 2005-05-05  Dan Williams  <dcbw@redhat.com>
16961
16962         * gnome/applet/main.c
16963                 - Fix session management so the applet is actually managed now
16964
16965         * gnome/applet/passphrase-dialog.c
16966                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16967
16968 2005-05-05  Dan Williams  <dcbw@redhat.com>
16969
16970         Patch from Bill Moss:
16971         * gnome/libnm_glib/libnm_glib.c
16972                 - Fix for dbus-0.33
16973
16974 2005-05-05  Dan Williams  <dcbw@redhat.com>
16975
16976         Suggestion from Bill Moss:
16977         * src/NetworkManagerSystem.c
16978                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16979
16980
16981         * src/NetworkManager.c
16982                 - (nm_data_free): move destruction of the various managers after
16983                         release of device list, because deactivating and freeing a device
16984                         requires at least the named manager
16985                 - (nm_poll_and_update_wireless_link_state):
16986                   (nm_device_link_activated):
16987                   (nm_device_link_deactivated):
16988                         don't grab the device list lock when actually updating device
16989                         link status or strength, since nm_device_set_link_active()
16990                         needs to call nm_get_active_device(), which also locks the device list.
16991
16992         * src/NetworkManagerDevice.c
16993                 - (nm_device_set_link_active): if a device's link switches from off->on,
16994                         and it's wired, and the active device is wireless (or there is no
16995                         active device), activate the new device whose link just came on
16996                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16997                         my only calling the link to the current ap "failed" when more than 2
16998                         consecutive link checks have failed
16999
17000 2005-05-04  Dan Williams  <dcbw@redhat.com>
17001
17002         * src/NetworkManagerDevice.c
17003                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17004                         but let link_to_specific_ap() do the locking where it needs
17005
17006         Patch from Bill Moss:
17007         * src/NetworkManagerSystem.c
17008                 - Set MTU of VPN devices to 1412
17009
17010 2005-05-04  Dan Williams  <dcbw@redhat.com>
17011
17012         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17013
17014         * Fix some holes in device activation and retaining the currently connected
17015                 access point
17016
17017 2005-05-03  Dan Williams  <dcbw@redhat.com>
17018
17019         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17020           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17021           means you need dhcdbd, which you can get here (get the latest one):
17022
17023                 http://people.redhat.com/jvdias/dhcdbd/
17024
17025           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17026           interface as dhcdbd.
17027
17028         * Rewrite device activation to facilitate the new DHCP infrastructure and
17029           future improvements.  Its now "activation request" based, ie there is a single
17030           activation request composed of the device, access point, and other info which
17031           follows the entire activation process.  There are 5 stages of the activation
17032           process which correspond to:
17033
17034                 1) Device preparation
17035                 2) Device configuration (bring it up, set ESSID/Key/etc)
17036                 3) IP Config Start (fire off DHCP if we're using it)
17037                 4) IP Config Get (grab config from DHCP or static config files)
17038                 5) IP Config Commit (set device's IP address, DNS, etc)
17039
17040           Note that there is no longer a "scanning" step, since the access point must
17041           be known _before_ activation starts.  If the access point drops out or does
17042           not exist for some reason, the entire activation process fails and must be
17043           restarted for a different access point or device.
17044
17045         Patch from Bill Moss:
17046         * gnome/applet/applet.c
17047                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17048
17049 2005-04-27  Dan Williams  <dcbw@redhat.com>
17050
17051         * gnome/applet/applet-dbus-vpn.c
17052           gnome/applet/applet.c
17053           gnome/applet/applet.h
17054                 - Fix up active VPN handling so that we reliably know when a VPN
17055                         connection has been deactivated
17056
17057         * src/vpn-manager/nm-vpn-manager.c
17058                 - Remove duplicate VPNConnectionChange signal
17059
17060 2005-04-27  Dan Williams  <dcbw@redhat.com>
17061
17062         Patch from Peter Jones:
17063         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17064
17065         Patch from Bill Moss:
17066         * src/NetworkManagerSystem.c
17067                 - Fix checking of return value from ioctl()
17068
17069 2005-04-27  Dan Williams  <dcbw@redhat.com>
17070
17071         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17072         * Warn and exit if icons cannot be found
17073
17074 2005-04-27  Dan Williams  <dcbw@redhat.com>
17075
17076         Patch from Tom Parker:
17077         * Update debian backend
17078
17079 2005-04-27  Dan Williams  <dcbw@redhat.com>
17080
17081         * Merge the applet and the info-daemon, and move the converged
17082                 applet under gnome/applet
17083         * Move libnm_glib to gnome/libnm_glib
17084         * Convert most dbus calls between the applet, info-daemon, and NM
17085                 into async calls
17086         * Fix a few things valgrind noticed
17087         * Make NM broadcast state more reliably
17088
17089 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17090
17091         * configure.in: Added ne in ALL_LINGUAS
17092
17093 2005-04-15  Dan Williams  <dcbw@redhat.com>
17094
17095         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17096                 code for dbus 0.2x versions
17097
17098 2005-04-15  Dan Williams  <dcbw@redhat.com>
17099
17100         Patches from Tom Parker:
17101         - Fix memleaks
17102         - Join with worker thread rather than polling for its exit
17103
17104         Patch from Bill Moss:
17105         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17106
17107 2005-04-15  Dan Williams  <dcbw@redhat.com>
17108
17109         - Fixes to pass 'make distcheck'
17110
17111 2005-04-15  Dan Williams  <dcbw@redhat.com>
17112
17113         Initial VPN Support
17114                 - supports 'vpnc'
17115                 - reworks device IP configuration, backend files have changed and will need
17116                         to be updated for all distributions.  I will try to do what I can for
17117                         them, but I cannot test them.
17118
17119         - Move named directory to src/named-manager
17120         - Make backends directory self-contained
17121
17122 2005-04-06  Dan Williams  <dcbw@redhat.com>
17123
17124         Add debug code for socket/file descriptor leaks.  We register every socket
17125         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17126         list of sockets that we forgot to close on shutdown.  This also consolidates
17127         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17128
17129 2005-04-06  Dan Williams  <dcbw@redhat.com>
17130
17131         * dhcpcd/dhcpcd.c
17132                 - (dhcp_interface_free): fix a file descriptor leak that may have
17133                         caused network drivers to not unload due to refcounts > 0
17134
17135 2005-04-04  Dan Williams  <dcbw@redhat.com>
17136
17137         * panel-applet/NMWirelessAppletDbus.c
17138                 - (nmwa_dbus_call_nm_method): remove some commented code
17139
17140         * src/NetworkManagerAPList.[ch]
17141                 - (nm_ap_list_remove_ap_by_essid): new function
17142
17143         * src/NetworkManagerDevice.c
17144                 - (nm_device_wireless_force_use): remove access points from the ignore list
17145                         when the user forces them
17146
17147         * src/nm-dbus-device.c
17148                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17149
17150 2005-04-04  Dan Williams  <dcbw@redhat.com>
17151
17152         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17153
17154 2005-04-04  Dan Williams  <dcbw@redhat.com>
17155
17156         * src/NetworkManagerDevice.c:
17157                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17158                         of only erroring after the second consecutive scan times out.  Also
17159                         don't exit when the card requires more time than we can give it, just
17160                         log the event and continue.
17161
17162 2005-04-01  Steve Murphy  <murf@e-tools.com>
17163
17164         * configure.in: Added "rw" to ALL_LINGUAS.
17165
17166 2005-04-01  Dan Williams <dcbw@redhat.com>
17167
17168         Perform scans during device activation, if needed.  Both activation 
17169         and scans run in the same GMainContext.  Therefore, if an access point
17170         is not found by the time the device starts activation, it will not
17171         be available until after activation.  We now try to scan during
17172         activation (in nm_wa_test) every 15s so that all available access
17173         points are more likely to be found and available for the activation
17174         procedure.
17175
17176         Also change nm_wireless_link_state_handle() to only update the "best"
17177         AP if we are not forcing a device and if we are not about to change
17178         state.  This attempts to work around a race when forcing a device,
17179         where the forced AP would get cleared out too soon by the link state
17180         checking timeout in the main thread, and the activation attempt with
17181         that AP would fail.
17182
17183 2005-04-01  Dan Williams <dcbw@redhat.com>
17184
17185         * po/POTFILES.in
17186                 - Update with new translatables
17187
17188 2005-03-31  Dan Williams <dcbw@redhat.com>
17189
17190         * panel-applet/NMWirelessAppletDbus.c
17191                 - Fix device names now that hal has changed device parenting for
17192                         network devices.
17193
17194 2005-03-31  Dan Williams <dcbw@redhat.com>
17195
17196         Tighten up handling of wireless devices that don't support wireless
17197         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17198         hadn't been doing pseudo-scanning for a while either and would just
17199         spin waiting for an access point.  They are now manual devices where
17200         the user must choose the access point from the menu every time.  All
17201         "allowed" access points are listed in the applet's menu regardless
17202         of whether or not they can be seen by the card, since it can't scan
17203         anyway.
17204
17205         * src/NetworkManager.c
17206                 - (nm_wireless_link_state_handle): new function, but only update
17207                         the "best" ap for non-scanning devices when its not activating,
17208                         and when no device is being forced on the card
17209                 - (nm_link_state_monitor): split wireless link state handling out
17210                         into separate function
17211
17212         * src/NetworkManagerDevice.c
17213                 - (nm_device_copy_allowed_to_dev_list): new function
17214                 - (nm_device_new): populate non-scanning cards' AP lists with
17215                         access points from the "allowed" list
17216                 - (nm_device_new): don't start a scanning timeout for devices that
17217                         can't scan
17218                 - (nm_device_activation_schedule_finish): new parameter, should be
17219                         the AP that failed to be connected to, pass it on to the
17220                         activation finish function in NetworkManagerPolicy.c
17221                 - (nm_device_activate_wireless): don't ever try to get a new AP
17222                         for non-scanning devices, just fail.  The user must choose
17223                         a new access point manually.
17224                 - (nm_device_activate): grab the AP that failed connection and
17225                         pass it on
17226                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17227                         a link to it, user must manually choose a new one
17228                 - (nm_device_do_pseudo_scan): remove function
17229                 - (nm_device_wireless_process_scan_results): remove bits for non-
17230                         scanning cards since they never get here
17231                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17232                         and fake the scan list for test devices a bit earlier
17233
17234         * src/NetworkManagerPolicy.c
17235                 - (nm_policy_activation_finish): use the failed_ap that we get
17236                         passed rather than getting the best_ap from the card, which
17237                         may have changed since we were scheduled
17238                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17239                         update their scan list directly from the allowed list when
17240                         we get updates to the allowed list from NetworkManagerInfo
17241
17242         * src/NetworkManagerPolicy.h
17243                 - New member for failed access point in NMActivationResult
17244
17245   -------------------------------------
17246
17247         Driver Notification patch: notifies the user when their driver
17248                 sucks.  Gives them the option to ignore further insertions
17249                 of the card that has the sucky driver.
17250
17251         * NetworkManager.h
17252                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17253                         enum and replace it with NO_CARRIER_DETECT and
17254                         NO_WIRELESS_SCAN
17255
17256         * panel-applet/NMWirelessApplet.[ch]
17257                 - Merge essid.glade -> wireless-applet.glade
17258                 - Implement the "Your driver sucks" notification dialog
17259
17260         * panel-applet/NMWirelessAppletDbus.c
17261                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17262                 - Grab hardware address for each device from NM too
17263                 - Check whether the driver for each device sucks or not whenever
17264                         a new device is noticed
17265
17266         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17267                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17268
17269         * src/NetworkManager.c
17270                 - Fix a double-unref on device removal
17271
17272         * src/NetworkManagerUtils.c
17273                 - Set appropriate driver support level on a device that doesn't
17274                         support scanning or carrier detection
17275
17276         * src/nm-dbus-device.c
17277                 - New "getHWAddress" dbus method on devices
17278                 - getSupportsCarrierDetect -> getDriverSupportLevel
17279
17280 2005-03-31  Dan Williams <dcbw@redhat.com>
17281
17282         * src/NetworkManagerDevice.c
17283                 - (nm_device_wireless_scan): Fix leak of scan results in some
17284                         instances
17285
17286 2005-03-29  Dan Williams <dcbw@redhat.com>
17287
17288         * src/NetworkManager.c
17289                 - (nm_poll_and_update_wireless_link_state): make code less indented
17290
17291         Patch from Bill Moss:
17292         * src/NetworkManager.c
17293                 - (nm_device_update_link_state): Update signal strength on wireless
17294                         devices every time we update link state too.
17295
17296 2005-03-29  Dan Williams <dcbw@redhat.com>
17297
17298         * src/NetworkManagerDevice.c
17299                 - (nm_device_set_essid): Work around Orinoco cards which need
17300                         extra time after setting the ESSID
17301
17302 2005-03-29  Dan Williams <dcbw@redhat.com>
17303
17304         * src/NetworkManagerDevice.c
17305                 - Merge one more bit of Peter Jones' completion patch
17306
17307 2005-03-29  Dan Williams <dcbw@redhat.com>
17308
17309         * src/NetworkManagerDevice.c
17310                 - (nm_device_force_use): Fix possible segfault
17311
17312 2005-03-29  Dan Williams <dcbw@redhat.com>
17313
17314         * src/NetworkManagerDevice.c
17315                 - Use iw_get_ext() where we should rather than iw_set_ext()
17316
17317 2005-03-29  Dan Williams <dcbw@redhat.com>
17318
17319         * src/NetworkManagerDevice.c
17320                 - (nm_device_set_up_down): remove check for unsupported devices
17321                         that caused NM to not bring devices up when they were
17322                         added to the device list.
17323
17324 2005-03-28  Dan Williams <dcbw@redhat.com>
17325
17326         * src/NetworkManagerDevice.c
17327                 - (mdio_read): Fix two bugs that caused all devices to fail
17328                         the MII carrier detection support checks
17329
17330 2005-03-26  Dan Williams <dcbw@redhat.com>
17331
17332         * src/NetworkManagerDevice.c
17333                 - (nm_device_wireless_scan): Remove duplicated scanning code
17334
17335 2005-03-25  Dan Williams <dcbw@redhat.com>
17336
17337         * panel-applet/NMWirelessApplet.c
17338                 - (nmwa_about_cb): Add some more contributors
17339                 - (nmwa_update_state): show the applet when there's no connection
17340                 - Enable the "Stop/Resume all wireless devices" option in the
17341                         context menu
17342                 - New "no connection" icon
17343
17344         * src/NetworkManager.c
17345                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17346                         wireless is disabled or we're asleep
17347
17348         * src/NetworkManagerDHCP.c
17349                 - Remove trailing "\n" on debug messages
17350
17351         * src/NetworkManagerDbus.c
17352                 - (nm_dbus_network_status_from_data): new state "asleep"
17353
17354         * src/NetworkManagerDevice.c
17355                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17356                         latency and wait times for most operations
17357                 - (nm_device_wireless_scan): Don't scan when asleep
17358
17359         * src/NetworkManagerPolicy.c
17360                 - (nm_policy_get_best_device): return no device when asleep
17361                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17362                         for all wireless devices on update, not just active device
17363
17364         * src/NetworkManagerUtils.c
17365                 - Merge Peter Jones' "completion" patch
17366
17367         * src/nm-dbus-nm.c
17368                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17369                         we're told to disable them
17370                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17371
17372         * utils/nm-utils.h
17373                 - New variants of the warn/info/error/debug print functions that can take
17374                         variables rather than static strings
17375
17376 2005-03-24  Dan Williams <dcbw@redhat.com>
17377
17378         * src/NetworkManagerUtils.c
17379                 - (nm_get_device_driver_name): driver names are now on the parents of
17380                         "Network Interface" objects, so look for them there
17381
17382 2005-03-24  Dan Williams <dcbw@redhat.com>
17383
17384         * test/nmtest.c
17385                 - Escape some forgotten object paths before we shove them through dbus
17386
17387 2005-03-24  Dan Williams <dcbw@redhat.com>
17388
17389         * dhcpcd/dhcpcd.[ch]
17390           src/NetworkManagerDHCP.c
17391                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17392                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17393
17394         * src/NetworkManagerDbus.c
17395                 - spacing cleanups
17396
17397         * src/nm-dbus-dhcp.c
17398                 - Make the API suck less.  There is now only 1 type of each function,
17399                         ie only "getInteger" and no longer also "getIntegerv".  All types
17400                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17401                         that will never have more than 1 element.  This should simplify
17402                         things greatly.
17403
17404         * test/nm-dhcp-opt-test.c
17405                 - Make the tool not segfault
17406                 - adapt to new DHCP Options API
17407
17408 2005-03-22  Dan Williams <dcbw@redhat.com>
17409
17410         * src/NetworkManager.c
17411                 - (nm_wired_link_deactivated): actually ignore netlink events from
17412                         wireless devices.
17413
17414 2005-03-22  Dan Williams <dcbw@redhat.com>
17415
17416         * src/NetworkManager.c
17417                 - (nm_wired_link_activated): actually ignore netlink events from
17418                         wireless devices.
17419
17420 2005-03-17  Dan Williams <dcbw@redhat.com>
17421
17422         Patch from Tom Parker:
17423         * src/nm-netlink-monitor.c
17424                 - Include unistd.h
17425         * info-daemon/NetworkManagerInfoDbus.c
17426                 - (nmi_dbus_update_network_auth_method): free GConf values
17427
17428         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17429         * src/NetworkManagerDevice.c
17430                 - (nm_device_set_wireless_config): wait for successful
17431                         association longer for some cards (Atheros a/b/g)
17432
17433 2005-03-15  Ray Strode  <rstrode@redhat.com>
17434
17435         * src/NetworkManager.c:
17436         (sigterm_pipe_handler):
17437         remove bogus FIXME
17438
17439 2005-03-15  Ray Strode  <rstrode@redhat.com>
17440
17441         * src/NetworkManagerDbus.c:
17442         Fix some sign weirdness that gcc4 doesn't like,
17443         and add a header file so PPC can hopefully find
17444         SIGTRAP
17445
17446 2005-03-14  Ray Strode  <rstrode@redhat.com>
17447         
17448         Fourth (probably working) cut at porting to
17449         dbus 0.30 api and new hal. This cut adds
17450         some new logging macros to make debugging
17451         easier.
17452
17453         * dispatcher-daemon/NetworkManagerDispatcher.c:
17454         * info-daemon/NetworkmanagerInfo.c:
17455         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17456         * info-daemon/NetworkManagerInfoVPN.c:
17457         * src/NetworkManager.c:
17458         * src/NetworkManagerAP.c:
17459         * src/NetworkManagerAPList.c:
17460         * src/NetworkManagerDHCP.c:
17461         * src/NetworkManagerDbus.c:
17462         * src/NetworkManagerDevice.c:
17463         * src/NetworkManagerPolicy.c:
17464         * src/NetworkManagerSystem.c:
17465         * src/NetworkManagerUtils.c:
17466         * src/NetworkManagerWireless.c:
17467         * src/autoip.c:
17468         * src/nm-dbus-nm.c:
17469         * src/backends/NetworkManagerDebian.c:
17470         * src/backends/NetworkManagerGentoo.c:
17471         * src/backends/NetworkManagerRedHat.c:
17472         * src/backends/NetworkManagerSlackware.c:
17473         use new logging macros.
17474
17475         * dispatcher-daemon/NetworkManagerDispatcher.c:
17476         (nmd_dbus_filter): s/dbus_free/g_free/
17477
17478         * info-daemon/Makefile.am: link in utils library.
17479         * info-daemon/NetworkmanagerInfo.c: use new logging 
17480         macros.
17481         (nmi_dbus_get_network): don't assume enumerations
17482         are 32-bit.
17483         (nmi_dbus_nmi_message_handler): don't free what 
17484         doesn't belong to us.
17485
17486         * libnm_glib/libnm_glib.c:
17487         (libnm_glib_get_nm_status): 
17488         (libnm_glib_init): don't free what doesn't
17489         belong to us.
17490         (libnm_glib_dbus): strdup result, so it doesn't get
17491         lost when message is unref'd.
17492
17493         * panel-applet/NMWirelessAppletDbus.c:
17494         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17495
17496         * src/NetworkManager.c:
17497         (nm_monitor_wired_link_state): request initial status 
17498         dump of all cards when we start up, instead of relying
17499         on /sys/.../carrier.
17500         (nm_info_handler), (nm_set_up_log_handlers): 
17501         log handlers to specify what syslog priorites 
17502         the logging macros default to.
17503
17504         * src/NetworkManagerAPList.c: 
17505         (nm_ap_list_populate_from_nmi):
17506         s/dbus_free_string_array/g_strfreev/
17507
17508         * src/NetworkManagerDbus.c:
17509         (nm_dbus_get_network_object):
17510         validate d-bus message argument types.
17511         Advance message iterator after reading argument,
17512         prepend instead of append to GSList.
17513
17514         * src/NetworkManagerDevice.c:
17515         (nm_device_probe_wired_link_status):
17516         remove redundant /sys in /sys path. remove wrong
17517         contents == NULL means has carrier assumption.
17518
17519         * src/nm-netlink-monitor.c 
17520         (nm_netlink_monitor_request_status): implement
17521         function to ask kernel to dump interface link
17522         status over netlink socket.
17523
17524         * test/*.c: s/dbus_free/g_free/
17525
17526         * utils/nm-utils.h:
17527         (nm_print_backtrace): new macro to print backtrace.
17528         (nm_get_timestamp): new macro to get sub-second precise
17529         unix timestamp.
17530         (nm_info), (nm_debug), (nm_warning), (nm_error):
17531         new logging functions. nm_info just prints,
17532         nm_debug includes timestamp and function,
17533         nm_warning includes function, nm_error includes
17534         backtrace and sigtrap.
17535
17536 2005-03-11  Ray Strode  <rstrode@redhat.com>
17537
17538         Third (unfinished, partially working) cut at porting to 
17539         dbus 0.30 api and new hal.
17540
17541         * info-daemon/NetworkManagerInfoDbus.c:
17542                 don't free null arrays.
17543
17544         * panel-applet/NMWirelessAppletDbus.c: 
17545         * src/nm-dbus-device.c:
17546         * src/nm-dbus-net.c: 
17547         * src/NetworkManagerDbus.c: more 
17548         STRING -> OBJECT_PATH fun
17549         * src/NetworkManagerDevice.c:
17550         * src/NetworkManagerDevice.h:
17551         (rename nm_device_get_link_active): rename to 
17552         nm_device_has_active_link
17553         (nm_device_wireless_link_active): rename to
17554         nm_device_probe_wireless_link_state
17555         (nm_device_wired_link_active): rename to
17556         nm_device_probe_wired_link_state.  Rewrite to
17557         use carrier file since hal doesn't maintain
17558         link state anymore.
17559         (nm_device_update_link_active): rename to
17560         nm_device_update_link_state
17561         * src/NetworkManagerPolicy.c 
17562           (nm_policy_activation_finish): check for NULL
17563           MAC address.
17564
17565         * src/Makefile.am:
17566         * src/NetworkManagerMain.h: 
17567         * src/NetworkManager.c:
17568         * src/nm-netlink-monitor.c:
17569         * src/nm-netlink-monitor.h: New class to support
17570         monitoring wired ethernet link status, since HAL
17571         doesn't export that information anymore.
17572
17573 2005-03-09  Ray Strode  <rstrode@redhat.com>
17574
17575         Second (unfinished, unworking) cut at porting to 
17576         dbus 0.30 api.
17577
17578         * dispatcher-daemon/NetworkManagerDispatcher.c:
17579         * info-daemon/NetworkManagerInfoDbus.c:
17580         * panel-applet/NMWirelessAppletDbus.c:
17581         * src/NetworkManagerDbusUtils.c:
17582         * src/NetworkManagerDbusUtils.h:
17583         * src/nm-dbus-device.c:
17584         * src/nm-dbus-nm.c:
17585         * test/nmtest.c: support dbus "object path" type
17586
17587         * configure.in: 
17588         * Makefile.am:
17589         * info-daemon/Makefile.am:
17590         * libnm_glib/Makefile.am:
17591         * panel-applet/Makefile.am:
17592         * dispatcher-daemon/Makefile.am
17593         * src/Makefile.am:
17594         * test/Makefile.am:
17595         * utils/Makefile.am: 
17596         * utils/nm-utils.c: 
17597         * utils/nm-utils.h: new utils static lib
17598
17599 2005-03-07  Ray Strode  <rstrode@redhat.com>
17600
17601         * info-daemon/NetworkManagerInfoDbus.c:
17602         * libnm_glib/libnm_glib.c:
17603         * panel-applet/NMWirelessAppletDbus.c:
17604         * src/NetworkManager.c:
17605         * src/NetworkManagerDbus.c:
17606         * src/NetworkManagerDevice.c:
17607         * src/NetworkManagerUtils.c:
17608         * src/nm-dbus-device.c:
17609         * src/nm-dbus-dhcp.c:
17610         * src/nm-dbus-net.c:
17611         * src/nm-dbus-nm.c:
17612         * test/nminfotest.c:
17613         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17614
17615 2005-03-04  Dan Williams  <dcbw@redhat.com>
17616
17617         * configure.in
17618                 - Mark HEAD as 0.4
17619
17620 2005-03-04  Dan Williams  <dcbw@redhat.com>
17621
17622         Patch from Peter Jones:
17623         - Make stuff work with gcc 4.0
17624
17625 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17626
17627         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17628
17629 2005-02-27  Jim Huang  <jserv@kaffe.org>
17630
17631         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17632
17633 2005-02-27  Dan Williams  <dcbw@redhat.com>
17634
17635         Patch from Bill Moss:
17636         * panel-applet/NMWirelessAppletDbus.c
17637                 - Make sure strength for current access point is up-to-date when we
17638                         update the gui data model
17639
17640 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17641
17642         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17643
17644 2005-02-27  Dan Williams  <dcbw@redhat.com>
17645
17646         * src/backends/NetworkManagerRedHat.c
17647                 - (nm_system_init): Kill any dhclient processes lying around as well
17648                         as stopping 'nifd' if its already been started.  NetworkManager
17649                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17650
17651 2005-02-27  Dan Williams  <dcbw@redhat.com>
17652
17653         * panel-applet/NMWirelessApplet.c
17654                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17655                         dbus data model, not the GUI data model twice.
17656
17657 2005-02-27  Dan Williams  <dcbw@redhat.com>
17658
17659         * panel-applet/NMWirelessApplet.[ch]
17660           panel-applet/NMWirelessAppletDbus.[ch]
17661                 - Move to incremental network updates.  Instead of blowing away our list
17662                         of devices every time we get a signal from NetworkManager, we now
17663                         incrementally add/remove networks when NetworkManager notifies us that
17664                         a new network has appeared or disappered.  Strength updates now happen
17665                         on-the-fly for each access point as well.  There are now two copies of
17666                         data from NetworkManager: one for the dbus side, and one for the gui side.
17667                         When the dbus side data is modified, it is copied over to the gui side
17668                         so we don't have to hold the data_mutex for long periods of time (and
17669                         therefore block animation of the applet's icon).
17670                 - Clean up some memleaks too
17671
17672         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17673                 - Minor code beautification
17674
17675         * src/NetworkManagerAPList.c
17676                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17677                         completely new and whether or not an existing one's strength was updated.
17678                         Try to fix multiple access points and signal strength by using the highest
17679                         signal strength in each scan for any given ESSID.
17680
17681         * src/NetworkManagerDbus.[ch]
17682                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17683                         wireless networks; now we have only WirelessNetworkUpdate which includes
17684                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17685                 - Kill usage of DbusMessageIter
17686
17687         * src/NetworkManagerDevice.c
17688                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17689                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17690                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17691                         currently associated with from the network list.
17692                 - Update for new signals during scan, send out Appeared, Disappeared, or
17693                         StrengthChanged when necessary.
17694
17695 2005-02-25  Dan Williams  <dcbw@redhat.com>
17696
17697         * README
17698                 - Line break the README
17699
17700 2005-02-25  Dan Williams  <dcbw@redhat.com>
17701
17702         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17703                 - Remove usage of gtk_window_set_default_size()
17704
17705         * panel-applet/essid.glade
17706                 - Stick default size here
17707                 - Add in random crap that current glade wants to add in now
17708
17709 2005-02-25  Dan Williams  <dcbw@redhat.com>
17710
17711         * src/backends/NetworkManagerRedHat.c
17712                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17713                         and that we actually tell nscd to reload the hosts cache when it changes
17714
17715 2005-02-25  Dan Williams  <dcbw@redhat.com>
17716
17717         * info-daemon/NetworkManagerInfoDbus.c
17718                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17719
17720         * test/nminfotest.c
17721                 - Whack usage of DbusMessageIter
17722                 - Clean up DbusError and DbusMessage handling and freeing
17723                 - Remove unused unregister handler
17724
17725         * test/nmtest.c
17726                 - Whack usage of DbusMessageIter
17727
17728         * test/nmtestdevices.c
17729                 - Whack usage of DbusMessageIter
17730
17731 2005-02-25  Dan Williams  <dcbw@redhat.com>
17732
17733         * NetworkManager.h
17734                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17735                         signal
17736
17737 2005-02-25  Dan Williams  <dcbw@redhat.com>
17738
17739         * named/nm-named-manager.c
17740                 - Ensure that pid and watch variables for child named process get cleared out
17741                         when the child goes away.
17742
17743 2005-02-22  Dan Williams  <dcbw@redhat.com>
17744
17745         * src/NetworkManagerPolicy.c
17746                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17747                         and NULL out data->active_device so that we have to choose another one.
17748                         This may make NetworkManager keep attempting to connect to a wired network
17749                         if it fails, but if it keeps failing the wired network has more problems than
17750                         just NetworkManager.
17751
17752         * src/backends/NetworkManagerRedHat.c
17753                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17754                         is already running
17755
17756         * named/nm-named-manager.c
17757                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17758                         named so that the distro can flush whatever name service caching
17759                         daemon it uses
17760
17761 2005-02-21  Dan Williams  <dcbw@redhat.com>
17762
17763         * src/NetworkManagerDHCP.[ch]
17764                 - (nm_device_dhcp_remove_timeouts): new function
17765
17766         * src/NetworkManagerDevice.c
17767                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17768                         remove the DHCP timeouts.
17769
17770 2005-02-21  Dan Williams  <dcbw@redhat.com>
17771
17772         * panel-applet/NMWirelessApplet.[ch]
17773           panel-applet/menu-info.[ch]
17774                 - Give the panel applet some major love: menu items are no longer
17775                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17776                         This allows the applet to actually reflect theme changes correctly,
17777                         since themeing of subclassed items in GTK _sucks_.
17778
17779 2005-02-18  Dan Williams  <dcbw@redhat.com>
17780
17781         * libnm_glib/libnm_glib.[ch]
17782           test/libnm_glib_test.c
17783                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17784                         and its data, and doesn't have to free the callback data anymore
17785
17786 2005-02-18  Dan Williams  <dcbw@redhat.com>
17787
17788         * panel-applet/NMWirelessApplet.c
17789                 - Revert 2005-02-18 William Jon McCann fix for standard
17790                         copyright string until it passes 'make distcheck'.
17791                         With standard copyright string, xgettext complains
17792                         about "Non-ASCII string at ...".
17793
17794 2005-02-18  Dan Williams  <dcbw@redhat.com>
17795
17796         * panel-applet/essid.glade
17797           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17798                 - Correct spelling of "adaptor"->"adapter"
17799
17800 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17801
17802         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17803         (nmwa_about_cb): Use standard copyright string.  Update comment
17804         text to reflect that it is a notification area applet.  Remove
17805         leading newline in authors list.
17806         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17807         instead of on parent menu item activation.  Fixes #167550.
17808
17809 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17810
17811         * panel-applet/essid.glade: Capitalize items as per HIG.
17812           Fixes #167632
17813
17814 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17815
17816         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17817         files for GTK 2.4 or lower, since now public in GTK 2.6.
17818
17819         * panel-applet/essid.glade: Don't specify window size.
17820         
17821 2005-02-17  Dan Williams  <dcbw@redhat.com>
17822
17823         Caught by Bill Moss:
17824         * dhcpcd/client.c
17825                 - Time remaining for DHCP transaction calculation was incorrectly
17826                         inside a #ifdef DEBUG
17827
17828 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17829
17830         * configure.in: Added fr (French) to ALL_LINGUAS.
17831
17832 2005-02-14  Dan Williams  <dcbw@redhat.com>
17833
17834         * src/NetworkManagerDHCP.c
17835                 - (set_domain_searches): Fix free of invalid pointer
17836
17837 2005-02-14  Dan Williams  <dcbw@redhat.com>
17838
17839         Patch from Peter Jones:
17840         * dhcpcd/client.c
17841                 - Ensure we return RET_DHCP_CEASED everywhere we should
17842         * dhcpcd/udpipgen.c
17843                 - Use faster TOS for IP packets
17844                 - Don't set ip_id since we're UDP
17845
17846         Patch from Tomislav Vujec:
17847         * src/nm-dbus-dhcp.c
17848           test/nm-dhcp-opt-test.c
17849                 - Clean up warnings to enable cvs tree compilation.
17850
17851 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17852
17853         * configure.in
17854           po/hr.po
17855                 - Add the Croatian locale.
17856
17857 2005-02-14  Colin Walters  <walters@verbum.org>
17858
17859         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17860         list of domains to search.
17861         
17862         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17863
17864 2005-02-13  Dan Williams  <dcbw@redhat.com>
17865
17866         * dhcpcd/client.c
17867                 - Debug output cleanups of DHCP option printing and parsing.
17868
17869 2005-02-13  Dan Williams  <dcbw@redhat.com>
17870
17871         Patch from Dan Reed:  DHCP options D-BUS API
17872                 Exposes the DHCP options that a device receives to clients over D-BUS.
17873
17874         * configure.in
17875                 - A few cleanups
17876
17877         * dhcpcd/client.h
17878                 - Correct names, option length, and types for DHCP options
17879
17880         * dhcpcd/dhcpcd.[ch]
17881                 - Clarify function names that access DHCP options & data
17882
17883         * src/NetworkManagerDHCP.c
17884                 - Use new DHCP data access functions
17885
17886         * src/NetworkManagerDbus.c
17887                 - Message handler for DHCP functions
17888
17889         * src/nm-dbus-dhcp.[ch] (new)
17890                 - DHCP dbus methods
17891
17892         * test/nm-dhcp-opt-test.c
17893                 - Test DHCP D-BUS API and return all present DHCP options
17894
17895 2005-02-12  Dan Williams  <dcbw@redhat.com>
17896
17897         * test/Makefile.am
17898           test/nmclienttest.c
17899           test/nmtest.c
17900                 - Move nmclienttest.c -> nmtest.c
17901
17902 2005-02-12  Dan Williams  <dcbw@redhat.com>
17903
17904         * dhcpcd/buildmsg.c
17905                 - Pad DHCP packets until they are at least 300 bytes in size.
17906
17907 2005-02-11  Dan Williams  <dcbw@redhat.com>
17908
17909         * dhcpcd/client.c
17910                 - (dhcp_init): only print out client ID and class ID if they are specified
17911
17912         * src/NetworkManagerDbus.[ch]
17913           src/nm-dbus-nm.[ch]
17914           src/nm-dbus-device.[ch]
17915           src/nm-dbus-net.[ch]
17916                 - Move NM, Device, and Net functions to separate files and use the
17917                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17918                         method dispatching
17919
17920         * src/NetworkManagerDbusUtils.c
17921                 - Add new validate_method called before each dispatch (if present)
17922                         that can validate the method call
17923
17924         * src/NetworkManagerWireless.c
17925                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17926                         levels never to be evaluated
17927
17928         Patch from j@bootlab.org
17929         * src/NetworkManagerDevice.c
17930                 - Add typedef for "u64"
17931
17932         * src/backends/NetworkManagerDebian.c
17933                 - Copy in Dave Woodhouse's fixes for IPv6
17934
17935 2005-02-11  Dan Williams  <dcbw@redhat.com>
17936
17937         Patch from Dave Woodhouse for IPv6:
17938         * src/NetworkManagerUtils.c
17939                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17940                         and multicast addresses
17941
17942         * src/NetworkManagerDevice.c
17943                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17944                         after bringing up a card.
17945
17946 2005-02-10  Dan Williams  <dcbw@redhat.com>
17947
17948         Patch from Dave Woodhouse:
17949         * src/NetworkManagerSystem.h
17950           src/backends/NetworkManagerDebian.c
17951           src/backends/NetworkManagerGentoo.c
17952           src/backends/NetworkManagerSlackware.c
17953                 - New nm_system_device_add_ip6_link_address() function to add link-local
17954                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17955
17956         * src/backends/NetworkManagerRedHat.c
17957                 - (nm_system_device_add_ip6_link_address): implement
17958                 - (nm_system_device_flush_addresses): revert to previous behavior of
17959                         flushing all addresses
17960
17961 2005-02-10  Dan Williams  <dcbw@redhat.com>
17962
17963         Patch from Tom Parker:
17964         * src/NetworkManagerDevice.c
17965                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17966                         mii.h headers are broken, and instead use our own typedefs
17967
17968 2005-02-10  Dan Williams  <dcbw@redhat.com>
17969
17970         * dhcpcd/buildmsg.c
17971                 - (fill_host_and_class_id): only fill in client and class IDs if
17972                         they are set by callers.
17973
17974         * dhcpcd/client.c
17975                 - (class_id_setup): don't autogenerate a class ID, only use one
17976                         we're given, if any.
17977                 - (client_id_setup): don't autogenerate a client ID, only use one
17978                         we're given, if any.
17979
17980         * dhcpcd/dhcpcd.c
17981                 - (dhcp_interface_init): ensure that client options are correctly
17982                         NULL terminated
17983
17984         * src/NetworkManagerDHCP.c
17985                 - (nm_device_dhcp_request): pass hostname to dhcp library
17986
17987 2005-02-10  Dan Williams  <dcbw@redhat.com>
17988
17989         * dhcpcd/client.c
17990                 - #rh147661# Don't send kernel version in DHCP requests
17991
17992         * src/NetworkManagerSystem.h
17993           src/backends/NetworkManagerDebian.c
17994           src/backends/NetworkManagerGentoo.c
17995           src/backends/NetworkManagerRedHat.c
17996           src/backends/NetworkManagerSlackware.c
17997                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17998                         functions, they are no longer used anyway
17999
18000         * src/backends/NetworkManagerRedHat.c
18001                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18002                         addresses in an attempt to keep IPv6 local-scope addresses around
18003
18004 2005-02-10  Dan Williams  <dcbw@redhat.com>
18005
18006         * src/NetworkManager.c
18007                 - (nm_create_device_and_add_to_list): change the add message slightly
18008
18009         * src/NetworkManagerUtils.c
18010                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18011                         Return driver name to calling function
18012                 - (nm_get_driver_support_level): print out the driver a device is using
18013                         during the support check
18014
18015         Patch from Dave Woodhouse:
18016         * dhcpcd/udpipgen.c
18017                 - (in_cksum): copy last byte of odd-sized packets into a
18018                         'u_short' rather than a 'u_char', should fix wrong checksums
18019                         on big-endian platforms
18020
18021 2005-02-09  Dan Williams  <dcbw@redhat.com>
18022
18023         * Clean up usage of GSList objects and looping through their members
18024         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18025                 now.
18026         * Fix problem where even if scanning was turned off, card would still
18027                 cycle through frequencies.
18028
18029 2005-02-08  Dan Williams  <dcbw@redhat.com>
18030
18031         * panel-applet/NMWirelessApplet.c
18032                 - Fix for gtk 2.4
18033
18034 2005-02-08  Dan Williams  <dcbw@redhat.com>
18035
18036         Patch from Bill Moss
18037         * panel-applet/NMWirelessApplet.c
18038                 - Restore correct ESSID in tooltips
18039
18040 2005-02-07  Dan Williams  <dcbw@redhat.com>
18041
18042         * panel-applet/NMWirelessApplet.[ch]
18043                 - Add a context menu that contains:
18044                         Pause/Resume Wireless Scanning
18045                         Stop/Start All Wireless Devices
18046                         About...
18047                 - Grab active device strength off active device,
18048                         not its network
18049
18050         * panel-applet/NMWirelessAppletDbus.[ch]
18051                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18052                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18053                 - Update active device strength every 2 seconds, not every 1 second
18054
18055         * panel-applet/menu-info.c
18056                 - Only disable wired devices in the menu when they support carrier detection,
18057                         and don't currently have a link.  Non-carrier-detect devices will always
18058                         remain choosable
18059
18060         * src/Makefile.am
18061           src/NetworkManagerDbusUtils.[ch]
18062                 - Add new new dbus utils sources
18063
18064         * src/NetworkManager.c
18065                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18066                         with the boolean parameter
18067                 - Set scanning_enabled & wireless_enabled to TRUE
18068
18069         * src/NetworkManagerDbus.c
18070                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18071                 - Implement scanning & wireless enable/disable calls
18072                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18073
18074         * src/NetworkManagerDevice.c
18075                 - New link detection stuff again...
18076                         o  Create device's mainloop earlier (but don't run it earlier)
18077                         o  Hook up new carrier-detect support stuff
18078                         o  Add in the ethtool & mii support detection code
18079                 - Don't scan if scanning is disabled
18080
18081         * src/NetworkManagerPolicy.c
18082                 - Never automatically choose a device that doesn't support carrier detection
18083                 - Don't automatically choose a wireless device if wireless is disabled
18084
18085 2005-02-07  Dan Williams  <dcbw@redhat.com>
18086
18087         * libnm_glib/libnm_glib.c
18088                 - Small cleanup in element list iteration
18089
18090 2005-02-07  Dan Williams  <dcbw@redhat.com>
18091
18092         * src/NetworkManagerWireless.c
18093                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18094                         to be in line with the WEXT quality specification
18095
18096 2005-02-02  Dan Williams  <dcbw@redhat.com>
18097
18098         Patch from Nathan Fredrickson <nathan@silverorange.com>
18099         * Fix up compile for deprecation of libgnomeui
18100                 - Switch to <glib/gi18n.h> from <libintl.h>
18101                 - Remove <libgnomeui/libgnomeui.h> includes
18102                 - Use gtk_window_set_default_icon_from_file() rather than
18103                         gnome_window_set_default_icon_from_file()
18104
18105         * named/nm-named-manager.c
18106                 - (generate_named_conf): Fix return-nothing in non-void
18107                         function
18108
18109 2005-02-02  Dan Williams  <dcbw@redhat.com>
18110
18111         * Clean up unused variables and the like
18112
18113 2005-02-02  Dan Williams  <dcbw@redhat.com>
18114
18115         * src/NetworkManagerAPList.c
18116                 - (nm_ap_list_merge_scanned_ap): merge strength too
18117
18118         * src/NetworkManagerUtils.c
18119                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18120                         of locking issues by printing out prettier information than g_mutex_lock
18121                 - Print out names of mutexes registered with nm_register_mutex_desc()
18122                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18123                         us to seemingly block here for too long
18124
18125         * src/NetworkManager.c
18126           src/NetworkManagerAPList.c
18127           src/NetworkManagerDevice.c
18128                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18129                         so we get better debug information printed
18130
18131         * src/NetworkManagerDbus.c
18132                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18133                         since it sometimes has locking side effects
18134                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18135                         from 10s
18136                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18137                         we don't need a switch.  This gets called often enough that we can't block
18138                         until the scan mutex is acquired, because we'll block on device activation
18139                         and a few other things, which hangs main thread for too long.
18140
18141         * src/NetworkManagerPolicy.c
18142                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18143                         nm_device_need_ap_switch() will be called               
18144
18145 2005-02-02  Dan Williams  <dcbw@redhat.com>
18146
18147         * panel-applet/NMWirelessApplet.c
18148                 - Display name of wireless network we are connecting to or connected to
18149                         in the tooltip of the applet
18150
18151 2005-02-02  Dan Williams  <dcbw@redhat.com>
18152
18153         * src/NetworkManagerDHCP.c
18154                 - Hopefully fix double-default-route problem by cleaning up the default
18155                         route added by DHCP code right before the DHCP transaction begins
18156
18157 2005-02-02  Dan Williams  <dcbw@redhat.com>
18158
18159         * named/nm-named-manager.c
18160                 - Write out valid resolv.conf when we exit
18161
18162 2005-02-01  Dan Williams  <dcbw@redhat.com>
18163
18164         Patch from Colin Walters:
18165         * named/nm-named-manager.c
18166                 - Make multi-domain search options work
18167
18168 2005-01-31  Dan Williams  <dcbw@redhat.com>
18169
18170         * info-daemon/NetworkManagerInfoDbus.c
18171                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18172
18173         * src/NetworkManagerDevice.c
18174                 - (nm_device_new): Don't store the entire range struct, use only what we need
18175                         (which is currently avg_quality, max_quality, and frequencies).  Also
18176                         zero device structure when we've free'd it to maybe expose errors down
18177                         the line.
18178                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18179                         quality data from the card since quality will be useless during a scan.
18180                         Call updated wireless qual-to-percent function with values stored in
18181                         nm_device_new() earlier.
18182                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18183                         nm_device_get_bad_crypt_packets())
18184                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18185                         nm_device_new()
18186                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18187                         list if available.  Problem was this: when the WEP key is wrong, NM will
18188                         try OS then SK modes, and then get stuck in SK mode after that.  This
18189                         should reset it.
18190                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18191                         function
18192
18193         * src/NetworkManagerWireless.c
18194                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18195                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18196                         if that's all present, otherwise fall back to signal-to-noise ratios.
18197
18198 2005-01-29  Dan Williams  <dcbw@redhat.com>
18199
18200         * initscript/RedHat/NetworkManager
18201                 - Don't spit out sysctl stuff to console
18202
18203         * libnm_glib/libnm_glib.c
18204                 - (libnm_glib_init): call dbus_g_thread_init()
18205
18206         * panel-applet/NMWirelessAppletDbus.c
18207                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18208
18209         * src/NetworkManager.c
18210                 - (main): call dbus_g_thread_init()
18211
18212         * src/NetworkManagerAPList.c
18213                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18214                         so we can actually see what's there in a normal syslog
18215
18216         * src/NetworkManagerDevice.c
18217                 - (nm_device_activate_wireless): print out the "waiting for access point"
18218                         message only once, then say what access point we actually got after
18219                         the wait.
18220                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18221                         function, wait until the scan is done.  Scans may change the ESSID of
18222                         the card, making this function think we need to switch access points
18223                 - (nm_device_wireless_process_scan_results): for artificial access points
18224                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18225                         prevents collisions with the scanning code, which may change the card's
18226                         ESSID and cause the access point to get dropped from the device's AP
18227                         list.  Also increase the keep-around time to 2m from 60s since the max
18228                         scan interval could be 60s in some cases.
18229
18230         * src/NetworkManagerPolicy.c
18231                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18232                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18233                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18234                         between NM and NMI.
18235
18236 2005-01-27  Dan Williams  <dcbw@redhat.com>
18237
18238         * info-daemon/NetworkManagerInfoDbus.c
18239                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18240                         GConf, make a minimal entry for it (essid & timestamp)
18241
18242         * src/NetworkManagerAPList.c
18243                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18244                         NetworkManagerInfo isn't running
18245
18246         * src/NetworkManagerDbus.[ch]
18247                 - (nm_dbus_nmi_is_running): new function
18248
18249         * src/NetworkManagerDevice.c
18250                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18251                         address to garbage.
18252
18253         * src/NetworkManagerPolicy.c
18254                 - (nm_policy_activation_finish): On successful activation, make sure
18255                         the "best" AP has a MAC address, and don't tell NMI to add the
18256                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18257                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18258                         access point after refreshing our allowed list if it doesn't already
18259                         have a "best" access point.
18260
18261 2005-01-25  Dan Williams  <dcbw@redhat.com>
18262
18263         * panel-applet/NMWirelessAppletDbus.c
18264                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18265                         so we check for NM_DBUS_SERVICE rather than not for it
18266
18267         * libnm_glib/libnm_glib.c
18268                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18269                         ServiceOwnerChanged signal
18270
18271 2005-01-25  Dan Williams  <dcbw@redhat.com>
18272
18273         * configure.in
18274                 - Check DBUS version in configure, and set the C macros
18275                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18276
18277         * info-daemon/NetworkManagerInfoDbus.c
18278                 - Remove #if 0-d section of code that quit NMI if NM went away.
18279
18280         * panel-applet/NMWirelessAppletDbus.c
18281                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18282
18283         * src/NetworkManager.c
18284           src/NetworkManagerMain.h
18285           src/NetworkManagerDbus.c
18286                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18287                 - Make updating of our Allowed Wireless Network lists from NMI
18288                         an idle function in the main thread now, with a high priority.
18289
18290 2005-01-24  Dan Williams  <dcbw@redhat.com>
18291
18292         * panel-applet/gtkcellview.[ch]
18293           panel-applet/menu-info.c
18294                 - Fix GTK version checks to be <= rather than <
18295
18296         * test/Makefile.am
18297                 - Include the libtool archive of libnm_glib rather than
18298                         trying to pull in the .so
18299
18300 2005-01-24  Dan Williams  <dcbw@redhat.com>
18301
18302         * src/NetworkManagerDevice.c
18303           src/NetworkManagerDevicePrivate.h
18304                 - Block nm_device_new() until our device's worker thread has had a
18305                         chance to start up.  Fixes a race between main thread and worker
18306                         thread starting that caused activation requests to get lost.
18307
18308 2005-01-24  Dan Williams  <dcbw@redhat.com>
18309
18310         * initscript/RedHat/NetworkManager
18311                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18312                         to add the NM startup script at priority 50, which was
18313                         way too early
18314
18315 2005-01-24  Colin Walters  <walters@redhat.com>
18316
18317         * named/named.conf: Use any port for query source instead of
18318         restricting to port 53.
18319
18320 2005-01-24  Dan Williams  <dcbw@redhat.com>
18321
18322         * initscript/RedHat/NetworkManager
18323                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18324                         to add the NM startup script at priority 50, which was
18325                         way too early
18326
18327 2005-01-24  Dan Williams  <dcbw@redhat.com>
18328
18329         Patch from Tom Parker <palfrey@tevp.net>
18330         * Fix up compile warnings & errors in the wireless applet
18331
18332 2005-01-24  Dan Williams  <dcbw@redhat.com>
18333
18334         * panel-applet/NMWirelessApplet.c
18335                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18336
18337 2005-01-24  Dan Williams  <dcbw@redhat.com>
18338
18339         * panel-applet/gtkcellview.[ch]
18340                 - Only compile these files for GTK 2.4 or lower, since 
18341                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18342                         when choosing "Other Wireless Networks" from the panel
18343                         applet menu
18344
18345 2005-01-21  Dan Williams  <dcbw@redhat.com>
18346
18347         * src/NetworkManager.c
18348                 - Daemonize earlier so that glib doesn't get confused (?)
18349
18350 2005-01-21  Dan Williams  <dcbw@redhat.com>
18351
18352         * panel-applet/NMWirelessApplet.[ch]
18353           panel-applet/NMWirelessAppletDbus.c
18354           panel-applet/menu-info.c
18355           src/NetworkManagerDevice.c
18356                 - Disable wired devices in the menu when they have no link.
18357
18358 2005-01-21  Dan Williams  <dcbw@redhat.com>
18359
18360         * Cache last-known-good wireless authentication method in
18361                 NetworkManagerInfo, and use that method first during
18362                 wireless device activation.  Should speed up devices that
18363                 need Shared Key authentication method since Open System is
18364                 now the default.
18365
18366         * Remove the hack to not do full activation on wired connections
18367                 that are active when we launch, it causes too many problems
18368                 with name resolution and was a hack in the first place.
18369
18370         * Re-work wireless device activation again somewhat to have a
18371                 clearer chain of events and to use last-known-good
18372                 authentication method of the access point.  Also provide
18373                 better status throughout activation to ensure the applet
18374                 can tell the user exactly what's going on.
18375
18376         * Remove the "find wireless network" code and now simply attempt
18377                 to activate with that access point.  This reduces the delay
18378                 between selecting "Other wireless Network" and actually
18379                 connecting to that network.
18380
18381         * Correctly stop the device's worker thread when its removed.
18382
18383 2005-01-21  Dan Williams  <dcbw@redhat.com>
18384
18385         * dhcpcd/client.c
18386                 - Clean up some of the debug messages
18387
18388 2005-01-21  Dan Williams  <dcbw@redhat.com>
18389
18390         * Add new icons, more frames of animation
18391         * Remove some hacks to get the panel applet to display correct
18392                 status, an NM update will soon follow that will fix the
18393                 real issue.
18394
18395 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18396
18397         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18398         the first include for working i18n. Also, don't include it in .h files
18399         * panel-applet/NMWirelessApplet.h: Same
18400         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18401         * panel-applet/menu-info.c: Same
18402
18403 2005-01-18  Dan Williams <dcbw@redhat.com>
18404
18405         * dhcpcd/client.c
18406                 - Remove some debug messages
18407                 - Wrap others in #ifdef DEBUG/#endif
18408
18409         * src/NetworkManager.c
18410                 - Remove some debug messages
18411                 - Clarify some debug messages
18412                 - Remove code related to old single-thread wireless scanning
18413
18414         * src/NetworkManagerAP.[ch]
18415                 - New AP property "last_seen" to track how recently an AP was
18416                         found in a scan
18417                 - Start using 'const' more in function arguments
18418
18419         * src/NetworkManagerAPList.[ch]
18420                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18421                         of an AP found in an AP list from a source AP, or if not found
18422                         in the list add the source AP
18423                 - (nm_ap_list_combine): remove, no longer needed
18424
18425         * src/NetworkManagerDevice.c
18426                 - Each device now has a "worker" thread from start to end of its life.
18427                         Scanning for wireless devices now happens in that thread,
18428                         not in a single "wireless scanning thread" for all devices as
18429                         previously.  Activation consists of adding an idle handler to the
18430                         thread's main loop/context, which gets run at the next available
18431                         opportunity.
18432                 - Wireless scanning is also simplified, there is now only one list of
18433                         access points per wireless device, and APs older than 60s are
18434                         removed from the list.  Previously, we kept results for the last
18435                         3 scans and merged whole lists, which was complicated.
18436                 - Cleaned up activation debug messages.
18437                 - Wireless activation and access-point search routines now use Open System
18438                         authentication before trying Shared Key.
18439                 - Removed some code in nm_device_update_best_ap() that could cause cards
18440                         to loose their link to the access point.
18441                 - Scanning now uses a backoff algorithm, where the inverval becomes
18442                         progressively longer between scans when the list of scanned access
18443                         points doesn't change.  A change will revert to the shortest scan
18444                         interval (20s).
18445
18446         * src/NetworkManagerWireless.[ch]
18447                 - Remove code related to old single-thread wireless scanning
18448
18449 2005-01-18  Colin Walters  <walters@redhat.com>
18450
18451         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18452         of older nameservers.
18453
18454 2005-01-18  Colin Walters  <walters@redhat.com>
18455
18456         * named/nm-named-manager.c (generate_named_conf): Many fixes
18457         to config file generation.
18458         (safer_kill): Remove, was too much trouble for little gain.
18459         (nm_named_manager_start): Run named as NM_NAMED_USER.
18460
18461         * configure.in: Add option --with-named-user.
18462
18463 2005-01-14  Colin Walters  <walters@redhat.com>
18464
18465         Patch from ed@catmur.co.uk (Ed Catmur)
18466
18467         * named/nm-named-manager.c: Add "context" property.
18468         Use it to add child watch source in specific GMainContext.
18469
18470         * src/NetworkManager.c (nm_data_new): Initialize
18471         named with correct main context.  Start named only
18472         after forking.
18473
18474 2005-01-14  Colin Walters  <walters@redhat.com>
18475
18476         * named/nm-named-manager.c (generate_named_conf): Write config
18477         and pid files into NM_NAMED_DATA_DIR; this allows things to
18478         work better with FC3 named SELinux policy.  Also fix up silly
18479         format error.
18480
18481         * configure.in: Add --with-named-dir option.
18482
18483 2005-01-14  Colin Walters  <walters@redhat.com>
18484
18485         * configure.in: Make named support require passing --with-named.
18486
18487         * named/nm-named-manager.c: Support writing resolv.conf directly
18488         without running named.
18489
18490 2005-01-13  Dan Williams <dcbw@redhat.com>
18491
18492         * named/nm-named-manager.c
18493                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18494
18495         * src/NetworkManagerDevice.c
18496                 - Rework wireless link detection code to be more reliable
18497
18498 2005-01-12  Dan Williams <dcbw@redhat.com>
18499
18500         * initscripts/RedHat/NetworkManager
18501                 - Change initial level to "-" rather than "345" so that
18502                         we don't activate ourselves by default on install
18503
18504 2005-01-12  Dan Williams <dcbw@redhat.com>
18505
18506         * libnm_glib/
18507                 - Client library for applications using glib
18508
18509         * configure.in
18510           various Makefiles
18511                 - Split NM_CFLAGS and NM_LIBS into separate variables
18512                         like DBUS_*, HAL_* and GLIB_*
18513
18514         * src/NetworkManager.c
18515           src/NetworkManagerMain.h
18516                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18517                         broadcast a status changed signal over DBUS from the main thread.
18518                         Still unused anywhere for the moment.
18519
18520         Patch from j@bootlab.org
18521         * panel_applet/NMWirelessAppletDbus.c
18522           src/NetworkManagerDbus.c
18523                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18524                         for the "getMode" method call
18525
18526 2005-01-10  Dan Williams <dcbw@redhat.com>
18527
18528         * src/NetworkManagerDevice.c
18529                 - Minor fixups & corrections to "auto" frequency mode, make it
18530                         less chatty with syslog
18531
18532 2005-01-10  Dan Williams <dcbw@redhat.com>
18533
18534         * src/NetworkManagerDevice.c
18535                 - Implement "auto" frequency/channel support, since cards like Atheros
18536                         can't use other frequencies at all when you've told it to use a
18537                         specific one, even for scanning.
18538                 - Grab the scan mutex around places where we can't tolerate wireless
18539                         settings changing underneath us, like nm_device_wireless_network_exists()
18540                         and nm_device_activate_wireless()
18541
18542         * src/NetworkManagerWireless.c
18543                 - Back scan interval off to 20s instead of 14s
18544
18545 2005-01-09  Dan Williams <dcbw@redhat.com>
18546
18547         * src/NetworkManagerDevice.c
18548                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18549                         already set.  Stops some drivers like Atmel from continually
18550                         reloading the firmware, which they do upon every configuration
18551                         change.
18552
18553 2005-01-09  Dan Williams <dcbw@redhat.com>
18554
18555         * dhcpcd/client.c
18556                 - Use correct timeout value
18557
18558         * info-daemon/NetworkManagerInfoDbus.c
18559           src/NetworkManagerDbus.c
18560                 - Consolidate communication between NM and NMI by doing only 1 dbus
18561                         method call to get Wireless Network info from NMI instead of 6
18562
18563         * src/NetworkManager.c
18564                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18565                         when we didn't have an AP to use, we'd wait for one forever without
18566                         quitting
18567
18568         * src/NetworkManagerDevice.c
18569                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18570                         activation, dhcp might not have started yet but we don't quit activation
18571                         before starting it, so the quit signal gets lost
18572
18573 2005-01-07  Dan Williams <dcbw@redhat.com>
18574
18575         * dhcpcd/client.c
18576                 - Rework the DHCP client code to be much less chatty when
18577                         it receives non-DHCP UDP packets during the DHCP run
18578                         (reported by and preliminary patches from Bill Moss)
18579
18580         * Move wireless scanning to a separate thread.  This thread forwards the
18581                 results to the main thread when done where they are integrated into
18582                 the device's access point lists.  This keeps the main thread (which
18583                 does all the DBUS communication) from being blocked for long periods
18584                 of time by wireless scanning.
18585
18586         * Make state modification an idle routine in the main loop, and trigger
18587                 state changes rather than polling for them.
18588
18589         * src/backends/NetworkManagerGentoo.c
18590                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18591
18592         * src/NetworkManagerDevice.c
18593                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18594                         router advertisements, causing problems and infinite loop
18595                         during "best" device determination due to link going up/down
18596                         (reported by Bill Moss)
18597
18598         Apply patch from Peter Jones
18599         * src/NetworkManagerDevice.c
18600                 - Shortcut for link-checking for ipw2x00 cards
18601                 - Split out association check into separate routine
18602
18603 2004-01-05  Colin Walters  <walters@redhat.com>
18604
18605         * named/named.conf: Add PID_FILE.
18606
18607         * named/nm-named-manager.c: Always generate a pid
18608         file, since older BIND versions don't support
18609         "pid-file none".
18610
18611 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18612
18613         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18614
18615 2004-12-22  Dan Williams <dcbw@redhat.com>
18616
18617         * src/NetworkManagerDevice.c
18618                 - Silently fail when setting bitrate doesn't work
18619
18620
18621         Patches from j@bootlab.org:
18622         * src/backends/NetworkManagerDebian
18623                 - Update backend to match functionality in RedHat backend
18624         * src/NetworkManagerDevice.c
18625                 - Take down then bring up wired devices after connection so
18626                 they send out ipv6 router advertisements
18627
18628 2004-12-21  Colin Walters  <walters@verbum.org>
18629
18630         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18631         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18632
18633 2004-12-21  Colin Walters  <walters@redhat.com>
18634
18635         * configure.in: Correct named detection.
18636
18637 2004-12-21  Colin Walters  <walters@redhat.com>
18638
18639         * src/NetworkManager.c (nm_data_new): Initialize named.
18640         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18641         the mainloop when these signals are received.
18642         (nm_data_free): Unref named.
18643         (sigterm_handler, sigterm_pipe_handler): New functions for
18644         exiting mainloop.
18645         
18646         * src/NetworkManagerMain.h (NMData): Add signal handling and
18647         nameserver bits.
18648
18649         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18650         unref.
18651
18652         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18653         set nameservers from DHCP response data.
18654         (set_domain_search): Set domain search from DHCP response.
18655         (nm_device_dhcp_configure): Invoke them.
18656
18657         * src/NetworkManagerSystem.c
18658         (nm_system_device_update_resolv_conf): Delete.  Deleting
18659         code is totally sweet.
18660
18661         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18662
18663         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18664         implements an object which controls a nameserver.  Currently
18665         uses bind 9.
18666
18667         * configure.in: Check for named.
18668
18669         * Makefile.am (SUBDIRS): Add named dir.
18670
18671         * named/named.conf: New template config file.
18672
18673 2004-12-20  Colin Walters  <walters@redhat.com>
18674
18675         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18676         instead of '='.
18677
18678 2004-12-17  Dan Williams  <dcbw@redhat.com>
18679
18680         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18681                 link-local addresses instead of doing DHCP.
18682
18683         * In the panel applet, there's a new "Create new Wireless Network..." item
18684
18685         * The panel applet also sticks around now even if NetworkManager dies, but
18686                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18687                 a bug, I'll fix that later.
18688
18689         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18690                 lookups after a switch rather than actually doing them.
18691
18692         * Clean up some of those warnings in nm_ap_list_* functions
18693
18694         * Delay between scans changed to 15s instead of 10s
18695
18696 2004-12-15  Dan Williams  <dcbw@redhat.com>
18697
18698         Patch from Tom Parker
18699         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18700                 address
18701
18702         * Longer pause after setting ESSID on cards that support a larger number
18703                 of channels to give the card time to find the right channel
18704
18705         * Add system hook to restart mDNSResponder (or whatever the local implementation
18706                 of Multicast DNS is) when we activate interfaces
18707
18708 2004-12-15  Dan Williams  <dcbw@redhat.com>
18709
18710         * Rework the DHCP code again to revert to sending full ethernet frames
18711                 rather then relying on the kernel to do the right thing with our
18712                 packets.
18713
18714 2004-12-06  Dan Williams  <dcbw@redhat.com>
18715
18716         * dhcpcd/client.c
18717                 - Fix some minor errors in dhcp_handle_transaction() that caused
18718                         unexpected early timeouts of DHCP transactions
18719
18720         * dhcpcd/client.h
18721                 - DHCP retransmit time from 4s -> 5s
18722
18723 2004-12-05  Dan Williams  <dcbw@redhat.com>
18724
18725         * Major rework of the DHCP code, taking some cues from pump.  We don't
18726                 write raw Ethernet packets anymore, which simplifies the code quite
18727                 a bit.  The new code should be more robust, not hang in recvfrom()
18728                 as much, and generally work better.  This also means that we need
18729                 to force HAL/dbus to use a created GMainContext rather than the
18730                 default context, since having the DHCP renew/rebind thread using
18731                 its own GMainContext seemed to give dbus a fit.  There is also more
18732                 debugging information printed from the DHCP loop to help with future
18733                 problems.
18734
18735         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18736                 assume that the default gateway should be the DHCP server.
18737
18738         Patch from Matthew Schick <matt oss-institute org>
18739         * src/backends/NetworkManagerGentoo.c
18740                 - Fix compilation error due to missing "ip4_broadcast"
18741
18742 2004-12-03  Dan Williams  <dcbw@redhat.com>
18743
18744         * initscript/Makefile.am
18745         * initscript/Debian/NetworkManager
18746         * initscript/Gentoo/NetworkManager
18747         * initscript/RedHat/NetworkManager
18748         * initscript/NMLaunchHelper.c
18749                 - Remove NMLaunchHelper, if you need to wait until the network
18750                         comes up, use the dead code from CVS.
18751
18752 2004-12-01  Colin Walters  <walters@redhat.com>
18753         
18754         * configure.in: Suck in gcc warnings code from Rhythmbox,
18755         but use fewer default flags, and in particular add -Wno-unused,
18756         since the codebase has a lot of unused variables.
18757
18758         * test/nmtestdevices.c (create_device): 
18759         * test/nminfotest.c (get_network_string_property) 
18760         (get_networks_of_type): 
18761         * test/nmclienttest.c (main): 
18762         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18763         * initscript/NMLaunchHelper.c (get_nm_status): 
18764         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18765         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18766         Fix declarations after statements.
18767
18768 2004-12-01  Colin Walters  <walters@redhat.com>
18769
18770         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18771         (nmi_dbus_get_vpn_userpass): New method.
18772         (nmi_dbus_nmi_message_handler): Invoke it.
18773
18774         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18775
18776         * info-daemon/NetworkManagerInfoVPN.h,
18777         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18778         to requests for VPN passwords.
18779
18780         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18781
18782 2004-12-01  Colin Walters  <walters@redhat.com>
18783
18784         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18785         includes.
18786
18787 2004-12-01  Colin Walters  <walters@redhat.com>
18788
18789         * panel-applet/NMWirelessAppletDbus.c
18790         (nmwa_dbus_update_active_device_strength): Fix missing
18791         return value.
18792
18793 2004-12-01  Colin Walters  <walters@redhat.com>
18794
18795         * panel-applet/NMWirelessApplet.c: Add missing include.
18796
18797 2004-12-01  Colin Walters  <walters@redhat.com>
18798
18799         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18800         Remove useless CLAMP (); the value is unsigned, and the case tests
18801         qual->qual < 100, so the value must always be between 0 and 100.
18802
18803 2004-12-01  Colin Walters  <walters@redhat.com>
18804
18805         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18806
18807 2004-11-22  Colin Walters  <walters@verbum.org>
18808
18809         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18810         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18811         which is essentially a noop since nscd caches hosts on disk too.
18812         
18813 2004-11-22  Colin Walters  <walters@redhat.com>
18814
18815         * src/Makefile.am (NetworkManager_SOURCES): Add
18816         NetworkManagerDevicePrivate.h.
18817
18818 2004-11-22  Dan Williams <dcbw@redhat.com>
18819
18820         * src/NetworkManagerDevicePrivate.h
18821                 - Split out the NMDevice struct to a different file so that stuff like
18822                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18823
18824         * dhcpcd/client.c
18825                 - fprintf->syslog
18826                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18827                         need to cancel the dhcp request during the send and recv
18828
18829         * dhcpcd/client.h
18830                 - Move the DHCP option enum to dhcpcd.h
18831
18832         * src/NetworkManagerDHCP.c
18833                 - Split out the actual IP/netmask/etc setting code
18834                 - New Renew/Rebind functions
18835                 - New timer setup function for renew/rebind operations
18836
18837         * src/NetworkManagerDevice.c
18838                 - For device activation, if we are using DHCP then keep the activation thread
18839                         alive until device deactivation.  We need to renew/rebind the DHCP address
18840                         after the T1 (renew) and T2 (rebind) times have expired.
18841                 - Increase some timeouts after bringing wireless cards up/down
18842
18843 2004-11-17  Dan Williams <dcbw@redhat.com>
18844
18845         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18846                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18847                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18848                 show known access points that don't broadcast their ESSID in the menus without
18849                 any user intervention whatsoever.
18850
18851         * info-daemon/NetworkManagerInfoDbus.c
18852                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18853                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18854
18855         * src/NetworkManagerAP.[ch]
18856                 - Add a "user_addresses" data member to the NMAccessPoint structure
18857                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18858                         the user_addresses data member
18859
18860         * src/NetworkManagerAPList.c
18861                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18862                         the AP's reported address
18863                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18864
18865         * src/NetworkManagerDHCP.c
18866                 - Increase DHCP timeout from 25s -> 30s
18867
18868         * src/NetworkManagerDbus.[ch]
18869                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18870                         user addresses
18871
18872         * src/NetworkManagerDevice.c
18873                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18874                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18875                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18876                         So, we take the card down to clear it out.
18877                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18878                         too, since that's where the user_addresses are
18879
18880         * src/NetworkManagerPolicy.c
18881                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18882                         that wireless networks' user_addresses list upon successful activation
18883
18884 2004-11-16  Dan Williams <dcbw@redhat.com>
18885
18886         * src/NetworkManagerDevice.[ch]
18887                 - (nm_device_clear_activation_fail): new function
18888
18889         * src/NetworkManagerPolicy.c
18890                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18891                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18892
18893 2004-11-16  Dan Williams <dcbw@redhat.com>
18894
18895         * src/NetworkManagerDevice.c
18896                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18897                         leak the structure, better updating of now_scanning status
18898                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18899
18900 2004-11-15  Dan Williams <dcbw@redhat.com>
18901
18902         Major rework of link detection code.  We now use DHCP
18903         as part of the link detection which proves to be much more robust,
18904         and also supports Open System authentication for wireless networks.
18905
18906         We no longer use external DHCP client programs.  Instead, we use 
18907         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18908         which was written by:
18909                 Yoichi Hariguchi <yoichi@fore.com>
18910                 Sergei Viznyuk <sv@phystech.com>
18911                 http://www.phystech.com/download/
18912         It resides in the "dhcpcd" directory and was refactored into a general
18913         purpose DHCP client library by me.
18914
18915         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18916         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18917
18918 2004-11-15  Dan Williams <dcbw@redhat.com>
18919
18920         Patch from Tom Parker <palfrey@tevp.net>:
18921
18922         * src/NetworkManagerDevice.c
18923                 - Less output to console when no access
18924                         points are found during a scan
18925
18926 2004-11-15  Dan Williams <dcbw@redhat.com>
18927
18928         Patch from Tom Parker <palfrey@tevp.net>:
18929
18930         * src/backends/interface_parser.c
18931                 - Use g_strdup ()
18932                 - Check for inp == NULL
18933                 - use syslog ()
18934
18935 2004-11-13  Colin Walters  <walters@redhat.com>
18936
18937         Patch from Tom Parker <palfrey@tevp.net>:
18938
18939         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18940         
18941         * src/backends/NetworkManagerRedHat.c: Switch to
18942         including shvar.h instead of shvar.c.
18943
18944         * src/backends/NetworkManagerDebian.c: Don't include
18945         interface_parser.c in source file.
18946
18947         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18948         and interface_parser.[ch].
18949         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18950         Include shvar.c and shvar.h here.
18951         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18952         interface_parser.c and interface_parser.h here.
18953
18954 2004-11-12  Colin Walters  <walters@redhat.com>
18955
18956         * configure.in: Strip out TARGET_DISTRO and
18957         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18958         conditionals.
18959
18960         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18961         (libnmbackend_la_SOURCES): Use Automake conditionals
18962         to add distro-specific files.
18963
18964         * initscript/Makefile.am (SUBDIRS): Update to
18965         use conditionals.
18966
18967 2004-11-12  Colin Walters  <walters@redhat.com>
18968
18969         Patches from j bootlab org
18970
18971         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18972         Add interface_parser.[ch].
18973
18974         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18975         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18976
18977 2004-11-12  Colin Walters  <walters@redhat.com>
18978
18979         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18980         call to nmi_dbus_is_running too, not necessary anymore.
18981         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18982         pick up exit().
18983
18984 2004-11-11  Colin Walters  <walters@verbum.org>
18985
18986         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18987         Delete.
18988         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18989         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18990         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18991         This avoids a race condition that made it pretty easily
18992         possible to get two NetworkManagerInfo daemons running.
18993
18994 2004-11-11  Colin Walters  <walters@verbum.org>
18995         
18996         * src/NetworkManager.c (main): Use daemon(3).
18997
18998         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18999
19000         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19001
19002 2004-11-10 Dan Williams <dcbw@redhat.com>
19003
19004         Patches from j bootlab org
19005         * src/NetworkManagerDevice.c
19006                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19007                         whether the card has a link or not, some cards are slow
19008                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19009
19010         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19011                 - Disable the "Login" button on the passphrase dialog until the user
19012                         enters a valid passphrase or key
19013
19014         Patches from Tom Parker <palfrey tevp net>
19015         * src/backends/NetworkManagerDebian.c
19016                 - Add static IP support to the debian backend
19017
19018         * src/backends/interface_parser.[ch]
19019                 - Parse debian interface config files
19020
19021 2004-11-08 Dan Williams <dcbw@redhat.com>
19022
19023         * src/NetworkManagerDevice.c
19024                 - Some random fprintf->syslog conversions
19025                 - (nm_device_wireless_network_exists): double-check for network
19026                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19027
19028         * src/NetworkManagerWireless.[ch]
19029                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19030                         so that the binary->ascii conversion works (if unsigned, the bitshift
19031                         will fill with zeros, which is what's required).  Also mask bitshift
19032                         result with 0xF for futher assurance.
19033
19034 2004-11-06 Dan Williams <dcbw@redhat.com>
19035
19036         * src/NetworkManagerUtils.c
19037                 - (nm_get_wireless_driver_support_level): default to
19038                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19039                         flip this when changing from whitelist->blacklist of
19040                         wireless drivers
19041
19042 2004-11-05 Dan Williams <dcbw@redhat.com>
19043
19044         Patch from Robert Paskowitz:
19045         * src/backends/NetworkManagerGentoo.c
19046                 - Update static IP config code
19047
19048 2004-11-05 Dan Williams <dcbw@redhat.com>
19049
19050         * info-daemon/NetworkManagerInfoDbus.c
19051           src/NetworkManagerDbus.[ch]
19052           src/NetworkManagerDevice.c
19053                 - Keep track of the # of attempts to get the WEP key
19054                         from the user and pass that along to the info daemon
19055
19056 2004-11-05 Dan Williams <dcbw@redhat.com>
19057
19058         * src/NetworkManagerUtils.c
19059                 - Blacklist wireless cards rather than whitelisting them.
19060                 - Grab driver name from HAL rather than trying to find it
19061                         ourselves.
19062
19063 2004-11-03 Dan Williams <dcbw@redhat.com>
19064
19065         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19066                 - Disable OK button until valid data is entered
19067                         for encryption stuff too
19068
19069         * panel-applet/NMWirelessApplet.c
19070                 - Report card strength for current AP if the card
19071                         doesn't report strength data for scanned access
19072                         points
19073
19074         * src/NetworkManagerDevice.c
19075                 - Smooth out cards reported quality, Atmel card was
19076                         intermittently reporting no quality data but soon
19077                         recovers
19078
19079         * src/NetworkManagerWireless.c
19080                 - Better quality data percentage calculation.  Atmel
19081                         cards (mine at least) seem to report the quality
19082                         in percentage format already, so honor that
19083
19084         Patch from <j@bootlab.org>
19085         * NetworkManager.h
19086           info-daemon/NetworkManagerInfoPassphraseDialog.c
19087           info-daemon/passphrase.glade
19088           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19089           panel-applet/essid.glade
19090           src/NetworkManagerAP.c
19091           src/NetworkManagerDevice.c
19092           src/NetworkManagerWireless.[ch]
19093                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19094
19095 2004-11-03 Dan Williams <dcbw@redhat.com>
19096
19097         * src/NetworkManagerDevice.[ch]
19098                 - (nm_device_set_enc_key): Add parameter to set Authentication
19099                         Mode (Open System, Shared Key, or None).  We're still using
19100                         Shared Key for now though.
19101
19102 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19103
19104         * panel-applet/menu-info.c: change from bold text to light
19105         colored, may cause problems with some themes, i've tested a lot
19106         and they seem fine. 
19107
19108         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19109
19110 2004-11-01  Colin Walters  <walters@verbum.org>
19111
19112         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19113         (nm_wireless_128bit_key_from_passphrase): Add const.
19114
19115         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19116         (nm_ap_set_enc_key_source): Add const.
19117         
19118 2004-11-01  Colin Walters  <walters@verbum.org>
19119
19120         * .cvsignore: Update.
19121
19122 2004-10-29 Dan Williams <dcbw@redhat.com>
19123
19124         * src/NetworkManagerDevice.c
19125                 - (nm_device_wireless_network_exists): Actually use the encryption
19126                         key we got from the applet when attempting to find a wireless network
19127                 - Don't bring devices down so much since on some cards it triggers
19128                         firmware hotplugs each time
19129
19130         * src/NetworkManagerDbus.c
19131                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19132                         from the caller
19133
19134 2004-10-29 Dan Williams <dcbw@redhat.com>
19135
19136         * src/NetworkManager.c
19137                 - (nm_hal_device_property_modified): unlock a locked active
19138                         wireless device when a wired connection gets a link.
19139                         (Means you'll switch to wired whenever you plug in no
19140                         matter what).
19141
19142 2004-10-29 Dan Williams <dcbw@redhat.com>
19143
19144         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19145                 - New files, implement the "Other wireless network" dialog
19146
19147         * panel-applet/NMWirelessApplet.c
19148                 - Move "other wireless network" dialog to separate file
19149
19150         * panel-applet/NMWirelessAppletDbus.[ch]
19151                 - Take key and key_type paramaters for the set_device function
19152
19153         * panel-applet/essid.glade
19154                 - Add UI bits for encryption settings
19155
19156         * src/NetworkManagerDbus.c
19157                 - Retrieve key and key_type params for "setActiveDevice" method call
19158                         and pass them on
19159                 - unref AP returned from nm_device_get_best_ap() when needed
19160
19161         * src/NetworkManagerDevice.c
19162                 - (nm_device_get_best_ap): ref the ap before returning it
19163                 - unref AP returned from nm_device_get_best_ap() when needed
19164                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19165                         need to call nm_device_get_best_ap() here, it was pretty much
19166                         redundant anyway
19167                 - (AP_NEED_KEY): break second link check condition out into separate
19168                         function, and fix segfault when ap->enc_key_source was NULL
19169                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19170                         pass them along to nm_device_wireless_network_exists().  If the
19171                         network does exist, set the passed-in key+key_type on the AP
19172
19173         * src/NetworkManagerPolicy.c
19174                 - unref AP returned from nm_device_get_best_ap() when needed
19175
19176 2004-10-28 Dan Williams <dcbw@redhat.com>
19177
19178         * src/NetworkManagerUtils.c
19179                 - (nm_spawn_process): Fix a potential dereference of NULL
19180
19181         Patches from Peter Jones:
19182
19183         * src/NetworkManagerDevice.c
19184                 - (nm_device_test_wireless_extensions): Better check for
19185                         wireless devices
19186
19187         * src/NetworkManagerUtils.c
19188                 - (nm_spawn_process): Pass in valid stdout and stderr so
19189                         executed programs don't randomly SIGPIPE and fail
19190                 - (nm_get_wired_driver_support_level): quash hal warning
19191                         when checking for USB ethernet device
19192
19193 2004-10-27 Dan Williams <dcbw@redhat.com>
19194
19195         * info-daemon/NetworkManagerInfo.c
19196           info-daemon/NetworkManagerInfoDbus.c
19197           info-daemon/NetworkManagerInfoPassphraseDialog.c
19198           panel-applet/NMWirelessApplet.c
19199                 - Properly escape gconf keys
19200
19201         * src/NetworkManager.c
19202                 - remove unused variables
19203
19204         * src/NetworkManagerAP.c
19205                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19206                         refcount since it got set in nm_ap_new()
19207
19208         * src/NetworkManagerAPList.c
19209                 - (nm_ap_list_combine): Give up ownership of newly created
19210                         access points to the ap list, fixes memleak
19211
19212         * src/NetworkManagerDevice.c
19213                 - Remove cached_ap_list4 member since its not really needed
19214                 - (nm_device_wireless_network_exists): Try to get correct
19215                         encryption status of a found AP if its already in our
19216                         device list
19217                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19218                         memory allocs/deallocs a bit clearer and shorter-lived
19219
19220 2004-10-26 Ray Strode <rstrode@redhat.com>
19221
19222         * panel-applet/NMWirelessApplet.c:
19223           (custom_essid_item_selected):  kill some compiler
19224         warnings 
19225
19226 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19227
19228         * info-daemon/NetworkManagerInfoDbus.c
19229                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19230                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19231
19232 2004-10-23 Dan Williams <dcbw@redhat.com>
19233
19234         * info-daemon/NetworkManagerInfoDbus.c
19235                 - Trap the "DeviceActivationFailed" signal
19236
19237         * docs/NetworkManager DBUS API.txt
19238                 - Add "DeviceActivationFailed" signal
19239
19240         * panel-applet/NMWirelessAppletDbus.c
19241                 - Quash the "NetworkManager service not available" message
19242
19243         * src/NetworkManagerDbus.[ch]
19244                 - Add the "DeviceActivationFailed" signal
19245
19246         * src/NetworkManagerDevice.c
19247                 - Add support for activation_failed flag
19248                 - Fix deadlock where activation thread didn't clean itself up, making
19249                         main thread still believe it was alive forever (didn't reset activation
19250                         flags like activating, just_activated, etc when IP configuration
19251                         failed)
19252
19253         * src/NetworkManagerPolicy.c
19254                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19255                         for wireless networks, try to fall back to some other access point
19256
19257 2004-10-23 Dan Williams <dcbw@redhat.com>
19258
19259         * panel-applet/NMWirelessApplet.[ch]
19260                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19261                         to the applet object, so we can get tooltips
19262                 - Add tooltips (RH #136866)
19263
19264         * src/NetworkManagerDevice.c
19265                 - When trying to find a wireless network, try to connect with encryption
19266                         turned on first, so that we can more accurately detect whether or not
19267                         we need to use encryption for the actual association later on
19268
19269 2004-10-21 Dan Williams <dcbw@redhat.com>
19270
19271         * Add some support for telling NetworkManagerInfo to tell the user
19272                 that they are using a device that's not fully supported
19273
19274         * Fix some assertions in debug messages due to null access point args
19275
19276 2004-10-21 Dan Williams <dcbw@redhat.com>
19277
19278         * src/NetworkManagerDevice.c
19279                 - Don't try to activate/bring up/down unsupported
19280                         devices
19281
19282         * src/NetworkManagerUtils.c
19283                 - Fix case of PCI ID checks for driver support levels
19284
19285 2004-10-21 Dan Williams <dcbw@redhat.com>
19286
19287         * NetworkManager.h
19288                 - New file, now contains commonly used structures and bits
19289                         for the dbus API of NetworkManager
19290
19291         * Makefile.am
19292                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19293
19294         * src/NetworkManager.h
19295                 - Rename -> src/NetworkManagerMain.c
19296
19297         * Various fixups all around to use NetworkManager.h and new
19298                 src/NetworkManagerMain.h, remove redundant bits that got
19299                 moved into NetworkManager.h
19300
19301         * src/NetworkManagerDevice.[ch]
19302           src/NetworkManagerUtils.[ch]
19303           src/NetworkManagerPolicy.c
19304           src/NetworkManagerDbus.c
19305                 - Whitelist wireless drivers, and blacklist some wired
19306                         drivers.  Also blacklist cipsec and ethernet-over-usb
19307                         devices at this time (RH #135722, RH #135648)
19308                 - Don't leak unsupported devices out over dbus, or allow
19309                         them to be set as the active device.  Skip over them
19310                         during automatic device picking
19311
19312         * test/nmclienttest.c
19313                 - Clean up the dbus code a lot
19314
19315 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19316
19317         * configure.in: post release bump.
19318
19319 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19320
19321         * configure.in:
19322         * NEWS: Released NetworkManager-0.3.1
19323
19324 2004-10-18 Dan Williams <dcbw@redhat.com>
19325
19326         Patches from Thom May:
19327         * test/nmtestdevices.c
19328                 - Include <string.h>
19329         * src/backends/NetworkManagerDebian.c:
19330                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19331                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19332                         Move to using g_strdup_printf rather than arbitrary buffers
19333                 - (nm_system_device_setup_static_ip4_config) Implement function.
19334                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19335
19336 2004-10-17 Dan Williams <dcbw@redhat.com>
19337
19338         * info-daemon/NetworkManagerInfoDbus.c
19339                 - Display name of network in the "network not found" dialog
19340
19341         * panel-applet/NMWirelessAppletDbus.c
19342                 - (nmwa_dbus_call_nm_method): new function replaces all other
19343                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19344                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19345                         consolidated into nmwa_dbus_get_object_name()
19346
19347 2004-10-15 Dan Williams <dcbw@redhat.com>
19348
19349         * src/NetworkManagerDbus.c
19350           info-daemon/NetworkManagerInfoDbus.c
19351                 - Display an error dialog when the user tries to use an
19352                         "Other wireless network" that's not found.
19353
19354 2004-10-15 Dan Williams <dcbw@redhat.com>
19355
19356         * panel-applet/NMWirelessApplet.[ch]
19357                 - Fix up corner cases in applet state, making it
19358                         look more responsive.  Change state to "connecting" when
19359                         the user is forcing a device too.
19360
19361 2004-10-15 Dan Williams <dcbw@redhat.com>
19362
19363         * src/NetworkManagerAPList.c
19364                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19365
19366         * src/NetworkManagerDbus.c
19367                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19368
19369         * src/NetworkManagerDevice.c
19370                 - Disown APs after the device's AP list takes ownership
19371
19372 2004-10-15 Dan Williams <dcbw@redhat.com>
19373
19374         * panel-applet/NMWirelessApplet.c
19375                 - Update our applet state from the GUI thread
19376
19377         * panel-applet/NMWirelessAppletDbus.c
19378                 - Greatly simplify the locking to make the GUI thread
19379                         smoother.  Update a private copy of the device list
19380                         and active device and only when done talking to
19381                         NetworkManager turn it over to the GUI thread.
19382
19383 2004-10-15 Dan Williams <dcbw@redhat.com>
19384
19385         * src/NetworkManagerAP.[ch]
19386                 - Add "artificial" get/set functions, set for APs that
19387                         aren't discovered as part of a scan but instead
19388                         discovered by force-setting the ESSID
19389
19390         * src/NetworkManagerDevice.[ch]
19391                 - (nm_device_wireless_network_exists): pass back whether
19392                         or not the discovered AP was encrypted.  Also, try
19393                         falling back to encrypted mode on the card if unencrypted
19394                         association doesn't work
19395                 - (nm_device_find_and_use_essid): If the network requested
19396                         did in fact exists, but it wasn't in our scan list, add
19397                         an "artificial" entry for it.  Some Cisco cards don't
19398                         see non-ESSID-broadcasting APs in their scan but can still
19399                         associate with them if you know the ESSID, this works around
19400                         that behavior
19401                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19402                         to scan if the card is currently associated with that AP
19403
19404 2004-10-15 Dan Williams <dcbw@redhat.com>
19405
19406         ---- We have a website ----
19407         http://people.redhat.com/dcbw/NetworkManager
19408
19409         Patch from Robert Paskowitz:
19410         * src/NetworkManager.c
19411                 - (main): Make sure we are run as root
19412         * src/NetworkManagerDevice.c
19413                 - Fix type in ad-hoc setting function
19414
19415         Patch from Thom May:
19416         * src/backends/NetworkManagerDebian.c
19417                 - Make Debian backend compile again
19418
19419 2004-10-14 Dan Williams <dcbw@redhat.com>
19420
19421         * Tagged NetworkManager-0_3
19422
19423 2004-10-14 Dan Williams <dcbw@redhat.com>
19424
19425         Patch from Robert Paskowitz:
19426         * NEWS
19427           src/NetworkManagerDevice.[ch]
19428           src/backends/NetworkManagerDebian.c
19429           src/backends/NetworkManagerGentoo.c
19430           src/backends/NetworkManagerRedHat.c
19431           src/backends/NetworkManagerSlackware.c
19432                 - Add support for grabbing and using a broadcast address
19433                         from system config files
19434                 - Some Gentoo backend fixes for grabbing network config
19435                 - Fix LOG_WARN->LOG_WARNING
19436
19437 2004-10-14 Dan Williams <dcbw@redhat.com>
19438
19439         * NEWS: a few small fixes in the credits
19440
19441 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19442
19443         * NEWS: prep for release.
19444
19445 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19446
19447         * panel-applet/NMWirelessAppletDbus.c
19448         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19449
19450 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19451
19452         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19453         applet->state == APPLET_STATE_NO_NM animation.
19454
19455         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19456         set the text correctly.
19457
19458 2004-10-14 Dan Williams <dcbw@redhat.com>
19459
19460         * src/NetworkManager.c
19461                 - Only accept and manager 802.3 and 802.11 devices
19462
19463         * src/NetworkManagerDbus.[ch]
19464                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19465                         logic into NetworkManagerDevice.c
19466                 - (nm_dbus_network_status_from_data): new function
19467                 - (nm_dbus_signal_network_status_change): new function, unused for now
19468                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19469
19470         * src/NetworkManagerDevice.[ch]
19471                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19472                         a random ESSID.
19473
19474 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19475
19476         * info-daemon/NetworkManagerInfo.c 
19477                 - (main): Added session management
19478
19479 2004-10-14 Dan Williams <dcbw@redhat.com>
19480
19481         * panel-applet/NMWirelessAppletDbus.[ch]
19482                 - Expose network_device_[un]ref()
19483                 - Expose wireless_network_[un]ref()
19484                 - (wireless_network_new_with_essid): new function, create and return
19485                         a wireless network with a particular essid
19486
19487         * panel-applet/NMWirelessApplet.c
19488                 - Hook up the "other network" dialog to do something
19489
19490 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19491
19492         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19493         doesn't work yet, but it looks okay.
19494
19495         * panel-applet/icons/*png: Resize to 22x22 and install in the
19496         right place.
19497
19498 2004-10-13 Dan Williams <dcbw@redhat.com>
19499
19500         * panel-applet/NMWirelessApplet.c
19501                 - Add function to print out applet_state in a readable
19502                         manner
19503
19504         * src/NetworkManager.c
19505                 - (main): Don't segfault when nm_dbus_init() fails, we had
19506                         a left-over call to hal_shutdown() into which we passed NULL
19507
19508         * src/NetworkManagerAP.c
19509                 - (nm_ap_set_essid): Allow NULL essids
19510
19511         * src/NetworkManagerAPList.[ch]
19512                 - More use of nm_ap_list_[un]lock ()
19513                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19514                         network/essid, just return nothing.  Also skip over NULL
19515                         essid access points in the list when searching
19516                 - (nm_ap_list_get_ap_by_address): new function
19517                 - (nm_ap_list_update_network): set the access point's key source to
19518                         NULL when the key returned from NetworkManagerInfo is NULL or
19519                         of 0 length
19520                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19521                         copy timestamp over too
19522                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19523                         find the correct ESSID for a blank-essid access point by searching
19524                         through another list and matching access point MAC addresses
19525                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19526
19527         * src/NetworkManagerDbus.c
19528                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19529                         may specify.  This is mainly for access points that don't
19530                         broadcast their essid.  So if the user tells us to associate with
19531                         some random ESSID that's not in our access point list, we find
19532                         out if the access point does in fact exist (by attempting association
19533                         and then matching that access point's MAC address with the essid the
19534                         user gave us) and then we switch to it.
19535                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19536                         to the returned list of networks for the "getNetworks" method
19537
19538         * src/NetworkManagerDevice.[ch]
19539                 - Extra debugging info for link detection
19540                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19541                         based on MAC address
19542                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19543                 - (nm_device_wireless_network_exists): new function, find out whether
19544                         a random ESSID exists by attempting to associate with it
19545                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19546                         device list as long as they have an AP MAC address we can use.
19547                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19548                         devices too.  Lets the applet update more frequently.
19549
19550         * src/backends/NetworkManagerGentoo.c
19551                 - Patch from: Robert Paskowitz
19552                         - Update backend code for Gentoo
19553                         - Implement nm_system_device_update_config_info ()
19554
19555         * test/nmclienttest.c
19556                 - (set_network_device): new function, takes a command-line argument
19557                         and tells NetworkManager to use that wireless network
19558
19559 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19560
19561         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19562         if the notification icon crashes 5 times within 5 seconds of each respawn 
19563
19564 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19565
19566         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19567         g_print.
19568
19569 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19570
19571         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19572
19573         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19574         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19575         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19576         Change the name of the icons.
19577
19578         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19579         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19580         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19581         (nm_menu_wireless_expose_event): Really bad hack to get the style
19582         to draw in the right color.
19583
19584 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19585
19586         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19587         Notification if it crashes
19588
19589 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19590
19591         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19592         (nmwa_dbus_get_string): remove unused functions
19593
19594         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19595         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19596         remove unused functions
19597
19598         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19599
19600 2004-10-12 Dan Williams <dcbw@redhat.com>
19601
19602         * panel-applet/NMWirelessAppletDbus.c
19603                 - New functions:
19604                         wireless_network_new
19605                         wireless_network_copy
19606                         network_device_new
19607                         network_device_copy
19608
19609         * src/NetworkManagerDevice.[ch]
19610                 - New functions:
19611                         nm_device_set_mode_managed
19612                         nm_device_set_mode_adhoc
19613                 - Use these functions where appropriate
19614                 - When creating a new wireless device, force the card
19615                         to managed/Infrastructure mode as soon as possible
19616
19617 2004-10-12 Dan Williams <dcbw@redhat.com>
19618
19619         * src/NetworkManagerDevice.c
19620                 - Force wireless cards into Infrastructure mode before we use them
19621
19622 2004-10-12 Dan Williams <dcbw@redhat.com>
19623
19624         * TODO
19625                 - Remove bit about static IP address support
19626
19627         * src/NetworkManagerUtils.c
19628                 - (nm_spawn_process): Add some error reporting
19629
19630         * src/NetworkManagerDevice.c
19631                 - (nm_device_activation_configure_ip): hook up to the static config
19632                         routines in the backends
19633
19634         * src/backends/NetworkManagerRedHat.c
19635                 - (nm_system_device_update_config_info): use shvar.c routines to
19636                         parse the config file iformation, not our own
19637                 - (nm_system_device_setup_static_ip4_config): new function, based
19638                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19639                         with a static IP address and gateway
19640
19641         * src/backends/shvar.[ch]
19642                 - Parser (filched from initscripts package) for ifcfg-* files
19643
19644         * src/backends/NetworkManagerSystem.h
19645           src/backends/NetworkManagerGentoo.c
19646           src/backends/NetworkManagerDebian.c
19647           src/backends/NetworkManagerSlackware.c
19648                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19649
19650 2004-10-11 Dan Williams <dcbw@redhat.com>
19651
19652         * TODO
19653                 - Remove bit about more robust AP diffing since I just implemented it
19654
19655 2004-10-11 Dan Williams <dcbw@redhat.com>
19656
19657         * src/NetworkManagerAP.c
19658                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19659                         enough RAM to allocate new AP structures, but return NULL instead
19660
19661         * src/NetworkManagerAPList.[ch]
19662                 - (nm_ap_list_is_empty): new function
19663                 - (nm_ap_list_combine): new function, combine two access point lists
19664                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19665                         into another
19666
19667         * src/NetworkManagerDevice.[ch]
19668                 - Rename some functions to be clearer:
19669                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19670                         nm_device_just_activated     -> nm_device_is_just_activated
19671                         nm_device_activating         -> nm_device_is_activating
19672                         nm_device_now_scanning       -> nm_device_is_scanning
19673                 - Cache the last 4 scans so that the access point list is more stable.
19674                         We combine the lastest two scans and use that as the AP list,
19675                         and diff that combined list against the combination of the earliest
19676                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19677
19678 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19679
19680         * info-daemon/NWManagerInfo.h
19681                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19682
19683         * info-daemon/NWManagerInfoDbus.c
19684                 - (shutdown_callback): new function
19685                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19686                         if NetworkManager goes away.  Kill the timeout
19687                         if NetworkManager restarts before the 30 seconds
19688                         are up.
19689                 - (nmi_dbus_service_init): 
19690                         - call gtk_main_quit if NetworkManager is not running
19691                         - add filters to monitor dbus service creations and
19692                                 deletions
19693         
19694 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19695
19696         * panel-applet/NMWirelessApplet.c
19697                 - (nmwa_update_state): Hide notification icon if we are only
19698                         showing one wired card and no wireless interfaces 
19699                         (Red Hat Bug #134895)
19700
19701         * panel-applet/NMWirelessAppletDbus.c
19702                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19703
19704         * info-daemon/NWManagerInfo.c
19705                 - (main): Terminated the notification_icon_cmd array with a NULL
19706
19707 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19708
19709         * configure.in (ALL_LINGUAS): Added de (German).
19710
19711 2004-10-08 Dan Williams <dcbw@redaht.com>
19712
19713         * src/NetworkManagerDevice.c
19714                 - Be a bit more robust about link checking, ie make sure that
19715                         the WEP key we were given actually has some data in it
19716
19717 2004-10-08 Dan Williams <dcbw@redhat.com>
19718
19719         * info-daemon/NetworkManagerInfo.c (main):
19720                 - Initialize GError object to NULL
19721
19722 2004-10-08 Dan Williams <dcbw@redhat.com>
19723
19724         * panel-applet/NMWirelessAppletDbus.c
19725                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19726
19727 2004-10-08 Dan Williams <dcbw@redhat.com>
19728
19729         * info-daemon/NetworkManagerInfo.[ch]
19730           info-dameon/NetworkManagerInfoDbus.[ch]
19731           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19732                 - Preserve original label text in the passphrase dialog so that
19733                         it actually gets updated with the new network name the next
19734                         time around.  Previously, we were overwriting it so you'd get
19735                         the wrong network name to enter a key for
19736                 - Add a "Key Type" combo to the passphrase dialog, user selects
19737                         encryption key type now, type is stored in GConf too
19738                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19739
19740         * src/NetworkManagerAP.[ch]
19741                 - Remove all the encyption method magic.  It's now set by the user
19742                         and NetworkManager retrieves the type of encryption key from
19743                         NetworkManagerInfo
19744
19745         * src/NetworkManagerAPList.[ch]
19746           src/NetworkManagerDbus.[ch]
19747                 - Adjust to new way of setting encryption key and method
19748                 - Pull encryption method down from NMI along with key
19749
19750         * src/NetworkManagerDevice.[ch]
19751                 - Removed encryption method fallback magic as the method is now
19752                         determined by the user.  This greatly simplifies the connection
19753                         logic.
19754                 - More robust connection/link logic.  Besides removing the encryption
19755                         method fallback magic, check whether or not the card is receiving
19756                         invalidly encrypted packets, which usually indicates that we have
19757                         a bad WEP key set.
19758                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19759
19760         * test/nminfotest.c
19761                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19762
19763 2004-10-07 Dan Williams <dcbw@redhat.com>
19764
19765         * info-daemon/NetworkManagerInfo.conf
19766                 - Allow root user to run NMI too
19767
19768 2004-10-06 Dan Williams <dcbw@redhat.com>
19769
19770         * src/NetworkManagerDevice.[ch]
19771           src/NetworkManagerDbus.c
19772           doc/NetworkManager DBUS API.txt
19773                 - Add a new status tag "scanning", which is set when there
19774                         is no active network connection, but NetworkManager is
19775                         looking for an access point to associate with
19776
19777         * panel-applet/main.c
19778                 - Cast the applet appropriately for gtk_widget_show_all ()
19779
19780 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19781
19782         * panel-applet/eggtrayicon.[ch]:
19783         * panel-applet/main.c: Add missing file
19784
19785 2004-10-04 Dan Williams <dcbw@redhat.com>
19786
19787         * src/NetworkManagerDevice.[ch]
19788                 - Add a slightly more robust method of determining if the WEP key
19789                         is correct or not, by checking the WEP-discarded packet count
19790                         on the card
19791
19792         * info-daemon/NetworkManagerInfo.c
19793                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19794                         un-escape values we pull out rather than escaping them
19795
19796 2004-10-03  Marcel Telka  <marcel@telka.sk>
19797
19798         * configure.in (ALL_LINGUAS): Added sk.
19799
19800 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19801
19802         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19803         and feel.  We should be back to working, and have a good, clean
19804         look.
19805
19806 2004-09-30 Dan Williams <dcbw@redhat.com>
19807
19808         * info-daemon/NetworkManagerInfo.c
19809           info-daemon/NetworkManagerInfoDbus.c
19810           test/nminfotest.c
19811                 - Escape ESSIDs in gconf
19812
19813         * src/NetworkManagerDevice.c
19814                 - Fix pseudo-scanning to use netowrk list from info daemon
19815
19816 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19817
19818         * configure.in: Add a temporary --enable-notification-icon.  This
19819         will prolly go away.
19820
19821         * info-daemon/Makefile.am:
19822         * info-daemon/NetworkManagerInfo.c:
19823         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19824
19825         * panel-applet/Makefile.am:
19826         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19827         * panel-applet/NMWirelessApplet.h:
19828
19829 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19830
19831         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19832         before 'select custom ESSID'.
19833
19834         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19835         fully complete, but syncing in prep for merge.
19836
19837         * panel-applet/icons/*png: New images
19838
19839 2004-09-28 Dan Williams <dcbw@redhat.com>
19840
19841         * src/NetworkManager.c
19842           src/NetworkManagerDevice.c
19843           src/NetworkManagerPolicy.c
19844                 - Don't blow away an active wired connection on startup
19845
19846 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19847
19848         Changes from J5
19849         
19850         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19851
19852         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19853         syslog output
19854
19855 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19856
19857         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19858         have a wireless card.
19859
19860 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19861
19862         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19863         Also, get the right device strings.
19864
19865 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19866
19867         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19868         the logic to make this right.
19869
19870         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19871         devices so that wired networks are always first.
19872
19873 2004-09-22    <clarkbw@cvs.gnome.org>
19874
19875         * initscript/Debian/.cvsignore:
19876         * initscript/Slackware/.cvsignore:
19877         Added new cvsignores for Makefile, Makefile.in
19878         
19879         * test/.cvsignore:
19880         Added nmtestdevices
19881         
19882         * src/NetworkManagerDevice.c: 
19883         * src/NetworkManager.c: 
19884         Updated the wireless/wired HAL device strings from net.ethernet to
19885         net.80203 or net.80211 depending on wired or wireless respectively
19886         
19887         * examples/python/NetworkManager.py: 
19888         s/Quality/Strength/
19889
19890         * examples/python/systray/network_tray.py:
19891         Lots of little changes and fixes.  been rotting for a while so I
19892         figured I'd finally sync them all with CVS
19893
19894 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19895
19896         * configure.in: Add graphics
19897
19898         * panel-applet/Makefile.am: Add graphics
19899
19900         * panel-applet/icons/*: Add graphics
19901
19902         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19903         the icons fully lined up.
19904
19905         * panel-applet/menu-info.c: 
19906         * panel-applet/menu-info.h: Add another menu type.
19907
19908 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19909
19910         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19911
19912         * panel-applet/menu-item.[ch]: Wireless menu item.
19913
19914 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19915
19916         * info-daemon/NetworkManagerInfo.conf
19917                 - Created a more robust security policy for the DBus service
19918                         - everything is denied by default
19919                         - root can own and send to the service
19920                         - users logged in at the console can send to the service
19921
19922 2004-09-13  Dan Williams <dcbw@redhat.com>
19923
19924         * src/NetworkManagerDevice.c
19925                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19926                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19927                         the latter
19928
19929 2004-09-13  Dan Williams <dcbw@redhat.com>
19930
19931         * TODO: fix typo
19932
19933         * docs/NetworkManager DBUS API.txt
19934                 - Update for new signal strength changes
19935
19936         * panel-applet/NMWirelessApplet.c
19937                 - Make panel icon show strength of the current connection
19938                 - Cleanups and memleak fixes
19939
19940         * panel-applet/NMWirelessApplet.h
19941                 - Add data members for signal strength on devices and networks
19942
19943         * panel-applet/NMWirelessAppletDbus.c
19944                 - Free more DBusErrors
19945                 - Update for new signal strength changes
19946                 - Make devices and networks more like real objects, use ref/unref methods
19947                 - Actually unlock the mutex when updating the active device
19948
19949         * src/NetworkManagerAP.c
19950                 - Change AP functions and data members from "quality"->"strength"
19951
19952         * src/NetworkManagerDbus.c
19953                 - Kill "getMaxQuality" and "getQuality" methods
19954                 - Add "getStrength" methods for Networks and Devices
19955
19956         * src/NetworkManagerDevice.[ch]
19957                 - Add accessors for device strength
19958                 - Add functions to update strength for a device.  Note that not all drivers
19959                         actually support signal strength for scanned access points (Atmel drivers
19960                         being one)
19961                 - Calculate signal strength for each AP during scan
19962
19963         * src/NetworkManagerWireless.[ch]
19964                 - Add function to return signal strength % from a device and a raw quality struct
19965
19966         * test/nmclienttest.c
19967                 - Update for new signal strength changes
19968
19969 2004-09-11  Dan Williams <dcbw@redhat.com>
19970
19971         * src/NetworkManager.c
19972                 - Fix race condition between initscripts and NM on card insertion
19973                         which could cause a card to keep an IP address and routes around
19974                         even when it was not the active device
19975
19976         * src/NetworkManagerDbus.c
19977                 - Fix compile errors, free more DBusErrors
19978
19979 2004-09-11  Dan Williams <dcbw@redhat.com>
19980
19981         * docs/NetworkManager DBUS API.txt
19982                 - Add an explanation of NM's API
19983
19984         * src/NetworkManagerDbus.c
19985                 - Free some more DBusErrors if needed
19986
19987 2004-09-11  Dan Williams <dcbw@redhat.com>
19988
19989         * panel-applet/NMWirelessApplet.c
19990           panel-applet/NMWirelessAppletDbus.c
19991                 - Start using NetworkDevice/WirelessNetwork structures in more places
19992                 - Update for unified device/network forcing in NetworkManager
19993
19994         * src/NetworkManager.c
19995                 - some code consolidation
19996
19997         * src/NetworkManagerDbus.c
19998                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19999                         or two arguments:  the first is the NM ID of the device to switch to,
20000                         and the second (optional) argument is the ESSID of a wireless network
20001                         to use as well.
20002                 - Get rid of "setNetwork" method due to above change
20003
20004         * src/NetworkManagerDevice.c
20005                 - (nm_device_new): perform scan and update best AP on device creation
20006                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20007                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20008                         spin waiting for cancellation to finish before returning
20009
20010         * src/NetworkManagerPolicy.c
20011                 - Changes here clarify the situations in which a device switch occurs, and 
20012                         make sure to keep using a forced device and network if the user gives
20013                         us one
20014                 - Remove old unused code
20015
20016 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20017
20018         * configure.in: Added Danish (da) to ALL_LINGUAS.
20019
20020 2004-09-09  Dan Williams <dcbw@redhat.com>
20021
20022         * panel-applet/NMWirelessAppletDbus.c
20023                 - Pull fresh devices and networks from NM when wireless networks
20024                         change.  Provides faster feedback of a forced wireless network
20025
20026         * src/NetworkManagerDbus.c
20027                 - Return error when "getMaxQuality" is called on a wired device
20028                 - Make best_ap freezing actually work again, and signal cancellation
20029                         of activation if there's already a device activation when the user
20030                         freezes the best_ap
20031
20032         * src/NetworkManagerDevice.c
20033                 - Don't clear out the best_ap for wireless devices when the link goes
20034                         down, that's done elsewhere
20035                 - Kill any dhcp daemons when cancelling device activation since they
20036                         may be stuck waiting for a DHCP address, and since we're cancelling
20037                         activation we don't care about that anymore
20038
20039         * src/NetworkManagerPolicy.c
20040                 - Make sure to unref the device we ref earlier (we refed it to make sure
20041                         it stuck around during device activation and such)
20042                 - If we were going to change the best device, but its activating currently
20043                         (and therefore the change didn't occur due to the check earlier)
20044                         we mark the state changed to we come back to it later when device
20045                         activation has canceled and its no longer activating
20046
20047         * src/backends/NetworkManagerRedHat.c
20048                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20049
20050 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20051
20052         * info-daemon/passphrase.glade: 
20053         set passphrase input to activates_default : True
20054
20055         * examples/python/systray/network_tray.py
20056         (network_tray.sort_networks):
20057
20058         Added support for having wireless always scanning
20059
20060 2004-09-09  Dan Williams <dcbw@redhat.com>
20061
20062         NOTE: this commit changes the behavior of wireless devices in
20063         NetworkManager.  They are now up all the time, scanning all
20064         the time.  Only the active device has an IP address and routing
20065         information set up however.  Also, NetworkManager will no longer
20066         opportunistically switch wireless networks when a better one
20067         comes in range, it will remain associated with one wireless network
20068         until that one drops out.
20069
20070         * panel-applet/NMWirelessApplet.c
20071           panel-applet/NMWirelessAppletDbus.c
20072                 - List all wireless cards and their respective networks
20073
20074         * src/NMLoadModules
20075                 - Use full path to /sbin/ip
20076
20077         * src/NetworkManager.c
20078                 - Keep wireless devices up all the time so they can scan
20079
20080         * src/NetworkManagerDbus.c
20081                 - On a WirelessNetworkUpdate signal from NMI, don't update
20082                         the "best" AP
20083
20084         * src/NetworkManagerDevice.c
20085                 - (nm_device_set_link_active): clear out the best ap for
20086                         wireless devices when the link is set to FALSE
20087                 - Scan on all wireless cards, all the time
20088                 - (nm_device_activation_worker): split out the wireless card
20089                         link-waiting code to a separate function
20090                 - Keep wireless cards up even if device activation fails
20091                 - Don't update the "best" ap as much
20092
20093         * src/NetworkManagerPolicy.c
20094                 - Don't update the best ap when checking if its frozen,
20095                         let link checking clear out a frozen best ap for us
20096
20097         * src/NetworkManagerWireless.c
20098                 - Scan on all wireless cards, all the time
20099
20100 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20101
20102         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20103
20104 2004-09-09  Ankit Patel <ankit@redhat.com>
20105
20106         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20107
20108 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20109
20110         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20111
20112 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20113
20114         * examples/python/NetworkManager.py: 
20115         added CONNECTED, CONNECTING, and DISCONNECTED states
20116         added methods to return number of devices of a single type
20117
20118         * examples/python/systray/network_tray.py: 
20119         did some tweaks to get the menu looking near what it is supposed
20120         to look like.  Also did a Airo card hack to make it show the
20121         correct AP quality
20122
20123 2004-09-08  Dan Williams <dcbw@redhat.com>
20124
20125         * panel-applet/no-networkmanager.png
20126           panel-applet/Makefile.am
20127           panel-applet/NMWirelessApplet.c
20128                 - Add a "NetworkManager not running" icon and use it
20129                 - Use new consolidated GConf keys rather than Preferred/Trusted
20130
20131         * TODO: update
20132
20133         * info-daemon/NetworkManagerInfo.c
20134           info-daemon/NetworkManagerInfoDbus.[ch]
20135           info-daemon/NetworkManagerInfoPassphraseDialog.c
20136                 - There are now no longer two separate lists of wireless networks,
20137                         but one list where each network is "trusted" or not trusted
20138                 - Add a "getNetworkTrusted" dbus method
20139                 - "WirelessNetworkUpdate" signal now sent rather than
20140                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20141                 - Start freeing some dbus errors (not completed yet)
20142
20143         * info-daemon/passphrase.glade
20144                 - Remove the "don't show" hints for pager and taskbar
20145                 - Add a title since its going to be in the taskbar
20146
20147         * src/NetworkManager.[ch]
20148           src/NetworkManagerAPList.[ch]
20149                 - There are now no longer two separate lists of wireless networks,
20150                         but one list where each network is "trusted" or not trusted
20151
20152         * src/NetworkManagerAP.[ch]
20153                 - Add get/set "trusted" accessors and data bit
20154
20155         * src/NetworkManagerDbus.[ch]
20156                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20157                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20158
20159         * src/NetworkManagerDevice.[ch]
20160                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20161                 - (nm_device_new): Get device config from backend when initializing devices
20162                 - (nm_device_activation_worker): Split out device configuration on
20163                         activation to deal with static/dynamic IP differences, and try encryption
20164                         fallbacks on a device if the encryption method for the best AP is not good
20165                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20166                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20167
20168         * src/NetworkManagerWireless.c
20169                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20170
20171         * src/backends/NetworkManagerRedHat.c
20172           src/backends/NetworkManagerSystem.h
20173                 - (nm_system_device_update_config_info): Add function to get device configuration
20174                         from system data in ifcfg-* files
20175
20176         * src/backends/NetworkManagerDebian.c
20177           src/backends/NetworkManagerGentoo.c
20178           src/backends/NetworkManagerSlackware.c
20179                 - Add stub functions for getting device configuration
20180
20181 2004-09-07  Dan Williams <dcbw@redhat.com>
20182
20183         * src/backends/NetworkManagerRedhat.c
20184           src/backends/NetworkManagerSlackware.c
20185                 - Use full path to /sbin/ip everywhere
20186
20187 2004-09-07  Dan Williams <dcbw@redhat.com>
20188
20189         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20190
20191         * configure.in
20192           initscript/Makefile.am
20193           initscript/Slackware/Makfile.am
20194           initscript/Slackware/rc.networkmanager
20195           src/Makefile.am
20196           src/backends/NetworkManagerSlackware.c
20197                 - Add Slackware support
20198
20199 2004-09-07  Dan Williams <dcbw@redhat.com>
20200
20201         Patches below from:
20202                 <j@bootlab.org>
20203                 Mark Roach <mrroach@okmaybe.com>
20204                 Thom May <thom@debian.org>
20205
20206         * configure.in
20207           initscript/Debian/NetworkManager
20208           initscript/Debian/Makefile.am
20209                 - Initscript for Debian
20210
20211         * src/backends/NetworkManagerDebian.c
20212                 - Add missing system init function to allow compilation
20213                         on Debian
20214
20215 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20216
20217         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20218
20219 2004-09-03  Akagic Amila <bono@linux.org.ba>
20220
20221         * configure.in: Added 'bs' to ALL_LINGUAS.
20222
20223 2004-09-02  Colin Walters  <walters@verbum.org>
20224
20225         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20226         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20227         g_strdup_printf instead of arbitrarily sized buffers.
20228
20229 2004-09-01  Colin Walters  <walters@verbum.org>
20230
20231         * NetworkManager.pc.in: New file.
20232
20233         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20234
20235 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20236         
20237         * configure.in: Punjabi(pa) is added to po/.
20238
20239 2004-08-31  Dan Williams <dcbw@redhat.com>
20240
20241         * Remove 'debug' extern global from all files since we now
20242                 use syslog()
20243
20244         * src/NetworkManager.[ch]
20245                 - Break out routine that get the net.interface property from HAL,
20246                         removing that logic from nm_create_device_and_add_to_list()
20247                 - (nm_create_device_and_add_to_list): make this a bit more general so
20248                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20249                         the create of test devices.
20250                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20251                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20252                         which makes NetworkManager listen for dbus commands to create test
20253                         devices, which have no backing hardware.  Use when you're on a plane
20254                         for example, and/or forgot your wireless card at home.  Test devices
20255                         _cannot_ be created unless NM is started with --enable-test-devices.
20256
20257         * src/NetworkManagerDbus.[ch]
20258                 - New "getLinkActive" method for devices
20259                 - New "setLinkActive" method for devices (only works on test devices)
20260                 - New "createTestDevice" method on NetworkManager object to create a test
20261                         device of a specified type (ie wired, wireless).  UDI is created from
20262                         scratch, as is the interface name.  Only works when NM is started with
20263                         --enable-test-devices switch.
20264                 - New "removeTestDevice" method on NetworkManager object which removes a
20265                         test device.  Only works when NM is started with --enable-test-devices
20266
20267         * src/NetworkManagerDevice.[ch]
20268                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20269                         whether a device is a test device or not, and what its link status is.
20270                 - Deal with test devices in most functions.  For those that work directly on hardware
20271                         special-case test devices.
20272                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20273                         command-line.
20274                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20275                         checking to separate functions to facilitate test device link checking.
20276                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20277                         don't make a distinction between System Authentication and Encryption
20278                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20279                         on the card.  We don't deal with Shared Key auth yet.
20280                 - (nm_device_activation_worker): split the activation cancel check logic out into
20281                         a separate routine nm_device_activation_cancel_if_needed()
20282                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20283                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20284                         a list of fake access points that they can "see"
20285                 - (nm_device_is_test_device): return whether or not a device is a test device
20286
20287         * src/NetworkManagerPolicy.c
20288                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20289                         previously if you "locked"/forced NM to use a wireless device but then
20290                         selected a wireless network for NM to use, it would switch to a wired device.
20291                         So, if the active device is wireless and it has a "forced" best AP, use it
20292                         if the "forced" best AP is still valid
20293                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20294                         there were no usable network devices, or the last one was removed
20295
20296         * src/backends/NetworkManager*.c
20297                 - Deal with test devices, mostly just return success for operations like getting
20298                         a DHCP address
20299
20300         * test/nmtestdevices.c
20301                 - Test tool to create/remove/link-switch test devices
20302
20303 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20304
20305         * examples/python/NetworkManager.py: 
20306         added convience functions has_wired_device and has_wireless_device
20307
20308         * examples/python/systray/network_tray.py: 
20309         cleaned up a bunch of cruft, added support for listing wireless
20310         networks just like the real applet.  This is probably all I'm
20311         going to work on this applet from now on.
20312         TODO: add support for actually changing networks and devices
20313
20314         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20315         changed "nm.networks" into a dict from a list so I can store all
20316         the cool information about networks in there
20317
20318         * examples/python/systray/network_tray.py: 
20319         Added nice message when you try to run without running make first
20320
20321         * examples/python/NetworkManager.py: 
20322         Bug fixes to the code so we get all the device information
20323         that we need in get_device()
20324         
20325         * examples/python/NMTester.py: 
20326         Fixed _print_device_list to print_device_list
20327
20328 2004-08-29  Seth Nickell  <seth@gnome.org>
20329
20330         * configure.in:
20331
20332         Actually properly setup the Debian backend in configure.
20333         
20334 2004-08-29  Colin Walters  <walters@verbum.org>
20335
20336         * test/nminfotest.c: Include string.h and stdlib.h.
20337         (get_network_string_property, get_networks_of_type): Return NULL.
20338
20339         * test/nmclienttest.c (get_device_name, get_active_device): Return
20340         NULL.
20341
20342         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20343         use strlen, fgets always NULL-terminates the string.
20344
20345         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20346         dbus_message_get_member): Remove /* in comment.
20347
20348         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20349
20350         * src/NetworkManager.c (quit): Unused, delete.
20351         (nm_data_free): Cast arg to GFunc.
20352
20353         * panel-applet/NMWirelessAppletDbus.c: Need to include
20354         string.h, and dbus-glib-lowlevel.h (the latter is needed
20355         for dbus_connection_setup_with_g_main at present).
20356         (nmwa_dbus_update_wireless_network_list): Parenthesize
20357         assignment in conditional.
20358         (nmwa_dbus_worker): Return NULL.
20359
20360         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20361         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20362         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20363         (nmwa_populate_menu): Return NULL on failure, instead of just
20364         return;
20365
20366         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20367
20368         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20369         variables.
20370
20371         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20372         delete.
20373         
20374 2004-08-29  Colin Walters  <walters@verbum.org>
20375
20376         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20377         a GTimeVal instead of time_t.  This is easier to work with,
20378         since time_t may be a long or double, we don't know.
20379
20380         * src/NetworkManagerDbus.h: Update prototype.
20381         
20382         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20383         instead of time_t.
20384         (nm_ap_get_timestamp): Update to return GTimeVal.
20385         (nm_ap_set_timestamp): Update to take GTimeVal.
20386         
20387         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20388         to handle GTimeVal.
20389
20390         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20391         GTimeVal change.
20392         (nm_ap_list_print_members): Fix warnings in printf format.
20393
20394 2004-08-29  Colin Walters  <walters@verbum.org>
20395         
20396         * panel-applet/NMWirelessApplet.c: Include config.h.
20397
20398 2004-08-29  Colin Walters  <walters@verbum.org>
20399
20400         * configure.in: Generate config.h.
20401
20402         * configure.in: Dump dependency on OpenSSL; we can't
20403         use it since this package is GPL:
20404         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20405         Instead, check for libgcrypt, use it if available,
20406         otherwise use included MD5 code.
20407
20408         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20409         Suck in from gnome-keyring, munge a bit.
20410         
20411         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20412         gnome-keyring-md5.h gnome-keyring-md5.c.
20413         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20414
20415         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20416         libgcrypt or included gnome-keyring md5 bits.
20417         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20418
20419 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20420
20421         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20422
20423 2004-08-27  Bryan Clark  <bclark@redhat.com>
20424
20425         * examples/python/systray/Makefile: 
20426
20427         Updated the clean section
20428         
20429         * examples/python/systray/trayiconmodule.c: 
20430         * examples/python/systray/trayicon.override: 
20431         * examples/python/systray/network_tray.py: 
20432         * examples/python/systray/eggtrayicon.h: 
20433         * examples/python/systray/eggtrayicon.c: 
20434         * examples/python/systray/Makefile: 
20435         * examples/python/README: 
20436         * examples/python/NetworkManager.py: 
20437         * examples/python/NMTester.py: 
20438
20439         Initial commit of these python example files
20440
20441 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20442
20443         * panel-applet/NMWirelessApplet.c
20444                 - Make current device bold
20445                 - Show more user-friendly device name if we got one from hal
20446
20447         * panel-applet/NMWirelessAppletDbus.c
20448                 - Grab "info.product" key from hal for network devices
20449                 - Cache the current active device
20450
20451 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20452
20453         * configure.in: Added en_CA to ALL_LINGUAS.
20454
20455 2004-08-27  Christian Rose  <menthos@menthos.com>
20456
20457         * configure.in: Added "sv" to ALL_LINGUAS.
20458
20459 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20460
20461         * Tag NetworkManager-0.2
20462
20463 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20464
20465         * initscripts/Makefile.am
20466         * configure.in: Make pass distcheck
20467
20468         * po/ChangeLog: added
20469
20470 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20471
20472         * panel-applet/NMWirelessApplet.c
20473                 - Remove debugging code
20474                 - Enable device switching from menus
20475
20476         * panel-applet/NMWirelessAppletDbus.[ch]
20477                 - Method for asking NM to switch devices
20478
20479         * src/NetworkManagerDevice.c
20480                 - Set dev->activating earlier, avoids race between
20481                         the dbus signal of "DeviceActivating" and setting
20482                         dev->activating (which is what NM's "status" method call
20483                         looks at)
20484
20485 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20486
20487         * panel-applet/NMWirelessApplet.[ch]
20488                 - Rework menu code to add devices to menu, and to show
20489                         signal strength for each access point.  Code cleanups
20490                         too.
20491
20492         * panel-applet/NMWirelessAppletDbus.c
20493                 - Grab network devices from NetworkManager too
20494                 - Grab quality information from NM for wireless networks
20495
20496         * src/NetworkManagerDbus.[ch]
20497                 - Add dbus methods for getting the HAL UDI from a device and
20498                         for getting its base quality, if its wireless
20499                 - Consolidate some functions (wireless network notifications,
20500                         device notifications)
20501                 - Add method for requesting NM to use a particular device
20502
20503         * src/NetworkManager.c
20504                 - Change for function consolidations from NetworkManagerDbus.c
20505                 - Implement active device locking and user-requested devices
20506                         (ie, tell NM to use a particular device instead of the one
20507                         it autochose)
20508
20509         * src/NetworkManagerDevice.c
20510                 - Add method for getting the base quality of a device, if its
20511                         wireless
20512                 - Grab device base quailty info from iwlib during scans
20513
20514         * src/NetworkManagerPolicy.c
20515                 - Use a user-requested device rather than the auto-chosen device
20516                         if we are told to
20517
20518 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20519
20520         * Makefile.am: add po as a supdir
20521
20522         * autogen.sh: use gnome-autogen.sh
20523
20524         * initscript/Gentoo/.cvsignore:
20525         * initscript/RedHat/.cvsignore: Shut up cvs
20526
20527         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20528
20529         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20530         (nmwa_fill): Use gettext.
20531
20532         * configure.in: add gettext support
20533         * po/.cvsignore:
20534         * po/NetworkManager.pot:
20535         * po/POTFILES.in:
20536
20537 2004-08-26  Seth Nickell  <seth@gnome.org>
20538
20539         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20540         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20541         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20542         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20543         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20544         * panel-applet/NMWirelessApplet.h:
20545
20546         Use a menu bar instead of a button for the main clickable
20547         thingy.
20548         
20549 2004-08-25  Dan Williams <dcbw@redhat.com>
20550
20551         * src/NetworkManagerDevice.c
20552                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20553                         turning encryption off, because the Cisco driver doesn't associate
20554                         with WEP-enabled access points unless we are in "open"
20555
20556 2004-08-25  Dan Williams <dcbw@redhat.com>
20557
20558         * src/NetworkManagerWireless.c
20559                 - Don't try to defererence blank passphrases
20560
20561 2004-08-25  Dan Williams <dcbw@redhat.com>
20562
20563         * panel-applet/NMWirelessApplet.c
20564                 - Rebuild the menu whenever a user clicks
20565
20566 2004-08-25  Dan Williams <dcbw@redhat.com>
20567
20568         * panel-applet/NMWirelessApplet.c
20569                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20570                         when NM isn't around or when its not connected
20571
20572         * src/NetworkManagerDevice.c
20573                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20574                         canceled.
20575
20576 2004-08-25  Dan Williams <dcbw@redhat.com>
20577
20578         * panel-applet/NMWirelessAppletDbus.c
20579                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20580                         for getting encryption, and don't stop on "val" once we've gotten it
20581                         from NetworkManager.  Short form:  encryption should now show up.
20582
20583 2004-08-25  Dan Williams <dcbw@redhat.com>
20584
20585         * panel-applet/NMWirelessApplet.c
20586                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20587                         network to associate with
20588
20589 2004-08-25  Dan Williams <dcbw@redhat.com>
20590
20591         * panel-applet/*
20592                 - Rework the panel applet to do all DBUS communication in a separate
20593                         thread
20594
20595 2004-08-25  Dan Williams <dcbw@redhat.com>
20596
20597         * info-daemon/NetworkManagerInfo.[ch]
20598                 - Remove "get_next_priority" function
20599
20600         * info-daemon/NetworkManagerInfoDbus.[ch]
20601                 - Convert "priority" functions to "timestamp"
20602
20603 2004-08-25  Dan Williams <dcbw@redhat.com>
20604
20605         * src/NetworkManagerAP.[ch]
20606                 - Add a "enc_method_good" member and accessors to an Access Point
20607                         to signal when we've found the correct encryption method
20608                         for an access point
20609                 - Add a "timestamp" member and accessors, remove "priority" member
20610                         and accessors (use timestamps instead)
20611                 - Rename "wep_key"->"enc_key"
20612                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20613                         for a specified encryption method using the access points
20614                         source encryption key/passphrase
20615
20616         * src/NetworkManagerAPList.c
20617                 - When updating a network with dbus, grab timestamp now instead of
20618                         priority
20619
20620         * src/NetworkManagerDBus.[ch]
20621                 - Add signal for "DeviceActivating"
20622                 - Switch priority->timestamp
20623
20624         * src/NetworkManagerDevice.c
20625                 - Change references of "wep_key" -> "enc_key" or "key"
20626                 - Signal DeviceActivating when starting activation
20627                 - When activating a wireless device, if the access point we are connecting
20628                         to is encrypted, and we have a source key, try to generate a mangled
20629                         key and use that (ie, generate real WEP key from a passphrase)
20630                 - Rework device activation to fallback to other encryption methods if
20631                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20632                         first, then if that doesn't work fall back to direct hex key).
20633                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20634                         priority.  We now prefer the latest access point used, rather than using
20635                         a priority scheme
20636                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20637                         points we've just discovered, and merge in correct info from the global
20638                         access point lists
20639
20640 2004-08-25  Seth Nickell  <seth@gnome.org>
20641
20642         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20643         Debian support.
20644         
20645         * src/Makefile.am:
20646         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20647         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20648         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20649         (nm_system_delete_default_route),
20650         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20651         (nm_system_load_device_modules):
20652
20653 2004-08-24  Dan Willemsen <dan@willemsen.us>
20654
20655         * src/NetworkManager.c
20656           src/backends/NetworkManagerGentoo.c
20657           src/backends/NetworkManagerRedHat.c
20658           src/backends/NetworkManagerSystem.h
20659                 - Implement preliminary Gentoo support, adding a
20660                         nm_system_init function to the backend specification
20661
20662         * configure.in
20663                 - Distribution auto-detection, lowercase any user-fed
20664                         distribution names
20665
20666         * initscript/.cvsignore
20667           initscript/Makefile.am
20668           initscript/RedHat/Makefile.am
20669           initscript/RedHat/NetworkManager
20670           initscript/Gentoo/Makefile.am
20671           initscript/Gentoo/NetworkManager
20672                 - Refactored initscript code separately for each
20673                         distribution
20674
20675 2004-08-23  Dan Williams <dcbw@redhat.com>
20676
20677         * configure.in
20678           src/Makefile.am
20679           src/NetworkManagerDevice.c
20680           src/NetworkManager.c
20681           src/NetworkManagerUtils.[ch]
20682           src/backends/NetworkManagerSystem.h
20683           src/backends/NetworkManagerRedHat.c
20684           src/backends/NetworkManagerGentoo.c
20685                 - Refactor system-specific code into separate backends for
20686                         each distribution
20687
20688 2004-08-23  Dan Willemsen <dan@willemsen.us>
20689
20690         * dispatcher-daemon/NetworkManagerDispatcher.c
20691           info-daemon/NetworkManagerInfo.[ch]
20692           info-daemon/NetworkManagerInfoDbus.c
20693           info-daemon/NetworkManagerInfoPassphraseDialog.c
20694           src/NetworkManager.c
20695           src/NetworkManagerAP.c
20696           src/NetworkManagerAPList.c
20697           src/NetworkManagerDbus.c
20698           src/NetworkManagerDevice.c
20699           src/NetworkManagerPolicy.c
20700           src/NetworkManagerUtils.[ch]
20701           src/NetworkManagerWireless.c
20702                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20703
20704         * src/NetworkManager.c
20705                 - Fixed usage wording for --no-daemon
20706
20707 2004-08-23  Dan Williams <dcbw@redhat.com>
20708
20709         * panel-applet/NMWirelessApplet.c
20710                 - Update our state every second to get more responsive panel icon
20711                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20712                         was causing our marching ants status blips to never move when
20713                         looking for a wireless network
20714
20715         * src/NetworkManagerDevice.c
20716                 - (nm_device_activation_begin): return if activation has already begun
20717                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20718                         trusted/preferred network into the device's access point when the
20719                         scan list is processed
20720
20721 2004-08-23  Dan Williams <dcbw@redhat.com>
20722
20723         * initscript/NetworkManager
20724                 - Use NMLaunchHelper rather than sleeping
20725
20726         * initscript/NMLaunchHelper.c
20727           Makefile.am
20728                 - Add helper program that exits only when NM activates a device,
20729                         or 10 seconds have passed, whichever happens first.  This
20730                         stops the boot processes until we have a network connection,
20731                         which NM can't do because it daemonizes and brings the connection
20732                         up in the background.  Allows stuff like NFS to not die.
20733
20734 2004-08-20  Dan Williams <dcbw@redhat.com>
20735
20736         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20737                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20738                         for a network, set the essid as well since it may not exist yet
20739                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20740                         since WEP keys/passphrases are long and prone to entry-error
20741
20742         * panel-applet/Makefile.am
20743           panel-applet/wired.png
20744                 - Add (pulled from system-config-network temporarily)
20745
20746         * panel-applet/NMWirelessApplet.[ch]
20747                 - Show wired picture when a wired connection is used
20748                 - Rename wireless icon enums, adding WIRELESS
20749
20750         * src/NetworkManagerDevice.c
20751                 - (nm_device_activate_wireless): unset encryption before bringing
20752                         down the card and setting the essid
20753                 - (nm_device_activatin_worker): request a key from the user if the
20754                         AP we are connecting to is encrypted but we don't have a key
20755                         for it yet
20756                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20757                         strcmp() that prevented a user-entered key from actually getting
20758                         used
20759
20760 2004-08-16  Dan Williams <dcbw@redhat.com>
20761
20762         * initscript/NetworkManager
20763                 - Check for /sbin/ip
20764                 - Do sysctl magic that network service does
20765                 - sleep 4s after start to allow network time to come up [hack]
20766
20767         * src/Makefile.am
20768           src/NMLoadModules
20769                 - Load all network device kernel modules (hal doesn't know devices
20770                         are ethernet until the module is loaded, and therefore we don't know)
20771
20772         * src/NetworkManager.c
20773                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20774                         network devices, and bring up the loopback device explicitly
20775
20776         * src/NetworkManagerUtils.[ch]
20777                 - (nm_enable_loopback): new function
20778
20779 2004-08-13  Dan Williams <dcbw@redhat.com>
20780
20781         * configure.in
20782           panel-applet/Makefile.am
20783                 - Fix up cleanfiles and server_DATA/server_in_files
20784
20785         * README
20786                 - Update with some comments on theory of operation
20787
20788         * CONTRIBUTING
20789           Makefile.am
20790                 - Add CONTRIBUTING
20791
20792 2004-08-12  Dan Williams <dcbw@redhat.com>
20793
20794         * info-daemon/passphrase.glade
20795                 - Set window title to " "
20796
20797         * panel-applet/Makefile.am
20798           panel-applet/keyring.png
20799                 - Deliver to correct place
20800
20801         * panel-applet/NMWirelessApplet.[ch]
20802                 - Add comments
20803                 - Remove applet->have_active_device as its no longer used
20804                 - (nmwa_load_theme): load keyring.png too
20805                 - (error_dialog): remove
20806                 - (show_warning_dialog): subsume functionality of error dialog too
20807                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20808                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20809                         the networks menu
20810                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20811                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20812                         and when we get broadcasts of changed wireless access points only, not when the
20813                         user clicks on the button to display the menu (too long of a wait)
20814                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20815                         networks that are encrypted
20816                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20817                         menu item with g_object_set_data()
20818
20819         * panel-applet/NMWirelessAppletDbus.[ch]
20820                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20821                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20822                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20823                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20824                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20825                         activation/deactivation signals and rebuild the menu when they happen
20826
20827         * src/NetworkManager.c
20828                 - (main): use new nm_spawn_process() rather than system()
20829
20830         * src/NetworkManagerDbus.c
20831                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20832                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20833                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20834                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20835                         to freeze the best_ap.
20836
20837         * src/NetworkManagerDevice.[ch]
20838                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20839                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20840                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20841                         ap list
20842
20843         * src/NetworkManagerUtils.[ch]
20844                 - (nm_spawn_process): add replacement for system() usage
20845
20846 2004-08-11  Dan Williams <dcbw@redhat.com>
20847
20848         * panel-applet/NMWirelessApplet.[ch]
20849                 - Fix up copyright and credits to include Bastien and Eskil,
20850                         who created the gnome-applets wireless applet, from whose
20851                         skeleton this one was created
20852                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20853                         pixmap to draw is computed during nmwa_update_state()
20854                 - Applet now shows itself all the time due to panel packing issues
20855                         which caused the applet to previously never come back after hiding.
20856                         When a wired device is the active device, the applet shows "not connected"
20857
20858         * panel-applet/NMWirelessAppletDbus.[ch]
20859                 - Clean up error messages and show what function they are from
20860                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20861                 - Add new device type getters, and a status getter
20862
20863         * src/NetworkManagerDbus.c
20864                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20865                         network is actually in the device's ap list
20866                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20867
20868         * src/NetworkManagerDevice.c
20869                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20870                         card
20871
20872         * test/nmclienttest.c
20873                 - Report status of NetworkManager too
20874
20875 2004-08-11  Dan Williams <dcbw@redhat.com>
20876
20877         * info-daemon/NetworkManagerInfo.c:
20878                 - (main): clean up Seth's code style
20879
20880         * info-daemon/NetworkManagerInfoDbus.c:
20881                 - Use the more aptly-named path/service/interface constants from NetworkManager
20882                 - Don't return empty strings ("") as object paths ever, instead return errors
20883
20884         * panel-applet/NMWirelessApplet.c:
20885                 - Clean up Seth's code style
20886
20887         * src/NetworkManager.[ch]
20888                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20889                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20890
20891         * src/NetworkManagerAPList.[ch]
20892                 - Move Iter struct right above the iter functions to preserve opacity
20893                 - (nm_ap_list_remove_ap): implement
20894                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20895                         remove AP if NetworkManagerInfo doesn't know anything about it
20896                 - (nm_ap_list_diff): user NMAPList iterators
20897                 - (nm_ap_list_print_members): implement debugging function
20898
20899         * src/NetworkManagerDbus.[ch]
20900                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20901                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20902                         and move the actual key setting stuff into NetworkManagerDevice.c
20903                 - (nm_dbus_get_network_priority): return -1 now on errors
20904                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20905                         get lost, and force the active device to update its "best" ap when AP lists change
20906                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20907                         method call due to pending_device member removal
20908
20909         * src/NetworkManagerDevice.[ch]
20910                 - Move NMDevice structure to the top
20911                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20912                 - Remove Pending Action stuff from everywhere
20913                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20914                         activation for us.  This thread blocks until all conditions for activation have
20915                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20916                         then setup up the interface and runs dhclient.  We have to do this because there
20917                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20918                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20919                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20920                         can tell nm_device_activation_worker() that we've got a key
20921                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20922                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20923                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20924                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20925
20926         * src/NetworkManagerPolicy.c
20927                 - Remove anything to do with pending_device
20928                 - Adjust device activation to deal with activation-in-worker-thread
20929
20930         * src/NetworkManagerUtils.c
20931                 - Clean up locking debugging a bit
20932
20933         * src/NetworkManagerWireless.[ch]
20934                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20935                         was badly named and is better as a device function
20936
20937         * panel-applet/.cvsignore: add
20938
20939 2004-08-09  Seth Nickell  <seth@gnome.org>
20940
20941         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20942         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20943         (nmwa_new):
20944         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20945
20946         Don't load the menus until clicked on (also removes a call outside
20947         normal code paths at first load).
20948
20949         Hide applet when NM is not present.
20950         
20951         Improve printf debugging stuff.
20952         
20953 2004-08-09  Dan Williams <dcbw@redhat.com>
20954
20955         * dispatcher-daemon/NetworkManagerDispatcher.c:
20956                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20957                 - Use constants for NetworkManager interface, service, and path
20958
20959 2004-08-09  Dan Williams <dcbw@redhat.com>
20960
20961         * src/NetworkManagerDbus.c:
20962                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20963                         instead return an error message
20964                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20965                         on a wired device.  Also never return an empty object path, instead return an error message
20966
20967 2004-08-06  Seth Nickell  <seth@gnome.org>
20968
20969         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20970
20971         Check the error code when getting a connection.
20972         
20973         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20974
20975         Check if the NM service exists when initializing (rather than
20976         assuming it does not).
20977         
20978         * src/NetworkManagerDbus.c: (nm_dbus_init):
20979
20980         Don't acquire the well-known service name until we have
20981         registered object/path handlers and can actually receive
20982         calls.
20983         
20984 2004-08-06  Dan Williams <dcbw@redhat.com>
20985
20986         * panel-applet/*
20987                 - Add panel applet
20988
20989         * src/NetworkManagerPolicy.c
20990           src/NetworkManager.c
20991                 - Get access point lists from NetworkManagerInfo on-demand,
20992                         and look for ServiceCreate/ServiceDeleted signals to see when
20993                         we should query NMI for lists
20994         * src/NetworkManagerAPList.c
20995                 - Make sure to init the list's mutex
20996                 - Convert traversals of the list over to the list iter functions
20997
20998         * src/NetworkManagerDbus.[ch]
20999                 - Use more aptly-named path/service/interface constants
21000                 - Treat both active and pending devices the same for "getActiveDevice"
21001                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21002
21003         * src/NetworkManagerDevice.c
21004                 - Honor "ignored" network list when picking best ap to use
21005
21006 2004-08-06  Seth Nickell  <seth@gnome.org>
21007
21008         * aclocal.m4:
21009
21010         Autogenerated, remove from CVS.
21011         
21012         * autogen.sh:
21013
21014         Don't hardcode automake version.
21015         
21016         * configure.in:
21017         * info-daemon/Makefile.am:
21018         * info-daemon/NetworkManagerInfo.c: (main):
21019
21020         Use GnomeProgram et al. for doing session management.
21021         Use popt stuff for argument parsing rather than doing
21022         it manugally.
21023         
21024 2004-08-05  Dan Williams <dcbw@redhat.com>
21025
21026         * test/nminfotest.c
21027                 - Update to new NMI dbus API, check different network types
21028
21029         * info-daemon/NetworkManagerInfoDbus.c
21030                 - Update to new NM dbus API, ie network type sent in query message
21031
21032 2004-08-05  Dan Williams <dcbw@redhat.com>
21033
21034         * An assload of changes
21035
21036 2004-08-02  Dan Williams <dcbw@redhat.com>
21037
21038         * TODO
21039                 - new task: proper logging support
21040
21041         * info-daemon/NetworkManagerInfo.c
21042                 - Correct spelling of "canceled"
21043                 - Correct casting of objects for g_signal_connect()
21044
21045         * info-daemon/NetworkManagerInfoDbus.c
21046                 - Add defines for NetworkManager namespace and object path, and use them
21047                 - Add filter function to trap new signals from NetworkManager:
21048                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21049
21050         * info-daemon/passphrase.glade
21051                 - Change name of "ok" button to "Login to Network..."
21052                 - Mark invisible
21053
21054         * src/NetworkManager.c
21055                 - Code and debug message cleanups
21056                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21057                 - (nm_add_initial_devices) Check returned string array of devices
21058                         and don't try to add devices if array is NULL
21059                 - (main) Initialize libhal a bit later, make code a bit clearer
21060
21061         * src/NetworkManagerAP.[ch]
21062                 - New accessor and data member "matched": used to speed up AP list
21063                         diffing
21064                 - New accessor and data member "enc_method": will be used during key
21065                         fallback to cache which passphrase->key conversion actually works
21066                         so we don't have to do it every time
21067
21068         * src/NetworkManagerAPList.[ch]
21069                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21070                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21071                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21072                         dbus in response to those differences
21073
21074         * src/NetworkManagerDbus.[ch]
21075                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21076                         make an object path for that access point (NOTE that we don't yet check to
21077                         make sure that access point is actually in the device's AP list yet)
21078                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21079                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21080                         New: signal appearance/disappearance of wireless networks
21081                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21082                         key entry
21083
21084         * src/NetworkManagerDevice.[ch]
21085                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21086                 - (nm_device_ap_list_get) New: return the AP list (static function)
21087                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21088                         new one resulting from the scan with the old one
21089
21090         * src/NetworkManagerWireless.c
21091                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21092
21093         * test/nminfotest.c
21094                 - #define object paths and namespaces and use the #defines rather than static strings
21095                 - Test out user-key functionality of NetworkManagerInfo too
21096
21097 2004-07-29  Dan Williams <dcbw@redhat.com>
21098
21099         * info-daemon/NetworkManagerInfoDbus.c
21100           src/NetworkManagerDbus.c
21101                 - Update to current DBus (ie don't use decomposed paths when registering
21102                         object paths/fallbacks)
21103
21104 2004-07-27  Dan Williams <dcbw@redhat.com>
21105
21106         * Remove various Makefile.in files
21107
21108         * TODO
21109                 - Add some more items
21110
21111         * configure.in
21112                 - Add checks for OpenSSL/md5 headers and libs
21113
21114         * src/Makefile.am
21115                 - Use OpenSSL CFLAGS
21116
21117         * src/NetworkManagerAP.[ch]
21118                 - Remove 'stamp' functions, replace with 'invalid' functions
21119                         to support user cancelling WEP key entry
21120
21121         * src/NetworkManagerDbus.c
21122                 - Remove 'stamp' return functions
21123                 - Treat returned user key as a passphrase and convert to a WEP key,
21124                         but don't actually use the WEP key yet.  We use the returned user
21125                         key as a hexadecimal WEP key until we can figure out a UI for
21126                         passphrase-vs-hex key
21127
21128         * src/NetworkManagerWireless.[ch]
21129                 - Add passphrase-to-128bit-key function
21130
21131 2004-07-27  Dan Williams <dcbw@redhat.com>
21132
21133         * TODO
21134                 - Add a couple of items
21135
21136 2004-07-27  Dan Williams <dcbw@redhat.com>
21137
21138         * info-daemon/NetworkManagerInfo.c
21139                 - Update allowed network's GConf key when user enters a WEP key explicitly
21140
21141         * info-daemon/NetworkManagerDbus.c
21142                 - Fix some comments
21143                 - nmi_dbus_get_allowed_networks(): kill warning
21144
21145 2004-07-27  Dan Williams <dcbw@redhat.com>
21146
21147         * initscript/Makefile.in
21148                 - Remove
21149
21150         * initscript/Makefile.am
21151                 - Add correct rules to install the init.d initscript
21152
21153         * info-daemon/NetworkManagerInfoDbus.c
21154                 - Remove debug fprintf
21155
21156         * src/NetworkManagerDbus.[ch]
21157                 - Remove debug fprintfs
21158                 - Add macros for NetworkManagerInfo object path/namespace
21159                 - Use said macros instead of constant strings
21160
21161 2004-07-27  Dan Williams <dcbw@redhat.com>
21162
21163         * initscript/.cvsignore
21164                 - Add
21165
21166         * info-daemon/Makefile.am
21167                 - Install .glade files and keyring.png
21168                 - Fix stupid omission of a \ that caused half the flags not to be
21169                         passed to gcc
21170
21171         * info-daemon/NetworkManagerInfo.c
21172                 - gtk_signal_connect->g_signal_connect
21173                 - Alert NetworkManagerInfo to new glade file location
21174
21175 2004-07-27  Dan Williams <dcbw@redhat.com>
21176
21177         * test/nmclienttest.c
21178           test/nminfotest.c
21179                 - Add missing <dbus/dbus.h> headers
21180                 - Add GPL message at top
21181
21182 2004-07-27  Dan Williams <dcbw@redhat.com>
21183
21184         * src/NetworkManagerAPList.[ch]
21185           src/Makefile.am
21186                 - Add.  Deal with allowed network list additions, deletions, and updates
21187
21188         * dispatcher-daemon/NetworkManagerDispatcher.c
21189                 - Add missing <dbus/dbus.h> header
21190
21191         * info-daemon/NetworkManagerInfo.[ch]
21192                 - Add missing <dbus/dbus.h> header
21193                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21194                         network change
21195                 - Better error checking
21196
21197         * info-daemon/NetworkManagerInfoDbus.[ch]
21198                 - Add missing <dbus/dbus.h> header
21199                 - Convert to using dbus_message_append_args/dbus_message_get_args
21200                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21201                         that an allowed network changed.  We don't want to signal on individual
21202                         keys _inside_ an allowed network really, just want NM to query the info
21203                         daemon for updated info on all keys.
21204                 - Better error checking
21205
21206         * src/NetworkManager.[ch]
21207                 - Add missing <dbus/dbus.h> header
21208                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21209                 - Zero out NMData structure on free
21210                 - No longer use a thread for allowed_ap_list updating, instead its now done
21211                         through dbus queries against NetworkManagerInfo
21212                 - Populate allowed_ap_list initially before adding existing network devices
21213                         to the device list, so wireless devices can get their "best" AP
21214
21215         * src/NetworkManagerDbus.[ch]
21216                 - Convert to using dbus_message_append_args/dbus_message_get_args
21217                 - Better error checking
21218                 - Implement Allowed Network info functions to request allowed network
21219                         info from NetworkManagerInfo
21220                 - Implement the filter function to process signals from NetworkManagerInfo
21221                         about changing allowed networks
21222
21223         * src/NetworkManagerDevice.c
21224                 - Fix file descriptor leak in nm_device_update_ip4_address()
21225
21226 2004-07-27  Dan Williams <dcbw@redhat.com>
21227
21228         * .cvsignore
21229           src/.cvsignore
21230           test/.cvsignore
21231           dispatcher-daemon/.cvsignore
21232           info-daemon/.cvsignore
21233                 - Add .cvsignore files to reduce noise when diffing
21234
21235 2004-07-24  Dan Williams <dcbw@redhat.com>
21236
21237         * src/NetworkManager.[ch]
21238           src/NetworkManagerDbus.[ch]
21239           src/NetworkManagerDevice.[ch]
21240           src/NetworkManagerPolicy.c
21241           src/NetworkManagerWireless.[ch]
21242                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21243                 - Pass the NMData application data structure through all calls
21244                         that need it so we can get rid of nm_get_global_data()
21245                 - Change deallocation of the allowed_ap_list GSList in preparation
21246                         for not completely clearing it every time we get an update,
21247                         but instead getting incremental updates via GConf/dbus
21248
21249 2004-07-22  Dan Williams <dcbw@redhat.com>
21250
21251         * configure.in
21252                 - Add checks for GConf libs & headers & flags
21253
21254         * info-daemon/Makefile.am
21255                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21256
21257         * info-daemon/NetworkManagerInfo.[ch]
21258                 - Don't use gquarks for data storage, just use normal data storage
21259                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21260
21261         * info-daemon/NetworkManagerDbus.[ch]
21262                 - Add method call for getting allowed networks
21263                 - Add method calls for getting an allowed network's essid, priority, and key
21264                 - Hook the method calls up to GConf
21265                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21266                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21267                 
21268         * src/NetworkManagerDbus.[ch]
21269                 - Switch for enumeration of networks to using essid instead
21270
21271         * test/Makefile.am
21272           test/nminfotest.c
21273                 - Add test program for NetworkManagerInfo
21274
21275 2004-07-19  Dan Williams <dcbw@redhat.com>
21276
21277         * src/NetworkManagerDbus.c
21278                 - Switch from indexed device paths to names.  Less code, more efficient.
21279                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21280
21281 2004-07-19  Dan Williams <dcbw@redhat.com>
21282
21283         * dispatcher-daemon/NetworkManagerDispatcher.c
21284                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21285
21286 2004-07-19  Dan Williams <dcbw@redhat.com>
21287
21288         * Makefile.am
21289                 - Add info-daemon directory
21290
21291         * configure.in
21292                 - Check for glade libs and headers
21293                 - Add info-daemon directory
21294
21295         * src/NetworkManagerAP.c
21296                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21297                         copied over to the new AP.
21298
21299         * src/NetworkManagerDbus.c
21300           src/NetworkManagerDbus.h
21301                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21302                 - Remove nm_dbus_signal_need_key_for_network()
21303                 - Add disabled code for asynchronous user wep key callbacks
21304                 - Add functions for getting, setting, and cancelling user key operations
21305                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21306                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21307
21308         * src/NetworkManagerDevice.c
21309           src/NetworkManagerDevice.h
21310                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21311                         logic is in device activation now
21312                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21313                         key is wrong) trigger get-user-key pending action
21314                 - Implement get-user-key pending action stuff, tie to dbus messages
21315                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21316                 - Add nm_device_ap_list_get_ap_by_essid()
21317                 - Instead of copying "best" access points, ref them instead so that the key we set
21318                         sticks around
21319
21320         * src/NetworkManagerPolicy.c
21321                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21322                 - Don't cancel pending actions on a device if its the same device as last iteration
21323                 - Only promote pending_device->active_device if activation was successfull
21324
21325         * src/Makefile.am
21326                 - Rename nmclienttest->nmtest
21327
21328         * info-daemon/Makefile.am
21329           info-daemon/NetworkManagerInfo.c
21330           info-daemon/NetworkManagerInfo.h
21331           info-daemon/NetworkManagerInfoDbus.c
21332           info-daemon/NetworkManagerInfoDbus.h
21333           info-daemon/passphrase.glade
21334           info-daemon/NetworkManagerInfo.conf
21335           info-daemon/keyring.png
21336                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21337                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21338                         lists to NetworkManager by proxying user's GConf
21339           
21340
21341 2004-07-15  Dan Williams <dcbw@redhat.com>
21342
21343         * src/Makefile.am
21344                 - Turn on warnings
21345
21346         * src/NetworkManager.c
21347                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21348                         that doing the deactivation ourselves
21349                 - Cancel an pending actions on a device if its being removed
21350                 - Break up link state checking a bit, make non-active wireless cards
21351                         deactivated to save power
21352                 - Remove unused variables
21353
21354         * src/NetworkManager.h
21355                 - Add support for "pending" device
21356
21357         * src/NetworkManagerAP.h
21358           src/NetworkManagerAP.c
21359                 - Add support for determining whether and AP has encryption enabled or not
21360                 - AP address is now "struct ether_addr" rather than a string
21361
21362         * src/NetworkManagerDbus.h
21363           src/NetworkManagerDbus.c
21364                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21365                 - Changes for AP address from struct ether_addr->string
21366
21367         * src/NetworkManagerDevice.h
21368           src/NetworkManagerDevice.c
21369                 - Remove unused variables, fix warnings
21370                 - Add support for Pending Actions (things that block a device from being "active"
21371                         until they are completed).
21372                 - First pending action:  Get a WEP key from the user
21373                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21374                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21375                 - Update wireless link checking to try to determine if the AP we are associated
21376                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21377                         trigger the GetUserKey pending action on the device
21378                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21379                         up in that case, otherwise we can't scan or link-check on it
21380                 - Add IP address change notifications at appropriate points (still needs some work)
21381                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21382
21383         * src/NetworkManagerPolicy.h
21384           src/NetworkManagerPolicy.c
21385                 - Split out "best" access point determiniation into separate function
21386                 - Make device activation 2-stage:  first the device is pending, then
21387                         in the next iteration through it becomes "active" unless it has
21388                         pending actions
21389
21390         * src/NetworkManagerUtils.h
21391           src/NetworkManagerUtils.c
21392                 - Clean up unused variables and warnings
21393                 - Wrap our debug macros in {} to prevent possible confusion
21394
21395         * src/NetworkManagerWireless.c
21396                 - Forgot to return current best priority, which lead to last available AP always
21397                         being chosen no matter what its priority was.  Corrected.
21398
21399 2004-07-15  Dan Williams <dcbw@redhat.com>
21400
21401         * dispatcher-daemon/Makefile.am
21402                 - Turn on warnings
21403
21404         * dispatcher-daemon/NetworkManagerDispatcher.c
21405                 - Remove unused variables due to warnings
21406                 - Fix some comments
21407                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21408
21409 2004-07-06  Dan Williams <dcbw@redhat.com>
21410
21411         * src/NetworkManager.c
21412                 - Add IPv4 address update for active device during link state check
21413                 - Don't allow wireless cards to be powered up when they are not the
21414                         active device
21415
21416         * src/NetworkManagerDbus.c
21417           src/NetworkManagerDbus.h
21418                 - Add DBUS IPv4 address change signal
21419                 - Add DBUS IPv4 address get method for devices
21420
21421         * src/NetworkManagerDevice.c
21422                 - Make setting the WEP key actually work
21423                 - Move IP address get/set/update stuff here, per-device
21424                 - Power down/bring down wireless device when deactivated
21425                 - For scanning wireless devices, if first scan returned ENODATA, try again
21426
21427         * src/NetworkManagerPolicy.c
21428                 - Only set the WEP key for an allowed access point if there is one.
21429                         We were setting it to be blank if one wasn't specified.
21430
21431         * src/NetworkManagerUtils.h
21432           src/NetworkManagerUtils.c
21433                 - Move the IP address stuff to NetworkManagerDevice.c
21434
21435         * dispatcher-daemon/NetworkManagerDispatcher.c
21436                 - Add device IPv4 address change notification stuff
21437
21438 2004-07-05  Dan Williams <dcbw@redhat.com>
21439
21440         * dispatcher-daemon/NetworkManagerDispatcher.c
21441                 - A bit more descriptive state message
21442                 - Don't segfault when reading directory
21443
21444         * src/NetworkManager.h
21445                 - Remove NMData desired_ap member, its now
21446                         per-device rather than global
21447
21448         * src/NetworkManager.c
21449                 - Remove references to desired_ap
21450                 - Move the allowed AP list refresh stuff into a thread
21451
21452         * src/NetworkManagerDevice.c
21453           src/NetworkManagerDevice.h
21454                 - Each wireless device now has a "best ap"
21455                 - Make device activate/deactivate functions per-device
21456                 - Make wireless scanning per-device
21457                 - Add IPv4 address discover functions, stub IPv6 ones
21458                 - Move ethernet address validation functions to NetworkManagerUtils.c
21459                 - Add wireless access point accessor function
21460                 - Get/Set functions for "best ap"
21461
21462         * src/NetworkManagerPolicy.c
21463                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21464                 - Deal with per-device "best ap" rather than data->desired_apa
21465                 - Implement allowed access point worker thread
21466                 - Add nm_policy_essid_is_allowed() function
21467
21468         * src/NetworkManagerUtils.c
21469           src/NetworkManagerUtils.h
21470                 - Add nm_ethernet_address_is_valid() function
21471                 - Add IPv4/IPv6 address get functions
21472
21473         * src/NetworkManagerWireless.c
21474           src/NetworkManagerWireless.h
21475                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21476
21477 2004-06-29  Dan Williams <dcbw@redhat.com>
21478
21479         * dispatcher-daemon/NetworkManagerDispatcher.c
21480                 - Implement script callout functionality
21481
21482 2004-06-24  Dan Williams <dcbw@redhat.com>
21483
21484         * NetworkManager.c
21485             - Spacing cleanups
21486             - Flush device routes and ip addresses when added to the device list
21487
21488         * NetworkManagerDbus.c
21489             - Spacing cleanups
21490             - Add missing returns in the two signal functions
21491         
21492         * NetworkManagerPolicy.c
21493             - Spacing and variable cleanups
21494
21495 2004-06-24  Dan Williams <dcbw@redhat.com>
21496
21497         * Makefile.am
21498           Makefile.in
21499           configure.in
21500           dispatcher-daemon/Makefile.am
21501           dispatcher-daemon/Makefile.in
21502           dispatcher-daemon/NetworkManagerDispatcher.c
21503             - Add a daemon that receives signals from NetworkManager
21504                         and will (eventually) call scripts in /etc/somewhere
21505                         when devices go up or down.
21506         
21507         * NetworkManager.c
21508             - Spacing cleanups
21509             - Flush device routes and ip addresses when added to the device list
21510
21511         * NetworkManagerDbus.c
21512             - Spacing cleanups
21513             - Add missing returns in the two signal functions
21514         
21515         * NetworkManagerPolicy.c
21516             - Spacing and variable cleanups
21517             - Rename nm_policy_switch_interface->nm_policy_switch_device
21518             - nm_policy_switch_device():
21519                                 Use kill (pid) instead of system ("kill <pid>")
21520             - nm_state_modification_monitor():
21521                                 Add wireless essid to output of debug statements
21522                                 Correct typo in device compare to switch or not (should be !=)
21523                                 Don't sleep after sending "no longer active" signal, was useless
21524
21525 2004-06-24  Dan Williams <dcbw@redhat.com>
21526
21527         * Initial import