2008-10-26 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-26  Dan Williams  <dcbw@redhat.com>
2
3         Patch from Tambet Ingo <tambet@gmail.com>
4
5         * libnm-util/libnm-util.ver
6           libnm-util/nm-setting-cdma.c
7           libnm-util/nm-setting-cdma.h
8                 - Make properties private and add accessor functions
9
10         * src/nm-cdma-device.c
11           src/ppp-manager/nm-ppp-manager.c
12                 - Use those accessors
13
14 2008-10-26  Dan Williams  <dcbw@redhat.com>
15
16         Patch from Tambet Ingo <tambet@gmail.com>
17
18         * libnm-util/libnm-util.ver
19           libnm-util/nm-setting-pppoe.c
20           libnm-util/nm-setting-pppoe.h
21                 - Make properties private and add accessor functions
22
23         * src/nm-device-ethernet.c
24           src/ppp-manager/nm-ppp-manager.c
25                 - Use those accessors
26
27 2008-10-26  Dan Williams  <dcbw@redhat.com>
28
29         Patch from Tambet Ingo <tambet@gmail.com>
30
31         * libnm-util/libnm-util.ver
32           libnm-util/nm-setting-wired.c
33           libnm-util/nm-setting-wired.h
34                 - Make properties private and add accessor functions
35
36         * src/nm-device-ethernet.c
37           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
38           system-settings/plugins/ifcfg-suse/parser.c
39           system-settings/src/main.c
40                 - Use those accessors
41
42 2008-10-26  Dan Williams  <dcbw@redhat.com>
43
44         Patch from Tambet Ingo <tambet@gmail.com>
45
46         * libnm-util/libnm-util.ver
47           libnm-util/nm-setting-serial.c
48           libnm-util/nm-setting-serial.h
49           src/nm-serial-device.c
50                 - Make properties private and use accessors instead
51
52 2008-10-26  Dan Williams  <dcbw@redhat.com>
53
54         * src/supplicant-manager/nm-supplicant-interface.c
55           src/supplicant-manager/nm-supplicant-interface.h
56           src/supplicant-manager/nm-supplicant-manager.c
57           src/supplicant-manager/nm-supplicant-manager.h
58                 - Add state-to-string conversion functions
59
60         * src/nm-device-wifi.c
61           src/nm-device-ethernet.c
62                 - Normalize state info logging and use strings instead of numbers
63
64 2008-10-26  Dan Williams  <dcbw@redhat.com>
65
66         * src/NetworkManagerPolicy.c
67                 - (update_routing_and_dns): ignore host routes when determining whether
68                         a VPN connection should own the default route (bgo #552594)
69
70 2008-10-24  Dan Williams  <dcbw@redhat.com>
71
72         * src/nm-gsm-device.c
73                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
74
75 2008-10-23  Dan Williams  <dcbw@redhat.com>
76
77         * src/ppp-manager/nm-ppp-manager.c
78                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
79                         add really important stuff to the command line to ensure that NM
80                         overrides /etc/ppp/options (bgo #556781)
81
82 2008-10-22  Dan Williams  <dcbw@redhat.com>
83
84         * src/NetworkManagerSystem.c
85           src/nm-device.c
86                 - Use the device's IP interface where appropriate (Per Hallsmark)
87
88 2008-10-22  Dan Williams  <dcbw@redhat.com>
89
90         * src/nm-gsm-device.c
91                 - (schedule_automatic_registration_again): use a short timeout here
92                         instead of an idle handler to avoid using too much CPU polling for
93                         something we should be waiting a bit for anyway
94
95 2008-10-22  Dan Williams  <dcbw@redhat.com>
96
97         * include/NetworkManager.h
98           introspection/nm-device.xml
99                 - Add device state change reason for carrier changes
100
101         * src/nm-device-ethernet.c
102                 - (set_carrier): use the carrier change reason when changing device
103                         state in response to carrier changes
104
105 2008-10-21  Dan Williams  <dcbw@redhat.com>
106
107         * src/NetworkManagerPolicy.c
108                 - (update_etc_hosts): don't leak errors, and ensure that
109                         g_file_set_contents() gets a valid error placeholder (rh #461933)
110
111 2008-10-21  Dan Williams  <dcbw@redhat.com>
112
113         * src/nm-manager.c
114                 - (free_get_settings_info): don't use the DBusGProxy which could be
115                         disposed of by the time the function is called
116                 - (internal_new_connection_cb): save connection scope
117                 - (connection_get_settings_cb): don't replace a connection unless it's
118                         actually different from the existing one; fixes an issue where
119                         killing the settings service wouldn't deactivate an active connection
120                         provided by that settings service, because it was using a connection
121                         that had already been replaced in the system or user hash
122
123 2008-10-21  Dan Williams  <dcbw@redhat.com>
124
125         * src/NetworkManager.c
126                 - (main): keep the DHCP manager around since it's a singleton; fixes
127                         a use-after-free exposed by r4196 since the DHCP manager singleton
128                         variable isn't cleared when the DHCP manager object is finalized
129
130 2008-10-20  Dan Williams  <dcbw@redhat.com>
131
132         * libnm-util/nm-setting-wireless-security.c
133                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
134
135 2008-10-20  Dan Williams  <dcbw@redhat.com>
136
137         * src/supplicant-manager/nm-supplicant-config.c
138                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
139
140 2008-10-20  Dan Williams  <dcbw@redhat.com>
141
142         * src/dhcp-manager/nm-dhcp-manager.c
143                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
144                         manager object already refs it once
145                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
146                         also get cleaned up by nm_dhcp_device_destroy() to prevent
147                         double-frees
148
149 2008-10-20  Dan Williams  <dcbw@redhat.com>
150
151         * src/nm-manager.c
152                 - (initial_get_connections): use private dbus manager, don't keep
153                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
154                         manager object.
155
156 2008-10-18  Dan Williams  <dcbw@redhat.com>
157
158         * libnm-glib/nm-settings.c
159           libnm-glib/nm-settings.h
160                 - Rename the "get_secrets" virtual function "service_get_secrets" to
161                         clarify when it's used; NMExportedConnetion is a base-class for both
162                         the client and service side, which is sort of confusing, and
163                         get_secrets only makes sense on the service side.
164
165         * libnm-glib/nm-dbus-connection.c
166                 - (get_secrets): remove, unused, and clients need to do extra work to
167                         get secrets anyway since the call can block on the remote side
168
169         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
170           system-settings/plugins/keyfile/nm-keyfile-connection.c
171                 - Fix up for get_secrets -> service_get_secrets
172
173 2008-10-16  Dan Williams  <dcbw@redhat.com>
174
175         * src/nm-device-wifi.c
176                 - (constructor): correctly determine encryption capabilities
177
178 2008-10-15  Dan Williams  <dcbw@redhat.com>
179
180         * src/nm-device-wifi.c
181                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
182                         (Johannes Berg)
183
184 2008-10-15  Dan Williams  <dcbw@redhat.com>
185
186         * src/NetworkManagerSystem.c
187                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
188                         if the ip4_dest is in a smaller subnet contained within a subnet
189                         the machine is currently on, the destination is in the same subnet
190                 - (nm_system_device_set_ip4_route): move subnet checks to callers
191                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
192                         subnet as the parent device, and if so, don't add the direct
193                         host route via the parent device's gateway (bgo #481620)
194                 - (nm_system_apply_ip4_config): check whether the route to be added
195                         is contained within a subnet the device is already on
196
197 2008-10-11  Dan Williams  <dcbw@redhat.com>
198
199         * include/NetworkManager.h
200           introspection/nm-device.xml
201           include/NetworkManagerVPN.h
202                 - Add a few more state reasons for the device deactivated state
203
204         * src/nm-device-interface.c
205           src/nm-device-interface.h
206                 - (nm_device_interface_deactivate): add a 'reason' argument
207
208         * src/nm-device.c
209           src/nm-device.h
210                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
211                 - (nm_device_state_changed): pass the state change reason to
212                         nm_device_take_down()
213                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
214                         to the state change function
215
216         * src/nm-manager.c
217           src/nm-manager.h
218                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
219                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
220                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
221                         something reasonable along to VPN deactivation
222
223         * src/vpn-manager/nm-vpn-manager.c
224           src/vpn-manager/nm-vpn-manager.h
225                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
226                         pass that along to nm_vpn_connection_disconnect()
227
228 2008-10-11  Dan Williams  <dcbw@redhat.com>
229
230         * src/nm-device-wifi.c
231                 - (can_scan): remove old madwifi hack for not scanning while connected
232
233 2008-10-11  Dan Williams  <dcbw@redhat.com>
234
235         Add support for VPN subnet gateways (bgo #549196)
236
237         * include/NetworkManager.h
238                 - Add key for internal VPN subnet gateway
239
240         * src/vpn-manager/nm-vpn-connection.c
241                 - (ip_address_to_string): return a const from a static buffer so we
242                         don't leak a lot of strings
243                 - (print_vpn_config): print internal VPN gateway as well
244                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
245                         VPN service too
246                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
247
248         * src/NetworkManagerSystem.c
249           src/NetworkManagerSystem.h
250                 - (nm_system_device_replace_default_ip4_route): split into two, one for
251                         VPN connections and one for normal devices
252                 - (replace_default_ip4_route): break out route stuff into its own function
253                 - (nm_system_replace_default_ip4_route_vpn,
254                    nm_system_replace_default_ip4_route): simplify by having two cases,
255                         one for VPNs and one for normal devices
256
257         * src/NetworkManagerPolicy.c
258                 - (update_routing_and_dns): simplify, use split default route replacement
259                         functions
260
261 2008-10-10  Dan Williams  <dcbw@redhat.com>
262
263         Rework default route handling to consolidate decisions in the policy,
264         and to take active VPN connections into account when changing the default
265         route (bgo #545912)
266
267         * src/NetworkManager.c
268                 - (main): pass the vpn_manager to the policy so it knows about active
269                         VPN connections; clean up the named manager which wasn't done before
270
271         * src/NetworkManagerPolicy.c
272           src/NetworkManagerPolicy.h
273                 - (nm_policy_new): get a clue about the vpn_manager
274                 - (update_default_route): remove, fold into update_routing_and_dns()
275                 - (update_routing_and_dns): handle active VPN connections too; an
276                         active VPN connection becomes the default route if it does not have
277                         server-specified or user-specified custom routes.  Otherwise, the
278                         best active device gets the default route
279                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
280                    nm_policy_destroy): track VPN connection activation and deactivation
281                         and update the default route when appropriate
282
283         * src/NetworkManagerSystem.c
284           src/NetworkManagerSystem.h
285                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
286                         in the VPN connection itself
287                 - (nm_system_vpn_device_set_from_ip4_config,
288                    nm_system_device_set_from_ip4_config): merge together to make
289                         nm_system_apply_ip4_config()
290                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
291                         via the parent device
292                 - (nm_system_apply_ip4_config): simplify
293                 - (add_ip4_route_to_gateway): new function; add a direct route to the
294                         gateway if needed
295                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
296                         route stuff out into add_ip4_route_to_gateway() for clarity
297
298         * src/nm-device.c
299                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
300
301         * src/vpn-manager/nm-vpn-connection.c
302           src/vpn-manager/nm-vpn-connection.h
303                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
304                    nm_vpn_connection_get_parent_device): add
305                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
306                         device explicit
307                 - (connection_state_changed): update the named manager now that
308                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
309                         useful on errors
310
311         * src/vpn-manager/nm-vpn-manager.c
312           src/vpn-manager/nm-vpn-manager.h
313                 - Add a 'connection-activated' signal
314                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
315                         policy to find out about active VPN connections
316
317 2008-10-10  Tambet Ingo  <tambet@gmail.com>
318
319         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
320         a daemon to prevent NM logging spew on console on startup and shutdown (due
321         to dependency loop between NM and syslog).
322
323 2008-10-10  Alexander Sack  <asac@ubuntu.com>
324
325         Implement managed mode. We bind devices configured in /etc/network/interfaces
326         to their connections by updating wired/wireless setting with the
327         mac address of the device.
328
329         * system-settings/plugins/ifupdown/plugin.c
330                 - (get_net_address_for_udi): implement function to retrieve MAC
331                         address of udi from hal in GByteArray format
332                 - (bind_device_to_connection): bind mac address of device to
333                         wired/wireless system connection
334                 - (hal_device_added_cb): call bind_device_to_connection for
335                         system connections with a matching interface.name
336                 - (hal_device_added_cb): ensure that all code paths
337                         properly free the "iface" string.
338
339 2008-10-10  Alexander Sack  <asac@ubuntu.com>
340
341         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
342         mode of the ifupdown system config plugin.
343
344         * system-settings/plugins/ifupdown/plugin.c
345                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
346                         private unmanage_well_known state field accordingly
347
348 2008-10-10  Alexander Sack  <asac@ubuntu.com>
349
350         Implement unmanaged mode that will prevent all devices in the
351         well_known_udis set from being touched by NetworkManager
352
353         * system-settings/plugins/ifupdown/plugin.c
354                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
355                         unmanage_well_known field used to turn on/off unmanaged
356                         mode
357                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
358                         signal when well_known_udis get added/removed
359                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
360                         if we are in unmanaged mode
361
362 2008-10-10  Alexander Sack  <asac@ubuntu.com>
363
364         Add support to track network devices that have a configuration
365         with a matching interface.name in /etc/network/interfaces
366
367         * system-settings/plugins/ifupdown/plugin.c
368                 - (typedef struct SCPluginIfupdownPrivate): add hash table
369                         to track |well_known_udis|
370                 - (get_iface_for_udi): helper function to get interface.name
371                         for a udi
372                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
373                         that add and remove devices to and from the well_known_udis
374                         set depending on whether their |interface.name| matches
375                         any interface definition in /etc/network/interfaces
376                 - (SCPluginIfupdown_init): connect callbacks from above with
377                         hal_mgr and setup well_known_udis hashtable
378                 - (GObject__dispose): destroy well_known_udis hashtable
379                 - (hal_device_added_cb2): implement wrapper callback with GFunc
380                         signature. user_data is supposed to be a triple (hal_mgr,
381                         config and devtype)
382                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
383                         startup and call hal_device_added_cb2
384
385 2008-10-10  Alexander Sack  <asac@ubuntu.com>
386
387         Remove implementation for not used NMSystemConfigInterface callback functions
388         in ifupdown plugin
389
390         * system-settings/plugins/ifupdown/plugin.c
391                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
392                 - (SCPluginIfupdown_connection_added): removed
393
394 2008-10-08  Dan Williams  <dcbw@redhat.com>
395
396         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
397
398         * src/NetworkManagerUtils.c
399                 - (nm_utils_call_dispatcher): add a 'hostname' action
400
401         * src/NetworkManagerPolicy.c
402                 - (set_system_hostname): dispatch hostname changes
403
404         * callouts/nm-dispatcher-action.c
405                 - (nm_dispatcher_action): handle 'hostname' actions
406
407 2008-10-08  Dan Williams  <dcbw@redhat.com>
408
409         * src/NetworkManagerSystem.c
410                 - (find_route): ref the route so it doesn't get destroyed when the cache
411                         is cleared
412                 - (nm_system_device_set_priority): unref the route here after it's done
413                         being used
414
415 2008-10-08  Dan Williams  <dcbw@redhat.com>
416
417         * src/nm-serial-device.c
418                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
419
420 2008-10-08  Tambet Ingo  <tambet@gmail.com>
421
422         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
423         connection with new settings before saving it.
424
425 2008-10-06  Dan Williams  <dcbw@redhat.com>
426
427         * src/nm-ip4-config.c
428           src/nm-ip4-config.h
429                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
430
431         * src/nm-device-interface.c
432                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
433                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
434                         by using '/' for the object path
435
436         * src/nm-device.c
437                 - (src/nm-device.c): marshal missing/unexported ip4-config through
438                         dbus as '/' since dbus-glib can't handle NULL objects nor can
439                         dbus handle NULL object paths
440
441 2008-10-03  Alexander Sack  <asac@ubuntu.com>
442
443         Implement system hostname support for debian/ubuntu
444
445         * system-settings/plugins/ifupdown/plugin.c
446                 - (GObject__get_property): extend announced capabilities; add
447                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
448                 - (GObject__set_property,write_system_hostname): implement
449                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
450                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
451                    update_system_hostname, get_hostname):
452                         implement hostname property that watches and
453                         parses /etc/hostname
454
455 2008-10-03  Alexander Sack  <asac@ubuntu.com>
456
457         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
458           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
459           system-settings/plugins/ifcfg-fedora/Makefile.am
460           system-settings/src/nm-inotify-helper.c
461           system-settings/src/nm-inotify-helper.h
462           src/Makefile.am
463                 - Move ifcfg-fedora inotify helpers to the system settings service so
464                         they are available to all plugins
465
466 2008-10-03  Alexander Sack  <asac@ubuntu.com>
467
468         Implement support for wep-tx-keyidx in ifupdown system
469         config plugin.
470
471         * system-settings/plugins/ifupdown/parser.c
472                 - (update_wireless_security_setting_from_if_block): introduce
473                         free_type_mapping func table; rename a few local
474                         variables to improve readability; add wpa security mapping
475                         for wep-tx-keyidx property
476                 - (string_to_gpointerint): new function used for the auto_type_mapping
477                         of new wep-tx-keyidx property
478                 - (slist_free_all): free func used for mapped slist types
479
480 2008-10-03  Alexander Sack  <asac@ubuntu.com>
481
482         * system-settings/src/main.c:
483                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
484                         always used as the hash key; fixes a crash when removing wired
485                         devices
486
487 2008-10-02  Dan Williams  <dcbw@redhat.com>
488
489         * src/nm-gsm-device.c
490                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
491                         pass the required GSM secret along via user_data rather than keeping
492                         it around in the private data where it sometimes didn't get cleared
493                 - (real_get_ppp_name): implement using the GSM username
494
495 2008-10-02  Dan Williams  <dcbw@redhat.com>
496
497         * src/ppp-manager/nm-ppp-manager.c
498           src/ppp-manager/nm-ppp-manager.h
499                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
500                         the settings daemon for completely new ones
501                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
502                         local PPP peer name; allow PPP debuging by launching NM with
503                         the environment variable NM_PPP_DEBUG defined
504                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
505                         create_pppd_cmd_line()
506
507         * src/nm-serial-device.c
508           src/nm-serial-device.h
509                 - New 'get_ppp_name' function for subclasses to implement to return the
510                         local PPP peer name
511                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
512                         and pass that name to the PPP manager
513
514         * src/nm-device-ethernet.c
515                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
516                         the local peer name
517
518         * src/nm-cdma-device.c
519                 - (real_get_ppp_name): implement using the CDMA username
520
521 2008-10-02  Dan Williams  <dcbw@redhat.com>
522
523         Patch from Alexander Sack <asac ubuntu com>
524
525         * system-settings/plugins/ifupdown/parser.c
526                 - Implement more graceful ip4 config parsing for cases where
527                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
528                   by using default values
529
530 2008-10-02  Dan Williams  <dcbw@redhat.com>
531
532         * src/NetworkManagerPolicy.c
533                 - (device_state_changed): when marking a connection invalid, clear its
534                         secrets too so that fresh secrets get requested the next time
535
536 2008-10-01  Dan Williams  <dcbw@redhat.com>
537
538         * system-settings/src/dbus-settings.c
539                 - (nm_sysconfig_settings_init): cache system hostname on startup as
540                         a fallback if no plugin provides a hostname
541                 - (get_property): fall back to cached hostname if no plugin provides
542                         a hostname
543
544 2008-10-01  Dan Williams  <dcbw@redhat.com>
545
546         Fix setting value comparison issue that caused some settings to look the
547         same when they were really different (rh #464417)
548
549         * libnm-util/nm-param-spec-specialized.c
550                 - (type_is_fixed_size): return fundamental size of the fixed type too
551                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
552                         in the comparison so that the _entire_ fixed type collection gets
553                         compared rather than just the first 'len1' bytes
554
555 2008-09-30  Dan Williams  <dcbw@redhat.com>
556
557         * src/NetworkManagerPolicy.c
558                 - (lookup_thread_worker): don't store the idle handler ID becuase the
559                         idle handler could have already run and freed the LookupThread
560                         structure
561
562 2008-09-30  Tambet Ingo  <tambet@gmail.com>
563
564         * src/nm-device.c (nm_device_get_priority): Implement.
565         (nm_device_set_ip4_config): Send the device priority to system ip4 
566         config setter.
567
568         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
569         Add priority argument and if it's >= 0, set the priority of the network
570         route added automatically by netlink (or kernel?).
571         (nm_system_device_set_priority): Implement.
572
573         * src/NetworkManagerPolicy.c (get_best_device): Use 
574         nm_device_get_priority() instead of home-grown version. Revert the
575         meaning, best priority is the lowest one.
576
577 2008-09-29  Dan Williams  <dcbw@redhat.com>
578
579         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
580         when it returns EAGAIN (rh #362421)
581
582         * src/nm-device-wifi.c
583                 - (wireless_get_range): try GIWRANGE a few times until the card responds
584                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
585
586 2008-09-28  Dan Williams  <dcbw@redhat.com>
587
588         * src/nm-serial-device.c
589           src/nm-serial-device.h
590                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
591                         cleaned at the right times when subclasses close the serial port too
592                 - (nm_serial_device_send_command): use a default send delay; don't
593                         spin forever on EAGAIN
594                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
595                         remove, no longer used
596                 - (find_response): return the matched response if any
597                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
598                         while doing so
599                 - (wait_for_reply_done): pass the matched response to the callback
600                 - (wait_for_reply_got_data): save the matched response; simplify timeout
601                         handling
602                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
603                         const since they never get modified
604                 - (cleanup_device): split out common cleanup stuff to a new function
605                 - (real_deactivate_quickly, finalize): use cleanup_device()
606
607         * src/nm-gsm-device.c
608                 - (modem_get_reply): remove, unused
609                 - (set_apn): give the card a bit more time to respond
610                 - (manual_registration_again, schedule_manual_registration_again,
611                    manual_registration_response, manual_registration): handle manual
612                         registration timeouts better by retrying registration a few times
613                         because cards are a bit slow after CFUN=1
614                 - (automatic_registration_get_network, get_network_response): use
615                         modem_wait_for_reply() because it interacts better with the serial
616                         buffer and does more intelligent matching; need to wait for 'OK'
617                         rather than just matching terminators
618                 - (schedule_automatic_registration_again,
619                    automatic_registration_response, automatic_registration): retry
620                         registration a few times on timeout or "searching" because cards
621                         take a bit to find a network after being powered up with CFUN=1
622                 - (power_up_response, power_up, init_full_done, enter_pin,
623                    check_pin_done): power up the card with CFUN=1 before trying to
624                         register with the network
625                 - (init_modem_full, init_modem): use more standard 3G init strings
626
627         * src/nm-hso-gsm-device.c
628                 - (modem_get_reply): remove, unused
629                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
630                         modem_wait_for_reply() to match actual responses instead of single
631                         termination characters; it doesn't leave stuff in the serial buffer
632                         that might confuse later calls
633                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
634                         to ensure that the call is really disconnected and not leave extra
635                         stuff in the serial buffer
636
637         * src/nm-cdma-device.c
638                 - (power_up_response, power_up, init_done): try Sierra-style modem
639                         power up before attempting to connect
640
641 2008-09-27  Dan Williams  <dcbw@redhat.com>
642
643         * libnm-util/nm-setting-gsm.c
644                 - (verify): verify GSM network ID
645
646 2008-09-25  Dan Williams  <dcbw@redhat.com>
647
648         * libnm-util/nm-setting-gsm.c
649           libnm-util/nm-setting-gsm.h
650                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
651                         technology terms (bgo #551361)
652
653 2008-09-25  Dan Williams  <dcbw@redhat.com>
654
655         Fix bgo #549401 (inspired by patch from Alexander Sack)
656
657         * src/nm-device-ethernet.c
658                 - (finish_supplicant_task): clean up scheduled tasks and free memory
659                 - (remove_supplicant_interface_error_handler): remove the supplicant
660                         error idle callback too
661                 - (supplicant_interface_release): rename from supplicant_interface_clean
662                         to match nm-device-wifi.c; clean up supplicant interface-related
663                         state tasks when the supplicant interface is disposed of
664                 - (schedule_state_handler): add scheduled tasks to a list so they can
665                         be cleaned up later
666                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
667                    supplicant_iface_connection_state_cb_handler): use
668                         finish_supplicant_task() to clean up each completed task
669                 - (supplicant_iface_connection_error_cb_handler,
670                    supplicant_connection_timeout_cb): clear source id when the task is
671                         complete
672                 - (supplicant_iface_connection_error_cb): save scheduled task id for
673                         later cleanup
674                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
675                         tasks
676
677         * src/nm-device-wifi.c
678                 - (finish_supplicant_task): clean up scheduled tasks and free memory
679                 - (remove_supplicant_interface_error_handler): remove the supplicant
680                         error idle callback too
681                 - (supplicant_interface_release): clean up supplicant interface-related
682                         state tasks when the supplicant interface is disposed of
683                 - (schedule_state_handler): add scheduled tasks to a list so they can
684                         be cleaned up later
685                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
686                    supplicant_iface_connection_state_cb_handler): use
687                         finish_supplicant_task() to clean up each completed task
688                 - (supplicant_iface_connection_error_cb_handler): clear source id when
689                         the task is complete
690                 - (supplicant_iface_connection_error_cb): save scheduled task id for
691                         later cleanup
692                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
693
694 2008-09-24  Tambet Ingo  <tambet@gmail.com>
695
696         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
697         method and get/set hostname property.
698
699 2008-09-24  Tambet Ingo  <tambet@gmail.com>
700
701         * src/supplicant-manager/nm-supplicant-interface.c
702         (nm_supplicant_interface_disconnect): Don't increment the reference 
703         count when disconnecting. The problem is on shutdown, when the replies
704         to these commands do not arrive before NM exits, resulting on never
705         calling supplicant interface's dispose(), which removes the interface
706         from supplicant.
707
708 2008-09-24  Tambet Ingo  <tambet@gmail.com>
709
710         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
711         all the public function arguments.
712
713 2008-09-22  Tambet Ingo  <tambet@gmail.com>
714
715         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
716         "Failure" signal from VPN plugins, store the failure reason, and
717         use it when the state is changed to failure.
718
719         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
720         description.
721
722         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
723         reason to the end of the list to not break the API.
724         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
725         so it can be shared by plugins and daemon.
726
727 2008-09-18  Dan Williams  <dcbw@redhat.com>
728
729         Patch from Alexander Sack <asac@ubuntu.com>
730
731         * configure.in
732           system-settings/plugins/Makefile.am
733           system-settings/plugins/ifupdown/Makefile.am
734           system-settings/plugins/ifupdown/interface_parser.c
735           system-settings/plugins/ifupdown/interface_parser.h
736           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
737           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
738           system-settings/plugins/ifupdown/parser.c
739           system-settings/plugins/ifupdown/parser.h
740           system-settings/plugins/ifupdown/plugin.c
741           system-settings/plugins/ifupdown/plugin.h
742                 - Implement a Debian/Ubuntu legacy network configuration plugin
743                         (gnome.org #551941)
744
745 2008-09-18  Dan Williams  <dcbw@redhat.com>
746
747         Implement support for honoring configured and automatic hostnames, and for
748         setting the configured hostname.
749
750         * introspection/nm-ip4-config.xml
751           src/nm-ip4-config.c
752           src/nm-ip4-config.h
753           src/dhcp-manager/nm-dhcp-manager.c
754                 - Remove useless hostname property; it's not really part of the IPv4
755                         config
756
757         * introspection/nm-settings-system.xml
758           libnm-glib/nm-dbus-settings-system.c
759           libnm-glib/nm-dbus-settings-system.h
760                 - Add SetHostname() call to system settings D-Bus interface
761                 - Add Hostname property to system settings D-Bus interface
762                 - (nm_dbus_settings_system_save_hostname,
763                    nm_dbus_settings_system_get_hostname): implement
764
765         * src/nm-device.c
766           src/nm-device.h
767                 - (nm_device_get_dhcp4_config): implement
768
769         * src/nm-manager.c
770           src/nm-manager.h
771                 - Fetch and track system settings service hostname changes, and proxy
772                         the changes via a GObject property of the manager
773
774         * system-settings/src/nm-system-config-interface.c
775           system-settings/src/nm-system-config-interface.h
776                 - Replace nm_system_config_interface_supports_add() with a capabilities
777                         bitfield
778
779         * system-settings/src/nm-system-config-error.c
780           system-settings/src/nm-system-config-error.h
781                 - Add additional errors
782
783         * system-settings/src/dbus-settings.c
784           system-settings/src/dbus-settings.h
785                 - (get_property, nm_sysconfig_settings_class_init): add hostname
786                         property; first plugin returning a hostname wins
787                 - (impl_settings_add_connection): use plugin capabilities instead of
788                         nm_system_config_interface_supports_add()
789                 - (impl_settings_save_hostname): implement hostname saving
790
791         * src/NetworkManagerPolicy.c
792                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
793                    lookup_thread_die): implement an asynchronous hostname lookup thread
794                         which given an IPv4 address tries to look up the hostname for that
795                         address with reverse DNS
796                 - (get_best_device): split out best device code from
797                         update_routing_and_dns()
798                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
799                         to preserve the 127.0.0.1 reverse mapping that so many things require
800                 - (set_system_hostname): set a given hostname
801                 - (update_system_hostname): implement hostname policy; a configured
802                         hostname (from the system settings service) is used if available,
803                         otherwise an automatically determined hostname from DHCP, VPN, etc.
804                         If there was no automatically determined hostname, reverse DNS of
805                         the best device's IP address will be used, and as a last resort the
806                         hostname 'localhost.localdomain' is set.
807                 - (update_routing_and_dns): use get_best_device(); update the system
808                         hostname when the network config changes
809                 - (hostname_changed): update system hostname if the system settings
810                         service signals a hostname change
811                 - (nm_policy_new): list for system settings service hostname changes
812                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
813                         gets told to die
814
815         * system-settings/plugins/keyfile/plugin.c
816           system-settings/plugins/ifcfg-suse/plugin.c
817                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
818                         capabilities properties
819
820         * system-settings/plugins/ifcfg-fedora/shvar.c
821                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
822                         writes out /etc/sysconfig/network now
823
824         * system-settings/plugins/ifcfg-fedora/plugin.c
825                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
826                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
827                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
828                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
829                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
830                         hostname get/set and capabilities get
831
832 2008-09-18  Dan Williams  <dcbw@redhat.com>
833
834         * libnm-util/nm-setting-wireless.c
835                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
836                         group ciphers if the wireless-security setting explicitly specified
837                         them, effectively making the default be "all ciphers"  (idea from
838                         Alexander Sack)
839
840 2008-09-15  Dan Williams  <dcbw@redhat.com>
841
842         Patch from Alexander Sack <asac@ubuntu.com>
843
844         * src/named-manager/nm-named-manager.c
845                 - (dispatch_resolvconf): respect resolvconf exit code
846
847 2008-09-12  Tambet Ingo  <tambet@gmail.com>
848
849         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
850         again. Add some debugging.
851
852 2008-09-11  Dan Williams  <dcbw@redhat.com>
853
854         * system-settings/plugins/keyfile/plugin.c
855                 - (update_connection_settings): update connection manually, since
856                         nm_exported_connection_update() does authentication
857                 - (dir_changed): update_connection_settings() doesn't need to return
858                         an error
859
860 2008-09-09  Dan Williams  <dcbw@redhat.com>
861
862         * libnm-glib/nm-vpn-plugin-ui-interface.c
863           libnm-glib/nm-vpn-plugin-ui-interface.h
864           libnm-glib/libnm_glib_vpn.ver
865                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
866                         should clean up resources related to the connection (like keyring
867                         secrets)
868                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
869                         should save user-scope secrets (like to the keyring)
870
871 2008-09-08  Dan Williams  <dcbw@redhat.com>
872
873         Patch from Alexander Sack <asac@ubuntu.com>
874
875         * libnm-util/crypto_gnutls.c
876           libnm-util/crypto_nss.c
877                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
878
879         * libnm-util/nm-utils.c
880           libnm-util/nm-utils.h
881           libnm-util/libnm-util.ver
882                 - (nm_utils_init): initialize libnm-util
883                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
884
885         * libnm-util/nm-setting-8021x.c
886                 - (nm_setting_802_1x_class_init): init libnm-util when needed
887
888 2008-09-05  Dan Williams  <dcbw@redhat.com>
889
890         Patch from Roy Marples <roy@marples.name> and others
891
892         * configure.in
893           src/named-manager/nm-named-manager.c
894                 - Add support for resolvconf; use --with-resolvconf at configure time
895                         to enable it
896
897 2008-09-05  Dan Williams  <dcbw@redhat.com>
898
899         * libnm-util/crypto_nss.c
900           libnm-util/crypto_gnutls.c
901           libnm-util/crypto.h
902                 - (crypto_init): return error when init fails
903
904 2008-09-05  Dan Williams  <dcbw@redhat.com>
905
906         * libnm-glib/nm-device-wifi.c
907                 - (access_point_removed_proxy): clean up the active access point too
908                         just in case the active ap changed signal didn't come through yet
909                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
910
911 2008-09-05  Dan Williams  <dcbw@redhat.com>
912
913         * libnm-glib/nm-client.c
914                 - (constructor): get initial state after we know whether NM is running
915                         or not
916
917 2008-09-05  Dan Williams  <dcbw@redhat.com>
918
919         * libnm-glib/nm-ip4-config.c
920           libnm-glib/nm-dhcp4-config.c
921                 - (finalize): clean up the DBusGProxy
922
923 2008-09-04  Dan Williams  <dcbw@redhat.com>
924
925         * src/nm-ip4-config.c
926           src/nm-ip4-config.h
927                 - (nm_ip4_config_new): don't export over D-Bus here
928                 - (nm_ip4_config_export): new function; export the config over D-Bus
929                 - (nm_ip4_config_is_exported): new function
930
931         * src/nm-device.c
932                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
933                         objects by balancing the IP4Config constructor; the device holds
934                         a reference to the IP4Config already
935                 - (nm_device_set_ip4_config): export the IP4Config when needed
936
937 2008-09-04  Dan Williams  <dcbw@redhat.com>
938
939         * src/supplicant-manager/nm-supplicant-settings-verify.c
940                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
941
942 2008-09-04  Dan Williams  <dcbw@redhat.com>
943
944         * libnm-util/nm-setting-vpn.c
945           libnm-util/nm-setting-vpn.h
946                 - Split VPN secrets from VPN data so that settings services can actually
947                         figure out that they are secrets and store them accordingly
948
949         * system-settings/plugins/keyfile/nm-keyfile-connection.c
950           system-settings/plugins/keyfile/reader.c
951           system-settings/plugins/keyfile/reader.h
952           system-settings/plugins/keyfile/writer.c
953                 - Store VPN secrets separately from VPN data so that they can be fetched
954                         on demand
955                 - Implement the get_secrets() call so that (a) secrets don't leak out
956                         to unprivileged callers, and (b) secrets can be sent to privileged
957                         callers when needed
958
959         * vpn-daemons/vpnc/src/nm-vpnc-service.c
960                 - Handle split VPN secrets
961
962 2008-08-27  Dan Williams  <dcbw@redhat.com>
963
964         * system-settings/plugins/ifcfg-fedora/reader.c
965                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
966
967 2008-08-27  Dan Williams  <dcbw@redhat.com>
968
969         Ensure zombie children get cleaned up.  To get notifications when children
970         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
971         that requires calling waitpid() yourself if you've removed the child watch
972         handler before the process has actually died, which NM needs to do in a few
973         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
974         cleans up after the child when required.  Should fix problems trying to
975         activate mobile broadband connections after a previous failure.
976
977         * src/dhcp-manager/nm-dhcp-dhclient.c
978           src/dhcp-manager/nm-dhcp-dhcpcd.c
979                 - Use G_SPAWN_DO_NOT_REAP_CHILD
980
981         * src/dhcp-manager/nm-dhcp-manager.c
982                 - (nm_dhcp_device_destroy): ensure child is cleaned up
983                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
984                         block on child quitting, since the non-blocking functionality was
985                         never actually used
986
987         * src/dnsmasq-manager/nm-dnsmasq-manager.c
988                 - (dm_watch_cb): child is already reaped here
989                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
990
991         * src/nm-device.c
992                 - (aipd_cleanup): block until child is dead
993
994         * src/named-manager/nm-named-manager.c
995                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
996                         event bothering to watch the child
997
998         * src/ppp-manager/nm-ppp-manager.c
999                 - (ppp_watch_cb): child is already reaped here
1000                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1001
1002         * src/vpn-manager/nm-vpn-service.c
1003                 - (vpn_service_watch_cb): child is already reaped here
1004                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1005                         status of the child is actually tracked
1006                 - (ensure_killed, finalize): block until child is dead
1007
1008 2008-08-26  Dan Williams  <dcbw@redhat.com>
1009
1010         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1011                 - (update): Update filename of the connection if the connection id
1012                         was changed
1013
1014         * system-settings/plugins/keyfile/plugin.c
1015                 - (dir_changed): first pass at handling connection renames correctly
1016
1017         * system-settings/plugins/keyfile/writer.c
1018           system-settings/plugins/keyfile/writer.h
1019                 - (write_connection): replace '/' with '*' when writing out the filename
1020                         from the connection id
1021
1022 2008-08-26  Dan Williams  <dcbw@redhat.com>
1023
1024         Add connection UUIDs, since connection names can be changed, and since
1025         old-style connection IDs could change over the life of the connection.  The
1026         UUID should be assigned at connection creation time, be stable for a given
1027         connection, and should be unique among all connections for a given settings
1028         service.
1029
1030         * configure.in
1031           libnm-util/Makefile.am
1032                 - Require libuuid
1033
1034         * introspection/nm-exported-connection.xml
1035                 - Remove "GetID" method
1036
1037         * libnm-glib/nm-dbus-connection.c
1038           libnm-glib/nm-settings.c
1039           libnm-glib/nm-settings.h
1040                 - Remove id-related stuff
1041
1042         * libnm-util/nm-utils.c
1043           libnm-util/nm-utils.h
1044           libnm-util/libnm-util.ver
1045                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1046                         utility functions to generate UUIDs
1047
1048         * libnm-util/nm-setting-connection.c
1049           libnm-util/nm-setting-connection.h
1050                 - Add 'uuid' member to the connection setting
1051                 - (verify): require valid 'uuid' for a valid connection
1052
1053         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1054           system-settings/plugins/ifcfg-fedora/reader.c
1055           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1056           system-settings/plugins/ifcfg-suse/parser.c
1057           system-settings/plugins/keyfile/nm-keyfile-connection.c
1058           system-settings/src/main.c
1059                 - Remove id-related stuff
1060                 - Give connections UUIDs where needed
1061
1062 2008-08-25  Dan Williams  <dcbw@redhat.com>
1063
1064         * libnm-util/crypto_gnutls.c
1065           libnm-util/crypto_nss.c
1066                 - (crypto_init, crypto_deinit): refcount init/deinit
1067                 - (crypto_md5_hash): allow NULL salt
1068
1069 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1070
1071         * libnm-glib/Makefile.am
1072           libnm-util/Makefile.am
1073           libnm-glib/libnm_glib.ver
1074           libnm-glib/libnm_glib_vpn.ver
1075           libnm-util/libnm-util.ver
1076                 - Use linker version scripts to control the list of exported 
1077                 symbols. List each exported symbol explicitely.
1078         * libnm-util/Makefile.am
1079                 - Fix compilation of the test-crypto binary. The crypto
1080                 functions are no longer part of the libnm-util API. Add 
1081                 crypto_*.c to test_crypto_SOURCES and link against the correct
1082                 crypto libraries.
1083
1084 2008-08-19  Dan Williams  <dcbw@redhat.com>
1085
1086         * configure.in
1087           test/Makefile.am
1088                 - Don't build test/test-common
1089                 - Remove unused stuff
1090
1091         * test/nm-set-fallback
1092           test/nmtestdevices.c
1093           test/test-common/.cvsignore
1094           test/test-common/Makefile.am
1095           test/test-common/test-common.c
1096           test/test-common/test-common.h
1097                 - delete
1098
1099 2008-08-18  Dan Williams  <dcbw@redhat.com>
1100
1101         * libnm-util/nm-utils.c
1102           libnm-util/nm-utils.h
1103                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1104                         export anything that needs to be converted with this function
1105
1106         * src/dhcp-manager/nm-dhcp-manager.c
1107                 - (garray_to_string): convert a byte array to a UTF-8 string with
1108                         minimal validation; the DHCP client sends it in ASCII anyway
1109                 - (get_option, copy_option): use garray_to_string()
1110
1111 2008-08-18  Dan Williams  <dcbw@redhat.com>
1112
1113         * include/NetworkManager.h
1114           introspection/nm-device.xml
1115                 - Add a "missing firmware" device state reason
1116
1117         * src/NetworkManagerSystem.c
1118           src/NetworkManagerSystem.h
1119                 - (nm_system_device_set_up_down): add a no_firmware argument
1120                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1121                         IFF_UP is ENOENT, that almost always means missing firmware
1122
1123         * src/backends/NetworkManagerGeneric.c
1124           src/nm-device-ethernet.c
1125           src/nm-device-private.h
1126           src/nm-device-wifi.c
1127           src/nm-device.c
1128           src/nm-device.h
1129           src/nm-hso-gsm-device.c
1130           src/vpn-manager/nm-vpn-connection.c
1131                 - Pass no_firmware along; check it where appropriate
1132
1133 2008-08-18  Dan Williams  <dcbw@redhat.com>
1134
1135         Patch from Robert Buchholz <rbu@gentoo.org>
1136
1137         * autogen.sh
1138           configure.in
1139                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1140                         1003.1-1988, allowing for file names longer than 99 characters
1141
1142 2008-08-17  Dan Williams  <dcbw@redhat.com>
1143
1144         * include/NetworkManager.h
1145           introspection/nm-device.xml
1146           src/nm-gsm-device.c
1147                 - Finer-grained GSM registration failure error codes
1148
1149 2008-08-17  Dan Williams  <dcbw@redhat.com>
1150
1151         * callouts/Makefile.am
1152           src/Makefile.am
1153                 - Move dispatcher directory creation to callouts/Makefile.am
1154
1155         * system-settings/plugins/keyfile/Makefile.am
1156                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1157
1158 2008-08-15  Dan Williams  <dcbw@redhat.com>
1159
1160         Do connection sharing in a cleaner manner; all required iptables rules
1161         are now stored in the activation request and pertain only to the device
1162         which is being shared to other computers. (rh #458625)
1163
1164         * src/nm-activation-request.c
1165           src/nm-activation-request.h
1166                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1167                         the activation request which will get torn down automatically when
1168                         the activation request dies
1169                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1170                         is started, and tear them down when sharing is stopped
1171
1172         * src/nm-device.c
1173                 - (start_sharing): start up sharing by doing the required iptables magic
1174                 - (share_init): poke the right bits of the kernel and load the right
1175                         modules for NAT
1176                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1177                         connection if it's a 'shared' connection
1178
1179         * src/NetworkManagerPolicy.c
1180                 - Remove all sharing stuff; done in the device code itself
1181
1182 2008-08-15  Dan Williams  <dcbw@redhat.com>
1183
1184         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1185                 - (create_dm_cmd_line): send the right router address
1186
1187 2008-08-15  Dan Williams  <dcbw@redhat.com>
1188
1189         * src/ppp-manager/nm-ppp-manager.c
1190                 - (pppd_timed_out): ensure timeouts fail the connection
1191
1192 2008-08-14  Dan Williams  <dcbw@redhat.com>
1193
1194         * src/nm-properties-changed-signal.c
1195           src/nm-properties-changed-signal.h
1196                 - Add a property spec flag for "don't export this property" in
1197                         property changed signals
1198
1199         * src/nm-hso-gsm-device.c
1200           src/nm-gsm-device.c
1201           src/nm-cdma-device.c
1202                 - Don't export monitor interface or netdev interface properties
1203
1204 2008-08-14  Dan Williams  <dcbw@redhat.com>
1205
1206         * src/NetworkManagerPolicy.c
1207                 - (update_routing_and_dns): 'hso' devices can be default even if they
1208                         don't have a gateway
1209
1210 2008-08-14  Dan Williams  <dcbw@redhat.com>
1211
1212         * src/nm-device.c
1213                 - (nm_device_deactivate_quickly): tear down activation request after
1214                         calling device-specific deactivation
1215
1216         * src/nm-hso-gsm-device.c
1217                 - (real_deactivate_quickly): terminate connection when deactivating
1218
1219 2008-08-14  Dan Williams  <dcbw@redhat.com>
1220
1221         * src/nm-activation-request.h
1222                 - Add HSO secrets caller
1223
1224         * src/nm-gsm-device.c
1225           src/nm-gsm-device.h
1226                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1227                         something to the callback function
1228                 - (set_apn, set_apn_done): call class dial function, not a static one
1229                 - (nm_gsm_device_class_init): add a class 'dial' function
1230
1231         * src/nm-hal-manager.c
1232                 - (get_hso_netdev): find the hso-driven hardware's net device
1233                 - (modem_device_creator): recognize hso-driven hardware and create the
1234                         right type of device object for it
1235
1236         * src/Makefile.am
1237           src/nm-hso-gsm-device.c
1238           src/nm-hso-gsm-device.h
1239                 - Implement support for devices driven by the 'hso' driver as a subclass
1240                         of NMGsmDevice
1241
1242 2008-08-14  Dan Williams  <dcbw@redhat.com>
1243
1244         * src/NetworkManagerSystem.c
1245                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1246                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1247                         success if the operation really was successful
1248
1249 2008-08-14  Dan Williams  <dcbw@redhat.com>
1250
1251         * src/nm-netlink-monitor.c
1252           src/nm-netlink-monitor.h
1253           src/nm-device-ethernet.c
1254                 - (nm_netlink_monitor_request_status): return an error on failure
1255                 - (constructor): don't segfault on missing error
1256
1257 2008-08-13  Dan Williams  <dcbw@redhat.com>
1258
1259         * callouts/nm-dispatcher-action.c
1260                 - Add IP4 config info to script environment
1261
1262 2008-08-12  Dan Williams  <dcbw@redhat.com>
1263
1264         * src/nm-device.c
1265                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1266                         that want to use DHCP hostnames should use dispatcher scripts
1267                         for that
1268
1269         * src/NetworkManagerSystem.h
1270           src/backends/NetworkManagerArch.c
1271           src/backends/NetworkManagerDebian.c
1272           src/backends/NetworkManagerFrugalware.c
1273           src/backends/NetworkManagerGeneric.c
1274           src/backends/NetworkManagerGeneric.h
1275           src/backends/NetworkManagerGentoo.c
1276           src/backends/NetworkManagerMandriva.c
1277           src/backends/NetworkManagerPaldo.c
1278           src/backends/NetworkManagerRedHat.c
1279           src/backends/NetworkManagerSlackware.c
1280           src/backends/NetworkManagerSuSE.c
1281                 - Remove nm_system_set_hostname(), no longer used
1282           
1283         * src/backends/Makefile.am
1284           src/backends/shvar.c
1285           src/backends/shvar.h
1286                 - Remove shvar.*; no longer used
1287
1288 2008-08-12  Dan Williams  <dcbw@redhat.com>
1289
1290         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1291         hostname is updated at runtime.  Distros or users who want hostname updates
1292         can use dispatcher scripts to update the hostname if they need it.
1293
1294 2008-08-12  Dan Williams  <dcbw@redhat.com>
1295
1296         * introspection/nm-settings-system.xml
1297           system-settings/src/dbus-settings.c
1298           system-settings/src/dbus-settings.h
1299                 - Add a 'Hostname' property (rw) which represents the configured
1300                         hostname and domain of the system, if any
1301
1302         * system-settings/src/nm-system-config-error.c
1303           system-settings/src/nm-system-config-error.h
1304           system-settings/src/nm-system-config-interface.c
1305           system-settings/src/nm-system-config-interface.h
1306                 - Add a 'hostname' property to the plugin interface
1307                 - Add a method to send updated hostname to plugins to save in their
1308                         backing configuration store
1309
1310         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1311           system-settings/plugins/keyfile/plugin.c
1312           system-settings/plugins/keyfile/writer.c
1313           system-settings/plugins/keyfile/writer.h
1314           system-settings/plugins/ifcfg-suse/plugin.c
1315                 - Add minimal hostname support
1316
1317         * system-settings/plugins/ifcfg-fedora/plugin.c
1318                 - Add support for updating system hostname in /etc/sysconfig/network
1319
1320 2008-08-12  Dan Williams  <dcbw@redhat.com>
1321
1322         * system-settings/plugins/ifcfg-fedora/shvar.c
1323           system-settings/plugins/ifcfg-fedora/shvar.c
1324                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1325
1326 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1327
1328         * Makefile.am: Fix distcheck.
1329
1330 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1331
1332         * libnm-glib/*.c. Document some more.
1333
1334 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1335
1336         Start documenting libnm-glib public API using gtk-doc.
1337
1338         * libnm-glib/nm-serial-device.c: 
1339         * libnm-glib/nm-object.c: 
1340         * libnm-glib/nm-gsm-device.c: 
1341         * libnm-glib/nm-device.c: 
1342         * libnm-glib/nm-device-wifi.c: 
1343         * libnm-glib/nm-device-ethernet.c: 
1344         * libnm-glib/nm-client.c: 
1345         * libnm-glib/nm-cdma-device.c: Document the public API.
1346
1347         * docs/libnm-glib/libnm-glib.types: Implement.
1348
1349         * docs/libnm-glib/Makefile.am: Implement.
1350
1351         * autogen.sh: 
1352         * configure.in: 
1353         * Makefile.am: Add gtk-doc support.
1354
1355 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1356
1357         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1358
1359         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1360         the composite result of all the IP4 configurations and call a distro
1361         specific update_resolv_conf().
1362         (update_resolv_conf): Implement one for directly writing to 
1363         /etc/resolv.conf and one for opensuse to call netconfig.
1364
1365 2008-08-11  Dan Williams  <dcbw@redhat.com>
1366
1367         * src/ppp-manager/nm-ppp-manager.c
1368                 - (impl_ppp_manager_need_secrets): pass interface as required
1369
1370 2008-08-11  Dan Williams  <dcbw@redhat.com>
1371
1372         Merge the vpn-properties setting with the vpn setting since it was pointless
1373         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1374         of string:string (instead of string:variant) so that system settings plugins
1375         can have an easier time dealing with the arbitrary key/value pairs.
1376
1377 2008-08-11  Dan Williams  <dcbw@redhat.com>
1378
1379         * libnm-util/nm-utils.c
1380                 - (nm_utils_register_value_transformations): add value transform for
1381                         a hash table of string:string
1382
1383 2008-08-10  Dan Williams  <dcbw@redhat.com>
1384
1385         * libnm-glib/nm-vpn-plugin.c
1386                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1387                         an idle handler so the Connect reply gets delivered before the
1388                         stop StateChanged signal
1389
1390 2008-08-10  Dan Williams  <dcbw@redhat.com>
1391
1392         * src/nm-ip4-config.c
1393                 - (get_property): use common ip4 address/route conversion functions
1394                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1395                         copy the new route here, not take ownership
1396
1397 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1398
1399         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1400         Update the IP4 setting's method name.
1401
1402 2008-08-07  Dan Williams  <dcbw@redhat.com>
1403
1404         * introspection/nm-ip4-config.xml
1405           libnm-glib/libnm-glib-test.c
1406           libnm-glib/nm-ip4-config.c
1407           libnm-glib/nm-ip4-config.h
1408           src/NetworkManagerSystem.h
1409           src/backends/NetworkManagerArch.c
1410           src/backends/NetworkManagerDebian.c
1411           src/backends/NetworkManagerFrugalware.c
1412           src/backends/NetworkManagerGeneric.c
1413           src/backends/NetworkManagerGeneric.h
1414           src/backends/NetworkManagerGentoo.c
1415           src/backends/NetworkManagerMandriva.c
1416           src/backends/NetworkManagerPaldo.c
1417           src/backends/NetworkManagerRedHat.c
1418           src/backends/NetworkManagerSlackware.c
1419           src/backends/NetworkManagerSuSE.c
1420           src/dhcp-manager/nm-dhcp-manager.c
1421           src/nm-device.c
1422           src/nm-ip4-config.c
1423           src/nm-ip4-config.h
1424                 - Remove NIS logic; should be done from dispatcher scripts instead
1425
1426 2008-08-07  Dan Williams  <dcbw@redhat.com>
1427
1428         * src/dhcp-manager/nm-dhcp-manager.c
1429                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1430                         mis-handling of DHCP responses that returned more than one router
1431                         (found by Grant Williamson)
1432
1433 2008-08-07  Dan Williams  <dcbw@redhat.com>
1434
1435         * callouts/nm-dispatcher-action.c
1436                 - (nm_dispatcher_action): grab device path and create the device; pass
1437                         the device's DHCP4 config to script caller
1438                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1439                         scripts
1440
1441         * libnm-glib/nm-dhcp4-config.c
1442           libnm-glib/nm-dhcp4-config.h
1443                 - (nm_dhcp4_config_get_options): expose
1444                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1445
1446 2008-08-07  Dan Williams  <dcbw@redhat.com>
1447
1448         * include/NetworkManager.h
1449                 - Add the DHCP4Config D-Bus interface
1450
1451         * libnm-glib/Makefile.am
1452           libnm-glib/nm-dhcp4-config.c
1453           libnm-glib/nm-dhcp4-config.h
1454                 - Handle DHCP4 config objects exported by NM over D-Bus
1455
1456         * libnm-glib/nm-device.c
1457           libnm-glib/nm-device.h
1458                 - Add a 'dhcp4-config' property
1459
1460         * libnm-glib/libnm-glib-test.c
1461                 - Print out DHCP4 config for devices
1462                 - Fix some crashes when no connections are active
1463
1464         * src/nm-device-interface.c
1465           src/nm-device.c
1466           src/nm-dhcp4-config.c
1467           src/nm-dhcp4-config.h
1468                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1469                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1470                         doesn't let us do when the property type is G_TYPE_OBJECT
1471
1472 2008-08-07  Dan Williams  <dcbw@redhat.com>
1473
1474         * src/NetworkManager.c
1475           src/NetworkManagerSystem.h
1476           src/backends/NetworkManagerArch.c
1477           src/backends/NetworkManagerDebian.c
1478           src/backends/NetworkManagerFrugalware.c
1479           src/backends/NetworkManagerGeneric.c
1480           src/backends/NetworkManagerGeneric.h
1481           src/backends/NetworkManagerGentoo.c
1482           src/backends/NetworkManagerMandriva.c
1483           src/backends/NetworkManagerPaldo.c
1484           src/backends/NetworkManagerRedHat.c
1485           src/backends/NetworkManagerSlackware.c
1486           src/backends/NetworkManagerSuSE.c
1487                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1488
1489 2008-08-06  Dan Williams  <dcbw@redhat.com>
1490
1491         * libnm-glib/nm-ip4-config.c
1492           libnm-glib/nm-ip4-config.h
1493                 - Add 'routes' property
1494
1495         * libnm-util/nm-setting-vpn.c
1496           libnm-util/nm-setting-vpn.h
1497                 - Remove 'routes' property
1498
1499         * libnm-util/nm-setting-ip4-config.c
1500           libnm-util/nm-setting-ip4-config.h
1501                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1502                 - Add 'ignore-auto-routes' property
1503                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1504                         accomodate route metrics
1505                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1506
1507         * libnm-util/nm-utils.c
1508           libnm-util/nm-utils.h
1509                 - Add helpers for marshalling IP4 routes
1510
1511         * src/NetworkManagerUtils.c
1512                 - (nm_utils_merge_ip4_config): handle property renames and new route
1513                         structure
1514
1515         * src/NetworkManagerSystem.c
1516                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1517                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1518
1519         * src/dhcp-manager/nm-dhcp-manager.c
1520                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1521
1522         * system-settings/plugins/ifcfg-fedora/reader.c
1523           system-settings/plugins/ifcfg-fedora/writer.c
1524                 - Handle routes separately from addresses now that routes have a different
1525                         format
1526
1527         * introspection/nm-ip4-config.xml
1528           src/nm-ip4-config.c
1529           src/nm-ip4-config.h
1530                 - Rename internal routing functions
1531                 - 'static-routes' renamed to 'routes'
1532
1533 2008-08-04  Dan Williams  <dcbw@redhat.com>
1534
1535         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1536
1537         * src/NetworkManager.c
1538           src/nm-manager.c
1539           src/nm-manager.h
1540                 - More explicitly make the NMManager a singleton
1541
1542 2008-08-04  Dan Williams  <dcbw@redhat.com>
1543
1544         * libnm-util/nm-connection.c
1545           libnm-util/nm-connection.h
1546                 - (nm_connection_verify): return error on missing 'connection' setting
1547                         (found by Sjoerd Simons)
1548
1549 2008-08-04  Dan Williams  <dcbw@redhat.com>
1550
1551         Handle multiple concurrent PPP connections.
1552
1553         * src/ppp-manager/nm-ppp-manager.c
1554           src/ppp-manager/nm-ppp-manager.h
1555                 - (constructor): only PPP Manager request bus name once; each
1556                         NMPPPManager object gets a unique object path
1557                 - (nm_ppp_manager_class_init, get_property, set_property,
1558                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1559                         at construct time
1560                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1561                         remove timeout until PPP manager gets an IP4 config
1562                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1563                         the plugin can call back to this specific PPP manager instance
1564
1565         * src/nm-device-ethernet.c
1566           src/nm-serial-device.c
1567                 - Pass parent device in nm_ppp_manager_new()
1568
1569         * src/nm-gsm-device.c
1570           src/nm-cdma-device.c
1571                 - (device_state_changed): don't close serial device on NEED_AUTH
1572                         state changed, that's not a failure case like the rest are
1573
1574         * src/ppp-manager/nm-pppd-plugin.c
1575                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1576                         binds one interface to any pppd process, thus the correct index
1577                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1578                         problems; try harder to get a peer address in spite of pppd
1579                 - (plugin_init): use 'ipparam' as the object path back to our specific
1580                         PPP manager instance
1581
1582 2008-08-04  Dan Williams  <dcbw@redhat.com>
1583
1584         * src/ppp-manager/nm-ppp-manager.c
1585                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1586                         since the GSM and CDMA settings now implement need_secrets, we can
1587                         rely on them to do the right thing.  Where secrets are not required,
1588                         just pass empty strings back to the pppd plugin.
1589                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1590                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1591                         on successful IP4 config receipt
1592
1593 2008-08-04  Dan Williams  <dcbw@redhat.com>
1594
1595         * libnm-util/nm-setting-cdma.c
1596           libnm-util/nm-setting-gsm.c
1597                 - (verify): validate username & password if they exist
1598                 - (need_secrets): if username given, require a password too
1599
1600 2008-08-04  Dan Williams  <dcbw@redhat.com>
1601
1602         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1603                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1604                         manpage says about --listen-address without --interface
1605                         (bgo #546033)
1606
1607 2008-08-01  Dan Williams  <dcbw@redhat.com>
1608
1609         * libnm-glib/nm-device.c
1610                 - (proxy_get_string): util function for querying a HAL property
1611                 - (get_ancestor_device): split out from get_product_and_vendor()
1612                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1613                         from PCI devices by querying subsys properties
1614                 - (nm_device_update_description): simplify
1615
1616 2008-08-01  Dan Williams  <dcbw@redhat.com>
1617
1618         * libnm-util/nm-setting-ip4-config.c
1619           libnm-util/nm-setting-ip4-config.h
1620                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1621                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1622                         settings, and they don't necessarily use DHCP.
1623
1624         * src/NetworkManagerPolicy.c
1625           src/nm-device.c
1626           system-settings/plugins/ifcfg-fedora/reader.c
1627           system-settings/plugins/ifcfg-suse/parser.c
1628                 - Fixup for method changes
1629
1630 2008-07-31  Dan Williams  <dcbw@redhat.com>
1631
1632         * src/nm-activation-request.c
1633           src/vpn-manager/nm-vpn-connection.c
1634                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1635                         itself should be attached to the activation request or the VPN
1636                         connection, not the NMConnection object, since the call is not
1637                         expected to live as long as the NMConnection itself
1638
1639 2008-07-31  Dan Williams  <dcbw@redhat.com>
1640
1641         * src/nm-device-wifi.c
1642                 - (real_act_stage2_config): fix issue where association would continue
1643                         even though secrets were needed; 'goto out' was in wrong scope and
1644                         result of handle_auth_or_fail() should have been dumped directly to
1645                         'ret' to ensure that the association was postponed until secrets
1646                         are available
1647
1648 2008-07-31  Dan Williams  <dcbw@redhat.com>
1649
1650         * system-settings/plugins/ifcfg-fedora/plugin.c
1651           system-settings/plugins/ifcfg-fedora/reader.c
1652                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1653                         valid NM connection
1654
1655 2008-07-29  Dan Williams  <dcbw@redhat.com>
1656
1657         * src/nm-gsm-device.c
1658                 - (automatic_registration_response, automatic_registration): recognize
1659                         denied registration and reorder responses
1660
1661 2008-07-29  Dan Williams  <dcbw@redhat.com>
1662
1663         * src/nm-serial-device.c
1664                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1665                         time(2) is used for current time, which returns seconds, we shouldn't
1666                         be multiplying by 1000.
1667
1668 2008-07-28  Dan Williams  <dcbw@redhat.com>
1669
1670         Patch from Fabrice Bellet <fabrice@bellet.info>
1671
1672         * src/NetworkManagerSystem.c
1673                 - (route_in_same_subnet): mask addresses and compare them so that the
1674                         function actually does what it says it's going to do (rh #456685)
1675
1676 2008-07-27  Dan Williams  <dcbw@redhat.com>
1677
1678         * libnm-util/nm-setting-ip6-config.c
1679                 - (set_property): add missing break that caused routes to be overwritten
1680                         with addresses
1681
1682         * libnm-util/nm-setting-ip6-config.c
1683                 - (verify): validate routes and return GError everywhere on invalid setting
1684                 - (finalize): don't leak routes
1685                 - (set_property): add missing break that caused routes to be overwritten
1686                         with addresses
1687
1688 2008-07-27  Dan Williams  <dcbw@redhat.com>
1689
1690         * libnm-util/*
1691                 - Relicense to LGPLv2+
1692
1693 2008-07-27  Dan Williams  <dcbw@redhat.com>
1694
1695         * system-settings/plugins/ifcfg-fedora/reader.c
1696                 - (make_ip4_setting): fix parsing automatic configs
1697
1698 2008-07-27  Dan Williams  <dcbw@redhat.com>
1699
1700         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1701           src/nm-device.c
1702           src/ppp-manager/nm-ppp-manager.c
1703                 - Ensure child process gets reaped.  The child watch function may be
1704                         removed from the mainloop before the child gets killed, so we have
1705                         to make sure the child is reaped when it's told to die intentionally
1706
1707 2008-07-27  Dan Williams  <dcbw@redhat.com>
1708
1709         Patch from Roy Marples <roy@marples.name>
1710
1711         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1712                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1713
1714 2008-07-27  Dan Williams  <dcbw@redhat.com>
1715
1716         * src/nm-gsm-device.c
1717                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1718                         Huawei devices turn echo back on after CPIN (rh #456770)
1719
1720 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1721
1722         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1723         format argument to g_set_error() call.
1724
1725         * src/backends/interface_parser.[ch]: Remove.
1726
1727         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1728
1729 2008-07-21  Dan Williams  <dcbw@redhat.com>
1730
1731         * src/ppp-manager/nm-ppp-manager.c
1732                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1733                         to prevent pppd from picking up some random local address from an
1734                         interface that doesn't have anything to do with the one we're
1735                         interested in (rh #455348)
1736
1737 2008-07-17  Dan Williams  <dcbw@redhat.com>
1738
1739         * libnm-util/nm-utils.c
1740                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1741                         by locale
1742                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1743                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1744
1745 2008-07-17  Dan Williams  <dcbw@redhat.com>
1746
1747         * introspection/Makefile.am
1748           introspection/nm-device.xml
1749           introspection/nm-dhcp4-config.xml
1750                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1751                         itself
1752         * src/nm-device-interface.c
1753           src/nm-device-interface.h
1754                 - Add the DHCP4Config property
1755
1756         * src/nm-device.c
1757                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1758                         D-Bus clients when it changes
1759
1760         * src/nm-dhcp4-config.c
1761           src/nm-dhcp4-config.h
1762                 - Simple object to store DHCP4 options, export them over D-Bus, and
1763                         notify when they change
1764
1765         * src/dhcp-manager/nm-dhcp-manager.c
1766           src/dhcp-manager/nm-dhcp-manager.h
1767                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1768                         filter server-returned DHCP options into an NMDHCP4Config object
1769
1770 2008-07-16  Dan Williams  <dcbw@redhat.com>
1771
1772         * introspection/nm-device.xml
1773                 - Add device state reasons
1774
1775 2008-07-16  Dan Williams  <dcbw@redhat.com>
1776
1777         Patch from Roy Marples <roy@marples.name>
1778
1779         * configure.in
1780                 - Add --with-dhcp-client option
1781
1782         * src/dhcp-manager/Makefile.am
1783                 - pass DHCP_CLIENT_PATH on compile line
1784
1785         * src/dhcp-manager/nm-dhcp-manager.c
1786           src/dhcp-manager/nm-dhcp-manager.h
1787                 - Genericize for both dhcpcd and dhclient
1788
1789         * src/dhcp-manager/nm-dhcp-dhclient.c
1790                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1791
1792         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1793                 - Implement support for dhcpcd too
1794
1795 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1796
1797         * system-settings/src/nm-system-config-interface.c 
1798         (nm_system_config_interface_supports_add): Implement.
1799         (nm_system_config_interface_add_connection): Return a boolean to notify
1800         of errors.
1801
1802         * system-settings/src/nm-polkit-helpers.c: 
1803         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1804         a separate file.
1805
1806         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1807         Return an error when none of the plugins support add or if addition
1808         failed for some reason.
1809
1810         * system-settings/src/nm-system-config-error.h: 
1811         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1812         here from nm-polkit-helpers.[ch].
1813
1814         * system-settings/src/Makefile.am: Build new files.
1815
1816         * system-settings/plugins/keyfile/reader.c 
1817         (read_array_of_array_of_uint): Make it more general so that it would
1818         work for routes as well.
1819
1820         * system-settings/plugins/keyfile/writer.c
1821         (write_array_of_array_of_uint): Ditto.
1822         Fix the netmask/prefix writing.
1823
1824         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1825         boolean to notify errors.
1826
1827         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1828         Return more specific error.
1829         (delete): Ditto.
1830
1831 2008-07-11  Dan Williams  <dcbw@redhat.com>
1832
1833         Modify the NMDevice::state-changed signal to include the previous state
1834         and reason. Enables the applet to provide more information why device
1835         activation failed.
1836
1837 2008-07-09  Dan Williams  <dcbw@redhat.com>
1838
1839         * callouts/Makefile.am
1840           callouts/nm-avahi-autoipd-action.c
1841           callouts/nm-avahi-autoipd.conf
1842                 - avahi-autoipd callout to send options back to NM
1843
1844         * src/autoip.c
1845           src/autoip.h
1846                 - remove
1847
1848         * src/nm-device.c
1849           src/nm-device-private.h
1850           src/nm-manager.c
1851                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1852                         old custom stuff
1853
1854 2008-07-07  Dan Williams  <dcbw@redhat.com>
1855
1856         * system-settings/plugins/ifcfg-fedora/reader.c
1857                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1858                         handle PREFIX too; clean up
1859
1860 2008-07-07  Dan Williams  <dcbw@redhat.com>
1861
1862         Convert to using IPv4 prefixes instead of netmasks.
1863
1864 2008-07-03  Dan Williams  <dcbw@redhat.com>
1865
1866         * libnm-util/nm-setting-ip4-config.c
1867           libnm-util/nm-setting-ip4-config.h
1868                 - Add properties for DHCP Client Identifier and DHCP Hostname
1869
1870         * src/dhcp-manager/nm-dhcp-manager.c
1871           src/dhcp-manager/nm-dhcp-manager.h
1872                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1873                         setting as an argument to pass on to the dhclient config file
1874                         creation function
1875                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1876                         DHCP is torn down
1877                 - (dhclient_run): punt config file handling to create_dhclient_config()
1878                 - (create_dhclient_config): create an interface-specific dhclient
1879                         config file since there may need to be interface-specific options
1880                         passed to dhclient
1881                 - (merge_dhclient_config): merge normal distro dhclient config file and
1882                         add options from the connection
1883                 - (nm_dhcp_device_new): generate the interface specific dhclient
1884                         config file path once
1885                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1886                         dhclient config file path
1887
1888         * src/nm-device.c
1889                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1890                         DHCP manager when starting DHCP
1891
1892 2008-07-02  Dan Williams  <dcbw@redhat.com>
1893
1894         * libnm-util/nm-setting-8021x.c
1895                 - (verify): allow forcing the PEAP label to 0
1896
1897 2008-07-02  Dan Williams  <dcbw@redhat.com>
1898
1899         * introspection/nm-active-connection.xml
1900           introspection/nm-vpn-connection.xml
1901           libnm-glib/nm-active-connection.c
1902           src/nm-activation-request.c
1903           src/nm-active-connection.h
1904           src/vpn-manager/nm-vpn-connection.c
1905                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1906                         and libnm-glib API since sharing didn't get implemented that way
1907
1908 2008-07-02  Dan Williams  <dcbw@redhat.com>
1909
1910         * src/nm-device-wifi.c
1911                 - (can_scan): don't scan when a shared connection is activated since
1912                         that makes drivers mad (causing disconnects); also NM doesn't need
1913                         to hedge against disconnects by keeping up-to-date network topology
1914                         because the connection originates from the local machine, and thus
1915                         there should be no disconnects
1916
1917 2008-07-01  Dan Williams  <dcbw@redhat.com>
1918
1919         Fix mobile broadband username/password issues.  NM was never requesting
1920         mobile broadband secrets, nor was it passing back the username and password
1921         if it had them.
1922
1923         * marshallers/nm-marshal.list
1924                 - Add some new types for activation request objects
1925
1926         * src/nm-activation-request.c
1927           src/nm-activation-request.h
1928                 - (get_secrets_cb): pass the caller type in the signal
1929                 - (nm_act_request_request_connection_secrets): take a caller type, so
1930                         that GetSecrets() reply handlers know who asked for the secrets in
1931                         the first place; use secret hints too so the settings service can
1932                         figure out exactly what NM wants (ie, PIN or the PPP password)
1933
1934         * src/ppp-manager/nm-ppp-manager.c
1935           src/ppp-manager/nm-ppp-manager.h
1936                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1937                         detect needed secrets when the secret could be blank, like GSM/CDMA
1938                         passwords.  So always ask for secrets, and send a hint as to what
1939                         secret we really want.
1940                 - (nm_ppp_manager_update_secrets): make function more generic by making
1941                         the device specific class figure out the username and password, and
1942                         accept an error argument to return back over D-Bus
1943
1944         * src/nm-device-wifi.c
1945                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1946                         nm_act_request_request_connection_secrets()
1947                 - (real_connection_secrets_updated): update for 'caller' changes
1948
1949         * src/nm-device.c
1950           src/nm-device.h
1951                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1952                         for 'caller' changes
1953
1954         * src/nm-device-ethernet.c
1955                 - (real_connection_secrets_updated): update for 'caller' changes and
1956                         move logic for getting PPPoE username and password here before
1957                         calling nm_ppp_manager_update_secrets()
1958                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1959                         nm_act_request_request_connection_secrets()
1960
1961         * src/nm-cdma-device.c
1962                 - (real_connection_secrets_updated): pass username and password back
1963                         to the PPP manager when required
1964
1965         * src/nm-gsm-device.c
1966                 - (enter_pin): send the required secret name to the settings service
1967                 - (real_connection_secrets_updated): pass username and password back
1968                         to the PPP manager when required
1969
1970 2008-06-30  Dan Williams  <dcbw@redhat.com>
1971
1972         * src/nm-device-wifi.c
1973                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1974
1975 2008-06-30  Dan Williams  <dcbw@redhat.com>
1976
1977         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1978         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1979         priv->supplicant.iface.  When either condition is false, the device should
1980         transition back to UNAVAILABLE because it cannot be used.
1981
1982         * src/nm-device-wifi.c
1983                 - (constructor): cleanup; connect to supplicant manager here since the
1984                         supplicant manager is always around
1985                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1986                         ensure the supplicant manager is in the IDLE state
1987                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1988                         cancel any pending scans too
1989                 - (real_bring_up): don't set up the supplicnat interface here, because
1990                         we need the supplicant interface at times when the device may not
1991                         be "up"
1992                 - (real_take_down): just remove the periodic source
1993                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1994                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1995                         do anything if there's no supplicant interface
1996                 - (cleanup_association_attempt): cleanup
1997                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1998                         the interface enters the READY state; transition to UNAVAILABLE
1999                         state when the interface goes down because the device can't be used
2000                         without a supplicant interface
2001                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2002                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2003                         acquire the supplicant interface and transition to DISCONNECTED
2004                         if the radio isn't killed
2005                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2006                 - (state_changed_cb): release any existing supplicant interface; if the
2007                         radio is enabled then try to acquire a new supplicant interface;
2008                         if the radio is enabled and a supplicant interface has been acquired,
2009                         we can transition to DISCONNECTED
2010                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2011                         don't enable the radio, because HAL probably lied to us about the
2012                         killswitch being off.  If bringing the hardware up worked, then
2013                         try to grab a supplicant interface, and if that was successful,
2014                         transition to DISCONNECTED
2015
2016 2008-06-30  Dan Williams  <dcbw@redhat.com>
2017
2018         * src/supplicant-manager/nm-supplicant-interface.c
2019                 - (request_scan_results, nm_supplicant_interface_dispose,
2020                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2021                         the id of the timeout, not a GSource
2022
2023 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2024
2025         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2026         bunch of typoes introduced by "Patch from David Cantrell 
2027         <dcantrell@redhat.com> and me".
2028
2029 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2030
2031         * src/nm-serial-device.c: 
2032         * src/nm-gsm-device.c: 
2033         * src/nm-cdma-device.c: Move the pending call handling to a common location
2034         in serial device. Handle setting device state to failed in one place as well.
2035
2036 2008-06-29  Dan Williams <dcbw@redhat.com>
2037
2038         * src/nm-hal-manager.c
2039                 - Rework killswitch handling to query killswitch status immediately
2040                         when the first killswitch is added, so that rfkill state is
2041                         known as early as possible
2042                 - Also treat failure of GetPower() as rfkill when the dbus method
2043                         call times out (but not when the HAL callout returns an error)
2044
2045 2008-06-26  Dan Williams <dcbw@redhat.com>
2046
2047         Patch from David Cantrell <dcantrell@redhat.com> and me
2048
2049         * include/nm-dbus-glib-types.h
2050                 - Add IP6 address types
2051
2052         * libnm-util/Makefile.am
2053           libnm-util/nm-setting-ip6-config.c
2054           libnm-util/nm-setting-ip6-config.h
2055                 - Add IP6 settings object
2056
2057         * libnm-util/nm-connection.c
2058                 - (register_default_settings): register ip6 settings object
2059
2060         * libnm-util/nm-utils.c
2061           libnm-util/nm-utils.h
2062                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2063                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2064                         ip6 address conversion functions
2065         
2066 2008-06-26  Dan Williams <dcbw@redhat.com>
2067
2068         Patch from David Cantrell <dcantrell@redhat.com>
2069         
2070         * Use inet_ntop() and inet_pton() everwhere and check for errors
2071
2072 2008-06-26  Dan Williams <dcbw@redhat.com>
2073
2074         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2075
2076 2008-06-26  Dan Williams <dcbw@redhat.com>
2077
2078         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2079
2080         * src/nm-device-wifi.c
2081                 - (link_timeout_cb): don't ignore disconnects due to scanning
2082                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2083                         a longer timeout when scanning; avoids case where supplicant can't
2084                         find the AP and just keeps scanning forever but isn't connected
2085
2086 2008-06-26  Dan Williams <dcbw@redhat.com>
2087
2088         Patch from Michael Biebl <biebl@debian.org>
2089
2090         * Clean up build system stuff
2091
2092 2008-06-23  Christian Persch  <chpe@gnome.org>
2093
2094         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2095         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2096         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2097         (impl_get_object):
2098         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2099         (impl_get_object):
2100         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2101         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2102         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2103         (impl_get_object):
2104         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2105         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2106         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2107         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2108         * vpn-daemons/pptp/properties/vpnui_opt.c:
2109         (vpnui_opt_connect_signals):
2110         * vpn-daemons/pptp/properties/vpnui_opt.h:
2111         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2112         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2113         deprecated gtk type macros. Bug #539325.
2114
2115 2008-06-20  Dan Williams  <dcbw@redhat.com>
2116
2117         * libnm-glib/nm-vpn-plugin-ui-interface.c
2118           libnm-glib/nm-vpn-plugin-ui-interface.h
2119                 - 'validity-changed' -> 'changed' to work better with the connection
2120                         editor.  Plugin UI widgets should emit 'changed' whenever their
2121                         UI values change in a meaningful way.
2122                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2123                         update_connection member now returns validity of the UI widget
2124
2125 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2126
2127         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2128
2129 2008-06-17  Dan Williams  <dcbw@redhat.com>
2130
2131         * libnm-glib/nm-vpn-plugin-ui-interface.c
2132           libnm-glib/nm-vpn-plugin-ui-interface.h
2133                 - Add "desc" property for longer descriptions of the VPN plugin
2134
2135 2008-06-16  Dan Williams  <dcbw@redhat.com>
2136
2137         * configure.in
2138           libnm-glib/libnm_glib_vpn.pc.in
2139                 - add a .pc file for libnm_glib_vpn
2140
2141         * libnm-glib/nm-vpn-plugin-ui-interface.c
2142           libnm-glib/nm-vpn-plugin-ui-interface.h
2143                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2144                         rework it substantially
2145
2146 2008-06-12  Dan Williams  <dcbw@redhat.com>
2147
2148         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2149         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2150         returns a descriptive GError when verification fails.
2151
2152 2008-06-11  Dan Williams  <dcbw@redhat.com>
2153
2154         Patch from Tambet Ingo <tambet@gmail.com>
2155
2156         * libnm-util/nm-setting-gsm.c
2157                 - (verify): validate APN
2158
2159         * src/nm-gsm-device.c
2160                 - (manual_registration_done): start setting APN if needed
2161                 - (set_apn, set_apn_done): set the APN
2162                 - (do_dial): use the APN when dialing
2163
2164 2008-06-11  Dan Williams  <dcbw@redhat.com>
2165
2166         * src/NetworkManagerSystem.c
2167                 - (nm_system_device_set_ip4_route,
2168                    nm_system_device_replace_default_ip4_route): check for the right
2169                         return value from rtnl_route_add() to know when to add a gateway
2170                         route (from Tambet)
2171
2172 2008-06-11  Dan Williams  <dcbw@redhat.com>
2173
2174         * src/NetworkManagerPolicy.c
2175                 - do_ipt_cmd -> do_cmd
2176                 - (sharing_init): use do_cmd() instead of system()
2177
2178 2008-06-10  Dan Williams  <dcbw@redhat.com>
2179
2180         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2181         and use "wifi" everwhere instead.
2182
2183 2008-06-10  Dan Williams  <dcbw@redhat.com>
2184
2185         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2186
2187 2008-06-10  Dan Williams  <dcbw@redhat.com>
2188
2189         Patch from Tambet Ingo <tambet@gmail.com>
2190
2191         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2192                 changes.
2193
2194         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2195                 a signal to emit these changes over dbus.
2196
2197         * src/Makefile.am: Genereate nm-serial-device-glue.
2198
2199         * libnm-glib/nm-serial-device.[ch]: Implement.
2200
2201         * libnm-glib/nm-cdma-device.[ch]
2202           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2203
2204         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2205
2206         * introspection/nm-device-serial.xml: Implement.
2207
2208         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2209
2210         * introspection/Makefile.am: Add nm-device-serial.xml.
2211
2212         * include/NetworkManager.h: Add a DBus interface for serial device.
2213
2214 2008-06-10  Dan Williams  <dcbw@redhat.com>
2215
2216         * configure.in
2217                 - Add TARGET_* define to config.h to distinguish distros
2218
2219         * src/dhcp-manager/nm-dhcp-manager.c
2220                 - (dhclient_run): use distro-specific path for dhclient config file
2221
2222 2008-06-09  Dan Williams  <dcbw@redhat.com>
2223
2224         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2225           src/dnsmasq-manager/nm-dnsmasq-manager.h
2226                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2227                         calculate the addresses passed to dnsmasq instead of hard-coding
2228                         them
2229
2230         * src/nm-device.c
2231                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2232                         IP addresses for shared connections to guard against shared
2233                         connection address collisions
2234                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2235                         error conditions
2236                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2237                         the dnsmasq manager
2238
2239 2008-06-09  Dan Williams  <dcbw@redhat.com>
2240
2241         * src/NetworkManagerPolicy.c
2242                 - (update_routing_and_dns): set the default connection _after_ unsetting
2243                         default on all non-default connections so that two connections can
2244                         never be default at the same time
2245                 - (device_state_changed): start and stop connection sharing when
2246                         needed
2247                 - (active_connection_default_changed): restart or stop sharing when
2248                         the default connection changes to keep shared connections always
2249                         NAT-ed through the default connection
2250                 - (check_sharing): handle activation/deactivation of shared connections
2251                 - (sharing_restart): atom-bomb approach to connection sharing until we
2252                         can use libnl; reinit all sharing when the default connection or
2253                         shared connections change
2254                 - (sharing_init, sharing_stop): evil functions that init and deinit
2255                         iptables
2256
2257 2008-06-09  Dan Williams  <dcbw@redhat.com>
2258
2259         * src/nm-activation-request.c
2260           src/nm-activation-request.h
2261                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2262                    nm_act_request_get_device): new functions to facilitate connection
2263                         sharing
2264
2265 2008-06-09  Dan Williams  <dcbw@redhat.com>
2266
2267         * src/nm-device.c
2268                 - (clear_act_request): unset the 'default' property of the activation
2269                         request when clearing it to ensure the property changed signal gets
2270                         delivered and handled
2271
2272 2008-06-09  Dan Williams  <dcbw@redhat.com>
2273
2274         * libnm-glib/nm-device-802-11-wireless.c
2275                 - (access_point_removed_proxy): actually unref the AP after removing
2276                         it from the device's AP list.  Fixes refcounting bug for APs that
2277                         caused them to get mixed up in the applet's menu.
2278
2279 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2280
2281         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2282         (nm_dhcp_device_destroy): Destroy the device options hash table.
2283
2284 2008-06-06  Dan Williams <dcbw@redhat.com>
2285
2286         * system-settings/src/nm-polkit-helpers.c
2287                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2288                         unref the context if the initialization fails; also avoid spew when
2289                         the error isn't set
2290
2291 2008-06-06  Dan Williams <dcbw@redhat.com>
2292
2293         Patch from Tambet Ingo  <tambet@gmail.com>
2294
2295         * src/NetworkManagerSystem.c
2296           src/NetworkManagerSystem.h
2297                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2298                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2299                 - (nm_system_device_set_ip4_route): clean up
2300                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2301
2302         * src/nm-device.c
2303                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2304
2305         * src/vpn-manager/nm-vpn-connection.c
2306                 - (ip_address_to_string): new function
2307                 - (print_vpn_config): use ip_address_to_string
2308                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2309                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2310
2311         * include/NetworkManagerVPN.h
2312                 - Add 'routes' key
2313
2314 2008-06-05  Dan Williams <dcbw@redhat.com>
2315
2316         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2317
2318         * test/nm-tool.c
2319                 - Show which device is the default device
2320
2321 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2322
2323         Fix memory leaks.
2324
2325         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2326         Free data returned from dbus method call.
2327
2328         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2329         dbus_g_method_get_sender() returns a duplicated string, free it 
2330         when done.
2331         (check_polkit_privileges): Looks like policykit sometimes returns
2332         error and non-null return value, don't leak errors in that case.
2333
2334         * system-settings/src/main.c (find_plugin): Don't leak existing 
2335         plugin names.
2336         (load_stuff): Don't leak device list and list items.
2337         (have_connection_for_device): Don't leak connection list.
2338
2339         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2340         Free the data received from g_keyfile_get_*.
2341
2342         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2343         the key when the security object is updated.
2344
2345         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2346         Free data returned from dbus method call.
2347         (iface_state_cb): Ditto.
2348         (add_network_cb): Ditto.
2349         (nm_supplicant_interface_add_cb): Don't make another copy of already
2350         duplicated object path.
2351         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2352         when done.
2353
2354         * src/supplicant-manager/nm-supplicant-config.c 
2355         (ADD_STRING_LIST_VAL): Fix a memory leak.
2356
2357         * src/nm-manager.c (free_get_settings_info): Free the allocated
2358         memory slice.
2359         (list_connections_cb): Free data returned from dbus method call.
2360         (system_settings_get_unmanaged_devices_cb): Ditto.
2361
2362         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2363
2364         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2365         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2366         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2367         of the GList.
2368
2369         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2370         arguments after the object is created.
2371
2372 2008-06-04  Dan Williams <dcbw@redhat.com>
2373
2374         * libnm-util/Makefile.am
2375                 - Don't distribute nm-param-spec-specialized.h
2376
2377 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2378
2379         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2380
2381         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2382         NMIP4Address, update the getters and setters.
2383
2384         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2385         Use the updated NMIP4Config routes api.
2386
2387         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2388         static routes as well.
2389
2390         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2391         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2392         routes api.
2393
2394 2008-05-30  Dan Williams <dcbw@redhat.com>
2395
2396         * src/named-manager/nm-named-manager.c
2397           src/named-manager/nm-named-manager.h
2398                 - Remove stale/obsolete bits for controlling bind over DBus
2399
2400 2008-05-29  Dan Williams <dcbw@redhat.com>
2401
2402         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2403           src/dnsmasq-manager/nm-dnsmasq-manager.h
2404                 - (nm_dnsmasq_manager_new): move iface argument here
2405                 - (constructor): remove, not needed
2406                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2407                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2408
2409         * src/nm-device.c
2410                 - (real_act_stage4_get_ip4_config,
2411                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2412                         changes
2413
2414 2008-05-29  Dan Williams <dcbw@redhat.com>
2415
2416         * src/nm-device.c
2417                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2418                         something happens to dnsmasq
2419                 - (nm_device_new_ip4_shared_config): new function; create a new
2420                         ip4-config for shared connections.  Shared connections always use a
2421                         fixed static IP address.
2422                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2423                         autoip connections by actually using the returned ip4-config and
2424                         not leaking it
2425                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2426                         connections
2427                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2428                         if its active
2429
2430 2008-05-29  Dan Williams <dcbw@redhat.com>
2431
2432         * src/nm-device-802-11-wireless.c
2433                 - (real_get_best_auto_connection): auto-activate 'shared' method
2434                         connections too
2435
2436 2008-05-29  Dan Williams <dcbw@redhat.com>
2437
2438         * libnm-util/nm-setting-ip4-config.c
2439           libnm-util/nm-setting-ip4-config.h
2440                 - Add a 'shared' method to indicate that this connection should be
2441                         brought up with a DHCP and proxy DNS server to facilitate
2442                         connection sharing.
2443                 - (verify): 'shared' method doesn't allow DNS or searches either
2444
2445 2008-05-29  Dan Williams <dcbw@redhat.com>
2446
2447         * configure.in
2448           src/Makefile.am
2449           src/dnsmasq-manager/Makefile.am
2450           src/dnsmasq-manager/nm-dnsmasq-manager.c
2451           src/dnsmasq-manager/nm-dnsmasq-manager.h
2452                 - Add a dnsmasq daemon manager to facilitate connection sharing
2453
2454 2008-05-29  Dan Williams <dcbw@redhat.com>
2455
2456         * src/nm-device-private.h
2457                 - Remove unused prototypes and clean up
2458
2459         * src/nm-device.c
2460                 - Remove anything related to system_config_data, which is no longer used
2461                 - (nm_device_new_ip4_autoip_config): make static
2462
2463 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2464
2465         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2466         (file_changed): Fix a bug where suse system settings plugin didn't
2467         update the connections automatically when the files changed.
2468
2469 2008-05-28  Dan Williams  <dcbw@redhat.com>
2470
2471         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2472
2473 2008-05-28  Dan Williams  <dcbw@redhat.com>
2474
2475         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2476
2477         * src/NetworkManagerSystem.c
2478                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2479                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2480                         was causing -EINVAL errors since the libnl code actually does flush
2481                         the routes on VPN interfaces now
2482
2483         * src/backends/NetworkManagerArch.c
2484           src/backends/NetworkManagerDebian.c
2485           src/backends/NetworkManagerFrugalware.c
2486           src/backends/NetworkManagerGeneric.c
2487           src/backends/NetworkManagerGentoo.c
2488           src/backends/NetworkManagerMandriva.c
2489           src/backends/NetworkManagerPaldo.c
2490           src/backends/NetworkManagerRedHat.c
2491           src/backends/NetworkManagerSlackware.c
2492           src/backends/NetworkManagerSuSE.c
2493                 - (nm_system_device_flush_ip4_routes,
2494                    nm_system_device_flush_ip4_routes_with_iface): remove
2495
2496 2008-05-28  Dan Williams  <dcbw@redhat.com>
2497
2498         * libnm-util/nm-setting-wireless.c
2499           libnm-util/nm-setting-wireless.h
2500                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2501                         'adhoc-create' property, which when TRUE indicates that NM should
2502                         create this connection as an adhoc wifi network if it's not found
2503                         as an adhoc network during scanning.  Can be used to auto-create
2504                         adhoc networks when used in combination with autoconnect.
2505
2506 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2507
2508         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2509
2510         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2511         checked, it doesn't work on some devices.
2512
2513 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2514
2515         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2516         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2517
2518         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2519         Use inet_aton() everywhere to improve error detection.
2520         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2521         provided.
2522
2523 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2524
2525         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2526         Fix a typo.
2527
2528 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2529
2530         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2531         reference counting issue.
2532
2533 2008-05-23  Dan Williams  <dcbw@redhat.com>
2534
2535         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2536
2537         * src/backends/NetworkManagerGeneric.c
2538                 - (nm_generic_enable_loopback): use libnl
2539
2540 2008-05-23  Dan Williams  <dcbw@redhat.com>
2541
2542         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2543
2544         * src/NetworkManagerSystem.h
2545           src/backends/NetworkManagerArch.c
2546           src/backends/NetworkManagerDebian.c
2547           src/backends/NetworkManagerFrugalware.c
2548           src/backends/NetworkManagerGentoo.c
2549           src/backends/NetworkManagerMandriva.c
2550           src/backends/NetworkManagerPaldo.c
2551           src/backends/NetworkManagerRedHat.c
2552           src/backends/NetworkManagerSlackware.c
2553           src/backends/NetworkManagerSuSE.c
2554                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2555                    nm_system_flush_arp_cache): remove, unused
2556
2557         * src/backends/NetworkManagerGeneric.c
2558           src/backends/NetworkManagerGeneric.h
2559                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2560                    nm_generic_flush_arp_cache): remove, unused
2561
2562 2008-05-23  Dan Williams  <dcbw@redhat.com>
2563
2564         * system-settings/plugins/ifcfg-fedora/reader.c
2565                 - (make_ip4_setting): honor PEERDNS setting
2566
2567 2008-05-23  Dan Williams  <dcbw@redhat.com>
2568
2569         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2570
2571         * src/NetworkManagerSystem.c
2572                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2573                         libnl
2574
2575         * src/backends/NetworkManagerArch.c
2576           src/backends/NetworkManagerDebian.c
2577           src/backends/NetworkManagerFrugalware.c
2578           src/backends/NetworkManagerGentoo.c
2579           src/backends/NetworkManagerMandriva.c
2580           src/backends/NetworkManagerPaldo.c
2581           src/backends/NetworkManagerRedHat.c
2582           src/backends/NetworkManagerSlackware.c
2583           src/backends/NetworkManagerSuSE.c
2584                 - (nm_system_device_flush_ip4_addresses,
2585                    nm_system_device_flush_ip4_addresses_with_iface): remove
2586
2587         * src/backends/NetworkManagerGeneric.c
2588                 - (nm_generic_device_flush_ip4_addresses,
2589                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2590
2591 2008-05-23  Dan Williams  <dcbw@redhat.com>
2592
2593         * src/supplicant-manager/nm-supplicant-settings-verify.c
2594                 - Switch 'bssid' from bytes to keyword type
2595                 - (validate_type_keyword): allow NULL keyword lists
2596
2597         * src/supplicant-manager/nm-supplicant-config.c
2598                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2599                         a byte array to string form, which is what the supplicant expects
2600
2601 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2602
2603         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2604         information received from DHCP.
2605
2606         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2607         to make it possible to ignore the DNS information (both servers and 
2608         searches) returned by DHCP server.
2609
2610         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2611         name servers and searches if "ignore_dhcp_dns" is set.
2612
2613         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2614         (nm_ip4_config_reset_searches): Implement.
2615
2616 2008-05-22  Dan Williams  <dcbw@redhat.com>
2617
2618         Remove anything mDNS related.  This is better done from a distro-specific
2619         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2620         avahi, since avahi can handle interface changes just fine using netlink.
2621
2622         * configure.in
2623                 - Remove --with-mdns-provider
2624
2625         * src/NetworkManagerPolicy.c
2626                 - (global_state_changed): don't restart the mdns provider
2627
2628         * src/NetworkManagerSystem.h
2629           src/backends/NetworkManagerArch.c
2630           src/backends/NetworkManagerDebian.c
2631           src/backends/NetworkManagerFrugalware.c
2632           src/backends/NetworkManagerGentoo.c
2633           src/backends/NetworkManagerMandriva.c
2634           src/backends/NetworkManagerPaldo.c
2635           src/backends/NetworkManagerRedHat.c
2636           src/backends/NetworkManagerSlackware.c
2637           src/backends/NetworkManagerSuSE.c
2638                 - (nm_system_restart_mdns_responder): remove
2639
2640         * src/backends/NetworkManagerGeneric.c
2641           src/backends/NetworkManagerGeneric.h
2642                 - (nm_generic_restart_mdns_responder): remove
2643
2644 2008-05-22  Dan Williams  <dcbw@redhat.com>
2645
2646         * configure.in
2647                 - clean up crypto options; just use --with-crypto=nss or
2648                         --with-crypto=gnutls
2649
2650 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2651
2652         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2653         anymore, do it right away.
2654
2655 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2656
2657         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2658         serial device open when we're not connecting or connected.
2659
2660         * src/nm-cdma-device.c (device_state_changed): Ditto.
2661
2662 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2663
2664         Don't remove all devices on waking up, sync with HAL.
2665
2666         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2667         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2668         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2669
2670 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2671
2672         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2673         If the default gateway is unreachable, add a route to gateway and try
2674         again.
2675
2676 2008-05-20  Dan Williams  <dcbw@redhat.com>
2677
2678         * system-settings/plugins/ifcfg-fedora/reader.c
2679                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2680
2681 2008-05-19  Dan Williams  <dcbw@redhat.com>
2682
2683         * system-settings/plugins/ifcfg-fedora/reader.c
2684                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2685                         if the ifcfg doesn't specify one (rh #446527)
2686
2687 2008-05-19  Dan Williams  <dcbw@redhat.com>
2688
2689         Make the system settings service exit when the bus goes away.  Since it's
2690         a bus-activated service, it's lifetime is limited to the bus that activated
2691         it (rh #444976).
2692
2693         * system-settings/src/Makefile.am
2694           system-settings/src/nm-system-config-hal-manager-private.h
2695                 - Remove nm-system-config-hal-manager-private.h
2696
2697         * system-settings/src/nm-system-config-hal-manager.c
2698                 - (nm_system_config_hal_manager_reinit_dbus,
2699                    nm_system_config_hal_manager_deinit_dbus): remove
2700
2701         * system-settings/src/main.c
2702                 - (dbus_reconnect): remove
2703                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2704                 - (destroy_cb): just quit when the bus goes away
2705                 - (start_dbus_service, dbus_init): simplify
2706                 - (main): destroy the wired devices hash table after destroying
2707                         the HAL manager so we don't have to disconnect signals from the
2708                         HAL manager
2709
2710 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2711
2712         Move crypto functions from nm-applet to libnm-util.
2713
2714         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2715         (nm_setting_802_1x_set_client_cert)
2716         (nm_setting_802_1x_set_phase2_ca_cert)
2717         (nm_setting_802_1x_set_phase2_client_cert)
2718         (nm_setting_802_1x_set_private_key)
2719         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2720         file (or private key and it's password), read the certificate data.
2721
2722         * libnm-util/crypto_nss.c: 
2723         * libnm-util/crypto_gnutls.c: 
2724         * libnm-util/crypto.[ch]: Move here from nm-applet.
2725
2726         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2727
2728         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2729         Imlement WPA-EAP configuration reading from sysconfig.
2730
2731 2008-05-16  Dan Williams  <dcbw@redhat.com>
2732
2733         * src/nm-device-802-11-wireless.c
2734                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2735                         wireless
2736
2737 2008-05-14  Dan Williams  <dcbw@redhat.com>
2738
2739         Fix Linus' bug in rh #134886
2740
2741         * src/nm-device-802-3-ethernet.c
2742                 - (constructor): request initial carrier state
2743
2744         * src/nm-netlink-monitor.c
2745                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2746                         signals after refilling the link cache.  Because the refill is a 
2747                         synchronous operation, the normal message hander won't get called
2748                         since libnl has already consumed the messages.
2749                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2750
2751 2008-05-14  Dan Williams  <dcbw@redhat.com>
2752
2753         * src/NetworkManagerSystem.c
2754                 - (nm_system_device_is_up_with_iface): clean up
2755
2756 2008-05-13  Dan Williams  <dcbw@redhat.com>
2757
2758         Fix refcounting issues over sleep/wake when a VPN connection was active that
2759         caused NM to try registering an object path for a device upon wake that was
2760         the same as an already registered object path.
2761
2762         * src/nm-device.c
2763                 - (nm_device_take_down): properly handle cases where the device is
2764                         no longer active but was just active, and therefore must be
2765                         deactivated.  When a device moves to unmanaged mode, this function
2766                         previously would not deactivate the device, because the state was
2767                         already unmanaged by the time this function was called.
2768
2769         * src/vpn-manager/nm-vpn-connection.c
2770                 - (device_state_changed): properly handle multiple devices states in
2771                         which the device is now deactivated.  Code previously didn't handle
2772                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2773                         UNMANAGED states.
2774
2775 2008-05-13  Dan Williams  <dcbw@redhat.com>
2776
2777         * src/nm-device-private.h
2778           src/nm-device.c
2779                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2780
2781         * src/nm-device-802-11-wireless.c
2782                 - (nm_device_802_11_wireless_set_enabled): take devices up
2783                         and down as appropriate for the rfkill state
2784
2785 2008-05-13  Dan Williams  <dcbw@redhat.com>
2786
2787         * marshallers/nm-marshal.list
2788                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2789
2790         * system-settings/plugins/ifcfg-fedora/Makefile.am
2791           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2792           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2793                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2794                         events.  Solely for use watching ifcfg files to pick up changes
2795                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2796
2797         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2798                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2799                         file contents change
2800                 - (finalize): clean up inotify watches
2801                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2802                         and the connection ifcfg for changes on their hardlinks
2803                 - (files_changed_cb): proxy the changed signal back out to listeners
2804
2805         * system-settings/plugins/ifcfg-fedora/plugin.c
2806                 - (dir_changed): 
2807                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2808                         changes
2809                 - (read_one_connection): connect to change signals on the new connection
2810                 - (dir_changed, connection_changed_handler,
2811                    handle_connection_remove_or_new): break out connection change
2812                         handling and connection new/remove handling so it can be used from
2813                         both the GFileMonitor callback and the NMIfcfgConnection changed
2814                         signals
2815
2816         * system-settings/plugins/ifcfg-fedora/reader.c
2817           system-settings/plugins/ifcfg-fedora/reader.h
2818                 - (connection_from_file): return the keyfile path the connection would use
2819
2820 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2821
2822         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2823         single PolKitContext which is shared by all. PolKitContext::unref leaks
2824         just about everything, including all open file descriptiors and results
2825         in 99% cpu usage when data arrives to any of the fds that don't belong
2826         to any context anymore.
2827
2828 2008-05-12  Dan Williams  <dcbw@redhat.com>
2829
2830         * gfilemonitor/glocaldirectorymonitor.c
2831           gfilemonitor/glocaldirectorymonitor.h
2832                 - (g_local_directory_monitor_constructor): actually subscribe to the
2833                         watch
2834                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2835
2836         * gfilemonitor/glocalfilemonitor.c
2837           gfilemonitor/glocalfilemonitor.h
2838                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2839                 - (_g_local_file_monitor_new): ensure that inotify is started up
2840
2841 2008-05-11  Dan Williams  <dcbw@redhat.com>
2842
2843         * configure.in
2844                 - record PolicyKit version
2845
2846         * system-settings/src/nm-polkit-helpers.c
2847                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2848                         with PolicyKit <= 0.6
2849
2850 2008-05-11  Dan Williams  <dcbw@redhat.com>
2851
2852         Update Fedora system-settings plugin to support latest API and use
2853         GFileMonitor rather than home-rolled inotify code.
2854
2855         * system-settings/plugins/ifcfg-fedora/Makefile.am
2856           system-settings/plugins/ifcfg-fedora/common.h
2857           system-settings/plugins/ifcfg-fedora/plugin.c
2858                 - Update to latest system settings plugin API; use GIO instead of
2859                         custom inotify code; use NMIfcfgConnection objects instead of
2860                         ConnectionData structures tacked onto NMConnection objects
2861
2862         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2863           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2864                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2865                         connections
2866
2867         * system-settings/plugins/ifcfg-fedora/reader.c
2868           system-settings/plugins/ifcfg-fedora/reader.h
2869                 - Move ifcfg parsing bits here from parser.c
2870
2871         * system-settings/plugins/ifcfg-fedora/parser.c
2872           system-settings/plugins/ifcfg-fedora/parser.h
2873                 - Remove; most code moved to reader.c
2874
2875 2008-05-11  Dan Williams  <dcbw@redhat.com>
2876
2877         * configure.in
2878           Makefile.am
2879           gfilemonitor/*
2880                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2881                         implementation, so that the same change monitoring code can be used
2882                         on systems without glib-2.14 (like Fedora 8)
2883
2884         * system-settings/plugins/keyfile/Makefile.am
2885           system-settings/plugins/keyfile/plugin.c
2886           system-settings/plugins/ifcfg-suse/Makefile.am
2887           system-settings/plugins/ifcfg-suse/plugin.c
2888                 - Use private gfilemonitor code if GIO is not present
2889
2890 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2891
2892         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2893         NMExportedConnection's 'update' and 'delete' and return error with
2894         descriptive message.
2895
2896 2008-05-08  Dan Williams  <dcbw@redhat.com>
2897
2898         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2899
2900         * src/nm-gsm-device.c
2901           src/nm-cdma-device.c
2902                 - (real_get_best_auto_connection): implement; allow autoconnection
2903                         to GSM & CDMA devices
2904
2905 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2906
2907         Use PolicyKit to authorize the system settings' AddConnection method
2908         and the system settings connections' Update and Delete methods.
2909         
2910         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2911         (impl_exported_connection_delete, nm_exported_connection_update)
2912         (nm_exported_connection_delete): Return boolean and fill GError
2913         to notify the callers of the reasons why it might have failed.
2914
2915         * libnm-glib/nm-dbus-settings-system.c
2916         (nm_dbus_settings_system_add_connection): Return the error from dbus
2917         call so that the callers can see why it failed.
2918
2919         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2920         signatures.
2921
2922         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2923
2924         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2925         abstract base class that checks PolicyKit permissions.
2926
2927         * system-settings/src/dbus-settings.c:
2928         (impl_settings_add_connection): Check the policy before carring out
2929         the request.
2930
2931         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2932         Inherit from NMSysconfigConnection, check the policies before
2933         allowing updating or removing.
2934
2935         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2936         Inherit from NMSysconfigConnection.
2937
2938         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2939         "Delete" methods with async flag so that the implementations can get
2940         access to DBusGMethodInvocation.
2941
2942         * system-settings/src/dbus-settings.c 
2943         (settings_add_connection_check_privileges): Implement.
2944         (impl_settings_add_connection): Check the privileges before adding a new
2945         connection. Improve error reporting.
2946
2947         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2948         async so that the implementation can access DBusGMethodInvocation.
2949
2950         * configure.in: Check for PolicyKit.
2951
2952         * policy/org.freedesktop.network-manager-settings.system.policy: 
2953         New file.
2954
2955         * policy/Makefile.am: Install the policy file.
2956
2957         * configure.in: Add 'policy' subdir.
2958
2959 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2960
2961         Rewrite the suse system settings plugin.
2962
2963         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2964
2965         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2966
2967         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2968
2969         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2970
2971         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2972
2973         * system-settings/src/main.c (load_plugins): Improve error reporting.
2974
2975         * system-settings/src/sha1.[ch] Add.
2976
2977         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2978
2979 2008-05-07  Dan Williams  <dcbw@redhat.com>
2980
2981         * system-settings/plugins/keyfile/reader.c
2982                 - (read_one_setting_value): handle IP address items separately
2983                 - (read_array_of_uint): read IPv4 DNS option as a string array
2984                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2985                         array
2986
2987         * system-settings/plugins/keyfile/writer.c
2988                 - (write_setting_value): handle IP address items separately
2989                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2990                         not an array of uint, so that it's user-editable
2991                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2992                         arrays, so they are user-editable
2993
2994 2008-05-07  Dan Williams  <dcbw@redhat.com>
2995
2996         * system-settings/plugins/keyfile/Makefile.am
2997                 - Change location of the keyfile plugin settings to
2998                         /etc/NetworkManager/system-connections
2999
3000 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3001
3002         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3003
3004         * system-settings/plugins/keyfile/plugin.c: Work with
3005         NMKeyfileConnections.
3006
3007         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3008         Plugins are supposed to return NMExportedConnections now and handle the
3009         updated(), removed(), and GetSecrets().
3010         Store the internal list of connections in hash table to make it easier
3011         to find duplicates.
3012
3013 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3014
3015         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3016         for multiple IP addresses.
3017
3018 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3019
3020         Patch from André Lemos.
3021
3022         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3023         corruption.
3024
3025 2008-05-06  Dan Williams  <dcbw@redhat.com>
3026
3027         * src/dhcp-manager/nm-dhcp-manager.c
3028                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3029                         NMIP4Config to support multiple IP addresses
3030
3031         * src/NetworkManagerUtils.c
3032                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3033
3034         * src/nm-ip4-config.c
3035           src/nm-ip4-config.h
3036                 - Store a list of IPv4 address/netmask/gateway tuples
3037                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3038                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3039                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3040                    nm_ip4_config_set_address): remove
3041                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3042                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3043                         new functions; handle multiple IPv4 addresses
3044
3045         * src/nm-device.c
3046           src/ppp-manager/nm-ppp-manager.c
3047           src/vpn-manager/nm-vpn-connection.c
3048           src/NetworkManagerPolicy.c
3049           test/nm-tool.c
3050           libnm-glib/libnm-glib-test.c
3051                 - update for changes to NMIP4Config for multiple IPv4 addresses
3052
3053         * src/NetworkManagerSystem.c
3054                 - (nm_system_device_set_ip4_route): don't add the route if any address
3055                         is on the same subnet as the destination
3056                 - (check_one_address): ignore the exact match, just match family and
3057                         interface index
3058                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3059                         an interface
3060                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3061                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3062
3063         * introspection/nm-ip4-config.xml
3064                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3065                 - Add 'addresses' property which is an array of (uuu) tuples of
3066                         address/netmask/gateway
3067
3068         * libnm-util/nm-setting-ip4-config.c
3069                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3070
3071         * libnm-glib/nm-ip4-config.c
3072           libnm-glib/nm-ip4-config.h
3073                 - Handle D-Bus interface changes to support multiple IP addresses
3074
3075 2008-05-06  Dan Williams  <dcbw@redhat.com>
3076
3077         * libnm-util/nm-utils.c
3078           libnm-util/nm-utils.h
3079                 - (nm_utils_ip4_addresses_from_gvalue,
3080                    nm_utils_ip4_addresses_to_gvalue): new functions
3081
3082 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3083
3084         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3085         the returned connection paths.
3086
3087 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3088
3089         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3090         "PropertiesChanged" signal signature.
3091
3092         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3093         defined in nm-dbus-glib-types.h.
3094         Don't register the connection on dbus, we're a proxy class to 
3095         communicate with an already registered connection over dbus.
3096
3097 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3098
3099         Implement new subclasses of NMSettings and NMExportedConnection to make
3100         it easier for the applet to access and modify system settings.
3101
3102         * libnm-glib/nm-dbus-connection.[ch]:
3103         * libnm-glib/nm-dbus-settings.[ch]:
3104         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3105
3106         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3107         bindings and glue.
3108
3109         * include/NetworkManager.h: Define the system settings DBus interface.
3110
3111 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3112
3113         Implement additional C API for exported connections to make them identical
3114         with the DBus API. Change the (list_connections) virtual function to be
3115         more usable from C - instead of requiring implementers to return a GPtrArray
3116         of dbus paths, return a list of connections.
3117
3118         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3119         (nm_settings_list_connections):
3120         (nm_exported_connection_new):
3121         (nm_exported_connection_update):
3122         (nm_exported_connection_delete): Implement.
3123
3124         (impl_settings_list_connections):
3125         (impl_exported_connection_update):
3126         (impl_exported_connection_delete): Use the new public functions to make 
3127         sure the C and dbus interfaces stay in sync.
3128
3129         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3130         connections.
3131
3132 2008-05-02  Dan Williams  <dcbw@redhat.com>
3133
3134         * system-settings/plugins/ifcfg-fedora/plugin.c
3135                 - (dispose): use right unref call on the DBusGConnection
3136
3137 2008-05-02  Dan Williams  <dcbw@redhat.com>
3138
3139         * src/nm-serial-device.c
3140                 - (find_terminator): don't compare the whole line, just the size of the
3141                         terminator, since some modems put stuff after the terminator, like
3142                         "CONNECT 9600"
3143
3144 2008-05-01  Dan Williams  <dcbw@redhat.com>
3145
3146         Patch from Michael Biebl <biebl@debian.org>
3147
3148         * callouts/Makefile.am
3149           callouts/org.freedesktop.nm_dispatcher.service.in
3150           system-settings/src/Makefile.am
3151           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3152                 - use the right install location for dbus-activated stuff
3153
3154 2008-04-30  Dan Williams  <dcbw@redhat.com>
3155
3156         * src/nm-gsm-device.c
3157                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3158                         PIN or PUK
3159
3160 2008-04-30  Dan Williams  <dcbw@redhat.com>
3161
3162         * src/nm-manager.c
3163                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3164
3165 2008-04-30  Dan Williams  <dcbw@redhat.com>
3166
3167         * src/nm-device-802-3-ethernet.c
3168           src/nm-device-802-11-wireless.c
3169                 - (real_is_up): return true instead of chaining up to unimplemented
3170                         parent method
3171
3172 2008-04-30  Dan Williams  <dcbw@redhat.com>
3173
3174         * src/NetworkManagerSystem.c
3175           src/NetworkManagerSystem.h
3176                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3177                         functions to check device flags for IFF_UP
3178
3179         * src/nm-serial-device.c
3180                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3181                         implement is_up
3182
3183         * src/nm-device-802-3-ethernet.c
3184           src/nm-device-802-11-wireless.c
3185                 - (real_hw_is_up): call nm_system_device_is_up()
3186
3187         * src/nm-device.c
3188                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3189                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3190                         does not implement
3191
3192 2008-04-29  Dan Williams  <dcbw@redhat.com>
3193
3194         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3195
3196         * marshallers/nm-marshal.list
3197                 - Add marshaller
3198
3199         * src/NetworkManager.c
3200                 - (main): let the NMManager handle the NMHalManager
3201
3202         * src/nm-hal-manager.c
3203           src/nm-hal-manager.h
3204                 - convert to a GObject, and emit singals when stuff changes.  Let the
3205                         NMManager handle the signals, instead of the NMHalManager calling
3206                         into the NMManager.  
3207
3208         * src/nm-manager.c
3209           src/nm-manager.h
3210                 - (remove_one_device): consolidate device removals here
3211                 - (dispose): use remove_one_device()
3212                 - (nm_manager_get_device_by_udi): make static
3213                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3214                         manager for devices at startup or wakeup time
3215                 - (nm_manager_new): create and monitor the HAL manager
3216                 - (hal_manager_udi_added_cb): new function; do what
3217                         nm_manager_add_device() used to do when signalled by the hal manager
3218                 - (hal_manager_udi_removed_cb): new function; do what
3219                         nm_manager_remove_device() used to do when signalled by the hal
3220                         manager
3221                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3222                         hal manager
3223                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3224                         in our device list that aren't known to HAL
3225                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3226                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3227                         commits ago
3228                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3229                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3230                    nm_manager_wireless_hardware_enabled,
3231                    nm_manager_set_wireless_hardware_enabled): remove, unused
3232
3233 2008-04-28  Dan Williams  <dcbw@redhat.com>
3234
3235         Fix the device up/down ambiguities.  Up/down state used to be a
3236         conglomeration of hardware state (IFF_UP) and any device-specific things
3237         (supplicant, periodic timers, etc) that the device used to indicate
3238         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3239         reason, then the device specific stuff wouldn't get run, and the device
3240         would be stuck.
3241
3242         * src/nm-device.c
3243           src/nm-device.h
3244                 - Create hw_is_up, hw_bring_up, and hw_take_down
3245                 - Rename bring_down -> take_down
3246                 - (real_hw_is_up): check interface flags for IFF_UP
3247                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3248                 - (nm_device_is_up): make static; only used locally
3249                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3250                         if the device is already up; if the device isn't up, bring it up
3251                 - (nm_device_hw_take_down): just take down hardware
3252                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3253                 - (nm_device_take_down): always deactivate device when called; always
3254                         try to take hardware down too
3255                 - (nm_device_state_changed): take device down when entering unmanaged
3256                         state from a higher state
3257
3258         * src/nm-device-802-11-wireless.c
3259                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3260                         check IFF_UP really
3261                 - (real_take_down, supplicant_iface_state_cb_handler, 
3262                    supplicant_iface_connection_state_cb_handler,
3263                    supplicant_mgr_state_cb_handler): fix some messages
3264
3265         * src/nm-device-802-3-ethernet.c
3266                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3267                         check IFF_UP really
3268
3269 2008-04-28  Dan Williams  <dcbw@redhat.com>
3270
3271         * src/nm-manager.c
3272           src/nm-manager.h
3273                 - (nm_manager_error_get_type): add new error
3274                 - (nm_manager_remove_device): don't bother taking down the device here,
3275                         the state change from unmanaging the device will do it
3276                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3277                         uses it; when going to sleep, just unmanage the device instead of
3278                         taking it down, because stuff will cleaned up correctly when the
3279                         device gets unmanaged
3280
3281 2008-04-28  Dan Williams  <dcbw@redhat.com>
3282
3283         * src/nm-hal-manager.c
3284                 - (add_initial_devices): convert to a GSourceFunc prototype
3285                 - (nm_manager_state_changed): when coming out of sleep, punt the
3286                         device re-addition to an idle handler to let D-Bus events go out
3287                         first, fixing a potential dbus-glib assert if the old device was
3288                         not yet disposed (due to references held while emitting the D-Bus
3289                         signals) but the new device was found, because the mainloop didn't
3290                         run between signal emission and add_initial_devices()
3291
3292 2008-04-27  Dan Williams  <dcbw@redhat.com>
3293
3294         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3295
3296         * initscript/paldo/NetworkManager.in
3297           initscript/SUSE/networkmanager.in
3298                 - Remove last bits of dhcdbd
3299
3300 2008-04-27  Dan Williams  <dcbw@redhat.com>
3301
3302         * src/nm-device-802-11-wireless.c
3303                 - (link_timeout_cb): don't ask for secrets when disconnected during
3304                         association/authentication phase, drivers are still just too crappy
3305
3306 2008-04-27  Dan Williams  <dcbw@redhat.com>
3307
3308         * Makefile.am
3309           configure.in
3310           dispatcher-daemon/Makefile.am
3311           dispatcher-daemon/NetworkManagerDispatcher.c
3312           initscript/Arch/Makefile.am
3313           initscript/Arch/networkmanager-dispatcher.in
3314           initscript/Gentoo/Makefile.am
3315           initscript/Gentoo/NetworkManagerDispatcher.in
3316           initscript/Mandriva/Makefile.am
3317           initscript/Mandriva/networkmanagerdispatcher.in
3318           initscript/RedHat/Makefile.am
3319           initscript/RedHat/NetworkManagerDispatcher.in
3320           initscript/SUSE/Makefile.am
3321           initscript/SUSE/networkmanager-dispatcher.in
3322           initscript/Slackware/Makefile.am
3323           initscript/Slackware/rc.networkmanager-dispatcher.in
3324           initscript/paldo/Makefile.am
3325           initscript/paldo/NetworkManagerDispatcher.in
3326           man/Makefile.am
3327           man/NetworkManagerDispatcher.8.in
3328                 - Remove the dispatcher daemon
3329
3330 2008-04-27  Dan Williams  <dcbw@redhat.com>
3331
3332         * callouts/Makefile.am
3333           callouts/nm-dispatcher-action.c
3334           callouts/nm-dispatcher-action.h
3335           callouts/nm-dispatcher.conf
3336           callouts/nm-dispatcher.xml
3337           callouts/org.freedesktop.nm_dispatcher.service
3338                 - Re-implement the dispatcher as a system-bus activated service that
3339                         NM calls on-demand, rather than an always running daemon
3340
3341         * src/Makefile.am
3342                 - Add callouts dir to includes to pick up dispatcher defines
3343
3344         * src/nm-device.c
3345                 - (nm_device_state_changed): call dispatcher on device activated/
3346                         deactivated
3347
3348         * src/vpn-manager/nm-vpn-connection.c
3349                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3350                         go up and down
3351
3352         * src/NetworkManagerUtils.c
3353           src/NetworkManagerUtils.h
3354                 - (nm_utils_call_dispatcher): helper to call dispatcher
3355
3356 2008-04-27  Dan Williams  <dcbw@redhat.com>
3357
3358         * src/NetworkManagerUtils.c
3359           src/NetworkManagerUtils.h
3360                 - remove unneeded includes
3361                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3362                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3363                    nm_timeval_cmp, nm_timeval_add): remove, unused
3364                 - clean up formatting
3365                 - (nm_spawn_process): de-uglify
3366
3367         * src/nm-device-802-11-wireless.c
3368                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3369
3370 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3371
3372         * initscript/Gentoo/NetworkManager.in:
3373                 Fix for starting the daemon.
3374
3375 2008-04-25  Dan Williams  <dcbw@redhat.com>
3376
3377         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3378
3379         * src/NetworkManagerSystem.c
3380                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3381
3382 2008-04-25  Dan Williams  <dcbw@redhat.com>
3383
3384         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3385
3386         * src/NetworkManagerSystem.c
3387                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3388                         implementation of nm_system_device_replace_default_route()
3389
3390         * src/NetworkManagerPolicy.c
3391                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3392
3393         * src/backends/NetworkManagerArch.c
3394           src/backends/NetworkManagerDebian.c
3395           src/backends/NetworkManagerFrugalware.c
3396           src/backends/NetworkManagerGeneric.c
3397           src/backends/NetworkManagerGeneric.h
3398           src/backends/NetworkManagerGentoo.c
3399           src/backends/NetworkManagerMandriva.c
3400           src/backends/NetworkManagerPaldo.c
3401           src/backends/NetworkManagerRedHat.c
3402           src/backends/NetworkManagerSlackware.c
3403           src/backends/NetworkManagerSuSE.c
3404                 - (nm_system_device_replace_default_route): remove
3405
3406 2008-04-25  Dan Williams  <dcbw@redhat.com>
3407
3408         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3409
3410         * src/NetworkManagerSystem.c
3411                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3412                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3413                         replace nm_system_device_add_route_via_device_with_iface() in the
3414                         backends
3415
3416         * src/backends/NetworkManagerArch.c
3417           src/backends/NetworkManagerDebian.c
3418           src/backends/NetworkManagerFrugalware.c
3419           src/backends/NetworkManagerGeneric.c
3420           src/backends/NetworkManagerGeneric.h
3421           src/backends/NetworkManagerGentoo.c
3422           src/backends/NetworkManagerMandriva.c
3423           src/backends/NetworkManagerPaldo.c
3424           src/backends/NetworkManagerRedHat.c
3425           src/backends/NetworkManagerSlackware.c
3426           src/backends/NetworkManagerSuSE.c
3427                 - Remove nm_system_device_add_route_via_device_with_iface()
3428
3429 2008-04-25  Dan Williams  <dcbw@redhat.com>
3430
3431         * system-settings/plugins/ifcfg-fedora/parser.c
3432                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3433
3434 2008-04-24  Dan Williams  <dcbw@redhat.com>
3435
3436         * dispatcher-daemon/NetworkManagerDispatcher.c
3437                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3438
3439 2008-04-24  Dan Williams  <dcbw@redhat.com>
3440
3441         * initscript/RedHat/NetworkManager.in
3442           initscript/RedHat/NetworkManagerDispatcher.in
3443                 - Be active at runlevel 2
3444                 - Adjust priorities earlier
3445
3446 2008-04-22  Dan Williams  <dcbw@redhat.com>
3447
3448         * src/NetworkManagerPolicy.c
3449                 - (update_routing_and_dns): when checking for a gateway, look at the
3450                         composite IP4 config, not the connection's ip4-config setting, which
3451                         doesn't include DHCP-returned information
3452
3453 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3454
3455         Implement GKeyFile system settings plugin.
3456         Implement writing system settings (currently supported only by GKeyFile plugin).
3457
3458         * system-settings/src/main.c: 
3459         * system-settings/src/dbus-settings.c: Move the communication with plugins
3460         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3461         plugins for adding/updating/removing connections.
3462
3463         * system-settings/src/nm-system-config-interface.c
3464         (nm_system_config_interface_add_connection): Implement
3465         (nm_system_config_interface_update_connection): Implement.
3466         (nm_system_config_interface_remove_connection): Implement.
3467
3468         * system-settings/plugins/keyfile/Makefile.am:
3469         * system-settings/plugins/keyfile/plugin.[ch]:
3470         * system-settings/plugins/keyfile/writer.[ch]:
3471         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3472
3473         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3474
3475         * configure.in: Generate GKeyFile Makefile.
3476
3477         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3478         corruption, need to duplicate the returned string.
3479         (impl_exported_connection_update): Implement.
3480         (impl_exported_connection_delete): Implement.
3481
3482         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3483
3484         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3485
3486 2008-04-22  Dan Williams  <dcbw@redhat.com>
3487
3488         Patch from Charles R. Anderson (cra@wpi.edu)
3489
3490         * src/NetworkManagerPolicy.c
3491                 - (update_routing_and_dns): don't select devices without a gateway
3492                         as having the default route (rh #437338)
3493
3494 2008-04-21  Dan Williams  <dcbw@redhat.com>
3495
3496         * src/nm-activation-request.c
3497           src/nm-activation-request.h
3498                 - (dispose): ensure to disconnect from the device's state-changed signal
3499                         when appropriate so the signal doesn't get handled by an already
3500                         disposed NMActRequest
3501                 - (device_state_changed): update is_default here too just to make sure
3502                         default is only True when the child device is activated
3503                 - (nm_act_request_set_default): new function
3504
3505         * src/NetworkManagerPolicy.c
3506                 - (update_routing_and_dns): set 'default' on the active connection which
3507                         has the default route and DNS
3508
3509 2008-04-21  Dan Williams  <dcbw@redhat.com>
3510
3511         * src/NetworkManagerPolicy.c
3512                 - (device_state_changed): update routing and DNS when a device goes
3513                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3514
3515 2008-04-21  Dan Williams  <dcbw@redhat.com>
3516
3517         * include/NetworkManager.h
3518                 - Add NMActiveConnectionState enum
3519
3520         * introspection/nm-active-connection.xml
3521           introspection/nm-vpn-connection.xml
3522                 - Add 'State' property for overall active connection state
3523                 - Add 'Default' property, when True means this active connection
3524                         has the default route
3525                 - Add PropertyChanged signals so changes actually go out over the bus
3526
3527         * src/nm-active-connection.h
3528                 - Add defines for State & Default properties
3529
3530         * src/nm-activation-request.c
3531                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3532                         signal to determine active connection state
3533
3534         * src/vpn-manager/nm-vpn-connection.c
3535           src/vpn-manager/nm-vpn-connection.h
3536           src/vpn-manager/nm-vpn-manager.c
3537           src/vpn-manager/nm-vpn-service.c
3538                 - Rename old 'state' to 'vpn-state'
3539                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3540                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3541                         'vpn-state-changed' signal
3542
3543         * libnm-glib/nm-active-connection.c
3544           libnm-glib/nm-active-connection.h
3545                 - Add new 'state' and 'default' properties and accessors
3546
3547         * libnm-glib/nm-vpn-connection.c
3548           libnm-glib/nm-vpn-connection.h
3549                 - Rename old 'state' property to 'vpn-state'
3550                 - Add new 'state' and 'default' properties and accessors
3551
3552 2008-04-21  Dan Williams  <dcbw@redhat.com>
3553
3554         * src/nm-ip4-config.c
3555                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3556                         not specified (rh #443474)
3557
3558 2008-04-20  Dan Williams  <dcbw@redhat.com>
3559
3560         * src/NetworkManagerUtils.c
3561           src/NetworkManagerUtils.h
3562                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3563                         NMSettingIP4Config to an NMIP4Config object
3564
3565         * src/nm-device.c
3566                 - (merge_ip4_config): move to NetworkManagerUtils.c
3567
3568         * src/vpn-manager/nm-vpn-connection.c
3569                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3570                         too
3571
3572 2008-04-18  Dan Williams  <dcbw@redhat.com>
3573
3574         * libnm-util/nm-setting-ppp.c
3575           libnm-util/nm-setting-ppp.h
3576                 - Add 'no-vj-comp' option for TCP header compression
3577                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3578                         uint32
3579
3580 2008-04-18  Dan Williams  <dcbw@redhat.com>
3581
3582         * libnm-util/nm-setting-ppp.c
3583           libnm-util/nm-setting-ppp.h
3584           src/ppp-manager/nm-ppp-manager.c
3585                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3586
3587 2008-04-18  Dan Williams  <dcbw@redhat.com>
3588
3589         * libnm-util/nm-setting-ppp.c
3590           libnm-util/nm-setting-ppp.h
3591           src/ppp-manager/nm-ppp-manager.c
3592                 - Remove the 'usepeerdns' option and always request DNS servers from
3593                         the PPP server; the connection chooses to use/override/ignore the
3594                         DNS servers returned from the PPP server
3595
3596 2008-04-18  Dan Williams  <dcbw@redhat.com>
3597
3598         * libnm-util/nm-setting-ppp.c
3599           libnm-util/nm-setting-ppp.h
3600           src/ppp-manager/nm-ppp-manager.c
3601                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3602                         it seems to have been an erroneous addition to the PPTP plugin in
3603                         the first place (from which the ppp-manager is derived)
3604
3605 2008-04-17  Dan Williams  <dcbw@redhat.com>
3606
3607         * libnm-util/nm-setting-pppoe.c
3608                 - (verify): require a PPP setting too
3609
3610         * src/ppp-manager/nm-ppp-manager.c
3611                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3612                         segfaulting
3613
3614 2008-04-17  Dan Williams  <dcbw@redhat.com>
3615
3616         * src/nm-device.c
3617                 - (nm_device_state_changed): do deactivation and and promotion to
3618                         unavailable here, so that the device gets cleaned up before the
3619                         manager runs and starts emitting signals; do the
3620                         FAILED->DISCONNECTED transition from an idle handler rather than
3621                         immediately to guard against recursion
3622                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3623                         FAILED->DISCONNECTED handler if it's scheduled
3624
3625 2008-04-17  Dan Williams  <dcbw@redhat.com>
3626
3627         * src/nm-device-802-11-wireless.c
3628                 - (state_changed_cb): clear AP list when device transitions to
3629                         unavailable or unmanaged
3630                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3631                         since this is already done in device_cleanup()
3632                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3633                         isn't available or managed
3634                 - (device_cleanup): use remove_all_aps()
3635                 - (remove_all_aps): consolidate code removing all APs
3636
3637 2008-04-17  Dan Williams  <dcbw@redhat.com>
3638
3639         * src/nm-serial-device.c
3640           src/nm-serial-device.h
3641                 - (wait_for_reply_got_data): break input into lines, and search each
3642                         line for responses _and_ terminator strings; also make sure that
3643                         the read loop doesn't continue after the timeout is supposed to fire
3644                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3645
3646         * src/nm-gsm-device.c
3647           src/nm-cdma-device.c
3648                 - Send terminators to nm_serial_device_wait_for_reply()
3649
3650 2008-04-16  Dan Williams  <dcbw@redhat.com>
3651
3652         Patch from 陈鑫 <znscnchen@gmail.com>
3653
3654         * src/ppp-manager/nm-pppd-plugin.c
3655                 - (get_credentials): return correct value for success; handle case where
3656                         pppd just does some checking but doesn't want a password
3657                 - (plugin_init): make CHAP work too
3658
3659 2008-04-16  Dan Williams  <dcbw@redhat.com>
3660
3661         Patch from 陈鑫 <znscnchen@gmail.com>
3662
3663         * src/ppp-manager/nm-ppp-manager.c
3664                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3665
3666 2008-04-16  Dan Williams  <dcbw@redhat.com>
3667
3668         Patch from 陈鑫 <znscnchen@gmail.com>
3669
3670         * src/nm-device-802-3-ethernet.c
3671                 - (real_deactivate_quickly): clear the IP interface name on
3672                         deactivation, otherwise the wrong interface might get used later
3673                         for routing and IP management
3674
3675 2008-04-15  Dan Williams  <dcbw@redhat.com>
3676
3677         * libnm-glib/nm-device.c
3678                 - (get_product_and_vendor): handle serial devices correctly
3679                 - (nm_device_update_description): pass device to get_product_and_vendor()
3680
3681 2008-04-15  Dan Williams  <dcbw@redhat.com>
3682
3683         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3684
3685         * src/NetworkManagerSystem.h
3686           src/backends/NetworkManagerArch.c
3687           src/backends/NetworkManagerDebian.c
3688           src/backends/NetworkManagerFrugalware.c
3689           src/backends/NetworkManagerGeneric.c
3690           src/backends/NetworkManagerGeneric.h
3691           src/backends/NetworkManagerGentoo.c
3692           src/backends/NetworkManagerMandriva.c
3693           src/backends/NetworkManagerPaldo.c
3694           src/backends/NetworkManagerRedHat.c
3695           src/backends/NetworkManagerSlackware.c
3696           src/backends/NetworkManagerSuSE.c
3697           src/nm-device.c
3698                 - (nm_generic_device_add_ip6_link_address,
3699                    nm_system_device_add_ip6_link_address): remove
3700
3701 2008-04-15  Dan Williams  <dcbw@redhat.com>
3702
3703         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3704
3705         * src/backends/NetworkManagerArch.c
3706           src/backends/NetworkManagerDebian.c
3707           src/backends/NetworkManagerFrugalware.c
3708           src/backends/NetworkManagerGeneric.c
3709           src/backends/NetworkManagerGeneric.h
3710           src/backends/NetworkManagerGentoo.c
3711           src/backends/NetworkManagerMandriva.c
3712           src/backends/NetworkManagerPaldo.c
3713           src/backends/NetworkManagerRedHat.c
3714           src/backends/NetworkManagerSlackware.c
3715           src/backends/NetworkManagerSuSE.c
3716           src/NetworkManagerSystem.h
3717                 - flush_routes -> flush_ip4_routes
3718                 - flush_addresses -> flush_ip4_addresses
3719
3720         * src/NetworkManagerSystem.c
3721           src/nm-device.c
3722           src/vpn-manager/nm-vpn-connection.c
3723                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3724
3725 2008-04-15  Dan Williams  <dcbw@redhat.com>
3726
3727         Remove exposure of wireless-tools mode types in the API.
3728
3729         * include/NetworkManager.h
3730                 - Define NM80211Mode enum
3731
3732         * introspection/generic-types.xml
3733                 - Describe NM_802_11_MODE enum
3734                 - Remove IW_MODE_* enum
3735
3736         * introspection/nm-access-point.xml
3737           libnm-glib/nm-access-point.c
3738           libnm-glib/nm-access-point.h
3739                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3740
3741         * introspection/nm-device-802-11-wireless.xml
3742           libnm-glib/nm-device-802-11-wireless.c
3743           libnm-glib/nm-device-802-11-wireless.h
3744                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3745
3746         * libnm-util/nm-setting-wireless.c
3747           src/NetworkManagerAP.c
3748           src/NetworkManagerAP.h
3749           src/nm-device-802-11-wireless.c
3750           src/nm-device-802-11-wireless.h
3751           test/nm-tool.c
3752                 - Use NM80211Mode not IW_MODE_*
3753
3754 2008-04-15  Dan Williams  <dcbw@redhat.com>
3755
3756         Enhance nm-online based on a patch from Bill Nottingham.
3757
3758         * test/nm-online.c
3759                 - Add a '-q' option
3760                 - Add help messages and option summary
3761                 - Add long-format options
3762                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3763
3764 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3765
3766         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3767
3768         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3769
3770 2008-04-15  Dan Williams  <dcbw@redhat.com>
3771
3772         * nm-setting-ip4-config.c
3773                 - (ip4_addresses_from_gvalue): handle NULL address array
3774
3775         * nm-setting-8021x.c
3776                 - (verify_tls, verify_ttls): warn on failed verification
3777
3778 2008-04-10  Dan Williams  <dcbw@redhat.com>
3779
3780         * src/nm-gsm-device.c
3781                 - (automatic_registration): accept "+CREG: 0,0"
3782                 - (automatic_registration_response): fail on "+CREG: 0,0"
3783
3784 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3785
3786         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3787
3788 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3789
3790         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3791         Make it compile again by commenting out broken code that at first didn't work and
3792         now didn't compile either.
3793
3794 2008-04-08  Dan Williams  <dcbw@redhat.com>
3795
3796         * libnm-glib/nm-object-cache.c
3797           libnm-glib/nm-settings.c
3798           src/dhcp-manager/nm-dhcp-manager.c
3799           system-settings/plugins/ifcfg-fedora/plugin.c
3800           system-settings/plugins/ifcfg-suse/plugin.c
3801           system-settings/src/nm-system-config-hal-manager.c
3802           libnm-util/nm-utils.c
3803                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3804                         not threadsafe anyway
3805
3806 2008-04-08  Dan Williams  <dcbw@redhat.com>
3807
3808         * system-settings/src/main.c
3809                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3810                         callbacks take a device type too
3811
3812 2008-04-08  Dan Williams  <dcbw@redhat.com>
3813
3814         The system settings service will now create a new default DHCP connection
3815         for wired devices that have no existing applicable connection.
3816
3817         * system-settings/src/nm-system-config-hal-manager.c
3818           system-settings/src/nm-system-config-hal-manager.h
3819                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3820
3821         * system-settings/src/dbus-settings.c
3822           system-settings/src/dbus-settings.h
3823                 - (nm_sysconfig_settings_get_connections): new function
3824                 - (nm_sysconfig_settings_is_device_managed): new function
3825
3826         * system-settings/src/main.c
3827                 - (load_stuff): check for wired devices that need a default connection
3828                 - (get_details_for_udi): get interface and MAC address from HAL
3829                 - (add_default_dhcp_connection): add a default connection for a wired
3830                         device if needed
3831                 - (device_added_cb, device_removed_cb): do the right thing with
3832                         wired devices and their default connections on HAL device events
3833
3834 2008-04-07  Dan Williams  <dcbw@redhat.com>
3835
3836         * libnm-glib/nm-device.c
3837           libnm-glib/nm-device.h
3838                 - Proxy the 'managed' property
3839
3840 2008-04-07  Dan Williams  <dcbw@redhat.com>
3841
3842         * src/nm-gsm-device.c
3843           src/nm-cdma-device.c
3844                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3845                         handler to transition to DISCONNECTED
3846
3847 2008-04-07  Dan Williams  <dcbw@redhat.com>
3848
3849         Patch from Bill Nottingham
3850
3851         * dispatcher-daemon/NetworkManagerDispatcher.c
3852                 - ignore backup/packaging crufy (rh #440143)
3853
3854 2008-04-07  Dan Williams  <dcbw@redhat.com>
3855
3856         * include/NetworkManager.h
3857                 - Remove the DOWN and CANCELLED device states
3858                 - Add UNMANAGED and UNAVAILABLE device states
3859                 - Document the device states
3860
3861         * introspection/nm-device.xml
3862           src/nm-device-interface.c
3863           src/nm-device-interface.h
3864                 - Add the 'managed' property
3865
3866         * test/nm-tool.c
3867                 - (detail_device): print out device state
3868
3869         * src/NetworkManagerSystem.h
3870           src/backends/NetworkManagerArch.c
3871           src/backends/NetworkManagerDebian.c
3872           src/backends/NetworkManagerFrugalware.c
3873           src/backends/NetworkManagerGentoo.c
3874           src/backends/NetworkManagerMandriva.c
3875           src/backends/NetworkManagerPaldo.c
3876           src/backends/NetworkManagerRedHat.c
3877           src/backends/NetworkManagerSlackware.c
3878           src/backends/NetworkManagerSuSE.c
3879                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3880                    nm_system_device_free_system_config): remove; they were unused and
3881                         their functionality should be re-implemented in each distro's
3882                         system settings service plugin 
3883
3884         * src/nm-gsm-device.c
3885           src/nm-gsm-device.h
3886           src/nm-cdma-device.c
3887           src/nm-cdma-device.h
3888                 - (*_new): take the 'managed' argument
3889
3890         * src/nm-device.c
3891                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3892                 - (nm_device_init): start in unmanaged state, not disconnected
3893                 - (constructor): don't start device until the system settings service
3894                         has had a chance to figure out if the device is managed or not
3895                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3896                         don't set device state here, let callers handle that as appropriate
3897                 - (nm_device_dispose): don't touch the device if it's not managed
3898                 - (set_property, get_property, nm_device_class_init): implement the
3899                         'managed' property
3900                 - (nm_device_state_changed): bring the device up if its now managed,
3901                         and deactivate it if it used to be active
3902                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3903                         with the managed state
3904
3905         * src/nm-hal-manager.c
3906                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3907                         take initial managed state and pass it along to device constructors
3908                 - (create_device_and_add_to_list): get managed state and pass to
3909                         type creators
3910
3911         * src/nm-device-802-11-wireless.c
3912                 - (real_can_activate): fold in most of
3913                         nm_device_802_11_wireless_can_activate()
3914                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3915                 - (link_timeout_cb): instead of deactivating, change device state and
3916                         let the device state handler to it
3917                 - (real_update_hw_address): clean up
3918                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3919                         handler to transition to DISCONNECTED if the device isn't rfkilled
3920
3921         * src/nm-device-802-3-ethernet.c
3922                 - (set_carrier): move above callers and get rid of prototype
3923                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3924                         idle handler to transition to DISCONNECTED if the device has a
3925                         carrier
3926                 - (real_update_hw_address): clean up
3927                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3928                         deactivation directly as deactivation doesn't change state anymore
3929
3930         * src/NetworkManagerPolicy.c
3931                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3932                         the NMManager and wireless devices work that out themselves now
3933                 - (device_state_changed): change to a switch and update for new device
3934                         states
3935                 - (device_carrier_changed): remove; device handles this now through
3936                         state changes
3937                 - (device_added): don't care about carrier any more; the initial
3938                         activation check will happen when the device transitions to
3939                         DISCONNECTED
3940
3941         * src/nm-manager.c
3942                 - (dispose): clear unmanaged devices
3943                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3944                         the managed property on each device when needed
3945                 - (system_settings_properties_changed_cb): handle signals from the
3946                         system settings service
3947                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3948                         getting the unmanaged device list method call
3949                 - (query_unmanaged_devices): ask the system settings service for its
3950                         list of unmanaged devices
3951                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3952                         devices
3953                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3954                         devices directly and let them handle the necessary state transitions
3955                 - (manager_device_state_changed): update for new device states
3956                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3957                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3958                 - (nm_manager_activate_connection): return error if the device is
3959                         unmanaged
3960                 - (nm_manager_sleep): handle new device states correctly; don't change
3961                         the state of unavailable/unmanaged devices
3962
3963         * libnm-glib/nm-device-802-11-wireless.c
3964                 - (state_changed_cb): update for new device states
3965
3966 2008-04-07  Dan Williams  <dcbw@redhat.com>
3967
3968         * marshallers/nm-marshal.list
3969                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3970
3971 2008-04-07  Dan Williams  <dcbw@redhat.com>
3972
3973         * system-settings/src/main.c
3974                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3975                         plugins to the dbus settings object
3976                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3977                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3978                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3979                 - (main): switch default logging to syslog with a 'debug' option to
3980                         output to console; start up the HAL manager
3981
3982 2008-04-07  Dan Williams  <dcbw@redhat.com>
3983
3984         * introspection/nm-settings-system.xml
3985           introspection/Makefile.am
3986                 - Define the unmanaged devices interface for the system settings service
3987
3988         * system-settings/src/nm-system-config-hal-manager.c
3989           system-settings/src/nm-system-config-hal-manager.h
3990           system-settings/src/nm-system-config-hal-manager-private.h
3991           system-settings/src/Makefile.am
3992                 - Add a lightweight HAL manager object for tracking network devices for
3993                         the purpose of determining unmanaged devices and which devices need
3994                         the default DHCP connections
3995
3996         * system-settings/src/nm-system-config-interface.c
3997           system-settings/src/nm-system-config-interface.h
3998                 - (nm_system_config_interface_init): add the HAL manager as an argument
3999                 - (nm_system_config_interface_get_unmanaged_devices): implement
4000                 - Define 'unmanaged-devices-changed' signal
4001
4002         * system-settings/src/dbus-settings.c
4003           system-settings/src/dbus-settings.h
4004                 - Implement the unmanaged devices interface; some cleanups
4005
4006         * system-settings/plugins/ifcfg-suse/plugin.c
4007                 - Fixup for plugin interface changes
4008
4009         * system-settings/plugins/ifcfg-fedora/plugin.c
4010                 - (get_ether_device_udi): new function; find the device that has
4011                         a specified MAC address and return its UDI
4012                 - (get_udi_for_connection): new function; try to find the specific
4013                         device a connection is locked to, if any
4014                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4015                         response to HAL events
4016                 - (get_unmanaged_devices): new function; return unmanaged device list
4017                 - (build_one_connection): set the connection's locked device, if any
4018                 - (write_auto_wired_connection): remove
4019                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4020                 - (handle_connection_changed): alert listeners that the unmanaged device
4021                         list has changed
4022                 - (init): fixup for plugin interface changes, implement unmanaged devices
4023
4024         * system-settings/plugins/ifcfg-fedora/parser.c
4025           system-settings/plugins/ifcfg-fedora/parser.h
4026                 - (connection_data_free): clean up connection UDI
4027
4028 2008-04-07  Dan Williams  <dcbw@redhat.com>
4029
4030         * system-settings/plugins/ifcfg-fedora/parser.c
4031                 - (make_ip4_setting): fix parsing of DNS servers
4032
4033 2008-04-05  Dan Williams  <dcbw@redhat.com>
4034
4035         * Makefile.am
4036           configure.in
4037           marshallers/Makefile.am
4038           marshallers/nm-marshal-main.c
4039           marshallers/nm-marshal.list
4040                 - Consolidate marshallers
4041
4042         * libnm-glib/nm-marshal-main.c
4043           libnm-glib/nm-marshal.list
4044           src/marshallers/Makefile.am
4045           src/marshallers/nm-marshal-main.c
4046           src/marshallers/nm-marshal.list
4047                 - Remove
4048
4049         * libnm-glib/Makefile.am
4050           src/Makefile.am
4051           src/dhcp-manager/Makefile.am
4052           src/ppp-manager/Makefile.am
4053           src/supplicant-manager/Makefile.am
4054           src/vpn-manager/Makefile.am
4055                 - Use consolidated marshallers
4056
4057 2008-04-04  Dan Williams  <dcbw@redhat.com>
4058
4059         * src/nm-hal-manager.c
4060           src/nm-hal-manager.h
4061                 - (hal_init): don't look for hardware here
4062                 - (nm_hal_manager_start): new function; look for hardware here instead,
4063                         which can be done at a later time than hal_init()
4064
4065         * src/NetworkManager.c
4066                 - (main): start HAL manager after entering the main loop
4067
4068 2008-04-03  Dan Williams  <dcbw@redhat.com>
4069
4070         * libnm-glib/nm-settings.c
4071           libnm-glib/nm-settings.h
4072             - (nm_exported_connection_get_id): new function
4073                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4074
4075 2008-04-02  Dan Williams  <dcbw@redhat.com>
4076
4077         * src/nm-device-interface.c
4078           src/nm-device-interface.h
4079           src/nm-device.c
4080           src/nm-device.h
4081                 - Rename check_connection_conflicts() to check_connection_compatible()
4082
4083         * src/nm-device-802-11-wireless.c
4084                 - (real_check_connection_conflicts): remove
4085                 - (real_check_connection_compatible): implement; match MAC address
4086
4087         * src/nm-device-802-3-ethernet.c
4088                 - (real_check_connection_conflicts): remove
4089                 - (real_check_connection_compatible): implement; match MAC address
4090                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4091
4092         * src/nm-manager.c
4093                 - (check_connection_allowed): remove; unused until PolicyKit integration
4094                 - (internal_activate_device): check whether the connection is compatible
4095                         with the device before trying to activate it
4096
4097 2008-04-02  Dan Williams  <dcbw@redhat.com>
4098
4099         * system-settings/plugins/ifcfg-fedora/parser.c
4100                 - (read_mac_address): new function; read in MAC address and stuff it
4101                         into the connection
4102                 - (add_one_wep_key): remove debug spew
4103                 - (make_wireless_security_setting): validate the default TX key; don't
4104                         add the wireless-security setting if the connection doesn't need
4105                         security; don't leak the keys shvarFile on error cases
4106                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4107                         address
4108
4109 2008-04-02  Dan Williams  <dcbw@redhat.com>
4110
4111         * libnm-util/nm-setting-connection.c
4112           libnm-util/nm-setting-connection.h
4113                 - (set_property, get_property, nm_setting_connection_class_init): remove
4114                         the 'lockdown' property; it's functionality will be replaced by
4115                         PolicyKit instead
4116
4117 2008-04-01  Dan Williams  <dcbw@redhat.com>
4118
4119         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4120
4121         * configure.in
4122           initscript/Makefile.am
4123           initscript/Mandriva/Makefile.am
4124           initscript/Mandriva/networkmanager.in
4125           initscript/Mandriva/networkmanagerdispatcher.in
4126           src/backends/Makefile.am
4127           src/backends/NetworkManagerMandriva.c
4128           system-settings/plugins/Makefile.am
4129                 - Add Mandriva support
4130
4131 2008-03-31  Dan Williams  <dcbw@redhat.com>
4132
4133         * src/vpn-manager/nm-vpn-service.c
4134                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4135                         errors can be passed back to the caller; also no longer scheduled
4136                         as an idle handler, but called directly; and bump up VPN service
4137                         spawn timeout, 2s is really short
4138                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4139                         but call it directly so that errors are reported on return from
4140                         ActivateConnection() and don't get lost.  If scheduled as an idle
4141                         handler, clients don't have the time to query NM for the new VPN
4142                         connection's properties before the VPN connection is torn down again
4143                         if the service couldn't be launched, and therefore launch errors
4144                         get lost.
4145
4146 2008-03-31  Dan Williams  <dcbw@redhat.com>
4147
4148         * src/vpn-manager/nm-vpn-connection.c
4149                 - (device_state_changed): send correct state on device failure too
4150                 - (plugin_state_changed): failed state means unexpected disconnection,
4151                         thus if the service goes away while the VPN connection is activated
4152                         that's a failure too
4153
4154 2008-03-31  Dan Williams  <dcbw@redhat.com>
4155
4156         * src/vpn-manager/nm-vpn-manager.c
4157           src/vpn-manager/nm-vpn-manager.h
4158                 - Make VPNManager errors more available; add a service-start-failed error
4159
4160 2008-03-31  Dan Williams  <dcbw@redhat.com>
4161
4162         * libnm-glib/nm-client.c
4163           libnm-glib/nm-client.h
4164                 - (activate_cb): pass the new active connection to callback; fix
4165                         message when no callback is specified
4166
4167 2008-03-30  Dan Williams  <dcbw@redhat.com>
4168
4169         * libnm-util/nm-setting-wireless-security.c
4170                 - (need_secrets): only require key0 if the transmit key index is also
4171                         0
4172                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4173
4174 2008-03-29  Dan Williams  <dcbw@redhat.com>
4175
4176         * libnm-util/nm-setting-8021x.c
4177           libnm-util/nm-setting-ip4-config.c
4178           libnm-util/nm-setting-vpn-properties.c
4179           libnm-util/nm-setting-vpn.c
4180           libnm-util/nm-setting-wireless-security.c
4181           libnm-util/nm-setting-wireless.c
4182           libnm-util/nm-utils.c
4183           src/dhcp-manager/nm-dhcp-manager.c
4184           src/nm-activation-request.c
4185           src/nm-ip4-config.c
4186           src/nm-manager.c
4187           src/nm-properties-changed-signal.c
4188           src/ppp-manager/nm-pppd-plugin.c
4189           src/supplicant-manager/nm-supplicant-interface.c
4190           src/vpn-manager/nm-vpn-connection.c
4191                 - consistently use nm-dbus-glib-types.h
4192
4193 2008-03-29  Dan Williams  <dcbw@redhat.com>
4194
4195         * src/vpn-manager/nm-vpn-connection.c
4196                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4197                         not string
4198
4199         * src/nm-activation-request.c
4200                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4201                         not string
4202
4203 2008-03-29  Dan Williams  <dcbw@redhat.com>
4204
4205         * libnm-glib/nm-device-802-11-wireless.c
4206                 - (access_point_added_proxy): create new APs if not found
4207
4208 2008-03-29  Dan Williams  <dcbw@redhat.com>
4209
4210         * libnm-glib/nm-client.c
4211                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4212                         before freeing them
4213
4214 2008-03-29  Dan Williams  <dcbw@redhat.com>
4215
4216         * system-settings/plugins/ifcfg-fedora/parser.c
4217                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4218                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4219
4220 2008-03-29  Dan Williams  <dcbw@redhat.com>
4221
4222         * system-settings/plugins/ifcfg-fedora/parser.c
4223                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4224
4225 2008-03-27  Dan Williams  <dcbw@redhat.com>
4226
4227         * nm-object.c
4228                 - (nm_object_queue_notify): don't notify multiple times for the same
4229                         property
4230
4231         * nm-object-private.h
4232                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4233                         if it has zero elements
4234
4235         * nm-ip4-config.c
4236                 - (finalize): use g_ptr_array_foreach() when freeing domains
4237                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4238
4239         * nm-active-connection.c
4240                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4241
4242         * nm-device-802-11-wireless.c
4243           nm-device-802-11-wireless.h
4244                 - (nm_device_802_11_wireless_get_access_points): return const; use
4245                         handle_ptr_array_return()
4246
4247         * nm-types.c
4248                 - (nm_object_array_demarshal): always create an array, even of length
4249                         zero, to distinguish between "NM returned no items" and "haven't
4250                         asked NM yet"
4251
4252         * nm-client.c
4253                 - (dispose): free active connections too
4254                 - (proxy_name_owner_changed): free active connections too when NM goes
4255                         away
4256                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4257                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4258
4259 2008-03-26  Dan Williams  <dcbw@redhat.com>
4260
4261         Rework VPN connection handling for a more consistent D-Bus API.  The
4262         VPNManager object has been removed, and active VPN connections are now the
4263         same as any other active connection.  The Manager object's ActivateConnection
4264         and DeactivateConnection methods are used to start and stop a VPN connection,
4265         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4266         When activating a VPN connection, pass the path of the active connection
4267         to which the VPN connection is tied in the 'specific_object' argument.
4268
4269         Consequently, the libnm-glib API has been reworked to match this arrangement,
4270         with the VPNManager object removed, and the NMVPNConnection objects now
4271         being subclasses of NMActiveConnection.
4272
4273 2008-03-25  Dan Williams  <dcbw@redhat.com>
4274
4275         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4276
4277         * initscript/Arch/networkmanager.in
4278           initscript/Arch/networkmanager-dispatcher.in
4279                 - Updates for Arch Linux (gnome.org #523701)
4280
4281 2008-03-25  Dan Williams  <dcbw@redhat.com>
4282
4283         * libnm-glib/nm-ip4-config.c
4284           libnm-glib/nm-active-connection.c
4285           libnm-glib/nm-access-point.c
4286                 - Use nm_object_queue_notify() instead of g_object_notify()
4287
4288         * libnm-glib/nm-device.c
4289                 - (demarshal_ip4_config): distinguish between successful but missing
4290                         ip4-config request, and unsuccessful and missing ip4-config request
4291                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4292                         path
4293                 - Use nm_object_queue_notify() instead of g_object_notify()
4294
4295         * libnm-glib/nm-device-802-11-wireless.c
4296                 - (demarshal_active_ap): distinguish between successfull but missing
4297                         active-ap request, and unsuccessful and missing active-ap request
4298                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4299                         code
4300                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4301                         for the NMClient to notify the device that wireless is disabled,
4302                         and therefore to clear the AP list and active AP
4303                 - Use nm_object_queue_notify() instead of g_object_notify()
4304
4305         * libnm-glib/nm-client.c
4306                 - (poke_wireless_devices_with_rf_status): new function
4307                 - (update_wireless_status): notify wireless devices of the rfkill status
4308                         so they can clean up if needed
4309                 - Use nm_object_queue_notify() instead of g_object_notify()
4310
4311 2008-03-25  Dan Williams  <dcbw@redhat.com>
4312
4313         * libnm-glib/nm-object.c
4314           libnm-glib/nm-object-private.h
4315                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4316                         signals to an idle handler
4317                 - (nm_object_get_property): add a timeout to the D-Bus method call
4318
4319 2008-03-25  Dan Williams  <dcbw@redhat.com>
4320
4321         * introspection/nm-device-cdma.xml
4322           introspection/nm-device-gsm.xml
4323           introspection/Makefile.am
4324           introspection/all.xml
4325                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4326
4327         * src/nm-gsm-device.h
4328           src/nm-gsm-device.c
4329           src/nm-cdma-device.h
4330           src/nm-cdma-device.c
4331           src/Makefile.am
4332                 - Implement PropertiesChanged signals
4333
4334         * libnm-glib/nm-cdma-device.c
4335           libnm-glib/nm-cdma-device.c
4336                 - Attach to PropertiesChanged signals
4337
4338 2008-03-24  Dan Williams  <dcbw@redhat.com>
4339
4340         * libnm-glib/nm-client.c
4341                 - (client_device_added_proxy): add new devices to the internal device
4342                         list so they appear to clients
4343
4344 2008-03-24  Dan Williams  <dcbw@redhat.com>
4345
4346         Massive fixup of libnm-glib to:
4347         a) have all objects (with the exception of VPN) cache their properties and
4348                 update them asynchronously on PropertiesChanged signals from NM
4349         b) return internal const data for most attributes/properties instead of
4350                 allocated values that the caller must free
4351         c) cache wrapped objects such that a given D-Bus path will always map to the
4352                 same GObject returned by libnm-glib
4353         d) remove a few signals and move them to GObject property notifications
4354         e) match recent NM D-Bus API changes for activation/deactivation
4355         f) remove some private functions from libnm-glib headers
4356
4357 2008-03-20  Dan Williams  <dcbw@redhat.com>
4358
4359         * src/nm-manager.c
4360                 - (nm_manager_update_state, manager_device_state_changed,
4361                    nm_manager_activate_device, connection_added_default_handler,
4362                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4363                         queue PropertyChanged singals when the active connections change
4364
4365 2008-03-20  Dan Williams  <dcbw@redhat.com>
4366
4367         * introspection/nm-manager.xml
4368           introspection/nm-manager-client.xml
4369                 - (ActivateConnection): return the object path of the active connection
4370                         on success
4371                 - (GetActiveConnections): remove
4372                 - (DeactivateConnection): new function; deactivate a currently active
4373                         connection
4374                 - Add an ActiveConnections property which returns an array of
4375                         active connection object paths
4376
4377         * introspection/nm-device.xml
4378                 - (Deactivate): remove
4379
4380         * introspection/all.xml
4381                 - Add ActiveConnection introspection
4382
4383         * introspection/nm-active-connection.xml
4384                 - Add the ActiveConnection object
4385
4386         * include/NetworkManager.h
4387                 - Add the Connection.Active D-Bus interface
4388
4389         * src/nm-device-interface.c
4390                 - (impl_device_deactivate): remove
4391
4392         * src/nm-activation-request.c
4393           src/nm-activation-request.c
4394           src/Makefile.am
4395                 - Implement the Connection.Active D-Bus interface
4396
4397         * src/nm-manager.c
4398                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4399                 - (nm_manager_activate_device): return the active connection path
4400                 - (connection_added_default_handler, impl_manager_activate_connection):
4401                         return the active connection to the caller
4402                 - (add_one_connection_element, impl_manager_get_active_connections):
4403                         remove
4404                 - (impl_manager_deactivate_connection): new function; deactivate an
4405                         active connection
4406
4407         * libnm-glib/nm-device.c
4408           libnm-glib/nm-device.h
4409                 - Remove Deactivate() function
4410
4411 2008-03-19  Dan Williams  <dcbw@redhat.com>
4412
4413         * introspection/nm-manager.xml
4414           introspection/nm-manager-client.xml
4415                 - Rename the ActivateDevice method to ActivateConnection to better
4416                         reflect it's usage; it's arguments get reordered a bit too
4417                 - Convert GetActiveConnections method return from a struct to a dict
4418
4419         * include/NetworkManager.h
4420                 - Define the dict keys for return value of GetActiveConnections
4421
4422         * src/nm-manager.c
4423                 - impl_manager_activate_device -> impl_manager_activate_connection
4424                 - (add_one_connection_element): return a populated hash table, not
4425                         a structure
4426
4427         * libnm-glib/nm-client.c
4428           libnm-glib/nm-client.h
4429                 - nm_client_activate_device -> nm_client_activate_connection
4430                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4431                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4432                         instead of the custom structures.  Each element of the returned list
4433                         must be freed with nm_client_free_active_connections_element()
4434
4435 2008-03-18  Dan Williams  <dcbw@redhat.com>
4436
4437         * system-settings/plugins/ifcfg-fedora/parser.c
4438           system-settings/plugins/ifcfg-fedora/parser.h
4439           system-settings/plugins/ifcfg-fedora/plugin.c
4440                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4441                         profiles.  DNS servers and searches must now be stored in the ifcfg
4442                         files themselves
4443
4444 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4445
4446         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4447         print out username and password, it's supposed to be a secret.
4448
4449         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4450         request and set the device state accordingly.
4451
4452 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4453
4454         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4455
4456         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4457
4458 2008-03-18  Dan Williams  <dcbw@redhat.com>
4459
4460         * src/vpn-manager/nm-vpn-connection.c
4461                 - (get_secrets_cb): handle new GetSecrets return format
4462
4463 2008-03-18  Dan Williams  <dcbw@redhat.com>
4464
4465         Adapt system settings service for split 802.1x.
4466
4467         * system-settings/src/nm-system-config-interface.h
4468                 - clarify return value of get_secrets()
4469
4470         * system-settings/src/dbus-settings.c
4471                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4472                 - (check_for_secrets): check if there actually secrets returned by a
4473                         plugin
4474                 - (exported_connection_get_secrets): just return the plugin-returned
4475                         hash of settings' secrets if it looks valid
4476
4477         * system-settings/plugins/ifcfg-fedora/plugin.c
4478                 - (get_secrets): add split secrets with correct format to reply hash
4479
4480         * system-settings/plugins/ifcfg-fedora/parser.c
4481           system-settings/plugins/ifcfg-fedora/parser.h
4482                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4483                    connection_data_free, connection_data_add): keep secrets for
4484                         different settings in different hashes
4485
4486 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4487
4488         Clean up activating device deactivation.
4489
4490         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4491         should be done whether the device activation gets cancelled or the device
4492         is just getting deactivated.
4493         (nm_device_activation_cancel): Remove.
4494         (nm_device_deactivate_quickly): Handle the case where device is activating.
4495
4496         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4497         It does the exact same thing as real_deactivate_quickly().
4498
4499 2008-03-17  Dan Williams  <dcbw@redhat.com>
4500
4501         Split the 802.1x bits out of the wireless-security setting so they are
4502         generalized enough for wired 802.1x to use too.
4503
4504         * introspection/nm-exported-connection.xml
4505                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4506                         of just a hash of the secrets for one setting
4507
4508         * libnm-util/nm-setting-wireless-security.c
4509           libnm-util/nm-setting-wireless-security.h
4510                 - Remove 802.1x-specific stuff
4511                 - Added leap-username and leap-password properties for old-school LEAP
4512
4513         * src/nm-device.c
4514           src/nm-device.h
4515                 - (connection_secrets_updated_cb): take a list of updated settings names,
4516                         not just one
4517
4518         * src/supplicant-manager/nm-supplicant-config.c
4519           src/supplicant-manager/nm-supplicant-config.h
4520                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4521                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4522                         to nm_supplicant_config_add_setting_8021x()
4523                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4524                         the supplicant config
4525
4526         * src/nm-device-802-11-wireless.c
4527                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4528                 - (real_connection_secrets_updated): take a list of updated settings
4529                         names, not just one
4530
4531         * src/nm-device-802-3-ethernet.c
4532           src/nm-cdma-device.c
4533           src/nm-gsm-device.c
4534                 - (real_connection_secrets_updated_cb): take a list of updated settings
4535                         names, not just one
4536
4537         * src/nm-activation-request.c
4538           src/nm-activation-request.h
4539                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4540                         now passes a list of updated settings names, not just one
4541                 - (update_one_setting): new function; handle one updated setting
4542                 - (get_secrets_cb): handle multiple settings returned from the
4543                         settings service; have to be careful of ordering here as there are
4544                         some dependencies between settings (ex. wireless-security and 802.1x
4545                         in some cases)
4546
4547         * src/marshallers/nm-marshal.list
4548                 - new marshaller for connection-secrets-updated signal
4549
4550         * libnm-util/nm-setting-8021x.c
4551                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4552                         methods
4553                 - (verify): a valid 'eap' property is now required
4554
4555         * libnm-util/nm-connection.c
4556                 - (register_default_settings): add priorities to settings; there are
4557                         some dependencies between settings, and during the need_secrets
4558                         calls this priority needs to be respected.  For example, only the
4559                         wireless-security setting knows whether or not the connection is
4560                         going to use 802.1x or now, so it must be asked for secrets before
4561                         any existing 802.1x setting is
4562                 - (nm_connection_lookup_setting_type): expose
4563
4564         * libnm-util/nm-setting-wireless.c
4565                 - (verify): should verify even if all_settings is NULL; otherwise won't
4566                         catch the case where there is missing security
4567
4568         * libnm-util/nm-setting-wireless-security.c
4569                 - Remove everything to do with 802.1x
4570                 - Add old-school LEAP specific properties for username and password
4571                 - (need_secrets): rework LEAP secrets checking
4572                 - (verify): rework for LEAP and 802.1x verification
4573
4574 2008-03-17  Dan Williams  <dcbw@redhat.com>
4575
4576         * src/NetworkManagerPolicy.c
4577                 - (auto_activate_device): always remove the current activation check
4578                         from the pending activation list, otherwise when the policy gets
4579                         destroyed on NM exit it will attempt to free the already freed
4580                         activation check
4581
4582 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4583
4584         * src/backends/NetworkManagerSlackware.c 
4585         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4586
4587         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4588
4589 2008-03-14  Dan Williams  <dcbw@redhat.com>
4590
4591         * src/nm-manager.c
4592                 - (nm_device_interface_get_iface): g_object_get() will return an
4593                         allocated value, so this function must not return const
4594                 - (nm_device_interface_activate): free returned iface
4595
4596 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4597
4598         * libnm-util/Makefile.am: Add new files to build.
4599
4600         * libnm-util/nm-connection.c: Register NMSetting8021x.
4601
4602         * libnm-util/nm-setting-8021x.c
4603         * libnm-util/nm-setting-8021x.h: Implement.
4604
4605 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4606
4607         * libnm-util/Makefile.am: Add new files to build.
4608
4609         * libnm-util/nm-connection.c: Register NMSetting8021x.
4610
4611         * libnm-util/nm-setting-8021x.c
4612         * libnm-util/nm-setting-8021x.h: Implement.
4613
4614 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4615
4616         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4617         data.
4618
4619 2008-03-14  Dan Williams  <dcbw@redhat.com>
4620
4621         * include/wireless-helper.h
4622           include/Makefile.am
4623                 - One place for all the junk needed for #including wireless.h
4624
4625         * test/nm-tool.c
4626           src/NetworkManagerAP.c
4627           src/wpa.c
4628           src/Makefile.am
4629           libnm-util/nm-utils.c
4630           libnm-util/nm-setting-wireless.c
4631           libnm-glib/nm-device-802-11-wireless.c
4632           libnm-glib/nm-access-point.c
4633           libnm-glib/libnm-glib-test.c
4634                 - include wireless-helper.h, not iwlib.h
4635
4636         * configure.in
4637                 - Don't need libiw really, just need to check for wireless.h
4638
4639         * src/kernel-types.h
4640                 - Remove; used types moved into wpa.c
4641
4642         * src/nm-device-802-11-wireless.c
4643                 - (nm_device_802_11_wireless_update_signal_strength,
4644                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4645                    nm_device_802_11_wireless_set_mode,
4646                    nm_device_802_11_wireless_get_frequency,
4647                    nm_device_802_11_wireless_get_ssid,
4648                    nm_device_802_11_wireless_set_ssid,
4649                    nm_device_802_11_wireless_get_bitrate,
4650                    nm_device_802_11_wireless_get_bssid,
4651                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4652                         instead of iwlib functions
4653
4654 2008-03-14  Dan Williams  <dcbw@redhat.com>
4655
4656         * src/ppp-manager/nm-ppp-manager.c
4657                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4658                         should only take the DBusGMethodInvocation argument, not user/pass
4659                         too.  With dbus-glib, async functions only take 2 C arguments since
4660                         the real dbus method arguments get passed back with
4661                         dbus_g_method_return()
4662
4663 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4664
4665         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4666         Adapt the changes of NMSettingIP4Config.
4667
4668 2008-03-13  Dan Williams  <dcbw@redhat.com>
4669
4670         * src/NetworkManagerUtils.c
4671           src/NetworkManagerUtils.h
4672                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4673
4674         * src/NetworkManagerAP.c
4675           src/nm-device-802-11-wireless.c
4676           src/nm-device-802-3-ethernet.c
4677                 - s/iw_ether_ntop/nm_ether_ntop/g
4678
4679 2008-03-13  Dan Williams  <dcbw@redhat.com>
4680
4681         * src/NetworkManagerPolicy.c
4682                 - (update_routing_and_dns): never set the default route through an
4683                         IPv4LL addressed device
4684
4685 2008-03-13  Dan Williams  <dcbw@redhat.com>
4686
4687         * NetworkManagerUtils.c
4688           NetworkManagerUtils.h
4689                 - Remove NMSock stuff
4690                 - Remove the completion stuff
4691
4692         * nm-device.c
4693           nm-device.h
4694           NetworkManager.c
4695           NetworkManagerSystem.c
4696           autoip.c
4697           nm-device-802-11-wireless.c
4698           nm-device-802-3-ethernet.c
4699                 - Remove NMSock and completion stuff
4700                 - Remove nm_ioctl_info()
4701
4702 2008-03-12  Dan Williams  <dcbw@redhat.com>
4703
4704         * src/nm-device.c
4705                 - (merge_ip4_config): avoid duplicates
4706
4707 2008-03-12  Dan Williams  <dcbw@redhat.com>
4708
4709         * libnm-util/nm-setting-ip4-config.c
4710           libnm-util/nm-setting-ip4-config.h
4711                 - Remove 'manual' and 'autoip' properties
4712                 - Add 'method' property
4713                 - (verify): fix verification with 'method'
4714                 - (finalize): free 'method'
4715                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4716                         up for 'method'
4717
4718         * src/nm-device.c
4719                 - (real_act_stage3_ip_config_start): check IP4Config method
4720                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4721                         the future
4722                 - (merge_ip4_config): IP settings are valid with DHCP too
4723                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4724                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4725
4726         * src/nm-device-802-11-wireless.c
4727                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4728                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4729                         only on demand
4730
4731         * system-settings/plugins/ifcfg-fedora/parser.c
4732           system-settings/plugins/ifcfg-suse/parser.c
4733                 - (make_ip4_setting): fix up for 'method'
4734
4735 2008-03-12  Dan Williams  <dcbw@redhat.com>
4736
4737         * system-settings/plugins/ifcfg-fedora/parser.c
4738           system-settings/plugins/ifcfg-fedora/parser.h
4739                 - (get_ifcfg_name): ignore more file suffixes
4740                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4741
4742 2008-03-12  Dan Williams  <dcbw@redhat.com>
4743
4744         * configure.in
4745                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4746
4747 2008-03-12  Dan Williams  <dcbw@redhat.com>
4748
4749         * system-settings/plugins/ifcfg-fedora/plugin.c
4750                 - (write_auto_wired_connection): new function; write out an auto
4751                         wired connection file since the applet isn't doing it any more
4752                 - (reload_all_connections): write out the auto wired connection file
4753                         if there aren't any wired connections already
4754                 - (init): don't leak a GError
4755
4756 2008-03-12  Dan Williams  <dcbw@redhat.com>
4757
4758         * src/nm-device-interface.c
4759                 - (nm_device_interface_activate): print the ID of the connection
4760                         that's about to be activated
4761
4762 2008-03-12  Dan Williams  <dcbw@redhat.com>
4763
4764         Harmonize the 802.11 bitrate API
4765
4766         * introspection/nm-access-point.xml
4767                 - 'Rate' -> 'MaxBitrate'; clarify units
4768
4769         * introspection/nm-device-802-11-wireless.xml
4770                 - Clarify units of 'Bitrate'
4771
4772         * src/NetworkManagerAP.c
4773           src/NetworkManagerAP.h
4774                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4775                         property to 'max-bitrate'
4776                 - (foreach_property_cb): convert rate to Kb/s
4777
4778         * src/nm-device-802-11-wireless.c
4779                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4780
4781         * libnm-glib/nm-access-point.c
4782           libnm-glib/nm-access-point.h
4783                 - 'rate' -> 'max-bitrate'
4784
4785         * test/nm-tool.c
4786           libnm-glib/libnm-glib-test.c
4787                 - Fix up for these changes
4788
4789 2008-03-12  Dan Williams  <dcbw@redhat.com>
4790
4791         * src/nm-device.c
4792                 - (nm_device_set_ip4_config): don't send property notifications when
4793                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4794                         which dbus-glib can't parse because the value is NULL, which isn't
4795                         a legal object path.  Setting the IP4 config to NULL is only
4796                         valid when deactivating a device anyway, so the device state change
4797                         will alert listeners that the ip4 config is invalid.
4798
4799 2008-03-12  Dan Williams  <dcbw@redhat.com>
4800
4801         * src/nm-properties-changed-signal.c
4802                 - (add_to_string): better handling of NULL objects
4803
4804 2008-03-12  Dan Williams  <dcbw@redhat.com>
4805
4806         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4807         convert the libnm-glib NMDevice8023Ethernet to cached properties
4808
4809         * introspection/nm-device-802-3-ethernet.xml
4810                 - New 'Carrier' property
4811                 - New 'PropertiesChanged' signal
4812
4813         * introspection/nm-device.xml
4814                 - Remove 'Carrier' property
4815                 - Remove 'CarrierChanged' signal
4816
4817         * src/nm-device-interface.c
4818           src/nm-device-interface.h
4819                 - (nm_device_interface_init): remove 'carrier' property and
4820                         'carrier-changed' signal
4821
4822         * src/nm-device.c
4823           src/nm-device.h
4824                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4825                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4826                         the link here; wired device will handle that
4827                 - (handle_dhcp_lease_change): don't bother updating link here
4828                 - (get_property, nm_device_class_init): remove carrier property
4829
4830         * src/nm-device-802-11-wireless.c
4831                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4832                         real_update_link(); wireless devices don't use carrier at all
4833                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4834                    supplicant_iface_connection_state_cb_handler,
4835                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4836
4837         * src/nm-device-802-3-ethernet.c
4838           src/nm-device-802-3-ethernet.h
4839                 - (nm_device_802_3_ethernet_carrier_on,
4840                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4841                         instead of nm_device_set_carrier()
4842                 - (device_state_changed): update link from sysfs on activation;
4843                         replaces real_update_link()
4844                 - (real_update_link): remove, replaced by device_state_changed()
4845                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4846                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4847                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4848                         new get_carrier function
4849                 - (get_property): add 'carrier' property
4850                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4851                         hook into property-changed signal helper
4852
4853         * src/NetworkManagerPolicy.c
4854                 - (device_carrier_changed): will only ever be called with a wired device
4855                 - (device_added): only hook up to carrier-changed for wired devices
4856
4857         * libnm-glib/nm-device.c
4858           libnm-glib/nm-device.h
4859                 - (constructor, nm_device_class_init): remove carrier-changed signal
4860                 - (device_carrier_changed_proxy): remove; unused
4861                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4862
4863         * libnm-glib/nm-device-802-3-ethernet.c
4864           libnm-glib/nm-device-802-3-ethernet.h
4865                 - Convert to cached properties like AP and Wireless objects
4866                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4867                         instead of a 'char *', return value should not be freed
4868                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4869                 - (constructor): hook into properties-changed helper
4870                 - (set_property, get_property): new functions
4871                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4872
4873         * test/nm-tool.c
4874                 - (detail_device): strdup the wired hardware address too since it's
4875                         cached now
4876
4877         * libnm-glib/libnm-glib-test.c
4878                 - (dump_wired): strdup the wired hardware address too since it's
4879                         cached now
4880
4881 2008-03-12  Dan Williams  <dcbw@redhat.com>
4882
4883         * libnm-util/nm-setting-ip4-config.c
4884           libnm-util/nm-setting-ip4-config.h
4885                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4886                         the 'autoip' property from the spec
4887
4888 2008-03-11  Dan Williams  <dcbw@redhat.com>
4889
4890         * src/backends/NetworkManagerGeneric.c
4891           src/backends/NetworkManagerGeneric.h
4892                 - (nm_generic_device_get_use_dhcp): remove
4893
4894 2008-03-11  Dan Williams  <dcbw@redhat.com>
4895
4896         * src/nm-device.c
4897                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4898                         already in nm_device_set_ip4_config()
4899                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4900                         due to a DHCP rebind fails
4901                 - (nm_device_set_ip4_config): send property notifications when the
4902                         ip4 config changes
4903                 - (get_property): only report IP4Config property during valid states
4904
4905         * src/NetworkManagerPolicy.c
4906                 - (update_routing_and_dns): ignore devices that don't have an ip4
4907                         config; add parameter 'force_update' to allow callers to specify
4908                         that changes should be made even if the default device doesn't change
4909                 - (device_ip4_config_changed): update DNS and routing when the device's
4910                         IP4Config changes, like for DHCP updates
4911                 - (device_added): listen for ip4-config property changes
4912
4913 2008-03-11  Dan Williams  <dcbw@redhat.com>
4914
4915         Fix address handling as a result of DHCP rebind/renew/reboot.
4916
4917         * src/NetworkManagerSystem.c
4918                 - (check_one_address): delete an address if it doesn't match a given
4919                         one for the same interface
4920                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4921                         be smarter about flushing addresses (only flush ones that don't
4922                         match the one we're about to apply)
4923
4924         * src/backends/NetworkManagerDebian.c
4925           src/backends/NetworkManagerSuSE.c
4926           src/backends/NetworkManagerArch.c
4927           src/backends/NetworkManagerSlackware.c
4928           src/backends/NetworkManagerRedHat.c
4929           src/backends/NetworkManagerPaldo.c
4930           src/backends/NetworkManagerFrugalware.c
4931           src/backends/NetworkManagerGentoo.c
4932                 - (nm_system_delete_default_route): remove
4933
4934         * src/backends/NetworkManagerGeneric.c
4935           src/backends/NetworkManagerGeneric.h
4936                 - (nm_generic_enable_loopback): fix the loopback device label
4937                 - (nm_generic_delete_default_route): remove; no longer used
4938
4939 2008-03-11  Dan Williams  <dcbw@redhat.com>
4940
4941         * src/nm-device-interface.h
4942                 - Delimit property name words with '-', otherwise g_object_notify()
4943                         doesn't work the way we expect
4944
4945 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4946
4947         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4948
4949 2008-03-11  Dan Williams  <dcbw@redhat.com>
4950
4951         * src/NetworkManagerPolicy.c
4952                 - (update_routing_and_dns): don't change anything if the default device
4953                         hasn't changed; print something out when switching the default route
4954                         and DNS
4955
4956 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4957
4958         Implement PPPoE.
4959
4960         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4961         setting. Use "nic-$eth".
4962
4963         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4964         the device is activating here to fix a race condition.
4965
4966         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4967
4968         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4969         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4970         (nm_ppp_manager_start): Take activation request instead of connection, we might
4971         need it for asking secrets.
4972         (nm_ppp_manager_update_secrets): Implement.
4973
4974         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4975         ppp manager start. It might be needed for asking secrets.
4976
4977         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4978         (ppp_state_changed): Handle pppd daemon disappearing.
4979         (pppoe_stage2_config): Send activation request to ppp manager start.
4980
4981         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4982
4983         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4984         username and password.
4985         
4986 2008-03-10  Dan Williams  <dcbw@redhat.com>
4987
4988         * src/nm-device.c
4989                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4990                         response to a DHCP lease change
4991                 - (dhcp_state_changed): handle DHCP lease changes while activated
4992                 - (nm_device_set_ip4_config): remove a previously set named config
4993                         when setting an ip4 config
4994
4995 2008-03-10  Dan Williams  <dcbw@redhat.com>
4996
4997         * src/nm-serial-device.c
4998                 - (nm_serial_device_send_command): report errno on error
4999                 - (get_reply_got_data): limit the size of the overall buffer
5000                 - (wait_for_reply_info_destroy): destroy result string
5001                 - (wait_for_reply_got_data): append received data to an overall buffer
5002                         until timeout, filled buffer, or error instead of keeping a per-call
5003                         buffer.  Some devices send data slowly enough that this function
5004                         gets called multiple times for the same command stream.
5005                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5006                         wait_for_reply_got_data() here
5007
5008 2008-03-10  Dan Williams  <dcbw@redhat.com>
5009
5010         * src/nm-cdma-device.c
5011                 - (do_dial, init_modem): handle errors from
5012                         nm_serial_device_send_command_string()
5013
5014         * src/nm-gsm-device.c
5015                 - (do_dial, manual_registration, automatic_registration_get_network,
5016                    automatic_registration, enter_pin, check_pin, init_modem): handle
5017                         errors from nm_serial_device_send_command_string()
5018
5019 2008-03-10  Dan Williams  <dcbw@redhat.com>
5020
5021         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5022
5023         * src/named-manager/nm-named-manager.c
5024                 - (compute_searches): prefer searches before domains
5025                 - (compute_domain): new function
5026                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5027                 - (merge_one_ip4_config): if there are no searches in the source config,
5028                         merge domains of the source config into the target config
5029                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5030
5031 2008-03-10  Dan Williams  <dcbw@redhat.com>
5032
5033         * src/nm-serial-device.c
5034                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5035                 - (wait_for_reply_got_data): try to handle slower serial devices where
5036                         the reply is broken up into multiple reads by concatenating replies
5037                         together until either an error is received or the search string is
5038                         found
5039
5040 2008-03-10  Dan Williams  <dcbw@redhat.com>
5041
5042         * src/nm-device.c
5043                 - (nm_device_bring_down): deactivate the device if it's activating too,
5044                         not just if it's already activated.  This makes sure that everything
5045                         from an association attempt is cleaned up (like DHCP for example)
5046
5047 2008-03-10  Dan Williams  <dcbw@redhat.com>
5048
5049         * src/nm-serial-device.c
5050                 - (config_fd): report error from TCSETA
5051                 - (nm_serial_device_open): fail when config_fd() fails
5052
5053 2008-03-10  Dan Williams  <dcbw@redhat.com>
5054
5055         * src/nm-ip4-config.c
5056                 - (nm_ip4_config_init): allocate searches list
5057                 - (finalize): free searches list
5058
5059 2008-03-09  Dan Williams  <dcbw@redhat.com>
5060
5061         Patch from Bas Zoetekouw <bas@debian.org>
5062
5063         * src/dhcp-manager/nm-dhcp-manager.c
5064                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5065
5066 2008-03-09  Dan Williams  <dcbw@redhat.com>
5067
5068         Patch from Bas Zoetekouw <bas@debian.org>
5069
5070         * src/nm-ip4-config.c
5071           src/nm-ip4-config.h
5072                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5073                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5074                         domains.  'searches' is the correct way to store multiple search
5075                         domains, whereas 'domains' is really just supposed to store one
5076                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5077                         search domains to the client.
5078                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5079
5080 2008-03-09  Dan Williams  <dcbw@redhat.com>
5081
5082         * src/dhcp-manager/nm-dhcp-manager.c
5083                 - (dhclient_run): send interface-specific config files to dhclient
5084
5085 2008-03-07  Dan Williams  <dcbw@redhat.com>
5086
5087         * system-settings/plugins/ifcfg-fedora/parser.c
5088                 - (is_wireless_device): new function; test a device for wireless
5089                         extensions
5090                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5091                         test the device for wireless extensions to determine the type
5092
5093 2008-03-07  Dan Williams  <dcbw@redhat.com>
5094
5095         Change manager's StateChange signal to StateChanged for consistency.
5096
5097         * introspection/nm-manager.xml
5098                 - Add 'StateChanged' signal
5099                 - Move 'StateChange' down to the deprecated section
5100
5101         * src/nm-hal-manager.c
5102                 - (nm_hal_manager_new): connect to 'state-changed' instead
5103
5104         * src/NetworkManagerPolicy.c
5105                 - (nm_policy_new): connect to 'state-changed' instead
5106
5107         * src/nm-manager.c
5108           src/nm-manager.h
5109                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5110                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5111                         of 'state-change'
5112
5113         * libnm-glib/nm-client.c
5114           libnm-glib/nm-client.h
5115                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5116                         track and proxy 'state-changed' instead of 'state-change'
5117
5118 2008-03-07  Dan Williams  <dcbw@redhat.com>
5119
5120         First pass of multiple active device support.  Expect bugs.
5121
5122         * src/nm-ip4-config.c
5123           src/nm-ip4-config.h
5124                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5125                         there are better ways to do this in the named manager
5126
5127         * src/nm-device.c
5128           src/nm-device.h
5129                 - (nm_device_can_activate): return whether the device can activate a
5130                         connection right now; taking into account things like carrier state
5131                         and rfkill state
5132                 - (nm_device_get_best_auto_connection): renamed from
5133                         nm_device_get_best_connection
5134                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5135                         device subclasses themselves, so that each device can override the
5136                         MTU from it's NMSetting subclass if needed
5137                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5138                         in NetworkManagerSystem.c, not here
5139
5140         * src/named-manager/nm-named-manager.c
5141           src/named-manager/nm-named-manager.h
5142                 - (nm_named_manager_name_owner_changed,
5143                    nm_named_manager_dbus_connection_changed): fix for changes to
5144                         rewrite_resolv_conf()
5145                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5146                         from parameter list
5147                 - (merge_one_ip4_config): new function; merge ip4 configs together
5148                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5149                         ip4 configs; the VPN config takes precedence, then the best
5150                         device config, then the rest of the configs
5151                 - (get_domain_for_config): take the NMNamedManager as an argument
5152                         to check whether the config is the VPN config
5153                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5154                         attribute from ip4 configs
5155                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5156                 - (remove_ip4_config_from_named): fix for changes to
5157                         get_domain_for_config()
5158                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5159                         based on its type; callers must pass in the type now
5160                 - (get_last_default_domain): remove, unused
5161                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5162
5163         * src/nm-device-802-11-wireless.c
5164                 - (real_can_activate): new function
5165                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5166                 - (real_act_stage4_get_ip4_config): handle MTU override
5167
5168         * src/nm-device-802-3-ethernet.c
5169                 - (real_can_activate): new function
5170                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5171                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5172
5173         * src/vpn-manager/nm-vpn-connection.c
5174                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5175                         attribute on the ip4 config
5176
5177         * src/NetworkManagerPolicy.c
5178                 - (nm_policy_auto_get_best_device): remove
5179                 - (nm_policy_device_change_check): remove
5180                 - (update_default_route): new function; set the default route via
5181                         the specified device
5182                 - (get_device_priority): new function; return the priority number of
5183                         a device type WRT which one should have the default route.  Order is
5184                         (highest to lowest)  wired, wireless, GSM, CDMA.
5185                 - (update_routing_and_dns): new function; determine which device should
5186                         have the default route, then update the routing table and DNS
5187                 - (maybe_auto_activate_device): new function; if a device is now
5188                         available for activation, find out what connection it would like to
5189                         activate and do it
5190                 - (schedule_activate_check): new function; if a device can be activated
5191                         now, schedule the activation.  Each device may have only one
5192                         pending activation at a given time.
5193                 - (device_state_changed): if activation was canceled, try again,
5194                         possibly with another connection; if the device was activated,
5195                         update routing and DNS; if the device was deactivated, try again
5196                         with another connection
5197                 - (device_carrier_changed): if there is no carrier, deactivate the
5198                         device; otherwise schedule an activation check for the device
5199                 - (wireless_networks_changed): schedule an activation check for the
5200                         device
5201                 - (device_added): keep track of the signal handler IDs so they can
5202                         be removed when the device goes away
5203                 - (device_removed): remove any signal handlers that might be attached
5204                         to the device; update routing and DNS
5205                 - (schedule_activate_all): new function
5206                 - (connections_added, connection_added, connection_updated): when
5207                         connections change, schedule all devices for an activation check
5208                 - (connection_removed): when a device is deactivated because its
5209                         connection was removed, schedule another activation check for it
5210                 - (nm_policy_destroy): destroy pending activations and disconnect
5211                         all device signal handlers
5212
5213         * src/nm-manager.c
5214                 - (nm_manager_activate_device): if the device was already actived,
5215                         deactivate it
5216                 - (deactivate_old_device): remove
5217                 - (connection_added_default_handler, impl_manager_activate_device):
5218                         don't deactivate other devices when activating this one
5219
5220         * src/backends/NetworkManagerGentoo.c
5221           src/backends/NetworkManagerFrugalware.c
5222           src/backends/NetworkManagerPaldo.c
5223           src/backends/NetworkManagerRedHat.c
5224           src/backends/NetworkManagerSlackware.c
5225           src/backends/NetworkManagerArch.c
5226           src/backends/NetworkManagerSuSE.c
5227           src/backends/NetworkManagerDebian.c
5228                 - (nm_system_get_mtu): remove; MTU should be provided through the
5229                         distro's system settings service plugin instead
5230                 - (nm_system_device_add_default_route_via_device): remove
5231                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5232                 - (nm_system_device_replace_default_route): new function; call
5233                         generic implementation
5234
5235         * src/backends/NetworkManagerGeneric.c
5236           src/backends/NetworkManagerGeneric.h
5237                 - (nm_generic_device_add_default_route_via_device,
5238                    nm_generic_device_add_default_route_via_device_with_iface): remove
5239                 - (nm_generic_device_replace_default_route): replace the default route
5240                         with the given route via some gateway
5241
5242         * src/NetworkManagerSystem.c
5243           src/NetworkManagerSystem.h
5244                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5245                         to routing and DNS; but set the MTU here
5246                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5247                         ip_iface of the active device; use the standard MTU setting function
5248                 - (nm_system_set_mtu): remove
5249                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5250
5251 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5252
5253         Rework the interaction between ppp manager and pppd plugin. Register a well
5254         known DBUS service in manager and let the plugin call it's methods instead
5255         of listening plugin's signals.
5256
5257         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5258         of emitting signals.
5259
5260         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5261
5262         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5263
5264         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5265         nm_ppp_manager_start().
5266
5267         * introspection/nm-ppp-manager.xml: New file.
5268
5269         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5270         the case correctly where driver is trying to send -1 for the speed, which gets
5271         casted to u16 and thus is always > 0.
5272
5273 2008-03-07  Dan Williams  <dcbw@redhat.com>
5274
5275         * src/nm-hal-manager.c
5276                 - (nm_get_device_driver_name): use net.originating_device first, fall
5277                         back to physical device.  HAL has deprecated physical_device.
5278
5279         * libnm-glib/nm-device.c
5280                 - (get_product_and_vendor): use net.originating_device first, fall
5281                         back to physical device.  HAL has deprecated physical_device.
5282                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5283
5284 2008-03-07  Dan Williams  <dcbw@redhat.com>
5285
5286         * src/nm-netlink.c
5287                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5288                         last commit; fix that
5289                 - (get_link_cache): print error string
5290
5291 2008-03-07  Dan Williams  <dcbw@redhat.com>
5292
5293         * src/nm-netlink.c
5294                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5295                         don't need this hack any more (Benoit Boissinot)
5296
5297 2008-03-06  Dan Williams  <dcbw@redhat.com>
5298
5299         * autogen.sh
5300                 - Die gnome-common, die
5301
5302 2008-03-04  Dan Williams  <dcbw@redhat.com>
5303
5304         Patch from Michael Biebl <biebl@debian.org>
5305
5306         * NetworkManager.pc.in
5307                 - doesn't actually depend on dbus-1
5308
5309         * libnm-util/nm-utils.h
5310                 - remove unused #include <dbus/dbus.h>
5311
5312         * libnm-glib/libnm_glib.pc.in
5313                 - depends on glib and dbus-glib
5314
5315 2008-03-02  Dan Williams  <dcbw@redhat.com>
5316
5317         * src/NetworkManagerPolicy.c
5318                 - s/device_state_changed_idle_id/update_state_id/
5319
5320 2008-03-02  Dan Williams  <dcbw@redhat.com>
5321
5322         * src/nm-device.c
5323           src/nm-device.h
5324           src/nm-device-802-11-wireless.c
5325           src/nm-device-802-3-ethernet.c
5326           src/NetworkManagerPolicy.c
5327                 - s/link_active/carrier
5328                 - nm_device_set_active_link() -> nm_device_set_carrier()
5329                 - nm_device_has_active_link() -> nm_device_get_carrier()
5330
5331 2008-03-02  Dan Williams  <dcbw@redhat.com>
5332
5333         * system-settings/plugins/ifcfg-fedora/parser.c
5334                 - (make_wireless_setting): fail connection creation on missing SSID
5335
5336 2008-02-29  Dan Williams  <dcbw@redhat.com>
5337
5338         * src/NetworkManagerPolicy.c
5339                 - (nm_policy_device_change_check): ensure that a previously active
5340                         device with a system connection has a link before denying a switch
5341                         to a user connection
5342
5343 2008-02-29  Dan Williams  <dcbw@redhat.com>
5344
5345         * src/nm-device-802-11-wireless.c
5346                 - (link_timeout_cb): try again if scanning; deactivate the device when
5347                         activated if the link dies
5348                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5349                         15 seconds
5350
5351 2008-02-29  Dan Williams  <dcbw@redhat.com>
5352
5353         * src/nm-device-802-11-wireless.c
5354           src/nm-device-802-11-wireless.h
5355                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5356                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5357                 - (device_cleanup): reset the scan interval lower when the device
5358                         deactivates
5359                 - (can_scan): base decision mostly off device state, not supplicant
5360                         interface state since the supplicant interface state isn't a
5361                         great indicator of whether the device is active or not
5362                 - (request_wireless_scan): clean up; schedule the next scan here
5363                 - (schedule_scan): only back the scan interval off if a new scan
5364                         actually gets scheduled; and make scan intervals tighter when the
5365                         device is disconnected
5366                 - (supplicant_iface_state_cb_handler): fold in the bits of
5367                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5368                         interval to minimum
5369                 - (activation_success_handler): reset scan interval to something
5370                         reasonable 
5371
5372 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5373
5374         reviewed by: Steev <steev@steev.net>
5375
5376         * configure.in:
5377         * src/backends/NetworkManagerGentoo.c:
5378         (nm_system_restart_mdns_responder):
5379                 Howl is no longer a supported mDNS provider
5380
5381 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5382
5383         Get rid of a bunch of unused distro specific functions.
5384
5385 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5386
5387         Implement suse plugin for system settings daemon.
5388
5389         * system-settings/plugins/ifcfg-suse/*: Implement.
5390
5391         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5392         suse.
5393
5394         * configure.in: Check (without failing) for gio.
5395         Create ifcfg-suse plugin's Makefile.
5396
5397 2008-02-20  Dan Williams  <dcbw@redhat.com>
5398
5399         * libnm-util/nm-connection.c
5400           libnm-util/nm-connection.h
5401                 - (nm_connection_compare): accept compare flags and pass them to the
5402                         setting compare function
5403
5404         * libnm-util/nm-setting.c
5405           libnm-util/nm-setting.h
5406                 - (nm_setting_compare): accept compare flags; ignore properties that are
5407                         marked fuzzy
5408
5409         * libnm-util/nm-setting-connection.c
5410           libnm-util/nm-setting-wireless.c
5411           libnm-util/nm-setting-ppp.c
5412           libnm-util/nm-setting-wired.c
5413                 - Mark some setting properties as ignorable when doing a fuzzy compare
5414
5415         * src/nm-device.c
5416                 - (device_activation_precheck): use exact compare
5417
5418 2008-02-20  Dan Williams  <dcbw@redhat.com>
5419
5420         * src/NetworkManagerPolicy.c
5421                 - (nm_policy_device_change_check): get scope off the connection, not
5422                         using the manager helper
5423
5424         * src/nm-manager.c
5425           src/nm-manager.h
5426                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5427                 - (connection_get_settings_cb): set scope and path on connection, not
5428                         using GObject data items
5429                 - (get_connection_for_proxy): don't need to return path, since that
5430                         can be gotten from the connection
5431                 - (get_connection_for_proxy): get path off the connection, not from
5432                         parameters
5433                 - (connection_removed_cb, connection_updated_cb): don't need to get
5434                         path from get_connection_for_proxy(); get scope off the connection
5435                         instead of using GObject data items
5436                 - (connection_added_default_handler, add_one_connection_element): use
5437                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5438                 - (nm_manager_get_connection_dbus_path): remove
5439                 - (nm_manager_get_connection_scope): remove
5440
5441 2008-02-20  Dan Williams  <dcbw@redhat.com>
5442
5443         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5444                 on confusing names
5445
5446         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5447                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5448                 NMExportedConnection
5449
5450         * Internally rename NMConnectionType -> NMConnectionScope
5451
5452         * Provide default implementations of the 'get_id' and 'get_settings' methods
5453                 of NMExportedConnection
5454
5455 2008-02-15  Dan Williams  <dcbw@redhat.com>
5456
5457         * src/nm-device-802-11-wireless.c
5458                 - (device_cleanup): release the AP list here too so that the AP list
5459                         doesn't survive across suspend/resume and up/down.  There is some
5460                         room for optimization, for example blow the list away when the card
5461                         brought back up, but only if the device has only been down for a
5462                         minute or more.
5463
5464 2008-02-15  Dan Williams  <dcbw@redhat.com>
5465
5466         * src/nm-hal-manager.c
5467                 - (modem_device_creator): recognize new HAL modem capabilities
5468
5469 2008-02-12  Dan Williams  <dcbw@redhat.com>
5470
5471         * system-settings/plugins/ifcfg-fedora/plugin.c
5472                 - (watch_path): handle IN_DELETE_SELF too
5473                 - (handle_connection_changed): notify when removing a connection
5474                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5475                         case of a file moving out of the profile directory
5476
5477 2008-02-12  Dan Williams  <dcbw@redhat.com>
5478
5479         * system-settings/plugins/ifcfg-fedora/parser.c
5480                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5481
5482 2008-02-12  Dan Williams  <dcbw@redhat.com>
5483
5484         * libnm-util/nm-utils.c
5485                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5486                         just any empty array
5487
5488 2008-02-12  Dan Williams  <dcbw@redhat.com>
5489
5490         * system-settings/src/nm-system-config-interface.c
5491           system-settings/src/nm-system-config-interface.h
5492                 - (load_connections): get_connections() should now return an allocated
5493                         GSList that the system settings service will free
5494
5495         * system-settings/plugins/ifcfg-fedora/plugin.c
5496           system-settings/plugins/ifcfg-fedora/parser.h
5497           system-settings/plugins/ifcfg-fedora/parser.c
5498                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5499                         in the profile directory, handle resolv.conf file changes
5500
5501 2008-02-10  Dan Williams  <dcbw@redhat.com>
5502
5503         * src/nm-device-802-3-ethernet.c
5504                 - (real_bring_up): save the supplicant interface state signal id
5505                 - (real_bring_down): disconnect from the supplicant interface state
5506                         signal
5507
5508 2008-02-07  Dan Williams  <dcbw@redhat.com>
5509
5510         * initscript/RedHat/NetworkManager.in
5511           initscript/RedHat/NetworkManagerDispatcher.in
5512                 - Add new-style LSB init headers
5513
5514 2008-02-07  Dan Williams  <dcbw@redhat.com>
5515
5516         * system-settings/src/dbus-settings.c
5517           system-settings/src/dbus-settings.h
5518                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5519                         table of secrets
5520                 - (connection_settings_get_secrets): consolidate error returns into
5521                         one place; use the new get_secrets() plugin interface function to
5522                         get secrets from the plugin itself rather than using GObject data
5523                         magic
5524
5525         * system-settings/src/main.c
5526                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5527                    load_connections): keep a private list of the plugin-returned
5528                         connections, don't use the plugin's GSList
5529
5530         * system-settings/plugins/ifcfg-fedora/plugin.c
5531                 - (watch_path): watch the path, not the filename (duh)
5532                 - (reload_all_connections): use the direct hash/equal functions; the
5533                         ones for int aren't appropriate here
5534                 - (get_secrets, system_config_interface_init): implement the
5535                         get_secrets() function
5536                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5537                         now in the connection's ConnectionData instead of being a GObject
5538                         data property
5539                 - (handle_profile_item_changed): ifcfg file path is now in the
5540                         connection's ConnectionData instead of being a GObject data property;
5541                         be sure to copy secrets over from the new connection to the existing
5542                         connection when updating the connection's settings
5543                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5544                         file descriptor
5545
5546         * system-settings/plugins/ifcfg-fedora/parser.c
5547           system-settings/plugins/ifcfg-fedora/parser.h
5548                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5549                    connection_data_copy_secrets, connection_data_free,
5550                    connection_data_add): new functions; connection data manipulation
5551                 - (make_wireless_security_setting): stuff secrets into the
5552                         connection data, not as GObject data items; make sure to close
5553                         the keys ifcfg file
5554                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5555                         connection data to the connection
5556
5557 2008-02-07  Dan Williams  <dcbw@redhat.com>
5558
5559         * system-settings/src/nm-system-config-interface.c
5560           system-settings/src/nm-system-config-interface.h
5561                 - Add a get_secrets() interface function to retrieve secrets for a
5562                         specific setting of a specific connection.  Document the interface
5563                         a bit more too.
5564
5565 2008-02-07  Dan Williams  <dcbw@redhat.com>
5566
5567         * src/nm-device-802-11-wireless.c
5568                 - (handle_auth_or_fail): new function; consolidate device activation
5569                         failure check after a certain number of failures getting secrets
5570                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5571                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5572                         the connection if secrets were requested more than a few times
5573                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5574                         tries here; otherwise they are cleared before the IP configure
5575                         timeout, which happens with open system WEP when key is wrong
5576                 - (activation_success_handler): clear wireless secrets tries here too
5577
5578 2008-02-07  Dan Williams  <dcbw@redhat.com>
5579
5580         * src/NetworkManagerPolicy.c
5581                 - (connection_updated): clear invalid tag when connection gets updated
5582                         to allow that connection to be tried again
5583                 - (nm_policy_new): save signal ids so they can be disconnected when
5584                         the policy is destroyed
5585                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5586                         and disconnect all signals from the manager object so that none
5587                         of the policy functions gets called after the policy is destroyed
5588
5589 2008-02-06  Dan Williams  <dcbw@redhat.com>
5590
5591         * src/nm-manager.c
5592                 - (finalize): remove devices a bit earlier; clean up system settings
5593                         poke
5594                 - (nm_manager_name_owner_changed): clean up system settings poke when
5595                         the service appears, and try to restart it if it fails
5596                 - (poke_system_settings_daemon_cb): try to get the system settings
5597                         service started through D-Bus service activation
5598                 - (initial_get_connections): start the system settings daemon if it's
5599                         not already running
5600
5601 2008-02-05  Dan Williams  <dcbw@redhat.com>
5602
5603         * src/supplicant-manager/nm-supplicant-config.c
5604                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5605                         broadcast networks too
5606
5607 2008-02-04  Dan Williams  <dcbw@redhat.com>
5608
5609         * system-settings/plugins/ifcfg-fedora/parser.c
5610                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5611                         need key_mgmt set too
5612                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5613                         .bak files; ensure that an error is set whenever NULL gets returned
5614
5615 2008-02-04  Dan Williams  <dcbw@redhat.com>
5616
5617         * system-settings/src/Makefile.am
5618                 - Install D-Bus service activation file for the system settings
5619                         service
5620
5621         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5622                 - D-Bus service activation file for system settings service
5623
5624 2008-02-04  Dan Williams  <dcbw@redhat.com>
5625
5626         * system-settings/src/main.c
5627                 - (parse_config_file): parse a config file
5628                 - (main): accept --config option and read plugins from config file
5629
5630 2008-02-04  Dan Williams  <dcbw@redhat.com>
5631
5632         * system-settings/plugins/ifcfg-fedora/plugin.c
5633                 - Change reported name to 'ifcfg-fedora'
5634                 - Use IFCFG_PLUGIN_NAME
5635
5636         * system-settings/plugins/ifcfg-fedora/plugin.c
5637                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5638
5639 2008-02-04  Dan Williams  <dcbw@redhat.com>
5640
5641         * system-settings/plugins/ifcfg-fedora/parser.c
5642                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5643                 - (make_connection_setting): use get_ifcfg_name()
5644                 - (make_wireless_security_setting): handle shadow key files
5645                 - (get_one_wep_key): treat empty string as NULL
5646
5647 2008-02-04  Dan Williams  <dcbw@redhat.com>
5648
5649         * src/supplicant-manager/nm-supplicant-manager.c
5650                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5651                         glib automatically reschedule
5652                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5653                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5654                         the supplicant
5655
5656 2008-02-01  Dan Williams  <dcbw@redhat.com>
5657
5658         * src/NetworkManagerPolicy.c
5659                 - (device_state_changed): schedule a change check when a device gets
5660                         deactivated so something happens if you disconnect GSM/CDMA
5661
5662 2008-01-31  Dan Williams  <dcbw@redhat.com>
5663
5664         * src/nm-device-802-11-wireless.h
5665           src/nm-device-802-11-wireless.c
5666                 - (ap_list_get_ap_by_ssid, is_associated,
5667                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5668                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5669                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5670                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5671                         function
5672
5673 2008-01-30  Dan Williams  <dcbw@redhat.com>
5674
5675         * system-settings/plugins/ifcfg
5676         * system-settings/plugins/ifcfg-fedora
5677                 - Move the ifcfg plugin to ifcfg-fedora
5678
5679 2008-01-24  Dan Williams  <dcbw@redhat.com>
5680
5681         * libnm-glib/nm-device-802-11-wireless.c
5682                 - (get_access_point): move the "/" check here; check for invalid path
5683                         too
5684                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5685                         to get_access_point()
5686                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5687                         to send signals for non-existent access points
5688
5689 2008-01-24  Dan Williams  <dcbw@redhat.com>
5690
5691         * libnm-glib/nm-device-802-11-wireless.c
5692                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5693
5694 2008-01-23  Dan Williams  <dcbw@redhat.com>
5695
5696         * libnm-glib/libnm_glib.c
5697                 - (libnm_glib_init): make thread joinable
5698                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5699
5700 2008-01-23  Dan Williams  <dcbw@redhat.com>
5701
5702         * test/libnm_glib_test.c
5703                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5704                 - (main): set up signal handlers; call libnm_glib_shutdown
5705
5706 2008-01-21  Dan Williams  <dcbw@redhat.com>
5707
5708         * include/NetworkManager.h
5709                 - Add CDMA mobile broadband card device type
5710
5711         * src/nm-hal-manager.c
5712                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5713                         must now be tagged with 'cdma' or 'gsm' capability
5714
5715         * src/nm-cdma-device.c
5716           src/nm-cdma-device.h
5717           src/Makefile.am
5718                 - Add the CDMA mobile broadband card device class
5719
5720         * libnm-util/nm-connection.c
5721                 - (register_default_settings): add NMSettingCdma
5722
5723         * libnm-util/nm-setting-cdma.c
5724           libnm-util/nm-setting-cdma.h
5725           libnm-util/Makefile.am
5726                 - Add the CDMA mobile broadband card setting class
5727
5728         * libnm-glib/nm-cdma-device.c
5729           libnm-glib/nm-cdma-device.h
5730           libnm-glib/Makefile.am
5731                 - Add the CDMA mobile broadband card GLib proxy class
5732
5733         * libnm-glib/nm-client.c
5734                 - (get_device): handle CDMA devices too
5735
5736 2008-01-21  Dan Williams  <dcbw@redhat.com>
5737
5738         * src/ppp-manager/nm-ppp-manager.c
5739                 - (ip4_config_get): set peer address too
5740
5741         * src/ppp-manager/nm-pppd-plugin.c
5742                 - (nm_ip_up): try harder to get the peer's address
5743
5744         * src/NetworkManagerSystem.c
5745                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5746                         address, use that too.  Otherwise, some PPP connections won't work.
5747
5748 2008-01-19  Dan Williams  <dcbw@redhat.com>
5749
5750         * src/NetworkManagerPolicy.c
5751                 - (nm_policy_device_change_check): system connections override user
5752                         connections; don't activate a user connection if there's a currently
5753                         active system connection, and new, better system connections always
5754                         interrupt user connections
5755
5756 2008-01-19  Dan Williams  <dcbw@redhat.com>
5757
5758         * src/nm-manager.h
5759                 - (nm_manager_get_connection_type): new function
5760
5761 2008-01-19  Dan Williams  <dcbw@redhat.com>
5762
5763         * src/nm-device-802-11-wireless.c
5764                 - (real_get_best_connection): collapse find_best_connection() into this
5765                         function
5766
5767 2008-01-19  Dan Williams  <dcbw@redhat.com>
5768
5769         * src/nm-device-802-3-ethernet.c
5770                 - (real_get_best_connection): collapse find_best_connection() into this
5771                         function
5772
5773 2008-01-18  Dan Williams  <dcbw@redhat.com>
5774
5775         * src/nm-device-802-3-ethernet.c
5776                 - (find_best_connection): check MAC address too
5777                 - (real_get_best_connection): let autoconnect=True connections activate
5778                         for devices that don't have carrier detection
5779
5780         * src/nm-device-802-11-wireless.c
5781                 - (find_best_connection): check MAC address too
5782
5783 2008-01-18  Dan Williams  <dcbw@redhat.com>
5784
5785         * system-settings/plugins/ifcfg/parser.c
5786                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5787
5788 2008-01-17  Dan Williams  <dcbw@redhat.com>
5789
5790         * src/nm-device-802-3-ethernet.c
5791                 - (nm_device_802_3_ethernet_carrier_on,
5792                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5793                         carrier events that might come in for devices that don't support
5794                         carrier detect
5795
5796 2008-01-17  Dan Williams  <dcbw@redhat.com>
5797
5798         * src/nm-device-interface.c
5799                 - (nm_device_interface_check_connection_conflicts): need to actually
5800                         get the interface, not cast to the object
5801
5802         * src/nm-device.c
5803                 - (nm_device_check_connection_conflicts): need to get the device class,
5804                         not cast the device to the device class
5805
5806 2008-01-17  Dan Williams  <dcbw@redhat.com>
5807
5808         * src/nm-device-802-11-wireless.c
5809                 - (real_check_connection_conflicts): ignore connections that aren't
5810                         wireless connections
5811
5812 2008-01-17  Dan Williams  <dcbw@redhat.com>
5813
5814         * src/NetworkManagerPolicy.c
5815                 - (nm_policy_device_change_check): clear change check idle here
5816                 - (device_change_check_done): remove
5817                 - (schedule_change_check): simplify
5818
5819 2008-01-17  Dan Williams  <dcbw@redhat.com>
5820
5821         * src/nm-manager.c
5822                 - (check_connection_allowed): take an NMDeviceInterface instead of
5823                         an NMDevice object as an argument
5824                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5825                         check_connection_allowed()
5826
5827 2008-01-13  Dan Williams  <dcbw@redhat.com>
5828
5829         * libnm-glib/nm-device-802-11-wireless.c
5830                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5831
5832 2008-01-12  Dan Williams  <dcbw@redhat.com>
5833
5834         * src/nm-device-802-11-wireless.c
5835                 - (activation_success_handler): if a match was found in the scan list
5836                         and that match is a hidden AP, update that AP's SSID
5837
5838 2008-01-11  Dan Williams  <dcbw@redhat.com>
5839
5840         * src/NetworkManagerAP.c
5841                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5842
5843         * src/nm-device-802-11-wireless.c
5844                 - (get_active_ap): do two passes over the scan list if the caller
5845                         requests that hidden APs get matched too; during the second pass
5846                         when matching hidden APs, ignore the SSID since hidden APs in the
5847                         scan list don't have an SSID yet
5848                 - (periodic_update): move some checks to
5849                         nm_device_802_11_periodic_update() because not all callers need them
5850                 - (nm_device_802_11_periodic_update): move some checks here from
5851                         perodic_update()
5852                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5853                         matching on incoming scan results, because the fake AP's flags
5854                         might be slightly different (yet still compatible) with the incoming
5855                         scan result's flags and they might actually be the same AP; update
5856                         the rate on merged APs too
5857                 - (activation_success_handler): update the frequency of the fake AP
5858                         on successful connection; match hidden APs too since if the
5859                         current AP is fake, there might already be a scan result in the
5860                         scan list for the desired AP, just without it's SSID filled in yet
5861
5862 2008-01-10  Dan Williams  <dcbw@redhat.com>
5863
5864         * src/NetworkManagerAP.c
5865                 - (foreach_property_cb): catch more hidden SSID formats
5866
5867 2008-01-10  Dan Williams  <dcbw@redhat.com>
5868
5869         Fix gnome.org #464215.  Requires the kernel patch titled
5870         "Introduce WEXT scan capabilities" but will handle the patch not being
5871         present, you'll just continue to have problems with hidden SSIDs when
5872         using mac80211-based drivers.
5873
5874         * src/supplicant-manager/nm-supplicant-config.h
5875           src/supplicant-manager/nm-supplicant-config.c
5876                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5877                         whether the driver supports SSID scans or not.  If it does, and if
5878                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5879
5880         * src/nm-device-802-11-wireless.c
5881                 - (constructor): check whether or not the driver supports SSID scans
5882                 - (build_supplicant_config): pass driver SSID scan capability when
5883                         building the wireless bits of the supplicant config
5884
5885 2008-01-09  Dan Williams  <dcbw@redhat.com>
5886
5887         * src/nm-device.c
5888           src/nm-device.h
5889                 - (device_activation_precheck, check_connection_complete): remove this
5890                         virtual function; incomplete connections should be invalid by
5891                         definition, complete-ness should be checked in the setting's
5892                         verify function
5893
5894         * src/nm-serial-device.c
5895           src/nm-gsm-device.c
5896                 - (real_check_connection_complete): remove
5897
5898         * libnm-util/nm-setting-serial.c
5899                 - (verify): new function; ensure there is a PPP setting too
5900
5901         * libnm-util/nm-setting-gsm.c
5902                 - (verify): ensure there is a serial setting too
5903
5904 2008-01-06  Dan Williams  <dcbw@redhat.com>
5905
5906         * src/dhcp-manager/nm-dhcp-manager.c
5907                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5908                         (gnome.org #332953)
5909
5910 2008-01-04  Dan Williams  <dcbw@redhat.com>
5911
5912         * src/named-manager/nm-named-manager.c
5913                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5914                         nameservers if the secondary config doesn't have any
5915                         (gnome.org #346833)
5916
5917 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5918
5919         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5920         with G_PARAM_CONSTRUCT so that they get the default values.
5921
5922         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5923         the monitoring device and prints out the output for now. Or more precicely, doesn't
5924         do absolutely anything right now since the montoring device argument is never set.
5925
5926         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5927         requires it's own knob to turn it on.
5928         (config_fd): Add NMSettingSerial to the arguments list.
5929         (nm_serial_device_open): Ditto.
5930         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5931         (nm_serial_device_get_io_channel): Implement.
5932
5933         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5934         a new reference every time (and forgetting to release it sometimes) is a pain and
5935         it's not like NMManager could work without dbus.
5936         (nm_manager_add_device): Register the added device on dbus here.
5937
5938         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5939         device.
5940
5941         * src/nm-device.c (constructor): Don't export the device here, instead export
5942         it when it's added to the NMManager's device list.
5943
5944 2007-12-31  Dan Williams  <dcbw@redhat.com>
5945
5946         * src/nm-device-interface.c
5947           src/nm-device-interface.h
5948                 - (nm_device_interface_check_connection_conflicts): new function
5949
5950         * src/nm-device.c
5951           src/nm-device.h
5952                 - (nm_device_check_connection_conflicts): new function
5953                 - (device_activation_precheck): don't require subclasses to implement
5954                         check_connection_complete()
5955                 - check_connection() -> check_connection_complete()
5956
5957         * src/nm-device-802-11-wireless.c
5958                 - (real_check_connection): remove; unused
5959                 - (real_check_connection_conflicts): implement, handle lockdown for
5960                         system connections
5961
5962         * src/nm-device-802-3-ethernet.c
5963                 - (real_check_connection): remove; unused
5964
5965         * src/nm-manager.c
5966                 - (check_connection_allowed): new function
5967                 - (nm_manager_activate_device): ensure the connection being requested
5968                         is allowed to be activated
5969
5970         * src/nm-serial-device.c
5971           src/nm-gsm-device.c
5972                 - real_check_connection() -> real_check_connection_complete()
5973
5974 2007-12-27  Dan Williams  <dcbw@redhat.com>
5975
5976         * src/nm-device-interface.c
5977           src/nm-device-interface.h
5978                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5979                         normalize and expand errors
5980                 - (nm_device_interface_init): register errors so they can be marshalled
5981                         through dbus-glib
5982                 - (nm_device_interface_activate): ensure that failure of activation
5983                         returns an error
5984
5985         * src/nm-device.c
5986           src/nm-device.h
5987                 - (device_activation_precheck): implementations of check_connection()
5988                         now take a GError and must fill it in if the check fails.  Return
5989                         more descriptive error if the requested connection is already
5990                         activating
5991                 - (nm_device_activate): actually try to return descriptive errors on
5992                         failures
5993
5994         * src/nm-device-802-11-wireless.c
5995           src/nm-device-802-3-ethernet.c
5996           src/nm-serial-device.c
5997           src/nm-gsm-device.c
5998                 - (real_check_connection): return more descriptive errors on failure
5999
6000         * src/NetworkManagerPolicy.c
6001                 - (nm_policy_device_change_check): print activation errors in the logs
6002
6003         * src/nm-manager.c
6004                 - (nm_manager_error_quark, nm_manager_error_get_type,
6005                    nm_manager_class_init): new errors
6006                 - (nm_manager_activate_device): handle errors
6007                 - (nm_manager_error_new): removed
6008                 - (wait_for_connection_expired, connection_added_default_handler,
6009                    impl_manager_activate_device): better error handling
6010
6011 2007-12-27  Dan Williams  <dcbw@redhat.com>
6012
6013         Fixes gnome.org #466954
6014
6015         * src/supplicant-manager/nm-supplicant-settings-verify.c
6016                 - Allow 'frequency' network property
6017
6018         * src/supplicant-manager/nm-supplicant-config.c
6019           src/supplicant-manager/nm-supplicant-config.h
6020                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6021                         for callers to specify the frequency an Ad-Hoc network should operate
6022                         on.  Some drivers require this to successfully create an Ad-Hoc
6023                         network.
6024
6025         * src/nm-device-802-11-wireless.c
6026                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6027                         guint32 value in MHz
6028                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6029                         iw_freq_to_uint32()
6030                 - (find_supported_frequency): new function; find a free supported
6031                         frequency for a user-created Ad-Hoc network
6032                 - (build_supplicant_config): if no frequency was specified for a user-
6033                         created Ad-Hoc network, find a free one to use
6034                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6035                         a specific object as user-created
6036
6037 2007-12-27  Dan Williams  <dcbw@redhat.com>
6038
6039         * libnm-util/nm-utils.c
6040           libnm-util/nm-utils.h
6041                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6042                         for adhoc networks
6043
6044 2007-12-24  Dan Williams  <dcbw@redhat.com>
6045
6046         * libnm-util/nm-setting-wireless.c
6047                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6048                         185, 187, 188, 192, and 196
6049
6050 2007-12-24  Dan Williams  <dcbw@redhat.com>
6051
6052         * src/nm-device-802-11-wireless.c
6053                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6054                         a channel # instead of a frequency
6055
6056 2007-12-24  Dan Williams  <dcbw@redhat.com>
6057
6058         * src/NetworkManagerAP.c
6059           src/NetworkManagerAP.h
6060                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6061                 - (freq_to_channel): handle split band tables
6062                 - (channel_to_freq): handle split band tables, take a band argument
6063
6064 2007-12-24  Dan Williams  <dcbw@redhat.com>
6065
6066         * libnm-util/nm-setting-connection.h
6067           libnm-util/nm-setting-connection.c
6068                 - Add 'lockdown' member
6069
6070 2007-12-22  Dan Williams  <dcbw@redhat.com>
6071
6072         * libnm-util/nm-setting-wireless.c
6073                 - (nm_setting_wireless_class_init): add missing 'rate' property
6074                         specification
6075
6076 2007-12-18  Dan Williams  <dcbw@redhat.com>
6077
6078         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6079
6080         * src/nm-netlink-monitor.c
6081           src/nm-netlink-monitor.h
6082                 - Remove handrolled netlink, use libnl instead
6083
6084         * src/nm-device-802-3-ethernet.c
6085                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6086                    nm_device_802_3_ethernet_carrier_on): use new names
6087
6088 2007-12-17  Dan Williams  <dcbw@redhat.com>
6089
6090         * configure.in
6091                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6092                         and fixes memory leaks)
6093
6094         * src/nm-netlink.c
6095                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6096                         automatically handle the netlink PID
6097
6098 2007-12-17  Dan Williams  <dcbw@redhat.com>
6099
6100         Patch from Michael Biebl <biebl@debian.org>
6101
6102         * configure.in
6103           src/ppp-manager/Makefile.am
6104                 - fix up install dir of pppd plugin
6105                 - clean up configure.in a bit
6106
6107 2007-12-12  Dan Williams  <dcbw@redhat.com>
6108
6109         * system-settings/src/nm-system-settings.conf
6110                 - Allow non-root clients (like the applet) to read settings
6111
6112 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6113
6114         * Replace all occurences of 'UMTS' with 'GSM'.
6115
6116 2007-12-07  Dan Williams  <dcbw@redhat.com>
6117
6118         * src/nm-serial-device.c
6119                 - (real_is_up): serial devices are always "up"
6120
6121 2007-12-07  Dan Williams  <dcbw@redhat.com>
6122
6123         * src/nm-netlink.c
6124           src/NetworkManagerSystem.c
6125                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6126                         twice (gnome.org #491047)
6127                 - Make more robust against allocation-related failures should they occur
6128
6129 2007-12-07  Dan Williams  <dcbw@redhat.com>
6130
6131         Noticed by Christian Persch <chpe@gnome.org>
6132
6133         Always chain up to parent object in dispose and finalize handlers.
6134                 (gnome.org #433112)
6135
6136 2007-12-07  Dan Williams  <dcbw@redhat.com>
6137
6138         * src/nm-device-802-11-wireless.c
6139                 - Wrap #include of linux/mii.h to fix redefined structures due to
6140                         incorrect kernel headers (gnome.org #350061)
6141
6142 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6143
6144         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6145         before doing anything else.
6146         (init_modem): Move modem initialization here.
6147
6148         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6149         (nm_serial_device_flash): Implement.
6150
6151         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6152         changes signal is "StateChanged" and not "Status".
6153         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6154
6155 2007-12-06  Dan Williams  <dcbw@redhat.com>
6156
6157         * src/supplicant-manager/nm-supplicant-config.c
6158                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6159                         to only send some options when they make sense; also send phase2
6160                         option to the supplicant (possible fix for rh #399631)
6161
6162 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6163
6164         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6165         arguments: This whole file shouldn't really know anything about NMDevices, it
6166         should deal only with device interfaces. Devices might have different ifaces for
6167         different stuff and this place shouldn't know anything about it.
6168
6169         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6170         (global_state_changed): Implement. In the current NM it's not really important,
6171         but will be required in the case of multiple active devices. (Or even better,
6172         if stuff like that gets moved out from NM).
6173
6174         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6175         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6176         instead.
6177
6178         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6179         devices like serial devices (ttyS0 and ppp0 for example).
6180         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6181         set.
6182         (nm_device_set_ip_iface): Implement.
6183         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6184         after setting ip4_config from here ...
6185         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6186         than this function should call nm_system_device_set_from_ip4_config() because no
6187         other code has enough information on which arguments to use. So instead, other code
6188         could just set the new ip4 config using this function and everyone is happy.
6189
6190         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6191         if we happen to get deactivated while something is pending.
6192         (automatic_registration): Handle the response that indicates pending network
6193         registration and wait until the pending registration is done.
6194         (real_deactivate_quickly): If there's a pending operation, cancel it.
6195
6196         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6197         (real_deactivate_quickly): ... and remove it when it's down.
6198         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6199         it if needed.
6200         (nm_serial_device_wait_for_reply): Ditto.
6201
6202 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6203
6204         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6205         (get_network_done): Remove newline, nm_info() does it already.
6206         (real_act_stage1_prepare): Turn the modem echo off.
6207
6208         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6209         device, set the route to the device interface. This is a hack.
6210
6211         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6212         return, no need for a new-line.
6213         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6214         Change the device iface here (ugh).
6215         (real_act_stage4_get_ip4_config): Implement.
6216         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6217         Restore the device iface.
6218
6219         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6220         device is not wired or wireless (eg, automatically upped) device.
6221
6222         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6223         it isn't.
6224         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6225
6226         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6227         before calling it's is_device_fn().
6228
6229 2007-12-05  Dan Williams  <dcbw@redhat.com>
6230
6231         * libnm-util/nm-utils.c
6232                 - (nm_utils_register_value_transformations,
6233                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6234                         GHashTables of GValues too
6235
6236 2007-12-04  Dan Williams  <dcbw@redhat.com>
6237
6238         * initscript/RedHat/NetworkManager.in
6239                 - No longer start named; it's D-Bus interface is going away
6240
6241 2007-12-04  Dan Williams  <dcbw@redhat.com>
6242
6243         Patch from Michael Biebl <biebl@debian.org>
6244
6245         * system-settings/plugins/ifcfg/Makefile.am
6246           system-settings/src/main.c
6247           system-settings/src/Makefile.am
6248                 - Put system settings plugins in NM plugins dir
6249
6250         * src/ppp-manager/Makefile.am
6251           src/ppp-manager/nm-ppp-manager.c
6252                 - Move pppd plugin to NM plugins dir
6253
6254 2007-12-04  Dan Williams  <dcbw@redhat.com>
6255
6256         * libnm-util/nm-setting-vpn-properties.h
6257                 - Clarify usage of the 'data' member of the setting
6258
6259         * libnm-util/nm-setting-vpn-properties.c
6260                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6261                 - (set_property): just remove all the settings; don't recreate the has
6262                 - (update_one_secret): don't need to create the hash table here since
6263                         it should always be present
6264
6265 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6266
6267         Implement PIN and PUK requesting.
6268
6269         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6270         (enter_pin): Handle PIN and PUK requests.
6271         (real_act_stage1_prepare): Clear the secret type.
6272         (real_connection_secrets_updated): Implement this class method to get
6273         notified when new secrets arrive.
6274         (nm_umts_device_class_init): Add private data back to the umts device class
6275         to store the required secret type.
6276
6277 2007-12-01  Dan Williams  <dcbw@redhat.com>
6278
6279         * system-settings/plugins/ifcfg/parser.c
6280                 - (parser_parse_file): don't try to verify NULL connections
6281
6282 2007-12-01  Dan Williams  <dcbw@redhat.com>
6283
6284         * system-settings/src/main.c
6285                 - (load_connections, add_connection_to_settings): actually export
6286                         plugin-provided connections over D-Bus so NM can get them
6287
6288 2007-12-01  Dan Williams  <dcbw@redhat.com>
6289
6290         * system-settings/plugins/ifcfg/parser.c
6291           system-settings/plugins/ifcfg/parser.h
6292           system-settings/plugins/ifcfg/plugin.c
6293                 - Hook up more inotify bits (untested)
6294
6295 2007-11-29  Dan Williams  <dcbw@redhat.com>
6296
6297         * system-settings/src/nm-system-config-interface.h
6298           system-settings/src/nm-system-config-interface.c
6299                 - (nm_system_config_interface_init,
6300                    nm_system_config_interface_get_connections): add
6301
6302         * system-settings/src/main.c
6303                 - (load_plugins, load_connections, main): use a GSList for plugins
6304                         to ensure priority ordering
6305
6306         * system-settings/plugins/ifcfg/parser.c
6307                 - (ifcfg_error_quark): move to plugin.c, and rename
6308
6309         * system-settings/plugins/ifcfg/plugin.h
6310           system-settings/plugins/ifcfg/plugin.c
6311                 - (ifcfg_plugin_error_quark): move here from parser.c
6312                 - rework connection loading and initialization
6313                 - Add preliminary inotify support for network profile config file
6314
6315 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6316
6317         Merge the beginnings of the new GSM card support.
6318
6319         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6320         ppp watch source before killing pppd - If this happens from g_object_unref()
6321         then the ppp manager is already destroyed by the time the watch callback runs.
6322
6323         * src/nm-hal-manager.c: Add a device_type_name string to the device
6324         creators, so that we can print a nice human readable string when a
6325         device is added.
6326
6327         * src/nm-umts-device.c (automatic_registration_get_network): Query
6328         for the activated network, not much is done with the result thought.
6329
6330         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6331         (ppp_ip4_config): Change the device state to activated here for now.
6332         (real_check_connection): Make sure the connection includes ppp setting.
6333
6334         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6335
6336         * libnm-glib/Makefile.am: Add the new files to build.
6337
6338         * libnm-glib/nm-umts-device.c: 
6339         * libnm-glib/nm-umts-device.h: Implement.
6340
6341 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6342
6343         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6344         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6345
6346         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6347         the timeout source - this function is only called when the timeout source has
6348         been removed.
6349         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6350         to be big enough to contain the terminating zero element as well.
6351         The timeout argument is meant to be in seconds now.
6352         (real_deactivate_quickly): Implement.
6353
6354         * src/NetworkManager.conf: Allow root to own 
6355         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6356
6357         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6358         (not unsigned ints).
6359
6360         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6361         small issue with parity bounds - capital letters have lower ascii codes
6362         than lower case letters.
6363
6364         * libnm-util/nm-connection.c (register_default_settings): Register serial
6365         and umts settings.
6366
6367 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6368
6369         Remove the "index" property from devices as not all device types have this.
6370
6371         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6372
6373         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6374         (wired_device_creator): Get the device interface from hal to create the device.
6375         (wireless_device_creator): Ditto.
6376
6377         * src/nm-device.c (nm_device_init): Remove the index member.
6378         (constructor): Remove the checks for index property, make interface property
6379         a require constructor property.
6380         Use the HAL udi for DBus path for devices.
6381         (nm_device_get_index): Remove.
6382         (set_property): Remove index handling.
6383         (get_property): Ditto.
6384         (nm_device_get_dbus_path): Remove.
6385
6386         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6387         property.
6388
6389         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6390         Access the device index through it's interface.
6391         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6392         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6393         index argument. Add interface argument.
6394
6395         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6396         the useless test_dev argument. Remove index argument. Add interface arugment.
6397
6398         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6399         device index through interface.
6400         (nm_system_set_mtu): Ditto.
6401
6402         * introspection/nm-device.xml: Remove the "Index" property.
6403
6404 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6405
6406         * src/nm-serial-device.c: 
6407         * src/nm-serial-device.c: 
6408         * src/nm-umts-device.c:
6409         * src/nm-umts-device.h: Implement.
6410
6411         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6412         allocated by libhal.
6413         (modem_device_creator): Implement.
6414         (register_built_in_creators): Register the modem creator.
6415
6416         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6417         Remove the unused test_dev argument.
6418
6419         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6420
6421         * src/Makefile.am: Add new files to build.
6422         Link in ppp-manager.
6423
6424         * libnm-util/nm-setting-umts.c: 
6425         * libnm-util/nm-setting-umts.h: 
6426         * libnm-util/nm-setting-serial.c: 
6427         * libnm-util/nm-setting-serial.h: Implement.
6428
6429         * libnm-util/Makefile.am: Add new files to build.
6430
6431 2007-11-28  Dan Williams  <dcbw@redhat.com>
6432
6433         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6434
6435         Support DHCP-provided static routes.
6436
6437         * src/nm-ip4-config.h
6438           src/nm-ip4-config.c
6439                 - Add get/set functions for static routes
6440
6441         * src/dhcp-manager/nm-dhcp-manager.c
6442                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6443                         DHCP response
6444
6445         * src/NetworkManagerSystem.c
6446                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6447                         interface when applying the IP4Config
6448
6449 2007-11-28  Dan Williams  <dcbw@redhat.com>
6450
6451         * src/nm-device-802-11-wireless.c
6452                 - (real_act_stage1_prepare): mark APs created for hidden networks
6453                         as non-broadcasting
6454
6455 2007-11-27  Dan Williams  <dcbw@redhat.com>
6456
6457         * system-settings/src/nm-system-config-interface.h
6458                 - Note how to store secrets on NMSetting objects
6459
6460         * system-settings/src/dbus-settings.c
6461                 - (connection_settings_get_secrets): implement
6462
6463 2007-11-27  Dan Williams  <dcbw@redhat.com>
6464
6465         * system-settings/plugins/ifcfg/Makefile.am
6466           system-settings/plugins/ifcfg/parser.c
6467           system-settings/plugins/ifcfg/parser.h
6468           system-settings/plugins/ifcfg/plugin.c
6469                 - Parse wireless connections too
6470
6471         * system-settings/src/dbus-settings.c
6472           system-settings/src/dbus-settings.h
6473           system-settings/src/main.c
6474                 - Handle connection update/removal if the plugin supports it
6475
6476 2007-11-27  Dan Williams  <dcbw@redhat.com>
6477
6478         * src/nm-dbus-manager.h
6479           src/nm-hal-manager.c
6480                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6481                         do it for them
6482
6483         * src/Makefile.am
6484           src/NetworkManagerDbusUtils.c
6485           src/NetworkManagerDbusUtils.h
6486                 - Remove these two source files; they are unused
6487
6488 2007-11-27  Dan Williams  <dcbw@redhat.com>
6489
6490         * src/vpn-manager/nm-vpn-manager.c
6491                 - (impl_vpn_manager_connect): fix system settings check (found by
6492                         James M. Leddy)
6493
6494 2007-11-26  Dan Williams  <dcbw@redhat.com>
6495
6496         * Fix warnings so everything compiles with --enable-more-warnings
6497
6498 2007-11-25  Dan Williams  <dcbw@redhat.com>
6499
6500         * system-settings/*
6501                 - Rework structure and code to use GModule-loaded plugins and a plugin
6502                         interface that plugins export to the system settings service
6503
6504 2007-11-21  Dan Williams  <dcbw@redhat.com>
6505
6506         * system-settings/*
6507                 - Add Soren's system settings service.  Needs work for distros other
6508                         than Fedora; the backends from NM should mostly migrate to here
6509                         and be converted to GObjects
6510
6511 2007-11-21  Dan Williams  <dcbw@redhat.com>
6512
6513         * libnm-util/nm-setting-vpn-properties.c
6514                 - (set_property): must deep-copy the given settings hash, otherwise
6515                         double-free errors occur when the setting is disposed of
6516
6517 2007-11-21  Dan Williams  <dcbw@redhat.com>
6518
6519         * src/vpn-manager/nm-vpn-act-request.h
6520           src/vpn-manager/nm-vpn-act-request.c
6521                 - Remove; unused
6522
6523 2007-11-20  Dan Williams  <dcbw@redhat.com>
6524
6525         * libnm-util/nm-utils.c
6526                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6527                    nm_utils_convert_ip4_addr_struct_array_to_string,
6528                    nm_utils_register_value_transformations): print out the readable
6529                         values of more types of properties of NMSettings subclasses
6530
6531 2007-11-20  Dan Williams  <dcbw@redhat.com>
6532
6533         * libnm-util/nm-setting-ip4-config.c
6534                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6535                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6536                         marshal GValueArrays inside collections, so switch to types that it
6537                         can actually marshal/demarshal
6538
6539 2007-11-16  Dan Williams  <dcbw@redhat.com>
6540
6541         * libnm-util/nm-setting-wireless-security.c
6542                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6543                         minimal verification of EAP methods too
6544                 - (verify): verify phase1 eap methods too
6545
6546 2007-11-15  Dan Williams  <dcbw@redhat.com>
6547
6548         * libnm-glib/nm-device.h
6549           libnm-glib/nm-device.c
6550                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6551                         const char *
6552
6553 2007-11-15  Dan Williams  <dcbw@redhat.com>
6554
6555         * libnm-glib/nm-device.c
6556                 - (get_product_and_vendor): don't try to free things that should be
6557                         freed
6558
6559 2007-11-15  Dan Williams  <dcbw@redhat.com>
6560
6561         * src/NetworkManagerUtils.c
6562                 - (nm_ethernet_address_is_valid): unbreak previous fix
6563
6564 2007-11-15  Dan Williams  <dcbw@redhat.com>
6565
6566         * src/supplicant-manager/nm-supplicant-config.c
6567                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6568                         options
6569
6570 2007-11-15  Dan Williams  <dcbw@redhat.com>
6571
6572         * src/NetworkManagerUtils.c
6573                 - (nm_ethernet_address_is_valid): fix style, clarify
6574                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6575
6576         * src/nm-device-802-11-wireless.c
6577                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6578                 - (nm_device_802_11_wireless_get_ssid,
6579                    nm_device_802_11_wireless_get_bssid,
6580                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6581                         before calling the ioctl; fixes valgrind-reported jump depends on
6582                         uninitialized value errors
6583
6584 2007-11-15  Dan Williams  <dcbw@redhat.com>
6585
6586         * libnm-util/nm-setting.c
6587                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6588                         unecessary to serialize 'name'
6589
6590         * src/nm-activation-request.c
6591                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6592                         the GetSecrets call
6593
6594 2007-11-15  Dan Williams  <dcbw@redhat.com>
6595
6596         * libnm-util/nm-setting-connection.h
6597           libnm-util/nm-setting-connection.c
6598                 - Rename the 'name' property to 'id', because it conflicted with the
6599                         NMSetting superclass' 'name' property.
6600
6601         * libnm-util/nm-setting.c
6602                 - (nm_setting_to_hash): serialize the 'name' property
6603                 - (one_property_cb): ignore 'name' on deserialization of a connection
6604
6605         * src/nm-device-802-11-wireless.c
6606           src/vpn-manager/nm-vpn-connection.c
6607           src/NetworkManagerPolicy.c
6608                 - Fix up for NMSettingConnection 'name'->'id' changes
6609
6610 2007-11-13  Dan Williams  <dcbw@redhat.com>
6611
6612         * libnm-glib/nm-device-802-11-wireless.h
6613           libnm-glib/nm-device-802-11-wireless.c
6614                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6615
6616         * test/nm-tool.c
6617           libnm-glib/libnm-glib-test.c
6618                 - Fixes for above change
6619
6620 2007-11-12  Dan Williams  <dcbw@redhat.com>
6621
6622         * src/supplicant-manager/nm-supplicant-settings-verify.c
6623                 - Allow fragment_size option
6624
6625         * src/supplicant-manager/nm-supplicant-settings-verify.c
6626                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6627                         EAP fragment size than the default to help some TLS connections
6628
6629 2007-11-12  Dan Williams  <dcbw@redhat.com>
6630
6631         Make certs actually work.  The private key is now a secret, and should be
6632         decrypted when requested by NM.  The private key and phase2 private key
6633         passwords are no longer interesting to NM because they should be used by
6634         the settings service to decrypt the private key itself before passing it
6635         to NM, and hence have been removed as fields.
6636
6637         * libnm-util/nm-setting-wireless-security.h
6638           libnm-util/nm-setting-wireless-security.c
6639                 - Remove private-key-passwd and phase2-private-key-passwd from
6640                         properties
6641                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6642                    need_secrets): use property #defines instead strings to keep things
6643                         consistent
6644                 - (need_secrets_tls): if a client certificate is present but no
6645                         private key, request the private key
6646                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6647                         remove private key password stuff, mark private keys as secret
6648
6649         * src/supplicant-manager/nm-supplicant-settings-verify.c
6650                 - Remove private_key_passwd and private_key2_passwd from opt_table
6651
6652 2007-11-09  Dan Williams  <dcbw@redhat.com>
6653
6654         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6655         Since the vpn-properties are managed and known by the VPN daemons themselves,
6656         libnm-util doesn't know what's secret and what's in the setting's 'data'
6657         member.
6658
6659         * libnm-util/nm-setting.h
6660           libnm-util/nm-setting.c
6661                 - Add the ability for subclasses to override update_one_secret
6662
6663         * libnm-util/nm-setting-vpn-properties.c
6664                 - Override update_one_secret and just copy the values into the
6665                         internal table
6666
6667 2007-11-09  Dan Williams  <dcbw@redhat.com>
6668
6669         * libnm-glib/nm-settings.h
6670           libnm-glib/nm-settings.c
6671                 - (nm_settings_new_error): remove
6672                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6673                         clients should use g_set_error() with NM_SETTINGS_ERROR
6674
6675 2007-11-09  Dan Williams  <dcbw@redhat.com>
6676
6677         * src/supplicant-manager/nm-supplicant-config.c
6678                 - (nm_supplicant_config_add_setting_wireless_security): private key
6679                         passwords are never sent to wpa_supplicant, because the supplicant
6680                         should never be reading random files from the disk.  Clients like
6681                         the applet are required to decrypt the private keys and send NM
6682                         the decrypted blobs.
6683
6684 2007-11-08  Dan Williams  <dcbw@redhat.com>
6685
6686         * libnm-util/nm-setting-wireless-security.h
6687           libnm-util/nm-setting-wireless-security.c
6688                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6689                         members to 802-11-wireless-security structure.  This should be used
6690                         to indicate that the values in private-key and phase2-private-key
6691                         are already decrypted by the user agent, and that no
6692                         private-key-passwd or phase2-private-key-passwd should be expected.
6693                         It is not meant to be a stored configuration value, but meant to
6694                         be set when the conneciton is sent to NM over dbus.
6695
6696 2007-11-08  Dan Williams  <dcbw@redhat.com>
6697
6698         * libnm-util/nm-connection.h
6699           libnm-util/nm-connection.c
6700                 - (nm_connection_need_secrets): add argument to return hints
6701
6702         * src/nm-device-802-11-wireless.c
6703                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6704                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6705                         nm_connection_need_secrets() change
6706
6707 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6708
6709         Rework NMSetting structures: Move each setting to it's own file.
6710         Convert to GObject. Remove home grown setting types and use GTypes.
6711         Use GObject property introspection for hash conversion, enumerating
6712         properties, etc.
6713
6714         * libnm-util/nm-setting-connection.[ch]
6715         * libnm-util/nm-setting-ip4-config.[ch]
6716         * libnm-util/nm-setting-ppp.[ch]
6717         * libnm-util/nm-setting-vpn.[ch]
6718         * libnm-util/nm-setting-vpn-properties.[ch]
6719         * libnm-util/nm-setting-wired.[ch]
6720         * libnm-util/nm-setting-wireless.[ch]
6721         * libnm-util/nm-setting-wireless-security.[ch]
6722
6723         New files, each containing a setting.
6724
6725         * libnm-util/nm-setting-template.[ch]: A template for creating new
6726         settings. To use it, just replace 'template' with the new setting
6727         name, and you're half-way done.
6728
6729         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6730         introspection instead of internal types and tables.
6731
6732         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6733
6734         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6735         GValue types defined by dbus-glib for composed types like collections,
6736         structures and maps.
6737
6738         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6739         a setting from connection takes the setting type now. Also, since
6740         the settings are in multiple files, include relevant settings.
6741
6742 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6743
6744         * configure.in:
6745         * src/backends/NetworkManagerGentoo.c:
6746         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6747         providers in Gentoo.
6748
6749 2007-10-31  Dan Williams  <dcbw@redhat.com>
6750
6751         * libnm-util/nm-connection.c
6752                 - (gvalue_to_string): handle UINT32 arrays
6753
6754 2007-10-31  Dan Williams  <dcbw@redhat.com>
6755
6756         * libnm-glib/nm-device.h
6757           libnm-glib/nm-device.c
6758                 - (nm_device_get_description): remove
6759                 - (nm_device_get_product, nm_device_get_vendor): add
6760                 - (nm_device_update_description): new function (private); walk HAL
6761                         devices to get product and vendor IDs for a specific device
6762
6763 2007-10-31  Dan Williams  <dcbw@redhat.com>
6764
6765         * src/nm-device-802-11-wireless.c
6766                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6767
6768 2007-10-29  Dan Williams  <dcbw@redhat.com>
6769
6770         * src/nm-hal-manager.c
6771                 - (device_added, device_new_capability): ignore device additions while
6772                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6773                         kernel module is unloaded and reloaded and recognized by NM again.
6774
6775 2007-10-26  Dan Williams  <dcbw@redhat.com>
6776
6777         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6778
6779         * src/NetworkManagerAP.c
6780           src/NetworkManagerAP.h
6781           libnm-glib/nm-access-point.c
6782           libnm-glib/nm-access-point.h
6783                 - Make 'rate' property a guint32 to better match with WEXT and
6784                         wpa_supplicant and to allow representation of higher bitrates
6785
6786         * src/nm-device-802-11-wireless.c
6787           introspection/nm-device-802-11-wireless.xml
6788           libnm-glib/nm-device-802-11-wireless.c
6789           libnm-glib/nm-device-802-11-wireless.h
6790                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6791
6792         * src/nm-device-802-3-ethernet.c
6793           src/nm-device-802-3-ethernet.h
6794           introspection/nm-device-802-3-ethernet.xml
6795           libnm-glib/nm-device-802-3-ethernet.c
6796           libnm-glib/nm-device-802-3-ethernet.h
6797                 - Make 'speed' property a guint32 to match other speed/rate types
6798                 - Make nm_device_802_3_ethernet_get_speed() static
6799
6800         * test/nm-tool.c
6801                 - Update for the changes above
6802
6803 2007-10-26  Dan Williams  <dcbw@redhat.com>
6804
6805         * src/named-manager/nm-named-manager.c
6806                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6807                     not calling fclose() twice on some error conditions
6808
6809 2007-10-26  Dan Williams  <dcbw@redhat.com>
6810
6811         * src/nm-activation-request.c
6812                 - (dispose): clean up indentation; get the right DBusGProxy object to
6813                         cancel the GetSecrets pending call on.  Need to use the Secrets
6814                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6815                         pending call doesn't get canceled, and pressing Cancel in the
6816                         applet's password dialog could cause get_secrets_cb() to be called
6817                         after the activation request has already been destroyed
6818
6819 2007-10-24  Dan Williams  <dcbw@redhat.com>
6820
6821         * src/supplicant-manager/nm-supplicant-config.c
6822                 - (nm_supplicant_config_add_blob): pass blob data and length for
6823                         verification
6824                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6825
6826 2007-10-24  Dan Williams  <dcbw@redhat.com>
6827
6828         * src/supplicant-manager/nm-supplicant-settings-verify.c
6829                 - (opt_table): max length for certificates should be 65536
6830
6831 2007-10-24  Dan Williams  <dcbw@redhat.com>
6832
6833         * src/supplicant-manager/nm-supplicant-interface.c
6834                 - (blob_free): correctly free blob data after use
6835                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6836
6837 2007-10-24  Dan Williams  <dcbw@redhat.com>
6838
6839         * libnm-util/nm-setting.c
6840                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6841                         EAP method need secrets
6842
6843 2007-10-24  Dan Williams  <dcbw@redhat.com>
6844
6845         * src/backends/NetworkManagerRedHat.c
6846                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6847
6848 2007-10-23  Dan Williams  <dcbw@redhat.com>
6849
6850         * libnm-util/nm-setting.c
6851           libnm-util/nm-setting.c
6852                 - (nm_setting_compare): implement
6853                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6854                    compare_one_hash_gvalue): compare the contents of a setting
6855
6856         * libnm-util/nm-connection.c
6857                 - (nm_connection_compare): implement
6858
6859 2007-10-23  Dan Williams  <dcbw@redhat.com>
6860
6861         * src/nm-activation-request.c
6862                 - (get_secrets_cb): handle getting a setting back that is more than
6863                         just secrets (ie, user changed auth or EAP method or something)
6864
6865 2007-10-23  Dan Williams  <dcbw@redhat.com>
6866
6867         * libnm-util/nm-setting.c
6868           libnm-util/nm-setting.h
6869                 - (nm_setting_verify): new function; verify one setting
6870                 - (nm_settings_verify_all): rename from nm_settings_verify()
6871                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6872                         all_settings
6873
6874         * libnm-util/nm-connection.c
6875                 - (nm_connection_replace_settings, nm_connection_verify,
6876                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6877
6878 2007-10-23  Dan Williams  <dcbw@redhat.com>
6879
6880         * src/nm-device-802-11-wireless.c
6881                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6882                         desired behavior
6883
6884 2007-10-23  Dan Williams  <dcbw@redhat.com>
6885
6886         * src/supplicant-manager/nm-supplicant-settings-verify.c
6887                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6888                         nm-settings.c
6889
6890 2007-10-23  Dan Williams  <dcbw@redhat.com>
6891
6892         * src/nm-device-802-11-wireless.c
6893                 - (real_act_stage2_config): after the first association failure,
6894                         if the connection still needs secrets ask the user for them
6895                         explicitly.  After the fourth association failure due to bad
6896                         secrets, fail the connection entirely.  Handles the GetSecrets
6897                         loop that NM gets into when the provided secrets don't match up
6898                         with the connection details.
6899
6900 2007-10-23  Dan Williams  <dcbw@redhat.com>
6901
6902         * src/supplicant-manager/nm-supplicant-config.c
6903                 - (nm_supplicant_config_add_setting_wireless_security): only add
6904                         WPA-specific options when WPA is in use
6905
6906 2007-10-23  Dan Williams  <dcbw@redhat.com>
6907
6908         * src/supplicant-manager/nm-supplicant-config.c
6909                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6910                         secret doesn't need to be unhexified
6911
6912 2007-10-23  Dan Williams  <dcbw@redhat.com>
6913
6914         * libnm-util/nm-setting.c
6915                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6916                         before trying to do something with it
6917
6918 2007-10-23  Dan Williams  <dcbw@redhat.com>
6919
6920         * src/nm-device-802-11-wireless.c
6921                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6922
6923 2007-10-23  Dan Williams  <dcbw@redhat.com>
6924
6925         * src/nm-device-802-11-wireless.c
6926                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6927                         non-SSID-broadcasting APs
6928
6929 2007-10-23  Dan Williams  <dcbw@redhat.com>
6930
6931         * src/NetworkManagerAP.c
6932                 - (match_cipher, security_compatible): remove
6933                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6934                         libnm-util instead
6935
6936 2007-10-23  Dan Williams  <dcbw@redhat.com>
6937
6938         * libnm-util/nm-utils.c
6939           libnm-util/nm-utils.h
6940                 - (nm_utils_ap_security_compatible): common function for checking
6941                         whether a specific AP is compatible with an NMConnection
6942
6943 2007-10-23  Dan Williams  <dcbw@redhat.com>
6944
6945         * libnm-util/nm-setting.c
6946                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6947                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6948                    need_secrets_password, setting_wireless_security_verify): fix
6949                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6950                         secrets logic for each supported EAP method
6951
6952 2007-10-23  Dan Williams  <dcbw@redhat.com>
6953
6954         * src/supplicant-manager/nm-supplicant-config.c
6955                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6956                         config option name, should be "private_key2_passwd"
6957
6958 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6959
6960         Implement support for static IP addresses, additional/overridden DNS and
6961         DNS domain search lists.
6962
6963         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6964         (ip4_addresses_to_gvalue): Implement.
6965         (convert_array_to_byte_array): Implement.
6966         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6967         NM_S_TYPE_IP4_ADDRESSES.
6968         (nm_setting_hash): Ditto.
6969         (default_setting_clear_secrets): Add a default case for the switch: IP address
6970         shouldn't be secret, ever.
6971         (setting_ip4_config_verify): Update, requires addresses in case of manual
6972         configurations.
6973         (setting_ip4_config_destroy): Free stuff.
6974
6975         * src/nm-device.c (merge_ip4_config): Implement.
6976         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6977
6978 2007-10-22  Dan Williams  <dcbw@redhat.com>
6979
6980         * libnm-util/nm-setting.c
6981                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6982                         pairwise cipher options for Dynamic WEP
6983
6984 2007-10-21  Dan Williams  <dcbw@redhat.com>
6985
6986         * src/NetworkManagerAP.c
6987           src/NetworkManagerAP.h
6988                 - Rename 'articifical' -> 'fake' since that's what they are until
6989                         noticed in scans
6990                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6991                         from the attributes in an NMConnection object
6992                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6993                         WPA Enterprise
6994                 - (nm_ap_match_in_list): find a matching AP in a scan list
6995
6996         * src/nm-device-802-11-wireless.c
6997                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6998                         AP when searching the scan list; match on frequency and mode too
6999                 - (nm_device_802_11_wireless_get_frequency): implement
7000                 - (merge_scanned_ap): replace duplicate matching logic with
7001                         nm_ap_match_in_list()
7002                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7003                         the user is trying to connect to a hidden network that is not yet
7004                         known from the scan list
7005                 - (activation_success_handler): now that the card knows the AP's BSSID,
7006                         there may already be a scanned AP in the scan list that is what
7007                         we really wanted to connect to, but didn't know at the time.  Use
7008                         that instead of the 'fake' AP created at activation start and get
7009                         rid of the 'fake' AP 
7010                 - (cull_scan_list): don't remove fake APs
7011
7012 2007-10-21  Dan Williams  <dcbw@redhat.com>
7013
7014         * src/nm-activation-request.h
7015           src/nm-activation-request.c
7016                 - (nm_act_request_set_specific_object): new function; allow setting the
7017                         specific object if one isn't set yet
7018
7019 2007-10-20  Dan Williams  <dcbw@redhat.com>
7020
7021         * src/supplicant-manager/nm-supplicant-config.h
7022           src/supplicant-manager/nm-supplicant-config.c
7023                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7024                         table to store blobs
7025                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7026                         blob hash table
7027                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7028                 - (nm_supplicant_config_add_setting_wireless_security): handle
7029                         options that use certificates (ie, blobs)
7030
7031         * src/nm-device-802-11-wireless.c
7032                 - (build_supplicant_config): pass a UID (just use the connection path)
7033                         to the supplicant config as now required
7034
7035         * src/supplicant-manager/nm-supplicant-interface.c
7036                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7037                         there are any blobs to send to wpa_supplicant, send those first
7038                         before sending the network configuration
7039
7040 2007-10-19  Dan Williams  <dcbw@redhat.com>
7041
7042         Split the GetSecrets() call off to a separate D-Bus interface so that it
7043         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7044         should be able to call GetSecrets().
7045
7046         * include/NetworkManager.h
7047                 - Define the connection secrets D-Bus interface
7048
7049         * src/vpn-manager/nm-vpn-connection.c
7050                 - (clear_need_auth): get the right proxy object for the connection
7051                         secrets interface
7052                 - (get_connection_secrets): use the connection secrets proxy; send
7053                         empty hints in get secrets request
7054
7055         * src/nm-activation-request.c
7056                 - (nm_act_request_request_connection_secrets): use the connection
7057                         secrets proxy; send empty hints in get secrets request
7058
7059         * src/nm-manager.c
7060           src/nm-manager.h
7061                 - (connection_get_settings_cb): set the connection secrets proxy on
7062                         the connection object too
7063                 - (internal_new_connection_cb): create the connection secrets proxy
7064
7065         * introspection/nm-settings-connection.xml
7066                 - Define Connection.Secrets interface and move GetSecrets there
7067                 - Add a 'hints' argument to GetSecrets
7068
7069         * libnm-glib/nm-settings.c
7070           libnm-glib/nm-settings.h
7071                 - (impl_connection_settings_get_secrets): add 'hints' argument
7072
7073 2007-10-19  Dan Williams  <dcbw@redhat.com>
7074
7075         * src/nm-device.c
7076                 - (constructor): add message about what path a device is exported as
7077                         to help in debugging rh #339011
7078
7079 2007-10-17  Dan Williams  <dcbw@redhat.com>
7080
7081         * libnm-util/nm-utils.h
7082           libnm-util/nm-utils.c
7083                 - (nm_utils_security_valid): common function to help find the intersection
7084                         of capabilities of devices and (optionally) access points
7085
7086 2007-10-17  Dan Williams  <dcbw@redhat.com>
7087
7088         * src/nm-device-802-11-wireless.c
7089                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7090                         don't get erroneously cleared
7091
7092 2007-10-17  Dan Williams  <dcbw@redhat.com>
7093
7094         * src/nm-manager.h
7095           src/nm-manager.c
7096           src/nm-hal-manager.c
7097                 - (device_removed, finalize, nm_manager_remove_device,
7098                    nm_manager_sleep): add a 'deactivate' argument to 
7099                    nm_manager_remove_device() to fully deactivate devices when necessary
7100                    (ie, always except when waking up)
7101
7102 2007-10-16  Dan Williams  <dcbw@redhat.com>
7103
7104         * libnm-util/nm-setting.c
7105                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7106                         also isn't valid phase2 autheap method
7107
7108 2007-10-16  Dan Williams  <dcbw@redhat.com>
7109
7110         * libnm-glib/nm-client.c
7111                 - (update_wireless_status): consolidate updates of wireless status
7112                 - (constructor): use update_wireless_status()
7113                 - (manager_running): set wireless status off when NM goes away; requery
7114                         the wireless status when NM comes back
7115
7116 2007-10-16  Dan Williams  <dcbw@redhat.com>
7117
7118         * libnm-glib/nm-client.c
7119                 - (nm_client_activate_device): actually use the fixed-up specific
7120                         object path
7121
7122 2007-10-16  Dan Williams  <dcbw@redhat.com>
7123
7124         * src/nm-hal-manager.c
7125                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7126                         killswitch error messages once
7127
7128 2007-10-16  Dan Williams  <dcbw@redhat.com>
7129
7130         * src/nm-manager.c
7131                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7132                         if it's disabled in hardware; don't touch network devices while
7133                         NM is asleep
7134
7135 2007-10-16  Dan Williams  <dcbw@redhat.com>
7136
7137         * libnm-util/nm-client.c
7138                 - (nm_client_activate_device): convert NULL specific_object to "/",
7139                         which is used in place of NULL
7140
7141         * src/nm-manager.c
7142                 - (impl_manager_activate_device): convert "/" specific_object back into
7143                         NULL
7144
7145 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7146
7147         Implement a generic NMSetting creator from setting name.
7148         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7149         add a virtual function 'populate_fn'.
7150
7151         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7152         (register_default_creators): Register setting creators instead of functions
7153         that create and then populate.
7154         (parse_one_setting): Use the common setting creator and then setting specific
7155         poplulation function.
7156
7157         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7158         they all looked exactly the same.
7159         Add a 'populate_fn' virtual function to NMSetting.
7160         Use default virtual functions in case they are not overriden.
7161         (nm_setting_populate_from_hash): Implement.
7162
7163         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7164         name, use a defined string.
7165         (real_act_stage4_get_ip4_config): Ditto.
7166
7167 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7168
7169         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7170         HAL is int, not uint.
7171
7172 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7173
7174         Implement killswitch polling through HAL.
7175
7176         * src/nm-manager.c: Add wireless hardware status property. Add 
7177         'properties-changed' signal for changes in wireless and wireless hardware
7178         state changes.
7179
7180         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7181         and update NMManager's wireless hardware state when it has changed.
7182         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7183         already does that.
7184
7185         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7186         values of wireless state and wireless hardware state. Listen for the
7187         'properties-changed' signals, update the cached values and emit notify.
7188
7189         * include/NetworkManager.h: Fix a typo in a comment.
7190
7191 2007-10-14  Dan Williams  <dcbw@redhat.com>
7192
7193         * libnm-util/nm-setting.c
7194                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7195
7196 2007-10-13  Dan Williams  <dcbw@redhat.com>
7197
7198         * libnm-util/nm-setting.h
7199           libnm-util/nm-setting.c
7200           src/supplicant-manager/nm-supplicant-config.c
7201                 - Make the 'proto' field of the 802-11-wireless-security field a
7202                         string list
7203
7204 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7205
7206         Rework the "properties-changed" signal listening implementation.
7207         Add a generic implementation to NMObject class that listens for
7208         the signal and calls property setters of the target NMObject.
7209
7210         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7211
7212         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7213         code to the end of file so that all the static functions are available
7214         without extra declarations.
7215         Remove the "properties-changed" signal handling and use the framework from
7216         NMObject.
7217         Implement property setters for properties that change with 
7218         "properties-changed" signal.
7219
7220         * libnm-glib/nm-access-point.c: Ditto.
7221
7222 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7223
7224         Rework the "properties-changed" signal implementation.
7225         In classes that need to use it, just emit "GObject::notify" and the new
7226         framework takes care of the rest to make the signal available on dbus.
7227         The framework queues the notifications and tries to send as many together
7228         in one signal as possible.
7229
7230         * src/nm-properties-changed-signal.c:
7231         * src/nm-properties-changed-signal.h: Implement.
7232
7233         * src/Makefile.am: Add new files to build.
7234
7235         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7236         signal.
7237
7238         * src/nm-device-802-11-wireless.c: Ditto.
7239
7240 2007-10-10  Dan Williams  <dcbw@redhat.com>
7241
7242         * src/nm-manager.c
7243                 - (wait_for_connection_expired): ensure info is valid
7244                 - (connection_added_default_handler): Should only remove pending
7245                         connection info when the manager has the connection that it's
7246                         waiting for.  Fixes segfault in wait_for_connection_info().  
7247
7248 2007-10-10  Dan Williams  <dcbw@redhat.com>
7249
7250         * libnm-util/nm-setting.c
7251           libnm-util/nm-setting.h
7252                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7253                         can use if they choose.  Should be filled in by the settings service
7254                         on-the-fly with the currently logged in user's username
7255
7256 2007-10-10  Dan Williams  <dcbw@redhat.com>
7257
7258         * src/nm-device-802-11-wireless.c
7259                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7260                         as such, because even if the manager fills in the SSID, NM still
7261                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7262                         its SSID
7263
7264 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7265
7266         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7267         code that used NM's own version of dbus signal handling and custom dictionary
7268         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7269         and we get to maintain over 2000 lines less code.
7270
7271         * libnm-util/dbus-dict-helpers.c:
7272         * libnm-util/dbus-dict-helpers.h: Remove.
7273
7274         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7275
7276         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7277
7278         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7279         handlers.
7280
7281         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7282
7283         * configure.in: Remove test/libnm-util/Makefile creation.
7284
7285         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7286
7287         * test/libnm-util/: Remove the whole directory.
7288
7289 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7290
7291         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7292         device_state_changed_idle_id variable or it would contain some random value and the
7293         schedule_change_check calls would not do anything.
7294
7295 2007-10-09  Dan Williams  <dcbw@redhat.com>
7296
7297         * src/nm-device-802-11-wireless.c
7298                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7299                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7300                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7301                         merging of non-SSID-broadcasting APs
7302
7303 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7304
7305         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7306         "guint8 *" since it's usually used with GByteArray->data.
7307         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7308
7309 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7310
7311         * src/NetworkManagerUtils.c
7312         (nm_utils_is_empty_ssid):
7313         (nm_utils_escape_ssid):
7314         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7315         lot of places, so they belong to libnm-utils instead.
7316
7317         Now with 100% less compiler warnings:
7318
7319         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7320         (nm_dbus_unescape_object_path): Ditto.
7321         (nm_utils_ssid_to_utf8): Ditto.
7322         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7323         (nm_utils_escape_ssid): Ditto.
7324         (nm_utils_same_ssid): Ditto.
7325
7326         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7327         (add_one_connection_element): Remove an unused variable.
7328         (impl_manager_get_active_connections): Ditto.
7329
7330         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7331         variable.
7332
7333         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7334         from the previous commit.
7335
7336         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7337         (real_act_stage1_prepare): Ditto.
7338         (activation_success_handler): Ditto.
7339         (get_property): Ditto.
7340
7341         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7342         variable.
7343
7344         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7345         it's always set.
7346
7347         * src/supplicant-manager/nm-supplicant-config.c 
7348         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7349         to expected "char *".
7350         (nm_supplicant_config_add_setting_wireless): Ditto.
7351         (nm_supplicant_config_remove_option): Remove, not used.
7352
7353         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7354         not double.
7355         (test_wireless_enabled): Ifdef out unused function.
7356         (device_deactivate): Ditto.
7357         (device_state_changed): Ditto.
7358         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7359         (nm_utils_escape_ssid): Ditto.
7360
7361         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7362         (nm_utils_is_empty_ssid): Ditto.
7363
7364         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7365         unused variable.
7366
7367         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7368         (setting_vpn_properties_update_secrets): Ditto.
7369         (int_to_gvalue): Ifdef out for now, not used.
7370         (byte_to_gvalue): Ditto.
7371
7372         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7373         Unused, remove.
7374
7375 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7376
7377         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7378         about dbus manager, not named manager.
7379         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7380
7381         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7382         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7383         However, the same signal is emitted when we destroy it and there's 
7384         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7385
7386         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7387         releasing the DBusGConnection, since proxy needs a conneciton.
7388         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7389
7390 2007-10-08  Dan Williams  <dcbw@redhat.com>
7391
7392         * src/NetworkManager.c
7393                 - (main): error on unknown command-line options
7394
7395 2007-10-08  Dan Williams  <dcbw@redhat.com>
7396
7397         Reimplement the invalid connection list.  Don't try to re-activate a
7398         connection that just failed or was canceled.
7399
7400         * src/nm-device.c
7401                 - (connection_secrets_failed_cb): fail device activation, don't just
7402                         deactivate the device.  Listeners have to know about the failure.
7403
7404         * src/NetworkManagerPolicy.c
7405                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7406                         the connection list given to a device's get_best_connection()
7407                         method
7408                 - (device_state_changed): tag failed connections as invalid; clear the
7409                         tag from successful connections
7410
7411 2007-10-08  Dan Williams  <dcbw@redhat.com>
7412
7413         Fix problems with interrupted activation.  Previously, choosing an AP
7414         from the menu, then choosing another one before the first connection was
7415         successful wouldn't deactivate the device before starting the new connection
7416         on that same device.
7417
7418         * src/NetworkManagerPolicy.c
7419                 - (deactivate_old_device, device_state_changed, state_changed,
7420                    nm_policy_new): wrong place to deactivate old devices
7421
7422         * src/nm-manager.c
7423                 - (pending_connection_info_destroy, finalize,
7424                    wait_for_connection_expired): decouple destruction of the pending
7425                         connection info from the manager device
7426                 - (connection_added_default_handler): deactivate any active or
7427                         activating device before starting a new activation
7428                 - (impl_manager_activate_device): deactivate any active or activating
7429                         device before starting a new activation; be sure not to leak
7430                         pending connection info if a new activation request arrives but
7431                         there's already a pending one in-process
7432
7433 2007-10-08  Dan Williams  <dcbw@redhat.com>
7434
7435         * src/NetworkManagerAP.h
7436           src/NetworkManagerAP.c
7437                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7438                         should handle default SSIDs and whether or not to autoconnect
7439                         to them
7440
7441 2007-10-08  Dan Williams  <dcbw@redhat.com>
7442
7443         * src/NetworkManagerPolicy.c
7444                 - (nm_policy_device_change_check): print out connection name where
7445                         possible
7446
7447 2007-10-08  Dan Williams  <dcbw@redhat.com>
7448
7449         * src/nm-device-802-11-wireless.c
7450           src/nm-device-802-11-wireless.h
7451                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7452                         'hidden-ap-found' signal (for internal use only) that allows the
7453                         NMManager to fill in the AP's SSID if a connection has that AP's
7454                         BSSID in its seen-bssids list
7455
7456         * src/nm-manager.c
7457                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7458                         wireless device's hidden-ap-found signal and fill in the APs SSID
7459                         if possible
7460
7461 2007-10-07  Dan Williams  <dcbw@redhat.com>
7462
7463         * src/nm-manager.c
7464           src/nm-manager.h
7465                 - Add a 'connections-added' signal to batch together updates of large
7466                         numbers of connections, like when reading from a settings service
7467                         the first time.  Otherwise, the policy would just activate the first
7468                         suitable connection it saw rather than waiting for the full list
7469                         to arrive.
7470                 - (nm_manager_class_init): register new signal
7471                 - (get_type_for_proxy, connection_get_settings_cb,
7472                    get_connection_for_proxy): centralize places where a proxy's setting
7473                         service is determined
7474                 - (free_get_settings_info): if the call being freed is the last call
7475                         in a pending call group, fire off the connections-added signal
7476                 - (internal_new_connection_cb): add call to a pending call group if
7477                         requested
7478                 - (list_connections_cb): always create a call group here, because this
7479                         call results in a batch of new connections
7480                 - (initial_get_connections): start getting system connections first
7481                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7482                         removed signal when destroying connections
7483
7484         * src/NetworkManagerPolicy.c
7485                 - (nm_policy_new, connections_added): handle connections-added signal
7486                         from the manager
7487
7488 2007-10-06  Dan Williams  <dcbw@redhat.com>
7489
7490         * src/nm-device-802-11-wireless.c
7491                 - (constructor): fix leaked socket
7492
7493 2007-10-06  Dan Williams  <dcbw@redhat.com>
7494
7495         * src/NetworkManagerPolicy.c
7496                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7497                         connection in the list returned by nm_manager_get_connections() is
7498                         reffed, but they weren't getting unreffed before returning
7499
7500 2007-10-06  Dan Williams  <dcbw@redhat.com>
7501
7502         * src/nm-manager.c
7503                 - (connections_to_slist): sort connections first on autoconnect, then
7504                         on timestamp
7505
7506 2007-10-06  Dan Williams  <dcbw@redhat.com>
7507
7508         * libnm-util/nm-connection.c
7509                 - (gvalue_to_string): handle UINT64
7510
7511 2007-10-06  Dan Williams  <dcbw@redhat.com>
7512
7513         * src/NetworkManagerPolicy.c
7514                 - (connection_updated, nm_policy_new): recheck state when a connection
7515                         gets updated
7516
7517 2007-10-06  Dan Williams  <dcbw@redhat.com>
7518
7519         * src/nm-manager.c
7520           src/nm-manager.h
7521                 - (nm_manager_get_connection_dbus_path): make static
7522                 - (nm_manager_update_connections): remove; unused
7523                 - Add a connection-updated signal
7524                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7525                         handle connection object updates
7526
7527 2007-10-06  Dan Williams  <dcbw@redhat.com>
7528
7529         * src/NetworkManagerPolicy.c
7530                 - (connection_removed): deactivate removed connections
7531
7532 2007-10-06  Dan Williams  <dcbw@redhat.com>
7533
7534         * libnm-util/nm-connection.c
7535           libnm-util/nm-connection.h
7536                 - (nm_connection_replace_settings): new function
7537
7538 2007-10-06  Dan Williams  <dcbw@redhat.com>
7539
7540         * libnm-glib/nm-device-802-11-wireless.c
7541                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7542                         on error when getting the active access point over D-Bus from NM
7543
7544 2007-10-05  Dan Williams  <dcbw@redhat.com>
7545
7546         * libnm-util/nm-setting.c
7547                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7548                         to the NMSettingWireless table; it's now a string array not an array
7549                         of byte arrays
7550
7551 2007-10-05  Dan Williams  <dcbw@redhat.com>
7552
7553         * libnm-glib/nm-device-802-11-wireless.c
7554                 - Cache properties and update cached properties on D-Bus signals from NM
7555
7556 2007-10-05  Dan Williams  <dcbw@redhat.com>
7557
7558         * src/nm-device-802-11-wireless.c
7559                 - (set_current_ap): consolidate current_ap handling code into one place
7560                         to ensure that PropertiesChanged signals are emitted in all cases
7561                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7562                    nm_device_802_11_wireless_dispose): use set_current_ap()
7563
7564 2007-10-05  Dan Williams  <dcbw@redhat.com>
7565
7566         * libnm-glib/nm-access-point.c
7567           libnm-glib/nm-access-point.h
7568                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7569                         because the value is cached internally now.  Callers should not
7570                         free the internal value.
7571                 - Make signal name defines private
7572
7573         * test/nm-tool.c
7574           libnm-glib/libnm-glib-test.c
7575                 - Don't free value returned from nm_access_point_get_hw_address()
7576
7577 2007-10-04  Dan Williams  <dcbw@redhat.com>
7578
7579         * introspection/nm-device-802-11-wireless.xml
7580           src/nm-device-802-11-wireless.h
7581           src/nm-device-802-11-wireless.c
7582                 - Add a PropertiesChanged signal for wireless device
7583                 - Store currently associated access point
7584                 - (periodic_update): generalize; update rate here too and emit the
7585                         correct PropertiesChanged signal when stuff changes
7586                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7587                    real_activation_cancel_handler): clear current_ap when device is
7588                         deactivated
7589                 - (link_to_specific_ap, get_ap_blacklisted,
7590                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7591                         code
7592                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7593                         outside this file
7594                 - (real_set_hw_address): emit property changed signal if the card's
7595                         MAC address changes
7596                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7597                         the card is supposed to be connecting to
7598                 - (activation_success_handler): send out property updates on successful
7599                         activation
7600                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7601                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7602                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7603                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7604                         is now boxed; add PropertiesChanged signal
7605
7606 2007-10-04  Dan Williams  <dcbw@redhat.com>
7607
7608         * libnm-util/nm-connection.c
7609           libnm-util/nm-connection.h
7610                 - (nm_connection_verify): new function
7611
7612 2007-10-04  Dan Williams  <dcbw@redhat.com>
7613
7614         * libnm-util/nm-setting.c
7615                 - (nm_settings_verify): use #defines when possible rather than strings
7616                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7617                 - (setting_vpn_verify): tighter validity check on 'service_type'
7618
7619 2007-10-04  Dan Williams  <dcbw@redhat.com>
7620
7621         * libnm-glib/nm-settings.c
7622                 - (nm_connection_settings_class_init): provide correct type for argument
7623                         to the Updated signal so that dbus-glib knows how to marshal it
7624
7625 2007-10-03  Dan Williams  <dcbw@redhat.com>
7626
7627         * src/nm-device-802-3-ethernet.c
7628                 - (real_get_best_connection): don't create automatic connections
7629                         internally; clients should provide a setting that applies to
7630                         the device with 'autoconnect: True'.  Problem was that these
7631                         internally auto-created connections don't have a proxy or service
7632                         name becuase they weren't created by a settings daemon, and therefore
7633                         clients have no idea what to do with them.
7634
7635 2007-10-03  Dan Williams  <dcbw@redhat.com>
7636
7637         * src/nm-device-802-11-wireless.c
7638           src/nm-device-802-11-wireless.h
7639           introspection/nm-device-802-11-wireless.xml
7640                 - GetActiveNetworks -> GetAccessPoints
7641                 - ActiveNetwork -> ActiveAccessPoint
7642                 - NetworkAdded -> AccessPointAdded
7643                 - NetowrkRemoved -> AccessPointRemoved
7644
7645         * libnm-glib/nm-device-802-11-wireless.c
7646           libnm-glib/nm-device-802-11-wireless.h
7647                 - network-added signal -> access-point-added
7648                 - network-removed signal -> access-point-removed
7649                 - nm_device_802_11_wireless_get_active_network() ->
7650                         nm_device_802_11_wireless_get_active_access_point()
7651                 - nm_device_802_11_wireless_get_network_by_path() ->
7652                         nm_device_802_11_wireless_get_access_point_by_path()
7653                 - nm_device_802_11_wireless_get_networks() ->
7654                         nm_device_802_11_wireless_get_access_points()
7655
7656         * libnm-glib/libnm-glib-test.c
7657           test/nm-tool.c
7658           src/NetworkManagerPolicy.c
7659                 - Fixups for Network -> AccessPoint
7660
7661 2007-10-03  Dan Williams  <dcbw@redhat.com>
7662
7663         Add a GetActiveConnections() method on the Manager object.
7664
7665         * src/nm-manager.c
7666           src/nm-manager.h
7667           introspection/nm-manager.xml
7668                 - (connection_get_settings_cb): keep connection type around too
7669                 - (impl_manager_get_active_connections, add_one_connection_element):
7670                         implement; returns all active connections and what devices they
7671                         apply to
7672
7673         * libnm-glib/nm-client.c
7674           libnm-glib/nm-client.h
7675           introspection/nm-manager-client.xml
7676                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7677                         by the caller; free here to avoid memory leak
7678                 - (nm_client_get_active_connections): implement; return the list of
7679                         active connections
7680                 - (nm_client_free_active_connection_element): implement; free an element
7681                         of the GSList returned by nm_client_get_active_connections()
7682
7683 2007-10-03  Dan Williams  <dcbw@redhat.com>
7684
7685         * src/nm-device-802-11-wireless.c
7686                 - (nm_device_802_11_wireless_update_bssid): remove
7687                 - (get_active_ap): new function; find the AP in the scan list which
7688                         matches the current BSSID and SSID of the wireless device
7689                 - (nm_device_802_11_periodic_update): get current AP using
7690                         get_active_ap() and print AP roam messages
7691
7692 2007-10-01  Dan Williams  <dcbw@redhat.com>
7693
7694         * libnm-util/nm-setting.h
7695                 - Add a 'timestamp' option to NMSettingConnection
7696                 - Add a UINT64 type
7697
7698         * libnm-util/nm-setting.c
7699                 - (uint64_to_gvalue): new function
7700                 - (nm_setting_populate_from_hash, nm_setting_hash,
7701                    default_setting_clear_secrets): handle UINT64 type
7702                 - con_table: add 'timestamp' member
7703
7704 2007-10-01  Dan Williams  <dcbw@redhat.com>
7705
7706         * src/nm-manager.c
7707                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7708                         value when the connection can be activated immediately
7709
7710 2007-10-01  Dan Williams  <dcbw@redhat.com>
7711
7712         * libnm-glib/nm-device.c
7713                 - (nm_device_class_init): actually tell glib about the carrier-changed
7714                         signal
7715
7716 2007-10-01  Dan Williams  <dcbw@redhat.com>
7717
7718         * configure.in
7719           src/marshallers/Makefile.am
7720           src/marshallers/nm-marshal.list
7721           src/marshallers/nm-marshal-main.c
7722                 - Consolidate glib marshallers into one place
7723
7724         * src/dhcp-manager/Makefile.am
7725           src/dhcp-manager/nm-dhcp-manager.c
7726           src/supplicant-manager/Makefile.am
7727           src/supplicant-manager/nm-supplicant-manager.c
7728           src/supplicant-manager/nm-supplicant-interface.c
7729           src/ppp-manager/Makefile.am
7730           src/ppp-manager/nm-ppp-manager.c
7731           src/vpn-manager/Makefile.am
7732           src/vpn-manager/nm-vpn-connection.c
7733           src/Makefile.am
7734                 - Use consolidated marshallers
7735
7736         * src/dhcp-manager/nm-dhcp-marshal.list
7737           src/dhcp-manager/nm-dhcp-marshal-main.c
7738           src/supplicant-manager/nm-supplicant-marshal-main.c
7739           src/supplicant-manager/nm-supplicant-marshal.list
7740           src/nm-marshal-main.c
7741           src/nm-marshal.list
7742           src/ppp-manager/nm-ppp-marshal-main.c
7743           src/ppp-manager/nm-ppp-marshal.list
7744           src/vpn-manager/nm-vpn-marshal-main.c
7745           src/vpn-manager/nm-vpn-marshal.list
7746                 - Remove
7747
7748 2007-10-01  Dan Williams  <dcbw@redhat.com>
7749
7750         * include/NetworkManagerVPN.h
7751                 - define VPN connection state change reason codes
7752
7753         * src/vpn-manager/Makefile.am
7754           src/vpn-manager/nm-vpn-marshal.list
7755           src/vpn-manager/nm-vpn-marshal-main.c
7756                 - Add marshallers for StateChanged signal
7757
7758         * introspection/nm-vpn-connection.xml
7759                 - New Banner property
7760                 - StateChanged signal now includes a 'reason' argument
7761
7762         * src/vpn-manager/nm-vpn-connection.c
7763           src/vpn-manager/nm-vpn-connection.h
7764                 - Add a "Banner" property that contains the returned VPN server login
7765                         banner (if any); valid only in the ACTIVATED state
7766                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7767                         a 'reason' argument and emits that reason along with the
7768                         state-changed signal
7769                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7770                 - (nm_vpn_connection_ip4_config_get): save banner for later
7771                 - (nm_vpn_connection_get_banner, get_property,
7772                    nm_vpn_connection_class_init): implement Banner property
7773
7774         * src/vpn-manager/nm-vpn-service.c
7775                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7776                         connection list because elements may get added/removed from it
7777                         while iterating over the list
7778                 - (connection_state_changed): signal now includes the 'reason' argument
7779
7780         * libnm-glib/nm-vpn-connection.c
7781           libnm-glib/nm-vpn-connection.h
7782                 - (nm_vpn_connection_get_banner): new function
7783                 - (state_changed_proxy): handle reason argument
7784
7785 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7786
7787         * src/nm-manager.c:
7788         * src/nm-manager.h:
7789         Implement device activation through NMManager.
7790         Implement "pending device activation" here - If the connection isn't found,
7791         we try to wait for up to 5 seconds for the connection to be provided.
7792         Add NMConnectionType argument to "connection-added" and "connection-removed"
7793         signals.
7794         (nm_manager_get): Remove. Finally.
7795
7796         * src/nm-activation-request.c: 
7797         * src/nm-activation-request.h: 
7798         Remove all the deferred activation code.
7799
7800         * src/nm-device.c: Remove all the deferred activation code. Once the device
7801         activation is started, it's started. Update the activation virtual function
7802         signature.
7803
7804         * src/nm-device-interface.c:
7805         * src/nm-device-interface.h:
7806         Device activation now takes only NMActRequest argument.
7807         Don't expose device activation directly on dbus, it's supposed to go through
7808         NMManager now.
7809
7810         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7811         a bit more compact.
7812         Use the new device activation methods through NMManager.
7813
7814         * introspection/nm-manager-client.xml: 
7815         * introspection/nm-manager.xml: 
7816         * libnm-glib/nm-client.c:
7817         * libnm-glib/nm-client.h:
7818         Add device activation method.
7819         
7820         * libnm-glib/nm-device.c: 
7821         * libnm-glib/nm-device.h: 
7822         * introspection/nm-device.xml: 
7823         Remove device activation method. It's done through NMManager now.
7824
7825         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7826         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7827
7828 2007-09-28  Dan Williams  <dcbw@redhat.com>
7829
7830         * libnm-glib/nm-vpn-connection.c
7831                 - (nm_vpn_connection_get_state): try to update state if the current
7832                         state is UNKNOWN
7833
7834 2007-09-27  Dan Williams  <dcbw@redhat.com>
7835
7836         Patch from Bill Nottingham
7837
7838         * src/supplicant-manager/nm-supplicant-config.c
7839                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7840                         data to the supplicant
7841
7842 2007-09-27  Dan Williams  <dcbw@redhat.com>
7843
7844         * src/NetworkManagerSystem.c
7845                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7846                         and all address manipulation here should be happening on the
7847                         _VPN_ device, not the active device
7848
7849 2007-09-26  Dan Williams  <dcbw@redhat.com>
7850
7851         * src/nm-manager.c
7852           src/nm-manager.h
7853           src/nm-activation-request.c
7854           src/nm-activation-request.h
7855                 - Move the GetSecrets stuff out of the NMManager instance because it
7856                         doesn't really need to be there and complicates things
7857
7858         * src/nm-device.c
7859                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7860                         connection-secrets-failed signal and deactivate the device if
7861                         the GetSecrets call fails
7862
7863         * src/nm-device-802-11-wireless.c
7864                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7865                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7866                         secrets and give correct hints about whether new secrets should be
7867                         asked for by the client or not
7868
7869 2007-09-26  Dan Williams  <dcbw@redhat.com>
7870
7871         * src/vpn-manager/nm-vpn-connection.c
7872                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7873                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7874                         to the secrets-updated signal of the NMConnection since updating
7875                         the secrets is done within the scope of the NMVPNConnection object
7876                         already
7877                 - (get_connection_secrets): fix an uninialized variable usage error
7878
7879 2007-09-26  Dan Williams  <dcbw@redhat.com>
7880
7881         * libnm-util/nm-setting.c
7882                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7883                         actually get updated when the user enters them
7884
7885 2007-09-26  Dan Williams  <dcbw@redhat.com>
7886
7887         * libnm-glib/nm-vpn-plugin.c
7888                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7889
7890 2007-09-26  Dan Williams  <dcbw@redhat.com>
7891
7892         * include/NetworkManagerVPN.h
7893                 - Add a NEED_AUTH state
7894
7895         * src/vpn-manager/nm-vpn-connection.c
7896                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7897                         the connection needs secrets, and if so, then ask the settings
7898                         service to fill in the secrets.  Then start the connection.
7899
7900 2007-09-26  Dan Williams  <dcbw@redhat.com>
7901
7902         * src/vpn-manager/nm-vpn-manager.c
7903                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7904
7905 2007-09-26  Dan Williams  <dcbw@redhat.com>
7906
7907         * introspection/nm-vpn-plugin.xml
7908           libnm-glib/nm-vpn-plugin.c
7909           libnm-glib/nm-vpn-plugin.h
7910                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7911                         the name of the NMSetting in an NMConnection that may require
7912                         secrets specific to that VPN plugin
7913
7914 2007-09-26  Dan Williams  <dcbw@redhat.com>
7915
7916         * src/nm-manager.c
7917           src/nm-manager.h
7918                 - (nm_manager_get_connection_secrets): make static, unused outside
7919                         the file
7920                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7921
7922 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7923
7924         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7925         method.
7926         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7927         unreference the connection.
7928
7929         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7930         passing properties hash and routes string list, pass NMConnection (in hashed form).
7931
7932         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7933         as GSList, no need to copy stuff around anymore.
7934         (nm_vpn_connection_activate): Update the plugin activation method.
7935
7936         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7937         routes argument to GSList.
7938
7939 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7940
7941         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7942         state and try to get the secrets.
7943
7944         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7945         connections from NMManager and let the device to choose the best from the list.
7946         Since the connection list is sorted by system ones first and user ones later,
7947         the devices still prefer system connections like they did before.
7948         (deactivate_old_device): Implement. When a device starts activation, we have a
7949         policy (for now at least) to deactivate any other device that might be either
7950         active or still activating.
7951
7952         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7953         It's set on construction, there will be no other way to access it.
7954
7955         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7956         device events and drive the device, not the other way around.
7957
7958         * src/nm-device-802-3-ethernet.c: Ditto.
7959
7960         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7961         sent along, pass it on to virtual functions.
7962
7963         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7964         for now, but should really be public instead of nm_device_get_iface() since iface
7965         is a property of the DeviceInterface, not Device.
7966         (impl_device_activate): Don't touch NMManager!
7967
7968 2007-09-26  Jürg Billeter  <j@bitron.ch>
7969
7970         * initscript/paldo/NetworkManager.in:
7971         * initscript/paldo/NetworkManagerDispatcher.in:
7972         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7973         (nm_system_flush_loopback_routes): update paldo backend
7974
7975 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7976
7977         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7978         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7979         which means none of the devices get brought down properly, which in turn leaves
7980         DHCP client running.
7981
7982         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7983         (supplicant_connection_timeout_cb): Ditto.
7984
7985 2007-09-25  Dan Williams  <dcbw@redhat.com>
7986
7987         * src/nm-device.c
7988                 - (device_activation_go): small hack to work around race when
7989                         activating deferred connections; should solve this in a better way
7990
7991 2007-09-25  Dan Williams  <dcbw@redhat.com>
7992
7993         * introspection/nm-device.xml
7994           libnm-glib/nm-device.c
7995           libnm-glib/nm-device.h
7996                 - Add 'Carrier' property to exported NMDevice objects
7997
7998         * src/nm-device-interface.h
7999           src/nm-device-interface.c
8000           src/nm-device.c
8001                 - Add a 'carrier' property to internal NMDevice objects
8002
8003 2007-09-25  Dan Williams  <dcbw@redhat.com>
8004
8005         * src/nm-device-802-11-wireless.c
8006                 - (ap_auth_enforced): also return the encryption status of the AP so
8007                         that callers can differentiate easily between unencrypted APs
8008                         and encrypted ones, in addition to whether the AP has an
8009                         authenticator
8010                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8011                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8012                         previously would request secrets from unencrypted APs at times
8013
8014 2007-09-25  Dan Williams  <dcbw@redhat.com>
8015
8016         * src/nm-manager.c
8017                 - (nm_manager_update_state): new function; updates state and emits
8018                         appropriate signals ensuring a state-change signal for the same state
8019                         never gets emitted twice in a row.
8020                 - (manager_device_state_changed): handle more device state to get a
8021                         better picture of the overall NM state
8022
8023 2007-09-25  Dan Williams  <dcbw@redhat.com>
8024
8025         * libnm-glib/nm-settings.c
8026           libnm-glib/nm-settings.h
8027                 - (new_error -> nm_settings_new_error): make public so that subclasses
8028                         can use the same error domain.  Also pass a valid error code to
8029                         g_error_new_literal() so that libdbus doesn't assert when converting
8030                         the GError into a DBusError
8031                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8032                    impl_connection_settings_get_settings,
8033                    impl_connection_settings_get_secrets): use new error creator
8034                         function
8035
8036 2007-09-25  Dan Williams  <dcbw@redhat.com>
8037
8038         * src/NetworkManager.c
8039                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8040
8041 2007-09-25  Dan Williams  <dcbw@redhat.com>
8042
8043         * src/supplicant-manager/nm-supplicant-manager.c
8044                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8045                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8046                    nm_supplicant_manager_startup): when the supplicant isn't running,
8047                         try to start it periodically via system bus activation.  Fixes
8048                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8049                         for the supplicant to come back
8050
8051 2007-09-25  Dan Williams  <dcbw@redhat.com>
8052
8053         Ensure that old activation requests are forgotten about; previously
8054         hitting Cancel in the password dialog would deactivate whatever device
8055         that password was requested for, even if that wasn't the currently
8056         activating connection.
8057
8058         * src/nm-manager.c
8059           src/nm-manager.h
8060                 - (nm_manager_get_connection_secrets): track the pending call
8061                         object so it can be canceled later if needed
8062                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8063                         GetSecrets call for a particular connection
8064
8065         * src/nm-activation-request.c
8066                 - (dispose): cancel any outstanding GetSecrets calls on the
8067                         connection
8068
8069 2007-09-25  Dan Williams  <dcbw@redhat.com>
8070
8071         * src/NetworkManagerPolicy.c
8072                 - (nm_policy_device_change_check): handle devices that have a
8073                         deferred activation.  These devices are not really active _yet_,
8074                         but need to be treated as such here.  Don't interrupt them
8075                         automatically.
8076
8077         * src/nm-device-interface.c
8078                 - (impl_device_activate): handle devices that have a deferred activation
8079                         like activating or active devices.  When multiple active devices
8080                         get committed, the device shouldn't be deactivated until the
8081                         connection details are available to avoid DoS and such.  Currently,
8082                         any active, activating, or deferred activation device is deactivated
8083                         here before starting the new activation request.
8084
8085 2007-09-25  Dan Williams  <dcbw@redhat.com>
8086
8087         Properly re-query secrets from the settings daemon when stuff fails.
8088
8089         * src/nm-device-802-11-wireless.c
8090                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8091                         between Shared Key and Open System auth modes
8092                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8093                    real_act_stage4_ip_config_timeout): clear existing secrets and
8094                         request new ones when something fails due to a suspected wrong key
8095                 - (real_act_stage2_config): fix for new request_new argument to
8096                         nm_manager_get_connection_secrets()
8097
8098         * src/nm-manager.c
8099           src/nm-manager.h
8100                 - (nm_manager_get_connection_secrets): return error status; pass
8101                         new request_new argument on to the settings daemon
8102
8103         * introspection/nm-settings-connection.xml
8104                 - New 'request_new' argument to the GetSecrets call that hints to the
8105                         settings daemon to ask the user for completely new secrets
8106
8107         * libnm-glib/nm-settings.c
8108           libnm-glib/nm-settings.h
8109                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8110                         argument
8111
8112 2007-09-25  Dan Williams  <dcbw@redhat.com>
8113
8114         * libnm-util/nm-connection.c
8115           libnm-util/nm-connection.h
8116                 - (nm_connection_clear_secrets): new function; clear secrets out of
8117                         each NMSetting in an NMConnection
8118
8119         * libnm-util/nm-setting.h
8120           libnm-util/nm-setting.c
8121                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8122                         secrets out of an NMSetting
8123                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8124                    nm_setting_wired_new, nm_setting_wireless_new,
8125                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8126                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8127                         to default handler default_setting_clear_secrets()
8128
8129 2007-09-25  Dan Williams  <dcbw@redhat.com>
8130
8131         * src/nm-activation-request.c
8132           src/nm-activation-request.h
8133                 - (nm_act_request_is_deferred): new function
8134
8135 2007-09-24  Dan Williams  <dcbw@redhat.com>
8136
8137         * src/nm-device-802-11-wireless.c
8138                 - (activation_success_handler): update signal strength immediately
8139                         after activation
8140
8141 2007-09-24  Dan Williams  <dcbw@redhat.com>
8142
8143         * libnm-util/nm-setting.c
8144                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8145
8146 2007-09-24  Dan Williams  <dcbw@redhat.com>
8147
8148         * src/NetworkManagerPolicy.c
8149                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8150                         device by deactivating it because it doesn't have a "best connection".
8151                         Since autoconnect=False connections aren't automatically chosen,
8152                         NM would interrupt activation of such a connection because it
8153                         would never be "best" due to autoconnect=False.
8154
8155 2007-09-24  Dan Williams  <dcbw@redhat.com>
8156
8157         * src/nm-manager.c
8158                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8159                         actually has some time to enter a key before the GetSecrets call
8160                         times out
8161
8162 2007-09-24  Dan Williams  <dcbw@redhat.com>
8163
8164         * introspection/nm-manager.xml
8165           src/nm-manager.c
8166                 - (impl_manager_legacy_state): fix 'state' method call return value
8167
8168 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8169
8170         * test/Makefile.am: Install nm-tool
8171
8172 2007-09-24  Dan Williams  <dcbw@redhat.com>
8173
8174         Patch from Ross Burton <ross@burtonini.com>
8175
8176         * test/nm-tool.c
8177           callouts/nm-dhcp-client-action.c
8178           src/nm-netlink.c
8179           src/vpn-manager/nm-vpn-connection.c
8180           libnm-glib/libnm-glib-test.c
8181                 - warning fixes
8182
8183 2007-09-24  Dan Williams  <dcbw@redhat.com>
8184
8185         * libnm-util/nm-utils.h
8186           libnm-util/nm-utils.c
8187                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8188                         remove, unused
8189
8190 2007-09-23  Dan Williams  <dcbw@redhat.com>
8191
8192         * vpn-daemons/vpnc/properties/nm-vpnc.c
8193                 - Update for new VPN properties API bits; instead of passing around
8194                         a lot of random things, everything goes into the NMConnection
8195                         object.
8196
8197 2007-09-23  Dan Williams  <dcbw@redhat.com>
8198
8199         * libnm-util/nm-setting.c
8200                 - Correctly dispose of settings objects if creating them from a hash
8201                         table fails
8202
8203 2007-09-23  Dan Williams  <dcbw@redhat.com>
8204
8205         * libnm-util/nm-setting.c
8206                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8207                         the hash table in a standard manner.  Clients of libnm-util should
8208                         only call g_hash_table_remove_all(), never destroy the hash table
8209                         and recreate it.
8210
8211 2007-09-22  Dan Williams  <dcbw@redhat.com>
8212
8213         * src/nm-device-802-11-wireless.c
8214                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8215                         real reason to do it so often, and reduces wakeups for clients.
8216
8217 2007-09-21  Dan Williams  <dcbw@redhat.com>
8218
8219         * src/nm-device-802-11-wireless.c
8220                 - (build_supplicant_config): wpa_supplicant requires the option
8221                         key_mgmt=NONE for unencrypted networks
8222                 - (real_act_stage2_config): clarify log message on activation
8223
8224 2007-09-21  Dan Williams  <dcbw@redhat.com>
8225
8226         * test/nm-supplicant-test.c
8227           test/Makefile.am
8228                 - Remove supplicant test binary; no longer applicable
8229
8230 2007-09-21  Dan Williams  <dcbw@redhat.com>
8231
8232         * src/supplicant-manager/nm-supplicant-manager.c
8233                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8234                         activate it on the system bus
8235
8236 2007-09-20  Dan Williams  <dcbw@redhat.com>
8237
8238         * initscript/RedHat/NetworkManager.in
8239                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8240
8241 2007-09-20  Dan Williams  <dcbw@redhat.com>
8242
8243         * src/nm-device.c
8244                 - (nm_device_is_activating): work around a race between auto-activation
8245                         and the user activating the same device that is being auto-activated
8246
8247 2007-09-20  Dan Williams  <dcbw@redhat.com>
8248
8249         * src/nm-device-interface.c
8250                 - (impl_device_activate): until multiple active device support lands,
8251                         ensure only one device can be active at a time
8252
8253 2007-09-20  Dan Williams  <dcbw@redhat.com>
8254
8255         * src/supplicant-manager/nm-supplicant-config.c
8256           src/supplicant-manager/nm-supplicant-config.h
8257                 - (nm_supplicant_config_add_option): hide secrets from system logs
8258
8259 2007-09-20  Dan Williams  <dcbw@redhat.com>
8260
8261         * src/NetworkManagerPolicy.c
8262                 - (nm_policy_device_change_check): re-enable the wireless device change
8263                         checking code; insted of checking for SSIDs, check for the same
8264                         connection instead
8265
8266 2007-09-20  Dan Williams  <dcbw@redhat.com>
8267
8268         * src/nm-device-802-11-wireless.c
8269                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8270                         composite link state when determining when to start the disconnection
8271                         timer; that link state is already based on the supplicant interface's
8272                         status which is exactly what's already being examined, plus the link
8273                         state is a conglomeration of various things that we don't want here
8274
8275 2007-09-20  Dan Williams  <dcbw@redhat.com>
8276
8277         * libnm-glib/nm-access-point.c
8278                 - (handle_property_changed): strength is a UCHAR
8279
8280 2007-09-20  Dan Williams  <dcbw@redhat.com>
8281
8282         * src/supplicant-manager/nm-supplicant-config.c
8283                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8284                         string list keywords too since that's what wpa_supplicant wants
8285
8286 2007-09-20  Dan Williams  <dcbw@redhat.com>
8287
8288         * libnm-util/nm-setting.c
8289                 - (convert_strv_to_slist): dupe the values in the list because since
8290                         the list is a boxed value, it'll get destroyed when it's container
8291                         (like a hash table or whatever) gets destroyed
8292
8293 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8294
8295         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8296         GSList.
8297
8298         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8299
8300         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8301         just use (g_object_set_data_full).
8302
8303         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8304         that NMSettingVPN->routes is a GSList, convert it to char **.
8305         (nm_vpn_connection_ip4_config_get): Free routes when done.
8306         (nm_vpn_connection_activate): Ditto.
8307
8308         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8309         (real_act_stage2_config): Use defined setting names.
8310
8311 2007-09-20  Dan Williams  <dcbw@redhat.com>
8312
8313         * src/nm-device-802-11-wireless.c
8314           src/nm-manager.c
8315           src/nm-manager.h
8316                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8317                         so that the device can be deactivated if secrets are wrong
8318
8319 2007-09-20  Dan Williams  <dcbw@redhat.com>
8320
8321         * introspection/nm-settings-connection.xml
8322           libnm-glib/nm-settings.c
8323           libnm-glib/nm-settings.h
8324                 - Make GetSecrets asynchronous on the server side
8325
8326 2007-09-20  Dan Williams  <dcbw@redhat.com>
8327
8328         * src/nm-manager.h
8329           src/nm-device.c
8330                 - (nm_device_activate): actually check if a given connection
8331                         exists before assuming it doesn't
8332
8333 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8334
8335         * libnm-util/nm-connection.c (register_default_creators): Use defined
8336         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8337
8338         * libnm-util/nm-setting.c: Define property name strings, use them.
8339         Implement NMSettingVPN and NMSettingVPNProperties settings.
8340         Implement NM_S_TYPE_GVALUE_HASH.
8341         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8342         (setting_connection_verify): Rename 'devtype' property to 'type'.
8343
8344         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8345         properties.
8346
8347         * src/vpn-manager/nm-vpn-service.c: Ditto.
8348
8349         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8350
8351         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8352         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8353
8354         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8355         names. NMSettingConnection->devtype got renamed to 'type'.
8356
8357         * src/nm-device-802-3-ethernet.c (find_best_connection):
8358         (real_get_best_connection): Ditto.
8359
8360         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8361
8362         * libnm-glib/nm-vpn-manager.[ch]: Update.
8363
8364 2007-09-19  Dan Williams  <dcbw@redhat.com>
8365
8366         * src/NetworkManagerAP.c
8367           src/NetworkManagerAP.h
8368           introspection/nm-access-point.xml
8369                 - Change strength-changed signal into a properties-changed signal
8370                         for all properties, not just strength.  Export that signal over dbus
8371                         so listeners don't have to poll NM for changes.
8372                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8373                         get exported over D-Bus, so break up the logic and let other bits
8374                         decided when to export the AP
8375                 - (nm_ap_new_from_ap): remove, unused
8376
8377         * src/nm-device-802-11-wireless.c
8378                 - (merge_scanned_ap): only export APs that are actually on the device
8379                         list, not every AP created internally
8380
8381         * libnm-glib/nm-access-point.c
8382           libnm-glib/nm-access-point.h
8383                 - Cache properties internally and only hit DBus when needed.  Get
8384                         property updates from NM signals
8385
8386 2007-09-16  Dan Williams  <dcbw@redhat.com>
8387
8388         * libnm-util/nm-connection.c
8389           libnm-util/nm-connection.h
8390                 - (nm_connection_for_each_setting_value): new function; iterate over
8391                         each setting's value and call a user-provided function with details
8392                         about that value
8393
8394         * libnm-util/nm-setting.c
8395           libnm-util/nm-setting.h
8396                 - (nm_setting_enumerate_values): new function; enumerate the values
8397                         of a specific NMSetting subclass for a user-provided function with
8398                         details about that value
8399                 - Change wep_tx_keyidx to a uint32
8400                 - Create settings value tables for each setting defining their type,
8401                         key name, offset into the NMSetting subclass' structure, and whether
8402                         they are required and/or a secret
8403                 - (nm_setting_populate_from_hash): generic function to populate an
8404                         NMSetting from a GHash table, make all settings use it
8405                 - (nm_setting_hash): generic function to derive a GHashTable from
8406                         an NMSetting object, make all settings use it
8407
8408 2007-09-14  Dan Williams  <dcbw@redhat.com>
8409
8410         Remove unused stuff in libnm-util
8411
8412         * configure.in
8413           libnm-util/Makefile.am
8414           libnm-util/cipher-private.h
8415           libnm-util/cipher-wep-ascii.c
8416           libnm-util/cipher-wep-ascii.h
8417           libnm-util/cipher-wep-hex.c
8418           libnm-util/cipher-wep-hex.h
8419           libnm-util/cipher-wep-passphrase.c
8420           libnm-util/cipher-wep-passphrase.h
8421           libnm-util/cipher-wpa-psk-hex.c
8422           libnm-util/cipher-wpa-psk-hex.h
8423           libnm-util/cipher-wpa-psk-passphrase.c
8424           libnm-util/cipher-wpa-psk-passphrase.h
8425           libnm-util/cipher.c
8426           libnm-util/cipher.h
8427           libnm-util/dbus-helpers.c
8428           libnm-util/dbus-helpers.h
8429           libnm-util/gnome-keyring-md5.c
8430           libnm-util/gnome-keyring-md5.h
8431           libnm-util/sha1.c
8432           libnm-util/sha1.h
8433           src/nm-device-802-11-wireless.c
8434           test/libnm-util/Makefile.am
8435           test/libnm-util/test-ciphers.c
8436           test/libnm-util/test-dbus-helpers.c
8437           test/libnm-util/test-inputs.h
8438                 - Removed
8439
8440 2007-09-14  Dan Williams  <dcbw@redhat.com>
8441
8442         * libnm-util/dbus-method-dispatcher.c
8443           libnm-util/dbus-method-dispatcher.h
8444                 - Remove, unused
8445
8446 2007-09-14  Dan Williams  <dcbw@redhat.com>
8447
8448         Implement deferred activation support in the device class.
8449
8450         * src/nm-device-interface.c
8451           src/nm-device-interface.h
8452                 - (nm_device_interface_activate): take more arguments to support
8453                         deferred activation; callers must pass one of (connection) OR
8454                         (service_name, connection_path)
8455                 - (impl_device_activate): connection validation is punted to the device
8456                         to be able to handle deferred activation.  Yes, this means errors
8457                         don't get returned from the Activate() dbus call, and yes, that
8458                         should be fixed somehow later.
8459
8460         * src/nm-device.c
8461           src/nm-device.h
8462                 - (clear_act_request): clear additional deferred activation stuff too
8463                 - (deferred_activation_timeout_cb): new function; clean up when
8464                         deferred activation times out.
8465                 - (deferred_activation_start_cb): new function; when the connection
8466                         finally becomes available, start device activation
8467                 - (nm_device_activate): attach to the right signals of the activation
8468                         request if we need to defer activation until the connection is valid
8469
8470         * src/NetworkManagerPolicy.c
8471                 - (nm_policy_device_change_check): update for additional arguments
8472                         required for nm_device_interface_activate().  Pass NULL for these
8473                         though because this function already knows exactly which
8474                         NMConnection to use
8475
8476 2007-09-14  Dan Williams  <dcbw@redhat.com>
8477
8478         Implement deferred activation handling in the NMActRequest class.  When a
8479         client wants to activate a device but must create the NMConnection details
8480         on the fly, there likely hasn't been enough time yet for NM to receive the
8481         new connection signal and grab all the connection details.  So the
8482         activation is deferred (and bounded by a timer) for a while, and if the
8483         connection appears within the window, it is activated.
8484
8485         * src/nm-activation-request.c
8486           src/nm-activation-request.h
8487                 - (nm_act_request_class_init): two new signals to support deferred
8488                         activation, to allow the listener to handle both timeout and success
8489                 - (nm_act_request_new_deferred): new function, starts the deferred
8490                         activation timeout handler and listens to the NMManager for
8491                         new-connection signals to notice when the connection comes in
8492
8493 2007-09-14  Dan Williams  <dcbw@redhat.com>
8494
8495         * src/nm-manager.h
8496           src/nm-manager.c
8497                 - (nm_manager_get_connection_service_name,
8498                    nm_manager_get_connection_dbus_path): get details about a connection
8499                         known internally by the NMManager
8500                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8501                         because NMConnection is now a GObject subclass
8502                 - Use constant for the gobject data tag used on NMConnection objects for
8503                         storing the associated DBusGProxy
8504
8505 2007-09-14  Dan Williams  <dcbw@redhat.com>
8506
8507         * utils/Makefile.am
8508           utils/nm-utils.c
8509           utils/nm-utils.h
8510           src/supplicant-manager/Makefile.am
8511           src/dhcp-manager/Makefile.am
8512           src/backends/Makefile.am
8513           src/named-manager/Makefile.am
8514           src/ppp-manager/Makefile.am
8515           src/vpn-manager/Makefile.am
8516           test/libnm-util/Makefile.am
8517           test/test-common/Makefile.am
8518                 - Remove utils/; it was unused
8519
8520 2007-09-13  Dan Williams  <dcbw@redhat.com>
8521
8522         * libnm-glib/nm-vpn-manager.h
8523           libnm-glib/nm-vpn-manager.c
8524                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8525
8526 2007-09-13  Dan Williams  <dcbw@redhat.com>
8527
8528         * src/nm-device-802-3-ethernet.c
8529                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8530                         netlink monitor carrier signals on dispose, not bring down.  The
8531                         carrier signals should be handled over the entire lifetime of the
8532                         device anyway, not created/destroyed on up or down.
8533
8534 2007-09-13  Dan Williams  <dcbw@redhat.com>
8535
8536         * libnm-glib/nm-device.c
8537           libnm-glib/nm-device.h
8538                 - (nm_device_activate): take a connection object path rather than an
8539                         NMConnection because NMConnection isn't exported over D-Bus and
8540                         therefore it dbus-glib can't automatically get an object path from it
8541
8542 2007-09-13  Dan Williams  <dcbw@redhat.com>
8543
8544         * libnm-util/nm-setting.c
8545                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8546
8547 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8548
8549         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8550
8551 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8552
8553         * src/vpn-manager/nm-vpn-connection.[ch]: 
8554         * src/vpn-manager/nm-vpn-manager.[ch]:
8555         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8556         dbus-glib, GObjects, signals etc.
8557
8558         * libnm-glib/nm-vpn-manager.[ch]: 
8559         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8560         so much, rewrite these too.
8561
8562         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8563         the new introspection files.
8564
8565         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8566
8567         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8568         the header with the same name from libnm-utils.
8569
8570         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8571
8572         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8573
8574         * introspection/nm-vpn-plugin.xml: Implement.
8575
8576         * introspection/nm-vpn-connection.xml: Implement.
8577
8578         * introspection/nm-vpn-manager.xml: Implement.
8579
8580         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8581         the named manager argument, it can just as easily get it as the caller.
8582         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8583
8584         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8585
8586         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8587
8588         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8589         libnm-utils.
8590
8591         * libnm-util/nm-connection.c: Ditto.
8592
8593         * src/NetworkManagerMain.h: Remove, it's finally empty.
8594
8595         * configure.in: Remove utils/ from build.
8596
8597         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8598         of hard-coded strings.
8599
8600         * utils/: Move it over to libnm-util.
8601
8602         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8603
8604         * dispatcher-daemon/Makefile.am: Ditto.
8605
8606         * src/Makefile.am: Ditto.
8607
8608 2007-09-12  Dan Williams  <dcbw@redhat.com>
8609
8610         Wireless connections can be made with config data from the applet now.
8611         
8612         Yay.
8613
8614         * src/supplicant-manager/nm-supplicant-config.h
8615           src/supplicant-manager/nm-supplicant-config.c
8616                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8617                 - (nm_supplicant_config_add_setting_wireless,
8618                    nm_supplicant_config_add_setting_wireless_security): new functions;
8619                         add key/value pairs from the settings objects to the supplicant
8620                         config
8621
8622         * src/nm-device-802-11-wireless.c
8623                 - (cull_scan_list): fix check to not prune currently associated AP
8624                 - (build_supplicant_config, real_act_stage2_config): call the functions
8625                         of the NMSupplicantConfig that parse settings objects rather than
8626                         doing it manually here
8627
8628 2007-09-12  Dan Williams  <dcbw@redhat.com>
8629
8630         * src/supplicant-manager/nm-supplicant-interface.c
8631           src/supplicant-manager/nm-supplicant-marshal.list
8632                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8633                         "connection-error" signal arguments should be STRING not CHAR
8634
8635 2007-09-12  Dan Williams  <dcbw@redhat.com>
8636
8637         * src/NetworkManagerUtils.c
8638           src/NetworkManagerUtils.h
8639                 - (nm_utils_hexstr2bin): new function
8640
8641 2007-09-11  Dan Williams  <dcbw@redhat.com>
8642
8643         * src/nm-manager.c
8644                 - (connection_get_settings_cb): emit connection-added signal
8645                 - (connection_removed_cb): uncomment bits for system settings service,
8646                         send connection-removed when appropriate
8647                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8648                         the stack by trying to g_object_set_data() on something that's
8649                         not a GObject; handle case where settings service returns
8650                         empty settings hash table
8651
8652 2007-09-11  Dan Williams  <dcbw@redhat.com>
8653
8654         * src/NetworkManagerPolicy.c
8655                 - (connection_added, connection_removed): trigger device change checks
8656                         on connection changes
8657
8658 2007-09-11  Dan Williams  <dcbw@redhat.com>
8659
8660         * src/nm-activation-request.c
8661                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8662
8663 2007-09-11  Dan Williams  <dcbw@redhat.com>
8664
8665         * src/nm-device-802-11-wireless.c
8666                 - (real_connection_secrets_updated): fix erroneous check
8667
8668 2007-09-11  Dan Williams  <dcbw@redhat.com>
8669
8670         * introspection/nm-device.xml
8671           libnm-glib/nm-device.c
8672           libnm-glib/nm-device.c
8673                 - Fix Activate call argument borkage; Activate takes 3 arguments
8674
8675 2007-09-11  Dan Williams  <dcbw@redhat.com>
8676
8677         * libnm-glib/nm-access-point.c
8678           libnm-glib/nm-access-point.c
8679                 - (nm_access_point_get_frequency): now returns guint32 to match
8680                         property change on 2007-09-10
8681
8682 2007-09-11  Dan Williams  <dcbw@redhat.com>
8683
8684         * src/nm-device-802-11-wireless.c
8685                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8686                         somewhere defines 'index' and I missed this one when I fixed the
8687                         shadow declaration errors earlier
8688
8689 2007-09-11  Dan Williams  <dcbw@redhat.com>
8690
8691         * libnm-util/nm-connection.c
8692                 - (nm_connection_update_secrets, need_secrets_check): move
8693                         802-11-wireless-security need_secrets checks to the setting object
8694                         itself, where it belongs
8695
8696         * libnm-util/nm-setting.c
8697           libnm-util/nm-setting.h
8698                 - (nm_setting_need_secrets): new function
8699                 - (setting_wireless_security_verify,
8700                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8701                 - (setting_wireless_security_need_secrets): mostly copy code over
8702                         from nm-connection.c
8703
8704 2007-09-11  Dan Williams  <dcbw@redhat.com>
8705
8706         * libnm-util/nm-setting.c
8707           libnm-util/nm-setting.h
8708                 - (nm_setting_update_secrets): new function; add a virtual function that
8709                         subclasses can implement to update their secrets
8710                 - (setting_wireless_security_update_secrets): implement that function
8711                         for the 802-11-wireless-security subclass
8712
8713         * libnm-util/nm-connection.c
8714           libnm-util/nm-connection.h
8715                 - (nm_connection_update_secrets): update secrets for a Setting and
8716                         emit a signal on success
8717
8718         * src/nm-manager.c
8719           src/nm-manager.h
8720           src/nm-marshal.list
8721                 - (connection_get_settings_cb): enable system settings bits
8722                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8723                         to request secrets from the settings dbus service and to
8724                         push those secrets to the NMConnection itself
8725
8726         * src/nm-activation-request.c
8727           src/nm-activation-request.h
8728                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8729                         currently being activated, and proxy that signal to other listeners.
8730                         Goes through the activation request because the activation request
8731                         is the thing that manages the lifetime of the NMConnection that's
8732                         being activated.
8733
8734         * src/nm-device-802-11-wireless.c
8735                 - (real_connection_secrets_updated): implement the connection secrets
8736                         updated notification and restart activation when secrets are
8737                         received
8738                 - (real_act_stage2_config): request secrets from the settings dbus
8739                         service if secrets are needed
8740
8741         * src/nm-device.c
8742           src/nm-device.h
8743                 - (clear_act_request, nm_device_activation_cancel,
8744                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8745                         where the activation request is cleared
8746                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8747                         updated secrets signal of activation request and add a function
8748                         that subclasses can override to handle it easily
8749
8750 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8751
8752         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8753         removal of NetworkManagerAPList.
8754
8755 2007-09-10  Dan Williams  <dcbw@redhat.com>
8756
8757         * src/NetworkManagerAP.c
8758           src/NetworkManagerAP.h
8759           introspection/nm-access-point.xml
8760                 - Change 'freq' property to a guint32 instead of a double since we
8761                         weren't using the floating point bits anyway
8762
8763 2007-09-10  Dan Williams  <dcbw@redhat.com>
8764
8765         * NetworkManagerAP.c
8766           NetworkManagerAP.h
8767           NetworkManagerPolicy.c
8768           NetworkManagerSystem.c
8769           NetworkManagerUtils.c
8770           NetworkManagerUtils.h
8771           nm-device-802-11-wireless.c
8772           nm-device-802-3-ethernet.c
8773           nm-hal-manager.c
8774           nm-manager.c
8775           vpn-manager/nm-dbus-vpn.c
8776                 - Warning fixes; casts and removal of unused variables
8777
8778 2007-09-10  Dan Williams  <dcbw@redhat.com>
8779
8780         * include/NetworkManager.h
8781                 - Kill NMNetworkType; AP types don't matter any more
8782
8783         * src/NetworkManagerAPList.c
8784           src/NetworkManagerAPList.h
8785           src/Makefile.am
8786                 - Kill; NMAccessPointList has outlived it's usefulness
8787
8788         * src/NetworkManagerAP.c
8789           src/NetworkManagerAP.h
8790                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8791                         functions; check if an NMConnection object is compatible with the
8792                         settings of this AP
8793                 - (freq_to_channel, channel_to_freq): utility functions for
8794                         channel <-> frequency conversion
8795
8796         * src/nm-device.c
8797           src/nm-device.h
8798                 - (nm_device_get_best_connection): pass the specific object around
8799                          (which might be the object path of a specific AP to connect to).
8800                          The get_best_connection() call should populate this on return
8801                          if needed (wireless does).
8802
8803         * src/nm-device-802-3-ethernet.c
8804                 - (real_get_best_connection): handle specific_object argument
8805
8806         * src/NetworkManager.c
8807           src/NetworkManagerMain.h
8808                 - Remove unused includes
8809
8810         * src/nm-device-802-11-wireless.c
8811           src/nm-device-802-11-wireless.h
8812                 - Convert the ap_list into a GSList from an NMAccessPointList
8813                 - No need for caching the 'activation_ap' since this is now determined
8814                         from the specific_object of the activation request, which is
8815                         populated from the get_best_connection() call or from a user request
8816                 - (nm_device_802_11_wireless_update_bssid): fix warning
8817                 - (get_wireless_capabilities): fix error message format arguments
8818                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8819                 - (find_best_connection, real_get_best_connection): implement
8820                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8821                         move here from NetworkManagerAPList
8822                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8823                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8824                         already verified earlier
8825                 - (real_act_stage2_config): use nm_connection_need_secrets()
8826
8827         * src/NetworkManagerPolicy.c
8828                 - (nm_policy_auto_get_best_device): handle specific objects
8829                 - (create_connection): remove; automatic connection creation functionality
8830                         is handled by the Connection objects
8831                 - (nm_policy_device_change_check): handle specific_object
8832
8833         * libnm-util/nm-connection.c
8834                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8835
8836 2007-09-10  Dan Williams  <dcbw@redhat.com>
8837
8838         * src/nm-manager.c
8839                 - (query_connections): fix uninitialized variable problem that caused
8840                         segfault
8841                 - (nm_manager_add_device): take devices down on startup so that we can
8842                         be assured that nm_device_is_up() won't short-circuit the init
8843                         process.  Hack until the is_up check gets split into two pieces
8844                         that aren't behaviorally confusing.
8845
8846 2007-09-09  Dan Williams  <dcbw@redhat.com>
8847
8848         * introspection/nm-device.xml
8849                 - The 'Activate' method now takes 3 arguments, a service name for the
8850                 settings service (user or system), the object path of the connection
8851                 to activate, and the specific object to activate, if any
8852
8853         * src/nm-device-interface.c
8854                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8855                 Add error bits
8856                 - (impl_device_activate): adapt to new Activate arguments; validate
8857                 the service name and get the Connection object from the NMManager
8858                 before starting to activate the device with the specified connection
8859
8860         * src/nm-device-802-3-ethernet.c
8861                 - (real_get_best_connection): find the best connection, or create a
8862                 default one if no existing connections can be used
8863
8864         * src/NetworkManagerPolicy.c
8865                 - (nm_policy_auto_get_best_device): Get the device's best connection
8866                 and only pick the device if it has one
8867                 - (nm_policy_device_change_check): disable wireless bits for now until
8868                 wireless get_best_connection() can be implemented (replacing "best_ap");
8869                 don't create a default connection here as the device subclass will do
8870                 that if needed
8871
8872         * src/nm-manager.h
8873           src/nm-manager.c
8874                 - (nm_manager_get): make NMManager a singleton and expose the getter
8875                 internally
8876                 - Rework internal NMManager connection handling to use the same
8877                 routines for both the system and user settings services.  Most calls
8878                 take a new NMConnectionType argument specifying either system or user
8879                 connections
8880                 - (nm_manager_get_connection_by_object_path): new function; get a
8881                 connection keyed on its object path
8882
8883         * src/NetworkManager.c
8884                 - (main): use nm_manager_get()
8885
8886 2007-09-09  Dan Williams  <dcbw@redhat.com>
8887
8888         * src/nm-device.h
8889           src/nm-device.c
8890                 - (nm_device_get_best_connection): new function; get best connection
8891                         for the device at that time
8892
8893 2007-09-09  Dan Williams  <dcbw@redhat.com>
8894
8895         * src/nm-device-interface.h
8896                 - Add NMDeviceInterfaceError with an UnknownConnection error
8897
8898 2007-09-09  Dan Williams  <dcbw@redhat.com>
8899
8900         Stupid mistake on my part; object path and interface for settings service
8901         and connection objects can be the same, only the service name must be
8902         different for the system and user settings services.
8903
8904         * include/NetworkManager.h
8905           src/nm-manager.c
8906           introspection/nm-settings-connection.xml
8907           introspection/nm-settings.xml
8908           libnm-glib/nm-settings.c
8909                 - (nm_connection_settings_init, query_user_connections,
8910                    new_connection_cb): Unify NetworkManagerSettings and Connection
8911                    interface name and object path
8912
8913 2007-09-06  Dan Williams  <dcbw@redhat.com>
8914
8915         * libnm-glib/nm-object.c
8916                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8917                    nm_object_get_int_property, nm_object_get_uint_property,
8918                    nm_object_get_boolean_property, nm_object_get_byte_property,
8919                    nm_object_get_double_property, nm_object_get_byte_array_property):
8920                         clear GValues after copying their contents, fixes memory leaks
8921                         after every property access because dbus-glib copies the values
8922                         from the DBusMessage into the GValue already.
8923
8924 2007-09-06  Dan Williams  <dcbw@redhat.com>
8925
8926         * introspection/nm-access-point.xml
8927                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8928                         them to be.  There's some magic property name parsing going on in
8929                         dbus-glib that breaks up property names based on studly-caps and
8930                         puts - between words.
8931
8932         * libnm-glib/nm-access-point.c
8933                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8934                         Fix property names
8935
8936 2007-09-06  Dan Williams  <dcbw@redhat.com>
8937
8938         * src/nm-manager.c
8939                 - (nm_manager_user_connections_destroy): clear the user connections hash
8940                         table, don't destroy it
8941                 - (finalize): only destroy the hash table on NMManager finalization
8942
8943 2007-09-02  Dan Williams  <dcbw@redhat.com>
8944
8945         * include/NetworkManager.h
8946           libnm-glib/nm-settings.c
8947                 - defines for the user settings daemon D-Bus bits
8948
8949         * src/NetworkManager.c
8950                 - Remove stuff that referred to the old NetworkManagerInfo service
8951
8952         * src/vpn-manager/nm-dbus-vpn.h
8953                 - Move old NMI defines to the only place they are used still
8954
8955         * libnm-util/nm-connection.c
8956           libnm-util/nm-connection.h
8957           src/nm-activation-request.c
8958                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8959
8960         * src/nm-manager.c
8961           src/nm-manager.h
8962                 - Get connections and their settings from the user settings daemon
8963                         at the appropriate times
8964
8965 2007-09-02  Dan Williams  <dcbw@redhat.com>
8966
8967         * libnm-util/nm-setting.c
8968                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8969                 - (setting_wireless_hash): set the right value on the item
8970
8971 2007-09-02  Dan Williams  <dcbw@redhat.com>
8972
8973         * test/Makefile.am
8974           test/nminfotest.c
8975                 - Remove, no longer useful
8976
8977 2007-08-30  Dan Williams  <dcbw@redhat.com>
8978
8979         * src/Makefile.am
8980           src/NetworkManagerDbus.c
8981           src/NetworkManagerDbus.h
8982           src/vpn-manager/nm-dbus-vpn.c
8983                 - Remove, no longer necessary.  Move last bits to the only place its
8984                 used, in nm-dbus-vpn.c
8985
8986         * src/NetworkManagerAPList.c
8987           src/nm-device.c
8988           src/NetworkManager.c
8989           src/nm-device-802-11-wireless.c
8990           src/vpn-manager/nm-vpn-manager.c
8991           src/vpn-manager/nm-vpn-service.c
8992           src/NetworkManagerPolicy.c
8993           src/nm-manager.c
8994                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8995                 that was message_is_error()
8996
8997 2007-08-30  Dan Williams  <dcbw@redhat.com>
8998
8999         * libnm-util/sha1.c
9000                 - Include config.h to get defines for endiannes (gnome.org #420216)
9001
9002 2007-08-30  Dan Williams  <dcbw@redhat.com>
9003
9004         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9005
9006         * src/ppp-manager/Makefile.am
9007                 - use -fPIC (gnome.org #471825)
9008
9009 2007-08-29  Dan Williams  <dcbw@redhat.com>
9010
9011         * include/NetworkManager.h
9012                 - Keep NMConnection object path in sync
9013
9014         * libnm-glib/nm-settings.c
9015           libnm-glib/nm-settings.h
9016                 - Break D-Bus object registration out of the init function, because
9017                 every object that's exported over D-Bus needs to use the _same_
9018                 DBusConnection.  Otherwise, each object would get a different object
9019                 path tree and wouldn't be callable.
9020
9021 2007-08-29  Dan Williams  <dcbw@redhat.com>
9022
9023         * libnm-util/nm-setting.h
9024           libnm-util/nm-setting.c
9025           libnm-util/nm-connection.c
9026           src/NetworkManagerPolicy.c
9027                 - 'info' settings object should be 'connection' says the spec
9028                 at NetworkManagerConfigurationSpecification
9029
9030 2007-08-29  Dan Williams  <dcbw@redhat.com>
9031
9032         * libnm-glib/nm-settings.c
9033           libnm-glib/nm-settings.h
9034                 - make the dbus path a property of the object, and autogenerate it.
9035                 It can't be composed of the 'id' field becuase that's not available
9036                 yet during the GObject creation in nm_connection_settings_init()
9037
9038 2007-08-29  Dan Williams  <dcbw@redhat.com>
9039
9040         * introspection/nm-settings-connection.xml
9041           introspection/nm-settings.xml
9042                 - Service name -> NetworkManagerUserSettings because two services
9043                 can't share part of the same path.  I'm not really sure how we'll use
9044                 the same code with the system-settings daemon...
9045
9046 2007-08-28  Dan Williams  <dcbw@redhat.com>
9047
9048         * src/nm-device-interface.c
9049           src/nm-device-interface.h
9050                 - Kill one more bit of NMData
9051
9052 2007-08-28  Dan Williams  <dcbw@redhat.com>
9053
9054         * src/NetworkManagerSystem.h
9055           src/nm-device.c
9056           src/nm-device.h
9057           src/nm-hal-manager.c
9058           src/NetworkManager.c
9059           src/nm-device-802-11-wireless.c
9060           src/nm-hal-manager.h
9061           src/nm-device-802-3-ethernet.c
9062           src/vpn-manager/nm-vpn-service.h
9063           src/vpn-manager/nm-vpn-manager.c
9064           src/vpn-manager/nm-vpn-manager.h
9065           src/vpn-manager/nm-vpn-service.c
9066           src/nm-device-802-11-wireless.h
9067           src/NetworkManagerMain.h
9068           src/nm-device-802-3-ethernet.h
9069           src/backends/NetworkManagerGentoo.c
9070           src/backends/NetworkManagerPaldo.c
9071           src/backends/NetworkManagerFrugalware.c
9072           src/backends/NetworkManagerRedHat.c
9073           src/backends/NetworkManagerSlackware.c
9074           src/backends/NetworkManagerGeneric.c
9075           src/backends/NetworkManagerArch.c
9076           src/backends/NetworkManagerSuSE.c
9077           src/backends/NetworkManagerGeneric.h
9078           src/backends/NetworkManagerDebian.c
9079                 - Kill NMData
9080
9081 2007-08-28  Dan Williams  <dcbw@redhat.com>
9082
9083         * src/NetworkManagerMain.h
9084           src/nm-device-802-11-wireless.c
9085           src/NetworkManager.c
9086                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9087                 for now we should set the 'invalid' property on individual APs, and when
9088                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9089                 that ESS
9090
9091 2007-08-28  Dan Williams  <dcbw@redhat.com>
9092
9093         * src/NetworkManagerAP.c
9094           src/NetworkManagerAP.h
9095                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9096                         'autoconnect' property instead
9097
9098         * src/NetworkManager.c
9099           src/NetworkManagerMain.h
9100           src/NetworkManagerPolicy.c
9101           src/NetworkManagerPolicy.h
9102                 - Remove the 'allowed_ap_list', which should be replaced by 
9103                         NMConnection/NMSettings instead, since _those_ are the allowed
9104                         things that NM can connect to
9105
9106         * src/nm-device-802-11-wireless.c
9107                 - Remove both allowed_ap_list usage and 'fallback' checking
9108
9109 2007-08-28  Dan Williams  <dcbw@redhat.com>
9110
9111         * src/nm-device.c
9112           src/named-manager/nm-named-manager.c
9113           src/named-manager/nm-named-manager.h
9114           src/NetworkManager.c
9115           src/vpn-manager/nm-vpn-manager.c
9116           src/NetworkManagerMain.h
9117           src/NetworkManagerSystem.c
9118                 - Remove the named-manager object from NMData structure in preparation
9119                 for NMData's timely death.  Make the NMNamedManager the singleton that
9120                 it really is
9121
9122 2007-08-28  Dan Williams  <dcbw@redhat.com>
9123
9124         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9125         each AP's capabilities, and by NMConnection/NMSettings objects for user
9126         defined connections.
9127
9128         * include/NetworkManager.h
9129                 - Redefine 802.11 security properties.  There are now device capabilities
9130                         and AP flags and AP security flags.  It was way to unclear before.
9131
9132         * src/Makefile.am
9133           src/nm-ap-security-leap.h
9134           src/nm-ap-security-leap.c
9135           src/nm-ap-security-wpa-eap.c
9136           src/nm-ap-security-wpa-eap.h
9137           src/nm-ap-security-private.h
9138           src/nm-ap-security-wpa-psk.c
9139           src/nm-ap-security-wpa-psk.h
9140           src/nm-ap-security-wep.c
9141           src/nm-ap-security-wep.h
9142           src/nm-ap-security.c
9143           src/nm-ap-security.h
9144                 - Removed, to be replaced with NMConnection/NMSettings objects
9145
9146         * src/nm-dbus-nmi.c
9147           src/nm-dbus-nmi.h
9148                 - Removed, to be replaced by code that talks to the new info daemon
9149                         interface and gets NMConnection/NMSettings objects
9150
9151         * src/backends/NetworkManagerSuSE.c
9152                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9153                         info-daemon that does the same thing but talks the new info-daemon
9154                         D-Bus interface
9155
9156         * src/NetworkManagerAP.h
9157           src/NetworkManagerAP.c
9158           src/NetworkManagerAPList.c
9159           libnm-glib/libnm-glib-test.c
9160                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9161                         WPA/RSN
9162
9163         * libnm-glib/nm-access-point.c
9164           libnm-glib/nm-access-point.h
9165           introspection/nm-access-point.xml
9166           test/nm-tool.c
9167                 - Adjust to new flags for AP security
9168
9169         * utils/nm-utils.c
9170           utils/nm-utils.h
9171           src/vpn-manager/nm-dbus-vpn.c
9172                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9173                         stuff which is the only place it's used
9174
9175         * src/nm-device-interface.c
9176           src/nm-device-interface.h
9177           introspection/nm-device.xml
9178           src/nm-activation-request.c
9179           src/nm-activation-request.h
9180           src/nm-device.c
9181                 - Add a new 'specific_object' argument that hints to NM what actual
9182                         AP or other device-specific thing the connection should apply to.
9183                         NMConnection objects can apply to more than one actual device/AP.
9184
9185         * libnm-util/nm-connection.c
9186         * libnm-util/nm-connection.h
9187                 - Add 'have_secrets" call stubs
9188
9189         * libnm-util/cipher.h
9190                 - Move NM_AUTH_TYPE_* defines here for now
9191
9192         * src/nm-device-802-11-wireless.c
9193                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9194                         NMSettings objects
9195
9196         * src/NetworkManagerDbus.c
9197         * src/NetworkManagerPolicy.c
9198                 - Remove usage of update_allowed_networks, should be pushing data in
9199                         a different manner
9200
9201 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9202
9203         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9204         dbus-glib frees it when the call is done.
9205
9206 2007-08-26  Dan Williams  <dcbw@redhat.com>
9207
9208         * introspection/nm-device.xml
9209                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9210
9211 2007-08-26  Dan Williams  <dcbw@redhat.com>
9212
9213         * src/nm-device-802-3-ethernet.c
9214                 - (constructor): move connection of interface-connected/disconnected
9215                         signals here from real_bring_up().  Should be listening to netlink
9216                         for carrier events no matter what the initial state of the device
9217                         is.
9218
9219 2007-08-26  Dan Williams  <dcbw@redhat.com>
9220
9221         * src/nm-netlink-monitor.c
9222                 - (nm_netlink_monitor_class_init): fix marshalling types for
9223                         interface-connected/interface-disconnected
9224                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9225                         check
9226
9227 2007-08-26  Dan Williams  <dcbw@redhat.com>
9228
9229         Convert to using interface indexes as the primary method of identifying
9230         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9231         be renamed at any time.  Device object paths now refer to the device
9232         index rather than the name, and you can map those two manually if you like
9233         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9234         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9235         to use interface indexes rather than names.
9236
9237 2007-08-26  Dan Williams  <dcbw@redhat.com>
9238
9239         * src/nm-netlink-monitor.h
9240                 - Remove one last bit of wireless-event signal
9241
9242 2007-08-26  Dan Williams  <dcbw@redhat.com>
9243
9244         * src/nm-netlink-monitor.c
9245                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9246                         don't need the 'wireless-event' signal anymore since that's all
9247                         handled by wpa_supplicant
9248
9249 2007-08-25  Dan Williams  <dcbw@redhat.com>
9250
9251         It's 2007. Remove support for drivers that don't support wireless scanning.
9252
9253         * test/nm-tool.c
9254           include/NetworkManager.h
9255           src/NetworkManagerUtils.c
9256           src/NetworkManagerPolicy.c
9257           src/nm-device-802-11-wireless.c
9258                 - Remove special handling for non-scanning devices and mark them
9259                         as unsupported/unhandled
9260
9261 2007-08-20  Dan Williams  <dcbw@redhat.com>
9262
9263         * src/nm-device-802-11-wireless.c
9264           src/nm-device-802-3-ethernet.c
9265                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9266                         because when the card is pulled or the module removed, the device
9267                         is already !IFF_UP and then device-specific cleanup (removing
9268                         the supplicant interface, periodic checks, etc) never gets done
9269
9270 2007-08-20  Dan Williams  <dcbw@redhat.com>
9271
9272         * src/nm-manager.c
9273                 - (nm_manager_remove_device): bring device down before disconnecting
9274                         signal handlers, so that the 'state' signal will get broadcast when
9275                         the device enters the DOWN state
9276                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9277                         of states that cause the NMManager to recheck its state
9278
9279 2007-08-20  Dan Williams  <dcbw@redhat.com>
9280
9281         * src/supplicant-manager/nm-supplicant-interface.c
9282                 - (interface_disconnect_done): don't try to dispose of the net proxy
9283                         when it may already have been disposed of
9284
9285 2007-08-20  Dan Williams  <dcbw@redhat.com>
9286
9287         * src/nm-device-802-11-wireless.c
9288                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9289                         the SSID isn't available; this can happen when the card is pulled
9290                         or the module unloaded, during the post-removal deactivation
9291                         paths, when the ioctl returns ENODEV
9292
9293 2007-08-20  Dan Williams  <dcbw@redhat.com>
9294
9295         * src/nm-device-802-11-wireless.c
9296                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9297                         frequency, and mode match.  Applets are now responsible for grouping
9298                         access points
9299
9300 2007-08-20  Dan Williams  <dcbw@redhat.com>
9301
9302         * src/NetworkManagerAP.c
9303         * src/NetworkManagerAP.h
9304                 - (nm_ap_print_self): new function
9305
9306         * src/NetworkManagerAPList.c
9307                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9308                         to do it all here
9309         
9310 2007-08-17  Dan Williams  <dcbw@redhat.com>
9311
9312         * src/nm-device-802-3-ethernet.c
9313                 - (real_bring_down): don't try to dispose of stuff that might not
9314                         exist
9315
9316 2007-08-17  Dan Williams  <dcbw@redhat.com>
9317
9318         * src/NetworkManagerAP.c
9319                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9320                         applet.  This ensures that the case between the seen-bssids and
9321                         the bssids reported by the driver match.
9322
9323 2007-08-17  Dan Williams  <dcbw@redhat.com>
9324
9325         * src/nm-device-802-11-wireless.c
9326                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9327                         we dispose of the interface proxy in NM
9328
9329 2007-08-16  Dan Williams  <dcbw@redhat.com>
9330
9331         * libnm-glib/nm-client.c
9332                 - (nm_client_init): create VPN connections hash table with key free
9333                         function
9334                 - (proxy_vpn_connection_added): VPN connections hash table key should
9335                         be a duplicated value, not the same memory address as the VPN
9336                         connection name.  This is because the VPN connection name could
9337                         potentially be freed and set to something else during the lifetime
9338                         of the NMVPNConnection object.
9339
9340 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9341
9342         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9343         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9344         with the file descriptors. Send a child setup function to change the pppd
9345         progress group.
9346
9347 2007-08-15  Dan Williams  <dcbw@redhat.com>
9348
9349         * src/supplicant-manager/nm-supplicant-interface.c
9350                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9351                         an interface
9352                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9353                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9354                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9355                         the interface internally
9356
9357 2007-08-15  Dan Williams  <dcbw@redhat.com>
9358
9359         * src/nm-device-802-11-wireless.c
9360                 - (real_bring_down): move most of this function into device_cleanup()
9361                         so that it can be called from elsewhere
9362                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9363                         and stuff on dispose.  These would normally get cleaned up when
9364                         the device is marked down and deactivated, but when the device is
9365                         hot-unplugged, it's already down and real_down() never gets run
9366
9367 2007-08-15  Dan Williams  <dcbw@redhat.com>
9368
9369         * src/nm-dbus-nmi.c
9370                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9371                         caused a reference leak on device for which NM requested a key
9372
9373 2007-08-15  Dan Williams  <dcbw@redhat.com>
9374
9375         * libnm-glib/nm-client.c
9376                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9377
9378 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9379
9380         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9381         nothing is using it at the moment, but it'll be all useful and stuff later on.
9382
9383         * libnm-util/nm-setting.h: Define NMSettingPPP.
9384
9385         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9386
9387         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9388
9389         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9390
9391         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9392
9393         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9394
9395 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9396
9397         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9398
9399         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9400         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9401         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9402         name and different arguments and it won't compile anymore. To fix this, we now have
9403         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9404         that is new API + compatibility API and used by the daemon. The other, 
9405         nm-manager-client.xml is only the new API without compatibility bits and is used
9406         by libnm-glib to make it compile.
9407
9408         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9409
9410         * src/nm-manager.c (impl_manager_legacy_sleep)
9411         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9412         interface functions for 0.6 branch.
9413
9414 2007-08-14  Dan Williams  <dcbw@redhat.com>
9415
9416         * src/NetworkManagerAP.c
9417                 - (nm_ap_new_from_properties): fix mistaken check of return value
9418                         from memcmp (should expect 0)
9419
9420 2007-08-14  Dan Williams  <dcbw@redhat.com>
9421
9422         (force-commit to fix wrong comment and partial commit of r2685; this
9423          commit actually applies to r2685)
9424
9425         * src/NetworkManagerUtils.c
9426                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9427                         ignores trailing nulls in the SSID to work around mismatches in
9428                         expectations between WEXT and what the info-daemon passes back.  The
9429                         info-daemon would pass back the correct length, but due to the
9430                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9431                         the device would always have an SSID + 1 depending on what versions
9432                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9433                         visible by just quitting the applet and relaunching, which caused
9434                         NM to reassociated to the same network over again when reloading
9435                         the save networks.
9436
9437         * src/NetworkManagerPolicy.c
9438           src/NetworkManagerUtils.h
9439           src/nm-device-802-11-wireless.c
9440                 - Update for new parameter to nm_utils_same_ssid()
9441
9442 2007-08-14  Dan Williams  <dcbw@redhat.com>
9443
9444         * src/NetworkManagerAP.c
9445                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9446                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9447                         setting the BSSID to all 0s.  That confused the heck out of NM,
9448                         plus it's useless and probably out-of-spec.
9449
9450 2007-08-14  Dan Williams  <dcbw@redhat.com>
9451
9452         * callouts/Makefile.am
9453           src/dhcp-manager/nm-dhcp-manager.c
9454           src/dhcp-manager/nm-dhcp-manager.h
9455           src/dhcp-manager/Makefile.am
9456                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9457
9458 2007-08-14  Dan Williams  <dcbw@redhat.com>
9459
9460         * src/dhcp-manager/nm-dhcp-manager.c
9461                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9462                         it's really needed, get rid of unused xtra_args parameter
9463
9464 2007-08-14  Dan Williams  <dcbw@redhat.com>
9465
9466         * include/NetworkManagerVPN.h
9467           src/vpn-manager/nm-dbus-vpn.c
9468           src/vpn-manager/nm-dbus-vpn.h
9469           src/vpn-manager/nm-vpn-act-request.c
9470           src/vpn-manager/nm-vpn-act-request.h
9471           src/vpn-manager/nm-vpn-service.c
9472           src/vpn-manager/nm-vpn-service.h
9473           libnm-glib/nm-vpn-connection.c
9474           libnm-glib/nm-vpn-connection.h
9475           libnm-glib/nm-client.h
9476                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9477                         NMVPNServiceState to clarify what they apply to
9478                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9479                         NMVPNActStage -> NMVPNConnectionState for the same reason
9480
9481         * libnm-glib/nm-client.c
9482                 - Constant + type renames from above
9483                 - Properly handle NameOwnerChanged/manager_running signals
9484                         for NM service; only emit when state really changes
9485                 - Use hash tables correctly so that the key (which was previously owned
9486                         by the D-Bus message) now has the same lifetime as the value, since
9487                         the key is now taken from the the NMVPNConnection itself.  This
9488                         really fixes the double-VPN names in the applet
9489
9490 2007-08-13  Dan Williams  <dcbw@redhat.com>
9491
9492         Patch from Michael Biebl <biebl@debian.org>
9493
9494         * po/POTFILES.in
9495           po/POTFILES.skip
9496                 - Update for vpn-properties move
9497
9498 2007-08-13  Dan Williams  <dcbw@redhat.com>
9499
9500         * libnm-glib/nm-client.c
9501                 - Convert internal VPN connection tracking from a list to a hash table
9502                         to easily avoid duplicates
9503                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9504                         must be freed by the caller, like nm_client_get_devices()
9505                 - (nm_client_remove_vpn_connection): don't let the removal signal
9506                         leak through for NMVPNConnection objects that aren't actually
9507                         tracked.
9508                 - (manager_running): throw away VPN connection list when NM goes away,
9509                         like with the device list
9510
9511 2007-08-13  Dan Williams  <dcbw@redhat.com>
9512
9513         * src/dhcp-manager/nm-dhcp-manager.c
9514                 - Stop any dhclient instance that might be already running for a
9515                         particular interface before starting an NM spawned dhclient.  Fixes
9516                         dhclient processes left over if NM crashes, stuff like that.
9517
9518 2007-08-13  Dan Williams  <dcbw@redhat.com>
9519
9520         * src/NetworkManagerAP.c
9521                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9522                         when the AP wasn't broadcasting it's SSID
9523
9524 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9525
9526         * include/NetworkManager.h: added DBus path for connection settings.
9527
9528         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9529         nm_connection_settings_signal_updated,
9530         nm_connection_settings_signal_removed): new functions to wrap the
9531         objects' signals.
9532         (nm_connection_settings_init): register GObject with DBus.
9533         (nm_connection_settings_get_dbus_object_path): new function.
9534
9535         * libnm-glib/Makefile.am: added libnmutil to link flags.
9536
9537 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9538
9539         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9540
9541         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9542         libnm_glib directory got merged with libnm-glib/.
9543
9544         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9545
9546         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9547         Rename the library from libnm-glib to libnm_glib to maintain the library API
9548         compatibility with 0.6 branch.
9549
9550         * Makefile.am: Remove gnome/ SUBDIR.
9551
9552         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9553
9554         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9555
9556         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9557
9558         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9559         anymore.
9560         Remove checks for wpa_supplicant binary, it's used over dbus.
9561         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9562
9563         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9564         Link the binaries with libnm_glib.la.
9565
9566 2007-08-12  Dan Williams  <dcbw@redhat.com>
9567
9568         * src/NetworkManagerPolicy.c
9569                 - (nm_policy_device_change_check): fix policy to deactivate old device
9570                         before activating new one, at least until the multiple active
9571                         device support lands
9572
9573 2007-08-12  Dan Williams  <dcbw@redhat.com>
9574
9575         * src/NetworkManagerPolicy.c
9576                 - (nm_policy_new): hook up to connection-added / connection-removed
9577                         signals instead of connections-changed
9578
9579 2007-08-12  Dan Williams  <dcbw@redhat.com>
9580
9581         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9582         Robert Frank <rfrank@redhat.com>
9583
9584         * src/dhcp-manager/nm-dhcp-manager.c
9585           src/dhcp-manager/nm-dhcp-manager.c
9586           src/nm-device.c
9587                 - Spawn and communicate with dhclient directly, through means of a
9588                 custom dhclient callout script.  Process callout D-Bus signals
9589                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9590                 sent via gobject signals rather than being driven by the dhcp manager
9591                 directly.
9592
9593 2007-08-12  Dan Williams  <dcbw@redhat.com>
9594
9595         * callouts/nm-dhcp-client-action.c
9596                 - (build_message): ignore non-DHCP-related environment variables
9597
9598 2007-08-12  Dan Williams  <dcbw@redhat.com>
9599
9600         * Makefile.am
9601           configure.in
9602           callouts/Makefile.am
9603           callouts/nm-dhcp-client-action.c
9604           callouts/nm-dhcp-client.conf
9605                 - Add dhclient-executed callout that takes the place of dhclient-script
9606                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9607                 NM then listens for
9608
9609 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9610
9611         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9612
9613         * libnm-glib/nm-client.h:
9614         * libnm-glib/nm-object.h:
9615         * libnm-glib/nm-vpn-connection.h:
9616         * libnm-glib/nm-settings.h:
9617         * libnm-glib/nm-device.h:
9618         * libnm-glib/nm-ip4-config.h:
9619         * libnm-glib/nm-access-point.h:
9620         * libnm-glib/nm-device-802-3-ethernet.h:
9621         * libnm-util/nm-setting.h: 
9622         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9623
9624         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9625
9626         * libnm-glib/nm-access-point.c: Strength has type char.
9627
9628         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9629         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9630
9631         * introspection/nm-access-point.xml: Strength property is char, not int.
9632
9633         * src/NetworkManagerAP.c (set_property): Set strength from char.
9634         (get_property): Handle hidden APs (with empty SSID).
9635         Get strength value from char.
9636         (nm_ap_class_init): Strength property has char type.
9637
9638 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9639
9640         * introspection/Makefile.am:
9641         * introspection/nm-settings.xml:
9642         * introspection/nm-settings-connection.xml: added Settings interfaces.
9643
9644         * libnm-glib/nm-settings.[ch]:
9645         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9646         containing the DBus implementation.
9647
9648 2007-07-26  Dan Williams  <dcbw@redhat.com>
9649
9650         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9651
9652         * src/NetworkManagerSystem.c
9653                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9654                         same subnet (#437396)
9655
9656 2007-07-26  Dan Williams  <dcbw@redhat.com>
9657
9658         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9659
9660         * gnome/vpn-properties/nm-vpn-properties.c
9661                 - Fix translatable strings (#445865)
9662
9663 2007-07-26  Dan Williams  <dcbw@redhat.com>
9664
9665         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9666
9667         * configure.in
9668                 - Remove useless junk (#412530)
9669
9670 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9671
9672         Patch from Robert Buchholz <rbu@gentoo.org>:
9673
9674         * configure.in:
9675         * Makefile.am:
9676         * introspection/Makefile.am:
9677         Make make distcheck work again.
9678
9679 2007-06-27  Dan Williams  <dcbw@redhat.com>
9680
9681         * Make SSIDs GByteArrays everywhere
9682         * Rename "essid" -> "ssid" everywhere that's appropriate
9683         * Refcount activation_ap member of the 802.11 wireless device class
9684
9685 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9686
9687         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9688
9689 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9690
9691         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9692         that we got a new AP when we just update existing AP properties.
9693
9694 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9695
9696         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9697
9698         * nm-utils.[ch]: Remove.
9699
9700         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9701         objects for easy property access and dbus connection handling.
9702
9703         * libnm-glib/nm-client.c: Derive from NMObject.
9704
9705         * libnm-glib/nm-device.c: Ditto.
9706
9707         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9708
9709         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9710
9711         * libnm-glib/nm-ip4-config.c: Ditto.
9712
9713         * libnm-glib/nm-access-point.c: Ditto.
9714
9715         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9716         comparision. Currently used by the device activation code to determine if the new
9717         activation is the same as the old one.
9718
9719         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9720         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9721         able to ask password for the AP.
9722
9723         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9724         up if the device is already connected, tear down it's connection (if it isn't the
9725         same as new one) and start the activation.
9726
9727         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9728
9729         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9730         the issue where all APs are always listed as encrypted.
9731
9732         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9733         their own registered paths.
9734
9735         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9736         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9737
9738 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9739
9740         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9741         (0 & 0 == 0, doh)
9742
9743         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9744         because the handling code will cause the next state change and signal listeners
9745         get the signals in wrong order.
9746
9747         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9748         correctly in case of pending activation.
9749
9750         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9751         Convert the essid byte array to string correctly, including the terminating NULL.
9752
9753         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9754         mode with correct types.
9755
9756         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9757         constructed info to dbus call instead of the activation request.
9758
9759 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9760
9761         Patch from Christian Persch <chpe@gnome.org>
9762
9763         * libnm-glib/Makefile.am:
9764         * dispatcher-daemon/Makefile.am:
9765         Use the correct variables, the correct paths, and correct ordering. (446315)
9766
9767 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9768
9769         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9770         argument. The activation request is easy to retrieve.
9771
9772         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9773         just to be a convenient location for devices to store random stuff.
9774
9775 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9776
9777         Patch from Alex Smith <alex@alex-smith.me.uk>
9778
9779         * src/backends/NetworkManagerFrugalware.c:
9780         Update the FrugalWare backend to fix a few segfaults. (#392642)
9781
9782 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9783
9784         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9785
9786         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9787         setting.
9788         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9789
9790 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9791
9792         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9793         automagically.
9794         Implement NMSettingIP4Config.
9795         Finish NMSettingWired by adding all known members.
9796         (setting_wired_verify): Implement.
9797         Finish NMSettingWireless by adding all known members.
9798         (setting_wireless_verify): Implement.
9799
9800         * libnm-util/nm-connection.c: Register "ipv4" setting.
9801         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9802         dump function, we can introspect the GHashTable which is used for sending connections
9803         over dbus.
9804
9805         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9806         Take GByteArray for essid, it's really not a string.
9807
9808         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9809         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9810         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9811         means overriding the values we got from DHCP.
9812         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9813         (nm_device_deactivate_quickly): Ditto.
9814
9815         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9816         for debugging.
9817
9818 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9819
9820         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9821         NMConnection.
9822
9823         * libnm-glib/nm-device-802-11-wireless.c:
9824         (nm_device_802_3_ethernet_activate): Remove.
9825
9826         * libnm-glib/nm-device-802-3-ethernet.c
9827         (nm_device_802_3_ethernet_activate): Remove.
9828
9829         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9830
9831         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9832         NMConnection.
9833
9834         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9835         activation has started.
9836         Implement the new activation using NMConnection.
9837
9838         * src/nm-activation-request.c: Store a generic connection object instead
9839         of a wireless-specific AP.
9840
9841         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9842         on device type, create a device specific connection object suitable for
9843         device activation.
9844
9845         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9846         specific check to validate the connection and on success start the
9847         activation.
9848
9849         * src/nm-device-interface.h: Add a activate virtual function to the
9850         interface definition.
9851
9852         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9853         (impl_device_activate): Implement.
9854
9855         * introspection/nm-device.xml: Add a generic device activation interface
9856         that accepts an abstract NMConnection structure that has device-specific
9857         information in it.
9858
9859         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9860         activation interface.
9861
9862         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9863         activation interface.
9864
9865         * libnm-util/nm-connection.c: 
9866         * libnm-util/nm-connection.h: 
9867         * libnm-util/nm-setting.c:
9868         * libnm-util/nm-setting.h: Add.
9869
9870         * libnm-util/Makefile.am: Build the added files.
9871
9872         * src/nm-dbus-manager.c
9873         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9874         DbusConnection argument from 'name-owner-changed' signal. The manager
9875         is already passed as a first argument to the signal and the connection
9876         is easy enough to get from it.
9877
9878         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9879         Update the signature of the function.
9880
9881         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9882         Ditto.
9883
9884         * src/NetworkManager.c: Ditto.
9885
9886         * src/named-manager/nm-named-manager.c
9887         (nm_named_manager_name_owner_changed): Ditto.
9888
9889         * src/supplicant-manager/nm-supplicant-manager.c
9890         (nm_supplicant_manager_name_owner_changed): Ditto.
9891
9892         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9893
9894         * src/dhcp-manager/nm-dhcp-manager.c
9895         (nm_dhcp_manager_name_owner_changed): Ditto.
9896
9897         * src/nm-hal-manager.c: Add a list of device detectors and creators
9898         to make it easier to add new devices. Each device type has it's own
9899         entry in the table so adding new device types is only a matter of
9900         implementing a couple of functions, one for device detection and the
9901         other for device creation.
9902
9903 2007-04-25  Dan Williams  <dcbw@redhat.com>
9904
9905         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9906                 (gnome.org #432401)
9907
9908 2007-03-30  Dan Williams  <dcbw@redhat.com>
9909
9910         * src/NetworkManagerSystem.c
9911                 - (nm_system_device_set_ip4_route): clean up and fix argument
9912                         to nm_dev_sock_open()
9913
9914 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9915
9916         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9917         data to correct types instead of always using string.
9918
9919         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9920         _not_ have NM_802_11_CAP_PROTO_NONE.
9921         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9922         is not set.
9923
9924 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9925
9926         * libnm-glib/Makefile.am: Fix the build issue.
9927
9928 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9929
9930         * libnm-glib/nm-vpn-connection.h: 
9931         * libnm-glib/nm-vpn-connection.c: Implement.
9932
9933         * libnm-glib/nm-client.c: Add VPN support.
9934
9935         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9936         handler for VPN.
9937
9938         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9939         on DBUS again.
9940
9941 2007-03-26  Dan Williams  <dcbw@redhat.com>
9942
9943         * src/NetworkManagerAPList.c
9944         * src/nm-device-802-11-wireless.c
9945         * src/NetworkManagerAP.c:
9946                 - Store last seen as glong instead of GTimeVal.
9947                 - Fix the upper bound of capabilities, it's a bitfield.
9948
9949 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9950
9951         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9952
9953         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9954         "manager-running" signal that notifies the appearance/disappearance of NM.
9955         (nm_client_sleep): Implement.
9956
9957         * libnm-glib/nm-device.c:
9958         * libnm-glib/nm-device-802-11-wireless.c: 
9959         * libnm-glib/nm-device-802-3-ethernet.c: 
9960
9961         Don't inherit from DBusGProxy, add a proxy to private
9962         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9963         for anything but their own dbus interface. DBusGProxy objects support only one
9964         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9965         interface. The nice side effect of this change is that we do not create a new
9966         DBusGProxy object for each property access.
9967
9968 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9969
9970         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9971         with zeroes before passing them to functions - the functions never do that and
9972         reading the values back may produce wrong values.
9973         (real_bring_up): Store the signal handler id ...
9974         (real_bring_down): ... So that it can be removed here.
9975         Disconnect the supplicant interface here as well.
9976         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9977         from the access point instead of old $device/Networks/$essid.
9978
9979         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9980         device state is connected (instead of just having link/carrier).
9981
9982         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9983         already easily accessible through the device.
9984
9985         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9986         store it within the object.
9987         (nm_ap_get_dbus_path): Export it to public as well.
9988
9989         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9990         of the singleton.
9991
9992 2007-03-12  Dan Williams  <dcbw@redhat.com>
9993
9994         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9995         for non-carrier-detect capable devices, and useless for carrier-detect
9996         devices since we get notifications from netlink about carrier status anyway.
9997
9998         * src/nm-device-802-3-ethernet.c
9999                 - remove 'link_source_id' member from private data
10000                 - (probe_link): remove and collapse into real_update_link()
10001                 - (nm_device_802_3_periodic_update): remove
10002                 - (real_is_up): check for sup_iface rather than link_source_id
10003                 - (real_bring_up): return gboolean for success/fail; require that
10004                         sup_iface be valid for device bringup to succeed
10005                 - (real_bring_down): zero out link signal ids
10006
10007         * src/nm-device.c
10008                 - (nm_device_activate_stage2_device_config): fail activation if device
10009                         bringup fails
10010                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10011                         fails
10012                 - (nm_device_bring_up): return success/fail
10013
10014         * src/nm-device.h
10015                 - bring_up now returns success/fail
10016
10017         * src/nm-device-802-11-wireless.c
10018                 - (real_bring_up): return success from bringup
10019
10020 2007-03-07  Dan Williams  <dcbw@redhat.com>
10021
10022         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10023         * src/nm-ap-security-wpa-psk.c
10024                 - (real_write_supplicant_config): work with PSKs that may contain
10025                         zeros in the binary format rather than treating it as a string
10026
10027 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10028
10029         * libnm-glib/nm-device-802-11-wireless.c
10030         (nm_device_802_11_wireless_get_capabilities): Implement.
10031
10032         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10033
10034         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10035
10036         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10037         reply only if it's not NULL. Not sure why this started happening right now.
10038
10039         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10040         code paths for when devices get removed on shutdown or when a device is just
10041         removed.
10042         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10043         gets freed so any signal from a device (disconnected for instance) would invoke
10044         NMState update which would crash.
10045         (nm_manager_remove_device): Bring the device down when it gets removed.
10046
10047         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10048         the unused dev_type.
10049
10050         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10051         reference to the added device, NMManager will own it (if it wants).
10052
10053         * test/nm-tool.c: Rewrite using libnm-glib.
10054
10055         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10056         We get signalled when it changes.
10057
10058         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10059         when it changes.
10060
10061         * libnm-glib/nm-device.c: Cache the device state property.
10062
10063         * libnm-glib/nm-access-point.c: Cache the strength property.
10064
10065         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10066         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10067         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10068         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10069         the device is down, activating, or activated (in case of A/B/G cards).
10070         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10071         it's all done through supplicant now.
10072
10073         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10074         counting issues with pending calls which caused leaks and crashes when
10075         interface was removed (now that the interface actually gets removed).
10076
10077         * src/nm-call-store.c: Make a copy of data before running a foreach
10078         with user callback on it - The most common usage pattern is to cancel
10079         (and thus remove) all pending calls with foreach which would modify
10080         the hash table we're iterating over.
10081
10082         * src/nm-manager.c: When a device is added, make sure it is "up". When
10083         it's removed or disabled due to disabling wireless or networking, bring
10084         it down.
10085
10086         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10087
10088         * src/nm-device-802-11-wireless.c: 
10089         * src/nm-device-802-3-ethernet.c: 
10090         * src/nm-device.c:
10091                 - Remove "init" virtual function, all gobjects have a place for that
10092                   already (constructor).
10093                 - Replace "start" virtual function with "bring_up", devices can be
10094                   brought up and down more than just on startup now.
10095                 - Add "is_up" virtual function.
10096                 - Implement one way to bring a device down instead of previous 4 different
10097                   ways, each of witch did something different.
10098
10099         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10100         all it needs is the device interface.
10101
10102         Get rid of NMData.dev_list (3 members to go).
10103         Get rif of NMData in a lot of places.
10104
10105         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10106
10107 2007-02-23  Dan Williams  <dcbw@redhat.com>
10108
10109         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10110
10111         * src/NetworkManagerAP.c
10112                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10113                         OR-ing rather than AND-ing
10114
10115 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10116
10117         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10118         "network-removed" signals.
10119
10120         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10121
10122         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10123         when receiving the signal from dbus.
10124
10125         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10126         property.
10127
10128         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10129         deactivation of the previously activated device working again.
10130
10131         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10132         and setter.
10133
10134         * src/nm-device.c (nm_device_is_activated): Remove.
10135         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10136
10137         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10138         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10139         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10140         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10141         Remove NMNetworkStatus and NMActStage enums.
10142
10143 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10144
10145         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10146         Handle device state changes and disconnect VPN if it's device deactivates.
10147
10148         * src/nm-dbus-nm.c: 
10149         * src/nm-dbus-nm.h: 
10150         * src/nm-dbus-device.c: 
10151         * src/nm-dbus-device.c: 
10152         * src/nm-dbus-net.c: 
10153         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10154
10155         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10156
10157         * src/nm-device.c (nm_device_get_by_udi):
10158         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10159         implemented in the correct location (NMManager).
10160         Rip out all the test_device stuff.
10161
10162         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10163         failure handlers, it's all done by NMDevice already.
10164
10165         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10166         Remove the iochannel hack to route the unix signals to the main thread since
10167         we're not threaded anymore.
10168
10169         * src/NetworkManagerAP.c: Implement HWAddress property.
10170
10171         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10172         automatically with dbus-glib.
10173
10174         * src/nm-netlink-monitor.c: 
10175         * src/nm-netlink-monitor.h:
10176                 - Move it low in the class hierarchy, don't reference any NM types.
10177                 - Remove private data from the header.
10178                 - Use type safe checks in public API methods.
10179                 - Make it a singleton so we don't have to pass the single reference around.
10180
10181 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10182
10183         * introspection/nm-ip4-config.xml: Implement.
10184
10185         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10186
10187         * libnm-glib/nm-ip4-config.c:
10188         * libnm-glib/nm-ip4-config.c: Implement.
10189
10190         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10191         securities. APs reference security.
10192
10193         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10194         be exported over DBUS.
10195
10196         * src/nm-device-802-3-ethernet.c: Ditto.
10197
10198         * src/NetworkManagerAP.c:
10199         * src/NetworkManagerAP.h:
10200                 - Convert to GObject, export over DBUS.
10201
10202         * src/nm-ip4-config.h:
10203         * src/nm-ip4-config.h:
10204                 - Convert to GObject, export over DBUS.
10205
10206 2007-02-12  Dan Williams  <dcbw@redhat.com>
10207
10208         Patch from Helmut Schaa <hschaa@suse.de>
10209
10210         * vpn-daemons/pptp/configure.in
10211           vpn-daemons/pptp/Makefile.am
10212           vpn-daemons/openvpn/configure.in
10213           vpn-daemons/openvpn/Makefile.am
10214           vpn-daemons/vpnc/configure.in
10215           vpn-daemons/vpnc/Makefile.am
10216                 - Add --without-gnome switch which disables building gnome bits
10217
10218 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10219
10220         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10221
10222         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10223
10224         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10225         'HwAddress'.
10226
10227         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10228
10229         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10230
10231         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10232
10233         * src/:
10234                 - Remove old low-level dbus interface implementations and replace them
10235                   with dbus-glib one.
10236
10237         * configure.in:
10238                 - Require dbus-glib >= 0.72.
10239                 - Plug in new sources to build.
10240
10241         * libnm-glib/:
10242                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10243                   to make it more convenient to use from GObject based programs.
10244
10245         * introspection/:
10246                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10247
10248 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10249
10250         * src/nm-device-802-11-wireless.c:
10251                 - Add "network-added" and "network-removed" signals.
10252                 - Use gobject boilerplate macros to define the GObject.
10253                 - Implement wireless device activation.
10254                 - Remove activation_failure_handler and activation_success_handler
10255                   and instead listen on state-changed signals and run the same code
10256                   from there.
10257
10258         * src/nm-device.c:
10259                 - Implment NMDeviceInterface::deactivate.
10260                 - Remove activation_failure_handler and activation_success_handler
10261                   virtual methods. Each device which is interested in these events
10262                   can just listen on it's state changed signals.
10263
10264         * src/NetworkManagerPolicy.c:
10265                 - Move a bit more NMData usage to NMManager.
10266                 - Remove activation scheduling bits.
10267                 - Add listeners for wireless device's "network-added" and
10268                   "network-removed" signals.
10269                 - Listen device changed signals and deactivate currently activated
10270                   device when another device start activating (for now).
10271                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10272                   for calling this, the policy code knows exactly when this should happen,
10273                   by listening on events from NMManager and NMDevices.
10274
10275         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10276         Implement.
10277
10278         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10279         method on the specific device instead of going to through policy code
10280         and determining the device type by passed in AP's existance.
10281
10282         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10283         abstract NMDevice deactivation.
10284
10285 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10286
10287         * src/NetworkManager.c:
10288                 - Set up all the shiny new managers.
10289
10290         * src/NetworkManagerPolicy.c:
10291                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10292                   classes to call into policy code, make the policy code kind of like
10293                   a supervisor that monitors what's going on and drives the whole NM.
10294
10295         * src/nm-hal-manager.c: 
10296         * src/nm-hal-manager.h:
10297                 - Collect all libhal code scattered around NM to this one class.
10298                 - Listen libhal and NMManager events and add/remove devices to
10299                   NMManager.
10300
10301         * src/nm-manager.c:
10302         * src/nm-manager.h:
10303                 - Implment a replacement for NMData. NMData is now officially
10304                 deprecated.
10305
10306 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10307
10308         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10309         * src/supplicant-manager/nm-supplicant-interface.h
10310         * src/supplicant-manager/nm-supplicant-interface.c
10311         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10312         argument to boolean from enum.
10313
10314         Make NMDevice abstract class, remove almost all references to it's
10315         subclasses (the last place gets removed with new policy manager). Add
10316         NMDeviceInterface (which NMDevice implements) so that when we have
10317         NMDevice exported over DBUS, there's a common NMDevice interface which
10318         all instances have, plus there's a device specific interface for each
10319         specific type.
10320         Remove functions (nm_device_is_802_3_ethernet) and
10321         (nm_device_is_802_11_wireless). There are already standard GObject macros
10322         for type safe checks.
10323         Use the updated supplican manager API.
10324
10325         * src/nm-device-interface.h: 
10326         * src/nm-device-interface.c: 
10327         * src/nm-call-store.h: 
10328         * src/nm-call-store.c: Implement.
10329
10330         * src/supplicant-manager/nm-supplicant-interface.c:
10331         * src/supplicant-manager/nm-supplicant-interface.h:
10332         * src/supplicant-manager/nm-supplicant-manager.c:
10333         * src/supplicant-manager/nm-supplicant-manager.h:
10334                 - Remove all private data type references from public header files.
10335                 - Remove all references to other NM classes, this class is just a
10336                   proxy between wpa_supplicant and NM so it doesn't have to know
10337                   any internals.
10338                 - Convert to dbus-glib bindings.
10339                 - Type safe checks for public methods' arguments.
10340                 - Store pending DBUS call ids to NMCallStore.
10341
10342         * src/supplicant-manager/nm-supplicant-config.c:
10343                 - Store config values in a GHashTable instead of GSList.
10344
10345         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10346
10347         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10348         singleton now.
10349
10350         * src/nm-device.c: Use the new DHCP manager API.
10351
10352         * src/nm-activation-request.c:
10353         * src/nm-activation-request.h:
10354                 - Remove all dhcp related properties and methods.
10355
10356         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10357
10358         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10359
10360         * src/dhcp-manager/nm-dhcp-manager.c:
10361         * src/dhcp-manager/nm-dhcp-manager.h:
10362                 - Convert it to GObject since we need to signal state changes.
10363                 - Remove all references to other NM classes, this class is one
10364                   of the lowest classes in our hierarchy.
10365                 - One less class to use NMActRequest.
10366                 - Make it singleton, one less user of NMData.
10367                 - Remove a couple of sleep() calls.
10368                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10369                   One less class to use the NM's custom tailored signal handlig.
10370
10371         * Makefile.am: Generate marshallers, add them to build.
10372
10373 2007-02-02  Dan Williams  <dcbw@redhat.com>
10374
10375         * configure.in
10376           gnome/Makefile.am
10377           nm-applet.desktop
10378           Makefile.am
10379                 - Remove last bits referencing gnome applet
10380
10381 2007-02-02  Dan Williams  <dcbw@redhat.com>
10382
10383         * src/vpn-manager/nm-vpn-service.c
10384                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10385                         and NBNS server addresses
10386
10387 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10388
10389         * src/nm-dbus-manager.c:
10390         * src/nm-dbus-manager.h:
10391                 - Convert all internal DBUS code to use dbus-glib bindings.
10392                 - Remove GObject properties, we don't need them here.
10393                 - Don't explicitly set things to NULL after freeing, glib is
10394                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10395                 - Make public API argument checks type safe.
10396                 - Remove unnecessary (and wrong) cast to GObject for the first
10397                   argument to g_signal_* calls - The first argument is a gpointer.
10398                 - Export DBusGConnection to other cool classes that (are going to)
10399                   use dbus-glib.
10400
10401 2007-01-26  Dan Williams  <dcbw@redhat.com>
10402
10403         * libnm-util/dbus-dict-helpers.c
10404           libnm-util/dbus-dict-helpers.h
10405                 - Coordinate style with wpa_supplicant version to minimize diff
10406                 - Add uint32 array support
10407                 - (nmu_dbus_dict_append_uint32_array): new function
10408                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10409                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10410                         version; allow adding string array elements individually
10411
10412         * test/libnm-util/test-dbus-dict-helpers.c
10413                 - Test uint32 arrays
10414
10415 2007-01-27  Jürg Billeter  <j@bitron.ch>
10416
10417         * src/backends/NetworkManagerPaldo.c
10418                 - (nm_system_update_dns): clear nscd hosts cache
10419
10420 2007-01-04  Dan Williams  <dcbw@redhat.com>
10421
10422         Threading removal related cleanups:
10423
10424         - Use the glib default main context.  Remove the device main context
10425                 member from NMDevice, and the main_context member from NMData.  Change
10426                 all the idle and timeout scheduler functions to use plain
10427                 g_idle_add() and g_timeout_add().
10428
10429         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10430                 takes an argument; fix that up too.
10431
10432         - Remove all locking, which is useless since we no longer use threads.  For
10433                 example, nm_get_device_by_iface_locked() has been removed.  The global
10434                 device list lock, the AP List lock, and all static locks in
10435                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10436                 in NetworkManagerUtils.c have also been removed.
10437
10438         - Other cleanups in spacing and code style
10439
10440 2007-01-01  Dan Williams  <dcbw@redhat.com>
10441
10442         Found by Bill Moss:
10443
10444         * src/supplicant-manager/nm-supplicant-interface.c
10445                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10446                         the supplicant interface wasn't already disconnected.  Always
10447                         call removeNetwork and disconnect unless the supplicant interface
10448                         is in the DISCONNECTED or INACTIVE state.
10449
10450 2006-12-28  Dan Williams  <dcbw@redhat.com>
10451
10452         Use a single thread for everything.  With the move to wpa_supplicant
10453         and communication over D-Bus, there's no reason for multiple threads.
10454         Almost all of the blocking code has been removed, with one exception in
10455         the DHCP manager and a few in the VPN manager.  This commit removes the
10456         per-device worker thread and fixes activation cancellation in the absence
10457         of threads.  Further removal of thread-related code would be removing
10458         any locking code (like the device list lock) and simplification of logic
10459         around areas of code or data structures that are currently locked.
10460
10461         * autoip.c
10462           dhcp-manager/nm-dhcp-manager.c 
10463           nm-device-802-11-wireless.c
10464           nm-device-802-3-ethernet.c
10465           nm-device.c
10466           nm-device.h
10467                 - Remove usage of multiple threads
10468
10469 2006-12-19  Dan Williams  <dcbw@redhat.com>
10470
10471         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10472         plus a few other patches from wpa_supplicant bugzilla.
10473
10474         * src/Makefile.am
10475           src/NetworkManagerPolicy.c
10476           src/NetworkManagerUtils.c
10477           src/NetworkManagerUtils.h
10478           src/nm-ap-security-leap.c
10479           src/nm-ap-security-wep.c
10480           src/nm-ap-security-wpa-eap.c
10481           src/nm-ap-security-wpa-psk.c
10482           src/nm-ap-security.c
10483           src/nm-ap-security.h
10484           src/nm-device-802-11-wireless.c
10485           src/nm-device-802-11-wireless.h
10486           src/supplicant-manager/nm-supplicant-config.c
10487           src/supplicant-manager/nm-supplicant-config.h
10488           src/supplicant-manager/nm-supplicant-interface.c
10489           src/supplicant-manager/nm-supplicant-interface.h
10490           src/supplicant-manager/nm-supplicant-marshal.list
10491           src/supplicant-manager/nm-supplicant-settings-verify.c
10492           src/supplicant-manager/nm-supplicant-settings-verify.h
10493                 - Move all connection management and association handling to
10494                         wpa_supplicant over dbus, rather than spawning a private copy
10495
10496 2006-12-19  Dan Williams  <dcbw@redhat.com>
10497
10498         * src/NetworkManagerPolicy.c
10499                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10500                         better locking of the device change check handler ID.  Incorrect
10501                         locking was causing lost device change requests
10502
10503 2006-12-18  Dan Williams  <dcbw@redhat.com>
10504
10505         * libnm-util/dbus-dict-helpers.c
10506                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10507                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10508                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10509
10510 2006-12-18  Dan Williams  <dcbw@redhat.com>
10511
10512         * gnome/libnm_glib/libnm_glib.c
10513                 - Change dbus_connection_close() -> dbus_connection_unref()
10514
10515 2006-12-11  Dan Williams  <dcbw@redhat.com>
10516
10517         * src/supplicant-manager/nm-supplicant-interface.c
10518                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10519                         wpa_supplicant interface state
10520                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10521                         state before transitioning to READY state
10522
10523 2006-12-04  Dan Williams  <dcbw@redhat.com>
10524
10525         * src/nm-device-802-11-wireless.c
10526                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10527                         odd length of ESSID returned from ieee80211 stack-based drivers
10528
10529 2006-12-04  Dan Williams  <dcbw@redhat.com>
10530
10531         * src/nm-device-802-11-wireless.c
10532                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10533                         IE handling blocks that cause mis-parsing of the IE
10534
10535 2006-12-04  Dan Williams  <dcbw@redhat.com>
10536
10537         * src/nm-device-802-11-wireless.c
10538                 - (init_supplicant_interface): new function; pull supplicant interface
10539                         setup code out into standalone function since it must be called from
10540                         two different places
10541                 - (real_init): sup_mgr is now in private object data; get and track
10542                         the supplicant manager object over the NMDevice subclass' lifetime
10543                         and register a signal handler for its state signals; only try to
10544                         initialize the supplicant interface if the supplicant manager is in
10545                         the IDLE state (and therefore is ready for requests)
10546                 - (request_wireless_scan): reschedule the scan request if (a) there is
10547                         no supplicant interface yet (meaning wpa_supplicant isn't running
10548                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10549                         for requests yet
10550                 - (supplicant_iface_connection_state_cb): new function; stub for
10551                         handling supplicant interface connection state signals
10552                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10553                         comes and goes
10554                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10555                         supplicant manager object that's being tracked starting with this
10556                         commit
10557
10558 2006-12-04  Dan Williams  <dcbw@redhat.com>
10559
10560         * src/supplicant-manager/nm-supplicant-interface.c
10561                 - (nm_supplicant_interface_set_property): track signal handler ID
10562                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10563
10564 2006-12-04  Dan Williams  <dcbw@redhat.com>
10565
10566         * src/supplicant-manager/nm-supplicant-interface.[ch]
10567                 - (nm_supplicant_interface_get_state): new function
10568
10569 2006-12-04  Dan Williams  <dcbw@redhat.com>
10570
10571         * src/supplicant-manager/nm-supplicant-interface.c
10572                 - (bssid_properties_cb): don't treat DBus errors as valid
10573                         scanned AP messages
10574
10575 2006-12-04  Dan Williams  <dcbw@redhat.com>
10576
10577         * src/supplicant-manager/nm-supplicant-interface.[ch]
10578                 - (nm_supplicant_interface_get_connection_state): new function
10579                 - define new supplicant connection states
10580                 - send a signal when the supplicant connection state changes
10581
10582 2006-12-03  Dan Williams  <dcbw@redhat.com>
10583
10584         * src/supplicant-manager/Makefile.am
10585           src/supplicant-manager/nm-supplicant-connection.h
10586           src/supplicant-manager/nm-supplicant-connection.c
10587           src/supplicant-manager/nm-supplicant-config.h
10588           src/supplicant-manager/nm-supplicant-config.c
10589           src/supplicant-manager/nm-supplicant-types.h
10590           src/supplicant-manager/nm-supplicant-interface.h
10591           src/supplicant-manager/nm-supplicant-interface.c
10592                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10593
10594 2006-12-03  Dan Williams  <dcbw@redhat.com>
10595
10596         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10597
10598         * po/POTFILES.in
10599           po/POTFILES.skip
10600                 - Move VPN-related translatables to .skip
10601
10602         * vpn-daemons/pptp/po/POTFILES.in
10603                 - Update with new translatables
10604
10605 2006-12-02  Dan Williams  <dcbw@redhat.com>
10606
10607         Patch from Christian Persch <chpe@gnome.org>
10608
10609         * gnome/applet/Makefile.am
10610           gnome/applet/applet-dbus-devices.c
10611           gnome/applet/applet-notifications.c
10612           gnome/applet/applet.c
10613           gnome/applet/applet.h
10614           gnome/applet/main.c
10615                 - Be a GtkStatusIcon on GTK+ >= 2.10
10616
10617 2006-12-02  Dan Williams  <dcbw@redhat.com>
10618
10619         * gnome/applet/applet.c
10620                 - (nma_update_info): fix two unecessary allocations
10621
10622 2006-12-02  Dan Williams  <dcbw@redhat.com>
10623
10624         Patch from Michael Biebl <biebl@teco.edu>
10625         * configure.in
10626           man/NetworkManager.1.in
10627           man/NetworkManagerDispatcher.1.in
10628           man/NetworkManager.8.in
10629           man/NetworkManagerDispatcher.8.in
10630                 - Add .SH NAME stanzas
10631                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10632
10633 2006-12-02  Dan Williams  <dcbw@redhat.com>
10634
10635         Patch from Christian Persch <chpe@gnome.org>
10636
10637         * configure.in
10638                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10639
10640 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10641
10642         Patch by Timo Hoenig <thoenig@suse.de>:
10643         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10644         DBUS-1.0.
10645
10646         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10647         we can't use the one from the main source directory.
10648
10649 2006-11-27  Dan Williams  <dcbw@redhat.com>
10650
10651         Patch from Christian Persch <chpe@gnome.org>
10652
10653         * gnome/applet/applet-dbus-devices.c
10654                 - (hal_info_product_cb): fix memleak; free duped string.
10655                         Gnome.org #379908
10656
10657 2006-11-27  Dan Williams  <dcbw@redhat.com>
10658
10659         Patch from Christian Persch <chpe@gnome.org>
10660
10661         * gnome/applet/menu-items.c
10662                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10663                         as gtk_progress_set_percentage is deprecated.  Should
10664                         work as far back as GTK+ 2.4.  Gnome.org #379780
10665
10666 2006-11-26  Dan Williams  <dcbw@redhat.com>
10667
10668         Scan using wpa_supplicant over DBus.
10669
10670         * src/nm-device-802-11-wireless.c
10671                 - remove wireless extensions netlink event handler bits
10672                         (wireless_event_helper, nm_device_802_11_wireless_event)
10673                 - remove wireless extensions scan event handler bits
10674                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10675                         hex2byte, hex2num, request_and_convert_scan_results,
10676                         free_process_scan_cb_data, scan_results_timeout,
10677                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10678                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10679                         and request scans from the supplicant interface rather than directly
10680                 - Move functionality of convert_scan_results() to cull_scan_list() and
10681                         supplicant_iface_scanned_ap_cb()
10682                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10683                         at the scan interval when the current scan has finished
10684                 - (supplicant_iface_state_cb): start scanning when the supplicant
10685                         interface enters the READY state, and stop scanning when it
10686                         enters the DOWN state
10687                 - (cull_scan_list): weed out old access points from the scan list
10688                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10689                         point into an NMAccessPoint and merge it into the device's scan list
10690
10691         * src/supplicant-manager/nm-supplicant-interface.c
10692           src/supplicant-manager/nm-supplicant-interface.h
10693                 - Add a new signal "scan-result" which is issued when the supplicant
10694                         notifies NM that a scan has completed
10695                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10696                         point found in the scan.  Called once for each access point that
10697                         the supplicant interface object receives from the supplicant as a
10698                         result of the "scanResults" method call
10699                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10700                         for the initial scan results
10701                 - (scan_request_cb): new function; send listeners the result
10702                         (success, error) of a wireless scan request
10703                 - (nm_supplicant_interface_request_scan): new function; ask the
10704                         supplicant to perform an immediate wireless scan
10705
10706 2006-11-25  Dan Williams  <dcbw@redhat.com>
10707
10708         * src/supplicant-manager/Makefile.am
10709                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10710                         add HAL cflags/includes and named-manager includes directory
10711
10712         * src/supplicant-manager/nm-supplicant-interface.h
10713                 - New state STARTING to handle transition from INIT to READY where
10714                         the addInterface pending call is still outstanding
10715
10716         * src/supplicant-manager/nm-supplicant-interface.c
10717                 - track pending calls differently since we may have more than one
10718                         going on at any given time
10719                 - request scan results from wpa_supplicant; but don't do it more often
10720                         than every 4 seconds.  Drivers that do background scanning
10721                         (like the 'ipw' drivers) send a continuous stream of scan completion
10722                         notifications, so we don't want to hammer the supplicant or dbus
10723                         with requests for all scan results every time we get a completion
10724                         notification.
10725
10726 2006-11-25  Dan Williams  <dcbw@redhat.com>
10727
10728         * src/supplicant-manager/nm-supplicant-types.h
10729                 - new file; move all supplicant manager object typedefs here for
10730                         #include sanity
10731
10732         * src/supplicant-manager/nm-supplicant-interface.c
10733           src/supplicant-manager/nm-supplicant-interface.h
10734                 - new file; an object that interfaces an NMDevice object to the
10735                         supplicant and handles signals from the supplicant.  This object
10736                         does all necessary DBus communication with wpa_supplicant.
10737
10738         * src/supplicant-manager/nm-supplicant-manager.c
10739           src/supplicant-manager/nm-supplicant-manager.h
10740                 - Actually do something.  Track the state of the wpa_supplicant service
10741                         and deal with its comings & goings.  Handle life events of
10742                         supplicant interfaces too.
10743                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10744
10745         * src/supplicant-manager/nm-supplicant-connection.h
10746                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10747
10748         * src/supplicant-manager/Makefile.am
10749                 - Add new files to build, and add libnm-util to includes
10750
10751         * src/nm-marshal.list
10752                 - New marshaler type: VOID:UINT,UINT
10753
10754         * src/nm-device-802-3-ethernet.c
10755                 - (real_init): grab a supplicant interface
10756                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10757                 - (supplicant_iface_state_cb): new function, stub for handling
10758                         supplicant interface state changes
10759
10760         * src/nm-device-802-11-wireless.c
10761                 - (real_init): grab a supplicant interface
10762                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10763                 - (supplicant_iface_state_cb): new function, stub for handling
10764                         supplicant interface state changes
10765
10766         * src/NetworkManager.c
10767                 - (main): create and keep the supplicant manager around for the lifetime
10768                         of NetworkManager
10769
10770         * src/Makefile.am
10771                 - Link to the supplicant manager sub-library and use the supplicant
10772                         manager includes
10773
10774 2006-11-25  Dan Williams  <dcbw@redhat.com>
10775
10776         Rework DBus manager signal handling to be more flexible.  Previously,
10777         only one signal handler could be registered for a particular interface.
10778         The DBus manager now reference counts DBus bus matches and allows multiple
10779         clients to register signal handlers for the same interface and sender.
10780
10781         * src/NetworkManager.c
10782                 - (main): track NMI signal handler ID and remove it when we quit
10783
10784         * src/NetworkManagerMain.h
10785                 - Keep track of NMI signal handler ID
10786
10787         * src/nm-dbus-manager.c
10788           src/nm-dbus-manager.h
10789                 - rework signal handling; each signal handler references one signal
10790                         match, but a signal match may be referenced by one or more
10791                         signal handlers.  Matches are refcounted and are destroyed when the
10792                         last signal handler that references the match is removed.  This is
10793                         necessary because two signal handlers may end up requiring the same
10794                         dbus bus match, so the match must live until the last signal handler
10795                         is destroyed (for example, with the wpa_supplicant network interface
10796                         dbus interface).
10797
10798         * src/dhcp-manager/nm-dhcp-manager.c
10799                 - (nm_dhcp_manager_new): track DHCP signal handler id
10800                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10801
10802         * src/vpn-manager/nm-vpn-service.c
10803                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10804                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10805
10806 2006-11-25  Dan Williams  <dcbw@redhat.com>
10807
10808         Suggested by Helmut Schaa <hschaa@suse.de>
10809
10810         * src/vpn-daemons/nm-vpn-service.c
10811                 - (supplicant_child_setup): new function
10812                 - (supplicant_exec): make child process use a new process group id
10813
10814         * src/nm-device-802-11-wireless.c
10815                 - (nm_vpn_service_child_setup): new function
10816                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10817                         process group id
10818
10819 2006-11-19  Dan Williams  <dcbw@redhat.com>
10820
10821         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10822         * gnome/vpn-properties/nm-vpn-properties.c
10823                 - clean up after renamed VPN connection
10824
10825 2006-11-19  Dan Williams  <dcbw@redhat.com>
10826
10827         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10828         * gnome/applet/applet-dbus-vpn.c
10829                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10830
10831         * gnome/vpn-properties/nm-vpn-properties.c
10832                 - (init_app): sort VPN connections
10833
10834 2006-11-09  Dan Williams  <dcbw@redhat.com>
10835
10836         * src/NetworkManagerAPList.c
10837                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10838                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10839                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10840                 broke hidden SSID matching.  Found by Bill Moss.
10841
10842 2006-10-25  Dan Williams  <dcbw@redhat.com>
10843
10844         * src/nm-dbus-nm.c
10845                 - (nm_dbus_nm_set_active_device): return an empty success message on
10846                         success, rather than falling through to the error case.
10847
10848 2006-10-25  Dan Williams  <dcbw@redhat.com>
10849
10850         * src/NetworkManagerUtils.c
10851                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10852                         "SCAN" command
10853
10854 2006-10-24  Dan Williams  <dcbw@redhat.com>
10855
10856         Reduce the number of times the Gnome applet wakes up, especially when
10857         it's doing absolutely nothing and is hidden.  Initial patch by
10858         Chris Aillon.
10859
10860         * gnome/applet/applet-dbus.c
10861                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10862                         kill the redraw timeout.  When NM starts up, start the redraw
10863                         timeout.  Also, if we get kicked off the bus for some reason,
10864                         start the reconnection timeout if one's not already running.
10865                 - (nma_dbus_init): better handling of error conditions, don't leak
10866                         a half-initialized dbus connection
10867                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10868                         the applet's data, just call nm_dbus_init_helper()
10869                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10870                         timeout that calls nma_dbus_connection_watcher()
10871                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10872                         reconnection timeout, and don't start the reconnection timeout
10873                         unconditionally anymore
10874
10875         * gnome/applet/applet-dbus.h
10876                 - Expose nma_start_dbus_connection_watch()
10877
10878         * gnome/applet/applet.c
10879                 - (nma_update_state): no longer static, called from applet-dbus.c for
10880                         immediate UI updates on certain events
10881                 - (nma_set_running): new function; take over setting applet->running,
10882                         when not running (ie, NM is not active), don't activate the redraw
10883                         timeout because we're not showing the applet anyway.  When we are
10884                         running (ie, NM is active), and only when we're running, start the
10885                         redraw timeout.
10886                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10887                         kill any reconnection timeout
10888                 - (nma_get_instance): move one-off dbus initialization code here since
10889                         nm_dbus_init_helper() gets called more than once, possibly by the
10890                         reconnection timeout function too.  And, when we start up, if we
10891                         can't get a connection to the bus, start the reconnection timeout.
10892                         But don't start the redraw timeout yet, only do that when we get
10893                         NM's state and find out if it's running or not.
10894
10895         * gnome/applet/applet.h
10896                 - Add the reconnection GSource ID
10897                 - Add prototypes for nma_set_running() and the no-longer-static
10898                         nma_update_state()
10899
10900 2006-10-24  Dan Williams  <dcbw@redhat.com>
10901
10902         * src/vpn-daemons/nm-dbus-vpnc.c
10903                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10904                         pending call tracker
10905                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10906                         pending call tracker; register one-vpn-connection update pending
10907                         call in pending call tracker
10908                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10909                         update pending call in pending call tracker
10910                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10911                         update pending call in pending call tracker; don't block waiting
10912                         for call to return
10913
10914 2006-10-19  Robert Love  <rml@novell.com>
10915
10916         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10917           refresh the cache.
10918
10919 2006-10-14  Dan Williams  <dcbw@redhat.com>
10920
10921         * src/dhcp-manager/nm-dhcp-manager.c
10922                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10923                 the dbus connection and the device object path rather than
10924                 constructing it inside both functions.  Saves a bit of memory
10925                 and clarifies a failure path.
10926                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10927                 and allocate device path here rather than each of the two
10928                 functions above.
10929
10930 2006-10-13  Dan Williams  <dcbw@redhat.com>
10931
10932         * src/NetworkManager.c
10933                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10934                 this somehow droppout in the refactor
10935
10936 2006-10-13  Dan Williams  <dcbw@redhat.com>
10937
10938         * Huge DBus refactor:
10939                 - Create a "DBus Manager" object which manages the connection and
10940                 sends signals on NameOwnerChanged and connection/disconnection events,
10941                 handles reconnection to the bus if NM gets kicked off, and abstracts
10942                 signal handling
10943                 - Remove DBusConnection members from places where they are no
10944                 longer needed due to the refactor, like the dbus-connection
10945                 property of the named manager, and from NMData
10946                 - Reformats a bunch of the code to gnome style
10947                 (8-space tabs, braces on same line as statement, 80-col width).
10948                 Consider it open season to reformat any bits to gnome style.
10949                 style that aren't already.
10950
10951 2006-10-13  Dan Williams  <dcbw@redhat.com>
10952
10953         * src/supplicant-manager/Makefile.am
10954                 - Add new files
10955
10956         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10957                 - Make it a minimal GObject
10958
10959         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10960                 - Verify settings destined for wpa_supplicant
10961
10962         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10963                 - Minimal GObject to track wpa_supplicant controlled device
10964                 connections
10965
10966 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10967
10968         * gnome/applet/applet.c: (nma_update_info),
10969         (nma_act_stage_to_pixbuf), (nma_update_state):
10970         Mark missing strings for translation. Fixes bug #343306.
10971
10972 2006-10-01  Dan Williams  <dcbw@redhat.com>
10973
10974         * src/vpn-manager/nm-vpn-manager.c
10975                 - (nm_vpn_manager_load_services): split and clean up
10976                 for readability and correctness.  Restrict VPN service
10977                 files to ending in ".name", as was meant from the
10978                 beginning (but not coded in).  Better error reporting.
10979
10980 2006-10-01  Dan Williams  <dcbw@redhat.com>
10981
10982         * utils/nm-utils.h
10983                 - Clean up formatting of debug/info/warning log messages
10984
10985 2006-09-27  Robert Love  <rml@novell.com>
10986
10987         Patch by Tambet Ingo <tambet@ximian.com>:
10988         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10989           actually work.
10990
10991 2006-09-07  Dan Williams <dcbw@redhat.com>
10992
10993         * test/Makefile.am
10994           test/libnm-util/Makefile.am
10995           test/nm-supplicant-test.c
10996                 - Add test program emulating the way NM drives wpa_supplicant
10997                 to help debug supplicant issues
10998
10999 2006-08-24  Dan Williams <dcbw@redhat.com>
11000
11001         * configure.in
11002           src/Makefile.am
11003           src/supplicant-manager/Makefile.am
11004           src/supplicant-manager/nm-supplicant-manager.c
11005           src/supplicant-manager/nm-supplicant-manager.h
11006                 - Add skeleton bits of the wpa_supplicant manager
11007
11008 2006-08-24  Dan Williams <dcbw@redhat.com>
11009
11010         Patch from Ed Catmur:
11011         * src/NetworkManagerUtils.c
11012                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11013                 if netmask is 0 (Gnome #352634)
11014
11015 2006-08-17  Robert Love  <rml@novell.com>
11016
11017         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11018           package is now DBUS-enabled and listens for the NM signals.
11019
11020 2006-08-14  Dan Williams  <dcbw@redhat.com>
11021
11022         * Patch from Christian Persch <chpe gnome org>
11023         * configure.in
11024           po/LINGUAS
11025           vpn-daemons/openvpn/po/LINGUAS
11026           vpn-daemons/openvpn/configure.in
11027           vpn-daemons/pptp/po/LINGUAS
11028           vpn-daemons/pptp/configure.in
11029           vpn-daemons/vpnc/po/LINGUAS
11030           vpn-daemons/vpnc/configure.in
11031                 - Convert to LINGUAS method so translators don't have to modify
11032                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11033                 0.35 or higher
11034
11035 2006-08-14  Dan Williams  <dcbw@redhat.com>
11036
11037         Patch from Alex Smith <alex.extreme2@gmail.com>
11038         * configure.in
11039           src/backends/Makefile.am
11040           src/backends/NetworkManagerFrugalware.c
11041                 - Add support for Frugalware
11042
11043 2006-08-13  Dan Williams  <dcbw@redhat.com>
11044
11045         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11046         * src/nm-device-802-11-wireless.c
11047                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11048                 Gnome #346875
11049
11050 2006-08-13  Dan Williams  <dcbw@redhat.com>
11051
11052         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11053         * src/nm-ap-security.c
11054           src/nm-ap-security.h
11055                 - Add authentication_required bits for subclasses to specify whether
11056                 or not real authentication is required for connections, i.e. whether
11057                 the AP rejects us when an encryption key is wrong or not.
11058
11059         * src/nm-ap-security-wep.c
11060           src/nm-ap-security-wpa-eap.c
11061           src/nm-ap-security-wpa-psk.c
11062           src/nm-ap-security-leap.c
11063                 - Implement authentication_required appropriately for each method
11064
11065         * src/nm-device-802-11-wireless.c
11066                 - Be smarter about when to request a key; for example, using a wrong key
11067                 in WEP shared key mode previously just timed out and did not request
11068                 a new key
11069
11070 2006-08-13  Dan Williams  <dcbw@redhat.com>
11071
11072         * gnome/libnm_glib/libnm_glib.c
11073                 - dbus_connection_disconnect() -> dbus_connection_close() for
11074                 dbus >= 0.90
11075
11076 2006-08-07  Dan Williams  <dcbw@redhat.com>
11077
11078         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11079         * src/NetworkManagerSystem.c
11080                 - Respect specified MTU.  Gnome #344967
11081
11082 2006-08-07  Dan Williams  <dcbw@redhat.com>
11083
11084         * src/vpn-manager/nm-vpn-service.c
11085                 - Simplify print_vpn_config() arguments
11086
11087         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11088         * src/vpn-manager/Makefile.am
11089           src/vpn-manager/nm-vpn-service.c
11090                 - Add new API for passing VPN config options as a dict. Gnome #344967
11091
11092 2006-08-06  Dan Williams  <dcbw@redhat.com>
11093
11094         * gnome/applet/applet-dbus-devices.c
11095           gnome/applet/applet-dbus-vpn.c
11096           gnome/applet/applet-dbus.c
11097           gnome/applet/applet-dbus.h
11098           src/nm-dbus-nmi.c
11099           utils/nm-utils.c
11100           utils/nm-utils.h
11101                 - Make pending call tracking code generic,
11102                 so we can use it in NM as well as the applet
11103
11104 2006-08-06  Dan Williams  <dcbw@redhat.com>
11105
11106         * src/nm-activation-request.c
11107                 - Refcount pending call objects
11108
11109 2006-08-06  Dan Williams  <dcbw@redhat.com>
11110
11111         Patch from Christan Chiesa <christanc@gmail.com>
11112         * configure.in
11113                 - Tell sha1.c to use bigendian mode on PPC
11114
11115 2006-08-04  Robert Love  <rml@novell.com>
11116
11117         Glib Memory Slices!
11118         * configure.in: Require glib 2.10 or later.
11119         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11120           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11121           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11122           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11123           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11124           Memory Slices are the greatest thing since bread slices.
11125         * src/NetworkManagerAP.c: Also, fix memory leak.
11126
11127 2006-08-01  Robert Love  <rml@novell.com>
11128
11129         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11130
11131 2006-07-31  Robert Love  <rml@novell.com>
11132
11133         * src/backends/interface_parser.c: Declarations must begin the block.
11134
11135 2006-07-24  Dan Williams  <dcbw@redhat.com>
11136
11137         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11138         * src/backends/Makefile.am
11139           src/backends/NetworkManagerArch.c
11140           src/backends/NetworkManagerDebian.c
11141           src/backends/NetworkManagerGeneric.c
11142           src/backends/NetworkManagerGeneric.h
11143           src/backends/NetworkManagerGentoo.c
11144           src/backends/NetworkManagerPaldo.c
11145           src/backends/NetworkManagerRedHat.c
11146           src/backends/NetworkManagerSlackware.c
11147           src/backends/NetworkManagerSuSE.c
11148                 - Genericize common backend functions
11149
11150 2006-07-18  Robert Love  <rml@novell.com>
11151
11152         * configure.in: Add "--with-notify" option to allow disabling of
11153           libnotify support.
11154
11155 2006-07-13  Dan Williams  <dcbw@redhat.com>
11156
11157         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11158         * gnome/applet/applet.glade
11159           gnome/applet/Makefile.am
11160           gnome/applet/nm-gconf-wso.c
11161           gnome/applet/nm-gconf-wso-leap.c
11162           gnome/applet/nm-gconf-wso-leap.h
11163           gnome/applet/wireless-security-manager.c
11164           gnome/applet/wso-leap.c
11165           gnome/applet/wso-leap.h
11166           include/NetworkManager.h
11167           libnm-util/dbus-helpers.c
11168           libnm-util/dbus-helpers.h
11169           src/Makefile.am
11170           src/NetworkManagerAP.c
11171           src/nm-ap-security.c
11172           src/nm-ap-security-leap.c
11173           src/nm-ap-security-leap.h
11174                 - Add LEAP authentication support
11175
11176 2006-07-13  Dan Williams  <dcbw@redhat.com>
11177
11178         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11179         * configure.in
11180           src/backends/NetworkManagerArch.c
11181           src/backends/NetworkManagerDebian.c
11182           src/backends/NetworkManagerGentoo.c
11183           src/backends/NetworkManagerPaldo.c
11184           src/backends/NetworkManagerRedHat.c
11185           src/backends/NetworkManagerSlackware.c
11186           src/backends/NetworkManagerSuSE.c
11187                 - Convert hardcoding of 'ip' path to configure-time
11188                         detected one
11189
11190 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11191
11192         * configure.in: added ru to ALL_LINGUAS
11193
11194 2006-07-10  Dan Williams  <dcbw@redhat.com>
11195
11196         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11197         * src/nm-device.c
11198                 - (real_act_stage3_ip_config_start): don't infinite loop when
11199                         dhcdbd isn't running (Gnome #346845)
11200
11201 2006-07-09  Dan Williams  <dcbw@redhat.com>
11202
11203         * gnome/applet/applet.c
11204                 - (nma_destroy): don't pass NULL to notify_notification_close
11205                         (RH #197917)
11206
11207 2006-07-09  Dan Williams  <dcbw@redhat.com>
11208
11209         * gnome/applet/applet.c
11210                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11211
11212 2006-07-04  Tor Krill  <tor@krill.nu>
11213
11214         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11215         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11216         (nm_system_restart_mdns_responder), (ArchReadConfig),
11217         (nm_system_device_get_system_config):
11218                 - Explicitly check for DHCP configuration
11219                 - Check if daemons are running before starting them
11220
11221 2006-06-25  Dan Williams  <dcbw@redhat.com>
11222
11223         * libnm-util/dbus-dict-helpers.[ch]
11224           test/libnm-util/test-dbus-dict-helpers.c
11225                 - Add string array support
11226
11227 2006-06-24  Dan Williams  <dcbw@redhat.com>
11228
11229         * src/dhcp-manager/nm-dhcp-manager.c
11230                 - (nm_dhcp_manager_process_signal): clean up spacing
11231
11232 2006-06-21  Dan Williams  <dcbw@redhat.com>
11233
11234         * src/nm-dbus-device.c
11235                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11236                         through dbus
11237
11238 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11239
11240         * configure.in: Added 'lv' to ALL_LINGUAS
11241
11242 2006-06-19  Dan Williams  <dcbw@redhat.com>
11243
11244         * src/NetworkManagerAP.c
11245                 - Clarify usage of user_created
11246
11247         * src/nm-ap-security-wep.c
11248           src/nm-ap-security-wpa-eap.c
11249           src/nm-ap-security-wpa-psk.c
11250           src/nm-ap-security.c
11251           src/nm-ap-security.h
11252                 - s/user_created/adhoc, because we really do mean adhoc
11253
11254         Patch from Bernard Blackham <bernard@blackham.com.au>
11255         * src/nm-device-802-11-wireless.c         
11256                 - (supplicant_send_network_config): instead of user_created,
11257                         use adhoc, and do AP_SCAN 2 for adhoc networks
11258
11259 2006-06-18  Robert Love  <rml@novell.com>
11260
11261         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11262           we have a value to set.  Gconf generates a warning if `val' is NULL.
11263         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11264           unless we actually received a valid private key file passphrase or
11265           password.  Otherwise, we don't know to later ask the applet to pull
11266           the key from the keyring.
11267
11268 2006-06-17  Dan Williams  <dcbw@redhat.com>
11269
11270         * libnm-util/dbus-dict-helpers.[ch]
11271           test/libnm-util/test-dbus-dict-helpers.c
11272                 - Fixes for zero-length byte arrays
11273                 - Replace return values of 0 with FALSE for clarity
11274                 - Test zero-length byte arrays
11275
11276 2006-06-17  Dan Williams  <dcbw@redhat.com>
11277
11278         * libnm-util/dbus-dict-helpers.[ch]
11279           test/libnm-util/test-dbus-dict-helpers.c
11280                 - Add helpers for byte arrays
11281                 - Rework bits of the testcase
11282
11283 2006-06-16  Dan Williams  <dcbw@redhat.com>
11284
11285         * libnm-util/Makefile.am
11286         * libnm-util/dbus-dict-helpers.[ch]
11287                 - Add some helpers to take the pain out of using dict types in
11288                         dbus.
11289
11290         * test/libnm-util/Makefile.am
11291         * test/libnm-util/test-dbus-dict-helpers.c
11292                 - Test cases for the dict helper functions
11293
11294 2006-06-15  Robert Love  <rml@novell.com>
11295
11296         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11297           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11298           if there is no key to pass.
11299         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11300           receiving a non-NULL key.
11301
11302 2006-06-14  Robert Love  <rml@novell.com>
11303
11304         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11305           copy the strings.
11306
11307
11308 2006-06-14  Dan Williams  <dcbw@redhat.com>
11309
11310         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11311         * src/nm-device-802-11-wireless.c
11312                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11313                         or ones where the driver is unknown
11314                 - (supplicant_exec): don't wait for supplicant startup here
11315                 - (supplicant_interface_init): finer grained polling for supplicant
11316                         startup
11317
11318 2006-06-13  Robert Love  <rml@novell.com>
11319
11320         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11321           if it is currently set to TRUE.  Otherwise, we will reset the value
11322           when we connect normally.
11323         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11324           the old BSSID is valid, too.  The recently added ESSID check may not be
11325           sufficient (we can remove it?).  What we really want to catch is the
11326           case of going from all-zeros to the BSSID of some other network, which
11327           happens on failure.
11328
11329 2006-06-09  Dan Williams  <dcbw@redhat.com>
11330
11331         * src/NetworkManagerSystem.[ch]
11332                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11333                         it was unused and pointless
11334                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11335                         fix for set_up_down_with_iface change
11336
11337         * src/vpn-manager/nm-vpn-connection.c
11338                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11339
11340         * src/backends/NetworkManagerPaldo.c
11341           src/backends/NetworkManagerRedHat.c
11342           src/backends/NetworkManagerSuSE.c
11343           src/backends/NetworkManagerArch.c
11344           src/backends/NetworkManagerDebian.c
11345           src/backends/NetworkManagerGentoo.c
11346                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11347                         appropriate
11348                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11349                         where appropriate
11350
11351 2006-06-09  Dan Williams  <dcbw@redhat.com>
11352
11353         Patch from Peter Jones:
11354         * src/nm-device-802-11-wireless.c
11355                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11356                         SSID hasn't changed from what we expect before automatically
11357                         updating the saved BSSID from a new AP
11358
11359 2006-06-08  Robert Love  <rml@novell.com>
11360
11361         Add 'fallback' support.  NetworkManager will attempt to brute-force
11362         connect to networks marked as fallback if there are no better wireless
11363         connections available.  This is useful as a method of last resort, to
11364         work around driver problems, and for use with hidden networks.
11365         * gnome/applet/applet-dbus-devices.c,
11366           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11367         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11368           pass it on via DBUS.
11369         * gnome/applet/applet.c: No fallback by default.
11370         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11371           Update other-network-dialog to add UI checkbox toggling fallback.
11372         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11373           propery from AP object.  Add "fallback" property to AP object.
11374         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11375         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11376         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11377           separate function.  Add get_best_fallback_ap() for returning an AP
11378           on which to attempt fallback.
11379         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11380         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11381
11382 2006-06-07  Robert Love  <rml@novell.com>
11383
11384         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11385           checked that the return type was GCONF_VALUE_STRING, not the correct
11386           GCONF_VALUE_BOOL, and thus it never worked.
11387         * src/NetworkManagerAPList.c: Before concluding that two networks are
11388           identical based on their BSSID, make sure that the BSSID in question
11389           is actually valid.  Specifically, an empty or all zero BSSID does not
11390           cut it.
11391         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11392           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11393           similar invariant clean up.
11394
11395 2006-06-02  Robert Love  <rml@novell.com>
11396
11397         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11398
11399 2006-05-28  Dan Williams  <dcbw@redhat.com>
11400
11401         * gnome/applet/applet.glade
11402           gnome/vpn-properties/nm-vpn-properties.glade
11403                 - Set window icons on dialogs  (Gnome.org #333420)
11404
11405 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11406
11407         * gnome/vpn-properties/nm-vpn-properties.glade:
11408         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11409         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11410         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11411                 - Make the VPN properties pages prettier and more HIG
11412                   compliant. Gnome Bug #336913.
11413
11414 2006-05-28  Dan Williams  <dcbw@redhat.com>
11415
11416         Patch from Christian Persch <chpe@gnome.org>
11417         * gnome/vpn-properties/nm-vpn-properties.c
11418         * gnome/vpn-properties/nm-vpn-properties.glade
11419                 - HIG-ification love  (Gnome.org #336846)
11420
11421 2006-05-28  Dan Williams  <dcbw@redhat.com>
11422
11423         Patch from Christian Persch <chpe@gnome.org>
11424         * configure.in
11425           gnome/vpn-properties/nm-vpn-properties.c
11426                 - (main): Fix option parsing.  Gnome.org #336847
11427
11428 2006-05-28  Dan Williams  <dcbw@redhat.com>
11429
11430         * gnome/vpn-properties/nm-vpn-properties.c
11431                 - (find_vpn_ui_by_service_name): protect against NULL service names
11432                 - (update_edit_del_sensitivity): protect against NULL service names
11433                         Gnome.org #341306
11434
11435 2006-05-28  Dan Williams  <dcbw@redhat.com>
11436
11437         Patch from Chris Fuller <crf@grandecom.net>:
11438         * src/nm-device-802-11-wireless.c
11439                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11440                         don't dispose of wireless-specific stuff unless it is actually
11441                         initialized.  Gnome.org #341263
11442
11443 2006-05-28  Dan Williams  <dcbw@redhat.com>
11444
11445         * src/NetworkManagerPolicy.c
11446                 - (nm_policy_device_change_check): don't switch devices if the "best"
11447                         AP is essentially the same as the current activation request, but
11448                         the current activation request isn't done activating yet.  Fixes
11449                         multiple requests for keyring password on startup for Gnome applet.
11450                         Gnome.org #341297
11451
11452 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11453
11454         * src/NetworkManager.c: use GOptions instead of getopt
11455         * configure.in: bump glib required version to >= 2.6 for GOption
11456           support
11457
11458 2006-05-25  Robert Love  <rml@novell.com>
11459
11460         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11461           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11462           instead of dumping ifdef's throughout the code.
11463         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11464           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11465           use nm_ioctl_info() in lieu.
11466
11467 2006-05-25  Robert Love  <rml@novell.com>
11468
11469         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11470         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11471           not using gcrypt.  Otherwise, we get a linker error.
11472
11473 2006-05-25  Robert Love  <rml@novell.com>
11474
11475         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11476         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11477           configure flag to disable building of the GNOME-based applet.
11478
11479 2006-05-25  Robert Love  <rml@novell.com>
11480
11481         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11482           parameter from link, because it shadows a global variable with some
11483           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11484           should never have exported to the entire system a common four letter
11485           word.  But we here at NetworkManager are team players.  Fixes
11486           GNOME bug #336532.
11487
11488 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11489
11490         * configure.in: Added mk.po, Macedonian translation.
11491
11492 2006-05-24  Robert Love  <rml@novell.com>
11493
11494         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11495           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11496           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11497
11498 2006-05-24  Robert Love  <rml@novell.com>
11499
11500         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11501           libnm-util/Makefile.am, src/Makefile.am,
11502           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11503           vpn-daemons/openvpn/properties/Makefile.am,
11504           vpn-daemons/pptp/auth-dialog/Makefile.am,
11505           vpn-daemons/pptp/properties/Makefile.am,
11506           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11507           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11508           user passed for --datadir, if anything, when setting the GNOME locale
11509           directory.  It should be a function of the specified datadir and not
11510           the prefix.
11511
11512 2006-05-24  Robert Love  <rml@novell.com>
11513
11514         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11515           src/NetworkManager.c: Take care to call bindtextdomain with the
11516           location of msgid files.
11517         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11518           files.
11519
11520 2006-05-22  Robert Love  <rml@novell.com>
11521
11522         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11523           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11524           99% of the time there is a real problem with wireless, and a
11525           seemingly successful connection via Zeroconf just confuses the user.
11526           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11527
11528 2006-05-22  Robert Love  <rml@novell.com>
11529
11530         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11531           autofs on interface up if NIS is configured.  On interface down, do
11532           nothing.
11533
11534 2006-05-22  Robert Love  <rml@novell.com>
11535
11536         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11537           to avoid calling g_object_unref() on stale pointers on error in
11538           nma_icons_free().  This happens because we short-circuit loaded the
11539           icons on the first failure but then free all icons.  Normally we have
11540           no issue because the icons were zero'ed out malloc, but we have stale
11541           pointer data after nma_icon_theme_changed().
11542         * gnome/applet/main.c: Return error code if nma_new() failed.
11543
11544 2060-05-21  Dan Williams  <dcbw@redhat.com>
11545
11546         * initscript/NetworkManager.in
11547                 - Ensure both dhcdbd and named are started before NM
11548
11549 2006-05-21  Dan Williams  <dcbw@redhat.com>
11550
11551         * configure.in
11552                 - Bump version to 0.7 to signify we are in 0.7 development
11553
11554 2006-05-21  Dan Williams  <dcbw@redhat.com>
11555
11556         Patch from Adam Schreiber <sadam@clemson.edu>
11557         * gnome/vpn-properties/nm-vpn-properties.c
11558                 - (main): correct Gnome program name  (gnome.org #342498)
11559
11560 2006-05-21  Dan Williams  <dcbw@redhat.com>
11561
11562         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11563
11564         * src/NetworkManagerDbus.[ch]
11565                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11566                         clarify that function's argument should be an escaped dbus object
11567                         path, and look for path segment end before returning a match
11568         * src/nm-dbus-nm.c:
11569                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11570
11571 2006-05-17  Robert Love  <rml@novell.com>
11572
11573         Functionality to differentiate Ad-Hoc networks from infrastructure
11574         networks in the applet, by displaying a special icon:
11575         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11576         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11577         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11578           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11579           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11580           networks, encrypted or not.
11581         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11582           accessor functions to get and set the mode of a given network,
11583           wireless_network_get_mode() and wireless_network_set_mode().
11584
11585 2006-05-17  Robert Love  <rml@novell.com>
11586
11587         Functionality to automatically add BSSIDs to the allowed-MAC list as
11588         one roams from access point to access point on a given network:
11589         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11590           helper function to compare two ether_addr structures and return TRUE
11591           if they contain the same MAC address.
11592         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11593           prototype.
11594         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11595           stored with the current AP.  If the BSSID has indeed changed, we
11596           send it out to the applet, allowing the allowed-MAC list to grow
11597           automatically in response to roaming.
11598
11599 2006-05-16  Robert Love  <rml@novell.com>
11600
11601         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11602           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11603
11604 2006-05-13  Dan Williams  <dcbw@redhat.com>
11605
11606         * src/nm-device-802-3-ethernet.c
11607                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11608                         carrier detect (Debian bug #366373)
11609
11610 2006-05-11  Dan Williams  <dcbw@redhat.com>
11611
11612         Patch from Michael Biebl <biebl@teco.edu>
11613         * src/backends/NetworkManagerDebian.c
11614                 - Debian backend fixups
11615
11616 2006-05-10  Robert Love  <rml@novell.com>
11617
11618         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11619
11620 2006-05-09  Robert Love  <rml@novell.com>
11621
11622         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11623           private certificate passphrase, if any, in the GNOME Keyring.
11624         * libnm-utils/dbus-helpers.c: Update.
11625
11626 2006-05-05  Dan Williams  <dcbw@redhat.com>
11627
11628         * src/nm-device-802-11-wireless.c
11629                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11630                         nm_device_802_11_wireless_disable_encryption() since that's all
11631                         we use it for anymore; we don't ever set WEP keys ourselves.
11632                 - (real_deactivate_quickly): reset SSID and encryption keys
11633                 - (real_deactivate): move SSID and encryption key reset to
11634                         real_deactivate_quickly(), which gets run before us anyway
11635
11636 2006-05-05  Robert Love  <rml@novell.com>
11637
11638         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11639           root has a wacky default of its own (or, more common, a user has a
11640           bad umask and uses su/sudo to restart NetworkManager).  Anything
11641           other than 0022 does not do what we want with, for example,
11642           resolv.conf.  This problem is amplified by our judicious use of
11643           fopen(), which uses mode 0666 -- implying that the only way to get
11644           the permissions we want is with a umask of 0022.
11645
11646 2006-05-05  Dan Williams  <dcbw@redhat.com>
11647
11648         * gnome/libnm_glib/libnm_glib.c
11649                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11650                         to reconnect; instead wait a bit more with each reconnect attempt
11651                         up to a max of one minute.
11652
11653 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11654
11655         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11656           the WirelessNetwork structure using the proper function instead of
11657           just casting it directly to (const char *) (gnome.org #336991)
11658
11659 2006-05-03  Robert Love  <rml@novell.com>
11660
11661         * src/backends/NetworkManagerSuSE.c: Respect the variable
11662           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11663           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11664           to dynamically update /etc/resolv.conf.
11665
11666 2006-05-02  Peter Jones  <pjones@redhat.com>
11667
11668         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11669
11670 2006-05-02  Robert Love  <rml@novell.com>
11671
11672         Patch by Timo Hoenig;
11673         * tests/nm-online.c: Print pretty status indicator as timeout winds
11674           down.  Also fix possible race between DBUS startup and failure
11675           return.
11676
11677 2006-05-01  Robert Love  <rml@novell.com>
11678
11679         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11680           empty, too.
11681
11682 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11683
11684         * src/nm-device.c (discover_device_type): Actually use the hal
11685         device type instead of ioctl poking
11686
11687 2006-04-26  Robert Love  <rml@novell.com>
11688
11689         * tests/nm-online.c: New file.  Simple utility that returns exit status
11690           noting whether the connection is offline or online.  If offline on
11691           start, it waits 30 seconds (or a command-line given value) for an
11692           online signal.  If it times out, it again returns offline.  This is
11693           useful for scripts that want to wait for network connections.
11694
11695 2006-04-25  Robert Love  <rml@novell.com>
11696
11697         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11698           key mode (the authentication algorithm), e.g. open or shared, when we
11699           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11700           only shared was broken.  If the user specified a shared key, set it
11701           explicitly, otherwise let wpa_supplicant go with the default.
11702
11703 2006-04-24  Dan Williams  <dcbw@redhat.com>
11704
11705         * src/nm-device-802-11-wireless.c
11706                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11707
11708 2006-04-24  Dan Williams  <dcbw@redhat.com>
11709
11710         Commit the async scanning patch
11711
11712         * src/nm-device-802-11-wireless.c
11713                 - get rid of scan_mutex
11714                 - (wireless_event_helper): act on wireless scan events
11715                 - (real_start): schedule a pending scan
11716                 - (link_to_specific_ap): fake the link to the AP during a scan
11717                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11718                         strength during scans
11719                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11720                         nm_device_set_bitrate): unused with new scanning code, disable
11721                 - (nm_device_wireless_schedule_scan): removed
11722                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11723                 - (request_and_convert_scan_results): new function; retrieve scan
11724                         results from the driver and schedule the processing function
11725                 - (scan_results_timeout): timeout triggered when card doesn't send
11726                         a scan results wireless event during a certain interval
11727                 - (schedule_scan_results_timeout): new function; schedule the scan
11728                         results timeout
11729                 - (cancel_scan_results_timeout): new function; cancel the scan
11730                         results timeout
11731                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11732                         to do the scanning.  Otherwise, just request a scan but don't
11733                         grab results here; instead schedule a timeout for scan results and
11734                         let netlink notify us of scan completion events
11735                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11736                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11737                 - (supplicant_status_cb): ignore disconnect events while scanning
11738                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11739                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11740                         timeouts
11741                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11742
11743 2006-04-24  Dan Williams  <dcbw@redhat.com>
11744
11745         * gnome/applet/applet-dbus.c
11746                 - Disable the pending call debug stuff, seems under control now
11747
11748 2006-04-20  Robert Love  <rml@novell.com>
11749
11750         Fix bug where hidden ESSID's would not show up in the applet, even
11751         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11752         because nm_policy_device_list_update_from_allowed_list() would merge
11753         the data, putting a name to the hidden networks, but never notify NMI
11754         of the changes.  Simple fix is to invoke the function
11755         nm_dbus_signal_wireless_network_change() if we make a mapping.
11756         * src/NetworkManagerAPList.c: Call the function
11757           nm_dbus_signal_wireless_network_change() if we made a successful
11758           BSSID to ESSID mapping, notifying the applet of the "new" network.
11759         * src/NetworkManagerAPList.h: Update the prototypes for both
11760           nm_ap_list_copy_essids_by_address() and
11761           nm_ap_list_copy_one_essid_by_address().
11762
11763 2006-04-20  Robert Love  <rml@novell.com>
11764
11765         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11766           not set.  Just return zero.
11767
11768 2006-04-20  Robert Love  <rml@novell.com>
11769
11770         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11771           only one copy of nm-vpn-properties is running at a time via the 'ol
11772           X selection trick.  This prevents the user from opening two "VPN
11773           Connections" windows from within the applet, which leads to mass
11774           hysteria.
11775         * clipboard.c: New file, implementing simple X selection logic.
11776         * clipboard.h: New file.
11777         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11778
11779 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11780
11781         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11782         * configure.in
11783           initscript/Gentoo/Makefile.am
11784           initscript/Gentoo/NetworkManagerDispatcher.in
11785                 - New script
11786         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11787           Gentopia
11788
11789 2006-04-16  Dan Williams  <dcbw@redhat.com>
11790
11791         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11792         * configure.in
11793           initscript/Slackware/Makefile.am
11794           initscript/Slackware/rc.networkmanager-dispatcher.in
11795           initscript/Slackware/rc.networkmanager.in
11796                 - Update slackware initscripts
11797
11798 2006-04-10  Robert Love  <rml@novell.com>
11799
11800         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11801           the "delete_event" signal on the druid's parent window and handle it
11802           our way, lest using the WM to close the druid results in a series of
11803           bloody and ultimately lethal errors.
11804
11805 2006-04-10  Robert Love  <rml@novell.com>
11806
11807         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11808           'Back' too or else the 'Forward' option is initially disabled despite
11809           valid input.
11810
11811 2006-04-06  Robert Love  <rml@novell.com>
11812
11813         Fix bad but simple bug where an active modem connection did not update
11814         NM's connection state, breaking any app that did online/offline:
11815         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11816           represented whether a dial up connection is active, or not.
11817         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11818           to modem activation and deactivation.
11819         * src/NetworkManagerDbus.c: When asked our state, do not return
11820           disconnected if the modem is active.
11821
11822 2006-04-04  Robert Love  <rml@novell.com>
11823
11824         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11825           applet.  It just confuses the crap out of people and does not make a
11826           lot of sense, as the daemon still runs.
11827
11828 2006-04-02  Tor Krill  <tor@krill.nu>
11829
11830         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11831           in start of service.
11832         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11833           get Archlinux backend up to date.
11834
11835 2006-03-29  Robert Love  <rml@novell.com>
11836
11837         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11838         to add support for per-route MSS and improve support for per-interface
11839         MTU:
11840         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11841           optionally take an MSS parameter and set it for the given route.
11842           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11843           NMIP4Config's stored MSS, if any.
11844         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11845           the interface's MTU and the route's MSS, respectively.  Add functions
11846           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11847           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11848           MSS.
11849         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11850           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11851           nm_ip4_config_set_mss.
11852         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11853           VPN daemon.
11854         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11855           Change the retval of nm_system_get_mtu to guint32.
11856         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11857           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11858           servers can specify MTU's, we should set it here if the MTU was not
11859           provided.
11860
11861 2006-03-27  Jürg Billeter  <j@bitron.ch>
11862
11863         * configure.in:
11864         * initscript/Makefile.am:
11865         * initscript/paldo/Makefile.am:
11866         * initscript/paldo/NetworkManager.in:
11867         * initscript/paldo/NetworkManagerDispatcher.in:
11868         * src/backends/Makefile.am:
11869         * src/backends/NetworkManagerPaldo.c:
11870                 - Add paldo support
11871
11872 2006-03-27  Dan Williams  <dcbw@redhat.com>
11873
11874         Patch from Christian Persch <chpe@gnome.org>
11875         * gnome/applet/applet.glade
11876                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11877
11878 2006-03-27  Dan Williams  <dcbw@redhat.com>
11879
11880         Patch from Diffe <diffie@blazebox.homeip.net>
11881         * src/backends/NetworkManagerSlackware.c
11882                 - Don't restart howl, since it's been replaced by Avahi
11883                         in most distributions
11884
11885 2006-03-27  Dan Williams  <dcbw@redhat.com>
11886
11887         Patch from Tor Krill <bugzilla@krill.nu>
11888         * configure.in
11889           initscript/Makefile.am
11890           src/backends/Makefile.am
11891           src/backends/NetworkManagerArch.c
11892           initscript/Arch/Makefile.am
11893           initscript/Arch/networkmanager-dispatcher.in
11894           initscript/Arch/networkmanager.in
11895                 - Add Arch Linux support, fixes gnome.org #335147
11896
11897 2006-03-27  Dan Williams  <dcbw@redhat.com>
11898
11899         Patch from Diffe <diffie@blazebox.homeip.net>
11900      * initscript/Slackware/rc.networkmanager
11901         - update, fixed gnome.org #333368
11902
11903 2006-03-27  Robert Love  <rml@novell.com>
11904
11905         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11906           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11907
11908 2006-03-27  Robert Love  <rml@novell.com>
11909
11910         Patch by Jürg Billeter <j@bitron.ch>:
11911         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11912           systems.
11913         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11914           as we prefer glibc over kernel headers, if possible.
11915
11916 2006-03-27  Robert Love  <rml@novell.com>
11917
11918         Patch by Jon Escombe <list@dresco.co.uk>:
11919         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11920         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11921           fail, don't bail out.  We don't expect all of the various WPA-EAP
11922           values to be present.
11923         * src/nm-ap-security.c: We need to match all capabilities for each
11924           encryption type, not any one of them.
11925
11926 2006-03-27  Robert Love  <rml@novell.com>
11927
11928         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11929           restart, not reload, ypbind.  Unfortunately there is no superior
11930           solution.
11931
11932 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11933
11934         * gnome/applet/applet-notifications.c:
11935         When displaying a notification, make sure to get rid of the
11936         previous notification so as to not have competing bubbles,
11937         and stop leaking the old one.
11938
11939         * gnome/applet/applet.c:
11940         * gnome/applet/applet.h:
11941         Add a new 'notification' member to the applet, and zero it out
11942         and free it appropriately.
11943
11944 2006-03-23  Robert Love  <rml@novell.com>
11945
11946         Patch by j <j@bootlab.org>:
11947         * gnome/applet/applet.glade: Don't set the invisible_char property,
11948           which simply overrides the GTK default.  By and by, this behavior
11949           ought to be fixed in Glade.
11950
11951 2006-03-22  Robert Love  <rml@novell.com>
11952
11953         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11954
11955 2006-03-22  Robert Love  <rml@novell.com>
11956
11957         Bug fix by Timo Hoenig <thoenig@suse.de>:
11958         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11959           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11960           and the applet going AWOL.
11961
11962 2006-03-22  Robert Love  <rml@novell.com>
11963
11964         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11965           preprocessor define and use it instead of open-coded the DHCP
11966           timeout, which is currently 25 seconds, everywhere.
11967
11968 2006-03-22  Robert Love  <rml@novell.com>
11969
11970         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11971         key exchange via WPA, ostensibly providing good security without
11972         requiring hardware that supports full WPA.  Also, add UI elements to
11973         allow the user to select the pairwise & group cipher for WPA Enterprise
11974         networks, too:
11975         * gnome/applet/applet.glade: Update glade file.
11976         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11977           key type, too, to and from gconf.
11978         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11979           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11980           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11981           the capabilities match.
11982         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11983           prototype.
11984         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11985           serialize from UI to DBUS.
11986         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11987           one element.
11988         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11989           nmu_security_serialize_wpa_eap_with_cipher(), and
11990           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11991           serialize/deserialize the key type via DBUS as the new third DBUS
11992           parameter.
11993         * libnm-util/dbus-helpers.h: Update prototypes.
11994         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11995           too.  If the key type is WEP104, do Dynamic WEP, which means
11996           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11997           pairwise and group ciphers (fixes a FIXME).
11998
11999 2006-03-21  Robert Love  <rml@novell.com>
12000
12001         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12002           nm_system_get_mtu(), which returns a user-provided or system-mandated
12003           MTU value for a given device, if any, or zero if no such value
12004           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12005           if we have a provided value.
12006         * src/nm-device.c: Set the MTU of devices.
12007         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12008         * src/backends/NetworkManagerDebian.c,
12009           src/backends/NetworkManagerGentoo.c,
12010           src/backends/NetworkManagerRedHat.c,
12011           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12012
12013 2006-03-21  Robert Love  <rml@novell.com>
12014
12015         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12016           configuration file.
12017
12018 2006-03-17  Robert Love  <rml@novell.com>
12019
12020         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12021           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12022           it, in case it is not running in the first place.  We just want its
12023           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12024
12025 2006-03-15  Robert Love  <rml@novell.com>
12026
12027         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12028           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12029           label "WEP 40/128-bit" is inconsistent because the physical key size
12030           is 40 or 104-bits, to which a 24-bit initialisation vector is
12031           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12032           to read "40/104" or "64/128".  I do not care much which, but most
12033           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12034           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12035           WEP passphrase support only handles 128-bit keys, and any future
12036           64-bit passphrase support will require a new option (no way to auto-
12037           detect the target key size), explicitly label our passphrase support
12038           "WEP 128-bit Passphrase".
12039
12040 2006-03-15  Robert Love  <rml@novell.com>
12041
12042         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12043           the system init scripts (or some other mechanism) starting it (or a
12044           compatible DBUS service) before NetworkManager runs.  This means that
12045           distributions might need to update their init scripts.  This fixes
12046           possible races and is quite a bit cleaner.
12047         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12048           starting the NetworkManager daemon.
12049
12050
12051 2006-03-14  Robert Love  <rml@novell.com>
12052
12053         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12054           before adding anything.
12055
12056 2006-03-13  Robert Love  <rml@novell.com>
12057
12058         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12059           widgets, too, if they exist, in case the user hit the back button.
12060           Fixes a bug where the details page contains the widgets of multiple
12061           VPN modules (Novell bug #157048).
12062
12063 2006-03-13  Robert Love  <rml@novell.com>
12064
12065         Patch by Timo Hoenig <thoenig@suse.de>:
12066         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12067           daemon survive DBUS restarts, too.
12068
12069 2006-03-10  Robert Love  <rml@novell.com>
12070
12071         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12072           passphrase or key.
12073         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12074           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12075           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12076           in response to "toggled" signal on new toggle.
12077
12078 2006-03-10  Robert Love  <rml@novell.com>
12079
12080         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12081           serialization if strings are NULL, lest DBUS get angry.
12082
12083 2006-03-10  Robert Love  <rml@novell.com>
12084
12085         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12086
12087 2006-03-09  Robert Love  <rml@novell.com>
12088
12089         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12090           configurations.
12091
12092 2006-03-09  Dan Williams  <dcbw@redhat.com>
12093
12094         Track pending call requests in the applet, and report how many are
12095         outstanding, and how long each completed one takes.
12096         
12097         * gnome/applet/applet-dbus-devices.c
12098           gnome/applet/applet-dbus-vpn.c
12099                 - Track pending calls
12100
12101         * gnome/applet/applet-dbus.[ch]
12102                 - Remove some unused enums
12103                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12104                         new functions to track dbus pending calls and spit out some
12105                         statistics about them
12106
12107 2006-03-09  Robert Love  <rml@novell.com>
12108
12109         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12110           nm_ap_set_timestamp() take the second and micro-second parameters as
12111           direct arguments, which avoids both a dynamic memory allocation and a
12112           structure-to-structure copy!  Add a new interface, the aptly named
12113           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12114           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12115           the return from nm_ap_get_timestamp().  New users should use the new
12116           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12117           the extreme benefit to performance.
12118         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12119           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12120
12121 2006-03-08  Robert Love  <rml@novell.com>
12122
12123         * gnome/applet/applet.glade: Hide the password entry text with
12124           asterisks.
12125
12126 2006-03-08  Robert Love  <rml@novell.com>
12127
12128         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12129           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12130           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12131           a second argument, NMData.
12132         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12133         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12134           config files as trusted.
12135
12136 2006-03-06  Robert Love  <rml@novell.com>
12137
12138         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12139         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12140           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12141           Rivera, detect if the applet was auto-started.  If so, ask the user
12142           if he or she would like to stop automatically running the applet on
12143           login.  If so, disable autostart.
12144
12145 2006-03-06  Robert Love  <rml@novell.com>
12146
12147         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12148           directory in CFLAGS so developers can actually use NetworkManager.h.
12149
12150 2006-03-06  Robert Love  <rml@novell.com>
12151
12152         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12153           open-coded integer constants.  Add state_to_string() to map a given
12154           state to a textual description, and provide that when notifying of
12155           state change.
12156         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12157           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12158           this header directly, but it is currently not installed on most
12159           systems.
12160
12161 2006-03-05  Dan Williams  <dcbw@redhat.com>
12162
12163         Process netlink messages in device subclasses rather than in
12164         NetworkManager.c.  Also add support for recognizing Wireless Events.
12165         
12166         * configure.in
12167                 - Find GLIB_GENMARSHAL
12168
12169         * src/Makefile.am
12170                 - Since we're marshalling custom types for wireless event signals,
12171                         we get to create our own marshallers using GLIB_GENMARSHAL
12172
12173         * src/NetworkManager.c
12174                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12175                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12176                         cut down somewhat.  We no longer process signals here.
12177                 - (nm_data_new): create the netlink monitor here, and remove a
12178                         useless call to nm_policy_schedule_device_change_check()
12179                 - (nm_data_free): get rid of the netlink monitor here
12180                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12181                 - (main): don't create the netlink monitor here, let nm_data_new
12182                         do that.  Call nm_policy_schedule_device_change_check() right
12183                         before we jump to the mainloop to figure out which device
12184                         to use first
12185
12186         * src/NetworkManagerSystem.[ch]
12187                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12188                         convert back and forth from interface names to interface
12189                         indexes
12190
12191         * src/nm-device-802-11-wireless.c
12192                 - (real_init): connect to wireless-event signals from the netlink
12193                         monitor object
12194                 - (nm_device_802_11_wireless_event): new function, schedule handler
12195                         for wireless event signals from the netlink monitor object.  We
12196                         want the handler to run in the device's context
12197                 - (wireless_event_helper): handle wireless-event signals from netlink
12198                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12199                         signal handler
12200
12201         * src/nm-device-802-11-wireless.h
12202                 - remove unused prototype for nm_device_802_11_wireless_new
12203
12204         * src/nm-device-802-3-ethernet.c
12205                 - (real_init): new function; set up signal handlers for link events
12206                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12207                         handler for netlink link activated events on device's main loop
12208                 - (link_activated_helper): when we get a link activated event, set
12209                         the device's link to be active
12210                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12211                         handler for netlink link deactivated events on device's main loop
12212                 - (link_deactivated_helper): when we get a link deactivated event, set
12213                         the device's link to be inactive
12214                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12215                         dispose
12216
12217         * src/nm-device-802-3-ethernet.h
12218                 - remove unused prototype for nm_device_802_3_ethernet_new
12219
12220         * src/nm-device.[ch]
12221                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12222                         but locks the device list
12223                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12224
12225         * src/nm-netlink-monitor.[ch]
12226                 - (nm_netlink_monitor_class_install_signals): New signal
12227                         "wireless-event"
12228                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12229                         at the device list
12230                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12231
12232         * src/nm-marshal-main.c
12233                 - Include generated nm-marshal.c and nm-marshal.h
12234
12235         * src/nm-marshal.list
12236                 - List of custom marshal functions
12237
12238 2006-03-05  Dan Williams  <dcbw@redhat.com>
12239
12240         * gnome/applet/applet-notifications.h
12241                 - Protect prototype of nma_send_event_notification() because it
12242                         includes libnotify-specific types
12243                 - Include libnotify/libnotify.h too, since we technically need it
12244
12245         * gnome/applet/applet.c
12246                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12247                 - (nma_show_vpn_login_banner_dialog): add some error checking
12248
12249 2006-03-04  Dan Williams  <dcbw@redhat.com>
12250
12251         Clean up activation cancellation.  Should be a lot faster now.  Observed
12252         an issue with wireless devices between stage 2 and 3 of activation, where
12253         activation would be cancelled, but the device thread wouldn't notice until
12254         the supplicant association timed out.  Reorganize activation such that
12255         a cancellation handler gets immediately scheduled in the device's thread,
12256         and devices have a chance to perform any custom cleanup too.
12257
12258         * src/nm-device.[ch]
12259                 - (activation_cancel_handler): new device-type-specific function
12260                         for cleaning up device-type-specific stuff on cancellation
12261                 - (cancel_activation): removed
12262                 - (nm_device_activation_cancel): subsume functionality of
12263                         real_cancel_activation, but instead of doing anything, punt
12264                         operation to a handler that's run in device-thread context
12265                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12266                         a warning message
12267                 - (activation_handle_cancel_helper): cancellation handler run in
12268                         device-thread context, calls device-type-specific cancelation,
12269                         then tears down the activation request
12270                 - (real_activation_cancel_handler): generic cancellation handler,
12271                         deals with cancelling any in-process DHCP request
12272                 - (nm_device_activate_stage1_device_prepare,
12273                    nm_device_activate_stage2_device_config,
12274                    nm_device_activate_stage3_ip_config_start,
12275                    nm_device_activate_stage4_ip_config_get,
12276                    nm_device_activate_stage4_ip_config_timeout,
12277                    nm_device_activate_stage5_ip_commit): don't call
12278                         nm_device_schedule_activation_handle_cancel() any more, since
12279                         cancellation will have been already scheduled for us by
12280                         nm_device_activation_cancel().  Just exit the function and
12281                         assume that the cancel handler will be called next.
12282
12283         * src/nm-device-802-3-ethernet.c
12284                 - (real_act_stage2_config): remove; didn't do anything anyway
12285
12286         * src/nm-device-802-11-wireless.c
12287                 - (supplicant_status_cb): ensure we don't do anything if the activation
12288                         got cancelled
12289                 - (real_activation_cancel_handler): implement; cancel user key request
12290                         on activation cancellation
12291
12292 2006-03-04  Dan Williams  <dcbw@redhat.com>
12293
12294         * src/nm-device-802-11-wireless.c
12295                 - (supplicant_send_network_config): assume that drivers that don't
12296                         support WPA pretty much suck, and can't handle NM scanning
12297                         along with wpa_supplicant.
12298
12299 2006-03-03  Robert Love  <rml@novell.com>
12300
12301         * configure.in: Bump version to 0.6.0.
12302         * NEWS: Update.
12303
12304 2006-03-03  Robert Love  <rml@novell.com>
12305
12306         * configure.in: Require DBUS 0.60 or later.
12307
12308 2006-03-03  Dan Williams  <dcbw@redhat.com>
12309
12310         Fix a crash if an "Other wireless network" was chosen, failed, then
12311         chosen again from the applet's menu.  If the other network wasn't
12312         noticed in a scan, it wouldn't have any capabilities, but would still
12313         be listed because the user forced the network.  To fix this, we set
12314         sensible capabilities on the forced network, which will get overwritten
12315         with the correct ones if the network shows up later in a scan.
12316         
12317         * src/nm-ap-security.h
12318                 - Add a new "get_default_capabilities_func" member to the
12319                         NMAPSecurity class
12320
12321         * src/nm-ap-security.c
12322                 - (nm_ap_security_get_default_capabilities): new function
12323
12324         * src/nm-ap-security.c
12325           src/nm-ap-security-wep.c
12326           src/nm-ap-security-wpa-psk.c
12327           src/nm-ap-security-wpa-eap.c
12328                 - Implement get_default_capabilities_func() for all, which
12329                         uses the information contained in a specific NMAPSecurity
12330                         object to determine default AP capabilites necessary
12331                         to support that object
12332
12333         As a secondary measure, we now prune artificial access points that fail
12334         to be activated right away.  The thing failed, and we have no scan data for
12335         it, so it's pretty much useless since security information is only saved
12336         in the applets when a connection is successful.
12337
12338         * src/NetworkManagerAPList.c
12339                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12340                         not artificial.  If we see it, it's no longer a figment of the
12341                         user's imagination :)
12342
12343         * src/NetworkManagerPolicy.c
12344                 - (nm_policy_activation_failed): send along the failed AP if we
12345                         have it
12346
12347         * src/nm-device-802-11-wireless.c
12348                 - (real_activation_failure_handler): remove artificial APs from
12349                         the device list, because activation failed
12350
12351 2006-03-02  Robert Love  <rml@novell.com>
12352
12353         Add support for retrieving both the per-device speed and the
12354         per-network maximum supported rate.  Then change the getProperties
12355         DBUS API for both networks and devices to report this informaiton.
12356         Finally, display the information via both nm-applet and nm-tool:
12357         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12358           and set it.
12359         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12360           Information' dialog.
12361         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12362         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12363           network_device_get_speed() and network_device_set_speed() for
12364           retrieving and setting, respectively, a network device's current
12365           speed.
12366         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12367         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12368           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12369           not matter (yet) what the units are, because we only feed it its own
12370           output.  Implement SIOCGIRATE and set the per-network maximum
12371           supported rate during scanning.
12372         * src/nm-device-802-11-wireless.h: Export the function
12373           nm_device_802_11_wireless_get_bitrate().
12374         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12375           function nm_device_802_3_ethernet_get_speed() for returning an
12376           802.3's current speed, in Mb/s.
12377         * test/nm-tool.c: Display the per-device current speed, if available,
12378           and the per-network maximum rate.
12379
12380 2006-03-02  Dan Williams  <dcbw@redhat.com>
12381
12382         * src/nm-device-802-11-wireless.c
12383                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12384                         card when it gets initialized.  Since devices don't get added to
12385                         the scan list until they are initialized, this function wasn't
12386                         setting the intitial scan interval correctly, and was leaving
12387                         it at 0.  This caused cards to get many scan requests in a short
12388                         amount of time when they were initialized
12389
12390 2006-03-02  Robert Love  <rml@novell.com>
12391
12392         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12393           active device.  But do not do what we used to do and override the
12394           state, which caused the dreaded icon race of '05.
12395
12396 2006-03-02  Robert Love  <rml@novell.com>
12397
12398         Commit Dan's update of my previous commit:
12399         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12400           set_mode() function itself does the check.  But do only set the
12401           frequency if in Ad-Hoc mode.
12402
12403 2006-03-02  Robert Love  <rml@novell.com>
12404
12405         Patch by Brian Magnuson <magnuson@rcn.com>:
12406         * src/nm-device-802-11-wireless.c: During scanning, only set the
12407           wireless mode to infrastructure if it is not currently in
12408           infrastructure mode.  For some driver, setting the mode is a costly
12409           operation, apparently.
12410
12411 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12412
12413         * Makefile.am: use the correct dir for autostart mechanism.
12414
12415 2006-02-28  Dan Williams  <dcbw@redhat.com>
12416
12417         Patch from Brian Magnuson <magnuson@rcn.com>
12418         * gnome/applet/applet.c
12419                 - (nma_show_vpn_failure_dialog): fix errors left over from
12420                         libnotify support changes
12421
12422 2006-02-28  Dan Williams  <dcbw@redhat.com>
12423
12424         * src/vpn-manager/nm-vpn-act-request.[ch]
12425                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12426                         just one value
12427                 - (nm_vpn_act_request_is_failed): new function; return whether or
12428                         not the vpn activation request has failed
12429
12430         * src/vpn-manager/nm-vpn-manager.c 
12431                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12432                         daemon to kill the connection when the activation request fails.
12433                         Fixes issue where NM would get confused if the VPN activation
12434                         request timed out, and would not allow further VPN connections
12435                         on that service.
12436
12437 2006-02-28  Dan Williams  <dcbw@redhat.com>
12438
12439         * gnome/applet/applet.c
12440                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12441                         overlapping connection requests, disable all VPN menu items
12442                         but the active VPN connection
12443
12444 2006-02-28  Dan Williams  <dcbw@redhat.com>
12445
12446         * src/vpn-manager/nm-vpn-connection.c
12447                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12448                         called g_object_unref() on the connection's parent device
12449                         when it should have been ref-ed instead.  Fixes crash with
12450                         repeated vpn connect requests
12451
12452 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12453
12454         * gnome/applet/applet.glade:
12455         Mark a few strings non-translatable, since they shouldn't be.
12456
12457 2006-02-28  Dan Williams  <dcbw@redhat.com>
12458
12459         * src/vpn-manager/nm-vpn-service.c
12460                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12461                         already running, don't blindly ask it to connect, but wait until
12462                         it's in the STOPPED state first.  Fixes an assertion when user
12463                         starts a second vpn connection without stopping the first.
12464                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12465                         dbus service exists before continuing with the connection
12466                         process, and reduce latency while waiting for it to become
12467                         available
12468                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12469                         waiting for the vpn service daemon to become available
12470                 - General log message cleanups; show progress via "Stage x of 4"
12471                         rather than not telling anyone how many stages there are
12472
12473 2006-02-28  Robert Love  <rml@novell.com>
12474
12475         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12476         * src/backends/NetworkManagerSuSE.c: Implement the interface
12477           nm_system_should_modify_resolv_conf() for SUSE.
12478         * src/backends/NetworkManagerDebian.c,
12479           src/backends/NetworkManagerGentoo.c,
12480           src/backends/NetworkManagerRedHat.c,
12481           src/backends/NetworkManagerSlackware.c: Add stub.
12482         * src/named-manager/Makefile.am: Grab includes from src.
12483         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12484           automatic updating of resolv.conf.  This is useful for testing,
12485           broken static configurations, and administrator lock-down.
12486
12487 2006-02-28  Dan Williams  <dcbw@redhat.com>
12488
12489         * src/nm-device-802-11-wireless.c
12490                 - Move all the wpa_supplicant-related management stuff into its
12491                         own struct, just for oranization's sake
12492                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12493                         to a GIOChannel/GSource
12494                 - (supplicant_log_stdout): new function; grab output from the
12495                         wpa_supplicant stdout pipe and write it to our logs.
12496
12497 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12498
12499         * src/nm-device-802-11-wireless.c:
12500         Err, fix thinko in my previous commit.
12501
12502 2006-02-28  Robert Love  <rml@novell.com>
12503
12504         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12505
12506 2006-02-28  Robert Love  <rml@novell.com>
12507
12508         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12509           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12510           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12511           deserializers are responsible for freeing the returned DBUS strings.
12512
12513 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12514
12515         * src/nm-device-802-11-wireless.c:
12516         The scan list is being pruned prematurely.  We should prune after
12517         the device has gone MIA for three scans, not one.  Split out the
12518         interval to realtime seconds function to better serve this.
12519
12520 2006-02-27  Robert Love  <rml@novell.com>
12521
12522         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12523           Open the pid file O_TRUNC, so if it already exists we truncate it to
12524           zero length.  Also, be more verbose about warnings generated during
12525           writing out the pid file.  Finally, always write out the pid file if
12526           in daemon mode.  Use "--pid-file" to override the default.
12527
12528 2006-02-27  Robert Love  <rml@novell.com>
12529
12530         Patch by R. Vinay <rvinay@novell.com>:
12531         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12532           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12533           Novell bug #153628).
12534           
12535 2006-02-27  Robert Love  <rml@novell.com>
12536
12537         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12538           entry so user can hit <ENTER> after entering passphrase (Novell bug
12539           #153738).
12540
12541 2006-02-27  Dan Williams  <dcbw@redhat.com>
12542
12543         * gnome/applet/*
12544                 - Mass search/replace of:
12545                         nmwa -> nma
12546                         NMWirelessApplet -> NMApplet
12547                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12548                    (it ain't just for wireless anymore, ma!)
12549                 - Fix duplicate function name printing when using nm_warning
12550                 - wireless-applet.glade -> applet.glade
12551
12552 2006-02-27  Dan Williams  <dcbw@redhat.com>
12553
12554         * dispatcher-daemon/NetworkManagerDispatcher.c
12555                 - Accept --pid-file with a path to a pidfile, write it out on
12556                         startup, and delete it on shutdown
12557
12558         * src/NetworkManager.c
12559                 - Accept --pid-file with a path to a pidfile, write it out on
12560                         startup, and delete it on shutdown
12561                 - Move nm_print_usage() lower
12562
12563         * initscripts/RedHat/NetworkManager.in
12564                 - Use new --pid-file option
12565                 - Fix service stopping to wait a bit for NM to quit
12566
12567         * initscripts/RedHat/NetworkManagerDispatcher.in
12568                 - Use new --pid-file option
12569
12570 2006-02-26  Dan Williams  <dcbw@redhat.com>
12571
12572         * src/Makefile.am
12573                 - make and install nm-crash-logger
12574
12575         * src/nm-logging.[ch]
12576                 - New files; consolidate logging and crash handling
12577
12578         * src/nm-crash-logger.c
12579           src/gdb-cmd
12580                 - Standalong crashlogger for NM, grab a backtrace
12581                         using GDB
12582
12583         * src/NetworkManager.[ch]
12584                 - Remove signal handling and put it into nm-logging.c
12585
12586 2006-02-26  Dan Williams  <dcbw@redhat.com>
12587
12588         * configure.in
12589           gnome/applet/Makefile.am
12590                 - Conditionalize all the notify stuff
12591
12592         Merge most of Chris Aillon's notification patch:
12593         
12594         * gnome/applet/applet-notifications.[ch]
12595                 - New files; show a notification
12596         
12597         * gnome/applet/applet-dbus-devices.[ch]
12598                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12599                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12600                         new functions, do the right thing when a device change occurs
12601
12602         * gnome/applet/applet-dbus.c
12603                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12604                         signals, so we can handle them specially
12605
12606         * gnome/applet/applet.[ch]
12607                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12608                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12609                 - (nmwa_notify_state): remove
12610                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12611                         notification work is now done when the appropriate dbus signals
12612                         are received.
12613                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12614                         defer execution of the notification/dialog stuff.  That was an
12615                         artifact of the previous multi-threaded nature of the applet
12616                         and is now pointless.
12617                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12618                         no longer needed.  Function folded into applet-notifications.c
12619
12620         * src/NetworkManagerPolicy.c
12621                 - (nm_policy_activation_finish): send the AP along with the device
12622                         status change signal, if the connection is wireless.  Should
12623                         fix the race where applet would show a connection to "unknown"
12624
12625 2006-02-25  Robert Love  <rml@novell.com>
12626
12627         Add WPA Enterprise support:
12628         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12629           nm-gconf-wso-wpa-eap.h.
12630         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12631           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12632           serialization and deserialization.
12633         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12634           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12635           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12636         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12637           settings related to WPA Enterprise.
12638         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12639           instantiate WPA Enterprise wireless-security-option.
12640         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12641           Implement WPA Enterprise wireless-security-option object.
12642         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12643           defines.  Cleanup.
12644         * libnm-util/cipher-wpa-psk-hex.c,
12645           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12646         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12647           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12648           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12649           including the cipher to DBUS method, and
12650           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12651           to output.
12652         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12653           nm-ap-security-wpa-eap.h
12654         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12655           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12656         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12657           files.  Implement NMAPSecurityWPA_EAP object.
12658         * src/nm-ap-security-wpa-psk.c: Cleanup.
12659         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12660           an NMAPSecurityWPA_EAP object via the method
12661           nm_ap_security_wpa_eap_new_deserialize().
12662         * src/nm-dbus-nm.c: Cleanup.
12663         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12664           WPA Enterprise support.
12665
12666 2006-02-24  Robert Love  <rml@novell.com>
12667
12668         Patch from Timo Hoenig <thoenig@suse.de>:
12669         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12670
12671 2006-02-24  Robert Love  <rml@novell.com>
12672
12673         Patch from Dan Winship <danw@novell.com>:
12674         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12675           area to transparent.
12676
12677 2006-02-21  Dan Williams  <dcbw@redhat.com>
12678
12679         * gnome/applet/applet.[ch]
12680           gnome/applet/applet-dbus.c
12681                 - Implement notification support for VPN messages too
12682
12683 2006-02-21  Dan Williams  <dcbw@redhat.com>
12684
12685         * gnome/applet/applet-dbus-info.c
12686                 - Clean up warning messages to not double-print the function
12687
12688 2006-02-21  Dan Williams  <dcbw@redhat.com>
12689
12690         * gnome/applet/applet-compat.c
12691                 - (convert_one_entry): accept entries without a key_type and
12692                         convert them to unencrypted networks
12693
12694 2006-02-21  Dan Williams  <dcbw@redhat.com>
12695
12696         * gnome/libnm_glib/libnm_glib.c
12697                 - Use __func__ everywhere we can
12698                 - Code cleanups
12699                 - Use dbus pending calls rather than blocking
12700                 - Reduce busywaits for our thread to start and stop
12701                         (gnome.org #330562)
12702                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12703                         stomp on others using the default shared dbus connection.
12704                         Fixes #rh177546# and gnome.org #326572
12705
12706 2006-02-21  Dan Williams  <dcbw@redhat.com>
12707
12708         Patch from Rodney Dawes <dobey@novell.com>
12709         * configure.in
12710           gnome/applet/Makefile.am
12711           gnome/applet/applet.c
12712                 - Add libnotify support if '--enable-notify=yes' is passed
12713                   at configure time
12714
12715 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12716
12717         * configure.in (ALL_LINGUAS): ko added. (Korean)
12718
12719 2006-02-15  Robert Love  <rml@novell.com>
12720
12721         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12722           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12723           and WPA_SUPPLICANT_CONTROL_SOCKET.
12724         
12725 2006-02-15  Robert Love  <rml@novell.com>
12726
12727         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12728           information about what connection stage we are at, provide the total
12729           number of stages, e.g. "Stage 2 of 5", so users know how far along
12730           they are if they experience problems.
12731
12732 2006-02-15  Robert Love  <rml@novell.com>
12733
12734         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12735           define to $sysconfdir.
12736         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12737           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12738           type of VPN and then editing another results in a mangled dialog
12739           box containing the widgets from both VPNs (fixes Novell #150854).
12740           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12741
12742 2006-02-14  Robert Love  <rml@novell.com>
12743
12744         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12745           syslog's file descriptor.
12746
12747 2006-02-14  Robert Love  <rml@novell.com>
12748
12749         Fix bug around since the change to "deal with APs changing settings on
12750         us," checked in on the fifth of February in the year of the dog, 
12751         wherein connecting to non-broadcast encrypted networks always fails
12752         because nm_ap_get_encrypted() always returns FALSE, even when the user
12753         provided a key, because the newly-created fake AP does not have any
12754         capabilities set, which is a sypmtom of security settings not matching
12755         capabilities (Novell bug #150784):
12756         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12757           nm_ap_add_capabilities_from_security(), which sets the given AP's
12758           capabilities off the given security settings.  Also improve our
12759           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12760           NM_AUTH_CIPHER_AUTO.
12761         * src/nm-device-802-11-wireless.c: Call the function
12762           nm_ap_add_capabilities_from_security() to ensure that capabilities
12763           match newly updated security settings.
12764
12765 2006-02-14  Robert Love  <rml@novell.com>
12766
12767         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12768           error as a string, not an integer, if possible; do not print the
12769           function name twice; always give the interface, if possible; misc.
12770           cleanup.
12771
12772 2006-02-12  Dan Williams  <dcbw@redhat.com>
12773
12774         Patch from Tom Parker <palfrey@tevp.net>
12775         * src/NetworkManagerSystem.h
12776                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12777                         no longer used
12778
12779         * src/backends/NetworkManagerDebian.c
12780                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12781                         unused variables
12782
12783 2006-02-12  Dan Williams  <dcbw@redhat.com>
12784
12785         * vpn-daemons/openvpn/intltool-extract.in
12786           vpn-daemons/openvpn/intltool-merge.in
12787           vpn-daemons/openvpn/intltool-update.in
12788           vpn-daemons/pptp/intltool-extract.in
12789           vpn-daemons/pptp/intltool-merge.in
12790           vpn-daemons/pptp/intltool-update.in
12791                 - Remove from CVS, they should get created by intltoolize,
12792                         shouldn't they?
12793
12794 2006-02-12  Dan Williams  <dcbw@redhat.com>
12795
12796         * vpn-daemons/pptp/src/pppd/patchlevel.h
12797         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12798                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12799                         Makefile-defined VERSION
12800
12801 2006-02-09  Dan Williams  <dcbw@redhat.com>
12802
12803         Patch from: Vinay A R <rvinay@novell.com>
12804         * src/vpn-manager/nm-vpn-act-request.[ch]
12805                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12806                         IPSec VPNs require them for std gateway.
12807                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12808                         and 'user_routes_count'
12809                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12810                         defined routes  from NMVPNActRequest object, returns the string
12811                         array of routes.
12812
12813         * src/vpn-manager/nm-vpn-manager.[ch]
12814                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12815                         for 'user_routes' and 'user_routes_count'
12816         
12817         * src/vpn-manager/nm-dbus-vpn.c
12818                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12819                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12820         
12821         * src/vpn-manager/nm-vpn-service.c
12822                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12823                         the vpn daemon
12824
12825         Modifications by Dan:
12826         * src/vpn-manager/nm-vpn-service.c
12827                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12828                         arrays into dbus
12829
12830         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12831         * vpn-daemons/pptp/src/nm-pptp-service.c
12832         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12833                 - Grab user routes from dbus message
12834                 - Free all string arrays we got from dbus
12835
12836 2006-02-07  Robert Love  <rml@novell.com>
12837
12838         Patch by Stefan Seyfried <seife@suse.de>:
12839         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12840
12841 2006-02-06  Robert Love  <rml@novell.com>
12842
12843         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12844
12845 2006-02-06  Robert Love  <rml@novell.com>
12846
12847         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12848           test ">=" is never false.  If no newline is found, we loop forever.
12849           We can just check for ">" because the following if() will see the
12850           zero-th argument if the while() gets that far.
12851
12852 2006-02-05  Dan Williams  <dcbw@redhat.com>
12853
12854         Refine handling of non-broadcast networks.
12855
12856         * src/NetworkManagerAPList.c
12857                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12858                         property from scanned AP to the AP from the device list
12859
12860         * src/nm-device-802-11-wireless.c
12861                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12862                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12863                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12864                         networks since those don't have APs.
12865                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12866                         AP as non-SSID-broadcasting
12867                 - (process_scan_results): don't handle non-SSID-broadcasting here
12868
12869 2006-02-05  Dan Williams  <dcbw@redhat.com>
12870
12871         * src/nm-device-802-11-wireless.c
12872                 - (get_supplicant_timeout): new function; return
12873                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12874                         14 channels.  These are likely a/b/g cards, like Atheros, and
12875                         slow as hell to scan.
12876                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12877                         get_supplicant_timeout()
12878
12879 2006-02-05  Dan Williams  <dcbw@redhat.com>
12880
12881         * src/dhcp-manager/nm-dhcp-manager.c
12882                 - Loose a commit race with Robert; make sure size check
12883                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12884
12885 2006-02-05  Robert Love  <rml@novell.com>
12886
12887         Patch by Christoph Brill <chrisbrill@gmx.net>:
12888         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12889           with DHCP_SERVICE_NAME.
12890
12891 2006-02-05  Dan Williams  <dcbw@redhat.com>
12892
12893         Remove anything having to do with device_setup_func from the
12894         AP security objects, since it's no longer used.
12895
12896         * src/nm-ap-security.h
12897                 - Kill device_setup_func and nm_ap_security_device_setup()
12898
12899         * src/nm-ap-security-wep.c
12900           src/nm-ap-security-wpa-psk.c
12901                 - (real_device_setup): remove
12902
12903         * src/nm-ap-security.c
12904                 - (real_device_setup): remove
12905                 - (nm_ap_security_device_setup): remove
12906
12907         * src/nm-device-802-11-wireless.[ch]
12908                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12909                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12910                         and done by wpa_supplicant now anyway
12911
12912 2006-02-05  Dan Williams  <dcbw@redhat.com>
12913
12914         * src/nm-device-802-11-wireless.c
12915                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12916                         settings on us.  Previously NM would loop asking for the
12917                         key but getting the same one back.  Now, if the NMI-supplied
12918                         cipher doesn't overlap with the scanned AP capabilities,
12919                         we request a completely new key from the user.
12920
12921 2006-02-05  Dan Williams  <dcbw@redhat.com>
12922
12923         * src/NetworkManagerUtils.c
12924                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12925                         Handle newline killing better
12926
12927 2006-02-05  Dan Williams  <dcbw@redhat.com>
12928
12929         * gnome/applet/nm-gconf-wso.c
12930                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12931                         of unencrypted access point security info.
12932
12933 2006-02-03  Robert Love  <rml@novell.com>
12934
12935         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12936           user's encryption key, so we print the err_msg_cmd not the command,
12937           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12938           sense.
12939
12940 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12941
12942         * initscript/RedHat/NetworkManagerDispatcher.in:
12943         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12944         Patch from Dan Walsh <dwalsh@redhat.com>
12945
12946 2006-02-03  Robert Love  <rml@novell.com>
12947
12948         * dispatcher-daemon/NetworkManagerDispatcher.c,
12949           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12950           but use the sysconfdir.
12951
12952 2006-02-03  Robert Love  <rml@novell.com>
12953
12954         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12955           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12956           'char *'.
12957         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12958           nm_ip4_config_get_hostname() and
12959           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12960         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12961           leak g_strdup() result.
12962
12963 2006-02-03  Robert Love  <rml@novell.com>
12964
12965         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12966           broadcast == TRUE.  Also, copy broadcast and artificial properties
12967           from source network to destination in nm_ap_copy().
12968         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12969           since we now default new networks to non-hidden.
12970
12971 2006-02-03  Dan Williams  <dcbw@redhat.com>
12972
12973         * gnome/applet/main.c
12974                 - (main): change the NEVER->ALWAYS so we start at the
12975                         beginning of the session, if being session-managed
12976
12977 2006-02-03  Dan Williams  <dcbw@redhat.com>
12978
12979         * gnome/applet/main.c
12980                 - (main): in a variation on Robert's patch, change
12981                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12982                         he wants.
12983
12984 2006-02-02  Robert Love  <rml@novell.com>
12985
12986         * src/Makefile.am: If we aren't going to create the run directory at,
12987           uh, run-time, create it during install.  Then users just doing
12988           'make install' are cool, too.  While we are here, create the
12989           dispatcher.d directory, too.
12990         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12991           the exact run directory.
12992         * Makefile.am: Install nm-applet.desktop.
12993
12994 2006-02-02  Robert Love  <rml@novell.com>
12995
12996         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12997           structure, which denotes whether or not the AP is hidden.  This is a
12998           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12999           can show up in the scan list.  Add nm_ap_get_broadcast() and
13000           nm_ap_set_broadcast() accessor interfaces.
13001         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13002           nm_ap_set_broadcast().
13003         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13004           "getProperties" method, which denotes whether or not the given
13005           network is hidden.
13006         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13007           an artificial network.  Set broadcast to TRUE when scanning returns
13008           an ESSID and FALSE when not.
13009         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13010           from "getProperties" method on a network.  Possible TODO is to
13011           somehow display this.
13012         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13013
13014 2006-02-02  Dan Williams  <dcbw@redhat.com>
13015
13016         * src/nm-device-802-11-wireless.c
13017                 - (supplicant_interface_init): don't try to create
13018                         /var/run/NetworkManager, since that should be done by
13019                         the distro package.  Causes problems for stuff like SELinux
13020
13021 2006-02-02  Robert Love  <rml@novell.com>
13022
13023         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13024         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13025           Check for and handle empty string for iface.
13026
13027 2006-02-01  Robert Love  <rml@novell.com>
13028
13029         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13030           manpage.
13031
13032 2006-01-31  Dan Williams  <dcbw@redhat.com>
13033
13034         * nm-applet.desktop
13035                 - Add --sm-disable to Exec arguments, presuming that when
13036                         using autostart, we don't want session management
13037
13038 2006-01-31  Robert Love  <rml@novell.com>
13039
13040         * src/NetworkManagerAP.c: Add two new manufacturer default network
13041           names: linksys-a and linksys-g.  These are found (at least) on the
13042           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13043           own ESSID.
13044
13045 2006-01-31  Robert Love  <rml@novell.com>
13046
13047         * src/NetworkManagerAP.c: Optimize the function
13048           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13049           machine code.  This is the first in a series of code tweaks aiming to
13050           generate better machine code and make NetworkManager all the better.
13051           Just kidding.  Who has time to go through the assembly generated for
13052           every function?  I certainly don't.  I have a wife, a kid, a job,
13053           a mortgage, a mistress.  But this function was so bad, I was called
13054           to arms.  Like the book.
13055
13056 2006-01-31  Robert Love  <rml@novell.com>
13057
13058         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13059           AP is not broadcasting, to scan with probe request frames.  Required
13060           for non-broadcast networks.
13061
13062 2006-01-31  Robert Love  <rml@novell.com>
13063
13064         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13065           preprocessor define (still 20s).  Fix message text in nm_info()
13066           s/too too/took too/.
13067
13068 2006-01-30  Dan Williams  <dcbw@redhat.com>
13069
13070         * src/nm-device-802-11-wireless.c
13071                 - (supplicant_monitor_start): increase connect/auth timeout to
13072                         20 seconds from 10 seconds
13073
13074 2006-01-30  Dan Williams  <dcbw@redhat.com>
13075
13076         * src/Makefile.am
13077                 - Define LOCALSTATEDIR
13078
13079         * src/nm-device-802-11-wireless.c
13080                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13081                         socket where we want it to
13082
13083         * src/wpa_ctrl.[ch]
13084                 - (wpa_ctrl_open): accept location to put local control socket
13085
13086 2006-01-30  Robert Love  <rml@novell.com>
13087
13088         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13089           get_ip4_string() for "domain_name".
13090
13091 2006-01-30  Robert Love  <rml@novell.com>
13092
13093         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13094           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13095           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13096           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13097           support for "Automatic" pairwise and group cipher configuration by
13098           letting wpa_supplicant handle the details.  Add UI elements, new
13099           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13100           charm.  Note this does more than add a nice feature, it fixes a bug.
13101           Apparently, some people have AP's where the pairwise cipher does not
13102           match the group cipher.  Insane, but true.
13103
13104 2006-01-30  Dan Williams  <dcbw@redhat.com>
13105
13106         * gnome/applet/applet-dbus-devices.c
13107                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13108                         functions, grab device driver name from NetworkManager
13109                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13110
13111         * gnome/applet/applet.c
13112                 - (nmwa_update_info): show driver name in Connection Information
13113                         dialog
13114
13115         * gnome/applet/nm-device.[ch]
13116                 - (network_device_get_driver, network_device_set_driver): add
13117                         accessors for driver name
13118
13119         * gnome/applet/wireless-applet.glade
13120                 - Add line for driver name to Connection Information dialog
13121
13122         * src/nm-dbus-device.c
13123                 - (nm_dbus_device_get_driver): new function to return driver name
13124                 - (nm_dbus_device_methods): hook up driver name function to dbus
13125
13126         * test/nm-tool.c
13127                 - (get_driver_name): new function
13128                 - (detail_device): grab and show driver name
13129
13130 2006-01-30  Robert Love  <rml@novell.com>
13131
13132         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13133           does not parse the markup if it is not part of the format.
13134
13135 2006-01-30  Robert Love  <rml@novell.com>
13136
13137         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13138           FALSE, we have no security options for this dialog, so we throw up
13139           an error dialog instead of a broken passphrase dialog.  Fixes
13140           Novell #138404.
13141         * gnome/applet/wireless-security-manager.c,
13142           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13143           does not add any security options, not even NONE, print a warning
13144           and return FALSE.  This let's functions constructing a dialog bail
13145           out if the device's capabilities and the network's requirements have
13146           zero overlap.
13147
13148 2006-01-27  Robert Love  <rml@novell.com>
13149
13150         * configure.in: Require wpa_supplicant.  Detect location of binary and
13151           use it.  Override with "--with-wpa_supplicant=foo".
13152         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13153           path to wpa_supplicant but use the auto-detected or user-provided
13154           value from configure.
13155
13156 2006-01-27  Robert Love  <rml@novell.com>
13157
13158         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13159           but the DHCP server did not return a hostname, try to look up our
13160           name via DNS and set the system hostname to that.
13161
13162 2006-01-27  Dan Williams  <dcbw@redhat.com>
13163
13164         * src/backends/NetworkManagerRedHat.c
13165                 - Add NM_CONTROLLED system network script support for RH/Fedora
13166
13167 2006-01-27  Dan Williams  <dcbw@redhat.com>
13168
13169         * src/backends/NetworkManagerGentoo.c
13170                 - (nm_system_device_get_disabled): add missing function.
13171                         Gnome BZ #328780
13172
13173 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13174
13175         * configure.in: Added vi in ALL_LINGUAS line.
13176         
13177 2006-01-26  Robert Love  <rml@novell.com>
13178
13179         * src/Makefile.am, src/kernel-types.h: Now that two different source
13180           files are feeling the crack-addled leakage of kernel types such as
13181           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13182           types in user-space -- define a header and include it as needed.
13183         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13184         * src/nm-device-802-3-ethernet.h: Remove defines.
13185         * src/wpa.c: Remove defines and include kernel-types.h.
13186
13187 2006-01-26  Robert Love  <rml@novell.com>
13188
13189         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13190           work.
13191
13192 2006-01-26  Robert Love  <rml@novell.com>
13193
13194         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13195         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13196           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13197           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13198           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13199           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13200           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13201           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13202           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13203           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13204           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13205           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13206           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13207           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13208           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13209           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13210           Kill unused variables, labels, and static functions.  Don't pass
13211           string literals as the format string for printf-like functions.
13212
13213 2006-01-25  Dan Williams  <dcbw@redhat.com>
13214
13215         * gnome/applet/wireless-applet.glade
13216                 - Remove WPA2 Checkbox
13217
13218         * gnome/applet/wireless-security-manager.c
13219                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13220                         This means the Wireless Security menu now has two WPA options,
13221                         one for "WPA Personal" and one for "WPA2 Personal"
13222
13223         * gnome/applet/wso-wpa-psk.[ch]
13224                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13225                         'wpa2' argument to determine WPA version to use
13226                 - (append_dbus_params_func): pass stored WPA version to cipher
13227                         rather than using the (removed) checkbox
13228
13229 2006-01-24  Robert Love  <rml@novell.com>
13230
13231         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13232           before we g_strdup(), not the ultimate string.
13233
13234 2006-01-23  Dan Williams  <dcbw@redhat.com>
13235
13236         * src/NetworkManagerAP.[ch]
13237                 - (nm_ap_new_from_ap): copy original essid too
13238                 - (nm_ap_unref): free original essid
13239                 - (nm_ap_get_orig_essid): new function
13240                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13241                         but keep original essid around too
13242
13243         * src/nm-device-802-11-wireless.c
13244                 - (supplicant_send_network_config): send wpa_supplicant the
13245                         _original_ essid, and not as a string, but in hex.  Should
13246                         allow us to connect to more APs that use wierd character
13247                         encodings for their essids
13248
13249         * utils/nm-utils.[ch]
13250                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13251                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13252                         use the current locale as a hint for what encoding the essid
13253                         might be in.  Obviously not 100% accurate, but the idea here is
13254                         that if a user's locale is ex. ja_JP, they are more likely than
13255                         not to be in Japan, where access points will likely be in some
13256                         Japanese encoding.
13257
13258 2006-01-23  Dan Williams  <dcbw@redhat.com>
13259
13260         * libnm-util/cipher-private.h
13261           libnm-util/cipher.c
13262           libnm-util/cipher.h
13263                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13264
13265 2006-01-23  Robert Love  <rml@novell.com>
13266
13267         Patch by Timo Hoenig <thoenig@suse.de>:
13268         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13269           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13270           by DHCP and pass it to the backends, allowing distribution-specific
13271           behavior with respect to the DHCP-supplied hostname (if nothing else,
13272           some distributions might not want to set the hostname).
13273         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13274           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13275           Also update our NIS behavior.
13276         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13277           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13278           Add stub functions.
13279
13280 2006-01-23  Robert Love  <rml@novell.com>
13281
13282         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13283           gnome-session does autostart.  TODO: We need to install this to
13284           $prefix/share/autostart/.
13285
13286 2006-01-22  Dan Williams  <dcbw@redhat.com>
13287
13288         * src/NetworkManagerAP.[ch]
13289           src/nm-dbus-nmi.c
13290           src/nm-device-802-11-wireless.c         
13291                 - Make nm_ap_get_essid return "const char *"
13292
13293 2006-01-22  Dan Williams  <dcbw@redhat.com>
13294
13295         * src/NetworkManagerAP.[ch]
13296                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13297
13298         * src/NetworkManagerAPList.[ch]
13299                 - (nm_ap_list_diff): removed
13300                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13301                         deal with access points changing essids on us
13302
13303         * src/nm-device-802-11-wireless.c
13304                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13305                         src/NetworkManagerAPList.c
13306                 - (real_can_interrupt_activation): new function; allow interruption
13307                         of device activation if we are waiting for a network key
13308
13309         * src/NetworkManagerPolicy.c
13310                 - (nm_policy_device_change_check): allow interruption of currently
13311                         activating devices if the device allows it.  Previous behavior
13312                         would refuse to activate a just-plugged wired device if a
13313                         wireless device was waiting for a key.
13314
13315         * src/nm-device.[ch]
13316                 - (nm_device_can_interrupt_activation): new function; ask devices
13317                         whether their activation can be interrupted
13318
13319 2006-01-20  Robert Love  <rml@novell.com>
13320
13321         * Makefile.am, configure.in: Add new man subdirectory.
13322         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13323           man/Makefile.am: Add man pages for NetworkManager and its
13324           crime-solving bumbling buddy, NetworkManagerDispatcher.
13325         * man/.cvsignore: Add.
13326         * initscript/Debian/NetworkManager,
13327           initscript/Gentoo/NetworkManager.in,
13328           initscript/RedHat/NetworkManager.in,
13329           initscript/RedHat/NetworkManagerDispatcher.in,
13330           initscript/SUSE/networkmanager-dispatcher.in,
13331           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13332
13333 2006-01-20  Robert Love  <rml@novell.com>
13334
13335         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13336           instead of queuing.  This prevents the running of multiple NM
13337           daemons concurrently, which does not work whatsoever and results in
13338           neither daemon working correctly.  Also, we don't handle queuing and
13339           name-owner-changes, anyhow.
13340
13341 2006-01-20  Robert Love  <rml@novell.com>
13342
13343         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13344         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13345           to sbin, not bin.
13346
13347 2006-01-19  Robert Love  <rml@novell.com>
13348
13349         * configure.in: Require hal 0.5.0 or later.
13350
13351 2006-01-18  Robert Love  <rml@novell.com>
13352
13353         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13354           Allow backends to flag a device (in whatever distro-dependent way
13355           they so desire) as disabled.  NM will ignore any such device.
13356         * src/backends/NetworkManagerDebian.c,
13357           src/backends/NetworkManagerRedHat.c,
13358           src/backends/NetworkManagerSlackware.c: Add stub function
13359           nm_system_device_get_disabled() that always returns FALSE (enabled).
13360         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13361           SUSE-specific configuration structure.  Fill it in from the
13362           NM_CONTROLLED variable in the system networking scripts.  If this var
13363           exists and is "no", we ignore the device.
13364
13365 2006-01-17  Robert Love  <rml@novell.com>
13366
13367         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13368           identical for NM.  For a full discussion, see the thread at
13369           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13370
13371 2006-01-17  Dan Williams  <dcbw@redhat.com>
13372
13373         * src/nm-device.c
13374                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13375                         function.  Fixes crash when wired DHCP fails.
13376
13377 2006-01-16  Robert Love  <rml@novell.com>
13378
13379         * src/Makefile.am: Don't install NMLoadModules
13380         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13381           from src/ to test/ as no one uses it anymore.  Note that I would be
13382           fine with removing it altogether.
13383
13384 2006-01-16  Robert Love  <rml@novell.com>
13385
13386         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13387           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13388           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13389           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13390           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13391           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13392           declarations, ever.
13393         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13394           NM_STATE_DISCONNECTED is zero).
13395
13396 2006-01-16  Robert Love  <rml@novell.com>
13397
13398         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13399           uninitialized parameter and buffer overflow.  Novell #143496.
13400
13401 2006-01-16  Dan Williams  <dcbw@redhat.com>
13402
13403         Apply the PtP Address bits of a patch from Tim Niemueller
13404
13405         * src/nm-ip4-config.[ch]
13406                 - Add ip4_ptp_address member to object
13407                 - (nm_ip4_config_copy): copy ptp address too
13408                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13409                         new functions
13410                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13411                         rather than local tunnel ip address
13412
13413         * src/vpn-manager/nm-vpn-service.c
13414                 - (print_vpn_config): update for PtP address
13415                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13416                         DBusMessageIters in preparation for getting routes from the VPN
13417                         service daemons too
13418
13419         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13420                 - (send_config_info): update for PtP address, clean up code
13421                 - (main): update for PtP address, clean up code, fix typo
13422
13423         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13424                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13425
13426         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13427                 - (pptp_ip_up): update for PtP address
13428
13429         * vpn-daemons/pptp/src/nm-pptp-service.c
13430                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13431
13432         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13433                 - (print_vpn_config): update for PtP address
13434                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13435
13436 2006-01-16  Dan Williams  <dcbw@redhat.com>
13437
13438         * gnome/applet/applet.c
13439                 - (nmwa_add_networks_helper): don't indicate an active network
13440                         if NM is disconnected or asleep
13441
13442 2006-01-16  Dan Williams  <dcbw@redhat.com>
13443
13444         * src/NetworkManagerPolicy.c
13445                 - (nm_policy_device_change_check): switch devices if we lose the link
13446                         on an ethernet device. 
13447
13448 2006-01-16  Dan Williams  <dcbw@redhat.com>
13449
13450         * gnome/applet/wso-wpa-psk-hex.[ch]
13451                 - Renamed -> wso-wpa-psk.[ch]
13452
13453         * gnome/applet/wso-wpa-psk.[ch]
13454                 - New files
13455
13456         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13457                 - Removed, rolled into wso-wpa-psk.[ch]
13458
13459         * gnome/applet/Makefile.am
13460                 - Updated for above changes
13461
13462         * gnome/applet/wireless-applet.glade
13463                 - Consolidate WPA-PSK options into one notebook
13464                         widget, and make dialogs invisible by default
13465                         to fix screen oddities
13466
13467         * gnome/applet/wireless-security-manager.c
13468                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13469                         than both the old hex & passphrase ones
13470
13471 2006-01-16  Dan Williams  <dcbw@redhat.com>
13472
13473         * gnome/applet/other-network-dialog.c
13474                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13475
13476 2006-01-16  Dan Williams  <dcbw@redhat.com>
13477
13478         * gnome/applet/applet.c
13479                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13480                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13481                         prevention to realize window before trying to get server
13482                         time
13483
13484         * gnome/applet/other-network-dialog.c
13485                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13486                         prevention to realize window before trying to get server
13487                         time
13488
13489         * gnome/applet/passphrase-dialog.c
13490                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13491                         prevention to realize window before trying to get server
13492                         time
13493
13494 2006-01-16  Robert Love  <rml@novell.com>
13495
13496         Patch from Timo Hoenig  <thoenig@suse.de:
13497         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13498           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13499           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13500           libnm-util/dbus-helpers.h: add checks whether headers are used
13501           within a C++ build.
13502
13503 2006-01-16  Dan Williams  <dcbw@redhat.com>
13504
13505         * gnome/applet/wireless-security-option.c
13506                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13507
13508 2006-01-16  Dan Williams  <dcbw@redhat.com>
13509
13510         * libnm-util/cipher-wpa-psk-passphrase.c
13511                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13512                         be 8 - 63 characters inclusive
13513
13514 2006-01-16  Dan Williams  <dcbw@redhat.com>
13515
13516         * src/nm-dbus-nm.c
13517                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13518
13519 2006-01-13  Robert Love  <rml@novell.com>
13520
13521         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13522         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13523           modules that do not use an interface.
13524
13525 2006-01-13  Dan Williams  <dcbw@redhat.com>
13526
13527         * src/nm-device.c
13528           src/nm-device.h
13529                 - Allow subclasses to implement deactivate_quickly()
13530                 - (nm_device_deactivate_quickly): call subclass
13531                         deactivate_quickly() methods
13532                 - (nm_device_set_active_link): small cleanups, and don't
13533                         deactivate the device right away because we risk a deadlock
13534                         when called from device thread, waiting for the device
13535                         thread to cancel activation
13536
13537         * src/nm-device-802-11-wireless.c
13538                 - (real_deactivate_quickly): new function
13539                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13540                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13541                         so that we kill the supplicant when we sleep too
13542                 - (supplicant_interface_init): work around naive naming attempts of
13543                         wpa_ctrl when naming sockets
13544
13545 2006-01-13  Dan Williams  <dcbw@redhat.com>
13546
13547         * src/nm-device-802-11-wireless.c
13548                 - (supplicant_cleanup): delete old device control sockets too
13549                 - (supplicant_get_device_socket_path): new function to consolidate
13550                         locations that need a path to a device's control socket
13551
13552 2006-01-12  Robert Love  <rml@novell.com>
13553
13554         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13555           description so that the description is unique for each
13556           pair (device,provider).  Fixes Novell #142773.
13557
13558 2006-01-12  Dan Williams  <dcbw@redhat.com>
13559
13560         * src/nm-device-802-11-wireless.c
13561                 - (supplicant_exec): ensure GError is correctly initialized
13562                         Reported by Diego González (gnome.org #326708)
13563
13564 2006-01-11  Robert Love  <rml@novell.com>
13565
13566         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13567           define if_mii(), open code the same results, and do so without any
13568           type punning.
13569
13570 2006-01-11  Robert Love  <rml@novell.com>
13571
13572         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13573           that wso_foo_new() returned non-NULL.  Instead, only append the new
13574           wso to wsm->options if the wso is non-NULL.  The crux is that we
13575           assume that the relevant key types are implied by WEP and WPA as
13576           appropriate.  To be sure, they should be, but we should not expect
13577           drivers to not be oozing piles of wolf fecal matter.
13578
13579 2006-01-11  Robert Love  <rml@novell.com>
13580
13581         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13582         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13583           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13584           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13585           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13586           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13587           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13588         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13589           comparing values within DBL_EPSILON.  Also fix shadowed variable
13590           usage.
13591
13592 2006-01-11  Dan Williams  <dcbw@redhat.com>
13593
13594         Add options for WPA2 and WPA1+CCMP (AES).
13595
13596         * gnome/applet/wireless-applet.glade
13597                 - Add UI bits for WPA+CCMP
13598
13599         * gnome/applet/other-network-dialog.c
13600                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13601                         and don't allow creation of WPA2 Ad-Hoc networks since
13602                         wpa_supplicant doesn't support them
13603
13604         * gnome/applet/wireless-security-manager.c
13605                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13606                         on to the specific wireless security option being created
13607
13608         * gnome/applet/wireless-security-option.[ch]
13609                 - (wso_wpa_create_key_type_model): new utility function to create
13610                         the model required for WPA Key Type combo box
13611
13612         * gnome/applet/wso-private.h
13613           gnome/applet/wireless-security-option.h
13614                 - Move private function prototypes into wso-private.h
13615
13616         * gnome/applet/wso-wpa-psk-hex.[ch]
13617           gnome/applet/wso-wpa-psk-passphrase.[ch]
13618                 - (append_dbus_params_func): get WPA version from checkbox and pass
13619                         it to the dbus serialization helper
13620                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13621                         key type combo changes
13622                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13623                         model and options
13624
13625         * libnm-util/cipher-wpa-psk-hex.c
13626           libnm-util/cipher-wpa-psk-passphrase.c
13627                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13628                         new function; allow the cipher to be changed after object creation
13629
13630         * src/nm-ap-security-wpa-psk.c
13631                 - (set_description): Do WPA2 descriptions too
13632
13633         * src/nm-ap-security.c
13634                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13635
13636 2006-01-11  Robert Love  <rml@novell.com>
13637
13638         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13639           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13640           from the ifreq structure in lieu of an open coded solution.  Removes
13641           a life-threatening type-punning.
13642         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13643           types, ever, whatsoever, baby.
13644
13645 2006-01-11  Robert Love  <rml@novell.com>
13646
13647         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13648           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13649           assignments to applet->nm_state into a new nmwa_set_state() function
13650           for both cleanliness and to help debugging.
13651
13652 2006-01-10  Robert Love  <rml@novell.com>
13653
13654         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13655           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13656           seconds, exclusive.  That is, we want to sleep x seconds such that
13657           1 < x < 2.
13658
13659 2006-01-10  Robert Love  <rml@novell.com>
13660
13661         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13662           the attr fields according to the example in the email available at
13663           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13664           Conversely, we do have to free 'name', so we do so, fixing a leak.
13665
13666 2006-01-10  Robert Love  <rml@novell.com>
13667
13668         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13669           sure that we close the socket!
13670
13671 2006-01-10  Robert Love  <rml@novell.com>
13672
13673         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13674           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13675           src/nm-device.c: Fix a FIXME!  Reimplement the function
13676           nm_device_update_hw_address() in device subclass variants,
13677           nm_device_802_3_ethernet_set_address() and
13678           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13679           This fixes the existing bug where MAC addresses are all zeros.
13680
13681 2006-01-10  Robert Love  <rml@novell.com>
13682
13683         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13684           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13685           option to give users ability to globally disconnect and put NM to
13686           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13687           clean disconnect.
13688
13689 2006-01-09  Robert Love  <rml@novell.com>
13690
13691         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13692           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13693           User-space does not supply these types, so we have to define them
13694           ourselves.  The relevant kernel maintainer refused to accept a patch
13695           switching these headers to the proper C99 types.
13696
13697 2006-01-09  Dan Williams  <dcbw@redhat.com>
13698
13699         Apply Robert's 'tray icon redo' patch with fixes
13700         * gnome/applet/applet.c
13701           gnome/applet/applet.h
13702                 - Instead of using a menu bar + menu item, simulate menu
13703                         behavior using a popup menu.  Highlight the area around
13704                         the icon more like a menu too, by playing with the
13705                         applet's size requisition
13706
13707 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13708         * libnm-util/dbus-helpers.c
13709           libnm-util/dbus-helpers.h
13710                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13711                         to 'exception_namespace' (:namespace is a keyword in
13712                         C++)
13713
13714 2006-01-09  Dan Williams  <dcbw@redhat.com>
13715
13716         * src/NetworkManagerPolicy.c
13717                 - (nm_policy_device_change_check): don't autoswitch away from
13718                         Ad-Hoc networks, since there's really no concept of
13719                         "link"
13720
13721         * src/nm-dbus-nm.c
13722                 - (nm_dbus_nm_create_wireless_network): mark created networks
13723                         as Ad-Hoc networks
13724
13725         * src/nm-device-802-11-wireless.c
13726                 - (real_activation_success_handler): add user-created Ad-Hoc
13727                         networks to the device's scan list
13728
13729 2006-01-08  Dan Williams  <dcbw@redhat.com>
13730
13731         We now require a patch for wpa_supplicant to support Ad-Hoc
13732         networks:
13733           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13734
13735         * src/nm-device-802-11-wireless.c
13736                 - (supplicant_send_network_config): turn off wpa_supplicant's
13737                         scanning.  Fixes Ad-Hoc networks.
13738
13739 2006-01-08  Dan Williams  <dcbw@redhat.com>
13740
13741         * src/nm-ap-security.c
13742           src/nm-ap-security.h
13743                 - Add a user_created argument to the write_supplicant_config
13744                         functions
13745
13746         * src/nm-ap-security-wep.c
13747           src/nm-ap-security-wpa-psk.c
13748           src/nm-device-802-11-wireless.c
13749                 - Make Ad-Hoc mode somewhat work, at least write the
13750                         correct options to wpa_supplicant
13751
13752 2006-01-08  Dan Williams  <dcbw@redhat.com>
13753
13754         * src/nm-device-802-11-wireless.c
13755                 - Remove unused code from the old device activation path
13756
13757 2006-01-08  Dan Williams  <dcbw@redhat.com>
13758
13759         * libnm-util/dbus-helpers.c
13760                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13761                         dbus when key == NULL
13762
13763 2006-01-08  Dan Williams  <dcbw@redhat.com>
13764
13765         * gnome/applet/nm-gconf-wso-wpa-psk.c
13766                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13767                         correct arguments to nmu_security_deserialize_wpa_psk()
13768
13769         * src/nm-ap-security-wpa-psk.c
13770                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13771                         arguments to nmu_security_deserialize_wpa_psk()
13772
13773 2006-01-08  Dan Williams  <dcbw@redhat.com>
13774
13775         * gnome/applet/wso-wpa-psk-hex.c
13776           gnome/applet/wso-wpa-psk-passphrase.c
13777                 - Hook up the append_dbus_params_func() function
13778
13779 2006-01-08  Dan Williams  <dcbw@redhat.com>
13780
13781         * src/nm-device-802-11-wireless.c
13782                 - (get_wireless_capabilities): correctly detect driver WPA
13783                         capabilities
13784
13785 2006-01-08  Dan Williams  <dcbw@redhat.com>
13786
13787         * gnome/applet/Makefile.am
13788           gnome/applet/wso-wpa-psk-hex.c
13789           gnome/applet/wso-wpa-psk-hex.h
13790                 - New files, implement WPA-PSK Hex key input
13791
13792         * gnome/applet/wireless-applet.glade
13793                 - Change existing wpa-psk stuff to wpa-psk-hex
13794                 - Add new widgets for wpa-psk-passphrase
13795
13796         * gnome/applet/wireless-security-manager.c
13797                 - (wsm_set_capabilities): enable WPA options
13798
13799         * gnome/applet/wso-wpa-psk-passphrase.c
13800                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13801                         for WPA-PSK passphrase
13802
13803 2006-01-08  Dan Williams  <dcbw@redhat.com>
13804
13805         * include/NetworkManager.h
13806                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13807                         applet/info-daemons
13808
13809         * gnome/applet/passphrase-dialog.c
13810                 - Use the constant.  Fixes a bug where the arguments to
13811                         dbus_message_new_error() were incorrect
13812
13813         * src/nm-dbus-nmi.c
13814                 - Use the constant
13815
13816 2006-01-07  Dan Williams  <dcbw@redhat.com>
13817
13818         * src/nm-device-802-11-wireless.c
13819                 - Add a link timeout so we allow the supplicant time to
13820                         reassociate if it can, before we deactivate the card
13821                 - Fix up link status and link updating so things work better
13822
13823 2006-01-07  Dan Williams  <dcbw@redhat.com>
13824
13825         * src/nm-device-802-11-wireless.c
13826                 - Switch over to using wpa_supplicant
13827                 - Add a timeout of 10s for association of the supplicant
13828                 - Start the monitor callback of the supplicant
13829
13830 2006-01-07  Dan Williams  <dcbw@redhat.com>
13831
13832         * src/NetworkManagerUtils.c
13833                 - (nm_utils_supplicant_request,
13834                   nm_utils_supplicant_request_with_check):
13835                         pass correct buffer length to wpa_ctrl_request()
13836
13837 2006-01-07  Dan Williams  <dcbw@redhat.com>
13838
13839         * src/nm-device-private.h
13840           src/nm-device.c
13841                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13842                         this function available to subclasses
13843
13844 2006-01-06  Robert Love  <rml@novell.com>
13845
13846         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13847           user plugging in a network cable signals their preference for to
13848           switch, unless the user explicitly selected a wireless network and
13849           therefore signaled their preference for said wireless network over
13850           wired.  In other words, do exactly what makes sense.
13851
13852 2006-01-06  Robert Love  <rml@novell.com>
13853
13854         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13855           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13856           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13857           showing up in my greps.
13858
13859 2006-01-06  Robert Love  <rml@novell.com>
13860
13861         * gnome/applet/applet-dbus-devices.c,
13862           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13863           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13864           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13865           New Network' both failed in the non-encrypted case because we were
13866           not appending the security options to the DBUS message.  And
13867           'Connect to Other' was also failing in the encrypted case because
13868           we were not incrementing to the next DBUS parameter.  All fixed.
13869           Thanks to dcdw for some debugging help.
13870
13871 2006-01-06  Robert Love  <rml@novell.com>
13872
13873         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13874           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13875           hangup code and add per-device hangup.  Tie last commit into the
13876           GNOME applet.  TODO:  Save, understand, and respond to the state of
13877           each dialup device.
13878
13879 2006-01-06  Robert Love  <rml@novell.com>
13880
13881         Patch by Timo Hoenig <thoenig@suse.de>:
13882         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13883           hangup specific dialup devices.
13884         * src/backends/NetworkManagerDebian.c,
13885           src/backends/NetworkManagerGentoo.c,
13886           src/backends/NetworkManagerRedHat.c,
13887           src/backends/NetworkManagerSlackware.c: Add stub backend.
13888         * src/backends/NetworkManagerRedHat.c,
13889           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13890           hangup specific dialup devices.
13891
13892 2006-01-04  Robert Love  <rml@novell.com>
13893
13894         * gnome/applet/applet-dbus-devices.c,
13895           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13896           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13897           connections.
13898
13899 2006-01-04  Dan Williams  <dcbw@redhat.com>
13900
13901         First dump of wpa_supplicant-related code.  It's not hooked up to
13902         anything yet though.  Thanks to Kay Sievers for
13903         wpa_supplicant_wrapper.c, which formed the basis for this work,
13904         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13905
13906         * src/Makefile.am
13907           src/wpa_ctrl.[ch]
13908                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13909
13910         * src/NetworkManagerUtils.[ch]
13911                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13912                         Add convenience functions for talking to wpa_supplicant
13913
13914         * src/nm-ap-security.[ch]
13915           src/nm-ap-security-wep.c
13916           src/nm-ap-security-wpa-psk.[ch]
13917                 - Update and implement real_write_supplicant_config functions
13918                         in all security types
13919                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13920                         nm-ap-security-wpa-psk.c
13921
13922         * src/nm-device-802-11-wireless.c
13923                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13924                    wpa_supplicant_start, wpa_supplicant_interface_init,
13925                    wpa_supplicant_send_network_config): add functions to talk to
13926                         wpa_supplicant and write network config to it
13927
13928 2006-01-04  Robert Love  <rml@novell.com>
13929
13930         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13931           values so that distribution-backends can differentiate between the
13932           various types (modem, ISDN, et cetera) of dialup device that they
13933           support.
13934         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13935           needed.
13936
13937 2006-01-03  Dan Williams  <dcbw@redhat.com>
13938
13939         * src/NetworkManagerPolicy.c
13940           src/nm-device.[ch]
13941           src/nm-device-802-11-wireless.c
13942                 - Move wireless-specific activation failure and success code
13943                         into wireless device class
13944
13945 2006-01-03  Robert Love  <rml@novell.com>
13946
13947         Patch by Preggna S:
13948         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13949           IPsec does not require that a VPN client be bound to an interface,
13950           due to the use of the in-kernel IPSec bits.  So make the tunnel
13951           device optional.
13952
13953 2006-01-03  Dan Williams  <dcbw@redhat.com>
13954
13955         * src/NetworkManagerAP.c
13956                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13957                         the WPA IE specifies that WEP is supported
13958
13959         * src/nm-device-802-11-wireless.c
13960                 - (process_scan_results): don't mark an AP as supporting WEP
13961                         if there's already other encryption capability info
13962
13963 2006-01-03  Dan Williams  <dcbw@redhat.com>
13964
13965         * src/dhcp-manager/nm-dhcp-manager.c
13966                 - Recognize activation cancellation when waiting for DHCP
13967                         configuration from dhcdbd
13968                 - Ignore non-dhcdbd messages
13969
13970         * src/nm-device.c
13971                 - (real_act_stage3_ip_config_start): return to correct behavior
13972                         of letting the dhcp-manager notify us of failure or
13973                         success rather than incorrectly doing that ourselves
13974                 - (nm_device_activate_stage4_ip_config_get): deal with
13975                         activation cancellation a bit earlier
13976
13977 2006-01-03  Dan Williams  <dcbw@redhat.com>
13978
13979         * src/nm-device-802-11-wireless.c
13980           src/nm-device.[ch]
13981                 - Add hooks to subclasses for stage3_ip_config_start and
13982                         stage4_ip_config_timeout
13983
13984         * src/nm-device-802-3-ethernet.c
13985                 - (real_get_generic_capabilities): make devices NM-supported
13986                         by default
13987
13988 2006-01-03  Robert Love  <rml@novell.com>
13989
13990         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13991           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13992           latter cannot differentiate between error and the address -1; misc.
13993           clean up.
13994
13995 2006-01-03  Dan Williams  <dcbw@redhat.com>
13996
13997         * src/NetworkManager.c
13998                 - Move link-checking/probing into the device subclasses
13999                         themselves
14000
14001         * src/nm-device.[ch]
14002           src/nm-device-802-11-wireless.c
14003           src/nm-device-802-3-ethernet.c
14004                 - Do periodic link checking in device subclasses rather
14005                         than being triggered from NetworkManager.c
14006                 - discover_wireless_capabilities -> get_wireless_capabilities
14007                 - discover_generic_capabilities -> get_generic_capabilities
14008                 - Device subclass activation routines now return a value of type
14009                         NMActStageReturn to indicate what step to perform next
14010                 - Devices now override stage4_get_ip4_config if they choose
14011
14012 2006-01-01  Dan Williams  <dcbw@redhat.com>
14013
14014         * src/nm-device-802-11-wireless.c
14015                 - (real_init): don't chain up to parent init because we don't
14016                         need to do that anymore
14017
14018         * src/nm-device.c
14019                 - (discover_device_type): fix arguments to ioctl() to correctly
14020                         pass interface name
14021                 - (nm_device_new): consolidate generic device initialization into
14022                         nm_device_new()
14023                 - (real_init): remove, consolidated to nm_device_new()
14024                 - (nm_device_deactivate, real_deactivate): consolidate
14025
14026 2006-01-01  Dan Williams  <dcbw@redhat.com>
14027
14028         * src/nm-activation-request.c
14029                 - Change dhcp_state member of the NMActRequest structure
14030                         from guint8 to guint32
14031
14032         * src/dhcp-manager/nm-dhcp-manager.[ch]
14033                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14034                         than guint8 to match the dbus argument.  Turns out we were
14035                         overwriting memory since we were passing in only a guint8
14036
14037 2005-12-31  Dan Williams  <dcbw@redhat.com>
14038
14039         * refactor NMDevice into a GObject-based framework with separate
14040                 objects for wired and wireless.  The following files are no
14041                 longer used but should stick around for a bit so we don't
14042                 loose code through the cracks:
14043                         NetworkManagerDevice.c
14044                         NetworkManagerDevice.h
14045                         NetworkManagerWireless.c
14046                         NetworkManagerWireless.h
14047
14048         The intent here is to allow each device type to manage its own
14049         connection & activation life-cycle, ie to allow wireless devices
14050         to interface with wpa_supplicant, etc.  There's a fair bit of
14051         encapsulation breakage right now that should gradually get pulled
14052         back into each device, along with things like periodic property
14053         updates and link probing.
14054
14055 2005-12-29  Dan Williams  <dcbw@redhat.com>
14056
14057         * include/NetworkManager.h
14058                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14059                         between networks that don't have any encryption at all
14060
14061 2005-12-29  Dan Williams  <dcbw@redhat.com>
14062
14063         * test/test-common.c
14064           test/test-common.h
14065           test/Makefile.am
14066                 - Move to a test-common subdirectory
14067
14068         * test/libnm-util/test-ciphers.c
14069                 - Move test data to test-inputs.h
14070                 - Test WPA ciphers too
14071
14072         * test/libnm-util/test-dbus-helpers.c
14073                 - Test serialization/deserialization of ciphers
14074
14075 2005-12-29  Dan Williams  <dcbw@redhat.com>
14076
14077         * gnome/applet/applet-dbus-devices.c
14078                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14079                         in dbus calls to NM
14080                 - Set capabilities on WirelessNetwork objects
14081                 - Receive and save type-specific device capabilities too
14082
14083         * gnome/applet/applet-dbus-info.c
14084           gnome/applet/applet-dbus.c
14085                 - Passphrase dialog no longer a singleton; new instance gets created
14086                         on each request.  Updates to deal with that.
14087
14088         * gnome/applet/applet.c
14089                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14090                         than single 'encrypted' flag
14091                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14092                         menu items
14093                 - Passphrase dialog updates per above
14094
14095         * gnome/applet/menu-items.c
14096                 - (network_menu_item_update): use AP capabilities to determine
14097                         encryption
14098
14099         * gnome/applet/nm-device.[ch]
14100                 - Add accessors for type-specific device capabilities
14101
14102         * gnome/applet/other-network-dialog.c
14103                 - Rework to respect device capabilities.  i.e., if the device doesn't
14104                         support WPA, remove that option from the security dropdown
14105
14106         * gnome/applet/passphrase-dialog.c
14107                 - Massive rework so that a new instance is created each time
14108                         it's used, to support wireless network capabilities
14109
14110         * gnome/applet/wireless-network.[ch]
14111                 - Add accessors and members for wireless network capabilities
14112
14113         * gnome/applet/wireless-security-manager.[ch]
14114                 - (wsm_set_capabilities): called after creation to set which
14115                         security options get shown to the user
14116
14117 2005-12-29  Dan Williams  <dcbw@redhat.com>
14118
14119         * libnm-util/cipher-wpa-psk-passphrase.c
14120                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14121                         like other ciphers
14122
14123 2005-12-23  Dan Williams  <dcbw@redhat.com>
14124
14125         * gnome/applet/applet-dbus-info.c
14126                 - (nmi_dbus_get_key_for_network): if there's no entry in
14127                         GConf for a network, assume we want a new key
14128                 - (nmi_save_network_info): serialize wireless security info
14129                         into GConf so its saved
14130
14131         * src/nm-dbus-nm.c
14132                 - Fix warning as we may not be passed security info when
14133                         connecting to a wireless network
14134
14135 2005-12-23  Dan Williams  <dcbw@redhat.com>
14136
14137         * gnome/applet/applet-compat.c
14138                 - Fix bugs in GConf entry conversion
14139
14140         * gnome/applet/applet-dbus-info.c
14141                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14142                         list being zero-length
14143
14144         * libnm-util/cipher-*
14145           libnm-util/dbus-helpers.c
14146                 - All ciphers must now return hashed keys as UTF-8 valid
14147                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14148                         through dbus as strings too.
14149                 - Consolidate various functions that do bin->hex and hex->bin
14150                         conversion into cipher.c
14151
14152         * src/nm-ap-security-wep.c
14153           src/nm-ap-security-wpa-psk.c
14154                 - Handle NULL keys since we may not know keys right away
14155
14156         * src/nm-dbus-nmi.c
14157                 - (nm_dbus_get_network_data_cb): actually advance to the start
14158                         of the wireless security info before we try to deserialize it
14159
14160         * libnm-util/test-ciphers.c
14161                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14162
14163 2005-12-22  Dan Williams  <dcbw@redhat.com>
14164
14165         * gnome/applet/applet-compat.[ch]
14166                 - Convert old-format GConf and keyring entries
14167                         when the applet starts up.
14168
14169         * gnome/applet/applet.c
14170                 - (nmwa_get_instance): Call the conversion function
14171                         on startup before dbus is initialized
14172
14173 2005-12-22  Dan Williams  <dcbw@redhat.com>
14174
14175         * gnome/applet/applet-dbus-info.c
14176                 - Remove nmi_dbus_create_error_message() in favor of
14177                         nmu_create_dbus_error_message()
14178                 - (nmi_dbus_get_network_properties): Error message cleanups
14179                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14180                         gconf key rather than 'addresses', since they really are BSSIDs
14181                 - (nmi_dbus_get_network_properties): Dispose of the security
14182                         object when we're done with it
14183
14184 2005-12-21  Dan Williams  <dcbw@redhat.com>
14185
14186         * Consolidate the info-daemon's "updateNetworkInfo" and
14187                 "addNetworkAddress" calls into just "updateNetworkInfo"
14188
14189 2005-12-21  Dan Williams  <dcbw@redhat.com>
14190
14191         * Make connection after key retrieval work again
14192
14193 2005-12-21  Dan Williams  <dcbw@redhat.com>
14194
14195         * gnome/applet/nm-gconf-wso*
14196                 - Make the serialize functions return gboolean
14197                         rather than int
14198
14199         * gnome/applet/nm-gconf-wso.c
14200                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14201                         parent class handling so we don't segfault
14202
14203         * src/NetworkManagerAP.[ch]
14204                 - (nm_ap_get_capabilities): new function, return capabilities
14205                         now that something can use them
14206                 - (nm_ap_set_encrypted): assume that an access point supports
14207                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14208                         we even tell whether it just supports WEP40?
14209
14210         * src/NetworkManagerDevice.c
14211                 - (ap_need_key): resurrect and update for the New World Order
14212                 - (nm_device_wireless_get_activation_ap): if we're not given
14213                         security info to use, create some based on access point
14214                         capabilities
14215
14216         * src/nm-ap-security-wep.c
14217                 - (nm_ap_security_wep_new_from_ap): create a new object
14218                         based on a certain access point's capabilities
14219
14220         * src/nm-ap-security.c
14221                 - (nm_ap_security_new_from_ap): delegate creation of a new
14222                         object based on access point capabilities to a subclass
14223                 - (nm_ap_security_copy_properties): don't segfault if we
14224                         don't have a key yet
14225
14226         * src/nm-dbus-nm.c
14227                 - (nm_dbus_nm_set_active_device): provide more informative
14228                         output when errors occur.  Also construct security info
14229                         for a given access point if we weren't given any
14230
14231 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14232
14233         * configure.in: Added Lithuanian to ALL_LINGUAS.
14234
14235 2005-12-21  Dan Williams  <dcbw@redhat.com>
14236
14237         * test/libnm-util
14238                 - Add some testcases for WEP ciphers
14239
14240 2005-12-17  Dan Williams  <dcbw@redhat.com>
14241
14242         * Fix bugs
14243
14244 2005-12-17  Dan Williams  <dcbw@redhat.com>
14245
14246         * include/NetworkManager.h
14247                 - Finally kill NMEncKeyType
14248
14249         * gnome/applet/applet-dbus-info.c
14250                 - (nmi_save_network_info): convert to NMGConfWSO
14251
14252         * gnome/applet/nm-gconf-wso-*.c
14253                 - Implement gconf serialization functions
14254
14255         * src/NetworkManagerPolicy.c
14256                 - (nm_policy_activation_finish): fix up meaning of
14257                         automatic/user_requested
14258
14259 2005-12-17  Dan Williams  <dcbw@redhat.com>
14260
14261         * gnome/applet/*
14262                 - More applet cleanups
14263                 - Use the dbus-method-dispatcher
14264
14265         * libnm-util/dbus-method-dispatcher.[ch]
14266                 - Generalize the implementation from NM in
14267                         NetworkManagerUtils.c
14268
14269 2005-12-16  Dan Williams  <dcbw@redhat.com>
14270
14271         * gnome/applet/*
14272                 - Fix up the passphrase dialog to use all the
14273                         WirelessSecurityOption stuff (untested)
14274
14275 2005-12-16  Dan Williams  <dcbw@redhat.com>
14276
14277         * Move nm_gconf_get_*_helper() functions to separate files,
14278                 gconf-helpers.c & gconf-helpers.h
14279
14280         * New NMGConfWSO objects for managing the gconf side of things.
14281                 Eventually these should be merged with the
14282                 WirelessSecurityOption objects and a common base (that can
14283                 serialize/deserialize from dbus & gconf) should be
14284                 refactored out, but for now they are separate.
14285
14286 2005-12-16  Robert Love  <rml@novell.com>
14287
14288         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14289           binaries unless they exist (nm_spawn_process() emits a warning if
14290           asked to spawn a non-existant process).
14291
14292 2005-12-16  Dan Williams  <dcbw@redhat.com>
14293
14294         * gnome/applet/applet-dbus-info.c
14295                 - Clean up lots of gconf-related code
14296
14297 2005-12-16  Robert Love  <rml@novell.com>
14298
14299         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14300
14301 2005-12-16  Dan Williams  <dcbw@redhat.com>
14302
14303         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14304
14305         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14306                 bits still to be done)
14307
14308 2005-12-16  Dan Williams  <dcbw@redhat.com>
14309
14310         * Finally move info-daemon related stuff out of
14311                 NetworkManagerDbus.c to nm-dbus-nmi.c
14312
14313 2005-12-16  Dan Williams  <dcbw@redhat.com>
14314
14315         * Kill auth_method for access points, since that's now done
14316                 by NMAPSecurity objects
14317
14318         * Add a copy-constructor of sorts to NMAPSecurity
14319                 (how do you do this properly in glib???)
14320
14321 2005-12-15  Dan Williams  <dcbw@redhat.com>
14322
14323         * Exorcise encryption key hashing on APs
14324         * Use libnm-util's serialization/deserialization in both the
14325                 applet and NM
14326         * Random other stuff
14327
14328 2005-12-15  Robert Love  <rml@novell.com>
14329
14330         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14331           is being added to the icon naming spec, so let's use that (Tango CVS
14332           has the icon).  Because it is new, however, we fall back to the
14333           current "gnome-lockscreen" if the new icon is not around, thus
14334           behavior is the same.
14335         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14336           factory junk.
14337
14338 2005-12-15  Robert Love  <rml@novell.com>
14339
14340         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14341           well, help to give.  Couple other misc. bits.
14342
14343 2005-12-15  Dan Williams  <dcbw@redhat.com>
14344
14345         * libnm-util/dbus-helpers.[ch]
14346                 - Make this the one-stop-shop for serializing/deserializing
14347                         AP & connection security settings over dbus.  Both NM
14348                         and applets should use this to ensure consistent dbus
14349                         API going forwared.
14350
14351 2005-12-15  Robert Love  <rml@novell.com>
14352
14353         Patch by Timo Hoenig  <thoenig@suse.de>:
14354         * src/NetworkManagerDbus.c
14355                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14356                         if HAL jumps off the system bus.  Otherwise libdbus
14357                         (dbus_connection_dispatch) will try to run the filter
14358                         function of our libhal context which is already freed.
14359
14360 2005-12-15  Alexander Shopov  <ash@contact.bg>
14361
14362         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14363
14364 2005-12-14  Dan Williams  <dcbw@redhat.com>
14365
14366         * include/NetworkManager.h
14367           src/NetworkManagerWireless.c
14368                 - Rearrange 802.11 wireless-specific capabilities again
14369
14370         * src/Makefile.am
14371                 - Forgot to add wpa.c/wpa.h to the makefiles
14372
14373         * src/NetworkManagerAP.[ch]
14374                 - Implement access point capabilities and parse the
14375                         WPA/RSN IEs into the capability bitfield
14376                 - Switch the "encrypted" attribute to utilize the bitfield
14377                         and capabilities rather than being independent
14378
14379         * src/NetworkManagerDevice.c
14380                 - (nm_device_wireless_get_activation_ap): break it horribly
14381                         until we can push NMAPSecurity objects into access point
14382                         objects and through the activation chain
14383                 - Stuff WPA & RSN IEs into AP capabilities
14384
14385         * src/nm-dbus-nm.c
14386                 - Take a shot at actually making setActiveDevice work
14387
14388         * src/wpa.[ch]
14389                 - Make the API a bit saner
14390
14391 2005-12-14  Dan Williams  <dcbw@redhat.com>
14392
14393         * include/NetworkManager.h
14394                 - Add 802.11-specific capability for 802.1x key
14395                         management
14396
14397         * src/wpa.[ch]
14398                 - Pull in WPA IE and RSN IE parsing code from
14399                         wpa_supplicant so we can determine access point
14400                         capabilities
14401                 - Move WPA-related constants here from NetworkManagerAP.h
14402                         and NetworkManagerDevice.c
14403
14404         * src/NetworkManagerDevice.c
14405           src/NetworkManagerAP.[ch]
14406                 - Use WPA-related constants from wpa.h
14407
14408 2005-12-14  Dan Williams  <dcbw@redhat.com>
14409
14410         * include/NetworkManager.h
14411                 - Update and split 802.11 wireless-specific capabilities from
14412                         generic device capabilities
14413
14414         * src/NetworkManagerDevice.c
14415           src/NetworkManagerDevicePrivate.h
14416                 - (nm_device_wireless_discover_capabilities): Move 802.11
14417                         wireless-specific capability checks to
14418                         NetworkManagerWireless.c
14419                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14420                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14421
14422         * src/NetworkManagerWireless.[ch]
14423                 - (nm_802_11_wireless_discover_capabilities): Check extended
14424                         802.11 wireless-specific capabilities of the driver
14425
14426 2005-12-14  Robert Love  <rml@novell.com>
14427
14428         Patch from Stefan Scheler <sscheler@suse.de>:
14429         * src/NetworkManagerDevice.c: call backend code to activate and
14430           deactivate NIS.
14431         * src/NetworkManagerSystem.h: add new NIS interfaces.
14432         * src/backends/NetworkManagerDebian.c,
14433           src/backends/NetworkManagerGentoo.c,
14434           src/backends/NetworkManagerRedHat.c,
14435           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14436           support.
14437         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14438
14439 2005-12-14  Dan Williams  <dcbw@redhat.com>
14440
14441         * src/nm-ap-security*.[ch]
14442                 - Add AP security abstractions to NetworkManager
14443
14444         * src/nm-dbus-device.c
14445                 - Begin to parse new format dbus messages from the applet
14446                         and construct an AP security object from the message
14447
14448         * libnm-util/dbus-helpers.c
14449                 - Use message iters so we can append the key as a fixed
14450                         array of bytes, which actually works rather than
14451                         using dbus_message_append_args() as we were before
14452
14453 2005-12-14  Dan Williams  <dcbw@redhat.com>
14454
14455         * src/NetworkManagerDbus.c
14456           gnome/applet/applet-dbus.c
14457                 - Fix up dbus service replacement options.  The applet
14458                         should allow replacement, NM itself should not.
14459
14460 2005-12-13  Robert Love  <rml@novell.com>
14461
14462         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14463           Instead, fail silently if config is NULL by not asserting and not
14464           returning FALSE.  Also, make sure we always fclose() the file.
14465
14466 2005-12-13  Robert Love  <rml@novell.com>
14467
14468         Patch by Stefan Scheler <sscheler@suse.de>:
14469         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14470            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14471            via DHCP.  Still need the backends to commit the NIS domain name and
14472            and servers to yp.conf as needed.
14473
14474 2005-12-13  Robert Love  <rml@novell.com>
14475
14476         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14477           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14478
14479 2005-12-13  Robert Love  <rml@novell.com>
14480
14481         * src/named-manager/nm-named-manager.c: Don't unref the config until
14482           after we call rewrite_resolv_conf(), because get_last_default_domain()
14483           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14484           `config != NULL' failed" assertion failures and "Could not commit DNS
14485           changes" warnings.
14486
14487 2005-12-12  Dan Williams  <dcbw@redhat.com>
14488
14489         * libnm-util/dbus-helpers.[ch]
14490           libnm-util/Makefile.am
14491                 - new helper calls to consolidate locations where
14492                         NM's setDevice method is called
14493
14494         * gnome/applet/applet-dbus-devices.c
14495           gnome/applet/wireless-security-option.c
14496           gnome/applet/wso-*
14497                 - Implement dbus message param append function for
14498                         all wireless security options
14499
14500 2005-12-12  Robert Love  <rml@novell.com>
14501
14502         * libnm-util/cipher-wep-passphrase.c,
14503           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14504           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14505           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14506           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14507           When handling keys, we don't care what the sign is.  The compiler
14508           guarantees us that we get our 8-bits, which is all we care about.
14509         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14510
14511 2005-12-12  Dan Williams  <dcbw@redhat.com>
14512
14513         * gnome/applet/applet-dbus-devices.[ch]
14514           gnome/applet/applet.c
14515           gnome/applet/other-network-dialog.c
14516           gnome/applet/wireless-security-manager.[ch]
14517           gnome/applet/wireless-security-option.[ch]
14518           gnome/applet/wso-*
14519                 - Push the wireless security options further into the applet
14520
14521 2005-12-12  Robert Love  <rml@novell.com>
14522
14523         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14524           return any name servers.  That is perfectly valid.  (Novell #134369).
14525
14526 2005-12-11  Dan Williams  <dcbw@redhat.com>
14527
14528         * gnome/applet/wso-*
14529           gnome/applet/wireless-security-option.*
14530           gnome/applet/Makefile.am
14531                 - split each security option out so we can eventually
14532                         have each one build up their own dbus message
14533                         arguments to send to NM
14534
14535 2005-12-11  Dan Williams  <dcbw@redhat.com>
14536
14537         * Make validation of the key work correctly
14538
14539 2005-12-11  Dan Williams  <dcbw@redhat.com>
14540
14541         * Hook more bits of the Other Network Dialog up to the
14542                 wireless security manager stuff, and restructure
14543                 bits of the dialog so there's less code.
14544
14545 2005-12-10  Dan Williams  <dcbw@redhat.com>
14546
14547         * gnome/applet/Makefile.am
14548                 - Add libnm-util to includes
14549                 - Add libnm-util to link list
14550                 - Add wireless-security-common.* to compile list
14551
14552         * gnome/applet/other-network-dialog.c
14553                 - Convert to using the WirelessSecurityManager code and
14554                         widgets
14555
14556         * gnome/applet/passphrase-dialog.c
14557                 - Comment out references to stuff in the glade file that
14558                         cause runtime errors until it can be fixed up
14559                         to use the WirelessSecurityManager code
14560
14561         * gnome/applet/wireless-applet.glade
14562                 - Rename some widgets
14563                 - Add widgets for the WirelessSecurityManager code
14564                 - Remove passphrase-related stuff since that's now
14565                         handled by the WirelessSecurityManager code
14566
14567 2005-12-10  Dan Williams  <dcbw@redhat.com>
14568
14569         * gnome/applet/applet-dbus-devices.c
14570                 - Print out error message details for dbus pending call callbacks
14571                 - Move nmwa_dbus_update_devices() up
14572
14573         * gnome/applet/applet-dbus-vpn.c
14574                 - Print out error message details for dbus pending call callbacks
14575
14576 2005-12-10  Dan Williams  <dcbw@redhat.com>
14577
14578         * libnm-util/*
14579                 - More fixups
14580                 - Remove cipher-manager.* because we don't need it
14581                 - Forgot to add gnome-keyring-md5 files to compile list
14582
14583 2005-12-09  Dan Williams  <dcbw@redhat.com>
14584
14585         * libnm-util/*
14586           configure.in
14587           Makefile.am
14588                 - Add a utility library for clients of NetworkManager.  It's
14589                         only targetted at applets for the moment, and contains
14590                         a generalized 802.11 cipher framework for different
14591                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14592
14593 2005-12-09  Robert Love  <rml@novell.com>
14594
14595         * src/NetworkManagerDevice.c: handle error better in
14596           nm_device_set_mode().
14597
14598 2005-12-08  Robert Love  <rml@novell.com>
14599
14600         * include/NetworkManager.h: add WPA capabilities constants
14601         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14602           or WPA2 and add the capabilities bits as appropriate.
14603
14604 2005-12-08  Robert Love  <rml@novell.com>
14605
14606         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14607           NetworkManagerDispatcher.
14608         * configure.in, initscript/SUSE/.cvsignore,
14609           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14610           initscript.
14611
14612 2005-12-08  Robert Love  <rml@novell.com>
14613
14614         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14615
14616 2005-12-08  Robert Love  <rml@novell.com>
14617
14618         * src/NetworkManagerDevice.c: We want to fall back on and default to
14619           IW_MODE_AUTO, not -1, which is more in line with our previous
14620           behavior.  Otherwise, we try to set the wireless mode to -1 in
14621           nm_device_set_mode().
14622
14623 2005-12-07  Robert Love  <rml@novell.com>
14624
14625         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14626           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14627           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14628           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14629           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14630           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14631           zero.
14632
14633 2005-12-07  Robert Love  <rml@novell.com>
14634
14635         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14636           supplied IP is invalid, fall back to DHCP.
14637
14638 2005-12-07  Dan Williams  <dcbw@redhat.com>
14639
14640         * Convert NETWORK_MODE_* constants to IW_MODE_*
14641         * Make all the get_mode/set_mode functions take and return 'int'
14642         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14643
14644 2005-12-07  Robert Love  <rml@novell.com>
14645
14646         * src/NetworkManagerDevice.c: strncpy() buffer check.
14647         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14648
14649 2005-12-06  Dan Williams  <dcbw@redhat.com>
14650
14651         * gnome/applet/applet-dbus.c
14652                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14653
14654         * gnome/applet/applet-dbus-vpn.c
14655                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14656                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14657                         to TRUE here if stage was ACTIVATED
14658
14659 2005-12-06  Dan Williams  <dcbw@redhat.com>
14660
14661         * Change nm_device_is_* functions to better names:
14662                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14663                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14664
14665 2005-12-06  Dan Williams  <dcbw@redhat.com>
14666
14667         * Change naming of NMDeviceType to something more sensible:
14668                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14669                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14670                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14671
14672 2005-12-06  Dan Williams  <dcbw@redhat.com>
14673
14674         * Move NetworkManager.h -> include/NetworkManager.h
14675         * Split out VPN stuff into include/NetworkManagerVPN.h
14676         * Fix up makefiles to include new location
14677         * Fix up sources to include NetworkManagerVPN.h
14678
14679 2005-12-06  Dan Williams  <dcbw@redhat.com>
14680
14681         Various changes in the applet to move VPN connection "state" -> "stage",
14682         which it actually is.  I'd like to change the signal as well when we
14683         break compat in the near future.
14684
14685 2005-12-06  Dan Williams  <dcbw@redhat.com>
14686
14687         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14688         * initscript/Slackware/rc.networkmanager
14689                 - Cosmetic fix
14690
14691         * src/backends/NetworkManagerSlackware.c
14692                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14693                         interfaces
14694
14695 2005-12-05  Robert Love  <rml@novell.com>
14696
14697         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14698           to free, particularly here as it just barfs.
14699
14700 2005-12-05  Dan Williams  <dcbw@redhat.com>
14701
14702         * gnome/applet/applet-dbus.c
14703                 - Work with dbus 0.6 too
14704
14705 2005-12-03  Dan Williams  <dcbw@redhat.com>
14706
14707         * src/NetworkManagerUtils.[ch]
14708           src/nm-ip4-config.c
14709                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14710                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14711
14712 2005-12-01  Robert Love  <rml@novell.com>
14713
14714         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14715           need a NULL for the '...' parameter, too, to fill the so-called
14716           sentinel.
14717
14718 2005-12-01  Robert Love  <rml@novell.com>
14719
14720         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14721           interface is already gone, so don't call rtnl_link_change() to down
14722           it (which will segfault, anyhow).
14723
14724 2005-11-22  Robert Love  <rml@novell.com>
14725
14726         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14727           gateway is not set, just print a little note.  Configurations without
14728           gateways are valid.
14729
14730 2005-11-22  Robert Love  <rml@novell.com>
14731
14732         * README: update
14733
14734 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14735
14736         * configure.in: Added Finnish translation to ALL_LINGUAS
14737
14738 2005-11-14  Robert Love  <rml@novell.com>
14739
14740         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14741           Niemueller <tim@niemueller.de>.
14742
14743 2005-11-08  Dan Williams  <dcbw@redhat.com>
14744
14745         Patch from Bill Moss <bmoss@clemson.edu>
14746         * src/NetworkManagerDevice.c
14747                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14748                         of nm_policy_schedule_activation_finish() to prevent a
14749                         race condition that causes the link to be dropped
14750
14751 2005-11-08  Dan Williams  <dcbw@redhat.com>
14752
14753         Patch from Bill Moss <bmoss@clemson.edu>
14754         * src/NetworkManagerAPList.c
14755           src/NetworkManagerDevice.c
14756           src/NetworkManagerDbus.c
14757                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14758                         we get more readable ether/mac addresses
14759
14760 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14761
14762         * gnome/applet/main.c: Don't set the restart command.  This fixes
14763         the issue where the restart command was getting copies of all its
14764         arguments for each time the applet was restarted.
14765
14766 2005-11-02  Robert Love  <rml@novell.com>
14767
14768         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14769           if the widget state differs from our saved state.  This ensures we
14770           do not enter an endless loop of death and destruction.  Also, this
14771           guarantees us that we enforce the widget state.
14772
14773 2005-11-02  Robert Love  <rml@novell.com>
14774
14775         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14776         * gnome/applet/applet-dbus-devices.c: invoke the new function
14777           nmwa_enable_wireless_set_active() to ensure that the state of the
14778           'Enable Wireless' checkbox matches the daemon's state.  This is a
14779           concern because the daemon remembers the state.
14780
14781 2005-11-02  Robert Love  <rml@novell.com>
14782
14783         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14784           Enabled", as checkboxes should be actions/commands not positive
14785           statements, otherwise they are confusing in the unselected case.  See
14786           examples in GNOME HIG, Chapter 6.
14787
14788 2005-11-02  Robert Love  <rml@novell.com>
14789
14790         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14791           show a list of wireless networks or the wireless devices or the
14792           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14793           a bad bug: If wireless is disabled and the user picks a wireless
14794           network, NM will switch to the network, only to immediately switch
14795           back, as wireless is disabled.  This also reassures people that NM
14796           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14797
14798 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14799
14800         * gnome/applet/applet.c:
14801         * gnome/applet/applet.h:
14802         Partial backout of Dan's timeout animation patch.
14803         Timeout IDs cannot legally be 0, so revert the code in place to handle
14804         a timeout ID of 0 to denote the timeout isn't running.
14805
14806 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14807
14808         * src/NetworkManagerPolicy.c:
14809         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14810
14811 2005-10-28  Robert Love  <rml@novell.com>
14812
14813         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14814           "Import Saved Configuration..." to make it clear that importing is
14815           not the next step, but an option.  As an aside, a nice TODO would be
14816           to move Importing out of the vpn-specific dialog and into the main
14817           property editor, as Importing goes with Adding, but that will require
14818           some rearchitecting of the VPN stuff I suspect.
14819
14820 2005-10-27  Dan Williams  <dcbw@redhat.com>
14821
14822         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14823         we should replace most of the distro-specific backend code
14824         with libnl stuff.
14825
14826         Get it here:  http://people.suug.ch/~tgr/libnl/
14827
14828         * configure.in
14829           src/Makefile.am
14830                 - Add checks for libnl pkgconfig file
14831                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14832
14833         * src/NetworkManagerSystem.c
14834           src/nm-ip4-config.[ch]
14835                 - Use libnl rather than ioctl() for most things
14836                 - Remove unused functions
14837
14838 2005-10-27  Robert Love  <rml@novell.com>
14839
14840         * src/backends/NetworkManagerSuSE.c: fix warning message text
14841
14842 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14843
14844         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14845
14846 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14847
14848         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14849         project page <http://www.gnome.org/projects/NetworkManager/>
14850
14851 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14852
14853         * gnome/applet.c: Also use translator credits if we don't have
14854         the new GtkAboutDialog (older versions of GTK+)
14855
14856 2005-10-26  Robert Love  <rml@novell.com>
14857
14858         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14859           failure; correct usage text for "--no-daemon"
14860
14861 2005-10-25  Dan Williams  <dcbw@redhat.com>
14862
14863         * src/NetworkManagerDevice.c
14864                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14865                         no scan results
14866                 - (free_process_scan_cb_data): unref the device when freeing results
14867                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14868                         so we don't unref the device underneath ourselves
14869
14870 2005-10-25  Dan Williams  <dcbw@redhat.com>
14871
14872         * Back out 2005-10-24 commit from Tor Krill.  Patch
14873                 causes nameservers never to be removed from named.
14874
14875 2005-10-24  Dan Williams  <dcbw@redhat.com>
14876
14877         Clean up wireless scanning and wireless link probing.
14878
14879         * src/NetworkManagerDevice.c
14880                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14881                         just see if there's an activation request on the device, and check the
14882                         current link against the activation request access point's ESSID.
14883                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14884                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14885                         don't call process_scan_results() on zero-length data
14886                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14887                         15 seconds (from 10)
14888
14889 2005-10-24  Dan Williams  <dcbw@redhat.com>
14890
14891         Cleanup some applet stuff:
14892
14893         - Animation timeouts.  If NM died while the applet was animating,
14894                 the applet would not hide itself.  This is now fixed.
14895
14896         - Remove some dead code
14897
14898         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14899                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14900
14901         - Track animation timeout using a gboolean rather than the timeout's
14902                 ID, since timeout IDs can legally be 0.
14903
14904 2005-10-24  Dan Williams  <dcbw@redhat.com>
14905
14906         * src/backends/interface_parser.c
14907                 - Add void to function declarations that need it
14908                         to match patch from Engin AYDOGAN
14909
14910         * src/backends/interface_parser.h
14911                 - Remove unused prototype for ifparser_interfaces()
14912
14913         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14914         * src/backends/interface_parser.h:
14915                 - Compile fixes for gcc 4.0.2 (add void)
14916
14917 2005-10-24  Dan Williams  <dcbw@redhat.com>
14918
14919         Patch from Tor Krill <tor@krill.nu>
14920         * src/named-manager/nm-named-manager.c
14921                 - Write more than just the first nameserver to /etc/resolv.conf
14922                 - Write out valid /etc/resolv.conf on exit
14923
14924 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14925
14926         * gnome/applet/applet-dbus-vpn.c:
14927         Get rid of spurious newlines in debug console output
14928
14929 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14930
14931         * src/backends/NetworkManagerGentoo.c:
14932         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14933
14934 2005-10-20  Robert Love  <rml@novell.com>
14935
14936         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14937           direct comparison of floating point values, which is never correct.
14938           Also some misc. cleanup.
14939
14940 2005-10-19  Robert Love  <rml@novell.com>
14941
14942         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14943
14944 2005-10-19  Robert Love  <rml@novell.com>
14945
14946         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14947           sensitivity of the buttons.  Specificaly, do the right thing if
14948           there are no entries.
14949
14950 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14951
14952         * configure.in: Update check for adequate wireless-tools
14953         with an AC_TRY_COMPILE for the new symbols we use.
14954
14955 2005-10-19  Dan Williams  <dcbw@redhat.com>
14956
14957         * src/NetworkManagerDevice.c
14958                 - (process_scan_results): don't drop the last (or only)
14959                         access point we see
14960
14961 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14962
14963         * src/backends/NetworkManagerSlackware.c:
14964         Patch from Nico <lordllucifer@gmail.com>
14965                 - Update the Slackware backend.
14966
14967 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14968
14969         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14970         if we've got GLib 2.8.0
14971
14972 2005-10-18  Robert Love  <rml@novell.com>
14973
14974         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14975           function nm_schedule_state_change_signal_broadcast() when we
14976           deactivate a device, too.
14977
14978 2005-10-18  Robert Love  <rml@novell.com>
14979
14980         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14981           be used uninitialized.
14982
14983 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14984
14985         * test/libnm_glib_test.c: Test unregistering, too.
14986
14987 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14988
14989         * configure.in: Bump to 0.5.0
14990
14991 2005-10-17  Dan Williams  <dcbw@redhat.com>
14992
14993         * NetworkManager.h
14994                 - Remove WPA-related constants so they aren't part of the
14995                         upcoming release.
14996
14997 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14998
14999         * gnome/applet/applet.c:
15000         * gnome/applet/applet.h:
15001         Desensitize the 'Connection Information' menu item when there is
15002         no active connection.
15003
15004 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15005
15006         * gnome/libnm_glib/libnm_glib.c:
15007         Make libnm_glib_unregister_callback () actually unregister the callback
15008
15009 2005-10-17  Robert Love  <rml@novell.com>
15010
15011         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15012           two seconds -- tries is updated every 1/10 of a second, not every
15013           second..
15014
15015 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15016
15017         * gnome/applet/applet-dbus-info.c:
15018         Let D-BUS know that we haven't handled a message when we haven't.
15019
15020 2005-10-17  Robert Love  <rml@novell.com>
15021
15022         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15023           in order to remain 64-bit clean.
15024
15025 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15026
15027         * gnome/applet/applet-dbus-info.c:
15028         Find network encryption keys asynchronously
15029
15030 2005-10-17  Robert Love  <rml@novell.com>
15031
15032         * src/backends/NetworkManagerDebian.c,
15033           src/backends/NetworkManagerRedHat,
15034           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15035           comment delimiter.
15036
15037 2005-10-17  Robert Love  <rml@novell.com>
15038
15039         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15040           "/etc"
15041
15042 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15043
15044         * src/NetworkManagerDevice.c: (process_scan_results)
15045         Fix logic that checks to see whether we have an ESSID.
15046
15047 2005-10-15  Dan Williams  <dcbw@redhat.com>
15048
15049         Move scanning code into NetworkManager rather than use iwlib's
15050         iw_scan() function, so that we can figure out AP capabilities.
15051
15052         * NetworkManager.h
15053                 - Add AP capability bits
15054
15055         * src/NetworkManagerAP.[ch]
15056                 - Add capability field to NMAccessPoint structure
15057                 - Add WPA & RSN Information Element fields and accessor
15058                         functions to NMAccessPoint
15059
15060         * src/NetworkManagerDevice.c
15061                 - Remove usage of iw_scan
15062                 - Add scanning code to NetworkManager rather than use
15063                         iw_scan() from iwlib
15064
15065         * src/NetworkManagerUtils.[ch]
15066                 - (nm_dispose_scan_results): remove, unused
15067
15068 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15069
15070         * gnome/libnm_glib/libnm_glib.c:
15071         * gnome/libnm_glib/libnm_glib.h:
15072         Use guint instead of gint for callback IDs.
15073
15074 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15075
15076         * gnome/applet/applet.c:
15077         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15078         every 1000ms.  It will unconditionally call nmwa_update_state which
15079         kills the existing animation timeout and registers a new one with a
15080         callback to draw a new frame every 100ms.  There are 11 connecting
15081         icon frames, so the last 2 frames kept getting dropped.  Only reset
15082         the animation timeout if we aren't animating.
15083
15084 2005-10-11  Dan Williams  <dcbw@redhat.com>
15085
15086         * gnome/applet/applet-dbus-devices.c
15087                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15088                         We want to grab the product & vendor from net.physical_dev
15089                         rather than info.parent.
15090
15091 2005-10-11  Dan Williams  <dcbw@redhat.com>
15092
15093         * src/NetworkManagerDevice.c
15094                 - Use the driver's WE version for scanning rather than
15095                         the WE version NM was compiled with.  Fixes random
15096                         crashes in iw_scan () in iwlib.
15097
15098 2005-10-10  Dan Williams  <dcbw@redhat.com>
15099
15100         * Remove nm_system_load_device_modules() from backend files
15101                 and from NetworkManager.c
15102
15103 2005-10-10  Dan Williams  <dcbw@redhat.com>
15104
15105         * src/NetworkManagerPolicy.c
15106                 - Fix some bugs introduced by the capabilities patch
15107
15108 2005-10-10  Dan Williams  <dcbw@redhat.com>
15109
15110         * gnome/applet/applet-dbus-info.c
15111                 - (nmi_dbus_get_network_key): hide the menu when putting up
15112                         the keyring dialog.  (not sure if the code is right...)
15113
15114 2005-10-09  Dan Williams  <dcbw@redhat.com>
15115
15116         Patch from Bill Moss <bmoss@clemson.edu>
15117         * src/NetworkManagerDevice.c
15118                 - (nm_device_set_user_key_for_network): don't try to set auth
15119                         mode on the AP from the allowed list if it's NULL
15120
15121 2005-10-09  Dan Williams  <dcbw@redhat.com>
15122
15123         * Replace the "driver support level" stuff with capabilities.  The
15124                 capability field is a bitfield that is more flexible than the
15125                 old driver support level thing.  It's mostly so we can easily
15126                 figure out what supports WPA and what doesn't, but should be
15127                 quite useful later.
15128
15129 2005-10-09  Dan Williams  <dcbw@redhat.com>
15130
15131         * test/nmtest.c
15132                 - Removed
15133
15134         * test/nm-tool.c
15135           test/Makefile.am
15136                 - Added new "nm-tool" tool that gives quite a bit more
15137                         information
15138
15139 2005-10-07  Robert Love  <rml@novell.com>
15140
15141         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15142           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15143           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15144           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15145           appropriate
15146
15147 2005-10-07  Robert Love  <rml@novell.com>
15148
15149         * configure.in: Change our compile flags for the betterment of mankind.
15150           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15151           prototype is very bad on 64-bit platforms as types default to int but
15152           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15153           "-Wmissing-declarations" to warn if we define an exported function
15154           but fail to put it in a header.
15155
15156 2005-10-07  Robert Love  <rml@novell.com>
15157
15158         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15159           by the name nm_update_device_wireless_timeouts() and once tried,
15160           without success, to steal my pet turtle.
15161
15162 2005-10-07  Robert Love  <rml@novell.com>
15163
15164         * Cleanup prototypes: put some functions in header files and mark
15165           others as 'static' -- feel free to invert
15166         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15167           nm_vpn_manager_vpn_connection_list_copy()
15168         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15169           nm_vpn_service_get_dbus_connection()
15170         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15171           nm_vpn_manager_vpn_connection_list_copy()
15172         * src/vpn-manager/nm-vpn-service.c: make
15173           nm_vpn_service_act_request_failed() and
15174           nm_vpn_service_stage2_daemon_wait() static
15175         * src/vpn-manager/nm-vpn-service.h: add prototype for
15176           nm_vpn_service_get_dbus_connection()
15177
15178 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15179
15180         * gnome/applet/applet.c:
15181         * gnome/applet/applet.h:
15182         * gnome/applet/icons/Makefile.am:
15183         Convey information about the current connection stage in the
15184         icons themselves instead of creating a separate progress bar.
15185
15186 2005-10-04  Robert Love  <rml@novell.com>
15187
15188         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15189           convert an ether_addr structure's MAC into a string, because the
15190           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15191           versus 07:3B:04, while the former will not.
15192
15193 2005-10-04  Robert Love  <rml@novell.com>
15194
15195         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15196           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15197           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15198           default route in the 'Connection Information' dialog, send primary
15199           and secondary name servers in in "getProperties" DBUS method, add
15200           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15201           secondary domain name servers are crucial pieces of information
15202           that a user might need in debugging a network problem.
15203
15204 2005-10-04  Robert Love  <rml@novell.com>
15205
15206         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15207           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15208           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15209           default route in the 'Connection Information' dialog, send default
15210           route in "getProperties" DBUS method, add network_device_set_route(),
15211           and network_device_get_route().  The Gateway is a crucial piece of
15212           connection-related information that a user might need in debugging a
15213           network problem.
15214
15215 2005-10-03  Robert Love  <rml@novell.com>
15216
15217         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15218           NULL.
15219
15220 2005-10-02  Dan Williams  <dcbw@redhat.com>
15221
15222         * Shorten time taken to sleep by fastpathing bits of device deactivation
15223                 necessary for sleep.
15224
15225         * Fix issue where deactivating a device might deactivate the active
15226                 VPN connection, even if the VPN was not using the device.
15227
15228 2005-10-02  Dan Williams  <dcbw@redhat.com>
15229
15230         * gnome/applet/applet.c
15231                 - Adjust signal strength -> icon mapping values slightly
15232                         (so that 51% signal doesn't show a 75% icon) by adding
15233                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15234                         shows 50% icon, etc.
15235
15236 2005-09-29  Robert Love  <rml@novell.com>
15237
15238         * src/NetworkManager.c: removed unused variable.
15239
15240 2005-09-28  Dan Williams  <dcbw@redhat.com>
15241
15242         Support for named + DBus, using Red Hat DBus patches for named.  You
15243         can find those patches here, with "dbus" in the patch's filename:
15244
15245                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15246
15247         Don't forget the named dbus service file either.
15248
15249         Instead of writing a config file and spawing a named process, NM will
15250         use an already-running dbus-enabled named if it finds one.  NM will
15251         update named's forwarder configuration on the fly using dbus.
15252
15253         If there is no dbus-enabled named running, NM will automatically fall
15254         back to writing the most-recent DNS server information to /etc/resolv.conf
15255         and calling nm_system_update_dns() to kick the system's resolver.
15256
15257         Accordingly, all named-related configure-time options have been removed.
15258
15259 2005-09-26  Robert Love  <rml@novell.com>
15260
15261         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15262           ISDN support!
15263         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15264           bug in error path if "ASKPASSWORD" is "no".
15265
15266 2005-09-26  Robert Love  <rml@novell.com>
15267
15268         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15269           comment in /etc/resolv.conf -- ';' is not.
15270
15271 2005-09-19  Dan Williams  <dcbw@redhat.com>
15272
15273         * src/backends/NetworkManagerRedHat.c:
15274         * src/backends/NetworkManagerDebian.c:
15275         * src/backends/NetworkManagerSlackware.c:
15276         * src/backends/NetworkManagerGentoo.c:
15277         * src/backends/NetworkManagerSUSE.c:
15278         Fix invocations of "/sbin/ip address" to use short form instead
15279
15280 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15281
15282         * src/nm-dbus-device.c: Don't assert when getting
15283         addresses of a not yet connected interface.
15284
15285         * gnome/applet/applet.c: Free icons if loading fails.
15286         Use translator-credits so translators can make themselves known.
15287
15288 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15289
15290         * src/NetworkManagerAP.c:
15291         * src/NetworkManagerAP.h:
15292         * src/NetworkManagerDevice.c:
15293         Set a blacklist for certain common manufacturer default ESSIDs:
15294         APs with these ESSIDs are extremely likely to be completely
15295         different networks: connecting to one should not make NM
15296         auto-connect to every other AP with the same default ESSID.
15297
15298 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15299
15300         * gnome/applet/wireless-applet.glade:
15301         The passphrase entry should also activate the default
15302
15303         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15304
15305         * gnome/applet/applet-dbus-devices.c:
15306         * gnome/applet/applet.c:
15307         * gnome/applet/nm-device.c:
15308         * gnome/applet/nm-device.h:
15309         * src/NetworkManagerUtils.c:
15310         * src/NetworkManagerUtils.h:
15311         * src/nm-dbus-device.c:
15312         I've got a fever, and the only cure for it is less ioctl.
15313         Make NM push IP data rather than make the applet open a socket
15314         to the device.
15315
15316 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15317
15318         * gnome/applet/applet.c:
15319         * gnome/applet/applet-dbus-devices.c:
15320         * gnome/applet/applet-dbus-info.c:
15321         * gnome/applet/passphrase-dialog.c:
15322         * gnome/libnm_glib/libnm_glib.c:
15323         * gnome/vpn-properties/nm-vpn-properties.c:
15324         * src/autoip.c:
15325         * src/backends/NetworkManagerRedHat.c:
15326         * src/named-manager/nm-named-manager.c:
15327         * src/NetworkManagerAPList.c:
15328         * src/NetworkManager.c:
15329         * src/NetworkManagerDbus.c:
15330         * src/NetworkManagerDevice.c:
15331         * src/NetworkManagerPolicy.c:
15332         * src/NetworkManagerSystem.c:
15333         * src/nm-dbus-device.c:
15334         * src/nm-dbus-nm.c:
15335         * src/vpn-manager/nm-vpn-manager.c:
15336         * src/vpn-manager/nm-vpn-service.c:
15337         * test/libnm_glib_test.c:
15338         * test/nminfotest.c:
15339         * test/nmtestdevices.c:
15340         Fix a bunch of 'unused variable' compiler warnings
15341
15342         * NetworkManager.h:
15343         * gnome/applet/applet-dbus-info.c:
15344         * gnome/applet/applet-dbus-info.h:
15345         * gnome/applet/applet.c:
15346         * gnome/applet/applet.h:
15347         * src/NetworkManager.c:
15348         * src/NetworkManagerDbus.c:
15349         * src/NetworkManagerDbus.h:
15350         * src/NetworkManagerDevice.c:
15351         * src/NetworkManagerDevice.h:
15352         * src/NetworkManagerMain.h:
15353         * src/NetworkManagerWireless.c:
15354         * src/NetworkManagerWireless.h:
15355         * src/nm-dbus-nm.c:
15356         Make NetworkManager be smart about how frequently to scan
15357         based on its current state.  Remove the UI for choosing when
15358         to scan.  Scanning still may disabled completely by the user
15359         via the "Wireless Enabled" menu item.
15360
15361 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15362
15363         * gnome/applet/applet.c:
15364         Also overlay the vpn connecting icons onto the wired icon,
15365         when appropriate.
15366
15367         * gnome/vpn-properties/nm-vpn-properties.glade:
15368         Clean up a few strings to use better grammar and proper casing.
15369
15370 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15371
15372         * gnome/applet/vpn-connection.c:
15373         * gnome/applet/vpn-connection.h:
15374         Add nmwa_vpn_connection_is_activating ()
15375
15376         * gnome/applet/applet.c:
15377         * gnome/applet/applet.h:
15378         * gnome/applet/icons/nm-vpn-connecting*.png:
15379         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15380         the user know something's happening between clicking the VPN item and it
15381         actually being connected.
15382
15383 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15384
15385         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15386         failure case as well.
15387
15388 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15389
15390         * gnome/panel/eggtrayicon.[ch]:
15391         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15392
15393 2005-09-07  Dan Williams  <dcbw@redhat.com>
15394
15395         Patch from Bill Moss <bmoss@clemson.edu>
15396         * src/applet-dbus.c
15397                 - (nmwa_dbus_filter): strip whitespace from beginning
15398                         and end of VPN login banner
15399
15400 2005-09-07  Dan Williams  <dcbw@redhat.com>
15401
15402         * The great VPN Manager rewrite of 2005
15403
15404 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15405
15406         * gnome/applet/menu-items.c:
15407         * gnome/applet/nm-device.c:
15408         * gnome/applet/wireless-network.c:
15409         * gnome/libnm_glib/libnm_glib.c:
15410         * src/NetworkManagerDbusUtils.c:
15411         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15412         g_malloc0 doesn't return NULL
15413
15414 2005-09-06  Dan Williams  <dcbw@redhat.com>
15415
15416         Patch from Tomislav Vujec <tvujec@redhat.com>
15417         * src/NetworkManagerDevice.c
15418                 - (nm_get_device_by_udi): don't return a device when we
15419                         actually didn't find what we were looking for
15420
15421 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15422
15423         * gnome/applet/applet-dbus-devices.c:
15424         * gnome/applet/applet-dbus-devices.h:
15425         * gnome/applet/applet-dbus.c:
15426         * src/NetworkManagerDbus.c:
15427         * src/NetworkManagerDbus.h:
15428         * src/NetworkManagerDevice.c:
15429         * src/nm-dbus-device.c:
15430         Make NM push updates about active device strength when it changes,
15431         rather than having the applet poll every 2s.
15432
15433 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15434
15435         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15436         network_device_set_strength
15437
15438 2005-09-04  Dan Williams  <dcbw@redhat.com>
15439
15440         Patch from Bill Nottingham <notting@redhat.com>
15441         * src/NetworkManagerDevice.c
15442                 - (nm_device_activation_cancel): reset the quit_activation flag
15443
15444 2005-09-04  Dan Williams  <dcbw@redhat.com>
15445
15446         * src/nm-activation-request.c
15447                 - (nm_act_request_unref): actually free the structure,
15448                         which we didn't seem to be doing before
15449
15450 2005-09-04  Dan Williams  <dcbw@redhat.com>
15451
15452         Patch from John Palmieri <johnp@redhat.com>
15453         * gnome/applet/applet-dbus-devices.c
15454                 - Fix up unreffing of DBusMessage objects
15455
15456 2005-09-04  Dan Williams  <dcbw@redhat.com>
15457
15458         Patch from John Palmieri <johnp@redhat.com>
15459         * gnome/applet/nm-device.c
15460                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15461
15462 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15463
15464         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15465
15466 2005-09-02  Bill Nottingham  <notting@redhat.com>
15467
15468         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15469
15470 2005-09-01  Dan Williams  <dcbw@redhat.com>
15471
15472         * src/NetworkManager.c
15473                 - (nm_remove_device_from_list): rename to nm_remove_device
15474                 - (nm_hal_device_removed): call nm_remove_device()
15475
15476         * src/NetworkManagerDevice.c
15477                 - Change the NMWirelessScanCB member 'reschedule' which
15478                         wasn't used to 'force' to indicate that we need to
15479                         force a scan when adding a device
15480
15481         * src/nm-dbus-nm.c
15482                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15483                         from the device list
15484                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15485
15486 2005-09-01  Robert Love  <rml@novell.com>
15487
15488         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15489           and the check "!iface" in the error case is probably never true.
15490
15491 2005-09-01  Dan Williams  <dcbw@redhat.com>
15492
15493         Patch from Bill Nottingham <notting@redhat.com>
15494         * src/backends/NetworkManagerRedHat.c
15495                 - Add initial dialup support to Red Hat/Fedora backend
15496
15497 2005-09-01  Dan Williams  <dcbw@redhat.com>
15498
15499         * gnome/applet/applet-dbus-devices.c
15500                 - Sort both wireless networks and devices again, which got
15501                         broken when removing threading
15502
15503 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15504
15505         * gnome/applet/applet.c:
15506         Only show the "Stop/Start All Wireless Devices" menuitem
15507         if we actually have wireless devices.
15508
15509         * gnome/applet/applet-dbus-info.c:
15510         * gnome/applet/applet.c:
15511         * gnome/applet/other-network-dialog.c:
15512         * gnome/applet/vpn-password-dialog.c:
15513         Drop the gtk_dialog_run () calls in favor of connecting to
15514         "response" signals, needed now that the applet is not threaded.
15515
15516 2005-08-31  Dan Williams  <dcbw@redhat.com>
15517
15518         Patch from Bill Moss <bmoss@clemson.edu>
15519         * src/NetworkManagerDevice.c
15520                 - (nm_device_wireless_scan): fix scan timeout values
15521
15522 2005-08-30  Dan Williams  <dcbw@redhat.com>
15523
15524         * gnome/applet/wireless-applet.glade
15525                 - HIG-ify the Other Wireless Networks dialog a bit more
15526                 - Fix some potential segfaults in the info dialog
15527
15528 2005-08-30  Dan Williams  <dcbw@redhat.com>
15529
15530         * gnome/applet/applet-dbus-devices.c
15531                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15532
15533 2005-08-30  Dan Williams  <dcbw@redhat.com>
15534
15535         * gnome/applet/applet-dbus.[ch]
15536                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15537                         they weren't being used anyway
15538
15539 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15540
15541         * test/nmtestdevices.c: (print_usage), (main):
15542         Check the number of arguments, and fix a typo
15543
15544 2005-08-29  Dan Williams  <dcbw@redhat.com>
15545
15546         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15547         * gnome/applet/applet.c
15548                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15549
15550 2005-08-29  Dan Williams  <dcbw@redhat.com>
15551
15552         * gnome/applet/*
15553                 - Don't use threads any more.  Anything that blocks
15554                         (like gtk_dialog_run()) will  have to get fixed up which
15555                         should happen quickly.  We really only had threads to make
15556                         the animation smooth, and when everything got converted over
15557                         to DBus Pending Calls, the need for threads kind of went away
15558
15559 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15560
15561         * gnome/applet/applet.c: Draw VPN connections as radio items
15562         since we don't yet support multiple VPNs.
15563         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15564         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15565
15566 2005-08-29  Dan Williams  <dcbw@redhat.com>
15567
15568         Patch from j@bootlab.org
15569         - Make --without-named work
15570         - Make --with-dhcdbd work correctly
15571
15572 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15573
15574         * configure.in: Added "ca" to ALL_LINGUAS.
15575
15576 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15577
15578         * Fix up VPN state handling between the applet and NetworkManager,
15579                 so that the applet doesn't show a VPN as connected when one
15580                 really is not
15581                         - The applet no longer has a pointer to the active VPN's
15582                                 name, but tracks each VPNs state individually
15583                         - NM no longer has a "getActiveVPNConnection" method
15584                         - NM no longer broadcasts the "VPNConnectionChange" signal
15585                         - NM now broadcasts a "VPNConnectionStateChange" signal
15586                                 whenever the state of a VPN changes
15587
15588 2005-08-26  Dan Williams <dcbw@redhat.com>
15589
15590         * gnome/applet/applet-dbus-devices.c
15591           gnome/applet/applet-dbus-vpn.c
15592                 - Remove calls to dbus_pending_call_ref() because we already
15593                         "own" the pending call
15594                 - Remove calls to dbus_pending_call_get_completed() because
15595                         when we are in the callback, the pending call is completed
15596                         by definition
15597
15598 2005-08-22  Dan Williams <dcbw@redhat.com>
15599
15600         Patch by Bill Moss <bmoss@clemson.edu>
15601         * src/dhcp-manager/nm-dhcp-manager.c
15602                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15603                         some time to send out a RELEASE if they like
15604
15605 2005-08-22  Dan Williams <dcbw@redhat.com>
15606
15607         Noticed by Bill Moss <bmoss@clemson.edu>
15608         * src/NetworkManagerDbus.c
15609                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15610                         instead of just cancelling its activation
15611
15612         * src/NetworkManagerDevice.c
15613                 - (nm_device_deactivate): some small cleanups
15614                 - (nm_device_set_user_key_for_network): deactivate the device
15615                         instead of just cancelling its activation
15616
15617 2005-08-22  Dan Williams <dcbw@redhat.com>
15618
15619         Noticed by Bill Moss <bmoss@clemson.edu>
15620         * src/NetworkManagerDevice.c
15621                 - (nm_device_wireless_scan): fix scan timeout, we were
15622                         waiting way too long for scans to complete
15623
15624 2005-08-22  Dan Williams <dcbw@redhat.com>
15625
15626         Patch from j@bootlab.org:
15627         * src/backends/NetworkManagerDebian.c
15628                 - Make the Debian backend work for static IP again
15629
15630 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15631
15632         * gnome/applet/other-network-dialog.c:
15633         The "Create New Network" and "Connect to Other Network"
15634         dialogs share alot of code, but shouldn't share a window
15635         title.  Give them different ones.
15636
15637         * gnome/applet/wireless-applet.glade:
15638         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15639         Some more minor UI tweaks.
15640
15641 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15642
15643         * gnome/applet/other-network-dialog.c:
15644         * gnome/applet/wireless-applet.glade:
15645         Also need mnemonic widgets, and underline enabled.
15646
15647 2005-08-19  Dan Williams <dcbw@redhat.com>
15648
15649         * vpn-daemons/vpnc/nm-vpnc-service.c
15650                 - (vpnc_watch_cb): remove no-longer-relevant comment
15651                 - (write_config_option): new function, helper to write
15652                         config options to vpnc's stdin
15653                 - (nm_vpnc_config_write): use the new helper, make the
15654                         code shorter
15655
15656 2005-08-19  Christopher Aillon <caillon@redhat.com>
15657
15658         * gnome/applet/passphrase-dialog.c:
15659         * gnome/applet/wireless-applet.glade:
15660         Make the passphrase dialog response based, and treat
15661         responses other than OK (such as Esc, [X]) as a cancel.
15662
15663 2005-08-18  Christopher Aillon <caillon@redhat.com>
15664
15665         * initscript/Gentoo/NetworkManager:
15666         * initscript/RedHat/NetworkManager:
15667         * initscript/RedHat/NetworkManagerDispatcher:
15668         * initscript/SUSE/networkmanager:
15669         CVS remove these in place of .in replacements
15670
15671         * configure.in:
15672         * initscript/Gentoo/NetworkManager.in:
15673         * initscript/RedHat/NetworkManager.in:
15674         * initscript/RedHat/NetworkManagerDispatcher.in:
15675         * initscript/SUSE/networkmanager.in:
15676         These scripts now are generated so they work still when
15677         NM is built using a bindir other than /usr/bin
15678
15679 2005-08-18  Dan Williams <dcbw@redhat.com>
15680
15681         * gnome/applet/main.c
15682                 - Revert previous change for --no-session since
15683                         --sm-disable does the same thing
15684
15685 2005-08-18  Dan Williams <dcbw@redhat.com>
15686
15687         * gnome/applet/applet-dbus-info.c
15688                 - (nmi_dbus_create_error_message): new function
15689                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15690                         functions.  Also don't check for both device _and_ network before
15691                         asking for a user's key, because we may not have gotten all our
15692                         networks back from NM quite yet (due to the dbus pending calls
15693                         coming in later).  Fixes a hang in NM/nm-applet.
15694
15695         * src/NetworkManagerDbus.c
15696                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15697                         slightly more sane manner, even though we are still broken for
15698                         certain other error conditions.
15699                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15700                         to the info-daemon too
15701
15702         * src/NetworkManagerDevice.c
15703                 - Fix some debug messages to be info messages instead
15704
15705 2005-08-18  Dan Williams <dcbw@redhat.com>
15706
15707         * gnome/applet/main.c
15708                 - Add new "--no-session" parameter that disables applet
15709                         session management, ie for testing
15710
15711 2005-08-18  Christopher Aillon <caillon@redhat.com>
15712
15713         * gnome/applet/other-network-dialog.c:
15714         * gnome/applet/wireless-applet.glade: More mnemonics
15715
15716 2005-08-17  Robert Love  <rml@novell.com>
15717
15718         * initscript/SUSE/networkmanager: update
15719
15720 2005-08-17  Dan Williams  <dcbw@redhat.com>
15721
15722         * Tag NM_0_4_1_RELEASE
15723
15724 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15725
15726         * gnome/applet/applet.c: More translatable string cleanup
15727
15728
15729 2005-08-17  Dan Williams  <dcbw@redhat.com>
15730
15731         * gnome/applet/applet-dbus-info.c
15732                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15733                         from the dbus message, which tells us to unconditionally
15734                         ask the user for a new key.  Otherwise, we pull the key from
15735                         the keyring and return it.  If we fail to get the key from the
15736                         keyring, we ask the user for a new key.
15737                 - (nmi_dbus_get_network_key): new function to grab the key for
15738                         an essid from the keyring.
15739                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15740                         Also, don't return any key in the dbus message.
15741
15742         * src/NetworkManagerDbus.[ch]
15743                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15744                         indicate that we unconditionally want a new key.  This function
15745                         is now also used to get keys from the info-daemon which are
15746                         pre-stored, not just for asking the user for a new key.  The
15747                         "new_key" parameter indicates whether or not we wish to ask the
15748                         user for a new key.
15749                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15750                         info-daemon in the return message, so use NULL instead.  The
15751                         key will be filled in at connect time by calling
15752                         nm_dbus_get_user_key_for_network()
15753
15754         * src/NetworkManagerDevice.c
15755                 - (nm_device_wireless_configure): update for "new_key" param to
15756                         nm_dbus_get_user_key_for_network().  We initially set new_key
15757                         to FALSE to see if we have a stored key in the info-daemon, but
15758                         if the connection is unsuccessful at this stage we request a
15759                         new one
15760
15761 2005-08-17  Dan Williams  <dcbw@redhat.com>
15762
15763         * gnome/applet/icons/nm-no-connection.png
15764           gnome/applet/icons/nm-device-wired.png
15765                 - Use Diana's new RJ45 connector icons
15766
15767 2005-08-17  Dan Williams  <dcbw@redhat.com>
15768
15769         * src/NetworkManagerPolicy.c
15770                 - (nm_policy_device_change_check): clarify switching rules if
15771                         both new and old devices are valid; mainly, don't switch
15772                         away from user-requested wireless connection back to a wired
15773                         one
15774
15775 2005-08-17  Dan Williams  <dcbw@redhat.com>
15776
15777         * gnome/applet/Makefile.am
15778                 - Relocate the applet to /usr/bin since it is no longer
15779                         executed by anything, but directly by the user
15780
15781 2005-08-17  Dan Williams  <dcbw@redhat.com>
15782
15783         Patch from Bill Moss <bmoss@clemson.edu>
15784
15785         * gnome/applet/applet-dbus-info.[ch]
15786                 - (nmi_save_network_info): save timestamp for network if it
15787                         was a change requested by the user
15788                 - (nmi_dbus_update_network_info): get user_requested from dbus
15789                         message and pass to nmi_save_network_info()
15790
15791         * gnome/applet/applet.c
15792                 - (nmwa_update_network_timestamp): remove
15793                 - (nmwa_menu_item_activate): don't set timestamp on networks
15794                         here, only after a successful connect in nmi_save_network_info()
15795
15796         * src/NetworkManagerDbus.[ch]
15797                 - (nm_dbus_update_network_info): pass user_requested into the 
15798                         dbus message
15799
15800         * src/NetworkManagerPolicy.c
15801                 - (nm_policy_activation_finish): pass user_requested to
15802                         nm_dbus_update_network_info()
15803
15804 2005-08-16  Robert Love  <rml@novell.com>
15805
15806         * gnome/applet/applet.c: Better "Dial Up" menu item.
15807
15808 2005-08-16  Robert Love  <rml@novell.com>
15809
15810         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15811           "Connection Information" menu item.
15812
15813 2005-08-16  Dan Williams  <dcbw@redhat.com>
15814
15815         Patch from j@bootlab.org
15816         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15817
15818         * configure.in: allow specifying the path to dhcdbd
15819
15820 2005-08-16  Robert Love  <rml@novell.com>
15821
15822         Patch from j@bootlab.org
15823         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15824           src/backends/interface_parser.h: Debian dialup support.
15825
15826 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15827
15828         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15829         * gnome/applet/applet.c: Add some mnemonics for VPNC
15830
15831         * vpn-daemons/.cvsignore: fix this up a little bit
15832
15833 2005-08-16  Robert Love  <rml@novell.com>
15834
15835         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15836           support.
15837
15838 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15839
15840         * gnome/applet/applet.c: Split markup out of translatable strings
15841         and clean up logic a little bit.  (fixes #309012)
15842
15843 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15844
15845         * gnome/vpn-properties/nm-vpn-properties.c:
15846         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15847         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15848         Makeshift fix to remove newlines from translatable strings.
15849         Note that we now return an allocated string, so callers of
15850         get_confirmation_details () must now call g_free () on the
15851         result. (fixes #309033).
15852
15853 2005-08-12  Robert Love  <rml@novell.com>
15854
15855         * gnome/applet/applet-dbus.c: remove newlines from translatable
15856           strings--not needed here anyway. (fix b.g.o #309011)
15857         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15858
15859 2005-08-11  Robert Love  <rml@novell.com>
15860
15861         * gnome/applet/applet.c: mark string as translatable.
15862
15863 2005-08-11  Robert Love  <rml@novell.com>
15864
15865         * initscript/SUSE/networkmanager: update.
15866
15867 2005-08-11  Dan Williams  <dcbw@redhat.com>
15868
15869         * src/nm-dhcp-manager.c
15870                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15871                         an gateway returned from DHCP, try to use the address of the DHCP
15872                         server as the gateway instead.  Found by Ralf Ertzinger.
15873
15874 2005-08-10  Robert Love  <rml@novell.com>
15875
15876         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15877           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15878
15879 2005-08-10  Dan Williams  <dcbw@redhat.com>
15880
15881         Patch from Bill Moss <bmoss@clemson.edu>
15882         * Consolidate writes of access point information updates to the info daemon
15883                 so that we only do it when the connection to the access point was
15884                 successful.  Also consolidates updates to GConf in the Gnome applet.
15885
15886         * src/nm-netlink-monitor.c
15887                 - Silence compile warning when calling g_object_new()
15888
15889 2005-08-08  Dan Williams  <dcbw@redhat.com>
15890
15891         Patch from Steev <steev@steev.net>:
15892         * src/backends/NetworkManagerGentoo.c
15893                 - Stub new dialup backend functions
15894
15895 2005-08-08  Dan Williams  <dcbw@redhat.com>
15896
15897         Patch from Colin Slater:
15898         * src/backends/NetworkManagerGentoo.c
15899                 - (nm_system_update_dns): Fix exit status check for restarting
15900                         nscd
15901
15902 2005-08-05  Robert Love  <rml@novell.com>
15903
15904         * NetworkManager.h,
15905           gnome/applet/applet-dbus-devices.c,
15906           gnome/applet/applet-dbus-devices.h,
15907           gnome/applet/applet-dbus.c,
15908           gnome/applet/applet.c,
15909           gnome/applet/applet.h,
15910           src/NetworkManager.c,
15911           src/NetworkManagerMain.h,
15912           src/NetworkManagerSystem.h,
15913           src/backends/NetworkManagerRedHat.c,
15914           src/backends/NetworkManagerSuSE.c,
15915           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15916
15917 2005-08-05  Robert Love  <rml@novell.com>
15918
15919         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15920           machine's hostname to make adhoc creation idiot-proof.
15921
15922 2005-08-04  Robert Love  <rml@novell.com>
15923
15924         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15925           freed.
15926
15927 2005-08-04  Dan Williams  <dcbw@redhat.com>
15928
15929         * gnome/applet/applet-dbus-info.c
15930           gnome/applet/applet-dbus-info.h
15931                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15932                         to store key, key type, and auth method rather than just auth method
15933                 - (nmi_dbus_update_network_info): new function
15934                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15935
15936         * gnome/applet/passphrase-dialog.c
15937                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15938                         of saving the info ourselves
15939
15940         * gnome/libnm_glib/libnm_glib.c
15941                 - Remove the stupid version check for dbus
15942
15943         * src/NetworkManagerAP.c
15944           src/NetworkManagerAP.h
15945                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15946
15947         * src/NetworkManagerDbus.c
15948           src/NetworkManagerDbus.h
15949                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15950                         more than just the auth method
15951
15952         * src/NetworkManagerDevice.c
15953                 - Update network info at the appropriate times
15954
15955 2005-07-29  Ray Strode  <rstrode@redhat.com>
15956
15957         * src/NetworkManager.c (nm_info_handler): don't use input as format
15958         string (Spotted by Ian Jackson).
15959
15960 2005-07-27  Dan Williams  <dcbw@redhat.com>
15961
15962         * src/nm-dbus-nm.c
15963           src/nm-dbus-net.c
15964                 - Random cleanups of spacing
15965
15966         * gnome/applet/applet.h
15967           gnome/applet/other-network-dialog.c
15968           gnome/applet/passphrase-dialog.c
15969                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15970
15971         Patch from Bill Moss:
15972                 - Make Other Wireless Networks work again with encryption keys
15973
15974 2005-07-26  Dan Williams  <dcbw@redhat.com>
15975
15976         Patch from Steev <steev@steev.net>:
15977         * src/backends/NetworkManagerGentoo.c
15978           src/backends/Makefile.am
15979                 - Fix up Gentoo backend
15980
15981 2005-07-26  Robert Love  <rml@novell.com>
15982
15983         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15984
15985 2005-07-25  Robert Love  <rml@novell.com>
15986
15987         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15988           in the same group as the wireless networks, since they are all
15989           mutually exclusive.
15990
15991 2005-07-24  Ray Strode  <rstrode@redhat.com>
15992
15993         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15994         remove unneeded NULL arg from g_object_new().  Any
15995         warnings caused by not having the extra NULL are just a
15996         result of a bug in glib 2.7.0 - 2.7.2.
15997
15998 2005-07-22  Robert Love  <rml@novell.com>
15999
16000         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16001
16002 2005-07-22  Robert Love  <rml@novell.com>
16003
16004         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16005           parameters (gcc 4.0.2 warning fix).
16006
16007 2005-07-18  Robert Love  <rml@novell.com>
16008
16009         Suggested by Aaron Bockover (abockover@novell.com)
16010         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16011           s/Ascii/ASCII
16012         * gnome/applet/passphrase-dialog.c: ditto
16013         * gnome/applet/wireless-applet.glade: ditto
16014
16015 2005-07-13  Dan Williams  <dcbw@redhat.com>
16016
16017         Patch from Ray Strode <halfline@gmail.com>
16018         * vpn-daemons/vpnc/nm-vpnc-service.c
16019                 - Don't let vpnc daemonize, fixes some races with PID file reading
16020
16021 2005-07-13  Dan Williams  <dcbw@redhat.com>
16022
16023         Patch from Ray Strode <halfline@gmail.com>
16024         * Random cleanups for strict CFLAGS
16025
16026 2005-07-07  Dan Williams  <dcbw@redhat.com>
16027
16028         Patch from Derek Atkins <warlord@MIT.EDU>
16029         * src/nm-dbus-net.c:
16030                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16031
16032 2005-07-07  Dan Williams  <dcbw@redhat.com>
16033
16034         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16035         * src/backends/NetworkManagerGentoo.c
16036                 - Gentoo backend Static IP nameserver fixes
16037                 - General Gentoo backend goodness
16038
16039 2005-07-07  Dan Williams  <dcbw@redhat.com>
16040
16041         Patch from Bastien Nocera:
16042         * gnome/applet/applet.c
16043                 - Fix up error reporting when icons or glade files are missing
16044
16045 2005-07-07  Robert Love  <rml@novell.com>
16046
16047         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16048           are not any VPN connections above it.
16049
16050 2005-07-07  Robert Love  <rml@novell.com>
16051
16052         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16053
16054 2005-07-05  Robert Love  <rml@novell.com>
16055
16056         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16057           zero.
16058
16059 2005-07-05  Robert Love  <rml@novell.com>
16060
16061         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16062           on wired or unencrypted wireless.
16063
16064 2005-07-01  Robert Love  <rml@novell.com>
16065
16066         * src/NetworkManagerSystem.c: Print the error via strerror().
16067
16068 2005-06-30  Robert Love  <rml@novell.com>
16069
16070         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16071           then exit if the glade file is not found.  currently the application
16072           just hangs.
16073
16074 2005-06-30  Robert Love  <rml@novell.com>
16075
16076         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16077           explicitly up all interfaces on wake from sleep.
16078
16079 2005-06-30  Robert Love  <rml@novell.com>
16080
16081         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16082           with information about the currently active connection.
16083         * gnome/applet/applet.h: (ditto)
16084         * gnome/applet/wireless-applet.glade: (ditto), new file
16085
16086 2005-06-30  Robert Love  <rml@novell.com>
16087
16088         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16089         * src/nm-dbus-nm.c: print when we sleep and wake up.
16090         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16091         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16092           in /sbin unless D-BUS is, folks).
16093         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16094
16095 2005-06-27  Robert Love  <rml@novell.com>
16096
16097         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16098           case.
16099
16100 2005-06-27  Robert Love  <rml@novell.com>
16101
16102         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16103           items radios.
16104
16105 2005-06-26  Robert Love  <rml@novell.com>
16106
16107         * src/NetworkManagerDevice.c: be specific about which device in
16108           nm_info() message.
16109
16110 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16111
16112         * src/nm-netlink-monitor.c: correct spelling error.
16113
16114 2005-06-23  Robert Love  <rml@novell.com>
16115
16116         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16117         * gnome/applet/passphrase-dialog.c: more of that keyring!
16118
16119 2005-06-23  Robert Love  <rml@novell.com>
16120
16121         * configure.in: remove extraneous GNOMEKEYRING directives.
16122         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16123         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16124         * gnome/applet/passphrase-dialog.c: whitespace.
16125
16126 2005-06-23  Robert Love  <rml@novell.com>
16127
16128         * src/NetworkManagerDevice.c: division in assignment was flipped.
16129
16130 2005-06-23  David Zeuthen  <david@fubar.dk>
16131
16132         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16133         signal to the child to indicate that we got what we wanted when we
16134         see two new-lines right after each other.
16135         (nmwa_vpn_request_password): Pass a structure with several members
16136         instead of just the passwords
16137
16138 2005-06-23  Dan Williams <dcbw@redhat.com>
16139
16140         * src/NetworkManager.c
16141           src/NetworkManagerMain.h
16142                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16143                 - (nm_hal_init): new function, init libhal context then add devices
16144                 - (nm_hal_deinit): new function, clean up libhal context
16145                 - (nm_data_free): Move Hal cleanup here
16146                 - (main): check whether Hal is running, and if so, get a list of
16147                         network devices from it
16148
16149         * src/NetworkManagerDbus.c
16150                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16151                         and when it appears, get a list of network devices from it.  If
16152                         Hal goes away, clean up the libhal context
16153
16154 2005-06-22  Robert Love  <rml@novell.com>
16155
16156         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16157           permissions of scripts before executing.
16158
16159 2005-06-21  Robert Love  <rml@novell.com>
16160
16161         * initscript/SUSE/networkmanager: update.
16162         * src/backends/NetworkManagerSuSE.c: cleanup.
16163
16164 2005-06-21  Robert Love <rml@novell.com>
16165
16166         * gnome/applet/applet.c: use menu mnemonics.
16167         * gnome/applet/menu-items.c: (ditto)
16168
16169 2005-06-21  Robert Love  <rml@novell.com>
16170
16171         * applet/applet-dbus-devices.c: mark non-static functions static.
16172         * applet/applet-dbus-vpn.c: (ditto)
16173         * applet/applet.c: (ditto)
16174         * applet/nm-device.h: (ditto)
16175         * applet/other-network-dialog.c: (ditto)
16176         * applet/passphrase-dialog.c: (ditto)
16177         * NetworkManager.c: (ditto)
16178         * NetworkManagerDbus.c: (ditto)
16179         * NetworkManagerDevice.c: (ditto)
16180         * NetworkManagerPolicy.c: (ditto)
16181         * NetworkManagerUtils.c: (ditto)
16182         * NetworkManagerWireless.c: (ditto)
16183         * NetworkManagerWireless.h: (ditto)
16184         * nm-netlink-monitor.c: (ditto)
16185         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16186         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16187         * autoip.c: include autoip.h.
16188         * autoip.h: new file.  define get_autoip().
16189         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16190         * NetworkManagerDbus.h: remove duplicate definitions.
16191
16192 2005-06-20  Robert Love  <rml@novell.com>
16193
16194         * Makefile.am: Add missing intltool-foo.in generated files to
16195           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16196           with the start of stuff to cleanup on 'distclea'.
16197         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16198           stuff right and 'distcheck' works.
16199         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16200           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16201           Makefile.am for each.  And systray/Makefile needs to be redone.
16202
16203 2005-06-19  Dan Williams <dcbw@redhat.com>
16204
16205         * src/NetworkManagerDevice.c
16206         - (nm_device_wireless_process_scan_results): scan every 20s when
16207           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16208
16209 2005-06-19  Dan Williams <dcbw@redhat.com>
16210
16211         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16212
16213 2005-06-18  Ray Strode <rstrode@redhat.com>
16214
16215         * src/nm-netlink-monitor.c 
16216         (nm_netlink_monitor_event_handler): check for the presence
16217         of either error condition not both. 
16218         
16219         (nm_netlink_monitor_error_handler): emit error signal if
16220         error occurs.
16221
16222         (nm_netlink_monitor_event_handler),
16223         (nm_netlink_monitor_error_handler),
16224         (nm_netlink_monitor_disconnect_handler): if an 
16225         assertion fails disconnect the event handler to prevent 
16226         infinite loops.
16227
16228         * src/nm-netlink-monitor.h: add new error condition
16229         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16230
16231 2005-06-18  Ray Strode <rstrode@redhat.com>
16232
16233         * src/nm-netlink-monitor.c 
16234         (nm_netlink_monitor_event_handler): remove bogus < 0
16235         check on unsigned value and return early if the kernel
16236         didn't send any bytes.
16237
16238 2005-06-17  Robert Love  <rml@novell.com>
16239
16240         * initscript/SUSE/networkmanager: Change the Provides and default
16241         run levels
16242
16243 2005-06-16  Dan Williams <dcbw@redhat.com>
16244
16245         Patch from Robert Love:
16246         * gnome/applet/applet.c
16247                 - Beautify some applet menu item names
16248
16249 2005-06-17  David Zeuthen  <davidz@redhat.com>
16250
16251         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16252         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16253         Also add new methods can_export, import_file and export.
16254
16255         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16256         to the main UI
16257
16258         * gnome/vpn-properties/nm-vpn-properties.c:
16259         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16260         nm-vpn-ui-interface.h.
16261         (update_edit_del_sensitivity): Also update "Export" sensitivity
16262         (add_vpn_connection): Also add new SVC_NAME column
16263         (import_settings): New function
16264         (retrieve_data_from_selected_connection): New function
16265         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16266         this function
16267         (export_cb): New function
16268         (init_app): Also setup the "export" widget
16269         (main): Support the --import-service and --import-file commandline
16270         arguments
16271
16272         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16273         D-BUS 0.34
16274
16275 2005-06-16  Dan Williams <dcbw@redhat.com>
16276
16277         Patch from Robert Love:
16278         * gnome/applet/menu-items.c
16279                 - (network_menu_item_new): pass -1 as wireless network
16280                         menu items height size request rather than ascent / 2
16281
16282 2005-06-16  Dan Williams <dcbw@redhat.com>
16283
16284         * Clean up wording in Wireless Scan Methods menu items and constants
16285
16286 2005-06-16  Robert Love  <rml@novell.com>
16287
16288         * po/POTFILES.in
16289                 - remove gtkcell* files
16290
16291 2005-06-15  Dan Williams <dcbw@redhat.com>
16292
16293         Patch from Robert Love: make the applet stetic
16294
16295         * gnome/applet/Makefile.am
16296                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16297
16298         * gnome/applet/gtkcellview.h
16299           gnome/applet/gtkcellview.c
16300           gnome/applet/gtkcellrendererprogress.h
16301           gnome/applet/gtkcellrendererprogress.c
16302                 - Removed
16303
16304         * gnome/applet/menu-items.c
16305                 - Progress bars are 5:1 size ratio
16306                 - Use GTK progress bars rather than internal ones
16307
16308 2005-06-15  Dan Williams <dcbw@redhat.com>
16309
16310         Patch from Robert Love:
16311         * initscript/SUSE/networkmanager
16312                 - Fix typo
16313
16314 2005-06-15  Dan Williams <dcbw@redhat.com>
16315
16316         * src/backends/NetworkManagerSuSE.c
16317           src/backends/NetworkManagerRedHat.c
16318           src/backends/NetworkManagerDebian.c
16319                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16320
16321 2005-06-15  Dan Williams <dcbw@redhat.com>
16322
16323         * src/backends/NetworkManagerDebian.c
16324                 - Add nm_system_device_get_use_dhcp() to debian backend
16325
16326         Patch from Kay Sievers:
16327         * src/backends/NetworkManagerSuSE.c
16328                 - Update debian backend for static IP nameservers
16329
16330         * src/NetworkManagerDevice.c
16331                 - Actually set the device to use static IP or DHCP rather
16332                         than always DHCP
16333
16334 2005-06-15  Dan Williams <dcbw@redhat.com>
16335
16336         Patch from Thom May:
16337         * src/backends/NetworkManagerDebian.c
16338                 - Update debian backend for static IP nameservers
16339
16340 2005-06-15  Dan Williams <dcbw@redhat.com>
16341
16342         Patches from Robert Love:
16343         * gnome/applet/wireless-applet.glade
16344                 - Tighten up wording
16345
16346         * src/NetworkManagerDevice.c
16347                 - Remove misplaced ';'
16348
16349         * configure.in
16350           initscript/Makefile.am
16351           initscript/SUSE/Makefile.am
16352           initscript/SUSE/networkmanager
16353                 - Add SUSE initscript
16354
16355 2005-06-12  David Zeuthen  <davidz@redhat.com>
16356
16357         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16358
16359         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16360
16361         * gnome/vpn-properties/nm-vpn-properties.c: New file
16362
16363         * gnome/vpn-properties/Makefile.am: New file
16364
16365         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16366         array of passwords
16367
16368         * src/vpn-manager/nm-vpn-manager.c
16369         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16370         instead of just a single one
16371
16372         * src/vpn-manager/nm-dbus-vpn.c:
16373         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16374         here
16375         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16376
16377         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16378         Change the interface here to give a list of passwords. Also, don't
16379         require username, but do require service
16380
16381         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16382         the binary for the auth-dialog and use that instead of putting up a
16383         dialog asking for a single password
16384
16385         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16386         however do remember the service
16387
16388         * gnome/applet/main.c (main): Setup i18n
16389
16390         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16391         connection to '%s'" to the tooltip if we are connected using VPN
16392         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16393         key to determine whether we the auth-dialog needs to
16394         reprompt. Also cope with the fact that the auth-dialog now returns
16395         an array of passwords.
16396         (nmwa_menu_configure_vpn_item_activate): New handler for
16397         "Configure VPN..." menu item
16398         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16399         (is_vpn_available): New function to determine if we got any
16400         NM-compatible VPN software installed
16401         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16402         items only if we have NM-compatible VPN software installed
16403         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16404         logic for detecting when VPN connections are removed
16405
16406         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16407         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16408         since these are defined elsewhere
16409
16410         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16411         function used to keep track of whether the last attempt succeded
16412         (nmwa_dbus_filter): Update last_attempt according to whether the
16413         VPN connection could be established or not
16414
16415         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16416         Change prototype to take an array of passwords, not just a single
16417         password
16418
16419         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16420         update service, not user
16421         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16422         dbus_active_vpn_name is not NULL before using it
16423         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16424         string array instead of assuming a single password
16425
16426         * gnome/applet/applet-dbus-info.c:
16427         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16428         user name; don't read from gconf
16429
16430         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16431         VPN_NAME_FILES_DIR
16432
16433         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16434
16435         * configure.in: Add checks for gmodule-2.0.
16436         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16437         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16438         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16439         for details
16440
16441         * vpn-daemons/Makefile.am: Removed
16442
16443         * vpn-daemons/README: New file to describe extensions points for VPN
16444         software
16445
16446 2005-06-10  Dan Williams <dcbw@redhat.com>
16447
16448         * src/backends/NetworkManagerRedHat.c
16449                 - (get_current_profile_name): new function, grab current network profile name from
16450                         /etc/sysconfig/network
16451                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16452                         update an IP4 Config structure's settings from it
16453                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16454                         get DNS info from current network profile
16455
16456 2005-06-09  Dan Williams <dcbw@redhat.com>
16457
16458         Patch from Robert Love:
16459         * src/NetworkManagerDevice.c
16460           src/NetworkManagerUtils.c
16461                 - 64-bit build fixes
16462
16463 2005-06-09  Dan Williams <dcbw@redhat.com>
16464
16465         Patch from Kay Sievers and Robert Love:
16466         * configure.in
16467           src/backends/Makefile.am
16468           src/backends/NetworkManagerSuSE.c
16469                 - Add SuSE support
16470
16471 2005-06-09  Dan Williams <dcbw@redhat.com>
16472
16473         * NetworkManager.h
16474                 - Add NMWirelessScanMethod enum for scan methods
16475
16476         * gnome/applet/applet-dbus-devices.c
16477                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16478                 - (nmwa_dbus_update_scanning_enabled): remove
16479                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16480                         since it got removed
16481                 - (nmwa_dbus_enable_scanning): remove
16482
16483         * gnome/applet/applet-dbus-info.c
16484                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16485                         update the wireless scanning method from NMI
16486                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16487                         method value to NetworkManager
16488                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16489
16490         * gnome/applet/applet-dbus-info.h
16491                 - Add prototype for nmi_dbus_signal_update_scan_method
16492
16493         * gnome/applet/applet.c
16494                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16495                         Wireless Scanning menu based on current wireless scan method
16496                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16497                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16498                         and update our menu items to make sure the right one is checked
16499                 - (nmwa_set_scanning_enabled_cb): remove
16500                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16501                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16502                         Scanning menu item
16503                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16504                         from GConf
16505                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16506                         so we get notified of preference values too
16507                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16508
16509         * gnome/applet/applet.h
16510                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16511                 - Add wireless scan method member to applet data
16512                 - Remove pause_scanning_item, add Wireless Scanning submenu
16513
16514         * src/NetworkManager.c
16515                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16516                 - (main): grab scanning method from NMI if we can
16517
16518         * src/NetworkManagerDbus.c
16519                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16520                         nm_dbus_update_wireless_scan_method()
16521                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16522                         from NMI
16523                 - (nm_dbus_nmi_is_running): redundant function, removed
16524                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16525                         when NMI comes back
16526
16527         * src/NetworkManagerDevice.c
16528                 - (nm_device_is_activated): return TRUE if the device is activated
16529                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16530                         and we are activated
16531
16532         * src/nm-dbus-nm.c
16533                 - (nm_dbus_nm_set_scanning_enabled): removed
16534                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16535                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16536
16537 2005-06-09  Dan Williams <dcbw@redhat.com>
16538
16539         * NetworkManager.h
16540           src/vpn-manager/nm-vpn-service.c
16541                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16542
16543 2005-05-27  Dan Williams <dcbw@redhat.com>
16544
16545         * vpn-daemons/vpnc/nm-vpnc-service.c
16546                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16547                         Should fix the bug where the VPN connection terminates the first time.
16548
16549 2005-05-20  Dan Williams <dcbw@redhat.com>
16550
16551         * NetworkManager.h
16552                 - Differentiate VPN config signals between bad VPN config options
16553                         and bad IP config
16554
16555         * gnome/applet/applet-dbus-info.h
16556                 - Add prototypes for wireless network and vpn connection update functions
16557
16558         * gnome/applet/applet-dbus.c
16559                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16560
16561         * gnome/applet/applet.c
16562                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16563                         error signals
16564                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16565                         propogation to NetworkManager
16566                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16567                         notify propogation to NetworkManager
16568
16569         * src/NetworkManagerDbus.c
16570                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16571                         are updating so a network can be removed from it if necessary
16572
16573         * src/vpn-manager/nm-vpn-manager.c
16574                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16575
16576         * vpn-daemons/vpnc/nm-vpnc-service.c
16577                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16578                 - (nm_vpnc_dbus_signal_launch_failed): remove
16579                 - (nm_vpnc_dbus_signal_connect_failed): remove
16580                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16581                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16582                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16583                         for new generalized error signal function, remove config file stuff
16584                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16585                         we can write configuration options to it
16586                 - (nm_vpnc_config_file_generate): removed
16587                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16588                 - (nm_vpnc_config_options_validate): validate the config options we receive
16589                         from NetworkManager to block potential exploits
16590                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16591                         starting vpnc
16592                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16593                         to NetworkManager
16594
16595 2005-05-16  Dan Williams  <dcbw@redhat.com>
16596
16597         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16598                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16599                         is not "connect"
16600
16601 2005-05-16  Dan Williams  <dcbw@redhat.com>
16602
16603         Patch from Tomislav Vujec <tvujec@redhat.com>
16604         * gnome/applet/applet-dbus-info.c
16605                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16606                         GConf and pass them to NetworkManager.  New key is 'routes' under
16607                         the VPN connection, and should be a string list
16608
16609         * src/NetworkManagerSystem.c
16610                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16611                         set them on the device when we set the rest of the VPN config.  Ensure
16612                         they are in the correct format since they are passed directly to the
16613                         command line.
16614
16615         * src/backends/NetworkManagerRedHat.c
16616           src/backends/NetworkManagerDebian.c
16617                 - (nm_system_device_add_route_via_device_with_iface): new function
16618
16619         * src/vpn-manager/nm-dbus-vpn.c
16620                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16621
16622         * src/vpn-manager/nm-vpn-manager.c
16623                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16624                         them into the IP4 config functions
16625
16626 2005-05-15  Dan Williams  <dcbw@redhat.com>
16627
16628         From Filip Miletic:
16629         * po/sr.po
16630           po/sr@Latn.po
16631           configure.in
16632                 - Serbian translation added
16633
16634 2005-05-15  Dan Williams  <dcbw@redhat.com>
16635
16636         * dispatcher-daemon/NetworkManagerDispatcher.c
16637                 - (main): sync arguments with NetworkManager and the applet, now use
16638                         "--no-daemon" rather than "daemon=no"
16639                 - (nmd_print_usage): Fix script path in usage message
16640
16641 2005-05-15  Dan Williams  <dcbw@redhat.com>
16642
16643         * src/NetworkManagerDevice.[ch]
16644           src/NetworkManagerPolicy.c
16645           src/NetworkManager.c
16646           src/nm-dbus-nm.c
16647                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16648                         longer send the DeviceNoLongerActive signal unconditionally, but only
16649                         when the device is actually active.
16650
16651         * dispatcher-daemon/NetworkManagerDispatcher.c
16652                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16653                         and simplify the logic
16654                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16655                         we free it later on
16656
16657         * initscript/RedHat/Makefile.am
16658           initscript/RedHat/NetworkManagerDispatcher
16659                 - Add initscript for NetworkManagerDispatcher
16660
16661
16662         Patch from Bill Moss:
16663         * dispatcher-daemon/NetworkManagerDispatcher.c
16664                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16665
16666         * src/NetworkManagerDbus.c
16667                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16668                         and DeviceNowActive gets signaled, then the device has a new IP address
16669                         anyway.  There's no need for a separate signal.
16670
16671         * src/NetworkManagerDevice.c
16672                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16673
16674         * src/NetworkManagerPolicy.c
16675                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16676                         activates successfully.  This kind of went missing when I reworked the
16677                         activation code.
16678
16679 2005-05-15  Dan Williams  <dcbw@redhat.com>
16680
16681         * configure.in
16682                 - Check for dhcdbd and error if its not found
16683
16684         * src/dhcp-manager/Makefile.am
16685           src/dhcp-manager/nm-dhcp-manager.c
16686                 - Use path to dhcdbd that configure found
16687
16688 2005-05-14  Dan Williams  <dcbw@redhat.com>
16689
16690         * gnome/applet/nm-device.c
16691                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16692                         sort wireless networks alphabetically
16693
16694         * gnome/applet/applet-dbus-devices.c
16695                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16696                         before copying them over to the GUI
16697
16698 2005-05-14  Dan Williams  <dcbw@redhat.com>
16699
16700         * src/NetworkManager.c
16701                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16702                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16703                         the device list, as does nm_get_active_device() which is called from
16704                         nm_vpn_manager_deactivate_vpn_connection().
16705
16706 2005-05-14  Dan Williams  <dcbw@redhat.com>
16707
16708         * NetworkManager.h
16709                 - Add signals for VPN Launch and Connect failures
16710
16711         * gnome/applet/applet-dbus.c
16712                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16713
16714         * gnome/applet/applet.c
16715                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16716                         function to handle all VPN failure messages
16717                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16718                         function to hanlde all VPN failure  messages
16719                 - (show_warning_dialog): work around focus-stealing prevention
16720
16721         * gnome/applet/other-network-dialog.c
16722           gnome/applet/passphrase-dialog.c
16723                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16724                         problem where it never enabled for ASCII Key and Hex Key types
16725
16726         * gnome/applet/wireless-applet.glade
16727                 - Add window title to Other Wireless Network Dialog
16728
16729         * src/vpn-manager/nm-dbus-vpn.c
16730                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16731                         function to handle all VPN failure messages
16732
16733         * src/vpn-manager/nm-vpn-manager.c
16734                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16735
16736         * vpn-daemons/vpnc/nm-vpnc-service.c
16737                 - (nm_vpnc_dbus_signal_launch_failed): new function
16738                 - (nm_vpnc_dbus_signal_connect_failed): new function
16739                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16740                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16741                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16742                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16743
16744 2005-05-11  Dan Williams  <dcbw@redhat.com>
16745
16746         * vpn-daemons/vpnc/nm-vpnc-service.c
16747                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16748                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16749                         file exists before trying to write it out.
16750
16751 2005-05-10  Dan Williams  <dcbw@redhat.com>
16752
16753     * gnome/applet/applet-dbus-device.c
16754         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16755             prevented just entering ESSID and leaving key and key type up to
16756             NetworkManager (which should have them already cached)
16757
16758 2005-05-08  Dan Williams  <dcbw@redhat.com>
16759
16760         * src/NetworkManagerPolicy.c
16761                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16762                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16763                         fix a situation where NM is told to terminate and the device stops activation,
16764                         but the main thread isn't aware of that because it would never have run
16765                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16766                         had already quit.
16767
16768         * src/NetworkManagerDevice.c
16769                 - (nm_device_probe_wired_link_state): cosmetic fixes
16770                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16771                         we've failed to activate or been canceled.
16772                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16773
16774 2005-05-08  Dan Williams  <dcbw@redhat.com>
16775
16776         * src/NetworkManagerWireless.c
16777                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16778                         value of WEXT quality structures, and add a debug message when we cannot
16779                         determine any quality % at all
16780
16781 2005-05-08  Dan Williams  <dcbw@redhat.com>
16782
16783         * src/dhcp-manager/nm-dhcp-manager.c
16784                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16785                         it goes down.
16786
16787 2005-05-06  Dan Williams  <dcbw@redhat.com>
16788
16789         * gnome/applet/applet-dbus-device.c
16790           gnome/applet/applet-dbus-info.c
16791           gnome/applet/applet-dbus.c
16792           gnome/applet/applet.c
16793           gnome/applet/applet.h
16794                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16795
16796         * gnome/applet/applet-dbus.c
16797                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16798                         so we notice when wired device's carriers come back on.  Should
16799                         fix issue with wired devices being grayed out even if the cable
16800                         is in, for devices that support carrier detection.
16801
16802         * gnome/applet/applet.c
16803                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16804                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16805                         tooltip message
16806                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16807                         Fix situation where applet wouldn't respond to menu selections
16808
16809         * src/NetworkManager.c
16810           src/NetworkManagerDevice.c
16811           src/NetworkManagerDbus.c
16812           src/NetworkManagerDbus.h
16813                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16814
16815         * src/NetworkManagerDbus.c
16816                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16817                         Remove, no longer used or relevant
16818                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16819                 - (nm_dbus_schedule_device_status_change_signal): add
16820
16821         * src/NetworkManagerDevice.c
16822                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16823                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16824                         ie don't deactivate them unless explicitly told to by the user.  Also send
16825                         CARRIER_OFF / CARRIER_ON signals when link changes
16826                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16827                         Don't print error message when device is no longer around
16828                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16829                         not just during activation
16830
16831         * src/NetworkManagerPolicy.c
16832                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16833                         auto-device-selection.
16834                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16835
16836         * src/NetworkManagerSystem.c
16837                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16838                         is no longer present (Bill Moss)
16839
16840         * src/backends/shvar.c
16841                 - (svOpenFile): Open read-only to make SELinux happy
16842
16843         * src/backends/NetworkManagerRedHat.c
16844                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16845                         the path to the ifcfg-* files
16846
16847 2005-05-05  Dan Williams  <dcbw@redhat.com>
16848
16849         * Expose activation stages to NetworkManager clients, like the applet
16850         * Add Diana's progress icons to the applet, cued off NM activation stage
16851         * Use more descriptive tooltips, cued off NM activation stage
16852
16853 2005-05-05  Ray Strode  <rstrode@redhat.com>
16854
16855         * src/nm-netlink-monitor.c:
16856                 - Use clear_event_source instead of g_nullify_pointer() again.
16857
16858 2005-05-05  Dan Williams  <dcbw@redhat.com>
16859
16860         * gnome/applet/main.c
16861                 - Fix session management so the applet is actually managed now
16862
16863         * gnome/applet/passphrase-dialog.c
16864                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16865
16866 2005-05-05  Dan Williams  <dcbw@redhat.com>
16867
16868         Patch from Bill Moss:
16869         * gnome/libnm_glib/libnm_glib.c
16870                 - Fix for dbus-0.33
16871
16872 2005-05-05  Dan Williams  <dcbw@redhat.com>
16873
16874         Suggestion from Bill Moss:
16875         * src/NetworkManagerSystem.c
16876                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16877
16878
16879         * src/NetworkManager.c
16880                 - (nm_data_free): move destruction of the various managers after
16881                         release of device list, because deactivating and freeing a device
16882                         requires at least the named manager
16883                 - (nm_poll_and_update_wireless_link_state):
16884                   (nm_device_link_activated):
16885                   (nm_device_link_deactivated):
16886                         don't grab the device list lock when actually updating device
16887                         link status or strength, since nm_device_set_link_active()
16888                         needs to call nm_get_active_device(), which also locks the device list.
16889
16890         * src/NetworkManagerDevice.c
16891                 - (nm_device_set_link_active): if a device's link switches from off->on,
16892                         and it's wired, and the active device is wireless (or there is no
16893                         active device), activate the new device whose link just came on
16894                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16895                         my only calling the link to the current ap "failed" when more than 2
16896                         consecutive link checks have failed
16897
16898 2005-05-04  Dan Williams  <dcbw@redhat.com>
16899
16900         * src/NetworkManagerDevice.c
16901                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16902                         but let link_to_specific_ap() do the locking where it needs
16903
16904         Patch from Bill Moss:
16905         * src/NetworkManagerSystem.c
16906                 - Set MTU of VPN devices to 1412
16907
16908 2005-05-04  Dan Williams  <dcbw@redhat.com>
16909
16910         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16911
16912         * Fix some holes in device activation and retaining the currently connected
16913                 access point
16914
16915 2005-05-03  Dan Williams  <dcbw@redhat.com>
16916
16917         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16918           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16919           means you need dhcdbd, which you can get here (get the latest one):
16920
16921                 http://people.redhat.com/jvdias/dhcdbd/
16922
16923           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16924           interface as dhcdbd.
16925
16926         * Rewrite device activation to facilitate the new DHCP infrastructure and
16927           future improvements.  Its now "activation request" based, ie there is a single
16928           activation request composed of the device, access point, and other info which
16929           follows the entire activation process.  There are 5 stages of the activation
16930           process which correspond to:
16931
16932                 1) Device preparation
16933                 2) Device configuration (bring it up, set ESSID/Key/etc)
16934                 3) IP Config Start (fire off DHCP if we're using it)
16935                 4) IP Config Get (grab config from DHCP or static config files)
16936                 5) IP Config Commit (set device's IP address, DNS, etc)
16937
16938           Note that there is no longer a "scanning" step, since the access point must
16939           be known _before_ activation starts.  If the access point drops out or does
16940           not exist for some reason, the entire activation process fails and must be
16941           restarted for a different access point or device.
16942
16943         Patch from Bill Moss:
16944         * gnome/applet/applet.c
16945                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16946
16947 2005-04-27  Dan Williams  <dcbw@redhat.com>
16948
16949         * gnome/applet/applet-dbus-vpn.c
16950           gnome/applet/applet.c
16951           gnome/applet/applet.h
16952                 - Fix up active VPN handling so that we reliably know when a VPN
16953                         connection has been deactivated
16954
16955         * src/vpn-manager/nm-vpn-manager.c
16956                 - Remove duplicate VPNConnectionChange signal
16957
16958 2005-04-27  Dan Williams  <dcbw@redhat.com>
16959
16960         Patch from Peter Jones:
16961         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16962
16963         Patch from Bill Moss:
16964         * src/NetworkManagerSystem.c
16965                 - Fix checking of return value from ioctl()
16966
16967 2005-04-27  Dan Williams  <dcbw@redhat.com>
16968
16969         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16970         * Warn and exit if icons cannot be found
16971
16972 2005-04-27  Dan Williams  <dcbw@redhat.com>
16973
16974         Patch from Tom Parker:
16975         * Update debian backend
16976
16977 2005-04-27  Dan Williams  <dcbw@redhat.com>
16978
16979         * Merge the applet and the info-daemon, and move the converged
16980                 applet under gnome/applet
16981         * Move libnm_glib to gnome/libnm_glib
16982         * Convert most dbus calls between the applet, info-daemon, and NM
16983                 into async calls
16984         * Fix a few things valgrind noticed
16985         * Make NM broadcast state more reliably
16986
16987 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16988
16989         * configure.in: Added ne in ALL_LINGUAS
16990
16991 2005-04-15  Dan Williams  <dcbw@redhat.com>
16992
16993         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16994                 code for dbus 0.2x versions
16995
16996 2005-04-15  Dan Williams  <dcbw@redhat.com>
16997
16998         Patches from Tom Parker:
16999         - Fix memleaks
17000         - Join with worker thread rather than polling for its exit
17001
17002         Patch from Bill Moss:
17003         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17004
17005 2005-04-15  Dan Williams  <dcbw@redhat.com>
17006
17007         - Fixes to pass 'make distcheck'
17008
17009 2005-04-15  Dan Williams  <dcbw@redhat.com>
17010
17011         Initial VPN Support
17012                 - supports 'vpnc'
17013                 - reworks device IP configuration, backend files have changed and will need
17014                         to be updated for all distributions.  I will try to do what I can for
17015                         them, but I cannot test them.
17016
17017         - Move named directory to src/named-manager
17018         - Make backends directory self-contained
17019
17020 2005-04-06  Dan Williams  <dcbw@redhat.com>
17021
17022         Add debug code for socket/file descriptor leaks.  We register every socket
17023         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17024         list of sockets that we forgot to close on shutdown.  This also consolidates
17025         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17026
17027 2005-04-06  Dan Williams  <dcbw@redhat.com>
17028
17029         * dhcpcd/dhcpcd.c
17030                 - (dhcp_interface_free): fix a file descriptor leak that may have
17031                         caused network drivers to not unload due to refcounts > 0
17032
17033 2005-04-04  Dan Williams  <dcbw@redhat.com>
17034
17035         * panel-applet/NMWirelessAppletDbus.c
17036                 - (nmwa_dbus_call_nm_method): remove some commented code
17037
17038         * src/NetworkManagerAPList.[ch]
17039                 - (nm_ap_list_remove_ap_by_essid): new function
17040
17041         * src/NetworkManagerDevice.c
17042                 - (nm_device_wireless_force_use): remove access points from the ignore list
17043                         when the user forces them
17044
17045         * src/nm-dbus-device.c
17046                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17047
17048 2005-04-04  Dan Williams  <dcbw@redhat.com>
17049
17050         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17051
17052 2005-04-04  Dan Williams  <dcbw@redhat.com>
17053
17054         * src/NetworkManagerDevice.c:
17055                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17056                         of only erroring after the second consecutive scan times out.  Also
17057                         don't exit when the card requires more time than we can give it, just
17058                         log the event and continue.
17059
17060 2005-04-01  Steve Murphy  <murf@e-tools.com>
17061
17062         * configure.in: Added "rw" to ALL_LINGUAS.
17063
17064 2005-04-01  Dan Williams <dcbw@redhat.com>
17065
17066         Perform scans during device activation, if needed.  Both activation 
17067         and scans run in the same GMainContext.  Therefore, if an access point
17068         is not found by the time the device starts activation, it will not
17069         be available until after activation.  We now try to scan during
17070         activation (in nm_wa_test) every 15s so that all available access
17071         points are more likely to be found and available for the activation
17072         procedure.
17073
17074         Also change nm_wireless_link_state_handle() to only update the "best"
17075         AP if we are not forcing a device and if we are not about to change
17076         state.  This attempts to work around a race when forcing a device,
17077         where the forced AP would get cleared out too soon by the link state
17078         checking timeout in the main thread, and the activation attempt with
17079         that AP would fail.
17080
17081 2005-04-01  Dan Williams <dcbw@redhat.com>
17082
17083         * po/POTFILES.in
17084                 - Update with new translatables
17085
17086 2005-03-31  Dan Williams <dcbw@redhat.com>
17087
17088         * panel-applet/NMWirelessAppletDbus.c
17089                 - Fix device names now that hal has changed device parenting for
17090                         network devices.
17091
17092 2005-03-31  Dan Williams <dcbw@redhat.com>
17093
17094         Tighten up handling of wireless devices that don't support wireless
17095         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17096         hadn't been doing pseudo-scanning for a while either and would just
17097         spin waiting for an access point.  They are now manual devices where
17098         the user must choose the access point from the menu every time.  All
17099         "allowed" access points are listed in the applet's menu regardless
17100         of whether or not they can be seen by the card, since it can't scan
17101         anyway.
17102
17103         * src/NetworkManager.c
17104                 - (nm_wireless_link_state_handle): new function, but only update
17105                         the "best" ap for non-scanning devices when its not activating,
17106                         and when no device is being forced on the card
17107                 - (nm_link_state_monitor): split wireless link state handling out
17108                         into separate function
17109
17110         * src/NetworkManagerDevice.c
17111                 - (nm_device_copy_allowed_to_dev_list): new function
17112                 - (nm_device_new): populate non-scanning cards' AP lists with
17113                         access points from the "allowed" list
17114                 - (nm_device_new): don't start a scanning timeout for devices that
17115                         can't scan
17116                 - (nm_device_activation_schedule_finish): new parameter, should be
17117                         the AP that failed to be connected to, pass it on to the
17118                         activation finish function in NetworkManagerPolicy.c
17119                 - (nm_device_activate_wireless): don't ever try to get a new AP
17120                         for non-scanning devices, just fail.  The user must choose
17121                         a new access point manually.
17122                 - (nm_device_activate): grab the AP that failed connection and
17123                         pass it on
17124                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17125                         a link to it, user must manually choose a new one
17126                 - (nm_device_do_pseudo_scan): remove function
17127                 - (nm_device_wireless_process_scan_results): remove bits for non-
17128                         scanning cards since they never get here
17129                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17130                         and fake the scan list for test devices a bit earlier
17131
17132         * src/NetworkManagerPolicy.c
17133                 - (nm_policy_activation_finish): use the failed_ap that we get
17134                         passed rather than getting the best_ap from the card, which
17135                         may have changed since we were scheduled
17136                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17137                         update their scan list directly from the allowed list when
17138                         we get updates to the allowed list from NetworkManagerInfo
17139
17140         * src/NetworkManagerPolicy.h
17141                 - New member for failed access point in NMActivationResult
17142
17143   -------------------------------------
17144
17145         Driver Notification patch: notifies the user when their driver
17146                 sucks.  Gives them the option to ignore further insertions
17147                 of the card that has the sucky driver.
17148
17149         * NetworkManager.h
17150                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17151                         enum and replace it with NO_CARRIER_DETECT and
17152                         NO_WIRELESS_SCAN
17153
17154         * panel-applet/NMWirelessApplet.[ch]
17155                 - Merge essid.glade -> wireless-applet.glade
17156                 - Implement the "Your driver sucks" notification dialog
17157
17158         * panel-applet/NMWirelessAppletDbus.c
17159                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17160                 - Grab hardware address for each device from NM too
17161                 - Check whether the driver for each device sucks or not whenever
17162                         a new device is noticed
17163
17164         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17165                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17166
17167         * src/NetworkManager.c
17168                 - Fix a double-unref on device removal
17169
17170         * src/NetworkManagerUtils.c
17171                 - Set appropriate driver support level on a device that doesn't
17172                         support scanning or carrier detection
17173
17174         * src/nm-dbus-device.c
17175                 - New "getHWAddress" dbus method on devices
17176                 - getSupportsCarrierDetect -> getDriverSupportLevel
17177
17178 2005-03-31  Dan Williams <dcbw@redhat.com>
17179
17180         * src/NetworkManagerDevice.c
17181                 - (nm_device_wireless_scan): Fix leak of scan results in some
17182                         instances
17183
17184 2005-03-29  Dan Williams <dcbw@redhat.com>
17185
17186         * src/NetworkManager.c
17187                 - (nm_poll_and_update_wireless_link_state): make code less indented
17188
17189         Patch from Bill Moss:
17190         * src/NetworkManager.c
17191                 - (nm_device_update_link_state): Update signal strength on wireless
17192                         devices every time we update link state too.
17193
17194 2005-03-29  Dan Williams <dcbw@redhat.com>
17195
17196         * src/NetworkManagerDevice.c
17197                 - (nm_device_set_essid): Work around Orinoco cards which need
17198                         extra time after setting the ESSID
17199
17200 2005-03-29  Dan Williams <dcbw@redhat.com>
17201
17202         * src/NetworkManagerDevice.c
17203                 - Merge one more bit of Peter Jones' completion patch
17204
17205 2005-03-29  Dan Williams <dcbw@redhat.com>
17206
17207         * src/NetworkManagerDevice.c
17208                 - (nm_device_force_use): Fix possible segfault
17209
17210 2005-03-29  Dan Williams <dcbw@redhat.com>
17211
17212         * src/NetworkManagerDevice.c
17213                 - Use iw_get_ext() where we should rather than iw_set_ext()
17214
17215 2005-03-29  Dan Williams <dcbw@redhat.com>
17216
17217         * src/NetworkManagerDevice.c
17218                 - (nm_device_set_up_down): remove check for unsupported devices
17219                         that caused NM to not bring devices up when they were
17220                         added to the device list.
17221
17222 2005-03-28  Dan Williams <dcbw@redhat.com>
17223
17224         * src/NetworkManagerDevice.c
17225                 - (mdio_read): Fix two bugs that caused all devices to fail
17226                         the MII carrier detection support checks
17227
17228 2005-03-26  Dan Williams <dcbw@redhat.com>
17229
17230         * src/NetworkManagerDevice.c
17231                 - (nm_device_wireless_scan): Remove duplicated scanning code
17232
17233 2005-03-25  Dan Williams <dcbw@redhat.com>
17234
17235         * panel-applet/NMWirelessApplet.c
17236                 - (nmwa_about_cb): Add some more contributors
17237                 - (nmwa_update_state): show the applet when there's no connection
17238                 - Enable the "Stop/Resume all wireless devices" option in the
17239                         context menu
17240                 - New "no connection" icon
17241
17242         * src/NetworkManager.c
17243                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17244                         wireless is disabled or we're asleep
17245
17246         * src/NetworkManagerDHCP.c
17247                 - Remove trailing "\n" on debug messages
17248
17249         * src/NetworkManagerDbus.c
17250                 - (nm_dbus_network_status_from_data): new state "asleep"
17251
17252         * src/NetworkManagerDevice.c
17253                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17254                         latency and wait times for most operations
17255                 - (nm_device_wireless_scan): Don't scan when asleep
17256
17257         * src/NetworkManagerPolicy.c
17258                 - (nm_policy_get_best_device): return no device when asleep
17259                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17260                         for all wireless devices on update, not just active device
17261
17262         * src/NetworkManagerUtils.c
17263                 - Merge Peter Jones' "completion" patch
17264
17265         * src/nm-dbus-nm.c
17266                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17267                         we're told to disable them
17268                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17269
17270         * utils/nm-utils.h
17271                 - New variants of the warn/info/error/debug print functions that can take
17272                         variables rather than static strings
17273
17274 2005-03-24  Dan Williams <dcbw@redhat.com>
17275
17276         * src/NetworkManagerUtils.c
17277                 - (nm_get_device_driver_name): driver names are now on the parents of
17278                         "Network Interface" objects, so look for them there
17279
17280 2005-03-24  Dan Williams <dcbw@redhat.com>
17281
17282         * test/nmtest.c
17283                 - Escape some forgotten object paths before we shove them through dbus
17284
17285 2005-03-24  Dan Williams <dcbw@redhat.com>
17286
17287         * dhcpcd/dhcpcd.[ch]
17288           src/NetworkManagerDHCP.c
17289                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17290                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17291
17292         * src/NetworkManagerDbus.c
17293                 - spacing cleanups
17294
17295         * src/nm-dbus-dhcp.c
17296                 - Make the API suck less.  There is now only 1 type of each function,
17297                         ie only "getInteger" and no longer also "getIntegerv".  All types
17298                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17299                         that will never have more than 1 element.  This should simplify
17300                         things greatly.
17301
17302         * test/nm-dhcp-opt-test.c
17303                 - Make the tool not segfault
17304                 - adapt to new DHCP Options API
17305
17306 2005-03-22  Dan Williams <dcbw@redhat.com>
17307
17308         * src/NetworkManager.c
17309                 - (nm_wired_link_deactivated): actually ignore netlink events from
17310                         wireless devices.
17311
17312 2005-03-22  Dan Williams <dcbw@redhat.com>
17313
17314         * src/NetworkManager.c
17315                 - (nm_wired_link_activated): actually ignore netlink events from
17316                         wireless devices.
17317
17318 2005-03-17  Dan Williams <dcbw@redhat.com>
17319
17320         Patch from Tom Parker:
17321         * src/nm-netlink-monitor.c
17322                 - Include unistd.h
17323         * info-daemon/NetworkManagerInfoDbus.c
17324                 - (nmi_dbus_update_network_auth_method): free GConf values
17325
17326         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17327         * src/NetworkManagerDevice.c
17328                 - (nm_device_set_wireless_config): wait for successful
17329                         association longer for some cards (Atheros a/b/g)
17330
17331 2005-03-15  Ray Strode  <rstrode@redhat.com>
17332
17333         * src/NetworkManager.c:
17334         (sigterm_pipe_handler):
17335         remove bogus FIXME
17336
17337 2005-03-15  Ray Strode  <rstrode@redhat.com>
17338
17339         * src/NetworkManagerDbus.c:
17340         Fix some sign weirdness that gcc4 doesn't like,
17341         and add a header file so PPC can hopefully find
17342         SIGTRAP
17343
17344 2005-03-14  Ray Strode  <rstrode@redhat.com>
17345         
17346         Fourth (probably working) cut at porting to
17347         dbus 0.30 api and new hal. This cut adds
17348         some new logging macros to make debugging
17349         easier.
17350
17351         * dispatcher-daemon/NetworkManagerDispatcher.c:
17352         * info-daemon/NetworkmanagerInfo.c:
17353         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17354         * info-daemon/NetworkManagerInfoVPN.c:
17355         * src/NetworkManager.c:
17356         * src/NetworkManagerAP.c:
17357         * src/NetworkManagerAPList.c:
17358         * src/NetworkManagerDHCP.c:
17359         * src/NetworkManagerDbus.c:
17360         * src/NetworkManagerDevice.c:
17361         * src/NetworkManagerPolicy.c:
17362         * src/NetworkManagerSystem.c:
17363         * src/NetworkManagerUtils.c:
17364         * src/NetworkManagerWireless.c:
17365         * src/autoip.c:
17366         * src/nm-dbus-nm.c:
17367         * src/backends/NetworkManagerDebian.c:
17368         * src/backends/NetworkManagerGentoo.c:
17369         * src/backends/NetworkManagerRedHat.c:
17370         * src/backends/NetworkManagerSlackware.c:
17371         use new logging macros.
17372
17373         * dispatcher-daemon/NetworkManagerDispatcher.c:
17374         (nmd_dbus_filter): s/dbus_free/g_free/
17375
17376         * info-daemon/Makefile.am: link in utils library.
17377         * info-daemon/NetworkmanagerInfo.c: use new logging 
17378         macros.
17379         (nmi_dbus_get_network): don't assume enumerations
17380         are 32-bit.
17381         (nmi_dbus_nmi_message_handler): don't free what 
17382         doesn't belong to us.
17383
17384         * libnm_glib/libnm_glib.c:
17385         (libnm_glib_get_nm_status): 
17386         (libnm_glib_init): don't free what doesn't
17387         belong to us.
17388         (libnm_glib_dbus): strdup result, so it doesn't get
17389         lost when message is unref'd.
17390
17391         * panel-applet/NMWirelessAppletDbus.c:
17392         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17393
17394         * src/NetworkManager.c:
17395         (nm_monitor_wired_link_state): request initial status 
17396         dump of all cards when we start up, instead of relying
17397         on /sys/.../carrier.
17398         (nm_info_handler), (nm_set_up_log_handlers): 
17399         log handlers to specify what syslog priorites 
17400         the logging macros default to.
17401
17402         * src/NetworkManagerAPList.c: 
17403         (nm_ap_list_populate_from_nmi):
17404         s/dbus_free_string_array/g_strfreev/
17405
17406         * src/NetworkManagerDbus.c:
17407         (nm_dbus_get_network_object):
17408         validate d-bus message argument types.
17409         Advance message iterator after reading argument,
17410         prepend instead of append to GSList.
17411
17412         * src/NetworkManagerDevice.c:
17413         (nm_device_probe_wired_link_status):
17414         remove redundant /sys in /sys path. remove wrong
17415         contents == NULL means has carrier assumption.
17416
17417         * src/nm-netlink-monitor.c 
17418         (nm_netlink_monitor_request_status): implement
17419         function to ask kernel to dump interface link
17420         status over netlink socket.
17421
17422         * test/*.c: s/dbus_free/g_free/
17423
17424         * utils/nm-utils.h:
17425         (nm_print_backtrace): new macro to print backtrace.
17426         (nm_get_timestamp): new macro to get sub-second precise
17427         unix timestamp.
17428         (nm_info), (nm_debug), (nm_warning), (nm_error):
17429         new logging functions. nm_info just prints,
17430         nm_debug includes timestamp and function,
17431         nm_warning includes function, nm_error includes
17432         backtrace and sigtrap.
17433
17434 2005-03-11  Ray Strode  <rstrode@redhat.com>
17435
17436         Third (unfinished, partially working) cut at porting to 
17437         dbus 0.30 api and new hal.
17438
17439         * info-daemon/NetworkManagerInfoDbus.c:
17440                 don't free null arrays.
17441
17442         * panel-applet/NMWirelessAppletDbus.c: 
17443         * src/nm-dbus-device.c:
17444         * src/nm-dbus-net.c: 
17445         * src/NetworkManagerDbus.c: more 
17446         STRING -> OBJECT_PATH fun
17447         * src/NetworkManagerDevice.c:
17448         * src/NetworkManagerDevice.h:
17449         (rename nm_device_get_link_active): rename to 
17450         nm_device_has_active_link
17451         (nm_device_wireless_link_active): rename to
17452         nm_device_probe_wireless_link_state
17453         (nm_device_wired_link_active): rename to
17454         nm_device_probe_wired_link_state.  Rewrite to
17455         use carrier file since hal doesn't maintain
17456         link state anymore.
17457         (nm_device_update_link_active): rename to
17458         nm_device_update_link_state
17459         * src/NetworkManagerPolicy.c 
17460           (nm_policy_activation_finish): check for NULL
17461           MAC address.
17462
17463         * src/Makefile.am:
17464         * src/NetworkManagerMain.h: 
17465         * src/NetworkManager.c:
17466         * src/nm-netlink-monitor.c:
17467         * src/nm-netlink-monitor.h: New class to support
17468         monitoring wired ethernet link status, since HAL
17469         doesn't export that information anymore.
17470
17471 2005-03-09  Ray Strode  <rstrode@redhat.com>
17472
17473         Second (unfinished, unworking) cut at porting to 
17474         dbus 0.30 api.
17475
17476         * dispatcher-daemon/NetworkManagerDispatcher.c:
17477         * info-daemon/NetworkManagerInfoDbus.c:
17478         * panel-applet/NMWirelessAppletDbus.c:
17479         * src/NetworkManagerDbusUtils.c:
17480         * src/NetworkManagerDbusUtils.h:
17481         * src/nm-dbus-device.c:
17482         * src/nm-dbus-nm.c:
17483         * test/nmtest.c: support dbus "object path" type
17484
17485         * configure.in: 
17486         * Makefile.am:
17487         * info-daemon/Makefile.am:
17488         * libnm_glib/Makefile.am:
17489         * panel-applet/Makefile.am:
17490         * dispatcher-daemon/Makefile.am
17491         * src/Makefile.am:
17492         * test/Makefile.am:
17493         * utils/Makefile.am: 
17494         * utils/nm-utils.c: 
17495         * utils/nm-utils.h: new utils static lib
17496
17497 2005-03-07  Ray Strode  <rstrode@redhat.com>
17498
17499         * info-daemon/NetworkManagerInfoDbus.c:
17500         * libnm_glib/libnm_glib.c:
17501         * panel-applet/NMWirelessAppletDbus.c:
17502         * src/NetworkManager.c:
17503         * src/NetworkManagerDbus.c:
17504         * src/NetworkManagerDevice.c:
17505         * src/NetworkManagerUtils.c:
17506         * src/nm-dbus-device.c:
17507         * src/nm-dbus-dhcp.c:
17508         * src/nm-dbus-net.c:
17509         * src/nm-dbus-nm.c:
17510         * test/nminfotest.c:
17511         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17512
17513 2005-03-04  Dan Williams  <dcbw@redhat.com>
17514
17515         * configure.in
17516                 - Mark HEAD as 0.4
17517
17518 2005-03-04  Dan Williams  <dcbw@redhat.com>
17519
17520         Patch from Peter Jones:
17521         - Make stuff work with gcc 4.0
17522
17523 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17524
17525         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17526
17527 2005-02-27  Jim Huang  <jserv@kaffe.org>
17528
17529         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17530
17531 2005-02-27  Dan Williams  <dcbw@redhat.com>
17532
17533         Patch from Bill Moss:
17534         * panel-applet/NMWirelessAppletDbus.c
17535                 - Make sure strength for current access point is up-to-date when we
17536                         update the gui data model
17537
17538 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17539
17540         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17541
17542 2005-02-27  Dan Williams  <dcbw@redhat.com>
17543
17544         * src/backends/NetworkManagerRedHat.c
17545                 - (nm_system_init): Kill any dhclient processes lying around as well
17546                         as stopping 'nifd' if its already been started.  NetworkManager
17547                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17548
17549 2005-02-27  Dan Williams  <dcbw@redhat.com>
17550
17551         * panel-applet/NMWirelessApplet.c
17552                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17553                         dbus data model, not the GUI data model twice.
17554
17555 2005-02-27  Dan Williams  <dcbw@redhat.com>
17556
17557         * panel-applet/NMWirelessApplet.[ch]
17558           panel-applet/NMWirelessAppletDbus.[ch]
17559                 - Move to incremental network updates.  Instead of blowing away our list
17560                         of devices every time we get a signal from NetworkManager, we now
17561                         incrementally add/remove networks when NetworkManager notifies us that
17562                         a new network has appeared or disappered.  Strength updates now happen
17563                         on-the-fly for each access point as well.  There are now two copies of
17564                         data from NetworkManager: one for the dbus side, and one for the gui side.
17565                         When the dbus side data is modified, it is copied over to the gui side
17566                         so we don't have to hold the data_mutex for long periods of time (and
17567                         therefore block animation of the applet's icon).
17568                 - Clean up some memleaks too
17569
17570         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17571                 - Minor code beautification
17572
17573         * src/NetworkManagerAPList.c
17574                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17575                         completely new and whether or not an existing one's strength was updated.
17576                         Try to fix multiple access points and signal strength by using the highest
17577                         signal strength in each scan for any given ESSID.
17578
17579         * src/NetworkManagerDbus.[ch]
17580                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17581                         wireless networks; now we have only WirelessNetworkUpdate which includes
17582                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17583                 - Kill usage of DbusMessageIter
17584
17585         * src/NetworkManagerDevice.c
17586                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17587                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17588                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17589                         currently associated with from the network list.
17590                 - Update for new signals during scan, send out Appeared, Disappeared, or
17591                         StrengthChanged when necessary.
17592
17593 2005-02-25  Dan Williams  <dcbw@redhat.com>
17594
17595         * README
17596                 - Line break the README
17597
17598 2005-02-25  Dan Williams  <dcbw@redhat.com>
17599
17600         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17601                 - Remove usage of gtk_window_set_default_size()
17602
17603         * panel-applet/essid.glade
17604                 - Stick default size here
17605                 - Add in random crap that current glade wants to add in now
17606
17607 2005-02-25  Dan Williams  <dcbw@redhat.com>
17608
17609         * src/backends/NetworkManagerRedHat.c
17610                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17611                         and that we actually tell nscd to reload the hosts cache when it changes
17612
17613 2005-02-25  Dan Williams  <dcbw@redhat.com>
17614
17615         * info-daemon/NetworkManagerInfoDbus.c
17616                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17617
17618         * test/nminfotest.c
17619                 - Whack usage of DbusMessageIter
17620                 - Clean up DbusError and DbusMessage handling and freeing
17621                 - Remove unused unregister handler
17622
17623         * test/nmtest.c
17624                 - Whack usage of DbusMessageIter
17625
17626         * test/nmtestdevices.c
17627                 - Whack usage of DbusMessageIter
17628
17629 2005-02-25  Dan Williams  <dcbw@redhat.com>
17630
17631         * NetworkManager.h
17632                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17633                         signal
17634
17635 2005-02-25  Dan Williams  <dcbw@redhat.com>
17636
17637         * named/nm-named-manager.c
17638                 - Ensure that pid and watch variables for child named process get cleared out
17639                         when the child goes away.
17640
17641 2005-02-22  Dan Williams  <dcbw@redhat.com>
17642
17643         * src/NetworkManagerPolicy.c
17644                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17645                         and NULL out data->active_device so that we have to choose another one.
17646                         This may make NetworkManager keep attempting to connect to a wired network
17647                         if it fails, but if it keeps failing the wired network has more problems than
17648                         just NetworkManager.
17649
17650         * src/backends/NetworkManagerRedHat.c
17651                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17652                         is already running
17653
17654         * named/nm-named-manager.c
17655                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17656                         named so that the distro can flush whatever name service caching
17657                         daemon it uses
17658
17659 2005-02-21  Dan Williams  <dcbw@redhat.com>
17660
17661         * src/NetworkManagerDHCP.[ch]
17662                 - (nm_device_dhcp_remove_timeouts): new function
17663
17664         * src/NetworkManagerDevice.c
17665                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17666                         remove the DHCP timeouts.
17667
17668 2005-02-21  Dan Williams  <dcbw@redhat.com>
17669
17670         * panel-applet/NMWirelessApplet.[ch]
17671           panel-applet/menu-info.[ch]
17672                 - Give the panel applet some major love: menu items are no longer
17673                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17674                         This allows the applet to actually reflect theme changes correctly,
17675                         since themeing of subclassed items in GTK _sucks_.
17676
17677 2005-02-18  Dan Williams  <dcbw@redhat.com>
17678
17679         * libnm_glib/libnm_glib.[ch]
17680           test/libnm_glib_test.c
17681                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17682                         and its data, and doesn't have to free the callback data anymore
17683
17684 2005-02-18  Dan Williams  <dcbw@redhat.com>
17685
17686         * panel-applet/NMWirelessApplet.c
17687                 - Revert 2005-02-18 William Jon McCann fix for standard
17688                         copyright string until it passes 'make distcheck'.
17689                         With standard copyright string, xgettext complains
17690                         about "Non-ASCII string at ...".
17691
17692 2005-02-18  Dan Williams  <dcbw@redhat.com>
17693
17694         * panel-applet/essid.glade
17695           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17696                 - Correct spelling of "adaptor"->"adapter"
17697
17698 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17699
17700         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17701         (nmwa_about_cb): Use standard copyright string.  Update comment
17702         text to reflect that it is a notification area applet.  Remove
17703         leading newline in authors list.
17704         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17705         instead of on parent menu item activation.  Fixes #167550.
17706
17707 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17708
17709         * panel-applet/essid.glade: Capitalize items as per HIG.
17710           Fixes #167632
17711
17712 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17713
17714         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17715         files for GTK 2.4 or lower, since now public in GTK 2.6.
17716
17717         * panel-applet/essid.glade: Don't specify window size.
17718         
17719 2005-02-17  Dan Williams  <dcbw@redhat.com>
17720
17721         Caught by Bill Moss:
17722         * dhcpcd/client.c
17723                 - Time remaining for DHCP transaction calculation was incorrectly
17724                         inside a #ifdef DEBUG
17725
17726 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17727
17728         * configure.in: Added fr (French) to ALL_LINGUAS.
17729
17730 2005-02-14  Dan Williams  <dcbw@redhat.com>
17731
17732         * src/NetworkManagerDHCP.c
17733                 - (set_domain_searches): Fix free of invalid pointer
17734
17735 2005-02-14  Dan Williams  <dcbw@redhat.com>
17736
17737         Patch from Peter Jones:
17738         * dhcpcd/client.c
17739                 - Ensure we return RET_DHCP_CEASED everywhere we should
17740         * dhcpcd/udpipgen.c
17741                 - Use faster TOS for IP packets
17742                 - Don't set ip_id since we're UDP
17743
17744         Patch from Tomislav Vujec:
17745         * src/nm-dbus-dhcp.c
17746           test/nm-dhcp-opt-test.c
17747                 - Clean up warnings to enable cvs tree compilation.
17748
17749 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17750
17751         * configure.in
17752           po/hr.po
17753                 - Add the Croatian locale.
17754
17755 2005-02-14  Colin Walters  <walters@verbum.org>
17756
17757         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17758         list of domains to search.
17759         
17760         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17761
17762 2005-02-13  Dan Williams  <dcbw@redhat.com>
17763
17764         * dhcpcd/client.c
17765                 - Debug output cleanups of DHCP option printing and parsing.
17766
17767 2005-02-13  Dan Williams  <dcbw@redhat.com>
17768
17769         Patch from Dan Reed:  DHCP options D-BUS API
17770                 Exposes the DHCP options that a device receives to clients over D-BUS.
17771
17772         * configure.in
17773                 - A few cleanups
17774
17775         * dhcpcd/client.h
17776                 - Correct names, option length, and types for DHCP options
17777
17778         * dhcpcd/dhcpcd.[ch]
17779                 - Clarify function names that access DHCP options & data
17780
17781         * src/NetworkManagerDHCP.c
17782                 - Use new DHCP data access functions
17783
17784         * src/NetworkManagerDbus.c
17785                 - Message handler for DHCP functions
17786
17787         * src/nm-dbus-dhcp.[ch] (new)
17788                 - DHCP dbus methods
17789
17790         * test/nm-dhcp-opt-test.c
17791                 - Test DHCP D-BUS API and return all present DHCP options
17792
17793 2005-02-12  Dan Williams  <dcbw@redhat.com>
17794
17795         * test/Makefile.am
17796           test/nmclienttest.c
17797           test/nmtest.c
17798                 - Move nmclienttest.c -> nmtest.c
17799
17800 2005-02-12  Dan Williams  <dcbw@redhat.com>
17801
17802         * dhcpcd/buildmsg.c
17803                 - Pad DHCP packets until they are at least 300 bytes in size.
17804
17805 2005-02-11  Dan Williams  <dcbw@redhat.com>
17806
17807         * dhcpcd/client.c
17808                 - (dhcp_init): only print out client ID and class ID if they are specified
17809
17810         * src/NetworkManagerDbus.[ch]
17811           src/nm-dbus-nm.[ch]
17812           src/nm-dbus-device.[ch]
17813           src/nm-dbus-net.[ch]
17814                 - Move NM, Device, and Net functions to separate files and use the
17815                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17816                         method dispatching
17817
17818         * src/NetworkManagerDbusUtils.c
17819                 - Add new validate_method called before each dispatch (if present)
17820                         that can validate the method call
17821
17822         * src/NetworkManagerWireless.c
17823                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17824                         levels never to be evaluated
17825
17826         Patch from j@bootlab.org
17827         * src/NetworkManagerDevice.c
17828                 - Add typedef for "u64"
17829
17830         * src/backends/NetworkManagerDebian.c
17831                 - Copy in Dave Woodhouse's fixes for IPv6
17832
17833 2005-02-11  Dan Williams  <dcbw@redhat.com>
17834
17835         Patch from Dave Woodhouse for IPv6:
17836         * src/NetworkManagerUtils.c
17837                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17838                         and multicast addresses
17839
17840         * src/NetworkManagerDevice.c
17841                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17842                         after bringing up a card.
17843
17844 2005-02-10  Dan Williams  <dcbw@redhat.com>
17845
17846         Patch from Dave Woodhouse:
17847         * src/NetworkManagerSystem.h
17848           src/backends/NetworkManagerDebian.c
17849           src/backends/NetworkManagerGentoo.c
17850           src/backends/NetworkManagerSlackware.c
17851                 - New nm_system_device_add_ip6_link_address() function to add link-local
17852                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17853
17854         * src/backends/NetworkManagerRedHat.c
17855                 - (nm_system_device_add_ip6_link_address): implement
17856                 - (nm_system_device_flush_addresses): revert to previous behavior of
17857                         flushing all addresses
17858
17859 2005-02-10  Dan Williams  <dcbw@redhat.com>
17860
17861         Patch from Tom Parker:
17862         * src/NetworkManagerDevice.c
17863                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17864                         mii.h headers are broken, and instead use our own typedefs
17865
17866 2005-02-10  Dan Williams  <dcbw@redhat.com>
17867
17868         * dhcpcd/buildmsg.c
17869                 - (fill_host_and_class_id): only fill in client and class IDs if
17870                         they are set by callers.
17871
17872         * dhcpcd/client.c
17873                 - (class_id_setup): don't autogenerate a class ID, only use one
17874                         we're given, if any.
17875                 - (client_id_setup): don't autogenerate a client ID, only use one
17876                         we're given, if any.
17877
17878         * dhcpcd/dhcpcd.c
17879                 - (dhcp_interface_init): ensure that client options are correctly
17880                         NULL terminated
17881
17882         * src/NetworkManagerDHCP.c
17883                 - (nm_device_dhcp_request): pass hostname to dhcp library
17884
17885 2005-02-10  Dan Williams  <dcbw@redhat.com>
17886
17887         * dhcpcd/client.c
17888                 - #rh147661# Don't send kernel version in DHCP requests
17889
17890         * src/NetworkManagerSystem.h
17891           src/backends/NetworkManagerDebian.c
17892           src/backends/NetworkManagerGentoo.c
17893           src/backends/NetworkManagerRedHat.c
17894           src/backends/NetworkManagerSlackware.c
17895                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17896                         functions, they are no longer used anyway
17897
17898         * src/backends/NetworkManagerRedHat.c
17899                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17900                         addresses in an attempt to keep IPv6 local-scope addresses around
17901
17902 2005-02-10  Dan Williams  <dcbw@redhat.com>
17903
17904         * src/NetworkManager.c
17905                 - (nm_create_device_and_add_to_list): change the add message slightly
17906
17907         * src/NetworkManagerUtils.c
17908                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17909                         Return driver name to calling function
17910                 - (nm_get_driver_support_level): print out the driver a device is using
17911                         during the support check
17912
17913         Patch from Dave Woodhouse:
17914         * dhcpcd/udpipgen.c
17915                 - (in_cksum): copy last byte of odd-sized packets into a
17916                         'u_short' rather than a 'u_char', should fix wrong checksums
17917                         on big-endian platforms
17918
17919 2005-02-09  Dan Williams  <dcbw@redhat.com>
17920
17921         * Clean up usage of GSList objects and looping through their members
17922         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17923                 now.
17924         * Fix problem where even if scanning was turned off, card would still
17925                 cycle through frequencies.
17926
17927 2005-02-08  Dan Williams  <dcbw@redhat.com>
17928
17929         * panel-applet/NMWirelessApplet.c
17930                 - Fix for gtk 2.4
17931
17932 2005-02-08  Dan Williams  <dcbw@redhat.com>
17933
17934         Patch from Bill Moss
17935         * panel-applet/NMWirelessApplet.c
17936                 - Restore correct ESSID in tooltips
17937
17938 2005-02-07  Dan Williams  <dcbw@redhat.com>
17939
17940         * panel-applet/NMWirelessApplet.[ch]
17941                 - Add a context menu that contains:
17942                         Pause/Resume Wireless Scanning
17943                         Stop/Start All Wireless Devices
17944                         About...
17945                 - Grab active device strength off active device,
17946                         not its network
17947
17948         * panel-applet/NMWirelessAppletDbus.[ch]
17949                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17950                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17951                 - Update active device strength every 2 seconds, not every 1 second
17952
17953         * panel-applet/menu-info.c
17954                 - Only disable wired devices in the menu when they support carrier detection,
17955                         and don't currently have a link.  Non-carrier-detect devices will always
17956                         remain choosable
17957
17958         * src/Makefile.am
17959           src/NetworkManagerDbusUtils.[ch]
17960                 - Add new new dbus utils sources
17961
17962         * src/NetworkManager.c
17963                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17964                         with the boolean parameter
17965                 - Set scanning_enabled & wireless_enabled to TRUE
17966
17967         * src/NetworkManagerDbus.c
17968                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17969                 - Implement scanning & wireless enable/disable calls
17970                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17971
17972         * src/NetworkManagerDevice.c
17973                 - New link detection stuff again...
17974                         o  Create device's mainloop earlier (but don't run it earlier)
17975                         o  Hook up new carrier-detect support stuff
17976                         o  Add in the ethtool & mii support detection code
17977                 - Don't scan if scanning is disabled
17978
17979         * src/NetworkManagerPolicy.c
17980                 - Never automatically choose a device that doesn't support carrier detection
17981                 - Don't automatically choose a wireless device if wireless is disabled
17982
17983 2005-02-07  Dan Williams  <dcbw@redhat.com>
17984
17985         * libnm_glib/libnm_glib.c
17986                 - Small cleanup in element list iteration
17987
17988 2005-02-07  Dan Williams  <dcbw@redhat.com>
17989
17990         * src/NetworkManagerWireless.c
17991                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17992                         to be in line with the WEXT quality specification
17993
17994 2005-02-02  Dan Williams  <dcbw@redhat.com>
17995
17996         Patch from Nathan Fredrickson <nathan@silverorange.com>
17997         * Fix up compile for deprecation of libgnomeui
17998                 - Switch to <glib/gi18n.h> from <libintl.h>
17999                 - Remove <libgnomeui/libgnomeui.h> includes
18000                 - Use gtk_window_set_default_icon_from_file() rather than
18001                         gnome_window_set_default_icon_from_file()
18002
18003         * named/nm-named-manager.c
18004                 - (generate_named_conf): Fix return-nothing in non-void
18005                         function
18006
18007 2005-02-02  Dan Williams  <dcbw@redhat.com>
18008
18009         * Clean up unused variables and the like
18010
18011 2005-02-02  Dan Williams  <dcbw@redhat.com>
18012
18013         * src/NetworkManagerAPList.c
18014                 - (nm_ap_list_merge_scanned_ap): merge strength too
18015
18016         * src/NetworkManagerUtils.c
18017                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18018                         of locking issues by printing out prettier information than g_mutex_lock
18019                 - Print out names of mutexes registered with nm_register_mutex_desc()
18020                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18021                         us to seemingly block here for too long
18022
18023         * src/NetworkManager.c
18024           src/NetworkManagerAPList.c
18025           src/NetworkManagerDevice.c
18026                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18027                         so we get better debug information printed
18028
18029         * src/NetworkManagerDbus.c
18030                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18031                         since it sometimes has locking side effects
18032                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18033                         from 10s
18034                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18035                         we don't need a switch.  This gets called often enough that we can't block
18036                         until the scan mutex is acquired, because we'll block on device activation
18037                         and a few other things, which hangs main thread for too long.
18038
18039         * src/NetworkManagerPolicy.c
18040                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18041                         nm_device_need_ap_switch() will be called               
18042
18043 2005-02-02  Dan Williams  <dcbw@redhat.com>
18044
18045         * panel-applet/NMWirelessApplet.c
18046                 - Display name of wireless network we are connecting to or connected to
18047                         in the tooltip of the applet
18048
18049 2005-02-02  Dan Williams  <dcbw@redhat.com>
18050
18051         * src/NetworkManagerDHCP.c
18052                 - Hopefully fix double-default-route problem by cleaning up the default
18053                         route added by DHCP code right before the DHCP transaction begins
18054
18055 2005-02-02  Dan Williams  <dcbw@redhat.com>
18056
18057         * named/nm-named-manager.c
18058                 - Write out valid resolv.conf when we exit
18059
18060 2005-02-01  Dan Williams  <dcbw@redhat.com>
18061
18062         Patch from Colin Walters:
18063         * named/nm-named-manager.c
18064                 - Make multi-domain search options work
18065
18066 2005-01-31  Dan Williams  <dcbw@redhat.com>
18067
18068         * info-daemon/NetworkManagerInfoDbus.c
18069                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18070
18071         * src/NetworkManagerDevice.c
18072                 - (nm_device_new): Don't store the entire range struct, use only what we need
18073                         (which is currently avg_quality, max_quality, and frequencies).  Also
18074                         zero device structure when we've free'd it to maybe expose errors down
18075                         the line.
18076                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18077                         quality data from the card since quality will be useless during a scan.
18078                         Call updated wireless qual-to-percent function with values stored in
18079                         nm_device_new() earlier.
18080                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18081                         nm_device_get_bad_crypt_packets())
18082                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18083                         nm_device_new()
18084                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18085                         list if available.  Problem was this: when the WEP key is wrong, NM will
18086                         try OS then SK modes, and then get stuck in SK mode after that.  This
18087                         should reset it.
18088                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18089                         function
18090
18091         * src/NetworkManagerWireless.c
18092                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18093                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18094                         if that's all present, otherwise fall back to signal-to-noise ratios.
18095
18096 2005-01-29  Dan Williams  <dcbw@redhat.com>
18097
18098         * initscript/RedHat/NetworkManager
18099                 - Don't spit out sysctl stuff to console
18100
18101         * libnm_glib/libnm_glib.c
18102                 - (libnm_glib_init): call dbus_g_thread_init()
18103
18104         * panel-applet/NMWirelessAppletDbus.c
18105                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18106
18107         * src/NetworkManager.c
18108                 - (main): call dbus_g_thread_init()
18109
18110         * src/NetworkManagerAPList.c
18111                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18112                         so we can actually see what's there in a normal syslog
18113
18114         * src/NetworkManagerDevice.c
18115                 - (nm_device_activate_wireless): print out the "waiting for access point"
18116                         message only once, then say what access point we actually got after
18117                         the wait.
18118                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18119                         function, wait until the scan is done.  Scans may change the ESSID of
18120                         the card, making this function think we need to switch access points
18121                 - (nm_device_wireless_process_scan_results): for artificial access points
18122                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18123                         prevents collisions with the scanning code, which may change the card's
18124                         ESSID and cause the access point to get dropped from the device's AP
18125                         list.  Also increase the keep-around time to 2m from 60s since the max
18126                         scan interval could be 60s in some cases.
18127
18128         * src/NetworkManagerPolicy.c
18129                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18130                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18131                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18132                         between NM and NMI.
18133
18134 2005-01-27  Dan Williams  <dcbw@redhat.com>
18135
18136         * info-daemon/NetworkManagerInfoDbus.c
18137                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18138                         GConf, make a minimal entry for it (essid & timestamp)
18139
18140         * src/NetworkManagerAPList.c
18141                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18142                         NetworkManagerInfo isn't running
18143
18144         * src/NetworkManagerDbus.[ch]
18145                 - (nm_dbus_nmi_is_running): new function
18146
18147         * src/NetworkManagerDevice.c
18148                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18149                         address to garbage.
18150
18151         * src/NetworkManagerPolicy.c
18152                 - (nm_policy_activation_finish): On successful activation, make sure
18153                         the "best" AP has a MAC address, and don't tell NMI to add the
18154                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18155                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18156                         access point after refreshing our allowed list if it doesn't already
18157                         have a "best" access point.
18158
18159 2005-01-25  Dan Williams  <dcbw@redhat.com>
18160
18161         * panel-applet/NMWirelessAppletDbus.c
18162                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18163                         so we check for NM_DBUS_SERVICE rather than not for it
18164
18165         * libnm_glib/libnm_glib.c
18166                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18167                         ServiceOwnerChanged signal
18168
18169 2005-01-25  Dan Williams  <dcbw@redhat.com>
18170
18171         * configure.in
18172                 - Check DBUS version in configure, and set the C macros
18173                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18174
18175         * info-daemon/NetworkManagerInfoDbus.c
18176                 - Remove #if 0-d section of code that quit NMI if NM went away.
18177
18178         * panel-applet/NMWirelessAppletDbus.c
18179                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18180
18181         * src/NetworkManager.c
18182           src/NetworkManagerMain.h
18183           src/NetworkManagerDbus.c
18184                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18185                 - Make updating of our Allowed Wireless Network lists from NMI
18186                         an idle function in the main thread now, with a high priority.
18187
18188 2005-01-24  Dan Williams  <dcbw@redhat.com>
18189
18190         * panel-applet/gtkcellview.[ch]
18191           panel-applet/menu-info.c
18192                 - Fix GTK version checks to be <= rather than <
18193
18194         * test/Makefile.am
18195                 - Include the libtool archive of libnm_glib rather than
18196                         trying to pull in the .so
18197
18198 2005-01-24  Dan Williams  <dcbw@redhat.com>
18199
18200         * src/NetworkManagerDevice.c
18201           src/NetworkManagerDevicePrivate.h
18202                 - Block nm_device_new() until our device's worker thread has had a
18203                         chance to start up.  Fixes a race between main thread and worker
18204                         thread starting that caused activation requests to get lost.
18205
18206 2005-01-24  Dan Williams  <dcbw@redhat.com>
18207
18208         * initscript/RedHat/NetworkManager
18209                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18210                         to add the NM startup script at priority 50, which was
18211                         way too early
18212
18213 2005-01-24  Colin Walters  <walters@redhat.com>
18214
18215         * named/named.conf: Use any port for query source instead of
18216         restricting to port 53.
18217
18218 2005-01-24  Dan Williams  <dcbw@redhat.com>
18219
18220         * initscript/RedHat/NetworkManager
18221                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18222                         to add the NM startup script at priority 50, which was
18223                         way too early
18224
18225 2005-01-24  Dan Williams  <dcbw@redhat.com>
18226
18227         Patch from Tom Parker <palfrey@tevp.net>
18228         * Fix up compile warnings & errors in the wireless applet
18229
18230 2005-01-24  Dan Williams  <dcbw@redhat.com>
18231
18232         * panel-applet/NMWirelessApplet.c
18233                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18234
18235 2005-01-24  Dan Williams  <dcbw@redhat.com>
18236
18237         * panel-applet/gtkcellview.[ch]
18238                 - Only compile these files for GTK 2.4 or lower, since 
18239                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18240                         when choosing "Other Wireless Networks" from the panel
18241                         applet menu
18242
18243 2005-01-21  Dan Williams  <dcbw@redhat.com>
18244
18245         * src/NetworkManager.c
18246                 - Daemonize earlier so that glib doesn't get confused (?)
18247
18248 2005-01-21  Dan Williams  <dcbw@redhat.com>
18249
18250         * panel-applet/NMWirelessApplet.[ch]
18251           panel-applet/NMWirelessAppletDbus.c
18252           panel-applet/menu-info.c
18253           src/NetworkManagerDevice.c
18254                 - Disable wired devices in the menu when they have no link.
18255
18256 2005-01-21  Dan Williams  <dcbw@redhat.com>
18257
18258         * Cache last-known-good wireless authentication method in
18259                 NetworkManagerInfo, and use that method first during
18260                 wireless device activation.  Should speed up devices that
18261                 need Shared Key authentication method since Open System is
18262                 now the default.
18263
18264         * Remove the hack to not do full activation on wired connections
18265                 that are active when we launch, it causes too many problems
18266                 with name resolution and was a hack in the first place.
18267
18268         * Re-work wireless device activation again somewhat to have a
18269                 clearer chain of events and to use last-known-good
18270                 authentication method of the access point.  Also provide
18271                 better status throughout activation to ensure the applet
18272                 can tell the user exactly what's going on.
18273
18274         * Remove the "find wireless network" code and now simply attempt
18275                 to activate with that access point.  This reduces the delay
18276                 between selecting "Other wireless Network" and actually
18277                 connecting to that network.
18278
18279         * Correctly stop the device's worker thread when its removed.
18280
18281 2005-01-21  Dan Williams  <dcbw@redhat.com>
18282
18283         * dhcpcd/client.c
18284                 - Clean up some of the debug messages
18285
18286 2005-01-21  Dan Williams  <dcbw@redhat.com>
18287
18288         * Add new icons, more frames of animation
18289         * Remove some hacks to get the panel applet to display correct
18290                 status, an NM update will soon follow that will fix the
18291                 real issue.
18292
18293 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18294
18295         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18296         the first include for working i18n. Also, don't include it in .h files
18297         * panel-applet/NMWirelessApplet.h: Same
18298         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18299         * panel-applet/menu-info.c: Same
18300
18301 2005-01-18  Dan Williams <dcbw@redhat.com>
18302
18303         * dhcpcd/client.c
18304                 - Remove some debug messages
18305                 - Wrap others in #ifdef DEBUG/#endif
18306
18307         * src/NetworkManager.c
18308                 - Remove some debug messages
18309                 - Clarify some debug messages
18310                 - Remove code related to old single-thread wireless scanning
18311
18312         * src/NetworkManagerAP.[ch]
18313                 - New AP property "last_seen" to track how recently an AP was
18314                         found in a scan
18315                 - Start using 'const' more in function arguments
18316
18317         * src/NetworkManagerAPList.[ch]
18318                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18319                         of an AP found in an AP list from a source AP, or if not found
18320                         in the list add the source AP
18321                 - (nm_ap_list_combine): remove, no longer needed
18322
18323         * src/NetworkManagerDevice.c
18324                 - Each device now has a "worker" thread from start to end of its life.
18325                         Scanning for wireless devices now happens in that thread,
18326                         not in a single "wireless scanning thread" for all devices as
18327                         previously.  Activation consists of adding an idle handler to the
18328                         thread's main loop/context, which gets run at the next available
18329                         opportunity.
18330                 - Wireless scanning is also simplified, there is now only one list of
18331                         access points per wireless device, and APs older than 60s are
18332                         removed from the list.  Previously, we kept results for the last
18333                         3 scans and merged whole lists, which was complicated.
18334                 - Cleaned up activation debug messages.
18335                 - Wireless activation and access-point search routines now use Open System
18336                         authentication before trying Shared Key.
18337                 - Removed some code in nm_device_update_best_ap() that could cause cards
18338                         to loose their link to the access point.
18339                 - Scanning now uses a backoff algorithm, where the inverval becomes
18340                         progressively longer between scans when the list of scanned access
18341                         points doesn't change.  A change will revert to the shortest scan
18342                         interval (20s).
18343
18344         * src/NetworkManagerWireless.[ch]
18345                 - Remove code related to old single-thread wireless scanning
18346
18347 2005-01-18  Colin Walters  <walters@redhat.com>
18348
18349         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18350         of older nameservers.
18351
18352 2005-01-18  Colin Walters  <walters@redhat.com>
18353
18354         * named/nm-named-manager.c (generate_named_conf): Many fixes
18355         to config file generation.
18356         (safer_kill): Remove, was too much trouble for little gain.
18357         (nm_named_manager_start): Run named as NM_NAMED_USER.
18358
18359         * configure.in: Add option --with-named-user.
18360
18361 2005-01-14  Colin Walters  <walters@redhat.com>
18362
18363         Patch from ed@catmur.co.uk (Ed Catmur)
18364
18365         * named/nm-named-manager.c: Add "context" property.
18366         Use it to add child watch source in specific GMainContext.
18367
18368         * src/NetworkManager.c (nm_data_new): Initialize
18369         named with correct main context.  Start named only
18370         after forking.
18371
18372 2005-01-14  Colin Walters  <walters@redhat.com>
18373
18374         * named/nm-named-manager.c (generate_named_conf): Write config
18375         and pid files into NM_NAMED_DATA_DIR; this allows things to
18376         work better with FC3 named SELinux policy.  Also fix up silly
18377         format error.
18378
18379         * configure.in: Add --with-named-dir option.
18380
18381 2005-01-14  Colin Walters  <walters@redhat.com>
18382
18383         * configure.in: Make named support require passing --with-named.
18384
18385         * named/nm-named-manager.c: Support writing resolv.conf directly
18386         without running named.
18387
18388 2005-01-13  Dan Williams <dcbw@redhat.com>
18389
18390         * named/nm-named-manager.c
18391                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18392
18393         * src/NetworkManagerDevice.c
18394                 - Rework wireless link detection code to be more reliable
18395
18396 2005-01-12  Dan Williams <dcbw@redhat.com>
18397
18398         * initscripts/RedHat/NetworkManager
18399                 - Change initial level to "-" rather than "345" so that
18400                         we don't activate ourselves by default on install
18401
18402 2005-01-12  Dan Williams <dcbw@redhat.com>
18403
18404         * libnm_glib/
18405                 - Client library for applications using glib
18406
18407         * configure.in
18408           various Makefiles
18409                 - Split NM_CFLAGS and NM_LIBS into separate variables
18410                         like DBUS_*, HAL_* and GLIB_*
18411
18412         * src/NetworkManager.c
18413           src/NetworkManagerMain.h
18414                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18415                         broadcast a status changed signal over DBUS from the main thread.
18416                         Still unused anywhere for the moment.
18417
18418         Patch from j@bootlab.org
18419         * panel_applet/NMWirelessAppletDbus.c
18420           src/NetworkManagerDbus.c
18421                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18422                         for the "getMode" method call
18423
18424 2005-01-10  Dan Williams <dcbw@redhat.com>
18425
18426         * src/NetworkManagerDevice.c
18427                 - Minor fixups & corrections to "auto" frequency mode, make it
18428                         less chatty with syslog
18429
18430 2005-01-10  Dan Williams <dcbw@redhat.com>
18431
18432         * src/NetworkManagerDevice.c
18433                 - Implement "auto" frequency/channel support, since cards like Atheros
18434                         can't use other frequencies at all when you've told it to use a
18435                         specific one, even for scanning.
18436                 - Grab the scan mutex around places where we can't tolerate wireless
18437                         settings changing underneath us, like nm_device_wireless_network_exists()
18438                         and nm_device_activate_wireless()
18439
18440         * src/NetworkManagerWireless.c
18441                 - Back scan interval off to 20s instead of 14s
18442
18443 2005-01-09  Dan Williams <dcbw@redhat.com>
18444
18445         * src/NetworkManagerDevice.c
18446                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18447                         already set.  Stops some drivers like Atmel from continually
18448                         reloading the firmware, which they do upon every configuration
18449                         change.
18450
18451 2005-01-09  Dan Williams <dcbw@redhat.com>
18452
18453         * dhcpcd/client.c
18454                 - Use correct timeout value
18455
18456         * info-daemon/NetworkManagerInfoDbus.c
18457           src/NetworkManagerDbus.c
18458                 - Consolidate communication between NM and NMI by doing only 1 dbus
18459                         method call to get Wireless Network info from NMI instead of 6
18460
18461         * src/NetworkManager.c
18462                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18463                         when we didn't have an AP to use, we'd wait for one forever without
18464                         quitting
18465
18466         * src/NetworkManagerDevice.c
18467                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18468                         activation, dhcp might not have started yet but we don't quit activation
18469                         before starting it, so the quit signal gets lost
18470
18471 2005-01-07  Dan Williams <dcbw@redhat.com>
18472
18473         * dhcpcd/client.c
18474                 - Rework the DHCP client code to be much less chatty when
18475                         it receives non-DHCP UDP packets during the DHCP run
18476                         (reported by and preliminary patches from Bill Moss)
18477
18478         * Move wireless scanning to a separate thread.  This thread forwards the
18479                 results to the main thread when done where they are integrated into
18480                 the device's access point lists.  This keeps the main thread (which
18481                 does all the DBUS communication) from being blocked for long periods
18482                 of time by wireless scanning.
18483
18484         * Make state modification an idle routine in the main loop, and trigger
18485                 state changes rather than polling for them.
18486
18487         * src/backends/NetworkManagerGentoo.c
18488                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18489
18490         * src/NetworkManagerDevice.c
18491                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18492                         router advertisements, causing problems and infinite loop
18493                         during "best" device determination due to link going up/down
18494                         (reported by Bill Moss)
18495
18496         Apply patch from Peter Jones
18497         * src/NetworkManagerDevice.c
18498                 - Shortcut for link-checking for ipw2x00 cards
18499                 - Split out association check into separate routine
18500
18501 2004-01-05  Colin Walters  <walters@redhat.com>
18502
18503         * named/named.conf: Add PID_FILE.
18504
18505         * named/nm-named-manager.c: Always generate a pid
18506         file, since older BIND versions don't support
18507         "pid-file none".
18508
18509 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18510
18511         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18512
18513 2004-12-22  Dan Williams <dcbw@redhat.com>
18514
18515         * src/NetworkManagerDevice.c
18516                 - Silently fail when setting bitrate doesn't work
18517
18518
18519         Patches from j@bootlab.org:
18520         * src/backends/NetworkManagerDebian
18521                 - Update backend to match functionality in RedHat backend
18522         * src/NetworkManagerDevice.c
18523                 - Take down then bring up wired devices after connection so
18524                 they send out ipv6 router advertisements
18525
18526 2004-12-21  Colin Walters  <walters@verbum.org>
18527
18528         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18529         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18530
18531 2004-12-21  Colin Walters  <walters@redhat.com>
18532
18533         * configure.in: Correct named detection.
18534
18535 2004-12-21  Colin Walters  <walters@redhat.com>
18536
18537         * src/NetworkManager.c (nm_data_new): Initialize named.
18538         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18539         the mainloop when these signals are received.
18540         (nm_data_free): Unref named.
18541         (sigterm_handler, sigterm_pipe_handler): New functions for
18542         exiting mainloop.
18543         
18544         * src/NetworkManagerMain.h (NMData): Add signal handling and
18545         nameserver bits.
18546
18547         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18548         unref.
18549
18550         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18551         set nameservers from DHCP response data.
18552         (set_domain_search): Set domain search from DHCP response.
18553         (nm_device_dhcp_configure): Invoke them.
18554
18555         * src/NetworkManagerSystem.c
18556         (nm_system_device_update_resolv_conf): Delete.  Deleting
18557         code is totally sweet.
18558
18559         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18560
18561         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18562         implements an object which controls a nameserver.  Currently
18563         uses bind 9.
18564
18565         * configure.in: Check for named.
18566
18567         * Makefile.am (SUBDIRS): Add named dir.
18568
18569         * named/named.conf: New template config file.
18570
18571 2004-12-20  Colin Walters  <walters@redhat.com>
18572
18573         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18574         instead of '='.
18575
18576 2004-12-17  Dan Williams  <dcbw@redhat.com>
18577
18578         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18579                 link-local addresses instead of doing DHCP.
18580
18581         * In the panel applet, there's a new "Create new Wireless Network..." item
18582
18583         * The panel applet also sticks around now even if NetworkManager dies, but
18584                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18585                 a bug, I'll fix that later.
18586
18587         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18588                 lookups after a switch rather than actually doing them.
18589
18590         * Clean up some of those warnings in nm_ap_list_* functions
18591
18592         * Delay between scans changed to 15s instead of 10s
18593
18594 2004-12-15  Dan Williams  <dcbw@redhat.com>
18595
18596         Patch from Tom Parker
18597         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18598                 address
18599
18600         * Longer pause after setting ESSID on cards that support a larger number
18601                 of channels to give the card time to find the right channel
18602
18603         * Add system hook to restart mDNSResponder (or whatever the local implementation
18604                 of Multicast DNS is) when we activate interfaces
18605
18606 2004-12-15  Dan Williams  <dcbw@redhat.com>
18607
18608         * Rework the DHCP code again to revert to sending full ethernet frames
18609                 rather then relying on the kernel to do the right thing with our
18610                 packets.
18611
18612 2004-12-06  Dan Williams  <dcbw@redhat.com>
18613
18614         * dhcpcd/client.c
18615                 - Fix some minor errors in dhcp_handle_transaction() that caused
18616                         unexpected early timeouts of DHCP transactions
18617
18618         * dhcpcd/client.h
18619                 - DHCP retransmit time from 4s -> 5s
18620
18621 2004-12-05  Dan Williams  <dcbw@redhat.com>
18622
18623         * Major rework of the DHCP code, taking some cues from pump.  We don't
18624                 write raw Ethernet packets anymore, which simplifies the code quite
18625                 a bit.  The new code should be more robust, not hang in recvfrom()
18626                 as much, and generally work better.  This also means that we need
18627                 to force HAL/dbus to use a created GMainContext rather than the
18628                 default context, since having the DHCP renew/rebind thread using
18629                 its own GMainContext seemed to give dbus a fit.  There is also more
18630                 debugging information printed from the DHCP loop to help with future
18631                 problems.
18632
18633         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18634                 assume that the default gateway should be the DHCP server.
18635
18636         Patch from Matthew Schick <matt oss-institute org>
18637         * src/backends/NetworkManagerGentoo.c
18638                 - Fix compilation error due to missing "ip4_broadcast"
18639
18640 2004-12-03  Dan Williams  <dcbw@redhat.com>
18641
18642         * initscript/Makefile.am
18643         * initscript/Debian/NetworkManager
18644         * initscript/Gentoo/NetworkManager
18645         * initscript/RedHat/NetworkManager
18646         * initscript/NMLaunchHelper.c
18647                 - Remove NMLaunchHelper, if you need to wait until the network
18648                         comes up, use the dead code from CVS.
18649
18650 2004-12-01  Colin Walters  <walters@redhat.com>
18651         
18652         * configure.in: Suck in gcc warnings code from Rhythmbox,
18653         but use fewer default flags, and in particular add -Wno-unused,
18654         since the codebase has a lot of unused variables.
18655
18656         * test/nmtestdevices.c (create_device): 
18657         * test/nminfotest.c (get_network_string_property) 
18658         (get_networks_of_type): 
18659         * test/nmclienttest.c (main): 
18660         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18661         * initscript/NMLaunchHelper.c (get_nm_status): 
18662         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18663         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18664         Fix declarations after statements.
18665
18666 2004-12-01  Colin Walters  <walters@redhat.com>
18667
18668         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18669         (nmi_dbus_get_vpn_userpass): New method.
18670         (nmi_dbus_nmi_message_handler): Invoke it.
18671
18672         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18673
18674         * info-daemon/NetworkManagerInfoVPN.h,
18675         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18676         to requests for VPN passwords.
18677
18678         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18679
18680 2004-12-01  Colin Walters  <walters@redhat.com>
18681
18682         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18683         includes.
18684
18685 2004-12-01  Colin Walters  <walters@redhat.com>
18686
18687         * panel-applet/NMWirelessAppletDbus.c
18688         (nmwa_dbus_update_active_device_strength): Fix missing
18689         return value.
18690
18691 2004-12-01  Colin Walters  <walters@redhat.com>
18692
18693         * panel-applet/NMWirelessApplet.c: Add missing include.
18694
18695 2004-12-01  Colin Walters  <walters@redhat.com>
18696
18697         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18698         Remove useless CLAMP (); the value is unsigned, and the case tests
18699         qual->qual < 100, so the value must always be between 0 and 100.
18700
18701 2004-12-01  Colin Walters  <walters@redhat.com>
18702
18703         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18704
18705 2004-11-22  Colin Walters  <walters@verbum.org>
18706
18707         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18708         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18709         which is essentially a noop since nscd caches hosts on disk too.
18710         
18711 2004-11-22  Colin Walters  <walters@redhat.com>
18712
18713         * src/Makefile.am (NetworkManager_SOURCES): Add
18714         NetworkManagerDevicePrivate.h.
18715
18716 2004-11-22  Dan Williams <dcbw@redhat.com>
18717
18718         * src/NetworkManagerDevicePrivate.h
18719                 - Split out the NMDevice struct to a different file so that stuff like
18720                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18721
18722         * dhcpcd/client.c
18723                 - fprintf->syslog
18724                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18725                         need to cancel the dhcp request during the send and recv
18726
18727         * dhcpcd/client.h
18728                 - Move the DHCP option enum to dhcpcd.h
18729
18730         * src/NetworkManagerDHCP.c
18731                 - Split out the actual IP/netmask/etc setting code
18732                 - New Renew/Rebind functions
18733                 - New timer setup function for renew/rebind operations
18734
18735         * src/NetworkManagerDevice.c
18736                 - For device activation, if we are using DHCP then keep the activation thread
18737                         alive until device deactivation.  We need to renew/rebind the DHCP address
18738                         after the T1 (renew) and T2 (rebind) times have expired.
18739                 - Increase some timeouts after bringing wireless cards up/down
18740
18741 2004-11-17  Dan Williams <dcbw@redhat.com>
18742
18743         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18744                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18745                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18746                 show known access points that don't broadcast their ESSID in the menus without
18747                 any user intervention whatsoever.
18748
18749         * info-daemon/NetworkManagerInfoDbus.c
18750                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18751                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18752
18753         * src/NetworkManagerAP.[ch]
18754                 - Add a "user_addresses" data member to the NMAccessPoint structure
18755                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18756                         the user_addresses data member
18757
18758         * src/NetworkManagerAPList.c
18759                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18760                         the AP's reported address
18761                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18762
18763         * src/NetworkManagerDHCP.c
18764                 - Increase DHCP timeout from 25s -> 30s
18765
18766         * src/NetworkManagerDbus.[ch]
18767                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18768                         user addresses
18769
18770         * src/NetworkManagerDevice.c
18771                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18772                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18773                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18774                         So, we take the card down to clear it out.
18775                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18776                         too, since that's where the user_addresses are
18777
18778         * src/NetworkManagerPolicy.c
18779                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18780                         that wireless networks' user_addresses list upon successful activation
18781
18782 2004-11-16  Dan Williams <dcbw@redhat.com>
18783
18784         * src/NetworkManagerDevice.[ch]
18785                 - (nm_device_clear_activation_fail): new function
18786
18787         * src/NetworkManagerPolicy.c
18788                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18789                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18790
18791 2004-11-16  Dan Williams <dcbw@redhat.com>
18792
18793         * src/NetworkManagerDevice.c
18794                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18795                         leak the structure, better updating of now_scanning status
18796                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18797
18798 2004-11-15  Dan Williams <dcbw@redhat.com>
18799
18800         Major rework of link detection code.  We now use DHCP
18801         as part of the link detection which proves to be much more robust,
18802         and also supports Open System authentication for wireless networks.
18803
18804         We no longer use external DHCP client programs.  Instead, we use 
18805         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18806         which was written by:
18807                 Yoichi Hariguchi <yoichi@fore.com>
18808                 Sergei Viznyuk <sv@phystech.com>
18809                 http://www.phystech.com/download/
18810         It resides in the "dhcpcd" directory and was refactored into a general
18811         purpose DHCP client library by me.
18812
18813         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18814         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18815
18816 2004-11-15  Dan Williams <dcbw@redhat.com>
18817
18818         Patch from Tom Parker <palfrey@tevp.net>:
18819
18820         * src/NetworkManagerDevice.c
18821                 - Less output to console when no access
18822                         points are found during a scan
18823
18824 2004-11-15  Dan Williams <dcbw@redhat.com>
18825
18826         Patch from Tom Parker <palfrey@tevp.net>:
18827
18828         * src/backends/interface_parser.c
18829                 - Use g_strdup ()
18830                 - Check for inp == NULL
18831                 - use syslog ()
18832
18833 2004-11-13  Colin Walters  <walters@redhat.com>
18834
18835         Patch from Tom Parker <palfrey@tevp.net>:
18836
18837         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18838         
18839         * src/backends/NetworkManagerRedHat.c: Switch to
18840         including shvar.h instead of shvar.c.
18841
18842         * src/backends/NetworkManagerDebian.c: Don't include
18843         interface_parser.c in source file.
18844
18845         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18846         and interface_parser.[ch].
18847         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18848         Include shvar.c and shvar.h here.
18849         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18850         interface_parser.c and interface_parser.h here.
18851
18852 2004-11-12  Colin Walters  <walters@redhat.com>
18853
18854         * configure.in: Strip out TARGET_DISTRO and
18855         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18856         conditionals.
18857
18858         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18859         (libnmbackend_la_SOURCES): Use Automake conditionals
18860         to add distro-specific files.
18861
18862         * initscript/Makefile.am (SUBDIRS): Update to
18863         use conditionals.
18864
18865 2004-11-12  Colin Walters  <walters@redhat.com>
18866
18867         Patches from j bootlab org
18868
18869         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18870         Add interface_parser.[ch].
18871
18872         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18873         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18874
18875 2004-11-12  Colin Walters  <walters@redhat.com>
18876
18877         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18878         call to nmi_dbus_is_running too, not necessary anymore.
18879         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18880         pick up exit().
18881
18882 2004-11-11  Colin Walters  <walters@verbum.org>
18883
18884         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18885         Delete.
18886         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18887         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18888         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18889         This avoids a race condition that made it pretty easily
18890         possible to get two NetworkManagerInfo daemons running.
18891
18892 2004-11-11  Colin Walters  <walters@verbum.org>
18893         
18894         * src/NetworkManager.c (main): Use daemon(3).
18895
18896         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18897
18898         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18899
18900 2004-11-10 Dan Williams <dcbw@redhat.com>
18901
18902         Patches from j bootlab org
18903         * src/NetworkManagerDevice.c
18904                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18905                         whether the card has a link or not, some cards are slow
18906                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18907
18908         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18909                 - Disable the "Login" button on the passphrase dialog until the user
18910                         enters a valid passphrase or key
18911
18912         Patches from Tom Parker <palfrey tevp net>
18913         * src/backends/NetworkManagerDebian.c
18914                 - Add static IP support to the debian backend
18915
18916         * src/backends/interface_parser.[ch]
18917                 - Parse debian interface config files
18918
18919 2004-11-08 Dan Williams <dcbw@redhat.com>
18920
18921         * src/NetworkManagerDevice.c
18922                 - Some random fprintf->syslog conversions
18923                 - (nm_device_wireless_network_exists): double-check for network
18924                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18925
18926         * src/NetworkManagerWireless.[ch]
18927                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18928                         so that the binary->ascii conversion works (if unsigned, the bitshift
18929                         will fill with zeros, which is what's required).  Also mask bitshift
18930                         result with 0xF for futher assurance.
18931
18932 2004-11-06 Dan Williams <dcbw@redhat.com>
18933
18934         * src/NetworkManagerUtils.c
18935                 - (nm_get_wireless_driver_support_level): default to
18936                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18937                         flip this when changing from whitelist->blacklist of
18938                         wireless drivers
18939
18940 2004-11-05 Dan Williams <dcbw@redhat.com>
18941
18942         Patch from Robert Paskowitz:
18943         * src/backends/NetworkManagerGentoo.c
18944                 - Update static IP config code
18945
18946 2004-11-05 Dan Williams <dcbw@redhat.com>
18947
18948         * info-daemon/NetworkManagerInfoDbus.c
18949           src/NetworkManagerDbus.[ch]
18950           src/NetworkManagerDevice.c
18951                 - Keep track of the # of attempts to get the WEP key
18952                         from the user and pass that along to the info daemon
18953
18954 2004-11-05 Dan Williams <dcbw@redhat.com>
18955
18956         * src/NetworkManagerUtils.c
18957                 - Blacklist wireless cards rather than whitelisting them.
18958                 - Grab driver name from HAL rather than trying to find it
18959                         ourselves.
18960
18961 2004-11-03 Dan Williams <dcbw@redhat.com>
18962
18963         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18964                 - Disable OK button until valid data is entered
18965                         for encryption stuff too
18966
18967         * panel-applet/NMWirelessApplet.c
18968                 - Report card strength for current AP if the card
18969                         doesn't report strength data for scanned access
18970                         points
18971
18972         * src/NetworkManagerDevice.c
18973                 - Smooth out cards reported quality, Atmel card was
18974                         intermittently reporting no quality data but soon
18975                         recovers
18976
18977         * src/NetworkManagerWireless.c
18978                 - Better quality data percentage calculation.  Atmel
18979                         cards (mine at least) seem to report the quality
18980                         in percentage format already, so honor that
18981
18982         Patch from <j@bootlab.org>
18983         * NetworkManager.h
18984           info-daemon/NetworkManagerInfoPassphraseDialog.c
18985           info-daemon/passphrase.glade
18986           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18987           panel-applet/essid.glade
18988           src/NetworkManagerAP.c
18989           src/NetworkManagerDevice.c
18990           src/NetworkManagerWireless.[ch]
18991                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18992
18993 2004-11-03 Dan Williams <dcbw@redhat.com>
18994
18995         * src/NetworkManagerDevice.[ch]
18996                 - (nm_device_set_enc_key): Add parameter to set Authentication
18997                         Mode (Open System, Shared Key, or None).  We're still using
18998                         Shared Key for now though.
18999
19000 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19001
19002         * panel-applet/menu-info.c: change from bold text to light
19003         colored, may cause problems with some themes, i've tested a lot
19004         and they seem fine. 
19005
19006         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19007
19008 2004-11-01  Colin Walters  <walters@verbum.org>
19009
19010         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19011         (nm_wireless_128bit_key_from_passphrase): Add const.
19012
19013         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19014         (nm_ap_set_enc_key_source): Add const.
19015         
19016 2004-11-01  Colin Walters  <walters@verbum.org>
19017
19018         * .cvsignore: Update.
19019
19020 2004-10-29 Dan Williams <dcbw@redhat.com>
19021
19022         * src/NetworkManagerDevice.c
19023                 - (nm_device_wireless_network_exists): Actually use the encryption
19024                         key we got from the applet when attempting to find a wireless network
19025                 - Don't bring devices down so much since on some cards it triggers
19026                         firmware hotplugs each time
19027
19028         * src/NetworkManagerDbus.c
19029                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19030                         from the caller
19031
19032 2004-10-29 Dan Williams <dcbw@redhat.com>
19033
19034         * src/NetworkManager.c
19035                 - (nm_hal_device_property_modified): unlock a locked active
19036                         wireless device when a wired connection gets a link.
19037                         (Means you'll switch to wired whenever you plug in no
19038                         matter what).
19039
19040 2004-10-29 Dan Williams <dcbw@redhat.com>
19041
19042         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19043                 - New files, implement the "Other wireless network" dialog
19044
19045         * panel-applet/NMWirelessApplet.c
19046                 - Move "other wireless network" dialog to separate file
19047
19048         * panel-applet/NMWirelessAppletDbus.[ch]
19049                 - Take key and key_type paramaters for the set_device function
19050
19051         * panel-applet/essid.glade
19052                 - Add UI bits for encryption settings
19053
19054         * src/NetworkManagerDbus.c
19055                 - Retrieve key and key_type params for "setActiveDevice" method call
19056                         and pass them on
19057                 - unref AP returned from nm_device_get_best_ap() when needed
19058
19059         * src/NetworkManagerDevice.c
19060                 - (nm_device_get_best_ap): ref the ap before returning it
19061                 - unref AP returned from nm_device_get_best_ap() when needed
19062                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19063                         need to call nm_device_get_best_ap() here, it was pretty much
19064                         redundant anyway
19065                 - (AP_NEED_KEY): break second link check condition out into separate
19066                         function, and fix segfault when ap->enc_key_source was NULL
19067                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19068                         pass them along to nm_device_wireless_network_exists().  If the
19069                         network does exist, set the passed-in key+key_type on the AP
19070
19071         * src/NetworkManagerPolicy.c
19072                 - unref AP returned from nm_device_get_best_ap() when needed
19073
19074 2004-10-28 Dan Williams <dcbw@redhat.com>
19075
19076         * src/NetworkManagerUtils.c
19077                 - (nm_spawn_process): Fix a potential dereference of NULL
19078
19079         Patches from Peter Jones:
19080
19081         * src/NetworkManagerDevice.c
19082                 - (nm_device_test_wireless_extensions): Better check for
19083                         wireless devices
19084
19085         * src/NetworkManagerUtils.c
19086                 - (nm_spawn_process): Pass in valid stdout and stderr so
19087                         executed programs don't randomly SIGPIPE and fail
19088                 - (nm_get_wired_driver_support_level): quash hal warning
19089                         when checking for USB ethernet device
19090
19091 2004-10-27 Dan Williams <dcbw@redhat.com>
19092
19093         * info-daemon/NetworkManagerInfo.c
19094           info-daemon/NetworkManagerInfoDbus.c
19095           info-daemon/NetworkManagerInfoPassphraseDialog.c
19096           panel-applet/NMWirelessApplet.c
19097                 - Properly escape gconf keys
19098
19099         * src/NetworkManager.c
19100                 - remove unused variables
19101
19102         * src/NetworkManagerAP.c
19103                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19104                         refcount since it got set in nm_ap_new()
19105
19106         * src/NetworkManagerAPList.c
19107                 - (nm_ap_list_combine): Give up ownership of newly created
19108                         access points to the ap list, fixes memleak
19109
19110         * src/NetworkManagerDevice.c
19111                 - Remove cached_ap_list4 member since its not really needed
19112                 - (nm_device_wireless_network_exists): Try to get correct
19113                         encryption status of a found AP if its already in our
19114                         device list
19115                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19116                         memory allocs/deallocs a bit clearer and shorter-lived
19117
19118 2004-10-26 Ray Strode <rstrode@redhat.com>
19119
19120         * panel-applet/NMWirelessApplet.c:
19121           (custom_essid_item_selected):  kill some compiler
19122         warnings 
19123
19124 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19125
19126         * info-daemon/NetworkManagerInfoDbus.c
19127                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19128                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19129
19130 2004-10-23 Dan Williams <dcbw@redhat.com>
19131
19132         * info-daemon/NetworkManagerInfoDbus.c
19133                 - Trap the "DeviceActivationFailed" signal
19134
19135         * docs/NetworkManager DBUS API.txt
19136                 - Add "DeviceActivationFailed" signal
19137
19138         * panel-applet/NMWirelessAppletDbus.c
19139                 - Quash the "NetworkManager service not available" message
19140
19141         * src/NetworkManagerDbus.[ch]
19142                 - Add the "DeviceActivationFailed" signal
19143
19144         * src/NetworkManagerDevice.c
19145                 - Add support for activation_failed flag
19146                 - Fix deadlock where activation thread didn't clean itself up, making
19147                         main thread still believe it was alive forever (didn't reset activation
19148                         flags like activating, just_activated, etc when IP configuration
19149                         failed)
19150
19151         * src/NetworkManagerPolicy.c
19152                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19153                         for wireless networks, try to fall back to some other access point
19154
19155 2004-10-23 Dan Williams <dcbw@redhat.com>
19156
19157         * panel-applet/NMWirelessApplet.[ch]
19158                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19159                         to the applet object, so we can get tooltips
19160                 - Add tooltips (RH #136866)
19161
19162         * src/NetworkManagerDevice.c
19163                 - When trying to find a wireless network, try to connect with encryption
19164                         turned on first, so that we can more accurately detect whether or not
19165                         we need to use encryption for the actual association later on
19166
19167 2004-10-21 Dan Williams <dcbw@redhat.com>
19168
19169         * Add some support for telling NetworkManagerInfo to tell the user
19170                 that they are using a device that's not fully supported
19171
19172         * Fix some assertions in debug messages due to null access point args
19173
19174 2004-10-21 Dan Williams <dcbw@redhat.com>
19175
19176         * src/NetworkManagerDevice.c
19177                 - Don't try to activate/bring up/down unsupported
19178                         devices
19179
19180         * src/NetworkManagerUtils.c
19181                 - Fix case of PCI ID checks for driver support levels
19182
19183 2004-10-21 Dan Williams <dcbw@redhat.com>
19184
19185         * NetworkManager.h
19186                 - New file, now contains commonly used structures and bits
19187                         for the dbus API of NetworkManager
19188
19189         * Makefile.am
19190                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19191
19192         * src/NetworkManager.h
19193                 - Rename -> src/NetworkManagerMain.c
19194
19195         * Various fixups all around to use NetworkManager.h and new
19196                 src/NetworkManagerMain.h, remove redundant bits that got
19197                 moved into NetworkManager.h
19198
19199         * src/NetworkManagerDevice.[ch]
19200           src/NetworkManagerUtils.[ch]
19201           src/NetworkManagerPolicy.c
19202           src/NetworkManagerDbus.c
19203                 - Whitelist wireless drivers, and blacklist some wired
19204                         drivers.  Also blacklist cipsec and ethernet-over-usb
19205                         devices at this time (RH #135722, RH #135648)
19206                 - Don't leak unsupported devices out over dbus, or allow
19207                         them to be set as the active device.  Skip over them
19208                         during automatic device picking
19209
19210         * test/nmclienttest.c
19211                 - Clean up the dbus code a lot
19212
19213 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19214
19215         * configure.in: post release bump.
19216
19217 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19218
19219         * configure.in:
19220         * NEWS: Released NetworkManager-0.3.1
19221
19222 2004-10-18 Dan Williams <dcbw@redhat.com>
19223
19224         Patches from Thom May:
19225         * test/nmtestdevices.c
19226                 - Include <string.h>
19227         * src/backends/NetworkManagerDebian.c:
19228                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19229                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19230                         Move to using g_strdup_printf rather than arbitrary buffers
19231                 - (nm_system_device_setup_static_ip4_config) Implement function.
19232                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19233
19234 2004-10-17 Dan Williams <dcbw@redhat.com>
19235
19236         * info-daemon/NetworkManagerInfoDbus.c
19237                 - Display name of network in the "network not found" dialog
19238
19239         * panel-applet/NMWirelessAppletDbus.c
19240                 - (nmwa_dbus_call_nm_method): new function replaces all other
19241                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19242                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19243                         consolidated into nmwa_dbus_get_object_name()
19244
19245 2004-10-15 Dan Williams <dcbw@redhat.com>
19246
19247         * src/NetworkManagerDbus.c
19248           info-daemon/NetworkManagerInfoDbus.c
19249                 - Display an error dialog when the user tries to use an
19250                         "Other wireless network" that's not found.
19251
19252 2004-10-15 Dan Williams <dcbw@redhat.com>
19253
19254         * panel-applet/NMWirelessApplet.[ch]
19255                 - Fix up corner cases in applet state, making it
19256                         look more responsive.  Change state to "connecting" when
19257                         the user is forcing a device too.
19258
19259 2004-10-15 Dan Williams <dcbw@redhat.com>
19260
19261         * src/NetworkManagerAPList.c
19262                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19263
19264         * src/NetworkManagerDbus.c
19265                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19266
19267         * src/NetworkManagerDevice.c
19268                 - Disown APs after the device's AP list takes ownership
19269
19270 2004-10-15 Dan Williams <dcbw@redhat.com>
19271
19272         * panel-applet/NMWirelessApplet.c
19273                 - Update our applet state from the GUI thread
19274
19275         * panel-applet/NMWirelessAppletDbus.c
19276                 - Greatly simplify the locking to make the GUI thread
19277                         smoother.  Update a private copy of the device list
19278                         and active device and only when done talking to
19279                         NetworkManager turn it over to the GUI thread.
19280
19281 2004-10-15 Dan Williams <dcbw@redhat.com>
19282
19283         * src/NetworkManagerAP.[ch]
19284                 - Add "artificial" get/set functions, set for APs that
19285                         aren't discovered as part of a scan but instead
19286                         discovered by force-setting the ESSID
19287
19288         * src/NetworkManagerDevice.[ch]
19289                 - (nm_device_wireless_network_exists): pass back whether
19290                         or not the discovered AP was encrypted.  Also, try
19291                         falling back to encrypted mode on the card if unencrypted
19292                         association doesn't work
19293                 - (nm_device_find_and_use_essid): If the network requested
19294                         did in fact exists, but it wasn't in our scan list, add
19295                         an "artificial" entry for it.  Some Cisco cards don't
19296                         see non-ESSID-broadcasting APs in their scan but can still
19297                         associate with them if you know the ESSID, this works around
19298                         that behavior
19299                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19300                         to scan if the card is currently associated with that AP
19301
19302 2004-10-15 Dan Williams <dcbw@redhat.com>
19303
19304         ---- We have a website ----
19305         http://people.redhat.com/dcbw/NetworkManager
19306
19307         Patch from Robert Paskowitz:
19308         * src/NetworkManager.c
19309                 - (main): Make sure we are run as root
19310         * src/NetworkManagerDevice.c
19311                 - Fix type in ad-hoc setting function
19312
19313         Patch from Thom May:
19314         * src/backends/NetworkManagerDebian.c
19315                 - Make Debian backend compile again
19316
19317 2004-10-14 Dan Williams <dcbw@redhat.com>
19318
19319         * Tagged NetworkManager-0_3
19320
19321 2004-10-14 Dan Williams <dcbw@redhat.com>
19322
19323         Patch from Robert Paskowitz:
19324         * NEWS
19325           src/NetworkManagerDevice.[ch]
19326           src/backends/NetworkManagerDebian.c
19327           src/backends/NetworkManagerGentoo.c
19328           src/backends/NetworkManagerRedHat.c
19329           src/backends/NetworkManagerSlackware.c
19330                 - Add support for grabbing and using a broadcast address
19331                         from system config files
19332                 - Some Gentoo backend fixes for grabbing network config
19333                 - Fix LOG_WARN->LOG_WARNING
19334
19335 2004-10-14 Dan Williams <dcbw@redhat.com>
19336
19337         * NEWS: a few small fixes in the credits
19338
19339 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19340
19341         * NEWS: prep for release.
19342
19343 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19344
19345         * panel-applet/NMWirelessAppletDbus.c
19346         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19347
19348 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19349
19350         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19351         applet->state == APPLET_STATE_NO_NM animation.
19352
19353         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19354         set the text correctly.
19355
19356 2004-10-14 Dan Williams <dcbw@redhat.com>
19357
19358         * src/NetworkManager.c
19359                 - Only accept and manager 802.3 and 802.11 devices
19360
19361         * src/NetworkManagerDbus.[ch]
19362                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19363                         logic into NetworkManagerDevice.c
19364                 - (nm_dbus_network_status_from_data): new function
19365                 - (nm_dbus_signal_network_status_change): new function, unused for now
19366                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19367
19368         * src/NetworkManagerDevice.[ch]
19369                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19370                         a random ESSID.
19371
19372 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19373
19374         * info-daemon/NetworkManagerInfo.c 
19375                 - (main): Added session management
19376
19377 2004-10-14 Dan Williams <dcbw@redhat.com>
19378
19379         * panel-applet/NMWirelessAppletDbus.[ch]
19380                 - Expose network_device_[un]ref()
19381                 - Expose wireless_network_[un]ref()
19382                 - (wireless_network_new_with_essid): new function, create and return
19383                         a wireless network with a particular essid
19384
19385         * panel-applet/NMWirelessApplet.c
19386                 - Hook up the "other network" dialog to do something
19387
19388 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19389
19390         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19391         doesn't work yet, but it looks okay.
19392
19393         * panel-applet/icons/*png: Resize to 22x22 and install in the
19394         right place.
19395
19396 2004-10-13 Dan Williams <dcbw@redhat.com>
19397
19398         * panel-applet/NMWirelessApplet.c
19399                 - Add function to print out applet_state in a readable
19400                         manner
19401
19402         * src/NetworkManager.c
19403                 - (main): Don't segfault when nm_dbus_init() fails, we had
19404                         a left-over call to hal_shutdown() into which we passed NULL
19405
19406         * src/NetworkManagerAP.c
19407                 - (nm_ap_set_essid): Allow NULL essids
19408
19409         * src/NetworkManagerAPList.[ch]
19410                 - More use of nm_ap_list_[un]lock ()
19411                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19412                         network/essid, just return nothing.  Also skip over NULL
19413                         essid access points in the list when searching
19414                 - (nm_ap_list_get_ap_by_address): new function
19415                 - (nm_ap_list_update_network): set the access point's key source to
19416                         NULL when the key returned from NetworkManagerInfo is NULL or
19417                         of 0 length
19418                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19419                         copy timestamp over too
19420                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19421                         find the correct ESSID for a blank-essid access point by searching
19422                         through another list and matching access point MAC addresses
19423                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19424
19425         * src/NetworkManagerDbus.c
19426                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19427                         may specify.  This is mainly for access points that don't
19428                         broadcast their essid.  So if the user tells us to associate with
19429                         some random ESSID that's not in our access point list, we find
19430                         out if the access point does in fact exist (by attempting association
19431                         and then matching that access point's MAC address with the essid the
19432                         user gave us) and then we switch to it.
19433                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19434                         to the returned list of networks for the "getNetworks" method
19435
19436         * src/NetworkManagerDevice.[ch]
19437                 - Extra debugging info for link detection
19438                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19439                         based on MAC address
19440                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19441                 - (nm_device_wireless_network_exists): new function, find out whether
19442                         a random ESSID exists by attempting to associate with it
19443                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19444                         device list as long as they have an AP MAC address we can use.
19445                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19446                         devices too.  Lets the applet update more frequently.
19447
19448         * src/backends/NetworkManagerGentoo.c
19449                 - Patch from: Robert Paskowitz
19450                         - Update backend code for Gentoo
19451                         - Implement nm_system_device_update_config_info ()
19452
19453         * test/nmclienttest.c
19454                 - (set_network_device): new function, takes a command-line argument
19455                         and tells NetworkManager to use that wireless network
19456
19457 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19458
19459         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19460         if the notification icon crashes 5 times within 5 seconds of each respawn 
19461
19462 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19463
19464         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19465         g_print.
19466
19467 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19468
19469         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19470
19471         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19472         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19473         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19474         Change the name of the icons.
19475
19476         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19477         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19478         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19479         (nm_menu_wireless_expose_event): Really bad hack to get the style
19480         to draw in the right color.
19481
19482 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19483
19484         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19485         Notification if it crashes
19486
19487 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19488
19489         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19490         (nmwa_dbus_get_string): remove unused functions
19491
19492         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19493         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19494         remove unused functions
19495
19496         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19497
19498 2004-10-12 Dan Williams <dcbw@redhat.com>
19499
19500         * panel-applet/NMWirelessAppletDbus.c
19501                 - New functions:
19502                         wireless_network_new
19503                         wireless_network_copy
19504                         network_device_new
19505                         network_device_copy
19506
19507         * src/NetworkManagerDevice.[ch]
19508                 - New functions:
19509                         nm_device_set_mode_managed
19510                         nm_device_set_mode_adhoc
19511                 - Use these functions where appropriate
19512                 - When creating a new wireless device, force the card
19513                         to managed/Infrastructure mode as soon as possible
19514
19515 2004-10-12 Dan Williams <dcbw@redhat.com>
19516
19517         * src/NetworkManagerDevice.c
19518                 - Force wireless cards into Infrastructure mode before we use them
19519
19520 2004-10-12 Dan Williams <dcbw@redhat.com>
19521
19522         * TODO
19523                 - Remove bit about static IP address support
19524
19525         * src/NetworkManagerUtils.c
19526                 - (nm_spawn_process): Add some error reporting
19527
19528         * src/NetworkManagerDevice.c
19529                 - (nm_device_activation_configure_ip): hook up to the static config
19530                         routines in the backends
19531
19532         * src/backends/NetworkManagerRedHat.c
19533                 - (nm_system_device_update_config_info): use shvar.c routines to
19534                         parse the config file iformation, not our own
19535                 - (nm_system_device_setup_static_ip4_config): new function, based
19536                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19537                         with a static IP address and gateway
19538
19539         * src/backends/shvar.[ch]
19540                 - Parser (filched from initscripts package) for ifcfg-* files
19541
19542         * src/backends/NetworkManagerSystem.h
19543           src/backends/NetworkManagerGentoo.c
19544           src/backends/NetworkManagerDebian.c
19545           src/backends/NetworkManagerSlackware.c
19546                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19547
19548 2004-10-11 Dan Williams <dcbw@redhat.com>
19549
19550         * TODO
19551                 - Remove bit about more robust AP diffing since I just implemented it
19552
19553 2004-10-11 Dan Williams <dcbw@redhat.com>
19554
19555         * src/NetworkManagerAP.c
19556                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19557                         enough RAM to allocate new AP structures, but return NULL instead
19558
19559         * src/NetworkManagerAPList.[ch]
19560                 - (nm_ap_list_is_empty): new function
19561                 - (nm_ap_list_combine): new function, combine two access point lists
19562                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19563                         into another
19564
19565         * src/NetworkManagerDevice.[ch]
19566                 - Rename some functions to be clearer:
19567                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19568                         nm_device_just_activated     -> nm_device_is_just_activated
19569                         nm_device_activating         -> nm_device_is_activating
19570                         nm_device_now_scanning       -> nm_device_is_scanning
19571                 - Cache the last 4 scans so that the access point list is more stable.
19572                         We combine the lastest two scans and use that as the AP list,
19573                         and diff that combined list against the combination of the earliest
19574                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19575
19576 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19577
19578         * info-daemon/NWManagerInfo.h
19579                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19580
19581         * info-daemon/NWManagerInfoDbus.c
19582                 - (shutdown_callback): new function
19583                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19584                         if NetworkManager goes away.  Kill the timeout
19585                         if NetworkManager restarts before the 30 seconds
19586                         are up.
19587                 - (nmi_dbus_service_init): 
19588                         - call gtk_main_quit if NetworkManager is not running
19589                         - add filters to monitor dbus service creations and
19590                                 deletions
19591         
19592 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19593
19594         * panel-applet/NMWirelessApplet.c
19595                 - (nmwa_update_state): Hide notification icon if we are only
19596                         showing one wired card and no wireless interfaces 
19597                         (Red Hat Bug #134895)
19598
19599         * panel-applet/NMWirelessAppletDbus.c
19600                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19601
19602         * info-daemon/NWManagerInfo.c
19603                 - (main): Terminated the notification_icon_cmd array with a NULL
19604
19605 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19606
19607         * configure.in (ALL_LINGUAS): Added de (German).
19608
19609 2004-10-08 Dan Williams <dcbw@redaht.com>
19610
19611         * src/NetworkManagerDevice.c
19612                 - Be a bit more robust about link checking, ie make sure that
19613                         the WEP key we were given actually has some data in it
19614
19615 2004-10-08 Dan Williams <dcbw@redhat.com>
19616
19617         * info-daemon/NetworkManagerInfo.c (main):
19618                 - Initialize GError object to NULL
19619
19620 2004-10-08 Dan Williams <dcbw@redhat.com>
19621
19622         * panel-applet/NMWirelessAppletDbus.c
19623                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19624
19625 2004-10-08 Dan Williams <dcbw@redhat.com>
19626
19627         * info-daemon/NetworkManagerInfo.[ch]
19628           info-dameon/NetworkManagerInfoDbus.[ch]
19629           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19630                 - Preserve original label text in the passphrase dialog so that
19631                         it actually gets updated with the new network name the next
19632                         time around.  Previously, we were overwriting it so you'd get
19633                         the wrong network name to enter a key for
19634                 - Add a "Key Type" combo to the passphrase dialog, user selects
19635                         encryption key type now, type is stored in GConf too
19636                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19637
19638         * src/NetworkManagerAP.[ch]
19639                 - Remove all the encyption method magic.  It's now set by the user
19640                         and NetworkManager retrieves the type of encryption key from
19641                         NetworkManagerInfo
19642
19643         * src/NetworkManagerAPList.[ch]
19644           src/NetworkManagerDbus.[ch]
19645                 - Adjust to new way of setting encryption key and method
19646                 - Pull encryption method down from NMI along with key
19647
19648         * src/NetworkManagerDevice.[ch]
19649                 - Removed encryption method fallback magic as the method is now
19650                         determined by the user.  This greatly simplifies the connection
19651                         logic.
19652                 - More robust connection/link logic.  Besides removing the encryption
19653                         method fallback magic, check whether or not the card is receiving
19654                         invalidly encrypted packets, which usually indicates that we have
19655                         a bad WEP key set.
19656                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19657
19658         * test/nminfotest.c
19659                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19660
19661 2004-10-07 Dan Williams <dcbw@redhat.com>
19662
19663         * info-daemon/NetworkManagerInfo.conf
19664                 - Allow root user to run NMI too
19665
19666 2004-10-06 Dan Williams <dcbw@redhat.com>
19667
19668         * src/NetworkManagerDevice.[ch]
19669           src/NetworkManagerDbus.c
19670           doc/NetworkManager DBUS API.txt
19671                 - Add a new status tag "scanning", which is set when there
19672                         is no active network connection, but NetworkManager is
19673                         looking for an access point to associate with
19674
19675         * panel-applet/main.c
19676                 - Cast the applet appropriately for gtk_widget_show_all ()
19677
19678 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19679
19680         * panel-applet/eggtrayicon.[ch]:
19681         * panel-applet/main.c: Add missing file
19682
19683 2004-10-04 Dan Williams <dcbw@redhat.com>
19684
19685         * src/NetworkManagerDevice.[ch]
19686                 - Add a slightly more robust method of determining if the WEP key
19687                         is correct or not, by checking the WEP-discarded packet count
19688                         on the card
19689
19690         * info-daemon/NetworkManagerInfo.c
19691                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19692                         un-escape values we pull out rather than escaping them
19693
19694 2004-10-03  Marcel Telka  <marcel@telka.sk>
19695
19696         * configure.in (ALL_LINGUAS): Added sk.
19697
19698 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19699
19700         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19701         and feel.  We should be back to working, and have a good, clean
19702         look.
19703
19704 2004-09-30 Dan Williams <dcbw@redhat.com>
19705
19706         * info-daemon/NetworkManagerInfo.c
19707           info-daemon/NetworkManagerInfoDbus.c
19708           test/nminfotest.c
19709                 - Escape ESSIDs in gconf
19710
19711         * src/NetworkManagerDevice.c
19712                 - Fix pseudo-scanning to use netowrk list from info daemon
19713
19714 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19715
19716         * configure.in: Add a temporary --enable-notification-icon.  This
19717         will prolly go away.
19718
19719         * info-daemon/Makefile.am:
19720         * info-daemon/NetworkManagerInfo.c:
19721         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19722
19723         * panel-applet/Makefile.am:
19724         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19725         * panel-applet/NMWirelessApplet.h:
19726
19727 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19728
19729         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19730         before 'select custom ESSID'.
19731
19732         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19733         fully complete, but syncing in prep for merge.
19734
19735         * panel-applet/icons/*png: New images
19736
19737 2004-09-28 Dan Williams <dcbw@redhat.com>
19738
19739         * src/NetworkManager.c
19740           src/NetworkManagerDevice.c
19741           src/NetworkManagerPolicy.c
19742                 - Don't blow away an active wired connection on startup
19743
19744 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19745
19746         Changes from J5
19747         
19748         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19749
19750         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19751         syslog output
19752
19753 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19754
19755         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19756         have a wireless card.
19757
19758 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19759
19760         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19761         Also, get the right device strings.
19762
19763 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19764
19765         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19766         the logic to make this right.
19767
19768         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19769         devices so that wired networks are always first.
19770
19771 2004-09-22    <clarkbw@cvs.gnome.org>
19772
19773         * initscript/Debian/.cvsignore:
19774         * initscript/Slackware/.cvsignore:
19775         Added new cvsignores for Makefile, Makefile.in
19776         
19777         * test/.cvsignore:
19778         Added nmtestdevices
19779         
19780         * src/NetworkManagerDevice.c: 
19781         * src/NetworkManager.c: 
19782         Updated the wireless/wired HAL device strings from net.ethernet to
19783         net.80203 or net.80211 depending on wired or wireless respectively
19784         
19785         * examples/python/NetworkManager.py: 
19786         s/Quality/Strength/
19787
19788         * examples/python/systray/network_tray.py:
19789         Lots of little changes and fixes.  been rotting for a while so I
19790         figured I'd finally sync them all with CVS
19791
19792 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19793
19794         * configure.in: Add graphics
19795
19796         * panel-applet/Makefile.am: Add graphics
19797
19798         * panel-applet/icons/*: Add graphics
19799
19800         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19801         the icons fully lined up.
19802
19803         * panel-applet/menu-info.c: 
19804         * panel-applet/menu-info.h: Add another menu type.
19805
19806 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19807
19808         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19809
19810         * panel-applet/menu-item.[ch]: Wireless menu item.
19811
19812 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19813
19814         * info-daemon/NetworkManagerInfo.conf
19815                 - Created a more robust security policy for the DBus service
19816                         - everything is denied by default
19817                         - root can own and send to the service
19818                         - users logged in at the console can send to the service
19819
19820 2004-09-13  Dan Williams <dcbw@redhat.com>
19821
19822         * src/NetworkManagerDevice.c
19823                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19824                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19825                         the latter
19826
19827 2004-09-13  Dan Williams <dcbw@redhat.com>
19828
19829         * TODO: fix typo
19830
19831         * docs/NetworkManager DBUS API.txt
19832                 - Update for new signal strength changes
19833
19834         * panel-applet/NMWirelessApplet.c
19835                 - Make panel icon show strength of the current connection
19836                 - Cleanups and memleak fixes
19837
19838         * panel-applet/NMWirelessApplet.h
19839                 - Add data members for signal strength on devices and networks
19840
19841         * panel-applet/NMWirelessAppletDbus.c
19842                 - Free more DBusErrors
19843                 - Update for new signal strength changes
19844                 - Make devices and networks more like real objects, use ref/unref methods
19845                 - Actually unlock the mutex when updating the active device
19846
19847         * src/NetworkManagerAP.c
19848                 - Change AP functions and data members from "quality"->"strength"
19849
19850         * src/NetworkManagerDbus.c
19851                 - Kill "getMaxQuality" and "getQuality" methods
19852                 - Add "getStrength" methods for Networks and Devices
19853
19854         * src/NetworkManagerDevice.[ch]
19855                 - Add accessors for device strength
19856                 - Add functions to update strength for a device.  Note that not all drivers
19857                         actually support signal strength for scanned access points (Atmel drivers
19858                         being one)
19859                 - Calculate signal strength for each AP during scan
19860
19861         * src/NetworkManagerWireless.[ch]
19862                 - Add function to return signal strength % from a device and a raw quality struct
19863
19864         * test/nmclienttest.c
19865                 - Update for new signal strength changes
19866
19867 2004-09-11  Dan Williams <dcbw@redhat.com>
19868
19869         * src/NetworkManager.c
19870                 - Fix race condition between initscripts and NM on card insertion
19871                         which could cause a card to keep an IP address and routes around
19872                         even when it was not the active device
19873
19874         * src/NetworkManagerDbus.c
19875                 - Fix compile errors, free more DBusErrors
19876
19877 2004-09-11  Dan Williams <dcbw@redhat.com>
19878
19879         * docs/NetworkManager DBUS API.txt
19880                 - Add an explanation of NM's API
19881
19882         * src/NetworkManagerDbus.c
19883                 - Free some more DBusErrors if needed
19884
19885 2004-09-11  Dan Williams <dcbw@redhat.com>
19886
19887         * panel-applet/NMWirelessApplet.c
19888           panel-applet/NMWirelessAppletDbus.c
19889                 - Start using NetworkDevice/WirelessNetwork structures in more places
19890                 - Update for unified device/network forcing in NetworkManager
19891
19892         * src/NetworkManager.c
19893                 - some code consolidation
19894
19895         * src/NetworkManagerDbus.c
19896                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19897                         or two arguments:  the first is the NM ID of the device to switch to,
19898                         and the second (optional) argument is the ESSID of a wireless network
19899                         to use as well.
19900                 - Get rid of "setNetwork" method due to above change
19901
19902         * src/NetworkManagerDevice.c
19903                 - (nm_device_new): perform scan and update best AP on device creation
19904                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19905                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19906                         spin waiting for cancellation to finish before returning
19907
19908         * src/NetworkManagerPolicy.c
19909                 - Changes here clarify the situations in which a device switch occurs, and 
19910                         make sure to keep using a forced device and network if the user gives
19911                         us one
19912                 - Remove old unused code
19913
19914 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19915
19916         * configure.in: Added Danish (da) to ALL_LINGUAS.
19917
19918 2004-09-09  Dan Williams <dcbw@redhat.com>
19919
19920         * panel-applet/NMWirelessAppletDbus.c
19921                 - Pull fresh devices and networks from NM when wireless networks
19922                         change.  Provides faster feedback of a forced wireless network
19923
19924         * src/NetworkManagerDbus.c
19925                 - Return error when "getMaxQuality" is called on a wired device
19926                 - Make best_ap freezing actually work again, and signal cancellation
19927                         of activation if there's already a device activation when the user
19928                         freezes the best_ap
19929
19930         * src/NetworkManagerDevice.c
19931                 - Don't clear out the best_ap for wireless devices when the link goes
19932                         down, that's done elsewhere
19933                 - Kill any dhcp daemons when cancelling device activation since they
19934                         may be stuck waiting for a DHCP address, and since we're cancelling
19935                         activation we don't care about that anymore
19936
19937         * src/NetworkManagerPolicy.c
19938                 - Make sure to unref the device we ref earlier (we refed it to make sure
19939                         it stuck around during device activation and such)
19940                 - If we were going to change the best device, but its activating currently
19941                         (and therefore the change didn't occur due to the check earlier)
19942                         we mark the state changed to we come back to it later when device
19943                         activation has canceled and its no longer activating
19944
19945         * src/backends/NetworkManagerRedHat.c
19946                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19947
19948 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19949
19950         * info-daemon/passphrase.glade: 
19951         set passphrase input to activates_default : True
19952
19953         * examples/python/systray/network_tray.py
19954         (network_tray.sort_networks):
19955
19956         Added support for having wireless always scanning
19957
19958 2004-09-09  Dan Williams <dcbw@redhat.com>
19959
19960         NOTE: this commit changes the behavior of wireless devices in
19961         NetworkManager.  They are now up all the time, scanning all
19962         the time.  Only the active device has an IP address and routing
19963         information set up however.  Also, NetworkManager will no longer
19964         opportunistically switch wireless networks when a better one
19965         comes in range, it will remain associated with one wireless network
19966         until that one drops out.
19967
19968         * panel-applet/NMWirelessApplet.c
19969           panel-applet/NMWirelessAppletDbus.c
19970                 - List all wireless cards and their respective networks
19971
19972         * src/NMLoadModules
19973                 - Use full path to /sbin/ip
19974
19975         * src/NetworkManager.c
19976                 - Keep wireless devices up all the time so they can scan
19977
19978         * src/NetworkManagerDbus.c
19979                 - On a WirelessNetworkUpdate signal from NMI, don't update
19980                         the "best" AP
19981
19982         * src/NetworkManagerDevice.c
19983                 - (nm_device_set_link_active): clear out the best ap for
19984                         wireless devices when the link is set to FALSE
19985                 - Scan on all wireless cards, all the time
19986                 - (nm_device_activation_worker): split out the wireless card
19987                         link-waiting code to a separate function
19988                 - Keep wireless cards up even if device activation fails
19989                 - Don't update the "best" ap as much
19990
19991         * src/NetworkManagerPolicy.c
19992                 - Don't update the best ap when checking if its frozen,
19993                         let link checking clear out a frozen best ap for us
19994
19995         * src/NetworkManagerWireless.c
19996                 - Scan on all wireless cards, all the time
19997
19998 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19999
20000         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20001
20002 2004-09-09  Ankit Patel <ankit@redhat.com>
20003
20004         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20005
20006 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20007
20008         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20009
20010 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20011
20012         * examples/python/NetworkManager.py: 
20013         added CONNECTED, CONNECTING, and DISCONNECTED states
20014         added methods to return number of devices of a single type
20015
20016         * examples/python/systray/network_tray.py: 
20017         did some tweaks to get the menu looking near what it is supposed
20018         to look like.  Also did a Airo card hack to make it show the
20019         correct AP quality
20020
20021 2004-09-08  Dan Williams <dcbw@redhat.com>
20022
20023         * panel-applet/no-networkmanager.png
20024           panel-applet/Makefile.am
20025           panel-applet/NMWirelessApplet.c
20026                 - Add a "NetworkManager not running" icon and use it
20027                 - Use new consolidated GConf keys rather than Preferred/Trusted
20028
20029         * TODO: update
20030
20031         * info-daemon/NetworkManagerInfo.c
20032           info-daemon/NetworkManagerInfoDbus.[ch]
20033           info-daemon/NetworkManagerInfoPassphraseDialog.c
20034                 - There are now no longer two separate lists of wireless networks,
20035                         but one list where each network is "trusted" or not trusted
20036                 - Add a "getNetworkTrusted" dbus method
20037                 - "WirelessNetworkUpdate" signal now sent rather than
20038                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20039                 - Start freeing some dbus errors (not completed yet)
20040
20041         * info-daemon/passphrase.glade
20042                 - Remove the "don't show" hints for pager and taskbar
20043                 - Add a title since its going to be in the taskbar
20044
20045         * src/NetworkManager.[ch]
20046           src/NetworkManagerAPList.[ch]
20047                 - There are now no longer two separate lists of wireless networks,
20048                         but one list where each network is "trusted" or not trusted
20049
20050         * src/NetworkManagerAP.[ch]
20051                 - Add get/set "trusted" accessors and data bit
20052
20053         * src/NetworkManagerDbus.[ch]
20054                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20055                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20056
20057         * src/NetworkManagerDevice.[ch]
20058                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20059                 - (nm_device_new): Get device config from backend when initializing devices
20060                 - (nm_device_activation_worker): Split out device configuration on
20061                         activation to deal with static/dynamic IP differences, and try encryption
20062                         fallbacks on a device if the encryption method for the best AP is not good
20063                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20064                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20065
20066         * src/NetworkManagerWireless.c
20067                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20068
20069         * src/backends/NetworkManagerRedHat.c
20070           src/backends/NetworkManagerSystem.h
20071                 - (nm_system_device_update_config_info): Add function to get device configuration
20072                         from system data in ifcfg-* files
20073
20074         * src/backends/NetworkManagerDebian.c
20075           src/backends/NetworkManagerGentoo.c
20076           src/backends/NetworkManagerSlackware.c
20077                 - Add stub functions for getting device configuration
20078
20079 2004-09-07  Dan Williams <dcbw@redhat.com>
20080
20081         * src/backends/NetworkManagerRedhat.c
20082           src/backends/NetworkManagerSlackware.c
20083                 - Use full path to /sbin/ip everywhere
20084
20085 2004-09-07  Dan Williams <dcbw@redhat.com>
20086
20087         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20088
20089         * configure.in
20090           initscript/Makefile.am
20091           initscript/Slackware/Makfile.am
20092           initscript/Slackware/rc.networkmanager
20093           src/Makefile.am
20094           src/backends/NetworkManagerSlackware.c
20095                 - Add Slackware support
20096
20097 2004-09-07  Dan Williams <dcbw@redhat.com>
20098
20099         Patches below from:
20100                 <j@bootlab.org>
20101                 Mark Roach <mrroach@okmaybe.com>
20102                 Thom May <thom@debian.org>
20103
20104         * configure.in
20105           initscript/Debian/NetworkManager
20106           initscript/Debian/Makefile.am
20107                 - Initscript for Debian
20108
20109         * src/backends/NetworkManagerDebian.c
20110                 - Add missing system init function to allow compilation
20111                         on Debian
20112
20113 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20114
20115         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20116
20117 2004-09-03  Akagic Amila <bono@linux.org.ba>
20118
20119         * configure.in: Added 'bs' to ALL_LINGUAS.
20120
20121 2004-09-02  Colin Walters  <walters@verbum.org>
20122
20123         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20124         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20125         g_strdup_printf instead of arbitrarily sized buffers.
20126
20127 2004-09-01  Colin Walters  <walters@verbum.org>
20128
20129         * NetworkManager.pc.in: New file.
20130
20131         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20132
20133 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20134         
20135         * configure.in: Punjabi(pa) is added to po/.
20136
20137 2004-08-31  Dan Williams <dcbw@redhat.com>
20138
20139         * Remove 'debug' extern global from all files since we now
20140                 use syslog()
20141
20142         * src/NetworkManager.[ch]
20143                 - Break out routine that get the net.interface property from HAL,
20144                         removing that logic from nm_create_device_and_add_to_list()
20145                 - (nm_create_device_and_add_to_list): make this a bit more general so
20146                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20147                         the create of test devices.
20148                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20149                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20150                         which makes NetworkManager listen for dbus commands to create test
20151                         devices, which have no backing hardware.  Use when you're on a plane
20152                         for example, and/or forgot your wireless card at home.  Test devices
20153                         _cannot_ be created unless NM is started with --enable-test-devices.
20154
20155         * src/NetworkManagerDbus.[ch]
20156                 - New "getLinkActive" method for devices
20157                 - New "setLinkActive" method for devices (only works on test devices)
20158                 - New "createTestDevice" method on NetworkManager object to create a test
20159                         device of a specified type (ie wired, wireless).  UDI is created from
20160                         scratch, as is the interface name.  Only works when NM is started with
20161                         --enable-test-devices switch.
20162                 - New "removeTestDevice" method on NetworkManager object which removes a
20163                         test device.  Only works when NM is started with --enable-test-devices
20164
20165         * src/NetworkManagerDevice.[ch]
20166                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20167                         whether a device is a test device or not, and what its link status is.
20168                 - Deal with test devices in most functions.  For those that work directly on hardware
20169                         special-case test devices.
20170                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20171                         command-line.
20172                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20173                         checking to separate functions to facilitate test device link checking.
20174                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20175                         don't make a distinction between System Authentication and Encryption
20176                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20177                         on the card.  We don't deal with Shared Key auth yet.
20178                 - (nm_device_activation_worker): split the activation cancel check logic out into
20179                         a separate routine nm_device_activation_cancel_if_needed()
20180                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20181                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20182                         a list of fake access points that they can "see"
20183                 - (nm_device_is_test_device): return whether or not a device is a test device
20184
20185         * src/NetworkManagerPolicy.c
20186                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20187                         previously if you "locked"/forced NM to use a wireless device but then
20188                         selected a wireless network for NM to use, it would switch to a wired device.
20189                         So, if the active device is wireless and it has a "forced" best AP, use it
20190                         if the "forced" best AP is still valid
20191                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20192                         there were no usable network devices, or the last one was removed
20193
20194         * src/backends/NetworkManager*.c
20195                 - Deal with test devices, mostly just return success for operations like getting
20196                         a DHCP address
20197
20198         * test/nmtestdevices.c
20199                 - Test tool to create/remove/link-switch test devices
20200
20201 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20202
20203         * examples/python/NetworkManager.py: 
20204         added convience functions has_wired_device and has_wireless_device
20205
20206         * examples/python/systray/network_tray.py: 
20207         cleaned up a bunch of cruft, added support for listing wireless
20208         networks just like the real applet.  This is probably all I'm
20209         going to work on this applet from now on.
20210         TODO: add support for actually changing networks and devices
20211
20212         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20213         changed "nm.networks" into a dict from a list so I can store all
20214         the cool information about networks in there
20215
20216         * examples/python/systray/network_tray.py: 
20217         Added nice message when you try to run without running make first
20218
20219         * examples/python/NetworkManager.py: 
20220         Bug fixes to the code so we get all the device information
20221         that we need in get_device()
20222         
20223         * examples/python/NMTester.py: 
20224         Fixed _print_device_list to print_device_list
20225
20226 2004-08-29  Seth Nickell  <seth@gnome.org>
20227
20228         * configure.in:
20229
20230         Actually properly setup the Debian backend in configure.
20231         
20232 2004-08-29  Colin Walters  <walters@verbum.org>
20233
20234         * test/nminfotest.c: Include string.h and stdlib.h.
20235         (get_network_string_property, get_networks_of_type): Return NULL.
20236
20237         * test/nmclienttest.c (get_device_name, get_active_device): Return
20238         NULL.
20239
20240         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20241         use strlen, fgets always NULL-terminates the string.
20242
20243         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20244         dbus_message_get_member): Remove /* in comment.
20245
20246         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20247
20248         * src/NetworkManager.c (quit): Unused, delete.
20249         (nm_data_free): Cast arg to GFunc.
20250
20251         * panel-applet/NMWirelessAppletDbus.c: Need to include
20252         string.h, and dbus-glib-lowlevel.h (the latter is needed
20253         for dbus_connection_setup_with_g_main at present).
20254         (nmwa_dbus_update_wireless_network_list): Parenthesize
20255         assignment in conditional.
20256         (nmwa_dbus_worker): Return NULL.
20257
20258         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20259         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20260         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20261         (nmwa_populate_menu): Return NULL on failure, instead of just
20262         return;
20263
20264         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20265
20266         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20267         variables.
20268
20269         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20270         delete.
20271         
20272 2004-08-29  Colin Walters  <walters@verbum.org>
20273
20274         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20275         a GTimeVal instead of time_t.  This is easier to work with,
20276         since time_t may be a long or double, we don't know.
20277
20278         * src/NetworkManagerDbus.h: Update prototype.
20279         
20280         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20281         instead of time_t.
20282         (nm_ap_get_timestamp): Update to return GTimeVal.
20283         (nm_ap_set_timestamp): Update to take GTimeVal.
20284         
20285         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20286         to handle GTimeVal.
20287
20288         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20289         GTimeVal change.
20290         (nm_ap_list_print_members): Fix warnings in printf format.
20291
20292 2004-08-29  Colin Walters  <walters@verbum.org>
20293         
20294         * panel-applet/NMWirelessApplet.c: Include config.h.
20295
20296 2004-08-29  Colin Walters  <walters@verbum.org>
20297
20298         * configure.in: Generate config.h.
20299
20300         * configure.in: Dump dependency on OpenSSL; we can't
20301         use it since this package is GPL:
20302         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20303         Instead, check for libgcrypt, use it if available,
20304         otherwise use included MD5 code.
20305
20306         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20307         Suck in from gnome-keyring, munge a bit.
20308         
20309         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20310         gnome-keyring-md5.h gnome-keyring-md5.c.
20311         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20312
20313         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20314         libgcrypt or included gnome-keyring md5 bits.
20315         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20316
20317 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20318
20319         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20320
20321 2004-08-27  Bryan Clark  <bclark@redhat.com>
20322
20323         * examples/python/systray/Makefile: 
20324
20325         Updated the clean section
20326         
20327         * examples/python/systray/trayiconmodule.c: 
20328         * examples/python/systray/trayicon.override: 
20329         * examples/python/systray/network_tray.py: 
20330         * examples/python/systray/eggtrayicon.h: 
20331         * examples/python/systray/eggtrayicon.c: 
20332         * examples/python/systray/Makefile: 
20333         * examples/python/README: 
20334         * examples/python/NetworkManager.py: 
20335         * examples/python/NMTester.py: 
20336
20337         Initial commit of these python example files
20338
20339 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20340
20341         * panel-applet/NMWirelessApplet.c
20342                 - Make current device bold
20343                 - Show more user-friendly device name if we got one from hal
20344
20345         * panel-applet/NMWirelessAppletDbus.c
20346                 - Grab "info.product" key from hal for network devices
20347                 - Cache the current active device
20348
20349 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20350
20351         * configure.in: Added en_CA to ALL_LINGUAS.
20352
20353 2004-08-27  Christian Rose  <menthos@menthos.com>
20354
20355         * configure.in: Added "sv" to ALL_LINGUAS.
20356
20357 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20358
20359         * Tag NetworkManager-0.2
20360
20361 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20362
20363         * initscripts/Makefile.am
20364         * configure.in: Make pass distcheck
20365
20366         * po/ChangeLog: added
20367
20368 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20369
20370         * panel-applet/NMWirelessApplet.c
20371                 - Remove debugging code
20372                 - Enable device switching from menus
20373
20374         * panel-applet/NMWirelessAppletDbus.[ch]
20375                 - Method for asking NM to switch devices
20376
20377         * src/NetworkManagerDevice.c
20378                 - Set dev->activating earlier, avoids race between
20379                         the dbus signal of "DeviceActivating" and setting
20380                         dev->activating (which is what NM's "status" method call
20381                         looks at)
20382
20383 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20384
20385         * panel-applet/NMWirelessApplet.[ch]
20386                 - Rework menu code to add devices to menu, and to show
20387                         signal strength for each access point.  Code cleanups
20388                         too.
20389
20390         * panel-applet/NMWirelessAppletDbus.c
20391                 - Grab network devices from NetworkManager too
20392                 - Grab quality information from NM for wireless networks
20393
20394         * src/NetworkManagerDbus.[ch]
20395                 - Add dbus methods for getting the HAL UDI from a device and
20396                         for getting its base quality, if its wireless
20397                 - Consolidate some functions (wireless network notifications,
20398                         device notifications)
20399                 - Add method for requesting NM to use a particular device
20400
20401         * src/NetworkManager.c
20402                 - Change for function consolidations from NetworkManagerDbus.c
20403                 - Implement active device locking and user-requested devices
20404                         (ie, tell NM to use a particular device instead of the one
20405                         it autochose)
20406
20407         * src/NetworkManagerDevice.c
20408                 - Add method for getting the base quality of a device, if its
20409                         wireless
20410                 - Grab device base quailty info from iwlib during scans
20411
20412         * src/NetworkManagerPolicy.c
20413                 - Use a user-requested device rather than the auto-chosen device
20414                         if we are told to
20415
20416 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20417
20418         * Makefile.am: add po as a supdir
20419
20420         * autogen.sh: use gnome-autogen.sh
20421
20422         * initscript/Gentoo/.cvsignore:
20423         * initscript/RedHat/.cvsignore: Shut up cvs
20424
20425         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20426
20427         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20428         (nmwa_fill): Use gettext.
20429
20430         * configure.in: add gettext support
20431         * po/.cvsignore:
20432         * po/NetworkManager.pot:
20433         * po/POTFILES.in:
20434
20435 2004-08-26  Seth Nickell  <seth@gnome.org>
20436
20437         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20438         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20439         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20440         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20441         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20442         * panel-applet/NMWirelessApplet.h:
20443
20444         Use a menu bar instead of a button for the main clickable
20445         thingy.
20446         
20447 2004-08-25  Dan Williams <dcbw@redhat.com>
20448
20449         * src/NetworkManagerDevice.c
20450                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20451                         turning encryption off, because the Cisco driver doesn't associate
20452                         with WEP-enabled access points unless we are in "open"
20453
20454 2004-08-25  Dan Williams <dcbw@redhat.com>
20455
20456         * src/NetworkManagerWireless.c
20457                 - Don't try to defererence blank passphrases
20458
20459 2004-08-25  Dan Williams <dcbw@redhat.com>
20460
20461         * panel-applet/NMWirelessApplet.c
20462                 - Rebuild the menu whenever a user clicks
20463
20464 2004-08-25  Dan Williams <dcbw@redhat.com>
20465
20466         * panel-applet/NMWirelessApplet.c
20467                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20468                         when NM isn't around or when its not connected
20469
20470         * src/NetworkManagerDevice.c
20471                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20472                         canceled.
20473
20474 2004-08-25  Dan Williams <dcbw@redhat.com>
20475
20476         * panel-applet/NMWirelessAppletDbus.c
20477                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20478                         for getting encryption, and don't stop on "val" once we've gotten it
20479                         from NetworkManager.  Short form:  encryption should now show up.
20480
20481 2004-08-25  Dan Williams <dcbw@redhat.com>
20482
20483         * panel-applet/NMWirelessApplet.c
20484                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20485                         network to associate with
20486
20487 2004-08-25  Dan Williams <dcbw@redhat.com>
20488
20489         * panel-applet/*
20490                 - Rework the panel applet to do all DBUS communication in a separate
20491                         thread
20492
20493 2004-08-25  Dan Williams <dcbw@redhat.com>
20494
20495         * info-daemon/NetworkManagerInfo.[ch]
20496                 - Remove "get_next_priority" function
20497
20498         * info-daemon/NetworkManagerInfoDbus.[ch]
20499                 - Convert "priority" functions to "timestamp"
20500
20501 2004-08-25  Dan Williams <dcbw@redhat.com>
20502
20503         * src/NetworkManagerAP.[ch]
20504                 - Add a "enc_method_good" member and accessors to an Access Point
20505                         to signal when we've found the correct encryption method
20506                         for an access point
20507                 - Add a "timestamp" member and accessors, remove "priority" member
20508                         and accessors (use timestamps instead)
20509                 - Rename "wep_key"->"enc_key"
20510                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20511                         for a specified encryption method using the access points
20512                         source encryption key/passphrase
20513
20514         * src/NetworkManagerAPList.c
20515                 - When updating a network with dbus, grab timestamp now instead of
20516                         priority
20517
20518         * src/NetworkManagerDBus.[ch]
20519                 - Add signal for "DeviceActivating"
20520                 - Switch priority->timestamp
20521
20522         * src/NetworkManagerDevice.c
20523                 - Change references of "wep_key" -> "enc_key" or "key"
20524                 - Signal DeviceActivating when starting activation
20525                 - When activating a wireless device, if the access point we are connecting
20526                         to is encrypted, and we have a source key, try to generate a mangled
20527                         key and use that (ie, generate real WEP key from a passphrase)
20528                 - Rework device activation to fallback to other encryption methods if
20529                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20530                         first, then if that doesn't work fall back to direct hex key).
20531                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20532                         priority.  We now prefer the latest access point used, rather than using
20533                         a priority scheme
20534                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20535                         points we've just discovered, and merge in correct info from the global
20536                         access point lists
20537
20538 2004-08-25  Seth Nickell  <seth@gnome.org>
20539
20540         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20541         Debian support.
20542         
20543         * src/Makefile.am:
20544         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20545         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20546         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20547         (nm_system_delete_default_route),
20548         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20549         (nm_system_load_device_modules):
20550
20551 2004-08-24  Dan Willemsen <dan@willemsen.us>
20552
20553         * src/NetworkManager.c
20554           src/backends/NetworkManagerGentoo.c
20555           src/backends/NetworkManagerRedHat.c
20556           src/backends/NetworkManagerSystem.h
20557                 - Implement preliminary Gentoo support, adding a
20558                         nm_system_init function to the backend specification
20559
20560         * configure.in
20561                 - Distribution auto-detection, lowercase any user-fed
20562                         distribution names
20563
20564         * initscript/.cvsignore
20565           initscript/Makefile.am
20566           initscript/RedHat/Makefile.am
20567           initscript/RedHat/NetworkManager
20568           initscript/Gentoo/Makefile.am
20569           initscript/Gentoo/NetworkManager
20570                 - Refactored initscript code separately for each
20571                         distribution
20572
20573 2004-08-23  Dan Williams <dcbw@redhat.com>
20574
20575         * configure.in
20576           src/Makefile.am
20577           src/NetworkManagerDevice.c
20578           src/NetworkManager.c
20579           src/NetworkManagerUtils.[ch]
20580           src/backends/NetworkManagerSystem.h
20581           src/backends/NetworkManagerRedHat.c
20582           src/backends/NetworkManagerGentoo.c
20583                 - Refactor system-specific code into separate backends for
20584                         each distribution
20585
20586 2004-08-23  Dan Willemsen <dan@willemsen.us>
20587
20588         * dispatcher-daemon/NetworkManagerDispatcher.c
20589           info-daemon/NetworkManagerInfo.[ch]
20590           info-daemon/NetworkManagerInfoDbus.c
20591           info-daemon/NetworkManagerInfoPassphraseDialog.c
20592           src/NetworkManager.c
20593           src/NetworkManagerAP.c
20594           src/NetworkManagerAPList.c
20595           src/NetworkManagerDbus.c
20596           src/NetworkManagerDevice.c
20597           src/NetworkManagerPolicy.c
20598           src/NetworkManagerUtils.[ch]
20599           src/NetworkManagerWireless.c
20600                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20601
20602         * src/NetworkManager.c
20603                 - Fixed usage wording for --no-daemon
20604
20605 2004-08-23  Dan Williams <dcbw@redhat.com>
20606
20607         * panel-applet/NMWirelessApplet.c
20608                 - Update our state every second to get more responsive panel icon
20609                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20610                         was causing our marching ants status blips to never move when
20611                         looking for a wireless network
20612
20613         * src/NetworkManagerDevice.c
20614                 - (nm_device_activation_begin): return if activation has already begun
20615                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20616                         trusted/preferred network into the device's access point when the
20617                         scan list is processed
20618
20619 2004-08-23  Dan Williams <dcbw@redhat.com>
20620
20621         * initscript/NetworkManager
20622                 - Use NMLaunchHelper rather than sleeping
20623
20624         * initscript/NMLaunchHelper.c
20625           Makefile.am
20626                 - Add helper program that exits only when NM activates a device,
20627                         or 10 seconds have passed, whichever happens first.  This
20628                         stops the boot processes until we have a network connection,
20629                         which NM can't do because it daemonizes and brings the connection
20630                         up in the background.  Allows stuff like NFS to not die.
20631
20632 2004-08-20  Dan Williams <dcbw@redhat.com>
20633
20634         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20635                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20636                         for a network, set the essid as well since it may not exist yet
20637                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20638                         since WEP keys/passphrases are long and prone to entry-error
20639
20640         * panel-applet/Makefile.am
20641           panel-applet/wired.png
20642                 - Add (pulled from system-config-network temporarily)
20643
20644         * panel-applet/NMWirelessApplet.[ch]
20645                 - Show wired picture when a wired connection is used
20646                 - Rename wireless icon enums, adding WIRELESS
20647
20648         * src/NetworkManagerDevice.c
20649                 - (nm_device_activate_wireless): unset encryption before bringing
20650                         down the card and setting the essid
20651                 - (nm_device_activatin_worker): request a key from the user if the
20652                         AP we are connecting to is encrypted but we don't have a key
20653                         for it yet
20654                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20655                         strcmp() that prevented a user-entered key from actually getting
20656                         used
20657
20658 2004-08-16  Dan Williams <dcbw@redhat.com>
20659
20660         * initscript/NetworkManager
20661                 - Check for /sbin/ip
20662                 - Do sysctl magic that network service does
20663                 - sleep 4s after start to allow network time to come up [hack]
20664
20665         * src/Makefile.am
20666           src/NMLoadModules
20667                 - Load all network device kernel modules (hal doesn't know devices
20668                         are ethernet until the module is loaded, and therefore we don't know)
20669
20670         * src/NetworkManager.c
20671                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20672                         network devices, and bring up the loopback device explicitly
20673
20674         * src/NetworkManagerUtils.[ch]
20675                 - (nm_enable_loopback): new function
20676
20677 2004-08-13  Dan Williams <dcbw@redhat.com>
20678
20679         * configure.in
20680           panel-applet/Makefile.am
20681                 - Fix up cleanfiles and server_DATA/server_in_files
20682
20683         * README
20684                 - Update with some comments on theory of operation
20685
20686         * CONTRIBUTING
20687           Makefile.am
20688                 - Add CONTRIBUTING
20689
20690 2004-08-12  Dan Williams <dcbw@redhat.com>
20691
20692         * info-daemon/passphrase.glade
20693                 - Set window title to " "
20694
20695         * panel-applet/Makefile.am
20696           panel-applet/keyring.png
20697                 - Deliver to correct place
20698
20699         * panel-applet/NMWirelessApplet.[ch]
20700                 - Add comments
20701                 - Remove applet->have_active_device as its no longer used
20702                 - (nmwa_load_theme): load keyring.png too
20703                 - (error_dialog): remove
20704                 - (show_warning_dialog): subsume functionality of error dialog too
20705                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20706                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20707                         the networks menu
20708                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20709                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20710                         and when we get broadcasts of changed wireless access points only, not when the
20711                         user clicks on the button to display the menu (too long of a wait)
20712                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20713                         networks that are encrypted
20714                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20715                         menu item with g_object_set_data()
20716
20717         * panel-applet/NMWirelessAppletDbus.[ch]
20718                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20719                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20720                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20721                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20722                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20723                         activation/deactivation signals and rebuild the menu when they happen
20724
20725         * src/NetworkManager.c
20726                 - (main): use new nm_spawn_process() rather than system()
20727
20728         * src/NetworkManagerDbus.c
20729                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20730                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20731                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20732                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20733                         to freeze the best_ap.
20734
20735         * src/NetworkManagerDevice.[ch]
20736                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20737                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20738                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20739                         ap list
20740
20741         * src/NetworkManagerUtils.[ch]
20742                 - (nm_spawn_process): add replacement for system() usage
20743
20744 2004-08-11  Dan Williams <dcbw@redhat.com>
20745
20746         * panel-applet/NMWirelessApplet.[ch]
20747                 - Fix up copyright and credits to include Bastien and Eskil,
20748                         who created the gnome-applets wireless applet, from whose
20749                         skeleton this one was created
20750                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20751                         pixmap to draw is computed during nmwa_update_state()
20752                 - Applet now shows itself all the time due to panel packing issues
20753                         which caused the applet to previously never come back after hiding.
20754                         When a wired device is the active device, the applet shows "not connected"
20755
20756         * panel-applet/NMWirelessAppletDbus.[ch]
20757                 - Clean up error messages and show what function they are from
20758                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20759                 - Add new device type getters, and a status getter
20760
20761         * src/NetworkManagerDbus.c
20762                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20763                         network is actually in the device's ap list
20764                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20765
20766         * src/NetworkManagerDevice.c
20767                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20768                         card
20769
20770         * test/nmclienttest.c
20771                 - Report status of NetworkManager too
20772
20773 2004-08-11  Dan Williams <dcbw@redhat.com>
20774
20775         * info-daemon/NetworkManagerInfo.c:
20776                 - (main): clean up Seth's code style
20777
20778         * info-daemon/NetworkManagerInfoDbus.c:
20779                 - Use the more aptly-named path/service/interface constants from NetworkManager
20780                 - Don't return empty strings ("") as object paths ever, instead return errors
20781
20782         * panel-applet/NMWirelessApplet.c:
20783                 - Clean up Seth's code style
20784
20785         * src/NetworkManager.[ch]
20786                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20787                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20788
20789         * src/NetworkManagerAPList.[ch]
20790                 - Move Iter struct right above the iter functions to preserve opacity
20791                 - (nm_ap_list_remove_ap): implement
20792                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20793                         remove AP if NetworkManagerInfo doesn't know anything about it
20794                 - (nm_ap_list_diff): user NMAPList iterators
20795                 - (nm_ap_list_print_members): implement debugging function
20796
20797         * src/NetworkManagerDbus.[ch]
20798                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20799                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20800                         and move the actual key setting stuff into NetworkManagerDevice.c
20801                 - (nm_dbus_get_network_priority): return -1 now on errors
20802                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20803                         get lost, and force the active device to update its "best" ap when AP lists change
20804                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20805                         method call due to pending_device member removal
20806
20807         * src/NetworkManagerDevice.[ch]
20808                 - Move NMDevice structure to the top
20809                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20810                 - Remove Pending Action stuff from everywhere
20811                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20812                         activation for us.  This thread blocks until all conditions for activation have
20813                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20814                         then setup up the interface and runs dhclient.  We have to do this because there
20815                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20816                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20817                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20818                         can tell nm_device_activation_worker() that we've got a key
20819                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20820                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20821                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20822                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20823
20824         * src/NetworkManagerPolicy.c
20825                 - Remove anything to do with pending_device
20826                 - Adjust device activation to deal with activation-in-worker-thread
20827
20828         * src/NetworkManagerUtils.c
20829                 - Clean up locking debugging a bit
20830
20831         * src/NetworkManagerWireless.[ch]
20832                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20833                         was badly named and is better as a device function
20834
20835         * panel-applet/.cvsignore: add
20836
20837 2004-08-09  Seth Nickell  <seth@gnome.org>
20838
20839         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20840         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20841         (nmwa_new):
20842         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20843
20844         Don't load the menus until clicked on (also removes a call outside
20845         normal code paths at first load).
20846
20847         Hide applet when NM is not present.
20848         
20849         Improve printf debugging stuff.
20850         
20851 2004-08-09  Dan Williams <dcbw@redhat.com>
20852
20853         * dispatcher-daemon/NetworkManagerDispatcher.c:
20854                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20855                 - Use constants for NetworkManager interface, service, and path
20856
20857 2004-08-09  Dan Williams <dcbw@redhat.com>
20858
20859         * src/NetworkManagerDbus.c:
20860                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20861                         instead return an error message
20862                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20863                         on a wired device.  Also never return an empty object path, instead return an error message
20864
20865 2004-08-06  Seth Nickell  <seth@gnome.org>
20866
20867         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20868
20869         Check the error code when getting a connection.
20870         
20871         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20872
20873         Check if the NM service exists when initializing (rather than
20874         assuming it does not).
20875         
20876         * src/NetworkManagerDbus.c: (nm_dbus_init):
20877
20878         Don't acquire the well-known service name until we have
20879         registered object/path handlers and can actually receive
20880         calls.
20881         
20882 2004-08-06  Dan Williams <dcbw@redhat.com>
20883
20884         * panel-applet/*
20885                 - Add panel applet
20886
20887         * src/NetworkManagerPolicy.c
20888           src/NetworkManager.c
20889                 - Get access point lists from NetworkManagerInfo on-demand,
20890                         and look for ServiceCreate/ServiceDeleted signals to see when
20891                         we should query NMI for lists
20892         * src/NetworkManagerAPList.c
20893                 - Make sure to init the list's mutex
20894                 - Convert traversals of the list over to the list iter functions
20895
20896         * src/NetworkManagerDbus.[ch]
20897                 - Use more aptly-named path/service/interface constants
20898                 - Treat both active and pending devices the same for "getActiveDevice"
20899                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20900
20901         * src/NetworkManagerDevice.c
20902                 - Honor "ignored" network list when picking best ap to use
20903
20904 2004-08-06  Seth Nickell  <seth@gnome.org>
20905
20906         * aclocal.m4:
20907
20908         Autogenerated, remove from CVS.
20909         
20910         * autogen.sh:
20911
20912         Don't hardcode automake version.
20913         
20914         * configure.in:
20915         * info-daemon/Makefile.am:
20916         * info-daemon/NetworkManagerInfo.c: (main):
20917
20918         Use GnomeProgram et al. for doing session management.
20919         Use popt stuff for argument parsing rather than doing
20920         it manugally.
20921         
20922 2004-08-05  Dan Williams <dcbw@redhat.com>
20923
20924         * test/nminfotest.c
20925                 - Update to new NMI dbus API, check different network types
20926
20927         * info-daemon/NetworkManagerInfoDbus.c
20928                 - Update to new NM dbus API, ie network type sent in query message
20929
20930 2004-08-05  Dan Williams <dcbw@redhat.com>
20931
20932         * An assload of changes
20933
20934 2004-08-02  Dan Williams <dcbw@redhat.com>
20935
20936         * TODO
20937                 - new task: proper logging support
20938
20939         * info-daemon/NetworkManagerInfo.c
20940                 - Correct spelling of "canceled"
20941                 - Correct casting of objects for g_signal_connect()
20942
20943         * info-daemon/NetworkManagerInfoDbus.c
20944                 - Add defines for NetworkManager namespace and object path, and use them
20945                 - Add filter function to trap new signals from NetworkManager:
20946                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20947
20948         * info-daemon/passphrase.glade
20949                 - Change name of "ok" button to "Login to Network..."
20950                 - Mark invisible
20951
20952         * src/NetworkManager.c
20953                 - Code and debug message cleanups
20954                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20955                 - (nm_add_initial_devices) Check returned string array of devices
20956                         and don't try to add devices if array is NULL
20957                 - (main) Initialize libhal a bit later, make code a bit clearer
20958
20959         * src/NetworkManagerAP.[ch]
20960                 - New accessor and data member "matched": used to speed up AP list
20961                         diffing
20962                 - New accessor and data member "enc_method": will be used during key
20963                         fallback to cache which passphrase->key conversion actually works
20964                         so we don't have to do it every time
20965
20966         * src/NetworkManagerAPList.[ch]
20967                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20968                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20969                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20970                         dbus in response to those differences
20971
20972         * src/NetworkManagerDbus.[ch]
20973                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20974                         make an object path for that access point (NOTE that we don't yet check to
20975                         make sure that access point is actually in the device's AP list yet)
20976                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20977                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20978                         New: signal appearance/disappearance of wireless networks
20979                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20980                         key entry
20981
20982         * src/NetworkManagerDevice.[ch]
20983                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20984                 - (nm_device_ap_list_get) New: return the AP list (static function)
20985                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20986                         new one resulting from the scan with the old one
20987
20988         * src/NetworkManagerWireless.c
20989                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20990
20991         * test/nminfotest.c
20992                 - #define object paths and namespaces and use the #defines rather than static strings
20993                 - Test out user-key functionality of NetworkManagerInfo too
20994
20995 2004-07-29  Dan Williams <dcbw@redhat.com>
20996
20997         * info-daemon/NetworkManagerInfoDbus.c
20998           src/NetworkManagerDbus.c
20999                 - Update to current DBus (ie don't use decomposed paths when registering
21000                         object paths/fallbacks)
21001
21002 2004-07-27  Dan Williams <dcbw@redhat.com>
21003
21004         * Remove various Makefile.in files
21005
21006         * TODO
21007                 - Add some more items
21008
21009         * configure.in
21010                 - Add checks for OpenSSL/md5 headers and libs
21011
21012         * src/Makefile.am
21013                 - Use OpenSSL CFLAGS
21014
21015         * src/NetworkManagerAP.[ch]
21016                 - Remove 'stamp' functions, replace with 'invalid' functions
21017                         to support user cancelling WEP key entry
21018
21019         * src/NetworkManagerDbus.c
21020                 - Remove 'stamp' return functions
21021                 - Treat returned user key as a passphrase and convert to a WEP key,
21022                         but don't actually use the WEP key yet.  We use the returned user
21023                         key as a hexadecimal WEP key until we can figure out a UI for
21024                         passphrase-vs-hex key
21025
21026         * src/NetworkManagerWireless.[ch]
21027                 - Add passphrase-to-128bit-key function
21028
21029 2004-07-27  Dan Williams <dcbw@redhat.com>
21030
21031         * TODO
21032                 - Add a couple of items
21033
21034 2004-07-27  Dan Williams <dcbw@redhat.com>
21035
21036         * info-daemon/NetworkManagerInfo.c
21037                 - Update allowed network's GConf key when user enters a WEP key explicitly
21038
21039         * info-daemon/NetworkManagerDbus.c
21040                 - Fix some comments
21041                 - nmi_dbus_get_allowed_networks(): kill warning
21042
21043 2004-07-27  Dan Williams <dcbw@redhat.com>
21044
21045         * initscript/Makefile.in
21046                 - Remove
21047
21048         * initscript/Makefile.am
21049                 - Add correct rules to install the init.d initscript
21050
21051         * info-daemon/NetworkManagerInfoDbus.c
21052                 - Remove debug fprintf
21053
21054         * src/NetworkManagerDbus.[ch]
21055                 - Remove debug fprintfs
21056                 - Add macros for NetworkManagerInfo object path/namespace
21057                 - Use said macros instead of constant strings
21058
21059 2004-07-27  Dan Williams <dcbw@redhat.com>
21060
21061         * initscript/.cvsignore
21062                 - Add
21063
21064         * info-daemon/Makefile.am
21065                 - Install .glade files and keyring.png
21066                 - Fix stupid omission of a \ that caused half the flags not to be
21067                         passed to gcc
21068
21069         * info-daemon/NetworkManagerInfo.c
21070                 - gtk_signal_connect->g_signal_connect
21071                 - Alert NetworkManagerInfo to new glade file location
21072
21073 2004-07-27  Dan Williams <dcbw@redhat.com>
21074
21075         * test/nmclienttest.c
21076           test/nminfotest.c
21077                 - Add missing <dbus/dbus.h> headers
21078                 - Add GPL message at top
21079
21080 2004-07-27  Dan Williams <dcbw@redhat.com>
21081
21082         * src/NetworkManagerAPList.[ch]
21083           src/Makefile.am
21084                 - Add.  Deal with allowed network list additions, deletions, and updates
21085
21086         * dispatcher-daemon/NetworkManagerDispatcher.c
21087                 - Add missing <dbus/dbus.h> header
21088
21089         * info-daemon/NetworkManagerInfo.[ch]
21090                 - Add missing <dbus/dbus.h> header
21091                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21092                         network change
21093                 - Better error checking
21094
21095         * info-daemon/NetworkManagerInfoDbus.[ch]
21096                 - Add missing <dbus/dbus.h> header
21097                 - Convert to using dbus_message_append_args/dbus_message_get_args
21098                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21099                         that an allowed network changed.  We don't want to signal on individual
21100                         keys _inside_ an allowed network really, just want NM to query the info
21101                         daemon for updated info on all keys.
21102                 - Better error checking
21103
21104         * src/NetworkManager.[ch]
21105                 - Add missing <dbus/dbus.h> header
21106                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21107                 - Zero out NMData structure on free
21108                 - No longer use a thread for allowed_ap_list updating, instead its now done
21109                         through dbus queries against NetworkManagerInfo
21110                 - Populate allowed_ap_list initially before adding existing network devices
21111                         to the device list, so wireless devices can get their "best" AP
21112
21113         * src/NetworkManagerDbus.[ch]
21114                 - Convert to using dbus_message_append_args/dbus_message_get_args
21115                 - Better error checking
21116                 - Implement Allowed Network info functions to request allowed network
21117                         info from NetworkManagerInfo
21118                 - Implement the filter function to process signals from NetworkManagerInfo
21119                         about changing allowed networks
21120
21121         * src/NetworkManagerDevice.c
21122                 - Fix file descriptor leak in nm_device_update_ip4_address()
21123
21124 2004-07-27  Dan Williams <dcbw@redhat.com>
21125
21126         * .cvsignore
21127           src/.cvsignore
21128           test/.cvsignore
21129           dispatcher-daemon/.cvsignore
21130           info-daemon/.cvsignore
21131                 - Add .cvsignore files to reduce noise when diffing
21132
21133 2004-07-24  Dan Williams <dcbw@redhat.com>
21134
21135         * src/NetworkManager.[ch]
21136           src/NetworkManagerDbus.[ch]
21137           src/NetworkManagerDevice.[ch]
21138           src/NetworkManagerPolicy.c
21139           src/NetworkManagerWireless.[ch]
21140                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21141                 - Pass the NMData application data structure through all calls
21142                         that need it so we can get rid of nm_get_global_data()
21143                 - Change deallocation of the allowed_ap_list GSList in preparation
21144                         for not completely clearing it every time we get an update,
21145                         but instead getting incremental updates via GConf/dbus
21146
21147 2004-07-22  Dan Williams <dcbw@redhat.com>
21148
21149         * configure.in
21150                 - Add checks for GConf libs & headers & flags
21151
21152         * info-daemon/Makefile.am
21153                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21154
21155         * info-daemon/NetworkManagerInfo.[ch]
21156                 - Don't use gquarks for data storage, just use normal data storage
21157                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21158
21159         * info-daemon/NetworkManagerDbus.[ch]
21160                 - Add method call for getting allowed networks
21161                 - Add method calls for getting an allowed network's essid, priority, and key
21162                 - Hook the method calls up to GConf
21163                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21164                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21165                 
21166         * src/NetworkManagerDbus.[ch]
21167                 - Switch for enumeration of networks to using essid instead
21168
21169         * test/Makefile.am
21170           test/nminfotest.c
21171                 - Add test program for NetworkManagerInfo
21172
21173 2004-07-19  Dan Williams <dcbw@redhat.com>
21174
21175         * src/NetworkManagerDbus.c
21176                 - Switch from indexed device paths to names.  Less code, more efficient.
21177                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21178
21179 2004-07-19  Dan Williams <dcbw@redhat.com>
21180
21181         * dispatcher-daemon/NetworkManagerDispatcher.c
21182                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21183
21184 2004-07-19  Dan Williams <dcbw@redhat.com>
21185
21186         * Makefile.am
21187                 - Add info-daemon directory
21188
21189         * configure.in
21190                 - Check for glade libs and headers
21191                 - Add info-daemon directory
21192
21193         * src/NetworkManagerAP.c
21194                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21195                         copied over to the new AP.
21196
21197         * src/NetworkManagerDbus.c
21198           src/NetworkManagerDbus.h
21199                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21200                 - Remove nm_dbus_signal_need_key_for_network()
21201                 - Add disabled code for asynchronous user wep key callbacks
21202                 - Add functions for getting, setting, and cancelling user key operations
21203                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21204                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21205
21206         * src/NetworkManagerDevice.c
21207           src/NetworkManagerDevice.h
21208                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21209                         logic is in device activation now
21210                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21211                         key is wrong) trigger get-user-key pending action
21212                 - Implement get-user-key pending action stuff, tie to dbus messages
21213                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21214                 - Add nm_device_ap_list_get_ap_by_essid()
21215                 - Instead of copying "best" access points, ref them instead so that the key we set
21216                         sticks around
21217
21218         * src/NetworkManagerPolicy.c
21219                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21220                 - Don't cancel pending actions on a device if its the same device as last iteration
21221                 - Only promote pending_device->active_device if activation was successfull
21222
21223         * src/Makefile.am
21224                 - Rename nmclienttest->nmtest
21225
21226         * info-daemon/Makefile.am
21227           info-daemon/NetworkManagerInfo.c
21228           info-daemon/NetworkManagerInfo.h
21229           info-daemon/NetworkManagerInfoDbus.c
21230           info-daemon/NetworkManagerInfoDbus.h
21231           info-daemon/passphrase.glade
21232           info-daemon/NetworkManagerInfo.conf
21233           info-daemon/keyring.png
21234                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21235                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21236                         lists to NetworkManager by proxying user's GConf
21237           
21238
21239 2004-07-15  Dan Williams <dcbw@redhat.com>
21240
21241         * src/Makefile.am
21242                 - Turn on warnings
21243
21244         * src/NetworkManager.c
21245                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21246                         that doing the deactivation ourselves
21247                 - Cancel an pending actions on a device if its being removed
21248                 - Break up link state checking a bit, make non-active wireless cards
21249                         deactivated to save power
21250                 - Remove unused variables
21251
21252         * src/NetworkManager.h
21253                 - Add support for "pending" device
21254
21255         * src/NetworkManagerAP.h
21256           src/NetworkManagerAP.c
21257                 - Add support for determining whether and AP has encryption enabled or not
21258                 - AP address is now "struct ether_addr" rather than a string
21259
21260         * src/NetworkManagerDbus.h
21261           src/NetworkManagerDbus.c
21262                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21263                 - Changes for AP address from struct ether_addr->string
21264
21265         * src/NetworkManagerDevice.h
21266           src/NetworkManagerDevice.c
21267                 - Remove unused variables, fix warnings
21268                 - Add support for Pending Actions (things that block a device from being "active"
21269                         until they are completed).
21270                 - First pending action:  Get a WEP key from the user
21271                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21272                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21273                 - Update wireless link checking to try to determine if the AP we are associated
21274                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21275                         trigger the GetUserKey pending action on the device
21276                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21277                         up in that case, otherwise we can't scan or link-check on it
21278                 - Add IP address change notifications at appropriate points (still needs some work)
21279                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21280
21281         * src/NetworkManagerPolicy.h
21282           src/NetworkManagerPolicy.c
21283                 - Split out "best" access point determiniation into separate function
21284                 - Make device activation 2-stage:  first the device is pending, then
21285                         in the next iteration through it becomes "active" unless it has
21286                         pending actions
21287
21288         * src/NetworkManagerUtils.h
21289           src/NetworkManagerUtils.c
21290                 - Clean up unused variables and warnings
21291                 - Wrap our debug macros in {} to prevent possible confusion
21292
21293         * src/NetworkManagerWireless.c
21294                 - Forgot to return current best priority, which lead to last available AP always
21295                         being chosen no matter what its priority was.  Corrected.
21296
21297 2004-07-15  Dan Williams <dcbw@redhat.com>
21298
21299         * dispatcher-daemon/Makefile.am
21300                 - Turn on warnings
21301
21302         * dispatcher-daemon/NetworkManagerDispatcher.c
21303                 - Remove unused variables due to warnings
21304                 - Fix some comments
21305                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21306
21307 2004-07-06  Dan Williams <dcbw@redhat.com>
21308
21309         * src/NetworkManager.c
21310                 - Add IPv4 address update for active device during link state check
21311                 - Don't allow wireless cards to be powered up when they are not the
21312                         active device
21313
21314         * src/NetworkManagerDbus.c
21315           src/NetworkManagerDbus.h
21316                 - Add DBUS IPv4 address change signal
21317                 - Add DBUS IPv4 address get method for devices
21318
21319         * src/NetworkManagerDevice.c
21320                 - Make setting the WEP key actually work
21321                 - Move IP address get/set/update stuff here, per-device
21322                 - Power down/bring down wireless device when deactivated
21323                 - For scanning wireless devices, if first scan returned ENODATA, try again
21324
21325         * src/NetworkManagerPolicy.c
21326                 - Only set the WEP key for an allowed access point if there is one.
21327                         We were setting it to be blank if one wasn't specified.
21328
21329         * src/NetworkManagerUtils.h
21330           src/NetworkManagerUtils.c
21331                 - Move the IP address stuff to NetworkManagerDevice.c
21332
21333         * dispatcher-daemon/NetworkManagerDispatcher.c
21334                 - Add device IPv4 address change notification stuff
21335
21336 2004-07-05  Dan Williams <dcbw@redhat.com>
21337
21338         * dispatcher-daemon/NetworkManagerDispatcher.c
21339                 - A bit more descriptive state message
21340                 - Don't segfault when reading directory
21341
21342         * src/NetworkManager.h
21343                 - Remove NMData desired_ap member, its now
21344                         per-device rather than global
21345
21346         * src/NetworkManager.c
21347                 - Remove references to desired_ap
21348                 - Move the allowed AP list refresh stuff into a thread
21349
21350         * src/NetworkManagerDevice.c
21351           src/NetworkManagerDevice.h
21352                 - Each wireless device now has a "best ap"
21353                 - Make device activate/deactivate functions per-device
21354                 - Make wireless scanning per-device
21355                 - Add IPv4 address discover functions, stub IPv6 ones
21356                 - Move ethernet address validation functions to NetworkManagerUtils.c
21357                 - Add wireless access point accessor function
21358                 - Get/Set functions for "best ap"
21359
21360         * src/NetworkManagerPolicy.c
21361                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21362                 - Deal with per-device "best ap" rather than data->desired_apa
21363                 - Implement allowed access point worker thread
21364                 - Add nm_policy_essid_is_allowed() function
21365
21366         * src/NetworkManagerUtils.c
21367           src/NetworkManagerUtils.h
21368                 - Add nm_ethernet_address_is_valid() function
21369                 - Add IPv4/IPv6 address get functions
21370
21371         * src/NetworkManagerWireless.c
21372           src/NetworkManagerWireless.h
21373                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21374
21375 2004-06-29  Dan Williams <dcbw@redhat.com>
21376
21377         * dispatcher-daemon/NetworkManagerDispatcher.c
21378                 - Implement script callout functionality
21379
21380 2004-06-24  Dan Williams <dcbw@redhat.com>
21381
21382         * NetworkManager.c
21383             - Spacing cleanups
21384             - Flush device routes and ip addresses when added to the device list
21385
21386         * NetworkManagerDbus.c
21387             - Spacing cleanups
21388             - Add missing returns in the two signal functions
21389         
21390         * NetworkManagerPolicy.c
21391             - Spacing and variable cleanups
21392
21393 2004-06-24  Dan Williams <dcbw@redhat.com>
21394
21395         * Makefile.am
21396           Makefile.in
21397           configure.in
21398           dispatcher-daemon/Makefile.am
21399           dispatcher-daemon/Makefile.in
21400           dispatcher-daemon/NetworkManagerDispatcher.c
21401             - Add a daemon that receives signals from NetworkManager
21402                         and will (eventually) call scripts in /etc/somewhere
21403                         when devices go up or down.
21404         
21405         * NetworkManager.c
21406             - Spacing cleanups
21407             - Flush device routes and ip addresses when added to the device list
21408
21409         * NetworkManagerDbus.c
21410             - Spacing cleanups
21411             - Add missing returns in the two signal functions
21412         
21413         * NetworkManagerPolicy.c
21414             - Spacing and variable cleanups
21415             - Rename nm_policy_switch_interface->nm_policy_switch_device
21416             - nm_policy_switch_device():
21417                                 Use kill (pid) instead of system ("kill <pid>")
21418             - nm_state_modification_monitor():
21419                                 Add wireless essid to output of debug statements
21420                                 Correct typo in device compare to switch or not (should be !=)
21421                                 Don't sleep after sending "no longer active" signal, was useless
21422
21423 2004-06-24  Dan Williams <dcbw@redhat.com>
21424
21425         * Initial import